CN118132106A - Upgrade duration estimation method and device, electronic equipment and storage medium - Google Patents

Upgrade duration estimation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN118132106A
CN118132106A CN202311734068.8A CN202311734068A CN118132106A CN 118132106 A CN118132106 A CN 118132106A CN 202311734068 A CN202311734068 A CN 202311734068A CN 118132106 A CN118132106 A CN 118132106A
Authority
CN
China
Prior art keywords
upgrading
upgrade
information
matching
duration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311734068.8A
Other languages
Chinese (zh)
Inventor
李志强
叶松林
杨鹏作
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Thalys Automobile Co ltd
Original Assignee
Thalys Automobile Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Thalys Automobile Co ltd filed Critical Thalys Automobile Co ltd
Priority to CN202311734068.8A priority Critical patent/CN118132106A/en
Publication of CN118132106A publication Critical patent/CN118132106A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The application relates to the technical field of vehicles, and discloses an upgrade duration estimation method, an upgrade duration estimation device, electronic equipment and a storage medium, wherein the method comprises the following steps: receiving an upgrading request carrying the number of the upgrading part sent by a vehicle end; detecting whether the upgrading request carries other information corresponding to the upgrading part; wherein the other information comprises at least one of a hardware version corresponding to the upgrade part, a current software version and a target upgrade software version; if yes, the serial number and other information of the upgrading part are used as matching information for matching operation, and the history upgrading time length of successful matching is used as the target upgrading time length of the upgrading part to be sent to the vehicle end. According to the application, manual operation is not needed, the cloud takes the serial numbers of the updated parts and at least one piece of other information as the matching information, and compared with the matching process of a single parameter, the screening condition is increased, so that the matching accuracy is improved, and the obtained target updating time is more accurate.

Description

Upgrade duration estimation method and device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of vehicles, in particular to an upgrade duration estimation method, an upgrade duration estimation device, electronic equipment and a storage medium.
Background
In an OTA upgrade of an automobile, the upgrade duration is one parameter of interest to the user. The user needs to learn the estimated duration of the upgrade before it has yet to begin, which determines whether the user selects the current time period to upgrade properly. Because the user will not be able to do anything with the car once the OTA upgrade is started. If the actual upgrade time is far beyond the estimated duration, it will have a serious impact on the user's schedule.
The traditional method for estimating the upgrading time length is to manually input the preset time length in advance by operation and maintenance personnel, the preset time length is determined according to the number of the upgrading part in the estimation process, the preset time length is generally obtained through a related calibration test, the time length is affected by the test sample size, manual input is needed, and the accuracy is low.
Disclosure of Invention
In view of the above problems, the present application provides a method, an apparatus, an electronic device, and a storage medium for estimating an upgrade duration, which are used for rapidly and accurately estimating a target upgrade duration required for obtaining an upgraded part.
According to an aspect of the embodiment of the present application, there is provided an estimation method of an upgrade duration, where the estimation method is applied to a cloud, and the estimation method includes: receiving an upgrading request carrying the number of the upgrading part sent by a vehicle end; detecting whether the upgrading request carries other information corresponding to the upgrading part or not; wherein the other information comprises at least one of a hardware version corresponding to the upgrade part, a current software version and a target upgrade software version; if so, carrying out matching operation by taking the number of the upgrading part and the other information as matching information, and taking the history upgrading time length successfully matched as the target upgrading time length of the upgrading part to send to the vehicle end.
In an optional manner, the detecting whether the upgrade request carries other information corresponding to the upgrade part further includes: if the fact that the other information is not carried is detected, the preset upgrading duration is used as the target upgrading duration and is sent to the vehicle end; the preset upgrading time length is from a preset historical upgrading time length table.
In an alternative manner, the estimation method further includes: taking the serial number of the upgrading part as a first dimension, taking the preset upgrading time length as a second dimension, and constructing to obtain a two-dimensional table; recording preset upgrading time length corresponding to the number of each upgrading part into the two-dimensional table to obtain the preset historical upgrading time length table.
In an alternative manner, the estimation method further includes: matching the received upgrade information fed back by the vehicle end with preset matching information; the upgrade information carries actual upgrade time, and comprises the number of the upgraded part, the corresponding hardware version, the software version before upgrade and the software version after upgrade; if the matching is successful, carrying out average calculation on the target upgrading time length and the actual upgrading time length, and taking the calculated average upgrading time length as the updated historical upgrading time length.
In an optional manner, the matching operation between the received upgrade information fed back by the vehicle end and preset matching information further includes: if the matching fails, the upgrading information is used as new preset matching information, and the actual upgrading duration is used as the historical upgrading duration corresponding to the new preset matching information.
In an alternative manner, the number of upgrade parts is a plurality; the step of performing matching operation by using the number of the upgrade part and the other information as matching information further comprises the steps of: traversing the plurality of upgrading parts, and taking the traversed upgrading parts as target upgrading parts; and matching the matching information corresponding to the target upgrading part with preset matching information to obtain the history upgrading duration corresponding to the successfully matched preset matching information, so as to obtain the history upgrading duration corresponding to each upgrading part.
In an alternative manner, the number of upgrade parts is a plurality; the step of using the history upgrading time length successfully matched as the target upgrading time length of the upgrading part to send to the vehicle end, further comprises the steps of: taking each successfully matched historical upgrading duration as a target upgrading duration of the corresponding upgrading part; and carrying out summation operation on each target upgrading duration, and sending the calculated total upgrading duration and each target upgrading duration to the vehicle end.
According to another aspect of the embodiment of the present application, there is provided an estimation device of an upgrade duration, where the estimation device is applied to a cloud, and the estimation device includes: the receiving module is used for receiving an upgrading request which is sent by the vehicle end and carries the number of the upgrading part; the detection module is used for detecting whether the upgrading request carries other information corresponding to the upgrading part; wherein the other information comprises at least one of a hardware version corresponding to the upgrade part, a current software version and a target upgrade software version; and the estimation module is used for carrying out matching operation by taking the number of the upgrading part and the other information as matching information if the number of the upgrading part is positive, and taking the history upgrading time length successfully matched as the target upgrading time length of the upgrading part to send to the vehicle end.
According to an aspect of an embodiment of the present application, there is provided an electronic apparatus including: a controller; and a memory for storing one or more programs which, when executed by the controller, perform the estimation method described above.
According to an aspect of the embodiments of the present application, there is also provided a computer-readable storage medium having stored thereon computer-readable instructions which, when executed by a processor of a computer, cause the computer to perform the above-described estimation method.
According to an aspect of embodiments of the present application, there is also provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the estimation method described above.
According to the method, manual operation is not needed, and the cloud terminal rapidly matches the serial numbers of the upgrading parts according to other information in the received upgrading request to obtain historical upgrading duration, so that the historical upgrading duration is used as a target upgrading duration corresponding to the upgrading parts; wherein the other information comprises at least one of a hardware version corresponding to the upgrade part, a current software version and a target upgrade software version. According to the application, the serial numbers of the upgrading parts and at least one piece of other information are used as the matching information, and compared with the matching process of single parameters, the screening conditions are increased, so that the matching accuracy is improved, and the obtained target upgrading time length is more accurate.
The foregoing description is only an overview of the technical solutions of the embodiments of the present application, and may be implemented according to the content of the specification, so that the technical means of the embodiments of the present application can be more clearly understood, and the following specific embodiments of the present application are given for clarity and understanding.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application. It is evident that the drawings in the following description are only some embodiments of the present application and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
Fig. 1 is a flowchart illustrating a method for estimating an upgrade duration according to an exemplary embodiment of the present application.
Fig. 2 is a flow chart illustrating a method for estimating an upgrade duration according to an exemplary embodiment of the present application.
Fig. 3 is a schematic diagram of an application scenario of the method for estimating an upgrade duration of the present application.
Fig. 4 is a schematic structural view of an apparatus for estimating an upgrade time period according to an exemplary embodiment of the present application.
Fig. 5 is a schematic diagram of a computer system of an electronic device according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
The block diagrams depicted in the figures are merely functional entities and do not necessarily correspond to physically separate entities. That is, the functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The flow diagrams depicted in the figures are exemplary only, and do not necessarily include all of the elements and operations/steps, nor must they be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the order of actual execution may be changed according to actual situations.
In the present application, the term "plurality" means two or more. "and/or" describes an association relationship of an association object, meaning that there may be three relationships, e.g., a and/or B may represent: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
The existing method for estimating the upgrading time is to manually input preset time in advance by operation and maintenance personnel, the preset time is determined according to the number of the upgrading part in the estimation process, the preset time is generally obtained through a related calibration test and is influenced by the test sample size, manual input is needed, and the accuracy is low.
To this end, an aspect of the present application provides a method for estimating an upgrade duration. Referring specifically to fig. 1, fig. 1 is a flowchart illustrating a method for estimating an upgrade duration according to an exemplary embodiment of the present application.
The estimation method is applied to the cloud, and the estimation method at least comprises S110 to S130, which are described in detail as follows:
s110: and receiving an upgrading request carrying the number of the upgrading part sent by the vehicle end.
The number of the upgrade part is used for representing the identity information of the upgrade part, and each upgrade part is correspondingly provided with a unique number. The number of the upgrade parts in this embodiment may be plural, and the number of the upgrade parts is not limited in this embodiment.
The upgrade request is a request sent by the vehicle end for desiring to upgrade a specified upgrade part.
The vehicle end sends the upgrading request to the cloud end, and the cloud end responds to the upgrading request to carry out the following detection steps.
S120: detecting whether the upgrading request carries other information corresponding to the upgrading part; wherein the other information comprises at least one of a hardware version corresponding to the upgrade part, a current software version and a target upgrade software version.
Other information can characterize the status information of the designated upgraded parts. The number of information in the other information of the present application may be plural, for example, the hardware information and the current software version corresponding to the designated upgrade part. For example, the current software version and the target upgrade software version corresponding to the upgrade part are specified. For example, the hardware information corresponding to the upgrade part is specified, and the current software version and the target upgrade software version are used.
S130: if yes, the serial number and other information of the upgrading part are used as matching information for matching operation, and the history upgrading time length of successful matching is used as the target upgrading time length of the upgrading part to be sent to the vehicle end.
Illustratively, the other information includes a hardware version corresponding to the upgrade part, a current software version, and a target upgrade software version. Taking the serial numbers and other information of the upgraded parts as matching information, and matching the serial numbers and other information with related preset information; and acquiring the historical upgrading time length corresponding to the successfully matched preset information, and using the historical upgrading time length as the target upgrading time length of the upgrading part to be sent to the vehicle end to serve as the estimated time length required by the vehicle end for upgrading.
According to the method, manual operation is not needed, and the cloud terminal rapidly matches the serial numbers of the upgrading parts according to other information in the received upgrading request to obtain historical upgrading duration, so that the historical upgrading duration is used as a target upgrading duration corresponding to the upgrading parts; wherein the other information comprises at least one of a hardware version corresponding to the upgrade part, a current software version and a target upgrade software version. In the embodiment, the serial numbers of the upgrading parts and at least one piece of other information are used as the matching information, and compared with the matching process of single parameters, the screening conditions are increased, so that the matching accuracy is improved, and the obtained target upgrading time is more accurate.
In another exemplary embodiment of the present application, a case where no other information is detected is described in detail, that is, S120 further includes S140, which is described in detail as follows:
s140: if no other information is detected to be carried, the preset upgrading duration is used as the target upgrading duration and is sent to the vehicle end; the preset upgrading time length is from a preset historical upgrading time length table.
If other information is not carried, the characterization cloud only receives the serial numbers of the upgrade parts, and it is difficult to determine the accurate upgrade time according to the single serial numbers. Therefore, the preset upgrade time of the spam is introduced in the embodiment, and is an estimated time set in advance by operation and maintenance personnel, so that the preset upgrade time of one spam can be fed back to the vehicle end under the condition that relevant matching parameters of the upgrade part are missing.
In another exemplary embodiment of the present application, a process of constructing the preset history upgrade duration table is described in detail, that is, the estimation method shown in any one of the exemplary embodiments further includes S150 to S160, which is described in detail as follows:
S150: and (3) taking the serial number of the upgrading part as a first dimension, presetting the upgrading time length as a second dimension, and constructing to obtain a two-dimensional table.
The first dimension and the second dimension are relative explanatory words, for example, the first dimension may be a first column in a two-dimensional table for recording the number of the upgrade part; the second dimension may be a second column in the two-dimensional table, and is used for recording a preset upgrade duration corresponding to the number of the upgraded part.
S160: recording preset upgrading time length corresponding to the number of each upgrading part into a two-dimensional table to obtain a preset historical upgrading time length table.
Illustratively, the preset historical upgrade time is shown in table 1, and table 1 is different preset upgrade time corresponding to different upgrade parts. According to table 1, the corresponding preset upgrade duration can be quickly and accurately determined under the condition that the number of the upgrade part is known. The preset upgrading time length in table 1 can be updated according to the actual upgrading time length of the appointed upgrading part fed back by the vehicle end in real time, so that the numerical value of each preset upgrading time length is closer to the actual situation, and the accuracy of the target upgrading time length determined by the embodiment is improved.
TABLE 1
Numbering of upgrade parts Presetting an upgrade duration
TBOX001 100
GW001 79
CDC003 40000
…… ……
The embodiment further illustrates the origin of the preset historical upgrading time length table, and the two-dimensional table is quickly constructed according to the number of each upgrading part and the corresponding preset upgrading time length, so that the corresponding preset upgrading time length can be quickly and accurately determined under the condition that the number of the upgrading part is known later.
In another exemplary embodiment of the present application, how to update the historical upgrade time period is described in detail, that is, the estimation method shown in any exemplary embodiment further includes S170 to S180, which is described in detail as follows:
S170: matching the received upgrade information fed back by the vehicle end with preset matching information; the upgrade information carries actual upgrade time, and comprises the number of the upgraded part, the corresponding hardware version, the software version before upgrade and the software version after upgrade.
After the cloud end sends the target upgrading duration to the vehicle end, the vehicle end feeds back the recorded upgrading information of the upgrading part to the cloud end so as to update the corresponding historical upgrading duration.
S180: if the matching is successful, carrying out average calculation on the target upgrading time length and the actual upgrading time length, and taking the calculated average upgrading time length as the updated historical upgrading time length.
If the cloud end has the number of the upgrade part, the hardware version, the current software version and the upgrade duration average_upgrade_period corresponding to the vehicle end, the upgrade duration of the upgrade table is updated by averaging: average_upgrade_period= (original average_upgrade_period) +new_upgrade_period ]/count number of vehicles.
Illustratively, the cloud stores historical data as shown in table 2, and table 2 is a cloud historical data table. The fed back upgrade information is successfully matched with the second row of data in table 2, the historical upgrade duration in the row of data is 100 (i.e. the target upgrade duration in this embodiment), if the actual upgrade duration fed back is 110, the average upgrade duration= (100+110)/2=105, and the historical upgrade duration in the row of table 2 is updated to 105.
TABLE 2
The embodiment provides a mode for updating the historical upgrading time, corresponding matching operation is carried out according to upgrading information fed back by a vehicle end, and average operation is carried out on the actual upgrading time in the upgrading information and the original historical upgrading time after the matching is successful, so that the calculated average upgrading time is used as the updated historical upgrading time, the historical upgrading time is updated in time according to the actual upgrading time, and the accuracy of the subsequent estimated upgrading time is improved.
In another exemplary embodiment of the present application, how to enter new preset matching information is described in detail, that is, S1701 is further included in S170, which is described in detail as follows:
S1701: if the matching fails, the upgrading information is used as new preset matching information, and the actual upgrading duration is used as the historical upgrading duration corresponding to the new preset matching information.
If the cloud does not have the number of the upgrade part, the hardware version, the current software version and the upgrade duration average_upgrade_period corresponding to the vehicle end, the new_upgrade_period (actual upgrade duration) reported by the vehicle end is directly inserted as the average_upgrade_period (historical upgrade duration).
If the matching between the upgrade information fed back by the vehicle end and the information stored in the cloud end fails, the cloud end is characterized in that the upgrade information is not stored, namely, the historical upgrade time corresponding to the corresponding upgrade part is not stored. The actual upgrading time length in the upgrading information and other information in the upgrading information are further entered into the above table 2 (the information in table 2 is the preset matching information in the embodiment), that is, the preset matching information is newly added in table 2: the serial numbers of the upgrade parts, the hardware version, the current software version, the target software version, the historical upgrade duration and the statistics vehicle number are respectively filled in. Since the upgrade information is new preset matching information and the number of front vehicles is not counted, the number of counted vehicles corresponding to the new data in table 2 is 1.
The embodiment provides a mode of newly adding preset matching information, if matching failure of the upgrading information and the existing preset matching information is detected, the upgrading information is directly stored to a cloud as the new preset matching information, and the actual upgrading duration in the upgrading information is used as the historical upgrading duration corresponding to the new preset matching information.
In another exemplary embodiment of the present application, it is described in detail how the number of the upgrade part and other information are subjected to the matching operation as matching information, that is, S130 further includes S1301 to S1302; wherein the number of the upgrade parts is a plurality; the detailed description is as follows:
S1301: traversing the plurality of upgrade parts, and taking the traversed upgrade parts as target upgrade parts.
The upgrade request sent by the vehicle end comprises an upgrade part list, the cloud execution main body traverses a plurality of upgrade parts in the list to ensure that the matching operation is performed on the matching information corresponding to each upgrade part without omission, and when the last upgrade part is traversed, the traversing operation is stopped, for example, the upgrade part list is: { [ TBOX001:0.01; CDC003:0.02], wherein CDC003 is the last upgrade part, and when the execution end traverses to the character "] }, the last upgrade part is characterized to be traversed, and the traversal can be stopped.
S1302: matching the matching information corresponding to the target upgrading part with the preset matching information to obtain the history upgrading duration corresponding to the successfully matched preset matching information, so as to obtain the history upgrading duration corresponding to each upgrading part.
Exemplary descriptions are given in connection with table 2 above: the upgrading parts comprise a first upgrading part and a second upgrading part, and if the matching information corresponding to the first upgrading part is successfully matched with the second row of preset matching information in the table 2, the historical upgrading time length corresponding to the first upgrading part is 100; the matching information corresponding to the second upgrading part is successfully matched with the third row of preset matching information in table 2, and the historical upgrading duration corresponding to the first upgrading part is 12000.
It is noted that, in the traversal process, if the matching information corresponding to the target upgrading part fails to match with the preset matching information, the preset duration of the spam corresponding to the target upgrading part is used as the historical upgrading duration of the spam and is fed back to the vehicle end.
According to the embodiment, the matching operation is performed on the matching information corresponding to each upgrading part in an endless manner in a traversing manner of each upgrading part, so that the historical upgrading duration corresponding to each upgrading part is accurately determined.
In another exemplary embodiment of the present application, how to use the history upgrade duration of successful matching as the target upgrade duration of the upgrade part, so as to send the result to the vehicle end, that is, S130 further includes S1303 to S1304; wherein the number of the upgrade parts is a plurality; the detailed description is as follows:
S1303: and taking each successfully matched historical upgrading duration as a target upgrading duration of the corresponding upgrading part.
Illustratively, the historical upgrade duration corresponding to the first upgrade part is 100, that is, the target upgrade duration corresponding to the first upgrade part; the historical upgrading duration corresponding to the second upgrading part is 12000, namely the target upgrading duration corresponding to the second upgrading part.
S1304: and carrying out summation operation on each target upgrading duration, and sending the calculated total upgrading duration and each target upgrading duration to a vehicle end.
Illustratively, the cloud executing body sums up the two target upgrade durations in S1303, and sends the calculated total historical upgrade duration 12100 and the two target upgrade durations (100 and 1200) to the vehicle end together.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for estimating an upgrade duration according to an exemplary embodiment of the present application. The cloud execution main body receives an upgrading request sent by the vehicle end, and gradually determines a plurality of target upgrading time lengths according to the number of the upgrading part and other information.
Firstly, the serial numbers of the upgrade parts and the hardware versions corresponding to the upgrade parts are used as matching information to carry out matching operation on the current software version and the target upgrade software version; if the matching is failed, the serial numbers of the upgrading parts are used as matching information for matching the current software version and the target upgrading software version; if the matching still fails, the serial numbers of the upgrading parts and the target upgrading software version are used as matching information to carry out matching operation; if the continuous matching fails, the number of the upgrading part is used as matching information to carry out matching operation so as to determine the preset duration of the spam and serve as the target upgrading duration corresponding to the upgrading part. If the matching operation is successful, the corresponding historical upgrading duration can be directly used as the target upgrading duration.
And finally, carrying out summation calculation on the target upgrading duration of each upgrading part to obtain the total estimated duration required by the upgrading request.
The embodiment sends the total upgrade time required by the upgrade request and the target upgrade time required by each upgrade part to the vehicle end together, so that the vehicle end clearly knows the time spent for upgrading each upgrade part and the total time spent in the upgrade process, and a user of the vehicle end is convenient to reasonably arrange the upgrade time.
In another exemplary embodiment of the present application, an application scenario of the above-mentioned multiple estimation methods is illustrated, and referring specifically to fig. 3, fig. 3 is a schematic diagram of an application scenario of an estimation method of an upgrade duration of the present application. The vehicle end 100, the cloud end 200 and the server 300 are connected through wireless communication, and the connection mode between the three ends is not limited in the application. The server 300 is disposed in the cloud 200.
The server 300 may perform the estimation method shown in any of the above exemplary embodiments, and exemplary descriptions are as follows:
The server 300 receives an upgrade request carrying the number of the upgrade part sent by the vehicle end 100; the server 300 detects whether the upgrade request carries other information corresponding to the upgrade part; wherein the other information comprises at least one of a hardware version corresponding to the upgrade part, a current software version and a target upgrade software version; if the server 300 detects that the matching is yes, the number and other information of the upgrade part are used as matching information to perform the matching operation, and the history upgrade duration of successful matching is used as the target upgrade duration of the upgrade part to be sent to the vehicle end 100.
The server 300 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, where a plurality of servers may form a blockchain, and the servers are nodes on the blockchain, and the server 300 may also be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs (Content Delivery Network, content delivery networks), and basic cloud computing services such as big data and artificial intelligent platforms, which are not limited in this respect.
In another aspect of the present application, an apparatus for estimating an upgrade duration is provided, as shown in fig. 4, and fig. 4 is a schematic structural diagram of an apparatus for estimating an upgrade duration according to an exemplary embodiment of the present application. The estimation device 400 includes:
The receiving module 410 is configured to receive an upgrade request carrying a number of an upgrade part sent by a vehicle end.
The detection module 430 is configured to detect whether the upgrade request carries other information corresponding to the upgrade part; wherein the other information comprises at least one of a hardware version corresponding to the upgrade part, a current software version and a target upgrade software version.
And the estimation module 450 is used for carrying out matching operation by taking the number of the upgrading part and other information as matching information if the number of the upgrading part is positive, and taking the history upgrading time length successfully matched as the target upgrading time length of the upgrading part to send to the vehicle end.
In an alternative manner, the detection module 430 further includes:
The detection unit is used for taking the preset upgrading duration as the target upgrading duration to be sent to the vehicle end if the fact that other information is not carried is detected; the preset upgrading time length is from a preset historical upgrading time length table.
In an alternative way, the estimation device 400 further comprises:
the table construction module is used for constructing a two-dimensional table by taking the serial number of the upgrading part as a first dimension and presetting the upgrading time length as a second dimension.
The recording module is used for recording the preset upgrading time length corresponding to the number of each upgrading part into the two-dimensional table so as to obtain a preset historical upgrading time length table.
In an alternative way, the estimation device 400 further comprises:
the matching module is used for matching the received upgrade information fed back by the vehicle end with preset matching information; the upgrade information carries actual upgrade time, and comprises the number of the upgraded part, the corresponding hardware version, the software version before upgrade and the software version after upgrade.
And the successful matching module is used for carrying out average calculation on the target upgrading time length and the actual upgrading time length if the matching is successful, and taking the calculated average upgrading time length as the updated historical upgrading time length.
In an alternative manner, the matching module further includes:
And the matching failure unit is used for taking the upgrading information as new preset matching information and taking the actual upgrading duration as the historical upgrading duration corresponding to the new preset matching information if the matching fails.
In an alternative, the number of upgrade parts is multiple; the estimation module 450 further includes:
the traversing unit is used for traversing the plurality of upgrading parts and taking the traversed upgrading parts as target upgrading parts.
The estimating unit is used for carrying out matching operation on the matching information corresponding to the target upgrading part and the preset matching information to obtain the historical upgrading duration corresponding to the successfully matched preset matching information so as to obtain the historical upgrading duration corresponding to each upgrading part.
In an alternative, the number of upgrade parts is multiple; the estimation module 450 further includes:
And the target upgrading time length determining unit is used for taking each successfully matched historical upgrading time length as the target upgrading time length of the corresponding upgrading part.
The computing unit is used for carrying out summation operation on each target upgrading duration and sending the calculated total upgrading duration and each target upgrading duration to the vehicle end.
According to the method, the estimation device does not need manual operation, the cloud end quickly matches the serial numbers of the upgrading parts according to other information in the received upgrading request to obtain historical upgrading duration, and the historical upgrading duration is used as a target upgrading duration corresponding to the upgrading parts; wherein the other information comprises at least one of a hardware version corresponding to the upgrade part, a current software version and a target upgrade software version. The estimation device takes the number of the upgrading part and at least one piece of other information as the matching information, and compared with the matching process of a single parameter, the estimation device increases the screening condition, thereby improving the matching accuracy and ensuring that the obtained target upgrading time is more accurate.
It should be noted that, the estimation device provided in the foregoing embodiment and the estimation method provided in the foregoing embodiment belong to the same concept, and the specific manner in which each module and unit perform the operation has been described in detail in the method embodiment, which is not repeated here.
Another aspect of the present application also provides an electronic device, including: a controller; and a memory for storing one or more programs which, when executed by the controller, perform the estimation method described above.
Referring to fig. 5, fig. 5 is a schematic diagram of a computer system of an electronic device according to an exemplary embodiment of the present application, which is suitable for implementing the electronic device according to the embodiment of the present application.
It should be noted that, the computer system 500 of the electronic device shown in fig. 5 is only an example, and should not impose any limitation on the functions and the application scope of the embodiments of the present application.
As shown in fig. 5, the computer system 500 includes a central processing unit (Central Processing Unit, CPU) 501, which can perform various appropriate actions and processes, such as performing the methods in the above-described embodiments, according to a program stored in a Read-Only Memory (ROM) 502 or a program loaded from a storage portion 508 into a random access Memory (Random Access Memory, RAM) 503. In the RAM 503, various programs and data required for the system operation are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other through a bus 504. An Input/Output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input section 506 including a keyboard, a mouse, and the like; an output portion 507 including a Cathode Ray Tube (CRT), a Liquid crystal display (Liquid CRYSTAL DISPLAY, LCD), and a speaker, etc.; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN (Local Area Network ) card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The drive 510 is also connected to the I/O interface 505 as needed. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as needed so that a computer program read therefrom is mounted into the storage section 508 as needed.
In particular, according to embodiments of the present application, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising a computer program for performing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 509, and/or installed from the removable media 511. When executed by a Central Processing Unit (CPU) 501, performs the various functions defined in the system of the present application.
It should be noted that, the computer readable medium shown in the embodiments of the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium may be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-Only Memory (ROM), an erasable programmable read-Only Memory (Erasable Programmable Read Only Memory, EPROM), a flash Memory, an optical fiber, a portable compact disc read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with a computer-readable computer program embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. A computer program embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. Where each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present application may be implemented by software, or may be implemented by hardware, and the described units may also be provided in a processor. Wherein the names of the units do not constitute a limitation of the units themselves in some cases.
Another aspect of the application also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of estimation as before. The computer-readable storage medium may be included in the electronic device described in the above embodiment or may exist alone without being incorporated in the electronic device.
Another aspect of the application also provides a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions so that the computer device performs the estimation methods provided in the respective embodiments described above.
According to an aspect of the embodiment of the present application, there is also provided a computer system including a central processing unit (Central Processing Unit, CPU) that can perform various appropriate actions and processes, such as performing the method in the above-described embodiment, according to a program stored in a Read-Only Memory (ROM) or a program loaded from a storage section into a random access Memory (Random Access Memory, RAM). In the RAM, various programs and data required for the system operation are also stored. The CPU, ROM and RAM are connected to each other by a bus. An Input/Output (I/O) interface is also connected to the bus.
The following components are connected to the I/O interface: an input section including a keyboard, a mouse, etc.; an output section including a Cathode Ray Tube (CRT), a Liquid crystal display (Liquid CRYSTAL DISPLAY, LCD), and a speaker; a storage section including a hard disk or the like; and a communication section including a network interface card such as a LAN (Local Area Network ) card, a modem, or the like. The communication section performs communication processing via a network such as the internet. The drives are also connected to the I/O interfaces as needed. Removable media such as magnetic disks, optical disks, magneto-optical disks, semiconductor memories, and the like are mounted on the drive as needed so that a computer program read therefrom is mounted into the storage section as needed.
The foregoing is merely illustrative of the preferred embodiments of the present application and is not intended to limit the embodiments of the present application, and those skilled in the art can easily make corresponding variations or modifications according to the main concept and spirit of the present application, so that the protection scope of the present application shall be defined by the claims.

Claims (10)

1. An estimation method of upgrade duration is characterized in that the estimation method is applied to a cloud, and the estimation method comprises the following steps:
Receiving an upgrading request carrying the number of the upgrading part sent by a vehicle end;
detecting whether the upgrading request carries other information corresponding to the upgrading part or not; wherein the other information comprises at least one of a hardware version corresponding to the upgrade part, a current software version and a target upgrade software version;
If so, carrying out matching operation by taking the number of the upgrading part and the other information as matching information, and taking the history upgrading time length successfully matched as the target upgrading time length of the upgrading part to send to the vehicle end.
2. The method for estimating according to claim 1, wherein said detecting whether the upgrade request carries other information corresponding to the upgrade part further comprises:
If the fact that the other information is not carried is detected, the preset upgrading duration is used as the target upgrading duration and is sent to the vehicle end; the preset upgrading time length is from a preset historical upgrading time length table.
3. The estimation method according to claim 2, characterized in that the estimation method further comprises:
Taking the serial number of the upgrading part as a first dimension, taking the preset upgrading time length as a second dimension, and constructing to obtain a two-dimensional table;
Recording preset upgrading time length corresponding to the number of each upgrading part into the two-dimensional table to obtain the preset historical upgrading time length table.
4. The estimation method according to claim 1, characterized in that the estimation method further comprises:
Matching the received upgrade information fed back by the vehicle end with preset matching information; the upgrade information carries actual upgrade time, and comprises the number of the upgraded part, the corresponding hardware version, the software version before upgrade and the software version after upgrade;
If the matching is successful, carrying out average calculation on the target upgrading time length and the actual upgrading time length, and taking the calculated average upgrading time length as the updated historical upgrading time length.
5. The estimation method according to claim 4, wherein the matching operation between the received upgrade information fed back by the vehicle end and preset matching information further includes:
If the matching fails, the upgrading information is used as new preset matching information, and the actual upgrading duration is used as the historical upgrading duration corresponding to the new preset matching information.
6. The estimation method according to any one of claims 1 to 5, characterized in that the number of the upgrade parts is plural; the step of performing matching operation by using the number of the upgrade part and the other information as matching information further comprises the steps of:
traversing the plurality of upgrading parts, and taking the traversed upgrading parts as target upgrading parts;
and matching the matching information corresponding to the target upgrading part with preset matching information to obtain the history upgrading duration corresponding to the successfully matched preset matching information, so as to obtain the history upgrading duration corresponding to each upgrading part.
7. The estimation method according to any one of claims 1 to 5, characterized in that the number of the upgrade parts is plural; the step of using the history upgrading time length successfully matched as the target upgrading time length of the upgrading part to send to the vehicle end, further comprises the steps of:
taking each successfully matched historical upgrading duration as a target upgrading duration of the corresponding upgrading part;
And carrying out summation operation on each target upgrading duration, and sending the calculated total upgrading duration and each target upgrading duration to the vehicle end.
8. An estimation device of upgrade duration is characterized in that the estimation device is applied to a cloud, and the estimation device comprises:
the receiving module is used for receiving an upgrading request which is sent by the vehicle end and carries the number of the upgrading part;
The detection module is used for detecting whether the upgrading request carries other information corresponding to the upgrading part; wherein the other information comprises at least one of a hardware version corresponding to the upgrade part, a current software version and a target upgrade software version;
And the estimation module is used for carrying out matching operation by taking the number of the upgrading part and the other information as matching information if the number of the upgrading part is positive, and taking the history upgrading time length successfully matched as the target upgrading time length of the upgrading part to send to the vehicle end.
9. An electronic device, comprising:
A controller;
a memory for storing one or more programs that, when executed by the controller, cause the controller to implement the estimation method of any one of claims 1 to 7.
10. A computer readable storage medium having stored thereon computer readable instructions which, when executed by a processor of a computer, cause the computer to perform the estimation method of any of claims 1 to 7.
CN202311734068.8A 2023-12-15 2023-12-15 Upgrade duration estimation method and device, electronic equipment and storage medium Pending CN118132106A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311734068.8A CN118132106A (en) 2023-12-15 2023-12-15 Upgrade duration estimation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311734068.8A CN118132106A (en) 2023-12-15 2023-12-15 Upgrade duration estimation method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN118132106A true CN118132106A (en) 2024-06-04

Family

ID=91244707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311734068.8A Pending CN118132106A (en) 2023-12-15 2023-12-15 Upgrade duration estimation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN118132106A (en)

Similar Documents

Publication Publication Date Title
CN108683539B (en) Block chain network management method, block chain network management device, block chain network management medium and electronic equipment
US20050144261A1 (en) Selective update of console parameters from other consoles
CN106549810A (en) Cloud service platform redaction issues front method of testing, device and system
CN106874135B (en) Method, device and equipment for detecting machine room fault
CN111221727B (en) Test method, test device, electronic equipment and computer readable medium
CN105704241A (en) Client terminal program updating method and system and a service platform
CN111338869B (en) Configuration parameter management method, device, equipment and storage medium
CN107403112B (en) Data checking method and equipment thereof
CN114185900B (en) Service data processing method, device, computer equipment and storage medium
CN114626683A (en) Product update message notification method and device based on RPA and AI and electronic equipment
CN118132106A (en) Upgrade duration estimation method and device, electronic equipment and storage medium
CN109597819B (en) Method and apparatus for updating a database
CN112306041A (en) Vehicle configuration information writing method and device and electronic equipment
CN115454851A (en) Interface regression testing method and device, storage medium and electronic device
CN114860615A (en) Rule automatic testing method and device, electronic equipment and storage medium
CN114356781A (en) Software function testing method and device
CN113094415B (en) Data extraction method, data extraction device, computer readable medium and electronic equipment
CN109218452B (en) Method and device for pushing node information
CN107070742B (en) Service server health state checking method and system
CN113297053A (en) Method and device for determining test coverage rate and storage medium
CN117176551A (en) Service request feedback method and device and computer readable storage medium
CN116957402A (en) Target defect-based processing method and device and computer readable storage medium
AU2019222794A1 (en) Method and system for testing and validation of cryptographic algorithms
CN114722061B (en) Data processing method and device, equipment and computer readable storage medium
CN110750444B (en) Application program handover method, apparatus, computer device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination