Cooperative control method and device for vehicle atmosphere lamp and welcome sound and vehicle

By reading and parsing the frequency of PCM audio files on the vehicle to control the rhythm of the atmosphere light, the problem of the independent working of the welcome sound and the atmosphere light is solved, improving the user experience and personalized welcome effect.

CN120560099APending Publication Date: 2025-08-29ANHUI WEIDU HLDG CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510662447.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-22
Publication Date
2025-08-29

AI Technical Summary

Technical Problem

The welcome sound and vehicle ambient lights on the vehicle work independently, and the lack of synergistic effects lead to poor welcome experience and reduce the immersion and technology of the user experience.

Method used

By determining whether the vehicle meets the welcome triggering conditions, read and write-protected data partition to target welcome PCM audio files, use preset algorithms to analyze the audio frequency, and convert it into LIN data to control the rhythm of the ambient light, so as to achieve coordinated control of the welcome sound and the ambient light.

Benefits of technology

It improves the personalized and differentiated experience of the vehicle, enhances the immersion and welcome effect of users, and realizes the intelligent linkage between welcome audio and ambient lights.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120560099A_ABST
    Figure CN120560099A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicles, in particular to a cooperative control method and device for a vehicle atmosphere lamp and welcome sound and a vehicle, and the method comprises the steps: reading a target welcome PCM audio file pre-stored in a write-protection data partition when the vehicle meets a welcome trigger condition, and controlling the target welcome PCM audio file to be played within a preset time, meanwhile, analyzing the target welcome PCM audio file by using a preset algorithm to obtain the audio frequency of the target welcome PCM audio file; and the audio frequency is converted into LIN data, and the atmosphere lamp control assembly is controlled to dynamically control the rhythm of the vehicle atmosphere lamp according to the LIN data. Therefore, the problems that the greeting effect is poor, the user experience is reduced and the like due to the fact that the greeting sound function and the vehicle atmosphere lamp work independently are solved, intelligent linkage of the greeting audio and the atmosphere lamp is achieved by customizing the greeting words and playing the PCM audio file, and therefore the personalized and differentiated experience of the vehicle is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a method and device for collaboratively controlling vehicle ambient lights and welcome sounds, and a vehicle. Background Art

[0002] The vehicle's welcome system usually includes a welcome sound and vehicle ambient lights. The welcome sound on the vehicle is a sound effect played when the user approaches the vehicle, unlocks, or starts the vehicle. This sound effect can be played through the vehicle's audio system or through external speakers; the vehicle ambient light is a decorative lighting fixture. The ambient light usually uses LED (Light Emitting Diode) technology and can create different atmospheres through different colors and brightness.

[0003] In the related art, the welcome sound and vehicle ambient light on the vehicle use different subsystems to work independently.

[0004] However, the welcome sound and vehicle ambient light operate independently, which separates the welcome sound function from the vehicle ambient light, lacks synergy, and cannot form a unified welcome experience, resulting in poor welcome effect and reducing the immersive and technological sense of the user experience. Summary of the Invention

[0005] The present application provides a method, device and vehicle for collaborative control of vehicle ambient lights and welcome sounds, so as to solve the problems that the welcome sound function and the vehicle ambient lights work independently and lack a collaborative effect, thereby resulting in a poor welcome effect and reduced user experience.

[0006] The first aspect of the present application provides a method for coordinated control of vehicle ambient lights and welcome sounds, including the following steps: determining whether the vehicle meets the welcome trigger conditions; if the vehicle meets the welcome trigger conditions, reading the target welcome PCM (Pulse Code Modulation) audio file pre-stored in the write-protected data partition, and controlling the target welcome PCM audio file to play within a preset time, and at the same time, using a preset algorithm to parse the target welcome PCM audio file to obtain the audio frequency of the target welcome PCM audio file; converting the audio frequency into LIN (Local Interconnect Network) data, and sending the LIN data to the ambient light control component to control the ambient light control component to dynamically control the vehicle ambient light rhythm according to the LIN data.

