CN105491161A - Battery management system software remote upgrading system and remote upgrading method thereof - Google Patents

Battery management system software remote upgrading system and remote upgrading method thereof Download PDF

Info

Publication number
CN105491161A
CN105491161A CN201610033788.5A CN201610033788A CN105491161A CN 105491161 A CN105491161 A CN 105491161A CN 201610033788 A CN201610033788 A CN 201610033788A CN 105491161 A CN105491161 A CN 105491161A
Authority
CN
China
Prior art keywords
upgrade file
server system
module
upgrading
battery management
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
CN201610033788.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.)
Shenzhen OptimumNano Energy Co Ltd
Original Assignee
Shenzhen OptimumNano Energy Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen OptimumNano Energy Co Ltd filed Critical Shenzhen OptimumNano Energy Co Ltd
Priority to CN201610033788.5A priority Critical patent/CN105491161A/en
Publication of CN105491161A publication Critical patent/CN105491161A/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/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/66Updates of program code stored in read-only memory [ROM]
    • 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention is suitable for software remote upgrading, and provides a battery management system software remote upgrading system comprising a server system, client sides and multiple battery management systems. The client sides transmit received user selection operation to the server system. The battery management systems are used for uploading heartbeat information to the server system and completing system software upgrading according to received upgrading files. The heartbeat information includes current version information and current state information. The server system is used for issuing the corresponding upgrading files to the corresponding battery management systems when the heartbeat information meets the issuing conditions through judgment. Pausing or resuming is selected in the issuing process according to feedback state information until completion of transmission. The application scenes of the battery management systems are considered, the situations of driving and charging are considered, and active pausing and breakpoint resuming functions can be realized in the system software upgrading process according to the current state of the battery management systems so that safety and reliability can be enhanced and operation and maintenance cost can be reduced.

Description

A kind of remote update system of battery management system software and remote upgrade method thereof
Technical field
The invention belongs to remote control field, particularly relate to a kind of remote update system and the remote upgrade method thereof of supporting the battery management system software of breakpoint transmission.
Background technology
In remote automatic upgrading system, in general application scenario, no matter being towards the program of single-chip microcomputer or the upgrading based on the application program on operating system aspect, is all that this type belongs to passive interruption because the physical connection such as power-off, suspension disconnects the transmission just interrupting ROMPaq.And the battery management system (BatteryManagementSystem be installed on for dynamics of management battery on electric automobile, call BMS in the following text) remote automatic upgrading, traffic safety factor must be included in limit of consideration, therefore based on the remote automatic upgrading of BMS, not only to consider passive breakpoint transmission, also will consider to carry out interrupt transfer and breakpoint transmission by certain proactive mechanisms, traditional remote upgrade method cannot meet the remote software auto-update demand based on BMS.
BMS is as a kind of management system of electric automobile power battery, and systems soft ware has the demand upgrading upgrading.And the position distribution residing for the automobile of running status is very disperseed, add the consideration for operation, BMS is not suitable for concentrating and carries out manual local upgrade.Consider current IT or electron trade, no matter based on the auto-update of application program in operating system aspect, or based on the auto-update of scm software, there is the breakpoint transmission of the objective factor considered because of physical connection disconnection, but do not possess and initiatively suspend, the system mechanism of breakpoint transmission, has certain unsafe factor and destabilizing factor.
Summary of the invention
Technical problem to be solved by this invention is the remote update system and the remote upgrade method thereof that provide a kind of battery management system software, and the software being intended to solve existing battery management system does not possess initiatively time-out, the problem of breakpoint transmission in escalation process.
The present invention is achieved in that a kind of remote update system of battery management system software, comprises server system, the some clients be connected with described server system respectively and some battery management systems;
Described client, carry out alternately with user, the selection for receiving user operates and transfers to described server system; The selection operation of user specifically comprises following information: from described some battery management systems, select the upgrade command triggered as the battery management system of upgrading object, upgrade file and user;
Described battery management system, for uploading heartbeat message to described server system; Described heartbeat message comprises current version information and current state information; Also for the upgrading according to the described upgrade file completion system software received;
According to described heartbeat message, described server system, for after receiving described upgrade command, judges whether the state of described upgrading object meets the condition of issuing, when meeting and issuing condition, described upgrade file is issued to described upgrading object; Simultaneously issuing in process the state information that receives and feed back from described upgrading object to carry out issuing condition judgment, if do not meet the condition of issuing, suspending and issuing upgrade file; Issue condition and carry out upgrade file and resume, until end of transmission judging that described state information meets.
Further, described server system comprises service module and front end processor module, and described front end processor module is connected with described service module, described battery management system respectively; Described service module is connected with described client; Described service module comprises database subsystem module and client service submodule; Described database subsystem module is for the state information storing the selection operation of user, upgrade file, upgrading object report; Described client service submodule is selected upgrading object for receiving user by described client, is specified the information of upgrade file version, and by the selection of user operation stored in described database subsystem module, carries out data call for described front end processor module; Described front end processor module:
Client is supplied to read the state of described battery management system for the described heartbeat message received being transferred to described service module;
Also for when receiving after described upgrade command, the current version information of upgrading object transmission according to described selection operation judges, determines whether to need upgrading;
After being judged as needing upgrading, judge whether to meet the condition of issuing according to described current state information;
Be judged as the situation meeting the condition of issuing, operating the upgrade file transferred in described database subsystem module according to described selection, and be issued to described upgrading object;
Described upgrading object often receives the data that described in a frame, front end processor module issues, a frame state information of then feeding back is to described front end processor module, described front end processor module judges whether to meet according to the state information of feedback and issues condition, if discontented foot clockwork spring part, suspends upgrade file and issues, when again judge described heartbeat message meet issue condition time, carry out upgrade file to resume, until end of transmission.
Further, described server system is the one in Cloud Server, mainframe computer.
Further, described battery management system comprises transport module, memory module and generation module; Described transport module is connected with described generation module with described front end processor module, described memory module respectively;
Described transport module, carries out information interaction with described front end processor module, for transmitting heartbeat message and the state information of the generation of described generation module; Also for the upgrade file received is transferred to described memory module.
Further, described transport module is GPRS module, and described memory module comprises FLASH sub module stored, RAM sub module stored, ROM sub module stored.
Further, described server system and described battery management system, by GPRS passage, are followed ICP/IP protocol and are carried out information interaction.
Present invention also offers a kind of remote upgrade method of remote update system as described above, comprise the following steps:
Steps A, battery management system uploads heartbeat message to described server system;
Step B, client receives the selection operation of user, then described selection operation is sent to described server system; The selection operation of user specifically comprises following information: from described some battery management systems, select the upgrade command triggered as the battery management system of upgrading object, upgrade file and user;
Step C, described server system is after receiving described upgrade command, judge whether the state of described upgrading object meets the condition of issuing according to described heartbeat message, if described heartbeat message meets the condition of issuing, then described upgrade file is issued to described upgrading object; And receive the state information of described upgrading object feedback, judge whether to carry out issuing suspend or continue transmission according to described state information, until upgrade file end of transmission, then send and distribute Bi Zhiling to described upgrading object;
Step D, described upgrading object issues complete instruction according to receiving, and carries out reset upgrading according to described upgrade file to systems soft ware.
Further, described heartbeat message comprises current state information and current version information; Step C specifically comprises:
Step C1, described server system, after receiving described upgrade command, judges the current state information of described upgrading object according to the described heartbeat message received;
Step C2, if judge, the current state of described upgrading object meets the condition of issuing, then described server system generates a transmitting order to lower levels and transfers corresponding upgrade file according to described selection operation, and described transmitting order to lower levels and described upgrade file are sent to described upgrading object in the lump;
Step C3, described upgrading object often receives the data of the upgrade file of server system transmission described in a frame, then a frame state information of feeding back is to described server system;
Step C4, described server system according to described state information judge whether meet continue to issue condition, when be judged as meet continue to issue condition, continue transmission described upgrade file; Do not meet if be judged as and continue to issue condition, then suspend transmission, then send a pause instruction to described upgrading object;
Step C5, according to the described heartbeat message received, described server system judges whether the current state information of described upgrading object meets and issues condition, be judged as meet issue condition in, transmission one resumes order to described upgrading object and then continues to issue described upgrade file, and returns step C3;
Step C6, if described upgrade file end of transmission, then described server system sends and distributes Bi Zhiling to described upgrading object.
Further, described step D specifically comprises:
Step D1, whether described upgrading object monitoring has the upgrade file transmitted from described server system;
Step D2, the transmitting order to lower levels and upgrade file that transmit from described server system if monitor, then described upgrading object often receives the data of upgrade file described in a frame, and a frame state information of feeding back, to described server system, will receive data simultaneously and be saved in RAM sub module stored;
Step D3, if the pause command receiving the transmission of described server system, then the transfer of data of preserving in RAM sub module stored is preserved by described upgrading object to FLASH sub module stored;
Step D4, what if receive, described server system sent resumes order, and require to continue to issue upgrade file, then described upgrade-system is by the address suspended, and continues to receive described upgrade file, and the data received is renewed in described RAM sub module stored;
Step D5, described upgrading object receive described server system transmission issue complete instruction after, if there are upgrade file data in RAM sub module stored, then first unloading is to FLASH sub module stored, after making to there is a upgrade file completed in FLASH sub module stored, finally by the upgrade file programming in described FLASH sub module stored to ROM sub module stored, perform reset operation, upgrade according to the reset of described upgrade file completion system software.
The present invention compared with prior art, beneficial effect is: the application scenarios that contemplated by the invention battery management system, consider driving, the situation of charging, can possess in system software upgrading process according to the current state of battery management system and initiatively suspend, breakpoint transmission function, improves fail safe, reliability, reduces O&M cost.
Accompanying drawing explanation
Fig. 1 is the structural representation of the remote update system of a kind of battery management system software that the embodiment of the present invention provides.
Fig. 2 is the flow chart of the remote upgrade method of the remote update system of a kind of battery management system software that the embodiment of the present invention provides.
Fig. 3 is the workflow diagram that server system that the embodiment of the present invention provides issues upgrade file.
Fig. 4 is the workflow diagram of the software upgrading of the battery management system that the embodiment of the present invention provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The present invention has done upgrading in traditional Remote upgrade method, and the active adding complete set suspends, and the system of breakpoint transmission and the method for correspondence thereof, proceed from the reality, and solves the problem that BMS remote automatic upgrading affects traffic safety well, contemplated by the invention the application scenarios of BMS, have and initiatively suspend, breakpoint transmission function, improve fail safe, reliability, reduce O&M cost, a kind of escalation process provided initiatively temporary transmission, follow-uply carry out by original progress the remote update system that resumes again when satisfying condition, can from the application scenarios reality of BMS, consider driving, the situation of charging, give the framework of system, define and comprise normal transmission, suspend, the host-host protocol resumed, improve current automatic updating system and be applied to unsafe situation on BMS, improve the fail safe of system, reliability.
Based on above-mentioned theory, the embodiment of the present invention gives the remote update system of a kind of battery management system software as described in Figure 1, comprises server system 2, the client 1 be connected with server system 2 respectively and some battery management systems 3;
Client 1, carry out alternately with user, the selection for receiving user operates and transfers to server system 2; The selection operation of user specifically comprises following information: from some battery management systems 3, select the upgrade command triggered as the battery management system 3 of upgrading object, upgrade file and user;
Battery management system 3, for uploading heartbeat message to server system 2; Described heartbeat message comprises current version information and current state information; Also for the upgrading according to the described upgrade file completion system software received.In the present embodiment, current state information comprises the information being less than 5A discharge condition, being greater than 5A discharge condition and charged state.For representing clear, Fig. 1 illustrate only the related structural moieties of 1 battery management system 3 and this product, and all the other structures are omitted in the present embodiment and do not shown.
According to described heartbeat message, server system 2, for after receiving described upgrade command, judges whether the state of described upgrading object meets the condition of issuing, when meeting and issuing condition, described upgrade file is issued to described upgrading object; Simultaneously issuing in process the state information that receives and feed back from described upgrading object to carry out issuing condition judgment, if do not meet the condition of issuing, suspending and issuing upgrade file; Issue condition and carry out upgrade file and resume, until end of transmission judging that described state information meets.In the present embodiment, as the current state of the battery management system of upgrading object for being less than 5A discharge condition, be then judged as meeting and issue condition.Because in the escalation process of practical application, the vehicle being mounted with battery management system to be upgraded may start in escalation process advances or the situation such as charging, cause current state information to be in and be greater than 5A discharge condition or charged state, server system 2 often receives the data of a frame upgrade file according to the battery management system being selected as upgrading object and the state information fed back judges whether to meet the condition that issues continuing to issue, if the state information of feedback does not conform to symbol and issues condition, then suspend issuing of upgrade file, and now, upgrading object is not because receive the data of upgrade file, then suspend feedback status information, then the heartbeat message that server system 2 sends according to the battery management system 3 being selected as upgrading object carries out judging whether to meet the condition of issuing, if meet, then again issues upgrade file according to the address suspended, if do not meet, then continue to receive the judgement that heartbeat message carries out the condition that issues.
Further, server system 2 comprises interconnective service module and front end processor module, and described service module comprises database subsystem module and client service submodule, and battery management system 3 comprises transport module, memory module and generation module; Client 1 is connected with described service module, and described transport module is connected with described generation module with described front end processor module, described memory module respectively.
Described database subsystem module, being mainly used in storing data to call for front end processor module, operate (as chosen upgrading object, appointment upgrade file version etc. from battery management system) for the selection stored as user, the data such as state information that upgrade file, upgrading object report; Described client service submodule is selected upgrading object for receiving user by described client, is specified the information of upgrade file version, and by the selection of user operation stored in described database subsystem module, carries out data call for described front end processor module; In a particular application, client 1 can be install WEB client side on computers, also can be that it is mutual to install APP client on mobile terminals to realize with user, more specifically, user can operate client 1, as chosen the BMS system of vehicle needing upgrading, and select the version needing upgrading, can also to suspending in escalation process, resuming and the operation such as cancellation.Because user initiatively select to suspend, resume and cancel be not the present embodiment want emphasis to set forth, do not repeat in the present embodiment.In the present embodiment, server system can be Cloud Server, or possesses the computer of mass computing ability and storage capacity, is here not specifically limited.
Below, with client 1 be WEB client side, transport module for GPRS module, memory module comprises RAM sub module stored, FLASH sub module stored and ROM sub module stored, represents that battery management system is explained further to the present invention with BMS.
WEB client side is responsible for and user interactions, completes the tasks such as BMS to be upgraded selection, upgrade file selection.Server system is that BMS provides host computer service platform, by GPRS passage, the GPRS module of BMS inside is connected to the attendant application in front end processor module by ICP/IP protocol, the attendant application in the front end processor module of server system inside is connected to the service module in server system.BMS inside comprises GPRS module, can complete the TCP/IP communication with server system, can read and write FLASH or RAM or ROM sub module stored to complete the protection of ROMPaq, transfer and burning simultaneously.Like this, whole remote update system is in close-connected state, collaborative work, jointly completes the auto-update of BMS.The current version information of BMS timing reporting system and current state information, front end processor module judges whether after receiving current version information to need upgrading, and being judged as needs upgrading then to start upgrading transmission according to the selection of user.Front end processor module often sends out frame data by agreement of the present invention, and BMS all will return frame data, and containing the status word of BMS in the frame of reply, front end processor module judges whether to suspend transmission still end of transmission always according to status word again.BMS receives upgrade file stored in FLASH sub module stored, once conditions permit, booting ROM burning completes upgrading.
In the present embodiment, after server system is disposed, front end processor module binds a local port, and BMS, according to the IP address of server system and front end processor module port, is connected to the attendant application in front end processor module.Front end processor module can access service module on the server systems, and this service module is responsible for the upgrade file and the version information that store BMS.BMS comprises an independently GPRS module, this GPRS module by GPRS passage and front end processor model calling, responsible transmission command and data.The FLASH sub module stored of BMS inside is the data storage of BMS, for storing upgrade file and other supplementarys.
In the present embodiment, the communication protocol definition of front end processor module and BMS is as follows:
One, physical layer is the ICP/IP protocol of GPRS passage.
Two, data link layer is: frame head 1 byte+frame length 1 byte+address 2 bytes+control word 1 byte+data field n byte+School Affairs 1 byte+postamble 1 byte.
1) frame head adopts 1 byte code, and unified is 0x68.
2) frame length adopts 1 byte length, is the size of data field n.
3) address adopts 2 byte lengths, represents the initial address wanting burning.
4) control word adopts 1 byte length, represents the type of frame.
5) data field, byte length depends on the definition of frame length, and content is the content of upgrade file.
6) School Affairs, for from frame head until all bytes of last byte of data field add and 2 complement code.
7) postamble adopts 1 byte code, and unified is 0x16.
Three, data application layer defines the concrete meaning of link layer each several part data.
1) front end processor module issues upgrade file data: control word is 0x01 (being expressed as control word 01 below), and length is <78 byte (with s19 file compatibility), and data get the content of continuous print upgrade file.BMS correctly receives and replys control word 0x81, and length is 0x00, and abnormal reply length 0x01, data field is error code.BMS is by the regulation unit interval simultaneously, is defined as 1 minute, reports its state (be less than 5A electric discharge, be greater than 5A electric discharge, charged state).If front end processor module detects that the state of BMS is when being greater than 5A electric discharge or charged state, then suspend upgrading transmission, whether continue the decision-making issued to allow front end processor module.
2) interrupt issuing: control word is 0x02 (being expressed as control word 02 below), length 0x02, and data field content is the time-out address of 2 byte lengths.BMS successfully receives and replys 0x82, and length is 0x00.
3) resume and issue: control word is 0x03 (being expressed as control word 03 below), and length is the length of upgrade file section, and data field is upgrade file.BMS receives correct, and reply 0x83, length is 0x00.Then the address suspended subsequently, continues to issue with 0x03 the data segment do not distributed.
4) end of transmission: control word is 0x04 (being expressed as control word 04 below), length 0x00.BMS receives correct, replys 0x84, length 0x00.
Four, workflow:
Remote update system is completed jointly by WEB client side, server system and BMS.User chooses the BMS terminal that will upgrade by WEB client side, choose upgrade file, triggers upgrading.Current state information in the heartbeat message that front end processor module in server system then reports according to BMS is analyzed, match state requires to issue, in the process issuing upgrade file, often send out frame data then check a BMS state, can not meet when issuing conditional request, upgrading must be suspended, when again meeting the demands, carry out upgrade file and resume, to end of transmission.
As shown in Figure 2, be the remote upgrade method of the correspondence of above-mentioned remote update system, step comprises:
S1, battery management system 3 uploads heartbeat message to server system 2;
S2, client 1 receives the selection operation of user, then described selection operation is sent to server system 2; The selection operation of user specifically comprises following information: from some battery management systems 3, select the upgrade command triggered as the battery management system 3 of upgrading object, upgrade file and user;
S3, according to described heartbeat message, server system 2, after receiving described upgrade command, judges whether the state of described upgrading object meets the condition of issuing, if described heartbeat message meets the condition of issuing, then described upgrade file is issued to described upgrading object; And receive the state information of described upgrading object feedback, judge whether to carry out issuing suspend or continue transmission according to described state information, until upgrade file end of transmission, then send and distribute Bi Zhiling to described upgrading object;
S4, described upgrading object issues complete instruction according to receiving, and carries out reset upgrading according to described upgrade file to systems soft ware.
For the convenience of statement, detailed explanation is carried out to the escalation process of each parts below:
1, the heartbeat of BMS terminal reports.
BMS terminal, as from machine, uploads heartbeat message by the unit interval, and the frame format of heartbeat message can self-defining, but considers the uniformity with front end processor module protocol, takes the host-host protocol of afore mentioned rules in the present embodiment, adopts different control words.But it should be explicitly made clear at this point, data field at least must comprise heartbeat signal and BMS state information.Like this, the front end processor module in server system 2 just can know the current state of the BMS of vehicle to be upgraded in real time, carries out upgrading transmission or suspends, or resume by current state.This current state comprises three kinds: be less than 5A electric discharge, is greater than 5A electric discharge, charged state.In the heartbeat message of BMS terminal to report, current state information must be contained, so that the front end processor module in server system carries out correct upgrading transmission decisions.In the present embodiment, BMS reports heartbeat message by the heart time of 1 minute to server system 2, and BMS reports the time interval of heartbeat message to arrange according to actual needs.
2, the front end processor module in server system is as the workflow of host computer:
User chooses the BMS terminal that will upgrade by WEB client side, and after upgrade file, triggers upgrading.Front end processor module in server system monitors the state of this BMS terminal to be upgraded immediately, when meeting small area analysis (be defined as and be less than 5A) discharge condition, start the transmission of upgrade file, check the state (data of the upgrade file that the front end processor module that the BMS being selected as upgrading object often receives a frame server system issues of a BMS terminal before often sending out the data of a frame upgrade file simultaneously, a frame state information of then feeding back is to front end processor module), if nonconforming, interrupt upgrading transmission, continue to meet the requirements, resume until end of transmission.Fig. 3 is the workflow of front end processor module active transmission upgrade file, wherein: front end processor module reads the selection operation of user from database subsystem module, judge that the version of this BMS is the need of upgrading according to the heartbeat message of BMS, when being judged as needing upgrading, namely start ROMPaq, what the heartbeat message starting to upload according to BMS judged whether to meet upgrade file issues condition.
3, BMS terminal is as the upgrade job flow process from machine:
BMS terminal is as from machine, check whether the transmission frame of upgrade file in major cycle under, once there is the transmission frame of upgrade file, perform upgrading transmission, wherein receive control word 01 when transmitting, upgrade file is all placed in RAM sub module stored, once receive the control word 02 of front end processor module transfer, namely the data in RAM sub module stored are write in the region of this locality storage FLASH sub module stored of regulation, with anti-power failure or other reasons loss of data.Continue the transmission frame checking upgrade file, once receive the control word 03 of front end processor module transfer, then BMS continues receive data and leave in RAM sub module stored, until receive the transmission frame of control word 04, whole upgrade files of buffer memory in FLASH sub module stored are moved to the ROM sub module stored of specifying and perform the upgrading that resets.Detailed workflow is shown in Fig. 4.In the present embodiment, in the transmitting procedure of upgrade file, the data average line of upgrade file is stored in RAM sub module stored, once there is the situation that transmission suspends, then the transfer of data in RAM sub module stored is preserved to FLASH sub module stored, again receive upgrade file resume data time, continue to leave in RAM sub module stored, situation about again suspending if occur, then the transfer of data of RAM sub module stored is preserved to FLASH sub module stored, if there is not the situations such as time-out in transmission upgrade file process, then after upgrade file end of transmission, upgrade file in RAM sub module stored is transferred in FLASH sub module stored and preserves, (meet when promotion condition allows and be less than 5A discharge condition), then by the data recording in FLASH sub module stored in ROM sub module stored, perform reset operation.
The present invention is from the application scenarios reality of BMS, consider driving, the situation of charging, give the framework of system, define based on the time-out of software upgrading, the host-host protocol that resumes, improve current automatic updating system and be applied to unsafe situation on BMS, improve the fail safe of system, reliability.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. a remote update system for battery management system software, is characterized in that, described remote update system comprises server system, the some clients be connected with described server system respectively and some battery management systems;
Described client, carry out alternately with user, the selection for receiving user operates and transfers to described server system; The selection operation of user specifically comprises following information: from described some battery management systems, select the upgrade command triggered as the battery management system of upgrading object, upgrade file and user;
Described battery management system, for uploading heartbeat message to described server system; Described heartbeat message comprises current version information and current state information; Also for the upgrading according to the described upgrade file completion system software received;
According to described heartbeat message, described server system, for after receiving described upgrade command, judges whether the state of described upgrading object meets the condition of issuing, when meeting and issuing condition, described upgrade file is issued to described upgrading object; Simultaneously issuing in process the state information that receives and feed back from described upgrading object to carry out issuing condition judgment, if do not meet the condition of issuing, suspending and issuing upgrade file; Issue condition and carry out upgrade file and resume, until end of transmission judging that described state information meets.
2. remote update system as claimed in claim 1, it is characterized in that, described server system comprises service module and front end processor module, and described front end processor module is connected with described service module, described battery management system respectively; Described service module is connected with described client; Described service module comprises database subsystem module and client service submodule; Described database subsystem module is for the state information storing the selection operation of user, upgrade file, upgrading object report; Described client service submodule is selected upgrading object for receiving user by described client, is specified the information of upgrade file version, and by the selection of user operation stored in described database subsystem module, carries out data call for described front end processor module; Described front end processor module:
Client is supplied to read the state of described battery management system for the described heartbeat message received being transferred to described service module;
Also for when receiving after described upgrade command, the current version information of upgrading object transmission according to described selection operation judges, determines whether to need upgrading;
After being judged as needing upgrading, judge whether to meet the condition of issuing according to described current state information;
Be judged as the situation meeting the condition of issuing, operating the upgrade file transferred in described database subsystem module according to described selection, and be issued to described upgrading object;
Described upgrading object often receives the data that described in a frame, front end processor module issues, a frame state information of then feeding back is to described front end processor module, described front end processor module judges whether to meet according to the state information of feedback and issues condition, if discontented foot clockwork spring part, suspends upgrade file and issues, when again judge described heartbeat message meet issue condition time, carry out upgrade file to resume, until end of transmission.
3. remote update system as claimed in claim 1, it is characterized in that, described server system is the one in Cloud Server, mainframe computer.
4. remote update system as claimed in claim 2, it is characterized in that, described battery management system comprises transport module, memory module and generation module; Described transport module is connected with described generation module with described front end processor module, described memory module respectively;
Described transport module, carries out information interaction with described front end processor module, for transmitting heartbeat message and the state information of the generation of described generation module; Also for the upgrade file received is transferred to described memory module.
5. remote update system as claimed in claim 4, it is characterized in that, described transport module is GPRS module, and described memory module comprises FLASH sub module stored, RAM sub module stored, ROM sub module stored.
6. remote update system as claimed in claim 1, is characterized in that, described server system and described battery management system, by GPRS passage, are followed ICP/IP protocol and carried out information interaction.
7. a remote upgrade method for the remote update system as described in any one of claim 1 to 6, is characterized in that, described remote upgrade method comprises the following steps:
Steps A, battery management system uploads heartbeat message to described server system;
Step B, client receives the selection operation of user, then described selection operation is sent to described server system; The selection operation of user specifically comprises following information: from described some battery management systems, select the upgrade command triggered as the battery management system of upgrading object, upgrade file and user;
Step C, described server system is after receiving described upgrade command, judge whether the state of described upgrading object meets the condition of issuing according to described heartbeat message, if described heartbeat message meets the condition of issuing, then described upgrade file is issued to described upgrading object; And receive the state information of described upgrading object feedback, judge whether to carry out issuing suspend or continue transmission according to described state information, until upgrade file end of transmission, then send and distribute Bi Zhiling to described upgrading object;
Step D, described upgrading object issues complete instruction according to receiving, and carries out reset upgrading according to described upgrade file to systems soft ware.
8. upgrade method as claimed in claim 7, it is characterized in that, described heartbeat message comprises current state information and current version information; Step C specifically comprises:
Step C1, described server system, after receiving described upgrade command, judges the current state information of described upgrading object according to the described heartbeat message received;
Step C2, if judge, the current state of described upgrading object meets the condition of issuing, then described server system generates a transmitting order to lower levels and transfers corresponding upgrade file according to described selection operation, and described transmitting order to lower levels and described upgrade file are sent to described upgrading object in the lump;
Step C3, described upgrading object often receives the data of the upgrade file of server system transmission described in a frame, then a frame state information of feeding back is to described server system;
Step C4, described server system according to described state information judge whether meet continue to issue condition, when be judged as meet continue to issue condition, continue transmission described upgrade file; Do not meet if be judged as and continue to issue condition, then suspend transmission, then send a pause instruction to described upgrading object;
Step C5, according to the described heartbeat message received, described server system judges whether the current state information of described upgrading object meets and issues condition, be judged as meet issue condition in, transmission one resumes order to described upgrading object and then continues to issue described upgrade file, and returns step C3;
Step C6, if described upgrade file end of transmission, then described server system sends and distributes Bi Zhiling to described upgrading object.
9. upgrade method as claimed in claim 8, it is characterized in that, described step D specifically comprises:
Step D1, whether described upgrading object monitoring has the upgrade file transmitted from described server system;
Step D2, the transmitting order to lower levels and upgrade file that transmit from described server system if monitor, then described upgrading object often receives the data of upgrade file described in a frame, and a frame state information of feeding back, to described server system, will receive data simultaneously and be saved in RAM sub module stored;
Step D3, if the pause command receiving the transmission of described server system, then the transfer of data of preserving in RAM sub module stored is preserved by described upgrading object to FLASH sub module stored;
Step D4, what if receive, described server system sent resumes order, and require to continue to issue upgrade file, then described upgrade-system is by the address suspended, and continues to receive described upgrade file, and the data received is renewed in described RAM sub module stored;
Step D5, described upgrading object receive described server system transmission issue complete instruction after, if there are upgrade file data in RAM sub module stored, then first unloading is to FLASH sub module stored, after making to there is a upgrade file completed in FLASH sub module stored, finally by the upgrade file programming in described FLASH sub module stored to ROM sub module stored, perform reset operation, upgrade according to the reset of described upgrade file completion system software.
CN201610033788.5A 2016-01-19 2016-01-19 Battery management system software remote upgrading system and remote upgrading method thereof Pending CN105491161A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610033788.5A CN105491161A (en) 2016-01-19 2016-01-19 Battery management system software remote upgrading system and remote upgrading method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610033788.5A CN105491161A (en) 2016-01-19 2016-01-19 Battery management system software remote upgrading system and remote upgrading method thereof

