CN109814899A - A kind of charging pile software system updating method and device - Google Patents

A kind of charging pile software system updating method and device Download PDF

Info

Publication number
CN109814899A
CN109814899A CN201811617899.6A CN201811617899A CN109814899A CN 109814899 A CN109814899 A CN 109814899A CN 201811617899 A CN201811617899 A CN 201811617899A CN 109814899 A CN109814899 A CN 109814899A
Authority
CN
China
Prior art keywords
charging pile
value
software system
software
system updating
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.)
Withdrawn
Application number
CN201811617899.6A
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.)
Jiangsu Million Bangde And New Energy Polytron Technologies Inc
Original Assignee
Jiangsu Million Bangde And New Energy Polytron Technologies Inc
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 Jiangsu Million Bangde And New Energy Polytron Technologies Inc filed Critical Jiangsu Million Bangde And New Energy Polytron Technologies Inc
Priority to CN201811617899.6A priority Critical patent/CN109814899A/en
Publication of CN109814899A publication Critical patent/CN109814899A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of charging pile software system updating methods, including following procedure: step S1, charging pile receive upgrade command signal, include md5 encryption check value in this upgrade command signal, step S2, charging pile threaded file server obtain software upgrading firmware;Step S3 carries out MD5 to software upgrading firmware and calculates acquisition MD5 value;Step S4 compares the MD5 value being calculated with md5 encryption check value;Step S5, if MD5 value and md5 encryption check value mismatch, charging pile abandons this software system updating.The method of the present invention carries out MD5 verification to firmware updating, improves stability, the reliability of charging pile software system updating.

Description

A kind of charging pile software system updating method and device
Technical field
The invention belongs to charging pile administrative skill fields, and in particular to a kind of charging pile software system updating method also relates to And a kind of charging pile software system updating device.
Background technique
In the prior art, charging pile realizes the upgrading of charging pile software systems by the custom protocol based on TCP communication.
There is great number of issues and defect in current technology, specific as follows in actual use:
(1) escalation process is unstable, and upgrading is easy to cause to fail;
(2) updating speed is slow, and the time is long, is unfavorable for runing;
(3) the software upgrading firmware of charging pile does not have independent file server, is unfavorable for the system of the version of software upgrading firmware One management;
(4) when carrying out escalation process to high-volume charging pile, the burden of Operation Server is increased.
Summary of the invention
It is an object of the invention to overcome the deficiencies of the prior art and provide a kind of charging pile software system updating method notes And device, MD5 verification is carried out to firmware updating, improves stability, the reliability of charging pile software system updating.
In order to solve the above technical problems, the present invention provides a kind of charging pile software system updating methods, characterized in that packet Include following procedure:
Step S1, charging pile receive upgrade command signal, include md5 encryption check value in this upgrade command signal,
Step S2, charging pile threaded file server obtain software upgrading firmware;
Step S3 carries out MD5 to software upgrading firmware and calculates acquisition MD5 value;
Step S4 compares the MD5 value being calculated with md5 encryption check value;
Step S5, if MD5 value and md5 encryption check value mismatch, charging pile abandons this software system updating.
Further, if MD5 value is matched with md5 encryption check value, charging pile is by software upgrading firmware loads in In depositing.
Further, upgrade command signal is issued by Operation Server.
Further, ftp file transfer protocol transmitting software firmware updating is used between charging pile and file server.
Correspondingly, the present invention also provides a kind of charging pile software system updating devices, characterized in that including upgrade command Receiving module, firmware updating obtain module, computing module, contrast module, judgment module;
Upgrade command receiving module, charging pile receive upgrade command signal, verify in this upgrade command signal comprising md5 encryption Value,
Firmware updating obtains module, and charging pile threaded file server obtains software upgrading firmware;
Computing module carries out MD5 to software upgrading firmware and calculates acquisition MD5 value;
Contrast module compares the MD5 value being calculated with md5 encryption check value;
Judgment module, if MD5 value and md5 encryption check value mismatch, charging pile abandons this software system updating.
Further, in judgment module, if MD5 value is matched with md5 encryption check value, charging pile consolidates software upgrading Part is loaded into memory.
Further, upgrade command signal is issued by Operation Server.
Further, ftp file transfer protocol transmitting software firmware updating is used between charging pile and file server.
Compared with prior art, the beneficial effects obtained by the present invention are as follows being: the method for the present invention, if software upgrading firmware quilt It artificially distorts, MD5 check value will not be completed to match, the software upgrading that charging pile will not will be downloaded from file server Firmware loads are into memory, the occurrence of so as to avoid " crashing after upgrading ", substantially increase charging pile software systems liter Stability, the reliability of grade.
Detailed description of the invention
Fig. 1 is the flow chart of the method for the present invention.
Specific embodiment
The invention will be further described below in conjunction with the accompanying drawings.Following embodiment is only used for clearly illustrating the present invention Technical solution, and not intended to limit the protection scope of the present invention.
A kind of charging pile software system updating method of the invention, it is shown in Figure 1, including following procedure:
Step S1, charging pile receive upgrade command signal, include md5 encryption check value in this upgrade command signal,
When needing to carry out software system updating to charging pile, a upgrade command is issued to charging pile by Operation Server, And the md5 encryption check value of firmware updating is contained in this upgrade command message.
Step S2, charging pile threaded file server obtain software upgrading firmware;
Charging pile can be switched to system upgrade mode after receiving upgrade command, and in this mode, charging pile is connected to file service Ftp file transfer protocol is deferred between device, with file server, and software upgrading firmware is obtained from file server.
Step S3 carries out MD5 to software upgrading firmware and calculates acquisition MD5 value;
Step S4 compares the MD5 value being calculated with md5 encryption check value;
Step S5, if MD5 value and md5 encryption check value mismatch, charging pile abandons this software system updating.
If software upgrading firmware is artificially distorted, MD5 check value will not be completed to match, and charging pile will not will be from file The software upgrading firmware loads downloaded on server are into memory, the occurrence of so as to avoid " crashing after upgrading ", Substantially increase stability, the reliability of charging pile software system updating.
The beneficial effect of the method for the present invention is:
(1) escalation process is stable, reliable;
(2) updating speed is fast;
(3) be conducive to the unified management of the version of software upgrading firmware, avoid artificially distorting firmware updating;
(4) the operation burden of Operation Server is greatly reduced.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, without departing from the technical principles of the invention, several improvements and modifications, these improvements and modifications can also be made Also it should be regarded as protection scope of the present invention.

Claims (8)

1. a kind of charging pile software system updating method, characterized in that including following procedure:
Step S1, charging pile receive upgrade command signal, include md5 encryption check value in this upgrade command signal,
Step S2, charging pile threaded file server obtain software upgrading firmware;
Step S3 carries out MD5 to software upgrading firmware and calculates acquisition MD5 value;
Step S4 compares the MD5 value being calculated with md5 encryption check value;
Step S5, if MD5 value and md5 encryption check value mismatch, charging pile abandons this software system updating.
2. a kind of charging pile software system updating method according to claim 1, characterized in that if MD5 value adds with MD5 Close check value matching, then charging pile is by software upgrading firmware loads into memory.
3. a kind of charging pile software system updating method according to claim 1, characterized in that upgrade command signal is by transporting Battalion's server issues.
4. a kind of charging pile software system updating method according to claim 1, characterized in that charging pile and file service Ftp file transfer protocol transmitting software firmware updating is used between device.
5. a kind of charging pile software system updating device, characterized in that obtain mould including upgrade command receiving module, firmware updating Block, computing module, contrast module, judgment module;
Upgrade command receiving module, charging pile receive upgrade command signal, verify in this upgrade command signal comprising md5 encryption Value,
Firmware updating obtains module, and charging pile threaded file server obtains software upgrading firmware;
Computing module carries out MD5 to software upgrading firmware and calculates acquisition MD5 value;
Contrast module compares the MD5 value being calculated with md5 encryption check value;
Judgment module, if MD5 value and md5 encryption check value mismatch, charging pile abandons this software system updating.
6. a kind of charging pile software system updating device according to claim 5, characterized in that in judgment module, if MD5 value is matched with md5 encryption check value, then charging pile is by software upgrading firmware loads into memory.
7. a kind of charging pile software system updating device according to claim 5, characterized in that upgrade command signal is by transporting Battalion's server issues.
8. a kind of charging pile software system updating device according to claim 5, characterized in that charging pile and file service Ftp file transfer protocol transmitting software firmware updating is used between device.
CN201811617899.6A 2018-12-28 2018-12-28 A kind of charging pile software system updating method and device Withdrawn CN109814899A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811617899.6A CN109814899A (en) 2018-12-28 2018-12-28 A kind of charging pile software system updating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811617899.6A CN109814899A (en) 2018-12-28 2018-12-28 A kind of charging pile software system updating method and device

Publications (1)

Publication Number Publication Date
CN109814899A true CN109814899A (en) 2019-05-28

Family

ID=66602667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811617899.6A Withdrawn CN109814899A (en) 2018-12-28 2018-12-28 A kind of charging pile software system updating method and device

Country Status (1)

Country Link
CN (1) CN109814899A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111221556A (en) * 2020-01-09 2020-06-02 联陆智能交通科技(上海)有限公司 Method and system for remotely upgrading RSU mirror image
CN113591100A (en) * 2021-06-19 2021-11-02 特瓦特能源科技有限公司 Local resource checking method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090452A (en) * 2007-07-18 2007-12-19 中国网络通信集团公司 Set-top box software updating method and system
EP2518623A1 (en) * 2011-04-26 2012-10-31 Sap Ag Method for dynamically reversing business functions
CN108459863A (en) * 2017-12-29 2018-08-28 特瓦特能源科技有限公司 Electrically-charging equipment method for upgrading software, device, equipment, system and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090452A (en) * 2007-07-18 2007-12-19 中国网络通信集团公司 Set-top box software updating method and system
EP2518623A1 (en) * 2011-04-26 2012-10-31 Sap Ag Method for dynamically reversing business functions
CN108459863A (en) * 2017-12-29 2018-08-28 特瓦特能源科技有限公司 Electrically-charging equipment method for upgrading software, device, equipment, system and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111221556A (en) * 2020-01-09 2020-06-02 联陆智能交通科技(上海)有限公司 Method and system for remotely upgrading RSU mirror image
CN111221556B (en) * 2020-01-09 2023-08-29 联陆智能交通科技(上海)有限公司 Remote upgrade RSU mirror image method and system
CN113591100A (en) * 2021-06-19 2021-11-02 特瓦特能源科技有限公司 Local resource checking method and device

Similar Documents

Publication Publication Date Title
US10642597B2 (en) Integrated management and update method of DC-DC converter and battery management system (BMS) software installed in residential ESS
CN103561479B (en) A kind of bluetooth devices method and apparatus
CN109814899A (en) A kind of charging pile software system updating method and device
CN105975308B (en) The remote update system and remote upgrade method of low memory overhead in home gateway
CN113657900B (en) Cross-chain transaction verification method and system and cross-chain transaction system
CN109002303A (en) A kind of intelligent electric meter firmware upgrade method, equipment and storage medium
CN110602214B (en) Evidence storing and processing method, device, equipment and medium of judicial chain
CN103810011A (en) Method for achieving OTA upgrading through file server
CN108121554A (en) A kind of upgrade method and upgrade-system of open air embedded device system
CN112100928B (en) Method and device for improving performance of lithium ion battery based on temperature
CN104317607A (en) Enterprise In-house IOS APP automatic update system and method
CN108808852A (en) A kind of taiwan area identification concentrator and taiwan area recognition methods
CN104731636A (en) Dispatcher Training Simulating Device And Operation Method Thereof
CN103825764A (en) Data collecting instrument monitoring system based on cloud calculation and method for enhancing communication stability of data collecting instrument monitoring system based on cloud calculation
CN111200517B (en) Service data early warning control method, device, equipment and storage medium
CN112995806A (en) Method, device, system and storage medium for upgrading optical network unit
CN109711162A (en) A kind of security application method and system based on block chain
CN109348434A (en) A kind of sending method of scene information, sending device and terminal device
WO2015070793A1 (en) Power supply control system and control method, and baseband processing unit
CN104850431A (en) Stabilizing treatment method and device based on FOTA (Firmware Over-The-Air) upgrading
CN109639842B (en) NB-IOT equipment software upgrading system and method
CN109918215A (en) A kind of Way of Process Communication, system, terminal and storage medium
CN113114465B (en) Method and device for processing attribution authority, storage medium and electronic device
CN115473692A (en) Service request processing method, device, equipment and medium
WO2020244335A1 (en) Data signal processing apparatus and method, storage medium and electronic 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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20190528