Complete vehicle timed task management system oriented to centralized architecture

By introducing sleep mode and timing wake-up mechanism into the vehicle timing task management system, the problems of limited processing capabilities and high energy consumption are solved, efficient and accurate timing task management is achieved, complex needs are met and user experience is improved.

CN119271383AInactive Publication Date: 2025-01-07AUTOCORE INTELLIGENT TECH (NANJING) CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411805807.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-10
Publication Date
2025-01-07
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing vehicle timing task management system has limited processing capabilities, which makes it impossible to meet the growing demand for diversified and complex timing tasks, and the high energy consumption problem affects battery life and user experience.

Method used

A vehicle timing task management system for centralized architecture is designed. The timing task manager enters sleep mode when the task is not executed, and the timer generates interrupt wake-up to reduce system energy consumption and ensures real-time tasks. and accuracy. The system includes a timing task manager, a timer and a network manager. The modular design makes the system easy to maintain and expand, and supports more diverse and complex timing task settings.

Benefits of technology

It effectively reduces system energy consumption, improves the real-time and accuracy of timing tasks, meets the needs of complex timing tasks, extends battery life, and improves user experience and system stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119271383A_ABST
    Figure CN119271383A_ABST
Patent Text Reader

Abstract

The invention discloses a whole vehicle timed task management system for a centralized architecture, and the system is characterized in that a timed task manager obtains the time difference between the time of a next timed task and the current global time, sends the time difference to a timer, and then enters a sleep mode; the timer responds to the time difference and sets a timing alarm clock; when the timing alarm clock reaches the timing time, sending timing interruption to the network manager; the network manager sends an interrupt wake-up instruction to the timed task manager; the timed task manager determines a target timed task in response to the interrupt wake-up instruction, generates a target timed task wake-up instruction, sends the target timed task wake-up instruction to the network manager, and then enters a sleep mode; the network manager responds to the target timed task wake-up instruction, executes corresponding wake-up operation and then enters a sleep mode. The system obviously reduces the energy consumption, can support more diversified and complicated timed task setting, and optimizes the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of scheduled task management, and specifically relates to a vehicle scheduled task management system for a centralized architecture. Background Art

[0002] With the vigorous development of the centralized architecture of the whole vehicle, the level of automobile intelligence and networking has been significantly improved, and the coordination between the various systems within the whole vehicle has become more close and complex. This trend has prompted more and more vehicle scenarios, such as automatic charging, remote air conditioning pre-start, regular vehicle health checks, etc., to achieve accurate timed appointment activities to ensure the optimization of user experience and the efficiency of vehicle maintenance. However, the appointment task solutions currently widely used in the whole vehicle face several significant technical problems and shortcomings: 1. Limited task processing capabilities: Existing appointment task management systems can only support a small number of simple task settings and cannot cope with the growing demand for diversified and complex scheduled tasks. With the continuous increase in the functions of smart cars, users' demand for customized and personalized appointment services is becoming increasingly urgent, and existing system solutions seem to be unable to cope with it.

[0003] 2. High energy consumption: In order to perform these scheduled tasks, most current solutions require the entire vehicle to remain awake, even when performing tasks, and the non-related Electronic Control Unit (ECU) is also the same. This design not only greatly increases the vehicle's energy consumption and shortens the battery life, but also accelerates the aging of vehicle components and affects the overall service life. This shortcoming is particularly prominent today when green travel is advocated.

[0004] 3. Poor user experience: Due to the limitation of task processing capacity and high energy consumption, users may encounter slow response, low success rate, high energy consumption and other problems when setting and executing appointment tasks, thus affecting the overall user experience. In addition, for tasks that are not executed on time or fail to execute, the existing system often lacks an effective feedback mechanism, further reducing user satisfaction. Summary of the invention

[0005] The technical purpose of this application is to provide a vehicle scheduled task management system oriented to a centralized architecture to address the technical problems of limited task processing and high energy consumption in the current vehicle scheduled task management method.

[0006] In order to achieve the above technical objectives, this application adopts the following technical solutions.

[0007] The embodiment of the present application provides a vehicle-based scheduled task management system for a centralized architecture, including: The scheduled task manager is configured to obtain the time difference between the time of the next scheduled task and the current global time, and send the time difference to the timer, after which the scheduled task manager enters a sleep mode; A timer is configured to set a timer alarm in response to the time difference; and send a timer interrupt to the network manager when the timer alarm reaches a timed time; The network manager is further configured to send an interrupt wake-up instruction to the timed task manager in response to the timed interrupt; The scheduled task manager is further configured to determine a target scheduled task in response to the interrupt wake-up instruction, generate a target scheduled task wake-up instruction according to the target scheduled task, and send the target scheduled task wake-up instruction to the network manager; The network manager is further configured to execute a corresponding wake-up operation in response to the target scheduled task wake-up instruction.

[0008] Furthermore, the target scheduled task wake-up instruction includes: basic parameter information of the target scheduled task, a PNC ID associated with the target scheduled task and / or trigger source information of the target scheduled task.

[0009] Furthermore, the network manager is also configured to perform the wake-up operation using a local network management method.

[0010] Furthermore, the network manager is further configured to send a vehicle sleep request to the scheduled task manager before the vehicle goes to sleep, and then the network manager enters the sleep mode; The scheduled task manager is further configured to obtain the time difference in response to the vehicle sleep request.

[0011] Furthermore, the scheduled task manager is further configured to respond to the interrupt wake-up instruction, wake up from the sleep mode, and select a scheduled task that is valid within a set time interval from the current time as the target scheduled task.

[0012] Furthermore, the scheduled task manager is also configured to wake up from sleep mode in response to the interrupt wake-up instruction. If the target scheduled task cannot be determined, the time difference between the time of the next scheduled task and the current global time is obtained, and the time difference is sent to the timer.

[0013] Furthermore, the scheduled task manager is also configured to send a keep-alive request if the target scheduled task is determined, and the keep-alive request is used to maintain power supply for the vehicle scheduled task management system.

[0014] Furthermore, the scheduled task manager is provided with an interface, and the interface is used to set a scheduled task, delete the scheduled task, update the information of the scheduled task and / or query all the scheduled tasks.

[0015] Furthermore, the scheduled task manager is also configured with a task management table, which stores all scheduled tasks and sorts all the scheduled tasks according to time.

[0016] Furthermore, the scheduled task manager is also configured to log executed and unexecuted scheduled tasks.

[0017] Compared with the prior art, the vehicle-wide scheduled task management system for a centralized architecture provided by the present application, the scheduled task manager enters sleep mode in a timely manner when it is not necessary to execute the scheduled task, and wakes up through an interrupt generated by the timer when needed, which greatly reduces the energy consumption of the system and ensures that the execution of the scheduled task is highly real-time and accurate. The system includes relatively independent modules such as the scheduled task manager, timer, and network manager. This modular design makes the system easy to maintain and expand. As the vehicle functions increase, new scheduled tasks can be easily added or the execution logic of existing tasks can be adjusted. It can support more diverse and complex scheduled task settings to meet the growing needs of users. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A schematic diagram of the structure of a vehicle-wide scheduled task management system for a centralized architecture provided in an embodiment of the present application. DETAILED DESCRIPTION

[0019] In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.

[0020] The technical solution of this application is based on the current mainstream centralized electronic and electrical architecture, and consists of a central controller (High Performance Computing, HPC) and a microcontroller (Microcontroller Unit, MCU).

[0021] The embodiment provides a vehicle-wide scheduled task management system for a centralized architecture, such as Figure 1 As shown, the vehicle scheduled task management system includes a scheduled task manager, a network manager and a timer.

[0022] The scheduled task manager is configured to obtain the time difference between the time of the next scheduled task and the current global time, and send the time difference to the timer, after which the scheduled task manager enters a sleep mode.

[0023] The timer is configured to set a timing alarm in response to the time difference, and send a timing interrupt to the network manager when the timing alarm reaches the timing time.

[0024] The network manager is configured to send an interrupt wake-up instruction to the timed task manager in response to the timed interrupt.

[0025] The scheduled task manager is also configured to respond to the interrupt wake-up instruction, determine the target scheduled task, generate a target scheduled task wake-up instruction according to the target scheduled task, and send the target scheduled task wake-up instruction to the network manager.

[0026] The network manager is also configured to execute a corresponding wake-up operation in response to a target scheduled task wake-up instruction.

[0027] In the embodiment, a scheduled task may refer to executing a task once at a certain time point in the future, or executing a task periodically at a predetermined time interval.

[0028] In some embodiments, the network manager is implemented in a microcontroller unit (MCU).

[0029] In some embodiments, the scheduled task manager is disposed in a microprocessor (Micro Processing Unit, MPU).

[0030] The embodiment of the present application provides a vehicle timed task management system for a centralized architecture. The timed task manager can be deployed on the MPU side of the HPC, and cooperate with the network manager on the MCU side to achieve timed wake-up of vehicle-related electronic control units ECUs to execute specific scheduled tasks. MCU usually has powerful network communication capabilities, including support for multiple communication protocols and high-speed data transmission. Setting the network manager on the MCU can make full use of its network communication advantages to achieve efficient and reliable data transmission. The MPU has a higher main frequency and stronger computing power, and is suitable for processing complex computing tasks and applications with high real-time requirements. Setting the timed task manager on the MPU can ensure that it can accurately and efficiently process timed tasks and respond to interrupt requests in a timely manner.

[0031] As an example, a hardware timer (Real-Time Clock, RTC), a microcontroller (MCU) and a microprocessor (Micro Processing Unit, MPU) may all be sub-modules of the central controller (HPC).

[0032] The timer is the hardware module mainly responsible for timed wake-up. The network manager serves as the communication transmission channel between the timer and the scheduled task manager and the local network management implementation module. The scheduled task manager is mainly responsible for the management and issuance of scheduled tasks.

[0033] like Figure 1 As shown, in some embodiments, the network manager is also configured to send a vehicle sleep request to the scheduled task manager before the vehicle goes to sleep, after which the network manager enters sleep mode; the scheduled task manager obtains the global time and sends the time difference between the next scheduled task time and the current global time to the timer.

[0034] The timer calculates and sets a timer alarm based on the time difference. The timer sends a timer interrupt to the network manager on time according to the set timer alarm to perform a self-wake-up operation. The network manager is also configured to wake up from sleep in response to the timer interrupt and send an interrupt wake-up instruction to the timed task manager. The timed task manager is also configured to wake up from sleep in response to the interrupt wake-up instruction, thereby realizing the overall wake-up of the network manager and the timed task manager.

[0035] In the embodiment, the network manager can be used to control the scheduled task manager to enter sleep mode. However, the awakening of the ECU where the scheduled task manager is located is not achieved through the network manager, but is awakened by the timer hardware (a timer interrupt is sent through the timer, so that the network manager responds to the timer interrupt and sends an interrupt wake-up instruction to the scheduled task manager). Then the scheduled task manager responds to the interrupt wake-up instruction to wake up from sleep, and sends the PNC ID of the local network management related to the target scheduled task to the network manager, and wakes up other related ECUs through the network management message. In the embodiment, the timer hardware can provide high-precision time control to ensure that the scheduled task manager is accurately awakened at a predetermined time point, which helps the system to achieve accurate time management and task scheduling, and improves the operating efficiency of the overall system. Although the network manager participates in the wake-up process of the scheduled task manager, the initial wake-up of the scheduled task manager is triggered by the hardware timer, which reduces the delay of network transmission and enables the system to respond to scheduled tasks faster.

[0036] In vehicle use, scheduled tasks can be divided into two categories. One category is the system scheduled tasks that are preset in the vehicle development phase, which are generally not open to end customers for customization. Such scenarios are fixed execution logic, non-customized periodic or time-based scheduled wake-up scenarios. For example, energy-saving wake-up is a fixed execution scenario defined in the system requirements. After the vehicle is turned off and sleeps for half an hour, it periodically checks whether certain fixed functions are turned off and executes actions; for example, the vehicle defines a periodic time for system self-test or data upload. Another type of scheduled task is the appointment time function scenario that is provided to customers for customization. The timing of this type of scheduled task is not fixed and can be changed, such as all remote appointment functions, battery pack charging, scheduled start-up of the fresh air system, scheduled start-up of the air conditioner and other scenarios. Therefore, for system preset periodic / time tasks and user-defined one-time / periodic tasks, the embodiment of the present application designs a scheduled task manager to adapt to different types of multi-task scenarios.

[0037] The vehicle-wide scheduled task management system adopted in the embodiment has a power consumption execution mode, which allows tasks to be executed in the partial wake-up state of the vehicle without waking up the entire vehicle system. This design not only extends the battery life, but also significantly reduces the power consumption of the system during non-essential time, improves energy utilization efficiency, and helps achieve the goals of green travel and energy conservation and emission reduction.

[0038] In some embodiments, the scheduled task manager is provided with a task management table. After the scheduled task manager is pulled up in response to the interrupt wake-up instruction, the task management table can be checked to select the effective scheduled tasks within the set time interval (such as 5 minutes) from the current time as the target scheduled tasks. In the embodiment, after the scheduled task manager is pulled up, it only needs to check the effective tasks in the task management table that meet the time conditions, without processing other irrelevant tasks, thereby reducing the consumption of system resources, such as CPU time, memory, and power consumption.

[0039] As an example, generating a target scheduled task wake-up instruction based on the target scheduled task may include extracting basic parameter information of the target scheduled task (such as task trigger time and task trigger interval), the PNC ID (local network cluster unique identifier) ​​associated with the target scheduled task and / or the trigger source information of the target scheduled task.

[0040] Partial Network Cluster (PNC) is a network management strategy that aims to group the ECUs (Electronic Control Units) that support these functions according to the needs of vehicle functions, and dynamically manage the communication status of these ECUs to achieve energy saving and efficient network communication. PNC ID is an identifier used to uniquely identify a PNC. In partial network management, each PNC is assigned a unique PNC ID so that the network management system can accurately identify and manage these network clusters.

[0041] As an example, the task parameter fields of the defined scheduled task can be seen in Table 1.

[0042] Table 1 Example of designing task parameter fields for scheduled tasks Fields Notes Example Value task_name Scheduled task name self_check time Scheduled task trigger time interval The trigger interval of the scheduled task. The value of the scheduled task is 0 0 PNC ID PNC ID associated with the scheduled task 42 trigger Scheduled task trigger source (reserved field) self_check_trigger Optionally, the scheduled task manager will generate a target scheduled task wake-up instruction, and send it to the network manager through the communication transmission channel between the network manager and the network manager, and the network manager will perform the corresponding wake-up operation using the local network management method.

[0043] In some embodiments, the scheduled task manager is also configured to wake up from sleep mode in response to an interrupt wake-up instruction. If the target scheduled task cannot be determined, such as there is no valid scheduled task within the set time interval from the current time, the time difference between the time of the next scheduled task and the current global time is obtained, and the time difference is sent to the timer.

[0044] In some embodiments, the scheduled task manager is configured to send a keep-alive request if a target scheduled task is determined, and the keep-alive request is used for the central controller to maintain power.

[0045] In some embodiments, the system requirements are designed in advance to define the scheduled tasks of the vehicle system and the custom scheduled tasks that can be provided to the end users for scheduled appointments. The electronic control units (ECUs) involved in each scheduled task are grouped and defined in a local network cluster, and the sleep and wake-up conditions of each scheduled task are defined.

[0046] In some embodiments, a scheduled task manager is designed in advance. According to the task scenarios that the scheduled task manager needs to support, the system preset periodic / time tasks, and the user-defined periodic / one-time scheduled tasks, the scheduled task manager design in the embodiments of the present application may have the following characteristics: The task management table needs to support vehicle-wide scheduled task management at a minute granularity and arrange multiple tasks in time sequence; Supports system-predefined periodic scheduled tasks, which cannot be modified; Provide API to support users to query the system preset scheduled tasks; Provide API to support users to dynamically delete, modify, and query user-defined scheduled tasks Supports personalized definition of the triggering time of scheduled tasks (you can specify that scheduled tasks are triggered only on working days or non-working days); Supports defining scheduled tasks at multiple times; Supports defining multiple scheduled tasks at the same time; Supports scheduled wake-up and execution of scheduled tasks in sleep state; Support scheduled task execution in wake-up state; Tasks can be used as a maintenance source to keep the HPC alive (for example, when a scheduled task is to be triggered within 5 minutes, a keep-alive request should be sent to maintain power).

[0047] The embodiment completes the deployment of the timer's timing alarm mechanism, the configuration of the network manager on the MCU side, and the joint debugging with the timing task manager on the MPU side to ensure the coordination of tasks, the analysis of communications, and the unification of time. The three module functions are connected in series to complete the timing appointment of complex multi-tasks, local wake-up, and on-time execution. The vehicle timing task management system for a centralized architecture of the embodiment of the present application provides an energy-saving solution for coping with multi-scenario and multi-variable appointment and timing tasks, and uses the software module timing task manager to coordinate the management of the task list to ensure that the appointment task can be automatically completed on time with the least unit module.

[0048] In some embodiments, the scheduled task manager is provided with an interface, which can support the query of system tasks and the deletion and modification query of user-defined scheduled tasks, etc.

[0049] As an example, the interface is shown in Table 2, and the interface is used to set and trigger the scheduled tasks preset for the entire vehicle, delete the scheduled tasks, update the information of the scheduled tasks and / or query all the scheduled tasks.

[0050] Table 2 Scheduled task manager interface diagram interface describe monitor_trigger_task Trigger system preset timed tasks monitor_del_task Deleting a scheduled task monitor_update_task Update an existing scheduled task information monitor_get_task Query all scheduled tasks This application significantly improves the user experience by increasing the success rate and response speed of task execution. Users can more conveniently set and execute scheduled tasks, while obtaining more accurate and timely feedback. In addition, the system also provides a wealth of task management functions, such as task priority settings, repetition settings, etc., which further improves user satisfaction and convenience.

[0051] In some embodiments, the scheduled task manager may introduce error mechanisms and logic designs under abnormal circumstances, including not responding to illegal scheduled tasks, permission control of different interfaces, etc. The failure of a single scheduled task does not affect the execution of subsequent scheduled tasks, etc., and logs executed and unexecuted tasks.

[0052] The embodiment of the present application introduces advanced error handling and recovery mechanisms, and the new technology solution can ensure that when problems are encountered during task execution, they can be quickly recovered and continued. This design improves the stability and reliability of the system and reduces user complaints and maintenance costs caused by task execution failures.

[0053] The above is a detailed introduction to the vehicle-wide scheduled task management system for a centralized architecture provided by the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the concept of the present application and should not be understood as limiting the scope of protection of the present application.

Claims

1. The vehicle-based scheduled task management system for a centralized architecture is characterized by: The vehicle timing task management system includes: The scheduled task manager is configured to obtain the time difference between the time of the next scheduled task and the current global time, and send the time difference to the timer, after which the scheduled task manager enters a sleep mode; A timer is configured to set a timer alarm in response to the time difference; and send a timer interrupt to a network manager when the timer alarm reaches a timed time; The network manager is further configured to send an interrupt wake-up instruction to the timed task manager in response to the timed interrupt; The scheduled task manager is further configured to determine a target scheduled task in response to the interrupt wake-up instruction, generate a target scheduled task wake-up instruction according to the target scheduled task, and send the target scheduled task wake-up instruction to the network manager; The network manager is further configured to execute a corresponding wake-up operation in response to the target scheduled task wake-up instruction.

2. The vehicle-based scheduled task management system for a centralized architecture according to claim 1 is characterized in that: The target scheduled task wake-up instruction includes: basic parameter information of the target scheduled task, a PNC ID associated with the target scheduled task and / or trigger source information of the target scheduled task.

3. The vehicle-based scheduled task management system for a centralized architecture according to claim 1 is characterized in that: The network manager is further configured to perform the wake-up operation using a local network management method.

4. The vehicle-based scheduled task management system for a centralized architecture according to claim 1 is characterized in that: The network manager is further configured to send a whole vehicle sleep request to the scheduled task manager before the whole vehicle sleeps, and then the network manager enters the sleep mode; The scheduled task manager is further configured to obtain the time difference in response to the vehicle sleep request.

5. The vehicle-based scheduled task management system for a centralized architecture according to claim 1 is characterized in that: The scheduled task manager is further configured to respond to the interrupt wake-up instruction, wake up from the sleep mode, and select a scheduled task that is valid within a set time interval from the current time as the target scheduled task.

6. The vehicle-based scheduled task management system for a centralized architecture according to claim 1 is characterized in that: The scheduled task manager is also configured to wake up from the sleep mode in response to the interrupt wake-up instruction. If the target scheduled task cannot be determined, the time difference between the time of the next scheduled task and the current global time is obtained, and the time difference is sent to the timer.

7. The vehicle-based scheduled task management system for a centralized architecture according to claim 1 is characterized in that: The scheduled task manager is further configured to send a keep-alive request if the target scheduled task is determined, and the keep-alive request is used for the vehicle scheduled task management system to maintain power supply.

8. The vehicle-based scheduled task management system for a centralized architecture according to claim 1 is characterized in that: The scheduled task manager is provided with an interface, and the interface is used to set a scheduled task, delete the scheduled task, update the information of the scheduled task and / or query all the scheduled tasks.

9. The vehicle-based scheduled task management system for a centralized architecture according to claim 1 is characterized in that: The scheduled task manager is also configured with a task management table, which stores all scheduled tasks and sorts all the scheduled tasks according to time.

10. The vehicle-based scheduled task management system for a centralized architecture according to claim 1, characterized in that: The scheduled task manager is also configured to log executed and unexecuted scheduled tasks.

Citation Information

Patent Citations

  • Sleep and wake-up method for in-vehicle hybrid network including vehicle-mounted Ethernet

    CN110758289A

  • Whole vehicle network management method and system

    CN112615767A

  • Wake-up method and system for embedded equipment

    CN112905250A

  • Control and diagnosis of a controller wake up feature

    US20150332526A1

  • Architectures and methods for management of in-vehicle networked controllers and devices

    US20180295011A1