Vehicle component upgrading pushing method and device and computer readable storage mediumTechnical Field
The invention relates to the technical field of intelligent vehicles, in particular to a vehicle component upgrading pushing method and device and a computer readable storage medium.
Background
OTA (Over-the-Air Technology), meaning spatial download Technology. The system is upgraded by downloading a new software update package from a remote server through a network, wherein the system mainly provides firmware upgrading services for vehicle body electronic control modules such as HUT (vehicle mounted unit), TBOX (vehicle mounted TBOX), Firewall (FireWall), ECU (electronic control unit) and the like. When the ECU of the automobile breaks down or new functions are added to the automobile to be upgraded, the traditional ECU upgrading needs to pass through a 4S store. An automobile manufacturer informs a 4S shop of ECU firmware needing to be upgraded and an upgrading method in advance, and informs a vehicle owner to drive the vehicle to the 4S shop, and professionals upgrade the ECU firmware of the vehicle. The method needs to establish a large number of service points, can solve the problem as far as possible when the vehicle of the user breaks down, and not only consumes time and labor, but also generates huge cost investment. To be able to reduce the after-market costs and quickly repair system defects, the market is beginning to upgrade the car with OTA functionality. Before the OTA of the whole vehicle is upgraded, upgrading information needs to be pushed to a user, and the whole process is a prerequisite condition for the user to realize the upgrading process. The OTA pushes corresponding upgrading information to a user, and needs to interact with a user terminal to acquire component information of an automobile to perform corresponding upgrading pushing.
Current OTA acquires the subassembly (automobile body electronic control module) information of car, it registers to need the user to carry out the car end at the OTA platform, the OTA platform can with the car end constantly interact obtain the real-time subassembly information of car end in order to carry out corresponding upgrading propelling movement to the car end after the user registration is successful, but because many users do not know this step or think that the registration process is loaded down with trivial details and do not register at the OTA platform, or because the registration is unsuccessful, consequently, OTA can not accurately acquire the subassembly information of the car of not registering at the OTA platform, thereby be difficult to in time carry out the upgrading propelling movement of corresponding configuration to these unregistered cars, the upgrading process is wasted time and energy.
In view of the above situation, an upgrade pushing method and an upgrade pushing device are needed to obtain information of each vehicle body component that needs to be upgraded and pushed in time, and perform accurate configuration upgrade pushing on all vehicle ends of different versions that need to be upgraded and pushed.
Disclosure of Invention
The invention aims to: a vehicle component upgrading pushing method, a vehicle component upgrading pushing device and a computer-readable storage medium are provided, so that TSP and OTA are combined and applied, and vehicle ends of different versions needing upgrading pushing are accurately configured and upgraded and pushed.
The technical scheme of the invention is as follows: a vehicle component upgrade push method is provided, the method comprising:
initiating a pushing task carrying target vehicle basic data and updating and upgrading strategy information, and synchronously sending the pushing task to a TSP platform for the TSP platform to push a terminal;
if the basic data of the target vehicle is matched with the basic data fed back by the terminal and received by the TSP platform, receiving a new version request carrying basic information of the equipment, which is returned by the terminal through the TSP platform;
and comparing the basic equipment information with the update upgrading strategy information to generate a detection result, and when the detection result is that updating is needed, generating upgrading information according to the basic equipment information and a pushing task and pushing the upgrading information to a terminal through a TSP platform.
Further, the basic data includes at least a vehicle brand, a vehicle name, a vehicle year, and a vehicle identification code.
Further, the device basic information includes at least a serial number and a version number of the vehicle component.
Further, the new version request carrying the basic information of the device returned by the receiving terminal through the TSP platform specifically includes: and receiving a new version request which is returned by the TSP platform and carries the basic information of the equipment authenticated by the PKI system.
Further, the comparing the device basic information with the update upgrade policy information to generate a detection result specifically includes:
comparing whether the basic equipment information is the same as the updating and upgrading strategy information,
if the basic information of the equipment is the same as the updating strategy information, the generated detection result does not need to be updated;
and if the basic information of the equipment is different from the updating and upgrading information, generating a detection result and needing to be updated.
Further, the generating upgrade information according to the device basic information and the push task at least includes:
and generating upgrading information according to the calculation result according to the difference between the basic information of the equipment and the calculation version of the pushing task.
Further, the upgrade information at least includes:
and configuring an upgraded vehicle type, vehicle components needing to be upgraded and corresponding version numbers, and an upgrading sequence and an upgrading mode among the vehicle components.
On the other hand, the technical scheme of the invention also provides a vehicle component upgrading and pushing device, which comprises:
the instruction sending module is used for sending a push task instruction carrying target vehicle basic data and updating the upgrading strategy information;
the information detection module is used for acquiring basic data and basic equipment information of the vehicle;
and the information comparison module is used for comparing the basic information of the equipment with the pushing task to generate a detection result, and when the detection result is required to be updated, generating upgrading information according to the basic information of the equipment and the pushing task and pushing the upgrading information to a terminal through a TSP platform.
Further, the apparatus further comprises:
the instruction receiving module is used for receiving the push task instruction carrying the basic data of the target vehicle and the updating and upgrading strategy information;
and the identity authentication module is used for carrying out PKI identity authentication on the basic information of the equipment.
The technical solution of the present invention also provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program performs the following steps:
initiating a pushing task carrying target vehicle basic data and updating and upgrading strategy information, and synchronously sending the pushing task to a TSP platform for the TSP platform to push a terminal;
detecting basic data of a vehicle, and detecting and acquiring basic equipment information of the vehicle when the basic data is consistent with the basic data of the target vehicle;
and comparing the basic equipment information with the update upgrading strategy information to generate a detection result, and when the detection result is that updating is needed, generating upgrading information according to the basic equipment information and a pushing task and pushing the upgrading information to a terminal through a TSP platform.
Compared with the prior art, the invention has the advantages that:
1. because the vehicles are registered on the TSP platform when leaving the factory and keep interacting with the TSP when in use, the OTA platform and the TSP (automobile remote service provider) platform are combined for application, so that the problem that a vehicle factory manager timely pushes a task to a corresponding vehicle after configuring the task is solved;
2. the system can acquire information of each online vehicle end from the TSP platform in real time, version comparison is carried out by acquiring basic information of the vehicle and locking basic equipment information of the target vehicle for automatically detecting the target vehicle, when the version of the basic equipment information of the target vehicle is different from that of a pushing task, upgrading information is generated according to the basic equipment information and the pushing task, the upgrading information is pushed to a terminal through the TSP platform, upgrading pushing tasks are accurately pushed to all target vehicles, accurate pushing of corresponding upgrading information is carried out on the target vehicles, and upgrading is more accurate and efficient.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a flow chart of a method for pushing vehicle component upgrades in an embodiment of the invention;
FIG. 2 is a block diagram of a vehicle component upgrade pushing apparatus according to an embodiment of the present invention;
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments that can be derived from the embodiments given herein by a person of ordinary skill in the art are intended to be within the scope of the present disclosure.
In the present application, a vehicle component mainly refers to an ECU (electronic control unit) on a vehicle, such as an electronic control unit on a vehicle such as IVI, TBOX, TGW, etc., which are not listed here.
Specifically, IVI: the abbreviation of In-Vehicle information, an In-Vehicle (Infotainment) entertainment system.
TBOX: the abbreviation of Telematics BOX is the component of the car networking system, realizes the vehicle information display and control of APP, and is installed at the vehicle terminal.
Tsp (telematics service provider), vehicle telematics service provider. The vehicle-mounted computer system service applying the wireless communication technology integrates the modern computer technologies such as the position service, the Gis service, the communication service and the like.
The TGW is an intelligent gateway.
The components of vehicles of different brands and models are different, and even for vehicles of the same brand and model, hardware configurations selected by users are different, and for an upgrade pushing task received by a vehicle end each time, some users choose to accept and upgrade, and some users choose to ignore or not upgrade, so that even for vehicles of the same brand, the same model and the same configuration, versions of the vehicle components are different, and therefore upgrade packages required to be configured by the components of different vehicles are also different.
The application aims to provide a vehicle component upgrading pushing method, which can automatically acquire basic equipment information for identifying components of each on-line vehicle by combining with a TSP platform, and configures a corresponding upgrading strategy based on the acquired basic equipment information to realize accurate upgrading.
Example 1: the embodiment provides a vehicle component upgrade pushing method, which comprises the following steps:
s1, initiating a pushing task carrying target vehicle basic data and updating and upgrading strategy information, and synchronously sending the pushing task to the TSP platform for the TSP platform to push the terminal;
s2, if the basic data of the target vehicle is matched with the basic data fed back by the terminal and received by the TSP platform, receiving a new version request carrying the basic information of the equipment, which is returned by the TSP platform;
and S3, comparing the basic information of the equipment with the updated upgrading strategy information to generate a detection result, and when the detection result is that updating is needed, generating upgrading information according to the basic information of the equipment and a pushing task and pushing the upgrading information to a terminal through a TSP platform.
It should be noted that, in the embodiment of the present invention, the basic data includes, but is not limited to, a brand of a vehicle, a name of the vehicle, a year of the vehicle, and an identification code of the vehicle, and the user may set the basic data according to actual needs, which is not listed here.
In the present embodiment, the basic data preferably includes a vehicle brand, a vehicle name, a vehicle year, and a vehicle identification code. The vehicle identification code is also called a VIN code (vehi identification Number) or a vehicle frame Number, the VIN code is a set of character codes assigned to a vehicle by a manufacturer for identification, and the VIN code is generally a code composed of 17-digit letters and numbers. And determining to upgrade the pushed task object through matching of the basic data.
It should be noted that, in the embodiment of the present invention, the device basic information includes, but is not limited to, a serial number and a version number of the vehicle component, and the update policy information also includes, but is not limited to, a new serial number and a new version number of the target vehicle component, and a user may set the information according to actual needs, which is not listed here.
In this embodiment, the basic device information preferably includes a serial number and a version number of the vehicle component, so that the vehicle component can be quickly compared to determine whether the vehicle component is a new version, and the upgrade package policy file required by subsequent configuration calculation is also facilitated. Accordingly, the update upgrade policy information includes the new serial number and the new version number of the target vehicle component.
Preferably, in this embodiment of the present invention, the new version request carrying the basic information of the device, which is returned by the receiving terminal through the TSP platform, specifically includes: and receiving a new version request which is returned by the TSP platform and carries the basic information of the equipment authenticated by the PKI system. Specifically, the basic information of the device that the terminal carries and is authenticated through the PKI system includes: and the program UC-SDK integrated on the TBOX on the terminal detects the vehicle components to obtain basic equipment information, and sends the obtained basic equipment information to the PKI system through a preset interface so that the PKI system can authenticate the basic equipment information, and the TBOX on the terminal receives the basic equipment information which is returned by the PKI system and passes the authentication of the PKI system. More specifically, the PKI system calls the locally stored module basic information of the vehicle to be compared with the received equipment basic information one by one, if the comparison result is consistent, the authentication is passed, and the authentication result is returned to the terminal; if the comparison result is not consistent, the authentication is not passed, and the process is stopped.
Preferably, in the embodiment of the present invention, the comparing the device basic information with the update upgrade policy information to generate a detection result specifically includes:
comparing whether the basic equipment information is the same as the updating and upgrading strategy information,
if the basic information of the equipment is the same as the updating strategy information, generating a detection result as not needing updating;
and if the basic information of the equipment is different from the updating and upgrading information, generating a detection result as the updating requirement.
Preferably, in the embodiment of the present invention, generating the upgrade information according to the device basic information and the push task at least includes:
and generating upgrading information according to the calculation result according to the difference between the basic information of the equipment and the calculation version of the pushing task. Specifically, because a user selects upgrading and unselects upgrading for each time of upgrading the push information, version differences exist between the basic information of different terminals and the updating policy information in the push task, and therefore the version differences between the basic information of the device and the push task need to be calculated, so that the corresponding upgrade information is determined, and the upgrading and pushing accuracy is guaranteed.
Preferably, in an embodiment of the present invention, the upgrade information at least includes:
and configuring an upgraded vehicle type, vehicle components needing to be upgraded and corresponding version numbers, and an upgrading sequence and an upgrading mode among the vehicle components. Vehicle upgrading is more orderly and accurate. It should be noted that, in the embodiment of the present invention, the upgrade information includes, but is not limited to, a vehicle type to be upgraded, a vehicle component to be upgraded, and a corresponding version number, and an upgrade sequence and an upgrade manner between the vehicle components, and a user may set the upgrade information according to actual needs, which is not described herein again.
As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that the push upgrading method provided in the present application is that the OTA platform synchronizes the push task to the TSP platform, the TSP platform sends the push task instruction to each on-network terminal, and the terminal starts the subsequent detection and push process after receiving the instruction. In the application, the pushing is a message service combining an OTA platform and a TSP platform, and each on-line vehicle is pushed by calling an interface of the TSP platform.
The vehicle terminal detects basic data of the vehicle body after receiving a pushing task instruction pushed by the TSP platform and sends the basic data to the TSP platform, and the TSP platform compares the basic data with basic data of a target vehicle needing to be upgraded and carried in a pushing task, so that the target vehicle needing to be upgraded and pushed is accurately locked. For example, when a vehicle of a certain brand produced in a certain year needs to be updated in a large batch, the vehicle year, the vehicle brand and the vehicle identification name are preset in basic data of a target vehicle carried in a pushing task, a TSP platform compares the basic data with basic data of the target vehicle carried in the pushing task and needs to be updated, the vehicle year, the vehicle brand and the vehicle identification name in the basic data are compared with the vehicle year, the vehicle brand and the vehicle identification name in the basic data of the target vehicle carried in the pushing task, a vehicle terminal with the matched result instructs a next step, namely instructs the vehicle terminal to detect basic equipment information of a vehicle component, the terminal detects the basic equipment information of the vehicle component and authenticates the basic equipment through a PKI system, and then sends a new version request carrying the basic equipment information authenticated by the PKI system to the OTA platform through the TPS platform, the OTA platform obtains accurate basic information of equipment of a target vehicle, then compares the version number and the sequence number of a vehicle component in the basic information of the equipment with the new version number and the new sequence number of the vehicle component in update and upgrade strategy information carried in a pushing task one by one, generates a detection result according to the comparison, and if the comparison result indicates that the new version number and the sequence number of the vehicle component in the update and upgrade strategy information are consistent with the version number and the sequence number of the vehicle component in the basic information of the equipment, the comparison result indicates that the target vehicle does not find that a new version guide detection result does not need to be updated, and indicates that a user is automatically upgraded to an updated version, then subsequently does not generate upgrade information and pushes a corresponding terminal for upgrading; if the comparison result is that the new version number and the serial number of the vehicle component in the upgrade strategy information are different from the version number and the serial number of the vehicle component in the basic information of the equipment, the comparison result is that the new version guide detection result needs to be updated, then upgrade information is generated according to the basic information of the equipment and a pushing task and is sent to a TSP platform, the TSP platform is pushed to a terminal to be displayed on the terminal, and the upgrade information comprises the vehicle type of the vehicle (configured upgraded vehicle type), the vehicle components with different comparison results and corresponding version numbers (vehicle components needing to be upgraded and corresponding version numbers), and the upgrade sequence and the upgrade mode among the vehicle components with different comparison results. The upgrading information obtained and displayed by the terminal of each vehicle is configured according to the condition of the vehicle component of the vehicle, so that the accuracy of upgrading and pushing the vehicle is ensured.
Example 2: as shown in fig. 2, the present embodiment provides a vehicle component upgrade pushing apparatus, including:
the instruction sending module is used for sending a push task instruction carrying target vehicle basic data and updating the upgrading strategy information;
the information detection module is used for acquiring basic data and basic equipment information of the vehicle;
and the information comparison module is used for comparing the basic information of the equipment with the pushing task to generate a detection result, and when the detection result is required to be updated, upgrading information is generated according to the basic information of the equipment and the pushing task and is pushed to the terminal through the TSP platform.
As a preferred embodiment, the apparatus further comprises:
and the instruction receiving module is used for receiving the push task instruction carrying the basic data of the target vehicle and the updating and upgrading strategy information.
And the identity authentication module is used for carrying out PKI identity authentication on the basic information of the equipment.
The vehicle component upgrade pushing device provided in this embodiment is used to implement the vehicle component upgrade pushing method provided in embodiment 1, and its beneficial effects are the same as those of the vehicle component upgrade pushing method provided in embodiment 1, and are not described herein again.
Example 3: the present embodiment provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
initiating a pushing task carrying target vehicle basic data and updating and upgrading strategy information, and synchronously sending the pushing task to a TSP platform for the TSP platform to push the terminal;
detecting basic data of the vehicle, and detecting and acquiring basic equipment information of the vehicle when the basic data is consistent with basic data of the target vehicle;
and comparing the basic information of the equipment with the updating and upgrading strategy information to generate a detection result, and when the detection result is that updating is needed, generating upgrading information according to the basic information of the equipment and the pushing task and pushing the upgrading information to the terminal through the TSP platform.
The beneficial effects of a computer-readable storage medium provided in this embodiment for processing and executing the steps of the vehicle component upgrade pushing method provided in embodiment 1 are the same as those of the vehicle component upgrade pushing method provided in embodiment 1, and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be, but is not limited to, a read-only memory, a magnetic or optical disk, and the like.
It should be understood that the above-mentioned embodiments are only illustrative of the technical concepts and features of the present invention, and are intended to enable those skilled in the art to understand the contents of the present invention and implement the present invention, and not to limit the scope of the present invention. All modifications made according to the spirit of the main technical scheme of the invention are covered in the protection scope of the invention.