Vehicle-mounted terminal upgrading method and device, electronic equipment and computer storage medium

By detecting the upgrade conditions of the logistics vehicle and automatically upgrading the on-board terminals, the problems of information collection and transmission impacts during the upgrade process are solved, the upgrade efficiency is improved and manual intervention is reduced.

CN119002956APending Publication Date: 2024-11-22GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411000306.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

During the upgrade process, the on-board terminal affects the collection and transmission of on-board information, and the existing method is manual operation, which is cumbersome and inefficient.

Method used

By detecting the time and status required for upgrading the logistics vehicle at the current moment, if specific conditions are met (such as non-charged state, rest state or charging time is sufficient), the on-board terminal will be automatically upgraded to avoid affecting information collection and transmission.

Benefits of technology

The automated upgrade of on-board terminals has been realized, the upgrade efficiency has been improved, manual intervention has been avoided, and the normal operation of the logistics vehicle has been ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119002956A_ABST
    Figure CN119002956A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a vehicle-mounted terminal upgrading method and device, electronic equipment and a computer readable storage medium, and relates to the technical field of logistics vehicles, and the method comprises the steps that a vehicle-mounted terminal in a logistics vehicle determines upgrading consumed time needed by current upgrading at the current moment; if the logistics vehicle is not in the charging state at the current moment, determining whether a first upgrading condition is met at the current moment based on the upgrading time consumption; if the first upgrading condition is met, the current driving state of the logistics vehicle is determined; and if the current driving state is a static state, upgrading a vehicle-mounted terminal in the logistics vehicle. According to the embodiment of the invention, the problem that the vehicle-mounted terminal cannot collect and transmit the vehicle-mounted information in the upgrading process is solved, the normal driving of the logistics vehicle is not influenced, manual upgrading is not needed, and the upgrading efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of logistics vehicles, and in particular to a vehicle-mounted terminal upgrading method, a vehicle-mounted terminal upgrading device, an electronic device and a computer-readable storage medium. Background Art

[0002] A logistics vehicle is a unit mobile container equipment equipped with four casters for transporting and storing materials. It is often used for logistics distribution in large supermarkets or logistics turnover between factory processes. Logistics vehicles need to be equipped with an on-board terminal to collect on-board information of real-time operation data of the vehicle, and realize the collection, storage and transmission of all action information and dynamic and static information of the vehicle. The on-board terminal realizes functions such as remote monitoring, remote control, safety detection and alarm, and remote diagnosis of the vehicle through wireless communication, GPS positioning and CAN communication functions.

[0003] The vehicle system of the vehicle terminal sometimes needs to be upgraded. However, the vehicle terminal will affect the collection and transmission of vehicle information during the upgrade process. Moreover, the vehicle terminal is currently upgraded manually, which is not only cumbersome but also has low upgrade efficiency. Summary of the invention

[0004] In view of the above problems, embodiments of the present invention are proposed to provide a vehicle terminal upgrading method, a vehicle terminal upgrading device, an electronic device and a computer-readable storage medium that overcome the above problems or at least partially solve the above problems.

[0005] In order to solve the above problems, an embodiment of the present invention discloses a vehicle terminal upgrade method, which is applied to a logistics vehicle. The method includes:

[0006] Determine the upgrade time required for the current upgrade at the current moment;

[0007] If the logistics vehicle is not in a charging state at the current moment, determining whether the first upgrade condition is met at the current moment based on the upgrade time;

[0008] If the first upgrade condition is met, determining the current driving status of the logistics vehicle;

[0009] If the current driving state is a stationary state, the on-board terminal in the logistics vehicle is upgraded.

[0010] In one or more embodiments, determining the upgrade time required for the current upgrade at the current moment includes:

[0011] Determine the file size of the upgrade installation package required for the current upgrade at the current moment;

[0012] Determining the first time for obtaining the upgrade installation package based on the file size;

[0013] Determining a second time required for the vehicle-mounted terminal to install the upgrade installation package;

[0014] The sum of the first time and the second time is calculated to obtain the upgrade time required for the current upgrade.

[0015] In one or more embodiments, further comprising:

[0016] If the logistics vehicle is in the charging state at the current moment, determining whether the second upgrade condition is met in the charging state based on the upgrade time;

[0017] If the second upgrade condition is met, the on-board terminal in the logistics vehicle is upgraded.

[0018] In one or more embodiments, determining whether the second upgrade condition is met in the charging state based on the upgrade time includes:

[0019] Obtaining the current power of the logistics vehicle at the current moment;

[0020] Determining the charging time required for the logistics vehicle based on the current power;

[0021] If the charging time exceeds the upgrade time, the second upgrade condition is met.

[0022] In one or more embodiments, determining whether the first upgrade condition is met at the current moment based on the upgrade time includes:

[0023] Obtaining historical driving data of the logistics vehicle;

[0024] If the amount of the historical driving data does not exceed the data amount threshold, and the current moment belongs to a preset time period, then the first upgrade condition is met;

[0025] If the data volume of the historical driving data exceeds the data volume threshold, it is determined whether the first upgrade condition is met at the current moment based on the historical driving data and the upgrade time.

[0026] In one or more embodiments, determining whether the first upgrade condition is met at the current moment based on the historical driving data and the upgrade time includes:

[0027] Determine whether the logistics vehicle is performing a transportation task at the current moment;

