Sound effect parameter loading method and system, sound effect output method and system and storage medium
By encoding the message header during the loading process of automotive audio parameters and transmitting the audio parameters using the vehicle control area network and serial peripheral interface, the problems of high complexity and high error risk in loading audio parameters in the prior art are solved, and efficient and low-cost audio parameter management is achieved.
Patent Information
- Application Number
- CN202411009709.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-11-15
AI Technical Summary
In existing technologies, the loading methods for sound effect parameters have low reusability, high complexity, low efficiency, and a high risk of errors, resulting in high software development and maintenance costs.
By acquiring the sound effect parameter file and encoding the message header, writing it into the memory, reading it after the system is powered on and loading it into the first processor, transmitting it using the vehicle control area network and serial peripheral interface, and ensuring data integrity through CRC check, the sound effect parameters are separated from the cockpit system software.
It improves the reusability of sound effect parameters, reduces system complexity, increases efficiency, avoids the risk of errors in manual parameter configuration, and reduces software development and maintenance costs.
Smart Images

Figure CN118963697A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of automotive electronic technology, and specifically relates to a sound effect parameter loading method, a sound effect output method, a system and a storage medium. Background Art
[0002] With the accelerated popularization of automobile intelligence, consumers' demand for personalized and immersive acoustic experience in the cockpit is growing, which makes the cockpit system equipped with virtual surround sound a standard configuration. At present, third-party sound effect algorithms are generally used to achieve sound effects. The development process on the cockpit system includes four stages: DSP link construction, algorithm module optimization, real vehicle tuning and sound effect parameter loading. However, whether the best sound effect of tuning can be presented in the end depends on the effective loading of sound effect parameters. At present, the loading of sound effect parameters in the entire automotive industry adopts the method of static library and code integration. After the sound effect algorithm is debugged and calibrated in the real vehicle, it is released to the host manufacturer. The host manufacturer manually writes the parameter comparison into the software code or software system, compiles and integrates it, and packages it into the host flashing software. After that, the host software is released to the vehicle manufacturer for upgrading, and then the final real vehicle sound effect is confirmed. The sound effect parameters are deeply bound to the cockpit system software. Every time the sound effect parameters are modified, the cockpit software needs to be reintegrated and released, resulting in low reuse, high complexity, low efficiency and high risk of error, and high software development and maintenance costs. Summary of the invention
[0003] In order to solve the above technical problems, the present application proposes a sound effect parameter loading method, sound effect output method, system and storage medium with high reusability, low complexity, high efficiency and low error risk, which reduces software development and maintenance costs.
[0004] Specifically, the present application proposes a method for loading sound effect parameters, which mainly includes: S100: Acquire a sound effect parameter file, encode each sound effect parameter information in the sound effect parameter file into a corresponding message header, and write each sound effect parameter information and the corresponding message header into a memory.
[0005] S200: After the system is powered on, based on the target message in the parameter reading command, corresponding sound effect parameter information is obtained from the memory as sound effect loading information; wherein the target message includes at least one or more message headers; and S300: Load the sound effect loading information into the first processor.
[0006] In the above technical solution, the acquired sound effect parameter file is stored and after the system is powered on, the corresponding sound effect is debugged by reading and loading it into the first processor. This can effectively solve the problem of static integration of cockpit system software and flash upgrade after the traditional sound effect parameters change, thereby improving software reuse, reducing system complexity, and improving efficiency. At the same time, it also avoids the error risks brought by manual configuration of parameters, improves product quality, and reduces software development and maintenance costs.
[0007] As an implementation manner, the step S100 may include: Acquire a sound effect parameter file, encode a corresponding message header for each sound effect parameter information in the sound effect parameter file, download the message header and the corresponding sound effect parameter information to a body control area network, acquire the message header and the corresponding sound effect parameter information based on the body control area network, and cache them in a cache area as an initial parameter file; after the message header and the corresponding sound effect parameter information in the body control area network are cached, transmit the initial parameter file to a second processor.
[0008] The initial parameter file is written into a memory as a target parameter file by the second processor.
[0009] The caching of the initial parameter file in the cache area may include: Determine whether the initial parameter file includes multiple message headers. If so, cache each sound effect parameter information and the corresponding message header in a cache area corresponding to the message header.
[0010] If the initial parameter file includes only one message header, the initial parameter file is cached in a cache area corresponding to the message header.
[0011] The sound effect parameter file can be obtained through the EOL Tool tool and the corresponding message header can be encoded for each sound effect parameter information in the sound effect parameter file. The body control area network can be a CAN BUS network or an Ethernet. The second processor can be a SOC processor. The initial parameter file can be transmitted to the second processor through SPI (Serial Peripheral Interface). During the transmission process through the SPI, the sound effect parameter information is CRC-checked to ensure the integrity and validity of the transmission of the sound effect parameter information in the cockpit system.
[0012] Furthermore, the step S200 includes: After the system is powered on, it is determined whether there is a target parameter file in the memory. If so, a parameter reading command is received based on the body control area network, and a target message is obtained according to the parameter reading command, so as to read the sound effect parameter information corresponding to each message header in the target message from the target parameter file as the sound effect loading information; otherwise, the sound effect loading information fails to be obtained.
[0013] According to the message header in the target message, the sound effect loading information is transmitted to the corresponding buffer area.
[0014] After all the sound effect loading information is cached in the cache area, a read completion command is sent back to the body control area network, and the sound effect loading information is stored in the backup storage area.
[0015] The sound effect loading information is compared and checked with the sound effect parameter information in the memory, and the sound effect parameter information is optimized and adjusted according to the inspection result. The optimization and adjustment at least includes correcting and adjusting the incorrect sound effect parameter information in the sound effect loading information according to the inspection result, so that the output of the sound effect according to the sound effect parameter information is more accurate and efficient.
[0016] The method of transmitting the sound effect loading information to a corresponding buffer area according to the message header in the target message mainly includes: Determine whether the target message corresponding to the sound effect loading information has multiple message headers. If so, cache the corresponding sound effect loading information into the corresponding cache area according to the message header; if the target message corresponding to the sound effect loading information includes only one message header, cache the sound effect loading information into the cache area corresponding to the message header.
[0017] Based on the same inventive concept, the present application also proposes a sound effect output method, which may mainly include: Determine whether the first processor has successfully loaded the sound effect loading information; if so, control the audio stream received by the first processor based on the sound effect loading information to output with the target sound effect corresponding to the sound effect loading information; otherwise, the first processor controls the received audio stream to output with the original sound effect.
[0018] Based on the same inventive concept, the present application also proposes a system for a method for loading sound effect parameters, the system comprising: Parameter storage module: used to obtain the sound effect parameter file, encode the corresponding message header for each sound effect parameter information in the sound effect parameter file, and write each sound effect parameter information and the corresponding message header into the memory.
[0019] A parameter reading module: used to obtain corresponding sound effect parameter information from the memory as sound effect loading information based on a target message in a parameter reading command after the system is powered on; wherein the target message includes at least one or more message headers; and Information loading module: used to load the sound effect loading information into the first processor.
[0020] Based on the same inventive concept, the present application also proposes a computer-readable storage medium, which stores computer-executable instructions. The computer-executable instructions can be read by a domain controller and execute the sound effect parameter loading method.
[0021] Compared with the prior art, this application has at least the following beneficial effects: This application encodes the acquired sound effect parameter information to obtain the corresponding message header, writes the message header and the corresponding sound effect parameter information into the memory for storage, and after the system is powered on, obtains the corresponding sound effect parameter information by reading the message header and loads it into the first processor for debugging and presenting the sound effect. The sound effect parameters are effectively separated from the smart cockpit system software, and the corresponding sound effect parameters are read and loaded when the system starts running, which solves the problem of statically integrating the cockpit system software and flashing the machine after the parameters change, improves reuse, reduces the complexity of the system, improves efficiency, and also avoids the risk of errors caused by manual configuration of parameters, improves product quality, and reduces software development and maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is a flow chart of the method for loading sound effect parameters shown in an embodiment of the present application.
[0023] Figure 2 It is a writing flow chart of the sound effect parameter loading method shown in the embodiment of the present application.
[0024] Figure 3 It is a reading flow chart of the sound effect parameter loading method shown in the embodiment of the present application.
[0025] Figure 4 It is a flow chart of the sound effect output method shown in an embodiment of the present application.
[0026] Figure 5 It is a schematic diagram of a sound effect parameter loading system shown in an embodiment of the present application. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0028] Embodiment 1: Please refer to Figure 1 The sound effect parameter loading method mainly includes steps S100 to S300.
[0029] Wherein, step S100 includes: obtaining a sound effect parameter file, encoding corresponding message headers for each sound effect parameter information in the sound effect parameter file, and writing each sound effect parameter information and the corresponding message header into a memory. The sound effect parameter file is preferably a 3D sound effect parameter file. The format of the 3D sound effect parameter file is preferably a parameter file in .txt file, .hex file or .bin format. For example, the sound effect parameter file may be a 3d_sound-param.bin file. The sound effect parameter file may be opened using the EOL Tool (End-of-Line Tool) tool to obtain the sound effect parameter information and the corresponding message header. The EOL Tool is a tool used to test and verify various systems and functions of a vehicle during the automobile production process, and is mainly used for system testing, fault detection, parameter calibration, and programming and configuration. For example, the EOL Tool may be DDT 2000 (Diagnostic Data Tools 2000).
[0030] After encoding the corresponding message header for each sound effect parameter information in the sound effect parameter file, the message header and the corresponding sound effect parameter information are downloaded to the body control area network. The body control area network can be a CANBUS network or Ethernet. CAN BUS (Controller Area Network Bus) is a serial communication protocol and bus system used for data communication between highly distributed control units. The use of the CAN BUS network makes the transmission of sound effect parameter information more efficient and ensures short delays. CAN BUS has good anti-interference capabilities and can operate stably in automotive environments and industrial sites with strong electromagnetic interference, ensuring the reliability and stability of the transmission of the sound effect parameter file. The Ethernet is a commonly used local area network technology. As a mature, stable and flexible network technology, by downloading the sound effect parameter information to Ethernet, the security, stability and reliability of the sound effect parameter information can be ensured.
[0031] In this embodiment, the step of writing each sound effect parameter information and the corresponding message header into the memory may mainly include: The message header and the corresponding sound effect parameter information are obtained based on the body control area network, and are cached in the cache area as an initial parameter file. When the message header and the corresponding sound effect parameter information in the body control area network are cached, the initial parameter file is transmitted to the second processor; and the initial parameter file is written into the memory as a target parameter file by the second processor. The message header and the corresponding sound effect parameter information can be obtained from the body control area network through the interface of the system controller. The interface of the system controller can mainly be a CAN interface. According to the CAN interface, the sound effect parameter file can be directly parsed in the body control area network to obtain the message header and the corresponding sound effect parameter information.
[0032] Wherein, when the initial parameter file is cached in the cache area, it is determined whether the initial parameter file includes multiple message headers. If so, each sound effect parameter information and the corresponding message header are cached in the cache area corresponding to the message header; if the initial parameter file includes only one message header, the initial parameter file is cached in the cache area corresponding to the message header. For example, if there are three message headers in the initial parameter file, the sound effect parameter information corresponding to the three message headers are cached in the first cache area, the second cache area, and the third cache area respectively.
[0033] For example, if the message headers of the initial parameter file are $A330, $A331 and $A332, and the buffer areas are Buffer1, Buffer2 and Buffer3, the $A330 message header and the corresponding sound effect parameter information are cached in the buffer area Buffer1, the $A331 message header and the corresponding sound effect parameter information are cached in the buffer area Buffer2, and the $A332 message header and the corresponding sound effect parameter information are cached in the buffer area Buffer3.
[0034] When the message header of the initial parameter file only includes the message header $A330, the message header $A330 and the corresponding sound effect parameter information are cached in the corresponding buffer area Buffer1.
[0035] When all the message headers and the corresponding sound effect parameter information are cached, all the message headers and sound effect parameter information can be transmitted to the second processor through SPI (Serial Peripheral Interface) communication. Among them, SPI communication is a common synchronous serial data communication protocol used to connect the data transmission between the microcontroller or microprocessor and the external device. The use of SPI communication can achieve a higher transmission rate. The SPI protocol is relatively simple and easy to implement and control.
[0036] In order to ensure the integrity and validity of the data, a multi-level CRC (Cyclic Redundancy Check) verification mechanism is adopted in the SPI communication process. CRC verification is performed on each frame of data, including all data bits within the data frame. CRC verification can detect whether errors or damage have occurred in the data transmission process, ensuring that the receiving end can accurately reconstruct the original sound effect data. The integrity of the entire data packet is ensured by CRC verification. Even if some unexpected interference or errors occur during the transmission process, the second processor can detect and possibly correct these errors through CRC verification. It ensures that the sound effect parameter information is not damaged or lost during the SPI transmission process, and ensures that the audio experience in the cockpit system always maintains high quality and stability.
[0037] The second processor may be a SOC processor (System-on-Chip Processor). The SOC processor is a single chip that integrates multiple core functions and components. It integrates multiple functional modules including a processor core (CPU), a memory controller, a graphics processor (GPU), an input-output interface (IO), an Ethernet controller, clock management, and security functions. The SOC processor integrates functional modules that traditionally require multiple independent chips to implement on one chip, including the CPU, GPU, memory controller, IO controller, etc., which can significantly reduce the complexity of the system.
[0038] Please refer to Figure 2, after the message header and the corresponding sound effect parameter information are transmitted to the second processor, the second processor writes the message header and the corresponding sound effect parameter information into the memory for storage. The memory may be an EMMC (Embedded MultiMediaCard) memory, and the message header and the corresponding sound effect parameter information may be stored in a data partition of the EMMC memory. The data partition is a non-erasable storage partition during the cockpit system software upgrade process. The EMMC memory is an embedded storage solution that integrates flash memory chips and controller functions. It is commonly used in embedded systems and mobile devices, such as smartphones, tablet computers, and Internet of Things devices. The use of EMMC memory has the advantages of high density, low power consumption, and fast read and write speeds, which can make the storage and reading process of the message header and the corresponding sound effect parameter information low in power consumption and high in read and write efficiency.
[0039] Step S200 includes: after the system is powered on, based on the target message in the read parameter command, obtaining the corresponding sound effect parameter information from the memory as the sound effect loading information; wherein the target message at least includes one or more message headers. The read parameter command may be a read sound effect parameter command issued by the EOL Tool in the vehicle body control area network. Figure 3 After the system is powered on, it is determined whether there is a target parameter file in the memory. If so, a read parameter command is received based on the body control area network, and a target message is obtained according to the read parameter command to read the sound effect parameter information corresponding to each message header in the target message from the target parameter file as the sound effect loading information; otherwise, the sound effect loading information fails to be obtained.
[0040] After reading each message header and the corresponding sound effect parameter information in the target message, the sound effect loading information is transmitted to the corresponding cache area according to each message header in the target message. After all the sound effect loading information is cached in the cache area, a read completion command is transmitted back to the body control area network, and the sound effect loading information in the cache area is stored in the backup storage area. The sound effect loading information is compared and checked with the sound effect parameter information in the memory, and the sound effect loading information is optimized and adjusted according to the inspection results. Among them, the optimization and adjustment at least includes correcting and adjusting the erroneous sound effect parameter information in the sound effect loading information according to the inspection results.
[0041] For example, after the EOL Tool tool issues a command to read the sound effect parameters, the system controller receives the command to read the sound effect parameters and notifies the second processor to read the target parameter file from the data partition of the memory and transmit it back to the system controller. The system controller caches the target parameter file in the cache area, and responds to the command to read the sound effect parameters of the EOL Tool tool after the cache of the target parameter file is completed. The EOL Tool tool then backs up and stores the target parameter file or compares and checks the sound effect loading information in the target parameter file with the sound effect parameter information in the memory. If it is found that there is missing or erroneous parameter information in the sound effect loading information according to the inspection result, the missing or erroneous parameter information is corrected according to the sound effect parameter information.
[0042] Step S300 includes: loading the sound effect loading information into the first processor. The first processor can mainly be a DSP processor (Digital Signal Processor). The DSP processor is a microprocessor or a dedicated integrated circuit specially designed for processing digital signals. It is mainly used to execute digital signal processing algorithms, such as filtering, encoding and decoding, multiplication and accumulation, and is widely used in audio signal processing, video encoding and decoding, communication systems, and radar systems. The DSP processor can achieve lower power consumption in the sound effect process and improve the efficiency of the processing process.
[0043] Embodiment 2: Please parameter Figure 4 , the present application also proposes a sound effect output method, which mainly includes: By judging whether the first processor obtains the sound effect loading information; if so, the audio stream received by the first processor is controlled based on the sound effect loading information to output the target sound effect corresponding to the sound effect loading information; otherwise, the first processor is controlled to output the received audio stream with the original sound effect. After the cockpit system is powered on, the first processor enters initialization. After the initialization is completed, the sound effect loading information is obtained from the memory by the second processor and loaded into the first processor. If the first processor obtains the sound effect loading information, the first processor controls the multimedia audio received by the lock through the sound effect loading information to output the target sound effect corresponding to the sound effect loading information.
[0044] For example, when the first processor obtains 3D sound effect loading information, the first processor presents the corresponding 3D sound effect through debugging according to the 3D sound effect loading information, and presents it through the cockpit power amplifier device. The cockpit power amplifier device may include multiple cockpit speakers, and presents a surround ultimate 3D sound effect according to the multiple speakers. For example, when there is no sound effect loading information in the memory, the second processor outputs the received audio stream according to the original sound effect by controlling the first processor.
[0045] Embodiment three: Please refer to Figure 5 The present application also proposes a system for a sound effect parameter loading method, which mainly includes: a parameter storage module, a parameter reading module and an information loading module.
[0046] The parameter storage module is used to obtain a sound effect parameter file, encode the corresponding message header for each sound effect parameter information in the sound effect parameter file, and write each sound effect parameter information and the corresponding message header into a memory. After obtaining the sound effect parameter file through the EOL Tool, the sound effect parameter file is downloaded to the vehicle body control area network. The sound effect parameter file is opened through the EOL Tool, the sound effect parameter information and the corresponding message header are extracted, and then the message header and the corresponding sound effect parameter information are written into a memory.
[0047] For example, the sound effect parameter file can be downloaded to the CAN BUS network through the EOL Tool tool. The smart cockpit system MCU obtains the message header and the corresponding sound effect parameter information through the CAN module, and passes it to the SOC processor through SPI communication. The SOC processor then writes the message header and the corresponding sound effect parameter information into the data area of the EMMC memory for storage.
[0048] Parameter reading module: used to obtain the corresponding sound effect parameter information from the memory as the sound effect loading information based on the target message in the parameter reading command after the system is powered on; wherein the target message includes at least one or more message headers. For example, after the system is powered on, a parameter reading command can be issued through the EOL Tool tool. After receiving the parameter reading command, the cockpit system MCU responds to the parameter reading command and controls the SOC processor to read the sound effect parameter information from the data area of the EMMC memory and transmit it back to the cockpit system MCU. The cockpit system MCU caches the sound effect parameter information in the cache area. The EOL Tool tool backs up the sound effect parameter information and stores it in the backup memory or compares and checks the sound effect parameter information with the sound effect parameter information previously written into the memory to correct and adjust the sound effect parameter information.
[0049] Information loading module: used to load the sound effect loading information into the first processor. After the second processor reads the sound effect loading information from the memory, the second processor loads the sound effect loading information into the first processor.
[0050] Preferably, after the cockpit system is powered on, the first processor performs initialization processing, and after the initialization is completed, the second processor accesses the sound effect parameter information in the memory. When the sound effect parameter information exists in the memory, the second processor reads the sound effect parameter information and loads it into the first processor, and the first processor controls the received multimedia audio stream to debug and output corresponding sound effects through the power amplifier device of the cockpit system according to the sound effect parameter information. When the sound effect parameter information does not exist in the memory, the first processor directly outputs the original audio effect of the received multimedia audio stream.
[0051] Embodiment 4: The present application also proposes a computer-readable storage medium, the computer-readable storage medium comprising: The computer-readable storage medium stores computer-executable instructions.
[0052] The computer executable instructions implement the sound effect parameter loading method when executed by the control processor.
[0053] In the computer-readable storage medium, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk SolidState Disk (SSD)), etc.
[0054] In summary, the present application encodes the acquired sound effect parameter information into the corresponding message header and writes it into the memory. When the system needs to present the corresponding sound effect, the sound effect parameter information is read from the memory and loaded into the first processor. This method effectively separates the sound effect parameter information from the smart cockpit system software, solving the problem of statically reintegrating the cockpit system software and flashing the firmware after the sound effect parameter information changes. It improves the system's reuse and reduces the complexity of the system. It also avoids the risk of errors caused by manually configuring parameters, improves product quality, and reduces software development and maintenance costs.
[0055] In several embodiments provided in the present application, it is understood that each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved.
[0056] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can essentially or in other words, the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for an electronic device to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.
[0057] The specific embodiments described above further describe the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above description is only a specific embodiment of the present application and is not intended to limit the scope of protection of the present application. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of protection of the present application.
Claims
1. A method for loading sound effect parameters, characterized in that: The following steps are involved: S100: Acquire a sound effect parameter file, encode each sound effect parameter information in the sound effect parameter file into a corresponding message header, and write each sound effect parameter information and the corresponding message header into a memory; S200: After the system is powered on, based on the target message in the parameter reading command, corresponding sound effect parameter information is obtained from the memory as sound effect loading information; wherein the target message includes at least one or more message headers; and S300: Load the sound effect loading information into the first processor.
2. The method for loading sound effect parameters according to claim 1, characterized in that: Before writing each sound effect parameter information and the corresponding message header into the memory in step S100, the following steps are included: The message header and the corresponding sound effect parameter information are downloaded to the vehicle body control area network.
3. The method for loading sound effect parameters according to claim 2, characterized in that: In step S100, each sound effect parameter information and the corresponding message header are written into the memory, specifically: Acquire the message header and the corresponding sound effect parameter information based on the body control area network, and cache them in a cache area as an initial parameter file, and when the message header and the corresponding sound effect parameter information in the body control area network are cached, transmit the initial parameter file to the second processor; The initial parameter file is written into a memory as a target parameter file by the second processor.
4. The method for loading sound effect parameters according to claim 3, characterized in that: The initial parameter file is cached in the cache area, including: Determine whether the initial parameter file includes multiple message headers, and if so, cache each sound effect parameter information and the corresponding message header in a cache area corresponding to the message header; If the initial parameter file includes only one message header, the initial parameter file is cached in a cache area corresponding to the message header.
5. The method for loading sound effect parameters according to claim 1, characterized in that: The step S200 includes: After the system is powered on, it is determined whether a target parameter file exists in the memory, and if so, a parameter reading command is received based on the body control area network, and a target message is acquired according to the parameter reading command, so as to read the sound effect parameter information corresponding to each message header in the target message from the target parameter file as the sound effect loading information; Otherwise, the acquisition of the sound effect loading information fails.
6. The method for loading sound effect parameters according to claim 5, characterized in that: The step S200 further includes: According to the message header in the target message, the sound effect loading information is transmitted to the corresponding buffer area; After all the sound effect loading information is cached in the cache area, a read completion command is sent back to the body control area network, and the sound effect loading information is stored in the backup storage area.
7. The method for loading sound effect parameters according to claim 6, characterized in that: After storing the sound effect loading information in the backup storage area, the method further includes: Comparing and checking the sound effect loading information with the sound effect parameter information in the memory; Optimizing and adjusting the sound effect loading information according to the inspection result; The optimization adjustment at least includes correcting and adjusting the incorrect sound effect parameter information in the sound effect loading information according to the inspection result.
8. A sound effect output method, characterized in that: include: Determining whether the first processor successfully loads the sound effect loading information; If so, controlling the audio stream received by the first processor based on the sound effect loading information to output the target sound effect corresponding to the sound effect loading information; The sound effect loading information is loaded into the first processor by the sound effect parameter loading method according to any one of claims 1 to 7; Otherwise, the first processor controls the received audio stream to be output with the original sound effect.
9. A system using the method for loading sound effect parameters as described in any one of claims 1 to 7, characterized in that: The system comprises: Parameter storage module: used to obtain the sound effect parameter file, encode the corresponding message header for each sound effect parameter information in the sound effect parameter file, and write each sound effect parameter information and the corresponding message header into the memory; A parameter reading module: used to obtain corresponding sound effect parameter information from the memory as sound effect loading information based on a target message in a parameter reading command after the system is powered on; wherein the target message includes at least one or more message headers; and Information loading module: used to load the sound effect loading information into the first processor.
10. A computer-readable storage medium storing computer-executable instructions, characterized in that: When the computer executable instructions are executed by the control processor, the sound effect parameter loading method as described in any one of claims 1-7 is implemented.