[0007] Preferably, converting the audio frequency into LIN data includes: dividing the audio frequency into frequency band numbers to obtain the amplitude spectrum energy within each frequency band number; summing the amplitude spectrum energy within each frequency band number to obtain the target frequency band number corresponding to the highest amplitude spectrum energy, and converting the target frequency band number into the LIN data.

[0008] Preferably, after controlling the atmosphere light control component to dynamically control the vehicle atmosphere light rhythm according to the LIN data, it also includes: judging whether the user's target welcome PCM audio file modification instruction is received; if the modification instruction of the target welcome PCM audio file is received, receiving the user's new welcome PCM audio file, and replacing the target welcome PCM audio file with the new welcome PCM audio file, and storing it in the write-protected data partition.

[0009] Preferably, before receiving the new welcome PCM audio file of the user, it also includes: receiving a text modification instruction or a voice modification instruction of the target welcome PCM audio file; if the modification instruction is the text modification instruction, receiving the user's text welcome information, and converting the text welcome information into a corresponding new welcome PCM audio file; if the modification instruction is the voice modification instruction, recognizing the voice modification instruction, generating the user's voice welcome information, and converting the voice welcome information into a corresponding new welcome PCM audio file.

[0010] Preferably, the controlling of the atmosphere light control component to dynamically control the vehicle atmosphere light rhythm according to the LIN data includes: determining whether the target frequency band number in the LIN data is within the target frequency band number range; if the target frequency band number is within the target frequency band number range, controlling the atmosphere light control component to dynamically control the vehicle atmosphere light rhythm according to the LIN data, otherwise, continuing to dynamically control the vehicle atmosphere light rhythm based on the previous LIN data.

[0011] The second aspect of the present application provides a collaborative control device for vehicle ambient lights and welcome sounds, including: a judgment module, used to judge whether the vehicle meets the welcome trigger condition; a parsing module, used to read the target welcome PCM audio file pre-stored in the write-protected data partition if the vehicle meets the welcome trigger condition, and control the target welcome PCM audio file to play within a preset time, and at the same time, use a preset algorithm to parse the target welcome PCM audio file to obtain the audio frequency of the target welcome PCM audio file; a control module, used to convert the audio frequency into LIN data, and send the LIN data to the ambient light control component to control the ambient light control component to dynamically control the vehicle ambient light rhythm according to the LIN data.

[0012] Preferably, the control module is specifically used to: divide the audio frequency into frequency band numbers to obtain the amplitude spectrum energy within each frequency band number; sum the amplitude spectrum energy within each frequency band number to obtain the target frequency band number corresponding to the highest amplitude spectrum energy, and convert the target frequency band number into the LIN data.

[0013] Preferably, after controlling the ambient light control component to dynamically control the vehicle ambient light rhythm according to the LIN data, the control module is also used to: determine whether the user's target welcome PCM audio file modification instruction is received; if the modification instruction of the target welcome PCM audio file is received, then receive the user's new welcome PCM audio file, replace the target welcome PCM audio file with the new welcome PCM audio file, and store it in the write-protected data partition.

[0014] Preferably, before receiving the new welcome PCM audio file of the user, the control module is also used to: receive a text modification instruction or a voice modification instruction of the target welcome PCM audio file; if the modification instruction is the text modification instruction, receive the user's text welcome information, and convert the text welcome information into a corresponding new welcome PCM audio file; if the modification instruction is the voice modification instruction, recognize the voice modification instruction, generate the user's voice welcome information, and convert the voice welcome information into a corresponding new welcome PCM audio file.

[0015] Preferably, the control module is specifically used to: determine whether the target frequency band number in the LIN data is within the target frequency band number range; if the target frequency band number is within the target frequency band number range, control the atmosphere light control component to dynamically control the vehicle atmosphere light rhythm according to the LIN data, otherwise, continue to dynamically control the vehicle atmosphere light rhythm based on the previous LIN data.

[0016] The third aspect of the present application provides a vehicle, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method for collaboratively controlling vehicle ambient lights and welcome sounds as described in the above embodiment.

[0017] The fourth aspect of the present application provides a computer-readable storage medium on which a computer program is stored. The program is executed by a processor to implement the method for coordinated control of vehicle ambient lights and welcome sounds as described in the above embodiment.

[0018] Therefore, this application has at least the following beneficial effects: when the vehicle meets the welcome trigger conditions, it reads the target welcome PCM audio file pre-stored in the write-protected data partition and controls the target welcome PCM audio file to play within a preset time. Simultaneously, it uses a preset algorithm to parse the target welcome PCM audio file to obtain the audio frequency of the target welcome PCM audio file; the audio frequency is converted into LIN data, and the ambient light control component is controlled to dynamically control the vehicle ambient light rhythm according to the LIN data. This solves the problem of the welcome sound function and the vehicle ambient light function operating independently and lacking synergy, resulting in a poor welcome effect and a reduced user experience. By customizing the welcome message and converting the text into a PCM audio file for playback, the welcome audio and ambient light are intelligently linked, thereby enhancing the personalized and differentiated vehicle experience.

[0019] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0021] Figure 1 This is a flow chart of a method for collaboratively controlling vehicle ambient lights and welcome sounds according to an embodiment of the present application;

[0022] Figure 2 This is an overall flow chart of vehicle customized welcome and ambient light control according to one embodiment of the present application;

[0023] Figure 3 A schematic diagram of an FFT conversion process according to an embodiment of the present application;

[0024] Figure 4 This is an example diagram of a coordinated control device for vehicle ambient lighting and welcome sound according to an embodiment of the present application;

[0025] Figure 5 Schematic diagram of the structure of a vehicle according to an embodiment of the present application.

[0026] Description of reference numerals: 100 - judgment module; 200 - analysis module; 300 - control module DETAILED DESCRIPTION

[0027] The following describes in detail embodiments of the present application. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0028] The following describes the detection method, device, vehicle and storage medium of the labeled data sample of the embodiment of the present application with reference to the accompanying drawings. Specifically, Figure 1 A flowchart of a method for collaboratively controlling vehicle ambient lights and welcome sounds provided in an embodiment of the present application.

[0029] like Figure 1 As shown, the method for collaboratively controlling the vehicle ambient light and the welcome sound includes the following steps:

[0030] In step S101 , it is determined whether the vehicle meets the welcome triggering condition.

[0031] Specifically, if Figure 2 As shown, to ensure that PCM audio can be played quickly and reliably when the user gets on the vehicle, first, it will be determined whether the vehicle meets the welcome trigger condition. The welcome trigger condition is whether the vehicle is successfully unlocked and the entire vehicle is powered on. If the vehicle is successfully unlocked and the entire vehicle is powered on, it is determined that the vehicle meets the welcome trigger condition. At this time, the domain controller can control the target welcome PCM audio file to play.

[0032] In step S102, if the vehicle meets the welcome trigger condition, the target welcome PCM audio file pre-stored in the write-protected data partition is read, and the target welcome PCM audio file is controlled to play within the preset time. At the same time, the target welcome PCM audio file is parsed using a preset algorithm to obtain the audio frequency of the target welcome PCM audio file.

[0033] Among them, the preset time and the preset algorithm can be set by those skilled in the art according to actual usage requirements and are not specifically limited here.

[0034] Specifically, if the vehicle meets the welcome trigger conditions, that is, when the vehicle is unlocked or opened and the entire vehicle is powered on, the domain controller will detect the power-on signal, thereby synchronizing with the vehicle status to avoid false triggering. If it is in the domain controller low power mode, the domain controller can complete the screen wake-up within the preset time (for example, 3 seconds), and read the target welcome PCM audio file pre-stored in the write-protected data partition, and then play the target welcome PCM audio file; if the domain controller is restarted and initialized, the domain controller's DSP (Digital Signal Processing) audio module can complete the driver initialization within 3 seconds after the domain controller host is powered on, and play the target welcome PCM audio file after reading the write-protected partition.

[0035] Among them, the smart cockpit domain control host will preset a PCM audio file in the write-protected data partition when leaving the factory, that is, the write-protected data partition, as the default boarding welcome sound. The write-protected data partition can be configured through the driver to open an independent partition in the memory. This partition cannot be overwritten by system upgrades, nor can it be modified or deleted by non-system applications.

[0036] It should be noted that if it cannot be woken up within the preset time (for example, 3 seconds), it means that the current domain control has failed, such as system abnormality. If this happens, it will usually be monitored by the MCU (Microcontroller Unit) or R core to restart the computer. At this time, the welcome sound is played based on the playback process initialized by the restart.

[0037] Furthermore, while controlling the target welcoming PCM audio file to play within 3 seconds, a preset algorithm (such as an audio analysis algorithm FFT (Fast Fourier Transform)) is used to analyze the target welcoming PCM audio file to obtain the audio frequency of the target welcoming PCM audio file.

[0038] Specifically, if Figure 2 As shown in the figure, when the vehicle is powered on, the domain controller reads the factory default target welcome PCM audio file or the user-defined new welcome PCM audio file from the write-protected data partition. At the same time, an audio analysis algorithm, such as FFT or Fftw, needs to perform spectrum analysis on the default target welcome PCM audio file or the new welcome PCM audio file. Figure 3 The figure shows a schematic diagram of the FFT conversion process. FFT can convert each audio signal into frequency components, so that the audio frequency of each audio signal can be obtained separately. This is because the audio signal is collected and separated into frequency components within a period of time. These audio components are each sinusoidal oscillation waves at different frequencies, with their own amplitude and phase, so the audio frequency is obtained through the FFT algorithm.

[0039] In step S103 , the audio frequency is converted into LIN data, and the LIN data is sent to the ambient light control component to control the ambient light control component to dynamically control the vehicle ambient light rhythm according to the LIN data.

[0040] Preferably, converting the audio frequency into LIN data includes: dividing the audio frequency into frequency band numbers to obtain the amplitude spectrum energy within each frequency band number; summing the amplitude spectrum energy within each frequency band number to obtain the target frequency band number corresponding to the highest amplitude spectrum energy, and converting the target frequency band number into LIN data.

[0041] Specifically, the domain control will divide the frequency band numbers, that is, divide the acquired audio frequencies into 64 levels (0-63), which correspond to the 64 color numbers (0-63) of the ambient light respectively, and convert them into LIN data according to the ambient light LIN matrix rules, and send them in a 100ms cycle. Among them, the changes in rhythm, melody and other elements in the audio frequency of the welcoming sound are converted into LIN data, which can drive the ambient light to change color and brightness according to the rhythm or emotion of the audio, so that the visual effect matches the auditory experience, enhancing the user's immersion and welcoming experience. The LIN data can be based on the sum of the amplitude spectrum energy in each frequency band number to obtain the target frequency band number corresponding to the highest amplitude spectrum energy as the ambient light color control signal, thereby converting the target frequency band number into LIN data.

[0042] Among them, the atmosphere light LIN matrix can include atmosphere light on, brightness adjustment, color selection, and status feedback. The welcoming rhythm mainly corresponds to the CDC_ALMColour_adjust color selection signal in the matrix. Among them, the atmosphere light color table is shown in Table 1, and the atmosphere light LIN matrix is ​​shown in Table 2:

[0043] Table 1

[0044]

[0045]

[0046]

[0047] Table 2

[0048]

[0049]

[0050] Then, the converted LIN data is sent to the ambient light control component. At this time, the ambient light control component can obtain the color and brightness of the ambient light, and dynamically control the vehicle ambient light to perform corresponding rhythm according to the audio frequency based on the LIN data.

[0051] It should be noted that the embodiment of the present application can also use CAN (Controller Area Network) data, which is mainly determined based on the communication settings of the vehicle atmosphere lights.

[0052] Preferably, the ambient light control component is controlled to dynamically control the vehicle ambient light rhythm according to the LIN data, including: determining whether the target frequency band number in the LIN data is within the target frequency band number range; if the target frequency band number is within the target frequency band number range, then the ambient light control component is controlled to dynamically control the vehicle ambient light rhythm according to the LIN data, otherwise, the vehicle ambient light rhythm continues to be dynamically controlled based on the previous LIN data.

[0053] Specifically, in order to avoid the accuracy of the change in the color of the ambient light, after receiving the LIN data, it is necessary to further judge the target frequency band number in the LIN data to see whether the target frequency band number is within the target frequency band number range, that is, whether the target frequency band number is within the 0-63 frequency band. If the target frequency band number is within the target frequency band number range, it means that the ambient light data sent by the domain control is correct at this time, so the ambient light control component can dynamically control the vehicle ambient light rhythm according to the new LIN data received; if the target frequency band number exceeds the target frequency band number range, that is, the target frequency band number exceeds the 0-63 frequency band range, it means that the data sent by the domain control is wrong, and the ambient light control component needs to discard the erroneous data, and then continue to dynamically control the vehicle ambient light rhythm based on the previous LIN data, that is, maintain the rhythm of the previous valid ambient light color.

[0054] Furthermore, the domain controller will also memorize the color of the ambient light when the vehicle was last powered off. For example, if it memorizes blue, the MCU will send the default ambient light memory color the next time the vehicle is powered on. After the welcoming rhythm (such as the color during the rhythm is red, yellow, purple, and light green), the ambient light returns to the memorized color.

[0055] Preferably, after controlling the ambient light control component to dynamically control the vehicle ambient light rhythm according to the LIN data, it also includes: judging whether the user's target welcome PCM audio file modification instruction is received; if the target welcome PCM audio file modification instruction is received, then receiving the user's new welcome PCM audio file, and replacing the target welcome PCM audio file with the new welcome PCM audio file, and storing it in the write-protected data partition.

[0056] Preferably, before receiving the user's new welcome PCM audio file, it also includes: receiving a text modification instruction or a voice modification instruction of the target welcome PCM audio file; if the modification instruction is a text modification instruction, receiving the user's text welcome information, and converting the text welcome information into a corresponding new welcome PCM audio file; if the modification instruction is a voice modification instruction, recognizing the voice modification instruction, generating the user's voice welcome information, and converting the voice welcome information into a corresponding new welcome PCM audio file.

[0057] Specifically, if Figure 2As shown, the user can personalize and modify the target welcome PCM audio file according to his or her preferences. If the user wants to personalize, he or she needs to send the target welcome PCM audio file modification instruction through text or voice. If the modification instruction is a text modification instruction, the user's text welcome information is received and the text welcome information is converted into the corresponding new welcome PCM audio file. For example, the user enters the welcome sound modification function interface on the smart cockpit domain control display screen, customizes the welcome text, such as "Welcome my queen to make a shining appearance", etc., clicks and then clicks the OK modification button; if the modification instruction is a voice modification instruction, the voice modification instruction is recognized, the user's voice welcome information is generated, and a TTS (Text-to-Speech) engine (such as Google Text-to-Speech API, Microsoft Azure, IBM Watson, etc., or open source libraries such as MaryTTS or eSpeak, etc.) can be used to convert the voice welcome information into the corresponding new welcome PCM audio file. For example, the user sends a message such as "Welcome my Queen to the stage" through voice, and then the voice welcome information is converted into the corresponding new welcome PCM audio file based on the TTS engine, and voice feedback is provided after the modification, and then the new PCM audio file is automatically copied to the write-protected data partition, or the user copies the corresponding new PCM audio file to the write-protected data partition through a USB flash drive to replace the default target welcome PCM audio file for use on the next ride.

[0058] Optionally, users can also search for new PCM audio files on their own, enter the welcome sound modification function interface on the domain control display, select the USB flash drive PCM audio file list, select the PCM audio file and click OK to modify to obtain the new PCM audio file. After receiving the confirmation instruction, the program copies the new PCM audio file to the write-protected data partition to replace the default target welcome PCM audio file.

[0059] It should be noted that before the user modifies the welcome sound, the domain control plays the default welcome sound every time the user gets in the car. After the user modifies it, the modified welcome sound will be played the next time the vehicle is powered on, thereby controlling the rhythm of the vehicle's ambient lights according to the modified welcome sound.

[0060] In summary, the embodiment of the present application can provide a way to implement customized welcome sound + ambient light rhythm without modifying hardware and increasing hardware costs. Through the customized welcome sound combined with the ambient light rhythm, the user can experience the self-defined welcome sound + ambient light rhythm that matches the sound frequency when getting on the car, thereby enhancing the user experience.

[0061] According to the collaborative control method for vehicle ambient lighting and welcome sound proposed in the embodiment of the present application, when the vehicle meets the welcome trigger condition, the target welcome PCM audio file pre-stored in the write-protected data partition is read, and the target welcome PCM audio file is controlled to play within a preset time. At the same time, the target welcome PCM audio file is parsed using a preset algorithm to obtain the audio frequency of the target welcome PCM audio file; the audio frequency is converted into LIN data, and the ambient lighting control component is controlled to dynamically control the vehicle ambient lighting rhythm according to the LIN data. This solves the problem of the welcome sound function and the vehicle ambient lighting working independently and lacking a collaborative effect, resulting in a poor welcome effect and a reduced user experience. By customizing the welcome message and converting the text into a PCM audio file for playback, the intelligent linkage of the welcome audio and ambient lighting is achieved, thereby enhancing the personalized and differentiated experience of the vehicle.

[0062] Next, a collaborative control device for vehicle ambient lights and welcome sounds proposed in accordance with an embodiment of the present application will be described with reference to the accompanying drawings.

[0063] Figure 4 It is a block diagram of a collaborative control device for vehicle ambient lights and welcome sounds according to an embodiment of the present application.

[0064] like Figure 4 As shown, the coordinated control device 10 for vehicle ambient light and welcome sound includes: a judgment module 100 , an analysis module 200 and a control module 300 .

[0065] Among them, the judgment module 100 is used to determine whether the vehicle meets the welcome trigger conditions; the analysis module 200 is used to read the target welcome PCM audio file pre-stored in the write-protected data partition if the vehicle meets the welcome trigger conditions, and control the target welcome PCM audio file to play within a preset time. At the same time, the target welcome PCM audio file is analyzed using a preset algorithm to obtain the audio frequency of the target welcome PCM audio file; the control module 300 is used to convert the audio frequency into LIN data, and send the LIN data to the atmosphere light control component to control the atmosphere light control component to dynamically control the vehicle atmosphere light rhythm according to the LIN data.

[0066] Preferably, the control module 300 is specifically used to: divide the audio frequency into frequency band numbers to obtain the amplitude spectrum energy within each frequency band number; sum the amplitude spectrum energy within each frequency band number to obtain the target frequency band number corresponding to the highest amplitude spectrum energy, and convert the target frequency band number into LIN data.

[0067] Preferably, after controlling the ambient light control component to dynamically control the vehicle ambient light rhythm according to the LIN data, the control module 300 is also used to: determine whether the user's target welcome PCM audio file modification instruction is received; if the target welcome PCM audio file modification instruction is received, then receive the user's new welcome PCM audio file, replace the target welcome PCM audio file with the new welcome PCM audio file, and store it in the write-protected data partition.

[0068] Preferably, before receiving the user's new welcome PCM audio file, the control module 300 is also used to: receive a text modification instruction or a voice modification instruction of the target welcome PCM audio file; if the modification instruction is a text modification instruction, then receive the user's text welcome information and convert the text welcome information into a corresponding new welcome PCM audio file; if the modification instruction is a voice modification instruction, then recognize the voice modification instruction, generate the user's voice welcome information, and convert the voice welcome information into a corresponding new welcome PCM audio file.

[0069] Preferably, the control module 300 is specifically used to: determine whether the target frequency band number in the LIN data is within the target frequency band number range; if the target frequency band number is within the target frequency band number range, then control the atmosphere light control component to dynamically control the vehicle atmosphere light rhythm according to the LIN data, otherwise, continue to dynamically control the vehicle atmosphere light rhythm based on the previous LIN data.

[0070] According to the collaborative control device for vehicle ambient lights and welcome sounds proposed in the embodiment of the present application, when the vehicle meets the welcome trigger conditions, the target welcome PCM audio file pre-stored in the write-protected data partition is read, and the target welcome PCM audio file is controlled to play within a preset time. At the same time, the target welcome PCM audio file is parsed using a preset algorithm to obtain the audio frequency of the target welcome PCM audio file; the audio frequency is converted into LIN data, and the ambient light control component is controlled to dynamically control the vehicle ambient light rhythm according to the LIN data. This solves the problem of the welcome sound function and the vehicle ambient light working independently and lacking a collaborative effect, resulting in a poor welcome effect and a reduced user experience. By customizing the welcome message and converting the text into a PCM audio file for playback, the intelligent linkage of the welcome audio and ambient lights is achieved, thereby enhancing the personalized and differentiated experience of the vehicle.

[0071] Figure 5 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application. The vehicle may include:

[0072] Memory 501 , processor 502 , and computer programs stored in the memory 501 and executable on the processor 502 .

[0073] When the processor 502 executes the program, the coordinated control method of the vehicle ambient light and the welcome sound provided in the above embodiment is implemented.

[0074] Furthermore, the vehicle further comprises:

[0075] The communication interface 503 is used for communication between the memory 501 and the processor 502 .

[0076] The memory 501 is used to store computer programs that can be run on the processor 502 .

[0077] The memory 501 may include a high-speed RAM (Random Access Memory) memory, and may also include a non-volatile memory, such as at least one disk memory.

[0078] If the memory 501, the processor 502, and the communication interface 503 are implemented independently, the communication interface 503, the memory 501, and the processor 502 can be connected to each other via a bus and communicate with each other. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.

[0079] Optionally, in a specific implementation, if the memory 501, the processor 502 and the communication interface 503 are integrated on a chip, the memory 501, the processor 502 and the communication interface 503 can communicate with each other through an internal interface.

[0080] The processor 502 may be a CPU (Central Processing Unit), or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.

[0081] An embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method for collaboratively controlling the vehicle ambient light and the welcome sound is implemented as described above.

[0082] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine different embodiments or examples described in this specification and features of different embodiments or examples without contradiction.

[0083] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of technical features indicated. Thus, a feature specified as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of this application, "N" means at least two, for example, two, three, etc., unless otherwise specifically defined.

[0084] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing a custom logical function or process step, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may be performed in a different order than shown or discussed, including performing functions in a substantially simultaneous manner or in a reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present application pertain.

[0085] It should be understood that various parts of the present application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiment, the N steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, it can be implemented using any one or a combination of the following technologies known in the art: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application-specific integrated circuit having a suitable combination of logic gate circuits, a programmable gate array, a field programmable gate array, etc.

[0086] Those skilled in the art will understand that all or part of the steps in the method for implementing the above-mentioned embodiment can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes one of the steps of the method embodiment or a combination thereof.

