Vehicle standby task execution method, electronic equipment and computer readable storage medium

By detecting the travel vehicle preparation plan and correcting the initial execution time of the battery charging and heating tasks, the problem of unreasonable execution time points of the vehicle preparation task is solved, and the vehicle preparation effect is improved.

CN119809238APending Publication Date: 2025-04-11CHONGQING JINKANG NEW ENERGY VEHICLE CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411882389.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-19
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

In the intelligent management of vehicles, during the execution of vehicle preparation tasks, the time point of function execution is unreasonable, resulting in poor vehicle preparation results.

Method used

By detecting the travel preparation plan, the initial execution time of the target preparation task is obtained, and the sum of the initial execution time of the battery heating task and the initial execution time of other tasks is used as the total execution time. If the total execution time is less than the remaining time between the current time and the travel time, the initial execution time of the battery charging task and/or the battery heating task is corrected after the preset period to obtain the target execution time.

Benefits of technology

Make the target execution time more in line with actual needs and improve the car preparation effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119809238A_ABST
    Figure CN119809238A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicle preparation, and discloses a vehicle preparation task execution method, electronic equipment and a computer readable storage medium, and the method comprises the steps: obtaining a vehicle preparation task needing to be executed in a trip vehicle preparation plan as a target vehicle preparation task; the sum of the initial execution duration of the battery heating task and the initial execution duration of other tasks in the target standby vehicle task serves as the total execution duration; if the total execution duration is smaller than the remaining duration, correcting the initial execution duration of the battery charging task and / or the battery heating task in the target standby vehicle task to obtain a target execution duration; and determining a target execution moment of the battery charging task and / or the battery heating task based on the target execution duration, so as to execute the battery charging task and / or the battery heating task based on the target execution moment. Therefore, the initial execution time length of the battery charging task and / or the battery heating task can be corrected to obtain more accurate target execution time length, so that the target execution time length better meets actual requirements, and the vehicle preparation effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of vehicle preparation, and in particular to a vehicle preparation task execution method, an electronic device and a computer-readable storage medium. Background Art

[0002] In the intelligent management of vehicles, users only need to select the vehicle preparation tasks to be performed and the planned travel time, and they can use the remote control function to execute the vehicle preparation tasks before traveling, bringing more convenient travel services to users.

[0003] In the related art, there are many types of vehicle preparation tasks, such as remote control of air conditioning, remote control of seat ventilation, remote control of seat heating, air purification, front defrosting, steering wheel heating, remote control of battery heating, remote control of charging, etc. In the execution process of these vehicle preparation tasks, there is often an unreasonable determination of the execution time point of each function, resulting in poor vehicle preparation effect. Summary of the invention

[0004] In view of the above problems, the present application provides a vehicle preparation task execution method, electronic device and computer-readable storage medium, which can correct the initial execution time of the battery charging task and / or the battery heating task to obtain a more accurate target execution time, thereby making the target execution time more in line with actual needs and improving the vehicle preparation effect.

[0005] The first aspect of the present application provides a method for executing a vehicle standby task, comprising: if a travel standby plan is detected, obtaining the standby tasks that need to be executed in the travel standby plan as target standby tasks; wherein the standby tasks include battery charging tasks, battery heating tasks and other tasks that are executed in sequence, and the travel standby plan includes the travel time; obtaining the initial execution duration of the target standby task, and taking the sum of the initial execution duration of the battery heating task and the initial execution duration of other tasks in the target standby task as the total execution duration; if the total execution duration is less than the remaining duration between the current time and the travel time, then correcting the initial execution duration of the battery charging task and / or the initial execution duration of the battery heating task in the target standby task after a preset period of time to obtain the target execution duration; determining the target execution time of the battery charging task and / or the battery heating task based on the target execution time, so as to execute the battery charging task and / or the battery heating task based on the target execution time.

[0006] In some specific embodiments, after the step of obtaining the initial execution duration of the target vehicle standby task, and taking the sum of the initial execution duration of the battery heating task and the initial execution duration of other tasks in the target vehicle standby task as the total execution duration, the following steps are included: if the total execution duration is greater than or equal to the remaining time between the current moment and the travel moment, the target execution time of the target vehicle standby task is determined based on the initial execution duration of the target vehicle standby task and the travel moment; wherein the execution time periods of each target vehicle standby task are continuous; the current execution time period of the target vehicle standby task at the current moment is determined, and the target vehicle standby task corresponding to the current execution time period is executed.

[0007] In some specific embodiments, the steps of executing a battery charging task and / or a battery heating task based on a target execution time include: determining a target execution duration corresponding to a target vehicle standby task or the sum of initial execution durations as a target total duration; if the target total duration is greater than the remaining duration, determining a current execution period of the target vehicle standby task at the current moment, and executing the target vehicle standby task corresponding to the current execution period.

[0008] In some specific embodiments, the step of obtaining the initial execution duration of the target vehicle standby task includes: if the target vehicle standby task includes a battery charging task, obtaining the initial execution duration of the battery charging task through the battery management system; if the target vehicle standby task includes a battery heating task, using the first preset duration as the initial execution duration of the battery heating task; if the target vehicle standby task includes other tasks, using the second preset duration as the initial execution duration of the other tasks.

[0009] In some specific embodiments, if the total execution time is less than the remaining time between the current moment and the travel time, the initial execution time of the battery charging task and / or the initial execution time of the battery heating task in the target vehicle standby task is corrected after a preset period of time to obtain the target execution time, including: if the total execution time is less than the remaining time between the current moment and the travel time, and the remaining time is less than the sum of the total execution time and the third preset time, then detecting whether the target vehicle standby task includes a battery heating task; if the target vehicle standby task includes a battery heating task, then correcting the initial execution time of the battery heating task after a preset period of time to obtain the target execution time.

[0010] In some specific embodiments, the step of correcting the initial execution time of the battery heating task after an interval of a preset period to obtain a target execution time includes: when it is detected that the time has reached the heating correction time, waking up the entire vehicle and after a first preset interval, obtaining the heating time corresponding to the battery heating task as the target execution time through the battery management system; wherein the heating correction time is before the travel time, and the time between the two is the sum of the total execution time and the third preset time.

[0011] In some specific embodiments, if the total execution time is less than the remaining time between the current moment and the travel time, the initial execution time of the battery charging task and / or the initial execution time of the battery heating task in the target vehicle standby task is corrected after a preset period of time to obtain the target execution time, including: if the remaining time between the current moment and the travel time is greater than the sum of the total execution time and the third preset time, then detecting whether the target vehicle standby task includes a battery charging task; if the target vehicle standby task does not include a battery charging task, then detecting whether the target vehicle standby task includes a battery heating task; if the target vehicle standby task includes a battery heating task, then correcting the initial execution time of the battery heating task after a preset period of time to obtain the target execution time.

[0012] In some specific embodiments, if the remaining time between the current moment and the departure moment is greater than the sum of the total execution time and the third preset time, then after the step of detecting whether the target vehicle standby task includes a battery charging task, it includes: if the target vehicle standby task includes a battery charging task, then detecting whether the initial execution time corresponding to the battery charging task or the battery heating task is obtained; if the initial execution time corresponding to the battery charging task or the battery heating task is obtained, then after waking up the entire vehicle at the charging correction moment and interval of the second preset interval time, the battery management system obtains the execution time corresponding to the battery charging task and the battery heating task respectively as the target execution time; wherein, the charging correction moment is before the departure moment, and the time between the two is the sum of the initial execution time of the battery charging task, the initial execution time of the battery heating task and the fourth preset time.

[0013] A second aspect of the present application provides an electronic device, comprising: a processor; and a memory for storing a computer program, wherein when the computer program is executed by the processor, any of the above-mentioned vehicle preparation task execution methods is implemented.

[0014] A third aspect of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, a vehicle preparation task execution method as described above is implemented.

[0015] The present application has at least the following beneficial technical effects: based on the vehicle standby task execution method, electronic device and computer-readable storage medium provided by the present application, the method includes: if a travel standby plan is detected, obtaining the standby tasks that need to be executed in the travel standby plan as target standby tasks; wherein the standby tasks include battery charging tasks, battery heating tasks and other tasks that are executed in sequence, and the travel standby plan includes the travel time; obtaining the initial execution duration of the target standby tasks, and taking the sum of the initial execution duration of the battery heating task in the target standby tasks and the initial execution duration of other tasks as the total execution duration; if the total execution duration is less than the remaining duration between the current time and the travel time, then correcting the initial execution duration of the battery charging task and / or the initial execution duration of the battery heating task in the target standby task after a preset period of time to obtain the target execution duration; determining the target execution time of the battery charging task and / or the battery heating task based on the target execution time, so as to execute the battery charging task and / or the battery heating task based on the target execution time. Therefore, when the total execution time is less than the remaining time between the current time and the travel time, the execution time of the battery charging task and / or the battery heating task can be corrected to obtain a more accurate target execution time, thereby making the target execution time more in line with actual needs and improving the vehicle preparation effect.

[0016] The above description is only an overview of the technical solution of the embodiment of the present application. In order to more clearly understand the technical means of the embodiment of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present application. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings. In the accompanying drawings:

[0018] Figure 1 It is a flowchart of an embodiment of a method for executing a vehicle standby task provided by the present application;

[0019] Figure 2 It is a flowchart of another embodiment of the vehicle preparation task execution method provided by the present application;

[0020] Figure 3 It is a flowchart of another embodiment of the vehicle preparation task execution method provided by the present application;

[0021] Figure 4 It is a flowchart of another embodiment of the vehicle preparation task execution method provided by the present application;

[0022] Figure 5It is a flowchart of another embodiment of the vehicle preparation task execution method provided by the present application;

[0023] Figure 6 It is a flowchart of another embodiment of the vehicle preparation task execution method provided by the present application;

[0024] Figure 7 It is a flowchart of another embodiment of the vehicle preparation task execution method provided by the present application;

[0025] Figure 8 It is a schematic diagram of the structural framework of an embodiment of the electronic device provided by the present application;

[0026] Fig. 9 It is a schematic diagram of the structural framework of an embodiment of the computer-readable storage medium provided by the present application. DETAILED DESCRIPTION

[0027] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.

[0028] If there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features limited to "first" and "second" may explicitly or implicitly include at least one of the features. In addition, if the meaning of "and / or" appearing in the full text is to include three parallel schemes, taking "A and / or B" as an example, it includes scheme A, or scheme B, or a scheme that satisfies both A and B. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in this field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0029] The first aspect of the present application provides a method for executing a vehicle preparation task. Figure 1 1 is a flow chart of an embodiment of the vehicle standby task execution method provided by the present application. Figure 1 , the method comprises the following steps:

[0030] S101: If a travel preparation plan is detected, the preparation tasks required to be performed in the travel preparation plan are obtained as target preparation tasks; wherein the preparation tasks include battery charging tasks, battery heating tasks and other tasks that are performed in sequence, and the travel preparation plan includes the travel time.

[0031] If the user needs to prepare the vehicle before traveling, he or she can directly edit the travel preparation plan on the vehicle side, or edit the travel preparation plan through the mobile terminal and send it to the vehicle side, so that the vehicle side can prepare the vehicle based on the travel preparation plan.

[0032] It should be understood that the vehicle preparation tasks are pre-set and may include tasks such as battery charging, battery heating, front defrosting, temperature adjustment, air purification, steering wheel heating, seat heating / ventilation, etc. The vehicle preparation tasks to be performed in the travel vehicle preparation plan may be one or more of them, that is, the target vehicle preparation task may include one or more vehicle preparation tasks.

[0033] Among them, the temperature adjustment, air purification, steering wheel heating, seat heating / ventilation, etc. in the above-mentioned vehicle preparation tasks are other tasks. When the target vehicle preparation task includes other tasks, it includes one or more of the tasks such as front defrost, temperature adjustment, air purification, steering wheel heating, seat heating / ventilation, etc. During the execution of the vehicle preparation tasks, the battery charging task, the battery heating task and other tasks have a sequential execution relationship, that is, the execution order of the battery charging task precedes the execution order of the battery heating task, and the execution order of the battery heating precedes the execution order of other tasks. In addition, when there are multiple tasks in other tasks, the front defrost task in other tasks is executed first, and the tasks such as temperature adjustment, air purification, steering wheel heating, seat heating / ventilation, etc. can be executed together, that is, they can be started at the same time.

[0034] S102: Acquire the initial execution duration of the target vehicle preparation task, and take the sum of the initial execution duration of the battery heating task and the initial execution durations of other tasks in the target vehicle preparation task as the total execution duration.

[0035] After obtaining the target vehicle standby task, the initial execution duration corresponding to the target vehicle standby task can be obtained through the correspondence between the vehicle standby task and the initial execution duration, or the initial execution duration corresponding to the target vehicle standby task can be obtained directly by calculation or from a specific device, and this embodiment does not impose specific restrictions. It should be understood that when there are multiple target vehicle standby tasks, the initial execution duration corresponding to each target vehicle standby task needs to be obtained separately.

[0036] Among them, when other tasks are used as target vehicle preparation tasks, the method for obtaining the initial execution duration of other tasks is as follows: if other tasks include the front defrost task, then the execution duration of the front defrost is included in the initial execution duration corresponding to other tasks; if other tasks include one or more of the tasks such as temperature adjustment, air purification, steering wheel heating, seat heating / ventilation, etc., then only a specific execution duration is included in the initial execution duration corresponding to other tasks. Because temperature adjustment, air purification, steering wheel heating, and seat heating / ventilation have no execution order and can be executed together, only a specific execution duration needs to be included in the initial execution duration.

[0037] When taking the sum of the initial execution times of the battery heating task and other tasks as the total execution time, if the target vehicle preparation task only includes the battery heating task, the initial execution time corresponding to the battery heating task shall be taken as the total execution time; if the target vehicle preparation task only includes other tasks, then only the initial execution time of other tasks shall be taken as the total execution time; if the target vehicle preparation task includes both the battery heating task and other tasks, then the sum of the initial execution times of the two shall be taken as the total execution time.

[0038] S103: If the total execution time is less than the remaining time between the current time and the departure time, the initial execution time of the battery charging task and / or the initial execution time of the battery heating task in the target vehicle standby task is corrected after a preset period of time to obtain a target execution time.

[0039] It should be understood that the total execution time is the time required to execute the battery heating task and other tasks in sequence (regardless of whether the task exists, if it does not exist, the execution time of the task is 0). If the execution time is less than the remaining time between the current time and the departure time, it means that within the remaining time, if the execution time points of each task are reasonably arranged, the battery heating task and other tasks can definitely be completed (if the task exists). Moreover, even if the target vehicle preparation task includes a battery charging task, it is highly likely that the target vehicle preparation task can be completed.

[0040] Therefore, when the total execution time is less than the remaining time between the current time and the travel time, the remaining time is relatively long, and the target vehicle preparation task is generally not executed immediately (it can sleep first and execute when the task is executed).

[0041] It should be understood that the initial execution duration of the battery charging task and the initial execution duration of the battery heating task may not be accurate and may change over time. Especially when the remaining time is long, the possibility of the execution duration changing over time will be greater. Therefore, this step corrects the initial execution duration of the battery charging task and / or battery heating task in the target vehicle standby task in the subsequent stage (i.e. after a preset period of time, the preset period of time is set according to actual needs, and the subsequent embodiments will be specifically defined) to obtain a more accurate target execution time.

[0042] Among them, the initial execution time of the battery charging task and / or the battery heating task in the target vehicle preparation task is corrected to obtain the target execution time. It can be to correct any one or more of the battery charging task and the battery heating task, and there is no specific limitation here.

[0043] It should be understood that the initial execution duration of other tasks is generally relatively accurate, and therefore does not need to be corrected.

[0044] S104: Determine a target execution time of the battery charging task and / or the battery heating task based on the target execution time and the travel time, so as to execute the battery charging task and / or the battery heating task based on the target execution time.

[0045] After obtaining the target execution time of the battery charging task and / or the battery heating task, the initial execution time is replaced by the target execution time, and then the execution time of each target vehicle standby task is determined. The target vehicle standby tasks can be sorted in combination with the execution order of each target vehicle standby task, and the two target vehicle standby tasks with adjacent execution orders are connected, that is, the execution end time of the target vehicle standby task executed earlier is the execution start time of the target vehicle standby task executed later. And, the execution end time of the target vehicle standby task executed last in sequence is the travel time. Therefore, based on the execution time, execution order and travel time of the target vehicle standby task, the execution time of each target vehicle standby task can be determined as the target execution time, that is, the target execution time of the battery charging task and / or the battery heating task is determined, and in the subsequent process, the corresponding target vehicle standby task can be executed according to the target execution time.

[0046] Figure 2 It is a flow chart of another embodiment of the vehicle preparation task execution method provided in the present application.

[0047] Combination Figure 2 In some specific embodiments, after the step of obtaining the initial execution time of the target vehicle standby task and taking the sum of the initial execution time of the battery heating task and the initial execution time of other tasks in the target vehicle standby task as the total execution time, that is, after the above step S102, the following steps are included:

[0048] S201: If the total execution time is greater than or equal to the remaining time between the current time and the travel time, the target execution time of the target vehicle preparation task is determined based on the initial execution time of the target vehicle preparation task and the travel time; wherein the execution time periods of each target vehicle preparation task are continuous.

[0049] If the total execution time is greater than or equal to the remaining time between the current time and the departure time, it means that the remaining time is short and is not enough to complete the battery heating task and other tasks. At this time, we do not need to correct the initial execution time of the battery heating task and the battery charging task, and directly determine the target execution time of each target vehicle standby task based on the initial execution time and the departure time. For the specific steps of determining the target execution time, please refer to the description of the target execution time acquisition method in the above embodiment.

[0050] The execution time periods of the target vehicle standby tasks are continuous, that is, in two target vehicle standby tasks with adjacent execution orders, the execution end time of the previous target vehicle standby task is the same as the execution start time of the next target vehicle standby task.

[0051] S202: Determine the current execution period of the target vehicle preparation task at the current moment, and execute the target vehicle preparation task corresponding to the current execution period.

[0052] After determining the target execution time of each target vehicle preparation task, the execution period of each target vehicle preparation task is determined. Since the total execution time is greater than or equal to the remaining time between the current time and the travel time, the current time must be within the execution period of a target vehicle preparation task, and this execution period is the current execution period. For example, the current time is within the execution period of the battery heating task.

[0053] At this time, since the remaining time is not enough to complete all tasks, the target vehicle standby task corresponding to the current execution period is executed immediately. Combined with the above example, if the current moment is in the execution period of the battery heating task, then the battery heating task is executed immediately. After the battery heating task is completed, if there are other tasks, then the other tasks will be executed immediately, that is, the other tasks will be executed at the moment when the battery heating task is completed.

[0054] Figure 3 It is a flow chart of another embodiment of the vehicle preparation task execution method provided in the present application.

[0055] Combination Figure 3 In some specific embodiments, the step of executing the battery charging task and / or the battery heating task based on the target execution time includes:

[0056] S301: Determine the target execution duration or the sum of the initial execution durations corresponding to the target vehicle preparation task as the target total duration.

[0057] Combined with the above content, after obtaining the target execution time, the execution time corresponding to the target standby task may be the initial execution time or the target execution time. This step adds up the execution time of each target standby task, that is, adds up the target execution time or initial execution time of each target standby task, and then obtains the target total time.

[0058] S302: If the target total duration is greater than the remaining duration, determine the current execution period of the target vehicle preparation task at the current moment, and execute the target vehicle preparation task corresponding to the current execution period.

[0059] When the target total duration is greater than the remaining duration, it means that the remaining time is not enough to complete all the target vehicle preparation tasks. In order to achieve better vehicle preparation results, we need to execute the target vehicle preparation tasks immediately.

[0060] This step first determines the execution period of the target vehicle standby task at the current moment as the current execution period, and executes the target vehicle standby task corresponding to the current execution period. At this time, the current moment may be in the execution period of the battery charging task, so the battery charging task is executed immediately, or it may be in the battery heating task, so the battery heating task is executed immediately, or it may be in the execution period of other tasks, so other tasks are executed immediately.

[0061] If the target total time is less than or equal to the remaining time, it means that all target vehicle preparation tasks can be completed within the remaining time. If the target total time is equal to the remaining time, the target vehicle preparation task is executed immediately, and all target vehicle preparation tasks can be completed at the time of travel. If the target total time is less than the remaining time, the vehicle can sleep first, and execute the first task when the execution time of the first task arrives. For example, the current time is 1 o'clock, and the target total time is less than the remaining time, and the execution time of the current first battery heating task is 5 o'clock, then the vehicle can sleep first and wait until 5 o'clock to execute the battery heating task.

[0062] Figure 4 It is a flow chart of another embodiment of the vehicle preparation task execution method provided in the present application.

[0063] Combination Figure 4 In some specific embodiments, the step of obtaining the initial execution time of the target vehicle preparation task includes:

[0064] S401: If the target vehicle standby task includes a battery charging task, an initial execution duration of the battery charging task is obtained through a battery management system.

[0065] It should be understood that the order of steps in this embodiment does not limit the order in which the steps are executed.

[0066] When there is a battery charging task, the corresponding charging time can be obtained according to the target power requirement of the battery pack, the specific parameters of the vehicle, the charging parameters, etc., as the initial execution time of the battery charging task.

[0067] S402: If the target vehicle preparation task includes a battery heating task, a first preset duration is used as an initial execution duration of the battery heating task.

[0068] The execution time of the battery heating task will vary with the specific heating requirements, ambient temperature, etc., but generally speaking, the execution time of the battery heating task will not exceed 30 minutes. At this time, an initial execution time is set, that is, the first preset time. Under the first preset time, the battery pack can generally be heated with better effect.

[0069] In some application scenarios, the first preset time duration may be set to the maximum heating time duration of the battery pack, for example, to 30 minutes.

[0070] S403: If the target vehicle preparation task includes other tasks, the second preset duration is used as the initial execution duration of the other tasks.

[0071] The execution duration of other tasks is generally fixed, so a fixed second preset duration may be set.

[0072] In combination with the above content, since the front defrost is executed first, it can correspond to the first duration alone, for example, the first duration is set to 15 minutes. Temperature adjustment, air purification, steering wheel heating, seat heating / ventilation are executed together, and these tasks all correspond to the second duration, for example, the second duration is 15 minutes. Therefore, if there is only the front defrost task among other tasks, the second preset duration is the first duration. If there is not only the front defrost task among other tasks, but also one of temperature adjustment, air purification, steering wheel heating, and seat heating / ventilation, then the second preset duration is the sum of the first duration and the second duration.

[0073] Figure 5 It is a flow chart of another embodiment of the vehicle preparation task execution method provided in the present application.

[0074] Combination Figure 5 In some specific embodiments, if the total execution time is less than the remaining time between the current time and the travel time, the step of correcting the initial execution time of the battery charging task and / or the initial execution time of the battery heating task in the target vehicle standby task after a preset period of time to obtain the target execution time, i.e., the above-mentioned step S103, includes:

[0075] S501: If the total execution time is less than the remaining time between the current time and the travel time, and the remaining time is less than the sum of the total execution time and the third preset time, then check whether the target vehicle preparation task includes a battery heating task.

[0076] Suppose the total execution time is SUM, the remaining time is T0, and the third preset time is X. If the total execution time is less than the remaining time between the current time and the departure time, and the remaining time is less than the sum of the total execution time and the third preset time, it is represented as SUM<T0<SUM+X.

[0077] In some application scenarios, X can be set to be smaller than the first threshold. For example, the first threshold is set to 5 minutes, and X can be set to 3 minutes. At this time, SUM<T0<SUM+3.

[0078] When SUM<T0<SUM+X, it means that although the remaining time is greater than the total execution time, it is not much greater, that is, the remaining time is close to the total execution time. In this case, the battery charging task before the battery heating task can no longer be executed, and only the battery heating task corresponding to the total execution time can be executed with other tasks.

[0079] Although the total execution time is the sum of the initial execution time of the battery heating task and other tasks, the target vehicle preparation task may not include the battery heating task. Therefore, this step needs to detect whether the target vehicle preparation task includes the battery heating task, so as to facilitate the execution of subsequent steps.

[0080] S502: If the target vehicle preparation task includes a battery heating task, then after a preset period of time, the initial execution duration of the battery heating task is corrected to obtain a target execution duration.

[0081] If the target vehicle preparation task includes a battery heating task, the initial execution duration of the battery heating task needs to be corrected.

[0082] Combined with the above content, it can be seen that the initial execution time of the battery heating task may be a fixed time (such as the first preset time), which is not much different from the actual required heating time, but it is more accurate to correct it to get the target execution time. In addition, even if the initial execution time obtained is a time calculated based on actual parameters, this time may change over time, so it is more accurate to correct the initial execution time to get the target execution time.

[0083] In combination with the above content, in some specific embodiments, the step of correcting the initial execution time of the battery heating task after a preset period of time to obtain the target execution time includes:

[0084] When it is detected that the time has arrived at the heating correction time, the whole vehicle is woken up and after a first preset interval, the heating time corresponding to the battery heating task is obtained through the battery management system as the target execution time; wherein, the heating correction time is before the travel time, and the time between the two is the sum of the total execution time and the third preset time.

[0085] Combined with the above content, set the travel time to T, then the heating correction time is T-SUM-3min. Before the time reaches the heating correction time, the vehicle can be dormant, and the whole vehicle will be awakened after reaching the heating correction time. After waking up the whole vehicle, the heating time will be obtained after the first preset interval time to ensure that the heating time can be accurately obtained. Among them, the first preset interval time can be 3s.

[0086] At this time, the target heating time obtained is not a preset value, but a more accurate time close to the execution time of the heating task.

[0087] Figure 6 It is a flow chart of another embodiment of the vehicle preparation task execution method provided in the present application.

[0088] Combination Figure 6 In some specific embodiments, if the total execution time is less than the remaining time between the current time and the travel time, the step of correcting the initial execution time of the battery charging task and / or the initial execution time of the battery heating task in the target vehicle standby task after a preset period of time to obtain the target execution time, i.e., the above-mentioned step S103, includes:

[0089] S601: If the remaining time between the current time and the travel time is greater than the sum of the total execution time and the third preset time, it is detected whether the target vehicle preparation task includes a battery charging task.

[0090] In combination with the above content, the remaining time between the current time and the travel time is greater than the sum of the total execution time and the third preset time, that is, T0>SUM+X. At this time, X can be set to 3 minutes, that is, T0>SUM+3.

[0091] At this time, the remaining time is much longer than the total execution time. If the target vehicle standby task includes a battery charging task, it is possible to execute it. Therefore, this step detects whether the target vehicle standby task includes a battery charging task.

[0092] S602: If the target vehicle standby task does not include a battery charging task, then detect whether the target vehicle standby task includes a battery heating task; if the target vehicle standby task includes a battery heating task, then correct the initial execution duration of the battery heating task after a preset period of time to obtain a target execution duration.

[0093] Although the target vehicle preparation task does not include the battery charging task, the target vehicle preparation task may include the battery heating task. If the battery heating task is detected in this step, the initial execution time of the battery heating task needs to be corrected.

[0094] Figure 7 It is a flow chart of another embodiment of the vehicle preparation task execution method provided in the present application.

[0095] Combination Figure 7 In some specific embodiments, if the remaining time between the current time and the travel time is greater than the sum of the total execution time and the third preset time, after the step of detecting whether the target vehicle standby task includes a battery charging task, that is, after the above step S601, the following steps are included:

[0096] S701: If the target vehicle preparation task includes a battery charging task, it is detected whether an initial execution duration corresponding to the battery charging task or the battery heating task is obtained.

[0097] It should be understood that even if the target vehicle standby task includes a battery charging task, the initial execution duration of the battery charging task may not be obtained. If the target vehicle standby task includes a battery charging task, but the initial execution duration corresponding to the battery charging task cannot be obtained, the battery charging task will not be executed, and the subsequent process will not correct the initial execution duration of the battery charging task.

[0098] Therefore, this step will detect whether the initial execution time corresponding to the battery charging task is obtained, and detect whether the initial execution time of the battery heating task is obtained, so as to facilitate the decision whether to correct the initial execution time in the subsequent process.

[0099] S702: If the initial execution time corresponding to the battery charging task or the battery heating task is obtained, after waking up the entire vehicle at the charging correction time and interval of a second preset interval, the battery management system obtains the execution time corresponding to the battery charging task and the battery heating task respectively as the target execution time.

[0100] If the initial execution duration corresponding to the battery charging task or the battery heating task is not obtained, it means that there is no initial execution duration corresponding to the battery heating task or the battery charging task that can be corrected. In addition, the battery charging task and the battery heating task will not be executed in the subsequent process.

[0101] If the initial execution time corresponding to the battery charging task or the battery heating task is obtained, it means that only the initial execution time corresponding to the battery charging task may be obtained, or only the initial execution time corresponding to the battery heating task may be obtained, or the initial execution time corresponding to both the battery charging task and the battery heating task may be obtained.

[0102] Combined with the above content, since the initial execution duration corresponding to the battery heating task and / or the battery charging task has been obtained at this time, it means that the initial execution duration needs to be corrected. The correction method is to wake up the whole vehicle at the charging correction time and after a second preset interval, obtain the execution duration corresponding to the battery charging task and the battery heating task in real time through the battery management system as the target execution duration. Among them, if the initial execution duration corresponding to either or both of the battery charging task and the battery heating task is obtained, then it is necessary to obtain the initial execution duration to the corresponding target execution duration.

[0103] For the charging correction time, the charging correction time is before the travel time, and the duration between the two is the sum of the initial execution duration of the battery charging task, the initial execution duration of the battery heating task and the fourth preset duration.

[0104] In combination with the above content, let T be the travel time, let T1 be the initial execution time of the battery charging task, let T2 be the initial execution time corresponding to the battery heating task, and the fourth preset time be Y. Then, the charging correction time is T-T1-T2-Y. In some application scenarios, the fourth preset time is set to 90 minutes, then the charging correction time is T-T1-T2-90 minutes.

[0105] It should be understood that when the fourth preset duration is 90 minutes, the charging correction time of T-T1-T2-90 minutes must be before the initial execution duration of the first target vehicle preparation task, so the initial execution duration of the battery heating task and / or the battery charging task can be corrected.

[0106] The second preset interval time may be greater than the first preset interval time, so that the execution time of the battery charging task can be well obtained. For example, the second preset interval time may be set to 30 seconds.

[0107] In combination with the contents of the above embodiments, after the initial execution time of the battery heating task and / or the battery charging task is corrected, the target execution time of each target vehicle preparation task will be further determined, and then the execution time period corresponding to each target vehicle preparation task will be obtained, and when the current time is in the current execution time period of a target vehicle preparation task, the target vehicle preparation task corresponding to the current execution time period will be executed.

[0108] A second aspect of the present application provides an electronic device, comprising: a processor; and a memory for storing a computer program, which, when executed by the processor, implements the vehicle preparation task execution method in any of the above-mentioned embodiments.

[0109] Figure 8 It is a schematic diagram of the structural framework of an embodiment of the electronic device 500 provided in the present application.

[0110] In some specific embodiments, the electronic device 500 includes a central processing unit (CPU) 501 and a read-only memory (ROM) 502, wherein the CPU 501 is a processor and the ROM 502 is a memory. The CPU 501 can perform various appropriate actions and processes according to the program stored in the ROM 502 or the program loaded from the storage part 508 to the random access memory (RAM) 503, such as executing the method in the above embodiment. In the RAM 503, various programs and data required for system operation are also stored. The CPU 501, the ROM 502 and the RAM 503 are connected to each other via the bus 504. The input / output (I / O) interface 505 is also connected to the bus 504.

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

[0112] 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 a network through a communication section 509, and / or installed from a removable medium 511. When the computer program is executed by a central processing unit (CPU) 501, various functions defined in the system of the present application are executed.

[0113] A third aspect of the present application provides a computer-readable storage medium 40, Fig. 9 It is a schematic diagram of the structural framework of an embodiment of the computer-readable storage medium 40 provided in the present application.

[0114] A computer program 41 is stored on the computer-readable storage medium 40 . When the computer program 41 is executed by the processor, the vehicle preparation task execution method in any of the above-mentioned embodiments is implemented.

[0115] It should be noted that the computer-readable medium 40 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 can 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 storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it. In the present application, a computer-readable signal medium can include a data signal propagated in a baseband or as a part of a carrier wave, wherein a computer-readable computer program is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The computer program contained on the 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.

[0116] In summary, based on the vehicle standby task execution method, electronic device and computer-readable storage medium provided by the present application, the method includes: if a travel standby plan is detected, then the standby task that needs to be executed in the travel standby plan is obtained as the target standby task; wherein the standby task includes a battery charging task, a battery heating task and other tasks that are executed in sequence, and the travel standby plan includes the travel time; the initial execution duration of the target standby task is obtained, and the sum of the initial execution durations of the battery heating task and other tasks in the target standby task is taken as the total execution duration; if the total execution duration is less than the remaining time between the current time and the travel time, then the initial execution duration of the battery charging task and / or the battery heating task in the target standby task is corrected after a preset period of time to obtain the target execution duration; the target execution time of the battery charging task and / or the battery heating task is determined based on the target execution time and the travel time, so as to execute the battery charging task and / or the battery heating task based on the target execution time. Therefore, when the total execution time is less than the remaining time between the current time and the travel time, the execution time of the battery charging task and / or the battery heating task can be corrected to obtain a more accurate target execution time, thereby making the target execution time more in line with actual needs and improving the vehicle preparation effect.

[0117] The above content is only a preferred exemplary embodiment of the present application and is not intended to limit the implementation scheme of the present application. A person skilled in the art can easily make corresponding changes or modifications based on the main concept and spirit of the present application. Therefore, the scope of protection of the present application shall be based on the scope of protection required by the claims.

Claims

1. A vehicle preparation task execution method, characterized in that: include: If a travel preparation plan is detected, the preparation tasks to be performed in the travel preparation plan are obtained as target preparation tasks; wherein the preparation tasks include battery charging tasks, battery heating tasks and other tasks to be performed in sequence, and the travel preparation plan includes a travel time; Acquire the initial execution duration of the target vehicle standby task, and take the sum of the initial execution duration of the battery heating task and the initial execution duration of the other tasks in the target vehicle standby task as the total execution duration; If the total execution time is less than the remaining time between the current time and the travel time, then after a preset period of time, the initial execution time of the battery charging task and / or the initial execution time of the battery heating task in the target vehicle standby task is corrected to obtain a target execution time; A target execution time of the battery charging task and / or the battery heating task is determined based on the target execution time and the travel time, so as to execute the battery charging task and / or the battery heating task based on the target execution time.

2. The vehicle preparation task execution method according to claim 1, characterized in that: After the step of obtaining the initial execution duration of the target vehicle standby task and taking the sum of the initial execution duration of the battery heating task and the initial execution duration of the other tasks in the target vehicle standby task as the total execution duration, the method further includes: If the total execution time is greater than or equal to the remaining time between the current time and the travel time, the target execution time of the target vehicle preparation task is determined based on the initial execution time of the target vehicle preparation task and the travel time; wherein the execution time periods of each of the target vehicle preparation tasks are continuous; The current execution period of the target vehicle preparation task at the current moment is determined, and the target vehicle preparation task corresponding to the current execution period is executed.

3. The vehicle preparation task execution method according to claim 1, characterized in that: The step of executing the battery charging task and / or the battery heating task based on the target execution time includes: Determine the target execution duration or the sum of the initial execution durations corresponding to the target vehicle preparation task as the target total duration; If the target total duration is greater than the remaining duration, the current execution period of the target vehicle preparation task at the current moment is determined, and the target vehicle preparation task corresponding to the current execution period is executed.

4. The vehicle preparation task execution method according to claim 1, characterized in that: The step of obtaining the initial execution time of the target vehicle preparation task includes: If the target vehicle standby task includes the battery charging task, obtaining the initial execution duration of the battery charging task through the battery management system; If the target vehicle preparation task includes the battery heating task, the first preset duration is used as the initial execution duration of the battery heating task; If the target vehicle preparation task includes the other tasks, the second preset duration is used as the initial execution duration of the other tasks.

5. The vehicle preparation task execution method according to claim 1, characterized in that: If the total execution time is less than the remaining time between the current time and the travel time, the step of correcting the initial execution time of the battery charging task and / or the initial execution time of the battery heating task in the target vehicle standby task after a preset period of time to obtain a target execution time includes: If the total execution time is less than the remaining time between the current time and the travel time, and the remaining time is less than the sum of the total execution time and a third preset time, detecting whether the target vehicle standby task includes the battery heating task; If the target vehicle preparation task includes the battery heating task, the initial execution duration of the battery heating task is corrected after a preset period of time to obtain a target execution duration.

6. The vehicle preparation task execution method according to claim 5, characterized in that: The step of correcting the initial execution time of the battery heating task after a preset period of time to obtain a target execution time includes: When it is detected that the time reaches the heating correction time, the whole vehicle is woken up and after a first preset interval, the heating time corresponding to the battery heating task is obtained through the battery management system as the target execution time; The heating correction time is located before the travel time, and the duration between the two is the sum of the total execution time and the third preset time.

7. The vehicle preparation task execution method according to claim 1, characterized in that: If the total execution time is less than the remaining time between the current time and the travel time, the step of correcting the initial execution time of the battery charging task and / or the initial execution time of the battery heating task in the target vehicle standby task after a preset period of time to obtain a target execution time includes: If the remaining time between the current time and the travel time is greater than the sum of the total execution time and the third preset time, detecting whether the target vehicle preparation task includes the battery charging task; If the target vehicle preparation task does not include the battery charging task, detecting whether the target vehicle preparation task includes the battery heating task; If the target vehicle preparation task includes the battery heating task, the initial execution duration of the battery heating task is corrected after a preset period of time to obtain a target execution duration.

8. The vehicle preparation task execution method according to claim 7, characterized in that: If the remaining time between the current time and the travel time is greater than the sum of the total execution time and the third preset time, after the step of detecting whether the target vehicle standby task includes the battery charging task, the method further includes: If the target vehicle preparation task includes the battery charging task, detecting whether an initial execution duration corresponding to the battery charging task or the battery heating task is obtained; If the initial execution duration corresponding to the battery charging task or the battery heating task is obtained, after waking up the vehicle at the charging correction time and waking up for a second preset interval, the execution duration corresponding to the battery charging task and the battery heating task is obtained through the battery management system as the target execution duration; The charging correction time is before the travel time, and the duration between the two is the sum of the initial execution duration of the battery charging task, the initial execution duration of the battery heating task and a fourth preset duration.

9. An electronic device, characterized in that: include: processor; A memory for storing a computer program, wherein the computer program, when executed by the processor, implements the vehicle preparation task execution method according to any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the vehicle preparation task execution method according to any one of claims 1 to 8 is implemented.

Citation Information

Cited By

  • Vehicle preparation method, storage medium, controller, vehicle and program product

    CN120512463A