A firmware upgrade method, device and storage medium for vehicle-mounted terminal equipment

The firmware upgrade method optimizes the FOTA process by calculating a comprehensive stability score and using upgrade identifiers to ensure safe and necessary updates for in-vehicle devices, addressing the challenges of frequent upgrades in the Internet of Vehicles.

CN118916063BActive Publication Date: 2024-12-10深圳毕加索电子有限公司
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411406474.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-10
Publication Date
2024-12-10
Estimated Expiration
2044-10-10

AI Technical Summary

Technical Problem

The frequent firmware upgrades of various in-vehicle terminal devices in the Internet of Vehicles can affect driving safety and user experience, as existing FOTA upgrade processes lack a comprehensive and effective strategy to manage different types of devices with varying functions and usage frequencies.

Method used

A firmware upgrade method that calculates a comprehensive upgrade stability score based on device type, historical upgrade records, and usage frequency, determining upgrade identifiers such as prompt and forced upgrades to ensure safety and user experience by optimizing the upgrade process.

Benefits of technology

The method enhances driving safety and user experience by minimizing disruptive upgrades and ensuring only necessary and safe firmware updates are performed, reducing the risk of vehicle failures during upgrades.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118916063B_ABST
    Figure CN118916063B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of vehicle technology, and discloses a firmware upgrade method, device and storage medium for a vehicle-mounted terminal device. The present invention includes the following steps: receiving a firmware upgrade detection request for a vehicle-mounted terminal device; obtaining device information of the vehicle-mounted terminal device according to identification information; comparing the firmware version with the latest firmware version, and determining the value of an upgrade identifier according to the comparison result; calculating the upgrade stability comprehensive score of the vehicle-mounted terminal device according to the device type, historical upgrade records, and the frequency of use of the first device of the vehicle-mounted terminal device; determining the value of a prompt upgrade identifier according to the comprehensive score of the upgrade stability; determining the value of a forced upgrade identifier according to the frequency of use of the second device of the vehicle-mounted terminal device; and sending detection information to the vehicle-mounted terminal device, so that the vehicle-mounted terminal device executes a firmware upgrade solution according to the detection information. This method fully considers driving safety and user experience when upgrading the vehicle-mounted terminal device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle technology, and in particular to a firmware upgrade method, device and storage medium for a vehicle-mounted terminal device. Background Art

[0002] FOTA (Firmware Over-The-Air) refers to the technology of remotely updating the firmware of terminal devices through wireless communication networks. Firmware is the operating control program inside the device, which directly affects the function and performance of the device. FOTA allows the device to automatically or manually download and install new firmware versions without the need for physical connection, thereby improving device performance, adding new functions or fixing existing problems.

[0003] The current common FOTA upgrade process is: after the car manufacturer or equipment supplier develops a new firmware version, the new firmware version is uploaded to the OTA server for the device to download. After the terminal device detects the new firmware version, it sends a request to the OTA server to download the new firmware version and installs the new firmware package to complete the upgrade.

[0004] The development of the Internet of Vehicles has enabled more terminal devices to be used in the car. There are many types of in-car terminal devices, each of which has different functions to improve driving experience, safety, entertainment and convenience, such as digital instrument panel system terminals, advanced driver assistance system terminals, and in-vehicle auxiliary camera terminals to improve safe driving; central control large screen terminals, in-vehicle communication transmission terminals, and in-vehicle voice assistant terminals to improve driving experience; in-vehicle audio terminals and in-vehicle video terminals to improve entertainment, etc. The development of new energy vehicles will lead to more and more in-vehicle terminal devices, and the upgrade iteration of in-vehicle terminal devices will become more and more frequent. The FOTA upgrade relationship of different in-vehicle devices may be related to driving safety and user experience, so a reasonable and effective FOTA upgrade solution is particularly important. Summary of the invention

[0005] In view of this, the present invention provides a firmware upgrade method, device and storage medium for a vehicle-mounted terminal device, which can effectively improve the driving safety and user experience of the vehicle-mounted device when performing a FOTA upgrade.

[0006] In a first aspect, the present invention provides a firmware upgrade method for a vehicle-mounted terminal device, which is applied to a terminal server and includes: receiving a firmware upgrade detection request for a vehicle-mounted terminal device, the firmware upgrade detection request including identification information of the vehicle-mounted terminal device; obtaining device information of the vehicle-mounted terminal device according to the identification information, the device information including firmware version, device type, historical upgrade record and device usage record; comparing the firmware version with the latest firmware version, and determining a value of an upgrade identifier according to the comparison result; calculating a comprehensive upgrade stability score of the vehicle-mounted terminal device according to the device type, historical upgrade record and frequency of use of a first device of the vehicle-mounted terminal device, the frequency of use of the first device being calculated based on the usage record of the vehicle-mounted terminal device within a first time period; determining a value of a prompt upgrade identifier according to the comprehensive upgrade stability score; determining a value of a forced upgrade identifier according to the frequency of use of a second device of the vehicle-mounted terminal device, the frequency of use of the second device being calculated based on the usage record of the vehicle-mounted terminal device within a second time period; sending detection information to the vehicle-mounted terminal device so that the vehicle-mounted terminal device executes a firmware upgrade plan according to the detection information, the detection information including an upgrade identifier, a prompt upgrade identifier and a forced upgrade identifier.

[0007] In the firmware upgrade method for a vehicle-mounted terminal device provided by an embodiment of the present invention, after receiving a firmware upgrade detection request, the terminal server first determines an upgrade identifier according to the firmware version of the vehicle-mounted terminal device, and then calculates a comprehensive upgrade stability score of the vehicle-mounted terminal device according to the device type of the vehicle-mounted terminal device, historical upgrade records, and the frequency of use of the first device, and determines the value of the prompt upgrade identifier according to the comprehensive upgrade stability score, and further determines the value of the forced upgrade identifier according to the frequency of use of the second device of the vehicle-mounted terminal device. Since the comprehensive upgrade stability score calculated by combining the device type of the vehicle-mounted terminal device, the historical upgrade records, and the frequency of use of the first device can comprehensively represent the safety, stability, and importance when upgrading the vehicle-mounted terminal device, and the value of the forced upgrade identifier determined by combining the frequency of use of the second device can represent the necessity of upgrading the vehicle-mounted terminal device, therefore, the upgrade identifier, the prompt upgrade identifier, and the forced upgrade identifier are sent to the vehicle-mounted terminal device, so that driving safety and user experience can be fully considered when upgrading the vehicle-mounted terminal device.

