CN117544605A - Electronic control unit upgrading method and device, electronic equipment and storage medium - Google Patents

Electronic control unit upgrading method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117544605A
CN117544605A CN202311436691.5A CN202311436691A CN117544605A CN 117544605 A CN117544605 A CN 117544605A CN 202311436691 A CN202311436691 A CN 202311436691A CN 117544605 A CN117544605 A CN 117544605A
Authority
CN
China
Prior art keywords
control unit
client
data
upgrading
air
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
CN202311436691.5A
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.)
Chongqing Seres New Energy Automobile Design Institute Co Ltd
Original Assignee
Chongqing Seres New Energy Automobile Design Institute 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 Chongqing Seres New Energy Automobile Design Institute Co Ltd filed Critical Chongqing Seres New Energy Automobile Design Institute Co Ltd
Priority to CN202311436691.5A priority Critical patent/CN117544605A/en
Publication of CN117544605A publication Critical patent/CN117544605A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • 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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/306User profiles

Abstract

The application relates to the technical field of vehicle upgrading and provides an electronic control unit upgrading method, an electronic control unit upgrading device, electronic equipment and a storage medium. The method comprises the steps of obtaining a data message to be transmitted, wherein the data message to be transmitted is used for upgrading an electronic control unit; configuring at least two clients, wherein each client is used for transmitting data to a vehicle-side gateway; the method comprises the steps of performing sub-packaging processing on a data message to be transmitted to obtain a plurality of over-the-air upgrading data packets, and determining the over-the-air upgrading data packets corresponding to each client; the method comprises the steps of controlling at least two clients, transmitting corresponding air-downloading upgrading data packets to a vehicle-end gateway in parallel, wherein the vehicle-end gateway is used for transmitting the air-downloading upgrading data packets to an electronic control unit, upgrading the electronic control unit, and transmitting the corresponding air-downloading upgrading data packets to the vehicle-end gateway in parallel through the at least two clients, so that the data transmission speed between the main control unit and the vehicle-end gateway is improved.

Description

Electronic control unit upgrading method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of vehicle upgrade technologies, and in particular, to an electronic control unit upgrade method and apparatus, an electronic device, and a storage medium.
Background
With the increasing number of vehicles and the continuous development of computer technology, network technology and the like, the intelligent requirements, safety requirements and the like of people on the vehicles are also higher, and the vehicles are more intelligent and multimedia. Various Electronic Control Units (ECUs) are often deployed in current vehicles, for example, a cabin ECU, a sensing system ECU, an autopilot ECU are disposed in the vehicle. These ECUs, while making the functions of the vehicle richer, are also more prone to vulnerabilities, or require replacement with more advanced versions, etc. Therefore, it is necessary to update the ECU of the vehicle.
When the software is updated, the vehicle can be based on Over The Air (OTA), the main control unit downloads a vehicle upgrade package from the upgrade server and transmits the vehicle upgrade package to the vehicle-side gateway, and the vehicle-side gateway transmits corresponding upgrade data to the ECU to update the ECU. At present, the data transmission speed between the OTA main control unit and the vehicle-end gateway is slow, so that the upgrading speed of the ECU is influenced, and the upgrading efficiency is low.
Disclosure of Invention
In view of this, the embodiments of the present application provide an electronic control unit upgrading method, an electronic device, and a storage medium, so as to solve the problems in the prior art that the data transmission speed between a main control unit and a vehicle-end gateway is slow, which affects the upgrading speed of the main control unit and has low upgrading efficiency.
In a first aspect of an embodiment of the present application, there is provided an electronic control unit upgrading method, including: acquiring a data message to be transmitted, wherein the data message to be transmitted is used for upgrading an electronic control unit; configuring at least two clients, wherein each client is used for transmitting data to a vehicle-side gateway; the method comprises the steps of performing sub-packaging processing on a data message to be transmitted to obtain a plurality of over-the-air upgrading data packets, and determining the over-the-air upgrading data packets corresponding to each client; and controlling at least two clients, and transmitting corresponding air-downloading upgrading data packets to a vehicle-end gateway in parallel, wherein the vehicle-end gateway is used for transmitting the air-downloading upgrading data packets to an electronic control unit and upgrading the electronic control unit.
In a second aspect of the embodiments of the present application, there is provided an electronic control unit upgrade apparatus, including: the acquisition module is used for acquiring a data message to be transmitted, and the data message to be transmitted is used for upgrading the electronic control unit; the configuration module is used for configuring at least two clients, and each client is used for transmitting data to the vehicle-side gateway; the sub-packaging module is used for sub-packaging the data message to be transmitted to obtain a plurality of over-the-air upgrading data packets and determining the over-the-air upgrading data packets corresponding to each client; the transmission module is used for controlling at least two clients, transmitting corresponding air-download upgrading data packets to the vehicle-end gateway in parallel, and the vehicle-end gateway is used for transmitting the air-download upgrading data packets to the electronic control unit and upgrading the electronic control unit.
In a third aspect of the embodiments of the present application, there is provided an electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the above method when executing the computer program.
In a fourth aspect of the embodiments of the present application, there is provided a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the above method.
Compared with the prior art, the embodiment of the application has the beneficial effects that: in the embodiment of the application, the data message to be transmitted is obtained and is used for upgrading the electronic control unit; configuring at least two clients, wherein each client is used for transmitting data to a vehicle-side gateway; the method comprises the steps of performing sub-packaging processing on a data message to be transmitted to obtain a plurality of over-the-air upgrading data packets, and determining the over-the-air upgrading data packets corresponding to each client; the method comprises the steps of controlling at least two clients, transmitting corresponding air-downloading upgrading data packets to a vehicle-end gateway in parallel, wherein the vehicle-end gateway is used for transmitting the air-downloading upgrading data packets to an electronic control unit and upgrading the electronic control unit, wherein the data transmission speed between a main control unit and the vehicle-end gateway is improved by transmitting the corresponding air-downloading upgrading data packets to the vehicle-end gateway in parallel by the at least two clients, so that the main control unit can rapidly transmit the air-downloading upgrading data packets to the vehicle-end gateway, the upgrading efficiency is improved, and the problems that in the prior art, the data transmission speed between the main control unit and the vehicle-end gateway is slow, the upgrading speed of the main control unit is influenced, and the upgrading efficiency is low are avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following description will briefly introduce the drawings that are needed in the embodiments or the description of the prior art, it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of an upgrade method of an electronic control unit according to an embodiment of the present application;
FIG. 1a is a schematic view of a basic structure of a vehicle according to an embodiment of the present application;
FIG. 2 is a flowchart of another method for upgrading an electronic control unit according to an embodiment of the present disclosure;
FIG. 3 is a flowchart of another method for upgrading an electronic control unit according to an embodiment of the present disclosure;
FIG. 4 is a flowchart of another method for upgrading an electronic control unit according to an embodiment of the present disclosure;
fig. 4a is a schematic diagram of a basic structure of an over-the-air upgrade data packet according to an embodiment of the present application;
fig. 4b is a basic schematic diagram of a client transmitting over-the-air upgrade data packets to a vehicle-side gateway, respectively;
FIG. 5 is a schematic flow chart of another alternative upgrade method of an electronic control unit according to an embodiment of the present application;
FIG. 6 is a flow chart of another alternative method for upgrading an electronic control unit according to an embodiment of the present disclosure;
fig. 6a is a basic schematic diagram of a return check message of a vehicle-side gateway according to an embodiment of the present application;
FIG. 6b is a basic timing diagram of an upgrade method for an electronic control unit according to an embodiment of the present application;
FIG. 7 is a schematic flow chart of another alternative upgrade method of an electronic control unit according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic control unit upgrading device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
An electronic control unit upgrading method and device according to embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Fig. 1 is an upgrade method for an electronic control unit according to an embodiment of the present application, as shown in fig. 1, where the method includes:
s101, acquiring a data message to be transmitted, wherein the data message to be transmitted is used for upgrading an electronic control unit;
s102, configuring at least two clients, wherein each client is used for transmitting data to a vehicle-side gateway;
s103, sub-packaging the data message to be transmitted to obtain a plurality of over-the-air upgrading data packets, and determining the over-the-air upgrading data packets corresponding to each client;
s104, controlling at least two clients, transmitting corresponding air-download upgrading data packets to a vehicle-end gateway in parallel, wherein the vehicle-end gateway is used for transmitting the air-download upgrading data packets to an electronic control unit and upgrading the electronic control unit.
It can be appreciated that the method for upgrading an electronic control unit provided in this example is applied to an OTA master control Unit (UMC) in a vehicle, which includes a vehicle with an automatic driving or intelligent driving (including a passenger function vehicle (e.g., a car, a bus, a car, etc.), a cargo function vehicle (e.g., a general truck, a van, a dump truck, a closed truck, a tank truck, a flat truck, a container truck, a dump truck, a special structure truck), a special vehicle (e.g., a logistics distribution truck, an automatic guided transport truck AGV, a patrol truck, a crane, an excavator, a bulldozer, a forklift, a road roller, a loader, an off-road engineering truck, an armored engineering truck, a sewage treatment truck, an sanitation truck, a dust collection truck, a floor cleaning truck, a watering truck, a sweeping robot, a food delivery robot, a shopping guide robot, a mower, a golf cart, etc.), a vehicle with an entertainment function (e.g., an amusement park automatic driving device, a balance car, etc.), a rescue truck (e.g., a fire truck, a rescue truck, an electric power rush-repair truck, an engineering truck, etc.), and the like.
It can be appreciated that, in order to implement the OTA technology, the above vehicle is provided with the OTA technology, where the OTA technology includes: an OTA master control Unit (UMC), an OTA Upgrade Agent (UA), an OTA Upgrade Slave (US), etc., as shown in fig. 1a, fig. 1 shows a basic structure schematic in a vehicle, and the OTA technology is mainly implemented in VBOX (normal remote processing module), VGW (vehicle gateway) and a brushed ECU respectively carried on the vehicle. It can be appreciated that there is a communication connection between VBOX and VGW, for example, as shown in fig. 1a, VBOX and VGW are connected by 100M/1000M ethernet; VGW is communicatively coupled to the ECU, e.g., VGW is coupled to each of its underlying ECU components by a 100M/1000M Ethernet cable or CAN bus, under which one or more ECU components are hooked up.
Specifically, in step S101, a data packet to be transmitted is obtained, where an external communication client for establishing communication connection with an upgrade server is provided in the main control unit, and the external communication client can establish connection with the upgrade server, so as to obtain the data packet to be transmitted for upgrading the electronic control unit; it can be understood that the data message to be transmitted may be that the upgrade server obtains the current system version of the electronic control unit, and actively issues the data message based on the current system version of the electronic control unit; the data message to be transmitted can also be issued by the upgrade server according to the request sent by the main control unit after the main control unit sends the request.
In some examples, after the data packet to be transmitted is acquired, the main control unit executes step S102 to configure at least two clients; in some examples, after obtaining the data packet to be transmitted, the main control unit may determine the current state of the vehicle, and if the vehicle enters the upgrade state, the main control unit executes step S102 to configure at least two clients.
It can be understood that each client is configured to transmit data to the vehicle-end gateway, the master control unit can transmit data to the vehicle-end gateway through the client, and the master control unit can receive data transmitted by the vehicle-end gateway through the client, where the data transmitted by the client to the vehicle-end gateway includes, but is not limited to: at least one of the upgrade data packet and the system service data is downloaded over the air. The number of clients set by the main control unit is not limited, and the number of clients set by the main control unit is not less than 2.
In some examples, the main control unit performs packetizing processing on the data packet to be transmitted to obtain a plurality of air-downloading upgrading data packets, wherein the data volume of each air-downloading upgrading data packet is lower than that of the data packet to be transmitted, and after determining the plurality of air-downloading upgrading data packets, the main control unit determines the air-downloading upgrading data packet corresponding to each client; for example, the main control unit performs packetizing processing on the data packet to be transmitted to obtain an a-air downloading upgrade data packet and a B-air downloading upgrade data packet … N-air downloading upgrade data packet, and respectively confirms the client corresponding to the a-air downloading upgrade data packet and the client corresponding to the B-air downloading upgrade data packet … N-air downloading upgrade data packet.
In view of the foregoing, the embodiment does not limit a specific manner of packetizing a data packet to be transmitted, and how to packetize a data packet to be transmitted can be flexibly set by related personnel according to actual needs.
In some examples, after configuring the clients and determining the air-download upgrade data packet corresponding to each client, the main control unit controls the plurality of clients to transmit the corresponding air-download upgrade data packet to the vehicle-end gateway in parallel, wherein the plurality of clients transmit the corresponding air-download upgrade data packet to the vehicle-end gateway in parallel, so that the data transmission speed is improved; for example, taking the number of clients in the master control unit as N, and the communication protocol between the clients and the vehicle-side gateway supports the transmission speed of 500KB per second as an example, if only one client exists, the master control unit can only transmit 500KB of data to the vehicle-side gateway per second, resulting in too slow data transmission speed and affecting the upgrade efficiency; and N clients are established in the main control unit, and simultaneously the N clients are controlled to transmit data to the vehicle-end gateway in parallel, so that the main control unit can transmit data of 500KB to the vehicle-end gateway every second, the data transmission speed is accelerated, and the upgrading efficiency is improved.
After receiving the over-the-air upgrading data packet, the vehicle-end gateway transmits the over-the-air upgrading data packet to the electronic control unit so that the electronic control unit can upgrade according to the over-the-air upgrading data packet; in some examples, after receiving the over-the-air upgrade data packet, the vehicle-side gateway further needs to check the validity of the over-the-air upgrade data packet, and after the verification is passed, transmits the over-the-air upgrade data packet to the electronic control unit; if the validity check of the over-the-air upgrading data packet by the vehicle-end gateway fails, the over-the-air upgrading data packet is not transmitted to the electronic control unit, and the vehicle-end gateway generates a check message corresponding to the validity check failure and returns the check message to the main control unit, which will be described in detail later and not be repeated here.
Likewise, when the electronic control unit receives the over-the-air upgrade data packet, the electronic control unit may directly upgrade based on the over-the-air upgrade data packet, or may further check the data content of the over-the-air upgrade data packet, and upgrade based on the over-the-air upgrade data packet after the verification is passed, which will be described in detail later, and will not be repeated here.
According to the technical scheme provided by the embodiment of the application, the data message to be transmitted is obtained and is used for upgrading the electronic control unit; configuring at least two clients, wherein each client is used for transmitting data to a vehicle-side gateway; the method comprises the steps of performing sub-packaging processing on a data message to be transmitted to obtain a plurality of over-the-air upgrading data packets, and determining the over-the-air upgrading data packets corresponding to each client; the method comprises the steps of controlling at least two clients, transmitting corresponding air-downloading upgrading data packets to a vehicle-end gateway in parallel, wherein the vehicle-end gateway is used for transmitting the air-downloading upgrading data packets to an electronic control unit and upgrading the electronic control unit, wherein the data transmission speed between a main control unit and the vehicle-end gateway is improved by transmitting the corresponding air-downloading upgrading data packets to the vehicle-end gateway in parallel by the at least two clients, so that the main control unit can rapidly transmit the air-downloading upgrading data packets to the vehicle-end gateway, the upgrading efficiency is improved, and the problems that in the prior art, the data transmission speed between the main control unit and the vehicle-end gateway is slow, the upgrading speed of the main control unit is influenced, and the upgrading efficiency is low are avoided.
In some embodiments, as shown in fig. 2, configuring at least two clients includes:
s201, determining system services required by upgrading an electronic control unit, and determining data quantity corresponding to a data message to be transmitted;
s202, determining a configuration scheme according to the system service and the data volume, and configuring at least two clients based on the configuration scheme.
Specifically, the main control unit determines a system service required for upgrading the electronic control unit, wherein the system service is used for maintaining the electronic control unit to upgrade, the system service comprises but is not limited to a 3E service and a 36 service, the 3E service is used for maintaining the electronic control unit in an OTA upgrade mode, and the 36 service is used for transmitting a data packet like a vehicle-end gateway to upgrade and refresh; and determining the data amount corresponding to the data message to be transmitted, wherein the mode of determining the data amount corresponding to the data message to be transmitted is not limited, and related personnel can flexibly select according to actual requirements.
In some examples, determining the configuration scheme based on the system service and the data volume after determining the system service and the data volume required to upgrade the electronic control unit includes: determining a first minimum configuration number of configuration clients according to the determined system service, determining a second minimum configuration number according to the data amount, determining a configuration scheme according to the first minimum configuration number and the second minimum configuration number, and configuring at least two clients based on the configuration scheme, wherein the determined minimum configuration number is the minimum number of clients for ensuring the basic operation of the system. Specifically, in the first minimum configuration number of the configuration clients according to the determined system services, each system service needs at least one client to bear a bearer, so if it is determined that N system services are needed when the electronic control unit is upgraded, N is the first minimum configuration number of the client, for example, the main control unit determines that the system services needed for upgrading the electronic control unit include 3E services and 36 services, and at least a client 1 and a client 2 are established, where the client 1 is used for bearing the 3E services, and the client 2 is used for bearing the 36 services.
The above example is carried out, and determining the second lowest configuration number according to the data amount includes: the highest transmission data limit per unit time of each client is determined, the highest transmission data limit being the data transmission rate that the client can handle, the amount of data being the total transmission demand, the amount of data divided by the highest transmission data limit of a single client to determine how many clients are needed to meet the amount of data. This calculation may use the following formula: the number of required clients = total transmission demand/single client transmission capability; for example, if the data amount is 100GB per hour and each client can transmit 10GB per hour at most, the required number of clients is 100GB/10 gb=10, and 10 is taken as the second lowest configuration number.
After the first minimum configuration quantity and the second minimum configuration quantity are determined, a configuration scheme is determined according to the first minimum configuration quantity and the second minimum configuration quantity, at least two clients are configured based on the configuration scheme, specifically, the first minimum configuration quantity and the second minimum configuration quantity are compared, the maximum value is used as the configuration scheme, and the clients are configured based on the determined configuration scheme; for example, if the first minimum configuration number is 2 and the second minimum configuration number is 10, 10 is taken as a configuration scheme, and 10 clients are configured based on the determined configuration scheme.
In some examples, the master control unit may directly determine system services required for upgrading the electronic control unit, determine a configuration scheme according to the system services, and configure at least two clients based on the configuration scheme; for example, if the main control unit determines that the system services required for upgrading the electronic control unit include a 3E service and a 36 service, it determines that the configuration scheme is to configure two clients, and then configures the two clients according to the determined configuration scheme.
According to the technical scheme provided by the embodiment of the application, the system service required for upgrading the electronic control unit is determined, and the data quantity corresponding to the data message to be transmitted is determined; the configuration scheme is determined according to the system service and the data volume, at least two clients are configured based on the configuration scheme, the number of the clients in the main control unit is accurately determined, the clients are configured based on the determined number, and further the air-download upgrading data packet is transmitted to the vehicle-end gateway through the configured clients, so that the effect of improving the upgrading efficiency is achieved, and the problems that in the prior art, the upgrading speed of the main control unit is influenced and the upgrading efficiency is low due to the fact that the data transmission speed between the main control unit and the vehicle-end gateway is low are avoided.
In some embodiments, as shown in fig. 3, the packetizing the data packet to be transmitted to obtain a plurality of over-the-air upgrade data packets includes:
s301, determining a communication protocol between each client and a vehicle-side gateway, and determining the transmission speed between each client and the vehicle-side gateway based on the communication protocol;
s302, determining the packetizing data quantity according to the transmission speed, and packetizing the data message to be transmitted based on the packetizing data quantity to obtain a plurality of over-the-air upgrading data packets.
Specifically, different communication protocols correspond to different transmission speeds, and the main control unit determines the transmission speed of each client and the vehicle-side gateway based on the communication protocols by determining the communication protocols of each client and the vehicle-side gateway. It can be understood that the communication protocol between the client in the main control unit and the vehicle-side gateway is the same, so that the data transmission speed between the client in the main control unit and the vehicle-side gateway is the same. For example, N clients are arranged in the main control unit, the communication protocols between the N clients and the vehicle-side gateway are the same, and the transmission speeds between the N clients and the vehicle-side gateway are the same.
It can be understood that the communication protocol between the client and the vehicle-side gateway is not limited in this embodiment, and may be flexibly set by related personnel according to actual requirements.
In some examples, after determining the transmission speed, the amount of packetized data is determined according to the transmission speed, and it can be appreciated that the transmission speed is proportional to the size of the amount of packetized data, that is, the larger the transmission speed is, the larger the amount of packetized data, and the smaller the transmission speed is, the smaller the amount of packetized data is. The specific proportional relation between the transmission speed and the sub-packet data amount can be flexibly set by related personnel according to actual demands.
After determining the amount of the packetizing data, packetizing the data packets to be transmitted according to the amount of the packetizing data to obtain a plurality of air-downloaded upgrade data packets, after obtaining the air-downloaded upgrade data packets, distributing each air-downloaded upgrade data packet to a corresponding client, where the distributing manner of distributing the air-downloaded upgrade data packets to the clients is not limited in this embodiment, and includes, but is not limited to, sequential distribution, for example, N air-downloaded upgrade data packets exist, 3 clients are provided in the main control unit, a first air-downloaded upgrade data packet is distributed to a first client, a second air-downloaded upgrade data packet is distributed to a second client, a third air-downloaded upgrade data packet is distributed to a third client, and a fourth air-downloaded upgrade data packet is distributed to a first client …, and so on; the above allocation method further includes: for example, there are N over-the-air upgrade data packets, 3 clients are set in the main control unit, the N over-the-air upgrade data packets are divided into three data, then the first data is allocated to the first client, the second data is allocated to the second client, and the third data is allocated to the third client.
According to the technical scheme provided by the embodiment of the application, the communication protocol between each client and the vehicle-side gateway is determined, and the transmission speed between each client and the vehicle-side gateway is determined based on the communication protocol; the method comprises the steps of determining the sub-packet data amount according to the transmission speed, sub-packet processing is carried out on the data message to be transmitted based on the sub-packet data amount, and a plurality of over-the-air upgrading data packets are obtained, so that sub-packet processing is carried out on the over-the-air upgrading data packets, the problem that the data message to be transmitted is directly transmitted, the transmission data is overlarge, the probability of transmission failure is reduced, and the transmission efficiency is improved.
In some embodiments, as shown in fig. 4, the packetizing processing is performed on the data packet to be transmitted based on the packetizing data amount, so as to obtain a plurality of over-the-air upgrade data packets, including:
s401, carrying out packetization processing on a data message to be transmitted based on the packetization data quantity to obtain a plurality of message bodies;
s402, determining a logic address of a main control unit, determining a logic address of an electronic control unit, and determining a message header based on the logic address of the main control unit, the logic address of the electronic control unit and a system service corresponding to each client;
S403, generating a plurality of over-the-air upgrade data packets based on the message header and the message bodies.
Specifically, each over-the-air upgrading data packet consists of a message header and a message body, and each over-the-air upgrading data packet corresponds to one client; each message body consists of data obtained after the data message to be transmitted is packetized, and a plurality of message bodies are obtained by performing packetization processing on the data message to be transmitted; in some examples, the message body is in a DOIP protocol message format, and is used for an OTA upgrade request (sending) message, and when the message body adopts the DOIP protocol message format, the message body includes field data such as an electronic control unit source address, an electronic control unit destination address, a diagnosis type, a data length, a system service, an upgrade version, and the like, in addition to data obtained after the data message to be transmitted is packetized, as shown in fig. 4 a; it can be appreciated that, in some examples, the size of each field of data is a preset data length, for example, in a DOIP protocol packet, the diagnosis type is 2Bytes, and the data length is 4Bytes.
In some examples, as shown in fig. 4a, each header includes a source address and a destination address, where the source address is a logical address of the main control unit, and the destination address is a logical address of the electronic control unit, that is, the header includes the logical address of the main control unit and the logical address of the electronic control unit; therefore, this example requires determining the logical address of the master control unit, determining the logical address of the electronic control unit, and then determining the header based on the logical address of the master control unit and the logical address of the electronic control unit; in some examples, the logical address of the master control unit is fixed to 0x0F00, and the logical address of the electronic control unit is an actually acquired address. For example, the client 1 and the client n access the vehicle-side gateway at the same time, the logical address of the vehicle-side gateway is 0x0F0E, and the logical address of the master control unit is 0x0F00. Client 1 and client n with a source address of 0x0F00 and a destination address of 0x0F0E are created.
In some examples, in order to determine the client corresponding to each over-the-air upgrade data packet, the header further includes fields such as a service type, a service subtype, etc., as shown in fig. 4a, where the fields such as the service type, the service subtype, etc. are used to distinguish different client data, that is, each header includes fields such as a logical address of a main control unit, a logical address of an electronic control unit, a service type, and a service subtype, etc. It can be understood that, since the logical addresses of the master control unit and the logical addresses of the electronic control unit in the plurality of clients are the same, the data messages of the two clients cannot be identified by using the method of "the logical addresses of the master control unit and the logical addresses of the electronic control unit", as shown in fig. 4b, the logical addresses of the master control unit in the two clients in fig. 4b are all 0x0F00, and the logical addresses of the electronic control unit are all 0x0F0E, which client from which the message comes cannot be identified, and different services need to be added, so that it is realized that which client from which the message comes is identified based on the different services; specifically, taking the case that the client 1 carries 3E service and the client N carries 36 service, when the client 1 and the client N access the car-end gateway in parallel, respectively carrying out 3E service to carry out OTA mode maintenance, and carrying out 36 service to realize the upgrade and refresh function of VGW, wherein if a plurality of 36 services exist, the service subtype is further set in the message header, and the data transmitted by different clients are further distinguished through the service subtype.
According to the technical scheme provided by the embodiment of the application, the data message to be transmitted is subjected to packetization processing based on the packetization data quantity, so that a plurality of message bodies are obtained; determining a logic address of the main control unit, determining a logic address of the electronic control unit, and determining a message header based on the logic address of the main control unit and the logic address of the electronic control unit; based on the message header and the message bodies, a plurality of over-the-air upgrading data packets are generated, so that the data messages to be transmitted are accurately packetized, a plurality of over-the-air upgrading data packets are obtained, the problem of high failure probability caused by direct transmission of the complete data messages to be transmitted and overlarge data is avoided, and the success probability of data transmission is further improved.
In some examples, as shown in fig. 5, transmitting the corresponding over-the-air upgrade data packet to the headend gateway includes:
s501, determining a system service corresponding to each client;
s502, transmitting the system service corresponding to each client and each over-the-air upgrade data packet to a vehicle-side gateway.
Specifically, the main control unit determines system services required for upgrading the electronic control unit, where the system services include, but are not limited to, 3E service and 36 service, each client corresponds to a system service, and multiple clients can correspond to the same system service, for example, 36 service is taken as an example, and multiple clients can each correspond to the 36 service; after determining the system service corresponding to each client, transmitting the system service corresponding to each client and each over-the-air upgrading data packet to the vehicle-end gateway, so that the vehicle-end gateway can provide corresponding functions according to the received system service.
For example, the system services required by the electronic control unit in the upgrade process include a 3E service and a 36 service, at least a client 1 and a client 2 are established, where the client 1 is used to carry the 3E service, the client 2 is used to carry the 36 service, the client 1 sends a 3E 80 service to the vehicle-side gateway, the 3E is used to maintain the OTA upgrade mode, the client 2 sends a 36 10 service to the vehicle-side gateway, and the 36 service is used to transmit an upgrade data packet to the vehicle-side gateway for upgrade and refresh.
It can be understood that, in some examples, if the header of the over-the-air upgrade data packet transmitted by the client includes fields such as a service type and a service subtype, the system service is directly included in each over-the-air upgrade data packet, and the over-the-air upgrade data packet is directly transmitted, so that the system service corresponding to each client and each over-the-air upgrade data packet do not need to be separately transmitted to the vehicle-end gateway.
According to the technical scheme provided by the embodiment of the application, the system service corresponding to each client is determined; and transmitting the system service corresponding to each client and each over-the-air upgrading data packet to the vehicle-end gateway, so that the system service required by the electronic control unit in the upgrading process is transmitted to the vehicle-end gateway, and the effect of OTA upgrading the electronic control unit is achieved.
In some examples, as shown in fig. 6, after controlling at least two clients and transmitting corresponding air-download upgrade data packets to the vehicle-side gateway in parallel, the method further includes:
s601, a gateway at a receiving vehicle end checks each over-the-air upgrading data packet to obtain a check message;
s602, matching each check message with each client to obtain a check message corresponding to each client;
s603, performing data transmission control on each client according to the check message corresponding to each client.
Specifically, after receiving the air-download upgrading data packet transmitted by each client, the vehicle-side gateway respectively checks the air-download upgrading data packet transmitted by each client, and then returns a check result as a check message to the main control unit; for example, as shown in fig. 6a, the host unit (VBOX) includes a client 1, …, a client N, where the client 1 sends a 3E 80 service to the vehicle-side gateway, the 3E is used for maintaining the OTA upgrade mode, and the client 2 sends a 36 10 service to the vehicle-side gateway, and the 36 service is used for transmitting an over-the-air upgrade data packet to the vehicle-side gateway for upgrade and flashing. When receiving the air-downloading upgrading data packet, the vehicle-side gateway respectively performs validity check on the air-downloading upgrading data packet of the client side 1 and the air-downloading upgrading data packet of the client side 2, and then returns a validity check result as a check message to the client side; if the checking result of the over-the-air upgrading data packet is legal, the vehicle-side gateway writes the over-the-air upgrading data packet into the FLASH of the target ECU, and if the checking result of the over-the-air upgrading data packet is illegal, the vehicle-side gateway discards the over-the-air upgrading data packet.
It can be understood that when the vehicle-end gateway generates a check message, the check message is composed of a message header and a message body, and the message header of the check message contains data such as an electronic control unit source address, an electronic control unit destination address, a diagnosis type, a data length, an upgrade version and the like; the message body of the check message is composed of DOIP data, and the DOIP data comprises data such as service type, service subtype and the like.
After receiving the check message, the main control unit sends the check message to each client, the client takes out the electronic control unit source address in the check message and compares the electronic control unit source address of the over-the-air upgrade data packet transmitted by the main control unit with the electronic control unit source address of the over-the-air upgrade data packet transmitted by the main control unit, and further compares whether the service type and the subtype are equal or not after comparing the electronic control unit source address with the electronic control unit source address of the over-the-air upgrade data packet, if the service type and the subtype are equal, the main control unit indicates that the check message is the check message corresponding to the client, and analyzes the check message to obtain a check result; for example, as shown in fig. 6b, client 1 sends 3e 80 service to the car-end gateway, and client 2 sends 36 e 10 service to the car-end gateway; after receiving the air-download upgrading data packets transmitted by the client 1 and the client 2, the vehicle-side gateway respectively performs validity check on the air-download upgrading data packets of the client 1 and the client 2, then returns a validity check result as a check message to the client, and if the validity check result is legal, brushes the upgrading data into FLASH of the target ECU. When the client receives the check message returned by the vehicle-side gateway, the field of the check message ' electronic control unit source address (0 x0F 0E) ' is taken out and compared with the field of the electronic control unit source address (0 x0F 0E) ' of the OTA request configuration message structure, and the service type and the subtype (if the sub-function exists) in the check message are further compared with the service type and the subtype (if the sub-function exists) in the over-the-air upgrading data packet sent by the client to determine whether the service type and the subtype are equal. Corresponding clients 1 and 2 will both receive two response messages, the client 1 compares one of the check messages to be 3E service, and the service type is equal to the 3E service sent by the client 1, and the check message is the check message of the client 1; comparing another check message to 36 services, which is not equal to the service sent by the client 1, is not the service desired by the client 1, and the client 1 discards the check message. The client 2 compares one of the check message service types to be 36 services, which are equal to the 36 services sent by the client 2, and is the check message of the client 2; comparing another check message to be a 3E service, which is not equal to the service sent by the client 2, is not the service desired by the client 2, and then discarding the message.
It can be understood that after determining the check message corresponding to each client, performing data transmission control on each client according to the check message corresponding to each client, specifically, if the check result of the check message of the over-the-air update data packet transmitted by the client is not passed, repeating transmitting the over-the-air update data packet; if the checking result of the checking message of the air-downloaded upgrading data packet transmitted by the client is passed, transmitting the next air-downloaded upgrading data packet.
According to the technical scheme provided by the embodiment of the application, the receiving vehicle-side gateway checks each over-the-air upgrading data packet to obtain a check message; matching each check message with each client to obtain a check message corresponding to each client; according to the verification message corresponding to each client, data transmission control is carried out on each client, so that the control of the over-the-air upgrading data packet transmitted by the client according to the feedback of the vehicle-side gateway is realized, the upgrading efficiency is improved, and the problem of repeated transmission caused by repeated transmission of the same over-the-air upgrading data packet when verification is passed is avoided; meanwhile, the problem that the same air-download upgrading data packet cannot be repeatedly transmitted when the verification fails, so that upgrading failure is avoided.
In some examples, as shown in fig. 7, after controlling at least two clients and transmitting corresponding air-download upgrade data packets to the vehicle-side gateway in parallel, the method further includes:
s701, receiving an authentication message obtained by the electronic control unit for authenticating each over-the-air upgrade data packet;
s702, matching each verification message with each client to obtain a verification message corresponding to each client;
s703, carrying out data transmission control on each client according to the verification message corresponding to each client.
Specifically, when receiving each over-the-air upgrading data packet, the electronic control unit also verifies the over-the-air upgrading data packet, if the verification is passed, upgrades the electronic control unit based on the over-the-air upgrading data packet, and returns a verification passing result to the main control unit as a verification message; if the verification fails, discarding the over-the-air upgrade data packet, and returning the verification failure result to the main control unit as a verification message.
In some examples, the format of the verification message is the same as the format of the verification message, and will not be described in detail herein.
In some examples, the master control unit also sends the verification message to each client after receiving the verification message, and the client matches each verification message after receiving the verification message, where the verification message is first matched based on fields such as a source address of the electronic control unit, and a specific matching manner is the same as the above manner, which is not described herein again, and after matching is completed, whether the service type and the subtype (if any) are equal is further compared. For example, as shown in fig. 6b, corresponding client 1 and client 2 will both receive two verification messages, and client 1 compares one of the verification message service types to be 7E service, where 7E is the value returned by the upgrade, is the request service +0x40, is equal to the 3e+0x40 service sent by client 1, and is the verification message of the client 1; the other authentication message is compared to 76 services, which are not equal to the service (+0x40) sent by the client 1, and are not the service desired by the client 1, and the authentication message is discarded. The client 2 compares one of the response message service types 76 with the value returned by the upgrade, wherein the value 76 is the request service +0x40, is equal to the 76 service sent by the client 2, and is the verification message of the client 2; comparing another authentication message to the 7E service, which is not equal to the service (+0x40) sent by the client 2, is not the service desired by the client 2, and then discarding the authentication message.
It can be understood that after determining the verification message corresponding to each client, performing data transmission control on each client according to the verification message corresponding to each client, specifically, if the verification result of the verification message of the over-the-air update data packet transmitted by the client is not passed, repeating transmitting the over-the-air update data packet; if the verification result of the verification message of the air-download upgrading data packet transmitted by the client is passed, transmitting the next air-download upgrading data packet.
According to the technical scheme provided by the embodiment of the application, the receiving electronic control unit verifies each over-the-air upgrading data packet to obtain a verification message; matching each verification message with each client to obtain a verification message corresponding to each client; according to the verification message corresponding to each client, data transmission control is carried out on each client, so that the control of the over-the-air upgrading data packet transmitted by the client according to the feedback of the vehicle-side gateway is realized, the upgrading efficiency is improved, and the problem of repeated transmission caused by repeated transmission of the same over-the-air upgrading data packet when verification is passed is avoided; meanwhile, the problem that the same air-download upgrading data packet cannot be repeatedly transmitted when verification fails, so that upgrading failure is avoided.
Any combination of the above optional solutions may be adopted to form an optional embodiment of the present application, which is not described herein in detail.
The following are device embodiments of the present application, which may be used to perform method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
The embodiment also provides an electronic control unit upgrading device, as shown in fig. 8, which includes:
an obtaining module 801, configured to obtain a data packet to be transmitted, where the data packet to be transmitted is used to upgrade an electronic control unit;
a configuration module 802, configured to configure at least two clients, each client being configured to transmit data to a vehicle-side gateway;
the packetizing module 803 is configured to packetize the data packet to be transmitted to obtain a plurality of over-the-air upgrade data packets, and determine an over-the-air upgrade data packet corresponding to each client;
the transmission module 804 is configured to control at least two clients, and transmit corresponding air-download upgrade data packets to the vehicle-side gateway in parallel, where the vehicle-side gateway is configured to transmit the air-download upgrade data packets to the electronic control unit, and upgrade the electronic control unit.
In some examples, the configuration module 802 is further configured to determine a system service required for upgrading the electronic control unit, and determine a data amount corresponding to the data packet to be transmitted, where the system service is used for maintaining the electronic control unit for upgrading; and determining a configuration scheme according to the system service and the data volume, and configuring at least two clients based on the configuration scheme.
In some examples, packetization module 803 is further configured to determine a communication protocol between each client and the vehicle-side gateway, and determine a transmission speed between each client and the vehicle-side gateway based on the communication protocol; and determining the packetizing data quantity according to the transmission speed, and packetizing the data message to be transmitted based on the packetizing data quantity to obtain a plurality of over-the-air upgrading data packets.
In some examples, the packetizing module 803 is further configured to packetize the data packet to be transmitted based on the amount of packetizing data, to obtain a plurality of packet bodies; determining a logic address of a main control unit, determining a logic address of an electronic control unit, and determining a message header based on the logic address of the main control unit, the logic address of the electronic control unit and a system service corresponding to each client; based on the message header and the message bodies, generating a plurality of over-the-air upgrade data packets.
In some examples, the transmission module 804 is further configured to determine a system service corresponding to each client, where the system service is configured to maintain the electronic control unit for upgrades; and transmitting the system service corresponding to each client and each over-the-air upgrading data packet to a vehicle-end gateway.
In some examples, the transmission module 804 is further configured to receive a check packet obtained by checking each over-the-air upgrade data packet by the vehicle-side gateway; matching each check message with each client to obtain a check message corresponding to each client; and carrying out data transmission control on each client according to the check message corresponding to each client.
In some examples, the transmission module 804 is further configured to receive a verification message obtained by verifying each over-the-air upgrade data packet by the electronic control unit; matching each verification message with each client to obtain a verification message corresponding to each client; and carrying out data transmission control on each client according to the verification message corresponding to each client.
According to the technical scheme provided by the embodiment of the application, the electronic control unit upgrading device provided by the embodiment obtains the data message to be transmitted, and the data message to be transmitted is used for upgrading the electronic control unit; configuring at least two clients, wherein each client is used for transmitting data to a vehicle-side gateway; the method comprises the steps of performing sub-packaging processing on a data message to be transmitted to obtain a plurality of over-the-air upgrading data packets, and determining the over-the-air upgrading data packets corresponding to each client; the method comprises the steps of controlling at least two clients, transmitting corresponding air-downloading upgrading data packets to a vehicle-end gateway in parallel, wherein the vehicle-end gateway is used for transmitting the air-downloading upgrading data packets to an electronic control unit and upgrading the electronic control unit, wherein the data transmission speed between a main control unit and the vehicle-end gateway is improved by transmitting the corresponding air-downloading upgrading data packets to the vehicle-end gateway in parallel by the at least two clients, so that the main control unit can rapidly transmit the air-downloading upgrading data packets to the vehicle-end gateway, the upgrading efficiency is improved, and the problems that in the prior art, the data transmission speed between the main control unit and the vehicle-end gateway is slow, the upgrading speed of the main control unit is influenced, and the upgrading efficiency is low are avoided.
Fig. 9 is a schematic diagram of an electronic device 9 provided in an embodiment of the present application. As shown in fig. 9, the electronic apparatus 9 of this embodiment includes: a processor 901, a memory 902 and a computer program 903 stored in the memory 902 and executable on the processor 901. The steps of the various method embodiments described above are implemented when the processor 901 executes the computer program 903. Alternatively, the processor 901 performs the functions of the modules/units in the above-described apparatus embodiments when executing the computer program 903.
The electronic device 9 may be a desktop computer, a notebook computer, a palm computer, a cloud server, or the like. The electronic device 9 may include, but is not limited to, a processor 901 and a memory 902. It will be appreciated by those skilled in the art that fig. 9 is merely an example of the electronic device 9 and is not limiting of the electronic device 9 and may include more or fewer components than shown, or different components.
The processor 901 may be a central processing unit (Central Processing Unit, CPU) or other general purpose processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like.
The memory 902 may be an internal storage unit of the electronic device 9, for example, a hard disk or a memory of the electronic device 9. The memory 902 may also be an external storage device of the electronic device 9, for example, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card) or the like, which are provided on the electronic device 9. The memory 902 may also include both internal and external memory units of the electronic device 9. The memory 902 is used to store computer programs and other programs and data required by the electronic device.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application implements all or part of the flow in the methods of the above embodiments, or may be implemented by a computer program to instruct related hardware, and the computer program may be stored in a computer readable storage medium, where the computer program may implement the steps of the respective method embodiments described above when executed by a processor. The computer program may comprise computer program code, which may be in source code form, object code form, executable file or in some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the content of the computer readable medium can be appropriately increased or decreased according to the requirements of the area and the patent practice, for example, in some areas, the computer readable medium does not include the electric carrier signal and the telecommunication signal according to the area requirements and the patent practice.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (10)

1. A method for upgrading an electronic control unit, the method comprising:
acquiring a data message to be transmitted, wherein the data message to be transmitted is used for upgrading an electronic control unit;
configuring at least two clients, wherein each client is used for transmitting data to a vehicle-side gateway;
the data messages to be transmitted are subjected to sub-packaging processing to obtain a plurality of over-the-air upgrading data packets, and the over-the-air upgrading data packets corresponding to each client are determined;
and controlling at least two clients, transmitting corresponding air-download upgrading data packets to the vehicle-end gateway in parallel, wherein the vehicle-end gateway is used for transmitting the air-download upgrading data packets to the electronic control unit and upgrading the electronic control unit.
2. The method of claim 1, wherein configuring at least two clients comprises:
determining system services required for upgrading the electronic control unit, and determining data quantity corresponding to the data message to be transmitted, wherein the system services are used for maintaining the electronic control unit to be upgraded;
and determining a configuration scheme according to the system service and the data volume, and configuring at least two clients based on the configuration scheme.
3. The method of claim 2, wherein packetizing the data packets to be transmitted to obtain a plurality of over-the-air upgrade data packets, comprises:
determining a communication protocol between each client and the vehicle-side gateway, and determining the transmission speed between each client and the vehicle-side gateway based on the communication protocol;
and determining the sub-packaging data quantity according to the transmission speed, and carrying out sub-packaging processing on the data message to be transmitted based on the sub-packaging data quantity to obtain a plurality of over-the-air upgrading data packets.
4. The method of claim 3, wherein packetizing the data packets to be transmitted based on the amount of packetization data to obtain a plurality of the over-the-air upgrade data packets, comprising:
Performing sub-packaging processing on the data message to be transmitted based on the sub-packaging data quantity to obtain a plurality of message bodies;
determining a logic address of a main control unit, determining a logic address of an electronic control unit, and determining a message header based on the logic address of the main control unit, the logic address of the electronic control unit and a system service corresponding to each client;
and generating a plurality of over-the-air upgrade data packets based on the message header and the message bodies.
5. The method of claim 1, wherein transmitting the corresponding over-the-air upgrade data packet to the headend gateway comprises:
determining a system service corresponding to each client, wherein the system service is used for maintaining the electronic control unit to upgrade;
and transmitting the system service corresponding to each client and each over-the-air upgrading data packet to the vehicle-side gateway.
6. The method of claim 1, wherein after controlling at least two of the clients to transmit the corresponding over-the-air upgrade data packets to the headend gateway in parallel, the method further comprises:
receiving a check message obtained by checking each over-the-air upgrading data packet by the vehicle-side gateway;
Matching each check message with each client to obtain a check message corresponding to each client;
and carrying out data transmission control on each client according to the check message corresponding to each client.
7. The method of claim 1, wherein after controlling at least two of the clients to transmit the corresponding over-the-air upgrade data packets to the headend gateway in parallel, the method further comprises:
receiving verification messages obtained by verifying each over-the-air upgrading data packet by the electronic control unit;
matching each verification message with each client to obtain a verification message corresponding to each client;
and carrying out data transmission control on each client according to the verification message corresponding to each client.
8. An electronic control unit upgrade apparatus, the apparatus comprising:
the acquisition module is used for acquiring a data message to be transmitted, wherein the data message to be transmitted is used for upgrading the electronic control unit;
the configuration module is used for configuring at least two clients, and each client is used for transmitting data to the vehicle-side gateway;
The packetizing module is used for packetizing the data messages to be transmitted to obtain a plurality of over-the-air upgrading data packets, and determining the over-the-air upgrading data packets corresponding to each client;
the transmission module is used for controlling at least two clients, transmitting corresponding air-download upgrading data packets to the vehicle-end gateway in parallel, and the vehicle-end gateway is used for transmitting the air-download upgrading data packets to the electronic control unit and upgrading the electronic control unit.
9. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 7.
CN202311436691.5A 2023-10-31 2023-10-31 Electronic control unit upgrading method and device, electronic equipment and storage medium Pending CN117544605A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311436691.5A CN117544605A (en) 2023-10-31 2023-10-31 Electronic control unit upgrading method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311436691.5A CN117544605A (en) 2023-10-31 2023-10-31 Electronic control unit upgrading method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117544605A true CN117544605A (en) 2024-02-09

Family

ID=89790970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311436691.5A Pending CN117544605A (en) 2023-10-31 2023-10-31 Electronic control unit upgrading method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117544605A (en)

Similar Documents

Publication Publication Date Title
EP4202645A1 (en) Vehicle upgrading method and apparatus
CN111209578A (en) Application service access method and device
US9198191B2 (en) Method for transmitting messages from a data network to a vehicle and server device for a data network
Onuma et al. ECU software updating in future vehicle networks
CN108810082A (en) A kind of new-energy automobile control module remotely writes with a brush dipped in Chinese ink method
US20180349157A1 (en) Processor-implemented systems and methods for vehicle updating over-the-air
CN112817617A (en) Software upgrading method, device and system
WO2024008104A1 (en) Remote upgrading method and system
CN114124917A (en) Remote upgrading method, equipment, system and medium for ground lock firmware
CN103944773A (en) Communication device, communication method, recording medium, and program
CN108683691B (en) Vehicle end remote control method, device and system
CN117376339A (en) OTA-based vehicle ECU upgrading method, device, equipment and medium
CN105792247A (en) Data pushing method and device
CN117544605A (en) Electronic control unit upgrading method and device, electronic equipment and storage medium
CN109302436B (en) Train gateway forwarding strategy configuration method and device
CN109194593A (en) Method for sending information, device, equipment and computer readable storage medium
CN116931988A (en) OTA upgrading method and device, electronic equipment and storage medium
CN111404793B (en) Method, system, equipment and readable storage medium for controlling mapping of physical CAN port and virtual CAN port
CN114866585A (en) Remote upgrading method, device and system and equipment end connector
CN117270923A (en) Data processing method and device, electronic equipment and storage medium
US7453348B1 (en) Method and system for distributing management information over power networks
CN112615835A (en) Charging pile multi-communication protocol support method and storage medium
CN109302347B (en) Train gateway forwarding strategy configuration method and device
CN110677466A (en) Application program downloading method, device, gateway and storage medium
CN114185297B (en) Control method and device for vehicle-mounted software upgrading

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