CN109358865A - A kind of industrial vehicle car networking instrument and upgrade method with remote upgrade function - Google Patents
A kind of industrial vehicle car networking instrument and upgrade method with remote upgrade function Download PDFInfo
- Publication number
- CN109358865A CN109358865A CN201811565764.XA CN201811565764A CN109358865A CN 109358865 A CN109358865 A CN 109358865A CN 201811565764 A CN201811565764 A CN 201811565764A CN 109358865 A CN109358865 A CN 109358865A
- Authority
- CN
- China
- Prior art keywords
- upgrade
- instrument
- program area
- car networking
- chip microcontroller
- 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
- 230000006855 networking Effects 0.000 title claims abstract description 42
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000006870 function Effects 0.000 claims abstract description 42
- 238000003860 storage Methods 0.000 claims abstract description 13
- 238000011084 recovery Methods 0.000 claims description 6
- 230000008859 change Effects 0.000 claims description 5
- 238000012360 testing method Methods 0.000 claims description 4
- 238000004519 manufacturing process Methods 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 3
- 230000002411 adverse Effects 0.000 abstract description 2
- 230000008569 process Effects 0.000 description 8
- 238000011161 development Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000000429 assembly Methods 0.000 description 1
- 230000003796 beauty Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 239000000295 fuel oil Substances 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004886 process control Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of industrial vehicle car networkings and upgrade method with remote upgrade function, the industrial vehicle car networking instrument includes the single-chip microcontroller of gauge internal, the Flash storage architecture of the single-chip microcontroller is in turn divided into the program area IAP according to Flash storage address from low to high, main program area, stand-by program area and upgrade status memory block, pass through industrial vehicle car networking remote upgrade method, the remote upgrade of industrial vehicle instrument software may be implemented, do not influencing client's use, while without dispatch service personnel to scene, it can be realized to the again erasable of car networking instrument software, both adverse effect will not be caused to the use of client, it has been greatly saved the expense generated because upgrading software again.
Description
Technical field
The present invention relates to instrument long-distance upgrade technique fields, and in particular to a kind of industrial vehicle with remote upgrade function
Car networking instrument and upgrade method.
Background technique
With the development of information technology, the moving-magnet instrument used originally has been unable to meet the need of Vehicular intelligentization development
It asks, instead the digital instrument with processor of single chip computer.And the fast development of car networking technology in recent years, so that
More and more industrial vehicle instrument are integrated with car networking function, and gradually using car networking function as the standard configuration of product.By
Car networking, user or administrative staff can by remote management platform perhaps the state of cell phone application real time inspection vehicle or
Vehicle is remotely controlled.Be integrated to gauge internal however as more and more functions, the complicated process of software also with day
All to increase, each details of instrument function possibly can not be realized kind to the greatest extent by designer at the initial stage that instrument software design is completed
Beauty to the greatest extent, on the other hand, terminal user may also can propose some new demands, it is desirable that instrument carries out cooperation realization, and this is all difficult
Exempt to will cause the modification and its upgrading of instrument software.
At present there are two types of the industrial vehicle instrument Oftware updating methods of mainstream:
First method is to open the shell of instrument, exposes the wiring board of gauge internal, burning is reserved on wiring board
The interface of software is write, the programmable device that attendant is used using laptop connection programming software connects the programming of programmable device
Mouth is connected with the programming interface of instrument circuit board, then the software updated will be needed in line writing to single-chip microcontroller, again will after the completion
Instrument re-assemblies.The shortcomings that the method, is it is clear that be exactly to have to dismantle the shell of instrument, and actually due to instrument
Meter case is dismantled the thing for being likely to a relatively time consuming effort by the difference of installation site and mounting means;
Second method is the CAN bus network using vehicle, the software updated will be needed to be sent to instrument by CAN bus
Table, though the method can not have to dismantle meter case, must reserve in entire vehicle design can be convenient the CAN bus used
Interface, however even if above-mentioned interface exists, due to needing to power when instrument software upgrading, vehicle must be powered on, at this time CAN
Other nodes in bus network are also necessarily in working condition, and can send data to bus, this may result in so upper
Machine, by unpredictable influence, even results in upgrading and is unable to complete when sending software to instrument by CAN network.
Above two method for upgrading software has the shortcomings that a common and fatal: professional service staff must be sent existing to vehicle
?.It is sometimes desirable, however, that the vehicle of service may be very much, Regional Distribution is more dispersed, and dispatch personnel to scene needs a large amount of
Personnel and energy investment, cost is very high, and upgrades vehicle in software process and be not available, this is nothing for many users
What method received.
Summary of the invention
To overcome above-mentioned deficiency, the present invention provides a kind of industrial vehicle car networking remote upgrade with remote upgrade function
The remote upgrade of industrial vehicle instrument software may be implemented in method, this method, at the scene without dispatch service personnel to vehicle,
To which cost of serving be greatly saved.
The solution of the present invention is as follows: a kind of industrial vehicle car networking instrument with remote upgrade function, it is characterised in that:
The industrial vehicle car networking instrument includes the single-chip microcontroller of gauge internal, and the Flash storage architecture of the single-chip microcontroller is according to Flash
Storage address is in turn divided into the program area IAP, main program area, stand-by program area and upgrade status memory block from low to high.
Preferably, the industrial vehicle car networking instrument in production needs that remote upgrade software function will be had in advance
IAP program and realize instrument function main program difference programming to the above-mentioned program area IAP and main program area specified by Flash
In region.
Preferably, the stand-by program area and upgrade status memory block of the industrial vehicle car networking instrument are not processed.
A kind of industrial vehicle car networking instrument long-distance upgrade method with remote upgrade function, includes the following steps:
Step 1: after instrument is powered, the program area IAP program is first carried out in instrument single-chip microcontroller, and IAP program first can be checked and be read
Take the upgrade status word in " upgrade status memory block ";
Step 2: when single-chip microcontroller monitors that car networking instrument is in different upgrade status, single-chip microcontroller can be according to upgrading
The difference of state executes different upgrade steps, specifically includes:
(1) when single-chip microcontroller monitors that the upgrade status of car networking instrument is " normal execution mode ", main program is jumped to
Area executes, and system reset, remote upgrade success are carried out after being finished;
(2) when single-chip microcontroller monitors that the upgrade status of car networking instrument is " improper execution state ", single-chip microcontroller can be examined
It surveys and judges that current state belongs to " upgrade status " and still " restores state ", and enter step 3:
Step 3:
(1) when monolithic machine testing and when determining that current state belongs to " upgrade status ", single-chip microcontroller can copy main program area
Code to stand-by program area, and changing the upgrade status in " upgrade status memory block " is " recovery routine state ", at this time instrument
Table connects GPRS network, downloads new procedures file according to URL, while piecemeal reads the new procedures code downloaded in GPRS module,
And programming, to main program area, after the complete whole codes of programming, the upgrade status in change " upgrade status memory block " is " normal to execute
State " carries out system reset, remote upgrade success, and enters step 4 after being finished;
(2) when monolithic machine testing and when determining that current state belongs to " restore state ", single-chip microcontroller can be by stand-by program area
Code copies return main program area, change " upgrade status memory block " in upgrade status be " normal execution mode ", executed
System reset, remote upgrade success are carried out after finishing, and enter step 4;
Step 4: after remote upgrade success, system jumps to main program area and executes code therein to realize the function of instrument
Energy;
Step 5: while being started the cycle over and being held by step 1 again when upgrading next time into beginning state to be upgraded
Row.
Preferably, the execution method of the main program area includes:
(1) car networking information management platform issues remote upgrade instruction, after the single-chip microcontroller of instrument receives upgrade command, will read
The address URL of the new procedures file in upgrade status memory block is taken, and the upgrade status changed in " upgrade status memory block " is
" recovery routine state ", and execute step 3;
(2) car networking information management platform issues remote upgrade instruction, and when single-chip microcontroller does not receive upgrade command, single-chip microcontroller is held
The function code of row instrument, to realize the function of instrument.
Beneficial effects of the present invention: the industrial vehicle car networking remote upgrade method provided through the invention may be implemented
The remote upgrade of industrial vehicle instrument software, i.e., do not influence client use, without dispatch service personnel to scene while, i.e.,
It can be achieved that not only adverse effect will not be caused to the use of client, but also be greatly saved to the again erasable of car networking instrument software
The expense generated because upgrading software.
Detailed description of the invention
Fig. 1 is that Flash storage address of the invention divides schematic diagram.
Fig. 2 is upgrade method flow chart of the invention.
Specific embodiment
The present invention will be further described with reference to the accompanying drawing.
Industrial vehicle instrument grasps the important window of industrial vehicle operating status as driver, can transport to industrial vehicle
The important indicators such as fuel oil, water temperature, pressure, speed, load-carrying, failure in row are shown and are reminded.And industrial vehicle car networking
Instrument, in addition to having normal commercial vehicular meter function, moreover it is possible to real-time monitoring industrial vehicle location information, operating status, maintenance
The information such as record, driver's operation note are maintained, and are uploaded to remote monitoring and administration platform.With more and more function collection
At to gauge internal, the complicated process of software is also growing day by day.
As shown in Figure 1, not having in the instrument of remote upgrade software function and the instrument with remote upgrade software function
Flash framework in portion's single-chip microcontroller has certain difference, the single-chip microcontroller Flash of the gauge internal without remote upgrade software function
Only do program storage area use, the code after instrument is powered in automatic running program memory block, to realize the various functions of instrument.
And to be adjusted accordingly with the single-chip microcontroller Flash storage architecture of remote upgrade software function gauge internal, this programme is by Flash
Be divided into four regions, according to Flash storage address be successively from low to high the program area IAP, main program area, stand-by program area,
Upgrade status memory block.
Code in the program area IAP is to realize programming jump, upgrading main program area code or restore stand-by program
Code in area is to main program area.The essence of software upgrading is wiped the program storage area in the Flash of single-chip microcontroller inside
It removes, and the software of programming Cheng Xin.Obviously, during erasable program storage area, the code itself in program storage area is not
It may be performed, then, it is desirable to another section of program instructs to complete to be updated the code in program storage area, and
This section of program should be it is mutually independent with the code in program storage area, the presence of IAP program is exactly to realize this function.
Code in main program area is the code being performed in most cases, realizes the repertoire of instrument, remotely
The final purpose of upgrading be exactly repaired by upgrading the code in this region loophole existing for instrument software or change instrument it is soft
The function of part.
Code in stand-by program area is the backup to code in main program area.In view of wiping main program area and inciting somebody to action
During main program area is written in new procedures, it might have the unexpected generation of power-off etc. suddenly, program escalation process caused to be interrupted,
Therefore it needs program backup therein to stand-by program area before erasable main program area, it, can be by so as to after surprisingly occurring
The program recovery of backup guarantees that instrument can still run the program of script into main program area.
Upgrade status memory block is used to refer to lead which kind of operation is IAP program execute.It is in store in upgrade status memory block
" upgrade status ", upgrade status are divided into three kinds: 1. normal execution mode, this status representative are not necessarily to upgrade the demand of software, IAP journey
Sequence jumps directly to main program area and goes to execute code therein, this is operation in most cases;2. upgrade application state,
This conditions dictate IAP program upgrades the code in main program area, this behaviour is executed after the upgrade command for receiving remote management platform
Make;3. recovery routine state, the upgrading before this status representative encounters accidental interruption and does not complete, and needs IAP program recovery standby
Code in part program area can run the program of script to main program area to guarantee instrument still.
Car networking remote management platform increase issues the function of remote software upgrade command, and the instruction issued is removed comprising platform
Outside message structure necessary to car networking instrument normal communication, also at least two information are additionally carried: 1. new software document
The address URL, instrument downloads new software from server by this address URL;2. upgrading the time of execution: upgrading can be held immediately
Row also may specify that sometime point executes, this allows for down vehicle when sending instructions and may be used, and Upgrading Now may
Vehicle operation is influenced, specifies a vehicle possible idle time, instrument executes updating operation again after waiting until specified time.
After instrument receives the software upgrade instruction that remote management platform issues, the legitimacy of instruction is verified, is verified
Afterwards, the address URL of new software document is stored into upgrade status memory block, and by the upgrade status in upgrade status memory block
It is changed to " upgrading application state ", then judges whether current time has reached the time specified in upgrade command, if so, will
Be currently executing and after the operation that can not be interrupted is finished, software reset's single-chip microcontroller so that scm software again from
The program area IAP executes.
The effect of software reset's single-chip microcontroller is identical as the hardware reset that instrument re-powers, and makes single-chip microcontroller from Flash
Initiation region, that is, the program area IAP starts to execute code, and IAP program can reads first in " upgrade status memory block "
Upgrade status, since upgrade status is changed to " upgrading application state " before, IAP program is no longer to jump to main journey
Sequence area execute instrument function code, but start upgrade software operation, due to it is next operation be will be in main program area
Code wipe and programming again, might have fortuitous event causes erasing or programming process to be interrupted and upgrade mistake
It loses.Therefore, before upgrading, need the code copies in main program area into stand-by program area, then deposit upgrade status
Upgrade status in storage area is changed to " restoring application state ".After completing program backup, IAP program is read in upgrade status memory block
New software document the address URL, then start connect GPRS network, after being successfully connected to GPRS network, according to the address URL will
New software document on remote management platform downloads to inside GPRS module.Then single-chip microcontroller piecemeal is read newly from GPRS module
Software code, and successively programming to main program area.After success programming, again by the upgrade status in upgrade status memory block
It is changed to " normal execution mode ", last software generation system resets, and when IAP program executes again, can jump to main program
Area, what is be performed in main program area at this time is then the code after upgrading.
If accident power-off when to main program area progress programming new procedures, then IAP program is read when powering on again
The upgrade status not instead of " normal execution mode " in upgrade status memory block is got, is modified after completing program backup
" restoring application state ", IAP program can will back up the code copies in memory block and go back to main program area at this time, then upgrade status is changed
For " normal execution mode ", generation system resets again, and IAP program jumps to main program area again and executes code therein,
It is then the code being resumed in main program area at this time.It can guarantee to fail even if upgrading in this way, instrument still may be implemented original
Function and be unlikely to thoroughly to fail.
Above-mentioned scheme can be indicated with flow chart shown in Fig. 2, as can be seen that program will finally jump from flow chart
Code therein is executed to main program area to realize the function of instrument.
Below to use STM32F103RCT6 for the instrument of single-chip microcontroller, illustrate specific embodiment.
STM32F103RCT6 is 32 single-chip microcontrollers using ARM Cortex-M3 as kernel, and the capacity of internal Flash is
256kB, address are 0x08000000~0x0803FFFF.According to described in scheme before, needing for Flash to be divided into 4 parts:
Wherein the range of the program area IAP is 0x08000000~0x0800CFFF, the size of total 52kB;The range of main program area is
0x0800D000~0x08025FFF, the size of total 100kB;The range in stand-by program area be 0x08026000~
0x0803EFFF, the size of total 100kB;The range of upgrade status memory block is 0x0803F000~0x0803FFFF, total 4kB,
Wherein address is that upgrade status is stored in 4 bytes (a namely word) of 0x0803F000~0x0803F003, claims this
Word is upgrade status word.When upgrade status word is 0xA5A5A5A5, current upgrade status is represented as " upgrade procedure state ", when
When upgrade status word is 0x5A5A5A5A, current upgrade status is represented as " recovery routine state ", when upgrade status word is other
When value, current upgrade status is represented as " normal execution mode ".In upgrade status memory block address be 0x0803F800~
The region of 0x0803FFFF is used to store the address URL of upgrade file.
Instrument needs in advance in production by IAP program and realization instrument function with remote upgrade software function
Main program is distinguished in the region Flash specified by programming to the above-mentioned program area IAP and main program area, and stand-by program area and upgrading
Status storage area does not need to do specially treated.
After instrument is powered, IAP program is first carried out, IAP program can first check the upgrade status word of upgrade status memory block,
Any operation, under normal circumstances, the reading of upgrade status word are not carried out to upgrade status memory block when due to producing before us
Value should be the factory-default 0xFFFFFFFF of Flash storage unit out, and is unsatisfactory for upgrade procedure or recovery routine
Rule of judgment, thus IAP program can jump to main program area execute instrument function code, this be instrument in most cases
Program executive condition.
When needing to upgrade instrument software, after modification and the new software document (.bin) of generation will be compiled it is uploaded to service
Then device is recorded the address URL of upgrade file, the address URL of the update time and upgrade file that are intended to passes through remote
Thread management platform is handed down to car networking instrument together.
After car networking instrument receives the upgrade command that remote management platform issues, the legitimacy of instruction is verified, is verified
Afterwards, response is sent to remote management platform, informs that platform has had successfully received upgrade command.Again by the liter in upgrade status memory block
The value of grade status word is changed to 0xA5A5A5A5, and the address URL of upgrade file is also stored into the finger in upgrade status memory block
Determine in region.Next, it is determined whether reaching the update time required in instruction, if had timed out, software generation system is multiple
Position, so that single-chip microcontroller returns to IAP program and starts to execute.
The upgrade status word that IAP program is read from upgrade status memory block at this time has been modified 0xA5A5A5A5,
The operation that carry out upgrading software is indicated, at this point, the code of main program area is integrally first copied to stand-by program area, and will upgrading
Status word is changed to 0x5A5A5A5A.The address URL of upgrade file is read again, then, the connection of IAP process control GPRS module
GPRS network, after successful connection according to the address URL of upgrade file inside server downloading upgrade file to GPRS module, under
Single-chip microcontroller piecemeal reads the upgrade file downloaded inside GPRS module after the completion of load, and successively programming is into main program area, and every piece
Size can be determined according to the space of the sector-size of Flash inside single-chip microcontroller and RAM, each fan of STM32F103RCT6
The size in area is 4kB, ram space 48kB, therefore single-chip microcontroller can read 4kB code every time and disposable programming is to main program
In a sector in area, it is of course also possible to according to the actual situation by every piece get it is smaller with reduce RAM is occupied.
After by all upgrade file whole programming to main program areas, the operation for upgrading software has actually just been completed
, the upgrade status word in upgrade status memory block is changed to 0xFFFFFFFF at this time, and software generation system resets, so that single
Piece machine returns to the execution of IAP program, and the upgrade status word that IAP program is read is 0xFFFFFFFF, then jumps directly to main program
Area executes the instrument program having had updated, and so far escalation process successfully terminates.
Programming is caused to fail if encountering the fortuitous events such as power-off at the new software of piecemeal programming to main program area, due to
We are changed to by the code copies in script main program area to stand-by program area, and by upgrade status word before programming
0x5A5A5A5A, then it is 0x5A5A5A5A that the IAP program that single-chip microcontroller executes, which reads upgrade status word, when instrument restores normal,
There are escalation process before may determine that, and escalation process is not successfully completed, and is needed program recovery.IAP program at this time
The code in stand-by program area is copied to main program area, and rewriting upgrade status word is 0xFFFFFFFF, then software generation system
It resetting, IAP program executes again, and reading upgrade status word at this time is 0xFFFFFFFF, it jumps directly to execute in main program area,
What is executed at this time is still the program of script, although upgrading failure, instrument still can work normally, can again attempt to
Upgrading.
Although the detailed description and description of the specific embodiments of the present invention are given above, it should be noted that
We can carry out various equivalent changes and modification to above embodiment according to the concept of the present invention, and generated function is made
It, should all be within protection scope of the present invention when with the spirit still covered without departing from Figure of description.
Claims (5)
1. a kind of industrial vehicle car networking instrument with remote upgrade function, it is characterised in that: the industrial vehicle car networking
Instrument includes the single-chip microcontroller of gauge internal, the Flash storage architecture of the single-chip microcontroller according to Flash storage address from low to high according to
It is secondary to be divided into the program area IAP, main program area, stand-by program area and upgrade status memory block.
2. a kind of industrial vehicle car networking instrument with remote upgrade function according to claim 1, it is characterised in that:
The industrial vehicle car networking instrument needs to have the IAP program and realization of remote upgrade software function in advance in production
In the region Flash specified by the main program difference programming to the above-mentioned program area IAP and main program area of instrument function.
3. a kind of industrial vehicle car networking instrument with remote upgrade function according to claim 2, it is characterised in that:
The stand-by program area and upgrade status memory block of the industrial vehicle car networking instrument are not processed.
4. a kind of industrial vehicle car networking instrument long-distance upgrade method with remote upgrade function, includes the following steps:
Step 1: after instrument is powered, the program area IAP program is first carried out in instrument single-chip microcontroller, and IAP program first can be checked and be read
Upgrade status in " upgrade status memory block ";
Step 2: when single-chip microcontroller monitors that car networking instrument is in different upgrade status, single-chip microcontroller can be according to upgrade status
Difference, execute different upgrade steps, specifically include:
(1) it when single-chip microcontroller monitors that the upgrade status of car networking instrument is " normal execution mode ", jumps to main program area and holds
Row carries out system reset, remote upgrade success after being finished;
(2) when single-chip microcontroller monitors that the upgrade status of car networking instrument is " improper execution state ", single-chip microcontroller can be detected simultaneously
Judge that current state belongs to " upgrade status " and still " restores state ", and enter step 3:
Step 3:
(1) when monolithic machine testing and when determining that current state belongs to " upgrade status ", single-chip microcontroller can copy the generation of main program area
Code arrives stand-by program area, and changing the upgrade status in " upgrade status memory block " is " recovery routine state ", and instrument connects at this time
GPRS network is connect, new procedures file is downloaded according to URL, while piecemeal reads the new procedures code downloaded in GPRS module, and burns
It is written to main program area, after the complete whole codes of programming, the upgrade status in change " upgrade status memory block " is " normally to execute shape
State " carries out system reset, remote upgrade success, and enters step 4 after being finished;
(2) when monolithic machine testing and when determining that current state belongs to " restore state ", single-chip microcontroller can be by the generation in stand-by program area
Code copies back main program area, and the upgrade status in change " upgrade status memory block " is " normal execution mode ", after being finished
System reset, remote upgrade success are carried out, and enters step 4;Step 4: after remote upgrade success, system jumps to main program
Area executes code therein to realize the function of instrument;Step 5: while entering beginning state to be upgraded, upgrade next time
When, execution is started the cycle over by step 1 again.
5. a kind of industrial vehicle car networking instrument long-distance upgrading side with remote upgrade function according to claim 4
Method, it is characterised in that: the execution method of the main program area includes:
(1) car networking information management platform issues remote upgrade instruction, after the single-chip microcontroller of instrument receives upgrade command, rises reading
The address URL of new procedures file in grade status storage area, and changing the upgrade status in " upgrade status memory block " is " to restore
Program state ", and execute step 3;
(2) car networking information management platform issues remote upgrade instruction, and when single-chip microcontroller does not receive upgrade command, single-chip microcontroller executes instrument
The function code of table, to realize the function of instrument.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811565764.XA CN109358865A (en) | 2018-12-20 | 2018-12-20 | A kind of industrial vehicle car networking instrument and upgrade method with remote upgrade function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811565764.XA CN109358865A (en) | 2018-12-20 | 2018-12-20 | A kind of industrial vehicle car networking instrument and upgrade method with remote upgrade function |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109358865A true CN109358865A (en) | 2019-02-19 |
Family
ID=65329934
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811565764.XA Pending CN109358865A (en) | 2018-12-20 | 2018-12-20 | A kind of industrial vehicle car networking instrument and upgrade method with remote upgrade function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109358865A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112152846A (en) * | 2020-09-18 | 2020-12-29 | 重庆神缘智能科技有限公司 | Metering instrument remote upgrading method based on Internet of things |
CN112732301A (en) * | 2021-01-07 | 2021-04-30 | 广州橙行智动汽车科技有限公司 | Vehicle upgrading method and device |
CN112783547A (en) * | 2019-11-01 | 2021-05-11 | 中车株洲电力机车研究所有限公司 | Version backtracking method for software update, computer device and storage medium |
CN112947980A (en) * | 2019-12-11 | 2021-06-11 | 观致汽车有限公司 | Server, vehicle, remote upgrading method and remote upgrading system thereof |
CN113672271A (en) * | 2021-08-24 | 2021-11-19 | 天津津航计算技术研究所 | Domestic FPGA remote upgrading system and method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103312786A (en) * | 2013-05-17 | 2013-09-18 | 广州市雄兵汽车电器有限公司 | Vehicle-mounted terminal remote upgrading method and car networking system |
CN106445578A (en) * | 2016-07-19 | 2017-02-22 | 北京华海隆科技有限公司 | Remote hardware upgrading method and apparatus, and wireless temperature and humidity monitor |
CN106506649A (en) * | 2016-11-14 | 2017-03-15 | 湖南小步科技有限公司 | A kind of remote online upgrade method of vehicle-mounted control terminal and device |
CN106569847A (en) * | 2016-10-14 | 2017-04-19 | 数源科技股份有限公司 | Method for realizing IAP remote upgrade through vehicle-mounted system based on mobile network |
-
2018
- 2018-12-20 CN CN201811565764.XA patent/CN109358865A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103312786A (en) * | 2013-05-17 | 2013-09-18 | 广州市雄兵汽车电器有限公司 | Vehicle-mounted terminal remote upgrading method and car networking system |
CN106445578A (en) * | 2016-07-19 | 2017-02-22 | 北京华海隆科技有限公司 | Remote hardware upgrading method and apparatus, and wireless temperature and humidity monitor |
CN106569847A (en) * | 2016-10-14 | 2017-04-19 | 数源科技股份有限公司 | Method for realizing IAP remote upgrade through vehicle-mounted system based on mobile network |
CN106506649A (en) * | 2016-11-14 | 2017-03-15 | 湖南小步科技有限公司 | A kind of remote online upgrade method of vehicle-mounted control terminal and device |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112783547A (en) * | 2019-11-01 | 2021-05-11 | 中车株洲电力机车研究所有限公司 | Version backtracking method for software update, computer device and storage medium |
CN112947980A (en) * | 2019-12-11 | 2021-06-11 | 观致汽车有限公司 | Server, vehicle, remote upgrading method and remote upgrading system thereof |
CN112152846A (en) * | 2020-09-18 | 2020-12-29 | 重庆神缘智能科技有限公司 | Metering instrument remote upgrading method based on Internet of things |
CN112152846B (en) * | 2020-09-18 | 2023-04-18 | 重庆神缘智能科技有限公司 | Metering instrument remote upgrading method based on Internet of things |
CN112732301A (en) * | 2021-01-07 | 2021-04-30 | 广州橙行智动汽车科技有限公司 | Vehicle upgrading method and device |
CN113672271A (en) * | 2021-08-24 | 2021-11-19 | 天津津航计算技术研究所 | Domestic FPGA remote upgrading system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109358865A (en) | A kind of industrial vehicle car networking instrument and upgrade method with remote upgrade function | |
CN101853172B (en) | Device and method for dynamically upgrading complex programmable logic device (CPLD) | |
CN103299276B (en) | The software upgrading process of embedded equipment | |
CN101650662B (en) | Memory device of embedded system and staring method and upgrading of firmware | |
CN103777972B (en) | System, configuration method based on field programmable gate array and upgrade method | |
CN102214113B (en) | Method, device and terminal for upgrading operating system | |
CN110347414A (en) | Firmware update, device, equipment and computer readable storage medium | |
CN103995500B (en) | Controller and information processor | |
CN102681917B (en) | A kind of operating system and restorative procedure thereof | |
CN105930236A (en) | Application program version returning method based on BMS Bootloaderupgrade | |
CN106227680B (en) | A kind of data processing and power fail preventing data guard method | |
CN102662701A (en) | Online CPLD (Complex Programmable Logic Devices) upgrading method, device and business veneer | |
CN112152846B (en) | Metering instrument remote upgrading method based on Internet of things | |
CN109408097A (en) | A kind of firmware upgrade method, device, system and a kind of electronic equipment | |
CN109189434A (en) | A kind of online upgrading method of electric energy meter | |
CN101437106A (en) | Set-top box system and self-repairing method thereof | |
CN100416503C (en) | Method for updating version of software | |
CN103677923A (en) | BOOT bootstrap program run protection method | |
CN106406955A (en) | A method and a device for upgrades of a bootloader program in an RSU apparatus | |
CN110515643A (en) | A kind of host computer tool for writing with a brush dipped in Chinese ink BIN file | |
CN106980493A (en) | Firmware management method and apparatus | |
CN110096290A (en) | A kind of battery simulator master control borad method for upgrading software | |
CN109408088A (en) | CPLD upgrade method, device, system and computer readable storage medium | |
CN102043636B (en) | Method and device for loading field programmable gate array bit file | |
CN109992280A (en) | A kind of method, terminal installation and the storage device of embedded software upgrading |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190219 |
|
RJ01 | Rejection of invention patent application after publication |