[0008] In an optional implementation, the firmware version is compared with the latest firmware version, and the value of the upgrade identifier is determined based on the comparison result, including: sending a version query request to a firmware upgrade server, the version query request including the device type of the vehicle-mounted terminal device, so that the firmware upgrade server determines the latest firmware version of the vehicle-mounted terminal device based on the device type; receiving the latest firmware version of the vehicle-mounted terminal device; comparing the firmware version with the latest firmware version, if the firmware version is less than the latest firmware version, setting the value of the upgrade identifier to a first value, and recording the latest firmware version download address in the firmware upgrade server; if the firmware version is greater than or equal to the latest firmware version, setting the value of the upgrade identifier to a second value.

[0009] The firmware upgrade method for a vehicle-mounted terminal device provided in an embodiment of the present invention compares the firmware version with the latest firmware version, and determines the value of an upgrade identifier based on the comparison result, including sending a version query request to a firmware upgrade server, wherein the version query request includes the device type of the vehicle-mounted terminal device, so that the firmware upgrade server determines the latest firmware version of the vehicle-mounted terminal device based on the device type. Since the version query request includes the device type of the vehicle-mounted terminal device, the firmware upgrade server can determine the latest firmware version of the vehicle-mounted terminal device based on the device type, thereby ensuring that the user obtains the firmware update of his device and avoiding problems caused by firmware mismatch.

[0010] In an optional implementation, based on the device type, historical upgrade records, and frequency of use of the first device of the vehicle terminal device, a comprehensive score for the upgrade stability of the vehicle terminal device is calculated, including: determining an importance index value of the vehicle terminal device based on the device type; determining the number of successful upgrades and the number of failed upgrades of the vehicle terminal device based on the historical upgrade records; determining an upgrade stability index value of the vehicle terminal device based on the ratio of successful upgrades to failed upgrades; determining a practicality index value of the vehicle terminal device based on the frequency of use of the first device; and calculating the comprehensive score for the upgrade stability of the vehicle terminal device based on the importance index value, the upgrade stability index value, and the practicality index value of the vehicle terminal device.

[0011] The firmware upgrade method for a vehicle-mounted terminal device provided in an embodiment of the present invention calculates a comprehensive score for the upgrade stability of the vehicle-mounted terminal device according to the device type of the vehicle-mounted terminal device, historical upgrade records, and frequency of use of a first device, determines an importance index value of the vehicle-mounted terminal device according to the device type, determines an upgrade stability index value of the vehicle-mounted terminal device according to the ratio of the number of successful upgrades to the number of failed upgrades, and determines a practicality index value of the vehicle-mounted terminal device according to the frequency of use of the first device. The comprehensive score for the upgrade stability of the vehicle-mounted terminal device is obtained by calculating the above index values, which reflects the actual risks and potential impacts of device upgrades and reduces the firmware upgrade risks of the vehicle-mounted terminal device.

[0012] In an optional embodiment, the value of the upgrade prompt identifier is determined based on the comprehensive upgrade stability score, including: if the upgrade stability comprehensive score is greater than or equal to a first set threshold, setting the upgrade prompt identifier to a third value; if the upgrade stability comprehensive score is less than the first set threshold, setting the upgrade prompt identifier to a fourth value.

[0013] The firmware upgrade method for a vehicle-mounted terminal device provided in an embodiment of the present invention determines the value of an upgrade prompt identifier based on a comprehensive upgrade stability score, and judges the impact of the device upgrade on driving safety by comparing the comprehensive upgrade stability score with a first set threshold. When the score is lower than the first set threshold, that is, the upgrade may pose a risk to driving safety, a prompt message is sent to the user and the upgrade is performed after obtaining the user's consent, thereby effectively ensuring safety during driving.

[0014] In an optional embodiment, the value of the forced upgrade identifier is determined according to the usage frequency of the second device of the vehicle-mounted terminal device, including: if the usage frequency of the second device of the vehicle-mounted terminal device is greater than or equal to the second set threshold, the value of the forced upgrade identifier is set to a fifth value; if the usage frequency of the second device of the vehicle-mounted terminal device is less than the second set threshold, the value of the forced upgrade identifier is set to a sixth value.

[0015] In the firmware upgrade method for a vehicle-mounted terminal device provided in an embodiment of the present invention, the usage frequency of the second device is calculated based on the usage record of the vehicle-mounted terminal device within a second time period. By comparing the usage frequency of the second device of the vehicle-mounted terminal device with the second set threshold, it can be indicated whether the vehicle-mounted terminal device needs to be used frequently during driving, and the usage of the vehicle-mounted terminal device during driving can be understood to further increase driving safety.

[0016] In the second aspect, the present invention provides a firmware upgrade method for a vehicle-mounted terminal device, which is applied to the vehicle-mounted terminal device, including: sending a firmware upgrade detection request to a terminal server, so that the terminal server executes the firmware upgrade method for the vehicle-mounted terminal device of the above-mentioned first aspect or any corresponding embodiment thereof; receiving detection information, and executing a firmware upgrade plan according to the detection information, the detection information including an upgrade identifier, a prompt upgrade identifier, and a forced upgrade identifier.

[0017] In a third aspect, the present invention provides a vehicle-mounted device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, computer instructions are stored in the memory, and the processor executes the firmware upgrade method of the vehicle-mounted terminal device of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0018] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the firmware upgrade method for a vehicle-mounted terminal device of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0020] Figure 1 is a flowchart of a firmware upgrade method for a vehicle-mounted terminal device according to an embodiment of the present invention;

[0021] Figure 2 is a flowchart of a firmware upgrade method for another vehicle-mounted terminal device according to an embodiment of the present invention;

