Vehicle system power management method, device, equipment and medium

By obtaining the trigger source information and working status, and using the mapping relationship to switch the vehicle system status, the problem of long startup and shutdown time of the vehicle system is solved, and fast response and efficient power management are achieved.

CN115158202BActive Publication Date: 2024-09-20CHONGQING CHANGAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210784272.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-28
Publication Date
2024-09-20
Estimated Expiration
2042-06-28

AI Technical Summary

Technical Problem

Existing in-vehicle systems have long response times when starting up and shutting down, resulting in inefficient power management and the inability to quickly wake up or shut down the system.

Method used

By obtaining trigger source information and working status, and using preset mapping relationships to switch working status and application scenarios, rapid system status switching is achieved, including wake-up and shutdown preparation status, and optimized task processing and power management.

Benefits of technology

It realizes fast wake-up and power management of the vehicle system in different application scenarios, reduces startup and shutdown time, and improves power usage efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115158202B
    Figure CN115158202B
Patent Text Reader

Abstract

The present invention provides a vehicle-mounted system management method, device, equipment and medium, wherein the vehicle-mounted system management method includes: obtaining the trigger source information of the vehicle-mounted system and the working state of the vehicle-mounted system; switching the working state of the vehicle-mounted system to a target working state according to a preset first mapping relationship between the trigger source information and the working state; determining an application scenario group under the target working state according to a preset second mapping relationship between an application scenario and the working state; and determining a target application scenario in the application scenario group according to a third mapping relationship between the trigger source information and the application scenario to instruct the vehicle-mounted system to execute. In the present invention, the application scenario group under the target working state is quickly determined according to the mapping relationship between the application scenario and the working state of the vehicle-mounted system, and the target application scenario is quickly determined in the application scenario group according to the mapping relationship between the trigger source information and the application scenario.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of management technology, and in particular to a vehicle-mounted system management method, device, equipment and medium. Background Art

[0002] At present, the vehicle-mounted system is mainly powered by the vehicle-mounted power supply, and the vehicle-mounted power supply generally has two sources: the vehicle generator charges the vehicle battery and the vehicle battery provides independent power supply.

[0003] The car generator charges the car battery and supplies power to the car. This means that after the car is ignited and started, the car's generator charges the car battery. The on-board power source comes from the car battery, and the electrical energy at this time is supplemented by the car generator in a timely manner.

[0004] Independent power supply from a car battery means that after the car is turned off, the car generator stops charging the car battery, and the on-board power source still comes from the car battery, but the only electrical energy left at this time is the electrical energy stored in the car battery when the car generator is charged after the car is ignited (until the car battery is not enough to supply power).

[0005] However, when the vehicle system is started, it takes a long response time to complete the startup because it is necessary to power on and initialize various modules of the vehicle system (including various types of vehicle-mounted equipment or devices). Similarly, when the vehicle system is shut down (referring to normal shutdown), it is also necessary to shut down all modules of the vehicle system, including ending all processes currently running in each module, etc., resulting in a similarly long shutdown response time. Summary of the invention

[0006] In view of the above-mentioned shortcomings of the prior art, the present invention provides a vehicle system power management method, device, equipment and medium to solve the above-mentioned technical problems.

[0007] The vehicle-mounted system power management method provided by the present invention comprises:

[0008] Obtain the trigger source information and working status of the vehicle system;

[0009] According to a preset first mapping relationship between the trigger source information and the working state, the working state of the vehicle system is switched to a target working state;

[0010] Determine an application scenario group in a target working state according to a second mapping relationship between a preset application scenario and the working state;

[0011] According to the third mapping relationship between the trigger source information and the application scenario, a target application scenario is determined in the application scenario group to instruct the vehicle-mounted system to execute.

[0012] In one embodiment of the present invention, the switching of the working state of the vehicle system to the target working state according to the preset first mapping relationship between the trigger source information and the working state includes:

[0013] If the trigger source information is wake-up source information, switching the working state of the vehicle-mounted system to a normal working state;

[0014] If the trigger source information is power-off trigger source information, the working state of the vehicle system is switched to a shutdown preparation state;

[0015] In the normal working state, the vehicle power is turned on; in the shutdown preparation state, the vehicle power is turned off.

[0016] In one embodiment of the present invention, the trigger source information is power-off trigger source information, and after the working state of the vehicle system is switched to the shutdown preparation state, the following steps are included:

[0017] Obtaining the execution progress of tasks in each application scenario in the vehicle system, wherein the execution progress includes execution completion and task execution;

[0018] If the execution progress is that the task is being executed, the task type is obtained, and a processing type is determined according to the task type, where the processing type includes a suspendable task and a non-suspendable task;

[0019] If the processing type is a task that can be aborted, switching the vehicle system to a low-consumption state;

[0020] If the processing type is a non-stop task, the remaining execution time of the task is confirmed; if the remaining execution time of the task is greater than a preset value, the vehicle system is switched to a low-consumption state; if the remaining execution time of the task is less than or equal to a preset value, the vehicle system is switched to a low-consumption state after waiting for the task to be completed.

[0021] In one embodiment of the present invention, the low-consumption state includes a sleep state and a shutdown state; when the vehicle-mounted system switches to the low-consumption state, it includes:

[0022] Determine an application scenario group in the sleep state according to a second mapping relationship between a preset application scenario and the working state;

[0023] If the application scenario in task execution belongs to the application scenario group in sleep state, the vehicle system is switched to sleep state.

[0024] In one embodiment of the present invention, the trigger source information is wake-up source information, and after the working state of the vehicle system is switched to the normal working state, the method includes:

[0025] According to the wake-up source information, obtaining the type of the wake-up source information, the wake-up source information including scheduled wake-up, remote wake-up and on-site wake-up;

[0026] If the wake-up source information is remote wake-up or scheduled wake-up, the vehicle power state is obtained during the execution of the target application scenario of the vehicle system; if the vehicle power state is off, the vehicle system is switched to a shutdown preparation state.

[0027] The vehicle-mounted system power management device provided by the present invention comprises:

[0028] An information acquisition module, used to acquire the trigger source information of the vehicle-mounted system and the working status of the vehicle-mounted system;

[0029] A state switching module, configured to switch the working state of the vehicle-mounted system to a target working state according to a preset first mapping relationship between the trigger source information and the working state;

[0030] A first processing module, configured to determine an application scenario group in a target working state according to a second mapping relationship between a preset application scenario and the working state;

[0031] The second processing module is used to determine the target application scenario in the application scenario group according to the third mapping relationship between the trigger source information and the application scenario, so as to instruct the vehicle-mounted system to execute it.

[0032] The electronic device provided by the present invention comprises:

[0033] one or more processors;

[0034] A storage device is used to store one or more programs. When the one or more programs are executed by the one or more processors, the electronic device implements the vehicle system power management method.

[0035] The computer-readable storage medium provided by the present invention stores a computer program thereon, and when the computer program is executed by a processor of a computer, the computer is enabled to execute the vehicle-mounted system power management method.

[0036] Beneficial effects of the present invention: The present invention can quickly determine the application scenario group under the target working state according to the mapping relationship between the application scenario and the working state of the vehicle system, and quickly determine the target application scenario in the application scenario group according to the mapping relationship between the trigger source information and the application scenario, which is convenient to use. In different application scenarios, different applications in the vehicle system can perform tasks, while applications unrelated to the application scenario can be not started, thereby realizing the rapid awakening of the required functions.

[0037] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0039] Figure 1 It is a schematic diagram of an implementation environment of a vehicle system power management method shown in an exemplary embodiment of the present application.

[0040] Figure 2 It is a flow chart of a vehicle system power management method shown in an exemplary embodiment of the present application.

[0041] Figure 3 It is a block diagram of a vehicle system power management device shown in an exemplary embodiment of the present application.

[0042] Figure 4 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION

[0043] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.

[0044] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0045] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.

[0046] Figure 1 FIG. 1 is a schematic diagram of an implementation environment of a vehicle system power management method according to an exemplary embodiment of the present application. Figure 1 As shown, the network communication between the smart terminal 110 and the server 120. The trigger source information is obtained by the smart terminal 110 and then sent to the server 120. After the server 120 obtains the trigger source information, it determines the working state of the vehicle system according to the trigger source information, and controls the operation of the application in the vehicle system and the hardware components associated with the vehicle system according to the application scenario.

[0047] Exemplarily, the intelligent terminal 110 may be any terminal device such as a smart phone, a vehicle-mounted computer, a tablet computer, a laptop computer, or a wearable device, but is not limited thereto. Figure 1 The server 120 shown is a server, which can be, for example, an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms, etc., which are not limited here. The smart terminal 210 can communicate with the server 120 through wireless networks such as 3G (third generation mobile information technology), 4G (fourth generation mobile information technology), and 5G (fifth generation mobile information technology), which are not limited here.

[0048] See also Figure 2 , Figure 2 is a flow chart of a vehicle system power management method shown in an exemplary embodiment of the present application. The method can be applied to Figure 1 It should be understood that the method can also be applied to other exemplary implementation environments and be specifically executed by devices in other implementation environments, and this embodiment does not limit the implementation environment to which the method is applicable.

[0049] like Figure 2 As shown, in an exemplary embodiment, the vehicle system power management method at least includes steps S210 to S240.

[0050] Step S210, obtaining the trigger source information of the vehicle-mounted system and the working status of the vehicle-mounted system.

[0051] In an exemplary embodiment, the working state of the vehicle system includes a high-consumption state and a low-consumption state, the high-consumption state includes a normal working state and a shutdown preparation state, and the low-consumption state includes a sleep state and a shutdown state. The trigger source information includes wake-up source information and power-off trigger source information, and the wake-up source information refers to information used to wake up the vehicle system function. The power-off trigger source information refers to information used to make the vehicle system enter a low-consumption state.

[0052] In an exemplary embodiment, in the normal working state, the SoC (system-on-chip) works, the vehicle power is turned on, and the car engine charges the car battery. In the shutdown preparation state, the SoC (system-on-chip) works, the vehicle power is turned off, the car engine stops to charge the car power, and the car battery provides power for the operation of the vehicle system. In the sleep state, the SoC (system-on-chip) is powered, the CPU (central processing unit) therein is not running, and external devices are suspended. Only the RAM (random access memory) works at a low frequency to save the data of each application running, so as to facilitate the wake-up operation. In the shutdown state, the SoC (system-on-chip) is powered off and is in an inoperative state, with no power consumption.

[0053] In an exemplary embodiment, the wake-up source information is vehicle status trigger information, including wake-up types, etc. The wake-up types include scheduled wake-up, on-site wake-up, and remote wake-up. Scheduled wake-up refers to setting the wake-up time through the vehicle terminal. On-site wake-up refers to the wake-up action coming from the vehicle itself, such as unlocking the door. Remote wake-up refers to performing a wake-up operation through a mobile terminal, for example, performing a wake-up operation through a mobile phone.

[0054] Step S220: Switching the working state of the vehicle system to the target working state according to a first mapping relationship between the preset trigger source information and the working state.

[0055] In one embodiment, a first mapping table is set to record the mapping relationship between the trigger source information and the working state. The target working state refers to the state that the current vehicle system needs to switch to.

[0056] Step S230: determining an application scenario group under a target working state according to a second mapping relationship between a preset application scenario and the working state.

[0057] In an exemplary embodiment, a second mapping table is set to record the mapping relationship between the application scenario and the working status.

[0058] It is worth mentioning that in different application scenarios, it is necessary to control the operation of different applications, components, and devices in the vehicle system.

[0059] Step S240: determining a target application scenario in the application scenario group according to a third mapping relationship between the trigger source information and the application scenario, so as to instruct the vehicle-mounted system to execute.

[0060] In an exemplary embodiment, a third mapping table is set to record the mapping relationship between the trigger source information and the application scenario. The target application scenario refers to the currently required execution scenario.

[0061] Exemplarily, the application scenarios include: human-computer interaction experience scenarios such as welcoming guests and seeing off guests, hardware component control scenarios such as display devices, WIFI / Bluetooth and other network devices, audio devices, USB and other external connection devices, execution of delayed and fixed appointment scenarios, etc.

[0062] In an exemplary embodiment, according to the first mapping relationship between the preset trigger source information and the working state, the process of switching the working state of the vehicle system to the target working state may include steps S221 to S222.

[0063] Step S221: If the trigger source information is the wake-up source information, the working state of the vehicle system is switched to the normal working state.

[0064] It is also worth mentioning that if the trigger source information is wake-up source information, it is necessary to wake up some or all functions of the vehicle system, the power consumption increases, and it is necessary to switch to normal working state to allow the car engine to charge the car power supply.

[0065] In an exemplary embodiment, the wake-up source information is the door unlocking or opening information. After the vehicle system enters the working state, the vehicle terminal screen is turned on, the human-computer interaction of the startup is performed (exemplarily, including the visual and auditory effects of the welcoming process), and the preset application function is started or the function before the last sleep is restored.

[0066] Step S222: If the trigger source information is power-off trigger source information, the working state of the vehicle system is switched to a shutdown preparation state.

[0067] It is worth noting that obtaining the power-off trigger information means that it is necessary to shut down some or all functions of the vehicle system, and the working state of the vehicle system needs to be switched to a shutdown preparation state to reduce power consumption.

[0068] In an exemplary embodiment, the power-off trigger information is that the vehicle is turned off, and then the vehicle power is turned off, and after the vehicle system enters the shutdown preparation state, the shutdown human-computer interaction is performed.

[0069] In an exemplary embodiment, the trigger source information is power-off trigger source information, and the process of switching the working state of the vehicle system to the shutdown preparation state may include steps S223 to S226.

[0070] Step S223, obtaining the execution progress of tasks in each application scenario in the vehicle system, where the execution progress includes execution completion and task execution in progress.

[0071] It is worth noting that the execution progress is detected to avoid affecting the continued execution of the task after the vehicle system is switched to a shutdown state or a sleep state.

[0072] Step S224, if the execution progress is that the task is being executed, the task type is obtained, and the processing type is determined according to the task type, and the processing type includes a suspendable task and a non-suspendable task.

[0073] In an exemplary embodiment, the non-cancellable tasks include system upgrades and activation of the vehicle exit mode.

[0074] Step S225: if the processing type is a terminating task, the vehicle system is switched to a low-consumption state.

[0075] In an exemplary embodiment, if the processing type is a task that can be aborted and the vehicle-leaving mode is not turned on, the vehicle-mounted system switches to the shutdown state. If the processing type is a task that can be aborted and the vehicle-leaving mode is turned on, the vehicle-mounted system switches to the sleep state for quick wake-up. The vehicle-leaving mode is applied to the state where the person on the vehicle will return quickly after leaving the vehicle. After the person returns to the vehicle, it is necessary to achieve quick wake-up. Therefore, it will switch to the sleep state after selecting the vehicle-leaving mode.

[0076] Step S226, if the processing type is a non-stop task, confirm the remaining execution time of the task; if the remaining execution time of the task is greater than the preset value, switch the vehicle system to a low-consumption state; if the remaining execution time of the task is less than or equal to the preset value, wait for the task to be completed before switching the vehicle system to a low-consumption state.

[0077] In an exemplary embodiment, if the processing type is a non-stop task and the remaining execution time is greater than a preset value, the shutdown human-computer interaction is executed and the hardware components are turned off. If it is necessary to wait for the task to be executed, the current remaining power of the vehicle is regularly queried to determine whether it can support continued execution. If the battery power is lower than the preset value or has exceeded the maximum acceptable waiting time, it is forced to enter a low-consumption state.

[0078] In an exemplary embodiment, the process of switching the vehicle system to the low-consumption state may include: determining the application scenario group in the sleep state according to the second mapping relationship between the preset application scenario and the working state; if the application scenario in the task execution belongs to the application scenario group in the sleep state, switching the vehicle system to the sleep state. If the application scenario in the task execution does not belong to the application scenario group in the sleep state, switching the vehicle system to the shutdown state.

[0079] In an exemplary embodiment, if the trigger source information is the wake-up source information, after the working state of the vehicle-mounted system is switched to the normal working state, the method further includes: obtaining the type of the wake-up source information according to the wake-up source information, and the wake-up source information includes timed wake-up, remote wake-up and on-site wake-up. If the wake-up source information is remote wake-up or timed wake-up, the vehicle power state is obtained during the execution of the target application scenario of the vehicle-mounted system; if the vehicle power state is off, the vehicle-mounted system is switched to the shutdown preparation state.

[0080] In an exemplary embodiment, the wake-up source information is remote wake-up or scheduled wake-up. According to the specific task content information under the wake-up source, such as remote photo taking, remote calling, remote upgrade, scheduled upgrade, etc., the corresponding application and service execution function is started; and then according to the specific requirements of the function, the required hardware function is enabled.

[0081] In an exemplary embodiment, in order to prevent the vehicle power from consuming the remaining power in the battery and affecting the power supply in an emergency when the vehicle power cannot be turned on due to an abnormality, after the remote wake-up and scheduled wake-up functions are turned on, the vehicle power status is obtained. If the power is off, it switches to the shutdown preparation state.

[0082] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0083] Figure 3 is a block diagram of a vehicle system power management device shown in an exemplary embodiment of the present application, and the device can be applied to Figure 1 The device can also be applied to other exemplary implementation environments and be specifically configured in other devices. This embodiment does not limit the implementation environment to which the device is applicable.

[0084] Figure 3 As shown, the exemplary vehicle system power management device includes:

[0085] The information acquisition module 310 is used to acquire the trigger source information of the vehicle-mounted system and the working status of the vehicle-mounted system;

[0086] A state switching module 320, configured to switch the working state of the vehicle-mounted system to a target working state according to a preset first mapping relationship between the trigger source information and the working state;

[0087] A first processing module 330, configured to determine an application scenario group in a target working state according to a second mapping relationship between a preset application scenario and the working state;

[0088] The second processing module 340 is used to determine a target application scenario in the application scenario group according to a third mapping relationship between the trigger source information and the application scenario, so as to instruct the vehicle-mounted system to execute it.

[0089] In one embodiment, the information acquisition module 310 acquires trigger source information such as vehicle lock signals, vehicle door signals, vehicle power signals, battery status, vehicle information download signals, and power buttons on the central control panel. The state switching module 320, the first processing module 330, and the second processing module 340 are used to match the target application scenario according to the information acquired by the information acquisition module 310 to control the execution of the vehicle system.

[0090] In an exemplary embodiment, the state switching module 320 includes:

[0091] A first switching unit, for switching the working state of the vehicle-mounted system to a normal working state if the trigger source information is wake-up source information;

[0092] The second switching unit is used to switch the working state of the vehicle system to a shutdown preparation state if the trigger source information is power-off trigger source information.

[0093] A task progress acquisition unit, used to acquire the execution progress of tasks in each application scenario in the vehicle system, wherein the execution progress includes execution completion and task execution;

[0094] a determination unit, for obtaining a task type if the execution progress is that the task is being executed, and determining a processing type according to the task type, wherein the processing type includes a suspendable task and a non-suspendable task;

[0095] a third switching unit, for switching the vehicle system to a low-consumption state if the processing type is a suspendable task;

[0096] The fourth switching unit is used to confirm the remaining execution time of the task if the processing type is a non-stop task; if the remaining execution time of the task is greater than a preset value, it is used to switch the vehicle system to a low-consumption state; if the remaining execution time of the task is less than or equal to the preset value, it is used to wait for the task to be completed before switching the vehicle system to a low-consumption state. The low-consumption state includes a sleep state and a shutdown state.

[0097] In an exemplary embodiment, the fourth switching unit includes a low-consumption state switching subunit, which is used to switch the vehicle system to the sleep state if the application scenario in task execution belongs to the application scenario group in the sleep state, and otherwise, to switch the vehicle system to the shutdown state.

[0098] In an exemplary embodiment, the state switching module 320 further includes:

[0099] The wake-up source state confirmation unit is used to obtain the type of the wake-up source information according to the wake-up source information, and the wake-up source information includes scheduled wake-up, remote wake-up and on-site wake-up.

[0100] The fifth switching unit is used to obtain the vehicle power status during the execution of the target application scenario of the vehicle system if the wake-up source information is remote wake-up or scheduled wake-up; if the vehicle power status is off, it is used to switch the vehicle system to a shutdown preparation state.

[0101] It should be noted that the vehicle-mounted system power management device provided in the above embodiment and the vehicle-mounted system power management method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs operations has been described in detail in the method embodiment, and will not be repeated here. In actual applications, the vehicle-mounted system power management device provided in the above embodiment can allocate the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.

[0102] An embodiment of the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the electronic device implements the vehicle system power management method provided in the above-mentioned embodiments.

[0103] Figure 4 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Figure 4 The computer system 400 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0104] like Figure 4As shown, the computer system 400 includes a central processing unit (CPU) 401, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 402 or the program loaded from the storage part 408 to the random access memory (RAM) 403, such as executing the method described in the above embodiment. In the RAM 403, various programs and data required for system operation are also stored. The CPU 401, ROM 402 and RAM 403 are connected to each other through a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0105] The following components are connected to the I / O interface 405: an input section 406 including a keyboard, a mouse, etc.; an output section 407 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to the I / O interface 405 as needed. A removable medium 411, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 410 as needed so that a computer program read therefrom is installed into the storage section 408 as needed.

[0106] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 409, and / or installed from the removable medium 411. When the computer program is executed by the central processing unit (CPU) 401, various functions defined in the system of the present application are executed.

[0107] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0108] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0109] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.

[0110] Another aspect of the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor of a computer, the computer executes the vehicle-mounted system power management method as described above. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.

[0111] Another aspect of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the vehicle system power management method provided in each of the above embodiments.

[0112] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A vehicle system power management method, characterized in that: include: Obtain the trigger source information and working status of the vehicle system; According to a preset first mapping relationship between the trigger source information and the working state, the working state of the vehicle system is switched to a target working state; Determine an application scenario group in a target working state according to a second mapping relationship between a preset application scenario and the working state; Determine a target application scenario in the application scenario group according to a third mapping relationship between the trigger source information and the application scenario to instruct the vehicle-mounted system to execute; Wherein, switching the working state of the vehicle system to the target working state according to the preset first mapping relationship between the trigger source information and the working state includes: If the trigger source information is wake-up source information, switching the working state of the vehicle-mounted system to a normal working state; If the trigger source information is power-off trigger source information, the working state of the vehicle system is switched to a shutdown preparation state; In the normal working state, the vehicle power is turned on; in the shutdown preparation state, the vehicle power is turned off; If the trigger source information is power-off trigger source information, then after the working state of the vehicle system is switched to the shutdown preparation state, the following steps are included: Obtaining the execution progress of tasks in each application scenario in the vehicle system, wherein the execution progress includes execution completion and task execution; If the execution progress is that the task is being executed, the task type is obtained, and a processing type is determined according to the task type, where the processing type includes a suspendable task and a non-suspendable task; If the processing type is a task that can be aborted, switching the vehicle system to a low-consumption state; If the processing type is a non-stop task, the remaining execution time of the task is confirmed; if the remaining execution time of the task is greater than a preset value, the vehicle system is switched to a low-consumption state; if the remaining execution time of the task is less than or equal to a preset value, the vehicle system is switched to a low-consumption state after waiting for the task to be completed.

2. The vehicle system power management method according to claim 1, characterized in that: The low-consumption state includes a sleep state and a shutdown state; the vehicle-mounted system switches to a low-consumption state, including: Determine an application scenario group in the sleep state according to a second mapping relationship between a preset application scenario and the working state; If the application scenario in task execution belongs to the application scenario group in sleep state, the vehicle system is switched to sleep state.

3. The vehicle system power management method according to claim 1, characterized in that: The trigger source information is the wake-up source information, and after the working state of the vehicle-mounted system is switched to the normal working state, the method further includes: According to the wake-up source information, obtaining the type of the wake-up source information, the wake-up source information including scheduled wake-up, remote wake-up and on-site wake-up; If the wake-up source information is remote wake-up or scheduled wake-up, the vehicle power state is obtained during the execution of the target application scenario of the vehicle system; if the vehicle power state is off, the vehicle system is switched to a shutdown preparation state.

4. A vehicle system power management device, characterized in that: The device comprises: An information acquisition module, used to acquire the trigger source information of the vehicle-mounted system and the working status of the vehicle-mounted system; A state switching module, configured to switch the working state of the vehicle-mounted system to a target working state according to a preset first mapping relationship between the trigger source information and the working state; A first processing module, configured to determine an application scenario group in a target working state according to a second mapping relationship between a preset application scenario and the working state; A second processing module, configured to determine a target application scenario in the application scenario group according to a third mapping relationship between the trigger source information and the application scenario, so as to instruct the vehicle-mounted system to execute the target application scenario; Wherein, switching the working state of the vehicle system to the target working state according to the preset first mapping relationship between the trigger source information and the working state includes: If the trigger source information is wake-up source information, switching the working state of the vehicle-mounted system to a normal working state; If the trigger source information is power-off trigger source information, the working state of the vehicle system is switched to a shutdown preparation state; In the normal working state, the vehicle power is turned on; in the shutdown preparation state, the vehicle power is turned off; If the trigger source information is power-off trigger source information, then after the working state of the vehicle system is switched to the shutdown preparation state, the following steps are included: Obtaining the execution progress of tasks in each application scenario in the vehicle system, wherein the execution progress includes execution completion and task execution; If the execution progress is that the task is being executed, the task type is obtained, and a processing type is determined according to the task type, where the processing type includes a suspendable task and a non-suspendable task; If the processing type is a task that can be aborted, switching the vehicle system to a low-consumption state; If the processing type is a non-stop task, the remaining execution time of the task is confirmed; if the remaining execution time of the task is greater than a preset value, the vehicle system is switched to a low-consumption state; if the remaining execution time of the task is less than or equal to a preset value, the vehicle system is switched to a low-consumption state after waiting for the task to be completed.

5. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the electronic device to implement the vehicle system power management method as described in any one of claims 1 to 3.

6. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor of a computer, the computer is enabled to execute the vehicle-mounted system power management method according to any one of claims 1 to 3.