The invention provides a music playing method and device for assisting in driving, a medium and electronic equipment. The method comprises the following steps: acquiring a current vehicle speed value and a speed limiting range of a current road section; when the current vehicle speed value is larger than the upper limit value of the speed limiting range, whether the current vehicle speed value is smaller than or equal to a punishment vehicle speed value or not is judged; when the current vehicle speed value is smaller than or equal to the punishment vehicle speed value, a current average overspeed ratio value is obtained based on a plurality of overspeed values within the current preset overspeed duration and the upper limit value; when the current average overspeed ratio value is smaller than or equal to a preset average overspeed ratio threshold value, the playing rate value of current music is increased to the playing rate value of the punishment vehicle speed value in a jumping mode. When the vehicle is overspeed, the situation that a driver cannot be effectively warned is avoided, the warning effect on the driver is achieved in the mode that the music rhythm is suddenly and greatly changed, the driver is reminded to be overspeed between the upper limit value of the speed limiting range and the punishment vehicle speed value, and road accidents are reduced.
本申请提供了一种辅助驾驶的音乐播放方法、装置、介质和电子设备。所述方法包括:获取当前车速值和当前路段的限速范围;当所述当前车速值大于所述限速范围的上限值时,判断所述当前车速值是否小于或等于处罚车速值;当所述当前车速值小于或等于所述处罚车速值时,基于当前预设超速时长内的多个超速值和所述上限值获得当前平均超速比率值;当所述当前平均超速比率值小于或等于预设平均超速比率阈值时,将当前音乐的播放速率值跃升至所述处罚车速值的播放速率值。在车辆超速时,避免无法有效警示驾驶员,通过突然大幅改变音乐节奏的方式,对驾驶员起到警示作用,提醒驾驶员在限速范围的上限值至处罚车速值之间超速,减少道路事故的发生。
Music playing method and device for assisting driving
一种辅助驾驶的音乐播放方法和装置
2024-05-14
Patent
Electronic Resource
Chinese
IPC: | B60W CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION , Gemeinsame Steuerung oder Regelung von Fahrzeug-Unteraggregaten verschiedenen Typs oder verschiedener Funktion / B60Q ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL , Anordnung von Signal- oder Beleuchtungsvorrichtungen, deren Einbau oder Halterung oder deren Schaltkreise bei Fahrzeugen allgemein |