CN113472759A - Method for changing vehicle communication protocol, server and readable storage medium - Google Patents

Method for changing vehicle communication protocol, server and readable storage medium Download PDF

Info

Publication number
CN113472759A
CN113472759A CN202110688617.7A CN202110688617A CN113472759A CN 113472759 A CN113472759 A CN 113472759A CN 202110688617 A CN202110688617 A CN 202110688617A CN 113472759 A CN113472759 A CN 113472759A
Authority
CN
China
Prior art keywords
vehicle
communication protocol
version number
software version
information database
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.)
Granted
Application number
CN202110688617.7A
Other languages
Chinese (zh)
Other versions
CN113472759B (en
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.)
SAIC GM Wuling Automobile Co Ltd
Original Assignee
SAIC GM Wuling Automobile Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SAIC GM Wuling Automobile Co Ltd filed Critical SAIC GM Wuling Automobile Co Ltd
Priority to CN202110688617.7A priority Critical patent/CN113472759B/en
Publication of CN113472759A publication Critical patent/CN113472759A/en
Application granted granted Critical
Publication of CN113472759B publication Critical patent/CN113472759B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)
  • Communication Control (AREA)

Abstract

The invention discloses a method for changing a vehicle communication protocol, a server and a readable storage medium, wherein the method comprises the following steps: when the software of the vehicle is upgraded successfully, acquiring parameter information of the vehicle, wherein the parameter information comprises a vehicle identification code and a current software version number corresponding to the software; determining a communication protocol corresponding to the current software version number in a preset upgrading information database; and updating the original communication protocol of the vehicle corresponding to the vehicle identification code in a preset communication information database to be the communication protocol corresponding to the current software version number, and adopting the new communication protocol to interact with the vehicle. The invention can change the communication protocol between the vehicle and the remote monitoring platform more conveniently and accurately.

Description

