Intelligent cockpit multi-channel audio path design method, device, equipment and medium
By generating an information path model in the on-board infotainment system, optimizing the transmission of audio control flow information, the control delay problem caused by insufficient resources in the virtual device management domain is solved, and the effect of stable transmission and delay reduction is achieved.
Patent Information
- Application Number
- CN202311738518.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-15
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2043-12-15
AI Technical Summary
In the in-vehicle infotainment system, when the hardware interface resources of the virtual device management domain are insufficient, it is difficult to control the codec, resulting in control delays and the inability to multi-channel playback and sound acquisition.
By generating an information path model, obtaining the control interface information flux of the virtual device management domain and the IVI domain, determining the priority and average information size of the audio control flow information, dividing exclusive transmission channels, optimizing the communication rate and control information path margin, To achieve stable transmission and delay reduction of audio control flow information.
It realizes that when the virtual device management domain is insufficient, the audio path can be flexibly configured to reduce the delay in control flow information, ensure the stable transmission of important audio control flow information, and meet product design needs.
Smart Images

Figure CN118192924B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of audio information transmission, and in particular to a method, device, equipment and medium for designing a multi-channel audio path for an intelligent cockpit. Background Art
[0002] At present, with the development of economy and technology, the role and functions of automobiles are becoming more and more abundant, and people's vehicle use needs have higher requirements on entertainment systems. Therefore, the car entertainment function of multi-channel playback and sound collection has become a research direction that automobile manufacturers pay attention to.
[0003] In the related technology, the sound data stream information and control stream information in the IVI domain (In-Vehicle Infotainment) are processed by the management domain, and finally act on the Codec (a composite word simplified from coder and decoder) through its hardware I2S (Inter-IC Sound bus) and SPI / I2C (Serial Peripheral Interface / Inter-Integrated Circuit bus) interfaces. When the related hardware interface resources (such as I2S, SPI, and I2C interfaces) of the virtual device management domain in the SoC (System-on-a-Chip) are insufficient, it is difficult to control the Codec, resulting in control delays, and even inability to perform multi-channel playback and sound collection, which cannot meet product design requirements. Summary of the invention
[0004] In order to provide an audio path design method that can be flexibly configured and reduce delay, the present application provides a smart cockpit multi-channel audio path design method, device, equipment and medium.
[0005] In the first aspect, the above-mentioned invention objective of the present application is achieved through the following technical solutions:
[0006] A method for designing a multi-channel audio path for a smart cockpit, the method comprising:
[0007] Generate an information path model based on the type of each audio control flow information in the smart cockpit system;
[0008] Acquire virtual device management domain control interface information flux and IVI domain control interface information flux, input the virtual device management domain control interface information flux and the IVI domain control interface information flux into an information path model, and obtain a control information path margin;
[0009] Obtaining a first communication rate between the IVI domain and the virtual device management domain, and a second communication rate between the IVI domain and the audio codec;
[0010] Inputting the first communication rate, the second communication rate and the control information path margin into an information path model to generate first path selection information for each audio control stream information;
[0011] The first pathway selection information is input into the information pathway model to obtain the information pathway selection model.
[0012] By adopting the above technical solution, an information path model is generated based on each type of control flow information generated by the IVI domain and the instrument domain in the smart cockpit system. The information path model includes the basic attributes of the control flow information of each IVI domain and the instrument domain, such as the information format and parameter control type of the control flow information. Through the information path model, it is convenient to analyze each type of control flow information. The virtual device management domain connected to the IVI domain and the instrument domain has a data flow information interface and a control flow information interface. The different transmission bandwidth of each interface represents the amount of information that each interface can transmit and process. In the smart cockpit, some types of audio control flow information are more important. In order to maintain the transmission of this type of audio control flow information, according to the virtual device management domain control interface information flux and the IVI domain control interface information flux, For each type of control flow information generated in the IVI domain and the instrument domain, an exclusive transmission channel that will not be occupied is allocated for this type of audio control flow information, so as to ensure the stable transmission of this type of audio control flow information. The remaining channel bandwidth after the division is the transmission channel for the control flow information under normal circumstances, thereby ensuring the transmission of important audio control flow information and user experience. In addition, in order to reduce the delay of the control flow information, the first communication rate between the IVI domain and the virtual device management domain, and the second communication rate between the IVI domain and the audio codec are used to determine the preferred first transmission path for each type of control flow information under normal circumstances. Only when the relevant hardware interface resources of the virtual device management domain are insufficient will another transmission channel be selected. In this way, the delay of the control flow information is further reduced, and the effect of flexible configuration of the control flow information transmission path is achieved.
[0013] In a preferred example, the present application may be further configured as follows: the information path model is generated based on the type of each audio control flow information in the smart cockpit system, specifically including:
[0014] Based on the type of each audio control flow information in the intelligent cockpit system, priority information and average information size of each audio control flow information are obtained;
[0015] The priority information of each audio control stream information and the average size of the information amount are associated to generate an information path model.
[0016] By adopting the above technical scheme, based on the type of each audio control flow information in the intelligent cockpit system, the priority information and the average data size of each audio control flow information are obtained. The priority information represents the importance of the audio control flow information. The audio control flow information with high priority is transmitted first. The average information size refers to the average information size of a type of audio control flow information, for example, the average information size of audio control flow information such as volume increase and equalizer adjustment. If the control parameters and control methods of the same audio control flow information are the same, the corresponding information size will not differ much. Therefore, the average information size can be used to judge the interface resource occupancy of the audio control flow information, so as to facilitate the subsequent path selection and design of each audio control flow information.
[0017] In a preferred example, the present application may be further configured as follows: the inputting of the virtual device management domain control interface information flux and the IVI domain control interface information flux into an information path model to obtain a control information path margin specifically includes:
[0018] Inputting the virtual device management domain control interface information flux and the IVI domain control interface information flux into an information path model;
[0019] Determining a virtual control flow driving source of the audio control flow information according to the type of the audio control flow information;
[0020] Marking critical audio control flow information according to the virtual control flow driving source and the priority information;
[0021] A control information path margin is obtained according to the key audio control flow information and the corresponding average size of information volume, the virtual device management domain control interface information flux and the IVI domain control interface information flux.
[0022] By adopting the above technical solution, the priority information represents the importance of the audio control flow information, and the audio control flow information with a high priority is transmitted first. Therefore, according to the bandwidth of the transmission channel represented by the virtual device management domain control interface information flux and the IVI domain control interface information flux, the audio control flow information with the highest priority in each audio control flow information is marked as the key audio control flow information, such as mute control and audio source switching control. In addition, since the audio control flow information can be transmitted with the virtual device management domain in the IVI domain, it can also be directly transmitted to the codec. Therefore, according to the characteristics of each audio control flow information, such as whether additional processing, analysis or conversion is required through the virtual device management domain, the paths of different key audio control flow information are planned to different channels respectively, and the flux of the remaining information transmission bandwidth of the virtual device management domain control interface information flux and the IVI domain control interface information flux after the planning of the key audio control flow information is completed is judged, thereby ensuring the stable transmission of the key audio control flow information, and designing paths for different audio control flow information that adapt to the current system.
[0023] In a preferred example, the present application may be further configured as follows: the first communication rate, the second communication rate and the control information path margin are input into an information path model to generate first path selection information for each audio control stream information, specifically including:
[0024] inputting the first communication rate, the second communication rate and the control information path margin into an information path model;
[0025] The average size of the information amount of each audio control flow information is extracted, and based on the average size of the information amount of each audio control flow information and the control information path margin, as well as the first communication rate and the second communication rate corresponding to each audio control flow information, the first path selection information for each audio control flow information is generated.
[0026] By adopting the above technical solution, the first communication rate refers to the transmission rate of the basic unit information between the IVI domain and the virtual device management domain, the second communication rate refers to the transmission rate of the basic unit information between the IVI domain and the audio codec, the size of the basic unit information can be set by itself, for example, 40 bits, 80 bits, etc., the first path selection information refers to the preferred information transmission path of each audio control stream information when the relevant hardware interface resources of the virtual device management domain are sufficient, therefore, in order to ensure the stability of the information transmission of the overall audio control stream information, under the condition that the transmission channel between the IVI domain and the audio codec, and the transmission channel between the IVI domain and the virtual device management domain are full, the transmission channel with a faster rate of each audio control stream information is determined, so as to obtain the first path selection information of each audio control stream information, thereby ensuring the transmission rate of the audio control stream information without wasting the resources of the transmission channel.
[0027] In a preferred example, the present application may be further configured as follows: the step of inputting the first path selection information into the information path model to obtain the information path selection model specifically includes:
[0028] inputting the first pathway selection information into the information pathway model;
[0029] Associating the type of preset long-duration audio output data stream information with the first path selection information, and generating second path selection information for each type of audio control stream information according to the type of the long-duration audio output data stream information;
[0030] The first path selection information and the second path selection information corresponding to each audio control stream information are associated to generate an information path selection model.
[0031] By adopting the above technical solution, the second path selection information refers to the path selection information with a faster rate for each audio control stream information when the IVI domain transmits long-term audio data stream information. Because when the IVI domain transmits long-term audio data stream information, for example, playing songs or listening to radio stations, the user's control frequency of the audio is reduced. Therefore, the type of long-term audio output data stream information is associated with the first path selection information. For the audio control stream information that does not select a faster rate in the first path selection information, when the chip in the IVI domain detects that the IVI domain transmits long-term audio data stream information, the information transmission path of the audio control stream information can be switched, thereby achieving the effect of flexibly configuring the transmission path for transmitting the audio control stream information and improving the transmission efficiency of the audio control stream information.
[0032] In the second aspect, the above invention objective of the present application is achieved through the following technical solutions:
[0033] A smart cockpit multi-channel audio path design device, the smart cockpit multi-channel audio path design device comprising:
[0034] An information path model generation module, used for generating an information path model based on the type of each audio control flow information in the smart cockpit system;
[0035] A control information path margin acquisition module is used to acquire virtual device management domain control interface information flux and IVI domain control interface information flux, and input the virtual device management domain control interface information flux and the IVI domain control interface information flux into an information path model to acquire control information path margin;
[0036] A communication rate acquisition module, used to acquire a first communication rate between the IVI domain and the virtual device management domain, and a second communication rate between the IVI domain and the audio codec;
[0037] A first path selection information generating module, used for inputting the first communication rate, the second communication rate and the control information path margin into an information path model to generate first path selection information for each audio control stream information;
[0038] The information pathway selection model generation module is used to input the first pathway selection information into the information pathway model to obtain the information pathway selection model.
[0039] Optionally, the information pathway model generation module includes:
[0040] An attribute information acquisition submodule, used for acquiring priority information and average information size of each audio control flow information based on the type of each audio control flow information in the intelligent cockpit system;
[0041] The information path model generation submodule is used to associate the priority information of each audio control stream information with the average size of the information volume to generate an information path model.
[0042] Optionally, the control information path margin acquisition module includes:
[0043] A flux input submodule, used for inputting the virtual device management domain control interface information flux and the IVI domain control interface information flux into an information path model;
[0044] A virtual control flow driving source determination submodule, used for determining the virtual control flow driving source of the audio control flow information according to the type of the audio control flow information;
[0045] A key audio control flow information marking submodule, used for marking key audio control flow information according to the virtual control flow driving source and the priority information;
[0046] The control information path margin acquisition submodule is used to obtain the control information path margin according to the key audio control flow information and the corresponding average size of the information volume, the virtual device management domain control interface information flux and the IVI domain control interface information flux.
[0047] In the third aspect, the above invention objective of the present application is achieved through the following technical solutions:
[0048] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the above-mentioned smart cockpit multi-channel audio path design method are implemented.
[0049] In a fourth aspect, the above-mentioned invention objective of the present application is achieved through the following technical solutions:
[0050] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the above-mentioned smart cockpit multi-channel audio path design method.
[0051] In summary, the present application includes at least one of the following beneficial technical effects:
[0052] 1. Through the information path model, it is convenient to analyze each type of control flow information; divide the important audio control flow information into exclusive transmission channels that will not be occupied, thereby ensuring the transmission of important audio control flow information and user experience; determine the preferred first transmission path for each type of control flow information under normal circumstances, and only select another transmission channel when the relevant hardware interface resources of the virtual device management domain are insufficient, thereby further reducing the delay of the control flow information and achieving the effect of flexible configuration of the control flow information transmission path;
[0053] 2. The interface resource occupancy of the audio control stream information can be determined by the average information volume, so as to facilitate the subsequent channel selection and design of each audio control stream information;
[0054] 3. Plan the paths of different key audio control flow information to different channels respectively, and determine the flux of the remaining information transmission bandwidth of the virtual device management domain control interface information flux and the IVI domain control interface information flux after the planning of the key audio control flow information is completed. In this way, the stable transmission of the key audio control flow information is guaranteed, and paths that adapt to the current system are designed for different audio control flow information. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 is a flowchart of a method for designing a multi-channel audio path for a smart cockpit in an embodiment of the present application;
[0056] Figure 2 is a flowchart for implementing S10 of the smart cockpit multi-channel audio path design method in the embodiment of the present application;
[0057] Figure 3 is a flowchart for implementing S20 of the smart cockpit multi-channel audio path design method in an embodiment of the present application;
[0058] Figure 4 is a flowchart for implementing S40 of the smart cockpit multi-channel audio path design method in an embodiment of the present application;
[0059] Figure 5 is a flowchart for implementing S50 of the method for designing a multi-channel audio path for a smart cockpit in an embodiment of the present application;
[0060] Figure 6 This is a principle block diagram of a smart cockpit multi-channel audio path design device in an embodiment of the present application;
[0061] Figure 7 It is a diagram of the internal structure of a computer device for designing a multi-channel audio path for a smart cockpit in an embodiment of the present application. DETAILED DESCRIPTION
[0062] The following is combined with Figure 1-7 This application is described in further detail.
[0063] In one embodiment, if Figure 1 As shown, the present application discloses a method for designing a multi-channel audio path for a smart cockpit, which specifically includes the following steps:
[0064] S10: Generate an information path model based on the type of each audio control flow information in the smart cockpit system.
[0065] In this embodiment, the audio data stream information of the IVI domain is directly transmitted to the audio codec through the I2S interface, and is directly transmitted to the SPDIF device through the SPDIF interface. The audio control stream information of the IVI domain can be directly transmitted to the audio codec through the SPI / 12C interface, or transmitted to the virtual device management domain and then transmitted to the audio codec through the SPI / 12C interface of the virtual device management domain. The audio data stream information and audio control stream information of the instrument domain are both transmitted to the virtual device management domain and then transmitted to the audio codec through the I2S interface and SPI / 12C interface of the virtual device management domain. The chip of the IVI domain can communicate with the chip of the virtual device management domain between cores. The information path model refers to a data model used to store the attribute information of each audio control stream information.
[0066] Specifically, in the smart cockpit system, the IVI domain can receive multi-channel audio data, for example, a radio, a Bluetooth device, a USB interface, and a voice assistant, etc. Therefore, the smart cockpit system has a variety of audio data stream information and corresponding audio control stream information transmitted by the IVI domain and the instrument domain. Since the data stream information of the IVI domain is directly transmitted to the audio codec through the I2S interface, and the audio data stream information of the instrument domain is transmitted to the audio codec through the I2S interface of the virtual device management domain, it is only necessary to store the attributes and type information of each audio control stream information that can be obtained in the smart cockpit system in a preset data model framework to generate a data model that stores the attribute information of each audio control stream information, namely, an information path model.
[0067] S20: Acquire the virtual device management domain control interface information flux and the IVI domain control interface information flux, input the virtual device management domain control interface information flux and the IVI domain control interface information flux into the information path model, and obtain the control information path margin.
[0068] In this embodiment, the virtual device management domain control interface information flux refers to the flux of the interface of the virtual device management domain control to transmit audio control stream information. The IVI domain control interface information flux refers to the flux of the interface of the IVI domain to transmit audio control stream information. The control information path margin refers to the information flux of the virtual device management domain control interface and the IVI domain control interface to transmit ordinary audio control stream information.
[0069] Specifically, in the smart cockpit system, some audio control flow information is of high importance, and it is necessary to ensure the efficient and stable transmission of such audio control flow information. Therefore, the flux of the interface for transmitting audio control flow information through the virtual device management domain control, that is, the virtual device management domain control interface information flux, and the flux of the interface for transmitting audio control flow information through the IVI domain, that is, the IVI domain control interface information flux, are obtained. After the virtual device management domain control interface information flux and the IVI domain control interface information flux are input into the information path model, the important audio control flow information is judged through the attribute information of each audio control flow information in the information path model. Control flow information, and divide the information flux used to transmit important audio control flow information in the virtual device management domain control interface information flux and the IVI domain control interface information flux respectively. For example, the virtual device management domain control interface information flux and the IVI domain control interface information flux are reduced through the attribute information of the average information size or the maximum information size of each important audio control flow information in the information path model. The remaining information flux is the information flux of the virtual device management domain control interface and the IVI domain control interface for transmitting ordinary audio control flow information, that is, the control information path margin.
[0070] S30: Acquire a first communication rate between the IVI domain and the virtual device management domain, and a second communication rate between the IVI domain and the audio codec.
[0071] In this embodiment, the first communication rate refers to the rate at which the IVI domain and the virtual device management domain transmit information. The second communication rate refers to the rate at which the IVI domain and the audio codec transmit information.
[0072] Specifically, the rate at which basic unit information is transmitted between the IVI domain and the virtual device management domain, that is, the first communication rate, and the rate at which basic unit information is transmitted between the IVI domain and the audio codec, that is, the second communication rate, are obtained. The first communication rate and the second communication rate are both obtained through multiple off-site experimental tests, and the amount of information of the basic unit information can be set by itself. For example, by using the unit accuracy of each audio control stream information or the average amount of information of the audio control stream information in the current smart cockpit system, an amount of information of the basic unit information that is easy to calculate and conforms to the current smart cockpit system is set. In this embodiment, the amount of information of the basic unit information is 4 bytes.
[0073] S40: Input the first communication rate, the second communication rate and the control information path margin into the information path model to generate first path selection information for each audio control stream information.
[0074] In this embodiment, the first path selection information refers to a preferred information transmission path for each audio control stream information when the related hardware interface resources of the virtual device management domain are sufficient.
[0075] Specifically, delay time is an important indicator for measuring audio control in the smart cockpit system. Therefore, in addition to ensuring the stable transmission of audio control stream information, it is also necessary to minimize the control delay time of audio control stream information. The first communication rate, the second communication rate, and the control information path margin are input into the information path model. In the information path model, when it is judged that the relevant hardware interface resources of the virtual device management domain are sufficient, that is, when there is no large amount of audio control stream information occupying the relevant hardware interface resources of the virtual device management domain at the same time, the rate at which each IVI domain's audio control stream information is directly transmitted to the audio codec through the SPI / 12C interface, and the rate at which it is transmitted to the virtual device management domain and then transmitted to the audio codec through the SPI / 12C interface of the virtual device management domain, the faster path is used as the preferred information transmission path. After each audio control stream information is allocated a path, it is judged according to the control information path margin whether the audio control stream information of the IVI domain can meet the current allocation situation when it is directly transmitted to the audio codec through the SPI / 12C interface, and the audio control stream information of the IVI domain. After the information is transmitted to the virtual device management domain, it is determined whether the current allocation situation can be met when it is transmitted to the audio codec through the SPI / 12C interface of the virtual device management domain. If it is determined that it cannot be met, according to the judgment result, the audio control stream information allocated to the path between the IVI domain and the audio codec is allocated to the path between the IVI domain and the virtual device management domain, or the audio control stream information allocated to the path between the IVI domain and the virtual device management domain is allocated to the path between the IVI domain and the audio codec, so as to ensure that the current allocation situation will not cause congestion in the path between the IVI domain and the virtual device management domain and the path between the IVI domain and the audio codec. After completing the judgment of the path congestion situation, the current allocation result of each audio control stream information is used as the preferred information transmission path for each audio control stream information when the relevant hardware interface resources of the virtual device management domain are sufficient, that is, the first path selection information.
[0076] S50: Inputting the first pathway selection information into the information pathway model to obtain the information pathway selection model.
[0077] In this embodiment, the information path selection model refers to a model used to plan the path of each audio control stream information.
[0078] Specifically, the first path selection information is input into the information path model, and each type of audio control flow information is associated with the corresponding first path selection information, so as to obtain a model for planning the path of each type of audio control flow information when the relevant hardware interface resources of the virtual device management domain are sufficient, namely, the information path selection model. In addition, in the information path selection model, the chip based on the IVI domain and the chip based on the virtual device management domain can perform inter-core communication functions, and can also monitor the occupation of the relevant hardware interface resources of the virtual device management domain. When the relevant hardware interface resources of the virtual device management domain are insufficient, the path of the audio control flow information allocated to the path between the IVI domain and the virtual device management domain is switched to the path between the IVI domain and the audio codec.
[0079] In one embodiment, if Figure 2 As shown, in step S10, an information path model is generated based on the type of each audio control flow information in the smart cockpit system, specifically including:
[0080] S11: Based on the type of each audio control flow information in the smart cockpit system, obtain priority information and average information size of each audio control flow information.
[0081] In this embodiment, the priority information refers to information used to indicate the importance of the audio control stream information. The average information volume refers to the average information volume of each type of audio control stream information in the smart cockpit system.
[0082] Specifically, based on the type of each audio control stream information that can be obtained in the smart cockpit system, information used to indicate the importance of the audio control stream information, that is, priority information, is obtained for each audio control stream information. For example, for audio control stream information of the types of volume control, equalizer adjustment, subwoofer enhancement, surround sound adjustment, audio source selection, audio mode setting and mute control, the importance indicated by the priority information is from high to low, in the order of mute control, audio source selection, volume control, audio mode setting, subwoofer enhancement, surround sound adjustment, equalizer adjustment to audio source selection. The basis for setting the importance is based on user needs and the user's sensitivity to different control changes. The average amount of information of each audio control stream information in the smart cockpit system, that is, the average amount of information, is obtained.
[0083] S12: Associating the priority information of each audio control stream information with the average size of the information volume to generate an information path model.
[0084] Specifically, the priority information and the average size of the information volume of each audio control stream information are associated with each other, and are associated with the attribute information corresponding to each audio control stream information to generate an information path model.
[0085] In one embodiment, if Figure 3As shown, in step S20, the virtual device management domain control interface information flux and the IVI domain control interface information flux are input into the information path model to obtain the control information path margin, which specifically includes:
[0086] S21: Inputting the virtual device management domain control interface information flux and the IVI domain control interface information flux into the information path model.
[0087] Specifically, the virtual device management domain control interface information flux and the IVI domain control interface information flux are input into the information path model.
[0088] S22: Determine the virtual control flow driving source of the audio control flow information according to the type of the audio control flow information.
[0089] In this embodiment, the virtual control flow driving source of the audio control flow information refers to information used to indicate that the audio control flow information is obtained from the IVI domain or the instrument domain.
[0090] Specifically, according to the attribute information of each audio control flow information in the information path model, the source of each audio control flow information is determined, that is, whether each audio control flow information is obtained from the IVI domain or the instrument domain, and information indicating that the key audio control flow information is obtained from the IVI domain or the instrument domain is obtained, that is, the virtual control flow driving source.
[0091] S23: Mark the critical audio control flow information according to the virtual control flow driving source and priority information.
[0092] In this embodiment, the critical audio control stream information refers to the audio control stream information that needs to be guaranteed to be stably transmitted.
[0093] Specifically, according to the importance represented by the priority information and the virtual control flow driving source, the priority information corresponding to each audio control flow information of different virtual control flow driving sources is compared with the preset priority threshold, and the audio control flow information with priority information greater than the preset priority threshold is taken as the key audio control flow information. When designing the multi-channel audio control flow information path of the smart cockpit, priority is given to ensuring the stable transmission of the key audio control flow information.
[0094] Furthermore, if the sum of the information amounts of the critical audio control flow information whose priority information is greater than a preset priority threshold is greater than fifty percent of the virtual device management domain control interface information flux or fifty percent of the IVI domain control interface information flux, the mark of the critical audio control flow information with the lowest importance represented by the priority information is cancelled until the sum of the information amounts of the critical audio control flow information whose priority information is greater than a preset priority threshold is less than fifty percent of the virtual device management domain control interface information flux and fifty percent of the IVI domain control interface information flux.
[0095] S24: Obtain control information path margin according to key audio control flow information and corresponding average size of information volume, virtual device management domain control interface information flux and IVI domain control interface information flux.
[0096] Specifically, since the audio control stream information can be transmitted with the virtual device management domain in the IVI domain, and can also be directly transmitted to the codec, the paths of different key audio control stream information are planned to different channels according to the characteristics of each audio control stream information, for example, whether additional processing, analysis or conversion is required through the virtual device management domain, and then according to the virtual control stream driving source, the sum of the average information amount of each key audio control stream information allocated to the virtual device management domain control interface and the average information amount of the key audio control stream information obtained from the instrument domain is calculated, and then the difference between the sum and the information flux of the virtual device management domain control interface is calculated to obtain the control information path margin for the virtual device management domain control interface, and the sum of the average information amount of each key audio control stream information allocated to the IVI domain control interface is calculated, and then the difference between the sum and the information flux of the IVI domain control interface is calculated to obtain the control information path margin for the IVI domain control interface.
[0097] In one embodiment, if Figure 4 As shown, in step S40, the first communication rate, the second communication rate and the control information path margin are input into the information path model to generate the first path selection information of each audio control stream information, specifically including:
[0098] S41: Input the first communication rate, the second communication rate and the control information path margin into the information path model.
[0099] Specifically, the first communication rate, the second communication rate, and the control information path margin are input into the information path model.
[0100] S42: Extract the average information size of each audio control flow information, and generate first path selection information for each audio control flow information based on the average information size of each audio control flow information and the control information path margin, as well as the first communication rate and the second communication rate corresponding to each audio control flow information.
[0101] Specifically, because each type of audio control stream information in the instrument domain can only be transmitted through the interface of the virtual device management domain, and the first communication rate and the second communication rate of different audio control stream information are different, therefore, the average size of the information amount of each type of audio control stream information in the IVI domain is extracted, and based on the average size of the information amount of each type of audio control stream information in the IVI domain, the first rate at which each type of audio control stream information in the IVI domain is directly transmitted to the audio codec through the SPI / 12C interface, and the second rate at which the audio codec is transmitted to the virtual device management domain and then transmitted to the audio codec through the SPI / 12C interface of the virtual device management domain are determined, the larger of the first rate and the second rate is used as the primary judgment rate, and the path corresponding to the primary judgment rate is used as the primary judgment path; after completing the judgment of the primary judgment path for the audio control stream information of each IVI domain, the first rate and the second rate are determined. Except for the key audio control flow information of the IVI domain, the remaining audio control flow information of the IVI domain is associated with the corresponding primary judgment path, and the sum of the average size of the information volume of the remaining audio control flow information of the IVI domain corresponding to the IVI domain and the codec path is calculated, and then the sum of the sum and the control information path margin for the IVI domain control interface is calculated, and it is judged whether it exceeds the IVI domain control interface information flux. If so, the audio control flow information with the smallest average size of the information volume among the remaining audio control flow information of the IVI domain corresponding to the IVI domain and the codec path is allocated to the corresponding IVI domain and the virtual device management domain path, until the above judgment does not exceed the IVI domain control interface information flux, and the remaining audio control flow information of the IVI domain corresponding to the IVI domain and the codec path at this time is allocated to the IVI domain and the codec path as the first path selection information;
[0102] Similarly, the sum of the average size of the information volume of the audio control flow information of the remaining IVI domains of the corresponding IVI domain and the virtual device management domain is calculated, and then the sum of the sum and the control information path margin for the virtual device management domain control interface is calculated, and it is determined whether it exceeds the virtual device management domain control interface information flux. If so, the audio control flow information with the smallest average size of the information volume among the remaining IVI domain audio control flow information of the corresponding IVI domain and the virtual device management domain path is allocated to the corresponding IVI domain and the codec path until the above determination does not exceed the virtual device management domain control interface information flux, and the remaining IVI domain audio control flow information of the corresponding IVI domain and the virtual device management domain path at this time is allocated to the IVI domain and the virtual device management domain path as the first path selection information;
[0103] Based on this, the first channel selection information for the remaining audio control flow information in the IVI domain except the key audio control flow information is obtained, and the first channel selection information for the key audio control flow information in the IVI domain is obtained by controlling the information channel margin, so as to obtain the first channel selection information for all audio control flow information in the IVI domain, and the first channel selection information for all audio control flow information in the instrument domain is the channel between the instrument domain and the virtual device management domain.
[0104] In one embodiment, if Figure 5 As shown, in step S50, the first path selection information is input into the information path model to obtain the information path selection model, which specifically includes:
[0105] S51: Inputting the first path selection information into the information path model.
[0106] Specifically, the first pathway selection information is input into the information pathway model.
[0107] S52: Associating the preset type of long-duration audio output data stream information with the first path selection information, and generating second path selection information for each audio control stream information according to the type of long-duration audio output data stream information.
[0108] In this embodiment, the type of long-term audio output data stream information refers to the type of audio data stream information continuously acquired and output by the IVI domain for a long time. The second path selection information refers to the path switching selection information of each audio control stream information when the IVI domain transmits long-term audio data stream information.
[0109] Specifically, when generating the first path selection information of each audio control stream information, due to the limitation of the virtual device management domain control interface information flux and the IVI domain control interface information flux, not the first path selection information of each audio control stream information is the primary judgment rate which is larger between the first rate and the second rate, and the first path selection information of some audio control stream information corresponds to the smaller of the first rate and the second rate. In addition, the preset type of long-term audio output data stream information refers to the type of audio data stream information continuously acquired and output by the IVI domain for a long time, for example, receiving songs by Bluetooth, receiving songs by DVD, and receiving audio by radio station, etc. When the long-term audio output data stream information is transmitted in the IVI domain, the frequency of the user's control over the audio is reduced, that is, the frequency of acquiring the audio control stream information is reduced. Therefore, when judging the audio data stream information of the type of the long-term audio output data stream information acquired by the IVI domain, the relevant hardware interface resources of the IVI domain and the virtual device management domain are sufficient. At this time, the control path of the audio control stream information corresponding to the first path selection information which is the smaller rate of the first rate and the second rate can be switched. Therefore, the type of the preset long-time audio output data stream information is associated with the first path selection information, and the second path selection information corresponding to the first path selection information is generated, which is the audio control stream information with a smaller rate between the first rate and the second rate. The second path selection information of the remaining audio control stream information is the same as the first path selection information.
[0110] S53: Associating the first path selection information and the second path selection information corresponding to each audio control stream information to generate an information path selection model.
[0111] Specifically, the first path selection information and the second path selection information corresponding to each audio control stream information are associated to generate an information path selection model.
[0112] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0113] In one embodiment, a smart cockpit multi-channel audio path design device is provided, and the smart cockpit multi-channel audio path design device corresponds to the smart cockpit multi-channel audio path design method in the above embodiment. Figure 6 As shown, the intelligent cockpit multi-channel audio path design device includes an information path model generation module, a control information path margin acquisition module, a communication rate acquisition module, a first path selection information generation module and an information path selection model generation module. The detailed description of each functional module is as follows:
[0114] An information path model generation module, used for generating an information path model based on the type of each audio control flow information in the smart cockpit system;
[0115] A control information path margin acquisition module is used to acquire virtual device management domain control interface information flux and IVI domain control interface information flux, input the virtual device management domain control interface information flux and IVI domain control interface information flux into the information path model to acquire the control information path margin;
[0116] A communication rate acquisition module, used to acquire a first communication rate between the IVI domain and the virtual device management domain, and a second communication rate between the IVI domain and the audio codec;
[0117] A first path selection information generating module, used for inputting the first communication rate, the second communication rate and the control information path margin into the information path model to generate the first path selection information of each audio control stream information;
[0118] The information pathway selection model generation module is used to input the first pathway selection information into the information pathway model to obtain the information pathway selection model.
[0119] Optionally, the information pathway model generation module includes:
[0120] An attribute information acquisition submodule, used for acquiring priority information and average information size of each audio control flow information based on the type of each audio control flow information in the intelligent cockpit system;
[0121] The information path model generation submodule is used to associate the priority information of each audio control stream information with the average size of the information volume to generate an information path model.
[0122] Optionally, the control information path margin acquisition module includes:
[0123] A flux input submodule, used for inputting the virtual device management domain control interface information flux and the IVI domain control interface information flux into the information path model;
[0124] A virtual control flow driving source determination submodule, used for determining the virtual control flow driving source of the audio control flow information according to the type of the audio control flow information;
[0125] A key audio control flow information marking submodule is used to mark the key audio control flow information according to the virtual control flow driving source and priority information;
[0126] The control information path margin acquisition submodule is used to obtain the control information path margin according to the key audio control flow information and the corresponding average size of the information volume, the virtual device management domain control interface information flux and the IVI domain control interface information flux.
[0127] Optionally, the first path selection information generating module includes:
[0128] A rate input submodule, used for inputting the first communication rate, the second communication rate and the control information path margin into the information path model;
[0129] The first path selection information generating submodule is used to extract the average information size of each audio control stream information, and generate the first path selection information of each audio control stream information based on the average information size of each audio control stream information and the control information path margin, as well as the first communication rate and the second communication rate corresponding to each audio control stream information.
[0130] Optionally, the information pathway selection model generation module includes:
[0131] A first pathway selection information input submodule, used to input the first pathway selection information into the information pathway model;
[0132] A second path selection information generating submodule, used for associating the type of preset long-duration audio output data stream information with the first path selection information, and generating second path selection information for each audio control stream information according to the type of the long-duration audio output data stream information;
[0133] The information path selection model generation submodule is used to associate the first path selection information and the second path selection information corresponding to each audio control stream information to generate an information path selection model.
[0134] For the specific definition of the intelligent cockpit multi-channel audio path design device, please refer to the definition of the intelligent cockpit multi-channel audio path design method above, which will not be repeated here. Each module in the above-mentioned intelligent cockpit multi-channel audio path design device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0135] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 7As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store information path models, control information path margins, a first communication rate, a second communication rate, first path selection information and information path selection models, etc. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for designing a multi-channel audio path for an intelligent cockpit is implemented.
[0136] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:
[0137] Generate an information path model based on the type of each audio control flow information in the smart cockpit system;
[0138] Acquire the virtual device management domain control interface information flux and the IVI domain control interface information flux, input the virtual device management domain control interface information flux and the IVI domain control interface information flux into the information path model, and obtain the control information path margin;
[0139] Obtaining a first communication rate between the IVI domain and the virtual device management domain, and a second communication rate between the IVI domain and the audio codec;
[0140] Inputting the first communication rate, the second communication rate and the control information path margin into the information path model to generate first path selection information for each audio control stream information;
[0141] The first pathway selection information is input into the information pathway model to obtain the information pathway selection model.
[0142] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0143] Generate an information path model based on the type of each audio control flow information in the smart cockpit system;
[0144] Acquire the virtual device management domain control interface information flux and the IVI domain control interface information flux, input the virtual device management domain control interface information flux and the IVI domain control interface information flux into the information path model, and obtain the control information path margin;
[0145] Obtaining a first communication rate between the IVI domain and the virtual device management domain, and a second communication rate between the IVI domain and the audio codec;
[0146] Inputting the first communication rate, the second communication rate and the control information path margin into the information path model to generate first path selection information for each audio control stream information;
[0147] The first pathway selection information is input into the information pathway model to obtain the information pathway selection model.
[0148] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0149] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0150] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for designing a multi-channel audio path for an intelligent cockpit, characterized in that: The smart cockpit multi-channel audio path design method includes: Generate an information path model based on the type of each audio control flow information in the smart cockpit system; Acquire virtual device management domain control interface information flux and IVI domain control interface information flux, input the virtual device management domain control interface information flux and the IVI domain control interface information flux into an information path model, and obtain a control information path margin; Obtaining a first communication rate between the IVI domain and the virtual device management domain, and a second communication rate between the IVI domain and the audio codec; Inputting the first communication rate, the second communication rate and the control information path margin into an information path model to generate first path selection information for each audio control stream information; inputting the first pathway selection information into the information pathway model to obtain an information pathway selection model; The generating of the information path model based on the type of each audio control flow information in the smart cockpit system specifically includes: Based on the type of each audio control flow information in the intelligent cockpit system, priority information and average information size of each audio control flow information are obtained; Associating the priority information of each audio control stream information with the average size of the information volume to generate an information path model; The step of inputting the virtual device management domain control interface information flux and the IVI domain control interface information flux into an information path model to obtain a control information path margin specifically includes: Inputting the virtual device management domain control interface information flux and the IVI domain control interface information flux into an information path model; Determining a virtual control flow driving source of the audio control flow information according to the type of the audio control flow information; Marking critical audio control flow information according to the virtual control flow driving source and the priority information; A control information path margin is obtained according to the key audio control flow information and the corresponding average size of information volume, the virtual device management domain control interface information flux and the IVI domain control interface information flux.
2. The method for designing a multi-channel audio path for a smart cockpit according to claim 1, characterized in that: The step of inputting the first communication rate, the second communication rate and the control information path margin into an information path model to generate first path selection information for each audio control stream information specifically includes: inputting the first communication rate, the second communication rate and the control information path margin into an information path model; The average size of the information amount of each audio control flow information is extracted, and based on the average size of the information amount of each audio control flow information and the control information path margin, as well as the first communication rate and the second communication rate corresponding to each audio control flow information, the first path selection information of each audio control flow information is generated.
3. The method for designing a multi-channel audio path for a smart cockpit according to claim 1, characterized in that: The step of inputting the first pathway selection information into the information pathway model to obtain the information pathway selection model specifically includes: inputting the first pathway selection information into the information pathway model; Associating the type of preset long-duration audio output data stream information with the first path selection information, and generating second path selection information for each type of audio control stream information according to the type of the long-duration audio output data stream information; The first path selection information and the second path selection information corresponding to each audio control stream information are associated to generate an information path selection model.
4. A smart cockpit multi-channel audio path design device, characterized in that: The intelligent cockpit multi-channel audio path design device comprises: An information path model generation module, used for generating an information path model based on the type of each audio control flow information in the smart cockpit system; A control information path margin acquisition module is used to acquire virtual device management domain control interface information flux and IVI domain control interface information flux, and input the virtual device management domain control interface information flux and the IVI domain control interface information flux into an information path model to acquire control information path margin; A communication rate acquisition module, used to acquire a first communication rate between the IVI domain and the virtual device management domain, and a second communication rate between the IVI domain and the audio codec; A first path selection information generating module, used for inputting the first communication rate, the second communication rate and the control information path margin into an information path model to generate first path selection information for each audio control stream information; An information pathway selection model generation module, used for inputting the first pathway selection information into the information pathway model to obtain the information pathway selection model; The information pathway model generation module comprises: An attribute information acquisition submodule, used for acquiring priority information and average information size of each audio control flow information based on the type of each audio control flow information in the intelligent cockpit system; An information path model generating submodule, used for associating the priority information of each audio control stream information with the average size of the information amount to generate an information path model; The control information path margin acquisition module comprises: A flux input submodule, used for inputting the virtual device management domain control interface information flux and the IVI domain control interface information flux into an information path model; A virtual control flow driving source determination submodule, used for determining the virtual control flow driving source of the audio control flow information according to the type of the audio control flow information; A key audio control flow information marking submodule, used for marking key audio control flow information according to the virtual control flow driving source and the priority information; The control information path margin acquisition submodule is used to obtain the control information path margin according to the key audio control flow information and the corresponding average size of the information volume, the virtual device management domain control interface information flux and the IVI domain control interface information flux.
5. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the smart cockpit multi-channel audio path design method as described in any one of claims 1 to 3 are implemented.
6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the smart cockpit multi-channel audio path design method as described in any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
Audio injection updating method, control device and audio injection extractor hood
CN114353139A
Display and multi-terminal free switching system
CN114968156A