CN202870806U - Remote update control system - Google Patents
Remote update control system Download PDFInfo
- Publication number
- CN202870806U CN202870806U CN 201220561621 CN201220561621U CN202870806U CN 202870806 U CN202870806 U CN 202870806U CN 201220561621 CN201220561621 CN 201220561621 CN 201220561621 U CN201220561621 U CN 201220561621U CN 202870806 U CN202870806 U CN 202870806U
- Authority
- CN
- China
- Prior art keywords
- memory
- control program
- control system
- remote update
- receiver
- 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.)
- Expired - Fee Related
Links
Images
Abstract
The utility model provides a remote update control system which comprises a server used for sending a control program, a receiver used for receiving the control program, a first memorizer used for buffer memory of the control program, and a second memorizer used for updating the control program, wherein the receiver is in communication connection with the server, the first memorizer and the second memorizer, and the first memorizer and the second memorizer are in communication connection. The remote update control system is mainly applied to industrial monitoring occasions such as electric power and heat power, solves the problem that a person is needed on the site to update the program by means of a wireless channel, and provides an efficient and simple technical method for improvement of an active program, and therefore a great number of field engineering activities are saved, and a great number of human and material resources are saved.
Description
Technical field
The utility model relates to the industrial control unit (ICU) technical field, relates in particular to a kind of remote update control system.
Background technology
At present, the controller major part of industry spot does not have installing operating system, and the control program in the controller all is to write and download among the controller flash according to field condition in advance.Although there is segment controller that the function of revising the part operational factor is provided, but but can't automatically upgrade for control program itself, when the needs refresh routine, existing way is to need engineering technical personnel to the on-the-spot action of using special-purpose download tool (generally being wired connection) again to download; This has greatly limited function upgrading and the fault elimination ability of industrial control unit (ICU).
The industrial monitoring occasions such as the electric power that this is wide for distribution range and the controller installation site is comparatively special and heating power are very difficult tasks.
The utility model content
The purpose of this utility model is to design a kind of novel remote update control system, has solved the problem that the control program in the controller can't upgrade automatically.
To achieve these goals, the technical solution adopted in the utility model is as follows:
A kind of remote update control system comprises:
The server that is used for sending control program;
Be used for receiving the receiver of described control program;
The first memory that is used for the described control program of buffer memory;
Be used for upgrading the second memory of described control program;
Described receiver communicates to connect with described server, described first memory and described second memory respectively, described first memory and the communication connection of described second memory.
Preferably, described receiver is wireless receiver.
Preferably, described receiver comprises:
Be used for receiving the data sink of described control program;
The data calibration device that is used for data length and sum check;
Be used for described control program is sent to the data sending device of described first memory;
Be used for control and upgrade the controller of described control program;
Described controller communicates to connect with described data sink, described data calibration device and described data sending device respectively.
Preferably, described first memory and described second memory all are positioned at MCU inside.
Preferably, described first memory is outside extended memory.
Preferably, described second memory is inner flash storer.
As can be seen from the above technical solutions, the beneficial effects of the utility model can be summarized as follows:
The utility model utilizes radio channel, realizes the remote update functions of control program.Engineering technical personnel do not use the scene and operate one by one, thereby it is movable to save a large amount of field engineerings, and save a large amount of manpower and materials.
The utility model has increased the dirigibility of field controller, and the remote online refresh routine does not affect original remote data communication process, namely mourns in silence on the backstage and carries out, and improving for active program provides more efficient and easier technological means.
Description of drawings
Fig. 1 is system architecture synoptic diagram of the present utility model.
Embodiment
Clearer for technical matters, technical scheme and beneficial effect that the utility model is solved, below in conjunction with drawings and Examples, the utility model is further elaborated.
The utility model provides a kind of remote update control system, is used for the control program of remote auto update controller.
See also Fig. 1, the remote update control system among the utility model embodiment comprises the server for sending control program; Be used for receiving the receiver of described control program; The first memory that is used for the described control program of buffer memory; Be used for upgrading the second memory of described control program; Described receiver communicates to connect with described server, described first memory and described second memory respectively, described first memory and the communication connection of described second memory.
The utility model is by telecommunication channel, upper computer software and program of lower computer by particular design, the control program that will need automatically to upgrade downloads to buffer memory in the outside extended memory of industrial control unit (ICU) inside, then carry out erasable at the special upgrade code of startup to MCU inside flash storer, the new control program of copy and parsing buffer memory covers original control program, thereby finishes the task that remote online upgrades control program.
The first step, server is to the frame of receiver mode transmission control procedure;
Because the size of control program is between tens Kbytes--hundreds of Kbytes, and the general maximum of the Frame of radio communication only has 1K, need to divide frame to process; In order to reduce the complexity of upgrade code in the field controller, also need to have certain position information in each frame simultaneously.
Each frame data length of control program is fixed as 256 bytes, and when control program length aliquant 250, last Frame length is the remainder divided by 250.
Second step, receiver is to outside extended memory sending control program and be buffered in the described outside extended memory;
Described receiver comprises be used to the data sink that receives described control program; The data calibration device that is used for data length and sum check; Be used for described control program is sent to the data sending device of described first memory; Be used for control and upgrade the controller of described control program; Described controller communicates to connect with described data sink, described data calibration device and described data sending device respectively.
Be specially:
1. the data check module of receiver is carried out data check to receiving control program.
Receiver is after receiving the control program frame that server promotes to come, at first carry out the data length verification, then carry out sum check, after verification is passed through, whether scrutiny program version number is greater than the program version of this locality number, these verifications are all effective by this Frame of rear affirmation, can enter next step buffer memory, send and receive into function signal to server simultaneously.
2. the control statement of data check module after with verification sends to outside extended memory and carries out buffer memory.
The relation of the new procedures version number in the version number of comparing data frame and the outside extended memory at first, if equate, check then whether corresponding position has put 1 in the status indicator of having finished frame, if do not have, then the control program content in the data is write corresponding position, then will finish frame number and add 1; If put 1, then do not operated.
When the version number of Frame during greater than the new procedures version number in the outside extended memory, illustrate that the program in the outside extended memory is out-of-date, reinitialize outside extended memory this moment, then carries out the write activity of first Frame.
When the version number of Frame during less than the new procedures version number in the outside extended memory, inoperation.
After finishing aforesaid operations, whether scrutiny program is downloaded is finished.
Whether program downloads the inspection of finishing
Check whether totalframes equals to have finished frame number.
Finish in the status indicator of frame corresponding sign and whether all put 1.
After inspection is passed through, will enter the startup upgrade code stage.
3. described controller starts upgrade code;
The Main Function of upgrade code is that erasable inner flash is to upgrade control program.
Upgrade code belongs to disposable bottom code, writes for the first time when controller dispatches from the factory, and need not afterwards to intervene.
Upgrade code is started by control program, uses assembly language " asm (jmp0xB) " can jump to the upgrade code entrance and carries out.
In the 4th step, copy is resolved new control program
Copy is exactly the new control program in the outside extended memory to be extracted put into inner RAM in order to operate.
Resolve and exactly control program new among the RAM is analyzed and processed, obtain actual executable information and routine data.
In the 5th step, upgrade covering original control program.
After in upgrade code, obtaining address information and executable code data message by parsing, next be exactly to navigate to the inside flash position corresponding with address information, and the executable code data are write.
So loop, finish until new control program all writes.
Write finish after, reinitialize the content of external memory storage.
More than by the detailed description of concrete and preferred embodiment the utility model; but those skilled in the art should be understood that; the utility model is not limited to the above embodiment; all within spirit of the present utility model and principle; any modification of doing, be equal to replacement etc., all should be included within the protection domain of the present utility model.
Claims (6)
1. a remote update control system is characterized in that, comprising:
The server that is used for sending control program;
Be used for receiving the receiver of described control program;
The first memory that is used for the described control program of buffer memory;
Be used for upgrading the second memory of described control program;
Described receiver communicates to connect with described server, described first memory and described second memory respectively, described first memory and the communication connection of described second memory.
2. remote update control system according to claim 1 is characterized in that, described receiver is wireless receiver.
3. remote update control system according to claim 1 is characterized in that, described receiver comprises: the data sink that is used for receiving described control program;
The data calibration device that is used for data length and sum check;
Be used for described control program is sent to the data sending device of described first memory;
Be used for control and upgrade the controller of described control program;
Described controller communicates to connect with described data sink, described data calibration device and described data sending device respectively.
4. remote update control system according to claim 1 is characterized in that, described first memory and described second memory all are positioned at MCU inside.
5. according to claim 1 or 4 described remote update control system, it is characterized in that described first memory is outside extended memory.
6. according to claim 1 or 4 described remote update control system, it is characterized in that described second memory is inner flash storer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201220561621 CN202870806U (en) | 2012-10-30 | 2012-10-30 | Remote update control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201220561621 CN202870806U (en) | 2012-10-30 | 2012-10-30 | Remote update control system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN202870806U true CN202870806U (en) | 2013-04-10 |
Family
ID=48037508
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201220561621 Expired - Fee Related CN202870806U (en) | 2012-10-30 | 2012-10-30 | Remote update control system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN202870806U (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105468404A (en) * | 2015-11-16 | 2016-04-06 | 广州日滨科技发展有限公司 | Remote update method and device for support controller programs |
CN106293797A (en) * | 2015-06-11 | 2017-01-04 | 中兴通讯股份有限公司 | A kind of method and system of online updating Single Chip Microcomputer (SCM) program |
CN109983442A (en) * | 2016-11-14 | 2019-07-05 | 标致雪铁龙汽车股份有限公司 | System and method for Emergency Maintenance vehicle computer |
-
2012
- 2012-10-30 CN CN 201220561621 patent/CN202870806U/en not_active Expired - Fee Related
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106293797A (en) * | 2015-06-11 | 2017-01-04 | 中兴通讯股份有限公司 | A kind of method and system of online updating Single Chip Microcomputer (SCM) program |
CN105468404A (en) * | 2015-11-16 | 2016-04-06 | 广州日滨科技发展有限公司 | Remote update method and device for support controller programs |
CN105468404B (en) * | 2015-11-16 | 2019-01-08 | 日立楼宇技术(广州)有限公司 | A kind of bracket controller program method for remote updating and device |
CN109983442A (en) * | 2016-11-14 | 2019-07-05 | 标致雪铁龙汽车股份有限公司 | System and method for Emergency Maintenance vehicle computer |
CN109983442B (en) * | 2016-11-14 | 2023-03-14 | 标致雪铁龙汽车股份有限公司 | System and method for emergency maintenance of vehicle computers |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106970790B (en) | Application program creating method, related equipment and system | |
CN105022630B (en) | A kind of assembly management system and assembly management method | |
CN101950253B (en) | Method for upgrading optical module firmware in optical network unit by utilizing WEB webpage interface | |
CN102880494B (en) | A kind of local code update method for microsatellite system and system thereof | |
CN103324501B (en) | Wireless sensor network node software Efficient Remote update method | |
CN101146291A (en) | Remote radio upgrade method for onboard GPS terminal | |
CN202870806U (en) | Remote update control system | |
CN104144466A (en) | Access method for sensor in Internet of Things, Internet of Things system and server | |
CN103544100A (en) | Method, system and client side for testing APP of portable data processing equipment | |
CN102411539A (en) | Method and system for online debugging external device of mobile phone | |
CN105453035A (en) | Updating software components through online stores | |
CN111562933A (en) | Air conditioner upgrading method and air conditioner system | |
CN105072398B (en) | A kind of device updating method and device | |
CN104572207A (en) | Intelligent accessories based APP expanded application method and intelligent accessories | |
CN105402847A (en) | Backup method for system data and central air conditioning unit adopting backup method | |
CN104077161A (en) | Client application updating method and device | |
CN104407898A (en) | Software remote upgrade system and method for photovoltaic array smart junction box | |
CN105183657A (en) | System and method for testing WEB interface | |
CN105446805B (en) | Shell script subprocess management method and system | |
CN109582341A (en) | A kind of host system and its programing change method of On-board System of Cab Signal equipment | |
WO2016008256A1 (en) | Method for terminal to update operating system, terminal and system | |
CN112678396A (en) | Logistics goods monitoring terminal system and method based on NB-IoT | |
CN104572155A (en) | Computer upgrading control system and method | |
CN102737028A (en) | Synchronization method and synchronization system of database | |
CN103677919A (en) | Airborne software updating method based on serial port |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130410 Termination date: 20151030 |
|
EXPY | Termination of patent right or utility model |