[0028] If the logistics vehicle is performing a transportation task at the current moment, then obtaining the transportation route of the transportation task and the current position of the logistics vehicle at the current moment;

[0029] Determining whether a first upgrade condition is satisfied at the current moment based on the historical driving data, the transportation route, and the current location;

[0030] If the logistics vehicle has not performed the transportation task at the current moment, a candidate time period in which the transportation task was not performed and the vehicle speed was 0 is extracted from the historical driving data, and based on the candidate time period, it is determined whether the first upgrade condition is met at the current moment.

[0031] In one or more embodiments, determining whether the first upgrade condition is satisfied at the current moment based on the historical driving data, the transportation route, and the current location includes:

[0032] Determining whether the current location is the same as a preset stop location in the transport route;

[0033] If they are the same, extracting the historical number of stops, historical stop time intervals and historical average stop duration at the current location from the historical driving data;

[0034] If the historical number of stops exceeds the number threshold, the current time belongs to the historical stop time interval, and the historical average stop duration exceeds the upgrade time, the first upgrade condition is met.

[0035] In one or more embodiments, determining whether the first upgrade condition is satisfied at the current moment based on the candidate time period includes:

[0036] Determine at least one first time period from the candidate time periods, in which the stop time exceeds the upgrade time;

[0037] Determining a second time period in which the overlap exceeds an overlap threshold from each of the first time periods;

[0038] If the current time belongs to the second time period, the first upgrade condition is met.

[0039] Accordingly, an embodiment of the present invention discloses a vehicle terminal upgrade device, which is applied to a logistics vehicle, and the device includes:

[0040] A first processing module is used to determine the upgrade time required for the current upgrade at the current moment;

[0041] A second processing module is used to determine whether the first upgrade condition is met at the current moment based on the upgrade time if the logistics vehicle is not in a charging state at the current moment;

[0042] A third processing module, configured to determine the current driving state of the logistics vehicle if the first upgrading condition is met;

[0043] An upgrade module is used to upgrade the on-board terminal in the logistics vehicle if the current driving state is a stationary state.

[0044] In one or more embodiments, the first processing module is specifically configured to:

[0045] Determine the file size of the upgrade installation package required for the current upgrade at the current moment;

[0046] Determining the first time for obtaining the upgrade installation package based on the file size;

[0047] Determining a second time required for the vehicle-mounted terminal to install the upgrade installation package;

[0048] The sum of the first time and the second time is calculated to obtain the upgrade time required for the current upgrade.

[0049] In one or more embodiments, further comprising:

[0050] A fourth processing module, configured to determine whether the second upgrade condition is met in the charging state based on the upgrade time consumption if the logistics vehicle is in the charging state at the current moment;

[0051] The upgrade module is also used to upgrade the on-board terminal in the logistics vehicle if the second upgrade condition is met.

[0052] In one or more embodiments, the fourth processing module is specifically configured to:

[0053] Obtaining the current power of the logistics vehicle at the current moment;

[0054] Determining the charging time required for the logistics vehicle based on the current power;

[0055] If the charging time exceeds the upgrade time, the second upgrade condition is met.

[0056] In one or more embodiments, the second processing module includes:

[0057] An acquisition submodule, used to acquire the historical driving data of the logistics vehicle;

[0058] A determination submodule, configured to satisfy a first upgrade condition if the amount of the historical driving data does not exceed a data amount threshold and the current moment belongs to a preset time period;

[0059] The detection submodule is used to determine whether the first upgrade condition is met at the current moment based on the historical driving data and the upgrade time if the data volume of the historical driving data exceeds the data volume threshold.

[0060] In one or more embodiments, the detection submodule includes:

[0061] A first determination unit, used to determine whether the logistics vehicle is performing a transportation task at the current moment;

[0062] an acquisition unit, configured to acquire the transportation route of the transportation task and the current position of the logistics vehicle at the current moment if the logistics vehicle is performing the transportation task at the current moment;

[0063] A second determining unit, configured to determine whether a first upgrade condition is satisfied at the current moment based on the historical driving data, the transportation route and the current position;

[0064] The third determination unit is used to extract a candidate time period in which the transportation task was not performed and the vehicle speed was 0 from the historical driving data if the logistics vehicle did not perform the transportation task at the current moment, and determine whether the first upgrade condition is met at the current moment based on the candidate time period.

[0065] In one or more embodiments, the second determining unit is specifically configured to:

[0066] Determining whether the current location is the same as a preset stop location in the transport route;

[0067] If they are the same, extracting the historical number of stops, historical stop time intervals and historical average stop duration at the current location from the historical driving data;

[0068] If the historical number of stops exceeds the number threshold, the current time belongs to the historical stop time interval, and the historical average stop duration exceeds the upgrade time, the first upgrade condition is met.

[0069] In one or more embodiments, the third determining unit is specifically configured to:

[0070] Determine at least one first time period from the candidate time periods, in which the stop time exceeds the upgrade time;

[0071] Determining a second time period in which the overlap exceeds an overlap threshold from each of the first time periods;

[0072] If the current time belongs to the second time period, the first upgrade condition is met.

[0073] Correspondingly, an embodiment of the present invention discloses an electronic device, comprising: a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, the various steps of the above-mentioned vehicle terminal upgrade method embodiment are implemented.

[0074] Correspondingly, an embodiment of the present invention discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each step of the above-mentioned vehicle terminal upgrade method embodiment is implemented.

[0075] The embodiments of the present invention include the following advantages:

[0076] The on-board terminal in the logistics vehicle determines the upgrade time required for the current upgrade at the current moment; if the logistics vehicle is not in a charging state at the current moment, then it determines whether the first upgrade condition is met at the current moment based on the upgrade time; if the first upgrade condition is met, then the current driving state of the logistics vehicle is determined; if the current driving state is a stationary state, then the on-board terminal in the logistics vehicle is upgraded. Through the above method, it is possible to detect whether the current moment is idle time after the logistics vehicle is started. If it is idle time, the on-board terminal can be automatically upgraded, which not only solves the problem that the on-board terminal cannot collect and transmit on-board information during the upgrade process, but also does not affect the normal driving of the logistics vehicle, and does not require manual upgrades, thereby improving the upgrade efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0077] Figure 1 This is a flowchart of the steps of a vehicle terminal upgrade method embodiment 1 of the present invention;

[0078] Figure 2 This is a flowchart of the steps of Embodiment 2 of a vehicle terminal upgrade method of the present invention;

[0079] Figure 3 It is a structural block diagram of an embodiment of a vehicle terminal upgrading device of the present invention. DETAILED DESCRIPTION

[0080] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0081] One of the core concepts of the embodiment of the present invention is to detect whether the current moment is idle time after the logistics vehicle is started. If it is idle time, the vehicle-mounted terminal can be automatically upgraded. This not only solves the problem that the vehicle-mounted terminal cannot collect and transmit vehicle-mounted information during the upgrade process, but also does not affect the normal driving of the logistics vehicle, and does not require manual upgrades, thereby improving the upgrade efficiency.

[0082] Reference Figure 1 , shows a flowchart of the steps of a vehicle terminal upgrade method embodiment 1 of the present invention, which can be applied to a logistics vehicle, in which a vehicle terminal is provided, and a vehicle system is installed in the vehicle terminal. The method may specifically include the following steps:

[0083] Step 101, determining the upgrade time required for the current upgrade at the current moment.

[0084] The vehicle terminal can trigger an upgrade of the vehicle system at the current moment. After the upgrade is triggered, the time required for the current upgrade can be determined (recorded as "upgrade time"). This can further determine whether the vehicle terminal can be upgraded at the current moment, thereby avoiding the impact of the upgrade of the vehicle terminal on the collection and transmission of vehicle information.

[0085] It should be noted that the condition for triggering the upgrade of the vehicle system may be the detection of a higher version of the vehicle system, or other conditions. In practical applications, it can be set according to actual needs, and the embodiment of the present invention does not limit this.

[0086] In the embodiment of the present invention, determining the upgrade time required for the current upgrade at the current moment includes:

[0087] Determine the file size of the upgrade installation package required for the current upgrade at the current moment;

[0088] Determining the first time for obtaining the upgrade installation package based on the file size;

[0089] Determining a second time required for the vehicle-mounted terminal to install the upgrade installation package;

[0090] The sum of the first time and the second time is calculated to obtain the upgrade time required for the current upgrade.

[0091] Specifically, after the vehicle terminal triggers the upgrade, it can determine the file size of the upgrade installation package required for the current upgrade at the current moment, and then calculate the time required to obtain the upgrade installation package (recorded as the "first time") according to the current network situation of the vehicle terminal, and calculate the time required for the vehicle terminal to install the upgrade installation package (recorded as the "second time"), and then calculate the sum of the first time and the second time to obtain the upgrade time required for the current upgrade. Among them, the second time includes but is not limited to the time required to decompress the upgrade installation package, the time to install the upgrade installation package, and the time to restart the self-check.

[0092] Furthermore, the upgrade installation package can be stored in the cloud or locally. If the upgrade installation package is stored in the cloud, the first time can be calculated based on the file size of the upgrade installation package and the network conditions; if the upgrade installation package is stored locally, the first time is 0, and the second time can be calculated for the upgrade installation package.

[0093] Step 102: If the logistics vehicle is not in a charging state at the current moment, determine whether the first upgrade condition is met at the current moment based on the upgrade time.

[0094] Since the logistics vehicle will not affect the collection and transmission of on-board information when it is in the charging state, after calculating the upgrade time at the current moment, it is possible to detect whether the logistics vehicle is in the charging state at the current moment. If it is not in the charging state, then it is possible to determine whether the on-board terminal meets the upgrade conditions at the current moment (recorded as the "first upgrade condition") based on the upgrade time.

[0095] In the embodiment of the present invention, determining whether the first upgrade condition is met at the current moment based on the upgrade time consumption includes:

[0096] Obtaining historical driving data of the logistics vehicle;

[0097] If the amount of the historical driving data does not exceed the data amount threshold, and the current moment belongs to a preset time period, then the first upgrade condition is met;

[0098] If the data volume of the historical driving data exceeds the data volume threshold, it is determined whether the first upgrade condition is met at the current moment based on the historical driving data and the upgrade time.

[0099] Specifically, each logistics vehicle will collect and store on-board information, where the on-board information includes historical driving data. Therefore, the historical driving data of the logistics vehicle can be obtained, and then it is detected whether the data volume of the historical driving data exceeds the data volume threshold, and whether the current moment belongs to the preset time period.

[0100] The preset time period may be a time period when the logistics vehicle is stationary, for example, from 0:00 to 6:00, the logistics vehicle will return to the warehouse or parking lot for rest and maintenance. If the amount of historical driving data does not exceed the data amount threshold, and the current moment belongs to the preset time period, then it means that the logistics vehicle is a new vehicle, and the logistics vehicle will not be driving at the current moment, which meets the first upgrade condition, so the vehicle terminal can be upgraded at the current moment.

[0101] It should be noted that, in actual applications, the specific value of the preset time period can be set according to actual needs, for example, 0 o'clock to 6 o'clock, 1 o'clock to 7 o'clock, etc., and the embodiment of the present invention does not limit this.

[0102] If the data volume of the historical driving data exceeds the data volume threshold, then it can be determined whether the vehicle terminal meets the first upgrade condition at the current moment based on the historical driving data and the upgrade time.

[0103] In the embodiment of the present invention, the determining whether the first upgrade condition is met at the current moment based on the historical driving data and the upgrade time consumption includes:

[0104] Determine whether the logistics vehicle is performing a transportation task at the current moment;

[0105] If the logistics vehicle is performing a transportation task at the current moment, then obtaining the transportation route of the transportation task and the current position of the logistics vehicle at the current moment;

[0106] Determining whether a first upgrade condition is satisfied at the current moment based on the historical driving data, the transportation route, and the current location;

[0107] If the logistics vehicle has not performed the transportation task at the current moment, a candidate time period in which the transportation task was not performed and the vehicle speed was 0 is extracted from the historical driving data, and based on the candidate time period, it is determined whether the first upgrade condition is met at the current moment.

[0108] Specifically, if the logistics vehicle is not currently in a charging state, it may be performing a transportation task. Therefore, the on-board terminal can determine from the management platform that manages the logistics vehicle whether the logistics vehicle is currently performing a transportation task.

[0109] If the logistics vehicle is currently performing a transport task, then the transport route of the transport task and the current position of the logistics vehicle (recorded as the "current position") can be obtained from the management platform, and then the vehicle terminal can be determined based on the historical driving data, transport route and current position to determine whether it meets the first upgrade condition at the current moment.

[0110] If the logistics vehicle is not performing a transportation task at the current moment, it means that the owner may be using the vehicle by himself at the current moment. Therefore, the time period when no transportation task is performed and the vehicle speed is 0 (recorded as a "candidate time period") can be extracted from the historical driving data. That is, the idle time period when the owner uses the vehicle by himself can be extracted, and then the candidate time period can be used to determine whether the vehicle terminal meets the first upgrade condition at the current moment.

[0111] In an embodiment of the present invention, determining whether the first upgrade condition is met at the current moment based on the historical driving data, the transportation route and the current location includes:

[0112] Determining whether the current location is the same as a preset stop location in the transport route;

[0113] If they are the same, extracting the historical number of stops, historical stop time intervals and historical average stop duration at the current location from the historical driving data;

[0114] If the historical number of stops exceeds the number threshold, the current time belongs to the historical stop time interval, and the historical average stop duration exceeds the upgrade time, the first upgrade condition is met.

[0115] Specifically, the transport route may include multiple preset stop locations, including but not limited to the starting point, the end point, and the service area. Based on this, it is possible to detect whether the current position of the logistics vehicle matches each preset stop point in the transport route. If they match, it means that the logistics vehicle is currently at a certain stop point. At this time, the historical stop times, historical stop time intervals, and historical average stop duration of the logistics vehicle at the stop can be extracted from the historical driving data.

[0116] Among them, the historical number of stops indicates the number of times the vehicle has stopped at the stop point, such as 5 times; the historical stop time interval includes multiple historical stop times, and the historical stop time indicates the specific time of stopping at the stop point. The earliest historical stop time and the latest historical stop time constitute the historical stop time interval. For example, the 5 stop times are 12:01, 12:10, 11:50, 12:29, and 12:31, respectively, then the historical stop time interval is 11:50-12:31; the historical stop duration indicates how long the vehicle stopped at the stop point. The historical average stop duration is the average of all historical stop durations. For example, the 5 stop durations are 20 minutes, 25 minutes, 21 minutes, 30 minutes, and 35 minutes, respectively, then the historical average stop duration is 26.2 minutes.

[0117] If the number of historical stops at the stop point exceeds the number threshold, and the current time belongs to the historical stop time interval, and the historical average stop time exceeds the upgrade time, then the first upgrade condition is met.

[0118] In the embodiment of the present invention, determining whether the first upgrade condition is met at the current moment based on the candidate time period includes:

[0119] Determine at least one first time period from the candidate time periods, in which the stop time exceeds the upgrade time;

[0120] Determining a second time period in which the overlap exceeds an overlap threshold from each of the first time periods;

[0121] If the current time belongs to the second time period, the first upgrade condition is met.

[0122] Specifically, after the candidate time periods are determined, at least one time period (referred to as the “first time period”) in which the stop time exceeds the upgrade time can be extracted from the candidate time periods. T1 = {(x1, y1), (x2, y2), …, (x n ,y n )}, and then determine the time period (referred to as "second time period") where the overlap exceeds the overlap threshold from each first time period. T2 = {(a1, b1), (a2, b2), ..., (a n ,b n )}, if the current time belongs to the second time period, then the first upgrade condition is met.

[0123] It should be noted that, in practical applications, the specific value of the overlap threshold can be set according to actual needs, and the embodiment of the present invention does not limit this.

[0124] Step 103: If the first upgrade condition is met, determine the current driving status of the logistics vehicle.

[0125] If it is determined that the vehicle terminal meets the first upgrade condition, the current driving state of the logistics vehicle can be further determined. The driving state may include a stationary state and a moving state, and the current driving state can be determined by the current vehicle speed.

[0126] Step 104: if the current driving state is a stationary state, the on-board terminal in the logistics vehicle is upgraded.

[0127] If the current driving state is stationary, the vehicle terminal can be upgraded.

[0128] In an embodiment of the present invention, the on-board terminal in the logistics vehicle determines the upgrade time required for the current upgrade at the current moment; if the logistics vehicle is not in a charging state at the current moment, then whether the first upgrade condition is met at the current moment is determined based on the upgrade time; if the first upgrade condition is met, then the current driving state of the logistics vehicle is determined; if the current driving state is a stationary state, then the on-board terminal in the logistics vehicle is upgraded. Through the above method, it is possible to detect whether the current moment is idle time after the logistics vehicle is started. If it is idle time, the on-board terminal can be automatically upgraded, which not only solves the problem that the on-board terminal cannot collect and transmit on-board information during the upgrade process, but also does not affect the normal driving of the logistics vehicle, and does not require manual upgrades, thereby improving the upgrade efficiency.

[0129] Reference Figure 2, shows a flowchart of the steps of a second embodiment of a vehicle terminal upgrade method of the present invention, which can be applied to a logistics vehicle and may specifically include the following steps:

[0130] Step 201, determining the upgrade time required for the current upgrade at the current moment.

[0131] The vehicle terminal can trigger an upgrade of the vehicle system at the current moment. After the upgrade is triggered, the upgrade time required for the current upgrade can be determined. This can further determine whether the vehicle terminal can be upgraded at the current moment, avoiding the impact of the upgrade of the vehicle terminal on the collection and transmission of vehicle information.

[0132] It should be noted that the condition for triggering the upgrade of the vehicle system may be the detection of a higher version of the vehicle system, or other conditions. In practical applications, it can be set according to actual needs, and the embodiment of the present invention does not limit this.

[0133] In the embodiment of the present invention, determining the upgrade time required for the current upgrade at the current moment includes:

[0134] Determine the file size of the upgrade installation package required for the current upgrade at the current moment;

[0135] Determining the first time for obtaining the upgrade installation package based on the file size;

[0136] Determining a second time required for the vehicle-mounted terminal to install the upgrade installation package;

[0137] The sum of the first time and the second time is calculated to obtain the upgrade time required for the current upgrade.

[0138] Specifically, after the vehicle terminal triggers the upgrade, it can determine the file size of the upgrade installation package required for the current upgrade at the current moment, and then calculate the first time required to obtain the upgrade installation package according to the current network situation of the vehicle terminal, and calculate the second time required for the vehicle terminal to install the upgrade installation package, and then calculate the sum of the first time and the second time to obtain the upgrade time required for the current upgrade. The second time includes but is not limited to the time required to decompress the upgrade installation package, the time to install the upgrade installation package, and the time to restart the self-check.

[0139] Furthermore, the upgrade installation package can be stored in the cloud or locally. If the upgrade installation package is stored in the cloud, the first time can be calculated based on the file size of the upgrade installation package and the network conditions; if the upgrade installation package is stored locally, the first time is 0, and the second time can be calculated for the upgrade installation package.

[0140] Step 202: If the logistics vehicle is not in a charging state at the current moment, determine whether the first upgrade condition is met at the current moment based on the upgrade time.

[0141] Since the logistics vehicle will not affect the collection and transmission of on-board information when it is in the charging state, after calculating the upgrade time at the current moment, it can be detected whether the logistics vehicle is in the charging state at the current moment. If it is not in the charging state, then it can be determined whether the on-board terminal meets the first upgrade condition at the current moment based on the upgrade time.

[0142] In the embodiment of the present invention, determining whether the first upgrade condition is met at the current moment based on the upgrade time consumption includes:

[0143] Obtaining historical driving data of the logistics vehicle;

[0144] If the amount of the historical driving data does not exceed the data amount threshold, and the current moment belongs to a preset time period, then the first upgrade condition is met;

[0145] If the data volume of the historical driving data exceeds the data volume threshold, it is determined whether the first upgrade condition is met at the current moment based on the historical driving data and the upgrade time.

[0146] Specifically, each logistics vehicle will collect and store on-board information, where the on-board information includes historical driving data. Therefore, the historical driving data of the logistics vehicle can be obtained, and then it is detected whether the data volume of the historical driving data exceeds the data volume threshold, and whether the current moment belongs to the preset time period.

[0147] The preset time period may be a time period when the logistics vehicle is stationary, for example, from 0:00 to 6:00, the logistics vehicle will return to the warehouse or parking lot for rest and maintenance. If the amount of historical driving data does not exceed the data amount threshold, and the current moment belongs to the preset time period, then it means that the logistics vehicle is a new vehicle, and the logistics vehicle will not be driving at the current moment, which meets the first upgrade condition, so the vehicle terminal can be upgraded at the current moment.

[0148] It should be noted that, in actual applications, the specific value of the preset time period can be set according to actual needs, for example, 0 o'clock to 6 o'clock, 1 o'clock to 7 o'clock, etc., and the embodiment of the present invention does not limit this.

[0149] If the data volume of the historical driving data exceeds the data volume threshold, then it can be determined whether the vehicle terminal meets the first upgrade condition at the current moment based on the historical driving data and the upgrade time.

[0150] In the embodiment of the present invention, the determining whether the first upgrade condition is met at the current moment based on the historical driving data and the upgrade time consumption includes:

[0151] Determine whether the logistics vehicle is performing a transportation task at the current moment;

[0152] If the logistics vehicle is performing a transportation task at the current moment, then obtaining the transportation route of the transportation task and the current position of the logistics vehicle at the current moment;

[0153] Determining whether a first upgrade condition is satisfied at the current moment based on the historical driving data, the transportation route, and the current location;

[0154] If the logistics vehicle has not performed the transportation task at the current moment, a candidate time period in which the transportation task was not performed and the vehicle speed was 0 is extracted from the historical driving data, and based on the candidate time period, it is determined whether the first upgrade condition is met at the current moment.

[0155] Specifically, if the logistics vehicle is not currently in a charging state, it may be performing a transportation task. Therefore, the on-board terminal can determine from the management platform that manages the logistics vehicle whether the logistics vehicle is currently performing a transportation task.

[0156] If the logistics vehicle is currently performing a transport task, the transport route of the transport task and the current position of the logistics vehicle can be obtained from the management platform, and then the vehicle terminal can be determined based on the historical driving data, the transport route and the current position to determine whether it meets the first upgrade condition at the current moment.

[0157] If the logistics vehicle is not performing a transportation task at the current moment, it means that the owner may be using the vehicle by himself at the current moment. Therefore, the candidate time period when no transportation task is performed and the vehicle speed is 0 can be extracted from the historical driving data, that is, the idle time period when the owner uses the vehicle by himself can be extracted, and then based on the candidate time period, it is determined whether the vehicle terminal meets the first upgrade condition at the current moment.

[0158] In an embodiment of the present invention, determining whether the first upgrade condition is met at the current moment based on the historical driving data, the transportation route and the current location includes:

[0159] Determining whether the current location is the same as a preset stop location in the transport route;

[0160] If they are the same, extracting the historical number of stops, historical stop time intervals and historical average stop duration at the current location from the historical driving data;

[0161] If the historical number of stops exceeds the number threshold, the current time belongs to the historical stop time interval, and the historical average stop duration exceeds the upgrade time, the first upgrade condition is met.

[0162] Specifically, the transport route may include multiple preset stop locations, including but not limited to the starting point, the end point, and the service area. Based on this, it is possible to detect whether the current position of the logistics vehicle matches each preset stop point in the transport route. If they match, it means that the logistics vehicle is currently at a certain stop point. At this time, the historical stop times, historical stop time intervals, and historical average stop duration of the logistics vehicle at the stop can be extracted from the historical driving data.

[0163] Among them, the historical number of stops indicates the number of times the vehicle has stopped at the stop point, such as 5 times; the historical stop time interval includes multiple historical stop times, and the historical stop time indicates the specific time of stopping at the stop point. The earliest historical stop time and the latest historical stop time constitute the historical stop time interval. For example, the 5 stop times are 12:01, 12:10, 11:50, 12:29, and 12:31, respectively, then the historical stop time interval is 11:50-12:31; the historical stop duration indicates how long the vehicle stopped at the stop point. The historical average stop duration is the average of all historical stop durations. For example, the 5 stop durations are 20 minutes, 25 minutes, 21 minutes, 30 minutes, and 35 minutes, respectively, then the historical average stop duration is 26.2 minutes.

[0164] If the number of historical stops at the stop point exceeds the number threshold, and the current time belongs to the historical stop time interval, and the historical average stop time exceeds the upgrade time, then the first upgrade condition is met.

[0165] In the embodiment of the present invention, determining whether the first upgrade condition is met at the current moment based on the candidate time period includes:

[0166] Determine at least one first time period from the candidate time periods, in which the stop time exceeds the upgrade time;

[0167] Determining a second time period in which the overlap exceeds an overlap threshold from each of the first time periods;

[0168] If the current time belongs to the second time period, the first upgrade condition is met.

[0169] Specifically, after the candidate time periods are determined, at least one time period (referred to as the “first time period”) in which the stop time exceeds the upgrade time can be extracted from the candidate time periods. T1 = {(x1, y1), (x2, y2), …, (x n ,y n)}, and then determine the time period (referred to as "second time period") where the overlap exceeds the overlap threshold from each first time period. T2 = {(a1, b1), (a2, b2), ..., (a n ,b n )}, if the current time belongs to the second time period, then the first upgrade condition is met.

[0170] It should be noted that, in practical applications, the specific value of the overlap threshold can be set according to actual needs, and the embodiment of the present invention does not limit this.

[0171] Step 203: If the first upgrade condition is met, determine the current driving status of the logistics vehicle.

[0172] If it is determined that the vehicle terminal meets the first upgrade condition, the current driving state of the logistics vehicle can be further determined. The driving state may include a stationary state and a moving state, and the current driving state can be determined by the current vehicle speed.

[0173] Step 204: If the current driving state is a stationary state, the vehicle-mounted terminal in the logistics vehicle is upgraded.

[0174] If the current driving state is stationary, the vehicle terminal can be upgraded.

[0175] Step 205: If the logistics vehicle is in the charging state at the current moment, determine whether the second upgrade condition is met in the charging state based on the upgrade time.

[0176] If the logistics vehicle is in a charging state at the current moment, it means that the logistics vehicle cannot drive. At this time, it can be determined whether the on-board terminal meets the upgrade conditions (recorded as the "second upgrade condition") in the charging state according to the upgrade time.

[0177] In the embodiment of the present invention, determining whether the second upgrade condition is met in the charging state based on the upgrade time includes:

[0178] Obtaining the current power of the logistics vehicle at the current moment;

[0179] Determining the charging time required for the logistics vehicle based on the current power;

[0180] If the charging time exceeds the upgrade time, the second upgrade condition is met.

[0181] Specifically, when the logistics vehicle is in a charging state, the power of the logistics vehicle at the current moment (recorded as "current power") can be obtained, and then the charging time required to fully charge the vehicle can be calculated based on the current power. If the charging time exceeds the upgrade time, then the second upgrade condition is met.

[0182] Among them, the charging time can be calculated by the following formula:

[0183] Charging time = (total battery capacity - current power) / charging current * charging coefficient

[0184] It should be noted that, in practical applications, the specific value of the charging coefficient can be set according to actual needs, and the embodiment of the present invention does not limit this.

[0185] Step 206: If the second upgrade condition is met, the vehicle-mounted terminal in the logistics vehicle is upgraded.

[0186] If the vehicle-mounted terminal meets the second upgrade condition at the current moment, the vehicle-mounted terminal can be upgraded.

[0187] In an embodiment of the present invention, the on-board terminal in the logistics vehicle determines the upgrade time required for the current upgrade at the current moment; if the logistics vehicle is not in a charging state at the current moment, then whether the first upgrade condition is met at the current moment is determined based on the upgrade time; if the first upgrade condition is met, then the current driving state of the logistics vehicle is determined; if the current driving state is a stationary state, then the on-board terminal in the logistics vehicle is upgraded. Through the above method, it is possible to detect whether the current moment is idle time after the logistics vehicle is started. If it is idle time, the on-board terminal can be automatically upgraded, which not only solves the problem that the on-board terminal cannot collect and transmit on-board information during the upgrade process, but also does not affect the normal driving of the logistics vehicle, and does not require manual upgrades, thereby improving the upgrade efficiency.

[0188] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0189] Reference Figure 3 , shows a structural block diagram of an embodiment of a vehicle terminal upgrading device of the present invention, which is applied to a logistics vehicle and may specifically include the following modules:

[0190] The first processing module 301 is used to determine the upgrade time required for the current upgrade at the current moment;

[0191] The second processing module 302 is used to determine whether the first upgrade condition is met at the current moment based on the upgrade time if the logistics vehicle is not in a charging state at the current moment;

[0192] A third processing module 303 is used to determine the current driving state of the logistics vehicle if the first upgrade condition is met;

[0193] The upgrade module 304 is used to upgrade the vehicle-mounted terminal in the logistics vehicle if the current driving state is a stationary state.

[0194] In the embodiment of the present invention, the first processing module is specifically used to:

[0195] Determine the file size of the upgrade installation package required for the current upgrade at the current moment;

[0196] Determining the first time for obtaining the upgrade installation package based on the file size;

[0197] Determining a second time required for the vehicle-mounted terminal to install the upgrade installation package;

[0198] The sum of the first time and the second time is calculated to obtain the upgrade time required for the current upgrade.

[0199] In an embodiment of the present invention, it also includes:

[0200] A fourth processing module, configured to determine whether the second upgrade condition is met in the charging state based on the upgrade time consumption if the logistics vehicle is in the charging state at the current moment;

[0201] The upgrade module is also used to upgrade the on-board terminal in the logistics vehicle if the second upgrade condition is met.

[0202] In the embodiment of the present invention, the fourth processing module is specifically used to:

[0203] Obtaining the current power of the logistics vehicle at the current moment;

[0204] Determining the charging time required for the logistics vehicle based on the current power;

[0205] If the charging time exceeds the upgrade time, the second upgrade condition is met.

[0206] In an embodiment of the present invention, the second processing module includes:

[0207] An acquisition submodule, used to acquire the historical driving data of the logistics vehicle;

[0208] A determination submodule, configured to satisfy a first upgrade condition if the amount of the historical driving data does not exceed a data amount threshold and the current moment belongs to a preset time period;

[0209] The detection submodule is used to determine whether the first upgrade condition is met at the current moment based on the historical driving data and the upgrade time if the data volume of the historical driving data exceeds the data volume threshold.

[0210] In an embodiment of the present invention, the detection submodule includes:

[0211] A first determination unit, used to determine whether the logistics vehicle is performing a transportation task at the current moment;

[0212] an acquisition unit, configured to acquire the transportation route of the transportation task and the current position of the logistics vehicle at the current moment if the logistics vehicle is performing the transportation task at the current moment;

[0213] A second determining unit, configured to determine whether a first upgrade condition is satisfied at the current moment based on the historical driving data, the transportation route and the current position;

[0214] The third determination unit is used to extract a candidate time period in which the transportation task was not performed and the vehicle speed was 0 from the historical driving data if the logistics vehicle did not perform the transportation task at the current moment, and determine whether the first upgrade condition is met at the current moment based on the candidate time period.

[0215] In the embodiment of the present invention, the second determining unit is specifically configured to:

[0216] Determining whether the current location is the same as a preset stop location in the transport route;

[0217] If they are the same, extracting the historical number of stops, historical stop time intervals and historical average stop duration at the current location from the historical driving data;

[0218] If the historical number of stops exceeds the number threshold, the current time belongs to the historical stop time interval, and the historical average stop duration exceeds the upgrade time, the first upgrade condition is met.

[0219] In this embodiment of the present invention, the third determining unit is specifically configured to:

[0220] Determine at least one first time period from the candidate time periods, in which the stop time exceeds the upgrade time;

[0221] Determining a second time period in which the overlap exceeds an overlap threshold from each of the first time periods;

[0222] If the current time belongs to the second time period, the first upgrade condition is met.

[0223] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0224] An embodiment of the present invention further provides an electronic device, including:

[0225] It includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, the various processes of the above-mentioned vehicle terminal upgrade method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0226] An embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the above-mentioned vehicle terminal upgrade method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0227] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0228] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

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

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

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

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

[0233] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0234] The above is a detailed introduction to a vehicle terminal upgrade method and a vehicle terminal upgrade device provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A vehicle terminal upgrade method, characterized in that: Applied to a logistics vehicle, the method comprises: Determine the upgrade time required for the current upgrade at the current moment; If the logistics vehicle is not in a charging state at the current moment, determining whether the first upgrade condition is met at the current moment based on the upgrade time; If the first upgrade condition is met, determining the current driving status of the logistics vehicle; If the current driving state is a stationary state, the on-board terminal in the logistics vehicle is upgraded.

2. The vehicle terminal upgrade method according to claim 1, characterized in that: Determining the upgrade time required for the current upgrade at the current moment includes: Determine the file size of the upgrade installation package required for the current upgrade at the current moment; Determining the first time for obtaining the upgrade installation package based on the file size; Determining a second time required for the vehicle-mounted terminal to install the upgrade installation package; The sum of the first time and the second time is calculated to obtain the upgrade time required for the current upgrade.

3. The vehicle terminal upgrade method according to claim 1, characterized in that: Also includes: If the logistics vehicle is in the charging state at the current moment, determining whether the second upgrade condition is met in the charging state based on the upgrade time consumption; If the second upgrade condition is met, the on-board terminal in the logistics vehicle is upgraded.

4. The vehicle terminal upgrade method according to claim 3, characterized in that: The determining whether the second upgrade condition is met in the charging state based on the upgrade time comprises: Obtaining the current power of the logistics vehicle at the current moment; Determining the charging time required for the logistics vehicle based on the current power; If the charging time exceeds the upgrade time, the second upgrade condition is met.

5. The vehicle terminal upgrade method according to claim 1, characterized in that: The determining whether the first upgrade condition is met at the current moment based on the upgrade time comprises: Obtaining historical driving data of the logistics vehicle; If the amount of the historical driving data does not exceed the data amount threshold, and the current moment belongs to a preset time period, then the first upgrade condition is met; If the data volume of the historical driving data exceeds the data volume threshold, it is determined whether the first upgrade condition is met at the current moment based on the historical driving data and the upgrade time.

6. The vehicle terminal upgrade method according to claim 5, characterized in that: The determining whether the first upgrade condition is met at the current moment based on the historical driving data and the upgrade time consumption includes: Determine whether the logistics vehicle is performing a transportation task at the current moment; If the logistics vehicle is performing a transportation task at the current moment, then obtaining the transportation route of the transportation task and the current position of the logistics vehicle at the current moment; Determining whether a first upgrade condition is satisfied at the current moment based on the historical driving data, the transportation route, and the current location; If the logistics vehicle has not performed the transportation task at the current moment, a candidate time period in which the transportation task was not performed and the vehicle speed was 0 is extracted from the historical driving data, and based on the candidate time period, it is determined whether the first upgrade condition is met at the current moment.

7. The vehicle terminal upgrade method according to claim 6, characterized in that: The determining whether the first upgrade condition is satisfied at the current moment based on the historical driving data, the transportation route and the current location includes: Determining whether the current location is the same as a preset stop location in the transport route; If they are the same, extracting the historical number of stops, historical stop time intervals and historical average stop duration at the current location from the historical driving data; If the historical number of stops exceeds the number threshold, the current time belongs to the historical stop time interval, and the historical average stop duration exceeds the upgrade time, the first upgrade condition is met.

8. The vehicle terminal upgrade method according to claim 6, characterized in that: The determining whether the first upgrade condition is satisfied at the current moment based on the candidate time period includes: Determine at least one first time period from the candidate time periods, in which the stop time exceeds the upgrade time; Determining a second time period in which the overlap exceeds an overlap threshold from each of the first time periods; If the current time belongs to the second time period, the first upgrade condition is met.

9. A vehicle terminal upgrade device, characterized in that: Applied to a logistics vehicle, the device comprises: A first processing module is used to determine the upgrade time required for the current upgrade at the current moment; A second processing module is used to determine whether the first upgrade condition is met at the current moment based on the upgrade time if the logistics vehicle is not in a charging state at the current moment; A third processing module, configured to determine the current driving state of the logistics vehicle if the first upgrading condition is met; An upgrade module is used to upgrade the on-board terminal in the logistics vehicle if the current driving state is a stationary state.

10. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the steps of the vehicle terminal upgrading method as claimed in any one of claims 1 to 8 are implemented.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the vehicle terminal upgrading method as claimed in any one of claims 1 to 8 are implemented.