Processing method and device of target domain controller of vehicle, vehicle and medium

By monitoring the stored information and sleep time in the target domain controller and performing a restart operation to clear files, the system lag or crash caused by excessive files is solved, and the system stability is improved.

CN119882532APending Publication Date: 2025-04-25ROX MOTOR TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411947486.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

After the target domain controller is used for a long time, the generated system running cache files and system junk files are too many, resulting in system lag or crash, and the stability is not high.

Method used

By monitoring the stored information and sleep time of the target domain controller, a restart operation is performed to clear the file when the stored information reaches or exceeds the threshold and the sleep time exceeds the preset value.

Benefits of technology

Improves file processing efficiency, extends the system stability of the target domain controller, and avoids lag or crash caused by excessive files.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119882532A_ABST
    Figure CN119882532A_ABST
Patent Text Reader

Abstract

The invention discloses a processing method and device of a target domain controller of a vehicle, the vehicle and a medium. According to the method, in response to vehicle locking and power-off corresponding to a target domain controller, storage information corresponding to a file is obtained; and when the storage information is greater than or equal to the target storage threshold value, obtaining dormancy duration information of the vehicle. And under the condition that the sleep duration information is greater than a preset sleep duration threshold value, executing a restart operation on the target domain controller to clear the file. According to the method, the storage information of the file is obtained, whether the corresponding operation is executed to clear the file or not is determined according to the size of the storage information, and compared with the prior art that the file is cleared according to the time period, the file processing efficiency can be improved, so that the stability of a module system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computers, and in particular to a method, device, vehicle and medium for processing a target domain controller of a vehicle. Background Art

[0002] At present, some target domain controllers on cars, including microcontroller units (MCU) and system-on-chip (SOC), have two states: cold start and hot start. For example, when the vehicle is powered on again within a preset period after powering off, the target domain controller performs a hot start. When the vehicle is powered on again outside the preset period after powering off, the target domain controller performs a cold start.

[0003] Among them, the boot time required for hot start is shorter, and the boot time required for cold start is longer. When the cold start is triggered, the system will clean up the system running cache files and system junk files to ensure the system smoothness and stability after startup.

[0004] However, when the user uses the vehicle for a long time and the target domain controller does not meet the conditions for triggering a cold start, the target domain controller will generate a large number of system operation cache files and system junk files, and eventually the target domain controller system will become stuck or freeze, resulting in low stability of the target domain controller. Summary of the invention

[0005] The embodiments of the present disclosure provide a method, device, vehicle, medium and computer program product for processing a target domain controller of a vehicle.

[0006] In a first aspect, an embodiment of the present disclosure provides a method for processing a target domain controller of a vehicle, the method comprising:

[0007] In response to the vehicle corresponding to the target domain controller being locked and powered off, obtaining storage information corresponding to the file, the file including at least one of a cache file and a junk file, and the storage information representing a capacity ratio of the file in the storage space corresponding to the file;

[0008] When the storage information is greater than or equal to the target storage threshold, obtaining the dormancy duration information of the vehicle;

[0009] When the sleep duration information is greater than a preset sleep duration threshold, a restart operation is performed on the target domain controller to clear files. The restart operation includes restarting the target domain controller by controlling the display screen to remain in an off state.

[0010] In one feasible implementation, after obtaining the sleep duration information of the vehicle, the file processing method further includes:

[0011] When the sleep duration information is less than or equal to a preset sleep duration threshold, a cold start operation is performed in response to the vehicle corresponding to the target domain controller being unlocked and powered on.

[0012] In an achievable implementation, when the sleep duration information is greater than a preset sleep duration threshold, before performing a restart operation on the target domain controller, the method further includes:

[0013] Get current time information;

[0014] When the current time information is within the preset time period, it is determined to perform a restart operation on the target domain controller.

[0015] In one feasible implementation, after obtaining the current time information, the file processing method further includes:

[0016] When the current time information is outside the preset time period, in response to the vehicle corresponding to the target domain controller being unlocked and powered on, a cold start operation is performed.

[0017] In an achievable implementation, performing a restart operation on the target domain controller includes:

[0018] The parameter information of the target application corresponding to the target domain controller is retained, and a restart operation is performed on the target domain controller.

[0019] In an achievable implementation, after performing a restart operation on the target domain controller, the method further includes:

[0020] Perform a shutdown operation on the target domain controller.

[0021] In a second aspect, an embodiment of the present disclosure provides a processing device of a target domain controller of a vehicle, the device comprising:

[0022] An acquisition module, configured to acquire storage information corresponding to a file in response to the vehicle being locked and powered off corresponding to the target domain controller, wherein the file includes at least one of a cache file and a junk file, and the storage information represents a capacity ratio of the file in the storage space corresponding to the file;

[0023] The acquisition module is further used to acquire the sleep duration information of the vehicle when the storage information is greater than or equal to the target storage threshold;

[0024] The restart module is used to perform a restart operation on the target domain controller to clear files when the sleep duration information is greater than a preset sleep duration threshold. The restart operation includes restarting the target domain controller by controlling the display screen to remain in an off state.

[0025] In a third aspect, an embodiment of the present disclosure provides a vehicle storing a set of instruction sets, which are executed by the vehicle to implement a processing method of a target domain controller of the vehicle as described in any one of the first aspects.

[0026] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, which stores computer program instructions. When the computer program instructions are executed by a processor, the processing method of the target domain controller of a vehicle as described in any one of the first aspects is implemented.

[0027] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements a processing method of a target domain controller of a vehicle as described in any one of the first aspects.

[0028] The embodiments of the present disclosure provide a method, device, vehicle, computer storage medium and computer program product for processing a target domain controller of a vehicle. The method obtains storage information corresponding to a file in response to the vehicle corresponding to the target domain controller being locked and powered off. When the storage information is greater than or equal to the target storage threshold, the sleep duration information of the vehicle is obtained. When the sleep duration information is greater than a preset sleep duration threshold, a restart operation is performed on the target domain controller to clear the file. The embodiments of the present disclosure obtain the storage information of the file, and determine whether to perform a corresponding operation to clear the file based on the size of the storage information. Compared with the related art of clearing files according to a time period, the efficiency of processing files can be improved, thereby improving the stability of the module system. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the following is a brief introduction to the drawings required for use in the embodiment of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0030] Figure 1 It is a flowchart of a processing method of a target domain controller of a vehicle provided by an embodiment of the present disclosure;

[0031] Figure 2 It is a flowchart of determining to perform a restart operation on a target domain controller based on current time information provided by an embodiment of the present disclosure;

[0032] Figure 3 is a flowchart of another processing method of a target domain controller of a vehicle provided by an embodiment of the present disclosure;

[0033] Figure 4 is a structural schematic diagram of a processing device of a target domain controller of a vehicle provided by an embodiment of the present disclosure;

[0034] Figure 5 It is a structural schematic diagram of a processing device of a target domain controller of a vehicle provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0035] The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present invention, rather than to limit the present invention. For those skilled in the art, the present invention can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by illustrating examples of the present invention.

[0036] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0037] Before describing the technical solutions provided by the embodiments of the present disclosure, in order to facilitate understanding of the embodiments of the present disclosure, the present disclosure specifically describes the problems existing in the related technologies:

[0038] With the development of the automotive industry, R&D personnel have continuously improved the modules on the car to improve performance. Among them, R&D personnel have designed two startup methods for the modules including MCU and SOC, one is cold start and the other is hot start. The trigger condition for the module cold start is that if the vehicle is powered on again within the preset period after power off, the module performs a cold start. The trigger condition for the module hot start is that if the vehicle is powered on again outside the preset period after power off, the module performs a cold start.

