CN106157573A - Alarm assembly and programming key thereof - Google Patents
Alarm assembly and programming key thereof Download PDFInfo
- Publication number
- CN106157573A CN106157573A CN201510138131.0A CN201510138131A CN106157573A CN 106157573 A CN106157573 A CN 106157573A CN 201510138131 A CN201510138131 A CN 201510138131A CN 106157573 A CN106157573 A CN 106157573A
- Authority
- CN
- China
- Prior art keywords
- programming
- file
- programming key
- memorizer
- key
- 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.)
- Granted
Links
Abstract
The invention discloses a kind of programming key and alarm assembly, programming key case contains: being connected with bus (3) carries out the bus interface module (21) of data transmission;The memorizer (22) of storage programming file;Connect the first communication module (24) of memorizer (22), according to the programming instruction transmitted by bus interface module (21), memorizer (22) is carried out the operation of access programming file;Connect the second communication module (25) of memorizer (22), be programmed the backup operation of file according to the backup instruction transmitted by bus interface module (21);Junctor highway interface module (21), first communication module (24) and the mode selection switch (23) of second communication module (25) respectively, comprise first mode and the second pattern, when it is switched to first mode, bus interface module (21) connects with first communication module (24);When being switched to the second pattern, bus interface module (21) connects with second communication module (25).
Description
Technical field
The present invention relates to technical field of electronic control, particularly relate to alarm assembly and programming key thereof.
Background technology
Alarm host machine is common in monitoring system, for sending alarm when monitoring region and occurring abnormal.When
Alarm host machine runs into when needing firmware upgrade or need the situation of config update file, need to be by programming
Key (Programming Key) realizes.In programming key, storage has the programming that alarm host machine needs
File, such as firmware and configuration file, these programming files typically by special aid by counting
In calculation machine write programming key.Seeing Fig. 1 is programming Key structure schematic diagram of the prior art.Compile
Journey key 5 comprise bus interface module 51, first communication module 52, memory management module 53 and
Physical storage 54.When programming key 5 and being connected in the bus 3 of warning system, alarm host machine 1 can
To be read the content of programming key 5 by bus 3, but programming key 5 is not supported to be entered by bus 3
Row data backup.Therefore, the process carrying out data backup in prior art is as follows: connect special auxiliary
Assistant engineer has to computer;The programming key first needing data backup is inserted aid;With operating in
Software on computer reads the content of programming key first;Programming key first is pulled out from aid,
It is changed to program key second;It is written to compile by the content of programming key first with the software run on computers
In journey key second, complete backup.As can be seen here, use prior art that programming key is carried out backup behaviour
When making, need by special aid, and once a programming key can only be backed up,
Back-up job inefficiency.
Summary of the invention
It is an object of the invention to, it is provided that a kind of programming key, this programming key can be entered by bus
Row backup, it is not necessary to extra aid, backup efficiency is higher.
Another object of the present invention is to, it is provided that a kind of alarm assembly, be equipped with the programming key of the present invention
Spoon carries out firmware upgrade and config update, is effectively increased work efficiency and easy and simple to handle.
For achieving the above object, the present invention provides a kind of programming key, and this programming key case contains:
For being connected the bus interface module carrying out data transmission with bus;
Memorizer, wherein storage programming file;
Connecting the first communication module of described memorizer, it is according to being transmitted by described bus interface module
Programming instruction described memorizer is carried out access programming file operation;Wherein, described programming instruction
E.g. carry out the instruction of firmware upgrade or file configuration.
Connecting the second communication module of described memorizer, it is according to being transmitted by described bus interface module
Backup instruction be programmed the backup operation of file;Wherein, described backup instruction is e.g. by other
The programming file of equipment replicates and is saved in the instruction in described memorizer, or by described memorizer
File replicate and be saved in the instruction in miscellaneous equipment.And
Connect described bus interface module, described first communication module and described second communication module respectively
Mode selection switch, it comprises first mode and the second pattern, when described mode selection switch switches
During to described first mode, described bus interface module connects with described first communication module;When described
When mode selection switch is switched to described second pattern, described bus interface module communicates with described second
Module connects.
In feasible detailed description of the invention, described second pattern farther includes holotype and from pattern,
When described mode selection switch is switched to holotype, the programming file conduct of storage in described memorizer
Source file is backed up in the target device being connected with bus by described bus interface module;When described
Mode selection switch is switched to when pattern, and described programming key is read by described bus interface module
The programming file of storage in the source device being connected with bus, replaces institute by this programming file backup and with it
State the programming file of memorizer Central Plains storage.
In feasible detailed description of the invention, described target device is programming key or storage device.Can
Row ground, the quantity of described target device is one or more.
In feasible detailed description of the invention, described source device is for controlling main frame, programming key or storage
Equipment.Feasibly, the quantity of described source device is one.
In feasible detailed description of the invention, described programming file is firmware file and/or configuration file.
In feasible detailed description of the invention, described second communication module carries out the method for data backup and is:
The pattern selected according to described mode selection switch determines source device and target device;Described source device is sent out
Send Query Information to search the target device connected on the bus;Receive described source device to send
Query Information after, described target device send response message to described source device to set up communication connection;
And by the programming file backup of described source device to described target device.Feasibly, each described volume
Journey key is provided with unique home address, according to institute between described source device and described target device
State home address and set up communication connection.
Invention also provides a kind of alarm assembly, comprise control main frame and aforesaid programming key,
And its be provided that in the case of described programming key is connected to by bus described control main frame to
Few two kinds of mode of operations:
In the first mode of operation, first communication module according to described control main frame by described bus
The programming instruction of interface module transmission is programmed the accessing operation of file in memory;
In the second mode of operation, second communication module according to described control main frame by described bus
The backup instruction of interface module transmission is programmed the backup operation of file in memory.
The programming key of the present invention carries out data backup by bus, compared to programming of the prior art
For key, reduce cost, also allow for operation.
In order to be able to be further understood that inventive feature and technology contents, refer to below in connection with this
Detailed description of the invention and accompanying drawing, but accompanying drawing only provides reference and explanation use, is not used for this
Bright it is any limitation as.
Accompanying drawing explanation
Aforementioned and the other side of the application will be discussed in detail and by more by do with reference to the accompanying drawings
It is fully understood by and understands, in the accompanying drawings:
Fig. 1 is the module diagram programming key in prior art;
Fig. 2 is the module diagram that the present invention programs one detailed description of the invention of key;
Fig. 3 is that the present invention programs the key schematic diagram as during source device one detailed description of the invention;
Fig. 4 is that the present invention programs the key schematic diagram as during target device one detailed description of the invention.
Detailed description of the invention
For helping those skilled in the art to understand claimed theme, below knot definitely
Close accompanying drawing and describe the detailed description of the invention of the present invention in detail.
As in figure 2 it is shown, a kind of programming key 2, comprise: for being connected to carry out data transmission with bus
Bus interface module 21;The memorizer 22 of storage programming file;Connect the of described memorizer 22
One communication module 24, it is deposited described according to by the programming instruction of described bus interface module 21 transmission
Reservoir 22 carries out the operation of access programming file;Connect the second communication module 25 of described memorizer 22,
It is grasped according to the backup being programmed file by the backup instruction of described bus interface module 21 transmission
Make;Junctor highway interface module 21, first communication module 24 and the mould of second communication module 25 respectively
Formula selects switch 23, and it comprises first mode and the second pattern, when mode selection switch 23 is switched to the
During one pattern, bus interface module 21 connects with first communication module 24;When mode selection switch 23
When being switched to the second pattern, bus interface module 21 connects with described second communication module 25.Wherein,
Programming instruction e.g. carries out the instruction of firmware upgrade or file configuration;Backup instruction is e.g. by other
The programming file of equipment replicates and is saved in the instruction in memorizer 22, or by memorizer 22
File replicates and is saved in the instruction in miscellaneous equipment.
Described second pattern farther includes holotype and from pattern:
See shown in Fig. 2 and Fig. 3, when described mode selection switch 23 is switched to holotype, programming
Key 2 is as source device, and in its memorizer 22, the programming file of storage is connect by bus as source file
Mouth die block 21 is copied in the target device 41 being connected with bus 3;Now, target device 41 can
Think other programming key or storage device;The quantity of target device 41 is one or more.
See shown in Fig. 2 and Fig. 4, when described mode selection switch 23 is switched to from pattern, programming
Key 2 is as target device, and it reads the source device being connected with bus 3 by bus interface module 21
The programming file of storage in 42, replicates this programming file and in order to replace the storage of this programming key 2
The programming file of device 22 Central Plains storage;Now, source device 42 can be to control main frame, another programming
Key or storage device, the quantity of source device 42 is one;Target including programming key 2 sets
One or more for having, as shown in Figure 4, in this embodiment, with programming key 2
Equipment as target device 41 equally has multiple, and these target devices 41 can be that other programs key
Spoon or storage device.
It will be appreciated by persons skilled in the art that these include for the programming file of backup but do not limit
In the firmware file and/or the configuration file that control main frame.
In some embodiments, second communication module 25 carries out the method for data backup and is:
Source device and target device, wherein mesh is determined respectively according to the pattern that mode selection switch 23 selects
Marking device can be multiple;
Described source device utilizes the mode such as broadcasted to send Query Information, with search be connected to described always
Each target device on line 3;
After receiving the Query Information that source device sends, these target devices are sent out in the way of such as clean culture
Send response message to source device to set up communication connection;And
After communication connection is set up, by the programming file backup of source device to target device.
For the ease of setting up communication connection, in some embodiments, as source device the most also
Being target device, each programming key 2 is provided with unique home address, and source device sets with target
Communication connection can be set up by these home addresses between Bei.
It will be appreciated by persons skilled in the art that the method that second communication module 25 carries out data backup
It is not limited to above-mentioned.
Control in the case of main frame such as alarm host machine programming key 2 is connected to, control main frame and
The programming alarm assembly that is combined into of key 2 is provided that at least two mode of operation:
In the first mode of operation, the first communication module 24 of programming key 2 controls master according to described
Machine is programmed file by the programming instruction of described bus interface module 21 transmission in memorizer 22
Accessing operation;
In the second mode of operation, the second communication module 25 of programming key 2 controls master according to described
Machine is programmed file by the backup instruction of described bus interface module 21 transmission in memorizer 22
Backup operation.
It will be appreciated by persons skilled in the art that the programming key 2 of the application goes for multiple
Independent or the batch firmware upgrade of Type Control main frame and config update, control main frame and include but not limited to
The alarm host machine of monitoring system.
Although the application being shown and described based on specific embodiment, but the application being not restricted to
Shown details.On the contrary, in the range of claim and equivalent thereof, the application's is each
Plant details can be modified.
Claims (10)
1. a programming key, it is characterised in that comprise:
For the bus interface module (21) being connected to carry out data transmission with bus (3);
Memorizer (22), wherein storage programming file;
Connecting the first communication module (24) of described memorizer (22), it is according to being connect by described bus
The programming instruction that mouth die block (21) transmits carries out the behaviour of access programming file to described memorizer (22)
Make;
Connecting the second communication module (25) of described memorizer (22), it is according to being connect by described bus
The backup instruction that mouth die block (21) transmits is programmed the backup operation of file;And
Connect described bus interface module (21), described first communication module (24) and described respectively
The mode selection switch (23) of two communication modules (25), it comprises first mode and the second pattern, when
When described mode selection switch (23) is switched to described first mode, described bus interface module (21)
Connect with described first communication module (24);When described mode selection switch (23) is switched to described
During the second pattern, described bus interface module (21) connects with described second communication module (25).
Programming key (2) the most according to claim 1, it is characterised in that described second pattern
Farther include holotype and from pattern,
When described mode selection switch (23) is switched to holotype, described memorizer is deposited in (22)
The programming file of storage is backed up to and bus (3) by described bus interface module (21) as source file
In the target device (41) connected;
When described mode selection switch (23) is switched to from pattern, described programming key (2) is passed through
Described bus interface module (21) reads the volume of storage in the source device (42) being connected with bus (3)
Journey file, replaces the programming of described memorizer (22) Central Plains storage by this programming file backup and with it
File.
Programming key (2) the most according to claim 2, it is characterised in that described target device
(41) for programming key or storage device.
Programming key (2) the most according to claim 2, it is characterised in that described source device (42)
For controlling main frame, programming key or storage device.
Programming key (2) the most according to claim 3, it is characterised in that described target device
(41) quantity is one or more.
Programming key (2) the most according to claim 4, it is characterised in that described source device (42)
Quantity be one.
Programming key (2) the most according to claim 1, it is characterised in that described programming file
For firmware file and/or configuration file.
Programming key (2) the most according to claim 3, it is characterised in that described second communication
Module (25) carries out the method for data backup:
Source device and target device is determined according to the pattern that described mode selection switch (23) selects;
Described source device sends the target device that Query Information is connected in described bus (3) with lookup;
After receiving the Query Information that described source device sends, described target device sends response message extremely
Described source device is to set up communication connection;And
By the programming file backup of described source device to described target device.
Programming key (2) the most according to claim 8, it is characterised in that each described programming
Key (2) is provided with unique home address, basis between described source device and described target device
Described home address sets up communication connection.
10. an alarm assembly, it is characterised in that comprise control main frame (1) and want according to right
Seek the programming key (2) according to any one of 1 to 9, and described programming key (2) is being led to by it
Cross and in the case of bus (3) is connected to described control main frame (1), be provided that at least two mode of operation:
In the first mode of operation, first communication module (24) leads to according to described control main frame (1)
Cross the programming instruction that described bus interface module (21) transmits and be programmed literary composition in memorizer (22)
The accessing operation of part;
In the second mode of operation, second communication module (25) leads to according to described control main frame (1)
Cross the backup instruction that described bus interface module (21) transmits and be programmed literary composition in memorizer (22)
The backup operation of part.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510138131.0A CN106157573B (en) | 2015-03-26 | 2015-03-26 | Alarm assembly and programming key thereof |
AU2016201734A AU2016201734B2 (en) | 2015-03-26 | 2016-03-18 | Alarm assembly and programming key |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510138131.0A CN106157573B (en) | 2015-03-26 | 2015-03-26 | Alarm assembly and programming key thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106157573A true CN106157573A (en) | 2016-11-23 |
CN106157573B CN106157573B (en) | 2020-04-17 |
Family
ID=57068573
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510138131.0A Active CN106157573B (en) | 2015-03-26 | 2015-03-26 | Alarm assembly and programming key thereof |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106157573B (en) |
AU (1) | AU2016201734B2 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060080654A1 (en) * | 2004-10-09 | 2006-04-13 | Shelton Brian M | Method and apparatus for upgrading implantable medical device operating software |
CN101599040A (en) * | 2008-06-05 | 2009-12-09 | 彭增金 | Multi-interface simulation programmer |
CN203760085U (en) * | 2014-02-27 | 2014-08-06 | 海尔集团公司 | EEPROM (electrically erasable programmable read-only memory) programmer |
-
2015
- 2015-03-26 CN CN201510138131.0A patent/CN106157573B/en active Active
-
2016
- 2016-03-18 AU AU2016201734A patent/AU2016201734B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060080654A1 (en) * | 2004-10-09 | 2006-04-13 | Shelton Brian M | Method and apparatus for upgrading implantable medical device operating software |
CN101599040A (en) * | 2008-06-05 | 2009-12-09 | 彭增金 | Multi-interface simulation programmer |
CN203760085U (en) * | 2014-02-27 | 2014-08-06 | 海尔集团公司 | EEPROM (electrically erasable programmable read-only memory) programmer |
Also Published As
Publication number | Publication date |
---|---|
AU2016201734B2 (en) | 2021-05-27 |
CN106157573B (en) | 2020-04-17 |
AU2016201734A1 (en) | 2016-10-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7275236B1 (en) | Method for programming a multiple device control system using object sharing | |
CN103078747B (en) | PCIe switch and method of work thereof | |
CN106909425A (en) | A kind of DSP and FPGA system online upgrading method | |
CN101387957B (en) | Multi-path software implementing apparatus and method | |
CN103488498A (en) | Computer booting method and computer | |
CN103793238A (en) | Rack and method for simultaneously updating multiple basic input output systems thereof | |
CN101114933A (en) | Method, system and terminal for maintaining capability management object, managing capability | |
CN101359278A (en) | Backend-connected storage system | |
CN105446657A (en) | Method for monitoring RAID card | |
CN103488590A (en) | Programmable display | |
CN104615075A (en) | System for simultaneously brushing multiple vehicle-mounted chips | |
US20180357193A1 (en) | Computing device and operation method | |
CN104516751A (en) | Server system | |
CN102768504B (en) | For the method that the being controlled property of behavior of submodule is interfered | |
CN103631622A (en) | Software online upgrade repairing method | |
CN102253845B (en) | Server system | |
CN101414175B (en) | Method, apparatus and system for equipment interconnection | |
CN111294413A (en) | Method, device and readable medium for determining Internet Protocol (IP) address | |
CN103412838B (en) | A kind of expanding system, communication means, address configuration method, equipment and device | |
CN105487473A (en) | PLC data log module with backup function | |
CN106155954A (en) | The system and method that a kind of module identification and COM1 distribute automatically | |
CN105260266A (en) | Snapshot volume writing method and dependent snapshot system | |
US7330946B2 (en) | Data processing system | |
CN105579920A (en) | Programmable controller and control method for programmable controller | |
CN106157573A (en) | Alarm assembly and programming key thereof |
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 |