[0022] Figure 3 is a flowchart of a firmware upgrade method for another vehicle-mounted terminal device according to an embodiment of the present invention;

[0023] Figure 4 is a flowchart of a firmware upgrade method for a vehicle-mounted terminal device according to an embodiment of the present invention;

[0024] Figure 5 is a schematic diagram of a firmware upgrade system for a vehicle-mounted terminal device according to an embodiment of the present invention;

[0025] Figure 6 It is a structural schematic diagram of a computer device provided by an optional embodiment of the present invention. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0027] The firmware upgrade method for the vehicle-mounted terminal device provided in the embodiment of the present invention can be applied to the upgrade of a wide variety of terminal devices in the car. Each terminal device has different functions to improve the driving experience, safety, entertainment and convenience. The development of automobiles has also made the upgrade iteration of in-vehicle terminal devices more and more frequent. After the car is started, the terminal device sends a firmware upgrade detection request to the terminal server through the Internet of Vehicles. The server judges that there is an available new firmware version based on the device type, current firmware version and vehicle information, and pushes the upgrade information to the vehicle. If the evaluation result shows that the upgrade has little impact on driving safety, a silent upgrade is performed to ensure that users enjoy a safer driving experience without knowing it.

[0028] At present, the firmware upgrade method for vehicle-mounted terminal devices generally adopts FOTA upgrade, which refers to the technology of remotely updating and upgrading the firmware in the electronic control unit on the car through the network. This technology enables automobile manufacturers to push new firmware versions to users to improve the performance, function, safety and user experience of the vehicle without the need for users to drive the vehicle to the service center for manual upgrade.

[0029] However, the development of the Internet of Vehicles has led to a wide variety of terminal devices and frequent upgrades and iterations. During the upgrade process, the driving performance of the vehicle may be affected and vehicle failures may occur.

[0030] The present invention provides a firmware upgrade method for a vehicle-mounted terminal device, which formulates different FOTA upgrade strategies when different terminal devices perform FOTA upgrades, thereby improving driving safety and user experience, reducing the interference of frequent firmware upgrades on normal user use, and improving user satisfaction.

[0031] According to an embodiment of the present invention, an embodiment of a firmware upgrade method for a vehicle-mounted terminal device is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and 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.

[0032] In this embodiment, a method for upgrading the firmware of a vehicle-mounted terminal device is provided, which can be used for the above-mentioned terminal server. Figure 1 FIG. 1 is a flow chart of a method for upgrading the firmware of a vehicle-mounted terminal device according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0033] Step S101 : receiving a firmware upgrade detection request from a vehicle-mounted terminal device, wherein the firmware upgrade detection request includes identification information of the vehicle-mounted terminal device.

[0034] In an optional embodiment, the terminal server is connected to multiple vehicle-mounted terminal devices, and different vehicle-mounted terminal devices have different functions. By way of example, the vehicle-mounted terminal devices include a digital instrument panel system terminal, an advanced driving assistance system terminal, a vehicle-mounted auxiliary camera terminal, etc. for improving safe driving; a central control large-screen terminal, a vehicle-mounted communication transmission terminal, a vehicle-mounted voice assistant terminal, etc. for improving driving experience; and a vehicle-mounted audio terminal, a vehicle-mounted video terminal, etc. for improving entertainment.

[0035] In order to improve the user's driving experience, vehicle-mounted terminal equipment manufacturers are constantly iterating and updating terminal equipment. Vehicle-mounted terminal equipment needs to send firmware upgrade detection requests to the terminal server, determine through the terminal server whether the vehicle-mounted terminal equipment needs to be updated, and formulate reasonable upgrade strategies for the vehicle-mounted terminal equipment through the terminal server to ensure the safe update of the vehicle-mounted terminal equipment.

[0036] In an optional embodiment, the identification information of the vehicle-mounted terminal device includes a unique device identification code and a vehicle identification code.

[0037] Step S102, obtaining device information of the vehicle-mounted terminal device according to the identification information, the device information including firmware version, device type, historical upgrade records and device usage records.

[0038] In an optional embodiment, the terminal server is connected to multiple different vehicle-mounted terminal devices and stores device information of multiple vehicle-mounted terminal devices. Therefore, when the terminal server receives a firmware upgrade detection request, it is necessary to search for corresponding device information based on the identification information of the vehicle-mounted terminal device.

[0039] In an optional embodiment, if the identification information sent by the vehicle-mounted terminal device includes a device unique identification code and a vehicle identification code, the terminal server first queries the vehicle equipment information of the vehicle to which the vehicle-mounted terminal device belongs based on the vehicle identification code, and then queries the device information of the vehicle-mounted terminal device from the vehicle equipment information based on the device unique identification code.

[0040] In an optional embodiment, the firmware version refers to the current version information of the vehicle-mounted terminal device. When the vehicle-mounted terminal device is updated, the firmware version in the device information will also be updated.

[0041] In an optional embodiment, the historical upgrade records include the upgrade time of each previous upgrade, version information corresponding to each upgrade, upgrade success records and failure records, etc.

[0042] In an optional embodiment, the device usage record includes the device startup time, the device shutdown time, the cumulative usage time of the device, etc.

[0043] Step S103: compare the firmware version with the latest firmware version, and determine the value of the upgrade identifier according to the comparison result.

[0044] In an optional embodiment, the upgrade identifier is used to indicate whether the current vehicle-mounted terminal device needs to be upgraded. If the current firmware version of the vehicle-mounted terminal device is lower than the latest firmware version, it indicates that the vehicle-mounted terminal device needs to be upgraded, otherwise the vehicle-mounted terminal device does not need to be upgraded.

[0045] Step S104, calculate the comprehensive score of the upgrade stability of the vehicle-mounted terminal device according to the device type, historical upgrade records, and usage frequency of the first device of the vehicle-mounted terminal device. The usage frequency of the first device is calculated based on the usage record of the vehicle-mounted terminal device in the first time period.

[0046] In an optional embodiment, during driving, the upgrade behavior of different types of vehicle-mounted terminal devices has different effects on the driving process. For example, if the type of vehicle-mounted terminal device is a terminal for improving entertainment, even if it is upgraded during driving, the impact is small. Therefore, the security of firmware upgrades for such vehicle-mounted terminal devices is higher; if the type of vehicle-mounted terminal device is a device for improving safe driving, if such a device is upgraded during the formation process, it may affect the normal use of the device, thereby affecting safe driving. Therefore, the security of firmware upgrades for such vehicle-mounted terminal devices is lower. Therefore, the comprehensive score of upgrade stability of the vehicle-mounted terminal device is calculated in combination with the device type of the vehicle-mounted terminal device, and the obtained comprehensive score of upgrade stability can be used to characterize the safety of upgrading the vehicle-mounted terminal device.

[0047] In an optional embodiment, the historical upgrade records include previous successful and failed upgrade records of the vehicle-mounted terminal device. If the number of successful upgrades accounts for a high proportion, it indicates that the vehicle-mounted terminal device has strong stability during upgrades. If the number of failed upgrades accounts for a high proportion, it indicates that the vehicle-mounted terminal device has poor stability during upgrades. Therefore, the comprehensive upgrade stability score of the vehicle-mounted terminal device is calculated in combination with the historical upgrade records of the vehicle-mounted terminal device. The obtained comprehensive upgrade stability score can be used to characterize the stability during upgrades of the vehicle-mounted terminal device.

[0048] In an optional embodiment, if the usage frequency of the first device of the vehicle-mounted terminal device is high, it indicates that the device is more important during the driving of the vehicle. Otherwise, it indicates that the device is not important during the driving of the vehicle. Therefore, the comprehensive upgrade stability score of the vehicle-mounted terminal device is calculated in combination with the usage frequency of the first device of the vehicle-mounted terminal device. The obtained comprehensive upgrade stability score can be used to characterize the importance of upgrading the vehicle-mounted terminal device.

[0049] In an optional embodiment, the usage frequency of the first device can be determined based on the ratio of the usage time of the vehicle-mounted terminal device in one month to the usage time of the vehicle in one month, or it can be determined based on the ratio of the usage time of the vehicle-mounted terminal device in one year to the usage time of the vehicle in one year. The present invention does not limit the first time period when calculating the usage frequency of the first device.

[0050] Step S105: determining a value of an upgrade prompt identifier according to the comprehensive upgrade stability score.

[0051] In an optional embodiment, the upgrade prompt identifier is used to indicate whether it is necessary to send a safety prompt message to the user when the vehicle-mounted terminal device is upgraded.

[0052] Step S106, determining the value of the mandatory upgrade identifier according to the second device usage frequency of the vehicle-mounted terminal device, where the second device usage frequency is calculated based on the usage record of the vehicle-mounted terminal device in the second time period.

[0053] In an optional embodiment, the second device usage frequency may be determined based on the ratio of the usage time of the vehicle-mounted terminal device in a month to the usage time of the vehicle in a month, or may be determined based on the ratio of the usage time of the vehicle-mounted terminal device in a year to the usage time of the vehicle in a year. The present invention does not limit the second time period when calculating the second device usage frequency. The first device usage frequency and the second device usage frequency may be the same value or different values.

[0054] In an optional embodiment, the mandatory upgrade identifier is used to indicate whether the vehicle-mounted terminal device needs to be mandatory upgraded. For example, if the second device of the vehicle-mounted terminal device is used frequently, it indicates that the vehicle-mounted terminal device needs to be used frequently during driving. At this time, in order to improve the user's driving experience and driving safety, the vehicle-mounted terminal device needs to be mandatory upgraded. On the contrary, if the vehicle-mounted terminal device does not need to be used frequently during driving, there is no need for mandatory upgrade.

[0055] Step S107, sending detection information to the vehicle-mounted terminal device so that the vehicle-mounted terminal device executes a firmware upgrade solution according to the detection information, the detection information includes an upgrade identifier, a prompt upgrade identifier, and a forced upgrade identifier.

[0056] In an optional embodiment, since the upgrade identifier is used to indicate whether the vehicle-mounted terminal device needs to be upgraded, the prompt upgrade identifier is used to indicate whether it is necessary to issue a safety prompt message to the user when upgrading the vehicle-mounted terminal device, and the forced upgrade identifier is used to indicate whether the vehicle-mounted terminal device needs to be forced to upgrade, after receiving the above identifiers, the vehicle-mounted terminal device can execute the firmware upgrade plan according to the identifiers.

[0057] In the firmware upgrade method for a vehicle-mounted terminal device provided by an embodiment of the present invention, after receiving a firmware upgrade detection request, the terminal server first determines an upgrade identifier according to the firmware version of the vehicle-mounted terminal device, and then calculates a comprehensive upgrade stability score of the vehicle-mounted terminal device according to the device type of the vehicle-mounted terminal device, historical upgrade records, and the frequency of use of the first device, and determines the value of the prompt upgrade identifier according to the comprehensive upgrade stability score, and further determines the value of the forced upgrade identifier according to the frequency of use of the second device of the vehicle-mounted terminal device. Since the comprehensive upgrade stability score calculated by combining the device type of the vehicle-mounted terminal device, the historical upgrade records, and the frequency of use of the first device can comprehensively represent the safety, stability, and importance when upgrading the vehicle-mounted terminal device, and the value of the forced upgrade identifier determined by combining the frequency of use of the second device can represent the necessity of upgrading the vehicle-mounted terminal device, therefore, the upgrade identifier, the prompt upgrade identifier, and the forced upgrade identifier are sent to the vehicle-mounted terminal device, so that driving safety and user experience can be fully considered when upgrading the vehicle-mounted terminal device.

[0058] In this embodiment, a method for upgrading the firmware of a vehicle-mounted terminal device is provided, which can be used for the above-mentioned terminal server. Figure 2 FIG. 1 is a flowchart of a firmware upgrade method for another vehicle-mounted terminal device according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:

[0059] Step S201: Receive a firmware upgrade detection request from a vehicle-mounted terminal device, where the firmware upgrade detection request includes identification information of the vehicle-mounted terminal device. Figure 1 Step S101 of the illustrated embodiment will not be described in detail here.

[0060] Step S202: Obtain device information of the vehicle-mounted terminal device according to the identification information. The device information includes the firmware version, device type, historical upgrade records, and device usage records. Figure 1 Step S102 of the illustrated embodiment will not be described in detail here.

[0061] Step S203: compare the firmware version with the latest firmware version, and determine the value of the upgrade identifier according to the comparison result.

[0062] Specifically, the above step S203 includes:

[0063] Step S2031, sending a version query request to the firmware upgrade server, the version query request including the device type of the vehicle terminal device, so that the firmware upgrade server determines the latest firmware version of the vehicle terminal device according to the device type.

[0064] In an optional embodiment, after the manufacturer of the vehicle-mounted terminal device updates the device version, the version information and update information of the vehicle-mounted terminal device will be uploaded to the firmware upgrade server, so that one or more terminal servers can obtain the latest firmware version information of each vehicle-mounted terminal device and the download address of the latest firmware version from the firmware upgrade server.

[0065] Step S2032, receiving the latest firmware version of the vehicle-mounted terminal device.

[0066] In an optional embodiment, after receiving the version query request, the firmware upgrade server determines the latest firmware version of the vehicle-mounted terminal device according to the device type in the version query request, and sends the latest firmware version to the terminal server.

[0067] The firmware version is compared with the latest firmware version. If the firmware version is smaller than the latest firmware version, step S2033 is executed to set the value of the upgrade identifier to the first value and record the latest firmware version download address in the firmware upgrade server.

[0068] If the firmware version is greater than or equal to the latest firmware version, step S2034 is executed to set the value of the upgrade identifier to a second value.

[0069] In an optional embodiment, when the firmware upgrade server sends the latest firmware version to the terminal server, the latest firmware version download address will be synchronously sent to the terminal server. If the terminal server determines that the current firmware version is less than the latest firmware version, the latest firmware version download address will be recorded and stored. Otherwise, there is no need to record the latest firmware version download address.

[0070] In an optional embodiment, if the value of the upgrade identifier is set to a first value, it indicates that the vehicle-mounted terminal device needs to be upgraded, and if the value of the upgrade identifier is a second value, it indicates that the vehicle-mounted terminal device does not need to be upgraded. In the embodiment of the present invention, the first value and the second value are not limited. Exemplarily, if the firmware version is less than the latest firmware version, the value of the upgrade identifier is set to 1, and if the firmware version is greater than or equal to the latest firmware version, the value of the upgrade identifier is set to 0.

[0071] Step S204, calculate the comprehensive score of the upgrade stability of the vehicle-mounted terminal device according to the device type, historical upgrade records, and usage frequency of the first device of the vehicle-mounted terminal device. The usage frequency of the first device is calculated based on the usage record of the vehicle-mounted terminal device in the first time period.

[0072] Specifically, the above step S204 includes:

[0073] Step S2041, determining the importance index value of the vehicle-mounted terminal device according to the device type.

[0074] In an optional embodiment, the types of terminal devices are divided into multiple different levels, and different levels of vehicle-mounted terminal devices correspond to different importance index values. For example, if the device types of terminal devices are divided into low-level, medium-level, and high-level, the importance index values ​​of vehicle-mounted terminal devices of different levels can be set to 0.3, 0.5, and 0.8 respectively. The higher the value, the less impact the use of the terminal device will have on driving.

[0075] In a specific embodiment, the importance index value of terminal devices such as digital instrument panel system terminals, advanced driving assistance system terminals, and vehicle-mounted auxiliary camera terminals used to improve safe driving can be set to 0.3; the importance index value of terminal devices such as central control large-screen terminals, vehicle-mounted communication transmission terminals, and vehicle-mounted voice assistant terminals used to improve driving experience can be set to 0.5; the importance index value of terminal devices such as vehicle-mounted audio terminals and vehicle-mounted video terminals used to improve entertainment can be set to 0.8.

[0076] Step S2042, determining the number of successful upgrades and the number of failed upgrades of the vehicle-mounted terminal device based on historical upgrade records.

[0077] In an optional embodiment, each time the vehicle-mounted terminal device is upgraded, the upgrade result is sent to the terminal server, and the terminal server updates the number of successful upgrades or failed upgrades of the vehicle-mounted terminal device according to the upgrade result.

[0078] Step S2043, determining the upgrade stability index value of the vehicle-mounted terminal device according to the ratio of the number of successful upgrades to the number of failed upgrades.

[0079] Step S2044, determining the practicality index value of the vehicle-mounted terminal device according to the usage frequency of the first device.

[0080] In an optional embodiment, the car usage time is calculated based on each car startup time and car shutdown time, the device usage time is calculated based on each device startup time and device shutdown time, the historical car usage time and device usage time are accumulated, and the ratio of the accumulated device usage time to the historical car usage time is used as the device driving practicality index value.

[0081] Step S2045, calculating the comprehensive upgrade stability score of the vehicle-mounted terminal device according to the importance index value, the upgrade stability index value and the practicality index value of the vehicle-mounted terminal device.

[0082] In an optional embodiment, respective weights are set for different indicators, and weighted calculation is performed on the values ​​of each indicator to obtain a comprehensive score for the upgrade stability of the vehicle-mounted terminal device.

[0083] The specific calculation formula is: v = s1×w1+s2×w2+s3×w3, where s1 represents the importance index value, s2 represents the upgrade stability index value, s3 represents the practicality index value, w1 represents the weight of the importance index value, w2 represents the weight of the upgrade stability index value, and w3 represents the weight of the practicality index value.

[0084] Step S205: determining a value of an upgrade prompt identifier according to the comprehensive upgrade stability score.

[0085] Specifically, the above step S205 includes:

[0086] If the comprehensive score of the upgrade stability is greater than or equal to the first set threshold, the prompt upgrade flag is set to the third value; if the comprehensive score of the upgrade stability is less than the first set threshold, the prompt upgrade flag is set to the fourth value.

