CN115934128A - Vehicle data uploading software upgrading method, device, medium, equipment and system - Google Patents

Vehicle data uploading software upgrading method, device, medium, equipment and system Download PDF

Info

Publication number
CN115934128A
CN115934128A CN202211599943.1A CN202211599943A CN115934128A CN 115934128 A CN115934128 A CN 115934128A CN 202211599943 A CN202211599943 A CN 202211599943A CN 115934128 A CN115934128 A CN 115934128A
Authority
CN
China
Prior art keywords
vehicle
software
data uploading
upgrading
signal matrix
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
CN202211599943.1A
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.)
Human Horizons Shandong Technology Co Ltd
Original Assignee
Human Horizons Shandong Technology 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 Human Horizons Shandong Technology Co Ltd filed Critical Human Horizons Shandong Technology Co Ltd
Priority to CN202211599943.1A priority Critical patent/CN115934128A/en
Publication of CN115934128A publication Critical patent/CN115934128A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method, a device, a medium, equipment and a system for upgrading vehicle data uploading software, wherein the method comprises the following steps: the cloud server acquires the current version of the data uploading software of the vehicle end and compares the current version with the latest version of the data uploading software of the cloud end; and when the software upgrading condition is met, creating a log level configuration task and a signal matrix configuration task according to the latest version of the data uploading software at the cloud end, and sending the log level configuration task and the signal matrix configuration task to the vehicle-end microprocessor, so that the vehicle-end microprocessor loads a log level configuration file according to the log level configuration task and loads a signal matrix configuration file according to the signal matrix configuration task, and online upgrading of the data uploading software at the vehicle end is realized. By adopting the technical scheme of the invention, the data uploading software of the vehicle end is upgraded by utilizing the cloud end, the signal matrix matching of the data uploading software can be realized, and the effectiveness of the data uploading function is ensured.

Description

Vehicle data uploading software upgrading method, device, medium, equipment and system
Technical Field
The invention relates to the technical field of software upgrading, in particular to a method and a device for upgrading vehicle data uploading software, a computer readable storage medium, terminal equipment and a system.
Background
In order to support the landing of the new energy automobile digital twin service, the whole automobile signal data uploading function is gradually one of the functions of finished automobile formal release, and the whole automobile signal data uploading function depends on the cooperation of signal matrix versions of a microcontroller end and a microprocessor end of the automobile.
However, most of the vehicle control functions are located at the microcontroller end, and due to the fact that software version upgrading at the microcontroller end can be caused by function upgrading and software function bug repairing, software version change frequency caused by software function iteration at the microcontroller end is far greater than that at the microprocessor end, and therefore signal matrixes at the microcontroller end and the microprocessor end are possibly unmatched, and further the vehicle signal data uploading function is disabled.
Disclosure of Invention
The embodiment of the invention aims to provide a method and a device for upgrading vehicle data uploading software, a computer readable storage medium, a terminal device and a system.
In order to achieve the above object, in a first aspect, an embodiment of the present invention provides a method for upgrading vehicle data uploading software, where the method is performed by a cloud server, and the method includes:
acquiring the current version of data uploading software of a vehicle end, and comparing the current version with the latest version of the data uploading software of a cloud end;
when the software upgrading condition is met, a log level configuration task and a signal matrix configuration task are created according to the latest version of the cloud data uploading software and are issued to the vehicle-end microprocessor, so that the vehicle-end microprocessor loads a log level configuration file according to the log level configuration task and loads a signal matrix configuration file according to the signal matrix configuration task, and online upgrading of the vehicle-end data uploading software is achieved.
Further, the creating of the log level configuration task and the signal matrix configuration task according to the latest version of the cloud data upload software specifically includes:
compiling a log level configuration file and a signal matrix configuration file according to a preset field according to the latest version of the cloud data uploading software; the log level configuration file and the signal matrix configuration file both comprise version information;
and creating a log grade configuration task according to the log grade configuration file, and creating a signal matrix configuration task according to the signal matrix configuration file.
Further, the method further comprises:
receiving an application log file; the application log file is uploaded to the cloud server by the vehicle-end microprocessor after the log level configuration file and the signal matrix configuration file are loaded;
analyzing and obtaining a matching state of a signal matrix according to the application log file so as to judge whether data uploading software of the vehicle end is successfully upgraded or not;
if so, creating a new log level configuration task and issuing the new log level configuration task to the vehicle-end microprocessor;
if not, checking the vehicle state, and upgrading the data uploading software of the vehicle end again.
In order to achieve the above object, in a second aspect, an embodiment of the present invention provides a method for upgrading vehicle data upload software, where the method is executed by a vehicle-end microprocessor, and the method includes:
receiving a log grade configuration task and a signal matrix configuration task; the log level configuration task and the signal matrix configuration task are created according to the latest version of the data uploading software of the cloud end and are issued to the vehicle-end microprocessor when the current version of the data uploading software of the vehicle end is obtained by the cloud end server, compared with the latest version of the data uploading software of the cloud end and judged to meet the software upgrading condition;
and loading a log grade configuration file according to the log grade configuration task, and loading a signal matrix configuration file according to the signal matrix configuration task so as to realize online upgrade of data uploading software of the vehicle end.
Further, the method further comprises:
after the log level configuration file and the signal matrix configuration file are loaded, the application log file is uploaded to the cloud server, the cloud server analyzes the application log file to obtain a matching state of a signal matrix, whether data uploading software of the vehicle end is successfully updated or not is judged, if yes, a new log level configuration task is created and issued to the vehicle end microprocessor, and if not, the vehicle state is checked, and the data uploading software of the vehicle end is updated again.
In order to achieve the above object, an embodiment of the present invention further provides an upgrading apparatus for vehicle data uploading software, where the upgrading apparatus is disposed in a cloud server, and is configured to implement the method for upgrading the vehicle data uploading software according to any one of the first aspect, and the upgrading apparatus includes:
the software version comparison module is used for acquiring the current version of the data uploading software of the vehicle end and comparing the current version with the latest version of the data uploading software of the cloud end;
the software upgrading task creating and issuing module is used for creating a log level configuration task and a signal matrix configuration task according to the latest version of the cloud data uploading software when software upgrading conditions are met, and issuing the log level configuration task and the signal matrix configuration task to the vehicle-end microprocessor, so that the vehicle-end microprocessor loads a log level configuration file according to the log level configuration task and loads a signal matrix configuration file according to the signal matrix configuration task, and online upgrading of the data uploading software of the vehicle-end is achieved.
In order to achieve the above object, in a fourth aspect, an embodiment of the present invention further provides an upgrading device for vehicle data uploading software, where the upgrading device is disposed in a vehicle-end microprocessor, and is configured to implement the method for upgrading the vehicle data uploading software according to any one of the above second aspects, and the upgrading device includes:
the software upgrading task receiving module is used for receiving a log grade configuration task and a signal matrix configuration task; the log level configuration task and the signal matrix configuration task are created according to the latest version of the data uploading software of the cloud end and are issued to the vehicle-end microprocessor when the current version of the data uploading software of the vehicle-end is acquired by the cloud-end server, the current version of the data uploading software of the vehicle-end is compared with the latest version of the data uploading software of the cloud end, and the condition that the software upgrading condition is met is judged;
and the software upgrading module is used for loading the log level configuration file according to the log level configuration task and loading the signal matrix configuration file according to the signal matrix configuration task so as to realize the online upgrading of the data uploading software of the vehicle end.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program; when the computer program runs, the device where the computer-readable storage medium is located is controlled to execute the method for upgrading the vehicle data uploading software according to any one of the first aspect, or execute the method for upgrading the vehicle data uploading software according to any one of the second aspect.
The embodiment of the present invention further provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor implements the method for upgrading the vehicle data upload software according to any one of the first aspect described above when executing the computer program, or implements the method for upgrading the vehicle data upload software according to any one of the second aspect described above.
The embodiment of the invention also provides an upgrading system of the vehicle data uploading software, which is used for realizing any one of the upgrading methods of the vehicle data uploading software, and the upgrading system comprises a cloud server and a vehicle-end microprocessor; wherein the content of the first and second substances,
the cloud server is used for acquiring the current version of the data uploading software of the vehicle end and comparing the current version with the latest version of the data uploading software of the cloud end; when the software upgrading condition is met, a log level configuration task and a signal matrix configuration task are created according to the latest version of the cloud data uploading software and are issued to the vehicle-end microprocessor;
and the vehicle-end microprocessor is used for loading a log level configuration file according to the log level configuration task and loading a signal matrix configuration file according to the signal matrix configuration task so as to realize the online upgrade of data uploading software of the vehicle end.
Compared with the prior art, the embodiment of the invention provides a vehicle data uploading software upgrading method, a vehicle data uploading software upgrading device, a computer readable storage medium, terminal equipment and a vehicle data uploading software upgrading system, wherein a cloud server acquires a current version of vehicle data uploading software, compares the current version with a latest version of the cloud data uploading software, creates a log level configuration task and a signal matrix configuration task according to the latest version of the cloud data uploading software when a software upgrading condition is met, and sends the log level configuration task and the signal matrix configuration task to a vehicle microprocessor; the vehicle-end microprocessor loads a log level configuration file according to the received log level configuration task and loads a signal matrix configuration file according to the received signal matrix configuration task so as to realize online upgrade of data uploading software of the vehicle end; according to the embodiment of the invention, the cloud end is used for upgrading the data uploading software of the vehicle end, so that the signal matrix matching of the data uploading software can be realized, and the effectiveness of the data uploading function is ensured.
Drawings
FIG. 1 is a flow chart of a preferred embodiment of a method for upgrading vehicle data upload software according to a first aspect of the present invention;
FIG. 2 is a flow chart of a preferred embodiment of a method for upgrading vehicle data upload software according to a second aspect of the present invention;
fig. 3 is a block diagram illustrating a preferred embodiment of an upgrading apparatus for vehicle data uploading software according to a third aspect of the present invention;
fig. 4 is a block diagram illustrating a preferred embodiment of an upgrading apparatus for vehicle data upload software according to a fourth aspect of the present invention;
fig. 5 is a block diagram of a preferred embodiment of a terminal device provided in the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without any inventive step, are within the scope of the present invention.
In a first aspect, an embodiment of the present invention provides a method for upgrading vehicle data upload software, and as shown in fig. 1, the method is a flowchart of a preferred embodiment of the method for upgrading vehicle data upload software, which is executed by a cloud server, and includes steps S11 to S12:
s11, acquiring a current version of data uploading software of a vehicle end, and comparing the current version with a latest version of the data uploading software of a cloud end;
and S12, when the software upgrading condition is met, creating a log level configuration task and a signal matrix configuration task according to the latest version of the cloud data uploading software, and sending the log level configuration task and the signal matrix configuration task to the vehicle-end microprocessor, so that the vehicle-end microprocessor loads a log level configuration file according to the log level configuration task and loads a signal matrix configuration file according to the signal matrix configuration task, and online upgrading of the data uploading software of the vehicle end is achieved.
Specifically, the cloud server acquires the current version of the data uploading software of the vehicle end, compares the current version of the data uploading software of the vehicle end with the latest version of the data uploading software of the cloud end, and judges whether the data uploading software of the vehicle end meets the software online upgrading condition or not according to the comparison result; when the condition that software upgrading is met is judged, the cloud server creates a log level configuration task and a signal matrix configuration task according to the latest version of the cloud data uploading software, and sends the created log level configuration task and the created signal matrix configuration task to the vehicle-end microprocessor, wherein the log level configuration task comprises log level configuration files, the signal matrix configuration task comprises signal matrix configuration files, and each configuration file comprises version information of the data uploading software; after receiving the log level configuration task and the signal matrix configuration task issued by the cloud server, the vehicle-end microprocessor loads a corresponding log level configuration file according to the log level configuration task issued by the cloud server so as to locally open the local write permission of the application log (the local write permission of the application log is closed by default), and loads a corresponding signal matrix configuration file according to the signal matrix configuration task issued by the cloud server so as to realize the online upgrade of data uploading software of a vehicle end; it can be understood that when the software upgrading condition is judged not to be met, online upgrading of data uploading software of the vehicle end is not needed.
It should be noted that whether software upgrade succeeds or not needs to be checked further, and querying the software upgrade state through the log file helps managers to eliminate uncertain factors caused by factors such as a weak network environment, and the like, so that the cloud server needs to create and issue the log level configuration file in addition to creating and issuing a signal matrix configuration task, so that the vehicle-end microprocessor loads the corresponding log level configuration file, opens the local write permission of the application log, and can confirm the software upgrade state through log query in the subsequent process.
It should be noted that the cloud server may determine whether the software upgrade condition is met by receiving a Vehicle List requesting software upgrade, where the Vehicle List mainly includes internet access information of TBOXs such as a Vehicle Identification Number (VIN), a Serial Number (SN), and an integrated circuit identifier (ICCID) of the Vehicle; the vehicles which are newly off-line are registered and put in storage by a cloud administrator before backstage delivery, and the software version of the vehicles can be directly updated after the relevant information of the vehicles is registered and put in storage; and the off-line vehicle actively reports the software version of the vehicle to the cloud, compares the software version with the new software version of the cloud, and judges that the software upgrading condition is met in the upgradable range.
Wherein, the software change generally comprises the change of two parts of basic application logic and a signal matrix, and the software upgrading condition is as follows: the updating of the data uploading software only relates to the change of the signal matrix, the cloud server can confirm whether the signal matrix is changed according to the version number of the software, if the signal matrix is changed, the updating range of the software version can be further set (the cloud needs to be registered in advance according to the software version to be released and put in storage), for example, the software version can be upgraded to 0559 from 0556, and after the upgrading condition is judged to be met, the cloud can request the data uploading software to be upgraded, the upgrading prompt is displayed, and the background manager performs condition screening menu selection or batch upgrading operation.
In the embodiment of the invention, the data uploading software component is used for independently obtaining the log level configuration file and the signal matrix configuration file and submitting the log level configuration file and the signal matrix configuration file to the cloud for remote configuration management, the cloud can be used for setting the log level configuration file and the signal matrix configuration file for a vehicle when the data uploading software of the vehicle end needs to be upgraded on line, creating a configuration task and issuing the configuration task remotely, issuing the log level configuration file and the signal matrix configuration file to a microprocessor of a vehicle body domain controller, loading the log level configuration file by the microprocessor, opening an application log printing function and writing the log file, loading the signal matrix configuration file by the microprocessor, serializing a new signal matrix configuration file, and realizing the online upgrade of the data uploading software.
In another preferred embodiment, the creating a log level configuration task and a signal matrix configuration task according to the latest version of the cloud data upload software specifically includes:
compiling a log level configuration file and a signal matrix configuration file according to a preset field according to the latest version of the cloud data uploading software; the log level configuration file and the signal matrix configuration file both comprise version information;
and creating a log grade configuration task according to the log grade configuration file, and creating a signal matrix configuration task according to the signal matrix configuration file.
Specifically, with the above embodiment, when creating the log level configuration task and the signal matrix configuration task, the cloud server may upload the latest version of the software according to the data of the cloud, write the log level configuration file and the signal matrix configuration file according to the preset fields, and each configuration file includes version information of the software; and then, creating a corresponding log grade configuration task according to the written log grade configuration file, and creating a corresponding signal matrix configuration task according to the written signal matrix configuration file.
In yet another preferred embodiment, the method further comprises:
receiving an application log file; the application log file is uploaded to the cloud server by the vehicle-end microprocessor after the log level configuration file and the signal matrix configuration file are loaded;
analyzing and obtaining a matching state of a signal matrix according to the application log file so as to judge whether data uploading software of the vehicle end is successfully upgraded or not;
if so, creating a new log level configuration task and issuing the new log level configuration task to the vehicle-end microprocessor;
if not, checking the vehicle state, and upgrading the data uploading software of the vehicle end again.
Specifically, with the above embodiment, after the vehicle-side microprocessor loads the log level configuration file and the signal matrix configuration file and upgrades the data uploading software of the vehicle side, the application log file is uploaded to the cloud server; the cloud server analyzes the received application log file, obtains the matching state of a signal matrix of data uploading software of the vehicle end, judges whether the data uploading software of the vehicle end is successfully upgraded according to the matching state of the signal matrix, and when the software is judged to be successfully upgraded, the cloud server creates a new log level configuration task and sends the new log level configuration task to a microprocessor of the vehicle end so as to close the local application log writing permission of the vehicle end; when it is determined that the software upgrade fails, the cloud server checks the vehicle state (for example, it is checked whether the network state is not good or the vehicle terminal is offline, and the upgrade state cannot be known due to loss of returned data), and upgrades the data upload software of the vehicle terminal (the upgrade method is the same as that in the above embodiment, and is not described here again).
It should be noted that the application log file is log information (mainly including log information such as error and warming) corresponding to normal operation of local application software at the vehicle end, the application log file includes reference information of the dimension of whether a signal matrix is matched or not, and also includes reference information of the dimensions of establishing communication connection, starting application and the like, the cloud server can obtain the reference information of the signal matrix matching by analyzing the application log file, if field information of the signal matrix mismatching does not exist, the signal matrix matching is indicated, that is, software upgrading is successful, and if field information of the signal matrix mismatching exists, the signal matrix mismatching is indicated, that is, software upgrading failure is indicated.
In addition, when the cloud server judges that the software upgrading is successful, a new log level configuration task is created and issued to the vehicle-side microprocessor, so that whether the software upgrading state is completed or not can be checked conveniently in the follow-up process, and the cloud server can manage and control the software state conveniently.
In a second aspect, an embodiment of the present invention provides a method for upgrading vehicle data uploading software, and as shown in fig. 2, is a flowchart of a preferred embodiment of the method for upgrading vehicle data uploading software, which is provided in the second aspect of the present invention, and is executed by a vehicle-side microprocessor, where the method includes steps S21 to S22:
s21, receiving a log grade configuration task and a signal matrix configuration task; the log level configuration task and the signal matrix configuration task are created according to the latest version of the data uploading software of the cloud end and are issued to the vehicle-end microprocessor when the current version of the data uploading software of the vehicle-end is acquired by the cloud-end server, the current version of the data uploading software of the vehicle-end is compared with the latest version of the data uploading software of the cloud end, and the condition that the software upgrading condition is met is judged;
and S22, loading a log level configuration file according to the log level configuration task, and loading a signal matrix configuration file according to the signal matrix configuration task so as to realize online upgrade of data uploading software of the vehicle end.
Specifically, the cloud server acquires the current version of the data uploading software of the vehicle end, compares the current version of the data uploading software of the vehicle end with the latest version of the data uploading software of the cloud end, and judges whether the data uploading software of the vehicle end meets the software online upgrading condition or not according to the comparison result; when the judgment result shows that the software upgrading condition is met, the cloud server uploads the latest version of software according to the data of the cloud to create a log level configuration task and a signal matrix configuration task, and sends the created log level configuration task and the signal matrix configuration task to the vehicle-end microprocessor; the vehicle-end microprocessor receives a log level configuration task and a signal matrix configuration task issued by the cloud server, loads a corresponding log level configuration file according to the log level configuration task issued by the cloud server so as to locally open the local write permission of the application log (the local write permission of the application log is closed by default), and loads a corresponding signal matrix configuration file according to the signal matrix configuration task issued by the cloud server so as to realize the online upgrade of data uploading software of the vehicle end; it can be understood that when the software upgrading condition is judged not to be met, online upgrading of data uploading software of the vehicle end is not needed.
When creating a log level configuration task and a signal matrix configuration task, the cloud server can upload the latest version of software according to data of the cloud, compile log level configuration files and signal matrix configuration files according to preset fields, and each configuration file comprises version information of the software; and then, creating a corresponding log grade configuration task according to the written log grade configuration file, and creating a corresponding signal matrix configuration task according to the written signal matrix configuration file.
In the embodiment of the invention, the data uploading software component is used for independently obtaining the log level configuration file and the signal matrix configuration file and submitting the log level configuration file and the signal matrix configuration file to the cloud for remote configuration management, the cloud can be used for setting the log level configuration file and the signal matrix configuration file for a vehicle when the data uploading software of the vehicle end needs to be upgraded on line, creating a configuration task and issuing the configuration task remotely, issuing the log level configuration file and the signal matrix configuration file to a microprocessor of a vehicle body domain controller, loading the log level configuration file by the microprocessor, opening an application log printing function and writing the log file, loading the signal matrix configuration file by the microprocessor, serializing a new signal matrix configuration file, and realizing the online upgrade of the data uploading software.
In yet another preferred embodiment, the method further comprises:
after the log level configuration file and the signal matrix configuration file are loaded, uploading the application log file to the cloud server, so that the cloud server analyzes and obtains a matching state of a signal matrix according to the application log file to judge whether data uploading software of the vehicle end is successfully upgraded, if so, creating a new log level configuration task and sending the new log level configuration task to the vehicle end microprocessor, and if not, checking the vehicle state and upgrading the data uploading software of the vehicle end again.
Specifically, with the above embodiment, after the vehicle-side microprocessor loads the log level configuration file and the signal matrix configuration file and upgrades the data uploading software of the vehicle side, the application log file is uploaded to the cloud server; the cloud server analyzes the received application log file, obtains the matching state of a signal matrix of data uploading software of the vehicle end, judges whether the data uploading software of the vehicle end is successfully upgraded according to the matching state of the signal matrix, and when the software is judged to be successfully upgraded, the cloud server creates a new log level configuration task and sends the new log level configuration task to a microprocessor of the vehicle end so as to close the local application log writing permission of the vehicle end; when it is determined that the software upgrade fails, the cloud server checks the vehicle state (for example, it is checked whether the network state is not good or the vehicle terminal is offline, and the upgrade state cannot be known due to loss of returned data), and upgrades the data upload software of the vehicle terminal (the upgrade method is the same as that in the above embodiment, and is not described here again).
It should be noted that the application log file is log information (mainly including log information such as error and warming) corresponding to normal operation of local application software at the vehicle end, the application log file includes reference information of the dimension of whether a signal matrix is matched or not, and also includes reference information of the dimensions of establishing communication connection, starting application and the like, the cloud server can obtain the reference information of the signal matrix matching by analyzing the application log file, if field information of the signal matrix mismatching does not exist, the signal matrix matching is indicated, that is, software upgrading is successful, and if field information of the signal matrix mismatching exists, the signal matrix mismatching is indicated, that is, software upgrading failure is indicated.
In a third aspect, an embodiment of the present invention further provides an upgrading apparatus for vehicle data uploading software, and as shown in fig. 3, the structural block diagram is a structural block diagram of an preferred embodiment of the upgrading apparatus for vehicle data uploading software provided in the third aspect of the present invention, the upgrading apparatus is disposed in a cloud server, and is configured to implement the method for upgrading vehicle data uploading software described in any one of the embodiments of the first aspect, and the upgrading apparatus includes:
the software version comparison module 11 is used for acquiring the current version of the data uploading software at the vehicle end and comparing the current version with the latest version of the data uploading software at the cloud end;
the software upgrading task creating and issuing module 12 is configured to create a log level configuration task and a signal matrix configuration task according to the latest version of the cloud data uploading software when a software upgrading condition is met, and issue the log level configuration task and the signal matrix configuration task to the vehicle-end microprocessor, so that the vehicle-end microprocessor loads a log level configuration file according to the log level configuration task and loads a signal matrix configuration file according to the signal matrix configuration task, thereby realizing online upgrading of the data uploading software of the vehicle end.
Preferably, the software upgrade task creating and issuing module 12 specifically includes:
the software configuration file compiling unit is used for uploading the latest version of the software according to the data of the cloud end and compiling a log level configuration file and a signal matrix configuration file according to preset fields; the log level configuration file and the signal matrix configuration file both comprise version information;
and the software configuration task creating unit is used for creating a log level configuration task according to the log level configuration file and creating a signal matrix configuration task according to the signal matrix configuration file.
Preferably, the upgrade apparatus further includes:
the log file receiving module is used for receiving the application log file; the application log file is uploaded to the cloud server by the vehicle-end microprocessor after the log level configuration file and the signal matrix configuration file are loaded;
the software upgrading state judging module is used for analyzing the application log file to obtain the matching state of the signal matrix so as to judge whether the data uploading software of the vehicle end is upgraded successfully;
the software upgrading success processing module is used for creating a new log grade configuration task and sending the new log grade configuration task to the vehicle-end microprocessor if the software upgrading success processing module is used for creating a new log grade configuration task and sending the new log grade configuration task to the vehicle-end microprocessor;
and the software upgrading failure processing module is used for checking the vehicle state and upgrading the data uploading software of the vehicle end again if the vehicle state is not checked.
It should be noted that, the upgrading device for vehicle data upload software according to the third aspect of the present invention can implement all the processes of the upgrading method for vehicle data upload software according to any embodiment of the first aspect, and the functions and implemented technical effects of each module and unit in the upgrading device are respectively the same as those of the upgrading method for vehicle data upload software according to the embodiment of the first aspect, and are not described herein again.
In a fourth aspect, an embodiment of the present invention further provides an upgrading apparatus for vehicle data uploading software, and as shown in fig. 4, the upgrading apparatus is a block diagram of a preferred embodiment of the upgrading apparatus for vehicle data uploading software according to the fourth aspect of the present invention, the upgrading apparatus is disposed in a vehicle-end microprocessor, and is configured to implement the method for upgrading the vehicle data uploading software according to any one of the embodiments of the second aspect, and the upgrading apparatus includes:
a software upgrading task receiving module 21, configured to receive a log level configuration task and a signal matrix configuration task; the log level configuration task and the signal matrix configuration task are created according to the latest version of the data uploading software of the cloud end and are issued to the vehicle-end microprocessor when the current version of the data uploading software of the vehicle-end is acquired by the cloud-end server, the current version of the data uploading software of the vehicle-end is compared with the latest version of the data uploading software of the cloud end, and the condition that the software upgrading condition is met is judged;
and the software upgrading module 22 is used for loading the log level configuration file according to the log level configuration task and loading the signal matrix configuration file according to the signal matrix configuration task so as to realize online upgrading of data uploading software at the vehicle end.
Preferably, the upgrade apparatus further includes:
and the log file sending module is used for uploading the application log file to the cloud server after the log level configuration file and the signal matrix configuration file are loaded, so that the cloud server analyzes the application log file to obtain the matching state of the signal matrix so as to judge whether the data uploading software of the vehicle end is successfully upgraded, if so, a new log level configuration task is created and is issued to the vehicle end microprocessor, and if not, the vehicle state is checked, and the data uploading software of the vehicle end is upgraded again.
It should be noted that, in the upgrade device for vehicle data upload software according to the embodiment of the fourth aspect of the present invention, all processes of the upgrade method for vehicle data upload software according to any embodiment of the second aspect can be implemented, and the functions and implemented technical effects of each module in the upgrade device are respectively the same as those of the upgrade method for vehicle data upload software according to the embodiment of the second aspect, and are not described again here.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program; when the computer program runs, the device where the computer-readable storage medium is located is controlled to execute the method for upgrading the vehicle data uploading software according to any one of the embodiments of the first aspect, or execute the method for upgrading the vehicle data uploading software according to any one of the embodiments of the second aspect.
An embodiment of the present invention further provides a terminal device, as shown in fig. 5, which is a block diagram of a preferred embodiment of the terminal device provided in the present invention, where the terminal device includes a processor 10, a memory 20, and a computer program stored in the memory 20 and configured to be executed by the processor 10, and when the processor 10 executes the computer program, the processor 10 implements the method for upgrading the vehicle data upload software according to any one of the embodiments of the first aspect, or implements the method for upgrading the vehicle data upload software according to any one of the embodiments of the second aspect.
The terminal device is a cloud server, and the method for upgrading the vehicle data uploading software in any embodiment of the first aspect is implemented through the cloud server, or the terminal device is a vehicle-side microprocessor, and the method for upgrading the vehicle data uploading software in any embodiment of the second aspect is implemented through the vehicle-side microprocessor.
Preferably, the computer program may be divided into one or more modules/units (e.g., computer program 1, computer program 2, 8230; etc.) which are stored in the memory 20 and executed by the processor 10 to accomplish the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used for describing the execution process of the computer program in the terminal device.
The Processor 10 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, etc., the general purpose Processor may be a microprocessor, or the Processor 10 may be any conventional Processor, the Processor 10 is a control center of the terminal device, and various interfaces and lines are used to connect various parts of the terminal device.
The memory 20 mainly includes a program storage area that may store an operating system, an application program required for at least one function, and the like, and a data storage area that may store related data and the like. In addition, the memory 20 may be a high speed random access memory, may also be a non-volatile memory, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card), and the like, or the memory 20 may also be other volatile solid state memory devices.
It should be noted that the terminal device may include, but is not limited to, a processor and a memory, and those skilled in the art will understand that the structural block diagram of fig. 5 is only an example of the terminal device and does not constitute a limitation to the terminal device, and may include more or less components than those shown, or combine some components, or different components.
The embodiment of the invention also provides an upgrading system of the vehicle data uploading software, which is used for realizing the upgrading method of the vehicle data uploading software in any embodiment, and the upgrading system comprises a cloud server and a vehicle-end microprocessor; wherein the content of the first and second substances,
the cloud server is used for acquiring the current version of the data uploading software of the vehicle end and comparing the current version with the latest version of the data uploading software of the cloud end; when the software upgrading condition is met, a log level configuration task and a signal matrix configuration task are created according to the latest version of the cloud data uploading software and are issued to the vehicle-end microprocessor;
and the vehicle-end microprocessor is used for loading a log level configuration file according to the log level configuration task and loading a signal matrix configuration file according to the signal matrix configuration task so as to realize online upgrade of data uploading software of a vehicle end.
It should be noted that, the upgrade system for vehicle data upload software provided in the embodiment of the present invention can implement all the processes of the upgrade method for vehicle data upload software described in any one of the embodiments, and the functions and implemented technical effects of the cloud server and the vehicle-side microprocessor in the upgrade system are respectively the same as those of the cloud server and the vehicle-side microprocessor involved in the upgrade method for vehicle data upload software described in the embodiment, and are not described herein again.
To sum up, according to the vehicle data upload software upgrading method and apparatus, the computer-readable storage medium, the terminal device, and the system provided by the embodiments of the present invention, the cloud server executes the current version of the vehicle data upload software, compares the current version with the latest version of the cloud data upload software, creates the log level configuration task and the signal matrix configuration task according to the latest version of the cloud data upload software when the software upgrading condition is satisfied, and issues the log level configuration task and the signal matrix configuration task to the vehicle microprocessor; the vehicle-end microprocessor loads a log level configuration file according to the received log level configuration task and loads a signal matrix configuration file according to the received signal matrix configuration task so as to realize online upgrade of data uploading software of the vehicle end; according to the embodiment of the invention, the cloud end is used for upgrading the data uploading software of the vehicle end, so that the signal matrix matching of the data uploading software can be realized, and the effectiveness of the data uploading function is ensured.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A vehicle data uploading software upgrading method is characterized in that the method is executed by a cloud server, and the method comprises the following steps:
acquiring the current version of data uploading software of a vehicle end, and comparing the current version with the latest version of the data uploading software of a cloud end;
when the software upgrading condition is met, a log level configuration task and a signal matrix configuration task are created according to the latest version of the cloud data uploading software and are issued to the vehicle-end microprocessor, so that the vehicle-end microprocessor loads a log level configuration file according to the log level configuration task and loads a signal matrix configuration file according to the signal matrix configuration task, and online upgrading of the vehicle-end data uploading software is achieved.
2. The method for upgrading vehicle data upload software of claim 1, wherein the creating of the log level configuration task and the signal matrix configuration task according to the latest version of the cloud-side data upload software specifically comprises:
compiling a log level configuration file and a signal matrix configuration file according to a preset field according to the latest version of the data uploading software of the cloud; the log level configuration file and the signal matrix configuration file both comprise version information;
and creating a log grade configuration task according to the log grade configuration file, and creating a signal matrix configuration task according to the signal matrix configuration file.
3. The method for upgrading vehicle data upload software according to claim 1, further comprising:
receiving an application log file; the application log file is uploaded to the cloud server by the vehicle-end microprocessor after the log level configuration file and the signal matrix configuration file are loaded;
analyzing and obtaining a matching state of a signal matrix according to the application log file so as to judge whether data uploading software of the vehicle end is successfully upgraded or not;
if so, creating a new log level configuration task and issuing the new log level configuration task to the vehicle-end microprocessor;
if not, checking the vehicle state, and upgrading the data uploading software of the vehicle end again.
4. A method for upgrading vehicle data uploading software, which is implemented by a vehicle-end microprocessor, and comprises the following steps:
receiving a log grade configuration task and a signal matrix configuration task; the log level configuration task and the signal matrix configuration task are created according to the latest version of the data uploading software of the cloud end and are issued to the vehicle-end microprocessor when the current version of the data uploading software of the vehicle-end is acquired by the cloud-end server, the current version of the data uploading software of the vehicle-end is compared with the latest version of the data uploading software of the cloud end, and the condition that the software upgrading condition is met is judged;
and loading a log level configuration file according to the log level configuration task, and loading a signal matrix configuration file according to the signal matrix configuration task so as to realize the online upgrade of data uploading software of the vehicle end.
5. The method for upgrading vehicle data upload software according to claim 4, further comprising:
after the log level configuration file and the signal matrix configuration file are loaded, the application log file is uploaded to the cloud server, the cloud server analyzes the application log file to obtain a matching state of a signal matrix, whether data uploading software of the vehicle end is successfully updated or not is judged, if yes, a new log level configuration task is created and issued to the vehicle end microprocessor, and if not, the vehicle state is checked, and the data uploading software of the vehicle end is updated again.
6. An upgrading device for vehicle data uploading software, wherein the upgrading device is arranged in a cloud server and is used for realizing the upgrading method for the vehicle data uploading software according to any one of claims 1 to 3, and the upgrading device comprises:
the software version comparison module is used for acquiring the current version of the data uploading software of the vehicle end and comparing the current version with the latest version of the data uploading software of the cloud end;
the software upgrading task creating and issuing module is used for creating a log level configuration task and a signal matrix configuration task according to the latest version of the cloud data uploading software when software upgrading conditions are met, and issuing the log level configuration task and the signal matrix configuration task to the vehicle-end microprocessor, so that the vehicle-end microprocessor loads a log level configuration file according to the log level configuration task and loads a signal matrix configuration file according to the signal matrix configuration task, and online upgrading of the data uploading software of the vehicle-end is achieved.
7. An upgrading device for vehicle data uploading software, wherein the upgrading device is arranged in a vehicle-end microprocessor and is used for realizing the upgrading method for the vehicle data uploading software according to any one of claims 4 to 5, and the upgrading device comprises:
the software upgrading task receiving module is used for receiving a log grade configuration task and a signal matrix configuration task; the log level configuration task and the signal matrix configuration task are created according to the latest version of the data uploading software of the cloud end and are issued to the vehicle-end microprocessor when the current version of the data uploading software of the vehicle end is obtained by the cloud end server, compared with the latest version of the data uploading software of the cloud end and judged to meet the software upgrading condition;
and the software upgrading module is used for loading the log level configuration file according to the log level configuration task and loading the signal matrix configuration file according to the signal matrix configuration task so as to realize the online upgrading of the data uploading software of the vehicle end.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored computer program; wherein the computer program, when executed, controls an apparatus on which the computer-readable storage medium is located to perform the method for upgrading vehicle data upload software of any one of claims 1 to 3, or to perform the method for upgrading vehicle data upload software of any one of claims 4 to 5.
9. A terminal device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the method for upgrading vehicle data upload software according to any one of claims 1 to 3 or the method for upgrading vehicle data upload software according to any one of claims 4 to 5 when executing the computer program.
10. The upgrading system for the vehicle data uploading software is used for realizing the upgrading method for the vehicle data uploading software according to any one of claims 1 to 5, and comprises a cloud server and a vehicle-side microprocessor; wherein, the first and the second end of the pipe are connected with each other,
the cloud server is used for acquiring the current version of the data uploading software of the vehicle end and comparing the current version with the latest version of the data uploading software of the cloud end; when the software upgrading condition is met, a log level configuration task and a signal matrix configuration task are created according to the latest version of the cloud data uploading software and are issued to the vehicle-end microprocessor;
and the vehicle-end microprocessor is used for loading a log level configuration file according to the log level configuration task and loading a signal matrix configuration file according to the signal matrix configuration task so as to realize online upgrade of data uploading software of a vehicle end.
CN202211599943.1A 2022-12-14 2022-12-14 Vehicle data uploading software upgrading method, device, medium, equipment and system Pending CN115934128A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211599943.1A CN115934128A (en) 2022-12-14 2022-12-14 Vehicle data uploading software upgrading method, device, medium, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211599943.1A CN115934128A (en) 2022-12-14 2022-12-14 Vehicle data uploading software upgrading method, device, medium, equipment and system

Publications (1)

Publication Number Publication Date
CN115934128A true CN115934128A (en) 2023-04-07

Family

ID=86697453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211599943.1A Pending CN115934128A (en) 2022-12-14 2022-12-14 Vehicle data uploading software upgrading method, device, medium, equipment and system

Country Status (1)

Country Link
CN (1) CN115934128A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116579895A (en) * 2023-04-27 2023-08-11 广州南翼信息科技有限公司 Comprehensive intelligent education system
CN117201304A (en) * 2023-08-30 2023-12-08 赛力斯汽车有限公司 Communication matrix updating method, device, computer equipment and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116579895A (en) * 2023-04-27 2023-08-11 广州南翼信息科技有限公司 Comprehensive intelligent education system
CN117201304A (en) * 2023-08-30 2023-12-08 赛力斯汽车有限公司 Communication matrix updating method, device, computer equipment and medium

Similar Documents

Publication Publication Date Title
US20230012366A1 (en) Error-resilient over-the-air software updates for vehicles
US9836300B2 (en) Method for updating vehicle ECUs using differential update packages
US9841965B2 (en) Centralized system for software updating vehicle components
US10165084B2 (en) Method for software updating of vehicle components
US10127036B2 (en) Method for OTA updating vehicle electronic control unit
US10101992B2 (en) Telematics control unit comprising a differential update package
US20160371077A1 (en) Method for wireless remote updating vehicle software
US11875143B2 (en) Deploying device campaign updates to IoT devices
CN104580351A (en) Programming vehicle modules from remote devices and related methods and systems
EP1770512A2 (en) Method and system for updating software
CN115934128A (en) Vehicle data uploading software upgrading method, device, medium, equipment and system
CN113608763A (en) Vehicle-mounted OTA upgrading method, device, equipment and operation machine
US20040192280A1 (en) System for updating application software of data acquisition devices
CN113835729A (en) Upgrading method and device, terminal equipment and computer readable storage medium
CN112181457A (en) Vehicle-mounted platform upgrading method and device and electronic equipment
CN112769607A (en) Unmanned vehicle software upgrading method
CN111221556B (en) Remote upgrade RSU mirror image method and system
KR100484159B1 (en) Display device and method for upgrading firmware remotely
CN113791800A (en) Automatic parking control module remote upgrading method and system and automobile
CN114144759A (en) Method and device for updating software of a vehicle computer comprising an execution memory, a backup memory and a check memory
CN111240708B (en) Industrial control system host, industrial control system and industrial control system host software upgrading method
US20230032451A1 (en) Center, method, and non-transitory storage medium
JP3616498B2 (en) Method and apparatus for managing client application program
CN118075252A (en) High-efficiency and high-reliability server file distribution method and related equipment thereof
CN117421022A (en) Application updating method and device, electronic equipment 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