CN117032750A - Energy storage charging pile remote upgrading method based on FOTA and related equipment - Google Patents
Energy storage charging pile remote upgrading method based on FOTA and related equipment Download PDFInfo
- Publication number
- CN117032750A CN117032750A CN202310988976.3A CN202310988976A CN117032750A CN 117032750 A CN117032750 A CN 117032750A CN 202310988976 A CN202310988976 A CN 202310988976A CN 117032750 A CN117032750 A CN 117032750A
- Authority
- CN
- China
- Prior art keywords
- upgrading
- charging pile
- upgrade
- firmware
- package
- 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
Links
- 238000004146 energy storage Methods 0.000 title claims abstract description 75
- 238000000034 method Methods 0.000 title claims abstract description 71
- 230000008569 process Effects 0.000 claims abstract description 34
- 230000004044 response Effects 0.000 claims abstract description 22
- 230000003993 interaction Effects 0.000 claims description 10
- 238000004891 communication Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 5
- 238000012423 maintenance Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60L—PROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
- B60L53/00—Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles
- B60L53/30—Constructional details of charging stations
- B60L53/31—Charging columns specially adapted for electric vehicles
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60L—PROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
- B60L53/00—Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles
- B60L53/60—Monitoring or controlling charging stations
- B60L53/68—Off-site monitoring or control, e.g. remote control
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/60—Other road transportation technologies with climate change mitigation effect
- Y02T10/70—Energy storage systems for electromobility, e.g. batteries
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/60—Other road transportation technologies with climate change mitigation effect
- Y02T10/7072—Electromobility specific charging systems or methods for batteries, ultracapacitors, supercapacitors or double-layer capacitors
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T90/00—Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02T90/10—Technologies relating to charging of electric vehicles
- Y02T90/12—Electric charging stations
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Transportation (AREA)
- Mechanical Engineering (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The application provides an energy storage charging pile remote upgrading method and related equipment based on FOTA, wherein the scheme comprises the following steps: acquiring an upgrade command sent by an operation platform, wherein the upgrade command is obtained after the operation platform is packaged according to a preset protocol requirement; analyzing the upgrade command, and extracting upgrade information of the upgrade command; generating and sending a firmware upgrade package downloading request to a target server based on the upgrade information; obtaining a response result of the target server to the downloaded firmware upgrade package request, wherein the response result comprises a firmware upgrade package corresponding to the downloaded firmware upgrade package request; and upgrading the upgraded program based on the firmware upgrading packet, controlling the charging pile to enter a first working state in the upgrading process, and when the charging pile enters the first working state, the charging pile does not respond to the charging service, so that the upgrading cost of the energy storage charging pile is reduced, and the upgrading efficiency of the energy storage charging pile is improved.
Description
Technical Field
The application relates to the fields of energy storage charging piles, wireless communication and embedded systems, in particular to a method and a device for remotely upgrading energy storage charging piles based on FOTA.
Background
In the prior art, firmware upgrade is required to be continuously performed on the energy storage charging pile equipment so as to eliminate a series of BUGs of the energy storage charging pile equipment in the operation process, or better service is provided for users through firmware upgrade. In the prior art, when firmware is upgraded, the energy storage charging pile equipment is usually manually upgraded, however, the applicant finds that the manually upgraded mode has the problems of high upgrading cost and low efficiency.
Disclosure of Invention
In view of the above, the embodiment of the application provides a remote upgrading method and related equipment for an energy storage charging pile based on FOTA, so as to reduce the upgrading cost and upgrading efficiency of the energy storage charging pile equipment.
In order to achieve the above object, the embodiment of the present application provides the following technical solutions:
a remote upgrading method of an energy storage charging pile based on FOTA comprises the following steps:
acquiring an upgrade command sent by an operation platform, wherein the upgrade command is obtained after the operation platform is packaged according to a preset protocol requirement;
analyzing the upgrade command, and extracting upgrade information of the upgrade command;
generating and sending a firmware upgrade package downloading request to a target server based on the upgrade information;
obtaining a response result of the target server to the downloaded firmware upgrade package request, wherein the response result comprises a firmware upgrade package corresponding to the downloaded firmware upgrade package request;
and upgrading the upgraded program based on the firmware upgrading packet, controlling the charging pile to enter a first working state in the upgrading process, and enabling the charging pile not to respond to the charging service when the charging pile enters the first working state.
Optionally, the method for remotely upgrading the energy storage charging pile based on the FOTA further includes:
and synchronizing the downloading process of the response result to the operation platform.
Optionally, in the foregoing FOTA-based energy storage charging pile remote upgrade method, the upgrading of the upgraded program based on the firmware upgrade package includes:
after decrypting and checking the firmware upgrading package, reading firmware version information of the firmware upgrading package, comparing the firmware version information of the firmware upgrading package with current software version information used by a current charging pile corresponding to an upgrading command, and judging whether current software used by the current charging pile needs to be upgraded according to a comparison result.
Optionally, in the foregoing FOTA-based energy storage charging pile remote upgrading method, according to a comparison result, determining whether to upgrade current software used by the current charging pile includes:
if the firmware version information of the firmware upgrading version is the same as the current software version information of the current charging pile corresponding to the upgrading command, discarding the firmware upgrading package, and if the firmware version information is inconsistent with the current software version information of the current charging pile, adopting the firmware upgrading package to upgrade the current software version of the current charging pile.
Optionally, the method for remotely upgrading the energy storage charging pile based on the FOTA further includes:
and synchronizing the upgrading result and the upgrading process to the operation platform.
Energy storage fills electric pile remote upgrade device based on FOTA, includes:
the platform interaction unit is used for acquiring an upgrade command sent by an operation platform, wherein the upgrade command is obtained after the operation platform is packaged according to a preset protocol requirement;
the analysis unit is used for analyzing the upgrade command and extracting upgrade information of the upgrade command;
the server interaction unit is used for generating and sending a firmware upgrade package downloading request to the target server based on the upgrade information; obtaining a response result of the target server to the downloaded firmware upgrade package request, wherein the response result comprises a firmware upgrade package corresponding to the downloaded firmware upgrade package request;
and the upgrading unit is used for upgrading the upgraded program based on the firmware upgrading packet, controlling the charging pile to enter a first working state in the upgrading process, and not responding to the charging service when the charging pile enters the first working state.
Optionally, in the foregoing FOTA-based energy storage charging pile remote upgrade apparatus, when the upgrade unit upgrades the upgraded program based on the firmware upgrade package, the upgrade unit is further configured to:
after decrypting and checking the firmware upgrading package, reading firmware version information of the firmware upgrading package, comparing the firmware version information of the firmware upgrading package with current software version information used by a current charging pile corresponding to an upgrading command, and judging whether current software used by the current charging pile needs to be upgraded according to a comparison result.
Optionally, in the foregoing remote upgrading device for an energy storage charging pile based on FOTA, the upgrading unit is specifically configured to, when judging, according to a comparison result, whether to upgrade current software used by the current charging pile:
if the firmware version information of the firmware upgrading version is the same as the current software version information of the current charging pile corresponding to the upgrading command, discarding the firmware upgrading package, and if the firmware version information is inconsistent with the current software version information of the current charging pile, adopting the firmware upgrading package to upgrade the current software version of the current charging pile.
Optionally, in the foregoing FOTA-based energy storage charging pile remote upgrade apparatus, the platform interaction unit is further configured to:
synchronizing an upgrading result and an upgrading process to the operation platform;
and synchronizing the downloading process of the response result to the operation platform.
A charging pile system, comprising:
the energy storage charging pile remote upgrading device based on the FOTA comprises an operation platform, a charging pile and a target server, wherein the charging pile is loaded with the energy storage charging pile remote upgrading device based on the FOTA.
Based on the above technical scheme, in the scheme provided by the embodiment of the application, the automatic detection and upgrading process of the energy storage charging pile can be completed by only placing the upgrade package of the current latest firmware version on the server and performing data interaction among the server, the operation platform and the energy storage charging pile equipment. The charging pile downloads and stores the latest firmware upgrade package in the charging pile, and whether the charging pile is upgraded or not is judged by the charging pile, so that the firmware of the charging pile is always in a controllable and latest state, the upgrade cost is low, and the upgrade efficiency is high.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a remote upgrading method of an energy storage charging pile based on FOTA according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an FOTA-based energy storage charging pile remote upgrading device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a FOTA-based energy storage charging pile remote upgrading device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In order to reduce the upgrading cost and upgrading efficiency of energy storage charging pile equipment, the application discloses an energy storage charging pile remote upgrading method based on FOTA and related equipment, wherein the energy storage charging pile can be an intelligent mobile energy storage charging pile or a conventional fixed energy storage charging pile.
In The technical scheme disclosed by The application, the Firmware upgrading of The energy storage charging pile equipment is essentially realized through The Air-downloading software of The energy storage charging pile equipment, specifically, the principle is that Firmware upgrading service is provided for The charging pile equipment with a networking function through a cloud upgrading technology, an operation platform uses a network to issue Firmware upgrading commands in an on-demand and easily-extensible mode, and The functions of system repair, optimization and The like are automatically completed through remote upgrading through The Air-downloading software technology of a FOTA (Firmware Over-The-Air mobile terminal).
The equipment of the energy storage charging pile is effectively and reliably upgraded in an over-the-air downloading mode. In this way, the manufacturer can more quickly and widely push out systems with different functions to different operation platforms, and thereby improve the satisfaction of users on their charging pile devices.
The essence of FOTA is firmware upgrades, including upgrades to drivers, systems, functions, applications, etc., and no direct relationship to hardware. The applicable terminal range is wide, and the method can basically provide upgrade service for all networking terminals in the market, and can process upgrade requirements of a large number of terminals at the same time through cluster application, grid technology and distributed service terminals for telecom operators and terminal equipment manufacturers.
The working environment and the use scene of the energy storage charging pile enable the convenience degree of the energy storage charging pile system upgrade to be different from that of a common mobile terminal upgrade, and compared with a mode that a maintainer directly operates the charging pile system to upgrade, a mode of remote upgrade is used for saving a large amount of manpower and material resources.
Specifically, referring to fig. 1, the remote upgrading method for the energy storage charging pile based on the FOTA according to the embodiment of the present application may include:
step S101: acquiring an upgrade command sent by an operation platform, wherein the upgrade command is obtained after the operation platform is packaged according to a preset protocol requirement;
in the scheme, the firmware upgrade package is deployed on the target server, and the charging pile end and the operation platform are kept in an operation state and used for exchanging and transmitting messages and instructions. The method comprises the steps that when the target server detects that a firmware upgrade package is updated, prompt information for representing update of the firmware upgrade package is sent to the operation platform, after the prompt information is obtained by the operation platform, an upgrade command matched with the prompt information is generated, the upgrade command comprises an identity of firmware to be upgraded, after the upgrade command is obtained by the charging pile, the charging pile can judge who an object to be upgraded is according to the identity contained in the upgrade command, in the description, the upgrade command is triggered by a prompt signal output by the target server, in other embodiments of the method, the operation platform can be directly triggered by operation of a user on the operation platform, the operation platform can automatically issue the upgrade command according to a preset period, and of course, version information of each firmware on an energy storage charging pile is stored in the operation platform, the version information of each firmware upgrade package is extracted from the target server on the basis of the preset period, the version information of each firmware upgrade package is compared with the version information of each firmware charge pile stored in the operation platform on the basis of the stored firmware charge pile, and the version information of each firmware charge pile is compared with the corresponding to the firmware update command stored in the operation pile, and the version information is generated at the same time, and the firmware charge pile is compared with the version information is generated.
Further, in the scheme, when the operation platform issues the upgrade command, the upgrade command information needs to be encapsulated according to the MQTT protocol or other specified protocol requirements, and then the encapsulated upgrade command is remotely sent to the energy storage charging pile terminal by using a corresponding protocol.
Step S102: analyzing the upgrade command, and extracting upgrade information of the upgrade command;
in this step, after the energy storage charging pile end obtains the upgrade command, the energy storage charging pile end analyzes the received upgrade command, and extracts upgrade information in the upgrade command, where in this scheme, identification information of a firmware upgrade package to be obtained by the target server may be determined through the upgrade information;
step S103: generating and sending a firmware upgrade package downloading request to a target server based on the upgrade information;
in this step, after the energy storage charging pile terminal obtains the upgrade information, a firmware upgrade package downloading request matched with the upgrade information is generated, and the firmware upgrade package downloading request is sent to the target weapon by calling the FOTA process, and at this time, the energy storage charging pile initiates the firmware upgrade package downloading request to the target server through the FOTA process.
Step S104: obtaining a response result of the target server to the downloaded firmware upgrade package request, wherein the response result comprises a firmware upgrade package corresponding to the downloaded firmware upgrade package request;
after the target server acquires the firmware upgrade package downloading request, the target server invokes a firmware upgrade package matched with the firmware upgrade package downloading request, and sends the firmware upgrade package to the energy storage charging pile end as a response result of the firmware upgrade package downloading request;
in the scheme, in order to enable an operation platform to know the downloading process of the firmware upgrading package in time, in the scheme, the downloading process of the firmware upgrading package can be sent to the operation platform, and an operation and maintenance person can check the downloading process of the firmware upgrading package of each energy storage charging pile through the operation and maintenance platform;
step S105: and upgrading the upgraded program based on the firmware upgrading packet, controlling the charging pile to enter a first working state in the upgrading process, and enabling the charging pile not to respond to the charging service when the charging pile enters the first working state.
When the firmware upgrade package is obtained by the energy storage charging pile, the firmware upgrade package is adopted to upgrade the corresponding firmware installed on the charging pile, and in order to improve the success rate of upgrade due to upgrade interruption or upgrade failure caused by some reasons in the upgrade process, the energy storage charging pile performs a retry mechanism after obtaining the firmware upgrade package, if multiple attempts are unsuccessful, the charging pile performs a software rollback mechanism, returns to the original version, and in order to facilitate better management software version of an operation platform, when upgrade fails, the charging pile also reports the upgrade failure result and reason to the operation platform of the energy storage charging pile through the MQTT protocol. Further, if the energy storage charging pile keeps the energy storage charging pile to continuously respond to the charging service in the software upgrading process, the software may be interrupted or the upgrading may fail in the upgrading process.
In this scheme, after the firmware upgrade package is obtained, in order to ensure the security of the firmware upgrade package, after decryption and signature verification are required to be performed on the firmware upgrade package, firmware version information of the firmware upgrade package is read, the firmware version information of the firmware upgrade version is compared with current software version information used by a current charging pile corresponding to an upgrade command, and whether the current software used by the current charging pile needs to be upgraded is judged according to a comparison result. Judging whether the current software used by the current charging pile needs to be upgraded according to the comparison result, namely, when the comparison result shows that the version numbers of the current charging pile and the current software are the same, giving up the upgrade and upgrading the current software when the version numbers are different, wherein the method specifically comprises the following steps:
if the firmware version information of the firmware upgrading version is the same as the current software version information of the current charging pile corresponding to the upgrading command, discarding the firmware upgrading package, and if the firmware version information is inconsistent with the current software version information of the current charging pile, adopting the firmware upgrading package to upgrade the current software version of the current charging pile.
Compared with the prior art, the method solves the problem that the energy storage charging piles are purposefully upgraded in batches or directionally upgraded by a single charging pile under an operation platform, realizes one-man operation of one batch of energy storage charging piles, controls software versions of all the energy storage charging piles on the operation platform, and reduces operation and maintenance costs of the energy storage charging piles. The energy storage charging pile can finish the process of automatic detection and upgrading by only placing the upgrade package of the current latest firmware version on the server. The charging pile downloads and stores the latest firmware upgrade package in the charging pile, and whether the charging pile is upgraded or not is judged by the charging pile, so that the firmware of the charging pile is always in a controllable and latest state.
Furthermore, in order to facilitate the operation and maintenance personnel to know the upgrade status in time, in the scheme, the upgrade result and the upgrade process can be synchronized to the operation platform.
In this embodiment, the specific working content of each unit in the foregoing FOTA-based energy storage charging pile remote upgrading method is referred to in the foregoing method embodiment, and the following description describes the FOTA-based energy storage charging pile remote upgrading device according to the embodiment of the present application, and the following description refers to the FOTA-based energy storage charging pile remote upgrading device and the foregoing FOTA-based energy storage charging pile remote upgrading method.
Referring to fig. 2, the FOTA-based energy storage charging pile remote upgrade apparatus disclosed in the present application may include:
the platform interaction unit 10 is configured to obtain an upgrade command sent by an operation platform, where the upgrade command is obtained after the operation platform is packaged according to a preset protocol requirement;
the parsing unit 20 is configured to parse the upgrade command, and extract upgrade information of the upgrade command;
a server interaction unit 30, configured to generate and send a request for downloading a firmware upgrade package to a target server based on the upgrade information; obtaining a response result of the target server to the downloaded firmware upgrade package request, wherein the response result comprises a firmware upgrade package corresponding to the downloaded firmware upgrade package request;
and the upgrading unit 40 is used for upgrading the upgraded program based on the firmware upgrading packet, controlling the charging pile to enter a first working state in the upgrading process, and not responding to the charging service when the charging pile enters the first working state.
Corresponding to the above method, when the upgrade unit upgrades the upgraded program based on the firmware upgrade package, the upgrade unit is further configured to:
after decrypting and checking the firmware upgrading package, reading firmware version information of the firmware upgrading package, comparing the firmware version information of the firmware upgrading package with current software version information used by a current charging pile corresponding to an upgrading command, and judging whether current software used by the current charging pile needs to be upgraded according to a comparison result.
Corresponding to the method, when judging whether the current software used by the current charging pile needs to be upgraded according to the comparison result, the upgrading unit is specifically configured to:
if the firmware version information of the firmware upgrading version is the same as the current software version information of the current charging pile corresponding to the upgrading command, discarding the firmware upgrading package, and if the firmware version information is inconsistent with the current software version information of the current charging pile, adopting the firmware upgrading package to upgrade the current software version of the current charging pile.
Corresponding to the method, in the device, the platform interaction unit is further configured to:
synchronizing an upgrading result and an upgrading process to the operation platform;
and synchronizing the downloading process of the response result to the operation platform.
Fig. 3 is a hardware structure diagram of a FOTA-based energy storage charging pile remote upgrade device according to an embodiment of the present application, as shown in fig. 3, may include: at least one processor 100, at least one communication interface 200, at least one memory 300, and at least one communication bus 400;
in the embodiment of the present application, the number of the processor 100, the communication interface 200, the memory 300 and the communication bus 400 is at least one, and the processor 100, the communication interface 200 and the memory 300 complete the communication with each other through the communication bus 400; it will be apparent that the communication connection schematic shown in the processor 100, the communication interface 200, the memory 300 and the communication bus 400 shown in fig. 3 is only optional;
alternatively, the communication interface 200 may be an interface of a communication module, such as an interface of a GSM module;
the processor 100 may be a central processing unit CPU, or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement embodiments of the present application.
Memory 300 may comprise high-speed RAM memory or may further comprise non-volatile memory (non-volatile memory), such as at least one disk memory.
The processor 100 is specifically configured to:
acquiring an upgrade command sent by an operation platform, wherein the upgrade command is obtained after the operation platform is packaged according to a preset protocol requirement;
analyzing the upgrade command, and extracting upgrade information of the upgrade command;
generating and sending a firmware upgrade package downloading request to a target server based on the upgrade information;
obtaining a response result of the target server to the downloaded firmware upgrade package request, wherein the response result comprises a firmware upgrade package corresponding to the downloaded firmware upgrade package request;
and upgrading the upgraded program based on the firmware upgrading packet, controlling the charging pile to enter a first working state in the upgrading process, and enabling the charging pile not to respond to the charging service when the charging pile enters the first working state.
Corresponding to the above method, when the processor 100 upgrades the upgraded program based on the firmware upgrade package, the processor is further configured to:
after decrypting and checking the firmware upgrading package, reading firmware version information of the firmware upgrading package, comparing the firmware version information of the firmware upgrading package with current software version information used by a current charging pile corresponding to an upgrading command, and judging whether current software used by the current charging pile needs to be upgraded according to a comparison result.
Corresponding to the above method, when determining whether the current software used by the current charging pile needs to be upgraded according to the comparison result, the processor 100 is specifically configured to:
if the firmware version information of the firmware upgrading version is the same as the current software version information of the current charging pile corresponding to the upgrading command, discarding the firmware upgrading package, and if the firmware version information is inconsistent with the current software version information of the current charging pile, adopting the firmware upgrading package to upgrade the current software version of the current charging pile.
Corresponding to the device, the application also discloses a charging pile system, which can comprise:
the energy storage charging pile remote upgrading device based on the FOTA in any embodiment is loaded in the charging pile.
For convenience of description, the above system is described as being functionally divided into various modules, respectively. Of course, the functions of each module may be implemented in the same piece or pieces of software and/or hardware when implementing the present application.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for a system or system embodiment, since it is substantially similar to a method embodiment, the description is relatively simple, with reference to the description of the method embodiment being made in part. The systems and system embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present application without undue burden.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
It is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. The energy storage charging pile remote upgrading method based on the FOTA is characterized by comprising the following steps of:
acquiring an upgrade command sent by an operation platform, wherein the upgrade command is obtained after the operation platform is packaged according to a preset protocol requirement;
analyzing the upgrade command, and extracting upgrade information of the upgrade command;
generating and sending a firmware upgrade package downloading request to a target server based on the upgrade information;
obtaining a response result of the target server to the downloaded firmware upgrade package request, wherein the response result comprises a firmware upgrade package corresponding to the downloaded firmware upgrade package request;
and upgrading the upgraded program based on the firmware upgrading packet, controlling the charging pile to enter a first working state in the upgrading process, and enabling the charging pile not to respond to the charging service when the charging pile enters the first working state.
2. The FOTA-based energy storage charging stake remote upgrade method of claim 1, further comprising:
and synchronizing the downloading process of the response result to the operation platform.
3. The FOTA-based energy storage charging stake remote upgrade method as claimed in claim 1, wherein upgrading the upgraded program based on the firmware upgrade package comprises:
after decrypting and checking the firmware upgrading package, reading firmware version information of the firmware upgrading package, comparing the firmware version information of the firmware upgrading package with current software version information used by a current charging pile corresponding to an upgrading command, and judging whether current software used by the current charging pile needs to be upgraded according to a comparison result.
4. The FOTA-based energy storage charging pile remote upgrade method according to claim 3, wherein determining whether the current software used by the current charging pile needs to be upgraded according to the comparison result comprises:
if the firmware version information of the firmware upgrading version is the same as the current software version information of the current charging pile corresponding to the upgrading command, discarding the firmware upgrading package, and if the firmware version information is inconsistent with the current software version information of the current charging pile, adopting the firmware upgrading package to upgrade the current software version of the current charging pile.
5. The FOTA-based energy storage charging stake remote upgrade method of claim 1, further comprising:
and synchronizing the upgrading result and the upgrading process to the operation platform.
6. Energy storage fills electric pile remote upgrade device based on FOTA, its characterized in that includes:
the platform interaction unit is used for acquiring an upgrade command sent by an operation platform, wherein the upgrade command is obtained after the operation platform is packaged according to a preset protocol requirement;
the analysis unit is used for analyzing the upgrade command and extracting upgrade information of the upgrade command;
the server interaction unit is used for generating and sending a firmware upgrade package downloading request to the target server based on the upgrade information; obtaining a response result of the target server to the downloaded firmware upgrade package request, wherein the response result comprises a firmware upgrade package corresponding to the downloaded firmware upgrade package request;
and the upgrading unit is used for upgrading the upgraded program based on the firmware upgrading packet, controlling the charging pile to enter a first working state in the upgrading process, and not responding to the charging service when the charging pile enters the first working state.
7. The FOTA-based energy storage charging pile remote upgrade apparatus of claim 6, wherein the upgrade unit, when upgrading the upgraded program based on the firmware upgrade package, is further configured to:
after decrypting and checking the firmware upgrading package, reading firmware version information of the firmware upgrading package, comparing the firmware version information of the firmware upgrading package with current software version information used by a current charging pile corresponding to an upgrading command, and judging whether current software used by the current charging pile needs to be upgraded according to a comparison result.
8. The FOTA-based energy storage charging pile remote upgrading device according to claim 4, wherein the upgrading unit is configured to, when determining whether to upgrade the current software used by the current charging pile according to the comparison result:
if the firmware version information of the firmware upgrading version is the same as the current software version information of the current charging pile corresponding to the upgrading command, discarding the firmware upgrading package, and if the firmware version information is inconsistent with the current software version information of the current charging pile, adopting the firmware upgrading package to upgrade the current software version of the current charging pile.
9. The FOTA-based energy storage charging pile remote upgrade apparatus of claim 6, wherein the platform interaction unit is further configured to:
synchronizing an upgrading result and an upgrading process to the operation platform;
and synchronizing the downloading process of the response result to the operation platform.
10. A charging pile system, comprising:
the energy storage charging pile remote upgrading device based on the FOTA comprises an operation platform, a charging pile and a target server, wherein the charging pile is loaded with the energy storage charging pile remote upgrading device based on the FOTA as claimed in any one of claims 6 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310988976.3A CN117032750A (en) | 2023-08-07 | 2023-08-07 | Energy storage charging pile remote upgrading method based on FOTA and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310988976.3A CN117032750A (en) | 2023-08-07 | 2023-08-07 | Energy storage charging pile remote upgrading method based on FOTA and related equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117032750A true CN117032750A (en) | 2023-11-10 |
Family
ID=88623833
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310988976.3A Pending CN117032750A (en) | 2023-08-07 | 2023-08-07 | Energy storage charging pile remote upgrading method based on FOTA and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117032750A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118012469A (en) * | 2024-04-08 | 2024-05-10 | 科大智能(合肥)科技有限公司 | New energy charging pile batch upgrading system based on big data and upgrading method thereof |
-
2023
- 2023-08-07 CN CN202310988976.3A patent/CN117032750A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118012469A (en) * | 2024-04-08 | 2024-05-10 | 科大智能(合肥)科技有限公司 | New energy charging pile batch upgrading system based on big data and upgrading method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109151805B (en) | eSIM card configuration method and system based on Internet of things | |
CN106897086B (en) | Method, device and system for upgrading robot operating system | |
CN107608701A (en) | A kind of method and apparatus of firmware updating | |
EP2878140B1 (en) | Wireless firmware upgrades to an alarm security panel | |
EP2456257B1 (en) | Method and system for upgrading wireless data card | |
KR101541112B1 (en) | FOTA system and the method | |
CN104125276A (en) | Upgrading method and device | |
CN101854623B (en) | System and method for remote upgrade of M2M terminal | |
CN112650520A (en) | Ammeter upgrading method and system, intelligent ammeter and storage medium | |
CN117032750A (en) | Energy storage charging pile remote upgrading method based on FOTA and related equipment | |
CN105530130A (en) | Method and device for upgrading Over-The-Air downloading technology | |
CN112925538B (en) | Equipment updating method, system and device | |
CN104317564A (en) | Method and device for updating feature phone software | |
CN111142905A (en) | OTA (over-the-air) upgrading method, OTA server and OTA upgrading system | |
CN109614131A (en) | A kind of broadcasting equipment upgrading control system | |
CN108958785B (en) | Application program upgrading method and device | |
WO2018131223A1 (en) | Relay device, communication control method, and communication control program | |
US20150105059A1 (en) | Method of Managing the Connectivity of a Terminal | |
CN104965747A (en) | Method and device for upgrading software | |
CN113535202B (en) | Charging pile upgrading method, upgrading device and charging pile system | |
CN112667272A (en) | Ammeter upgrading method and system, intelligent ammeter and storage medium | |
CN112927548A (en) | Mechanical garage vehicle taking method and system and storage medium | |
EP3739914A1 (en) | Method for upgrading a profile stored in a secure element | |
CN112748937A (en) | Method and device for updating eUICC operating system | |
US10033528B2 (en) | Method of communicating between a server and a secure element |
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 |