[0087] In an optional embodiment, the larger the comprehensive score of upgrade stability, the smaller the impact of equipment upgrade on driving safety, and vice versa. Therefore, when the comprehensive score of upgrade stability is greater than or equal to the first set threshold, the prompt upgrade flag is set to the third value, which indicates that the upgrade can be performed without sending a prompt message to the user. When the comprehensive score of upgrade stability is less than the first set threshold, the prompt upgrade flag is set to the fourth value, which indicates that the equipment upgrade will have a certain impact on driving safety, and it is necessary to send a prompt message to the user and obtain the user's consent before performing the upgrade.

[0088] In the embodiment of the present invention, the third value and the fourth value are not limited. For example, if the comprehensive score of the upgrade stability is greater than or equal to the first set threshold, the prompt upgrade flag is set to 0; if the comprehensive score of the upgrade stability is less than the first set threshold, the prompt upgrade flag is set to 1.

[0089] Step S206, determining the value of the mandatory upgrade identifier according to the second device usage frequency of the vehicle-mounted terminal device, where the second device usage frequency is calculated based on the usage record of the vehicle-mounted terminal device in the second time period.

[0090] In an optional embodiment, the method for calculating the usage frequency of the second device is the same as the method for calculating the usage frequency of the first device mentioned above, which will not be repeated here. The data time periods used when calculating the usage frequency of the second device and the usage frequency of the first device can be the same or different.

[0091] Specifically, the above step S206 includes:

[0092] If the usage frequency of the second device of the vehicle-mounted terminal device is greater than or equal to the second set threshold, the value of the forced upgrade identifier is set to the fifth value; if the usage frequency of the second device of the vehicle-mounted terminal device is less than the second set threshold, the value of the forced upgrade identifier is set to the sixth value.

[0093] In an optional embodiment, the greater the frequency of use of the second device, the more frequently the device is used and the stronger the necessity for upgrading the device; conversely, the less necessary the device is. Therefore, when the frequency of use of the second device is greater than or equal to the second set threshold, the forced upgrade identifier is set to the fifth value, which indicates that the vehicle-mounted terminal device needs to be forced to upgrade; when the frequency of use of the second device is less than the second set threshold, the forced upgrade identifier is set to the sixth value, which indicates that the vehicle-mounted terminal device does not need to be forced to upgrade and can be upgraded according to the user's wishes.

[0094] In the embodiment of the present invention, the fifth value and the sixth value are not limited. For example, if the usage frequency of the second device of the vehicle-mounted terminal device is greater than or equal to the second set threshold, the value of the mandatory upgrade identifier is set to 1; if the usage frequency of the second device of the vehicle-mounted terminal device is less than the second set threshold, the value of the mandatory upgrade identifier is set to 0.

[0095] The second set threshold is not limited in the embodiment of the present invention. Exemplarily, the second set threshold may be 0.7.

[0096] Step S207: Send detection information to the vehicle terminal device so that the vehicle terminal device executes the firmware upgrade solution according to the detection information. The detection information includes an upgrade identifier, a prompt upgrade identifier, and a mandatory upgrade identifier. Figure 1 Step S107 of the illustrated embodiment will not be described in detail here.

[0097] In this embodiment, a method for upgrading the firmware of a vehicle-mounted terminal device is provided, which can be used for the vehicle-mounted terminal device. Figure 3 FIG. 1 is a flowchart of a firmware upgrade method for another vehicle-mounted terminal device according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps:

[0098] Step S301, sending a firmware upgrade detection request to the terminal server, so that the terminal server executes the firmware upgrade method of the vehicle-mounted terminal device provided in the above embodiment. For details, please refer to the description in the above embodiment, which will not be repeated here.

[0099] Step S302, receiving detection information, and executing a firmware upgrade solution according to the detection information, wherein the detection information includes an upgrade identifier, a prompt upgrade identifier, and a forced upgrade identifier.

[0100] In the firmware upgrade method for a vehicle-mounted terminal device provided by an embodiment of the present invention, an upgrade identifier is obtained by comparing the firmware version of the vehicle-mounted terminal device with the latest firmware version, a prompt upgrade identifier is calculated based on the device type of the vehicle-mounted terminal device, historical upgrade records, and frequency of use of a first device, and a value of a forced upgrade identifier is determined based on frequency of use of a second device of the vehicle-mounted terminal device. Since the comprehensive upgrade stability score calculated based on the device type of the vehicle-mounted terminal device, historical upgrade records, and frequency of use of the first device can comprehensively represent the safety, stability, and importance of upgrading the vehicle-mounted terminal device, and the value of the forced upgrade identifier determined based on the frequency of use of the second device can represent the necessity of upgrading the vehicle-mounted terminal device, the vehicle-mounted terminal device executes the firmware upgrade solution based on the upgrade identifier, the prompt upgrade identifier, and the forced upgrade identifier, which can fully take into account driving safety and user experience.

[0101] In this embodiment, a method for upgrading the firmware of a vehicle-mounted terminal device is provided, which can be used for the vehicle-mounted terminal device. Figure 4 FIG. 1 is a flowchart of a firmware upgrade method for a vehicle-mounted terminal device according to another embodiment of the present invention. Figure 4 As shown, the process includes the following steps:

[0102] Step S401, sending a firmware upgrade detection request to the terminal server, so that the terminal server executes the firmware upgrade method of the vehicle-mounted terminal device provided in the above embodiment. For details, please refer to the description in the above embodiment, which will not be repeated here.

[0103] Step S402, receiving detection information, and executing a firmware upgrade solution according to the detection information, wherein the detection information includes an upgrade identifier, a prompt upgrade identifier, and a forced upgrade identifier.

[0104] Specifically, the above step S402 includes:

[0105] If the upgrade identifier is the first value, and the forced upgrade identifier is the fifth value, execute step S4021: obtain the latest firmware version according to the latest firmware version download address corresponding to the vehicle-mounted terminal device and perform firmware upgrade.

[0106] In an embodiment of the present invention, if the upgrade identifier is the first value and the forced upgrade identifier is the fifth value, it indicates that the current firmware version is not the latest version and needs to be updated, and the frequency of use of the vehicle-mounted terminal device during driving is high, and the device needs to be forced to upgrade.

[0107] If the upgrade identifier is the first value, the forced upgrade identifier is the sixth value, and the prompt upgrade identifier is the fourth value, execute step S4022: send an upgrade prompt message to the user, so that the user sends an upgrade confirmation message to the vehicle-mounted terminal device according to the prompt message, receives the upgrade confirmation message, obtains the latest firmware version according to the latest firmware version download address corresponding to the vehicle-mounted terminal device, and performs a firmware upgrade.

[0108] In an embodiment of the present invention, if the upgrade identifier is the first value, and the forced upgrade identifier is the sixth value, and the prompt upgrade identifier is the fourth value, it indicates that the current firmware version is not the latest version and needs to be updated, and the usage frequency is low and does not require forced updating, and updating the device will have a certain impact on driving safety. It is necessary to send an upgrade prompt message to the user, and the user determines whether an upgrade is required. If the user confirms the upgrade, the latest firmware version is obtained according to the latest firmware version download address corresponding to the vehicle-mounted terminal device and the firmware is upgraded. Conversely, if the user confirms not to upgrade, there is no need to perform the update operation.

[0109] If the upgrade identifier is the first value, and the mandatory upgrade identifier is the sixth value, and the prompt upgrade identifier is the third value, execute steps S4023 to S4025:

[0110] Step S4023, obtaining the current startup time and the last startup time of the vehicle-mounted terminal device.

[0111] If the current startup time and the last startup time do not belong to the same month, execute step S4024 and step S4025.

[0112] Step S4024, sending upgrade prompt information to the user, so that the user sends upgrade confirmation information to the vehicle-mounted terminal device according to the prompt information.

[0113] Step S4025, receiving the upgrade confirmation information, obtaining the latest firmware version according to the latest firmware version download address corresponding to the vehicle-mounted terminal device and performing the firmware upgrade.

[0114] In an embodiment of the present invention, if the upgrade identifier is the first value, and the forced upgrade identifier is the sixth value, and the prompt upgrade identifier is the third value, it indicates that the current firmware version is not the latest version and needs to be updated, and the usage frequency is low and does not require forced updating, and updating the device will not affect driving safety. At this time, it is necessary to determine whether the startup month of the current device is greater than the month of the last startup. If the times of two adjacent updates are not in the same month, it is still necessary to send an upgrade prompt message to the user and perform the firmware upgrade after the user confirms.

[0115] The firmware upgrade method for a vehicle-mounted terminal device provided by an embodiment of the present invention reduces unnecessary disturbances when it is determined that the firmware upgrade will not affect driving safety. When it is determined that the firmware upgrade will have a certain impact on driving safety, the upgrade prompt information allows the user to fully understand the upgrade content and independently decide whether to upgrade, thereby enhancing the user's sense of participation and satisfaction.

[0116] In an optional embodiment, after the vehicle-mounted terminal device performs a firmware upgrade, if the firmware upgrade is successful, the value of the number of successful upgrades in the terminal server is increased by 1; if the firmware upgrade fails, the value of the number of failed upgrades in the terminal server is increased by 1.

[0117] In this embodiment, a firmware upgrade system for a vehicle-mounted terminal device is provided. Figure 5 is a schematic diagram of a firmware upgrade system for a vehicle-mounted terminal device according to an embodiment of the present invention. Figure 5 As shown, the system includes a terminal server 501, a vehicle-mounted terminal device 502, a firmware upgrade server 503, and a vehicle system 504.

[0118] The terminal server 501 includes:

[0119] The receiving module 5011 is used to receive a firmware upgrade detection request from a vehicle-mounted terminal device, where the firmware upgrade detection request includes identification information of the vehicle-mounted terminal device.

[0120] Processing module 5012 is used to obtain device information of the vehicle-mounted terminal device according to the identification information, the device information includes the firmware version, device type, historical upgrade record and device usage record; compare the firmware version with the latest firmware version, and determine the value of the upgrade identifier according to the comparison result; calculate the comprehensive score of the upgrade stability of the vehicle-mounted terminal device according to the device type, historical upgrade record and the frequency of use of the first device of the vehicle-mounted terminal device, the frequency of use of the first device is calculated according to the usage record of the vehicle-mounted terminal device in the first time period; determine the value of the prompt upgrade identifier according to the comprehensive score of the upgrade stability; determine the value of the forced upgrade identifier according to the frequency of use of the second device of the vehicle-mounted terminal device, the frequency of use of the second device is calculated according to the usage record of the vehicle-mounted terminal device in the second time period; send detection information to the vehicle-mounted terminal device so that the vehicle-mounted terminal device executes the firmware upgrade plan according to the detection information, the detection information includes the upgrade identifier, the prompt upgrade identifier and the forced upgrade identifier. For details, please refer to the description in the above embodiment, which will not be repeated here.

[0121] The storage module 5013 is used to store the device information of the vehicle-mounted terminal device 502.

[0122] The vehicle-mounted terminal device 502 includes:

[0123] The communication module 5021 is used to send a firmware upgrade detection request to the terminal server, and is also used to download the latest version of the firmware from the firmware upgrade server 503. For details, please refer to the description in the above embodiment, which will not be repeated here.

[0124] The acquisition module 5022 is used to receive detection information and execute the firmware upgrade solution according to the detection information. The detection information includes an upgrade identifier, a prompt upgrade identifier, and a mandatory upgrade identifier. For details, please refer to the description in the above embodiment and will not be repeated here.

[0125] The first interface module 5023 is used to connect to the vehicle system 504 and send upgrade confirmation information to the vehicle system.

[0126] The vehicle system 504 includes:

[0127] The second interface module 5041 is used to connect to the vehicle-mounted terminal device 502 and receive the upgrade confirmation information sent by the vehicle-mounted terminal device 502 .

[0128] Display module 5042: used to display upgrade confirmation information.

[0129] The firmware upgrade server 503 is used to store firmware information of different vehicle-mounted terminal devices.

[0130] Figure 6 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 6 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 10 is taken as an example.

[0131] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0132] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0133] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0134] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0135] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.

[0136] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device may be a touch screen.

