The invention provides a control method and system for a vehicle-mounted atmosphere lamp, a storage medium and a vehicle. The control method for the vehicle-mounted atmosphere lamp comprises the steps that first atmosphere lamp data are read in response to an initialization signal of a preset application; after an opening signal of a preset interface in the preset application is obtained, a target atmosphere lamp control is obtained based on the first atmosphere lamp data, and the target atmosphere lamp control is registered to control atmosphere lamp conversion of the preset interface; and finally, after an exit signal of the preset interface is obtained, performing anti-registration on the target atmosphere lamp control, and ending the control process. The control method provided by the invention can adapt to different applications and interfaces, and has relatively high flexibility; memory leakage can be effectively avoided through registration and anti-registration, and resource waste can be avoided through the anti-registration; meanwhile, codes needed by the method have the advantages of being small in invasion, easy to transplant and easy to maintain, and therefore modification and maintenance of the codes become easier.

    本申请提供了一种车机氛围灯控制方法、系统、存储介质和车辆,所述车机氛围灯控制方法包括:响应于预设应用的初始化信号来读取第一氛围灯数据;然后在获取到预设应用中预设界面的开启信号后,基于第一氛围灯数据获取目标氛围灯控件,并对目标氛围灯控件进行注册,以控制预设界面的氛围灯变换;最后,在获取到预设界面的退出信号后,对目标氛围灯控件进行反注册,结束控制流程。本申请的控制方法能够适应不同的应用和界面,具有较高的灵活性;通过注册和反注册能够有效地避免内存泄露,并且反注册还能避免资源的浪费;同时,该方法所需的代码具有入侵小、易移植和易维护的特点,从而使得代码的修改和维护变得更加容易。


    Access

    Download


    Export, share and cite



    Title :

    Vehicle machine atmosphere lamp control method and system, storage medium and vehicle


    Additional title:

    一种车机氛围灯控制方法、系统、存储介质及车辆


    Contributors:
    HU LIXIA (author)

    Publication date :

    2024-05-14


    Type of media :

    Patent


    Type of material :

    Electronic Resource


    Language :

    Chinese


    Classification :

    IPC:    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 / H05B ELECTRIC HEATING , Elektrische Heizung



    Vehicle atmosphere lamp control method, atmosphere lamp and vehicle

    CUI PENG / ZHONG YILIN / WU CHUNFEN et al. | European Patent Office | 2024

    Free access

    Vehicle atmosphere lamp control method and device, vehicle and storage medium

    LU WENJING / WANG JUNHAO / ZHANG YING et al. | European Patent Office | 2024

    Free access

    Vehicle atmosphere lamp control method and device, vehicle and storage medium

    ZHAO YONGPENG | European Patent Office | 2023

    Free access

    Control system and method for vehicle-mounted atmosphere lamp, storage medium and vehicle

    TANG ZHENFU / JIN LEI / WU CHENGQIN | European Patent Office | 2023

    Free access

    Vehicle-mounted atmosphere lamp control method and device, vehicle and storage medium

    HE GANG / CHEN XING | European Patent Office | 2023

    Free access