Computing power allocation method, device, computer equipment and storage medium
By performing time-division multiplexing of computing power in the smart cockpit, and suspending operations of non-essential functions to release computing power for automatic parking, the cost problems caused by the demand for high computing power in the prior art are solved, and the cost-effective integrated cabin control is achieved.
Patent Information
- Application Number
- CN202411325880.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-23
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2044-09-23
AI Technical Summary
The existing automatic parking function and the high computing power demand of the smart cockpit lead to a higher cost of the cabin-parking integrated controller and requires lowering costs.
By performing time-division multiplexing of computing power in the smart cockpit of the target vehicle, when automatic parking begins, the non-essential backend resident functions and non-backend resident functions are suspended, and the corresponding computing power is released for automatic parking.
There is no need to pre-allocate large computing power for the automatic parking function, which reduces the dependence on high-cost SOCs and reduces the cost of integrated cabin control.
Smart Images

Figure CN119078859B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a computing power allocation method, apparatus, computer equipment and storage medium. Background Art
[0002] At present, the automatic parking function is accepted and recognized by the majority of car owners. Vehicle manufacturers are also installing the automatic parking function on more models, which also makes the automatic parking function rapidly updated and iterated in the architecture of the whole vehicle. The mainstream solutions for controlling the smart cockpit and automatic parking functions of the models currently equipped with the automatic parking function are divided into using an independent parking controller to control the automatic parking function and using an independent cockpit controller to control the smart cockpit, and using a cabin-parking integrated controller for cabin-parking integrated control. Because the use of a cabin-parking integrated controller for cabin-parking integrated control has the advantages of high integration and flexible resource allocation, it is adopted by many vehicle manufacturers.
[0003] In the related art, a large amount of computing power is allocated to the automatic parking function and the smart cockpit respectively. The sum of the computing power of the automatic parking function and the computing power of the smart cockpit is large, requiring the system-on-chip (SOC) on the cabin-parking integrated controller to be a SOC with a higher computing power that can be provided. The SOC with a higher computing power of the cabin-parking integrated controller has a higher cost, resulting in a high cost of cabin-parking integrated control. Reducing the cost of cabin-parking integrated control has become a problem that needs to be solved. Summary of the invention
[0004] In view of this, the embodiments of the present disclosure provide a computing power allocation method, apparatus, computer equipment and storage medium.
[0005] In a first aspect, an embodiment of the present disclosure provides a computing power allocation method, the method comprising:
[0006] When it is determined that automatic parking for the target vehicle starts, a computing power time-division multiplexing operation is performed, and the computing power time-division multiplexing operation includes: respectively instructing each of the multiple target background resident functions of the smart cockpit of the target vehicle to suspend the execution of the operation corresponding to the target background resident function, and when there is a target non-background resident function that is executing the operation corresponding to the target non-background resident function among the multiple target non-background resident functions of the smart cockpit of the target vehicle, instructing the target non-background resident function of the smart cockpit of the target vehicle that is executing the operation to suspend the execution of the operation corresponding to the target non-background resident function, wherein the background resident function is a function whose program is a background resident program, the non-background resident function is a function other than the background resident program, the computing power corresponding to the background resident function is the computing power provided by the target system-level chip on the target vehicle and allocated to the background resident function, and the computing power corresponding to the non-background resident function is the computing power provided by the target system-level chip on the target vehicle and allocated to the non-background resident function;
[0007] At least using the computing power corresponding to each target background resident function among the multiple target background resident functions to perform automatic parking for the target vehicle;
[0008] When it is determined that automatic parking for the target vehicle is completed, each of the multiple target background resident functions is instructed to execute the operation corresponding to the target background resident function, and when there is a target non-background resident function that is instructed to suspend the execution of the operation corresponding to the target non-background resident function through the computing power time-division multiplexing operation, the target non-background resident function that is instructed to suspend the execution of the operation corresponding to the target non-background resident function through the computing power time-division multiplexing operation is instructed to execute the operation corresponding to the target non-background resident function.
[0009] In a possible implementation, the computing power corresponding to each of the multiple target background resident functions is greater than the computing power threshold, and the computing power corresponding to any target non-background resident function is greater than the computing power threshold.
[0010] In one possible implementation, multiple target background resident functions of the target vehicle's smart cockpit include: voice recognition function, driver monitoring function, and passenger monitoring function; multiple target non-background resident functions of the target vehicle's smart cockpit include: navigation function, video playback function, and audio playback function.
[0011] In a possible implementation, the computing power time division multiplexing operation further includes:
[0012] Setting the value of the pause flag bit of the target non-background resident function that is instructed to pause the operation corresponding to the target non-background resident function to a first value indicating that the target non-background resident function is instructed to pause the operation corresponding to the target non-background resident function; and
[0013] The method further includes:
[0014] When it is determined that the automatic parking for the target vehicle is finished, determining whether there is a target non-background resident function having a pause flag bit whose current value is the first value;
[0015] When it is determined that there is a target non-background resident function whose current value of the pause flag is the first value, the target non-background resident function whose current value of the pause flag is the first value is instructed to perform the operation corresponding to the target non-background resident function whose current value of the pause flag is the first value, and the value of the pause flag of the target non-background resident function whose current value of the pause flag is the first value is set to a second value, which is different from the first value.
[0016] In a second aspect, an embodiment of the present disclosure provides a computing power allocation device, the computing power allocation device comprising:
[0017] a computing power time-division multiplexing operation execution unit, for executing a computing power time-division multiplexing operation when it is determined that automatic parking for a target vehicle has started, the computing power time-division multiplexing operation comprising: respectively instructing each of a plurality of target background resident functions of a smart cockpit of the target vehicle to suspend execution of an operation corresponding to the target background resident function, and when a target non-background resident function that is executing an operation corresponding to the target non-background resident function exists among a plurality of target non-background resident functions of the smart cockpit of the target vehicle, instructing the target non-background resident function of the smart cockpit of the target vehicle that is executing an operation to suspend execution of an operation corresponding to the target non-background resident function, wherein the background resident function is a function whose program is a background resident program, the non-background resident function is a function other than the background resident program, the computing power corresponding to the background resident function is the computing power provided by the target system-level chip on the target vehicle and allocated to the background resident function, and the computing power corresponding to the non-background resident function is the computing power provided by the target system-level chip on the target vehicle and allocated to the non-background resident function;
[0018] An automatic parking unit, configured to perform automatic parking for a target vehicle by at least utilizing computing power corresponding to each target background resident function among a plurality of target background resident functions;
[0019] A recovery unit is used to, when it is determined that the automatic parking for the target vehicle is terminated, instruct each of the multiple target background resident functions to execute the operation corresponding to the target background resident function, and when there is a target non-background resident function that is instructed to suspend the execution of the operation corresponding to the target non-background resident function through the computing power time-division multiplexing operation, instruct the target non-background resident function that is instructed to suspend the execution of the operation corresponding to the target non-background resident function through the computing power time-division multiplexing operation to execute the operation corresponding to the target non-background resident function.
[0020] In a possible implementation, the computing power corresponding to each of the multiple target background resident functions is greater than the computing power threshold, and the computing power corresponding to any target non-background resident function is greater than the computing power threshold.
[0021] In one possible implementation, multiple target background resident functions of the target vehicle's smart cockpit include: voice recognition function, driver monitoring function, and passenger monitoring function; multiple target non-background resident functions of the target vehicle's smart cockpit include: navigation function, video playback function, and audio playback function.
[0022] In a possible implementation, the computing power time-division multiplexing operation further includes: setting the value of the pause flag bit of the target non-background resident function that is instructed to suspend the operation corresponding to the target non-background resident function to a first value indicating that the target non-background resident function is instructed to suspend the operation corresponding to the target non-background resident function; and the computing power allocation device further includes:
[0023] A determination unit is used to determine whether there is a target non-background resident function with a pause flag whose current value is the first value when it is determined that the automatic parking for the target vehicle is terminated; when it is determined that there is a target non-background resident function with a pause flag whose current value is the first value, instruct the target non-background resident function with a pause flag whose current value is the first value to perform an operation corresponding to the target non-background resident function with a pause flag whose current value is the first value, and set the value of the pause flag of the target non-background resident function with a pause flag whose current value is the first value to a second value, the second value being different from the first value.
[0024] In a third aspect, an embodiment of the present disclosure provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0025] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to cause a computer to execute the method of the first aspect or any corresponding embodiment thereof.
[0026] In a fifth aspect, the present invention provides a computer program product, including computer instructions, which are used to enable a computer to execute the method of the first aspect or any corresponding embodiment thereof.
[0027] The computing power allocation method provided by the embodiment of the present disclosure performs a computing power time-division multiplexing operation when it is determined that automatic parking for a target vehicle has started; and performs automatic parking for the target vehicle by at least utilizing the computing power corresponding to each target background resident function among multiple target background resident functions.
[0028] Respectively instruct each of the multiple target background resident functions of the target vehicle's smart cockpit to suspend the execution of the operation corresponding to the target background resident function, so that each of the multiple target background resident functions of the target vehicle's smart cockpit suspends the execution of the operation corresponding to the target background resident function, and the computing power corresponding to each of the multiple target background resident functions of the target vehicle's smart cockpit is temporarily not used to execute the operation corresponding to the target background resident function, and the computing power corresponding to each of the multiple target background resident functions of the target vehicle's smart cockpit can be temporarily used for automatic parking of the target vehicle.
[0029] When there is a target non-background permanent function that is executing an operation corresponding to the target non-background permanent function among multiple target non-background permanent functions of the smart cockpit of the target vehicle, the target non-background permanent function that is executing the operation in the smart cockpit of the target vehicle is instructed to suspend execution of the operation corresponding to the target non-background permanent function, so that the target non-background permanent function that is executing the operation in the smart cockpit of the target vehicle suspends execution of the operation corresponding to the target non-background permanent function, and the computing power corresponding to each target non-background permanent function that is instructed to suspend execution of the operation corresponding to the target non-background permanent function is temporarily not used for the operation corresponding to the target non-background permanent function, and the computing power corresponding to each target non-background permanent function that is instructed to suspend execution of the operation corresponding to the target non-background permanent function can be temporarily used for automatic parking of the target vehicle.
[0030] Therefore, there is no need to pre-allocate a large computing power for the automatic parking function, so that a low-cost SOC can also be applied to the cabin-parking integrated control, and the SOC of the cabin-parking integrated control can be a low-cost SOC, reducing the cost of the cabin-parking integrated control. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the specific embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0032] Figure 1 is a schematic diagram of an example structure to which the computing power allocation method provided by an embodiment of the present disclosure can be applied;
[0033] Figure 2 is a flowchart of a computing power allocation method provided by an embodiment of the present disclosure;
[0034] Figure 3 is a flowchart of an example of allocating computing power;
[0035] Figure 4 It is a schematic diagram of the structure of a computer device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.
[0037] refer to Figure 1 , which shows a schematic diagram of an example structure to which the computing power allocation method provided by an embodiment of the present disclosure can be applied.
[0038] This example architecture includes: a cabin and parking integrated controller, a surround view camera, a millimeter wave type, a laser radar, etc. The cabin and parking integrated controller receives sensor data collected by sensors such as surround view cameras, surround view cameras, millimeter wave types, laser radars, driver monitoring cameras, and passenger monitoring cameras. The cabin and parking integrated controller can execute the code of the environmental perception function, the positioning function, the decision-making and planning function, the voice recognition function, the navigation function, and the driver monitoring function for the driver monitoring system (Driver Monitoring System, referred to as DMS) function. The code of the environmental perception function, the positioning function, the decision-making and planning function, the voice recognition function, the navigation function code, and the driver monitoring function perform operations for the driver monitoring system respectively. The results of the function execution operation are displayed on the corresponding screens of the instrument screen, the central control screen, and the rear screen.
[0039] refer to Figure 2 , which shows a flow chart of the computing power allocation method provided by the embodiment of the present disclosure. The method can be executed by a unit on the target vehicle for executing the computing power allocation method provided by the embodiment of the present disclosure, such as a vehicle computer of the target vehicle.
[0040] Step S201, when it is determined that the automatic parking for the target vehicle starts, a computing power time division multiplexing operation is performed.
[0041] The target vehicle may be any vehicle to which the computing power allocation method provided in the embodiments of the present disclosure may be applied.
[0042] The target system-on-chip is a system-on-chip on a target vehicle.
[0043] The computing power time-division multiplexing operation includes: respectively instructing each of the multiple target background resident functions of the target vehicle's smart cockpit to suspend the execution of the operation corresponding to the target background resident function; and when there is a target non-background resident function among the multiple target non-background resident functions of the target vehicle's smart cockpit that is executing the operation corresponding to the target non-background resident function, instructing the target non-background resident function of the target vehicle's smart cockpit that is executing the operation to suspend the execution of the operation corresponding to the target non-background resident function.
[0044] The background resident function of the smart cockpit of the target vehicle is: the program it has is a function of a background resident program.
[0045] For a background resident function of the smart cockpit of the target vehicle, when the program of the background resident function is executed, the background resident function works and performs operations corresponding to the background resident function.
[0046] For a background resident function of the smart cockpit of the target vehicle, when the program of the background resident function is executed, the background resident function works and performs operations corresponding to the background resident function.
[0047] The background resident program of each background resident function of the smart cockpit of the target vehicle runs on the operating system of the smart cockpit of the target vehicle.
[0048] In the embodiment of the present disclosure, which background resident functions among all the background resident functions of the smart cockpit of the target vehicle may be preset as target background resident functions.
[0049] As an example, the instrument function execution is to provide users with driving information such as vehicle speed, gear position, radar data, etc., so the operations corresponding to the instrument function cannot be suspended, and the instrument function cannot be used as a target background resident function. The vehicle control function performs basic operations of windows and air conditioning, so the operations corresponding to the vehicle control function cannot be suspended, and the vehicle control function cannot be used as a target background resident function. During parking, driver fatigue driving usually does not occur, so the operations corresponding to the DMS function can be suspended, and the DMS function can be used as a target background resident function. During parking, the vehicle travels at a low speed, and the necessity of rear-seat monitoring is reduced. The operations corresponding to the passenger monitoring system (Occupancy monitoring system, referred to as OMS) function can be suspended, and the OMS function can be used as a target background resident function. In order to allow the driver to concentrate, the operations corresponding to the voice recognition function can be suspended, and the voice recognition function can be used as a target background resident function.
[0050] The non-background resident functions of the smart cockpit of the target vehicle are: functions other than the background resident functions of the smart cockpit of the target vehicle.
[0051] In the embodiment of the present disclosure, which non-background resident functions among all the non-background resident functions of the smart cockpit of the target vehicle are used as target non-background resident functions in advance.
[0052] As an example, playing a video during automatic parking will not play a beneficial role, but will distract the driver's attention. The video playback function can be suspended during the automatic parking process. The video playback function, a non-background resident function, can be used as a target non-background resident function. For the navigation function, parking has already started and the journey is coming to an end. There is no need to use the map to continue navigation. The navigation function, a non-background resident function, can be suspended during the automatic parking process. The navigation function, a non-background resident function, can be used as a target non-background resident function. For the music playback function, there is a voice alarm during the parking process. To avoid music interfering with the alarm information, the music playback function can be suspended during the automatic parking process. The music playback function, a non-background resident function, can be used as a target non-background resident function.
[0053] In a possible implementation, the multiple target background resident functions include: a speech recognition function, a driver monitoring function, and a passenger monitoring function. The driver monitoring function is a driver monitoring system. The passenger monitoring function is a passenger monitoring system.
[0054] In the embodiment of the present disclosure, for a background resident function of the smart cockpit of the target vehicle, the computing power corresponding to the background resident function is: the computing power provided by the target system-level chip on the target vehicle and allocated to the background resident function.
[0055] In the embodiment of the present disclosure, for a non-background resident function of the smart cockpit of the target vehicle, the computing power corresponding to the non-background resident function is: the computing power provided by the target system-level chip on the target vehicle and allocated to the non-background resident function.
[0056] The computing power of the target system-level chip may include: the logical computing power of the CPU, the computing power of the CDSP, the computing power of the GPU, etc.
[0057] When it is determined that automatic parking for the target vehicle has started, each of the multiple target background resident functions of the smart cockpit of the target vehicle is instructed to suspend the execution of the operation corresponding to the target background resident function, so that each of the multiple target background resident functions of the smart cockpit of the target vehicle suspends the execution of the operation corresponding to the target background resident function, and the computing power corresponding to each of the multiple target background resident functions of the smart cockpit of the target vehicle is temporarily not used to execute the operation corresponding to the target background resident function, and the computing power corresponding to each of the multiple target background resident functions of the smart cockpit of the target vehicle can be temporarily used for automatic parking of the target vehicle.
[0058] When it is determined that automatic parking for the target vehicle has started, if there is a target non-background permanent function among the multiple target non-background permanent functions of the smart cockpit of the target vehicle that is executing an operation corresponding to the target non-background permanent function, the target non-background permanent function of the smart cockpit of the target vehicle that is executing the operation is instructed to suspend execution of the operation corresponding to the target non-background permanent function, so that the target non-background permanent function of the smart cockpit of the target vehicle that is executing the operation suspends execution of the operation corresponding to the target non-background permanent function, and the computing power corresponding to each target non-background permanent function that is instructed to suspend execution of the operation corresponding to the target non-background permanent function is temporarily not used for the operation corresponding to the target non-background permanent function, and the computing power corresponding to each target non-background permanent function that is instructed to suspend execution of the operation corresponding to the target non-background permanent function can be temporarily used for automatic parking for the target vehicle.
[0059] In a possible implementation, the multiple target non-background resident functions of the smart cockpit of the target vehicle include: a navigation function, a video playback function, and an audio playback function.
[0060] In step S202, automatic parking is performed for the target vehicle by at least utilizing the computing power corresponding to each target background resident function among the plurality of target background resident functions.
[0061] If it is determined in step S201 that there is no target non-background resident function in the smart cockpit of the target vehicle that is executing the operation corresponding to the target non-background resident function, in step S202, automatic parking is performed for the target vehicle using the computing power corresponding to each target background resident function among the multiple target background resident functions.
[0062] If it is determined in step S201 that there is a target non-background permanent function in the smart cockpit of the target vehicle that is executing an operation corresponding to the target non-background permanent function, in step S202, automatic parking is performed for the target vehicle by utilizing the computing power corresponding to each target background resident function among the multiple target background resident functions and the computing power corresponding to each target non-background permanent function that is instructed to suspend execution of the operation corresponding to the target non-background permanent function.
[0063] In step S203, when it is determined that the automatic parking for the target vehicle is completed, each of the multiple target background resident functions is instructed to perform the operation corresponding to the target background resident function, and when there is a target non-background resident function that is instructed to suspend the execution of the operation corresponding to the target non-background resident function through the computing power time-division multiplexing operation, the target non-background resident function that is instructed to suspend the execution of the operation corresponding to the target non-background resident function through the computing power time-division multiplexing operation is instructed to perform the operation corresponding to the target non-background resident function.
[0064] Instruct each of the multiple target background resident functions to execute the operation corresponding to the target background resident function, so that after the automatic parking for the target vehicle is completed, the computing power corresponding to each of the multiple target background resident functions is used to execute the operation corresponding to the target background resident function, and each of the multiple target background resident functions executes the operation corresponding to the target background resident function.
[0065] The target non-background resident function that is instructed to suspend execution of the operation corresponding to the target non-background resident function through the computing power time-division multiplexing operation executes the operation corresponding to the target non-background resident function, so that after the automatic parking of the target vehicle is completed, the target non-background resident function that is instructed to suspend execution of the operation corresponding to the target non-background resident function through the computing power time-division multiplexing operation continues to execute the operation corresponding to the target non-background resident function.
[0066] In one possible implementation, the computing power time-division multiplexing operation also includes: setting the value of the pause flag of the target non-background resident function that is instructed to suspend the execution of the operation corresponding to the target non-background resident function to a first value indicating that the target non-background resident function is instructed to suspend the execution of the operation corresponding to the target non-background resident function; and also includes: when it is determined that the automatic parking for the target vehicle is completed, determining whether there is a target non-background resident function whose current value of the pause flag is the first value; when it is determined that there is a target non-background resident function whose current value of the pause flag is the first value, instructing the target non-background resident function whose current value of the pause flag is the first value to perform the operation corresponding to the target non-background resident function whose current value of the pause flag is the first value, and setting the value of the pause flag of the target non-background resident function whose current value of the pause flag is the first value to a second value, the second value being different from the first value.
[0067] refer to Figure 3 , which shows a flowchart of an example of allocating computing power.
[0068] When it is determined that the automatic parking for the target vehicle has started, each corresponding operation of the voice recognition function, the OMS function, and the DMS function is suspended. When it is determined that the automatic parking for the target vehicle has started, it is determined whether the operation corresponding to the video playback function is being executed, and if so, the operation corresponding to the video playback function is suspended. When it is determined that the automatic parking for the target vehicle has started, it is determined whether the operation corresponding to the audio playback function is being executed, and if so, the operation corresponding to the audio playback function is suspended. When it is determined that the automatic parking for the target vehicle has started, it is determined whether the operation corresponding to the navigation function is being executed, and if so, the operation corresponding to the navigation function is suspended. When it is determined that the automatic parking for the target vehicle has ended, each corresponding operation of the voice recognition function, the OMS function, and the DMS function is executed. When it is determined that the automatic parking for the target vehicle has ended, it is determined whether the operation corresponding to the navigation function has been suspended, and if so, the operation corresponding to the navigation function is executed. When it is determined that the automatic parking for the target vehicle has ended, it is determined whether the operation corresponding to the video playback function has been suspended, and if so, the operation corresponding to the video playback function is executed. When it is determined that the automatic parking for the target vehicle has ended, it is determined whether the operation corresponding to the audio playback function is suspended, and if so, the operation corresponding to the audio playback function is executed.
[0069] The embodiments of the present disclosure provide a computing power allocation device. The device is used to implement the above embodiments and preferred implementation modes, and will not be repeated hereafter. As used below, the term "unit" may implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0070] The computing power distribution device comprises:
[0071] a computing power time-division multiplexing operation execution unit, for executing a computing power time-division multiplexing operation when it is determined that automatic parking for a target vehicle has started, the computing power time-division multiplexing operation comprising: respectively instructing each of a plurality of target background resident functions of a smart cockpit of the target vehicle to suspend execution of an operation corresponding to the target background resident function, and when a target non-background resident function that is executing an operation corresponding to the target non-background resident function exists among a plurality of target non-background resident functions of the smart cockpit of the target vehicle, instructing the target non-background resident function of the smart cockpit of the target vehicle that is executing an operation to suspend execution of an operation corresponding to the target non-background resident function, wherein the background resident function is a function whose program is a background resident program, the non-background resident function is a function other than the background resident program, the computing power corresponding to the background resident function is the computing power provided by the target system-level chip on the target vehicle and allocated to the background resident function, and the computing power corresponding to the non-background resident function is the computing power provided by the target system-level chip on the target vehicle and allocated to the non-background resident function;
[0072] An automatic parking unit, configured to perform automatic parking for a target vehicle by at least utilizing computing power corresponding to each target background resident function among a plurality of target background resident functions;
[0073] A recovery unit is used to, when it is determined that the automatic parking for the target vehicle is terminated, instruct each of the multiple target background resident functions to execute the operation corresponding to the target background resident function, and when there is a target non-background resident function that is instructed to suspend the execution of the operation corresponding to the target non-background resident function through the computing power time-division multiplexing operation, instruct the target non-background resident function that is instructed to suspend the execution of the operation corresponding to the target non-background resident function through the computing power time-division multiplexing operation to execute the operation corresponding to the target non-background resident function.
[0074] In a possible implementation, the computing power corresponding to each of the multiple target background resident functions is greater than the computing power threshold, and the computing power corresponding to any target non-background resident function is greater than the computing power threshold.
[0075] In one possible implementation, multiple target background resident functions of the target vehicle's smart cockpit include: voice recognition function, driver monitoring function, and passenger monitoring function; multiple target non-background resident functions of the target vehicle's smart cockpit include: navigation function, video playback function, and audio playback function.
[0076] In a possible implementation, the computing power time-division multiplexing operation further includes: setting the value of the pause flag bit of the target non-background resident function that is instructed to suspend the operation corresponding to the target non-background resident function to a first value indicating that the target non-background resident function is instructed to suspend the operation corresponding to the target non-background resident function; and the computing power allocation device further includes:
[0077] A determination unit is used to determine whether there is a target non-background resident function with a pause flag whose current value is the first value when it is determined that the automatic parking for the target vehicle is terminated; when it is determined that there is a target non-background resident function with a pause flag whose current value is the first value, instruct the target non-background resident function with a pause flag whose current value is the first value to perform an operation corresponding to the target non-background resident function with a pause flag whose current value is the first value, and set the value of the pause flag of the target non-background resident function with a pause flag whose current value is the first value to a second value, the second value being different from the first value.
[0078] In this embodiment, the device is presented in the form of a functional unit, where the unit refers to an ASIC circuit, a processor and a memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0079] The further functional description of each of the above units is the same as that of the above corresponding embodiments and will not be repeated here.
[0080] refer to Figure 4 , which shows a schematic diagram of the structure of a computer device provided by an embodiment of the present disclosure, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed in the computer device, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides part of the necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system).
[0081] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0082] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.
[0083] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0084] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0085] The computer device further includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means.
[0086] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.
[0087] The embodiments of the present disclosure also provide a computer-readable storage medium. The above-mentioned method according to the embodiments of the present disclosure can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium and downloaded through a network, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; further, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0088] A portion of the embodiments of the present disclosure may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of computer program instructions in computer-readable media includes, but is not limited to, source files, executable files, installation package files, etc., and accordingly, the way in which computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0089] Although the embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A computing power allocation method, characterized in that: The method comprises: When it is determined that automatic parking for the target vehicle has started, a computing power time-division multiplexing operation is performed, and the computing power time-division multiplexing operation includes: respectively instructing each of the multiple target background resident functions of the smart cockpit of the target vehicle to suspend the execution of the operation corresponding to the target background resident function, and when there is a target non-background resident function that is executing the operation corresponding to the target non-background resident function among the multiple target non-background resident functions of the smart cockpit of the target vehicle, instructing the target non-background resident function of the smart cockpit of the target vehicle that is executing the operation to suspend the execution of the operation corresponding to the target non-background resident function, wherein the background resident function is a function whose program is a background resident program, and the non-background resident function is a function other than the background resident program. The computing power corresponding to the background resident function is the computing power provided by the target system-level chip on the target vehicle and allocated to the background resident function, and the computing power corresponding to the non-background resident function is the computing power provided by the target system-level chip on the target vehicle and allocated to the non-background resident function. The multiple target background resident functions of the smart cockpit of the target vehicle include: voice recognition function, driver monitoring function, function, passenger monitoring function, multiple target non-background resident functions of the smart cockpit of the target vehicle include: navigation function, video playback function, audio playback function, the computing power time-division multiplexing operation also includes: setting the value of the pause flag bit of the target non-background resident function that is instructed to suspend the execution of the operation corresponding to the target non-background resident function to a first value indicating that the target non-background resident function is instructed to suspend the execution of the operation corresponding to the target non-background resident function; and the method also includes: when it is determined that the automatic parking for the target vehicle is completed, determining whether there is a target non-background resident function whose current value of the pause flag bit is the first value; when it is determined that there is a target non-background resident function whose current value of the pause flag bit is the first value, instructing the target non-background resident function whose current value of the pause flag bit is the first value to execute the operation corresponding to the target non-background resident function whose current value of the pause flag bit is the first value, and setting the value of the pause flag bit of the target non-background resident function whose current value of the pause flag bit is the first value to a second value, the second value is different from the first value; At least using the computing power corresponding to each target background resident function among the multiple target background resident functions to perform automatic parking for the target vehicle; When it is determined that automatic parking for the target vehicle is completed, each of the multiple target background resident functions is instructed to execute the operation corresponding to the target background resident function, and when there is a target non-background resident function that is instructed to suspend the execution of the operation corresponding to the target non-background resident function through the computing power time-division multiplexing operation, the target non-background resident function that is instructed to suspend the execution of the operation corresponding to the target non-background resident function through the computing power time-division multiplexing operation is instructed to execute the operation corresponding to the target non-background resident function.
2. The method according to claim 1, characterized in that: The computing power corresponding to each of the multiple target background resident functions is greater than the computing power threshold, and the computing power corresponding to any target non-background resident function is greater than the computing power threshold.
3. A computing power allocation device, characterized in that: The device comprises: The computing power time-division multiplexing operation execution unit is used to execute the computing power time-division multiplexing operation when it is determined that the automatic parking for the target vehicle starts. The computing power time-division multiplexing operation includes: respectively instructing each of the multiple target background resident functions of the smart cockpit of the target vehicle to suspend the execution of the operation corresponding to the target background resident function, and when there is a target non-background resident function that is executing the operation corresponding to the target non-background resident function among the multiple target non-background resident functions of the smart cockpit of the target vehicle, instructing the target non-background resident function that is executing the operation of the smart cockpit of the target vehicle to suspend the execution of the operation corresponding to the target background resident function. The resident function suspends the execution of the operations corresponding to the target non-background resident functions, wherein the background resident function is a function whose program is a background resident program, and the non-background resident function is a function other than the background resident program. The computing power corresponding to the background resident function is the computing power provided by the target system-level chip on the target vehicle and allocated to the background resident function, and the computing power corresponding to the non-background resident function is the computing power provided by the target system-level chip on the target vehicle and allocated to the non-background resident function. The multiple target background resident functions of the smart cockpit of the target vehicle include: voice recognition function, driving The computing power allocation device further comprises: a determination unit for determining whether there is a target non-background resident function whose current value of the pause flag is the first value when determining that the automatic parking for the target vehicle is ended; when determining that there is a target non-background resident function whose current value of the pause flag is the first value, instructing the target non-background resident function whose current value of the pause flag is the first value to perform the operation corresponding to the target non-background resident function whose current value of the pause flag is the first value to have ... An automatic parking unit, configured to perform automatic parking for a target vehicle by at least utilizing computing power corresponding to each target background resident function among a plurality of target background resident functions; A recovery unit is used to, when it is determined that the automatic parking for the target vehicle is terminated, instruct each of the multiple target background resident functions to execute the operation corresponding to the target background resident function, and when there is a target non-background resident function that is instructed to suspend the execution of the operation corresponding to the target non-background resident function through the computing power time-division multiplexing operation, instruct the target non-background resident function that is instructed to suspend the execution of the operation corresponding to the target non-background resident function through the computing power time-division multiplexing operation to execute the operation corresponding to the target non-background resident function.
4. The device according to claim 3, characterized in that The computing power corresponding to each of the multiple target background resident functions is greater than the computing power threshold, and the computing power corresponding to any target non-background resident function is greater than the computing power threshold.
5. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method according to any one of claims 1 to 2 by executing the computer instructions.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 2.
7. A computer program product, characterized in that The method comprises computer instructions for causing a computer to execute the method according to any one of claims 1 to 2.
Citation Information
Patent Citations
Panoramic image generation method, device and system and vehicle
CN116170695A
Computing power management method and device of domain controller chip, equipment and medium
CN116382904A