[0137] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0138] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0139] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for upgrading the firmware of a vehicle-mounted terminal device, characterized in that: Applied to a terminal server, the method comprises: Receiving a firmware upgrade detection request from a vehicle-mounted terminal device, wherein the firmware upgrade detection request includes identification information of the vehicle-mounted terminal device; Acquire device information of the vehicle-mounted terminal device according to the identification information, wherein the device information includes firmware version, device type, historical upgrade records, and device usage records; Compare the firmware version with the latest firmware version, and determine the value of the upgrade identifier according to the comparison result; Calculate the comprehensive score of the upgrade stability of the vehicle-mounted terminal device according to the device type, historical upgrade records, and usage frequency of the first device of the vehicle-mounted terminal device, wherein the usage frequency of the first device is calculated based on the usage record of the vehicle-mounted terminal device in the first time period; Determine a value of an upgrade prompt identifier according to the comprehensive upgrade stability score; Determine a value of a mandatory upgrade identifier according to a second device usage frequency of the vehicle-mounted terminal device, where the second device usage frequency is calculated based on a usage record of the vehicle-mounted terminal device in a second time period; Sending detection information to the vehicle-mounted terminal device so that the vehicle-mounted terminal device executes a firmware upgrade solution according to the detection information, wherein the detection information includes the upgrade identifier, the prompt upgrade identifier, and the mandatory upgrade identifier; The step of comparing the firmware version with the latest firmware version and determining the value of the upgrade identifier according to the comparison result includes: Sending a version query request to a firmware upgrade server, wherein the version query request includes the device type of the vehicle-mounted terminal device, so that the firmware upgrade server determines the latest firmware version of the vehicle-mounted terminal device according to the device type; Receiving the latest firmware version of the vehicle-mounted terminal device; Compare the firmware version with the latest firmware version, if the firmware version is smaller than the latest firmware version, set the value of the upgrade identifier to a first value, and record the latest firmware version download address in the firmware upgrade server; If the firmware version is greater than or equal to the latest firmware version, setting the value of the upgrade identifier to a second value; The calculating the comprehensive score of the upgrade stability of the vehicle-mounted terminal device according to the device type, historical upgrade record, and usage frequency of the first device of the vehicle-mounted terminal device includes: Determine the importance index value of the vehicle-mounted terminal device according to the device type; Determine the number of successful upgrades and failed upgrades of the vehicle-mounted terminal device according to the historical upgrade records; Determining an upgrade stability index value of the vehicle-mounted terminal device according to the ratio of the number of successful upgrades to the number of failed upgrades; Determining a practicality index value of the vehicle-mounted terminal device according to the usage frequency of the first device; The comprehensive upgrade stability score of the vehicle-mounted terminal device is calculated according to the importance index value, the upgrade stability index value and the practicality index value of the vehicle-mounted terminal device.

2. The method according to claim 1, characterized in that The step of determining the value of the upgrade prompt identifier according to the comprehensive upgrade stability score includes: If the upgrade stability comprehensive score is greater than or equal to a first set threshold, setting the upgrade prompt flag to a third value; If the comprehensive upgrade stability score is less than the first set threshold, the upgrade prompt flag is set to a fourth value.

3. The method according to claim 1, characterized in that The determining the value of the mandatory upgrade identifier according to the usage frequency of the second device of the vehicle-mounted terminal device includes: If the usage frequency of the second device of the vehicle-mounted terminal device is greater than or equal to the second set threshold, setting the value of the mandatory upgrade identifier to a fifth value; If the usage frequency of the second device of the vehicle-mounted terminal device is less than the second set threshold, the value of the forced upgrade identifier is set to a sixth value.

4. A method for upgrading the firmware of a vehicle-mounted terminal device, characterized in that: Applied to a vehicle-mounted terminal device, the method comprises: Sending a firmware upgrade detection request to a terminal server so that the terminal server executes the firmware upgrade method for the vehicle-mounted terminal device according to any one of claims 1 to 3; Receive detection information, and execute a firmware upgrade solution according to the detection information, wherein the detection information includes an upgrade identifier, a prompt upgrade identifier, and a forced upgrade identifier.

5. The method according to claim 4, characterized in that The executing the firmware upgrade solution according to the detection information includes: If the upgrade identifier is the first value, and the mandatory upgrade identifier is the fifth value, Obtain the latest firmware version according to the latest firmware version download address corresponding to the vehicle-mounted terminal device and perform firmware upgrade; If the upgrade identifier is the first value, and the mandatory upgrade identifier is the sixth value, and the prompt upgrade identifier is the fourth value, Sending upgrade prompt information to the user, so that the user sends upgrade confirmation information to the vehicle-mounted terminal device according to the prompt information, Receive the upgrade confirmation information, obtain the latest firmware version according to the latest firmware version download address corresponding to the vehicle-mounted terminal device, and perform firmware upgrade; If the upgrade identifier is the first value, and the mandatory upgrade identifier is the sixth value, and the prompt upgrade identifier is the third value, Get the current startup time and the last startup time of the vehicle terminal device, If the current startup time and the last startup time do not belong to the same month, Sending upgrade prompt information to the user, so that the user sends upgrade confirmation information to the vehicle-mounted terminal device according to the prompt information, Receive the upgrade confirmation information, obtain the latest firmware version according to the latest firmware version download address corresponding to the vehicle-mounted terminal device, and perform firmware upgrade.

6. The method according to claim 4, characterized in that The terminal server stores a historical upgrade record of the vehicle-mounted terminal device, wherein the historical upgrade record includes the number of successful upgrades and the number of failed upgrades. After the step of executing the firmware upgrade solution according to the detection information, the method further includes: If the firmware upgrade is successful, the value of the number of successful upgrades in the terminal server is increased by 1; If the firmware upgrade fails, the value of the number of upgrade failures in the terminal server is increased by 1.

7. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the firmware upgrade method of the vehicle-mounted terminal device according to any one of claims 1 to 6 by executing the computer instructions.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the firmware upgrade method for the vehicle-mounted terminal device according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Remote upgrading method, server and storage media of vehicle electronic equipment

    CN108182072A

  • Upgrading method and device based on over-the-air technology OTA and storage medium

    CN114666323A

  • Wireless terminal firmware upgrading method and system

    WO2024164484A1