A kind of instrument and meter tamper automatic alarm system and tamper automatic alarm method
Technical field
The present invention relates to a kind of tamper automatic alarm system and tamper automatic alarm method, and in particular to a kind of instrument and meter
Tamper automatic alarm system and tamper automatic alarm method.
Background technology
Present family all be unable to do without water, electricity, gas, and the instrument and meter such as water meter, ammeter, gas meter as rates ground rises
Critically important effect.It can accurately calculate the expense for the water, electricity, gas that user uses, and also remind user should not be with turn
Just water, electricity, gas are wasted.Waste water, electricity, gas directly loss be exactly pays, allow indirectly people form saving using water, electricity,
The good custom of gas.Due to instrument and meters such as water meter, ammeter, gas meters, either family or company is substantially installed in user's
Side, away from management company.Some users for having certain professional technique, in order to reduce the expense monthly actually used, it can tear open
Instrument is opened, is gone to change the instrument and meters such as water meter, ammeter, gas meter real data originally with various methods.Therefore can give
The management of management company or department brings huge inconvenience, and existing management mode far can not meet instrument remote pipe
Reason and the requirement of tamper.
The content of the invention
It is an object of the invention to provide a kind of instrument and meter tamper automatic alarm system and tamper automatic alarm method, with
The problem of overcoming instrument and meter present in prior art to be easily opened modification data.
The technical solution adopted in the present invention is as follows:A kind of instrument and meter tamper automatic alarm system, it is characterized in that:This is anti-
Automatic alarm system is torn open including the box body for installing instrument, lid and for controlling the tamper automatic alarm system operation
Controller, the lid and the box body by least six mode connects for screw, be provided with the box body be used to controlling the lid and
The locking of box body or the retaining mechanism of released state, each screw, retaining mechanism are connected with the controller respectively.
Preferably, the retaining mechanism includes two groups of bolt devices, and two groups of bolt devices are in the box body, every group
Bolt device includes a plug housing, an electromagnet, an iron pin, a back-moving spring and an iron pin mount, described
Iron pin mount is fixed on the madial wall of the box body, and the iron pin can movably be arranged in the iron pin installation
On seat, the middle part of the iron pin is provided with the first screens block, and the right-hand member of the iron pin is provided with the second screens block, the reseting spring sleeve
On iron pin between the second screens block and the iron pin mount, the plug housing is fixed at the lid
Inner surface, and the jack for iron pin insertion is respectively equipped with two plug housings, the electromagnet is installed on the jack
Left end;After lid covers, when electromagnet obtains electric adhesive, the iron pin is inserted in the jack of the plug housing, pins box body
With lid.
Preferably, loudspeaker are additionally provided with the box body, the loudspeaker are connected with the controller.
Preferably, the rear side of the lid is rotatably connected with the box body, and the screw has six, and the screw is divided equally
Into three groups, three groups of screws are respectively arranged on the left side, right side and front side of box body.
Preferably, the controller includes being used to detect the screw sequence detection module of screw disassembling order, for controlling
The electromagnet the automatic locking-unlocking module of dead electricity, the SMS module for receiving and dispatching short message, for controlling loudspeaker to send
The sound module of sound, the power supply module for the power supply of tamper automatic alarm system and control modules run embedded
System, the screw sequence detection module, automatic locking-unlocking module, SMS module, sound module, power supply module respectively with institute
State embedded system connection.
A kind of tamper automatic alarm method, this method comprise the following steps:
A. the dismounting order of the screw, work of the iron pin in the back-moving spring are set in the embedded system
Moved with the right side of the lower past iron pin mount, iron pin is in released state, and power supply module is the tamper automatic alarm system
System power supply;
B. when dismounting screw, screw sequence detection module detects the dismounting order of the screw, screw sequence detection
The screw disassembling order of detection is fed back to the embedded system by module;When embedded system judges that the dismounting of the screw is suitable
When sequence meets the dismounting order of setting, you can open lid;
C. it is embedded when embedded system judges that the dismounting order of the screw does not meet the dismounting order of setting
System sends instructions to automatic locking-unlocking module, obtains two electromagnet electric, so as to attract two iron pins to insert two latches
Seat, so as to pin box body and lid, and the embedded system sends warning message by the SMS module to administrative staff.
Preferably, also include in the step c when administrative staff by SMS module send new screw disassembling order or
Reset short message and give the embedded system, the embedded system exports unlock instruction and gives automatic locking-unlocking module, makes electromagnetism
Iron must not be electric, iron pin is departed from plug housing in the presence of back-moving spring, and iron pin is in reset state, the lid and the box
Body is in released state.
Preferably, setting locking time threshold value in the embedded system is additionally included in the step c, when iron pin inserts
When the time of plug housing exceedes the locking time threshold value, the embedded system exports unlock instruction and gives automatic locking-unlocking mould
Block, make electromagnet electric, iron pin is departed from plug housing in the presence of back-moving spring, iron pin is in reset state, the lid
It is sub to be in released state with the box body.
Preferably, the step c also including all screwing in, and within the time of setting again when all screws, no longer
Screw is outwarded winding, the embedded system exports unlock instruction and gives automatic locking-unlocking module, makes electromagnet electric, is resetting bullet
Iron pin is set to depart from plug housing in the presence of spring, iron pin is in reset state, and the lid is in released state with the box body.
Preferably, the power supply module includes mains-supplied and backup battery is powered, when using backup battery power supply, institute
State embedded system and close SMS module, stop the reception of short message, extend power-on time;And when using backup battery power supply,
When embedded system judges that the dismounting order of the screw does not meet the dismounting order of setting, embedded system passes through sound
Module drive loudspeaker send alarm sound and trigger SMS module in time, and alarming short message is sent into administrative staff.
Knowable to the above-mentioned description to structures and methods of the present invention, compared to the prior art, the invention has the advantages that:Its
One, the order that rotate by monitoring control devices each screw of the present invention judges whether illegally to dismantle, if illegally dismantled
Then controller control retaining mechanism locking cover and box body, make illegal dismounting person not take apart, prevent instrument and meter is opened from repairing
Change data.Second, the instrument and meter tamper automatic alarm system of the present invention extends many modules, make function more diversified,
Especially it is the increase in message interactive function so that the staff that the personnel either originally installed still safeguard, they only have
The disassembly sequence that screw is obtained from administrative staff there in advance correctly could be taken lid apart, meet management company's remote control
The demand of instrument and meter tamper automatic alarm system.Third, when the present invention uses back-up source, opened using the pattern of triggering activation
Dynamic SMS module, can greatly detract from energy consumption, more save.Fourth, the present invention controls the loudspeaker to send out by sound module
Go out alarm sound, personnel are illegally dismantled so as to deterrent, further prevent illegal dismounting personnel from taking instrument apart.It is fifth, of the invention
Locking time threshold value is set in embedded systems, when the time of iron pin insertion plug housing exceeding the locking time threshold value,
The embedded system exports unlock instruction and gives automatic locking-unlocking module, makes electromagnet electric, in the effect of back-moving spring
Under iron pin is departed from plug housing, iron pin be in reset state, and the lid is in released state with the box body, so that custodian
Member can send someone the situation of watching that is on the scene in the locking time threshold value, add the reliability and security of system work.
Brief description of the drawings
Fig. 1 is that the instrument of the present invention is arranged on the structural representation in box body.
Fig. 2 is the mplifying structure schematic diagram of A in Fig. 1.
Fig. 3 is the structural schematic block diagram of the controller of the present invention.
Fig. 4 is the structural representations such as screw sequence detection module.
Fig. 5 is that screw disassembling identifies interrupt service routine schematic flow sheet.
Embodiment
Illustrate the embodiment of the present invention with reference to the accompanying drawings.
With reference to figure 1, Fig. 2 and Fig. 3, a kind of instrument and meter tamper automatic alarm system, including for installing the box body of instrument 9
10th, lid 11 and the controller 12 for controlling the tamper automatic alarm system operation.The lid 11 and the box body 10
Connected by least six screws 13, the locking or separation for being used for controlling the lid 11 and box body 10 are provided with the box body 10
The retaining mechanism 14 of state.Each screw 13, retaining mechanism 14 are connected with the controller 12 respectively.
With reference to figure 1 and Fig. 2, the rear side of the lid 11 is rotatably connected with the box body 10.The screw 13 has six,
The screw 13 is divided into three groups, and three groups of screws 13 are respectively arranged on the left side, right side and front side of box body 10.
With reference to figure 1 and Fig. 2, the retaining mechanism 14 includes two groups of bolt devices 16, and two groups of bolt devices 16 are located at institute
State the left and right sides of the front side wall in box body 10.Every group of bolt device 16 includes 161, electromagnet 162, one of a plug housing
Individual 163, back-moving springs 164 of iron pin and an iron pin mount 165.The iron pin mount 165 is fixed at described
On front side wall in box body 10.The iron pin 163 can be movably arranged on the iron pin mount 165.The iron pin
163 middle part is provided with the first screens block 166, and the right-hand member of the iron pin 163 is provided with the second screens block 167.First screens block 166 blocks
In the left side of the iron pin mount 165, the back-moving spring 164 is sheathed on the second screens block 167 pacifies with the iron pin
Fill on the iron pin 163 between seat 165.The plug housing 161 is fixed at the inner surface of the lid 11, and two latches
The jack 168 for the iron pin 163 insertion is respectively equipped with seat 161.Electromagnet 162 is installed on the left end of the jack 168.Lid
After son 11 covers, when electromagnet 162 obtains electric adhesive, the iron pin 163 is inserted in the jack 168 of the plug housing 161 and (inserted
Enter the right-hand member of jack 168, the left end of jack 168 installation electromagnet 162), pin box body 10 and lid 11.
With reference to figure 1 and Fig. 3, loudspeaker (not shown) is additionally provided with the box body 10, the loudspeaker and the controller 12
Connection.
With reference to figure 1, Fig. 2, Fig. 3 and Fig. 4, controller 12 includes being used for the screw sequence detection mould for detecting screw disassembling order
Block 121, the automatic locking-unlocking module 122 for obtaining dead electricity for controlling the electromagnet 162, the short message mould for receiving and dispatching short message
Block 123, for controlling loudspeaker to send the sound module 124 of sound, the power supply module for being powered for tamper automatic alarm system
125 and control modules operation embedded system 126.The screw sequence detection module 121, automatic locking-unlocking mould
Block 122, SMS module 123, sound module 124, power supply module 125 are connected with the embedded system 126 respectively.Such as Fig. 4 institutes
Show, screw sequence detection mode can set ground spring 15 by the lower section of each screw 13, and each screw 13 is mounted to pair
Answer in screw hole 131, ground spring 15 is grounded, and the chip in controller 12 can detect that the level state of screw 13, so as to examine
Measure the dismounting of screw 13 order.
With reference to figure 1, Fig. 2, Fig. 3 and Fig. 5, a kind of tamper automatic alarm method, it is characterised in that:The tamper automatic alarm
Method uses above-mentioned tamper automatic alarm system, and this method comprises the following steps:
A. the dismounting order of the screw 13 is set in the embedded system 126, the iron pin 163 is in the reset
Moved in the presence of spring 164 toward the right side of the iron pin mount 165, iron pin 163 is in released state, power supply module 125
Powered for the tamper automatic alarm system.
B. when dismounting screw 13, embedded system 126 can determine whether out which instrument 9 is dismounted, screw sequence detection
Module 121 detects the dismounting order of the screw 13, and screw sequence detection module 121 feeds back the disassembly sequence of screw 13 of detection
To the embedded system 126.When embedded system 126 judges that the disassembly sequence of the screw 13 meets the dismounting order of setting
When, you can open lid 11.
C. when embedded system 126 judges that the dismounting order of the screw 13 does not meet the dismounting order of setting,
Embedded system 126 sends instructions to automatic locking-unlocking module 122, obtains two electromagnet 162 electric, so as to attract two iron
Pin 163 inserts two plug housings 161, and so as to pin box body 10 and lid 11, and the embedded system 126 passes through the short message
Module 123 sends warning message to administrative staff, and embedded system 126 drives the loudspeaker to send report by sound module 124
Alert sound.
With reference to figure 1, Fig. 2, Fig. 3 and Fig. 5, also include when administrative staff are sent newly by SMS module 123 in the step c
Screw disassembling order or reset short message and give the embedded system 126, the embedded system 126 export unlock instruction to oneself
Dynamic locking unlocked state 122, makes electromagnet 162 must not electricity.Iron pin 163 is set to depart from plug housing in the presence of back-moving spring 164
161, iron pin 163 is in reset state, and the lid 11 is in released state with the box body 10.In this case applicable pipe
Lid 11 can also be opened in the case of reason personnel's maloperation.Transmitted short message can set check code.
With reference to figure 1, Fig. 2, Fig. 3 and Fig. 5, when setting locking in the embedded system 126 is additionally included in the step c
Between threshold value, when iron pin 163 insert plug housing 161 time exceed the locking time threshold value when, the embedded system 126 is defeated
Go out unlock instruction to automatic locking-unlocking module 122, make electromagnet 162 must not electricity.Make iron pin in the presence of back-moving spring 164
163 depart from plug housing 161, and iron pin 163 is in reset state, and the lid 11 is in released state with the box body 10.So as to
Administrative staff can send someone the situation of watching that is on the scene in the locking time threshold value, add the reliability and safety of system work
Property.
With reference to figure 1, Fig. 2, Fig. 3 and Fig. 5, the step c also includes screwing in again when all screws 13 are whole, and is setting
In the fixed time (time of the setting can set in embedded system 126), screw 13 is no longer outwarded winding.The embedded system
126 export unlock instruction to automatic locking-unlocking module 122, make electromagnet 162 electric, in the presence of back-moving spring 164
Iron pin 163 is set to depart from plug housing 161, iron pin 163 is in reset state, and the lid 11 is in unblock shape with the box body 10
State.
With reference to figure 1, Fig. 2, Fig. 3, the power supply module 125 includes mains-supplied and backup battery is powered, when using standby
During battery powered, the embedded system 126 closes SMS module, stops the reception of short message, extends power-on time.And work as and use
Backup battery power when, embedded system 126 judge the screw 13 dismounting order do not meet setting dismounting order when
Wait, embedded system 126 drives loudspeaker to send alarm sound and trigger SMS module 123 in time by sound module 124, will report
Alert short message sending is to administrative staff.When the present invention uses back-up source, the pattern using triggering activation starts SMS module 123,
Energy consumption can be greatly detracted from, is more saved.
With reference to figure 1, Fig. 2, Fig. 3, the present invention remotely monitors order that each screw rotates by controller to judge
Whether illegally dismantle, the controller control locking cover 11 of retaining mechanism 14 and box body 10, make illegally to dismantle if illegal dismounting
Person can not take apart, prevent instrument 9 to be opened modification data.The instrument and meter tamper automatic alarm system of the present invention extends a lot
Module, makes function more diversified, is especially the increase in message interactive function, meets that management company's remote control equipment instrument is prevented
Tear the demand of automatic alarm system open.The present invention controls the loudspeaker to send alarm sound by sound module 124, so as to deterrent
Illegal dismounting personnel, further prevent illegal dismounting personnel from taking instrument 9 apart.
Embodiments of the invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, it is included in the scope of patent protection of the present invention.