The invention relates to the technical field of automatic driving, in particular to a data scheduling method and device of an automatic driving system, electronic equipment and a medium, and the method comprises the steps: when new data is read, determining a position where the data is written earliest in an annular queue based on a new data writing timestamp, and taking a writing flag position as a first flag bit, and writing the new data into the position where the data is written earliest, adjusting the position where the data is written earliest to the position where the data is written latest after writing is completed, and setting the writing mark position of the position as the second mark position. Therefore, the problems that due to limitation of a vehicle memory and CPU resources, a large number of memory fragments are generated when a user applies for space resources, so that the CPU pressure is increased, the data analysis time is long, and the data scheduling speed is reduced are solved, and the data scheduling efficiency is improved by adopting the annular queue with the lock-free design and a fixed CPU kernel. Data time delay generated during data scheduling is reduced, and the data scheduling speed is increased.
本申请涉及自动驾驶技术领域,特别涉及一种自动驾驶系统的数据调度方法、装置、电子设备及介质,其中,方法包括:在读取到新数据时,基于新数据写入时间戳确定环形队列中最早写入数据的位置,并将其写标志位置为第一标志位,将新数据写入最早写入数据的位置,并在写入完成后,将最早写入数据的位置调整为最新写入数据的位置,且将其写标志位置为第二标志位。由此,解决了因车辆内存和CPU资源的限制,用户在申请空间资源时会产生大量内存碎片,从而增加CPU压力,进而导致数据解析时间较长,降低数据的调度速度等问题,通过采用无锁设计的环形队列以及固定CPU内核的数据调度方法,以减少数据调度时产生的数据时延,提高了数据调度速度。
Data scheduling method and device of automatic driving system, electronic equipment and medium
自动驾驶系统的数据调度方法、装置、电子设备及介质
2024-01-12
Patent
Electronic Resource
Chinese
Vehicle scheduling method, automatic driving vehicle and electronic equipment
European Patent Office | 2023
|Automatic driving system, method and device, electronic equipment and storage medium
European Patent Office | 2021
|Automatic driving method of automatic driving vehicle, electronic equipment and storage medium
European Patent Office | 2024
|Automatic driving method and device, storage medium and electronic equipment
European Patent Office | 2023
|Automatic driving method and device, electronic equipment and storage medium
European Patent Office | 2022
|