Method for changing vehicle communication protocol, server and readable storage medium
Technical Field
The invention relates to the technical field of vehicle data communication, in particular to a method for changing a vehicle communication protocol, a server and a readable storage medium.
Background
The communication protocol refers to rules and conventions that must be followed by two entities to complete communication or service, and mainly consists of three elements, namely syntax, semantics and timing rules (timing sequence). However, in practical applications, a communication protocol for a vehicle to communicate with a remote monitoring platform often needs to be changed due to a change of a vehicle acquisition data item, the change of the vehicle acquisition data item may cause an increase or decrease of some messages or signals of an entire vehicle CAN (bus Controller area network) acquisition message, and the entire vehicle CAN bus acquisition message is manufactured according to a communication matrix. Therefore, the collected data items of the vehicle are changed, the communication matrix and the software version of the vehicle need to be updated, and the communication protocol for the vehicle to communicate with the remote data monitoring platform is also changed. And each time the data item is collected, the related engineers need to manually change the communication protocol associated with the vehicle-mounted terminal, which is time-consuming and labor-consuming, and the communication protocol may be changed in a missing or wrong manner, so that the data uploaded by the vehicle is disordered and the data accuracy is affected.
Disclosure of Invention
The invention mainly aims to provide a vehicle communication protocol changing method, a server and a readable storage medium, and aims to improve the convenience and accuracy of changing a vehicle communication protocol.
In order to achieve the above object, the present invention provides a method for changing a vehicle communication protocol, the method including:
when the software of the vehicle is upgraded successfully, acquiring parameter information of the vehicle, wherein the parameter information comprises a vehicle identification code and a current software version number corresponding to the software;
determining a communication protocol corresponding to the current software version number in a preset upgrading information database;
and updating the original communication protocol of the vehicle corresponding to the vehicle identification code in a preset communication information database to be the communication protocol corresponding to the current software version number, and adopting the new communication protocol to interact with the vehicle.
Optionally, when the software upgrade of the vehicle is successful, the step of obtaining the parameter information of the vehicle is preceded by:
acquiring a communication protocol which is determined by a developer according to a first communication matrix and corresponds to the software version number, wherein the first communication matrix is determined by the developer according to the direction of a collected data item of a vehicle, which needs to be changed;
and adding the corresponding relation between the software version number and the communication protocol into the upgrading information database so as to update the upgrading information database.
Optionally, when the software upgrade of the vehicle is successful, before the step of obtaining the parameter information of the vehicle, the method further includes:
acquiring a collected data item required to be changed by a vehicle, and determining a communication protocol corresponding to a software version number according to the changed collected data item;
and adding the corresponding relation between the software version number and the communication protocol into the upgrading information database so as to update the upgrading information database.
Optionally, before the step of determining the communication protocol corresponding to the current software version number in the preset upgrade information database, the method further includes:
checking whether the parameter information is correct;
the step of determining the communication protocol corresponding to the current software version number in a preset upgrade information database comprises the following steps:
and if the parameter information is verified correctly, determining a communication protocol corresponding to the current software version number in an upgrade information database.
Optionally, the step of checking whether the parameter information is correct includes:
checking whether the vehicle identification code exists in the communication information database;
if the vehicle identification code exists in the communication information database, checking whether the current software version number exists in the upgrading information database;
and if the current software version number exists in the upgrading information database, determining that the parameter information is verified correctly.
Optionally, the parameter information further includes a current ICCID identification code, and the step of determining that the parameter information is correctly checked if the current software version number exists in the upgrade information database includes:
if the current software version number exists in the upgrading information database, checking whether the current ICCID identification code consists of characters with preset digits;
if the current ICCID identification code consists of characters with preset digits, checking whether the ICCID identification code corresponding to the vehicle identification code in the upgrade information database is the current ICCID identification code;
and if the ICCID corresponding to the vehicle identification code in the upgrade information database is the current ICCID, the parameter information is verified correctly.
Optionally, after the step of determining the communication protocol corresponding to the current software version number in the upgrade information database, the method further includes:
and updating the original software version number of the vehicle corresponding to the vehicle identification code in the communication information database to be the current software version number.
Optionally, after the step of checking whether the parameter information is correct, the method further includes:
when the parameter information is verified correctly, feeding back information passing verification;
and when the parameter information is checked incorrectly, feeding back information of failed checking.
The invention provides a vehicle, which is characterized by comprising a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the computer program realizes the steps of the vehicle communication protocol changing method when being executed by the processor.
The invention also provides a readable storage medium, characterized in that the readable storage medium has stored thereon a computer program which, when being executed by a processor, realizes the steps of the method for changing the vehicle communication protocol as described above.
When the software of the vehicle is upgraded successfully, acquiring parameter information of the vehicle, wherein the parameter information comprises a vehicle identification code and a current software version number corresponding to the software;
determining a communication protocol corresponding to the current software version number in a preset upgrading information database;
updating the original communication protocol of the vehicle corresponding to the vehicle identification code in the preset communication information database to be the communication protocol corresponding to the current software version number, and adopting the new communication protocol to interact with the vehicle
According to the method, the vehicle identification code of the vehicle and the software version number of the vehicle-mounted terminal after the software of the vehicle is successfully upgraded are obtained through the step of obtaining the parameter information of the vehicle when the software of the vehicle is successfully upgraded. And matching a communication protocol for communicating with the vehicle corresponding to the vehicle identification code by determining the communication protocol corresponding to the current software version number in an upgrade information database, updating the original communication protocol of the vehicle corresponding to the vehicle identification code in a preset communication information database to be the communication protocol corresponding to the current software version number, and finishing automatic change of the vehicle communication protocol by adopting the step of interaction between the new communication protocol and the vehicle. According to the invention, the vehicle parameters are obtained to judge whether the current vehicle needs to change the communication protocol between the remote monitoring platform and the vehicle, so that the communication protocol for interaction between the vehicle and the remote monitoring platform is further automatically updated, the communication protocol associated with the vehicle-mounted terminal does not need to be manually changed, normal data communication between the vehicle and the remote monitoring platform is ensured, and the convenience and the accuracy for changing the communication protocol are improved.
Drawings
FIG. 1 is a schematic block diagram of a vehicle according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a method for changing a vehicle communication protocol according to the present invention;
FIG. 3 is a partial flow chart of a second embodiment of a method for changing a vehicle communication protocol according to the present invention;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic block diagram of a vehicle according to various embodiments of the present invention. The vehicle comprises a communication module 01, a memory 02, a processor 03 and the like. Those skilled in the art will appreciate that the vehicle shown in FIG. 1 may also include more or fewer components than shown, or some components may be combined, or a different arrangement of components. The processor 03 is connected to the memory 02 and the communication module 01, respectively, and the memory 02 stores a computer program, which is executed by the processor 03 at the same time.
The communication module 01 may be connected to an external device through a network. The communication module 01 may receive data sent by an external device, and may also send data, instructions, and information to the external device, where the external device may be an electronic device such as a data management terminal, a mobile phone, a tablet computer, a notebook computer, and a desktop computer.
The memory 02 may be used to store software programs and various data. The memory 02 may mainly include a program storage area and a data storage area, where the program storage area may store an operating system, an application program required by at least one function (a target sub-process, a first monitoring sub-process and a shared file corresponding to the instruction are created based on a parent process), and the like; the storage data area may store data or information created by the behavior and running environment of the controlled vehicle and the phase change of the traffic signal, and the like. Further, the memory 02 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 03, which is a control center of the vehicle, connects various parts of the entire vehicle using various interfaces and lines, and performs various functions of the vehicle and processes data by operating or executing software programs and/or modules stored in the memory 02 and calling data stored in the memory 02. Processor 03 may include one or more processing units; preferably, the processor 03 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 03. Although not shown in fig. 1, the vehicle may further include a circuit control module, where the circuit control module is configured to be connected to a mains power supply to implement power control and ensure normal operation of other components.
Those skilled in the art will appreciate that the vehicle module configuration shown in FIG. 1 does not constitute a limitation of the vehicle and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
According to the above module structure, various embodiments of the method of the present invention are provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of the present invention, where the method for changing the vehicle communication protocol includes:
step S100, when the software of the vehicle is upgraded successfully, acquiring parameter information of the vehicle, wherein the parameter information comprises a vehicle identification code and a current software version number corresponding to the software;
the method for changing the vehicle communication protocol is applied to a remote monitoring platform, the remote monitoring platform is mainly used for collecting and monitoring the working condition data of the vehicle in real time, when the vehicle breaks down or encounters dangerous conditions, the vehicle early warning information is timely and effectively sent to a background and a management user through real-time working condition detection, the potential safety hazard of vehicle operation is effectively eliminated, and meanwhile, data support can be provided for follow-up fault maintenance and optimization of the vehicle.
In one embodiment, when the vehicle-mounted terminal software of the vehicle is successfully upgraded by the remote upgrade platform, the vehicle uploads the vehicle identification code and the current software version number corresponding to the software to the remote upgrade platform, and then the remote upgrade platform pushes the vehicle identification code and the current software version number corresponding to the software to the remote monitoring platform, so that the remote monitoring platform obtains the parameter information of the vehicle, wherein the remote upgrade platform is a supplier-facing technical platform and is mainly used for upgrading and updating the vehicle-mounted terminal software of the vehicle.
The vehicle Identification code, abbreviated as vin (vehicle Identification number), is unique Identification information of the vehicle. The software version number is a software version number of the vehicle-mounted terminal, and a person skilled in the art can know that when software of the vehicle-mounted terminal is successfully upgraded through the remote upgrade platform, the current software version number of the vehicle-mounted terminal is also updated accordingly.
Step S200, determining a communication protocol corresponding to the current software version number in a preset upgrading information database;
the upgrade information database is a mapping relationship between each software version number and each corresponding communication protocol, which is pre-stored by a person skilled in the art. When new software needs to be updated in the remote upgrade platform, a person skilled in the art needs to add the software version number of the online software and a corresponding communication protocol in the upgrade information database in advance.
It can be understood that when the remote monitoring platform monitors that the collected data item of the vehicle-mounted terminal is changed, for example, the maximum discharge voltage of the power battery is increased, or the maximum charging current of the power battery is modified from 1A to 2A, or the detection of the rotating speed of the driving motor of the vehicle is cancelled, and the like, the software version of the vehicle-mounted terminal needs to be upgraded through the remote upgrading platform. After the software version is upgraded successfully, the communication protocol message signal collected by the CAN bus of the whole vehicle is changed. When the communication protocol of the CAN bus of the vehicle for collecting messages changes, the communication protocol of the remote monitoring platform interacting with the vehicle may be updated accordingly. After the vehicle-mounted terminal software of the vehicle is successfully upgraded, the communication protocol is determined to be the communication protocol for the interaction between the remote monitoring platform and the vehicle through the step S200.
It should be noted that, further, step S200 includes, before:
in one embodiment:
acquiring a communication protocol which is determined by a developer according to a first communication matrix and corresponds to the software version number, wherein the first communication matrix is determined by the developer according to the direction of a collected data item of a vehicle, which needs to be changed;
and adding the corresponding relation between the current software version number and the communication protocol into the upgrading information database so as to update the upgrading information database.
The method comprises the steps of obtaining a communication protocol which is determined by a developer according to a first communication matrix and corresponds to a software version number, presetting a corresponding relation between the software version number and the communication protocol on a remote monitoring platform, and further realizing that the communication protocol corresponding to the software version number can be automatically matched in an upgrade information database of the remote monitoring platform when vehicle-mounted terminal software of a vehicle is upgraded successfully in the follow-up process, so that the vehicle and the remote monitoring platform can be automatically updated in an interactive communication protocol.
In another embodiment:
acquiring a collected data item required to be changed by a vehicle, and determining a communication protocol corresponding to a software version number according to the changed collected data item;
in this embodiment, the remote monitoring platform may automatically generate a communication matrix corresponding to the changed acquired data item by obtaining the acquired data item that needs to be changed and input by the developer, and then determine the communication protocol and the current software version number according to the communication matrix.
And adding the corresponding relation between the current software version number and the communication protocol into the upgrading information database so as to update the upgrading information database.
It CAN be understood that, in practical application, a communication protocol for communicating a vehicle with a remote monitoring platform often changes due to changes of vehicle collected data items, the changes of the vehicle collected data items CAN cause increase and decrease of a whole vehicle collected message or modification of some message signals, and the communication protocol for collecting the message by a whole vehicle CAN bus is manufactured according to a communication matrix. The communication matrix is a CAN communication matrix (CAN communication matrix), and each node in the vehicle network CAN complete information interaction and sharing only by following the communication matrix.
And updating the upgrade information database in real time by adding the corresponding relation between the current software version number and the communication protocol into the upgrade information database.
After the step S200, executing the step S300, updating the original communication protocol of the vehicle corresponding to the vehicle identification code in the preset communication information database to the communication protocol corresponding to the current software version number, and interacting with the vehicle by using the new communication protocol.
For ease of understanding, an embodiment is presented to aid understanding: and after the vehicle-mounted terminal software version of the vehicle is successfully upgraded by the remote upgrading platform, the vehicle uploads the current software version number and the vehicle identification code of the vehicle-mounted terminal to the remote upgrading platform. And the remote upgrading platform receives the current software version number and the vehicle identification code and pushes the current software version number and the vehicle identification code to the remote data monitoring platform through the interface. The remote data monitoring platform is configured with a communication protocol corresponding to the current software version number in advance in the upgrading information database, and when the remote data monitoring platform receives the current software version number pushed by the remote monitoring door platform, the communication protocol corresponding to the current software version number is determined in the upgrading information database, so that the communication protocol for interaction between the vehicle corresponding to the vehicle identification code and the remote data monitoring platform is automatically updated. In another embodiment, after the vehicle-mounted terminal software version of the vehicle is successfully upgraded for the remote upgrade platform, the vehicle directly uploads the current software version number of the vehicle-mounted terminal and the vehicle identification code to the remote monitoring platform, the remote data monitoring platform has configured a communication protocol corresponding to the current software version number in the upgrade information database in advance, and when the remote data monitoring platform receives the current software version number pushed by the remote monitoring door platform, the communication protocol corresponding to the current software version number is determined in the upgrade information database, so that the communication protocol for interaction between the vehicle corresponding to the vehicle identification code and the remote data monitoring platform is automatically updated.
In the embodiment, the vehicle identification code of the vehicle and the software version number of the vehicle-mounted terminal after the software upgrading is successful are obtained through the step of obtaining the parameter information of the vehicle when the software upgrading of the vehicle is successful. And matching a communication protocol for communicating with the vehicle corresponding to the vehicle identification code by determining the communication protocol corresponding to the current software version number in an upgrade information database, updating the original communication protocol of the vehicle corresponding to the vehicle identification code in a preset communication information database to be the communication protocol corresponding to the current software version number, and finishing automatic change of the vehicle communication protocol by adopting the step of interaction between the new communication protocol and the vehicle. According to the embodiment, the vehicle parameters are acquired to judge whether the current vehicle needs to change the communication protocol between the remote monitoring platform and the vehicle, so that the communication protocol for interaction between the vehicle and the remote monitoring platform is further automatically updated, the communication protocol associated with the vehicle-mounted terminal does not need to be manually changed, normal data communication between the vehicle and the remote monitoring platform is guaranteed, and convenience and accuracy for changing the communication protocol are improved.
Further, referring to fig. 3, fig. 3 is a partial schematic flow chart of a second embodiment of the present invention, and based on the first embodiment, the step S200 includes:
step S400, checking whether the parameter information is correct;
and checking whether the parameter information is correct or not through a preset mode, wherein the preset mode can be set by a person skilled in the art according to the actual condition so as to better check whether the parameter information meets the requirements or not. For example, the current software version number is checked for the presence in the upgrade information database and/or the vehicle identification code is checked for the presence in the communication information database. The communication information database is a database in the remote monitoring platform, and the database has a mapping relation between each vehicle identification code mapping corresponding communication protocol and each corresponding software version number. It is to be understood that the upgrade information database and the communication information database are different databases.
Further, the step S400 includes: checking whether the vehicle identification code exists in the communication information database;
if the vehicle identification code exists in the communication information database, checking whether the current software version number exists in the upgrading information database;
and if the current software version number exists in the upgrading information database, determining that the parameter information is verified correctly.
As described above, the communication information database has a mapping relationship between each vehicle identification code mapping corresponding communication protocol and each corresponding software version number, and the upgrade information database and the communication information database are different databases.
It can be understood that, the checking process of checking whether the vehicle identification code exists in the communication information database and the checking process of checking whether the current software version number exists in the upgrade information database are performed at the same time, and the sequence of the two checking processes is not limited, preferably.
Further, the parameter information further includes a current ICCID identification code (integrated circuit card identification code), and the step of determining that the parameter information is correctly verified if the current software version number exists in the upgrade information database further includes:
if the current software version number exists in the upgrading information database, checking whether the current ICCID identification code consists of characters with preset digits;
wherein, the preset digit is preset by the technical personnel in the field, and it can be known that the ICCID identification code generally consists of 20-bit characters, and the technical personnel in the field can preset the preset digit to 20 bits, at this moment: checking whether the current ICCID identification code is composed of 20-digit characters.
If the current ICCID identification code consists of characters with preset digits, checking whether the ICCID identification code corresponding to the vehicle identification code in the upgrade information database is the current ICCID identification code;
the vehicle identification code is a unique vehicle identification code, and the vehicle identification code is a unique vehicle identification code. When the fact that the preset ICCID corresponding to the vehicle identification code in the upgrading information database is not the ICCID is detected, the fact that the acquired parameter information of the vehicle is wrong can be determined, and at the moment, the remote monitoring platform or the interactive equipment interacting with the remote monitoring platform reports the error so as to wait for an engineer to confirm and take further solution measures.
And if the ICCID corresponding to the vehicle identification code in the upgrade information database is the current ICCID, the parameter information is verified correctly.
And if the vehicle identification code does not exist in the communication information database, or the current software version number does not exist in the upgrading information database, or the ICCID identification code does not consist of characters with preset digits, or the preset ICCID identification code corresponding to the vehicle identification code in the upgrading information database is not the current ICCID identification code, the parameter information is checked to be wrong.
Similarly, the vehicle identification code is checked whether to exist in a communication information database, the current software version number is checked whether to exist in an upgrading information database, the ICCID identification code is checked whether to consist of characters with preset digits, and the preset ICCID identification code corresponding to the vehicle identification code in the upgrading information database is checked whether to be the current ICCID identification code. It is understood that, preferably, the verification process of verifying whether the ICCID identification code is composed of characters of a preset number of digits precedes the verification process of verifying whether the preset ICCID identification code corresponding to the vehicle identification code in the upgrade information database is the current ICCID identification code, the checking process of checking whether the ICCID identification code consists of characters with preset digits is set before the checking process of checking whether the preset ICCID identification code corresponding to the vehicle identification code in the upgrade information database is the current ICCID identification code, therefore, when the ICCID identification code is not composed of characters with preset digits, the parameter information is determined to be wrong, and the process of checking whether the preset ICCID identification code corresponding to the vehicle identification code in the upgrade information database is the current ICCID identification code is not needed, so that the operation load of a remote monitoring platform is reduced.
Further, when the parameter information is verified correctly, feeding back information passing verification; and when the parameter information is checked incorrectly, feeding back information of failed checking.
In an embodiment, when the parameter information is correctly verified, the information that the verification is passed is fed back to the remote upgrading platform, and when the parameter information is incorrectly verified, the information that the verification is failed is fed back to the remote upgrading platform, so that an engineer can judge whether the communication protocol for interaction between the vehicle and the remote monitoring platform is successfully updated or not after the vehicle-mounted terminal software of the vehicle is successfully upgraded according to the information received by the remote upgrading platform. Of course, it can be understood that when the parameter information is verified correctly or the parameter information is verified incorrectly, the information that is verified to pass or the information that is verified to fail can be fed back through the remote monitoring platform itself.
It is understood that the information that the verification fails should further include a location where the parameter information is wrong, for example, the location includes that the current software version number does not exist in the upgrade information database, or a preset ICCID identification code corresponding to the vehicle identification code in the upgrade information database is not wrong location information of the ICCID identification code, so that an engineer can locate the wrong location of the parameter information according to the information that the verification fails and adopt a solution corresponding to the wrong location of the parameter information.
If the parameter information is verified correctly, the step S200 is executed: and determining a communication protocol corresponding to the current software version number in an upgrade information database.
Further, the step S200 is followed by:
and updating the original software version number of the vehicle corresponding to the vehicle identification code in the communication information database to be the current software version number.
The step of updating the original software version number of the vehicle corresponding to the vehicle identification code in the communication information database to the current software version number is used for realizing the real-time updating of the communication information database, so that the current latest software version number bound by the vehicle-mounted terminal of each vehicle can be inquired more intuitively and conveniently.
In this embodiment, the validity and the accuracy of the uploaded parameter information are ensured by checking whether the parameter information is correct, and if the parameter information is correct, determining a communication protocol corresponding to the current software version number in an upgrade information database, so as to further improve the convenience and the accuracy of changing the communication protocol for interacting between the remote monitoring platform and the vehicle.
The invention also proposes a readable storage medium on which the computer program is stored. The readable storage medium may be the Memory 02 in the terminal of fig. 1, or may be at least one of a ROM (Read-Only Memory)/RAM (Random Access Memory), a magnetic disk, and an optical disk, and the computer-readable storage medium includes several pieces of information for enabling the terminal to perform the method according to the embodiments of the present invention.
The specific embodiment of the readable storage medium of the present invention is substantially the same as the embodiments of the method for changing the vehicle communication protocol, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for changing a vehicle communication protocol, the method comprising:
when the software of the vehicle is upgraded successfully, acquiring parameter information of the vehicle, wherein the parameter information comprises a vehicle identification code and a current software version number corresponding to the software;
determining a communication protocol corresponding to the current software version number in a preset upgrading information database;
and updating the original communication protocol of the vehicle corresponding to the vehicle identification code in a preset communication information database to be the communication protocol corresponding to the current software version number, and adopting the new communication protocol to interact with the vehicle.
2. The method for changing a vehicle communication protocol according to claim 1, wherein the step of obtaining the parameter information of the vehicle when the software upgrade of the vehicle is successful is preceded by:
acquiring a communication protocol which is determined by a developer according to a first communication matrix and corresponds to the software version number, wherein the first communication matrix is determined by the developer according to the direction of a collected data item of a vehicle, which needs to be changed;
and adding the corresponding relation between the software version number and the communication protocol into the upgrading information database so as to update the upgrading information database.
3. The method for changing a vehicle communication protocol according to claim 1, wherein the step of obtaining the parameter information of the vehicle when the software upgrade of the vehicle is successful is preceded by:
acquiring a collected data item required to be changed by a vehicle, and determining a communication protocol corresponding to a software version number according to the changed collected data item;
and adding the corresponding relation between the software version number and the communication protocol into the upgrading information database so as to update the upgrading information database.
4. The method for changing a vehicle communication protocol according to claim 2, wherein before the step of determining the communication protocol corresponding to the current software version number in a preset upgrade information database, further comprising:
checking whether the parameter information is correct;
the step of determining the communication protocol corresponding to the current software version number in a preset upgrade information database comprises the following steps:
and if the parameter information is verified correctly, determining a communication protocol corresponding to the current software version number in an upgrade information database.
5. The method for changing a vehicle communication protocol according to claim 4, wherein the step of checking whether the parameter information is correct includes:
checking whether the vehicle identification code exists in the communication information database;
if the vehicle identification code exists in the communication information database, checking whether the current software version number exists in the upgrading information database;
and if the current software version number exists in the upgrading information database, determining that the parameter information is verified correctly.
6. The method of changing a vehicle communication protocol of claim 4, wherein the parameter information further includes a current ICCID identification code, and the step of determining that the parameter information check is correct if the current software version number exists in the upgrade information database comprises:
if the current software version number exists in the upgrading information database, checking whether the current ICCID identification code consists of characters with preset digits;
if the current ICCID identification code consists of characters with preset digits, checking whether the ICCID identification code corresponding to the vehicle identification code in the upgrade information database is the current ICCID identification code;
and if the ICCID corresponding to the vehicle identification code in the upgrade information database is the current ICCID, the parameter information is verified correctly.
7. The method for changing a vehicle communication protocol according to claim 5 or 6, wherein after the step of determining a communication protocol corresponding to the current software version number in the upgrade information database, further comprising:
and updating the original software version number of the vehicle corresponding to the vehicle identification code in the communication information database to be the current software version number.
8. The method for changing a vehicle communication protocol according to any one of claims 4 to 6, wherein the step of checking whether the parameter information is correct further comprises:
when the parameter information is verified correctly, feeding back information passing verification;
and when the parameter information is checked incorrectly, feeding back information of failed checking.
9. A server, characterized by comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method of changing a vehicle communication protocol according to any one of claims 1 to 8.
10. A readable storage medium, characterized in that the readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of changing a vehicle communication protocol according to any one of claims 1 to 8.
CN202110688617.7A 2021-06-21 2021-06-21 Method for changing vehicle communication protocol, server, and readable storage medium Active CN113472759B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110688617.7A CN113472759B (en) 2021-06-21 2021-06-21 Method for changing vehicle communication protocol, server, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110688617.7A CN113472759B (en) 2021-06-21 2021-06-21 Method for changing vehicle communication protocol, server, and readable storage medium

Publications (2)

Publication Number Publication Date
CN113472759A true CN113472759A (en) 2021-10-01
CN113472759B CN113472759B (en) 2023-05-12

Family

ID=77869020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110688617.7A Active CN113472759B (en) 2021-06-21 2021-06-21 Method for changing vehicle communication protocol, server, and readable storage medium

Country Status (1)

Country Link
CN (1) CN113472759B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915554A (en) * 2022-04-08 2022-08-16 一汽解放汽车有限公司 Remote upgrading method and device, computer equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104149717A (en) * 2014-07-31 2014-11-19 北京中瑞蓝科电动汽车技术有限公司 Remote non-interference updating system and remote non-interference updating method for vehicle control
CN107291457A (en) * 2017-06-08 2017-10-24 重庆长安汽车股份有限公司 The long-range renewal computing system and method for entire car controller software
CN107577175A (en) * 2017-08-09 2018-01-12 深圳市爱培科技术股份有限公司 MCU method for upgrading software, system and the storage device of vehicle-mounted multimedia equipment
CN108429796A (en) * 2018-02-23 2018-08-21 航天新长征电动汽车技术有限公司 A kind of general vehicle remote monitoring terminal, system and method
CN111740972A (en) * 2020-06-15 2020-10-02 中国第一汽车股份有限公司 Method, device, equipment and storage medium for updating communication protocol stack information
CN111813095A (en) * 2020-07-30 2020-10-23 深圳市元征科技股份有限公司 Vehicle diagnosis method, device and medium
CN112596764A (en) * 2020-12-18 2021-04-02 西安中星测控有限公司 Internet of things monitoring method and device based on NB-IoT remote upgrading
US20210134081A1 (en) * 2019-11-05 2021-05-06 Westinghouse Air Brake Technologies Corporation Vehicle control system
CN112769607A (en) * 2020-12-31 2021-05-07 北京智行者信息科技有限公司 Unmanned vehicle software upgrading method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104149717A (en) * 2014-07-31 2014-11-19 北京中瑞蓝科电动汽车技术有限公司 Remote non-interference updating system and remote non-interference updating method for vehicle control
CN107291457A (en) * 2017-06-08 2017-10-24 重庆长安汽车股份有限公司 The long-range renewal computing system and method for entire car controller software
CN107577175A (en) * 2017-08-09 2018-01-12 深圳市爱培科技术股份有限公司 MCU method for upgrading software, system and the storage device of vehicle-mounted multimedia equipment
CN108429796A (en) * 2018-02-23 2018-08-21 航天新长征电动汽车技术有限公司 A kind of general vehicle remote monitoring terminal, system and method
US20210134081A1 (en) * 2019-11-05 2021-05-06 Westinghouse Air Brake Technologies Corporation Vehicle control system
CN111740972A (en) * 2020-06-15 2020-10-02 中国第一汽车股份有限公司 Method, device, equipment and storage medium for updating communication protocol stack information
CN111813095A (en) * 2020-07-30 2020-10-23 深圳市元征科技股份有限公司 Vehicle diagnosis method, device and medium
CN112596764A (en) * 2020-12-18 2021-04-02 西安中星测控有限公司 Internet of things monitoring method and device based on NB-IoT remote upgrading
CN112769607A (en) * 2020-12-31 2021-05-07 北京智行者信息科技有限公司 Unmanned vehicle software upgrading method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王海幸: "车辆监控平台设计与实现", 《中国优秀硕士学位论文全文数据库(电子期刊)》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915554A (en) * 2022-04-08 2022-08-16 一汽解放汽车有限公司 Remote upgrading method and device, computer equipment and storage medium
CN114915554B (en) * 2022-04-08 2024-03-19 一汽解放汽车有限公司 Remote upgrading method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN113472759B (en) 2023-05-12

Similar Documents

Publication Publication Date Title
CN110659049A (en) OTA (over the air) upgrading method and terminal equipment for automatic driving vehicle
CN106681766B (en) Remote firmware upgrade control method and system
US11613285B2 (en) Method for operating a rail vehicle
US20200201621A1 (en) Method and Central Data Processing Device for Updating Software in a Plurality of Vehicles
CN110727454A (en) Updating method and device of intelligent equipment, electronic equipment and storage medium
CN106648781B (en) Method and system for upgrading remote firmware of communication equipment
CN105718293A (en) Method And System For Updating Software Components Of Motor Vehicle, And Corresponding Motor Vehicle
CN113434168A (en) Vehicle-mounted network architecture self-adaptive upgrading method based on intelligent hardware computing power
CN112650520A (en) Ammeter upgrading method and system, intelligent ammeter and storage medium
CN111083017A (en) Air conditioner distribution network testing method, air conditioner distribution network testing terminal and readable storage medium
CN112118318A (en) Vehicle upgrading method, terminal device, vehicle and computer storage medium
CN113504922A (en) Robot software upgrading method and device, bridge server and upgrading server
CN113472759B (en) Method for changing vehicle communication protocol, server, and readable storage medium
CN114675855A (en) Vehicle software remote upgrading method and device and platform equipment
Shi et al. A vehicle electric control unit over-the-air reprogramming system
CN112667272A (en) Ammeter upgrading method and system, intelligent ammeter and storage medium
WO2008075827A1 (en) Device and method for detecting and repairing malfunction of electrical devices in a vehicle through ecu
CN116339784A (en) Emergency method and device for failure in upgrading vehicle application, vehicle, equipment and medium
EP4258102A1 (en) Programming method and apparatus for tire pressure sensing apparatus, and replacement method and apparatus for tire pressure sensing apparatus
CN112320515B (en) Elevator control system debugging method, elevator control system and computer storage medium
CN115454472A (en) Remote upgrading problem solving method, device, equipment and readable storage medium
CN110399240B (en) Vehicle electronic device and method for processing abnormal operation of vehicle electronic device
CN113655737A (en) System and method for rapidly upgrading vehicle-mounted electronic controller transmitted through CAN
CN112463208A (en) Version management method and device, electronic equipment and storage medium
CN113904955A (en) Detection method, device and system of data transmission link

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
GR01 Patent grant
GR01 Patent grant