Publications (1)

Publication Number Publication Date
CN105491161A true CN105491161A (en) 2016-04-13

Family

ID=55677871

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610033788.5A Pending CN105491161A (en) 2016-01-19 2016-01-19 Battery management system software remote upgrading system and remote upgrading method thereof

Country Status (1)

Country Link
CN (1) CN105491161A (en)

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254496A (en) * 2016-08-19 2016-12-21 江苏天合储能有限公司 The family remote update system of photovoltaic energy storage device and method thereof
CN106302761A (en) * 2016-08-19 2017-01-04 江苏天合储能有限公司 Family the teledata interactive system of photovoltaic energy storage device and method thereof
CN106325931A (en) * 2016-08-23 2017-01-11 联动优势科技有限公司 Software pre-allocation method and device
CN106383730A (en) * 2016-09-12 2017-02-08 北京小米移动软件有限公司 Method and device for handling system upgrading
CN106547589A (en) * 2016-10-18 2017-03-29 深圳市沃特玛电池有限公司 A kind of upgrade-system and upgrade method
CN106779108A (en) * 2017-01-13 2017-05-31 德州富路汽车智能化研究有限公司 Electric automobile intelligent management method and system, terminal, server
CN106959423A (en) * 2017-03-30 2017-07-18 河南易动力科技有限公司 A kind of battery management system and management method
CN107168725A (en) * 2017-03-30 2017-09-15 苏州精控能源科技有限公司 A kind of method for upgrading software of controller, apparatus and system
CN107222517A (en) * 2017-04-12 2017-09-29 惠州市蓝微新源技术有限公司 A kind of remote update system and remote upgrade method of battery management system software
CN107678415A (en) * 2016-10-17 2018-02-09 深圳市东方之星电源有限公司 The diagnosis of vehicle-mounted BMS based on cloud computing and maintaining method and system
CN107797809A (en) * 2016-08-30 2018-03-13 深圳市沃特玛电池有限公司 Electric automobile remote update system
CN108363610A (en) * 2018-02-09 2018-08-03 华为技术有限公司 A kind of control method and equipment of virtual machine monitoring plug-in unit
CN108459863A (en) * 2017-12-29 2018-08-28 特瓦特能源科技有限公司 Electrically-charging equipment method for upgrading software, device, equipment, system and storage medium
CN108574700A (en) * 2017-03-07 2018-09-25 峰范(北京)科技有限公司 Online push upgrade method based on displaying and device
CN109066926A (en) * 2018-10-12 2018-12-21 四川长虹电器股份有限公司 The system that monitoring and upgrading are realized to BMS based on Android platform
CN109733245A (en) * 2019-02-15 2019-05-10 上海蔚来汽车有限公司 Electric car is set to continue the method for charging after firmware updating or software
CN110196727A (en) * 2019-06-06 2019-09-03 北京牛电信息技术有限责任公司 Electric vehicle Oftware updating method, device, handheld device and storage medium
CN110209410A (en) * 2019-04-19 2019-09-06 合肥国轩高科动力能源有限公司 Energy storage battery management system program upgrading method
CN110474977A (en) * 2019-08-13 2019-11-19 北京百佑科技有限公司 Firmware upgrade method, firmware upgrade system and the intelligent door lock of intelligent door lock
CN110535954A (en) * 2019-09-02 2019-12-03 北京百佑科技有限公司 Upgrade method, upgrade-system, intelligent gateway and the storage medium of door lock firmware
CN110727452A (en) * 2019-10-18 2020-01-24 四川长虹电器股份有限公司 System and method for realizing BMS (battery management system) upgrading through serial port
CN111124455A (en) * 2019-12-26 2020-05-08 上海派能能源科技股份有限公司 Battery management system upgrading method and device, server and storage medium
CN111328049A (en) * 2018-12-17 2020-06-23 华为技术有限公司 Method for changing upgrading state of terminal, terminal and Internet of things platform
WO2020182023A1 (en) * 2019-03-11 2020-09-17 宁德时代新能源科技股份有限公司 Remote upgrade method for energy storage system, and energy management system and battery management system
CN112559011A (en) * 2020-12-22 2021-03-26 四川虹微技术有限公司 Method for stably upgrading battery management system
CN112631634A (en) * 2021-01-08 2021-04-09 福建众益太阳能科技股份公司 Firmware upgrading method, device, system, equipment and medium for intelligent lamp pole
CN113672256A (en) * 2021-08-03 2021-11-19 东莞新能安科技有限公司 Processing method and server of executable file, software upgrading method and client
WO2023092409A1 (en) * 2021-11-25 2023-06-01 西门子股份公司 Software update method and system for edge sub-device, and computing device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591676A (en) * 2010-11-12 2012-07-18 歌乐株式会社 Online update method for vehicle-mounted device
US20120262110A1 (en) * 2011-04-12 2012-10-18 Go-Tech Energy Co., Ltd. Charging module and rechargeable battery assembly for electric vehicle
CN202817806U (en) * 2012-07-18 2013-03-20 西安冠通数源电子有限公司 Remote control system for transmitting BMS battery management system state information data back
CN104965747A (en) * 2015-07-29 2015-10-07 江苏惠通集团有限责任公司 Method and device for upgrading software

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591676A (en) * 2010-11-12 2012-07-18 歌乐株式会社 Online update method for vehicle-mounted device
US20120262110A1 (en) * 2011-04-12 2012-10-18 Go-Tech Energy Co., Ltd. Charging module and rechargeable battery assembly for electric vehicle
CN202817806U (en) * 2012-07-18 2013-03-20 西安冠通数源电子有限公司 Remote control system for transmitting BMS battery management system state information data back
CN104965747A (en) * 2015-07-29 2015-10-07 江苏惠通集团有限责任公司 Method and device for upgrading software

