Vehicle-mounted system, vehicle machine and method for quickly shutting down the same
Patent Information
- Application Number
- CN201810240752.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-03-22
- Publication Date
- 2026-09-08
- Estimated Expiration
- 2038-03-22
AI Technical Summary
由于现有的车机并未检测应用程序是否对可写分区进行操作,因此关闭车机系统中所有应用程序;现有车机的关机操作需要4-10秒才能完成,若用户在汽车熄火后立刻启动开机,需要等待车机关机完成后再进行开机,导致车机的开机时间长,影响用户的体验
[0008] The beneficial effects of this invention are as follows: Unlike existing technologies, the method for quickly shutting down a vehicle's infotainment system includes: obtaining a vehicle shutdown message and generating a shutdown message based on the shutdown message; obtaining the writable partition of the vehicle's infotainment system and, based on the shutdown message, closing applications and/or services operating on the writable partition; and removing the writable partition after the applications and/or services have been closed. Compared to existing technologies that shut down all applications in the vehicle's infotainment system, this method, by obtaining and closing applications and/or services operating on the writable partition, and removing the writable partition, eliminates the need to operate on readable partitions or close applications and/or services that are already running but not operating on the writable partition, thus reducing unnecessary operations, reducing the shutdown time of the vehicle's infotainment system, and improving the user experience.
Smart Images

Figure CN110297664B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle infotainment technology, and in particular to an in-vehicle system, an in-vehicle infotainment system, and a method for rapid shutdown thereof. Background Technology
[0002] Currently, the vehicle's infotainment system needs to be switched off after the car is turned off. To protect the system's stability, it should be switched off only after the system has completed its normal shutdown process. Forcing a shutdown could result in the loss of written data, potentially affecting the stability of the system's programs or services.
[0003] The current vehicle infotainment system's shutdown procedure includes: closing all applications in the system; disabling all services; removing all partitions, including writable and readable partitions; and shutting down the system kernel. Because the current system does not detect whether applications are operating on writable partitions, closing all applications takes 4-10 seconds. If the user immediately turns the vehicle on after turning off the engine, they must wait for the shutdown process to complete, resulting in a long boot time and negatively impacting the user experience. Summary of the Invention
[0004] The main technical problem solved by this invention is to provide an in-vehicle system, an in-vehicle infotainment system, and a method for quickly shutting down the system, so as to solve the above-mentioned problem.
[0005] To solve the above-mentioned technical problems, one technical solution adopted by the present invention is: to provide a method for quickly shutting down a vehicle infotainment system, which includes: obtaining a vehicle shutdown message and generating a shutdown message based on the shutdown message; obtaining a writable partition of the vehicle infotainment system, and closing applications and / or services operating on the writable partition based on the shutdown message; and removing the writable partition when the applications and / or services have finished closing.
[0006] To solve the above-mentioned technical problems, another technical solution adopted by the present invention is: providing a vehicle infotainment system, comprising: a communication module for acquiring a vehicle shutdown message; a power-off module connected to the communication module for generating a power-off message based on the shutdown information; and a storage module connected to the power-off module for storing applications and / or services that operate on a writable partition; wherein, the power-off module closes the applications and / or services based on the power-off message; and when the applications and / or services are closed, the power-off module removes the writable partition.
[0007] To solve the above-mentioned technical problems, another technical solution adopted by the present invention is: providing an in-vehicle system, which includes a vehicle infotainment system and a power management device. The power management device includes an MCU communication module, a power management module, and a power supply. The MCU communication module is connected to the vehicle infotainment system, and the power management module is connected to both the MCU communication module and the power supply. Specifically: the vehicle infotainment system acquires a vehicle shutdown message and generates a shutdown message based on the shutdown information; the vehicle infotainment system acquires a writable partition and, based on the shutdown message, closes applications and / or services operating on the writable partition; when the applications and / or services have finished closing, the vehicle infotainment system removes the writable partition; the vehicle infotainment system shuts down the system kernel and sends a shutdown completion message to the MCU communication module; the power management module shuts down the power supply based on the shutdown completion message.
[0008] The beneficial effects of this invention are as follows: Unlike existing technologies, the method for quickly shutting down a vehicle's infotainment system includes: obtaining a vehicle shutdown message and generating a shutdown message based on the shutdown message; obtaining the writable partition of the vehicle's infotainment system and, based on the shutdown message, closing applications and / or services operating on the writable partition; and removing the writable partition after the applications and / or services have been closed. Compared to existing technologies that shut down all applications in the vehicle's infotainment system, this method, by obtaining and closing applications and / or services operating on the writable partition, and removing the writable partition, eliminates the need to operate on readable partitions or close applications and / or services that are already running but not operating on the writable partition, thus reducing unnecessary operations, reducing the shutdown time of the vehicle's infotainment system, and improving the user experience. Attached Figure Description
[0009] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. Wherein:
[0010] Figure 1 This is a schematic flowchart of the method for quickly shutting down the vehicle's infotainment system according to the first embodiment of the present invention;
[0011] Figure 2 yes Figure 1 A schematic diagram illustrating the application scenarios of CRRC's locomotives;
[0012] Figure 3 This is a schematic flowchart of the method for quickly shutting down the vehicle's infotainment system according to the second embodiment of the present invention;
[0013] Figure 4 yes Figure 3 A flowchart illustrating step S302;
[0014] Figure 5 This is a schematic diagram of the vehicle infotainment system according to the first embodiment of the present invention;
[0015] Figure 6 This is a schematic diagram of the vehicle-mounted system according to the first embodiment of the present invention. Detailed Implementation
[0016] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0017] Please see Figure 1-2 As shown, Figure 1 This is a schematic flowchart of the method for quickly shutting down the vehicle's infotainment system according to the first embodiment of the present invention; Figure 2 yes Figure 1 A schematic diagram of the application scenario of the vehicle infotainment system. The vehicle infotainment system 21 disclosed in this embodiment is used in a car. Users can play music, navigate, and view the reversing camera through the vehicle infotainment system 21. The vehicle infotainment system 21 is connected to the power management device 22, and the power supply 23 is connected to the power management device 22. The power supply 23 is used to supply power to the vehicle infotainment system 21 and the power management device 22.
[0018] like Figure 1 As shown, the method for quickly shutting down the vehicle's infotainment system disclosed in this embodiment includes the following steps:
[0019] S101: Obtain the vehicle's engine shutdown message and generate a shutdown message based on the engine shutdown message.
[0020] When the vehicle's infotainment system 21 receives a message indicating that the vehicle has been turned off, it generates a shutdown message based on this message. When the vehicle is turned off, the power management device 22 shuts off the power supply 23 after the infotainment system 21 has completed its shutdown process, in order to protect the stability of the infotainment system 21.
[0021] S102: Obtain the writable partition of the vehicle infotainment system 21, and close the applications and / or services that operate on the writable partition according to the power-off message.
[0022] The storage module of the vehicle infotainment system 21 can include writable partitions and readable partitions. Due to the high stability of readable partitions, most of the partitions in the storage module of the vehicle infotainment system 21 are readable partitions. The writable partitions are used to store user data information and / or vehicle infotainment system configuration information. When the user data information or the vehicle infotainment system 21 configuration information is updated, the vehicle infotainment system 21 saves the updated user data information or vehicle infotainment system 21 configuration information in the writable partitions.
[0023] When the operating system of the vehicle infotainment system 21 is generated, the vehicle infotainment system 21 has already configured writable and readable partitions, and saved the configuration information of the writable and readable partitions as a configuration file, which can be stored in the storage module of the vehicle infotainment system 21. Therefore, the vehicle infotainment system 21 can obtain the configuration file from the storage module of the vehicle infotainment system 21, and then the vehicle infotainment system 21 can obtain the writable partition according to the configuration file.
[0024] After the vehicle infotainment system 21 obtains the writable partition, the vehicle infotainment system 21 obtains the application and / or service that operates on the writable partition; for example, when the vehicle infotainment system 21 runs an application, the vehicle infotainment system 21 needs to obtain the corresponding data in the writable partition, and the application is an application that operates on the writable partition; when the vehicle infotainment system 21 runs a service, the vehicle infotainment system 21 needs to obtain the corresponding data in the writable partition, and the service is a service that operates on the writable partition.
[0025] After the vehicle infotainment system 21 generates a shutdown message, the vehicle infotainment system 21 shuts down the applications and / or services that operate on the writable partition according to the shutdown message. That is, the vehicle infotainment system 21 shuts down the applications and services that operate on the writable partition, or the vehicle infotainment system 21 shuts down the applications that operate on the writable partition, or the vehicle infotainment system 21 shuts down the services that operate on the writable partition.
[0026] S103: Remove writable partitions when the application and / or service has finished shutting down.
[0027] Specifically, when the application and / or service operating on the writable partition is shut down, the vehicle system 21 removes the writable partition. For example, if the operating system of the vehicle system 21 is Linux, the vehicle system 21 performs an umount operation on the writable partition.
[0028] Compared to existing technologies that shut down all applications in the vehicle infotainment system, the vehicle infotainment system 21 in this embodiment obtains applications and / or services that operate on the writable partition, shuts down these applications and / or services, and removes the writable partition. This eliminates the need to operate on the readable partition or shut down applications and / or services that are already running but not operating on the writable partition, thereby reducing unnecessary operations, reducing the shutdown time of the vehicle infotainment system 21, and improving the user experience.
[0029] The present invention further provides a method for quickly shutting down a vehicle's infotainment system according to a second embodiment, which is described based on the method disclosed in the first embodiment. For example... Figure 3 As shown, the method for quickly shutting down the vehicle's infotainment system disclosed in this embodiment includes the following steps:
[0030] S301: Obtain the vehicle's engine shutdown message and generate a shutdown message based on the engine shutdown message.
[0031] S302: Obtain the writable partition of the vehicle infotainment system 21, and close the applications and / or services that operate on the writable partition according to the power-off message.
[0032] S303: Remove writable partitions when the application and / or service has finished shutting down.
[0033] S304: Disable the system kernel of vehicle infotainment system 21.
[0034] Steps S301 and S303 are the same as steps S101 and S103 disclosed in the above embodiments, and will not be repeated here.
[0035] like Figure 4 As shown, step S302 may specifically include the following steps:
[0036] S401: Obtain the process ID of vehicle infotainment system 21 and determine whether the process ID has a file link to a writable partition.
[0037] Among them, the vehicle system 21 obtains the process ID of the process currently running in the operating system, for example, the vehicle system 21 searches for the running process ID in the / proc directory of the Linux system.
[0038] The vehicle's infotainment system 21 determines whether a process ID has a file link that can be written to a partition. For example, the system checks whether there is a file link that can be written to a partition under the directory / proc / process_id / fd to determine whether the process ID has a file link that can be written to a partition.
[0039] If yes, that is, when the vehicle system 21 determines that the process ID has a file link with a writable partition, then proceed to step S402; if no, that is, when the vehicle system 21 determines that the process ID does not have a file link with a writable partition, then end. For example, if the vehicle system 21 finds a file link with a writable partition in the / proc / process_id / fd directory, then the vehicle system 21 determines that the process ID has a file link with a writable partition.
[0040] S402: Mark the process ID and close the process corresponding to the marked process ID.
[0041] The vehicle system 21 marks the process ID and sends a sigtearm signal to the process corresponding to the marked process ID to close the process corresponding to the marked process ID.
[0042] In step S304, after the vehicle infotainment system 21 removes the writable partition, the vehicle infotainment system 21 shuts down the system kernel of the vehicle infotainment system 21. For example, the vehicle infotainment system 21 shuts down the system kernel of the Linux system, that is, the vehicle infotainment system 21 can shut down the system kernel of the Linux system through the shutdown command.
[0043] When the vehicle infotainment system 21 has finished shutting down the system kernel, the vehicle infotainment system 21 generates a shutdown message and sends the shutdown message to the power management device 22. The power management device 22 then shuts down the power supply 23 according to the shutdown message.
[0044] The vehicle infotainment system 21 disclosed in this embodiment can shut down in less than 2 seconds, which can reduce the shutdown time of the vehicle infotainment system and improve the user experience. In addition, this embodiment can increase the lifespan of the power supply 23 by quickly shutting down the vehicle infotainment system 21.
[0045] The present invention further provides a vehicle infotainment system according to a first embodiment, which is described based on the method disclosed in the first embodiment. For example... Figure 5 As shown, the vehicle infotainment system 21 disclosed in this embodiment includes a communication module 211, a power-off module 212, and a storage module 213. The power-off module 212 is connected to the communication module 211 and the storage module 213 respectively.
[0046] When the car is turned off, the communication module 211 receives the car's shutdown message. The communication module 211 further establishes a connection with the power management device 22, which manages the power supply 23.
[0047] The shutdown module 212 is used to obtain a shutdown message from the communication module 211 and generate a shutdown message based on the shutdown message. The storage module 213 is used to store applications and / or services that operate on the writable partition.
[0048] The storage module 213 includes writable and readable partitions. Due to the high stability of readable partitions, most of the partitions in the storage module 213 of the vehicle infotainment system 21 are readable partitions. The writable partitions are used to store user data and / or vehicle infotainment system 21 configuration information. When the user data or vehicle infotainment system 21 configuration information is updated, the vehicle infotainment system 21 saves the updated user data or vehicle infotainment system 21 configuration information in the writable partitions.
[0049] When the operating system of the vehicle infotainment system 21 is generated, the vehicle infotainment system 21 has already configured writable and readable partitions, and saved the configuration information of the writable and readable partitions as a configuration file; the storage module 213 can also store this configuration file. Therefore, when the shutdown module 212 obtains the configuration file of the vehicle infotainment system 21 from the storage module 213, the shutdown module 212 obtains the writable partition according to the configuration file.
[0050] After obtaining the writable partition, the shutdown module 212 obtains the applications and / or services that operate on the writable partition. After generating a shutdown message, the shutdown module 212 shuts down the applications and / or services that operate on the writable partition according to the shutdown message; that is, the shutdown module 212 shuts down the applications and services that operate on the writable partition, or the shutdown module 212 shuts down the applications that operate on the writable partition, or the shutdown module 212 shuts down the services that operate on the writable partition.
[0051] When the application and / or service finishes shutting down, the shutdown module 212 removes the writable partition. For example, if the operating system of the vehicle infotainment system 21 is Linux, the shutdown module 212 performs an unmount operation on the writable partition.
[0052] The communication module 211 disclosed in this embodiment can be GPIO (General Purpose Input Output), UART (Universal Asynchronous Receiver / Transmitter), or I2C (Inter-Integrated Circuit); the power-off module 212 can be a processing chip or a central processing unit.
[0053] In this implementation, the vehicle infotainment system 21 only needs to shut down the applications and / or services that operate on the writable partition and remove the writable partition through the shutdown module 212. No operation on the readable partition is required, which reduces invalid operations, thereby reducing the shutdown time of the vehicle infotainment system 21 and improving the user experience.
[0054] The present invention further provides a second embodiment of the vehicle infotainment system, which is described based on the vehicle infotainment system disclosed in the first embodiment. When the shutdown module 212 shuts down the application and / or service operating on the writable partition, the shutdown module 212 obtains the process ID of the vehicle infotainment system 21 and determines whether the process ID has a file link to the writable partition.
[0055] Among them, the shutdown module 212 obtains the process ID of the vehicle system 21 that is running in the operating system. For example, the shutdown module 212 searches for the running process ID in the / proc directory of the Linux system.
[0056] The shutdown module 212 determines whether the process ID has a file link with a writable partition. For example, the shutdown module 212 checks whether there is a file link with a writable partition in the / proc / process_id / fd directory to determine whether the process ID has a file link with a writable partition. For example, if the shutdown module 212 finds a file link with a writable partition in the / proc / process_id / fd directory, then the shutdown module 212 determines that the process ID has a file link with a writable partition.
[0057] When the shutdown module 212 detects that a process ID has a file link to a writable partition, it marks the process ID and shuts down the process corresponding to the marked process ID. The shutdown module 212 sends a sigtearm signal to the process corresponding to the marked process ID to shut down the process corresponding to the marked process ID.
[0058] When the shutdown module 212 determines that the process ID has no file link to a writable partition, the process ends.
[0059] After the shutdown module 212 removes the writable partition, it shuts down the system kernel of the vehicle infotainment system 21. For example, the shutdown module 212 can shut down the system kernel of the Linux system using the shutdown command.
[0060] When the shutdown module 212 completes the shutdown of the system kernel, the vehicle unit 21 generates a shutdown message, and the communication module 211 sends the shutdown message to the power management device 22. The power management device 22 shuts down the power 23 according to the shutdown message.
[0061] The present invention further provides a vehicle-mounted system according to a first embodiment, such as... Figure 6 As shown, the vehicle system 60 includes a vehicle infotainment system 61 and a power management device 62. The power management device 62 includes an MCU communication module 621, a power management module 622, and a power supply 623. The MCU communication module 621 is connected to the vehicle infotainment system 61, and the power management module 622 is connected to both the MCU communication module 621 and the power supply 623. The vehicle infotainment system 61 receives a vehicle shutdown message and generates a shutdown message based on the shutdown information. The vehicle infotainment system 61 obtains a writable partition and, based on the shutdown message, closes the applications and / or services operating on the writable partition. When the applications and / or services have finished closing, the vehicle infotainment system 61 removes the writable partition. The vehicle infotainment system 61 shuts down the system kernel and sends a shutdown completion message to the MCU communication module 621. The power management module 622 shuts down the power supply 623 based on the shutdown completion message. The vehicle infotainment system 61 disclosed in this embodiment is the same as the vehicle infotainment system 21 disclosed in the above embodiments, and will not be described again here.
[0062] In summary, the vehicle infotainment system quick shutdown method of the present invention includes: obtaining a vehicle shutdown message and generating a shutdown message based on the shutdown message; obtaining the writable partition of the vehicle infotainment system and closing applications and / or services operating on the writable partition according to the shutdown message; and removing the writable partition when the applications and / or services have been closed. Compared with the prior art vehicle infotainment system that shuts down all applications in the vehicle infotainment system, the vehicle infotainment system obtains and closes applications and / or services operating on the writable partition, and removes the writable partition, without operating on the readable partition or closing applications and / or services that are already running but not operating on the writable partition, thus reducing unnecessary operations, thereby reducing the shutdown time of the vehicle infotainment system and improving the user experience.
[0063] The above description is merely an embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structural or procedural transformations made based on the content of the present invention specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.
Claims
1. A method for quickly shutting down a vehicle infotainment system, characterized in that, The method includes: The system obtains the vehicle's engine shutdown message and generates a power-off message based on the engine shutdown message. Obtain the configuration file of the vehicle system, and obtain the writable partition based on the configuration file; Obtain the writable partition of the vehicle's infotainment system, and close any applications and / or services currently operating on the writable partition according to the power-off message; When the application and / or service is shut down, the writable partition is removed without operating on the readable partition or closing applications and / or services that are running but not operating on the writable partition, thus optimizing shutdown time. After removing the writable partition, the system kernel of the vehicle's infotainment system is shut down, and a shutdown completion message is sent to the power management device so that the power management device shuts down the power according to the shutdown completion message. The step of disabling applications and / or services that operate on the writable partition includes: Obtain the process ID of the vehicle system and determine whether the process ID has a file link to the writable partition; If the process ID has a file link to the writable partition, then the process ID is marked, and the process corresponding to the marked process ID is closed.
2. A vehicle infotainment system, characterized in that, The vehicle infotainment system includes: The communication module is used to obtain the car's engine shutdown message; A shutdown module, connected to the communication module, is used to generate a shutdown message based on the engine shutdown message; A storage module, connected to the shutdown module, is used to store applications and / or services that operate on the writable partition; The storage module is further used to store the vehicle infotainment system's configuration file; the shutdown module obtains the vehicle infotainment system's configuration file from the storage module and obtains the writable partition based on the configuration file; the shutdown module closes the application and / or service according to the shutdown message; when the application and / or service is closed, the shutdown module removes the writable partition without operating on the readable partition, and without closing applications and / or services that are running but have not operated on the writable partition, thereby optimizing shutdown time; the shutdown module further obtains the vehicle infotainment system's process ID and determines whether the process ID has a file link to the writable partition; if the process ID has a file link to the writable partition, the shutdown module marks the process ID and closes the process corresponding to the marked process ID; The communication module is connected to the power management device. The shutdown module further shuts down the system kernel of the vehicle infotainment system and sends a shutdown completion message to the power management device through the communication module. The power management device shuts down the power according to the shutdown completion message.
3. A vehicle-mounted system, characterized in that, The system includes a vehicle infotainment system and a power management device. The power management device includes an MCU communication module, a power management module, and a power supply. The MCU communication module is connected to the vehicle infotainment system, and the power management module is connected to both the MCU communication module and the power supply. The vehicle infotainment system is used to obtain the vehicle's engine shutdown message and generate a power-off message based on the engine shutdown message; The vehicle system obtains the vehicle system's configuration file and obtains the writable partition based on the configuration file; The vehicle system obtains the writable partition and closes the applications and / or services that operate on the writable partition according to the power-off message; When the application and / or service is shut down, the vehicle system removes the writable partition without operating on the readable partition or closing applications and / or services that are running but not operating on the writable partition, thereby optimizing shutdown time. The vehicle infotainment system shuts down the system kernel and sends a shutdown completion message to the MCU communication module. The power management module shuts down the power according to the shutdown completion message; The vehicle system further obtains the process ID of the vehicle system and determines whether the process ID has a file link to the writable partition; if the process ID has a file link to the writable partition, the vehicle system marks the process ID and closes the process corresponding to the marked process ID.
Citation Information
Patent Citations
Microcomputer
CN1207531A
File system unloading method and device
CN106126272A