Vehicle-mounted system capable of rapid power on and off and method for rapid power on and off of vehicle-mounted system
Through the combination of vehicle computers, MCU modules and power management modules, non-core services and processes are first turned off and the sleep state is entered, which solves the problem of long on-board system power switches, realizes fast on-off and low power consumption, and improves user experience.
Patent Information
- Application Number
- CN202210741047.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-28
- Publication Date
- 2025-08-22
- Estimated Expiration
- 2042-06-28
AI Technical Summary
The existing on-board android system has a long time to boot and shut down, which affects the user experience. The existing fast shutdown method is not suitable for Android systems and has high development costs.
Using a combination of vehicle computers, MCU modules, power scenario management service modules and power management modules, by receiving and processing shutdown and boot signals, the non-core system services and application processes are first closed, and the main process is retained to quickly turn on and off.
It realizes rapid power switch, reduces system power consumption, improves user experience, is suitable for Android systems, and reduces development costs.
Smart Images

Figure CN115202743B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of automobile computer control, and in particular relates to a vehicle-mounted system capable of rapid power on and off and a method for rapid power on and off of the vehicle-mounted system. Background Art
[0002] As a means of transportation for people, cars bring us various conveniences. They have become a part of our lives, and our requirements for in-vehicle systems are getting higher and higher.
[0003] Most of our current in-car entertainment systems are developed and implemented based on the Android system. However, existing in-car Android systems are slow to boot up, typically taking 30 seconds to a minute. Therefore, for car owners equipped with a car computer, the long startup and shutdown times affect the user experience.
[0004] Currently, Chinese Patent Publication No. 110297664 discloses an in-vehicle system, a vehicle computer, and a method for rapid shutdown thereof. The in-vehicle system includes a vehicle computer and a power management device, the power management device including an MCU communication module, a power management module, and a power supply. The MCU communication module is connected to the vehicle computer, and the power management module is connected to the MCU communication module and the power supply, respectively. The system comprises: the vehicle computer is configured to receive a vehicle shutdown message and generate a shutdown message based on the shutdown message; the vehicle computer receives a writable partition and, based on the shutdown message, shuts down applications and / or services operating on the writable partition; when the applications and / or services are shut down, the vehicle computer removes the writable partition; the vehicle computer shuts down the system kernel and sends a shutdown completion message to the MCU communication module; and the power management module shuts down the power supply based on the shutdown completion message. The system employs a method that first divides applications into readable and writable partitions, and then, during shutdown, only shuts down applications in the writable partition, thereby reducing shutdown items and shortening shutdown time. The above system is mainly for Linux car system. The cost of developing cockpit applications for this system is relatively high and it is not suitable for Android programs. Summary of the Invention
[0005] In view of the above-mentioned deficiencies in the prior art, the technical problem to be solved by the present invention is: how to provide a vehicle-mounted system and a vehicle-mounted system fast power on and off method that can minimize system power consumption and enable faster power on and off.
[0006] In order to solve the above technical problems, the present invention adopts the following technical solutions:
[0007] An in-vehicle system capable of rapid power on and off includes a vehicle computer and an MCU module. The vehicle computer includes a vehicle computer application, a power scenario management service module, and a power management module.
[0008] The MCU module is used to receive the vehicle shutdown signal, vehicle control information, sleep signal and vehicle unlock signal. After receiving the shutdown signal and vehicle control signal, it sends all received signals to the power scene management service module; after receiving the sleep signal, it enters the sleep state; after receiving the vehicle unlock signal, it automatically wakes up the MCU module and sends the vehicle control information to the power scene management service module after waking up;
[0009] The power scenario management service module is used to receive the shutdown signal sent by the MCU module, all vehicle control information before and after shutdown, and application process information sent by the vehicle application, and determine whether there are important tasks in the system based on the received vehicle control information before shutdown and application process information. After determining that there are no important tasks, it sends a sleep signal to the power management module and the MCU module; and based on the received vehicle control information after startup, it determines the task to be awakened by the system and sends a wake-up signal to the power management module.
[0010] The power management module is used to receive the sleep signal and wake-up signal sent by the power scene management service module, and after receiving the sleep signal, execute the system shutdown animation, control the car computer screen backlight to turn off, and synchronously shut down all the car computer applications and non-core system services of the system. After receiving the wake-up signal, control the car computer screen to turn on, execute the system startup animation, and synchronously start the relevant processes of the system.
[0011] In this way, after adopting this system, when shutting down, all application processes in the system are closed first, and only the main processes in the system are retained. The entire system enters a dormant state, and the system power consumption is reduced to a minimum. At the same time, when shutting down, the screen is turned off first, and then the application processes and non-core system services are synchronously closed, so that the system enters a pseudo-shutdown state. There is no need to wait for the applications and non-core system services to be closed before shutting down, which makes the user feel faster. Before shutting down, it is first determined whether there are important tasks in the existing processes in the system, which will not affect the execution of important tasks of the system, and the user experience is better. When starting up, since the main system processes such as system, bluetooth, phone, systemUi, etc. are retained when shutting down, when starting up, after waking up each module and turning on the car screen, the system can be quickly put into use. At the same time, the main application processes are woken up by the power management module in the module to achieve the purpose of fast startup.
[0012] Furthermore, a 4G module is included. The 4G module is used to receive sleep and wake-up signals from the power scenario management service module, send the sleep signal to the MCU module, and then enter sleep mode; after receiving the wake-up signal, the system exits the sleep mode interface. The 4G module is mainly used for system communication connection, establishing two-way communication between the vehicle computer and the MCU.
[0013] Furthermore, the 4G module and the power scenario management service module transmit sleep signals and wake-up signals through the Vehicle module and the Car_Service_Fw module.
[0014] A method for quickly powering on and off an in-vehicle system, specifically, the method includes: when a user turns off the vehicle computer by turning off the engine, an MCU module sends a sleep signal to a power scenario management service module; upon receiving the sleep signal, the power scenario management service module first determines whether there are important tasks in the system based on received vehicle control information and application process information; if it is determined that there are no important tasks, it sends a sleep signal to the power management module and the MCU module; upon receiving the sleep signal, the power management module executes a system shutdown animation, controls the vehicle computer screen backlight to turn off, and simultaneously shuts down all vehicle computer applications and non-core system services in the system;
[0015] The vehicle system startup method includes: after the user turns on the ignition or the vehicle CAN network is connected or the T-BOX is awakened, the MCU module is automatically awakened and, after awakening, sends vehicle control information to the power scene management service module; after receiving the current vehicle control information, the power scene management service module determines the services and applications that need to be awakened based on the vehicle control information, and then sends a wake-up signal to the power management module; after receiving the wake-up signal, the power management module is directly awakened, and then controls the vehicle screen to turn on, executes the system startup animation, and synchronously starts the relevant processes of the system.
[0016] Furthermore, after the MCU module receives the sleep signal, it first sends the sleep signal to the 4G module, and the 4G module then passes the sleep signal to the power scenario management service module through the Vehicle module and the Car_Service_Fw module in sequence.
[0017] Furthermore, after the power scenario management service module detects a sleep signal, if there are still important tasks executing, the important tasks will maintain a heartbeat with the power scenario management service module until there are no more important tasks or the important tasks are completed. At this point, the power scenario management service module will issue a sleep signal to the power management module and the MCU module. This way, if it is determined that the current system is currently executing an important task, the sleep signal will not be issued temporarily, preventing the system from having important tasks not yet completed, which could affect the user experience and cause data loss.
[0018] Furthermore, when the MCU module receives a sleep request, it first sends feedback to the 4G module to control the 4G module to sleep, and waits for a certain period of time. During the waiting time, if no sleep feedback is received from the 4G module, and no heartbeat of an important task is received, it is considered that the vehicle computer is in sleep abnormality and the vehicle computer system is restarted. In this way, when in sleep mode, the communication module is turned off first, and then the MCU module is turned off, so that the sleep process of the 4G module can be effectively understood, avoiding abnormal sleep of the 4G module, and being unable to shut down, which increases power consumption after shutdown. The restart and then sleep method can effectively handle 4G module abnormalities.
[0019] Furthermore, if the vehicle computer system encounters an abnormality and restarts, the MCU module will again send the sleep process to the 4G module after the vehicle computer restarts. If the 4G module still fails to sleep after repeated attempts, it will be directly powered off. In this way, if the 4G module still cannot be put into sleep after the restart, the MCU module will control the power module to directly power off, which can effectively prevent the above abnormality handling process from continuing. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 2 is an architectural diagram of the vehicle-mounted system in an embodiment. DETAILED DESCRIPTION
[0021] The present invention will be further described below with reference to the accompanying drawings and examples.
[0022] Example:
[0023] like Figure 1 As shown, the in-vehicle system capable of rapid power on and off provided in this embodiment includes a vehicle computer and an MCU module. The vehicle computer includes a vehicle computer application (APP shown in the figure), a power scenario management service module (i.e., CORE_POWER_MGR_FW), and a power management module (i.e., PowerMgr_Fw);
[0024] The MCU module is used to receive the vehicle shutdown signal, vehicle control information, sleep signal and vehicle unlock signal. After receiving the shutdown signal and vehicle control signal, it sends all received signals to the power scene management service module; after receiving the sleep signal, it enters the sleep state; after receiving the vehicle unlock signal, it automatically wakes up the MCU module and sends the vehicle control information to the power scene management service module after waking up;
[0025] The power scenario management service module is used to receive the shutdown signal sent by the MCU module, all vehicle control information before and after shutdown, and application process information sent by the vehicle application, and determine whether there are important tasks in the system based on the received vehicle control information before shutdown and application process information. After determining that there are no important tasks, it sends a sleep signal to the power management module and the MCU module; and based on the received vehicle control information after startup, it determines the task to be awakened by the system and sends a wake-up signal to the power management module.
[0026] The power management module is used to receive the sleep signal and wake-up signal sent by the power scene management service module, and after receiving the sleep signal, execute the system shutdown animation, control the car computer screen backlight to turn off, and synchronously shut down all the car computer applications and non-core system services (such as Bluetooth, WiFi, audio, etc.), retaining several main system processes of the system (such as system, bluetooth, phone, systemUi); after receiving the wake-up signal, control the car computer screen to turn on, execute the system startup animation, and synchronously start the relevant processes of the system.
[0027] Specifically, the shutdown system in this embodiment also includes a 4G module, which is used to receive the sleep signal and wake-up signal issued by the power scene management service module, and enter sleep after sending the sleep signal to the MCU module; and exit the sleep interface after receiving the wake-up signal.
[0028] The 4G module and the power scenario management service module transmit sleep signals and wake-up signals through middleware (i.e., the Vehicle module and the Car_Service_Fw module).
[0029] The method for rapidly shutting down the vehicle system in this embodiment is as follows: When the user turns off the vehicle computer by turning off the engine, the MCU module sends a sleep signal to the power scenario management service module. Upon receiving the sleep signal, the power scenario management service module first determines whether there are any important tasks in the system based on the received vehicle control information and application process information. If it determines that there are no important tasks, it sends a sleep signal to the power management module and the MCU module. After receiving the sleep signal, the power management module executes the system shutdown animation, controls the vehicle computer screen backlight to turn off, and simultaneously shuts down all vehicle computer applications and non-core system services in the system.
[0030] The vehicle system startup method includes: after the user turns on the ignition or the vehicle CAN network is connected or the T-BOX is awakened, the MCU module is automatically awakened, and after waking up, it sends vehicle control information to the power scene management service module; after receiving the current vehicle control information, the power scene management service module determines the services and applications that need to be awakened based on the vehicle control information, and then sends a wake-up signal to the power management module; after receiving the wake-up signal, the power management module is directly awakened, and then controls the vehicle screen to turn on, executes the system startup animation, and synchronously starts the relevant processes of the system.
[0031] Furthermore, after the MCU module receives the sleep signal, it first sends the sleep signal to the 4G module, and the 4G module then passes the sleep signal to the power scenario management service module through the Vehicle module and the Car_Service_Fw module in sequence.
[0032] Furthermore, when the power scenario management service module receives the sleep signal, if there is an important task, it will heartbeat the important task to the MCU module until there is no important task or the important task is completed. Then the power scenario management service module will send a sleep signal to the power management module and the MCU module.
[0033] During the sleep process, to prevent the 4G module from experiencing anomalies and failing to sleep, the MCU module first sends feedback to the 4G module after receiving a sleep request, controlling the 4G module to sleep and wait for a certain period of time. During the waiting period, if no sleep feedback is received from the 4G module and no heartbeat of an important task is received, the vehicle computer is considered to have a sleep anomaly and the vehicle computer system is restarted. After the vehicle computer system experiences an anomaly and restarts, the MCU module sends the sleep process to the 4G module again after the vehicle computer restarts. If the 4G module still fails to sleep after repeated attempts, the control power module is directly powered off.
[0034] When the system is powered on and woken up, the MCU module is first awakened to receive the vehicle's current control information, and transmits the above control information and wake-up signal to the power scenario management service module through the CAN network. After receiving the wake-up signal, the power scenario management service module synchronously receives the vehicle control information and starts the wake-up of other applications, system services and the 4G module.
[0035] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit the technical solutions. Although the applicant has described the present invention in detail with reference to the preferred embodiments, ordinary technicians in this field should understand that those modifications or equivalent replacements of the technical solutions of the present invention that do not depart from the purpose and scope of the technical solutions of the present invention should be included in the scope of the claims of the present invention.
Claims
1. A vehicle-mounted system capable of rapid power on and off, comprising a vehicle computer and an MCU module, characterized in that: The vehicle computer includes a vehicle computer application, a power scenario management service module, a power management module and a 4G module; The MCU module is used to receive the vehicle shutdown signal, vehicle control information, sleep signal and vehicle unlocking signal. After receiving the shutdown signal and vehicle control signal, it sends all received signals to the power scene management service module; after receiving the sleep signal, it enters the sleep state; at the same time, the MCU module can also send feedback to the 4G module after receiving the sleep signal, control the 4G module to sleep, and wait for a certain time. During the waiting time, if the sleep feedback sent by the 4G module is not received and no heartbeat of an important task is received, it is considered that the vehicle sleep is abnormal and the vehicle system is restarted; after receiving the vehicle unlocking signal, the MCU module is automatically awakened, and after waking up, the vehicle control information is sent to the power scene management service module; The power scenario management service module is used to receive the shutdown signal sent by the MCU module, all vehicle control information before and after shutdown, and application process information sent by the vehicle application, and determine whether there are important tasks in the system based on the received vehicle control information before shutdown and application process information. After determining that there are no important tasks, it sends a sleep signal to the power management module and the MCU module; and based on the received vehicle control information after startup, it determines the task to be awakened by the system and sends a wake-up signal to the power management module. The power management module is used to receive the sleep signal and wake-up signal sent by the power scene management service module, and after receiving the sleep signal, execute the system shutdown animation, control the car computer screen backlight to turn off, and synchronously shut down all the car computer applications and non-core system services of the system. After receiving the wake-up signal, control the car computer screen to turn on, execute the system startup animation, and synchronously start the relevant processes of the system.
2. The vehicle-mounted system capable of rapid power on and off according to claim 1, characterized in that: The 4G module is used to receive the sleep signal and wake-up signal sent by the power scenario management service module, and enter sleep mode after sending the sleep signal to the MCU module; and exit the sleep interface after receiving the wake-up signal.
3. The vehicle-mounted system capable of rapid power on and off according to claim 1 or 2, characterized in that: The 4G module and the power scenario management service module transmit sleep signals and wake-up signals through the Vehicle module and the Car_Service_Fw module.
4. A method for quickly turning on and off a vehicle-mounted system, characterized in that: The shutdown method includes: when the user turns off the vehicle computer by turning off the engine, the MCU module sends a sleep signal to the power scene management service module; after receiving the sleep signal, the power scene management service module first determines whether there is an important task in the system based on the received vehicle control information and application process information, and after determining that there is no important task, sends a sleep signal to the power management module and the MCU module; when the MCU module receives the sleep request, it first sends feedback to the 4G module to control the 4G module to sleep, and waits for a certain time; within the waiting time, if no sleep feedback is received from the 4G module and no heartbeat of an important task is received, it is considered that the vehicle computer sleep is abnormal, and the vehicle computer system is restarted; after receiving the sleep signal, the power management module executes the system shutdown animation, controls the vehicle computer screen backlight to turn off, and synchronously shuts down all vehicle computer applications and non-core system services in the system; The startup method includes: after the user turns on the ignition or the vehicle CAN network is connected or the T-BOX is awakened, the MCU module is automatically awakened and, after awakening, sends vehicle control information to the power scene management service module; after receiving the current vehicle control information, the power scene management service module determines the services and applications that need to be awakened based on the vehicle control information, and then sends a wake-up signal to the power management module; after receiving the wake-up signal, the power management module is directly awakened, and then controls the vehicle screen to turn on, executes the system startup animation, and synchronously starts the relevant processes of the system.
5. The method for quickly turning on and off a vehicle-mounted system according to claim 4, characterized in that: After the MCU module receives the sleep signal, it first sends the sleep signal to the 4G module. The 4G module then passes the sleep signal to the power scenario management service module through the Vehicle module and the Car_Service_Fw module in sequence.
6. The method for quickly turning on and off a vehicle-mounted system according to claim 4 or 5, characterized in that: After the power scenario management service module determines the sleep signal, if there are important tasks still being executed, the important tasks will maintain a heartbeat with the power scenario management service module until there are no important tasks or the important tasks are completed. Then the power scenario management service module will send a sleep signal to the power management module and the MCU module.
7. The method for quickly turning on and off a vehicle-mounted system according to claim 6, characterized in that: After the vehicle computer system encounters an abnormality and restarts, the MCU module sends the sleep process to the 4G module again after the vehicle computer restarts. If the 4G module still fails to sleep successfully after repeated multiple times, the control power module directly cuts off the power to the vehicle computer.
Citation Information
Patent Citations
Remote control system for rebooting and turning off vehicle-mounted terminal
CN103002016A
System starting control method of vehicle-mounted information service terminal product
CN104460451A