CN111176695A - Vehicle ECU configuration method, server and terminal - Google Patents

Vehicle ECU configuration method, server and terminal Download PDF

Info

Publication number
CN111176695A
CN111176695A CN201911423233.1A CN201911423233A CN111176695A CN 111176695 A CN111176695 A CN 111176695A CN 201911423233 A CN201911423233 A CN 201911423233A CN 111176695 A CN111176695 A CN 111176695A
Authority
CN
China
Prior art keywords
information
vehicle
terminal
ecu
target vehicle
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
CN201911423233.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.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch 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 Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN201911423233.1A priority Critical patent/CN111176695A/en
Publication of CN111176695A publication Critical patent/CN111176695A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The embodiment of the application discloses a vehicle ECU configuration method, a server and a terminal. The method comprises the following steps: the method comprises the steps that a terminal sends vehicle type information and system information of a target vehicle to a server, correspondingly, the server receives the vehicle type information and the system information, corresponding configuration parameter information matched from a pre-stored corresponding relation is sent to the terminal according to the vehicle type information and the system information, the terminal receives the configuration parameter information and writes configuration parameters into an ECU of the target vehicle, and the configuration parameters define the working mode of the ECU of the target vehicle. By adopting the embodiment of the application, the safety of the configuration parameters is enhanced, and the efficiency and the accuracy of the operation process are improved.

Description

Vehicle ECU configuration method, server and terminal
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, a server, and a terminal for configuring a vehicle ECU.
Background
Since the electronic fuel injection system of early vehicles required the operating characteristics of "fixed quantity, timed" fuel injection, and required intervention of an engine control unit, Electronic Control Units (ECU) of automobiles were developed. The ECU of the automobile is also called as an "on-board computer" and is a microcomputer controller special for the automobile in terms of usage, so that the configuration parameter information in the ECU of the automobile determines the functional characteristics of the automobile, and when the ECU sample of the automobile breaks down, the ECU sample needs to be replaced or re-brushed for the automobile, and the configuration parameter information needs to be written in the replaced or re-brushed ECU sample.
At present, if an old ECU sample piece can carry out normal communication, firstly, diagnostic software is utilized to read configuration parameters from the old ECU sample piece and store the configuration parameters, and then the stored configuration parameters are written into a new ECU sample piece; if the old ECU sample piece can not carry out normal communication, the configuration parameters are required to be manually input by a user according to a prompt box in the diagnosis software, and the diagnosis software writes the configuration parameters into the new ECU sample piece. However, in the conventional method, the security of the configuration parameter information is low, and the efficiency and accuracy of the implementation manner are also to be improved.
Disclosure of Invention
The embodiment of the application discloses a vehicle ECU configuration method, a server and a terminal, which not only improve the safety of configuration parameter information, but also improve the efficiency and accuracy of an operation process.
In a first aspect, an embodiment of the present application provides a method for vehicle ECU configuration, including: the method comprises the steps that a server receives vehicle type information and system information of a target vehicle, wherein the vehicle type information and the system information are sent by a terminal, and the system information is information of an Electronic Control Unit (ECU) of the target vehicle, which needs to be replaced; the server matches the vehicle type information and the configuration parameter information corresponding to the system information from a pre-stored corresponding relationship; the server transmits the configuration parameter information to the terminal, wherein the configuration parameter information is used for the terminal to write configuration parameters into the ECU of the target vehicle, and the configuration parameters define the operation mode of the ECU needing to be replaced.
In the method, a server matches corresponding configuration parameter information according to model information and system information of a target vehicle and sends the configuration parameter information to the terminal, and the terminal writes the configuration parameters into an ECU of the target vehicle. The method for configuring the vehicle ECU does not need the old ECU sample piece of the target vehicle and does not need manual input of the configuration parameters, thereby not only enhancing the safety of the configuration parameters, but also improving the efficiency and the accuracy of the operation process.
In an optional aspect of the first aspect, the receiving, by the server, vehicle type information and system information of the target vehicle sent by the terminal includes: and the server receives the vehicle identification number VIN of the target vehicle and the system information sent by the terminal, wherein the VIN is used for identifying the vehicle type of the target vehicle, and the vehicle type of the target vehicle is one of multiple vehicle types. It can be seen that the method can be applied to vehicles of various models.
In yet another optional aspect of the first aspect, before the server matches the vehicle type information and the configuration parameter information corresponding to the system information from a pre-stored correspondence relationship, the method further includes: and if the configuration parameter information of the corresponding relation changes, updating the changed configuration parameter information.
It can be seen that if the configuration parameters change, only the modification needs to be performed in the database of the server, so that the terminal can obtain the latest configuration parameter information without notifying the change of the configuration parameters of each terminal one by one, thereby realizing the automatic synchronization of the change information of the terminal and improving the efficiency and accuracy of the operation process.
In a second aspect, an embodiment of the present application provides a method of vehicle ECU configuration, including: the method comprises the steps that a terminal sends vehicle type information and system information of a target vehicle to a server, wherein the vehicle type information and the system information of the target vehicle are used for matching corresponding configuration parameter information from a pre-stored corresponding relation by the server; the terminal receives the vehicle type information of the target vehicle and the configuration parameter information corresponding to the system information sent by the server; and the terminal writes configuration parameters into the ECU of the target vehicle, wherein the configuration parameters define the operation mode of the ECU needing to be replaced.
In the method, a server matches corresponding configuration parameter information according to model information and system information of a target vehicle and sends the configuration parameter information to the terminal, and the terminal writes the configuration parameters into an ECU of the target vehicle. The method for configuring the vehicle ECU does not need the old ECU sample piece of the target vehicle and does not need manual input of the configuration parameters, thereby not only enhancing the safety of the configuration parameters, but also improving the efficiency and the accuracy of the operation process.
In yet another optional aspect of the second aspect, before the sending, by the terminal, the vehicle type information and the system information of the target vehicle to the server, the method further includes: the terminal acquires the model information of the target vehicle; and the terminal determines system information of the target vehicle according to the vehicle type information, wherein the system information is information of an ECU (electronic control unit) which needs to be replaced by the target vehicle.
In yet another optional solution of the second aspect, the determining, by the terminal, vehicle type information of the target vehicle includes: the terminal receives a VIN code of the target vehicle sent by the target vehicle, wherein the VIN code is used for identifying the vehicle type of the target vehicle, and the vehicle type of the target vehicle is one of multiple vehicle types. It can be seen that the method can be applied to vehicles of various models.
In another optional aspect of the second aspect, the determining, by the terminal, system information of the target vehicle according to the vehicle type information includes: the terminal determines at least one ECU of the target vehicle according to the vehicle type information; the terminal determines the system information of the target vehicle according to a selection operation of a user on one of the at least one ECU.
That is, after the method identifies the vehicle type information, the terminal can determine the system with the ECU of the vehicle type, and the user can select the system with the ECU for vehicle replacement from the selection prompt in the terminal.
In a third aspect, an embodiment of the present application provides a server configured by a vehicle ECU, including: the system comprises a receiving unit, a judging unit and a judging unit, wherein the receiving unit is used for receiving vehicle type information and system information of a target vehicle, which are sent by a terminal, and the system information is information of an ECU (electronic control unit) of the target vehicle, which needs to be replaced; the determining unit is used for matching the vehicle type information and the configuration parameter information corresponding to the system information from the pre-stored corresponding relation; and a transmitting unit, configured to transmit the matching parameter information to the terminal, where the matching parameter information is used by the terminal to write configuration parameters defining an operation mode of the ECU that needs to be replaced into the ECU of the target vehicle.
In the method, a server matches corresponding configuration parameter information according to model information and system information of a target vehicle and sends the configuration parameter information to the terminal, and the terminal writes the configuration parameters into an ECU of the target vehicle. The method for configuring the vehicle ECU does not need the old ECU sample piece of the target vehicle and does not need manual input of the configuration parameters, thereby not only enhancing the safety of the configuration parameters, but also improving the efficiency and the accuracy of the operation process.
In an optional aspect of the third aspect, the receiving unit is specifically configured to: and receiving the VIN code of the target vehicle and the system information sent by the terminal, wherein the VIN code is used for identifying the vehicle type of the target vehicle, and the vehicle type of the target vehicle is one of multiple vehicle types. It can be seen that the method can be applied to vehicles of various models.
In yet another optional aspect of the third aspect, the server further includes: and a processing unit, configured to update the changed configuration parameter information if the configuration parameter information of the correspondence relationship changes before the determining unit matches the configuration parameter information corresponding to the vehicle type information and the system information from a pre-stored correspondence relationship.
It can be seen that if the configuration parameters change, only the modification needs to be performed in the database of the server, so that the terminal can obtain the latest configuration parameter information without notifying the change of the configuration parameters of each terminal one by one, thereby realizing the automatic synchronization of the change information of the terminal and improving the efficiency and accuracy of the operation process.
In a fourth aspect, an embodiment of the present application provides a vehicle ECU configured terminal, including: a sending unit, configured to send vehicle type information and system information of a target vehicle to a server, where the vehicle type information and system information of the target vehicle are used for the server to match corresponding configuration parameter information from a pre-stored correspondence; a receiving unit, configured to receive the vehicle type information of the target vehicle and configuration parameter information corresponding to the system information sent by the server; and a processing unit for writing configuration parameters defining the operation mode of the ECU which needs to be replaced into the ECU of the target vehicle.
In the method, a server matches corresponding configuration parameter information according to model information and system information of a target vehicle and sends the configuration parameter information to the terminal, and the terminal writes the configuration parameters into an ECU of the target vehicle. The method for configuring the vehicle ECU does not need the old ECU sample piece of the target vehicle and does not need manual input of the configuration parameters, thereby not only enhancing the safety of the configuration parameters, but also improving the efficiency and the accuracy of the operation process.
In an optional aspect of the fourth aspect, the terminal further includes: a first determining unit, configured to acquire vehicle type information of a target vehicle before the transmitting unit transmits the vehicle type information and system information of the target vehicle to a server; and a second determination unit configured to determine system information of the target vehicle according to the vehicle type information, where the system information is information of an ECU that the target vehicle needs to be replaced.
In yet another optional aspect of the fourth aspect, the first determining unit is specifically configured to: and receiving a VIN code of the target vehicle sent by the target vehicle, wherein the VIN code is used for identifying the vehicle type of the target vehicle, and the vehicle type of the target vehicle is one of multiple vehicle types. It can be seen that the method can be applied to vehicles of various models.
In yet another optional aspect of the fourth aspect, the second determining unit is specifically configured to: determining at least one ECU of the target vehicle according to the vehicle type information; and determining the system information of the target vehicle according to the selection operation of the user on one ECU in the at least one ECU.
That is, after the method identifies the vehicle type information, the terminal can determine the system with the ECU of the vehicle type, and the user can select the system with the ECU for vehicle replacement from the selection prompt in the terminal.
In a fifth aspect, an embodiment of the present application provides a server, which includes a communication interface, a memory, and a processor, wherein the communication interface is used for data communication between the server and a terminal, the memory is used for storing a computer program, and the processor is configured to execute the computer program, so as to cause the server to perform the method described in the first aspect or any one of the alternatives of the first aspect.
In a sixth aspect, the present application provides a terminal, including a communication interface, a memory and a processor, where the communication interface is used for data communication between the terminal and a server, the memory is used for storing a computer program, and the processor is configured to cause the terminal to execute the method described in the second aspect or any alternative of the second aspect.
In a seventh aspect, an embodiment of the present application provides a vehicle ECU configured system, including a server and a terminal, where the server is the server described in any one of the third aspect, the optional version of the third aspect, or the fifth aspect; the terminal is the terminal described in the fourth aspect, any one of the alternatives of the fourth aspect, or the sixth aspect.
In an eighth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the first aspect and the second aspect or in an alternative of any one of the first aspect and the second aspect is implemented.
In a ninth aspect, embodiments of the present application provide a computer program product, which when run on a processor, implements the method described in any one of the first aspect and the second aspect or in the alternative of any one of the aspects of the present application.
It is to be understood that the server provided in the third aspect or the fifth aspect provided above and the computer-readable storage medium provided in the eighth aspect, as well as the computer product provided in the ninth aspect are all configured to execute the method for configuring a vehicle ECU provided in the first aspect, and therefore, the beneficial effects achieved by the method for configuring a vehicle ECU provided in the first aspect can be referred to and are not repeated herein. The server provided in the fourth aspect or the sixth aspect provided above and the computer-readable storage medium provided in the eighth aspect, as well as the computer product provided in the ninth aspect, are each configured to execute the method of the vehicle ECU configuration provided in the second aspect. Therefore, the advantages achieved by the method can refer to the advantages of the method for configuring the vehicle ECU provided by the second aspect, and the details are not repeated herein.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments of the present application or the background art will be briefly described below.
FIG. 1 is a schematic diagram of a vehicle ECU configuration provided in an embodiment of the present application;
FIG. 2 is a schematic flow chart of a vehicle ECU configuration provided by an embodiment of the present application;
fig. 3 is a schematic flowchart of acquiring vehicle type information and system information according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of an interface for selecting an ECU of a vehicle according to an embodiment of the present application;
FIG. 5 is a schematic view of an interface for inputting vehicle information provided by an embodiment of the present application;
FIG. 6 is a schematic structural diagram of a vehicle ECU configured server according to an embodiment of the present application;
FIG. 7 is a schematic structural diagram of a terminal of a vehicle ECU configuration provided by an embodiment of the present application;
fig. 8 is a schematic structural diagram of a server provided in an embodiment of the present application;
fig. 9 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a scene schematic diagram of a vehicle ECU configuration according to an embodiment of the present application, where the scene schematic diagram includes a vehicle 101, a Vehicle Communication Interface (VCI) 102, a terminal 103 and a server 104, where the terminal 103 may be a computer, a mobile phone or a tablet computer, and fig. 1 illustrates the terminal as a computer. Among them, an electronic control unit ECU (e.g., a Transmission Control Unit (TCU), a Battery Management System (BMS), an Engine Management System (EMS), or the like) in a system in the vehicle 101, the vehicle 101 connects the above-mentioned ECUs through a Control Area Network (CAN) bus, and the vehicle 101 performs data transmission with the VCI102 through an on-board diagnostics (OBD) communication interface of the vehicle by using the CAN bus; the terminal 103 performs data transmission with the VCI102 through a Universal Serial Bus (USB) communication interface or other interfaces, and in addition, the terminal 103 and the VCI102 may also perform wireless data transmission through a bluetooth technology or a wireless fidelity (WI-FI) technology; the server 104 communicates with the client in the terminal 103 through an interface function.
If an ECU (e.g., EMS) of a system of the vehicle 101 is replaced, a client loaded in the terminal 103 sends a command for reading a vehicle VIN code to the vehicle 101 through the VCI102, the vehicle 101 sends the vehicle VIN code to the client in the terminal 103 through the VCI102, the client identifies a vehicle type of the vehicle according to the acquired vehicle VIN code and determines that the ECU for replacing the vehicle type is the EMS according to the selection of a user, then, the client sends information of the vehicle VIN code and the EMS to the server 104 through an interface function, the server 104 searches configuration information of the EMS of the vehicle type in a database according to the received information and returns the configuration information to the client, and the client receives the configuration parameters and sends the configuration parameters to the EMS in the CAN bus of the vehicle through the VCI102, thereby completing the process of writing the configuration parameters online. In the process, the safety of the configuration parameter information is improved, and the efficiency and the accuracy of the operation process are improved.
Referring to fig. 2, fig. 2 is a schematic flow chart of a vehicle ECU configuration according to an embodiment of the present application, where the method includes, but is not limited to, the following steps.
Step S201: the terminal acquires model information and system information of a target vehicle.
Specifically, the system information is information of an ECU that needs to be replaced by the target vehicle, and the replaced ECU may be a BMS, an EMS, a TCU, or another ECU.
Optionally, please refer to fig. 3, where fig. 3 is a schematic flowchart of a process for acquiring vehicle type information and system information according to an embodiment of the present application, and the process includes, but is not limited to, the following steps.
Step S2011: and the terminal receives the vehicle type information of the target vehicle sent by the target vehicle.
The vehicle type information includes a VIN code of the target vehicle, the VIN code is used for identifying a vehicle type of the target vehicle, and the vehicle type of the target vehicle is one of a plurality of vehicle types.
Specifically, the target vehicle is connected to a VCI through an OBD interface of the vehicle, and after the VCI is connected to the terminal in a wired or wireless manner, the client installed in the terminal can exchange data with the ECU of the target vehicle through the VCI. For example, after the ECU (e.g., EMS) of the Vehicle is replaced, the terminal transmits a request for reading a Vehicle Identification Number (VIN) to the target Vehicle through the VCI device, and the target Vehicle replies to the client with the request for reading the VIN through an OBD interface of the Vehicle, and the terminal receives the VIN code of the target Vehicle transmitted by the target Vehicle, thereby acquiring the Vehicle type information of the target Vehicle.
Step S2012: and the terminal determines the system information of the target vehicle according to the vehicle type information.
Specifically, the terminal analyzes the vehicle type of the target vehicle according to the received VIN code, for example, if the VIN code received by the terminal is WDD2210222a253260, the terminal determines that the vehicle type of the target vehicle is a gallop (BENZ) series ES320 vehicle type by analyzing the VIN code. After the terminal determines that the model of the target vehicle is the ES320, the terminal determines the ECU (e.g., body control module, BCM), electronic stability control system (ESP), Vehicle Control Unit (VCU), EMS, BMS, TCU, etc.) of the target vehicle (the gallop series of ES320 models) according to the model information and displays information of the ECU through the client, please refer to fig. 4, fig. 4 is an interface diagram of the ECU selected from the vehicle, which includes a model 401 of the vehicle, an ECU402 of the vehicle, and a "determination" button 403, and the user selects the ECU whose model is the replacement of the gallop ES320 as the EMS by the client and clicks the "determination" button 403, thereby acquiring system information of the target vehicle, which is the name of the replacement EMS, optionally, in addition to names, other identifiers used to characterize EMS attributes may be used.
By performing the steps 2011 and 2012, the terminal acquires the model information and the system information of the target vehicle.
Optionally, referring to fig. 5, fig. 5 is a schematic view of an interface for inputting vehicle information provided in an embodiment of the present application, where the schematic view includes vehicle type information 501, system information 502, and a "confirm" button 503. The user may directly input the model information and the system information of the target vehicle through the client, for example, the user may input WDD2210222a253260 in the model information 501, where the model information is the VIN code of the target vehicle, and may also be other identifiers used for characterizing the model information; the EMS is input to the system information 502, and in addition, the EMS may be other identifiers for characterizing the system information, and then the "ok" button is clicked, so that the terminal acquires the model information and the system information of the target vehicle.
As can be seen from the two alternatives, the method can be suitable for vehicles of various types.
Step S202: the terminal transmits the model information and the system information of the target vehicle to the server.
The terminal can obtain the vehicle type information and the system information of the target vehicle through the two optional schemes, and sends the vehicle type information and the system information to the server by using an interface function, wherein the interface function comprises input parameters and output parameters, the input parameters are parameter information transmitted from the terminal to the server, and the output parameters are parameter information transmitted from the server to the terminal. For example, the input parameter 1 in the interface function may be WDD2210222a253260 (the target vehicle is the VIN code of the fast ES320), the input parameter 2 may be EMS (the target vehicle is the ECU of the fast ES320), and the output parameter is the configuration parameter corresponding to the input parameter.
Step S203: and the server receives the vehicle type information and the system information of the target vehicle sent by the terminal.
Specifically, the server receives input parameter information (for example, input parameter 1(WDD2210222a253260) and input parameter 2(EMS)) transmitted from the terminal through an interface function that realizes communication between the server and the terminal.
Step S204: and matching the vehicle type information and the configuration parameter information corresponding to the system information by the server from the pre-stored corresponding relationship.
The configuration parameters in the configuration parameter information define the operation mode of the ECU that needs to be replaced by the target vehicle.
Specifically, the server prestores configuration parameter information of the ECUs of the vehicles of multiple vehicle types, and the configuration parameter information has a mapping relationship with vehicle type information and system information of the vehicles, that is, the server may match corresponding configuration parameter information according to the received vehicle type information and system information of the vehicles according to the mapping relationship. Referring to table 1, table 1 shows a type of vehicle model information and system information and corresponding configuration parameter information listed.
TABLE 1 vehicle type information and System information and corresponding configuration parameter information
In table 1, each behavior has a piece of information, each piece of information includes vehicle type information and system information of the target vehicle and corresponding configuration parameter information, and the configuration parameter information includes configuration information, original manufacturer (OEM) part number, mode configuration, hardware version number, and after-sales configuration information.
It can be seen from table 1 that the configuration parameters may be different for vehicles having the same model, the same system information, and different VIN codes (e.g., the VIN code is WDD2210222a253260 (galloes 320) and the VIN code is WDD2210222a253463 (galloes 320)); the configuration parameters of the vehicles are different for the same vehicle type, the same VIN code, and different system information (e.g., (BMS whose VIN code is WDD2210222a253260 (galloes 320) and EMS whose VIN code is WDD2210222a253260 (galloes 320)); the configuration parameters of the vehicle are different for different vehicle models (e.g., the VIN code is WDD2210222a253260 (galloes 320) and the VIN code is WDD2210222a253260 (galloes 320)). And if the configuration parameter information of the corresponding relation changes, the server updates the changed configuration parameters. It can be seen that if the configuration parameters change, only the modification needs to be performed in the database of the server, so that the terminal can obtain the latest configuration parameter information without notifying the change of the configuration parameters of each terminal one by one, thereby realizing the automatic synchronization of the change information of the terminal and improving the efficiency and accuracy of the operation process.
According to the input parameters (WDD 10 a 5360 and EMS) about the target vehicle, which are received by the server and sent by the terminal, the server matches corresponding configuration parameter information from corresponding preset relations, and as can be seen from Table 1, the configuration information in the corresponding configuration parameter information is 3150001, the OEM part number is 3368100-4V8, the mode configuration is 01, the hardware version number is HW-A-005, and the after-sales configuration information is 33610003110000000000000000000.
Step S205: the server transmits the configuration parameter information to the terminal.
Specifically, the server may use 3150001 (configuration information of the EMS of the target vehicle) among the configuration parameter information as an output parameter 1, 3368100-4V8 (OEM part number of the EMS of the target vehicle) as an output parameter, 01 (mode configuration of the EMS of the target vehicle) as an output parameter 3, HW-a-005 (hardware version number of the EMS of the target vehicle) as an output parameter 4, 33610003110000000000000000000 (after-sales configuration information of the EMS of the target vehicle) as an output parameter 5, and fill the output parameter in a position of the output parameter corresponding to an interface function, and transmit the configuration parameter information to the terminal through the filled interface function.
Step S206: and the terminal receives the vehicle type information of the target vehicle and the configuration parameter information corresponding to the system information sent by the server.
Specifically, the terminal receives the configuration parameter information sent by the server through the populated interface function, and populates the configuration parameter information into a corresponding variable of a diagnostic program in a client loaded by the terminal. For example, the terminal populates the output parameter 1 into the variable of the diagnostic command as configuration information, the terminal populates the output parameter 2 into the variable of the diagnostic command as OEM component number, the terminal populates the output parameter 3 into the variable of the diagnostic command as mode configuration, the terminal populates the output parameter 4 into the variable of the diagnostic command as hardware version number, and the terminal populates the output parameter 5 into the variable of the diagnostic command as after-market configuration parameter information.
Step S207: the terminal writes configuration parameters into the ECU of the target vehicle.
The configuration parameters define the operation of the ECU of the target vehicle.
Specifically, the ECU in the target vehicle is connected via a CAN bus in the vehicle, and if the ECU is the EMS, the terminal writes a request for configuration parameters into the EMS that is replaced with the target vehicle via the CAN bus in the vehicle, fills each variable in the diagnostic program in the client in the terminal into a corresponding diagnostic command one by one, and transmits the diagnostic command to the target vehicle one by one. For example, the client transmits a diagnosis command for writing configuration information to the target vehicle, and the target vehicle receives the diagnosis command and analyzes the diagnosis command, thereby completing the process of writing configuration information to the EMS; then, the client sends a diagnosis command written with an OEM part number to the target vehicle, and the target vehicle receives the diagnosis command and fills in the analyzed diagnosis command, thereby completing the process of writing the OEM part number to the EMS; other specific implementations of the diagnostic command can refer to the above corresponding descriptions, and are not described herein again.
In the method described in fig. 2, the server matches the corresponding configuration parameter information according to the model information and the system information of the target vehicle, and sends the configuration parameter information to the terminal, and the terminal writes the configuration parameters into the ECU of the target vehicle. The method for configuring the vehicle ECU does not need the old ECU sample piece of the target vehicle and does not need manual input of the configuration parameters, thereby not only enhancing the safety of the configuration parameters, but also improving the efficiency and the accuracy of the operation process.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a server 60 of a vehicle ECU configuration according to an embodiment of the present application, where the server 60 may be the above-described server or a device in the above-described server, and the above-described server includes a receiving unit 601, a determining unit 602, and a sending unit 603, where details of each unit are as follows:
a receiving unit 601, configured to receive vehicle type information and system information of a target vehicle sent by a terminal, where the system information is information of an ECU that the target vehicle needs to be replaced;
a determining unit 602, configured to match the vehicle type information and the configuration parameter information corresponding to the system information from a pre-stored correspondence relationship;
a sending unit 603, configured to send the matching parameter information to the terminal, where the matching parameter information is used for the terminal to write configuration parameters defining an operation mode of the ECU that needs to be replaced into the ECU of the target vehicle.
In an implementable scenario, the receiving unit is specifically configured to: and receiving the VIN code of the target vehicle and the system information sent by the terminal, wherein the VIN code is used for identifying the vehicle type of the target vehicle, and the vehicle type of the target vehicle is one of multiple vehicle types. It can be seen that the method can be applied to vehicles of various models.
In another practical aspect, the server further includes: and a processing unit, configured to update the changed configuration parameter information if the configuration parameter information of the correspondence relationship changes before the determining unit matches the configuration parameter information corresponding to the vehicle type information and the system information from a pre-stored correspondence relationship.
It can be seen that if the configuration parameters change, only the modification needs to be performed in the database of the server, so that the terminal can obtain the latest configuration parameter information without notifying the change of the configuration parameters of each terminal one by one, thereby realizing the automatic synchronization of the change information of the terminal and improving the efficiency and accuracy of the operation process.
In the server of fig. 6, the server matches the corresponding configuration parameter information according to the model information and the system information of the target vehicle, and transmits the configuration parameter information to the terminal, and the terminal writes the configuration parameter in the ECU of the target vehicle. The method for configuring the vehicle ECU does not need the old ECU sample piece of the target vehicle and does not need manual input of the configuration parameters, thereby not only enhancing the safety of the configuration parameters, but also improving the efficiency and the accuracy of the operation process.
It should be noted that the implementation of each unit may also correspond to the corresponding description of the method embodiment shown in fig. 2, and is not described herein again.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a terminal 70 of a vehicle ECU configuration according to an embodiment of the present application, where the terminal 70 may be the terminal described above or a device in the terminal, and the schematic structural diagram of the terminal 70 includes a transmitting unit 701, a receiving unit 702, and a processing unit 703, where the specific descriptions of the respective units are as follows:
a sending unit 701, configured to send vehicle type information and system information of a target vehicle to a server, where the vehicle type information and the system information of the target vehicle are used for the server to match corresponding configuration parameter information from a pre-stored correspondence;
a receiving unit 702, configured to receive the vehicle type information of the target vehicle and configuration parameter information corresponding to the system information sent by the server;
a processing unit 703 for writing configuration parameters defining the operation mode of the ECU requiring replacement into the ECU of the target vehicle.
In an implementable scenario, the terminal further includes: a first determining unit, configured to acquire vehicle type information of a target vehicle before the transmitting unit transmits the vehicle type information and system information of the target vehicle to a server; and a second determination unit configured to determine system information of the target vehicle according to the vehicle type information, where the system information is information of an ECU that the target vehicle needs to be replaced.
In another practical implementation, the first determining unit is specifically configured to: and receiving a VIN code of the target vehicle sent by the target vehicle, wherein the VIN code is used for identifying the vehicle type of the target vehicle, and the vehicle type of the target vehicle is one of multiple vehicle types. It can be seen that the method can be applied to vehicles of various models.
In another practical implementation, the second determining unit is specifically configured to: determining at least one ECU of the target vehicle according to the vehicle type information; and determining the system information of the target vehicle according to the selection operation of the user on one ECU in the at least one ECU.
That is, after the method identifies the vehicle type information, the terminal can determine the system with the ECU of the vehicle type, and the user can select the system with the ECU for vehicle replacement from the selection prompt in the terminal.
In the terminal of fig. 7, a server matches corresponding configuration parameter information according to model information and system information of a target vehicle and transmits the configuration parameter information to the terminal, and the terminal writes the configuration parameters into an ECU of the target vehicle. The method for configuring the vehicle ECU does not need the old ECU sample piece of the target vehicle and does not need manual input of the configuration parameters, thereby not only enhancing the safety of the configuration parameters, but also improving the efficiency and the accuracy of the operation process.
It should be noted that the implementation of each unit may also correspond to the corresponding description of the method embodiment shown in fig. 2, and is not described herein again.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a server 80 according to an embodiment of the present application, where the server 80 may be the server described above or a component in the server described above. The server 80 includes a communication interface 801, a memory 802, and a processor 803, wherein the communication interface 801, the memory 802, and the processor 803 may be connected by a bus or by other means, and the embodiment of the present application is exemplified by being connected by a bus.
The memory 802 may be a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), or a portable read-only memory (CD-ROM), but is not limited thereto, and the memory 802 is used to store related instructions and data; the processor 803 may be one or more Central Processing Units (CPUs), that is, a computation core and a control center of the diagnostic device, and is configured to analyze various instructions and data inside the diagnostic device, and in the case that the processor 803 is one CPU, the CPU may be a single-core CPU or a multi-core CPU.
The processor 803 of the server 80 is configured to read the program code stored in the memory 802, and performs operations including:
receiving vehicle type information and system information of a target vehicle, which are sent by a terminal through the communication interface, wherein the system information is information of an ECU (electronic control unit) of the target vehicle, which needs to be replaced; matching the vehicle type information and the configuration parameter information corresponding to the system information from a pre-stored corresponding relationship; and sending the configuration parameter information to the terminal through the communication interface, wherein the configuration parameter information is used for writing configuration parameters into the ECU of the target vehicle by the terminal, and the configuration parameters define the operation mode of the ECU needing to be replaced.
It can be seen that the server matches corresponding configuration parameter information according to the model information and the system information of the target vehicle, and sends the configuration parameter information to the terminal, and the terminal writes the configuration parameters into the ECU of the target vehicle. The method for configuring the vehicle ECU does not need the old ECU sample piece of the target vehicle and does not need manual input of the configuration parameters, thereby not only enhancing the safety of the configuration parameters, but also improving the efficiency and the accuracy of the operation process.
In an implementable aspect, the method for receiving vehicle type information and system information of a target vehicle transmitted by a terminal through the communication interface includes: and receiving the VIN code of the target vehicle and the system information sent by a terminal through the communication interface, wherein the VIN code is used for identifying the vehicle type of the target vehicle, and the vehicle type of the target vehicle is one of multiple vehicle types. It can be seen that the method can be applied to vehicles of various models.
In another embodiment, before matching the vehicle type information and the configuration parameter information corresponding to the system information from a pre-stored correspondence relationship, the method further includes: and if the configuration parameter information of the corresponding relation changes, updating the changed configuration parameter information.
It can be seen that if the configuration parameters change, only the modification needs to be performed in the database of the server, so that the terminal can obtain the latest configuration parameter information without notifying the change of the configuration parameters of each terminal one by one, thereby realizing the automatic synchronization of the change information of the terminal and improving the efficiency and accuracy of the operation process.
The specific implementation of each module in the server shown in fig. 8 may correspond to the corresponding description of the method embodiment shown in fig. 2, and is not described again here.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a terminal 90 according to an embodiment of the present application, where the terminal 90 is the terminal described above or a device in the terminal. The terminal 90 comprises a communication interface 901, a memory 902 and a processor 903. The communication interface 901, the memory 902, and the processor 903 may be connected by a bus or in other manners, and in the embodiment of the present application, the connection by the bus is taken as an example.
The memory 902 may be a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), or a portable read-only memory (CD-ROM), but is not limited thereto, and the memory 902 is used to store related instructions and data; the processor 903 may be one or more Central Processing Units (CPUs), that is, a computation core and a control center of the diagnostic device, and is configured to analyze various instructions and data inside the diagnostic device, and in the case that the processor 903 is one CPU, the CPU may be a single-core CPU or a multi-core CPU.
The processor 903 of the terminal 90 is configured to read the program code stored in the memory 902, and performs operations including: sending the model information and the system information of the target vehicle to a server through the communication interface, wherein the model information and the system information of the target vehicle are used for matching corresponding configuration parameter information from a pre-stored corresponding relation by the server; receiving, through the communication interface, vehicle type information of the target vehicle and configuration parameter information corresponding to system information transmitted by the server; writing configuration parameters into the ECU of the target vehicle through the communication interface, the configuration parameters defining an operating mode of the ECU of the target vehicle.
It can be seen that the server matches corresponding configuration parameter information according to the model information and the system information of the target vehicle, and sends the configuration parameter information to the terminal, and the terminal writes the configuration parameters into the ECU of the target vehicle. The method for configuring the vehicle ECU does not need the old ECU sample piece of the target vehicle and does not need manual input of the configuration parameters, thereby not only enhancing the safety of the configuration parameters, but also improving the efficiency and the accuracy of the operation process.
In an implementation solution, before the vehicle type information and the system information of the target vehicle are sent to the server through the communication interface, the method further includes: acquiring vehicle type information of a target vehicle through the communication interface; and determining system information of the target vehicle according to the vehicle type information, wherein the system information is information of an ECU which needs to be replaced by the target vehicle.
In another embodiment, the obtaining of the model information of the target vehicle through the communication interface includes: and receiving a VIN code of the target vehicle sent by the target vehicle through the communication interface, wherein the VIN code is used for identifying the vehicle type of the target vehicle, and the vehicle type of the target vehicle is one of multiple vehicle types. It can be seen that the method can be applied to vehicles of various models.
In another embodiment, the determining system information of the target vehicle according to the vehicle type information includes: determining at least one ECU of the target vehicle according to the vehicle type information; and determining the system information of the target vehicle according to the selection operation of the user on one ECU in the at least one ECU.
That is, after the method identifies the vehicle type information, the terminal can determine the system with the ECU of the vehicle type, and the user can select the system with the ECU for vehicle replacement from the selection prompt in the terminal.
The specific implementation of each module in the terminal shown in fig. 9 may correspond to the corresponding description of the method embodiment shown in fig. 2, and is not described herein again.
Embodiments of the present application also provide a computer-readable storage medium having stored therein instructions, which when executed on a computer or processor, cause the computer or processor to perform one or more steps of any one of the methods described above. The respective constituent modules of the signal processing diagnosis apparatus may be stored in the computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The processes or functions described above in accordance with the embodiments of the present application occur wholly or in part upon loading and execution of the above-described computer program instructions on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable diagnostic devices. The computer instructions may be stored on or transmitted over a computer-readable storage medium. The computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), etc.
In summary, by implementing the embodiments of the present application, the server matches the corresponding configuration parameter information according to the model information and the system information of the target vehicle, and sends the configuration parameter information to the terminal, and the terminal writes the configuration parameter into the ECU of the target vehicle. The method for configuring the vehicle ECU does not need the old ECU sample piece of the target vehicle and does not need manual input of the configuration parameters, thereby not only enhancing the safety of the configuration parameters, but also improving the efficiency and the accuracy of the operation process.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the computer program is executed. And the aforementioned storage medium includes: various media capable of storing program codes, such as ROM, RAM, magnetic disk or optical disk, can be combined arbitrarily without conflict.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not intended to limit the scope of the present application, which is defined by the appended claims.

Claims (10)

1. A method of vehicle ECU configuration, comprising:
the method comprises the steps that a server receives vehicle type information and system information of a target vehicle, wherein the vehicle type information and the system information are sent by a terminal, and the system information is information of an Electronic Control Unit (ECU) of the target vehicle, which needs to be replaced;
the server matches the vehicle type information and the configuration parameter information corresponding to the system information from a pre-stored corresponding relationship;
and the server sends the configuration parameter information to the terminal, the configuration parameter information is used for writing configuration parameters into the ECU of the target vehicle by the terminal, and the configuration parameters define the working mode of the ECU needing to be replaced.
2. The method of claim 1, wherein the server receives the vehicle type information and the system information of the target vehicle sent by the terminal, and comprises:
and the server receives a Vehicle Identification Number (VIN) code of the target vehicle and the system information, wherein the VIN code is used for identifying the vehicle type of the target vehicle, and the vehicle type of the target vehicle is one of multiple vehicle types.
3. The method according to claim 1, wherein before the server matches the vehicle type information and the configuration parameter information corresponding to the system information from the pre-stored correspondence relationship, the method further comprises:
and if the configuration parameter information of the corresponding relation changes, updating the changed configuration parameter information.
4. A method of vehicle ECU configuration, comprising:
the method comprises the steps that a terminal sends vehicle type information and system information of a target vehicle to a server, wherein the vehicle type information and the system information of the target vehicle are used for matching corresponding configuration parameter information from a pre-stored corresponding relation by the server;
the terminal receives the vehicle type information of the target vehicle and the configuration parameter information corresponding to the system information sent by the server;
and the terminal writes configuration parameters into the ECU of the target vehicle, wherein the configuration parameters define the working mode of the ECU needing to be replaced.
5. The method of claim 4, wherein before the terminal sends the model information and the system information of the target vehicle to the server, the method further comprises:
the terminal acquires the model information of the target vehicle;
and the terminal determines the system information of the target vehicle according to the vehicle type information, wherein the system information is information of an ECU (electronic control unit) which needs to be replaced by the target vehicle.
6. The method of claim 5, wherein the terminal determines the system information of the target vehicle according to the vehicle type information, comprising:
the terminal determines at least one ECU (electronic control unit) of the target vehicle according to the vehicle type information;
the terminal determines the system information of the target vehicle according to the selection operation of the user on one ECU of the at least one ECU.
7. A vehicle ECU-configured server, characterized by comprising:
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving vehicle type information and system information of a target vehicle, which are sent by a terminal, and the system information is information of an Electronic Control Unit (ECU) of the target vehicle, which needs to be replaced;
the determining unit is used for matching the vehicle type information and the configuration parameter information corresponding to the system information from the pre-stored corresponding relation;
and the sending unit is used for sending the matching parameter information to the terminal, the matching parameter information is used for writing configuration parameters into the ECU of the target vehicle by the terminal, and the configuration parameters define the working mode of the ECU needing to be replaced.
8. A vehicle ECU-configured terminal, characterized by comprising:
the system comprises a sending unit, a receiving unit and a processing unit, wherein the sending unit is used for sending vehicle type information and system information of a target vehicle to a server, and the vehicle type information and the system information of the target vehicle are used for matching corresponding configuration parameter information from a pre-stored corresponding relation by the server;
the receiving unit is used for receiving the vehicle type information of the target vehicle and the configuration parameter information corresponding to the system information sent by the server;
and the processing unit is used for writing configuration parameters into the ECU of the target vehicle, and the configuration parameters define the working mode of the ECU needing to be replaced.
9. A server, characterized by comprising a communication interface for data communication between the server and a terminal, a memory for storing a computer program, and a processor configured to execute the computer program to cause the server to perform the method of vehicle ECU configuration according to any one of claims 1 to 3.
10. A terminal comprising a communication interface for data communication between the terminal and a server, a memory for storing a computer program, and a processor configured to cause the terminal to perform the method of vehicle ECU configuration according to any one of claims 4 to 6.
CN201911423233.1A 2019-12-30 2019-12-30 Vehicle ECU configuration method, server and terminal Pending CN111176695A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911423233.1A CN111176695A (en) 2019-12-30 2019-12-30 Vehicle ECU configuration method, server and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911423233.1A CN111176695A (en) 2019-12-30 2019-12-30 Vehicle ECU configuration method, server and terminal

Publications (1)

Publication Number Publication Date
CN111176695A true CN111176695A (en) 2020-05-19

Family

ID=70654365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911423233.1A Pending CN111176695A (en) 2019-12-30 2019-12-30 Vehicle ECU configuration method, server and terminal

Country Status (1)

Country Link
CN (1) CN111176695A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111966391A (en) * 2020-07-28 2020-11-20 深圳市元征科技股份有限公司 System configuration method and device of vehicle, terminal equipment and storage medium
CN112158278A (en) * 2020-09-29 2021-01-01 上汽通用五菱汽车股份有限公司 Automobile ECU (electronic control Unit) online configuration method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007253773A (en) * 2006-03-23 2007-10-04 Mitsubishi Motors Corp Method and system for writing data for electronic control device of vehicle
CN105094901A (en) * 2015-07-14 2015-11-25 广州橙行智动汽车科技有限公司 Remote after-service on-line ECU refresh method and diagnosis apparatus
CN105955236A (en) * 2016-05-20 2016-09-21 上汽通用五菱汽车股份有限公司 Integrated diagnosis platform of automobile electric control unit (ECU) and using method of platform
CN110456764A (en) * 2019-07-26 2019-11-15 中国第一汽车股份有限公司 The configuring management method of controller, device and vehicle diagnostic device in vehicle

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007253773A (en) * 2006-03-23 2007-10-04 Mitsubishi Motors Corp Method and system for writing data for electronic control device of vehicle
CN105094901A (en) * 2015-07-14 2015-11-25 广州橙行智动汽车科技有限公司 Remote after-service on-line ECU refresh method and diagnosis apparatus
CN105955236A (en) * 2016-05-20 2016-09-21 上汽通用五菱汽车股份有限公司 Integrated diagnosis platform of automobile electric control unit (ECU) and using method of platform
CN110456764A (en) * 2019-07-26 2019-11-15 中国第一汽车股份有限公司 The configuring management method of controller, device and vehicle diagnostic device in vehicle

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111966391A (en) * 2020-07-28 2020-11-20 深圳市元征科技股份有限公司 System configuration method and device of vehicle, terminal equipment and storage medium
CN112158278A (en) * 2020-09-29 2021-01-01 上汽通用五菱汽车股份有限公司 Automobile ECU (electronic control Unit) online configuration method and system

Similar Documents

Publication Publication Date Title
CN108563214B (en) Vehicle diagnosis method, device and equipment
CN105094901B (en) A kind of long-range method and diagnostic device of on line refreshable ECU after sale
US20170242678A1 (en) Method and apparatus for vehicle software update installation
CN108268024B (en) Vehicle diagnosis method, device, terminal and computer-readable storage medium
US20140282467A1 (en) Method and Apparatus for Multiple Vehicle Software Module Reflash
CN109491671B (en) Diagnostic software downloading method and device, terminal equipment and storage medium
CN110515366B (en) Fault diagnosis method and device
CN112286170B (en) Vehicle ECU (electronic control Unit) flashing method, device and equipment and storage medium
US9324194B2 (en) Method and system for database compilation on a remote electronic device
CN111176695A (en) Vehicle ECU configuration method, server and terminal
CN110286923A (en) Based on cloud to the method for vehicle electronic control unit system upgrade
CN111758087A (en) Vehicle diagnosis method, server and diagnosis equipment
CN110083628A (en) A kind of addressing method and device of Vehicle Electronic Control Unit ECU
CN112666927A (en) Upgrading method and upgrading system for vehicle Electronic Control Unit (ECU)
CN111693294A (en) Vehicle detection method and device, terminal equipment and storage medium
CN110806894B (en) Automobile part software version management method, equipment, storage medium and device
CN110673576A (en) Automatic test method and device, vehicle and storage medium
CN111474923B (en) Vehicle diagnosis method, device and equipment
CN112015489A (en) Management method, device, storage medium and system for vehicle-mounted software
CN109885037B (en) Vehicle diagnosis method and related equipment
CN113448596A (en) Vehicle controller flashing system and method and related equipment
CN112306041A (en) Vehicle configuration information writing method and device and electronic equipment
CN110677466A (en) Application program downloading method, device, gateway and storage medium
CN111190618A (en) Flash method and device for Electronic Control Unit (ECU), diagnostic equipment and storage medium
CN113507697B (en) Vehicle OTA upgrade checking method, device, 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