Over-the-air (OTA) upgrade methods, devices, equipment, and vehicles for in-vehicle T-Box devices
By using a multi-dimensional information comprehensive evaluation mechanism that combines vehicle status and T-Box device information, the appropriate time to perform OTA upgrades is determined, which solves the problem of high failure rate of in-vehicle T-Box device upgrades and improves the reliability of upgrades and user experience.
Patent Information
- Application Number
- CN202611453738.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-18
- Publication Date
- 2026-11-17
AI Technical Summary
The high failure rate of OTA upgrades for vehicle-mounted T-Box devices is mainly due to the mismatch between the timing of the upgrade and the overall operating conditions of the vehicle, leading to problems such as unstable power supply, network interruption, and excessive load.
A multi-dimensional information comprehensive evaluation mechanism is introduced to receive upgrade packages and information from the cloud OTA platform, obtain vehicle operating status, driver vehicle behavior, and T-Box device network communication quality and health information, and determine the suitability of the upgrade through a scoring mechanism to ensure that OTA upgrades are performed when safety constraints are met.
It reduces the failure rate of OTA upgrades for in-vehicle T-Box devices, improving upgrade reliability and user experience.
Smart Images

Figure CN123123882A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle technology, and in particular to OTA upgrade methods, devices, equipment, and vehicles for in-vehicle T-Box devices. Background Technology
[0002] With the rapid development of intelligent connected vehicles, the in-vehicle T-Box device, as a core node in vehicle-to-cloud communication, typically undergoes remote software upgrades via Over-The-Air (OTA). Currently, OTA upgrade tasks for in-vehicle T-Box devices are usually manually created by operators on the cloud platform. Upgrade tasks are triggered by setting fixed upgrade activation periods and basic trigger conditions. If the basic trigger conditions are met at any time within the upgrade activation period, the OTA upgrade operation is directly performed on the in-vehicle T-Box device. However, these basic trigger conditions generally only include the vehicle being off and the in-vehicle T-Box device being online via the communication network, resulting in poor compatibility and a high failure rate for OTA upgrades. Summary of the Invention
[0003] The main purpose of this application is to provide a method, apparatus, device and vehicle for OTA upgrade of in-vehicle T-Box devices, with the aim of reducing the failure rate of OTA upgrade of in-vehicle T-Box devices.
[0004] To achieve the above objectives, the first aspect of this application proposes an OTA upgrade method for an in-vehicle T-Box device, the method comprising: Receive upgrade packages and upgrade information from the cloud-based OTA platform; Acquire vehicle operating status information, driver's historical vehicle usage information, and network communication quality and health information of the in-vehicle T-Box device; Based on the upgrade information, the vehicle's operating status information, the driver's historical vehicle usage behavior information, and the network communication quality information and health information of the in-vehicle T-Box device, the safety status information and upgrade suitability score are determined. When the upgrade suitability score is greater than or equal to the first preset score threshold, and the safety status information indicates that the safety hard constraints required for the upgrade of the vehicle T-Box device have been met, the vehicle T-Box device is upgraded via OTA according to the upgrade package.
[0005] In some embodiments of this application, the upgrade information includes the upgrade task type and upgrade task issuance time of the in-vehicle T-Box device; determining the safety status information and upgrade suitability score based on the upgrade information, the vehicle's operating status information, the driver's historical driving behavior information, and the network communication quality information and health information of the in-vehicle T-Box device includes: Based on the vehicle's operating status information, determine the upgraded safety score and the safety status information; Based on the network communication quality information and health information of the vehicle-mounted T-Box device, an upgrade stability score is determined; The upgrade timeliness score is determined based on the upgrade task type and the time when the upgrade task is issued for the vehicle-mounted T-Box device. Based on the driver's historical driving behavior information, an upgrade experience score is determined; The upgrade safety score, upgrade stability score, upgrade timeliness score, and upgrade experience score are weighted and summed to obtain the upgrade suitability score.
[0006] In some embodiments of this application, the vehicle's operating status information includes the vehicle's speed, gear information, ignition status information, door status information, and battery state of charge value; determining the upgraded safety score and the safety status information based on the vehicle's operating status information includes: When the vehicle speed, gear information, ignition status information, door status information, and battery state of charge value all meet the preset safety hard constraints, the upgrade safety score is set to full score, and the safety status information indicating that the safety hard constraints required for the upgrade of the vehicle T-Box device have been met is generated. When at least one of the vehicle's speed, gear information, ignition status information, door status information, and battery state of charge value fails to meet the preset safety hard constraint conditions, the upgrade safety score is set to zero, and safety status information indicating that the safety hard constraints required for the upgrade of the vehicle-mounted T-Box device have not been met is generated.
[0007] In some embodiments of this application, the network communication quality information of the vehicle-mounted T-Box device includes the communication signal strength, network bandwidth, network latency, and network packet loss rate of the vehicle-mounted T-Box device; the health information of the vehicle-mounted T-Box device includes the temperature and remaining storage space of the vehicle-mounted T-Box device; determining the upgrade stability score based on the network communication quality information and health information of the vehicle-mounted T-Box device includes: By using a piecewise linear mapping method, the communication signal strength, network bandwidth, network latency, network packet loss rate, temperature, and remaining storage space of the vehicle-mounted T-Box device are converted into scores, and then weighted and summed to obtain the upgrade stability score.
[0008] In some embodiments of this application, determining the upgrade timeliness score based on the upgrade task type and the time the upgrade task was issued for the vehicle-mounted T-Box device includes: Determine the upgrade waiting time threshold based on the upgrade task type of the in-vehicle T-Box device; The current upgrade waiting time is determined based on the current time and the time when the upgrade task for the vehicle-mounted T-Box device was issued. Calculate the ratio of the current upgrade waiting time to the upgrade waiting time threshold and perform a score mapping to obtain the upgrade timeliness score.
[0009] In some embodiments of this application, the driver's historical vehicle usage information includes the percentage of time the driver used the vehicle in each historical time period within each day of the most recent several days; determining the upgrade experience score based on the driver's historical vehicle usage information includes: The driver's historical vehicle usage information is filtered to obtain the percentage of vehicle usage time in multiple historical time periods that are the same as the target time period at the current moment. The probability of the driver using a vehicle during the target time period is predicted by statistically analyzing the percentage of vehicle usage time across the multiple historical time periods. The upgraded experience score is obtained by mapping the probability of the driver using the vehicle during the target time period.
[0010] In some embodiments of this application, the method further includes: When the upgrade suitability score is less than the first preset score threshold, and / or the safety status information indicates that the safety hard constraints required for the upgrade of the vehicle T-Box device are not met, the target delay duration is obtained and timing is started. When the timing value reaches the target delay duration, return to the steps of obtaining vehicle operating status information, driver's historical vehicle usage behavior information, and network communication quality information and health information of the in-vehicle T-Box device.
[0011] To achieve the above objectives, a second aspect of this application provides an OTA upgrade device for an in-vehicle T-Box device, the device comprising: The receiving module is used to receive upgrade packages and upgrade information sent by the cloud OTA platform; The acquisition module is used to acquire vehicle operating status information, driver's historical vehicle usage behavior information, and network communication quality information and health information of the in-vehicle T-Box device; The determination module is used to determine safety status information and upgrade suitability score based on the upgrade information, the vehicle's operating status information, the driver's historical vehicle usage behavior information, and the network communication quality information and health information of the vehicle-mounted T-Box device; The upgrade module is used to perform an OTA upgrade on the vehicle T-Box device according to the upgrade package when the upgrade suitability score is greater than or equal to a first preset score threshold and the safety status information indicates that the safety hard constraints required for the upgrade of the vehicle T-Box device have been met.
[0012] To achieve the above objectives, a third aspect of this application provides an electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the above-described OTA upgrade method for an in-vehicle T-Box device.
[0013] To achieve the above objectives, a fourth aspect of this application provides a vehicle that includes the aforementioned vehicle-mounted T-Box device OTA upgrade device or the aforementioned electronic device.
[0014] The embodiments of this application include at least the following beneficial effects: by introducing a multi-dimensional information comprehensive evaluation mechanism, the upgrade package and upgrade information issued by the cloud OTA platform are first received, and then the vehicle's operating status information, the driver's historical vehicle use behavior information, and the network communication quality information and health information of the vehicle-mounted T-Box device are obtained. The safety status information and upgrade suitability score are further determined by combining the upgrade information. Subsequently, when it is determined that the upgrade suitability score is greater than or equal to the first preset score threshold, and the safety status information indicates that the safety hard constraints required for the upgrade of the vehicle-mounted T-Box device have been met, the vehicle-mounted T-Box device is upgraded via OTA according to the upgrade package, thereby reducing the failure rate of OTA upgrade of the vehicle-mounted T-Box device.
[0015] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0016] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which: Figure 1 This is a flowchart illustrating an OTA upgrade method for an in-vehicle T-Box device provided in an embodiment of this application; Figure 2 This is a schematic diagram illustrating the composition of an OTA upgrade device for an in-vehicle T-Box according to an embodiment of this application; Figure 3 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0017] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the reference to "embodiment" herein means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments. The implementation methods described in the following exemplary embodiments do not represent all implementation methods consistent with the embodiments of this application; they are merely examples of apparatuses and methods consistent with some aspects of the embodiments of this application as detailed in the appended claims.
[0018] It is understood that the terms "first," "second," etc., used in this application may be used to describe various concepts herein, but unless specifically stated otherwise, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of the embodiments of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the words "if" or "when" as used herein may be interpreted as "when," "in response to a determination," or "at least one," "multiple," "each," "any," etc., as used in this application, at least one includes one, two, or more than two, multiple includes two or more, each refers to each of the corresponding multiple, and any refers to any one of the multiple.
[0019] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0020] With the rapid development of intelligent connected vehicles, the in-vehicle T-Box device, as a core node in vehicle-to-cloud communication, typically undergoes remote software upgrades via OTA (Over-The-Air). Currently, OTA upgrade tasks for in-vehicle T-Box devices are usually manually created by operators on the cloud platform. Upgrade tasks are triggered by setting fixed upgrade activation periods and basic trigger conditions. If the basic trigger conditions are met at any time within the upgrade activation period, the OTA upgrade operation is directly performed on the in-vehicle T-Box device. However, these basic trigger conditions generally only include the vehicle being off and the in-vehicle T-Box device being online in a communication network state. This poor compatibility leads to a high failure rate for OTA upgrades of in-vehicle T-Box devices. This can be further understood as the upgrade timing often not matching the overall vehicle operating conditions, making it prone to failure due to at least one influencing factor such as unstable power supply, network interruption, or excessive load, thus affecting upgrade reliability and user experience.
[0021] In view of this, this application proposes an OTA upgrade method, apparatus, device, and vehicle for in-vehicle T-Box devices. This solution introduces a multi-dimensional information comprehensive evaluation mechanism. First, it receives the upgrade package and upgrade information issued by the cloud OTA platform. Then, it obtains the vehicle's operating status information, the driver's historical driving behavior information, and the network communication quality information and health information of the in-vehicle T-Box device. Combined with the upgrade information, it further determines the safety status information and upgrade suitability score. Subsequently, when it is determined that the upgrade suitability score is greater than or equal to a first preset score threshold, and the safety status information indicates that the safety hard constraints required for the upgrade of the in-vehicle T-Box device have been met, the in-vehicle T-Box device is upgraded via OTA according to the upgrade package. This can avoid adverse vehicle operating conditions as much as possible, reduce the failure rate of OTA upgrades of in-vehicle T-Box devices, and thus reduce the waste of resources caused by upgrade failures.
[0022] The OTA upgrade method for an in-vehicle T-Box device provided in this application embodiment can be applied to the electronic device provided in this application embodiment. The electronic device can be a terminal or a server. The terminal can be a tablet computer, a laptop computer, a desktop computer, etc., but is not limited to these. The server can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks, and big data and artificial intelligence platforms.
[0023] Please refer to Figure 1 , Figure 1This is a flowchart illustrating an OTA upgrade method for an in-vehicle T-Box device provided in an embodiment of this application. It should be noted that the steps shown in the flowchart can be executed in a computer system, such as a computer system containing a set of computer-executable instructions. Although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0024] The OTA upgrade method for the vehicle-mounted T-Box device provided in this application embodiment may include, but is not limited to, the four steps S101 to S104, as detailed below: S101, Receive upgrade packages and upgrade information sent by the cloud OTA platform; S102. Obtain vehicle operating status information, driver's historical vehicle usage behavior information, and network communication quality information and health information of the in-vehicle T-Box device; S103. Based on the upgrade information, vehicle operating status information, driver's historical vehicle usage behavior information, and network communication quality and health information of the vehicle-mounted T-Box device, determine the safety status information and upgrade suitability score; S104. When the upgrade suitability score is greater than or equal to the first preset score threshold, and the safety status information indicates that the safety hard constraints required for the upgrade of the vehicle T-Box device have been met, perform an OTA upgrade on the vehicle T-Box device according to the upgrade package.
[0025] The four steps S101 to S104 shown in the embodiments of this application reduce the failure rate of OTA upgrades for in-vehicle T-Box devices by introducing a multi-dimensional information comprehensive evaluation mechanism to determine whether the upgrade operation is allowed.
[0026] In some embodiments, S101, the upgrade information sent by the cloud OTA platform includes the upgrade task type of the in-vehicle T-Box device, the upgrade task sending time, and the size of the upgrade package sent by the cloud OTA platform. The upgrade task type of the in-vehicle T-Box device includes any one of the following: emergency repair type, regular iteration type, and optional optimization type. The priority of executing emergency repair type tasks is the highest, the priority of executing regular iteration type tasks is medium, and the priority of executing optional optimization type tasks is the lowest. Executing emergency repair type tasks is generally to solve at least one of the following problems: high-risk security vulnerabilities, core function paralysis, changes in cloud communication protocols, etc. Security vulnerabilities could be remote code execution vulnerabilities in the T-Box's underlying operating system; core function paralysis could be caused by frequent disconnections due to 4G / 5G module driver bugs; changes in cloud communication protocols could be due to expired vehicle network service platform certificates, root certificate replacements, or cracked authentication algorithms; executing regular iterative tasks is generally to solve at least one type of problem, such as communication anti-interference optimization, power management strategy adjustment, or data upload strategy optimization; executing optional optimization tasks is generally to solve at least one type of problem, such as adding non-critical application functions, non-core algorithm tuning, or log and debug mode optimization; the time when upgrade tasks are issued generally refers to the time when the cloud OTA platform issues the upgrade package.
[0027] In some embodiments, S102, the vehicle's operating status information includes the vehicle's speed, gear information, ignition status information, door status information, and battery SOC (State of Charge) value. Specifically: the gear information indicates whether the vehicle is in park (P), reverse (R), neutral (N), or drive (D); the ignition status information indicates whether the vehicle is in an ignition state, which can be determined based on the ignition switch position indicator. When the ignition switch position indicator is OFF, the vehicle is considered to be in a non-ignition state; when the ignition switch position indicator is ON, the vehicle is considered to be in an ignition state; and the door status information indicates whether the vehicle doors are locked.
[0028] In S102 of some embodiments, the driver's historical vehicle usage information includes the percentage of vehicle usage time for each historical time period within each day of the most recent multiple days. The most recent multiple days can be the most recent 30 days. Specifically, each day of the most recent multiple days is divided into multiple consecutive and non-overlapping historical time periods with a preset time granularity. The preset time granularity can be 30 minutes. Taking any day as an example, 00:00:00 to 00:29:59 of that day is taken as the first historical time period of that day, 00:30:00 to 00:59:59 of that day is taken as the second historical time period of that day, and so on, until 23:30:00 to 23:59:59 of that day is taken as the last historical time period of that day. The percentage of vehicle usage time in each historical time period refers to the ratio of the vehicle usage time within that historical time period to the length of that historical time period.
[0029] In some embodiments, S102, the network communication quality information of the vehicle-mounted T-Box device includes the communication signal strength, network bandwidth, network latency, and network packet loss rate of the vehicle-mounted T-Box device. The communication signal strength of the vehicle-mounted T-Box device generally refers to the RSRP (Reference Signal Receiving Power) of the vehicle-mounted T-Box device. The health information of the vehicle-mounted T-Box device includes the temperature of the vehicle-mounted T-Box device and the remaining storage space. The temperature of the vehicle-mounted T-Box device generally refers to the operating temperature of the main control circuit board inside the vehicle-mounted T-Box device, which is often used to evaluate the overall heat dissipation status of the device.
[0030] In some embodiments, S103 may include five steps from S201 to S205, as follows: S201. Based on the vehicle's operating status information, determine the upgraded safety score and safety status information; S202. Determine the upgrade stability score based on the network communication quality information and health information of the vehicle-mounted T-Box device; S203. Determine the upgrade timeliness score based on the upgrade task type and the time when the upgrade task is issued for the vehicle-mounted T-Box device; S204. Determine the upgrade experience score based on the driver's historical vehicle usage information; S205. The upgrade safety score, upgrade stability score, upgrade timeliness score, and upgrade experience score are weighted and summed to obtain the upgrade suitability score. This can be achieved using the mathematical expression: Score = w1 × S_safety + w2 × S_stability + w3 × S_timeliness + w4 × S_experience, where Score is the upgrade suitability score, S_safety is the upgrade safety score, w1 is the weight of the upgrade safety assessment indicator, and S_stability is the upgrade stability score. The scoring system is as follows: w2 represents the weight of the upgrade stability assessment indicator; S_timeliness represents the upgrade timeliness score; w3 represents the weight of the upgrade timeliness assessment indicator; S_experience represents the upgrade experience score; and w4 represents the weight of the upgrade experience assessment indicator. In this application, w1=0.35, w2=0.25, w3=0.15, and w4=0.25 can be set. Furthermore, the maximum score for each assessment indicator among the upgrade security assessment indicator, upgrade stability assessment indicator, upgrade timeliness assessment indicator, and upgrade experience assessment indicator is set to 100 points.
[0031] By comprehensively evaluating and analyzing upgrade information, vehicle operating status information, driver's historical vehicle usage information, and network communication quality and health information of the in-vehicle T-Box device to determine the suitability score for the upgrade, this approach takes into account more factors that affect the upgrade and can provide a more reliable basis for determining the timing of the upgrade.
[0032] In some embodiments, S201, regarding the determination of the upgraded safety score and safety status information based on the vehicle's operating status information, the corresponding implementation methods may include the following: When the vehicle's speed, gear position, ignition status, door status, and battery state of charge all meet the preset safety hard constraints, the upgrade safety score is directly set to full, and safety status information is generated indicating that the safety hard constraints required for the upgrade of the in-vehicle T-Box device have been met. Among them, the preset safety hard constraints are used to comprehensively limit the vehicle speed to zero, the vehicle's gear position to indicate that the vehicle is in P gear, the vehicle's ignition status to indicate that the vehicle is in a non-ignition state, the vehicle's door status to indicate that the vehicle's doors are in a locked state, and the battery SOC value is greater than or equal to a first preset SOC threshold, which can be 40%. Alternatively, if at least one of the vehicle's speed, gear position information, ignition status information, door status information, and battery state of charge (SOC) value fails to meet the preset safety hard constraints, that is, when the vehicle speed is not zero, and / or the vehicle's gear position information indicates that the vehicle is in R, N, or D gear, and / or the vehicle's ignition status information indicates that the vehicle is in ignition, and / or the vehicle's door status information indicates that the vehicle door is in unlocked, and / or the battery SOC value is less than the first preset SOC threshold, the upgrade safety score is directly set to zero, and safety status information indicating that the safety hard constraints required for the upgrade of the in-vehicle T-Box device have not been met is generated.
[0033] By comprehensively evaluating and analyzing vehicle speed, gear information, ignition status information, door status information, and battery state of charge value to determine the upgrade safety score, the adaptability of the working conditions during the upgrade timing assessment stage can be improved.
[0034] In some embodiments, S202 mainly uses a piecewise linear mapping method to convert the communication signal strength, network bandwidth, network latency, network packet loss rate, temperature, and remaining storage space of the vehicle-mounted T-Box device into scores, and then performs a weighted summation to obtain an upgrade stability score. Specific implementation methods may include the following: Regarding the upgrade stability assessment, the network latency and network packet loss rate of the vehicle-mounted T-Box device are used as negative indicators, while the communication signal strength, network bandwidth, and remaining storage space of the vehicle-mounted T-Box device are used as positive indicators. Using a pre-defined first piecewise linear mapping function, each negative indicator is converted to obtain its corresponding score. This first piecewise linear mapping function can be: ; In the formula, It is a negative indicator. negative indicator The corresponding score, , and All are for negative indicators Three segmented thresholds were set separately, and they satisfied... , For when The passing score obtained by time mapping For when The full score obtained by time mapping is set as 60 points for passing and 100 points for the full score in this application; Using a pre-defined second piecewise linear mapping function, each positive indicator is converted to obtain its corresponding score value. This second piecewise linear mapping function can be: ; In the formula, As a positive indicator, Positive indicator The corresponding score, , and All are for positive indicators Three segmented thresholds were set separately, and they satisfied... , For when The passing score obtained by time mapping For when The full score obtained by time mapping is also set to 60 points for passing and 100 points for the full score in this application; Using a preset third piecewise linear mapping function, the temperature of the in-vehicle T-Box device is converted to obtain the corresponding score value. This third piecewise linear mapping function can be: ; In the formula, For the temperature of the vehicle-mounted T-Box device, Temperature of the vehicle-mounted T-Box device The corresponding score, , , , and Each of these is a separate threshold set for the temperature of the vehicle-mounted T-Box device, and all meet the following requirements: , For when or The passing score obtained by time mapping For when The full score obtained by time mapping is also set to 60 points for passing and 100 points for the full score in this application; For each indicator among the communication signal strength, network bandwidth, network latency, network packet loss rate, temperature, and remaining storage space of the vehicle-mounted T-Box device, the score value corresponding to each indicator is multiplied by its corresponding weight to obtain the weighted score value for that indicator. Then, all weighted scores corresponding to all indicators are summed to obtain the upgrade stability score. In this application, the weights for the communication signal strength of the vehicle-mounted T-Box device can be set as 0.25, the network bandwidth as 0.15, the network latency as 0.2, the network packet loss rate as 0.2, the temperature as 0.1, and the remaining storage space as 0.1.
[0035] Specifically, three segmented thresholds are set for the network latency of the vehicle-mounted T-Box device, which are denoted as segmented threshold A1, segmented threshold A2, and segmented threshold A3 in descending order of value. When the network latency of the vehicle-mounted T-Box device is greater than or equal to segmented threshold A1, the mapped score is zero; when the network latency of the vehicle-mounted T-Box device is equal to segmented threshold A2, the mapped score is a passing score; and when the network latency of the vehicle-mounted T-Box device is less than or equal to segmented threshold A3, the mapped score is a full score. In this application, segmented threshold A1 can be set to 300ms, segmented threshold A2 to 150ms, and segmented threshold A3 to 50ms.
[0036] Specifically, three segmented thresholds are set for the network packet loss rate of the vehicle-mounted T-Box device, which are denoted as segmented threshold B1, segmented threshold B2, and segmented threshold B3 in descending order of value. When the network packet loss rate of the vehicle-mounted T-Box device is greater than or equal to segmented threshold B1, the mapped score is zero; when the network packet loss rate of the vehicle-mounted T-Box device is equal to segmented threshold B2, the mapped score is a passing score; and when the network packet loss rate of the vehicle-mounted T-Box device is less than or equal to segmented threshold B3, the mapped score is a full score. In this application, segmented threshold B1 can be set to 15%, segmented threshold B2 to 8%, and segmented threshold B3 to 1%.
[0037] Specifically, three segmented thresholds are set for the communication signal strength of the vehicle-mounted T-Box device, which are denoted as segmented threshold C1, segmented threshold C2, and segmented threshold C3 in ascending order of value. When the communication signal strength of the vehicle-mounted T-Box device is less than or equal to segmented threshold C1, the mapped score is zero. When the communication signal strength of the vehicle-mounted T-Box device is equal to segmented threshold C2, the mapped score is a passing score. When the communication signal strength of the vehicle-mounted T-Box device is greater than or equal to segmented threshold C3, the mapped score is a full score. In this application, segmented threshold C1 can be set to -120dBm, segmented threshold C2 to -105dBm, and segmented threshold C3 to -85dBm.
[0038] Specifically, three segmented thresholds are set for the network bandwidth of the vehicle-mounted T-Box device, which are denoted as segmented threshold D1, segmented threshold D2, and segmented threshold D3 in ascending order of value. When the network bandwidth of the vehicle-mounted T-Box device is less than or equal to segmented threshold D1, the mapped score is zero. When the network bandwidth of the vehicle-mounted T-Box device is equal to segmented threshold D2, the mapped score is a passing score. When the network bandwidth of the vehicle-mounted T-Box device is greater than or equal to segmented threshold D3, the mapped score is a full score. In this application, segmented threshold D1 can be set to 1 Mbps, segmented threshold D2 to 10 Mbps, and segmented threshold D3 to 50 Mbps.
[0039] Specifically, three segmented thresholds are set for the remaining storage space of the vehicle-mounted T-Box device, which are denoted as segmented threshold E1, segmented threshold E2, and segmented threshold E3 in ascending order of value. When the remaining storage space of the vehicle-mounted T-Box device is less than or equal to segmented threshold E1, the mapped score is zero. When the remaining storage space of the vehicle-mounted T-Box device is equal to segmented threshold E2, the mapped score is a passing score. When the remaining storage space of the vehicle-mounted T-Box device is greater than or equal to segmented threshold E3, the mapped score is a full score. In this application, segmented threshold E1 can be set to 100MB, segmented threshold E2 to 500MB, and segmented threshold E3 to 2GB.
[0040] Specifically, five temperature thresholds are set for the vehicle-mounted T-Box device, which are denoted as threshold F1, threshold F2, threshold F3, threshold F4, and threshold F5 in descending order of value. A score of zero is obtained when the temperature of the vehicle-mounted T-Box device is greater than threshold F1 or less than threshold F5. A passing score is obtained when the temperature of the vehicle-mounted T-Box device is equal to threshold F2 or threshold F4. A full score is obtained when the temperature of the vehicle-mounted T-Box device is equal to threshold F3. In this application, threshold F1 can be set to 85℃, threshold F2 to 60℃, threshold F3 to 25℃, threshold F4 to 0℃, and threshold F5 to -30℃.
[0041] By comprehensively evaluating and analyzing the communication signal strength, network bandwidth, network latency, network packet loss rate, temperature, and remaining storage space of the vehicle-mounted T-Box device to determine the upgrade stability score, the adaptability of the working conditions during the upgrade timing assessment phase can also be improved.
[0042] In some embodiments, S203, regarding the determination of the upgrade timeliness score based on the upgrade task type and the time when the upgrade task is issued for the vehicle-mounted T-Box device, the corresponding implementation methods may include the following: Based on the upgrade task type of the vehicle-mounted T-Box device, an upgrade waiting time threshold is determined. Specifically, when the upgrade task type of the vehicle-mounted T-Box device is an emergency repair type, a first preset upgrade waiting time is set as the upgrade waiting time threshold. When the upgrade task type of the vehicle-mounted T-Box device is a regular iteration type, a second preset upgrade waiting time is set as the upgrade waiting time threshold, and the second preset upgrade waiting time is longer than the first preset upgrade waiting time. When the upgrade task type of the vehicle-mounted T-Box device is an optional optimization type, a third preset upgrade waiting time is set as the upgrade waiting time threshold, and the third preset upgrade waiting time is longer than the second preset upgrade waiting time. In this application, the first preset upgrade waiting time can be set to 2 hours, the second preset upgrade waiting time to 24 hours, and the third preset upgrade waiting time to 72 hours. The upgrade waiting time threshold is mainly used to assist in setting the optimal time period for the vehicle-mounted T-Box device to complete the upgrade task. Based on the current time and the time when the upgrade task for the vehicle-mounted T-Box device was issued, the current upgrade waiting time is determined. The current upgrade waiting time refers to the length of the time period from the time when the upgrade task for the vehicle-mounted T-Box device was issued to the current time. The ratio of the current upgrade waiting time to the upgrade waiting time threshold is calculated and a score is mapped to obtain an upgrade timeliness score. The longer the current upgrade waiting time, the worse the upgrade timeliness. The score mapping process can be expressed as follows: if the ratio of the current upgrade waiting time to the upgrade waiting time threshold is greater than 0 but less than 1, the ratio is first multiplied by the full score corresponding to the upgrade timeliness evaluation index, and then the full score corresponding to the upgrade timeliness evaluation index is subtracted from the multiplication result to obtain the upgrade timeliness score; if the ratio of the current upgrade waiting time to the upgrade waiting time threshold is greater than or equal to 1, the upgrade timeliness score is directly set to zero. It should be noted that this score mapping process can also be implemented using any of the following methods: piecewise discrete mapping, S-shaped smooth mapping, exponential decay mapping, logarithmic decay mapping, power-law decay mapping, etc., and this application does not limit it.
[0043] By combining the upgrade task type and the time of upgrade task issuance of the vehicle-mounted T-Box device for analysis to determine the upgrade timeliness score, it is beneficial to improve the reliability of subsequent upgrade timing determination.
[0044] In some embodiments, S204, regarding the determination of the upgrade experience score based on the driver's historical driving behavior information, the corresponding implementation methods may include the following: The driver's historical driving behavior information is filtered to obtain the percentage of driving time in multiple historical time periods that are the same as the target time period of the current time. For example, if the current time is 13:24:40, the target time period of the current time is determined to be 13:00:00 to 13:29:59 based on the division criteria of each historical time period in the driver's historical driving behavior information. Then, the percentage of driving time in the historical time period of 13:00:00 to 13:29:59 in each of the most recent days is filtered from the driver's historical driving behavior information. The probability of a driver using a vehicle within the target time period at the current moment is predicted by statistically analyzing the percentage of usage time across multiple historical time periods. Specifically, the number of these historical time periods is first counted and recorded as the first number. And count the number of all historical time periods in which the proportion of vehicle usage time is less than or equal to a preset ratio threshold and record it as the second number. The preset ratio threshold can be 0. Then calculate the ratio of the second number to the first number and define it as the probability of the driver using the vehicle in the target time period to which the driver belongs at the current moment. A score is mapped to the probability of a driver using the vehicle within the target time period at the current moment, resulting in an upgrade experience score. A higher probability of vehicle use indicates a worse upgrade experience. The scoring mapping process can be represented as follows: first, multiply the probability of the driver using the vehicle within the target time period at the current moment by the full score corresponding to the upgrade experience evaluation index; then, subtract the full score corresponding to the upgrade experience evaluation index from the multiplied result to obtain the upgrade experience score. It should be noted that this scoring mapping process can also be implemented using any of the following methods: piecewise discrete mapping, S-shaped smooth mapping, exponential decay mapping, logarithmic decay mapping, power-law decay mapping, etc. This application does not impose any limitation on this method.
[0045] Analyzing drivers' historical driving behavior information to determine the upgrade experience score helps improve the reliability of subsequent upgrade timing decisions.
[0046] In some embodiments, the above-described OTA upgrade method for the vehicle-mounted T-Box device may further include: when the upgrade suitability score is less than a first preset score threshold, and / or when the safety status information indicates that the safety hard constraints required for the upgrade of the vehicle-mounted T-Box device are not met, obtaining a target delay duration and starting a timer, wherein the target delay duration may be a preset delay duration, which may be set to 15 minutes in this application; when the timer value reaches the target delay duration, returning to execute the above-described S102. By re-determining the upgrade timing, the robustness of the system and the upgrade success rate can be improved.
[0047] As an improved implementation, the number of upgrade retries can be set to a maximum of two to avoid wasting computing resources.
[0048] As an improved implementation, a timer can be set to start when the upgrade suitability score is less than a first preset score threshold but greater than or equal to a second preset score threshold, or when the safety status information indicates that the safety hard constraints required for upgrading the vehicle T-Box device are not met. When the timer value reaches a preset delay duration, the execution of S102 above can be resumed. Alternatively, when the upgrade suitability score is less than the second preset score threshold, the historical communication signal quality information of the vehicle T-Box device can be obtained and analyzed in conjunction with the driver's historical driving behavior information to predict the upgrade reservation time period within the next day. Then, the timer can be started again until the timer value reaches the initial moment of the upgrade reservation time period, and the execution of S102 above can be resumed. The first preset scoring threshold is greater than the second preset scoring threshold. The first preset scoring threshold can be 80 points, and the second preset scoring threshold can be 60 points. The next day can be defined as the next time period after the target time period to which the current time belongs, which is taken as the first future time period. For example, if the current time is 13:24:40, the target time period to which the current time belongs is determined to be 13:00:00 to 13:29:59. Then the next day can be defined as the time period from 13:30:00 to 13:59:59 of the current day as the first future time period, and the time period from 13:00:00 to 13:29:59 of the next day as the last future time period. The criteria for dividing each future time period within the next day are the same as the criteria for dividing each historical time period in each day as defined in the driver's historical driving behavior information, and will not be repeated here.
[0049] The historical communication signal quality information of the vehicle-mounted T-Box device includes the historical communication signal quality of the vehicle-mounted T-Box device for each historical time period within each day of the most recent several days. The historical communication signal quality for each historical time period can be obtained by selecting the minimum value from the historical communication signal quality of multiple sampling times within that historical time period, or by averaging the historical communication signal quality of multiple sampling times within that historical time period. The communication signal quality of the vehicle-mounted T-Box device generally refers to the RSRQ (Reference Signal Receiving Quality) of the vehicle-mounted T-Box device. The most recent several days also refer to the most recent 30 days. Furthermore, there is a one-to-one correspondence between the multiple historical time periods appearing in the historical communication signal quality information of the vehicle-mounted T-Box device and the multiple historical time periods appearing in the driver's historical driving behavior information.
[0050] Furthermore, the prediction method for upgrade reservation time periods within the next day can include: firstly, averaging the driver's historical driving behavior information across different time periods to obtain the driver's historical average driving time percentage over multiple future time periods within the next day; secondly, averaging the historical communication signal quality information of the in-vehicle T-Box device across different time periods to obtain the historical average communication signal quality of the in-vehicle T-Box device over multiple future time periods within the next day; and thirdly, normalizing the historical average communication signal quality of the in-vehicle T-Box device over multiple future time periods within the next day based on preset upper and lower limits of communication signal quality to obtain the historical normalized communication signal quality of the in-vehicle T-Box device over multiple future time periods within the next day. The average communication signal quality can be understood as the percentage of communication signal quality that meets the standard. The preset upper limit of communication signal quality can be -4dB, and the preset lower limit of communication signal quality can be -20dB. Then, for each future time period of the next day, the driver's historical average driving time percentage in that future time period is multiplied by the historical normalized average communication signal quality of the in-vehicle T-Box device in that future time period to obtain the joint evaluation value corresponding to that future time period. This value can be used to characterize the rationality of upgrading within that future time period. Subsequently, the maximum joint evaluation value is selected from the multiple joint evaluation values corresponding to multiple future time periods of the next day, and the future time period corresponding to the maximum joint evaluation value is used as the upgrade appointment time period in the next day.
[0051] In some embodiments, S104, before performing an OTA upgrade on the in-vehicle T-Box device according to the upgrade package, a pre-detection gating mechanism can be activated. This pre-detection gating mechanism is used to allow the upgrade operation of the in-vehicle T-Box device to begin when the following conditions are simultaneously detected: the vehicle's battery SOC value is greater than or equal to a first preset SOC threshold; the remaining storage space of the in-vehicle T-Box device is greater than or equal to a preset multiple of the size of the upgrade package issued by the cloud OTA platform; the communication signal strength of the in-vehicle T-Box device is greater than or equal to a first preset strength threshold; the temperature of the in-vehicle T-Box device is less than or equal to a first preset temperature threshold; the vehicle is in a stationary, off-fire state for a duration reaching a first preset duration threshold; and the vehicle is not currently performing other high-priority diagnostic services or control tasks. The preset multiple can be 1.5 times, the first preset strength threshold can be -100dBm, the first preset temperature threshold can be 75°C, and the first preset duration threshold can be 3 minutes.
[0052] In some embodiments, during the OTA upgrade of the in-vehicle T-Box device, multiple key parameter information can be acquired in real time. When any of the acquired key parameter information is detected to be unsatisfactory under the corresponding preset conditions, the upgrade process response mechanism corresponding to that key parameter information is activated. These multiple key parameter information include the communication signal strength of the in-vehicle T-Box device, the vehicle's battery SOC value, the temperature of the in-vehicle T-Box device, vehicle status information, and the duration of download progress stagnation. The vehicle status information includes the vehicle's ignition status and door status. The upgrade process response mechanisms corresponding to each of the above key parameter information are explained below: The upgrade process response mechanism corresponding to the communication signal strength of the in-vehicle T-Box device is used to pause the download and wait for the communication network to recover before resuming the interrupted download when the real-time acquired communication signal strength of the in-vehicle T-Box device is less than a second preset strength threshold (which is less than a first preset strength threshold, and the second preset strength threshold can be -110dBm). The upgrade process response mechanism corresponding to the vehicle's battery SOC value is used to interrupt the upgrade and roll back to the state before the upgrade when the real-time acquired vehicle's battery SOC value is less than a second preset SOC threshold (which is less than a first preset SOC threshold, and the second preset SOC threshold can be 30%), while simultaneously recording the reason for the upgrade interruption and reporting it to the cloud OTA platform. The upgrade process response mechanism corresponding to the temperature of the in-vehicle T-Box device is also included. The following mechanisms are implemented: A mechanism to reduce the flashing rate and activate a cooling strategy when the real-time temperature of the in-vehicle T-Box device exceeds a second preset temperature threshold (which is greater than a first preset temperature threshold, and the second preset temperature threshold can be 85℃); a mechanism to handle upgrades based on vehicle status information when the real-time ignition status information indicates the vehicle is in an ignition state and / or the door status information indicates the vehicle door is unlocked, interrupting the upgrade and rolling back to the state before the upgrade, while recording the reason for the upgrade interruption and reporting it to the cloud OTA platform; and a mechanism to handle upgrades based on download progress stagnation time when the real-time download progress stagnation time exceeds a second preset time threshold (which can be 5 minutes), switching to an alternative download source or pausing and retrying.
[0053] Under normal circumstances, the OTA upgrade process for in-vehicle T-Box devices can be divided into six stages, which are called the download stage, verification stage, backup stage, flashing stage, verification stage and activation stage in order of execution time. If it is necessary to interrupt the upgrade, it is only allowed to be interrupted at the boundary points of other stages except the flashing stage, thereby ensuring that the in-vehicle T-Box device will not become bricked due to upgrade interruption.
[0054] In some embodiments, after completing the OTA upgrade operation of the vehicle-mounted T-Box device, the vehicle-mounted T-Box device can be controlled to perform self-test tasks, such as upgrade version verification, key function smoke test, CAN communication connectivity check, etc., and generate upgrade process information to be reported to the cloud OTA platform. This upgrade process information includes upgrade results, time consumption of each stage and status snapshot.
[0055] Please refer to Figure 2 , Figure 2 This is a schematic diagram of an OTA upgrade device for an in-vehicle T-Box device provided in an embodiment of this application. This device can implement the aforementioned OTA upgrade method for an in-vehicle T-Box device. The device may include, but is not limited to, the following components: The receiving module 301 is used to receive upgrade packages and upgrade information sent by the cloud OTA platform; The acquisition module 302 is used to acquire vehicle operating status information, driver's historical vehicle usage behavior information, and network communication quality information and health information of the vehicle-mounted T-Box device; The determination module 303 is used to determine the safety status information and upgrade suitability score based on upgrade information, vehicle operating status information, driver's historical vehicle usage behavior information, and network communication quality information and health information of the vehicle-mounted T-Box device; The upgrade module 304 is used to perform an OTA upgrade on the vehicle T-Box device according to the upgrade package when the upgrade suitability score is greater than or equal to the first preset score threshold and the safety status information indicates that the safety hard constraints required for the upgrade of the vehicle T-Box device have been met.
[0056] It is understood that the content of the above method embodiments is applicable to the present device embodiments. The functions specifically implemented by the present device embodiments are the same as those specifically implemented by the above method embodiments, and the beneficial effects achieved by the present device embodiments are also the same as those achieved by the above method embodiments.
[0057] This application also provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the above-described OTA upgrade method for an in-vehicle T-Box device. This electronic device can include any smart terminal such as a tablet computer or an in-vehicle computer.
[0058] It is understood that the content of the above method embodiments is applicable to the present device embodiments. The specific functions implemented by the present device embodiments are the same as those implemented by the above method embodiments, and the beneficial effects achieved by the present device embodiments are also the same as those achieved by the above method embodiments.
[0059] Please see Figure 3 , Figure 3 This is a schematic diagram illustrating the hardware structure of an electronic device according to another embodiment. The electronic device includes: The processor 401 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application. The memory 402 can be implemented in the form of read-only memory (ROM), static storage device, dynamic storage device, or random access memory (RAM). The memory 402 can store the operating system and other applications. When the technical solution provided in the embodiments of this application is implemented by software or firmware, the relevant program code is stored in the memory 402 and is called and executed by the processor 401. Input / output interface 403 is used to implement information input and output; The communication interface 404 is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.). Bus 405 transmits information between various components of the device (e.g., processor 401, memory 402, input / output interface 403, and communication interface 404); The processor 401, memory 402, input / output interface 403 and communication interface 404 are connected to each other within the device via bus 405.
[0060] This application also provides a vehicle that includes the aforementioned on-board T-Box device OTA upgrade device or the aforementioned electronic device. Specifically, the vehicle can be a private car, such as a sedan or SUV; the vehicle can also be a new energy vehicle, such as a hybrid vehicle or a pure electric vehicle.
[0061] It is understood that the content of the above method embodiments is applicable to this vehicle embodiment, the specific functions implemented by this vehicle embodiment are the same as those implemented by the above method embodiments, and the beneficial effects achieved by this vehicle embodiment are the same as those achieved by the above method embodiments.
[0062] This application also provides a computer program product, which includes a computer program that, when executed by one or more processors, implements the above-described OTA upgrade method for in-vehicle T-Box devices.
[0063] It is understood that the content of the above method embodiments is applicable to this computer program product. The specific functions implemented by the embodiments of this computer program product are the same as those implemented by the above method embodiments, and the beneficial effects achieved by the embodiments of this computer program product are also the same as those achieved by the above method embodiments.
[0064] The embodiments described in this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.
[0065] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of this application, and may include more or fewer steps than shown, or combine certain steps, or different steps.
[0066] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0067] Those skilled in the art will understand that all or some of the steps, apparatuses, or functional modules / units in the methods disclosed above can be implemented as software, firmware, hardware, or suitable combinations thereof.
[0068] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, apparatus, product, or device that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.
[0069] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0070] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed between the devices or units may be through some interfaces, and the indirect coupling or communication connection may be electrical, mechanical, or other forms.
[0071] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0072] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0073] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0074] The preferred embodiments of this application have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of this application. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and substance of the embodiments of this application shall be within the scope of the claims of this application.
Claims
1. A method for OTA upgrade of an in-vehicle T-Box device, characterized in that, The method includes: Receive upgrade packages and upgrade information from the cloud-based OTA platform; Acquire vehicle operating status information, driver's historical vehicle usage information, and network communication quality and health information of the in-vehicle T-Box device; Based on the upgrade information, the vehicle's operating status information, the driver's historical vehicle usage behavior information, and the network communication quality information and health information of the in-vehicle T-Box device, the safety status information and upgrade suitability score are determined. When the upgrade suitability score is greater than or equal to the first preset score threshold, and the safety status information indicates that the safety hard constraints required for the upgrade of the vehicle T-Box device have been met, the vehicle T-Box device is upgraded via OTA according to the upgrade package.
2. The OTA upgrade method for an in-vehicle T-Box device according to claim 1, characterized in that, The upgrade information includes the upgrade task type and the time when the upgrade task is issued for the in-vehicle T-Box device; the determination of safety status information and upgrade suitability score based on the upgrade information, the vehicle's operating status information, the driver's historical driving behavior information, and the network communication quality information and health information of the in-vehicle T-Box device includes: Based on the vehicle's operating status information, determine the upgraded safety score and the safety status information; Based on the network communication quality information and health information of the vehicle-mounted T-Box device, an upgrade stability score is determined; The upgrade timeliness score is determined based on the upgrade task type and the time when the upgrade task is issued for the vehicle-mounted T-Box device. Based on the driver's historical driving behavior information, an upgrade experience score is determined; The upgrade safety score, upgrade stability score, upgrade timeliness score, and upgrade experience score are weighted and summed to obtain the upgrade suitability score.
3. The OTA upgrade method for an in-vehicle T-Box device according to claim 2, characterized in that, The vehicle's operating status information includes the vehicle's speed, gear information, ignition status information, door status information, and battery state of charge value; determining the upgraded safety score and the safety status information based on the vehicle's operating status information includes: When the vehicle speed, gear information, ignition status information, door status information, and battery state of charge value all meet the preset safety hard constraints, the upgrade safety score is set to full score, and the safety status information indicating that the safety hard constraints required for the upgrade of the vehicle T-Box device have been met is generated. When at least one of the vehicle's speed, gear information, ignition status information, door status information, and battery state of charge value fails to meet the preset safety hard constraint conditions, the upgrade safety score is set to zero, and safety status information indicating that the safety hard constraints required for the upgrade of the vehicle-mounted T-Box device have not been met is generated.
4. The OTA upgrade method for an in-vehicle T-Box device according to claim 2, characterized in that, The network communication quality information of the vehicle-mounted T-Box device includes the communication signal strength, network bandwidth, network latency, and network packet loss rate of the vehicle-mounted T-Box device; the health information of the vehicle-mounted T-Box device includes the temperature and remaining storage space of the vehicle-mounted T-Box device; determining the upgrade stability score based on the network communication quality information and health information of the vehicle-mounted T-Box device includes: By using a piecewise linear mapping method, the communication signal strength, network bandwidth, network latency, network packet loss rate, temperature, and remaining storage space of the vehicle-mounted T-Box device are converted into scores, and then weighted and summed to obtain the upgrade stability score.
5. The OTA upgrade method for an in-vehicle T-Box device according to claim 2, characterized in that, The determination of upgrade timeliness score based on the upgrade task type and upgrade task issuance time of the vehicle-mounted T-Box device includes: Determine the upgrade waiting time threshold based on the upgrade task type of the in-vehicle T-Box device; The current upgrade waiting time is determined based on the current time and the time when the upgrade task for the vehicle-mounted T-Box device was issued. Calculate the ratio of the current upgrade waiting time to the upgrade waiting time threshold and perform a score mapping to obtain the upgrade timeliness score.
6. The OTA upgrade method for an in-vehicle T-Box device according to claim 2, characterized in that, The driver's historical vehicle usage information includes the percentage of time the driver used the vehicle in each historical time period of each day in the most recent days. The process of determining the upgrade experience score based on the driver's historical driving behavior information includes: The driver's historical vehicle usage information is filtered to obtain the percentage of vehicle usage time in multiple historical time periods that are the same as the target time period at the current moment. The probability of the driver using a vehicle during the target time period is predicted by statistically analyzing the percentage of vehicle usage time across the multiple historical time periods. The upgraded experience score is obtained by mapping the probability of the driver using the vehicle during the target time period.
7. The OTA upgrade method for an in-vehicle T-Box device according to claim 1, characterized in that, The method further includes: When the upgrade suitability score is less than the first preset score threshold, and / or the safety status information indicates that the safety hard constraints required for the upgrade of the vehicle T-Box device are not met, the target delay duration is obtained and timing is started. When the timing value reaches the target delay duration, return to the steps of obtaining vehicle operating status information, driver's historical vehicle usage behavior information, and network communication quality information and health information of the in-vehicle T-Box device.
8. An OTA upgrade device for an in-vehicle T-Box, characterized in that, The device includes: The receiving module is used to receive upgrade packages and upgrade information sent by the cloud OTA platform; The acquisition module is used to acquire vehicle operating status information, driver's historical vehicle usage behavior information, and network communication quality information and health information of the in-vehicle T-Box device; The determination module is used to determine safety status information and upgrade suitability score based on the upgrade information, the vehicle's operating status information, the driver's historical vehicle usage behavior information, and the network communication quality information and health information of the vehicle-mounted T-Box device; The upgrade module is used to perform an OTA upgrade on the vehicle T-Box device according to the upgrade package when the upgrade suitability score is greater than or equal to a first preset score threshold and the safety status information indicates that the safety hard constraints required for the upgrade of the vehicle T-Box device have been met.
9. An electronic device, characterized in that, The electronic device includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, it implements the OTA upgrade method for the vehicle-mounted T-Box device as described in any one of claims 1 to 7.
10. A vehicle, characterized in that, The vehicle includes the on-board T-Box device OTA upgrade device as described in claim 8 or the electronic device as described in claim 9.
