WO2024041328A1 - 资源分配的方法、装置和运载工具 - Google Patents
资源分配的方法、装置和运载工具 Download PDFInfo
- Publication number
- WO2024041328A1 WO2024041328A1 PCT/CN2023/110520 CN2023110520W WO2024041328A1 WO 2024041328 A1 WO2024041328 A1 WO 2024041328A1 CN 2023110520 W CN2023110520 W CN 2023110520W WO 2024041328 A1 WO2024041328 A1 WO 2024041328A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- display area
- resources
- resource
- display
- screen
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
- G06F9/5038—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5061—Partitioning or combining of resources
- G06F9/5077—Logical partitioning of resources; Management or configuration of virtualized resources
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45583—Memory management, e.g. access or allocation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/50—Indexing scheme relating to G06F9/50
- G06F2209/5021—Priority
Definitions
- Embodiments of the present application relate to the field of smart cockpits, and more specifically, to a resource allocation method, device and vehicle.
- Embodiments of the present application provide a resource allocation method, device, and delivery tool, which help improve resource utilization and improve user experience.
- Vehicles in this application may include road vehicles, water vehicles, air vehicles, industrial equipment, agricultural equipment, or entertainment equipment, etc.
- the carrier can be a vehicle, which is a vehicle in a broad sense, and can be a means of transportation (such as a commercial vehicle, a passenger car, a motorcycle, an aircraft, a train, etc.), an industrial vehicle (such as a forklift, a trailer, a tractor, etc.) etc.), engineering vehicles (such as excavators, bulldozers, cranes, etc.), agricultural equipment (such as lawn mowers, harvesters, etc.), amusement equipment, toy vehicles, etc.
- the embodiments of this application do not specifically limit the types of vehicles.
- the vehicle may be an airplane, a ship, or other means of transportation.
- the first aspect provides a resource allocation method, which can be applied to the cockpit of a vehicle.
- the vehicle includes multiple display areas.
- the method can be executed by the vehicle; or, it can also be performed by a vehicle-mounted terminal of the vehicle, such as a vehicle. It can be executed by a machine, etc.; or it can also be executed by a chip or circuit used in a vehicle-mounted terminal, which is not limited in this application.
- the following takes the execution of the vehicle as an example.
- the method may include: allocating a first resource to a first display area, the plurality of display areas including the first display area; and adjusting the resource allocated to the first display area according to the running status of an application in the first display area. First resource.
- the first resource allocated to the first display area is dynamically adjusted according to the operation status of the application in the first display area, which is conducive to ensuring the smooth operation of the application in the first display area and preventing the first display area from running smoothly. This will help improve resource utilization and improve user experience.
- the plurality of display areas further include a second display area
- the method further includes: allocating a second resource to the second display area; adjusting the first The first resources allocated to the display area include: when the resources required for running the application in the first display area are greater than or equal to the available resources in the first resources, allocating part of the second resources to the first display area.
- the first display area may refer to a display screen in a certain area in the cockpit, such as a central control screen, a passenger screen, etc., or it may refer to a certain area of a certain display screen, for example, the central control screen and the passenger screen are combined into one.
- the first display area may refer to the central control display area or the passenger display area.
- the second display area may be any display area among the plurality of display areas that is different from the first display area.
- the available resources in the first resources may refer to idle resources in the first resources, or may also be part of the idle resources.
- the resource ratio of the first resource is 40%
- the resource ratio of used resources in the first resource is 15%
- the resource ratio of idle resources in the first resource is 25%.
- Threshold resources such as 3% resources, or other values
- the resources of the available resources The proportion is 22%.
- the above preset proportion can also be other values, such as 6%, 10%, etc.
- resources can be allocated to multiple display areas.
- the user can interact with the cockpit.
- the vehicle detects the user's input, in response to the user's input, the user can When a new task is added to the display area, the resources required to run the application in the display area may change, which may require resource allocation to multiple display areas.
- it can be through detecting gesture commands, detecting voice commands, detecting the user's input to the display area (such as the user clicking and dragging on the display screen, etc.), or through eye tracking. , to obtain user input.
- resource scheduling can reduce the frequency of resource allocation, which is beneficial to reducing the cost of resource allocation.
- Resource allocation overhead when the resources required for running the application in the first display area are greater than or equal to the available resources in the first resource, resource scheduling can reduce the frequency of resource allocation, which is beneficial to reducing the cost of resource allocation.
- adjusting the first resource allocated to the first display area may include: including a first application in the first display area and the first application During runtime, some of the second resources are allocated to the first display area.
- the first application may be a preset application, such as a setting application, a navigation application, etc.; it may also be an application whose runtime resource requirements are greater than or equal to a preset threshold, for example, the resources required during runtime are greater than or equal to For applications that account for 8% of resources, the preset threshold can also be other values (such as 10%, etc.); the first application can also be one or more types of applications, such as game applications, video applications, and social networking applications. wait.
- the first application can be set in a variety of ways. For example, it can be set before leaving the factory, or it can be set by the user. It can also generate a list of the first application according to the historical operating conditions of the carrier and preset rules.
- resource scheduling can ensure the smooth operation of the first application while reducing the frequency of resource allocation, which is conducive to reducing user usage.
- the cost of resource allocation is a requirement that the first display area includes the first application and the first application is running.
- allocating part of the second resources to the first display area may include: available resources in the second resources are greater than or equal to a predetermined amount. Set a threshold, and/or, when the second display area includes a second application and the second application is not running, allocate part of the second resources to the first display area.
- the second application may also include preset applications, applications whose runtime resource requirements are greater than or equal to a preset threshold, one or more types of applications, etc.
- the second display area includes an instrument display area
- allocating second resources to the second display area includes: allocating multiple tasks to the instrument display area.
- the second resource; allocating part of the second resource to the first display area may include: allocating resources of part of the multiple tasks to the instrument display area, allocating resources of some of the multiple tasks to the instrument display area, The resources of another part of the task are allocated to the first display area.
- the resources allocated for some tasks of the instrument display area can be reserved, and the resources of another part of the tasks can be allocated to the first display area. It is conducive to maintaining the basic functions of the instrument display area, thereby ensuring the safety of users and vehicles.
- the method may further include: determining, based on the priorities of the multiple tasks, that the priority of this part of the tasks is higher than the priority of the other part of the tasks.
- the tasks that need to be maintained in the instrument display area are determined based on the priorities of multiple tasks, which is beneficial to reducing the impact of resource scheduling on the safety of the vehicle and users, thereby helping to ensure the safety of users.
- the method may further include: determining that the vehicle is in a parking state.
- the vehicle before allocating some resources in the instrument display area to the first display area, it is determined whether the vehicle is in a parking state, which is beneficial to improving resource utilization while ensuring the safety of the vehicle and users.
- the first resource and the second resource may come from the same virtual machine.
- the multiple display areas are controlled by multiple virtual machines
- the multiple virtual machines include a first virtual machine and a second virtual machine
- the first virtual machine controls at least two display areas
- the at least two display areas include
- the first display area displays part of the information in the second resource Allocating a source to the first display area includes: preferentially allocating some resources of other display areas in the first virtual machine to the first display area.
- the multiple display areas are controlled by multiple virtual machines
- take the instrument screen, central control screen, and passenger screen as an example.
- the instrument screen is controlled by virtual machine 1
- the central control screen and passenger screen are controlled by virtual machine 2.
- the resources required for the application of the central control screen are greater than or equal to the available resources among the resources allocated for the central control screen, more resources can be allocated to the central control screen.
- the available resources among the resources allocated for the central control screen account for 15%
- the available resources among the resources allocated for the passenger screen account for 10%
- the available resources among the resources allocated for the instrument screen account for 15%.
- the resource ratio is 8%, that is to say, virtual machine 2 can have 25% of the available resources.
- the new tasks involved in the application of the central control screen require 20% of the resources during operation, it is smaller than that in virtual machine 2.
- the available resources corresponding to the passenger screen can be allocated to the central control screen, and the resources currently allocated to the instrument screen remain unchanged.
- the available resources corresponding to the central control screen, passenger screen, and instrument screen The resource proportions are 0%, 5%, and 8% respectively. Since resources are scheduled between virtual machines, kernel scheduling may be involved.
- This method can avoid resource scheduling between virtual machines and reduce the cost of resource allocation; and For example, if the new tasks involved in the application of the central control screen require 27% of the resources during operation, all the available resources corresponding to the passenger screen can be scheduled to the central control screen, and the available resources corresponding to the instrument screen can be used to make up for the remaining gap. , for example, after resource scheduling, the resource proportions of available resources corresponding to the central control screen, passenger screen, and instrument screen are 0%, 0%, and 6% respectively. In other words, all available resources in virtual machine 2 can be , and part of the available resources in virtual machine 1, are allocated to the central control screen, thereby minimizing the resources scheduled between virtual machines and reducing the cost of resource allocation.
- the multiple display areas are controlled by multiple virtual machines
- the multiple virtual machines include a first virtual machine and a second virtual machine
- the first display device is controlled by The first virtual machine controls the second display area and the second virtual machine controls the second display area.
- the second display area is controlled by the second virtual machine. Allocating part of the second resources to the first display area includes: when the resources required for running the application in the first display area are greater than or equal to the available resources in the first virtual machine, allocating the second resources to the first display area. Some of the resources in are allocated to the first display area, and the second resources come from the second virtual machine.
- the resources in the second virtual machine are scheduled to the first display area, which is conducive to reducing the cost of multiple
- the frequency of resource scheduling between virtual machines can reduce the cost of resource allocation.
- the second resource is used to display the video playback interface in the first definition in the second display area
- the method may further include: using the second resource
- the video playback interface in the second definition is displayed through the second display area, and the second definition is lower than the first definition
- the overhead required for video playback in the second display area can be reduced, which is conducive to ensuring the smooth playback of the video, thereby reducing the corresponding cockpit area. impact on user experience.
- the second resource is used to display a multimedia file playback interface in the second display area
- the method may further include: allocating part of the second resource to When the first display area is provided, an interface for pausing playback of the multimedia file is displayed through the second display area.
- the second resource is used to display multiple interface elements in the second display area
- the method may further include: allocating part of the second resource to When the first display area is provided, part of the plurality of interface elements is displayed through the second display area.
- the user's use of the second display area can be restricted, and preemption of resources by the second display area can be avoided, which is beneficial when resources are limited. Achieve rational allocation of resources to ensure the smooth operation of the first display area.
- the first application may include a game application, a social application, or a video application.
- a control device that can be used to control multiple display areas in a cockpit of a vehicle.
- the device may include: a resource allocation unit configured to allocate a first resource to the first display area.
- the display area includes the first display area; data
- the source adjustment unit is configured to adjust the first resource allocated to the first display area according to the running status of the application in the first display area.
- the plurality of display areas may also include a second display area
- the resource allocation unit may also be used to: allocate resources to the second display area
- the adjustment unit may be configured to allocate part of the second resources to the first display area when the resources required for running the application in the first display area are greater than or equal to the available resources in the first resources.
- the resource adjustment unit may be configured to: when the first display area includes the first application and the first application is running, allocate part of the second resources to Give the first display area.
- the resource adjustment unit may be used to: the available resources in the second resource are greater than or equal to the preset threshold, and/or the second display area includes the When the second application is not running, some of the second resources are allocated to the first display area.
- the second display area may include an instrument display area
- the resource allocation unit may be used to: allocate second resources to multiple tasks in the instrument display area; adjust resources The unit can be used to: allocate resources of a part of tasks among multiple tasks to the instrument display area, and allocate resources of another part of tasks among multiple tasks to the first display area.
- the resource adjustment unit may also be used to: based on the priorities of multiple tasks, determine that the priority of this part of the task is higher than the priority of another part of the task.
- the resource adjustment unit before allocating part of the second resources to the first display area, can also be used to: determine that the vehicle is in a parking state. .
- the first resource and the second resource may come from the same virtual machine.
- the multiple display areas are controlled by multiple virtual machines
- the multiple virtual machines include a first virtual machine and a second virtual machine
- the first display area can be controlled by The first virtual machine controls the second display area and can be controlled by the second virtual machine.
- the resource adjustment unit can be used to: the resources required for running the application in the first display area are greater than or equal to those available in the first virtual machine. resources, allocate part of the second resources to the first display area, and the second resources come from the second virtual machine.
- the second resource is used to display the multimedia file playback interface in the second display area
- the resource adjustment unit can also be used to: convert some resources in the second resource When allocated to the first display area, the interface for pausing the playback of the multimedia file is displayed through the second display area.
- the second resource is used to display the video playback interface in the first definition in the second display area.
- the resource adjustment unit can also be used to: When some of the resources are allocated to the first display area, the video playback interface in the second definition is displayed through the second display area, and the second definition is lower than the first definition.
- the second resource is used to display multiple interface elements in the second display area
- the resource adjustment unit can also be used to: convert some resources in the second resource When allocated to the first display area, parts of the multiple interface elements are displayed through the second display area.
- the first application may be a game application, a video application or a social networking application.
- a control device may include: a memory for storing a program; a processor for executing the program stored in the memory.
- the processor is configured to execute the above-mentioned third program.
- a control system may include a computing platform and a display device.
- the computing platform may include the device in any of the possible implementations of the second aspect or the third aspect.
- the fifth aspect provides a vehicle, which includes the device in any possible implementation of the above second aspect or the third aspect, or may include the above fourth aspect and any possible implementation thereof. control system.
- the vehicle is a vehicle.
- a computer program product includes: computer program code.
- the computer program code When the computer program code is run on a computer, it causes the computer to execute the first aspect and any of its possible implementations. method.
- the above computer program code may be stored in whole or in part on the first storage medium, where the first storage medium may be packaged together with the processor, or may be packaged separately from the processor. This is not the case in the embodiments of this application. Specific limitations.
- a computer-readable medium stores instructions. When the instructions are executed by a processor, the processor implements the method in the first aspect and any of its possible implementations. .
- a chip in an eighth aspect, includes a processor for calling a computer program or computer instructions stored in a memory, so that the processor executes the method in the first aspect and any of its possible implementations. .
- the processor is coupled to the memory through an interface.
- the chip system further includes a memory, and a computer program or computer instructions are stored in the memory.
- a resource allocation method, device and carrier which can dynamically adjust the first resource allocated to the first display area according to the operation status of the application in the first display area, which is conducive to improving the performance of the first display area.
- the resource utilization rate is conducive to ensuring the smooth operation of applications in the first display area and improving the user experience.
- the resources required for running the application in the first display area are greater than or equal to the available resources in the first resource, and/or, the first display area includes the first application and when the first application is running, the first application will Part of the two resources is allocated to the first display area, which can reduce the frequency of resource scheduling and reduce the cost of resource allocation.
- the available resources in the second resource and the operation status of the second application in the second display area it is possible to improve resource utilization and ensure the smooth operation of the first display area while reducing resource allocation to the operation of the second display area. Impact.
- the resources allocated for some tasks in the instrument display area can be reserved, and the resources for other tasks can be allocated to the first display area, which is beneficial to maintaining the instrument display.
- the basic functions of the area are beneficial to ensuring the safety of users and vehicles; further, the tasks that need to be maintained in the instrument display area can be determined based on the priorities of multiple tasks to reduce the impact of resource scheduling on the safety of vehicles and users; through Determining whether the vehicle is in a parking state will help improve resource utilization while ensuring the safety of the vehicle and users.
- By scheduling the resources of the same virtual machine to the first display area it is possible to avoid resource scheduling among multiple virtual machines and reduce the cost of resource allocation; the available resources in the first virtual machine cannot satisfy the first display area.
- resources are required for the running of an application, by scheduling resources in other virtual machines to the first display area, it is helpful to reduce the frequency of resource scheduling among multiple virtual machines and reduce the overhead for resource allocation.
- the overhead required for video playback in the second display area can be reduced, which is conducive to ensuring the smooth playback of the video, thereby reducing the impact on the user experience in the corresponding cockpit area;
- pausing the multimedia playback interface of the second display area it is helpful to reduce the demand for resources in the second display area and to achieve reasonable allocation of resources; by displaying parts of multiple interface elements in the second display area, the user can be restricted
- the use of the second display area can avoid the preemption of resources by the second display area, and is conducive to the rational allocation of resources when resources are limited, thereby ensuring the smooth operation of the first display area.
- Figure 1 is a functional block diagram of a vehicle provided by an embodiment of the present application.
- Figure 2 is a schematic diagram of a vehicle cockpit scene provided by an embodiment of the present application.
- Figure 3 is a schematic diagram of a system provided by an embodiment of the present application.
- FIG. 4 is a schematic diagram of the system architecture of a control device provided by an embodiment of the present application.
- Figure 5 is a schematic diagram of a resource scheduling method provided by an embodiment of the present application.
- Figure 6 shows a graphical user interface provided by an embodiment of the present application.
- Figure 7 shows another graphical user interface provided by an embodiment of the present application.
- Figure 8 shows a resource allocation scenario and a set of graphical user interfaces provided by an embodiment of the present application.
- Figure 9 shows another resource allocation scenario and a set of graphical user interfaces provided by an embodiment of the present application.
- Figure 10 shows another resource allocation scenario and a set of graphical user interfaces provided by an embodiment of the present application.
- Figure 11 shows another resource allocation scenario and a set of graphical user interfaces provided by an embodiment of the present application.
- Figure 12 shows another resource allocation scenario and a set of graphical user interfaces provided by an embodiment of the present application.
- Figure 13 shows another resource allocation scenario and a set of graphical user interfaces provided by an embodiment of the present application.
- Figure 14 shows another resource allocation scenario and a set of graphical user interfaces provided by an embodiment of the present application.
- Figure 15 is a schematic flow chart of a resource allocation method provided by an embodiment of the present application.
- Figure 16 is a schematic block diagram of a control device provided by an embodiment of the present application.
- FIG 17 is a schematic block diagram of another control device provided by an embodiment of the present application.
- FIG. 1 is a functional block diagram of a vehicle 100 provided by an embodiment of the present application.
- Vehicle 100 may include a perception system 120 , a display device 130 , and a computing platform 150 , where perception system 120 may include one or more sensors that sense information about the environment surrounding vehicle 100 .
- the sensing system 120 may include a positioning system.
- the positioning system may be a global positioning system (GPS), Beidou system or other positioning systems, or an inertial measurement unit (IMU).
- the sensing system 120 may also be It may include one or more of lidar, millimeter wave radar, ultrasonic radar and camera devices.
- the computing platform 150 may include one or more processors, such as processors 151 to 15n (n is a positive integer).
- the processor is a circuit with signal processing capabilities.
- the processor may be a circuit with instructions. Circuits with read and run capabilities, such as central processing unit (CPU), microprocessor, graphics processing unit (GPU) (can be understood as a microprocessor), or digital signal processor (digital signal processor, DSP), etc.; in another implementation, the processor can achieve certain functions through the logical relationship of the hardware circuit. The logical relationship of the hardware circuit is fixed or can be reconstructed.
- the processor is a dedicated integrated Hardware circuits implemented by application-specific integrated circuit (ASIC) or programmable logic device (PLD), such as field programmable gate array (FPGA).
- ASIC application-specific integrated circuit
- PLD programmable logic device
- FPGA field programmable gate array
- the process of the processor loading the configuration file and realizing the hardware circuit configuration can be understood as the process of the processor loading instructions to realize the functions of some or all of the above units.
- it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as a neural network processing unit (NPU), tensor processing unit (TPU), deep learning processing Unit (deep learning processing unit, DPU), etc.
- the computing platform 150 may also include a memory, which is used to store instructions. Some or all of the processors 151 to 15n may call instructions in the memory and execute the instructions to implement corresponding functions.
- the display device 130 in the cockpit is mainly divided into two categories.
- the first category is a vehicle-mounted display screen;
- the second category is a projection display screen.
- the vehicle display screen is a physical display screen and an important part of the vehicle infotainment system.
- There can be multiple displays in the cockpit such as digital instrument display, central control screen, passenger in the co-pilot seat (also known as The display in front of the front passenger), the display in front of the left rear passenger, the display in front of the right rear passenger, and even the car window can be used as a display.
- Head-up display also known as head-up display system. It is mainly used to display driving information such as speed and navigation on the display device in front of the driver (such as the windshield).
- HUD can include combined head-up display (combiner-HUD, C-HUD) system, windshield-type head-up display (windshield-HUD, W-HUD) system, and augmented reality head-up display system (augmented reality HUD, AR-HUD).
- FIG. 2 is a schematic diagram of a vehicle cabin scene provided by an embodiment of the present application.
- the vehicle cockpit may include one or more vehicle-mounted display devices.
- the vehicle cockpit may include a central control display screen 201 (or, it may also be called a central control screen), a display screen 202 (or, it may also be called a central control screen).
- a central control display screen 201 or, it may also be called a central control screen
- a display screen 202 or, it may also be called a central control screen.
- It can be called the passenger entertainment screen, or simply called the passenger screen
- the display screen 203 or, it can also be called the entertainment screen in the left area of the second row, or simply called the second row left screen
- the display screen 204 or it can also be called the second row left screen).
- the display screen 205 (or, it can also be called the instrument screen) and other display screens; for another example, it can also include W -HUD etc. (not shown in Figure 2).
- GUI graphical user interface
- the cockpit may include a central control screen, a passenger entertainment screen, an entertainment screen on the left side of the second row, an entertainment screen on the right side of the second row, an entertainment screen on the left side of the third row, and an entertainment screen on the right side of the third row.
- area entertainment screen for a passenger car, the cockpit may include a front row entertainment screen and a rear row entertainment screen; or, the cockpit may include a display screen in the driving area and an entertainment screen in the passenger area.
- FIG. 3 is a schematic diagram of a system provided by an embodiment of the present application.
- the system may include a device 300 and one or more display devices, such as display devices 351 to 35m (m is a positive integer).
- the device 300 can allocate resources to the multiple display devices, and the display device can realize its displayed function according to the allocated resources.
- the device 300 can also realize scheduling of the allocated resources of the multiple display devices.
- the entertainment screen in the passenger area can also be set on the top of the cabin.
- the device 300 can dynamically adjust the multiple displays according to the tasks corresponding to the multiple display devices.
- the resources corresponding to the device can be connected to a display device through an interface.
- the display device can rely on the CPU, GPU, memory, cache and other resources allocated by the device 300 to realize its display function.
- the display can be adjusted.
- the resources corresponding to the device for example, based on the user's input on a certain display device, adjust the corresponding CPU, GPU, memory (memory, Mem), cache and other resources of multiple display devices including the display device.
- the CPU can Including one or more cores, the number of CPU cores can refer to the number of cores of the CPU, and the core of the CPU can be recorded as CPU core.
- the device 300 when the device 300 is connected to the display device through the communication interface, adjust the corresponding The resources can also be called the resources corresponding to the adjustment interface.
- the flexibility of resource allocation can be improved, which is beneficial to improving resource utilization, improving the response to user input, improving user experience, and also ensuring other displays. normal operation of the screen.
- the device 300 may be a vehicle, a chip, a vehicle system, a vehicle terminal, a system-on-chip (SoC), etc.
- the vehicle system or vehicle terminal may include one or more chips.
- the display device may be a display device included in the vehicle (for example, the display devices 201, 202, etc. in Figure 2).
- the display device may be a display device associated with the chip, the vehicle system, etc. (for example, a display device connected to the chip, the vehicle system, and controlled by the chip, the vehicle system, etc.).
- this application will take the device as an SoC as an example for description later in this application. That is to say, the SoC described later in this application can be replaced by the device 300 .
- the device 300 can respectively control different display devices is used as an example for description, and the embodiments of the present application are not limited thereto.
- the device 300 can also control the display of different display areas in the same display device.
- the central control screen and the passenger screen of the vehicle can be different display areas of the same display screen (for example, the central control display area and the passenger display area).
- the device 300 can allocate respective resource proportions to different display areas of the display screen to realize the display functions of the different display areas.
- Such a display device that can be divided into multiple display areas can be called a continuous screen.
- FIG. 4 is a schematic diagram of the system architecture of a control device provided by an embodiment of the present application.
- the control device 400 may be an example of the device 300 described in FIG. 3 .
- the control device 400 can run one or more types of operating systems, and manage the operating system through the virtual machine.
- multiple virtual machines can be managed through a virtual machine manager (hypervisor).
- the hypervisor can schedule hardware resources such as CPU cores, external devices, and memory to provide each virtual machine with Allocate different resources to each virtual machine and isolate the resources occupied by each virtual machine.
- multiple operating systems can share resources in terms of hardware, and can remain independent and non-interfering in terms of software. Therefore, when any operating system has a software failure or crashes, other operating systems can still continue to operate normally.
- the operating system can realize real-time processing of tasks based on a preemptible priority scheduling policy.
- control device 400 can allocate resources to the display device.
- virtual machine 1 can run the first operating system, such as real-time operating system (RTOS), QNX operating system, guest Linux operating system (guest linux operation system), etc.
- RTOS real-time operating system
- QNX QNX operating system
- guest Linux operating system guest linux operation system
- it can be Application domain 1 runs on virtual machine 1.
- application domain 1 can include instrument applications, and the instrument screen can display applications of this instrument domain, airbag failure indication, low tire pressure and tire pressure system failure indication, and braking system Applications for warning indication, steering lock system failure indication, anti-lock braking system failure indication, etc.; virtual machine 2 can run a second operating system, which can be the same as or different from the first operating system, an implementation , the operating system is, for example, a guest Linux operating system, Hongmeng operating system, Android operating system, or other operating system (such as other operating systems based on Linux architecture).
- the application can be run on the virtual machine 2 Domain 2, for example, application domain 2 may include an in-vehicle infotainment (IVI) application, and the display screen 201, the display screen 202, the display screen 203, and the display screen 204 may display the IVI application, such as a video application, Game applications, social applications, navigation applications, browser applications, gallery applications, etc., the display screens 201, 202, 203, 204 can also be called IVI entertainment screens.
- IVI in-vehicle infotainment
- the memory space can be divided into configurable resource pools, and by allocating address spaces to corresponding tasks, corresponding memory can be allocated for the multiple screens. It should be understood that the method of allocating memory can refer to related technologies and will not be described again here.
- resources can be allocated to the multiple display screens according to the resource requirements of the task. For example, depending on the running conditions of the application, different tasks will be involved.
- the resources required by the task can be characterized by the computing power requirements required by the task. Parameters that characterize the computing power performance can be used, such as the number of millions of instructions executed per second. (dhrystone million instructions executed per second, DMIPS), etc., represent the computing power of the CPU and the resources required for the task; for example, the resources required for the task can be characterized according to the proportion of resources required by the task in CPU, memory, GPU and other resources. resources required.
- resources can be dynamically allocated to the display screen according to the resources required by the task.
- FIG. 5 is a schematic diagram of a resource scheduling method provided by an embodiment of the present application.
- resource scheduling can be implemented through two-level scheduling.
- the first-level scheduler can divide task groups according to the display screen, operating system, etc. to create scheduling partitions, thereby achieving the isolation of CPU, memory, cache and other resources of each scheduling partition.
- multiple task groups of the instrument domain can be divided based on driving safety priority, real-time performance priority, etc.
- the instrument domain can be assigned task group 1, task group 2 to task group 3.
- task group 1 can include Tasks corresponding to applications such as tire pressure system failure warning, steering lock system failure indication, airbag failure indication, etc.
- Task group 2 can include tasks corresponding to applications such as vehicle speed, battery power, high beam indication, low beam indication, etc.
- Task group 3 can include tasks corresponding to applications such as music and navigation.
- Tasks involved in task group 1 to task group 3 can be displayed on the instrument screen.
- the instrument screen can display the high beam.
- the IVI domain can be assigned task group 4 to task group p (p is a positive integer).
- task group 4 can include
- the task group 5 may include tasks corresponding to game applications, etc., or multiple task groups in the IVI domain may be divided according to the display device; for another example, the scheduling partition (or called Partition), for example, scheduling partition 1 may include task groups 1 to 3, and scheduling partition 2 may include task groups 4 to p.
- scheduling partition 1 may correspond to virtual machine 1 shown in Figure 4, and scheduling partition 2 may Corresponding to virtual machine 2 shown in Figure 4, for another example, scheduling partition 1 can include tasks 1 and 2, scheduling partition 2 can include task groups 4 and 5, or in other words, scheduling partition 1 can include virtual machine 1 shown in Figure 4.
- Part of the resources of the partition 2 can include part of the resources of the virtual machine 2, etc.; for another example, the secondary scheduler can implement real-time processing of the tasks in the partition based on the priority scheduling policy.
- the scheduling policy can be polling ( round robin (RR) scheduling strategy, first in first out (FIFO) scheduling strategy, sporadic (sporadic) scheduling strategy, etc.; for another example, the priority scheduling strategy can be determined based on the task type, such as the voice interaction task
- the priority can be higher than the priority of the game application task and/or the video application task, the priority of the game application task can be higher than the priority of the video application task, etc., for example, in the process of running the game application task and the video application task
- the resources used for the video application task can be adjusted to the voice interaction task first to ensure its operation, so that real-time processing of tasks within the partition can be achieved based on the scheduling policy.
- resources can be dynamically allocated to multiple screens based on usage scenarios to improve resource utilization.
- the display device can correspond to different tasks, and thus can have different resource requirements.
- a music application is run on the display screen 202 and a video application is run on the display screen 203.
- a voice interaction task is run on the display screen 202 and an email application is run on the display screen 203.
- the display screen 202 and display screen 203 may have different resource requirements.
- the SoC can increase the resource ratio of display screen 202 to facilitate the display screen 202
- the tasks in the system run smoothly, thereby improving the user experience through reasonable allocation of resources.
- the proportion of resources corresponding to each display device may change. For example, at time t0, the proportion of resources allocated to the display screen 201 is 40%. At time t1, when the user's voice interactive input is detected and the display screen 201 is used to respond to the user's voice interactive operation, you can Schedule more resources for the display screen. For example, after resource scheduling is completed, the proportion of resources corresponding to the display screen 201 can be 45%; for another example, resources in the same scheduling partition can be scheduled first, such as display Screens 201 and 202 can correspond to the same partition.
- the resources in the partitions corresponding to the display screen 201 and the display screen 202 can be scheduled through the secondary scheduler.
- the overhead for resource scheduling can be reduced.
- resource scheduling can be performed based on the computing power requirements of the task. For example, as the application runs, different tasks may be involved, and resource scheduling is performed based on the computing power requirements of the tasks, or it may also be called resource scheduling based on the running conditions of the application; for another example, the computing power requirements of the task, such as , the computing power requirements of the task can be determined based on the resources used in the past execution of the task. For example, the computing power requirements of the task can also be determined based on the test results of the device and application by users (such as developers, etc.).
- the proportion of resources allocated to the display screen 201 is 40%, and the proportion of resources used by the tasks involved is 20%. %, when the user's input for the display screen is detected, according to the computing power requirements of the task corresponding to the input, when the resources corresponding to the display screen 201 can meet the computing power requirements of the task, the adjustment does not need to be made.
- the resource proportion of the display screen 201 When the resources allocated to the display screen 201 cannot meet the computing power requirements of the task, the resources can be scheduled, so that dynamic allocation of resources can be achieved.
- resource allocation of instrument screens and IVI entertainment screens can be realized through a two-level scheduler based on usage scenarios, thereby ensuring resource isolation and reliability of instrument screens and IVI entertainment screens while improving resource utilization. , and at the same time, by scheduling tasks Fast channel to reduce ineffective switching overhead.
- the embodiment of the present application uses the same control device (such as a vehicle-mounted chip, a vehicle-mounted system, a vehicle-mounted terminal, etc.) to support the instrument screen, the central control screen (ie, the display screen 201) and the passenger screen (ie, the display screen 202).
- the control device such as a vehicle-mounted chip, a vehicle-mounted system, a vehicle-mounted terminal, etc.
- control device can also support more display screens (for example, instrument screen, display screen 201, display screen 202, display screen 203, etc.), or fewer display screens (for example, the resource allocation of the instrument screen, the display screen 201), or the combination of other display screens (such as the combination of the instrument screen, the central control screen, the display screen 203, etc.), the embodiments of the present application do not limit this.
- the description of resource allocation in the following embodiments uses the corresponding resource allocation for the display screen.
- the resources of the screen are 20%, 40%, and 40% respectively), which can mean that the resources allocated to the instrument screen, central control screen, and passenger screen account for 20%, 40%, and 40% of the resources of the control device respectively. .
- FIG. 6 shows a graphical user interface provided by an embodiment of the present application.
- the status bar 2051 can be displayed on the instrument screen.
- the status bar 2051 can display vehicle status icons.
- the status bar 2051 can include door status icons 20511, seat belt icons 20512, high and low beam icons 20513, gear icons 20514, etc.;
- the content display area 2052 can include functions. Consumption tab 20521, vehicle condition status tab 20522, music tab 20523, etc.
- the vehicle condition status tab 20522 can be in an activated state, that is to say, the current content display area 2052 can mainly display the vehicle condition status, such as through the tire pressure icon 20524 The tire pressure of the vehicle's tires can be displayed, the battery status of the vehicle can be displayed through the battery status icon 20525, etc.; the function bar 2051 can include a time display icon 20531, a temperature display icon 20532, a cruising range icon 20533, etc.
- FIG. 7 shows another graphical user interface provided by an embodiment of the present application.
- the instrument screen can display the navigation prompt interface 20526.
- the navigation prompt interface can prompt the user to control the vehicle to drive to the left side of the current lane. Lane, by displaying the navigation status icon on the instrument screen, it can prevent the driver from diverting his attention to the side (such as the central control screen, etc.) and distracting him.
- the instrument screen can display the speedometer 2054 and the power meter 2055. That is to say, the instrument screen can display the vehicle speed, power, etc. in the form of a dial, and display the vehicle speed, power, etc. in the form of a dial. Changes can provide users with a more intuitive experience.
- the instrument screen can also display other forms of dials depending on the type of vehicle.
- the power meter 2055 can be replaced by an engine tachometer, and so on.
- the instrument panel may be a combination of mechanical instruments and display devices.
- the speedometer 2054 can be a mechanical instrument
- the power meter 2055 can be a mechanical instrument
- the navigation prompt interface 2056 can be displayed through the display device.
- the instrument screen may include multiple display modes.
- the display mode of the instrument screen can include economic mode and sports mode.
- the instrument screen can display a graphical user interface according to the economic mode.
- the display interface of the economic mode can be as shown in Figure 6.
- the display interface of the instrument screen can be as shown in (a) in Figure 7; for example, when it is detected that the user has adjusted the driving mode and the instrument screen display mode to the sports mode, the instrument screen can be displayed in the sports mode, such as , the display interface of the sports mode can be shown in (b) of Figure 7.
- the instrument screen can correspond to different tasks, and the instrument screen can have different resource requirements.
- FIG. 8 shows a resource allocation scenario and a set of GUIs provided by the embodiment of the present application.
- the multiple display devices may include an instrument screen, a central control screen, and a passenger screen.
- the multiple display devices may be supported by the same SoC, and the SoC may be the multiple display devices. Allocate resources to each display device.
- the CPU allocated by the SoC to the instrument screen, central control screen and passenger screen can be 20%, 50% and 30% respectively.
- the SoC allocates CPU to the instrument screen, central control screen and passenger screen. of memory can be 20%, 50% and 30% respectively.
- user A is located in the main driving area of the vehicle cabin.
- the vehicle cabin area may also include user B.
- the user B may be located in the passenger driving area of the vehicle cabin.
- the instrument screen can display the status bar, display area and function bar, and the central control screen can display the content display area 2011 and the function bar 2012.
- the content display area 2011 can display the application program. information.
- the first tab among three tabs may be displayed in the content display area 2011.
- the first tab may include an icon of the address book application, an icon of the phone application, an icon of the mail application, and an icon of the settings application. , navigation application icons, music applications icons, video application icons, etc.
- the application information displayed on the central control screen can be set when the vehicle leaves the factory, or it can be added by the user during use.
- the passenger screen can also display application information.
- the passenger screen can display icons of video applications, music applications, game applications, etc.
- the passenger screen can also use multiple tabs to display application information. Function bars, etc. can also be displayed. At this time, resource allocation among the multiple display devices may be as shown in (a) in FIG. 8 .
- the application information displayed on the display screen may be related to the user, and the vehicle may authenticate the user before the display screen displays the application information related to the user.
- the display screen can display the icon of the navigation application and the icon of the setting application; when user A logs in to the account on the central control screen, the display screen can display (b) in Figure 8 The GUI displayed on the central control screen; the vehicle can authenticate user A through face recognition, QR code detection, and obtaining the account and password information input by user A. After authenticating user A, it can be displayed as shown in Figure 8 The GUI shown in (b).
- the central control screen can also display application icons in the form of cards.
- the card 801 corresponding to services and applications, the card 802 corresponding to memo, the card 803 corresponding to video application, the card 804 corresponding to alarm clock, etc. can also be displayed through the central control screen; where, the card
- the displayed text information (for example, applications and services, memos) and control information (for example, memos, alarm clock controls, etc.) can be set by the user, and the card can also only display the icon of the application.
- card 803 only displays car videos.
- An application icon can also be associated with multiple applications.
- the central control screen can display an interface as shown in (b) in Figure 8.
- the interface displayed by other display devices such as the passenger screen and 203 may also include one or more cards.
- the displayed interface may include more or fewer cards.
- the displayed cards may also be preset or user-defined. Defined.
- the application information displayed on the central control screen in its content display area 2011 can be set in advance by user A; or it can also be the vehicle used by user A within a certain period of time. Applications are ranked by frequency.
- the Bluetooth function icon, Wi-Fi function icon, cellular network signal icon and function bar 2012 displayed on the central control screen can be fixed, and this information does not need to change with changes in the user's identity information. It does not need to change with the tab displayed in the content display area. For example, when the central control screen displays the second tab among three tabs, the Bluetooth function icon and function bar 2012 may be fixed.
- the application information that the display screen can display is determined based on the position of the display screen in the vehicle cockpit. For example, since the passenger screen is located in the passenger area of the vehicle cockpit, user A in the main driving area may not be able to conveniently obtain navigation information through the passenger screen when controlling the vehicle. Therefore, the icon of the navigation application and the navigation application can be displayed in the passenger area. It is displayed on the central control screen but cannot be displayed on the passenger screen. For example, when the user turns on navigation through voice instructions in the cabin, the central control screen can display the interface of the navigation application, while the passenger screen does not need to display the navigation-related interface.
- the passenger screen when there are no users in the passenger area, or when users in the passenger area have no interaction with the passenger screen within a preset time, the passenger screen can display a sleep interface.
- the sleep interface described in the embodiment of the present application is similar to the always on display (AOD) interface on the terminal device (for example, a mobile phone or a computer).
- AOD always on display
- the vehicle can use the self-illuminating characteristics of the display screen to light up some areas on the display screen to display information such as clock, date, notifications, animations, etc., so that the user can view relevant information when the screen is turned off. information.
- resource allocation of multiple display devices may be determined based on whether a user is detected in the cockpit area corresponding to the display device. For example, when the vehicle is powered on, the instrument screen can display the GUI as shown in Figure 6, and the central control screen can display the GUI as shown in (b) of Figure 8. When the vehicle does not detect a user in the passenger area, more The resources are allocated to the instrument screen and central control screen that are easier for the driver to access, which can improve the operation and response speed of the instrument screen and central control screen. For example, at this time, the co-pilot screen can display the sleep interface to reduce the consumption of resources.
- the CPU allocated by the SoC to the instrument screen, central control screen and passenger screen can be 25%, 65% and 10% respectively, and the memory allocated can be 25%, 65% and 10% respectively; when the vehicle detects When there is a user in the passenger area, the instrument screen, central control screen, and passenger screen can display the GUI as shown in (b) in Figure 8, and the resources allocated by the SoC to these multiple screens can be as shown in (a) in Figure 8.
- the resource ratio of the instrument screen can be greater than or equal to the preset threshold (such as 20% of the resource ratio, etc.) to ensure its safe and stable operation during vehicle use.
- the preset threshold such as 20% of the resource ratio, etc.
- Figure 9 shows another resource allocation scenario and a set of GUIs provided by the embodiment of the present application.
- the multiple display devices may include an instrument screen, a central control screen, and a passenger screen.
- the multiple display devices may be supported by the same SoC, and the SoC may be the multiple display devices. Allocate resources to a display device.
- the SoC is an instrument screen, center
- the CPU allocated to the control screen and the passenger screen can be 20%, 60% and 20% respectively, while the allocated memory can be 20%, 60% and 20% respectively.
- user A is located in the main driving area of the vehicle cabin.
- the vehicle cabin area may also include user B, and the user B may be located in the passenger driving area of the vehicle cabin.
- the central control screen can display the navigation page and the human-computer interaction model 2013.
- the vehicle receives the user's voice command "Little A, small A" through the microphone, the vehicle can respond to the voice command through the central control screen, for example, human-computer interaction
- the model can display "Here, Master! and respond to subsequent voice commands from the user.
- the passenger screen can display the time and date through the information screen display function.
- the resource allocation of the multiple display devices may be determined according to the application running on the display device.
- the main driving area of the vehicle includes user A
- the passenger driving area of the vehicle includes user B.
- the instrument screen, central control screen, and passenger driving screen can display the GUI as shown in (b) of Figure 8
- the resource proportion allocated by the SoC that supports the multiple display devices to the multiple display devices can be shown in (a) in Figure 8.
- the central control screen can display the user's voice command.
- Computer interaction model 2013, for example, as shown in (b) in Figure 9, correspondingly, the SoC can adjust the resource proportions of the multiple display devices.
- the resources allocated by the SoC to the multiple display devices can be as shown in Figure 9 As shown in (a) in Figure 9; further, since the proportion of resources allocated by the SoC to the passenger screen is reduced, the passenger screen can display the GUI as shown in (b) in Figure 9, and the sleep interface is displayed to reduce the cost. Resource requirements, or you can limit the applications available for use on the passenger screen.
- the passenger screen when it is detected that the user clicks on the game application in the GUI passenger screen as shown in Figure 8 icon, the passenger screen can display prompt 2021 (for example, the prompt can be "This application is temporarily unavailable, please try again later"), or the passenger screen can display simplified application information, as shown in Figure 9 As shown in (d) of Figure 8, the passenger screen can display simplified application information. For example, compared with the GUI shown in (b) in Figure 8, the passenger screen can display icons of some applications, and the passenger screen can display music applications.
- Figure 10 shows another resource allocation scenario and a set of GUIs provided by this embodiment of the present application.
- the multiple display devices may include an instrument screen, a central control screen, and a passenger screen.
- the multiple display devices may be supported by the same SoC, and the SoC may be the multiple display devices. Allocate resources to each display device.
- the SoC can allocate 20%, 45% and 35% of the CPU to the instrument screen, central control screen and passenger screen respectively, and the allocated memory can be 20%, 45% and 35% respectively.
- the passenger screen can display the opening interface of the game application.
- the opening interface can indicate that the game has been started, but the main program of the game is not running. For example, if As shown in (b) in Figure 10. At this time, the central control screen can display dynamic or static wallpapers.
- Figure 11 shows another resource allocation scenario and a set of GUIs provided by the embodiment of the present application.
- the multiple display devices may include an instrument screen, a central control screen, and a passenger screen.
- the multiple display devices may be supported by the same SoC, and the SoC may be the multiple display devices. Allocate resources to each display device.
- the SoC can allocate 20%, 40% and 40% of the CPU to the instrument screen, central control screen and passenger screen respectively, and the SoC can allocate 20%, 40% and 40% CPU to the instrument screen, central control screen and passenger screen.
- the allocated memory can be 20%, 40% and 40% respectively.
- the passenger screen can display the main program interface of the game application, and this interface can represent the main program of the running game.
- the central control screen can display the sleep interface.
- the proportion of resources of multiple display devices can be determined based on the running status of the application.
- the main driving area of the vehicle includes user A
- the passenger driving area of the vehicle includes user B.
- the instrument screen, central control screen, and passenger driving screen can display the GUI as shown in (b) of Figure 8
- the proportion of resources allocated by the SoC to the multiple display devices can be shown in (a) in Figure 8; after detecting that the user clicks on the icon of the game application in the passenger screen, the passenger screen can display the game application icon. Open the interface, such as the GUI shown in (b) of Figure 10.
- the SoC can adjust the resource proportions of the multiple display devices.
- the resources allocated by the SoC to the multiple display devices can be as shown in Figure 10(b).
- the central control screen can still display the GUI as shown in (b) in Figure 8, or , due to the reduction in the proportion of resources allocated by the SoC to the central control screen, the central control screen can display a sleep interface or a wallpaper interface, such as the GUI shown in (b) in Figure 10; further, after detecting the user When the control 2022 is clicked, the passenger screen can display the main program interface of the game application, for example, the GUI shown in (b) in Figure 11.
- the SoC can adjust the resource proportions of the multiple display devices, for example, the The resources allocated by the SoC to these multiple display devices can be shown in (a) in Figure 11.
- the SoC is a central control screen
- the proportion of allocated resources is further reduced, and the central control screen can display Display the hibernation interface, such as the GUI shown in (b) in Figure 11.
- Figure 12 shows another resource allocation scenario and a set of GUIs provided by the embodiment of the present application.
- the multiple display devices may include an instrument screen, a central control screen, and a passenger screen.
- the multiple display devices may be supported by the same SoC, and the SoC may be the multiple display devices. Allocate resources to each display device.
- the SoC can allocate 15%, 35% and 50% of the CPU to the instrument screen, central control screen and passenger screen respectively, and the allocated memory can be 15%, 35% and 50% respectively.
- the user when the vehicle is in a parking state, the user can be located in the passenger area of the vehicle cabin. After the vehicle detects that the user clicks on the icon of the game application displayed on the passenger screen, the passenger screen can display the opening interface of the game application.
- the opening interface can indicate that the game has been started, but the main program of the game is not running. For example, if As shown in (b) in Figure 12. At this time, the instrument screen 205 can display the sleep interface.
- Figure 13 shows another resource allocation scenario and a set of GUIs provided by the embodiment of the present application.
- the multiple display devices may include an instrument screen, a central control screen, and a passenger screen.
- the multiple display devices may be supported by the same SoC, and the SoC may be the multiple display devices. Allocate resources to each display device.
- the CPU allocated by the SoC to the instrument screen, central control screen and passenger screen can be 5%, 35% and 60% respectively, and the SoC allocates 5%, 35% and 60% CPU to the instrument screen, central control screen and passenger screen.
- the allocated memory can be 5%, 35% and 60% respectively.
- the passenger screen can display the main program interface of the game application, and this interface can represent the main program of the running game.
- the instrument screen 205 and the central control screen can display the sleep interface.
- the proportion of resources of multiple display devices can be determined based on the operating status of the vehicle.
- the main driving area of the vehicle includes user A
- the passenger driving area of the vehicle includes user B.
- the instrument screen, central control screen, and passenger driving screen can display as shown in Figure 8 (b) shows the GUI.
- the resource proportion allocated by the SoC to the multiple display devices can be shown in (a) in Figure 8; when the vehicle is in the parking state, when the user clicks on the passenger screen is detected After the icon of the game application, the passenger screen can display the opening interface of the game application, for example, the GUI shown in (b) in Figure 12.
- the resource ratio of the passenger screen can be increased.
- the resources of the central control screen and/or the instrument screen 205 can be allocated to the passenger screen.
- the available resources of the central control screen can meet the resource requirements of the passenger screen
- the available resources of the central control screen can be allocated to the passenger screen.
- the resources of the instrument screen 205 can be allocated to the passenger screen, for example, the idle resources of the central control screen can be adjusted to the IVI domain , and assigned to the passenger screen.
- the resources allocated by the SoC to the multiple displays can be as shown in (a) in Figure 12, and the multiple displays can display as shown in (b) in Figure 12 GUI, for another example, when the idle resources of the instrument screen still cannot meet the resource requirements of the instrument screen 202, some tasks in the instrument domain can be stopped or suspended, its resources can be released, and the resources can be adjusted to the passenger screen; for another example, in When it is detected that the user clicks on the control 2022, the co-pilot screen can display the main program interface of the game application as shown in (b) of Figure 13, and can pause or release some tasks in the instrument field, release its resources and allocate resources to the co-pilot screen.
- the resources allocated by the SoC to the multiple devices can be as shown in (a) in Figure 13; for another example, after the vehicle is powered on, the resource proportions of the multiple display devices can be as shown in (a) in Figure 8,
- the displayed GUI can be as shown in (b) of Figure 8.
- the instrument screen can maintain its current GUI. For example, it can still display the GUI as shown in (b) of Figure 8, or
- the sleep interface can be displayed, such as the GUI shown in (b) in Figure 12.
- the proportion of resources allocated by the central control screen is reduced, it can maintain the current display interface, such as the GUI shown in (b) in Figure 12.
- a GUI may be displayed, or a hibernation interface may be displayed, such as the GUI as shown in (b) of Figure 13 , or dynamic or static wallpapers may be displayed, such as a GUI as shown in (b) of Figure 10 .
- Figure 14 shows another resource allocation scenario and a set of GUIs provided by this embodiment of the present application.
- the multiple display devices may include an instrument screen, a central control screen, and a passenger screen.
- the multiple display devices may be supported by the same SoC, and the SoC may be the multiple display devices. Allocate resources to each display device.
- the CPU allocated by the SoC to the instrument screen, central control screen and passenger screen can be 20%, 45% and 35% respectively, and the SoC allocates 20%, 45% and 35% CPU to the instrument screen, central control screen and passenger screen.
- the allocated memory can be 20%, 45% and 35% respectively.
- user A is located in the main driving area, and user B can be located in the passenger area of the vehicle cockpit.
- the passenger screen can play videos, and the central control screen can display dynamic or static wallpapers.
- the vehicle may display a GUI as shown in (d) of Figure 14.
- the resources allocated by the SoC to the multiple display devices may be as shown in (c) of Figure 14.
- the main driving area of the vehicle includes user A
- the passenger driving area of the vehicle includes user B.
- the instrument screen, central control screen, and passenger driving screen can display As shown in (b) of Figure 8, the GUI is shown in (b) of Figure 8.
- the proportion of resources allocated by the SoC that supports the multiple display devices to the multiple display devices can be as shown in (a) of Figure 8.
- the passenger screen can play the video.
- the SoC can adjust the resource ratio of the multiple display devices.
- the resources allocated by the SoC to the multiple display devices can be as shown in Figure 14 (a ), by improving the allocation of resources to the passenger screen, it can ensure that the video is played smoothly on the passenger screen.
- the central control screen can display dynamic or static wallpapers, or display In the sleep interface, when the vehicle is driving, in order to ensure the safe and stable operation of the instrument screen, the proportion of resources allocated by the SoC to the instrument screen can be greater than or equal to the preset threshold.
- the SoC when detecting the user's voice command, can adjust the resources it allocates to the multiple display devices. For example, the SoC allocates resources to the instrument screen, central control screen, and passenger screen.
- the CPU can be 20%, 60% and 20% respectively, and the memory allocated by the SoC to the instrument screen, central control screen and passenger screen can be 20%, 60% and 20% respectively.
- the central control screen can display the human-computer interaction model and respond to the user's subsequent voice command. At this time, the passenger screen can pause what it is playing. video.
- the central control screen can display a human-computer interaction model, and the co-pilot screen can pause the game it displays, or it can reduce its The graphics quality of the game being played.
- the central control screen when the user's voice command is detected, can display a human-computer interaction model and respond to the user's subsequent voice command.
- the passenger screen can also reduce the image quality of the video it plays. For example, the passenger screen can reduce the quality of the video it plays from ultra-high definition to high definition or standard definition.
- FIG. 15 is a schematic flow chart of a resource allocation method provided by an embodiment of the present application.
- the method 1500 may be performed by a vehicle (eg, a vehicle), or the method may be performed by a computing platform as described above, or the method may be performed by an SoC in the computing platform, or the method may be performed by a processor in the computing platform implement.
- the method is applied to the cockpit of the vehicle.
- the carrying area may include multiple display areas.
- the method 1500 may include the following steps:
- the display area can be a display screen in a certain area in the cockpit.
- the display area can be a central control screen, a passenger entertainment screen, a display screen in the left area of the second row, a display screen in the right area of the second row, etc. etc.; or, the display area can also be a certain area of a certain display screen.
- the central control screen and the passenger screen are combined into the same continuous screen, and correspond to different display areas of the continuous screen (for example, the central control screen and the passenger screen are combined into one continuous screen).
- the display area can also be a display area on the continuous screen.
- the vehicle may include a plurality of the above-mentioned display areas, and the first display area may be any display area among the plurality of display areas.
- S1520 Adjust the first resource allocated to the first display area according to the running status of the application in the first display area.
- the application in the first display area may be an application displayed in the first display area, or may be an application running in the background of the first display area.
- the multiple display areas may also include a second display area
- the method may further include: allocating resources to the second display area; adjusting the first resources allocated to the first display area, which may include: When the resources required for running the application in the first display area are greater than or equal to the available resources in the first resources, some of the resources in the second resources are allocated to the first display area.
- the second display area may be any display area in the plurality of display areas that is different from the first display area.
- the multiple display areas may include a central control screen, a passenger screen, a display screen 203, a display screen 204, and an instrument screen.
- the first display area as the central control screen as an example
- the second The display area can be any display screen except the central control screen; for another example, take the continuous screen including the central control display area and the passenger display area, and the first display area is the central control display area of the continuous screen.
- the second display area may be a long-screen passenger display area, or may be an instrument screen or other display screens.
- the first resource can be divided into occupied resources of the first resource and idle resources of the first resource.
- the occupied resource can refer to the resource that has been occupied by the application running in the display area.
- the first resource is 40%
- the application running in the first display area has occupied 32% of the resources
- the idle resources in the first resources can be 8% of the difference between the two.
- some of the second resources allocated to the passenger screen can be allocated to the central control screen to meet the resource requirements of the video application.
- the required resources are less than or equal to the idle resources (for example, 10% of the resources are required to run the video application)
- 40% of the resources allocated for the central control screen can be maintained; for another example, because the first display area requires 10% of the resources for the first resource Utilization is too high
- the application in the first display area may run stuck, etc.
- the available resources of the first resource may be part of the idle resources.
- the available resources may be the available threshold of the idle resources.
- resources with a preset threshold in the first resources for example, resources with a proportion of 3%, 4%, etc.
- resources that account for 5%, 10%, etc. of the first resources or, it can also be said, resources that retain a preset threshold of their idle resources (for example, resources that account for 3%, 4%, etc.) or Resources with a preset ratio (for example, 0.05, 0.1, etc.) are used to avoid the problem of excessive resource utilization of the first resource.
- the above-mentioned first display area is still used as the central control screen and its resource allocation at time 1, and For example, it is detected that the user is using a video application.
- the resources allocated by the central control screen are 40%, of which the occupied resources are 22%, and the idle resources can be 18%.
- the available threshold resources are 14.4%, and the retained preset The threshold resource is 3.6%, and the available resources at this time are 15%.
- the available ratio is 0.8
- the available resources at this time are 14.4%
- some of the second resources allocated to the passenger screen can be allocated to the central control screen to meet the resource requirements of the application.
- the currently allocated resources for the central control screen can be maintained, thereby reducing the frequency of resource scheduling and reducing the cost of resource scheduling; for another example, the resources can be allocated based on idle resources. size, determine the preset threshold or preset ratio of retention, or in other words, determine the above-mentioned available threshold or available ratio.
- the resources with the preset threshold value can be retained. is 8%, and when the idle resources in the first resource are 10% to 19%, the preset threshold resources to be retained may be 5%.
- the preset threshold to be retained The threshold resource can be 2%, and accordingly, the preset ratio can be similar.
- the above preset threshold, preset ratio, available threshold, and available ratio can be other values or other setting methods. This application implements This example does not limit this.
- adjusting the first resources allocated to the first display area includes: allocating part of the second resources to the first display when the first display area includes the first application and the first application is running. area.
- the first application may be a preset application.
- the voice interaction application involved in (b) in Figure 9 the phone application, navigation application, etc. involved in (b) in Figure 8.
- the first application may be an application whose runtime resource requirements are greater than or equal to a preset threshold.
- the preset threshold can also be other values, such as 15%.
- the first application may be one or more types of applications.
- the first application may include a navigation application, thereby ensuring the smooth operation of the navigation application to avoid navigation lags causing the user to miss important navigation information; for another example, the first application may also include a voice interaction application, thereby enabling timely In response to the user's voice command; for another example, the first application may include a game application, a video application, etc., thereby improving the user's entertainment experience.
- resource scheduling can ensure the smooth operation of the first application to improve the user experience.
- the above embodiments may be combined, for example, the first application may be included in the first display area and run, and the resources required for running the application in the first display area are greater than or equal to the first When available resources among the resources are available, some resources among the second resources are allocated to the first display area to ensure smooth operation of the first application.
- the first display area includes the first application and the first application is running
- the resources required for running the application in the first display area are less than or equal to the available resources in the first resources
- due to the first The available resources of the resources can satisfy the operation of the application in the first display area, and the first resources allocated for the first display area can be maintained to reduce the frequency of resource allocation and save overhead for resource scheduling.
- allocating part of the second resources to the first display area may include: the available resources in the second resources are greater than or equal to a preset threshold, and/or the second display area includes the When the second application is not running, some of the second resources are allocated to the first display area.
- the SoC allocates 40% of the resources to the central control screen.
- the occupied resources of the first resource of the control screen pair are 22%, the available resources are 15%, and the resources allocated to the passenger screen are 40%.
- the second resource of the passenger screen pair has 20% occupied resources and 17% of available resources.
- part of the second resource can be Resources are adjusted to the central control screen. For example, after resource adjustment, the first resource and the second resource can be 45% and 35% respectively, thereby ensuring the smooth operation of the central control screen application, improving resource utilization, and ensuring The smooth operation of the passenger screen; for another example, the first resource and the second resource at time 3 (the resource proportions are 40% and 40% respectively), the available resources in the first resource are 15%, and the game application runs 20%. % resources for example, false Assume that the occupied resources of the second resource of the passenger screen are 35% and the available resources are 2%.
- the available resources of the second resource are less than the preset threshold, it can be considered that allocating the resources of the second resource to the central control screen will affect
- the resources currently allocated for the passenger screen can be maintained, thereby reducing the impact of resource scheduling on the passenger screen.
- the second application may be a preset application, or an application whose runtime resource requirements are greater than or equal to a preset threshold, or may be one or more types of applications. For simplicity, this No further details will be given.
- the above embodiments can be combined with each other.
- the second display area includes the second application and the second application is not running, and the available resources in the second resource are greater than or equal to a preset threshold, the Part of the second resources is allocated to the first display area to ensure smooth operation of the first application.
- the resources allocated for the second display area can be maintained.
- This second resource is used to ensure the smooth operation of the second application. For example, taking the vehicle shown in Figure 2 and the second application as a game application, when the available resources among the resources allocated by the central control screen cannot meet the resources required for the operation of its application, the SoC can be allocated to other display screens. Resources are allocated to the central control screen.
- the SoC can be used as the display screen 203 and/or Or some of the resources allocated to the display screen 204 are allocated to the central control screen, and at the same time, the resources currently allocated to the display 202 can be maintained, thereby ensuring the smooth operation of the central control screen application and improving resource utilization while ensuring that the passenger screen and display screen 203 , the smooth operation of the display screen 204, thereby reducing the impact of resource scheduling on other display areas.
- the second display area may include an instrument display area
- allocating second resources to the second display area may include: allocating second resources to multiple tasks in the instrument display area
- allocating part of the second resources to Allocating resources to the first display area includes: allocating resources of part of the multiple tasks to the instrument display area, and allocating resources of another part of the multiple tasks to the first display area.
- the instrument display area can involve multiple tasks, such as tire pressure monitoring and reminder, braking system monitoring and fault indication, headlight high/low beam status monitoring, remaining power monitoring, radio, music, navigation, etc.
- Multiple tasks can correspond to multiple applications; the second resource allocated to the instrument display area can be used to implement multiple tasks run by the instrument display area.
- the available resources in the second resource can be scheduled to the first display area, or some of the multiple tasks (such as tire pressure monitoring and reminder, braking system monitoring and fault indication, etc.) ) resources are reserved for the instrument display area, and resources for other tasks (such as radio, music, navigation, etc.) are allocated to the first display area.
- the above description of multiple tasks in the instrument display area is only an example.
- it can also include gear position monitoring, seat belt wearing status monitoring, cruising range, real-time temperature monitoring inside and outside the vehicle, etc., and no examples are given here. illustrate.
- the resources of some tasks in the instrument display area are allocated to the first display area, which can avoid scheduling all the resources of the instrument display area to the first display area during resource scheduling.
- the display area can ensure the smooth operation of basic tasks in the instrument display area, which is conducive to ensuring the safety of vehicles and users.
- the multiple tasks involved in the instrument display area can be divided into multiple priorities based on vehicle safety, real-timeness, reliability, etc.
- tasks such as tire pressure monitoring and reminders, braking system monitoring and fault indication are very important to vehicle safety.
- the impact is higher than tasks such as broadcasting and music. Therefore, the resources of broadcasting and music can be allocated to the first display area.
- tasks such as tire pressure monitoring and reminder, braking system monitoring and fault indication, and gear position monitoring are important for Reliability requirements can be higher than those for tasks such as real-time temperature monitoring, broadcasting, music, and navigation inside and outside the vehicle. Therefore, resources for tasks such as real-time temperature monitoring, broadcasting, music, and navigation inside and outside the vehicle can be allocated to the first display area.
- the method may further include: determining that the vehicle is in a parking state.
- the scheduled resources are determined according to the priority of the tasks in the instrument display area, which can reduce the impact of resource scheduling on user safety; in determining the vehicle When in the parking state, the resources allocated to the instrument display area are allocated to the first display area, which helps to further ensure the safety of the vehicle and users.
- the first resource and the second resource may come from the same virtual machine.
- the multiple display areas are controlled by multiple virtual machines
- the multiple virtual machines include a first virtual machine and a second virtual machine
- the first virtual machine controls at least two display areas
- the at least two display areas include
- the first display area displays part of the information in the second resource Allocating a source to the first display area includes: preferentially allocating some resources of other display areas in the first virtual machine to the first display area.
- the instrument screen, the central control screen, and the passenger screen are controlled by virtual machine 1
- the central control screen and the passenger screen are controlled by virtual machine 1.
- the screen is controlled by virtual machine 2
- the resources required for the application of the central control screen are greater than or equal to the available resources among the resources allocated for the central control screen, more resources can be allocated to the central control screen.
- the resources allocated to the instrument screen, central control screen, and passenger screen can be as shown in (a) in Figure 8
- the GUI shown in (b) of Figure 8 can be displayed.
- the resources required for the voice interaction application of the central control screen are less than or equal to the virtual machine
- resources from other display areas in the virtual machine can be allocated to the central control screen, and the currently allocated resources for the instrument screen remain unchanged.
- resources for the instrument screen and central control screen can be allocated.
- the resources allocated to the screen and the passenger screen can be as shown in (a) in Figure 9.
- the passenger screen can still display the GUI as shown in (b) in Figure 8.
- dynamic or static wallpapers can also be displayed, or the sleep interface shown in (b) in Figure 9 can be displayed; for another example, the resource ratio of available resources among the resources allocated for the central control screen is 15%, and the resource ratio for the co-pilot screen is 15%.
- the resource ratio of available resources among the resources allocated for the instrument screen is 10%, and the resource ratio of available resources among the resources allocated for the instrument screen is 8%.
- virtual machine 2 can have 25% of available resources. There are 8% of the available resources in virtual machine 1. Since the resources are scheduled between virtual machines, kernel scheduling may be involved.
- the resource proportions of the available resources corresponding to the central control screen, passenger screen, and instrument screen are respectively are 0%, 0%, and 5%. That is to say, all the available resources in virtual machine 2 and part of the available resources in virtual machine 1 can be allocated to the central control panel, thereby minimizing the need for communication between virtual machines. Scheduling resources to reduce resource allocation overhead.
- the multiple display areas are controlled by multiple virtual machines, as shown in the vehicle cockpit scene in Figure 2, it is assumed that the instrument screen is controlled by virtual machine 1, the central control screen and the passenger screen are controlled by virtual machine 2, and the display screen 203 and display screen 204 are controlled by virtual machine 3.
- the available resources in virtual machine 1 are 8%, and the available resources in virtual machine 2 are 12% (the available resources corresponding to the central control screen are 5%, and the available resources corresponding to the passenger screen are 7%).
- the available resources in virtual machine 3 are 8% (the available resources corresponding to display screen 203 are 5%, and the available resources corresponding to display screen 204 are 3%), the resources required for running applications in the central control screen (for example, 9% of the resources are required) is less than or equal to the available resources in virtual machine 2, the available resources corresponding to the passenger screen can be allocated to the central control screen (for example, after resource scheduling, virtual machine 1, virtual machine 2.
- the available resources in virtual machine 3 are 8%, 3%, and 8% respectively); for another example, the resources required to run the application in the central control screen (for example, 14% of the resources are required) are greater than or equal to
- the available resources in virtual machine 3 can be allocated to instrument screen 2 first. For example, after resource scheduling, virtual machine 1, The available resources in virtual machine 2 and virtual machine 3 are 8%, 0%, and 6% respectively.
- the available resources corresponding to the display screen 204 can be prioritized. After resource scheduling, the available resources corresponding to the display screen 203 are 5%, and the available resources corresponding to the display screen 204 are 1%. For another example, since the available resources corresponding to the display screen 204 are greater than or equal to the preset threshold (for example, 3%), the available resources corresponding to the display screen 204 can be prioritized. After resource scheduling, the available resources corresponding to the display screen 203 are 3%.
- the available resources corresponding to the display screen 204 are 3%; for another example, when the resources required to run the application in the central control screen (for example, 14% of the resources required) are greater than or equal to the available resources in the virtual machine 2,
- the display screen 203 and the display screen 204 are both running the first application, and the available resources corresponding to the instrument screen are greater than or equal to the preset threshold (such as 4%), in order to ensure the smooth operation of the display screens 203 and 204,
- the available resources corresponding to the instrument screen can be scheduled with priority. For example, after resource scheduling, the available resources in virtual machine 1, virtual machine 2, and virtual machine 3 are 6%, 0%, and 8% respectively. The above method can reduce the number of virtual machines.
- the available resources in virtual machine 3 can be allocated to instrument panel 2 first.
- virtual machine 1, virtual machine The available resources in machine 2 and virtual machine 3 are 6%, 0%, and 0% respectively.
- a preset ratio such as 1:1).
- the available resources in virtual machine 1, virtual machine 2, and virtual machine 3 are 3%, 0%, and 3% respectively.
- the preset ratio can also be other values (such as 1:2, 1: 3, 2:1, etc.), and for example, further, the operation status of the display screen 203 and the display screen 204 can be combined (such as whether to run the first application, the corresponding preset threshold, etc.), and the corresponding settings of the display screens 203 and 204 can be scheduled. of available resources.
- the available resources in the virtual machine may be idle resources in the virtual machine, or part of the idle resources.
- the available resources in the virtual machine may be resources with an available threshold among the idle resources of the virtual machine.
- an available ratio (such as 0.8, 0.85, etc.) of resources to avoid the problem of excessive resource utilization of the virtual machine.
- the available threshold or available ratio can be a fixed value, and the available threshold or available ratio can be determined based on the idle resources.
- the value of The available ratio can be 0.6, and the available threshold can be determined similarly, so that an appropriate amount of resources can be reserved for the virtual machine to avoid lags caused by excessive resource utilization.
- the available threshold and available ratio can also be other values, or other Setting method.
- multiple display areas are controlled by multiple virtual machines, and the multiple virtual machines include a first virtual machine and a second virtual machine.
- the first display area can be controlled by the first virtual machine
- the second display area can Under the control of the second virtual machine, when the resources required for running the application in the first display area are greater than or equal to the available resources in the first resources, allocating part of the resources in the second resources to the first display area may include: When the resources required for running the application in the first display area are greater than or equal to the available resources in the first virtual machine, allocate part of the second resources to the first display area, and the second resources come from the second virtual machine. .
- the instrument screen can be controlled by virtual machine 1
- the central control screen can be controlled by virtual machine 2.
- Allocate to the instrument screen The resources come from virtual machine 1, and the resources allocated for the central control screen come from virtual machine 2.
- some of the resources allocated for the instrument screen can be allocated to the central control screen, that is, the resources from Part of the resources of virtual machine 1 are allocated to the central control screen.
- the resources allocated for the central control screen can also be allocated to the instrument screen.
- the instrument screen can be controlled by virtual machine 1
- the central control screen and passenger screen can be controlled by virtual machine 2.
- the resources allocated to the instrument screen, central control screen, and passenger screen are as shown in (a) in Figure 8, and the GUI as shown in (a) in Figure 8 can be displayed.
- the central control screen The available resources among the resources allocated for the passenger screen are 15%, and the available resources among the resources allocated for the passenger screen are 2%, that is, the available resources in virtual machine 2 are 17%.
- part of the resources scheduled for the passenger screen can come from virtual machine 1, and the other part can come from virtual machine 2; for another example, before scheduling resources for the passenger screen, It can be determined whether the scheduling scenario meets the conditions for resource allocation, for example, determining whether the available resources in the central control screen are greater than or equal to a preset threshold (such as 3% of resources), determining whether the central control screen is running a second application, determining Whether the available resources in the instrument screen are greater than or equal to the preset threshold, determine the resources occupied by tasks in the instrument screen whose priority is less than or equal to the preset threshold, etc.
- a preset threshold such as 3% of resources
- the available resources in the first virtual machine are less than or equal to a preset threshold (such as 3%, 5% of resources, etc.), and the resources required to run the application in the first display area are less than
- a preset threshold such as 3%, 5% of resources, etc.
- resource utilization can be improved by scheduling the resources of the second virtual machine to the first virtual machine. Furthermore, the available resources of the first virtual machine are less than or equal to the resources of the application running in the first display area.
- the frequency of resource scheduling can be reduced, thereby helping to reduce the overhead for resource scheduling.
- the second resource is used in the second display area to display the video playback interface in the first definition.
- the method may also include: when allocating part of the second resource to the first display area, The video playback interface in the second definition is displayed through the second display area, and the second definition is lower than the first definition.
- the multimedia file playing interface may include a video playing interface, a game interface, etc.
- the resources of the central control screen and the passenger screen can be as shown in (a) in Figure 14, and the passenger screen can be displayed as shown in Figure 14
- the video playback interface shown in (b) (for example, the definition of the video is ultra-clear), when detecting the user's voice interaction operation on the central control screen, in order to ensure the smooth operation of the voice interaction operation on the central control screen, you can The resources of the passenger screen are allocated to the central control screen.
- the resources of the central control screen and the passenger screen can be shown in (c) in Figure 14.
- the passenger screen can be displayed as (c) in Figure 14.
- d) shows the pause interface of the video playback interface, or it can display the video playback interface in high-definition, standard-definition, or smooth picture quality; for another example, the central control screen displays the video call interface, and according to the operation of the application on the passenger screen In this case, when the resources allocated for the central control screen are allocated to the passenger screen, the clarity of the video call interface of the central control screen may be reduced.
- the overhead required for video playback in the second display area can be reduced, which is beneficial to improving resource utilization while ensuring the quality of the video. Play smoothly.
- the second resource is used to display the multimedia file playback interface in the second display area.
- This method can also include Included: when allocating part of the second resource to the first display area, display an interface for pausing the playback of the multimedia file through the second display area.
- the second resource is used to display multiple interface elements in the second display area.
- the method further includes: when allocating some of the second resources to the first display area, displaying them through the second display area. Section within multiple interface elements.
- the resources allocated to the central control screen and the passenger screen can be as shown in (a) of Figure 8
- the GUI shown in (b) of Figure 8 can be displayed.
- the resources allocated for the passenger screen can be scheduled to the central control screen. Since the resources allocated for the passenger screen With fewer resources, the co-pilot screen can display a GUI as shown in (d) in Figure 9. Compared with the GUI displayed on the co-pilot screen before dispatch, the co-pilot screen can display some of the application icons previously displayed.
- the setting may be determined based on the resources required for application running, or may be determined based on the type of application (for example, game application, video application, etc.).
- the interface elements including application icons are taken as an example for explanation.
- the above interface elements may also include cards (for example, as shown in (c) in Figure 8 cards), for example, after resource scheduling, the second display area can display parts of multiple cards.
- displaying part of the multiple interface elements through the second display area can limit the use of the second display area, thereby avoiding occurrences of
- the resource usage rate of the second resource is too high, it can avoid lagging in the second display area during use, and can also avoid preemption of resources by the second display area, which is beneficial to achieving reasonable allocation of resources.
- the first application may be a game application, a video application, or a social application.
- the browser application in (b) of Figure 8 when using the game function through the browser application, it can be regarded as a game application; when playing a video through the browser application, it can be regarded as a game application. Treat it as a video app; when making video calls or video conferencing through the browser app, think of it as a social app.
- game applications, video applications, and social networking applications can be divided according to the type of the application, or they can be divided according to the functions implemented by the application.
- the resources allocated to the first display area are adjusted, thereby ensuring the smooth operation of the game application, video application or social application. It can improve resource utilization and improve user experience.
- Embodiments of the present application also provide a device for implementing any of the above methods.
- a device is provided that includes a unit for implementing each step performed by a vehicle (for example, a vehicle) or a display system in any of the above methods. (or means).
- FIG 16 shows a schematic block diagram of a control device provided by an embodiment of the present application.
- the control device 1600 may be used to control multiple display areas in the vehicle cockpit.
- the control device 1600 may include: a resource allocation unit 1610 for allocating a first resource to a first display area.
- the multiple display areas include the First display area; the resource adjustment unit 1620 is configured to adjust the first resource allocated to the first display area according to the running status of the application in the first display area.
- descriptions regarding the display area, the first display area, etc. may refer to the method 1500.
- the first resource allocated to the first display area is dynamically adjusted, which is conducive to improving resource utilization and realizing the application of the first display area. Run smoothly to improve user experience.
- the multiple display areas may also include a second display area
- the resource allocation unit 1610 may also be used to: allocate resources to the second display area
- the resource adjustment unit 1620 may be used to: in the first When the resources required for application running in the display area are greater than or equal to the available resources in the first resources, some of the resources in the second resources are allocated to the first display area.
- resource scheduling between the first resource and the second resource is performed based on the resources required for application operation in the first display area and the available resources in the first resource, which can reduce the frequency of resource scheduling. Helps reduce the overhead for resource allocation.
- the resource adjustment unit 1620 may be configured to allocate part of the second resources to the first display area when the first display area includes the first application and the first application is running.
- step S1520 For example, regarding the description of the first application, reference may be made to step S1520 and so on.
- resources are scheduled when the first application is running, which is beneficial to improving resource utilization and ensuring smooth operation of the first application.
- the resource adjustment unit 1620 may be configured to: when the available resources in the second resource are greater than or equal to a preset threshold, and/or when the second display area includes the second application and the second application is not running, Part of the second resources is allocated to the first display area.
- descriptions about the preset threshold, the second application, available resources, etc. may refer to step S1520 and so on.
- the impact of resource scheduling on the second display area can be reduced while improving resource utilization.
- the second display area may include an instrument display area
- the resource allocation unit 1610 may be used to: allocate second resources to multiple tasks in the instrument display area
- the resource adjustment unit 1620 may be used to allocate the multiple tasks to The resources of part of the tasks are allocated to the instrument display area, and the resources of another part of the multiple tasks are allocated to the first display area.
- the resource adjustment unit 1620 may also be used to determine, based on the priorities of multiple tasks, that the priority of this part of the task is higher than the priority of another part of the task.
- the tasks in the instrument display area are often closely related to the safety of the vehicle, in the embodiment of the present application, when it comes to adjusting the resources of the instrument display area, the resources allocated for some tasks in the instrument display area are retained, which is conducive to maintaining The basic function of the instrument display area is to ensure the safety of users and vehicles; further, determining the tasks to be maintained in the instrument display area according to the priority of the tasks can further reduce the impact of resource scheduling on the safety of the vehicle.
- the resource adjustment unit 1620 may also be used to determine that the vehicle is in a parking state.
- the resources allocated to the instrument display area can be scheduled to other display areas.
- the resources currently allocated to the instrument display area can be maintained. This will help reduce the impact of resource scheduling on the operation of the instrument display area.
- the parking state it will help improve resource utilization.
- the driving state it will help ensure the smooth operation of tasks in the instrument display area.
- the first resource and the second resource may come from the same virtual machine.
- the multiple display areas are controlled by multiple virtual machines
- the multiple virtual machines include a first virtual machine and a second virtual machine
- the first virtual machine controls at least two display areas
- the at least two display areas include
- the first display area, the resource adjustment unit 1620 may be configured to preferentially allocate part of the resources allocated to other display areas in the first virtual machine to the first display area.
- multiple display areas are controlled by multiple virtual machines, and the multiple virtual machines include a first virtual machine and a second virtual machine.
- the first display area can be controlled by the first virtual machine
- the second display area can Controlled by the second virtual machine
- the resource adjustment unit 1620 may be configured to: when the resources required for running the application in the first display area are greater than or equal to the available resources in the first virtual machine, adjust part of the second resources The resources are allocated to the first display area, and the second resources come from the second virtual machine.
- step S1520 For example, for a description of resource scheduling among multiple virtual machines, reference may be made to step S1520 and so on.
- resource scheduling among multiple virtual machines can be avoided and the overhead for resource allocation can be reduced.
- scheduling part of the resources in the second virtual machine to the first display area can reduce the cost of running multiple virtual machines. frequency of resource scheduling, thereby reducing the cost of resource scheduling.
- the second resource is used to display the video playback interface in the first definition in the second display area.
- the resource adjustment unit 1620 may also be used to allocate part of the second resource to the first display area.
- the video playback interface in the second definition is displayed through the second display area, and the second definition is lower than the first definition.
- the demand for resources in the second display area can be reduced, which is beneficial to achieving reasonable allocation of resources when resources are limited.
- the second resource is used to display the multimedia file playback interface in the second display area.
- the resource adjustment unit 1620 can also be used to: when allocating part of the second resource to the first display area, use the second resource to display the multimedia file playback interface.
- the display area displays the interface for pausing the playback of multimedia files.
- the second resource is used to display multiple interface elements in the second display area.
- the resource adjustment unit 1620 may also be used to: when allocating part of the second resource to the first display area, use the second A display area displays portions of multiple interface elements.
- the user can display the
- the use of some functions in the second display area can help reduce the demand for resources in the second display area, avoid preemption of resources in the second display area, and help achieve reasonable allocation of resources when resources are limited. Improve resource utilization and ensure the smooth operation of the first display area.
- the first application may be a game application, a video application or a social application.
- each unit in the above device is only a division of logical functions.
- the units may be fully or partially integrated into a physical entity, or may be physically separated.
- the unit in the device can be implemented in the form of a processor calling software; for example, the device includes a processor, the processor is connected to a memory, instructions are stored in the memory, and the processor calls the instructions stored in the memory to implement any of the above methods.
- the processor is, for example, a general-purpose processor, such as a CPU or a microprocessor
- the memory is a memory within the device or a memory outside the device.
- the units in the device can be implemented in the form of hardware circuits, and some or all of the functions of the units can be implemented through the design of the hardware circuits, which can be understood as one or more processors; for example, in one implementation,
- the hardware circuit is an ASIC, which realizes the functions of some or all of the above units through the design of the logical relationship of the components in the circuit; for another example, in another implementation, the hardware circuit can be implemented through PLD, taking FPGA as an example. It can include a large number of logic gate circuits, and the connection relationships between the logic gate circuits can be configured through configuration files to realize the functions of some or all of the above units. All units of the above device may be fully realized by the processor calling software, or may be fully realized by hardware circuits, or part of the units may be realized by the processor calling software, and the remaining part may be realized by hardware circuits.
- the processor is a circuit with signal processing capabilities.
- the processor may be a circuit with instruction reading and execution capabilities, such as a CPU, a microprocessor, a GPU, or DSP, etc.; in another implementation, the processor can realize certain functions through the logical relationship of the hardware circuit. The logical relationship of the hardware circuit is fixed or can be reconstructed.
- the processor is a hardware circuit implemented by ASIC or PLD. For example, FPGA.
- the process of the processor loading the configuration file and realizing the hardware circuit configuration can be understood as the process of the processor loading instructions to realize the functions of some or all of the above units.
- it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as NPU, TPU, DPU, etc.
- each unit in the above device can be one or more processors (or processing circuits) configured to implement the above method, such as: CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA , or a combination of at least two of these processor forms.
- processors or processing circuits
- each unit in the above device may be integrated together in whole or in part, or may be implemented independently. In one implementation, these units are integrated together and implemented as an SoC.
- the SoC may include at least one processor for implementing any of the above methods or implementing the functions of each unit of the device.
- the at least one processor may be of different types, such as a CPU and an FPGA, or a CPU and an artificial intelligence processor. CPU and GPU etc.
- each operation performed by the resource allocation unit 1610 and the resource adjustment unit 1620 may be performed by the same processor, or may be performed by different processors, for example, by multiple processors.
- one or more processors may allocate the first resource to the first display area; in another example, one or more processors may be connected to the display device 130 and the sensor in the sensing system 120 in FIG.
- the one or more processors can determine the running status of the application in the first display area based on the interaction between the user and the cockpit; in another example , one or more processors may adjust the first resource allocated to the first display area according to the running status of the application in the first display area.
- the one or more processors described above may be processors provided in a vehicle machine, or may also be processors provided in other vehicle-mounted terminals.
- the device 1600 may be a chip provided in a vehicle machine or other vehicle-mounted terminal.
- the above-mentioned device 1600 may be the computing platform 150 as shown in FIG. 1 provided in the vehicle.
- the device 1600 may be the device 300 shown in FIG. 3 .
- the device 1600 may be the device 400 shown in FIG. 4 .
- Embodiments of the present application also provide a device, which includes a processing unit and a storage unit, where the storage unit is used to store instructions, and the processing unit executes the instructions stored in the storage unit, so that the device performs the method performed in the above embodiments or step.
- the above-mentioned processing unit may include at least one of the processors 151-15n shown in FIG. 1; the above-mentioned determination unit may include at least one of the processors 151-15n shown in FIG. 1.
- the above-mentioned detection unit may be a sensor in the sensing system 120 shown in FIG. 1 , or may also be the processor 151 - 15n shown in FIG. 1 .
- FIG. 17 is a schematic block diagram of another control device provided by an embodiment of the present application.
- the device 2000 for controlling display shown in FIG. 17 may include: a processor 2010, an interface circuit 2020, and a memory 2030.
- the processor 2010, the interface circuit 2020 and the memory 2030 are connected through internal connection paths.
- the memory 2030 is used to store instructions, and the processor 2010 is used to execute the memory 2030.
- the stored instructions are to receive/send some parameters to the interface circuit 2020.
- the memory 2030 can be coupled with the processor 2010 through an interface or integrated with the processor 2010 .
- the device 2000 may include the device 300 shown in FIG. 3 .
- the above-mentioned interface circuit 2020 may include but is not limited to a transceiver device such as an input/output interface to realize communication between the device 2000 and other devices or communication networks.
- the processor 2010 may adopt a general-purpose CPU, microprocessor, ASIC, GPU or one or more integrated circuits to execute relevant programs to implement the resource allocation method of the method embodiment of the present application.
- the processor 2010 may also be an integrated circuit chip with signal processing capabilities.
- each step of the resource allocation method of the present application can be completed by instructions in the form of hardware integrated logic circuits or software in the processor 2010 .
- the above-mentioned processor 2010 can also be a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component.
- Each method, step and logical block diagram disclosed in the embodiment of this application can be implemented or executed.
- a general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
- the steps of the method disclosed in conjunction with the embodiments of the present application can be directly implemented by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor.
- the software module can be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other mature storage media in this field.
- the storage medium is located in the memory 2030.
- the processor 2010 reads the information in the memory 2030 and performs the resource allocation method of the method embodiment of the present application in conjunction with its hardware.
- the memory 2030 may be a read-only memory (ROM), a static storage device, a dynamic storage device or a random access memory (RAM).
- ROM read-only memory
- RAM random access memory
- the interface circuit 2020 may be used to implement communication between the apparatus 2000 and other devices or communication networks.
- the interaction information between the user and the cockpit can be obtained through the information collected by the interface circuit 2020 sensor.
- An embodiment of the present application also provides a control system, which may include a computing platform and a display device.
- the computing platform may include the above device 1600, or the above device 2000.
- one or more display devices can be divided into multiple display areas, and the multiple display areas include the above-mentioned first display area.
- the computing platform can be used to allocate a first resource to the first display area, and can be based on the first display area.
- the running status of the application in the display area is adjusted to the first resource allocated to the first display area.
- the control system can be as shown in Figure 3, and the device 300 can be an example of the above-mentioned device 1600, the device 2000, or the above-mentioned computing platform.
- control system when it does not involve long-term screen connection, it may include multiple display devices such as the display devices 351 to 35m; for another example, the control system It may be installed in a vehicle, and the device 1600, device 2000 or computing platform may be connected to the display device through an internal circuit of the vehicle.
- An embodiment of the present application also provides a vehicle, which may include the above-mentioned device 1600, the above-mentioned device 2000, or the above-mentioned control system.
- the vehicle may be the vehicle in the above embodiment.
- the vehicle may include the above-mentioned device 1600, the above-mentioned device 2000, or the above-mentioned control system.
- the cockpit of the vehicle may be as shown in FIG.
- the platform can allocate resources to the display screens 201 to 205.
- the resources allocated to the display screen can be adjusted according to the operation conditions of the above-mentioned display screen applications.
- Figures 8 to 14 may be examples of scenarios in which resources are allocated to the instrument screen, central control screen, and passenger screen.
- the vehicle may also include more or fewer display areas, and the above-mentioned device 1600, device 2000 or computing platform may also allocate resources for more or fewer display areas.
- An embodiment of the present application also provides a computer program product.
- the computer program product includes: computer program code.
- the computer program code When the computer program code is run on a computer, it causes the computer to execute the above method 1500 and any possible implementation thereof.
- Embodiments of the present application also provide a computer-readable storage medium.
- the computer-readable medium stores program codes or instructions.
- the processor implements the above methods 1500 and 1500. Any possible way to implement it.
- the computer-readable medium may include a USB flash drive, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk, and other media that can store program codes. This is not limited in the embodiments of the present application.
- the computer-readable medium may store instructions of the resource allocation unit 1610 and/or the resource adjustment unit 1620.
- the program code When the program code is run on a computer, the computer may be used to execute the resource allocation unit 1610 and/or the resource adjustment unit 1620. The operation performed.
- the computer executing the above A computer with program code can be connected to a display device corresponding to multiple display areas.
- An embodiment of the present application also provides a chip, including: at least one processor and a memory.
- the at least one processor is coupled to the memory and is used to read and execute instructions in the memory to execute the above method 1500 and any one thereof. Possible implementations.
- the chip may be a chip provided in a vehicle machine or other vehicle-mounted terminal.
- each step of the above method can be completed by instructions in the form of hardware integrated logic circuits or software in the processor.
- the method disclosed in conjunction with the embodiments of the present application can be directly implemented by a hardware processor for execution, or can be executed by a combination of hardware and software modules in the processor.
- the software module can be located in random access memory, flash memory, read-only memory, programmable read-only memory or power-on erasable programmable memory, registers and other mature storage media in this field.
- the storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.
- the disclosed systems, devices and methods can be implemented in other ways.
- the device embodiments described above are only illustrative.
- the division of the units is only a logical function division. In actual implementation, there may be other division methods.
- multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented.
- the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
- the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
- each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit.
- the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium.
- the technical solution of the present application is essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product.
- the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application.
- the aforementioned storage media include: U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk and other media that can store program codes.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)
Abstract
Description
Claims (32)
- 一种资源分配的方法,其特征在于,应用于运载工具的座舱,所述运载工具包括多个显示区域,所述方法包括:为第一显示区域分配第一资源,所述多个显示区域包括所述第一显示区域;根据所述第一显示区域的应用的运行情况,调整为所述第一显示区域所分配的所述第一资源。
- 根据权利要求1所述的方法,其特征在于,所述多个显示区域还包括第二显示区域,所述方法还包括:为所述第二显示区域分配第二资源;所述调整为所述第一显示区域所分配的所述第一资源,包括:在所述第一显示区域的应用的运行所需的资源大于或等于所述第一资源中的可用资源时,将所述第二资源中的部分资源分配给所述第一显示区域。
- 根据权利要求1或2所述的方法,其特征在于,所述调整为所述第一显示区域所分配的所述第一资源,包括:在所述第一显示区域包括第一应用且所述第一应用运行时,将所述第二资源中的部分资源分配给所述第一显示区域。
- 根据权利要求2或3所述的方法,其特征在于,所述将所述第二资源中的部分资源分配给所述第一显示区域,包括:在所述第二资源中的可用资源大于或等于预设阈值,和/或,所述第二显示区域包括第二应用且所述第二应用未运行时,将所述第二资源中的部分资源分配给所述第一显示区域。
- 根据权利要求2至4中任一项所述的方法,其特征在于,所述第二显示区域包括仪表显示区域,所述为所述第二显示区域分配第二资源,包括:为所述仪表显示区域的多个任务分配所述第二资源;所述将所述第二资源中的部分资源分配给所述第一显示区域,包括:将所述多个任务中的部分任务的资源分配给所述仪表显示区域,将所述多个任务中的另一部分任务的资源分配给所述第一显示区域。
- 根据权利要求5所述的方法,其特征在于,所述方法还包括:根据所述多个任务的优先级,确定所述部分任务的优先级高于所述另一部分任务的优先级。
- 根据权利要求5或6所述的方法,其特征在于,在将所述第二资源中的部分资源分配给所述第一显示区域之前,所述方法还包括:确定所述运载工具处于驻车状态。
- 根据权利要求2至7中任一项所述的方法,其特征在于,所述第一资源和所述第二资源来自于同一虚拟机。
- 根据权利要求2至7中任一项所述的方法,其特征在于,所述多个显示区域由多个虚拟机控制,所述多个虚拟机包括第一虚拟机和第二虚拟机,所述第一显示区域由所述第一虚拟机控制,所述第二显示区域由所述第二虚拟机控制,所述在所述第一显示区域的应用的运行所需的资源大于或等于所述第一资源中的可用资源时,将所述第二资源中的部分资源分配给所述第一显示区域,包括:在所述第一显示区域的应用的运行所需的资源大于或等于所述第一虚拟机中的可用资源时,将所述第二资源中的部分资源分配给所述第一显示区域,所述第二资源来自于所述第二虚拟机。
- 根据权利要求2至9中任一项所述的方法,其特征在于,所述第二资源用于所述第二显示区域显示第一清晰度下的视频播放界面;所述方法还包括:在将所述第二资源中的部分资源分配给所述第一显示区域时,通过所述第二显示区域显示第二清晰度下的所述视频播放界面,所述第二清晰度低于所述第一清晰度。
- 根据权利要求2至10中任一项所述的方法,其特征在于,所述第二资源用于所述第二显示区域显示多媒体文件播放界面;所述方法还包括:在将所述第二资源中的部分资源分配给所述第一显示区域时,通过所述第二显示区域显示所述多媒体文件暂停播放的界面。
- 根据权利要求2至11中任一项所述的方法,其特征在于,所述第二资源用于所述第二显示区域显示多个界面元素;所述方法还包括:在将所述第二资源中的部分资源分配给所述第一显示区域时,通过所述第二显示区域显示所述多个界面元素中的部分。
- 根据权利要求3至12中任一项所述的方法,其特征在于,所述第一应用包括游戏应用、社交应用或者视频应用。
- 一种控制装置,其特征在于,所述控制装置用于控制运载工具座舱中的多个显示区域,所述控制装置包括:资源分配单元,用于为第一显示区域分配第一资源,所述多个显示区域包括所述第一显示区域;资源调整单元,用于根据所述第一显示区域的应用的运行情况,调整为所述第一显示区域所分配的所述第一资源。
- 根据权利要求14所述的控制装置,其特征在于,所述多个显示区域还包括第二显示区域,所述资源分配单元,还用于:为所述第二显示区域分配第二资源;所述资源调整单元,用于:在所述第一显示区域的应用的运行所需的资源大于或等于所述第一资源中的可用资源时,将所述第二资源中的部分资源分配给所述第一显示区域。
- 根据权利要求14或15所述的控制装置,其特征在于,所述资源调整单元,用于:在所述第一显示区域包括第一应用且所述第一应用运行时,将所述第二资源中的部分资源分配给所述第一显示区域。
- 根据权利要求15或16所述的控制装置,其特征在于,所述资源调整单元,用于:在所述第二资源中的可用资源大于或等于预设阈值,和/或,所述第二显示区域包括第二应用且所述第二应用未运行时,将所述第二资源中的部分资源分配给所述第一显示区域。
- 根据权利要求15至17中任一项所述的控制装置,其特征在于,所述第二显示区域包括仪表显示区域,所述资源分配单元,用于:为所述仪表显示区域的多个任务分配所述第二资源;所述资源调整单元,用于:将所述多个任务中的部分任务的资源分配给所述仪表显示区域,将所述多个任务中的另一部分任务的资源分配给所述第一显示区域。
- 根据权利要求18所述的控制装置,其特征在于,所述资源调整单元,还用于:根据所述多个任务的优先级,确定所述部分任务的优先级高于所述另一部分任务的优先级。
- 根据权利要求18或19所述的控制装置,其特征在于,在将所述第二资源中的部分资源分配给所述第一显示区域之前,所述资源调整单元,还用于:确定所述运载工具处于驻车状态。
- 根据权利要求15至20中任一项所述的控制装置,其特征在于,所述第一资源和所述第二资源来自于同一虚拟机。
- 根据权利要求15至20中任一项所述的控制装置,其特征在于,所述多个显示区域由多个虚拟机控制,所述多个虚拟机包括第一虚拟机和第二虚拟机,所述第一显示装置由所述第一虚拟机控制,所述第二显示区域由所述第二虚拟机控制,所述资源调整单元,用于:在所述第一显示区域的应用的运行所需的资源大于或等于所述第一虚拟机中的可用资源时,将所述第二资源中的部分资源分配给所述第一显示区域,所述第二资源来自于所述第二虚拟机。
- 根据权利要求15至22中任一项所述的控制装置,其特征在于,所述第二资源用于所述第二显示区域显示第一清晰度下的视频播放界面,所述资源调整单元,还用于:在将所述第二资源中的部分资源分配给所述第一显示区域时,通过所述第二显示区域显示第二清晰度下的所述视频播放界面,所述第二清晰度低于所述第一清晰度。
- 根据权利要求15至23中任一项所述的控制装置,其特征在于,所述第二资源用于所述第二显示区域显示多媒体文件播放界面,所述资源调整单元,还用于:在将所述第二资源中的部分资源分配给所述第一显示区域时,通过所述第二显示区域显示所述多媒体文件暂停播放的界面。
- 根据权利要求15至24中任一项所述的控制装置,其特征在于,所述第二资源用于所述第二显示区域显示多个界面元素,所述资源调整单元,还用于:在将所述第二资源中的部分资源分配给所述第一显示区域时,通过所述第二显示区域显示所述多个界面元素中的部分。
- 根据权利要求16至25中任一项所述的控制装置,其特征在于,所述第一应用包括游戏应用、社交应用或者视频应用。
- 一种控制装置,其特征在于,包括:存储器,用于存储计算机程序;处理器,用于执行所述存储器中存储的计算机程序,以使得所述装置执行如权利要求1至13中任一项所述的方法。
- 一种控制系统,其特征在于,所述控制系统包括计算平台和显示装置,其中,该计算平台包括如权利要求14至27中任一项所述的控制装置。
- 一种运载工具,其特征在于,包括如权利要求14至27中任一项所述的控制装置,或者,包括如权利要求28所述的控制系统。
- 根据权利要求29所述的运载工具,其特征在于,所述运载工具为车辆。
- 一种计算机可读存储介质,其特征在于,其上存储有指令,所述指令被处理器执行时,以使得处理器实现如权利要求1至13中任一项所述的方法。
- 一种芯片,其特征在于,所述芯片包括处理器与数据接口,所述处理器通过所述数据接口读取存储器上存储的指令,以执行如权利要求1至13中任一项所述的方法。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP23856418.1A EP4567597A4 (en) | 2022-08-22 | 2023-08-01 | METHOD FOR ALLOCATING RESOURCES, APPARATUS AND SUPPORT |
| US19/059,924 US20250190264A1 (en) | 2022-08-22 | 2025-02-21 | Resource allocation method, apparatus, and means of delivery |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211005116.5 | 2022-08-22 | ||
| CN202211005116.5A CN115470000A (zh) | 2022-08-22 | 2022-08-22 | 资源分配的方法、装置和运载工具 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US19/059,924 Continuation US20250190264A1 (en) | 2022-08-22 | 2025-02-21 | Resource allocation method, apparatus, and means of delivery |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024041328A1 true WO2024041328A1 (zh) | 2024-02-29 |
Family
ID=84366151
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/110520 Ceased WO2024041328A1 (zh) | 2022-08-22 | 2023-08-01 | 资源分配的方法、装置和运载工具 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US20250190264A1 (zh) |
| EP (1) | EP4567597A4 (zh) |
| CN (1) | CN115470000A (zh) |
| WO (1) | WO2024041328A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118897494A (zh) * | 2024-10-08 | 2024-11-05 | 中国第一汽车股份有限公司 | 基于应用权重值的车机资源动态分配方法、车辆及介质 |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115470000A (zh) * | 2022-08-22 | 2022-12-13 | 华为技术有限公司 | 资源分配的方法、装置和运载工具 |
| CN116431091A (zh) * | 2023-03-24 | 2023-07-14 | 三星(中国)半导体有限公司 | 多个虚拟机的多屏分配管理方法和装置 |
| CN116257364B (zh) * | 2023-05-12 | 2023-08-04 | 苏州浪潮智能科技有限公司 | 系统间的资源占用方法、装置、存储介质及电子装置 |
| CN119025251A (zh) * | 2023-05-18 | 2024-11-26 | 深圳引望智能技术有限公司 | 资源分配方法、装置、系统及运载工具 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20180033406A1 (en) * | 2016-08-01 | 2018-02-01 | Samsung Electronics Co., Ltd. | Screen controlling method and electronic device supporting the same |
| CN110475020A (zh) * | 2019-08-05 | 2019-11-19 | Oppo广东移动通信有限公司 | 设备控制方法及相关产品 |
| CN110857065A (zh) * | 2018-08-23 | 2020-03-03 | 现代自动车株式会社 | 用于控制车辆显示器的装置、具有该装置的系统及其方法 |
| WO2020118495A1 (zh) * | 2018-12-10 | 2020-06-18 | 深圳市欢太科技有限公司 | 一种音频资源分配方法、装置和电子设备 |
| CN115470000A (zh) * | 2022-08-22 | 2022-12-13 | 华为技术有限公司 | 资源分配的方法、装置和运载工具 |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9014911B2 (en) * | 2011-11-16 | 2015-04-21 | Flextronics Ap, Llc | Street side sensors |
| WO2015103376A1 (en) * | 2014-01-06 | 2015-07-09 | Johnson Controls Technology Company | Vehicle with multiple user interface operating domains |
| CN105045666B (zh) * | 2015-07-09 | 2018-06-01 | 西北工业大学 | Windows操作系统环境下的分区调度方法 |
| US10885728B1 (en) * | 2019-10-02 | 2021-01-05 | William H. Havins | Cognitively optimized user interface for motor vehicle |
-
2022
- 2022-08-22 CN CN202211005116.5A patent/CN115470000A/zh active Pending
-
2023
- 2023-08-01 EP EP23856418.1A patent/EP4567597A4/en active Pending
- 2023-08-01 WO PCT/CN2023/110520 patent/WO2024041328A1/zh not_active Ceased
-
2025
- 2025-02-21 US US19/059,924 patent/US20250190264A1/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20180033406A1 (en) * | 2016-08-01 | 2018-02-01 | Samsung Electronics Co., Ltd. | Screen controlling method and electronic device supporting the same |
| CN110857065A (zh) * | 2018-08-23 | 2020-03-03 | 现代自动车株式会社 | 用于控制车辆显示器的装置、具有该装置的系统及其方法 |
| WO2020118495A1 (zh) * | 2018-12-10 | 2020-06-18 | 深圳市欢太科技有限公司 | 一种音频资源分配方法、装置和电子设备 |
| CN110475020A (zh) * | 2019-08-05 | 2019-11-19 | Oppo广东移动通信有限公司 | 设备控制方法及相关产品 |
| CN115470000A (zh) * | 2022-08-22 | 2022-12-13 | 华为技术有限公司 | 资源分配的方法、装置和运载工具 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4567597A4 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118897494A (zh) * | 2024-10-08 | 2024-11-05 | 中国第一汽车股份有限公司 | 基于应用权重值的车机资源动态分配方法、车辆及介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| EP4567597A4 (en) | 2025-11-19 |
| CN115470000A (zh) | 2022-12-13 |
| EP4567597A1 (en) | 2025-06-11 |
| US20250190264A1 (en) | 2025-06-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20250190264A1 (en) | Resource allocation method, apparatus, and means of delivery | |
| CN104050992B (zh) | 具有虚拟仪表和信息娱乐终端的车载智能系统 | |
| KR102262926B1 (ko) | 차량용 소프트웨어 제어 장치 | |
| CN111427669A (zh) | 计算机设备上的虚拟机的管理方法、装置、介质和系统 | |
| WO2015103376A1 (en) | Vehicle with multiple user interface operating domains | |
| CN115079993B (zh) | 一种跨系统的音频播放控制方法、装置、车辆及存储介质 | |
| US12008676B2 (en) | Vehicle device, drawing requests using priority queues, and vehicle device control method | |
| CN116643842A (zh) | 虚拟机安全监控处理方法、装置、设备及介质 | |
| CN115309285A (zh) | 控制显示的方法、装置和移动载体 | |
| CN111611040A (zh) | 一种低配置车载系统的显示控制方法、系统、介质及终端 | |
| CN116243842A (zh) | 数据交互方法、电子设备及存储介质 | |
| WO2024074090A1 (zh) | 智能座舱的实现方法、智能座舱、计算机可读介质 | |
| CN117434862A (zh) | 一种舱驾融合系统、故障监测方法及相关设备 | |
| CN119987962B (zh) | 任务调度方法、电子设备及计算机可读存储介质 | |
| JP2026036650A (ja) | リソーススケジューリング方法及び装置、並びにチップシステム、電子機器及び乗り物 | |
| JP7208866B2 (ja) | コンテントの提示制御装置、提示制御方法及び提示制御プログラム | |
| KR102937236B1 (ko) | 실시간 cpu 가용성 모니터링 | |
| Ponos et al. | One solution for integrating graphics in vehicle digital cockpit | |
| CN116353343A (zh) | 车辆显示方法、显示设备、车辆以及存储介质 | |
| CN116527978A (zh) | 一种多屏互动的控制方法及装置 | |
| WO2024179250A1 (zh) | 应用管理的方法及装置 | |
| CN121757065A (zh) | 车辆的任务运行方法、装置、电子设备和存储介质 | |
| WO2024035566A1 (en) | Real-time cpu availability monitoring | |
| CN121597281A (zh) | 一种车载仪表盘双系统动态切换方法 | |
| WO2024152310A1 (zh) | 控制方法、装置和运载工具 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23856418 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2023856418 Country of ref document: EP |
|
| ENP | Entry into the national phase |
Ref document number: 2023856418 Country of ref document: EP Effective date: 20250307 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWP | Wipo information: published in national office |
Ref document number: 2023856418 Country of ref document: EP |