CN110196727A - Electric vehicle Oftware updating method, device, handheld device and storage medium - Google Patents

Electric vehicle Oftware updating method, device, handheld device and storage medium Download PDF

Info

Publication number
CN110196727A
CN110196727A CN201910493399.4A CN201910493399A CN110196727A CN 110196727 A CN110196727 A CN 110196727A CN 201910493399 A CN201910493399 A CN 201910493399A CN 110196727 A CN110196727 A CN 110196727A
Authority
CN
China
Prior art keywords
module
upgraded
file
upgrade
electric 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
CN201910493399.4A
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.)
Beijing Niutang Information Technology Co Ltd
Original Assignee
Beijing Niutang Information 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 Beijing Niutang Information Technology Co Ltd filed Critical Beijing Niutang Information Technology Co Ltd
Priority to CN201910493399.4A priority Critical patent/CN110196727A/en
Publication of CN110196727A publication Critical patent/CN110196727A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The invention discloses a kind of electric vehicle Oftware updating method, device, handheld device and storage mediums, this method comprises: receiving the upgrade command of user's triggering, wherein, upgrade command is used to indicate the module to be upgraded of electric vehicle, it shows pre-stored multiple upgrade files, receives the selection instruction of user's triggering, wherein, selection instruction is used to indicate the targeted update file of user's selection, and targeted update file is sent to module to be upgraded.A certain module to be upgraded is upgraded by using user's triggering, the mode of selection target upgrade file, compared to the mode upgraded at present according to the upgrade package of downloading, it can be depending on the user's operation, pointedly specified module is upgraded, to improve the efficiency of electric vehicle software upgrading.

Description

Electric vehicle Oftware updating method, device, handheld device and storage medium
Technical field
The present embodiments relate to electric vehicle field more particularly to a kind of electric vehicle Oftware updating methods, device, hand Holding equipment and storage medium.
Background technique
With the development of the automobile industry, the ownership of the electric vehicles such as electric bicycle, battery-operated motor cycle is increasing.More It is applied on electric vehicle come more software systems, in the use of these electric vehicles, R&D process, how to electric vehicle Software systems upgrade it is extremely important.
Currently, disclosing in the patent application document of Publication No. CN109040205A: mobile unit is stopped in vehicle preparation When dormancy, upgrade package is downloaded from cloud, wherein the upgrade package downloaded from cloud may include operating system update packet and/or at least One ECU upgrade package;After cloud determines that vehicle downloading finishes upgrade package, real-time or periodic detection vehicle state is understood, when When detecting vehicle in a dormant state, upgrade command can be issued to vehicle;After vehicle receives upgrade command, vehicle can be waken up , then the corresponding component in vehicle is upgraded according to the upgrade package of downloading.
But in above-mentioned escalation process, the upgrade package of cloud storage may be the corresponding liter of module for not needing upgrading Grade packet causes upgrading efficiency lower therefore, it is impossible to pointedly upgrade to the module for needing to upgrade in vehicle.
Summary of the invention
The present invention provides a kind of electric vehicle Oftware updating method, device, handheld device and storage medium, current to solve The lower technical problem of electric vehicle software upgrading process efficiency.
In a first aspect, the embodiment of the present invention provides a kind of electric vehicle Oftware updating method, comprising:
Receive the upgrade command of user's triggering, wherein the upgrade command is used to indicate the module to be upgraded of electric vehicle;
Show pre-stored multiple upgrade files;
Receive the selection instruction of user's triggering, wherein the selection instruction is used to indicate the mesh of user's selection Mark upgrade file;
The targeted update file is sent to the module to be upgraded.
Second aspect, the embodiment of the present invention provide a kind of electric vehicle software renewing apparatus, comprising:
First receiving module, for receiving the upgrade command of user's triggering, wherein the upgrade command is used to indicate electronic The module to be upgraded of vehicle;
Display module, for showing pre-stored multiple upgrade files;
First receiving module is also used to receive the selection instruction of user's triggering, wherein the selection instruction is used In the targeted update file for indicating user's selection;
Sending module, for the targeted update file to be sent to the module to be upgraded.
The third aspect, the embodiment of the invention also provides a kind of handheld device, the handheld device includes:
One or more processors;
Memory, for storing one or more programs;
Display, for showing pre-stored multiple upgrade files;
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes the electric vehicle Oftware updating method provided such as first aspect.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program realizes the electric vehicle Oftware updating method provided such as first aspect when the program is executed by processor.
The embodiment of the invention provides a kind of electric vehicle Oftware updating method, device, handheld device and storage mediums, should Method includes: to receive the upgrade command of user's triggering, wherein upgrade command is used to indicate the module to be upgraded of electric vehicle, shows Show pre-stored multiple upgrade files, receive the selection instruction of user's triggering, wherein selection instruction is used to indicate user's selection Targeted update file, targeted update file is sent to module to be upgraded.It triggers by using user to a certain mould to be upgraded Block is upgraded, the mode of selection target upgrade file can compared to the mode upgraded at present according to the upgrade package of downloading Depending on the user's operation, pointedly to upgrade to specified module, thus, improve the effect of electric vehicle software upgrading Rate.
Detailed description of the invention
Fig. 1 is the flow diagram of electric vehicle Oftware updating method embodiment one provided by the invention;
Fig. 2A is the schematic diagram of one of embodiment illustrated in fig. 1 user interface;
Fig. 2 B is the schematic diagram of another user interface in embodiment illustrated in fig. 1;
Fig. 2 C is the schematic diagram of another user interface in embodiment illustrated in fig. 1;
Fig. 3 is the flow diagram of electric vehicle Oftware updating method embodiment two provided by the invention;
Fig. 4 is the schematic diagram of one of embodiment illustrated in fig. 3 user interface;
Fig. 5 is the flow diagram of electric vehicle Oftware updating method embodiment three provided by the invention;
Fig. 6 is the structural schematic diagram of electric vehicle software renewing apparatus embodiment one provided by the invention;
Fig. 7 is the structural schematic diagram of electric vehicle software renewing apparatus embodiment two provided by the invention;
Fig. 8 is the structural schematic diagram of handheld device provided by the invention.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Fig. 1 is the flow diagram of electric vehicle Oftware updating method embodiment one provided by the invention.The present embodiment is suitable The scene upgraded for the software systems in the modules to electric vehicle.The present embodiment can be by electric vehicle software Updating device executes, which can be realized by the mode of software and/or hardware, the electric vehicle Software renewing apparatus can integrate in handheld device.As shown in Figure 1, electric vehicle Oftware updating method provided in this embodiment Include the following steps:
Step 101: receiving the upgrade command of user's triggering.
Wherein, upgrade command is used to indicate the module to be upgraded of electric vehicle.
Specifically, electric vehicle can be the electricity such as electric bicycle, battery-operated motor cycle or electric car in the present embodiment Motor-car.User in the present embodiment can be research staff, after-sales staff, service personnel, the plant produced people of electric vehicle Member or the consumer of electric vehicle.Electric vehicle software renewing apparatus or handheld device in the present embodiment can pass through number It is connected in the upgrade interface of electric vehicle according to line, such as 485 interfaces.Certainly, the electric vehicle software renewing apparatus or hand Holding equipment can also by other means, such as communication is connect, the present embodiment does not limit this with electric vehicle System.
The module to be upgraded of electric vehicle can be the battery management system (Battery of electric vehicle in the present embodiment Management System, BMS), electronic control unit (Electronic Control Unit, ECU), light control unit (Light Control Unit, LCU), instrument, double cut controller, fast charger and vector controller (Field- at lock control At least one of Oriented Controller, FOC).Wherein, lock control is the module on the electric vehicle for lease, lock Control, which can be used for realizing, locks steering lock, unlock steering lock, opens the functions such as cushion lock, opening lock for rear box and unlock lock for rear box. It is double cut controller can be used to implement by the out-put supply of two pieces of batteries it is in parallel after, power for vehicle.
It should be noted that can indicate that module to be upgraded is BMS, ECU, LCU, instrument in the present embodiment, in upgrade command Watch, lock control, a double module or multiple modules cut in controller, fast charger or FOC.That is, user can be one In secondary triggering, triggering upgrades one or more module.
Optionally, user can be touched by electric vehicle software renewing apparatus or the key or touch screen of handheld device Send out upgrade command.Fig. 2A is the schematic diagram of one of embodiment illustrated in fig. 1 user interface.As shown in Figure 2 A, user can lead to The user interface 201 crossed on electric vehicle software renewing apparatus or the touch screen of handheld device triggers upgrade command.Scheming In 2A, user can click the icon " ECU_UP " for indicating ECU upgrading to trigger the upgrade command upgraded to ECU.Such as figure It further include the icon " LCU_UP " for indicating LCU upgrading, the icon " DB_ for indicating instrument upgrading shown in 2A, in the user interface 201 UP ", the icon " LOCK_UP " for indicating lock control upgrading indicate double icons " BCS_UP " for cutting controller upgrading and indicate FOC liter The icon " FOC_UP " of grade.
It optionally, can within a preset period of time, for example, 5 seconds if user needs to trigger the upgrading to multiple modules It is interior, successively click the corresponding icon of multiple module upgrade.
In a kind of implementation, electric vehicle software renewing apparatus or handheld device are in the trigger action for receiving user Afterwards, the corresponding icon of module to be upgraded can be highlighted on the display screen.In another implementation, electric vehicle Have under the corresponding icon of module to be upgraded each of on software renewing apparatus or the display screen of handheld device one it is hollow Dot, when touch screen can not operate, user can be triggered by physical button, in the trigger action for receiving user Afterwards, the soft dot below the corresponding icon of module to be upgraded can be changed as black circle.
Step 102: the pre-stored multiple upgrade files of display.
Specifically, in the present embodiment, multiple liters have been stored in advance in electric vehicle software renewing apparatus or handheld device Grade file, can be stored in the electric vehicle software renewing apparatus or the internal storage of handheld device, be also possible to It is stored in the storage card for being set to the electric vehicle software renewing apparatus or handheld device, for example, TF card (Trans- Flash Card) in.
Upgrade file in the present embodiment can be the file of bin format, i.e., the upgrade file in the present embodiment be two into The file of format processed.Optionally, when the format of upgrade file is extended formatting, for example, OC8 format, electric vehicle software is more The upgrade file first can be converted to bin format by new equipment or handheld device.
The information such as the code of code and new function in the upgrade file in the present embodiment including corrective pitting (bug).
Optionally, user is when upgrade file to be stored in electric vehicle software renewing apparatus or handheld device, can be with According to the name of default rule modification upgrade file.The default rule can be to be added before the original title of upgrade file The name of the upper corresponding module of the upgrade file, for example, it is assumed that the corresponding upgrade file of ECU is original entitled The name modifications of the upgrade file are then ECUDemo.bin by Demo.bin.
Electric vehicle software renewing apparatus or handheld device can be when showing multiple upgrade files according to preset Sequentially show all upgrade files being stored therein.The preset sequence can be suitable in alphabet according to initial Sequence.
In a kind of implementation, when showing upgrade file, in order to cooperate in other systems, for example, after sale in system Permanent File Name length, can at most show preceding 8 bytes in upgrade file title, extra letter or number in file name Word will be substituted by tilde.In another implementation, when showing upgrade file, do not limit what upgrade file title was shown Length, longest can show 256 bytes.
Fig. 2 B is the schematic diagram of another user interface in embodiment illustrated in fig. 1.As shown in Figure 2 B, in user interface Multiple upgrade files are shown on 202.
In a kind of implementation, upgraded for the ease for the treatment of upgraded module, improves and send, receive the reliable of information Property, it before step 102, needs that the bus in electric vehicle is allowed to be in idle condition, therefore, it is necessary to close the electricity of electric vehicle Door lock.In the present embodiment, the electric door lock of electric vehicle can be turned off manually by user, for the electric vehicle for lease, The electric door lock for closing electric vehicle can be automatically controlled by ECU.
When the electric door lock of electric vehicle is turned off manually by user, optionally, before step 102, the present embodiment provides Electric vehicle Oftware updating method further include: prompt user close electric vehicle electric door lock.Fig. 2 C is embodiment illustrated in fig. 1 In another user interface schematic diagram.As shown in Figure 2 C, in user interface 203, display reminding information " PLSCONFM electric switch Lock has been switched off 10 seconds or more " to prompt user to close the electric door lock of electric vehicle.At the same time it can also in the user interface 203 How middle display " clicking screen to continue " carries out next step operation, to improve use to prompt user after closing electric door lock Family experience.
When being closed by ECU control electric door lock, before step 102, electric vehicle software upgrading provided in this embodiment Method further include: electric door lock out code is sent to the ECU of electric vehicle, so that ECU closes the electric door lock of electric vehicle.ECU After receiving electric door lock out code, control electric door lock is closed.
Optionally, when module to be upgraded is BMS, before step 102, it can also prompt user that the electric vehicle is soft Part updating device or handheld device are connected directly between on battery interface.
Step 103: receiving the selection instruction of user's triggering.
Wherein, selection instruction is used to indicate the targeted update file of user's selection.
Specifically, after showing multiple upgrade files, user can be by clicking the corresponding upgrading of module to be upgraded The icon of file carrys out triggering selection instruction, alternatively, user can select the corresponding upgrade file of module to be upgraded by key Icon carrys out triggering selection instruction.
If user triggers to BMS, ECU, LCU, instrument, lock control, double cuts in controller, fast charger and FOC Multiple modules are upgraded, then user can select multiple corresponding targeted update files in this step.
Step 104: targeted update file is sent to module to be upgraded.
Specifically, after receiving the selection instruction of user, the targeted update file indicated in selection instruction is sent to Module to be upgraded.The targeted update file can be encapsulated in module to be upgraded and electric vehicle software renewing apparatus or hold and set In the standby corresponding communication message of communication protocol supported.
If user triggers to BMS, ECU, LCU, instrument, lock control, double cuts in controller, fast charger and FOC Multiple modules are upgraded, then electric vehicle software renewing apparatus or handheld device can be sent to these modules respectively corresponds to Targeted update file.
In a kind of implementation, module to be upgraded can be sent to by after complete targeted update Document encapsulation.
In another implementation, the length information of targeted update file can be first sent to module to be upgraded, and receive The length information of module feedback to be upgraded receives success message.Later, to module to be upgraded transmission sub-goal upgrade file, and After the sub-goal upgrade file reception success message for receiving module feedback to be upgraded, next sub-goal upgrade file is made It for sub-goal upgrade file, returns and executes this step, until all sub-goal upgrade files are sent completely.Wherein, sub-goal File is the file that the length successively read from targeted update file is less than or equal to N byte, the sub-goal that last time is sent The length of upgrade file is less than or equal to N byte, and the length of other sub-goal upgrade files is N byte, and N is whole greater than 0 Number.N can be 1024.It in this implementation, is that targeted update file declustering is less than or equal to N byte at multiple length Sub-goal upgrade file, wherein last time send sub-goal upgrade file size be less than or equal to N byte, The size of his sub-goal upgrade file is N byte.
The targeted update file is sent by way of splitting targeted update file, is only receiving a upper sub-goal After the reception success message of upgrade file, next sub-goal upgrade file is just sent, it can be in electric vehicle software upgrading When the communication link of device or handheld device and electric vehicle is unstable, on the one hand, avoid invalid transmission targeted update text Part saves Internet resources, on the other hand, the reliability and accuracy for sending targeted update file can be improved.
Module to be upgraded first stores targeted update file to preset region after receiving targeted update file In, when module to be upgraded is ECU, which can be the region FLASH inside ECU, will upgrade flag bit later 1 is changed to by 0.Module to be upgraded in the process of running, if reading upgrading flag bit becomes 1, is read from the preset region Targeted update file is taken, later, runs the targeted update file to realize upgrading.
Illustrate the process of electric vehicle Oftware updating method provided in this embodiment with a specific example below: electronic Vehicle maintenance personnel, can be first by electric vehicle software involved in the present embodiment when determining that electric vehicle software needs to update On updating device or handset connection to the upgrade interface of electric vehicle;Then, maintenance personal's triggering is to some module Upgrade command;The electric vehicle software renewing apparatus or handheld device can execute step 102- after receiving upgrade command Step 104, realize that the upgrading of the module updates.
Electric vehicle Oftware updating method provided in this embodiment, comprising: receive the upgrade command of user's triggering, wherein Upgrade command is used to indicate the module to be upgraded of electric vehicle, shows pre-stored multiple upgrade files, receives user's triggering Selection instruction, wherein selection instruction be used to indicate user selection targeted update file, by targeted update file be sent to Upgraded module.A certain module to be upgraded is upgraded by using user's triggering, the mode of selection target upgrade file, is compared It, can depending on the user's operation, pointedly to specified module in the mode upgraded at present according to the upgrade package of downloading Upgraded, thus, improve the efficiency of electric vehicle software upgrading.
Fig. 3 is the flow diagram of electric vehicle Oftware updating method embodiment two provided by the invention.The present embodiment exists On the basis of each optinal plan given by embodiment one, to other steps of electric vehicle Oftware updating method, make one in detail Explanation.As shown in figure 3, electric vehicle Oftware updating method provided in this embodiment includes the following steps:
Step 301: receiving the upgrade command of user's triggering.
Wherein, upgrade command is used to indicate the module to be upgraded of electric vehicle.
Step 302: the pre-stored multiple upgrade files of display.
Step 303: receiving the selection instruction of user's triggering.
Wherein, selection instruction is used to indicate the targeted update file of user's selection.
Step 304: targeted update file is sent to module to be upgraded.
Step 301 and step 101, step 302 and step 102, step 303 and step 103 and step 304 and step 104 realization process is similar with technical principle, and details are not described herein again.
Step 305: check information is determined according to the length information of targeted update file and targeted update file.
Step 306: sending check information to module to be upgraded.
Specifically, in the present embodiment, after sending targeted update file to module to be upgraded, in order to further determine mesh Whether mark upgrade file receives correctly, can send check information to module to be upgraded.
It is alternatively possible to determine check information according to the length information of targeted update file and targeted update file, more Specifically, which can be generates according to cyclic redundancy check (Cyclic Redundancy Check, CRC) mode CRC check information.
Step 307: receiving the updating result information of module feedback to be upgraded.
Wherein, updating result information is module to be upgraded according to check information, after determining that targeted update file is properly received, It is sent after operational objective upgrade file.
Specifically, module to be upgraded is after receiving check information, can according to the length information that itself is received with And the targeted update file received determines the check information of recipient.By the check information of the recipient and the verification received Information is checked.If the two is consistent, operational objective upgrade file, if the success of targeted update running paper, mould to be upgraded Block is upgraded successfully to electric vehicle software renewing apparatus or handheld device feedback;If the two is consistent, but there is no successfully transport Row targeted update, the module feedback upgrading failure to be upgraded;If the two is inconsistent, module feedback upgrading failure to be upgraded.
If the updating result information expression received upgrades successfully, user can trigger the electric vehicle software upgrading Device or handheld device inquire the software version after module upgrade to be upgraded, to be confirmed whether to upgrade successfully.
In the present embodiment, before step 304, targeted update file, and displaying target upgrade file can first be opened Opening result information.During sending targeted update file, if it is according to splitting targeted update file, successively send The mode of sub-goal upgrade file then can send sub-goal upgrade file to module to be upgraded, and to be upgraded receiving After the sub-goal upgrade file of module feedback receives success message, the size and son of the targeted update file sent are shown The reception result information of targeted update file.The present embodiment can also show the hair of check information after sending check information Send result information.These above-mentioned information can be shown in the same user interface, be visualized to escalation process, User can be allowed to understand escalation process, improve user experience.
Wherein, the size for the targeted update file that display has been sent can be by showing the sub-goal sent upgrading The label of file embodies.In this implementation, the sub-goal upgrading that module to be upgraded has been successfully received can also be shown The label of file.When receive module feedback to be upgraded sub-goal upgrade file receive success message after, display it is to be upgraded The label for the sub-goal upgrade file that module has received adds 1.In this implementation, by showing the son sent simultaneously The label of targeted update file, and, show the label for the sub-goal upgrade file that module to be upgraded has received, make user into One step understands the transmission of targeted update file, receive process in escalation process, improves user experience.
Fig. 4 is the schematic diagram of one of embodiment illustrated in fig. 3 user interface.As shown in figure 4, in user interface 401, Show opening result information, the serial number for showing the sub-goal upgrade file sent, the specific item of targeted update file Mark the reception result information of upgrade file and the transmission result information of check information.
Electric vehicle Oftware updating method provided in this embodiment, according to the length information and target of targeted update file Upgrade file determines check information, sends check information to module to be upgraded, receives the updating result letter of module feedback to be upgraded Breath, ensure that the reliability of targeted update file transmission process, further improves the efficiency of electric vehicle software upgrading.
Fig. 5 is the flow diagram of electric vehicle Oftware updating method embodiment three provided by the invention.The present embodiment exists On the basis of each optinal plan given by embodiment one and embodiment two, to other steps of electric vehicle Oftware updating method Suddenly, make one to be described in detail.As shown in figure 5, electric vehicle Oftware updating method provided in this embodiment includes the following steps:
Step 501: receiving the upgrade command of user's triggering.
Wherein, upgrade command is used to indicate the module to be upgraded of electric vehicle.
Step 502: the pre-stored multiple upgrade files of display.
Step 503: receiving the selection instruction of user's triggering.
Wherein, selection instruction is used to indicate the targeted update file of user's selection.
The realization process and technology of step 501 and step 101, step 502 and step 102 and step 503 and step 103 Principle is similar, and details are not described herein again.
Step 504: the request of slave mode is transmitted into ECU.
Wherein, slave mode be ECU will not active transmission data mode.
Step 505: receive ECU feedback enters the successful information of slave mode.
Specifically, in the present embodiment, in escalation process, in order to allow ECU, active transmission data are not come out, with influence to The reliability that upgraded module is communicated with electric vehicle software renewing apparatus or handheld device, it is necessary first to ECU be allowed to enter slave Mode.Specific implementation can be with are as follows: electric vehicle software renewing apparatus or handheld device after receiving selection instruction, Execute step 504 and step 505.
ECU enters after slave mode, and the electric vehicle software renewing apparatus or handheld device in the present embodiment can To carry out the higher communication of reliability with the module in bus.
When module to be upgraded be LCU, instrument, lock control, it is double cut controller, fast charger or FOC when, receive ECU feedback Enter after slave mode successful information, method provided in this embodiment further include: prompt user opens electric vehicle Electric door lock.After ECU enters slave mode, prompting user to open the electric door lock of electric vehicle is in order to LCU, instrument, lock Control, double controller, fast charger or FOC of cutting power.It optionally, can also be by ECU for the electric vehicle for lease Automatically control the electric door lock for opening electric vehicle: the ECU of electric vehicle software renewing apparatus or handheld device to electric vehicle Electric door lock open command is sent, so that ECU opens the electric door lock of electric vehicle.ECU is after receiving electric door lock open command, control Electric door lock processed is opened.
Step 506: repositioning information is sent to module to be upgraded, so that module to be upgraded enters upgrade mode.
In the present embodiment, in order to allow module to be upgraded correctly to upgrade, need to send repositioning information to module to be upgraded.Wait rise Grade module is after receiving repositioning information, into upgrade mode.
Step 507: targeted update file is sent to module to be upgraded.
Step 507 is similar with the realization process and technical principle of step 104, and details are not described herein again.
Step 508: the request for exiting slave mode is sent to ECU.
Specifically, it after sending targeted update file, is needed in the present embodiment to allow ECU to restore normal mode The request for exiting slave mode is sent to ECU.ECU upon receiving the request, exits slave mode.More specifically, receiving To after the updating result information of module feedback to be upgraded, step 508 is executed.
Electric vehicle Oftware updating method provided in this embodiment, by targeted update file be sent to module to be upgraded it Before, it is transmitted into the request of slave mode to ECU, after targeted update file is sent to module to be upgraded, is moved back to ECU transmission The request of slave mode out is not influenced during being upgraded by ECU, ensure that electric vehicle software renewing apparatus Or the reliability communicated between handheld device and module to be upgraded.
Fig. 6 is the structural schematic diagram of electric vehicle software renewing apparatus embodiment one provided by the invention.As shown in fig. 6, Electric vehicle software renewing apparatus provided in this embodiment includes: the first receiving module 61, display module 62 and sending module 63。
First receiving module 61, for receiving the upgrade command of user's triggering.
Wherein, upgrade command is used to indicate the module to be upgraded of electric vehicle.
Optionally, module to be upgraded be BMS, ECU of electric vehicle, LCU, instrument, lock control, it is double cut controller, fast charge is filled At least one of electric appliance and vector controller FOC.
Display module 62, for showing pre-stored multiple upgrade files.
Optionally, targeted update file is the file of bin format.
First receiving module 61 is also used to receive the selection instruction of user's triggering.
Wherein, selection instruction is used to indicate the targeted update file of user's selection.
Sending module 63, for targeted update file to be sent to module to be upgraded.
Optionally, sending module 63 is specifically used for: sending the length information of targeted update file to module to be upgraded, and connects The length information for receiving module feedback to be upgraded receives success message;Sub-goal upgrade file is sent to module to be upgraded, and is being connect Receive module feedback to be upgraded sub-goal upgrade file receive success message after, using next sub-goal upgrade file as Sub-goal upgrade file returns and executes this step, until all sub-goal upgrade files are sent completely.Wherein, sub-goal text Part is the file that the length successively read from targeted update file is less than or equal to N byte, the sub-goal liter that last time is sent The length of grade file is less than or equal to N byte, and the length of other sub-goal upgrade files is N byte, and N is the integer greater than 0.
In a kind of implementation, device provided in this embodiment further include: cue module, it is electronic for prompting user to close The electric door lock of vehicle.In another implementation, sending module 63 is also used to send electricity to the electronic control unit ECU of electric vehicle Door lock out code, so that ECU closes the electric door lock of electric vehicle.
Optionally, when module to be upgraded be LCU, instrument, lock control, it is double cut controller, fast charger or FOC when, prompt The electric door lock that module is also used to that user is prompted to open electric vehicle.
Electric vehicle software renewing apparatus provided by the embodiment of the present invention can be performed any embodiment of that present invention and be provided Electric vehicle Oftware updating method, have the corresponding functional module of execution method and beneficial effect.
Fig. 7 is the structural schematic diagram of electric vehicle software renewing apparatus embodiment two provided by the invention.As shown in fig. 7, The present embodiment is on the basis of electric vehicle software renewing apparatus embodiment one, to other moulds of electric vehicle software renewing apparatus Block is made one and is described in detail.As shown in fig. 7, electric vehicle software renewing apparatus provided in this embodiment further include: determining module 81 And second receiving module 82.
Determining module 81, for determining verification letter according to the length information and targeted update file of targeted update file Breath.
Sending module 63 is also used to send check information to module to be upgraded.
Second receiving module 82, for receiving the updating result information of module feedback to be upgraded.
Wherein, updating result information is module to be upgraded according to check information, after determining that targeted update file is properly received, It is sent after operational objective upgrade file.
In a kind of implementation, device further include: open module, be used to open targeted update file.Display module is also used In the opening result information of displaying target upgrade file, the size and sub-goal upgrading of the targeted update file sent are shown The reception result information of file shows the transmission result information of check information.
In a kind of implementation, sending module 63 is also used to be transmitted into the request of slave mode to ECU.Wherein, slave Mode be ECU will not active transmission data mode.Second receiving module 82, be also used to receive ECU feedback enters slave mould The successful information of formula.Sending module 63 is also used to send repositioning information to module to be upgraded, so that module to be upgraded enters upgrading Mode.Sending module 63 is also used to send the request for exiting slave mode to ECU.
Electric vehicle software renewing apparatus provided by the embodiment of the present invention can be performed any embodiment of that present invention and be provided Electric vehicle Oftware updating method, have the corresponding functional module of execution method and beneficial effect.
Fig. 8 is the structural schematic diagram of handheld device provided by the invention.As shown in figure 8, the handheld device includes processor 70 and memory 71.The handheld device can also include display 72, for showing pre-stored multiple upgrade files.The hand The quantity of processor 70 can be one or more in holding equipment, in Fig. 8 by taking a processor 70 as an example;The place of the handheld device Reason device 70 can be connected with memory 71 by bus or other modes, in Fig. 8 for being connected by bus.
Memory 71 is used as a kind of computer readable storage medium, can be used for storing software program, journey can be performed in computer Sequence and module, as in the embodiment of the present invention the corresponding program instruction of electric vehicle Oftware updating method and module (for example, The first receiving module 61, display module 62 and sending module 63 in electric vehicle software renewing apparatus).Processor 70 passes through Run the software program, instruction and the module that are stored in memory 71, thereby executing handheld device various function application with And data processing, that is, realize above-mentioned electric vehicle Oftware updating method.
Memory 71 can mainly include storing program area and storage data area, wherein storing program area can store operation system Application program needed for system, at least one function;Storage data area, which can be stored, uses created data according to handheld device Deng.In addition, memory 71 may include high-speed random access memory, it can also include nonvolatile memory, for example, at least One disk memory, flush memory device or other non-volatile solid state memory parts.In some embodiments, memory 71 It can further comprise the memory remotely located relative to processor 70, these remote memories can pass through network connection to hand Holding equipment.The embodiment of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile radio communication and its group It closes.
The present invention also provides a kind of storage medium comprising computer executable instructions, the computer executable instructions exist For executing a kind of electric vehicle Oftware updating method when being executed by computer processor, this method comprises:
Receive the upgrade command of user's triggering, wherein the upgrade command is used to indicate the module to be upgraded of electric vehicle;
Show pre-stored multiple upgrade files;
Receive the selection instruction of user's triggering, wherein the selection instruction is used to indicate the mesh of user's selection Mark upgrade file;
The targeted update file is sent to the module to be upgraded.
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present invention The method operation that executable instruction is not limited to the described above, can also be performed electric vehicle provided by any embodiment of the invention Relevant operation in Oftware updating method.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but in many cases, the former is more Good embodiment.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art Part can be embodied in the form of software products, which can store in computer readable storage medium In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set Standby (can be personal computer, server or the network equipment etc.) or handheld device execute each embodiment institute of the present invention The method stated.
It is worth noting that, in the embodiment of above-mentioned electric vehicle software renewing apparatus, included each unit and mould Block is only divided according to the functional logic, but is not limited to the above division, and is as long as corresponding functions can be realized It can;In addition, the specific name of each functional unit is also only for convenience of distinguishing each other, the protection model being not intended to restrict the invention It encloses.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (12)

1. a kind of electric vehicle Oftware updating method characterized by comprising
Receive the upgrade command of user's triggering, wherein the upgrade command is used to indicate the module to be upgraded of electric vehicle;
Show pre-stored multiple upgrade files;
Receive the selection instruction of user's triggering, wherein the selection instruction is used to indicate the target liter of user's selection Grade file;
The targeted update file is sent to the module to be upgraded.
2. the method according to claim 1, wherein it is described the targeted update file is sent to it is described wait rise Grade module, comprising:
The length information of the targeted update file is sent to the module to be upgraded, and receives the module feedback to be upgraded Length information receives success message;
Sub-goal upgrade file is sent to the module to be upgraded, and in the sub-goal liter for receiving the module feedback to be upgraded After grade file reception success message, using next sub-goal upgrade file as the sub-goal upgrade file, returns and execute This step, until all sub-goal upgrade files are sent completely;Wherein, the sub-goal file is successively from the target liter The length that grade file is read is less than or equal to the file of N byte, and the length for the sub-goal upgrade file that last time is sent is less than Or it is equal to N byte, the length of other sub-goal upgrade files is N byte, and N is the integer greater than 0.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
Check information is determined according to the length information of the targeted update file and the targeted update file;
The check information is sent to the module to be upgraded;
Receive the updating result information of the module feedback to be upgraded;Wherein, the updating result information is the mould to be upgraded Root tuber after determining that the targeted update file is properly received, is sent according to the check information after running the targeted update file 's.
4. according to the method described in claim 3, it is characterized in that, it is described the targeted update file is sent to it is described wait rise Before grade module, the method also includes:
The targeted update file is opened, and shows the opening result information of the targeted update file;
Correspondingly, described to send sub-goal upgrade file to the module to be upgraded and anti-receiving the module to be upgraded After the sub-goal upgrade file of feedback receives success message, the method also includes:
Show the size of the targeted update file sent and the reception result information of the sub-goal upgrade file;
Correspondingly, after the check information to the module transmission to be upgraded, the method also includes:
Show the transmission result information of the check information.
5. the method according to claim 3 or 4, which is characterized in that the pre-stored multiple upgrade files of the display it Before, the method also includes:
The user is prompted to close the electric door lock of the electric vehicle;Alternatively,
Electric door lock out code is sent to the electronic control unit ECU of the electric vehicle, so that ECU closing is described electronic The electric door lock of vehicle.
6. according to the method described in claim 5, it is characterized in that, it is described the targeted update file is sent to it is described wait rise Before grade module, the method also includes:
The request of slave mode is transmitted into the ECU, wherein the slave mode is that the ECU will not active transmission number According to mode;
Receive the ECU feedback enters the successful information of slave mode;
Repositioning information is sent to the module to be upgraded, so that the module to be upgraded enters upgrade mode;
Correspondingly, after the updating result information for receiving the module feedback to be upgraded, the method also includes:
The request for exiting slave mode is sent to the ECU.
7. according to the method described in claim 6, it is characterized in that, the module to be upgraded is the cell tube of the electric vehicle Reason system BMS, ECU, light control unit LCU, instrument, lock control, double controller, fast charger and vector controller are cut At least one of FOC.
8. the method according to the description of claim 7 is characterized in that when the module to be upgraded is LCU, instrument, lock control, double cuts When controller, fast charger or FOC, entering after the successful information of slave mode for the reception ECU feedback is described Method further include:
The user is prompted to open the electric door lock of the electric vehicle.
9. method according to claim 1-4, which is characterized in that the targeted update file is bin format File.
10. a kind of electric vehicle software renewing apparatus characterized by comprising
First receiving module, for receiving the upgrade command of user's triggering, wherein the upgrade command is used to indicate electric vehicle Module to be upgraded;
Display module, for showing pre-stored multiple upgrade files;
First receiving module is also used to receive the selection instruction of user's triggering, wherein the selection instruction is for referring to Show the targeted update file of user's selection;
Sending module, for the targeted update file to be sent to the module to be upgraded.
11. a kind of handheld device, which is characterized in that the handheld device includes:
One or more processors;
Memory, for storing one or more programs;
Display, for showing pre-stored multiple upgrade files;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now electric vehicle Oftware updating method as described in any in claim 1-9.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The electric vehicle Oftware updating method as described in any in claim 1-9 is realized when execution.
CN201910493399.4A 2019-06-06 2019-06-06 Electric vehicle Oftware updating method, device, handheld device and storage medium Pending CN110196727A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910493399.4A CN110196727A (en) 2019-06-06 2019-06-06 Electric vehicle Oftware updating method, device, handheld device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910493399.4A CN110196727A (en) 2019-06-06 2019-06-06 Electric vehicle Oftware updating method, device, handheld device and storage medium

Publications (1)

Publication Number Publication Date
CN110196727A true CN110196727A (en) 2019-09-03

Family

ID=67754088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910493399.4A Pending CN110196727A (en) 2019-06-06 2019-06-06 Electric vehicle Oftware updating method, device, handheld device and storage medium

Country Status (1)

Country Link
CN (1) CN110196727A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111061255A (en) * 2019-12-27 2020-04-24 山东国惠安创智能物联发展有限公司 Control method and device of electric vehicle
CN111090445A (en) * 2019-12-18 2020-05-01 广东中兴新支点技术有限公司 Vehicle service upgrading method, device and system
CN111831308A (en) * 2020-04-15 2020-10-27 腾讯科技(深圳)有限公司 Firmware updating method and program for quick charging equipment, quick charging equipment and storage medium
CN112130875A (en) * 2020-08-27 2020-12-25 长城汽车股份有限公司 Vehicle ECU software upgrading method, device and system
CN112394663A (en) * 2020-11-12 2021-02-23 深圳市泰比特科技有限公司 Method and device for upgrading central control interface line of shared electric bicycle
CN112486526A (en) * 2020-11-06 2021-03-12 深圳拓邦股份有限公司 Firmware upgrading use method and system, charger, user terminal and server
CN112596759A (en) * 2020-12-04 2021-04-02 西安慧博文定信息技术有限公司 Method, device and system for upgrading MCU software based on TF card
CN113515295A (en) * 2021-04-08 2021-10-19 上海七十迈数字科技有限公司 Method and equipment for upgrading system software of electric bicycle
CN113760326A (en) * 2021-07-21 2021-12-07 江铃汽车股份有限公司 Upgrading method and device, readable storage medium and vehicle

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208447A (en) * 2015-09-28 2015-12-30 北京赛科世纪科技股份有限公司 Set top box upgrading method and device and set top box
CN105491161A (en) * 2016-01-19 2016-04-13 深圳市沃特玛电池有限公司 Battery management system software remote upgrading system and remote upgrading method thereof
CN105589719A (en) * 2015-12-17 2016-05-18 广州汽车集团股份有限公司 System for remotely upgrading full vehicle-mounted controller softwares and upgrading method thereof
CN107483524A (en) * 2016-12-23 2017-12-15 宝沃汽车(中国)有限公司 The remote upgrade method and upgrade-system of vehicle control device
US20180005141A1 (en) * 2016-07-01 2018-01-04 Ebay Inc. Intelligent upgrade offering for a listing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208447A (en) * 2015-09-28 2015-12-30 北京赛科世纪科技股份有限公司 Set top box upgrading method and device and set top box
CN105589719A (en) * 2015-12-17 2016-05-18 广州汽车集团股份有限公司 System for remotely upgrading full vehicle-mounted controller softwares and upgrading method thereof
CN105491161A (en) * 2016-01-19 2016-04-13 深圳市沃特玛电池有限公司 Battery management system software remote upgrading system and remote upgrading method thereof
US20180005141A1 (en) * 2016-07-01 2018-01-04 Ebay Inc. Intelligent upgrade offering for a listing
CN107483524A (en) * 2016-12-23 2017-12-15 宝沃汽车(中国)有限公司 The remote upgrade method and upgrade-system of vehicle control device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111090445A (en) * 2019-12-18 2020-05-01 广东中兴新支点技术有限公司 Vehicle service upgrading method, device and system
CN111090445B (en) * 2019-12-18 2023-11-03 广东中兴新支点技术有限公司 Vehicle service upgrading method, device and system
CN111061255A (en) * 2019-12-27 2020-04-24 山东国惠安创智能物联发展有限公司 Control method and device of electric vehicle
CN111831308A (en) * 2020-04-15 2020-10-27 腾讯科技(深圳)有限公司 Firmware updating method and program for quick charging equipment, quick charging equipment and storage medium
CN112130875A (en) * 2020-08-27 2020-12-25 长城汽车股份有限公司 Vehicle ECU software upgrading method, device and system
CN112486526A (en) * 2020-11-06 2021-03-12 深圳拓邦股份有限公司 Firmware upgrading use method and system, charger, user terminal and server
CN112394663A (en) * 2020-11-12 2021-02-23 深圳市泰比特科技有限公司 Method and device for upgrading central control interface line of shared electric bicycle
CN112596759A (en) * 2020-12-04 2021-04-02 西安慧博文定信息技术有限公司 Method, device and system for upgrading MCU software based on TF card
CN113515295A (en) * 2021-04-08 2021-10-19 上海七十迈数字科技有限公司 Method and equipment for upgrading system software of electric bicycle
CN113760326A (en) * 2021-07-21 2021-12-07 江铃汽车股份有限公司 Upgrading method and device, readable storage medium and vehicle

Similar Documents

Publication Publication Date Title
CN110196727A (en) Electric vehicle Oftware updating method, device, handheld device and storage medium
CN110134412B (en) Software updating method, device, vehicle and computer readable storage medium
CN112099829B (en) Vehicle upgrade control method and system, OTA background and vehicle
CN110727454A (en) Updating method and device of intelligent equipment, electronic equipment and storage medium
CN105871955B (en) A kind of processing method and server and client based on distributed file system
US20080208928A1 (en) Device Management System and Method for Managing Device Management Object
CN109783123A (en) Vehicle-mounted T-BOX terminal and firmware upgrade method
CN102622253A (en) Singlechip and method for upgrading singlechip on line
US10732958B2 (en) Terminal device and software rewriting program
CN108829430A (en) Java Web project update method and relevant apparatus based on Eclipse and Tomcat
CN112394957A (en) Server upgrading method and device, server and storage medium
CN110765746A (en) Automatic form generation method and system based on event agent
CN110136297A (en) Electric vehicle fault determination method, device, handheld device and storage medium
CN110096290A (en) A kind of battery simulator master control borad method for upgrading software
CN110223417B (en) Electric vehicle information recording method and device, handheld device and storage medium
CN110489161A (en) A kind of management method and relevant apparatus of version file
CN103577518A (en) Predictive text engine systems and related methods
CN109508211A (en) A kind of multilingual configuration method, device, system and electronic equipment
CN102622254A (en) Method and system for processing television outage
CN105656659A (en) Management method and device for network element upgrade
US20190073212A1 (en) Terminal device and software rewriting program
CN112034748A (en) Control method of electric bicycle, user terminal and server
CN103678653B (en) A kind of mobile terminal based reminding method and mobile terminal
CN110333964A (en) Abnormal log processing method and processing device, electronic equipment, storage medium
WO2022160745A1 (en) Network security function detection method and related device

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