[0039] For example, the preset period required for the module cold start is 7 days. After the vehicle is powered off on the first day, if the vehicle is powered on again on the third day, the module performs a hot start. If the vehicle is powered on again on the ninth day, the module performs a cold start.

[0040] It should be noted that the boot time required for cold start and hot start is different. When the module is hot started, the system operation cache files and system garbage files generated in the module will not be cleared, so the boot time required for the module hot start is shorter. When the module is cold started, the system operation cache files and system garbage files will be cleared to ensure the smoothness and stability of the system after startup, so the boot time required for the module cold start is longer.

[0041] It is understandable that when the preset period for cold start of the module is 7 days, if the user drives for a long time every day, the module will generate a large number of system operation cache files and system garbage files. Since the vehicle has not been powered off for 7 days, the module cannot perform a cold start to clear the system operation cache files and system garbage files in the module, which may eventually cause the module to freeze or freeze while the user is driving, making the module unstable and seriously affecting the user's driving safety.

[0042] The embodiments of the present disclosure provide a method, device, vehicle, computer storage medium and computer program product for processing a target domain controller of a vehicle, which can solve the technical problems existing in the related technologies.

[0043] In response to the vehicle locking and powering off corresponding to the target domain controller, the disclosed embodiment obtains storage information corresponding to the file. When the storage information is greater than or equal to the target storage threshold, the sleep duration information of the vehicle is obtained. When the sleep duration information is greater than the preset sleep duration threshold, a restart operation is performed on the target domain controller to clear the file. The disclosed embodiment obtains the storage information of the file, and determines whether to perform a corresponding operation to clear the file based on the size of the storage information. Compared with the related art of clearing files according to a time period, it can improve the efficiency of processing files, thereby improving the stability of the module system.

[0044] The following is an introduction to the processing method of the target domain controller of the vehicle provided in the embodiment of the present disclosure.

[0045] Figure 1 FIG. 1 is a flow chart of a method for processing a target domain controller of a vehicle provided by an embodiment of the present disclosure. The execution subject of the method is the target domain controller. Figure 1 , the method includes steps S110-S130.

[0046] S110: In response to the vehicle corresponding to the target domain controller being locked and powered off, obtaining storage information corresponding to the file.

[0047] The file includes at least one of a cache file and a garbage file, the cache file may include a system operation cache file generated by the target domain controller, and the garbage file may include a system garbage file generated by the target domain controller. The storage information represents the capacity ratio of the file in the storage space corresponding to the file.

[0048] In this embodiment, in response to the vehicle corresponding to the target domain controller being locked and powered off, the target domain controller obtains storage information corresponding to the file.

[0049] In one embodiment, a detection component in the target domain controller may be used to detect whether the vehicle corresponding to the target domain controller is locked and powered off.

[0050] In one example, the target domain controller may be an Intelligent Driving Cockpit Unit (IDCU) or an Automated Driving Control Unit (ADCU).

[0051] It should be noted that after the vehicle corresponding to the target domain controller is locked and powered off, the target domain controller can be powered by an independent power supply module such as a battery.

[0052] S120: When the storage information is greater than or equal to the target storage threshold, obtain the sleep duration information of the vehicle.

[0053] In this embodiment, after the storage information of the file is obtained, the storage information is compared with the target storage threshold. If the storage information is greater than or equal to the target storage threshold, the dormancy duration information of the vehicle is obtained.

[0054] The threshold information of the target storage threshold is not fixed, and may be a threshold of 70%, 75%, etc. The sleep duration information of the vehicle represents the power-off duration of the vehicle.

[0055] In one embodiment, the sleep duration information of the vehicle may be obtained through a timer inside the target domain controller.

[0056] S130: When the sleep duration information is greater than a preset sleep duration threshold, a restart operation is performed on the target domain controller to clear the file.

[0057] In one embodiment, if the acquired sleep duration information is greater than a preset sleep duration threshold, a restart operation is performed on the target domain controller to clear the file.

[0058] The sleep duration information is not fixed. The restart operation includes restarting the target domain controller by controlling the display screen to remain in an off state.

[0059] In one example, in response to the vehicle corresponding to the target domain controller being locked and powered off, the target domain controller obtains the storage information corresponding to the file, and the storage information is 80% greater than the target storage threshold of 70%, then the target domain controller obtains the vehicle's sleep duration information, which is 3.5 hours. If the vehicle's sleep duration information is greater than the preset sleep duration threshold of 3 hours, the target domain controller restarts and clears the file during the restart process. The disclosed embodiment obtains the storage information of the file, and determines whether to perform a corresponding operation to clear the file based on the size of the storage information. Compared with the related art of clearing files according to a time period, it can improve the efficiency of processing files, thereby improving the stability of the module system.

[0060] In one embodiment, during the restart process of the target domain controller, no corresponding controller area network (CAN) bus signal is sent to the outside to prevent waking up other modules.

[0061] It can be understood that the embodiment of the present disclosure performs a restart operation on the target domain controller to clear files without sending the corresponding controller area network bus signal to the outside, which is different from the cold start operation in the related art, that is, there is no need to wake up other modules / controllers.

[0062] In one embodiment, after the target domain controller completes the restart, that is, clears the files, it will perform a shutdown operation, wait for receiving the trigger information corresponding to the vehicle powering on again, and perform a hot start operation in response to the trigger information.

[0063] In one embodiment, after acquiring the sleep duration information of the vehicle, the processing method of the target domain controller of the vehicle further includes step S140.

[0064] S140: When the sleep duration information is less than or equal to a preset sleep duration threshold, in response to the vehicle corresponding to the target domain controller being unlocked and powered on, a cold start operation is performed.

[0065] In this embodiment, if the acquired sleep duration information is less than or equal to the preset sleep duration threshold, the target domain controller performs a cold start operation to clear files when detecting that the vehicle corresponding to the target domain controller is unlocked and powered on.

[0066] It can be understood that in the embodiment of the present disclosure, when the storage information of a file is greater than or equal to the target storage threshold and the sleep duration information is less than or equal to the preset sleep duration threshold, the target domain controller performs a cold start operation in response to the vehicle corresponding to the target domain controller being unlocked and powered on. Compared with the related art in which the target domain controller performs a cold start based on a preset time period, the frequency of clearing files can be increased.

[0067] In one embodiment, when the sleep duration information is greater than a preset sleep duration threshold, before performing a restart operation on the target domain controller, such as Figure 2 As shown, the processing method of the target domain controller of the vehicle also includes step S150 and step S160.

[0068] S150: Acquire current time information.

[0069] In this embodiment, the target domain controller obtains current time information.

[0070] In one embodiment, the target domain controller obtains current time information through an internal networking component.

[0071] S160: When the current time information is within a preset time period, determine to perform a restart operation on the target domain controller.

[0072] In this embodiment, after the current time information is acquired, if the current time information is within a preset time period, it is determined to perform a restart operation on the target domain controller.

[0073] The preset time period information is not fixed.

[0074] In one example, in response to the vehicle corresponding to the target domain controller being locked and powered off, the target domain controller obtains the storage information corresponding to the file, and the storage information is 85% greater than the target storage threshold of 75%, then the target domain controller obtains the vehicle's sleep duration information, i.e., 6 hours. If the vehicle's sleep duration information is greater than the preset sleep duration threshold of 5 hours, then the current time period information, i.e., 3:00 AM (three o'clock in the morning), is obtained. If the current time period information is in the preset time period of 2:00 AM-5:00 AM, then it is determined to perform a restart operation on the target domain controller.

[0075] In the case where the sleep duration information is greater than a preset sleep duration threshold, the embodiment of the present disclosure obtains the current time information to determine whether the current time information is within a preset time period, thereby determining whether to perform a restart operation on the target domain controller, avoiding restarting during the time period when the user usually uses the car, thereby improving the user experience.

[0076] In one embodiment, after acquiring the current time information, the processing method of the target domain controller of the vehicle further includes step S170.

[0077] S170: When the current time information is outside the preset time period, in response to the vehicle corresponding to the target domain controller being unlocked and powered on, a cold start operation is performed.

[0078] In this embodiment, if the acquired current time information is outside the preset time period, the target domain controller performs a cold start operation to clear the file when detecting that the vehicle corresponding to the target domain controller is unlocked and powered on.

[0079] It can be understood that in the embodiment of the present disclosure, when the storage information of a file is greater than or equal to the target storage threshold, the sleep duration information is greater than the preset sleep duration threshold, and the current time information is outside the preset time period, the target domain controller responds to the vehicle corresponding to the target domain controller being unlocked and powered on, and performs a cold start operation. Compared with the related art in which the target domain controller performs a cold start based on a preset time period, the frequency of clearing files can be increased.

[0080] In one embodiment, performing a restart operation on the target domain controller may include step S131.

[0081] S131: retain parameter information of the target application corresponding to the target domain controller, and perform a restart operation on the target domain controller.

[0082] In this embodiment, the target domain controller is restarted in a manner of retaining parameter information of the corresponding target application.

[0083] The parameter information of the target application represents the setting information.

[0084] In one example, the target application may include: a map application, a multimedia application, a setting switch, etc. The parameter information of the target application may be parameter information such as the voice type of the map application, the volume of the multimedia application, etc.

[0085] The disclosed embodiment retains parameter information of a target application corresponding to the target domain controller and performs a restart operation on the target domain controller, thereby preventing data in the target domain controller from being modified and improving the stability of data in the target domain controller.

[0086] In one embodiment, after performing a restart operation on the target domain controller, the processing method of the target domain controller of the vehicle further includes step S180.

[0087] S180: Shut down the target domain controller.

[0088] In this embodiment, after the target domain controller is restarted, a shutdown operation is performed on the target domain controller.

[0089] In one embodiment, after a restart operation is performed on the target domain controller, a shutdown operation may be performed on the target domain controller in response to completion of the restart operation.

[0090] In one embodiment, a flowchart of another method for processing a target domain controller of a vehicle is shown as follows: Figure 3 As shown, wherein: in S301, the vehicle is powered on and running, and the target domain controller is running normally. In S302, the vehicle is locked and powered off, and the target domain controller obtains the vehicle power-off information. In S303, it is detected whether the storage information of the file is greater than or equal to the target storage threshold. If the storage information of the file is less than the target storage threshold, S304 is executed, and the target domain controller performs a hot start operation in response to the vehicle powering on. If the target domain controller detects that the storage information of the file is greater than or equal to the target storage threshold, S305 is executed to detect whether the sleep time information of the vehicle is greater than the preset sleep time threshold. If the sleep time information of the vehicle is less than or equal to the preset sleep time threshold, S306 is executed, and the target domain controller performs a cold start operation in response to the vehicle powering on. If the sleep time information of the vehicle is greater than the preset sleep time threshold, S307 is executed to detect whether the current time information is within the preset time period. If the current time information is outside the preset time period, S308 is executed, and the target domain controller performs a cold start operation in response to the vehicle powering on. If the current time information is within the preset time period, S309 is executed, and the target domain controller is restarted and shut down.

[0091] like Figure 4 As shown, the embodiment of the present disclosure further provides a processing device 400 of a target domain controller of a vehicle, and the processing device 400 of the target domain controller of the vehicle includes:

[0092] An acquisition module 401 is used to acquire storage information corresponding to a file in response to the vehicle being locked and powered off corresponding to the target domain controller, where the file includes at least one of a cache file and a junk file, and the storage information represents a capacity ratio of the file in the storage space corresponding to the file;

[0093] The acquisition module 401 is further used to acquire the sleep duration information of the vehicle when the storage information is greater than or equal to the target storage threshold;

[0094] The restart module 402 is used to perform a restart operation on the target domain controller to clear files when the sleep duration information is greater than a preset sleep duration threshold. The restart operation includes restarting the target domain controller by controlling the display screen to remain in an off state.

[0095] The disclosed embodiment obtains the storage information of the file and determines whether to perform a corresponding operation to clear the file according to the size of the storage information. Compared with the related art of clearing files according to a time period, it can improve the efficiency of processing files, thereby improving the stability of the module system.

[0096] In one embodiment, the processing device 400 of the target domain controller of the vehicle also includes an execution module, which is used to perform a cold start operation in response to the vehicle corresponding to the target domain controller being unlocked and powered on when the sleep duration information is less than or equal to a preset sleep duration threshold.

[0097] In one embodiment, the acquisition module 401 is specifically used to:

[0098] Get current time information;

[0099] When the current time information is within the preset time period, it is determined to perform a restart operation on the target domain controller.

[0100] In one embodiment, the processing device 400 of the target domain controller of the vehicle further includes an execution module, which is used to perform a cold start operation in response to the vehicle corresponding to the target domain controller being unlocked and powered on when the current time information is outside a preset time period.

[0101] In one embodiment, the restart module 402 is specifically configured to:

[0102] The parameter information of the target application corresponding to the target domain controller is retained, and a restart operation is performed on the target domain controller.

[0103] In one embodiment, the processing device 400 of the target domain controller of the vehicle further includes an execution module, and the execution module is used to execute a shutdown operation on the target domain controller.

[0104] Figure 4 Each module / unit in the device shown has the function of realizing Figure 1 and Figure 2 The functions of each step executed by the application system in the present invention can achieve the corresponding technical effects. For the sake of brevity, they will not be repeated here.

[0105] Figure 5 A schematic diagram of the processing hardware structure of the target domain controller of the vehicle provided in an embodiment of the present disclosure is shown.

[0106] The processing device of the target domain controller in the vehicle may include a processor 501 and a memory 502 storing computer program instructions.

[0107] Specifically, the processor 501 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0108] The memory 502 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 502 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 502 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 502 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 502 is a non-volatile solid-state memory.

[0109] The memory 502 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of the present disclosure.

[0110] The processor 501 implements any one of the processing methods of the target domain controller of the vehicle in the above embodiments by reading and executing the computer program instructions stored in the memory 502 .

[0111] In one example, the processing device of the target domain controller of the vehicle may further include a communication interface 503 and a bus 504. Figure 5 As shown, the processor 501, the memory 502, and the communication interface 503 are connected via a bus 504 and communicate with each other.

[0112] The communication interface 503 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0113] Bus 504 includes hardware, software or both, coupling the components of the online data traffic billing device to each other. For example, but not limitation, the bus may include an accelerated graphics port (Accelerated Graphics Port, AGP) or other graphics bus, an enhanced industry standard architecture (Extended Industry Standard Architecture, EISA) bus, a front side bus (Front Side Bus, FSB), a hypertransport (Hyper Transport, HT) interconnection, an industry standard architecture (Industry Standard Architecture, ISA) bus, an infinite bandwidth interconnection, a low pin count (LPC) bus, a memory bus, a micro channel architecture (MCA) bus, a peripheral component interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a serial advanced technology attachment (SATA) bus, a video electronics standard association local (VLB) bus or other suitable bus or a combination of two or more of these. Where appropriate, bus 504 may include one or more buses. Although the embodiment of the present invention describes and illustrates a specific bus, the present invention considers any suitable bus or interconnection. In addition, in conjunction with the processing method of the target domain controller of the vehicle in the above embodiment, the embodiment of the present application also provides a computer storage medium to implement. The computer storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any one of the processing methods of the target domain controller of the vehicle in the above-mentioned embodiments is implemented.

[0114] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the processing method of the target domain controller of any one of the above embodiments of the vehicle.

[0115] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.

[0116] The functional blocks shown in the above structural block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), appropriate firmware, plug-in, function card, etc. When implemented in software, the elements of the present invention are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or communication link by a data signal carried in a carrier. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, read-only memory (Read-Only Memory, ROM), flash memory, erasable read-only memory (Erasable ReadOnly Memory, EROM), floppy disks, compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical discs, hard disks, optical fiber media, radio frequency (Radio Frequency, RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0117] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.

[0118] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0119] The above is only a specific implementation of the present invention. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be covered within the protection scope of the present invention.

Claims

1. A method for processing a target domain controller of a vehicle, characterized in that: include: In response to the vehicle corresponding to the target domain controller being locked and powered off, acquiring storage information corresponding to a file, the file comprising at least one of a cache file and a junk file, the storage information representing a capacity ratio of the file in the storage space corresponding to the file; When the storage information is greater than or equal to the target storage threshold, acquiring sleep duration information of the vehicle; When the sleep duration information is greater than a preset sleep duration threshold, a restart operation is performed on the target domain controller to clear the file, and the restart operation includes restarting the target domain controller by controlling the display screen to remain in an off state.

2. The method according to claim 1, characterized in that After acquiring the sleep duration information of the vehicle, the method further includes: When the sleep duration information is less than or equal to the preset sleep duration threshold, in response to the vehicle corresponding to the target domain controller being unlocked and powered on, a cold start operation is performed.

3. The method according to claim 1, characterized in that When the sleep duration information is greater than a preset sleep duration threshold, before performing a restart operation on the target domain controller, the method further includes: Get current time information; When the current time information is within a preset time period, it is determined to perform a restart operation on the target domain controller.

4. The method according to claim 3, characterized in that: After obtaining the current time information, the method further includes: In a case where the current time information is outside the preset time period, in response to the vehicle corresponding to the target domain controller being unlocked and powered on, a cold start operation is performed.

5. The method according to any one of claims 1 to 4, characterized in that: The performing a restart operation on the target domain controller includes: The parameter information of the target application corresponding to the target domain controller is retained, and a restart operation is performed on the target domain controller.

6. The method according to claim 5, characterized in that After the target domain controller is restarted, the method further includes: A shutdown operation is performed on the target domain controller.

7. A processing device of a target domain controller of a vehicle, characterized in that: include: an acquisition module, the acquisition module being used to acquire storage information corresponding to a file in response to the vehicle being locked and powered off corresponding to the target domain controller, the file comprising at least one of a cache file and a junk file, the storage information representing a capacity ratio of the file in the storage space corresponding to the file; The acquisition module is further configured to acquire the sleep duration information of the vehicle when the storage information is greater than or equal to the target storage threshold; A restart module, wherein the restart module is used to perform a restart operation on the target domain controller to clear the file when the sleep duration information is greater than a preset sleep duration threshold, wherein the restart operation includes restarting the target domain controller by controlling the display screen to remain in an off state.

8. A vehicle, characterized in that: A set of instruction sets is stored, and the instruction sets are executed by the vehicle to implement the processing method of the target domain controller of the vehicle described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the processing method of the target domain controller of the vehicle according to any one of claims 1 to 6 is implemented.

10. A computer program product, characterized in that It includes a computer program, which, when executed by a processor, implements the processing method of the target domain controller of the vehicle according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • System and methods for an in-vehicle computing system

    CN104346199A

  • Vehicle control method, vehicle-mounted terminal, automobile and computer readable storage medium

    CN114764393A

  • Equipment keep-alive method and device and related equipment

    CN116700469A

  • System memory cleaning method and device, equipment, storage medium and program product

    CN118295603A

  • Memory optimization method, device and equipment for vehicle-mounted chip and readable storage medium

    CN118963844A