Cited By (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302761A (en) * 2016-08-19 2017-01-04 江苏天合储能有限公司 Family the teledata interactive system of photovoltaic energy storage device and method thereof
CN106254496A (en) * 2016-08-19 2016-12-21 江苏天合储能有限公司 The family remote update system of photovoltaic energy storage device and method thereof
CN106325931A (en) * 2016-08-23 2017-01-11 联动优势科技有限公司 Software pre-allocation method and device
CN107797809A (en) * 2016-08-30 2018-03-13 深圳市沃特玛电池有限公司 Electric automobile remote update system
CN106383730A (en) * 2016-09-12 2017-02-08 北京小米移动软件有限公司 Method and device for handling system upgrading
CN107678415A (en) * 2016-10-17 2018-02-09 深圳市东方之星电源有限公司 The diagnosis of vehicle-mounted BMS based on cloud computing and maintaining method and system
CN106547589A (en) * 2016-10-18 2017-03-29 深圳市沃特玛电池有限公司 A kind of upgrade-system and upgrade method
CN106779108A (en) * 2017-01-13 2017-05-31 德州富路汽车智能化研究有限公司 Electric automobile intelligent management method and system, terminal, server
CN108574700A (en) * 2017-03-07 2018-09-25 峰范(北京)科技有限公司 Online push upgrade method based on displaying and device
CN106959423A (en) * 2017-03-30 2017-07-18 河南易动力科技有限公司 A kind of battery management system and management method
CN107168725A (en) * 2017-03-30 2017-09-15 苏州精控能源科技有限公司 A kind of method for upgrading software of controller, apparatus and system
CN107222517B (en) * 2017-04-12 2020-02-14 惠州市蓝微新源技术有限公司 Remote upgrading system and remote upgrading method for battery management system software
CN107222517A (en) * 2017-04-12 2017-09-29 惠州市蓝微新源技术有限公司 A kind of remote update system and remote upgrade method of battery management system software
CN108459863A (en) * 2017-12-29 2018-08-28 特瓦特能源科技有限公司 Electrically-charging equipment method for upgrading software, device, equipment, system and storage medium
CN108363610A (en) * 2018-02-09 2018-08-03 华为技术有限公司 A kind of control method and equipment of virtual machine monitoring plug-in unit
CN109066926A (en) * 2018-10-12 2018-12-21 四川长虹电器股份有限公司 The system that monitoring and upgrading are realized to BMS based on Android platform
CN111328049B (en) * 2018-12-17 2021-11-09 华为技术有限公司 Method for changing upgrading state of terminal, terminal and Internet of things platform
CN111328049A (en) * 2018-12-17 2020-06-23 华为技术有限公司 Method for changing upgrading state of terminal, terminal and Internet of things platform
CN109733245B (en) * 2019-02-15 2022-04-01 上海蔚来汽车有限公司 Method for continuously charging electric automobile after firmware or software is upgraded
CN109733245A (en) * 2019-02-15 2019-05-10 上海蔚来汽车有限公司 Electric car is set to continue the method for charging after firmware updating or software
EP3799397A4 (en) * 2019-03-11 2021-09-29 Contemporary Amperex Technology Co., Limited Remote upgrade method for energy storage system, and energy management system and battery management system
US11550561B2 (en) 2019-03-11 2023-01-10 Contemporary Amperex Technology Co., Limited Method for upgrading energy storage system remotely, energy management system, and battery management system
WO2020182023A1 (en) * 2019-03-11 2020-09-17 宁德时代新能源科技股份有限公司 Remote upgrade method for energy storage system, and energy management system and battery management system
CN111694579A (en) * 2019-03-11 2020-09-22 宁德时代新能源科技股份有限公司 Remote upgrading method of energy storage system, energy management system and battery management system
CN111694579B (en) * 2019-03-11 2021-10-29 宁德时代新能源科技股份有限公司 Remote upgrading method of energy storage system, energy management system and battery management system
CN110209410A (en) * 2019-04-19 2019-09-06 合肥国轩高科动力能源有限公司 Energy storage battery management system program upgrading method
CN110196727A (en) * 2019-06-06 2019-09-03 北京牛电信息技术有限责任公司 Electric vehicle Oftware updating method, device, handheld device and storage medium
CN110474977A (en) * 2019-08-13 2019-11-19 北京百佑科技有限公司 Firmware upgrade method, firmware upgrade system and the intelligent door lock of intelligent door lock
CN110474977B (en) * 2019-08-13 2021-08-20 北京百佑科技有限公司 Firmware upgrading method and system for intelligent door lock and intelligent door lock
CN110535954B (en) * 2019-09-02 2022-02-01 北京百佑科技有限公司 Door lock firmware upgrading method, upgrading system, intelligent gateway and storage medium
CN110535954A (en) * 2019-09-02 2019-12-03 北京百佑科技有限公司 Upgrade method, upgrade-system, intelligent gateway and the storage medium of door lock firmware
CN110727452A (en) * 2019-10-18 2020-01-24 四川长虹电器股份有限公司 System and method for realizing BMS (battery management system) upgrading through serial port
CN111124455A (en) * 2019-12-26 2020-05-08 上海派能能源科技股份有限公司 Battery management system upgrading method and device, server and storage medium
CN111124455B (en) * 2019-12-26 2023-08-04 上海派能能源科技股份有限公司 Battery management system upgrading method, device, server and storage medium
CN112559011A (en) * 2020-12-22 2021-03-26 四川虹微技术有限公司 Method for stably upgrading battery management system
CN112631634A (en) * 2021-01-08 2021-04-09 福建众益太阳能科技股份公司 Firmware upgrading method, device, system, equipment and medium for intelligent lamp pole
CN113672256A (en) * 2021-08-03 2021-11-19 东莞新能安科技有限公司 Processing method and server of executable file, software upgrading method and client
WO2023092409A1 (en) * 2021-11-25 2023-06-01 西门子股份公司 Software update method and system for edge sub-device, and computing device and storage medium

Similar Documents

Publication Publication Date Title
CN105491161A (en) Battery management system software remote upgrading system and remote upgrading method thereof
CN104149717B (en) A kind of long-range noiseless renewal system and method for car load control
CN109240722A (en) Application upgrade method, apparatus, system and storage medium
CN103268243B (en) A kind of performance element on the spot remote online upgrade-system of chain type current transformer
CN110365114A (en) The energy-accumulating power station total management system and information interacting method integrated based on multimode
CN110784533A (en) Communication method, communication device, relay module, control terminal, and storage medium
CN111127192B (en) Distributed framework-based proxy routing +Zuul gateway
CN114157675A (en) Complete synchronous communication system for operation information of multiple low-voltage transformer areas
CN113704341A (en) Data acquisition system and method
CN110865826B (en) Robot software upgrading method, device, equipment and storage medium
CN103491115A (en) Resource dispatching method, resource dispatching device and resource dispatching system
CN110647339A (en) Embedded product software online upgrading method
CN106102101A (en) Processing method that a kind of WAP is connected with Radio Access Controller and system
CN109660428A (en) High availability cluster system
CN105224371A (en) A kind of update method of storage management software and system
CN112208588B (en) Train awakening and sleeping system and method
CN107783888A (en) The method and device that a kind of server admin based on IPMI with data prediction function is realized
CN112769230A (en) Distributed edge micro-cloud monitoring system based on container technology
CN107168748A (en) A kind of method that multinomial upgrading task is realized by a upgrade file bag
CN103051678A (en) Method and device for high-reliability data communication
CN105007293A (en) Double master control network system and double writing method for service request therein
CN111030862B (en) Equipment off-line management system based on acquisition terminal
CN109491710B (en) Equipment management system and method
CN104899145A (en) Embedded system debugging method
TWI769578B (en) Software product assembly and delivery equipment, system and method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination