CN114385210A - Method, device and equipment for generating upgrade log and storage medium - Google Patents

Method, device and equipment for generating upgrade log and storage medium Download PDF

Info

Publication number
CN114385210A
CN114385210A CN202210028224.8A CN202210028224A CN114385210A CN 114385210 A CN114385210 A CN 114385210A CN 202210028224 A CN202210028224 A CN 202210028224A CN 114385210 A CN114385210 A CN 114385210A
Authority
CN
China
Prior art keywords
vehicle
target
upgrading
upgraded
log
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
CN202210028224.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.)
FAW Group Corp
Original Assignee
FAW Group Corp
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 FAW Group Corp filed Critical FAW Group Corp
Priority to CN202210028224.8A priority Critical patent/CN114385210A/en
Publication of CN114385210A publication Critical patent/CN114385210A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The invention discloses an upgrade log generation method, device, equipment and storage medium. The method comprises the following steps: receiving an upgrading result sent by a vehicle to be upgraded, and displaying the upgrading result on an upgrading result display interface; if the vehicle to be upgraded is determined to be an abnormal vehicle for upgrading according to the upgrading result and the selection operation of a user on a target log exporting control on the upgrading result display interface is detected, determining a target vehicle according to the target log exporting control and sending an upgrading log reporting instruction to the target vehicle so that the target vehicle generates a target upgrading log file according to the log reporting instruction; by the technical scheme, the time cost of problem analysis when the remote upgrading of the automobile fails can be reduced, and the necessary link for determining problems on the site of the automobile is omitted.

Description

Method, device and equipment for generating upgrade log and storage medium
Technical Field
The embodiment of the invention relates to the technical field of vehicles, in particular to an upgrade log generation method, device, equipment and storage medium.
Background
The remote upgrading of the automobile software is realized by the cooperation of the automobile end component and the cloud management system. When the automobile remote upgrading task is deployed, the cloud management system issues the upgrading task, and the automobile end receives the upgrading task and carries out upgrading after the user allows the upgrading task. The state of the remote upgrading of the automobile is recorded by the automobile end upgrading component, and is reported to the cloud management system by the management node of the automobile end.
If unexpected situations occur during remote upgrading of the automobile, an engineer needs to arrive at the automobile field to export an upgrading log so as to judge problems.
Disclosure of Invention
The embodiment of the invention provides an upgrade log generation method, an upgrade log generation device and a storage medium, which are used for solving the problem that a vehicle-end log cannot be remotely analyzed if unexpected conditions occur in the remote upgrade process of an automobile, reducing the time cost of problem analysis when the remote upgrade of the automobile fails and avoiding a necessary link for determining problems when the automobile arrives at a vehicle site.
In a first aspect, an embodiment of the present invention provides an upgrade log generation method, including:
receiving an upgrading result sent by a vehicle to be upgraded, and displaying the upgrading result on an upgrading result display interface;
if the vehicle to be upgraded is determined to be an abnormal vehicle for upgrading according to the upgrading result and the selection operation of a user on a target log exporting control on the upgrading result display interface is detected, determining a target vehicle according to the target log exporting control and sending an upgrading log reporting instruction to the target vehicle so that the target vehicle generates a target upgrading log file according to the log reporting instruction;
and receiving a target upgrading log file sent by the target vehicle.
Further, before receiving an upgrade result sent by a vehicle to be upgraded and displaying the upgrade result on an upgrade result display interface, the method further includes:
sending an upgrading task to a vehicle to be upgraded, and receiving a controller version number sent by the vehicle to be upgraded;
if the controller version number of the vehicle to be upgraded is different from the target version number, sending a downloading instruction to the vehicle to be upgraded;
and if a download confirmation signal sent by the vehicle to be upgraded is received, sending the software package corresponding to the target version number to the vehicle to be upgraded.
Further, after receiving the target upgrade log file sent by the target vehicle, the method further includes:
and determining reminding information according to the feedback information corresponding to the target interface in the target upgrading log file, and displaying the reminding information.
Further, determining reminding information according to feedback information corresponding to a target interface in the target upgrade log file, and displaying the reminding information, including:
obtaining upgrading failure time;
screening feedback information corresponding to a target interface from the target upgrading log file according to the upgrading failure time;
and determining reminding information according to the feedback information corresponding to the target interface, and displaying the reminding information.
Further, determining the reminding information according to the feedback information corresponding to the target interface includes:
and if the feedback information corresponding to the target interface is empty or the feedback information corresponding to the target interface is failure information, determining that the controller sending the feedback information has a fault.
Further, if the feedback information corresponding to the target interface is empty or the feedback information corresponding to the target interface is failure information, determining that the controller that sends the feedback information has a failure, including:
and if the feedback information corresponding to the target interface is empty or the feedback information corresponding to the target interface is failure information, determining the feedback time delay of the controller for sending the feedback information.
In a second aspect, an embodiment of the present invention further provides an upgrade log generation apparatus, where the apparatus includes:
the first receiving module is used for receiving an upgrading result sent by a vehicle to be upgraded and displaying the upgrading result on an upgrading result display interface;
the determining module is used for determining a target vehicle according to the target log export control and sending an upgrade log reporting instruction to the target vehicle so that the target vehicle generates a target upgrade log file according to the log reporting instruction if the vehicle to be upgraded is determined to be an abnormal upgrade vehicle according to the upgrade result and the selection operation of a user on the target log export control on the upgrade result display interface is detected;
and the second receiving module is used for receiving the target upgrading log file sent by the target vehicle.
Further, the method also comprises the following steps:
sending an upgrading task to a vehicle to be upgraded, and receiving a controller version number sent by the vehicle to be upgraded;
the first sending module is used for sending a downloading instruction to the vehicle to be upgraded if the controller version number of the vehicle to be upgraded is different from the target version number before the upgrading result sent by the vehicle to be upgraded is received and displayed on an upgrading result display interface;
and the second sending module is used for sending the software package corresponding to the target version number to the vehicle to be upgraded if receiving the download confirmation signal sent by the vehicle to be upgraded.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the upgrade log generation method according to any one of the embodiments of the present invention.
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the upgrade log generation method according to any one of the embodiments of the present invention.
The method comprises the steps of receiving an upgrading result sent by a vehicle to be upgraded, and displaying the upgrading result on an upgrading result display interface; if the vehicle to be upgraded is determined to be an abnormal vehicle for upgrading according to the upgrading result and the selection operation of a user on a target log exporting control on the upgrading result display interface is detected, determining a target vehicle according to the target log exporting control and sending an upgrading log reporting instruction to the target vehicle so that the target vehicle generates a target upgrading log file according to the log reporting instruction; and receiving the target upgrading log file sent by the target vehicle, solving the problem that the vehicle-end log cannot be remotely analyzed if unexpected conditions occur in the remote upgrading process of the vehicle, reducing the time cost of problem analysis when the remote upgrading of the vehicle fails, and avoiding the necessary link for determining the problem on the vehicle site.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a flow chart of a method for generating an upgrade log in an embodiment of the present invention;
FIG. 1a is a schematic diagram of an implementation of remote export of OTA upgrade logs for a vehicle in an embodiment of the invention;
FIG. 1b is a flow diagram for remote export of a vehicle OTA upgrade log in an embodiment of the invention;
FIG. 2 is a schematic structural diagram of an upgrade log generation apparatus in an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device in an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer-readable storage medium containing a computer program in an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures. In addition, the embodiments and features of the embodiments in the present invention may be combined with each other without conflict.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like. In addition, the embodiments and features of the embodiments in the present invention may be combined with each other without conflict.
The term "include" and variations thereof as used herein are intended to be open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment".
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Fig. 1 is a flowchart of an upgrade log generation method provided in an embodiment of the present invention, where this embodiment is applicable to a case of generating an upgrade log, and the method may be executed by an upgrade log generation apparatus in an embodiment of the present invention, where the upgrade log generation apparatus may be implemented in a software and/or hardware manner, as shown in fig. 1, the upgrade log generation method specifically includes the following steps:
and S110, receiving an upgrading result sent by the vehicle to be upgraded, and displaying the upgrading result on an upgrading result display interface.
In this embodiment, the vehicle to be upgraded refers to a vehicle with a software version to be upgraded. The upgrade task refers to upgrading the software version of the vehicle to be upgraded. The upgrade result may be the software version number after the upgrade is successful, or may be a popup notification indicating whether the upgrade is successful.
The cloud management system sends an upgrade task to the vehicle to be upgraded, the vehicle to be upgraded feeds an upgrade result back to the cloud management system after finishing the upgrade task, and the cloud management system receives a popup notification indicating whether the vehicle to be upgraded is successfully upgraded or a software version number after the vehicle to be upgraded is successfully upgraded.
And S120, if the vehicle to be upgraded is determined to be an abnormal upgrading vehicle according to the upgrading result and the selection operation of the user on a target log exporting control on the upgrading result display interface is detected, determining a target vehicle according to the target log exporting control and sending an upgrading log reporting instruction to the target vehicle so that the target vehicle generates a target upgrading log file according to the log reporting instruction.
Specifically, the mode of determining that the vehicle to be upgraded is an abnormal vehicle to be upgraded according to the upgrade result may be: if the upgrading result is upgrading failure, determining that the vehicle to be upgraded is an upgrading abnormal vehicle; the mode of determining that the vehicle to be upgraded is an abnormal vehicle to be upgraded according to the upgrading result can also be as follows: if the upgrading result carries an abnormal identifier, determining that the vehicle to be upgraded is an upgrading abnormal vehicle; the embodiments of the present invention are not limited in this regard.
Specifically, the mode of detecting the selection operation of the user on the target log export control on the upgrade result display interface may be: a user clicks a target log export control on an upgrade result display interface; a control can also be exported for a target log triggered by a user in a voice mode on an upgrading result display interface; or the target log export control on the upgrade result display interface may be triggered by a user through a gesture, which is not limited in the embodiment of the present invention.
Specifically, the method for determining the target vehicle according to the target log export control may be: and corresponding log export controls are arranged behind the upgrade display result corresponding to each vehicle on the upgrade result display interface, and the target vehicle corresponding to the target log export control is determined according to the target log export control touched by the user. For example, the upgrade result display interface may display: and if the log export control a is triggered by the user, the target vehicle is determined to be the vehicle A.
And S130, receiving a target upgrading log file sent by the target vehicle.
Optionally, before receiving an upgrade result sent by a vehicle to be upgraded and displaying the upgrade result on an upgrade result display interface, the method further includes:
sending an upgrading task to a vehicle to be upgraded, and receiving a controller version number sent by the vehicle to be upgraded;
if the controller version number of the vehicle to be upgraded is different from the target version number, sending a downloading instruction to the vehicle to be upgraded;
and if a download confirmation signal sent by the vehicle to be upgraded is received, sending the software package corresponding to the target version number to the vehicle to be upgraded.
Wherein, the upgrading task information comprises: the method comprises the steps of task name, release deadline, vehicle type configuration of the vehicle to be upgraded, target version number, software package, location of the vehicle to be upgraded and upgrading strategy of the vehicle to be upgraded.
Illustratively, the task name refers to a name of an upgrade task, and may be, for example, a software version upgrade or a version update. The deadline for publication refers to the deadline for the validity of the upgrade task that is published, and may be, for example, 10 months, 31 days, 24:00, 2021. The vehicle type configuration of the vehicle to be upgraded refers to the vehicle type and configuration of the vehicle to be upgraded, the vehicle type can be a small vehicle type, a medium vehicle type or a high-grade vehicle type, and the configuration can be the wheel base, the maximum power of an engine and the oil consumption of the vehicle.
It should be noted that the target version number refers to a version number of a new version to which the current version number of the vehicle to be upgraded can be upgraded. The software package refers to an installation package of software corresponding to the target version number.
It should be explained that the vehicle upgrading strategy to be upgraded refers to a strategy for upgrading a vehicle to be upgraded, and for example, the vehicle upgrading strategy may be used for upgrading the vehicle to be upgraded in terms of speed, handbrake, safety information, and the like.
In the actual operation process, the cloud management system acquires the upgrading task information, constructs an upgrading task according to the upgrading task information and sends the upgrading task to the vehicle to be upgraded.
It should be explained that the controller version number refers to the version number of the controller before the vehicle to be upgraded is upgraded.
In the actual operation process, the cloud management system sends an upgrade task to a vehicle to be upgraded, after the vehicle to be upgraded is powered on, a remote communication module TBOX (Telematics BOX, a vehicle-mounted internet terminal, namely an automobile BOX) is awakened, after certificate authentication is passed, the vehicle is communicated with the cloud management system, and the version number of the controller is reported every 5 minutes. When the engine is not started, the cloud management system obtains the version number of the whole vehicle controller according to the cache, and after the engine is started, the gateway automatically collects the version of the whole vehicle and updates the cache.
And if the controller version number of the vehicle to be upgraded is different from the target version number, sending a downloading instruction to the vehicle to be upgraded.
In this embodiment, the download instruction refers to an instruction sent by the cloud management system to the vehicle to be upgraded to download the software package of the upgrade task.
The cloud management system sends an upgrading task to a vehicle to be upgraded, receives a controller version number sent by the vehicle to be upgraded, compares whether the controller version number sent by the vehicle to be upgraded is the same as a target version number or not, and sends a downloading instruction to the vehicle to be upgraded if the controller version number of the vehicle to be upgraded is different from the target version number; if the two are the same, no processing is performed.
And if a download confirmation signal sent by the vehicle to be upgraded is received, sending the software package corresponding to the target version number to the vehicle to be upgraded.
Illustratively, the download confirmation signal may be a confirmation signal generated after the user clicks the "yes" selection button in the download popup message.
And if the cloud management system receives a download confirmation signal sent by the vehicle to be upgraded, sending the software package corresponding to the target version number to the vehicle to be upgraded for upgrading. If the automatic updating button is opened, the vehicle to be upgraded can automatically reply a download confirmation signal to the cloud management system, and then starts to download. If the Vehicle to be upgraded does not start automatic updating, the cloud management system sends the download popup information to a Vehicle terminal TBOX (tunnel portal object box), the TBOX transmits the download popup information to an IVI (In-Vehicle information, a host screen), and after the Vehicle to be upgraded displays the download popup information, a user clicks 'yes' to confirm downloading. The download complete dmclient (download manager) receives the differential restore complete signal and issues an install popup prompt. And popping up an installation prompt window for the vehicle to be upgraded, and allowing a user to select 3 modes of immediate upgrade, reserved upgrade and off-vehicle upgrade for installation.
Optionally, after receiving the target upgrade log file sent by the target vehicle, the method further includes:
and determining reminding information according to the feedback information corresponding to the target interface in the target upgrading log file, and displaying the reminding information.
Specifically, the method for determining the reminding information according to the feedback information corresponding to the target interface in the target upgrade log file and displaying the reminding information may be as follows: obtaining upgrading failure time; screening feedback information corresponding to a target interface from the target upgrading log file according to the upgrading failure time; and determining reminding information according to the feedback information corresponding to the target interface, and displaying the reminding information. For example, if the feedback information corresponding to the target interface is empty or the feedback information corresponding to the target interface is failure information, it may be determined that the controller that transmits the feedback information has failed. Or, if the feedback information corresponding to the target interface is empty or the feedback information corresponding to the target interface is failure information, determining a feedback time delay of a controller that sends the feedback information.
Optionally, determining a prompting message according to the feedback information corresponding to the target interface in the target upgrade log file, and displaying the prompting message, including:
obtaining upgrading failure time;
screening feedback information corresponding to a target interface from the target upgrading log file according to the upgrading failure time;
and determining reminding information according to the feedback information corresponding to the target interface, and displaying the reminding information.
The method for acquiring the upgrade failure time may be as follows: if the vehicle upgrading fails, the vehicle sends upgrading failure information to the cloud, and the cloud receives the upgrading failure information, wherein the upgrading failure information comprises: time of failure of upgrade.
Specifically, the method for screening the feedback information corresponding to the target interface from the target upgrade log file according to the upgrade failure time may be as follows: the feedback information of the time point near the upgrade failure time corresponding to the target interface is screened from the target upgrade log file, for example, if the upgrade failure time is 2 pm and 10 pm on 21 years, 10 months, 19 days, the time point is 10 am and 10 pm on 21 years, 10 months, 19 days, 6 pm and 10 pm on 21 years, 10 months, 19 days, and the time point is screened from the target upgrade log file.
Specifically, the manner of determining the reminding information according to the feedback information corresponding to the target interface may be: if the feedback information corresponding to the target interface is empty or the feedback information corresponding to the target interface is failure information, determining that a controller sending the feedback information fails; the method for determining the reminding information according to the feedback information corresponding to the target interface can also be as follows: and if the feedback information corresponding to the target interface is empty or the feedback information corresponding to the target interface is failure information, determining the feedback time delay of the controller for sending the feedback information. The embodiments of the present invention are not limited in this regard.
Optionally, determining the reminding information according to the feedback information corresponding to the target interface includes:
and if the feedback information corresponding to the target interface is empty or the feedback information corresponding to the target interface is failure information, determining that the controller sending the feedback information has a fault.
Specifically, if the feedback information corresponding to the target interface is empty, determining that the controller sending the feedback information has a fault; or if the feedback information corresponding to the target interface is failure information, determining that the controller sending the feedback information fails.
Optionally, if the feedback information corresponding to the target interface is empty or the feedback information corresponding to the target interface is failure information, determining that the controller that sends the feedback information has a failure, including:
and if the feedback information corresponding to the target interface is empty or the feedback information corresponding to the target interface is failure information, determining the feedback time delay of the controller for sending the feedback information.
Specifically, if the feedback information corresponding to the target interface is empty, determining the feedback time delay of the controller sending the feedback information; or if the feedback information corresponding to the target interface is failure information, determining the feedback time delay of the controller sending the feedback information.
In a specific example, as shown in fig. 1a and 1b, in order to solve the problem that the vehicle-side log cannot be remotely analyzed if an unexpected situation occurs during the remote upgrade process of the vehicle, a method for remotely exporting the vehicle upgrade log is provided, which specifically includes the following steps:
step 1: and setting remote log export interfaces for the cloud management system and the vehicle-end remote upgrading component. The cloud end is provided with a button for obtaining the remote upgrading log of the vehicle end, and the log storage space of the vehicle end is reserved at the cloud end.
Step 2: and selecting 100 vehicles in the cloud management system to deploy remote upgrading tasks. The upgrading time and the upgrading place are established through the cloud management system, the VIN of the upgraded vehicle is imported, and the tasks are pushed after judging conditions such as gears, the speed, the hand brake and the battery power are selected when the vehicle is upgraded. And after the vehicle is powered on, the task starts to be issued to the vehicle end.
And step 3: after a vehicle to be upgraded is powered on, an OTA (remote upgrade) vehicle end main control node TBOX (remote communication module) is awakened, after certificate authentication is passed, communication is carried out with an OTA cloud, and the whole vehicle software version is reported every 5 minutes.
And 4, step 4: and the OTA cloud task starts to run after the vehicle end is awakened, and version comparison is carried out according to the version number reported by the vehicle end. If the current vehicle end version is different from the software version to be upgraded, upgrading is carried out, and if the current vehicle end version is the same as the software version to be upgraded, the successful upgrading is directly displayed.
And 5: and the cloud end identifies that the version of the vehicle end is different from the target version, and sends a request downloading instruction to the vehicle end. If the automatic updating button is started, the vehicle end can automatically reply a download confirmation signal to the cloud end, and then the vehicle end starts downloading. If the vehicle end does not start automatic updating, the cloud end can send a pop-up window downloading instruction to the vehicle end TBOX, the TBOX transmits the pop-up window downloading instruction to an IVI (human-computer interaction interface), and after the vehicle end downloads the prompt pop-up window, a user clicks to confirm and then starts downloading.
And 8: and the download manager receives the download completion signal and issues a popup installation prompt.
And step 9: the car end pops up the installation suggestion window, and the user can select: and 3 modes of immediate upgrading, reserved upgrading and off-vehicle upgrading are provided.
Step 10: and the vehicle end finishes updating and reports the updated state to the cloud end, and the cloud end records the upgrading state.
Step 11: and selecting the vehicle with abnormal upgrading, and clicking a remote log export button of the cloud management system.
Step 12: the vehicle end receives a remote export command issued by the cloud end through the remote log export interface, packages the vehicle remote upgrade logs, uniformly packages the vehicle remote upgrade logs and uploads the vehicle remote upgrade logs to the cloud end management system.
Step 13: and after the vehicle end uploads the remote upgrading log, sending an uploading ending command. And the cloud end can download the remote upgrading log to the computer end after receiving the ending command.
Step 14: and analyzing the log of the remote upgrade at the computer end, positioning the reason of the upgrade failure and carrying out real-time processing.
According to the method, remote log export interfaces are added to a cloud management system and a vehicle end main control node at the same time, when the cloud determines that the vehicle fails to be upgraded remotely, a remote log export instruction is issued, the vehicle end packages and uploads the log after receiving the instruction, the vehicle end sends an end instruction after uploading is completed, the cloud management system can download all logs of the vehicle which fails to be upgraded, and technicians can quickly locate the problems and solve the problems in real time.
According to the method, remote log export interfaces are added to a cloud management system and a vehicle end main control node at the same time, when the cloud determines that the vehicle fails to be upgraded remotely, a remote log export instruction is issued, the vehicle end packages and uploads the log after receiving the instruction, the vehicle end sends an end instruction after uploading is completed, the cloud management system can download all logs of the vehicle which fails to be upgraded, and technicians can quickly locate the problems and solve the problems in real time.
According to the technical scheme of the embodiment, the upgrading result sent by the vehicle to be upgraded is received, and the upgrading result is displayed on the upgrading result display interface; if the vehicle to be upgraded is determined to be an abnormal vehicle for upgrading according to the upgrading result and the selection operation of a user on a target log exporting control on the upgrading result display interface is detected, determining a target vehicle according to the target log exporting control and sending an upgrading log reporting instruction to the target vehicle so that the target vehicle generates a target upgrading log file according to the log reporting instruction; and receiving the target upgrading log file sent by the target vehicle, solving the problem that the vehicle-end log cannot be remotely analyzed if unexpected conditions occur in the remote upgrading process of the vehicle, reducing the time cost of problem analysis when the remote upgrading of the vehicle fails, and avoiding the necessary link for determining the problem on the vehicle site.
Fig. 2 is a schematic structural diagram of an upgrade log generation apparatus according to an embodiment of the present invention. The present embodiment may be applicable to the case of generating an upgrade log, where the apparatus may be implemented in a software and/or hardware manner, and the apparatus may be integrated in any device providing an upgrade log generating function, as shown in fig. 2, where the upgrade log generating apparatus specifically includes: a first receiving module 210, a determining module 220, and a second receiving module 230.
The first receiving module is used for receiving an upgrading result sent by a vehicle to be upgraded and displaying the upgrading result on an upgrading result display interface;
the determining module is used for determining a target vehicle according to the target log export control and sending an upgrade log reporting instruction to the target vehicle so that the target vehicle generates a target upgrade log file according to the log reporting instruction if the vehicle to be upgraded is determined to be an abnormal upgrade vehicle according to the upgrade result and the selection operation of a user on the target log export control on the upgrade result display interface is detected;
and the second receiving module is used for receiving the target upgrading log file sent by the target vehicle.
Optionally, the method further includes:
sending an upgrading task to a vehicle to be upgraded, and receiving a controller version number sent by the vehicle to be upgraded;
the first sending module is used for sending a downloading instruction to the vehicle to be upgraded if the controller version number of the vehicle to be upgraded is different from the target version number before the upgrading result sent by the vehicle to be upgraded is received and displayed on an upgrading result display interface;
and the second sending module is used for sending the software package corresponding to the target version number to the vehicle to be upgraded if receiving the download confirmation signal sent by the vehicle to be upgraded.
The product can execute the method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
According to the technical scheme of the embodiment, the upgrading result sent by the vehicle to be upgraded is received, and the upgrading result is displayed on the upgrading result display interface; if the vehicle to be upgraded is determined to be an abnormal vehicle for upgrading according to the upgrading result and the selection operation of a user on a target log exporting control on the upgrading result display interface is detected, determining a target vehicle according to the target log exporting control and sending an upgrading log reporting instruction to the target vehicle so that the target vehicle generates a target upgrading log file according to the log reporting instruction; and receiving the target upgrading log file sent by the target vehicle, solving the problem that the vehicle-end log cannot be remotely analyzed if unexpected conditions occur in the remote upgrading process of the vehicle, reducing the time cost of problem analysis when the remote upgrading of the vehicle fails, and avoiding the necessary link for determining the problem on the vehicle site.
Fig. 3 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention. FIG. 3 illustrates a block diagram of an electronic device 312 suitable for use in implementing embodiments of the present invention. The electronic device 312 shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of the use of the embodiment of the present invention. Device 312 is a computing device for typical trajectory fitting functions.
As shown in fig. 3, electronic device 312 is in the form of a general purpose computing device. The components of the electronic device 312 may include, but are not limited to: one or more processors 316, a storage device 328, and a bus 318 that couples the various system components including the storage device 328 and the processors 316.
Bus 318 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
Electronic device 312 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 312 and includes both volatile and nonvolatile media, removable and non-removable media.
Storage 328 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 330 and/or cache Memory 332. The electronic device 312 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 334 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 3, and commonly referred to as a "hard drive"). Although not shown in FIG. 3, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk-Read Only Memory (CD-ROM), a Digital Video disk (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 318 by one or more data media interfaces. Storage 328 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
Program 336 having a set (at least one) of program modules 326 may be stored, for example, in storage 328, such program modules 326 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which may comprise an implementation of a network environment, or some combination thereof. Program modules 326 generally carry out the functions and/or methodologies of embodiments of the invention as described herein.
Electronic device 312 may also communicate with one or more external devices 314 (e.g., keyboard, pointing device, camera, display 324, etc.), with one or more devices that enable a user to interact with electronic device 312, and/or with any devices (e.g., network card, modem, etc.) that enable electronic device 312 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 322. Also, the electronic device 312 may communicate with one or more networks (e.g., a Local Area Network (LAN), Wide Area Network (WAN), and/or a public Network, such as the internet) via the Network adapter 320. As shown, a network adapter 320 communicates with the other modules of the electronic device 312 via the bus 318. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 312, including but not limited to: microcode, device drivers, Redundant processing units, external disk drive Arrays, disk array (RAID) systems, tape drives, and data backup storage systems, to name a few.
The processor 316 executes various functional applications and data processing by executing programs stored in the storage 328, for example, implementing the upgrade log generation method provided by the above-described embodiment of the present invention:
receiving an upgrading result sent by a vehicle to be upgraded, and displaying the upgrading result on an upgrading result display interface;
if the vehicle to be upgraded is determined to be an abnormal vehicle for upgrading according to the upgrading result and the selection operation of a user on a target log exporting control on the upgrading result display interface is detected, determining a target vehicle according to the target log exporting control and sending an upgrading log reporting instruction to the target vehicle so that the target vehicle generates a target upgrading log file according to the log reporting instruction;
and receiving a target upgrading log file sent by the target vehicle.
Fig. 4 is a schematic structural diagram of a computer-readable storage medium containing a computer program according to an embodiment of the present invention. Embodiments of the present invention provide a computer-readable storage medium 61, on which a computer program 610 is stored, which when executed by one or more processors implements the method for generating an upgrade log as provided in all embodiments of the invention of the present application:
receiving an upgrading result sent by a vehicle to be upgraded, and displaying the upgrading result on an upgrading result display interface;
if the vehicle to be upgraded is determined to be an abnormal vehicle for upgrading according to the upgrading result and the selection operation of a user on a target log exporting control on the upgrading result display interface is detected, determining a target vehicle according to the target log exporting control and sending an upgrading log reporting instruction to the target vehicle so that the target vehicle generates a target upgrading log file according to the log reporting instruction;
and receiving a target upgrading log file sent by the target vehicle.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: 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 (EPROM or 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.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. 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.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (Hyper Text Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart 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 disclosure. In this regard, 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 and/or flowchart illustration, and combinations of blocks in the block diagrams and/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 described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on 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 (EPROM or 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.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. An upgrade log generation method, comprising:
receiving an upgrading result sent by a vehicle to be upgraded, and displaying the upgrading result on an upgrading result display interface;
if the vehicle to be upgraded is determined to be an abnormal vehicle for upgrading according to the upgrading result and the selection operation of a user on a target log exporting control on the upgrading result display interface is detected, determining a target vehicle according to the target log exporting control and sending an upgrading log reporting instruction to the target vehicle so that the target vehicle generates a target upgrading log file according to the log reporting instruction;
and receiving a target upgrading log file sent by the target vehicle.
2. The method of claim 1, wherein before receiving an upgrade result sent by a vehicle to be upgraded and displaying the upgrade result on an upgrade result display interface, the method further comprises:
sending an upgrading task to a vehicle to be upgraded, and receiving a controller version number sent by the vehicle to be upgraded;
if the controller version number of the vehicle to be upgraded is different from the target version number, sending a downloading instruction to the vehicle to be upgraded;
and if a download confirmation signal sent by the vehicle to be upgraded is received, sending the software package corresponding to the target version number to the vehicle to be upgraded.
3. The method of claim 1, further comprising, after receiving the target upgrade log file transmitted by the target vehicle:
and determining reminding information according to the feedback information corresponding to the target interface in the target upgrading log file, and displaying the reminding information.
4. The method of claim 3, wherein determining a reminder according to the feedback information corresponding to the target interface in the target upgrade log file, and displaying the reminder comprises:
obtaining upgrading failure time;
screening feedback information corresponding to a target interface from the target upgrading log file according to the upgrading failure time;
and determining reminding information according to the feedback information corresponding to the target interface, and displaying the reminding information.
5. The method of claim 4, wherein determining the reminding information according to the feedback information corresponding to the target interface comprises:
and if the feedback information corresponding to the target interface is empty or the feedback information corresponding to the target interface is failure information, determining that the controller sending the feedback information has a fault.
6. The method of claim 5, wherein if the feedback information corresponding to the target interface is empty or the feedback information corresponding to the target interface is failure information, determining that a controller that sends the feedback information has a failure comprises:
and if the feedback information corresponding to the target interface is empty or the feedback information corresponding to the target interface is failure information, determining the feedback time delay of the controller for sending the feedback information.
7. An upgrade log generation apparatus, comprising:
the first receiving module is used for receiving an upgrading result sent by a vehicle to be upgraded and displaying the upgrading result on an upgrading result display interface;
the determining module is used for determining a target vehicle according to the target log export control and sending an upgrade log reporting instruction to the target vehicle so that the target vehicle generates a target upgrade log file according to the log reporting instruction if the vehicle to be upgraded is determined to be an abnormal upgrade vehicle according to the upgrade result and the selection operation of a user on the target log export control on the upgrade result display interface is detected;
and the second receiving module is used for receiving the target upgrading log file sent by the target vehicle.
8. The apparatus of claim 7, further comprising:
sending an upgrading task to a vehicle to be upgraded, and receiving a controller version number sent by the vehicle to be upgraded;
the first sending module is used for sending a downloading instruction to the vehicle to be upgraded if the controller version number of the vehicle to be upgraded is different from the target version number before the upgrading result sent by the vehicle to be upgraded is received and displayed on an upgrading result display interface;
and the second sending module is used for sending the software package corresponding to the target version number to the vehicle to be upgraded if receiving the download confirmation signal sent by the vehicle to be upgraded.
9. An electronic device, comprising:
one or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the processors to implement the method of any of claims 1-6.
10. A computer-readable storage medium containing a computer program, on which the computer program is stored, characterized in that the program, when executed by one or more processors, implements the method according to any one of claims 1-6.
CN202210028224.8A 2022-01-11 2022-01-11 Method, device and equipment for generating upgrade log and storage medium Pending CN114385210A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210028224.8A CN114385210A (en) 2022-01-11 2022-01-11 Method, device and equipment for generating upgrade log and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210028224.8A CN114385210A (en) 2022-01-11 2022-01-11 Method, device and equipment for generating upgrade log and storage medium

Publications (1)

Publication Number Publication Date
CN114385210A true CN114385210A (en) 2022-04-22

Family

ID=81202238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210028224.8A Pending CN114385210A (en) 2022-01-11 2022-01-11 Method, device and equipment for generating upgrade log and storage medium

Country Status (1)

Country Link
CN (1) CN114385210A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114980073A (en) * 2022-05-26 2022-08-30 重庆长安汽车股份有限公司 Vehicle OTA state intelligent analysis processing method, system and storage medium
CN115277780A (en) * 2022-07-30 2022-11-01 重庆长安汽车股份有限公司 Vehicle-end log obtaining method and device, electronic equipment and computer-readable storage medium
CN116094908A (en) * 2023-01-17 2023-05-09 中国第一汽车股份有限公司 Log file storage method, device, equipment and storage medium
CN116449810A (en) * 2023-06-20 2023-07-18 一汽解放汽车有限公司 Fault detection method and device, electronic equipment and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114980073A (en) * 2022-05-26 2022-08-30 重庆长安汽车股份有限公司 Vehicle OTA state intelligent analysis processing method, system and storage medium
CN115277780A (en) * 2022-07-30 2022-11-01 重庆长安汽车股份有限公司 Vehicle-end log obtaining method and device, electronic equipment and computer-readable storage medium
CN115277780B (en) * 2022-07-30 2023-11-14 重庆长安汽车股份有限公司 Method and device for acquiring vehicle-end log, electronic equipment and storage medium
CN116094908A (en) * 2023-01-17 2023-05-09 中国第一汽车股份有限公司 Log file storage method, device, equipment and storage medium
CN116449810A (en) * 2023-06-20 2023-07-18 一汽解放汽车有限公司 Fault detection method and device, electronic equipment and storage medium
CN116449810B (en) * 2023-06-20 2023-08-29 一汽解放汽车有限公司 Fault detection method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN114385210A (en) Method, device and equipment for generating upgrade log and storage medium
US9715378B2 (en) Automated software update scheduling
US20230012366A1 (en) Error-resilient over-the-air software updates for vehicles
CN112099829B (en) Vehicle upgrade control method and system, OTA background and vehicle
US11782691B2 (en) Method and apparatus for over the air updates
CN112256299B (en) Upgrading method, device, equipment and storage medium
CN111698307A (en) Vehicle remote upgrading method, device, equipment and storage medium
CN113176902B (en) OTA upgrading method of vehicle ECU, electronic equipment, vehicle and readable storage medium
US10387197B2 (en) System and methods for transaction-based process management
CN112256315A (en) Upgrading method, device, equipment and storage medium
CN114398060A (en) Vehicle-mounted controller software upgrading method and device, electronic equipment and storage medium
CN113238774A (en) Vehicle-mounted greeting animation updating method and device, vehicle-mounted terminal and storage medium
CN115016805A (en) Vehicle system upgrading method, device, system, equipment and medium
CN108241514A (en) Vehicle-mounted program updating method and device
CN113515297A (en) Version updating method and device, electronic equipment and storage medium
CN113037850A (en) Application program upgrading method and device, electronic equipment and storage medium
CN113190250A (en) Cabin software upgrading method, electronic equipment and readable storage medium
CN114385209A (en) Upgrade result report generation method, device, equipment and storage medium
CN113268257A (en) Vehicle-mounted application upgrading system, method and computer storage medium
CN115022297B (en) Remote debugging method, device and system of vehicle-end controller and vehicle
CN114363385B (en) Method, system, equipment and storage medium for updating automobile end software by cloud
CN114647424A (en) ECU application program updating method, device, system, storage medium and electronic equipment
WO2022003418A1 (en) Efficient controller data generation and extraction
CN112363744A (en) Method and system for upgrading automobile data recorder firmware and storage medium
CN113296811A (en) Vehicle body OTA remote upgrading system and method based on networking vehicle-mounted terminal

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