Playing effect adjusting method and device, equipment, medium and program product
By dynamically adjusting the display and audio resource allocation of screen devices in the car, the lag problem caused by uneven resource allocation in multi-screen systems is solved, improving user experience and system fluency.
Patent Information
- Application Number
- CN202510574992.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-06
- Publication Date
- 2025-09-16
AI Technical Summary
There are a large number of human-computer interaction screens installed in cars. In multi-tasking scenarios, the hardware resources occupied by each screen cannot be reasonably allocated, resulting in the inability to dynamically adjust the playback effect, affecting the user experience.
By obtaining the actual load of the graphics processing unit, when the load exceeds the preset load, the display effects of other screen devices except the highest priority screen device are reduced, and the hardware resource allocation is dynamically adjusted according to the screen priority, including reducing the frame rate, resolution, animation area, special effects rendering, etc.; at the same time, the tasks and audio mixing are coordinated through the central processing unit and digital signal processing unit to ensure priority processing of high-priority tasks and audio signals.
Rationally allocate hardware resources in multi-tasking scenarios, dynamically adjust playback effects, reduce the chance of lag on high-priority screen devices, improve user experience, and reduce unnecessary rendering or special effects during peak GPU load to ensure the smoothness of core functions.
Smart Images

Figure CN120653216A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of resource allocation, and in particular to a playback effect adjustment method, device, equipment, medium and program product. Background Art
[0002] As cars become increasingly intelligent, the in-car cockpit is no longer just a place for drivers and passengers to simply display entertainment and information, but is gradually evolving into a highly intelligent human-machine interaction center. Currently, user interaction with the car is not only achieved through the car's central control screen, but also through the driver's electronic instrument panel, the passenger seat entertainment screen, and the rear entertainment screen.
[0003] However, the large number of screens used for human-computer interaction in cars makes it difficult to properly allocate hardware resources to each screen in multitasking scenarios. This results in the inability to dynamically adjust the playback quality of each screen, affecting the user experience. Therefore, how to dynamically adjust the playback quality of each screen is an urgent problem that needs to be solved. Summary of the Invention
[0004] The embodiments of the present application provide a playback effect adjustment method, apparatus, equipment, medium and program product to solve the technical problem in the prior art that a large number of human-computer interaction screens are deployed in a car, and the hardware resources occupied by each screen cannot be reasonably allocated in a multi-tasking scenario, resulting in the inability to dynamically adjust the playback effects of each screen, thereby affecting the user experience. The embodiments of the present application implement the allocation of hardware resources occupied by each screen according to the priority of each screen in a multi-tasking scenario, thereby improving the rationality of the allocation of hardware resources occupied by each screen and achieving the technical effect of dynamically adjusting the playback effects of each screen.
[0005] In a first aspect, the present application provides a playback effect adjustment method, which is applied to a vehicle including a graphics processing unit, and the method comprises:
[0006] acquiring a first actual load of the graphics processing unit when at least two screen devices of the vehicle are in operation;
[0007] When the first actual load exceeds the first preset load, the display effects of the other screen devices except the screen device with the highest priority among the at least two screen devices are reduced.
[0008] Furthermore, reducing the display effects of the other screen devices except the screen device with the highest priority among the at least two screen devices includes:
[0009] Maintaining the display effect of the screen device with the highest priority among the at least two screen devices unchanged;
[0010] Reducing the display effects of the screen devices other than the screen device with the highest priority among at least two of the screen devices includes at least one of reducing the frame rate, reducing the resolution, reducing the animation area, reducing the special effects rendering parameters, stopping the animation effect, and stopping the special effects rendering.
[0011] Furthermore, when the first actual load exceeds the first preset load, the method further includes:
[0012] If a new task to be processed is added to the first task queue corresponding to the graphics processing unit, determining whether the priority information of the task to be processed meets a preset priority condition;
[0013] If the priority information of the pending task meets the preset condition priority, moving the pending task from the first task queue to a second task queue corresponding to the central processing unit of the vehicle;
[0014] The pending task is controlled to wait in the second task queue until the central processing unit executes the pending task.
[0015] Furthermore, if the priority information of the to-be-processed task satisfies the preset condition priority, moving the to-be-processed task from the first task queue to a second task queue corresponding to the central processing unit of the vehicle includes:
[0016] If the priority information of the task to be processed meets the preset condition priority, the task complexity of the task to be processed is reduced, and the task to be processed is moved from the first task queue to the second task queue corresponding to the central processing unit of the vehicle.
[0017] Furthermore, when at least two screen devices of the vehicle are in operation, the method further includes:
[0018] According to the priority information corresponding to the at least two screen devices, the digital signal processing unit of the vehicle is controlled to perform a mixing operation on the audio corresponding to the at least two screen devices.
[0019] Furthermore, in the process of controlling the digital signal processing unit of the vehicle to perform a mixing operation on the audio corresponding to the at least two screen devices according to the priority information corresponding to the at least two screen devices, the method further includes:
[0020] If the digital signal processing unit receives a burst audio signal, the digital signal processing unit is controlled to perform a mixing operation on the burst audio signal and the audio corresponding to at least two of the screen devices, so that the mixing effect corresponding to the burst audio signal is higher than the mixing effect corresponding to the audio corresponding to at least two of the screen devices.
[0021] Furthermore, in the process of controlling the digital signal processing unit of the vehicle to perform a mixing operation on the audio corresponding to the at least two screen devices according to the priority information corresponding to the at least two screen devices, the method further includes:
[0022] If the digital signal processing unit receives a burst audio signal, controlling the digital signal processing unit to reduce the playback volume of the audio corresponding to at least two of the screen devices, or controlling the digital signal processing unit to pause the playback of the audio corresponding to at least two of the screen devices;
[0023] The digital signal processing unit is controlled to play the burst audio signal so that the playback volume of the burst audio signal is higher than the playback volume of the audio corresponding to each of at least two of the screen devices.
[0024] Furthermore, in the process of controlling the digital signal processing unit of the vehicle to perform a mixing operation on the audio corresponding to the at least two screen devices according to the priority information corresponding to the at least two screen devices, the method further includes:
[0025] obtaining a second actual load of the digital signal processing unit;
[0026] When the second actual load exceeds the second preset load, the audio playback effects of the screen devices other than the screen device with the highest priority among the at least two screen devices are reduced.
[0027] Furthermore, reducing the audio playback effects of the other screen devices except the screen device with the highest priority among the at least two screen devices includes:
[0028] Maintaining the audio playback effect of the screen device with the highest priority among the at least two screen devices unchanged;
[0029] Reducing the audio playback effects of the other screen devices except the screen device with the highest priority among the at least two screen devices includes at least one of reducing the sound quality and reducing the volume.
[0030] Furthermore, when at least one of the screen devices of the vehicle is running and the digital signal processing unit of the vehicle receives a burst audio signal, the method further includes:
[0031] According to the priority information corresponding to at least one of the screen devices, the digital signal processing unit is controlled to perform a mixing operation on the burst audio signal and the audio corresponding to at least one of the screen devices, so that the mixing effect corresponding to the burst audio signal is higher than the mixing effect corresponding to the audio corresponding to at least two of the screen devices.
[0032] In a second aspect, the present application provides a playback effect adjustment device, which is applied to a vehicle including a graphics processing unit, and the device includes:
[0033] a load monitoring module, configured to obtain a first actual load of the graphics processing unit when at least two screen devices of the vehicle are in operation;
[0034] The playback effect adjustment module is configured to reduce the display effects of the other screen devices except the screen device with the highest priority among the at least two screen devices when the first actual load exceeds the first preset load.
[0035] Furthermore, the playback effect adjustment module is used to:
[0036] Maintaining the display effect of the screen device with the highest priority among the at least two screen devices unchanged;
[0037] Reducing the display effects of the screen devices other than the screen device with the highest priority among at least two of the screen devices includes at least one of reducing the frame rate, reducing the resolution, reducing the animation area, reducing the special effects rendering parameters, stopping the animation effect, and stopping the special effects rendering.
[0038] Furthermore, the task allocation module is used to:
[0039] In the case where the first actual load exceeds the first preset load, if a new task to be processed is added to the first task queue corresponding to the graphics processing unit, determining whether the priority information of the task to be processed meets a preset condition priority;
[0040] If the priority information of the pending task meets the preset condition priority, moving the pending task from the first task queue to a second task queue corresponding to the central processing unit of the vehicle;
[0041] The pending task is controlled to wait in the second task queue until the central processing unit executes the pending task.
[0042] Furthermore, the task allocation module is used to:
[0043] If the priority information of the task to be processed meets the preset condition priority, the task complexity of the task to be processed is reduced, and the task to be processed is moved from the first task queue to the second task queue corresponding to the central processing unit of the vehicle.
[0044] Furthermore, the playback effect adjustment module is used to:
[0045] When at least two screen devices of the vehicle are running, the digital signal processing unit of the vehicle is controlled to perform mixing operations on the audio corresponding to the at least two screen devices according to the priority information corresponding to the at least two screen devices.
[0046] Furthermore, the playback effect adjustment module is used to:
[0047] If the digital signal processing unit receives a burst audio signal, the digital signal processing unit is controlled to perform a mixing operation on the burst audio signal and the audio corresponding to at least two of the screen devices, so that the mixing effect corresponding to the burst audio signal is higher than the mixing effect corresponding to the audio corresponding to at least two of the screen devices.
[0048] Furthermore, the playback effect adjustment module is used to:
[0049] If the digital signal processing unit receives a burst audio signal, controlling the digital signal processing unit to reduce the playback volume of the audio corresponding to at least two of the screen devices, or controlling the digital signal processing unit to pause the playback of the audio corresponding to at least two of the screen devices;
[0050] The digital signal processing unit is controlled to play the burst audio signal so that the playback volume of the burst audio signal is higher than the playback volume of the audio corresponding to each of at least two of the screen devices.
[0051] Furthermore, the load monitoring module is used to: obtain a second actual load of the digital signal processing unit;
[0052] The playback effect adjustment module is used to: when the second actual load exceeds the second preset load, reduce the audio playback effects of the screen devices other than the screen device with the highest priority among the at least two screen devices.
[0053] Furthermore, the playback effect adjustment module is used to:
[0054] Maintaining the audio playback effect of the screen device with the highest priority among the at least two screen devices unchanged;
[0055] Reducing the audio playback effects of the other screen devices except the screen device with the highest priority among the at least two screen devices includes at least one of reducing the sound quality and reducing the volume.
[0056] Furthermore, the playback effect adjustment module is used to:
[0057] When at least one of the screen devices of the vehicle is running and the digital signal processing unit of the vehicle receives a burst audio signal, the digital signal processing unit is controlled to perform a mixing operation on the burst audio signal and the audio corresponding to at least one of the screen devices according to the priority information corresponding to each of the at least one screen devices, so that the mixing effect corresponding to the burst audio signal is higher than the mixing effect corresponding to the audio corresponding to at least two of the screen devices.
[0058] In a third aspect, the present application provides an electronic device, comprising:
[0059] processor;
[0060] a memory for storing instructions executable by the processor;
[0061] The processor is configured to execute to implement a playback effect adjustment method provided in the first aspect.
[0062] In a fourth aspect, the present application provides a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to implement a playback effect adjustment method provided in the first aspect.
[0063] In a fifth aspect, the present application provides a computer program product, comprising computer instructions, which are executed by a processor to implement a playback effect adjustment method as provided in the first aspect.
[0064] One or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages:
[0065] In an embodiment of the present application, when at least two screen devices of the vehicle are running, the first actual load of the graphics processing unit is obtained; when the first actual load exceeds the first preset load, the display effects of the other screen devices except the screen device with the highest priority among the at least two screen devices are reduced. It can be seen that the embodiment of the present application reasonably allocates the hardware resources occupied by each screen in a multi-tasking scenario, dynamically adjusts the playback effect according to the priority of each running screen, reduces the probability of high-priority screen devices being stuck, and improves the user's screen usage experience while ensuring safe driving of the car. Dynamic degradation and adaptive optimization mechanism reduces unnecessary rendering or special effects when the GPU load is peak, ensuring the smoothness of core functions. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following is a brief introduction to the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0067] Figure 1 A flowchart of a playback effect adjustment method provided in an embodiment of the present application;
[0068] Figure 2 A schematic structural diagram of a playback effect adjustment device provided in an embodiment of the present application;
[0069] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0070] The embodiment of the present application provides a method for adjusting playback effects, thereby solving the technical problem in the prior art that a large number of human-computer interaction screens are installed in a car, and the hardware resources occupied by each screen cannot be reasonably allocated in a multi-tasking scenario, resulting in the inability to dynamically adjust the playback effects of each screen, thereby affecting the user experience.
[0071] The technical solution of the embodiment of the present application is to solve the above technical problems, and the overall idea is as follows:
[0072] In an embodiment of the present application, when at least two screen devices of the vehicle are running, the first actual load of the graphics processing unit is obtained; when the first actual load exceeds the first preset load, the display effects of the other screen devices except the screen device with the highest priority among the at least two screen devices are reduced. It can be seen that the embodiment of the present application reasonably allocates the hardware resources occupied by each screen in a multi-tasking scenario, dynamically adjusts the playback effect according to the priority of each running screen, reduces the probability of high-priority screen devices being stuck, and improves the user's screen usage experience while ensuring safe driving of the car. Dynamic degradation and adaptive optimization mechanism reduces unnecessary rendering or special effects when the GPU load is peak, ensuring the smoothness of core functions.
[0073] In order to better understand the above technical solution, the above technical solution will be described in detail below with reference to the accompanying drawings and specific implementation methods.
[0074] First, the term "and / or" as used herein simply describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A alone, A and B together, or B alone. Furthermore, the character " / " in this document generally indicates an "or" relationship between the associated objects.
[0075] The embodiment of the present application provides a playback effect adjustment method, which is applied to a vehicle including a graphics processing unit. The method includes steps S11 and S12. Figure 1 shown.
[0076] Step S11, when at least two screen devices of the vehicle are in operation, obtaining a first actual load of the graphics processing unit;
[0077] Step S12: When the first actual load exceeds the first preset load, reduce the display effects of the other screen devices except the screen device with the highest priority among the at least two screen devices.
[0078] A vehicle, to which a playback effect adjustment method provided in an embodiment of the present application is applied, includes a graphics processing unit (GPU), a central processing unit (CPU), and a digital signal processing unit (DSP). The graphics processing unit may include a graphics processing unit (GPU). The central processing unit may include a central processing unit (CPU). The digital signal processing unit may include a digital signal processing unit (DSP).
[0079] The three types of hardware, GPU, CPU, and DSP, are different.
[0080] GPUs excel at massively parallel computing. Originally designed for graphics rendering, they are now widely used for general-purpose computing, including parallel graphics and general-purpose computing, for autonomous driving perception, rendering, and other applications. In automobiles, they are primarily used for processing sensor data (camera / point cloud) for autonomous driving, running complex deep learning models (such as object detection and semantic segmentation), and multi-screen rendering in smart cockpits. GPUs offer high flexibility and throughput, making them suitable for batch processing of image / video streams, but they also consume a lot of power.
[0081] The CPU is responsible for general computations such as task scheduling, operating system execution, and logical reasoning. In automobiles, it is used for onboard system management and traditional control algorithms (such as transmission logic). The CPU's advantage lies in its maximum flexibility, allowing it to handle any task. However, its disadvantages include its limited parallel computing capabilities and poor energy efficiency.
[0082] DSPs are suitable for real-time signal processing (filtering / encoding / decoding) and are designed for math-intensive tasks such as audio processing and radar signal processing. In automobiles, they are primarily used for signal filtering and analysis for radar / ultrasonic sensors, audio processing (noise reduction, multi-microphone beamforming), and traditional control algorithms. DSPs offer advantages such as ultra-low latency (nanosecond response) and ultra-low power consumption, making them suitable for always-on tasks.
[0083] Precisely because the three hardwares of GPU, CPU and DSP are different, in related technologies, the image rendering task during the operation of the car is handled by the graphics processing unit, the audio signal processing task is completed by the DSP, and the CPU handles some system scheduling and general calculations.
[0084] With the continuous advancement of automotive technology, cars are becoming increasingly intelligent, and the number of display screens in cars is also increasing. For example, a car's instrument panel is an electronic instrument panel, which is a type of screen; there are also central control screens, passenger seat entertainment screens, rear entertainment screens, and so on. However, the more screens there are, the more resources are consumed by the graphics processing unit. If resources are not allocated accurately, it can easily cause screen freezes, affecting the user experience. Furthermore, the more screens there are, the more corresponding audio signals there are. If resources are not allocated accurately to the DSP, it can easily cause audio confusion, affecting the user experience.
[0085] In order to solve this problem, the embodiment of the present application provides a method for adjusting the playback effect. Figure 1 A playback effect adjustment method provided in an embodiment of the present application is described as follows.
[0086] Regarding step S11 , when at least two screen devices of the vehicle are in operation, a first actual load of the graphics processing unit is obtained.
[0087] The vehicle's at least two screen devices operating refers to a situation where at least one screen device is operating simultaneously in the vehicle. For example, a car may have an electronic instrument panel, a central control screen, a passenger seat entertainment screen, and two rear-seat entertainment screens, for a total of five screen devices. When two, three, four, or five screens are operating simultaneously in the vehicle, the execution condition of step S11 is met.
[0088] When at least two screen devices of the vehicle are in operation, the acquired first actual load of the graphics processing unit may specifically include an actual load utilization rate and an actual queue length of a first task queue.
[0089] The first actual load is compared with the first preset load, specifically, the actual load utilization is compared with the preset load utilization in the first preset load, and the actual queue length is compared with the preset queue length in the first preset load, to determine whether the graphics processing unit is in a high load state. The preset load utilization can be 70%-90%, specifically 80%. The preset queue length can be 10-30, specifically 20.
[0090] When the actual load utilization does not exceed the preset load utilization, or the actual queue length does not exceed the preset queue length, it means that the GPU is not in a high-load state, that is, the first actual load does not exceed the first preset load. This means that the GPU has sufficient hardware resources for video rendering, and the GPU can be controlled to display normally according to the display effects of each currently running screen device, ensuring that the display effects of each running screen are relatively optimal, thereby improving the user experience.
[0091] When the actual load utilization exceeds the preset load utilization and the actual queue length does not exceed the preset queue length, it means that the GPU is in a high load state, that is, the first actual load exceeds the first preset load. In this case, it means that the GPU hardware resources for video rendering are insufficient, and step S12 can be continued.
[0092] Regarding step S12, when the first actual load exceeds the first preset load, the display effects of the screen devices other than the screen device with the highest priority among the at least two screen devices are reduced.
[0093] For all screen devices in the car, the priority of each screen device can be set at the factory. For example, the priority order from high to low is: electronic instrument panel, central control screen, passenger seat entertainment screen, and two rear entertainment screens.
[0094] In other words, the priorities of some screens are set when the vehicle leaves the factory, and the priorities of other screen devices are set by the user. For example, the electronic instrument panel and the central control screen have fixed priorities when they leave the factory, with the priority of the electronic instrument panel defined as the highest priority and the priority of the central control screen defined as high priority. The remaining passenger entertainment screen and the two rear entertainment screens can be set by the user between medium priority and low priority. For example, the passenger entertainment screen can be set to medium priority, and the two rear entertainment screens can be set to low priority. In other words, the passenger entertainment screen and the entertainment screen on the left side of the rear row can be set to low priority, and the entertainment screen on the right side of the rear row can be set to medium priority. It should be noted that no matter how the user sets it, the priority of the electronic instrument panel and the central control screen is higher than that of the passenger entertainment screen and the two rear entertainment screens.
[0095] In the case where the first actual load exceeds the first preset load, the display effect of the screen device with a relatively high priority is prioritized, and the display effect of the screen device with a relatively low priority is reduced.
[0096] Specifically, the display effect of the screen device with the highest priority among the at least two screen devices is maintained unchanged. The display effects of the other screen devices except the screen device with the highest priority among the at least two screen devices are reduced, including at least one of reducing the frame rate, reducing the resolution, reducing the animation area, reducing special effects rendering parameters, stopping the animation effect, and stopping special effects rendering. For example, the frame rate is reduced from 60fps to 30fps, and the resolution is reduced from 1080p to 720p.
[0097] For example, during the operation of the car, the electronic instrument panel and the central control screen are always in operation. When only the electronic instrument panel and the central control screen are running and the graphics processing unit is in a high-load state, the display effect of the electronic instrument panel is ensured to remain unchanged, while the display effect of the central control screen is reduced.
[0098] During the operation of the car, the electronic instrument panel and the central control screen are always in operation. When the electronic instrument panel, the central control screen and the co-pilot entertainment screen are running and the graphics processing unit is in a high-load state, the display effect of the electronic instrument panel is ensured to remain unchanged, while the display effect of the central control screen and the co-pilot entertainment screen is reduced.
[0099] Furthermore, the display effects of the at least two screen devices except the screen device with the highest priority are reduced. Specifically, the higher the priority of the screen device, the lower the effect reduction ratio, and the lower the priority of the screen device, the higher the effect reduction ratio. For example, when the electronic instrument panel, the central control screen, and the co-pilot entertainment screen are running and the graphics processing unit is in a high-load state, the display effect of the electronic instrument panel is guaranteed to remain unchanged. Since the priority of the central control screen is higher than that of the co-pilot entertainment screen, the display effect of the central control screen is reduced at a lower ratio, while the display effect of the co-pilot entertainment screen is reduced at a higher ratio. For example, the reduction ratio of the central control screen is 10%, while the reduction ratio of the co-pilot entertainment screen is 20%.
[0100] Furthermore, when the first actual load exceeds the first preset load, the method further includes:
[0101] If a new task to be processed is added to the first task queue corresponding to the graphics processing unit, determining whether the priority information of the task to be processed meets a preset priority condition;
[0102] If the priority information of the pending task meets the preset condition priority, moving the pending task from the first task queue to a second task queue corresponding to the central processing unit of the vehicle;
[0103] The pending task is controlled to wait in the second task queue until the central processing unit executes the pending task.
[0104] The preset condition priority may refer to the priority allowed to be moved from the first task queue of the graphics processing unit to the second task queue of the central processing unit, for example, it may be a medium priority, a low priority, etc.
[0105] When a pending task is added to the first task queue, for each added pending task, its priority information is determined whether it meets the preset condition priority. If so, the pending task can be moved to the second task queue of the central processing unit, waiting for the central processing unit to process the pending task.
[0106] If the priority information of the pending task meets the preset condition priority, the task complexity of the pending task can be reduced first, and then the pending task can be moved from the first task queue to the second task queue corresponding to the central processing unit of the vehicle, and the pending task can be executed by the central processing unit. Reducing the complexity of the task can specifically mean reducing the processing frequency, reducing the calculation accuracy, etc. Although the pending task is better processed by the graphics processing unit, and the effect of processing by the central processing unit is relatively poor, this can execute the pending task as soon as possible while basically ensuring the execution quality of the pending task, thereby ensuring execution efficiency and improving user experience.
[0107] If the priority information does not meet the preset condition priority, it means that the pending task can only be processed by the graphics processing unit and can only continue to wait in the first task queue until the graphics processing unit executes the pending task.
[0108] In summary, the embodiment of the present application obtains the first actual load of the graphics processing unit when at least two screen devices of the vehicle are running; when the first actual load exceeds the first preset load, the display effects of the other screen devices except the screen device with the highest priority among the at least two screen devices are reduced. It can be seen that the embodiment of the present application reasonably allocates the hardware resources occupied by each screen in a multi-tasking scenario, dynamically adjusts the playback effect according to the priority of each running screen, reduces the probability of high-priority screen devices being stuck, and improves the user's screen usage experience while ensuring safe driving of the car. Dynamic degradation and adaptive optimization mechanism reduces unnecessary rendering or special effects when the GPU load is peak, ensuring the smoothness of core functions.
[0109] The above has described the process of adjusting the display effects of multiple screens. The corresponding audio playback effects are matched with the screen displays. The process of adjusting the audio playback effects is now described as follows.
[0110] When at least two screen devices of the vehicle are running, the digital signal processing unit of the vehicle is controlled to perform mixing operations on the audio corresponding to the at least two screen devices according to the priority information corresponding to the at least two screen devices.
[0111] The audio mixing operation coordinates the coexistence of various audios in the car. In the embodiment of the present application, the audio of each screen device is mixed according to the priority information of each running screen, so that the audio of each screen device coexists in a coordinated manner in the car and reduces mutual interference between the various audios.
[0112] If a vehicle has only one screen device playing, there will usually be only one corresponding audio, so audio playback confusion will basically not occur. If a vehicle has more than one screen device playing, audio playback confusion may occur. To solve this problem, the audio of each screen device can be mixed according to the priority information corresponding to each running screen device, reducing the chance of audio playback confusion.
[0113] For example, if the central control screen is navigating, there will be corresponding navigation prompt audio. If the passenger entertainment screen is playing a TV series, there will be corresponding TV series audio. When the digital signal processing unit mixes the navigation prompt audio and the TV series audio, it must ensure that the navigation prompt audio plays better than the TV series audio, giving priority to satisfying the user's navigation needs, followed by the user's TV series audio needs, to ensure driving safety.
[0114] The playback effect can be reflected by the sound quality and volume. The higher the sound quality and the louder the volume, the better the playback effect. Conversely, the worse the sound quality and the smaller the volume, the worse the playback effect.
[0115] Furthermore, in addition to the audio from various screen devices, system prompt sounds may also occur inside the vehicle, such as the audio generated by the voice assistant when the user interacts with it, or the emergency alarm audio generated when the vehicle is in an emergency. In this embodiment of the application, the audio emitted by the voice assistant and the emergency alarm audio generated in an emergency situation in the vehicle are defined as burst audio signals.
[0116] When at least one of the screen devices of the vehicle is running and the digital signal processing unit of the vehicle receives a burst audio signal, the digital signal processing unit is controlled to perform a mixing operation on the burst audio signal and the audio corresponding to at least one of the screen devices according to the priority information corresponding to each of the at least one screen devices, so that the mixing effect corresponding to the burst audio signal is higher than the mixing effect corresponding to the audio corresponding to at least two of the screen devices.
[0117] When at least two of the screen devices in the vehicle are running and the digital signal processing unit of the vehicle receives a burst audio signal, the digital signal processing unit is controlled to perform a mixing operation on the burst audio signal and the audio corresponding to at least two of the screen devices, so that the mixing effect corresponding to the burst audio signal is higher than the mixing effect corresponding to the audio corresponding to at least two of the screen devices.
[0118] That is to say, the priority of the sudden audio signal is higher than the priority of the audio signals corresponding to each screen. During the mixing operation, the digital signal processing unit needs to make the playback effect of the sudden audio signal better than the audio signals corresponding to each screen. For example, the user communicates with the car system through voice, and the car system generates voice assistant audio when responding to the user's voice. And the central control screen is navigating, and there is corresponding navigation prompt audio. The co-pilot entertainment screen is playing a TV series, and there is corresponding TV series audio. In this case, the data signal processing unit needs to ensure that the playback effect of the voice assistant audio is the best, the playback effect of the navigation prompt audio is second, and the playback effect of the TV series audio is the weakest.
[0119] Specifically, if the digital signal processing unit receives a burst audio signal, the digital signal processing unit is controlled to reduce the playback volume of the audio corresponding to at least two of the screen devices, or the digital signal processing unit is controlled to pause the playback of the audio corresponding to at least two of the screen devices. The digital signal processing unit is controlled to play the burst audio signal so that the playback volume of the burst audio signal is higher than the playback volume of the audio corresponding to at least two of the screen devices.
[0120] Furthermore, in the process of controlling the digital signal processing unit of the vehicle to perform a mixing operation on the audio corresponding to the at least two screen devices according to the priority information corresponding to the at least two screen devices, the method further includes:
[0121] Obtain a second actual load of the digital signal processing unit; when the second actual load exceeds a second preset load, reduce the audio playback effects of at least two of the screen devices except the screen device with the highest priority.
[0122] The second actual load of the digital signal processing unit may specifically be audio bandwidth data. When the second actual load exceeds the second preset load, it means that the audio bandwidth is too high, which may cause audio jamming, poor playback quality, and affect user experience.
[0123] In order to solve this problem, the playback effects of each audio can be adjusted according to the priority of each screen device. Specifically, the audio playback effect of the screen device with the highest priority among at least two screen devices can be kept unchanged; and the audio playback effects of the other screen devices except the screen device with the highest priority among at least two screen devices can be reduced, including at least one of reducing the sound quality (such as from stereo to mono) and reducing the volume.
[0124] Furthermore, when the second actual load exceeds the second preset load, if a burst audio signal is generated, the data signal processing unit controls the audio playback effect of the burst audio signal to remain in a normal state (the normal state refers to the audio playback effect of the burst audio signal when the digital signal processing unit is in a normal load state), and reduces the audio playback effect of each screen device that is running.
[0125] The audio playback effect of each running screen device is reduced. Specifically, the audio playback effect reduction ratio can be set according to the priority of each screen device. For example, the audio playback effect reduction ratio of the screen device with a higher priority is lower, and the audio playback effect reduction ratio of the screen device with a lower priority is higher.
[0126] In summary, the embodiment of the present application controls the digital signal processing unit of the vehicle to mix the audio corresponding to at least two of the screen devices according to the priority information corresponding to each of the at least two screen devices. It can be seen that the embodiment of the present application monitors the usage of audio bandwidth to reduce the probability of audio freeze caused by multiple audio sources occupying too much bandwidth at the same time. When the system load is high, the sound quality of low-priority audio sources is reduced (such as from stereo to mono) to free up bandwidth resources. Multi-source mixing and priority control ensure the clarity of high-priority audio sources (such as voice assistants and navigation broadcasts), while dynamically adjusting low-priority audio sources to enhance the overall listening experience. Utilize hardware-level mixing and DSP resources to reduce CPU participation and save power consumption, thereby improving audio processing efficiency.
[0127] Based on the same inventive concept, the present application provides the following embodiments: Figure 2 A playback effect adjustment device shown is applied to a vehicle including a graphics processing unit, and the device includes:
[0128] a load monitoring module 21, configured to obtain a first actual load of the graphics processing unit when at least two screen devices of the vehicle are in operation;
[0129] The playback effect adjustment module 22 is configured to reduce the display effects of the other screen devices except the screen device with the highest priority among the at least two screen devices when the first actual load exceeds the first preset load.
[0130] Furthermore, the playback effect adjustment module 22 is used to:
[0131] Maintaining the display effect of the screen device with the highest priority among the at least two screen devices unchanged;
[0132] Reducing the display effects of the screen devices other than the screen device with the highest priority among at least two of the screen devices includes at least one of reducing the frame rate, reducing the resolution, reducing the animation area, reducing the special effects rendering parameters, stopping the animation effect, and stopping the special effects rendering.
[0133] Furthermore, the task allocation module is used to:
[0134] In the case where the first actual load exceeds the first preset load, if a new task to be processed is added to the first task queue corresponding to the graphics processing unit, determining whether the priority information of the task to be processed meets a preset condition priority;
[0135] If the priority information of the pending task meets the preset condition priority, moving the pending task from the first task queue to a second task queue corresponding to the central processing unit of the vehicle;
[0136] The pending task is controlled to wait in the second task queue until the central processing unit executes the pending task.
[0137] Furthermore, the task allocation module is used to:
[0138] If the priority information of the task to be processed meets the preset condition priority, the task complexity of the task to be processed is reduced, and the task to be processed is moved from the first task queue to the second task queue corresponding to the central processing unit of the vehicle.
[0139] Furthermore, the playback effect adjustment module 22 is used to:
[0140] When at least two screen devices of the vehicle are running, the digital signal processing unit of the vehicle is controlled to perform mixing operations on the audio corresponding to the at least two screen devices according to the priority information corresponding to the at least two screen devices.
[0141] Furthermore, the playback effect adjustment module 22 is used to:
[0142] If the digital signal processing unit receives a burst audio signal, the digital signal processing unit is controlled to perform a mixing operation on the burst audio signal and the audio corresponding to at least two of the screen devices, so that the mixing effect corresponding to the burst audio signal is higher than the mixing effect corresponding to the audio corresponding to at least two of the screen devices.
[0143] Furthermore, the playback effect adjustment module 22 is used to:
[0144] If the digital signal processing unit receives a burst audio signal, controlling the digital signal processing unit to reduce the playback volume of the audio corresponding to at least two of the screen devices, or controlling the digital signal processing unit to pause the playback of the audio corresponding to at least two of the screen devices;
[0145] The digital signal processing unit is controlled to play the burst audio signal so that the playback volume of the burst audio signal is higher than the playback volume of the audio corresponding to each of at least two of the screen devices.
[0146] Furthermore, the load monitoring module 21 is configured to: obtain a second actual load of the digital signal processing unit;
[0147] The playback effect adjustment module 22 is configured to reduce the audio playback effects of the other screen devices except the screen device with the highest priority among the at least two screen devices when the second actual load exceeds the second preset load.
[0148] Furthermore, the playback effect adjustment module 22 is used to:
[0149] Maintaining the audio playback effect of the screen device with the highest priority among the at least two screen devices unchanged;
[0150] Reducing the audio playback effects of the other screen devices except the screen device with the highest priority among the at least two screen devices includes at least one of reducing the sound quality and reducing the volume.
[0151] Furthermore, the playback effect adjustment module 22 is used to:
[0152] When at least one of the screen devices of the vehicle is running and the digital signal processing unit of the vehicle receives a burst audio signal, the digital signal processing unit is controlled to perform a mixing operation on the burst audio signal and the audio corresponding to at least one of the screen devices according to the priority information corresponding to each of the at least one screen devices, so that the mixing effect corresponding to the burst audio signal is higher than the mixing effect corresponding to the audio corresponding to at least two of the screen devices.
[0153] Based on the same inventive concept, the present application provides the following embodiments: Figure 3 An electronic device as shown includes:
[0154] Processor 31;
[0155] a memory 32 for storing instructions executable by the processor 31;
[0156] The processor 31 is configured to execute to implement a playback effect adjustment method as provided above.
[0157] Based on the same inventive concept, an embodiment of the present application provides a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by the processor 31 of the electronic device, the electronic device can execute a playback effect adjustment method as provided above.
[0158] Based on the same inventive concept, an embodiment of the present application provides a computer program product, including computer instructions, which are executed by a processor to implement a playback effect adjustment method as provided above.
[0159] Since the electronic device described in this embodiment is an electronic device used to implement the information processing method in the embodiment of this application, based on the information processing method described in the embodiment of this application, those skilled in the art will be able to understand the specific implementation of the electronic device of this embodiment and its various variations, so how the electronic device implements the method in the embodiment of this application will not be described in detail here. As long as those skilled in the art implement the electronic device used by the information processing method in the embodiment of this application, it falls within the scope of protection to be provided by this application.
[0160] It will be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0161] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts and / or block diagrams. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0162] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0163] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0164] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0165] Obviously, those skilled in the art may make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if such changes and modifications fall within the scope of the claims and their equivalents, the present invention is intended to include such changes and modifications.
Claims
1. A method for adjusting playback effects, characterized in that: Applied to a vehicle including a graphics processing unit, the method comprises: acquiring a first actual load of the graphics processing unit when at least two screen devices of the vehicle are in operation; When the first actual load exceeds the first preset load, the display effects of the other screen devices except the screen device with the highest priority among the at least two screen devices are reduced.
2. A playback effect adjustment method according to claim 1, characterized in that: The reducing the display effects of the other screen devices except the screen device with the highest priority among the at least two screen devices includes: Maintaining the display effect of the screen device with the highest priority among the at least two screen devices unchanged; Reducing the display effects of the screen devices other than the screen device with the highest priority among at least two of the screen devices includes at least one of reducing the frame rate, reducing the resolution, reducing the animation area, reducing the special effects rendering parameters, stopping the animation effect, and stopping the special effects rendering.
3. A playback effect adjustment method according to claim 1, characterized in that: When the first actual load exceeds a first preset load, the method further includes: If a new task to be processed is added to the first task queue corresponding to the graphics processing unit, determining whether the priority information of the task to be processed meets a preset priority condition; If the priority information of the pending task meets the preset condition priority, moving the pending task from the first task queue to a second task queue corresponding to the central processing unit of the vehicle; The pending task is controlled to wait in the second task queue until the central processing unit executes the pending task.
4. A playback effect adjustment method according to claim 3, characterized in that: If the priority information of the to-be-processed task satisfies the preset condition priority, moving the to-be-processed task from the first task queue to a second task queue corresponding to the central processing unit of the vehicle includes: If the priority information of the task to be processed meets the preset condition priority, the task complexity of the task to be processed is reduced, and the task to be processed is moved from the first task queue to the second task queue corresponding to the central processing unit of the vehicle.
5. A playback effect adjustment method according to claim 1, characterized in that: In the case where at least two screen devices of the vehicle are in operation, the method further includes: According to the priority information corresponding to the at least two screen devices, the digital signal processing unit of the vehicle is controlled to perform a mixing operation on the audio corresponding to the at least two screen devices.
6. A playback effect adjustment method according to claim 5, characterized in that: In the process of controlling the digital signal processing unit of the vehicle to perform a mixing operation on the audio corresponding to the at least two screen devices according to the priority information corresponding to the at least two screen devices, the method further includes: If the digital signal processing unit receives a burst audio signal, the digital signal processing unit is controlled to perform a mixing operation on the burst audio signal and the audio corresponding to at least two of the screen devices, so that the mixing effect corresponding to the burst audio signal is higher than the mixing effect corresponding to the audio corresponding to at least two of the screen devices.
7. A playback effect adjustment method according to claim 5, characterized in that: In the process of controlling the digital signal processing unit of the vehicle to perform a mixing operation on the audio corresponding to the at least two screen devices according to the priority information corresponding to the at least two screen devices, the method further includes: If the digital signal processing unit receives a burst audio signal, controlling the digital signal processing unit to reduce the playback volume of the audio corresponding to at least two of the screen devices, or controlling the digital signal processing unit to pause the playback of the audio corresponding to at least two of the screen devices; The digital signal processing unit is controlled to play the burst audio signal so that the playback volume of the burst audio signal is higher than the playback volume of the audio corresponding to each of at least two of the screen devices.
8. A playback effect adjustment method according to claim 5, characterized in that: In the process of controlling the digital signal processing unit of the vehicle to perform a mixing operation on the audio corresponding to the at least two screen devices according to the priority information corresponding to the at least two screen devices, the method further includes: obtaining a second actual load of the digital signal processing unit; When the second actual load exceeds the second preset load, the audio playback effects of the screen devices other than the screen device with the highest priority among the at least two screen devices are reduced.
9. A playback effect adjustment method according to claim 8, characterized in that: The reducing the audio playback effects of the other screen devices except the screen device with the highest priority among the at least two screen devices includes: Maintaining the audio playback effect of the screen device with the highest priority among the at least two screen devices unchanged; Reducing the audio playback effects of the other screen devices except the screen device with the highest priority among the at least two screen devices includes at least one of reducing the sound quality and reducing the volume.
10. The method for adjusting playback effects according to claim 1, wherein: In a case where at least one of the screen devices of the vehicle is running and a digital signal processing unit of the vehicle receives a burst audio signal, the method further includes: According to the priority information corresponding to at least one of the screen devices, the digital signal processing unit is controlled to perform a mixing operation on the burst audio signal and the audio corresponding to at least one of the screen devices, so that the mixing effect corresponding to the burst audio signal is higher than the mixing effect corresponding to the audio corresponding to at least two of the screen devices.
11. A playback effect adjustment device, characterized in that: Applied to a vehicle including a graphics processing unit, the device comprises: a load monitoring module, configured to obtain a first actual load of the graphics processing unit when at least two screen devices of the vehicle are in operation; The playback effect adjustment module is configured to reduce the display effects of the other screen devices except the screen device with the highest priority among the at least two screen devices when the first actual load exceeds the first preset load.
12. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute to implement a playback effect adjustment method according to any one of claims 1 to 10.
13. A non-transitory computer-readable storage medium, which, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to implement a playback effect adjustment method according to any one of claims 1 to 10.
14. A computer program product, characterized in that The method comprises computer instructions, wherein the computer instructions are executed by a processor to implement a playback effect adjustment method according to any one of claims 1 to 10.
Citation Information
Cited By
Vehicle machine screen control method and device, vehicle and medium
CN121029117A