[0087] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A method for collaboratively controlling vehicle ambient lights and welcome sounds, characterized in that: The following steps are involved: Determining whether the vehicle meets a welcome trigger condition; If the vehicle meets the welcome trigger condition, the target welcome PCM audio file pre-stored in the write-protected data partition is read, and the target welcome PCM audio file is controlled to play within a preset time. At the same time, the target welcome PCM audio file is parsed using a preset algorithm to obtain the audio frequency of the target welcome PCM audio file; The audio frequency is converted into LIN data, and the LIN data is sent to the ambient light control component to control the ambient light control component to dynamically control the vehicle ambient light rhythm according to the LIN data.

2. The method according to claim 1, characterized in that The converting the audio frequency into LIN data comprises: Divide the audio frequency into frequency band numbers to obtain the amplitude spectrum energy within each frequency band number; The amplitude spectrum energy within each frequency band sequence number is summed to obtain a target frequency band sequence number corresponding to the highest amplitude spectrum energy, and the target frequency band sequence number is converted into the LIN data.

3. The method according to claim 1, characterized in that After controlling the ambient light control component to dynamically control the vehicle ambient light rhythm according to the LIN data, the method further includes: Determine whether a target welcome PCM audio file modification instruction from the user is received; If a modification instruction of the target welcome PCM audio file is received, the new welcome PCM audio file of the user is received, and the new welcome PCM audio file replaces the target welcome PCM audio file and is stored in a write-protected data partition.

4. The method according to claim 3, characterized in that Before receiving the new welcome PCM audio file of the user, the method further includes: Receive a text modification instruction or a voice modification instruction for the target welcoming PCM audio file; If the modification instruction is the text modification instruction, receiving the user's text welcome message and converting the text welcome message into a corresponding new welcome PCM audio file; If the modification instruction is the voice modification instruction, the voice modification instruction is recognized, a voice welcome message for the user is generated, and the voice welcome message is converted into a corresponding new welcome PCM audio file.

5. The method according to claim 1, wherein The controlling the ambient light control component to dynamically control the vehicle ambient light rhythm according to the LIN data includes: Determining whether the target frequency band sequence number in the LIN data is within a target frequency band sequence number range; If the target frequency band number is within the target frequency band number range, the ambient light control component is controlled to dynamically control the vehicle ambient light rhythm according to the LIN data; otherwise, the vehicle ambient light rhythm is continued to be dynamically controlled based on the previous LIN data.

6. A coordinated control device for vehicle ambient lights and welcome sounds, characterized in that: include: A judgment module, used to judge whether the vehicle meets the welcoming trigger condition; a parsing module, configured to read a target welcome PCM audio file pre-stored in a write-protected data partition if the vehicle meets the welcome trigger condition, control the target welcome PCM audio file to be played within a preset time, and simultaneously parse the target welcome PCM audio file using a preset algorithm to obtain an audio frequency of the target welcome PCM audio file; The control module is used to convert the audio frequency into LIN data and send the LIN data to the ambient light control component to control the ambient light control component to dynamically control the vehicle ambient light rhythm according to the LIN data.

7. The device according to claim 6, characterized in that The control module is specifically used to: Divide the audio frequency into frequency band numbers to obtain the amplitude spectrum energy within each frequency band number; The amplitude spectrum energy within each frequency band sequence number is summed to obtain a target frequency band sequence number corresponding to the highest amplitude spectrum energy, and the target frequency band sequence number is converted into the LIN data.

8. The device according to claim 6, characterized in that After controlling the ambient light control component to dynamically control the vehicle ambient light rhythm according to the LIN data, the control module is further configured to: Determine whether a target welcome PCM audio file modification instruction from the user is received; If a modification instruction of the target welcome PCM audio file is received, the new welcome PCM audio file of the user is received, and the new welcome PCM audio file replaces the target welcome PCM audio file and is stored in a write-protected data partition.

9. A vehicle, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method for collaboratively controlling vehicle ambient lights and welcome sounds as described in any one of claims 1 to 5.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the method for collaboratively controlling vehicle ambient lights and welcome sounds as described in any one of claims 1 to 5.

Citation Information

Cited By

  • Plastic optical fiber action state adjusting method and system for vehicle-mounted atmosphere lamp

    CN121985450A