CN105843633B - System programming tool and alarm host equipped with same - Google Patents
System programming tool and alarm host equipped with same Download PDFInfo
- Publication number
- CN105843633B CN105843633B CN201510023644.7A CN201510023644A CN105843633B CN 105843633 B CN105843633 B CN 105843633B CN 201510023644 A CN201510023644 A CN 201510023644A CN 105843633 B CN105843633 B CN 105843633B
- Authority
- CN
- China
- Prior art keywords
- file
- interface
- programming tool
- system programming
- files
- 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.)
- Active
Links
- 238000004891 communication Methods 0.000 claims abstract description 9
- 238000012544 monitoring process Methods 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 3
- 230000005856 abnormality Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Images
Abstract
The invention discloses a system programming tool and an alarm host equipped with the programming tool, wherein the system programming tool is used for upgrading firmware and updating configuration of a control host, and comprises: the first interface is used for being connected with the control host; the communication protocol module is at least used for processing communication data of the first interface; a multi-file storage module for storing and managing a plurality of files; and the file selection module is used for selecting one file from the multi-file storage module for the control host to access through the first interface.
Description
Technical Field
The invention relates to the technical field of electronic control, in particular to a system programming tool and an alarm host machine with the programming tool.
Background
Alarm hosts are commonly found in monitoring systems and are used to give alarms when an abnormality occurs in a monitored area. When the alarm host encounters a condition that firmware upgrade is needed or an update file needs to be configured, the condition needs to be realized by a system Programming tool (Programming Key). However, in the prior art, one system programming tool can only store one file, so that at least two system programming tools are required to be equipped for one alarm host, one for firmware upgrade and the other for configuration update. If the firmware and configuration information has multiple versions, more system programming tools need to be provided. Referring to fig. 1, a block diagram of a system programming tool in the prior art is shown, the system programming tool 1 includes: a communication protocol module 2, a memory management module 3, a physical storage module 4 and an interface module 5. The physical storage module 4 can only store one file, and the interface module 5 is used for connecting a control host. It follows that the alarm host is relatively costly and inconvenient to carry when equipped with the microprocessor programming tools of the prior art.
Disclosure of Invention
The invention aims to provide a system programming tool, which can store firmware files and configuration files of multiple versions for a plurality of control hosts to update and configure firmware, thereby saving cost and being convenient to carry.
Another object of the present invention is to provide an alarm host for a monitoring system, which is equipped with the system programming tool of the present invention to perform firmware upgrade and configuration update, thereby effectively saving cost and being simple and convenient to operate.
To achieve the above object, the present invention provides a system programming tool for performing firmware upgrade and configuration update on a control host, the system programming tool comprising:
the first interface is used for being connected with the control host;
the communication protocol module is at least used for processing communication data of the first interface;
a multi-file storage module for storing and managing a plurality of files; and
and the file selection module is used for selecting one file from the multi-file storage module for the control host to access through the first interface.
Optionally, the plurality of files comprises: multiple versions of firmware files and/or configuration files.
Optionally, the multiple files in the multiple-file storage module are numbered from 1 to N, where N is an integer greater than or equal to 1; the file selection module selects the number of the corresponding file through a dial switch or a jumper wire, so that the file accessed by the control host through the first interface is selected.
Optionally, the multi-file storage module includes: file input and output unit, file allocation table unit and file data block unit.
Optionally, the file input/output unit includes: file reading, file writing, file deleting and file querying.
Optionally, the file allocation table unit is configured to record location information of a file, where the location information of the file includes: one or more items of information such as file name, file size, file attribute, starting address of data blocks occupied by the file, number of data blocks occupied by the file and file number.
Optionally, the file data block unit equally divides the physical memory into a plurality of blocks, each block including an occupation flag for indicating whether the block is occupied by data.
Optionally, the system programming tool further comprises a second interface, and the second interface is used for connecting with a computer host.
Optionally, the first interface is a programming interface matched with the control host, and the second interface is a USB interface.
The invention also provides an alarm host used for the monitoring system, which is provided with the system programming tool for firmware upgrade and/or configuration update.
The system programming tool can store a plurality of files and selectively access the plurality of files stored in the multi-file storage module through the file selection module, thereby solving the problem that only one file can be stored in one system programming tool in the prior art. Compared with the system programming tools in the prior art, the system programming tool has the advantages of reducing cost and being convenient to carry. This advantage is also provided by an alarm host equipped with the system programming tool of the present invention.
For a better understanding of the nature and technical aspects of the present invention, reference should be made to the following detailed description of the invention, taken in conjunction with the accompanying drawings, which are provided for purposes of illustration and description and are not intended to limit the invention.
Drawings
The foregoing and other aspects of the present application will be more fully understood and appreciated by reference to the following detailed description, taken with reference to the accompanying drawings, in which:
FIG. 1 is a block diagram of a prior art system programming tool.
FIG. 2 is a block diagram of one embodiment of a system programming tool according to the present invention.
Detailed Description
To assist those skilled in the art in understanding the claimed subject matter, specific embodiments of the invention are described in detail below with reference to the accompanying drawings.
As shown in fig. 2, the present invention provides a system programming tool 10 for performing firmware upgrade and configuration update on a control host (not shown), which is an alarm host in this embodiment. The system programming tool 10 includes:
a first interface 20, configured to connect to the control host; a second interface 30 for connecting to a host computer (not shown); a communication protocol module 40, configured to process communication data of the first interface 20 and the second interface 30; a multi-file storage module 50 for storing and managing a plurality of files; and a file selection module 60 for selecting a file designated among the plurality of files accessing the multi-file storage module 50.
In this embodiment, the plurality of files includes: multiple versions of firmware files and/or configuration files. These different versions of firmware and/or configuration files are numbered from 1 to N, where N is an integer greater than or equal to 1. File selection module 60 may employ a dial switch or jumper to provide the user with a set of numbers that increment from 1 to N. By selecting the number, the user can make the control host access to the specified file corresponding to the number. For example, when the user selects number 1, the control host can access the firmware file or configuration file with number 1, and update or upgrade with the firmware file or configuration file.
The multi-file storage module 50 includes: a file input output unit 501, a file allocation table unit 502, and a file data block unit 503. The file input/output unit 501 includes: file reading, file writing, file deleting and file querying. The file allocation table unit 502 is configured to record location information of a file, where the location information of the file includes: one or more items of information such as file name, file size, file attribute, starting address of data blocks occupied by the file, number of data blocks occupied by the file and file number. The file data block unit 503 equally divides the physical memory into a plurality of blocks 5031, 5032 … … 503n, each block containing an occupation flag indicating whether the block is occupied by data.
In this embodiment, the first interface 20 is a programming interface matched with the control host, and the second interface 30 is a USB interface. The first interface 20 is connected with a control host, and the second interface 30 is connected with a computer host. When the second interface 30 is connected to the host computer, the user can perform some setting or updating operations on the system programming tool through the host computer, and can also use the host computer to supply power to the system programming tool.
It will be appreciated by those skilled in the art that the system programming tool of the present embodiment may be adapted for firmware upgrades and configuration updates for various types of control hosts, including but not limited to alarm hosts of a monitoring system.
Although the application has been illustrated and described herein with reference to specific embodiments, the application is not intended to be limited to the details shown. Rather, various details of the application may be modified within the scope and equivalents of the claims.
Claims (8)
1. A system programming tool for performing firmware upgrade and configuration update on a control host as an alarm host, the system programming tool comprising:
the first interface is used for being connected with the control host;
the communication protocol module is at least used for processing communication data of the first interface;
a multi-file storage module for storing and managing a plurality of files; and
a file selection module for selecting a file from the multi-file storage module for the control host to access through the first interface,
wherein the plurality of files comprises: multiple versions of firmware files and/or configuration files,
the files in the multi-file storage module are numbered from 1 to N, wherein N is an integer greater than or equal to 1; the file selection module selects the number of the corresponding file through a dial switch or a jumper wire, so that the file accessed by the control host through the first interface is selected.
2. The system programming tool of claim 1, wherein the multi-file storage module comprises: file input and output unit, file allocation table unit and file data block unit.
3. The system programming tool of claim 2, wherein the file input output unit comprises: file reading, file writing, file deleting and file querying.
4. The system programming tool of claim 2, wherein the file allocation table unit is configured to record location information of a file, and the location information of the file includes: one or more items of information such as file name, file size, file attribute, starting address of data blocks occupied by the file, number of data blocks occupied by the file and file number.
5. The system programming tool of claim 2, wherein the file data block unit equally divides the physical memory into a plurality of blocks, each block including an occupation flag indicating whether the block is occupied with data.
6. The system programming tool of claim 1, further comprising a second interface, the second interface for connecting to a host computer.
7. The system programming tool of claim 6, wherein the first interface is a programming interface compatible with the control host and the second interface is a USB interface.
8. An alarm master for a monitoring system, characterized in that a system programming tool according to any of claims 1-7 is provided for firmware upgrade and/or configuration update.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510023644.7A CN105843633B (en) | 2015-01-16 | 2015-01-16 | System programming tool and alarm host equipped with same |
AU2016200063A AU2016200063A1 (en) | 2015-01-16 | 2016-01-06 | A system programming tool and an alarm host equipped with the programming tool |
AU2021203537A AU2021203537A1 (en) | 2015-01-16 | 2021-05-31 | A system programming tool and an alarm host equipped with the programming tool |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510023644.7A CN105843633B (en) | 2015-01-16 | 2015-01-16 | System programming tool and alarm host equipped with same |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105843633A CN105843633A (en) | 2016-08-10 |
CN105843633B true CN105843633B (en) | 2021-05-11 |
Family
ID=56551063
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510023644.7A Active CN105843633B (en) | 2015-01-16 | 2015-01-16 | System programming tool and alarm host equipped with same |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105843633B (en) |
AU (2) | AU2016200063A1 (en) |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8416248B2 (en) * | 2009-03-26 | 2013-04-09 | Stmicroelectronics Ltd. | Methods and device for display device in-system programming through displayable signals |
CN201583832U (en) * | 2009-11-13 | 2010-09-15 | 广西工学院 | Novel portable PLC programming device |
CN202013744U (en) * | 2011-04-26 | 2011-10-19 | 苏州瀚瑞微电子有限公司 | Multifunctional burning tool |
CN102654838A (en) * | 2011-08-18 | 2012-09-05 | 广州市浩洋电子有限公司 | Software upgrading device and method for stage lamp |
CN202221567U (en) * | 2011-08-18 | 2012-05-16 | 广州市浩洋电子有限公司 | Software upgrading device for stage lamp |
CN103744693B (en) * | 2013-12-13 | 2017-12-08 | 乐视致新电子科技(天津)有限公司 | A kind of multisystem switching method and electronic equipment |
-
2015
- 2015-01-16 CN CN201510023644.7A patent/CN105843633B/en active Active
-
2016
- 2016-01-06 AU AU2016200063A patent/AU2016200063A1/en not_active Abandoned
-
2021
- 2021-05-31 AU AU2021203537A patent/AU2021203537A1/en not_active Abandoned
Also Published As
Publication number | Publication date |
---|---|
AU2021203537A1 (en) | 2021-07-01 |
AU2016200063A1 (en) | 2016-08-04 |
CN105843633A (en) | 2016-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20190026223A1 (en) | Memory system and non-transitory computer readable recording medium | |
EP3252592A1 (en) | Method and device for storing and reading data | |
KR20140044558A (en) | Segment group considering segment cleaning apparatus and method thereof | |
CN107797934B (en) | Method for processing de-allocation command and storage device | |
CN108345433B (en) | Method, memory system and product for maximized deduplication memory | |
CN104216796A (en) | Data backup and recovery method and electronic device | |
CN107797938B (en) | Method for accelerating de-allocation command processing and storage device | |
US20230281118A1 (en) | Memory system and non-transitory computer readable recording medium | |
CN103440204B (en) | A kind of method of updating file system and memory device | |
CN107430546B (en) | File updating method and storage device | |
CN108628762B (en) | Solid-state storage device and IO command processing method thereof | |
CN105843633B (en) | System programming tool and alarm host equipped with same | |
CN112463055A (en) | Method, system, equipment and medium for optimizing and using L2P table of solid state disk | |
JP6215631B2 (en) | Computer system and data management method thereof | |
CN110334034A (en) | Method, apparatus, computer equipment and the storage medium of mapping table dynamically load | |
CN113704177B (en) | Storage method, system and related components of server firmware upgrade file | |
CN103116549B (en) | Based on the flash memory storage method of maximum erasable number of times | |
US20140052902A1 (en) | Electronic device and method of generating virtual universal serial bus flash device | |
CN106557385B (en) | Data snapshot method and storage device | |
CN109446159B (en) | Multi-version file management method, server and computer readable storage medium | |
CN103268266A (en) | Method for verifying and storing flash memory | |
CN114327246A (en) | Data storage method in storage medium, storage medium and computer equipment | |
CN103268290B (en) | Based on the flash memory storage method of priority locking | |
KR20140042428A (en) | Computing system and data management method thereof | |
CN108196790B (en) | Data management method, storage device, and computer-readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |