Vehicle-mounted terminal control method, device, equipment and medium

By managing the wake-up status of the on-board terminal during the OTA upgrade process, the problem of long-term wake-up of the on-board terminal and vehicle battery failure due to OTA upgrade is solved, and the effect of maintaining a normal state during the upgrade process and reducing the risk of battery failure is achieved.

CN119645449APending Publication Date: 2025-03-18VOYAH AUTOMOBILE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411684535.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-22
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

In the prior art, when OTA is upgraded through appointment, the maintenance wake-up information of the on-board terminal will not be eliminated, resulting in the on-board terminal being awakened for a long time during the daily restart, causing the vehicle battery to lose power.

Method used

The vehicle-mounted terminal of the vehicle receives an appointment upgrade request including the target appointment time input by the user in response to the upgrade package download completion signal. When the target reservation time is reached, the on-board terminal switches to the wake-up state and receives the hold-up request sent by the air upgrade module. When the preset upgrade conditions are met, the hold wake-up request continues to be sent for the upgrade operation.

Benefits of technology

During the OTA upgrade process, the on-board terminal is effectively maintained to ensure the smooth progress of the upgrade operation. During the daily restart process, the on-board terminal is avoided for a long-term wake-up request due to uneliminated wake-up requests, which reduces the chance of the battery losing power due to OTA upgrade.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119645449A_ABST
    Figure CN119645449A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle-mounted terminal control method and device, equipment and a medium. The method comprises the steps that a vehicle-mounted terminal of a vehicle receives a reservation upgrading request which is input by a user and contains a target reservation moment; the vehicle-mounted terminal responds to the upgrade reservation request to be switched to an awakening state; the vehicle-mounted terminal responds to the first awakening keeping request to keep awakening for a first duration, and the air upgrading module judges whether the vehicle meets a preset upgrading condition or not within the first duration; under the condition that the vehicle meets the preset upgrading condition, the air upgrading module sends a second awakening keeping request for keeping awakening for a second duration to the vehicle-mounted terminal; and the vehicle-mounted terminal responds to the second wakeup keeping request to keep wakeup for a second time length, and the air upgrading module uses the upgrading package to carry out upgrading operation within the second time length. According to the method and the device, the probability that the vehicle-mounted terminal is in an awakening state due to OTA upgrading is reduced, and the probability that the battery is lack of electricity due to OTA upgrading is also reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] OTA (Over The Air) upgrade refers to the online update of the car's driving computer system through air download technology, thereby improving the car's performance. The premise of OTA upgrade is to wake up the vehicle terminal TBOX (Telematics Box) and put it in the awake state.

[0003] In the related technology, OTA upgrades are mainly performed by appointment, and the maintenance wake-up information of the vehicle terminal will be recorded during the appointment process. However, the maintenance wake-up information will not be eliminated after the OTA upgrade is completed, causing the vehicle terminal to be in a long-term wake-up state during the daily restart process, causing the vehicle battery to run out of power. Therefore, how to reduce the probability of battery power loss in vehicles due to OTA upgrades is an urgent problem that needs to be solved. Summary of the invention

[0004] The embodiments of the present application provide a vehicle-mounted terminal control method, device, equipment and medium, which solves the problem that OTA upgrades are mainly performed through appointments in the prior art. During the appointment process, the maintenance wake-up information of the vehicle-mounted terminal will be recorded, but the maintenance wake-up information will not be eliminated after the OTA upgrade is completed, causing the vehicle-mounted terminal to be in a long-term wake-up state during the daily restart process, resulting in the vehicle having a battery low technical problem, thereby achieving the technical effect of reducing the probability of battery low in the vehicle due to OTA upgrades.

[0005] In a first aspect, the present application provides a vehicle-mounted terminal control method, the method comprising:

[0006] The vehicle terminal of the vehicle receives a reservation upgrade request including a target reservation time input by a user in response to the upgrade package download completion signal;

[0007] When the target reservation time is reached, the vehicle terminal responds to the reservation upgrade request to switch to the awake state; the vehicle's air upgrade module responds to the reservation upgrade request to send a first wake-up hold request for maintaining wake-up for a first duration to the vehicle terminal;

[0008] The vehicle terminal responds to the first wake-up hold request to keep the vehicle awake for the first time period, and the air upgrade module determines whether the vehicle meets the preset upgrade condition within the first time period;

[0009] When the vehicle meets the preset upgrade condition, the over-the-air upgrade module sends a second wake-up hold request to the vehicle-mounted terminal for maintaining wake-up for a second time period;

[0010] The vehicle terminal responds to the second wake-up hold request to stay awake for the second time period, and the over-the-air upgrade module performs an upgrade operation using an upgrade package within the second time period.

[0011] Furthermore, the vehicle terminal of the vehicle receives a reservation upgrade request including a target reservation time input by a user in response to the upgrade package download completion signal, including:

[0012] The vehicle terminal responds to the upgrade package download completion signal to determine whether the vehicle is in a target state, wherein the target state includes an ignition state and a vehicle speed lower than a preset speed;

[0013] When the vehicle is in the target state, the vehicle-mounted terminal controls the display module of the vehicle to display an upgrade reservation pop-up box;

[0014] The vehicle terminal receives the reservation upgrade request including the target reservation time input by the user through the upgrade reservation pop-up box, and sets a first real-time clock according to the target reservation time, wherein the first real-time clock is used to monitor whether the target reservation time is reached;

[0015] The vehicle-mounted terminal sends the target appointment time to the over-the-air upgrade module, and the over-the-air upgrade module sets a second real-time clock according to the target appointment time, and the second real-time clock is used to monitor whether the target appointment time is reached.

[0016] Further, when the target reservation time is reached, the vehicle terminal responds to the reservation upgrade request to switch to the awake state, including:

[0017] When the target reservation time is reached, the vehicle terminal responds to the reservation upgrade request to switch to a wake-up state;

[0018] In the case where the vehicle terminal is successfully switched to the awake state, the vehicle's air upgrade module continues to respond to the scheduled upgrade request to send a first wake-up hold request to the vehicle terminal to keep awake for a first time period;

[0019] In the case where the vehicle terminal fails to switch to the awake state, the vehicle terminal sends a first notification message of awakening failure to the over-the-air upgrade module, and the over-the-air upgrade module postpones the target appointment time in the appointment upgrade request by a first preset time in response to the first notification message, and obtains the updated target appointment time and the appointment upgrade request;

[0020] The over-the-air upgrade module sends the updated target appointment time and the appointment upgrade request to the vehicle terminal, so that the vehicle terminal continues to execute the step of responding to the appointment upgrade request to switch to the wake-up state when the target appointment time is reached, based on the updated target appointment time and the appointment upgrade request.

[0021] Further, the air upgrade module of the vehicle sends a first wake-up hold request for a first wake-up time to the vehicle-mounted terminal in response to the scheduled upgrade request, including:

[0022] When the vehicle terminal is switched to the awake state, the vehicle terminal is switched from the sleep mode to the normal mode, and the air upgrade module applies for a wake-up lock from the vehicle terminal;

[0023] When the first moment corresponding to the over-the-air upgrade module applying for the wake-up lock from the vehicle-mounted terminal is earlier than the second moment corresponding to the vehicle-mounted terminal switching from the sleep mode to the normal mode, the vehicle-mounted terminal sends the second notification information to the over-the-air upgrade module allowing triggering to maintain wake-up for the first duration, and the over-the-air upgrade module sends the first wake-up maintain request to the over-the-air upgrade module in response to the second notification information.

[0024] Further, the vehicle terminal responds to the first wake-up hold request to keep awake for the first time period, including:

[0025] Within a second preset time period after the vehicle-mounted terminal sends the second notification information, the vehicle-mounted terminal detects whether the first wake-up hold request sent by the air upgrade module is received;

[0026] When the vehicle terminal receives the first wake-up and hold request sent by the air upgrade module within the second preset time period, the vehicle terminal responds to the first wake-up and hold request to maintain the normal mode for the first time period.

[0027] Further, the vehicle terminal responds to the second wake-up hold request to keep awake for the second time period, and the over-the-air upgrade module uses the upgrade package to perform an upgrade operation within the second time period, including:

[0028] The vehicle terminal responds to the second wake-up hold request to determine whether the vehicle terminal is in a normal mode;

[0029] When the vehicle-mounted terminal is in the normal mode, the vehicle-mounted terminal responds to the second wake-up hold request to maintain the second time length in the normal mode;

[0030] The vehicle terminal sends a third notification message to the air upgrade module indicating that the vehicle terminal has locked the normal mode and maintained the second time period, and the air upgrade module responds to the third notification message to perform an upgrade operation using an upgrade package within the second time period.

[0031] Further, after the vehicle terminal responds to the second wake-up hold request to determine whether the vehicle terminal is in a normal mode, the method further includes:

[0032] When the vehicle-mounted terminal is not in the normal mode, the vehicle-mounted terminal switches to a dormant state;

[0033] When the vehicle-mounted terminal is in a dormant state, monitoring whether the vehicle meets a daily restart condition;

[0034] In a case where the vehicle satisfies the daily restart condition, a daily restart operation is performed.

[0035] In a second aspect, the present application provides a vehicle-mounted terminal control device, the device comprising:

[0036] A reservation upgrade request receiving module, used for the vehicle terminal of the vehicle to respond to the upgrade package download completion signal and receive the reservation upgrade request input by the user including the target reservation time;

[0037] A wake-up switching and holding module is used for, when the target appointment time is reached, the vehicle terminal responds to the appointment upgrade request to switch to the wake-up state; the vehicle's air upgrade module responds to the appointment upgrade request to send a first wake-up hold request for maintaining the wake-up for a first duration to the vehicle terminal;

[0038] An upgrade condition judgment module, used for the vehicle terminal to respond to the first wake-up hold request to keep the vehicle awake for the first time period, and the over-the-air upgrade module to judge whether the vehicle meets the preset upgrade condition within the first time period;

[0039] A wake-up switching holding module, configured to cause the over-the-air upgrade module to send a second wake-up holding request to the vehicle terminal to keep the wake-up time for a second time period when the vehicle meets the preset upgrade condition;

[0040] An upgrade operation execution module is used for the vehicle terminal to respond to the second wake-up hold request to keep awake for the second time period, and the air upgrade module uses the upgrade package to perform an upgrade operation within the second time period.

[0041] Furthermore, the reservation upgrade request receiving module is used to:

[0042] The vehicle terminal responds to the upgrade package download completion signal to determine whether the vehicle is in a target state, wherein the target state includes an ignition state and a vehicle speed lower than a preset speed;

[0043] When the vehicle is in the target state, the vehicle-mounted terminal controls the display module of the vehicle to display an upgrade reservation pop-up box;

[0044] The vehicle terminal receives the reservation upgrade request including the target reservation time input by the user through the upgrade reservation pop-up box, and sets a first real-time clock according to the target reservation time, wherein the first real-time clock is used to monitor whether the target reservation time is reached;

[0045] The vehicle-mounted terminal sends the target appointment time to the over-the-air upgrade module, and the over-the-air upgrade module sets a second real-time clock according to the target appointment time, and the second real-time clock is used to monitor whether the target appointment time is reached.

[0046] Further, the switching holding module is awakened to:

[0047] When the target reservation time is reached, the vehicle terminal responds to the reservation upgrade request to switch to a wake-up state;

[0048] In the case where the vehicle terminal is successfully switched to the awake state, the vehicle's air upgrade module continues to respond to the scheduled upgrade request to send a first wake-up hold request to the vehicle terminal to keep awake for a first time period;

[0049] In the case where the vehicle terminal fails to switch to the awake state, the vehicle terminal sends a first notification message of awakening failure to the over-the-air upgrade module, and the over-the-air upgrade module postpones the target appointment time in the appointment upgrade request by a first preset time in response to the first notification message, and obtains the updated target appointment time and the appointment upgrade request;

[0050] The over-the-air upgrade module sends the updated target appointment time and the appointment upgrade request to the vehicle terminal, so that the vehicle terminal continues to execute the step of responding to the appointment upgrade request to switch to the wake-up state when the target appointment time is reached, based on the updated target appointment time and the appointment upgrade request.

[0051] Further, the switching holding module is awakened to:

[0052] When the vehicle terminal is switched to the awake state, the vehicle terminal is switched from the sleep mode to the normal mode, and the air upgrade module applies for a wake-up lock from the vehicle terminal;

[0053] When the first moment corresponding to the over-the-air upgrade module applying for the wake-up lock from the vehicle-mounted terminal is earlier than the second moment corresponding to the vehicle-mounted terminal switching from the sleep mode to the normal mode, the vehicle-mounted terminal sends the second notification information to the over-the-air upgrade module allowing triggering to maintain wake-up for the first duration, and the over-the-air upgrade module sends the first wake-up maintain request to the over-the-air upgrade module in response to the second notification information.

[0054] Further, the switching holding module is awakened to:

[0055] Within a second preset time period after the vehicle-mounted terminal sends the second notification information, the vehicle-mounted terminal detects whether the first wake-up hold request sent by the air upgrade module is received;

[0056] When the vehicle terminal receives the first wake-up and hold request sent by the air upgrade module within the second preset time period, the vehicle terminal responds to the first wake-up and hold request to maintain the normal mode for the first time period.

[0057] Furthermore, the upgrade operation execution module is used to:

[0058] The vehicle terminal responds to the second wake-up hold request to determine whether the vehicle terminal is in a normal mode;

[0059] When the vehicle-mounted terminal is in the normal mode, the vehicle-mounted terminal responds to the second wake-up hold request to maintain the second time length in the normal mode;

[0060] The vehicle terminal sends a third notification message to the air upgrade module indicating that the vehicle terminal has locked the normal mode and maintained the second time period, and the air upgrade module responds to the third notification message to perform an upgrade operation using an upgrade package within the second time period.

[0061] Furthermore, the upgrade operation execution module is used to:

[0062] When the vehicle-mounted terminal is not in the normal mode, the vehicle-mounted terminal switches to a dormant state;

[0063] When the vehicle-mounted terminal is in a dormant state, monitoring whether the vehicle meets a daily restart condition;

[0064] In a case where the vehicle satisfies the daily restart condition, a daily restart operation is performed.

[0065] In a third aspect, the present application provides an electronic device, including:

[0066] processor;

[0067] a memory for storing instructions executable by the processor;

[0068] Among them, the processor is configured to execute to implement a vehicle terminal control method provided in the first aspect.

[0069] In a fourth aspect, the present application provides a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute a vehicle terminal control method as provided in the first aspect.

[0070] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:

[0071] In an embodiment of the present application, the vehicle's on-board terminal responds to an upgrade package download completion signal to receive a reservation upgrade request input by a user including a target reservation time; when the target reservation time is reached, the on-board terminal responds to the reservation upgrade request to switch to a wake-up state; the vehicle's over-the-air upgrade module responds to the reservation upgrade request to send a first wake-up hold request to the on-board terminal to keep the vehicle awake for a first time period; the on-board terminal responds to the first wake-up hold request to keep the vehicle awake for the first time period, and the over-the-air upgrade module determines whether the vehicle meets a preset upgrade condition within the first time period; when the vehicle meets the preset upgrade condition, the over-the-air upgrade module sends a second wake-up hold request to the on-board terminal to keep the vehicle awake for a second time period; the on-board terminal responds to the second wake-up hold request to keep the vehicle awake for the second time period, and the over-the-air upgrade module uses the upgrade package to perform an upgrade operation within the second time period. It can be seen that in the entire OTA upgrade process, the embodiment of the present application does not store the wake-up and hold request. The wake-up and hold request is only valid during the OTA upgrade process to enable the vehicle terminal to maintain a normal state during the OTA upgrade process. During the daily restart process, the vehicle terminal will not be in the awake state for no reason for a long time due to the existence of the wake-up and hold request, thereby reducing the probability of the vehicle terminal being in the awake state for no reason due to the OTA upgrade, and reducing the probability of the battery running out of power due to the OTA upgrade. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following is a brief introduction to the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0073] Figure 1A flowchart of a vehicle terminal control method provided in an embodiment of the present application;

[0074] Figure 2 A schematic diagram of the structure of a vehicle terminal control device provided in an embodiment of the present application;

[0075] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0076] The embodiment of the present application provides a method for controlling a vehicle-mounted terminal, which solves the problem in the prior art that OTA upgrades are mainly performed through reservations. During the reservation process, the maintenance wake-up information of the vehicle-mounted terminal will be recorded, but the maintenance wake-up information will not be eliminated after the OTA upgrade is completed, causing the vehicle-mounted terminal to be in a long-term wake-up state during the daily restart process, resulting in the technical problem that the vehicle has a low battery.

[0077] The technical solution of the embodiment of the present application is to solve the above technical problems, and the overall idea is as follows:

[0078] In an embodiment of the present application, the vehicle's on-board terminal responds to an upgrade package download completion signal to receive a reservation upgrade request input by a user including a target reservation time; when the target reservation time is reached, the on-board terminal responds to the reservation upgrade request to switch to a wake-up state; the vehicle's over-the-air upgrade module responds to the reservation upgrade request to send a first wake-up hold request to the on-board terminal to keep the vehicle awake for a first time period; the on-board terminal responds to the first wake-up hold request to keep the vehicle awake for the first time period, and the over-the-air upgrade module determines whether the vehicle meets a preset upgrade condition within the first time period; when the vehicle meets the preset upgrade condition, the over-the-air upgrade module sends a second wake-up hold request to the on-board terminal to keep the vehicle awake for a second time period; the on-board terminal responds to the second wake-up hold request to keep the vehicle awake for the second time period, and the over-the-air upgrade module uses the upgrade package to perform an upgrade operation within the second time period.

[0079] It can be seen that in the entire OTA upgrade process, the embodiment of the present application does not store the wake-up and hold request. The wake-up and hold request is only valid during the OTA upgrade process to enable the vehicle terminal to maintain a normal state during the OTA upgrade process. During the daily restart process, the vehicle terminal will not be in the awake state for no reason for a long time due to the existence of the wake-up and hold request, thereby reducing the probability of the vehicle terminal being in the awake state for no reason due to the OTA upgrade, and reducing the probability of the battery running out of power due to the OTA upgrade.

[0080] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0081] First of all, the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0082] The present application embodiment provides a vehicle terminal control method, which can be applied to a vehicle controller. Figure 1 As shown, it includes steps S11 to S15.

[0083] Step S11, the vehicle terminal of the vehicle receives a reservation upgrade request including a target reservation time input by the user in response to a signal indicating that the upgrade package download is completed;

[0084] Step S12, when the target reservation time is reached, the vehicle terminal responds to the reservation upgrade request to switch to the awake state; the vehicle's air upgrade module responds to the reservation upgrade request to send a first wake-up hold request for a first awakening time to the vehicle terminal;

[0085] Step S13, the vehicle terminal responds to the first wake-up hold request to keep awake for the first time period, and the air upgrade module determines whether the vehicle meets the preset upgrade condition within the first time period;

[0086] Step S14, when the vehicle meets the preset upgrade condition, the over-the-air upgrade module sends a second wake-up hold request for a second wake-up time to the vehicle terminal;

[0087] Step S15: the vehicle terminal responds to the second wake-up hold request to stay awake for the second time period, and the over-the-air upgrade module uses the upgrade package to perform an upgrade operation within the second time period.

[0088] Regarding step S11, the vehicle terminal of the vehicle receives a reservation upgrade request including a target reservation time input by the user in response to the upgrade package download completion signal.

[0089] Normally, whether the vehicle needs to upgrade is determined by the cloud. When the cloud generates an upgrade task corresponding to the vehicle, the cloud will send the upgrade task to the vehicle. When the vehicle meets the upgrade package download conditions corresponding to the upgrade task, the vehicle will download the corresponding upgrade package from the cloud. When the upgrade package is downloaded, the corresponding upgrade package download completion signal will be generated.

[0090] In response to the upgrade package download completion signal, the vehicle terminal (eg, TBOX) receives a reservation upgrade request including a target reservation time input by a user, specifically including steps S111 to S114.

[0091] Step S111, the vehicle terminal responds to the upgrade package download completion signal to determine whether the vehicle is in a target state, wherein the target state includes an ignition state and a vehicle speed lower than a preset speed;

[0092] Step S112, when the vehicle is in the target state, the vehicle-mounted terminal controls the display module of the vehicle to display an upgrade reservation pop-up box;

[0093] Step S113, the vehicle terminal receives the reservation upgrade request including the target reservation time input by the user through the upgrade reservation pop-up box, and sets a first real-time clock according to the target reservation time, wherein the first real-time clock is used to monitor whether the target reservation time has been reached;

[0094] Step S114, the vehicle terminal sends the target appointment time to the over-the-air upgrade module, and the over-the-air upgrade module sets a second real-time clock according to the target appointment time, and the second real-time clock is used to monitor whether the target appointment time is reached.

[0095] The vehicle terminal responds to the upgrade package download completion signal and determines whether the vehicle is in the ignition state and whether the vehicle speed is lower than the preset speed. The preset speed can be set according to the actual situation, for example, it can be 40km / h.

[0096] When the vehicle is in the ignition state and the vehicle speed is lower than the preset speed, the vehicle terminal controls the display module of the vehicle to display an upgrade appointment pop-up box, which includes an upgrade content summary corresponding to the current upgrade package and prompts the user to enter the target appointment time for the upgrade.

[0097] The user enters the target appointment time in the upgrade appointment pop-up box, the vehicle terminal receives the target appointment time entered by the user, and generates a corresponding appointment upgrade request according to the target appointment time. The vehicle terminal sets the first real-time clock according to the target appointment time so as to switch to the awake state when the target appointment time is reached.

[0098] The vehicle terminal also sends the target appointment time to the air upgrade module, which is also the OTA module. The air upgrade module sets a second real-time clock according to the target appointment time so as to enter the upgrade process when the target appointment time is reached.

[0099] Regarding step S12, when the target appointment time is reached, the vehicle-mounted terminal responds to the appointment upgrade request to switch to the wake-up state; the vehicle's air upgrade module responds to the appointment upgrade request to send a first wake-up hold request to the vehicle-mounted terminal to maintain wake-up for a first duration.

[0100] The first real-time clock monitors whether the target appointment time has been reached. When the target appointment time has been reached, the vehicle terminal responds to the appointment upgrade request and switches to the wake-up state. In actual operation, the vehicle terminal may fail to wake up.

[0101] When the vehicle terminal is successfully switched to the awake state, the vehicle's air upgrade module continues to respond to the scheduled upgrade request to send a first wake-up hold request to the vehicle terminal for a first awakening time. The first time can be set according to actual conditions, for example, 90 seconds.

[0102] In the case that the vehicle terminal fails to switch to the awake state, the vehicle terminal sends a first notification message of the awakening failure to the air upgrade module. In response to the first notification message, the air upgrade module postpones the target appointment time in the appointment upgrade request by a first preset time to obtain the updated target appointment time and the appointment upgrade request. In other words, the vehicle terminal cannot switch to the awake state at the target appointment time before the update, resulting in the inability of the air upgrade module to perform the vehicle-side upgrade. At this time, the upgrade time needs to be delayed, specifically by postponing the first preset time (usually 24 hours) to obtain the updated target appointment time. On the basis of the updated target appointment time, the corresponding appointment upgrade request is also updated accordingly.

[0103] The over-the-air upgrade module sends the updated target appointment time and the appointment upgrade request to the vehicle terminal, so that the vehicle terminal continues to execute the step of responding to the appointment upgrade request to switch to the awake state when the target appointment time is reached for the updated target appointment time and the appointment upgrade request. That is, for the updated target appointment time, it continues to monitor whether the updated target appointment time is reached, and when the target appointment time is reached, the vehicle terminal responds to the appointment upgrade request to switch to the awake state.

[0104] If the vehicle terminal fails to switch to the wake-up state successfully, the vehicle's air upgrade module continues to respond to the scheduled upgrade request to send a first wake-up hold request to the vehicle terminal to maintain wake-up for a first duration, specifically including steps S121-S122.

[0105] Step S121, when the vehicle terminal is switched to the awake state, the vehicle terminal is switched from the sleep mode to the normal mode, and the air upgrade module applies for a wake-up lock from the vehicle terminal;

[0106] Step S122, when the first moment corresponding to the over-the-air upgrade module applying for the wake-up lock from the vehicle-mounted terminal is earlier than the second moment corresponding to the vehicle-mounted terminal switching from sleep mode to normal mode, the vehicle-mounted terminal sends a second notification message to the over-the-air upgrade module allowing triggering to maintain wake-up for the first duration, and the over-the-air upgrade module sends the first wake-up maintain request to the over-the-air upgrade module in response to the second notification message.

[0107] When the vehicle terminal switches to the awake state, both the vehicle terminal and the air upgrade module must perform corresponding actions. The vehicle terminal needs to switch from the sleep mode to the normal mode, and the air upgrade module needs to apply for a wake-up lock from the vehicle terminal. The wake-up lock is used to lock the vehicle terminal in the normal mode. In the subsequent process, the vehicle terminal wakes up for the first duration and the second duration, which are locked by the wake-up lock.

[0108] The moment when the vehicle-mounted terminal switches from the sleep mode to the normal mode is recorded as the second moment, and the moment when the air upgrade module applies for a wake-up lock from the vehicle-mounted terminal is recorded as the first moment.

[0109] When the first moment is earlier than the second moment, the vehicle terminal sends a second notification message to the air upgrade module, specifically notifying the air upgrade module to send a request to the vehicle terminal to trigger the first wake-up duration. The air upgrade module sends a first wake-up hold request to the air upgrade module based on the second notification message, and continues to execute step S13.

[0110] When the first moment is not earlier than the second moment, it means that the air upgrade module fails to apply for the wake-up lock from the vehicle terminal, which means that the vehicle terminal itself is in normal mode. The user may be using the car, which is not suitable for upgrading. Therefore, it is necessary to change the execution time of the upgrade operation, obtain the updated target appointment time, and return to execute step S12.

[0111] Regarding step S13, the vehicle-mounted terminal responds to the first wake-up hold request to stay awake for the first time period, and the over-the-air upgrade module determines whether the vehicle meets a preset upgrade condition within the first time period.

[0112] Within a second preset time after the vehicle terminal sends the second notification information, the vehicle terminal detects whether the first wake-up hold request sent by the air upgrade module is received. The second preset time can be set according to actual conditions, for example, 15 seconds.

[0113] If the vehicle terminal does not receive the first wake-up hold request sent by the air upgrade module within the second preset time period, the vehicle terminal enters a sleep state after the countdown of the second preset time period ends. Therefore, it is necessary to change the execution time of the upgrade operation, obtain the updated target appointment time, and return to execute step S12.

[0114] When the vehicle terminal receives the first wake-up and hold request sent by the air upgrade module within the second preset time period, the vehicle terminal responds to the first wake-up and hold request to maintain the normal mode for the first time period.

[0115] The air upgrade module determines whether the vehicle meets the preset upgrade conditions within the first time period, specifically including determining whether the wake-up lock of the vehicle terminal is in a valid state. If the wake-up lock is in an invalid state, the air upgrade module of the vehicle responds to the scheduled upgrade request to send the first wake-up hold request to the vehicle terminal to keep waking up for the first time period in step S12, and records the number of cycles of this step. When the number of cycles exceeds the preset number (for example, it can be 15 times), it is determined that the current state does not meet the installation conditions, so it is necessary to change the execution time of the upgrade operation, obtain the updated target appointment time, and return to step S12.

[0116] When the wake-up lock is in an effective state, it is determined whether the vehicle meets the preset upgrade conditions. When the over-the-air upgrade module determines that the vehicle does not meet the preset upgrade conditions within the first time period, it is determined that the current state does not meet the installation conditions, so it is necessary to change the execution time of the upgrade operation, obtain the updated target appointment time, and return to execute step S12.

[0117] When the over-the-air upgrade module determines within the first time period that the vehicle meets the preset upgrade condition, step S14 is continued.

[0118] Regarding step S14, when the vehicle meets the preset upgrade condition, the over-the-air upgrade module sends a second wake-up hold request for a second wake-up time to the vehicle-mounted terminal.

[0119] When the vehicle meets the preset upgrade conditions, the air upgrade module needs to further ensure that the vehicle terminal does not sleep during the upgrade process, so the air upgrade module sends a second wake-up hold request for a second wake-up time to the vehicle terminal.

[0120] Regarding step S15, the vehicle terminal responds to the second wake-up hold request to stay awake for the second time period, and the over-the-air upgrade module uses the upgrade package to perform an upgrade operation within the second time period.

[0121] The vehicle terminal responds to the second wake-up hold request and determines whether the vehicle terminal is in normal mode. In other words, the vehicle terminal only responds to the second wake-up hold request and does not store the second wake-up hold request, that is, does not record it in the maintenance bus information.

[0122] When the vehicle terminal is in the normal mode, the vehicle terminal responds to the second wake-up hold request to maintain the second time period in the normal mode. The vehicle terminal sends a third notification message to the air upgrade module indicating that the vehicle terminal has locked the normal mode and maintained the second time period, and the air upgrade module responds to the third notification message to use the upgrade package to perform an upgrade operation within the second time period.

[0123] When the vehicle terminal is not in the normal mode, the vehicle terminal is switched to a dormant state. When the vehicle terminal is in the dormant state, monitoring whether the vehicle meets a daily restart condition is performed. When the vehicle meets the daily restart condition, a daily restart operation is performed.

[0124] During the daily restart operation, since the vehicle terminal does not store the second wake-up hold request, that is, it is not recorded in the maintenance bus information, there is no wake-up hold request during the daily restart process, which reduces the probability of the vehicle terminal being in the wake-up state for no reason due to OTA upgrade, and reduces the probability of the battery being out of power due to OTA upgrade. In addition, during the daily restart operation, the wake-up hold request that was mistakenly stored during the last PTA upgrade can also be deleted, further reducing the probability of the vehicle terminal being in the wake-up state for no reason due to OTA upgrade, and reducing the probability of the battery being out of power due to OTA upgrade.

[0125] To summarize, in the embodiment of the present application, the vehicle-mounted terminal responds to the upgrade package download completion signal to receive a reservation upgrade request input by the user including a target reservation time; when the target reservation time is reached, the vehicle-mounted terminal responds to the reservation upgrade request to switch to a wake-up state; the vehicle's over-the-air upgrade module responds to the reservation upgrade request to send a first wake-up hold request to the vehicle-mounted terminal to keep the vehicle-mounted terminal awake for a first time period; the vehicle-mounted terminal responds to the first wake-up hold request to keep the vehicle-mounted terminal awake for the first time period, and the over-the-air upgrade module determines whether the vehicle meets the preset upgrade conditions within the first time period; when the vehicle meets the preset upgrade conditions, the over-the-air upgrade module sends a second wake-up hold request to the vehicle-mounted terminal to keep the vehicle-mounted terminal awake for a second time period; the vehicle-mounted terminal responds to the second wake-up hold request to keep the vehicle-mounted terminal awake for the second time period, and the over-the-air upgrade module uses the upgrade package to perform an upgrade operation within the second time period. It can be seen that in the entire OTA upgrade process, the embodiment of the present application does not store the wake-up and hold request. The wake-up and hold request is only valid during the OTA upgrade process to enable the vehicle terminal to maintain a normal state during the OTA upgrade process. During the daily restart process, the vehicle terminal will not be in the awake state for no reason for a long time due to the existence of the wake-up and hold request, thereby reducing the probability of the vehicle terminal being in the awake state for no reason due to the OTA upgrade, and reducing the probability of the battery running out of power due to the OTA upgrade.

[0126] In order to further illustrate the above-mentioned vehicle-mounted terminal control method provided in the embodiment of the present application, the embodiment of the present application now provides a scenario, which is as follows:

[0127] On the first day, the user made an appointment for OTA upgrade through a mobile terminal or a display module of the vehicle (such as a car computer), and the target appointment time was set on the second day. Before the target appointment time on the second day, the user did not wake up from sleep mode or use the vehicle.

[0128] On the first day, TBOX normally received the scheduled OTA upgrade service set by the user, and set the RTC (Real Time Clock) wake-up according to the target scheduled time to support the normal progress of the upgrade service.

[0129] On the second day, when the target appointment time is reached, the OTA component calls the all ow_s l eep interface setting to keep the entire vehicle awake.

[0130] The Allow_sleep interface performs maintenance bus wake-up during execution.

[0131] When calling the allow_sleep interface, since tbox is in the process of entering sleep mode, only the second step of the interface execution is covered, and the information of maintaining the bus wake-up is not recorded by TBOX. Therefore, when TBOX restarts at dawn on the third day, no recorded information of maintaining the bus wake-up will be found. Furthermore, even if TBOX restarts at dawn on the third day and finds the information of maintaining the bus wake-up during the last OTA upgrade, the information of maintaining the bus wake-up during the last OTA upgrade can be deleted, which reduces the probability of the vehicle terminal being in the wake-up state for no reason due to the OTA upgrade, and also reduces the probability of the battery being depleted due to the OTA upgrade.

[0132] Based on the same inventive concept, the present application embodiment provides the following Figure 2 A vehicle-mounted terminal control device is shown, the device comprising:

[0133] The reservation upgrade request receiving module 21 is used for the vehicle terminal of the vehicle to respond to the upgrade package download completion signal and receive the reservation upgrade request including the target reservation time input by the user;

[0134] The wake-up switching holding module 22 is used for, when the target appointment time is reached, the vehicle terminal responds to the appointment upgrade request to switch to the wake-up state; the vehicle's air upgrade module responds to the appointment upgrade request to send a first wake-up holding request for maintaining the wake-up for a first duration to the vehicle terminal;

[0135] An upgrade condition judgment module 23, configured for the vehicle terminal to respond to the first wake-up hold request to keep the vehicle awake for the first time period, and for the over-the-air upgrade module to judge whether the vehicle meets a preset upgrade condition within the first time period;

[0136] A wake-up switching holding module 22, configured to cause the over-the-air upgrade module to send a second wake-up holding request for holding the vehicle terminal awake for a second time period when the vehicle meets the preset upgrade condition;

[0137] The upgrade operation execution module 24 is used for the vehicle terminal to respond to the second wake-up hold request to keep awake for the second time period, and the over-the-air upgrade module uses the upgrade package to perform the upgrade operation within the second time period.

[0138] Furthermore, the reservation upgrade request receiving module 21 is used to:

[0139] The vehicle terminal responds to the upgrade package download completion signal to determine whether the vehicle is in a target state, wherein the target state includes an ignition state and a vehicle speed lower than a preset speed;

[0140] When the vehicle is in the target state, the vehicle-mounted terminal controls the display module of the vehicle to display an upgrade reservation pop-up box;

[0141] The vehicle terminal receives the reservation upgrade request including the target reservation time input by the user through the upgrade reservation pop-up box, and sets a first real-time clock according to the target reservation time, wherein the first real-time clock is used to monitor whether the target reservation time is reached;

[0142] The vehicle-mounted terminal sends the target appointment time to the over-the-air upgrade module, and the over-the-air upgrade module sets a second real-time clock according to the target appointment time, and the second real-time clock is used to monitor whether the target appointment time is reached.

[0143] Further, the switching holding module 22 is awakened to:

[0144] When the target reservation time is reached, the vehicle terminal responds to the reservation upgrade request to switch to a wake-up state;

[0145] In the case where the vehicle terminal is successfully switched to the awake state, the vehicle's air upgrade module continues to respond to the scheduled upgrade request to send a first wake-up hold request to the vehicle terminal to keep awake for a first time period;

[0146] In the case where the vehicle terminal fails to switch to the awake state, the vehicle terminal sends a first notification message of awakening failure to the over-the-air upgrade module, and the over-the-air upgrade module postpones the target appointment time in the appointment upgrade request by a first preset time in response to the first notification message, and obtains the updated target appointment time and the appointment upgrade request;

[0147] The over-the-air upgrade module sends the updated target appointment time and the appointment upgrade request to the vehicle terminal, so that the vehicle terminal continues to execute the step of responding to the appointment upgrade request to switch to the wake-up state when the target appointment time is reached, based on the updated target appointment time and the appointment upgrade request.

[0148] Further, the switching holding module 22 is awakened to:

[0149] When the vehicle terminal is switched to the awake state, the vehicle terminal is switched from the sleep mode to the normal mode, and the air upgrade module applies for a wake-up lock from the vehicle terminal;

[0150] When the first moment corresponding to the over-the-air upgrade module applying for the wake-up lock from the vehicle-mounted terminal is earlier than the second moment corresponding to the vehicle-mounted terminal switching from the sleep mode to the normal mode, the vehicle-mounted terminal sends the second notification information to the over-the-air upgrade module allowing triggering to maintain wake-up for the first duration, and the over-the-air upgrade module sends the first wake-up maintain request to the over-the-air upgrade module in response to the second notification information.

[0151] Further, the switching holding module 22 is awakened to:

[0152] Within a second preset time period after the vehicle-mounted terminal sends the second notification information, the vehicle-mounted terminal detects whether the first wake-up hold request sent by the air upgrade module is received;

[0153] When the vehicle terminal receives the first wake-up and hold request sent by the air upgrade module within the second preset time period, the vehicle terminal responds to the first wake-up and hold request to maintain the normal mode for the first time period.

[0154] Furthermore, the upgrade operation execution module 24 is used to:

[0155] The vehicle terminal responds to the second wake-up hold request to determine whether the vehicle terminal is in a normal mode;

[0156] When the vehicle-mounted terminal is in the normal mode, the vehicle-mounted terminal responds to the second wake-up hold request to maintain the second time length in the normal mode;

[0157] The vehicle terminal sends a third notification message to the air upgrade module indicating that the vehicle terminal has locked the normal mode and maintained the second time period, and the air upgrade module responds to the third notification message to perform an upgrade operation using an upgrade package within the second time period.

[0158] Furthermore, the upgrade operation execution module 24 is used to:

[0159] When the vehicle-mounted terminal is not in the normal mode, the vehicle-mounted terminal switches to a dormant state;

[0160] When the vehicle-mounted terminal is in a dormant state, monitoring whether the vehicle meets a daily restart condition;

[0161] In a case where the vehicle satisfies the daily restart condition, a daily restart operation is performed.

[0162] Based on the same inventive concept, the present application embodiment provides the following Figure 3 An electronic device as shown includes:

[0163] Processor 31;

[0164] A memory 32 for storing instructions executable by the processor 31;

[0165] The processor 31 is configured to execute to implement a vehicle terminal control method as provided above.

[0166] Based on the same inventive concept, an embodiment of the present application provides a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by the processor 31 of the electronic device, the electronic device can execute a vehicle terminal control method as provided above.

[0167] Since the electronic device introduced in this embodiment is an electronic device used to implement the information processing method in the embodiment of the present application, based on the information processing method introduced in the embodiment of the present application, a person skilled in the art can understand the specific implementation of the electronic device of the present embodiment and its various variations, so how the electronic device implements the method in the embodiment of the present application is not described in detail here. As long as a person skilled in the art implements the electronic device used by the information processing method in the embodiment of the present application, it belongs to the scope of protection of this application.

[0168] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0169] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0170] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0171] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0172] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0173] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A vehicle terminal control method, characterized in that: The method comprises: The vehicle terminal of the vehicle receives a reservation upgrade request including a target reservation time input by a user in response to the upgrade package download completion signal; When the target reservation time is reached, the vehicle terminal responds to the reservation upgrade request to switch to the awake state; the vehicle's air upgrade module responds to the reservation upgrade request to send a first wake-up hold request for maintaining wake-up for a first duration to the vehicle terminal; The vehicle terminal responds to the first wake-up hold request to keep the vehicle awake for the first time period, and the air upgrade module determines whether the vehicle meets the preset upgrade condition within the first time period; When the vehicle meets the preset upgrade condition, the over-the-air upgrade module sends a second wake-up hold request to the vehicle-mounted terminal for maintaining wake-up for a second time period; The vehicle terminal responds to the second wake-up hold request to stay awake for the second time period, and the over-the-air upgrade module performs an upgrade operation using an upgrade package within the second time period.

2. The method according to claim 1, characterized in that The vehicle terminal of the vehicle receives a reservation upgrade request including a target reservation time input by a user in response to the upgrade package download completion signal, including: The vehicle terminal responds to the upgrade package download completion signal to determine whether the vehicle is in a target state, wherein the target state includes an ignition state and a vehicle speed lower than a preset speed; When the vehicle is in the target state, the vehicle-mounted terminal controls the display module of the vehicle to display an upgrade reservation pop-up box; The vehicle terminal receives the reservation upgrade request including the target reservation time input by the user through the upgrade reservation pop-up box, and sets a first real-time clock according to the target reservation time, wherein the first real-time clock is used to monitor whether the target reservation time is reached; The vehicle-mounted terminal sends the target appointment time to the over-the-air upgrade module, and the over-the-air upgrade module sets a second real-time clock according to the target appointment time, and the second real-time clock is used to monitor whether the target appointment time is reached.

3. The method according to claim 1, characterized in that When the target reservation time is reached, the vehicle terminal responds to the reservation upgrade request to switch to a wake-up state, including: When the target reservation time is reached, the vehicle terminal responds to the reservation upgrade request to switch to a wake-up state; In the case where the vehicle terminal is successfully switched to the awake state, the vehicle's air upgrade module continues to respond to the scheduled upgrade request to send a first wake-up hold request to the vehicle terminal to keep awake for a first time period; In the case where the vehicle terminal fails to switch to the awake state, the vehicle terminal sends a first notification message of awakening failure to the over-the-air upgrade module, and the over-the-air upgrade module postpones the target appointment time in the appointment upgrade request by a first preset time in response to the first notification message, and obtains the updated target appointment time and the appointment upgrade request; The over-the-air upgrade module sends the updated target appointment time and the appointment upgrade request to the vehicle terminal, so that the vehicle terminal continues to execute the step of responding to the appointment upgrade request to switch to the wake-up state when the target appointment time is reached, based on the updated target appointment time and the appointment upgrade request.

4. The method according to claim 1, characterized in that The over-the-air upgrade module of the vehicle responds to the scheduled upgrade request to send a first wake-up hold request for a first wake-up time to the vehicle-mounted terminal, including: When the vehicle terminal is switched to the awake state, the vehicle terminal is switched from the sleep mode to the normal mode, and the air upgrade module applies for a wake-up lock from the vehicle terminal; When the first moment corresponding to the over-the-air upgrade module applying for the wake-up lock from the vehicle-mounted terminal is earlier than the second moment corresponding to the vehicle-mounted terminal switching from the sleep mode to the normal mode, the vehicle-mounted terminal sends the second notification information to the over-the-air upgrade module allowing triggering to maintain wake-up for the first duration, and the over-the-air upgrade module sends the first wake-up maintain request to the over-the-air upgrade module in response to the second notification information.

5. The method according to claim 4, characterized in that The vehicle-mounted terminal responds to the first wake-up hold request to keep awake for the first time period, including: Within a second preset time period after the vehicle-mounted terminal sends the second notification information, the vehicle-mounted terminal detects whether the first wake-up hold request sent by the air upgrade module is received; When the vehicle terminal receives the first wake-up and hold request sent by the air upgrade module within the second preset time period, the vehicle terminal responds to the first wake-up and hold request to maintain the normal mode for the first time period.

6. The method according to claim 1, characterized in that The vehicle terminal responds to the second wake-up hold request to stay awake for the second time period, and the over-the-air upgrade module uses the upgrade package to perform an upgrade operation within the second time period, including: The vehicle terminal responds to the second wake-up hold request to determine whether the vehicle terminal is in a normal mode; When the vehicle-mounted terminal is in the normal mode, the vehicle-mounted terminal responds to the second wake-up hold request to maintain the second time length in the normal mode; The vehicle terminal sends a third notification message to the air upgrade module indicating that the vehicle terminal has locked the normal mode and maintained the second time period, and the air upgrade module responds to the third notification message to perform an upgrade operation using an upgrade package within the second time period.

7. The method according to claim 6, characterized in that After the vehicle terminal responds to the second wake-up hold request to determine whether the vehicle terminal is in a normal mode, the method further includes: When the vehicle-mounted terminal is not in the normal mode, the vehicle-mounted terminal switches to a dormant state; When the vehicle-mounted terminal is in a dormant state, monitoring whether the vehicle meets a daily restart condition; In a case where the vehicle satisfies the daily restart condition, a daily restart operation is performed.

8. A vehicle-mounted terminal control device, characterized in that: The device comprises: A reservation upgrade request receiving module, used for the vehicle terminal of the vehicle to respond to the upgrade package download completion signal and receive the reservation upgrade request input by the user including the target reservation time; A wake-up switching and holding module is used for, when the target appointment time is reached, the vehicle terminal responds to the appointment upgrade request to switch to the wake-up state; the vehicle's air upgrade module responds to the appointment upgrade request to send a first wake-up hold request for maintaining the wake-up for a first duration to the vehicle terminal; An upgrade condition judgment module, used for the vehicle terminal to respond to the first wake-up hold request to keep awake for the first time period, and the over-the-air upgrade module to judge whether the vehicle meets the preset upgrade condition within the first time period; A wake-up switching holding module, configured to cause the over-the-air upgrade module to send a second wake-up holding request to the vehicle terminal to keep the wake-up time for a second time period when the vehicle meets the preset upgrade condition; The upgrade operation execution module is used for the vehicle terminal to respond to the second wake-up hold request to keep awake for the second time period, and the air upgrade module uses the upgrade package to perform the upgrade operation within the second time period.

9. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute to implement a vehicle terminal control method as described in any one of claims 1 to 7.

10. A non-temporary computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to implement a vehicle-mounted terminal control method as described in any one of claims 1 to 7.