[go: up one dir, main page]

CN109990810A - A kind of lavatory position monitoring terminal and lavatory position monitoring method - Google Patents

A kind of lavatory position monitoring terminal and lavatory position monitoring method Download PDF

Info

Publication number
CN109990810A
CN109990810A CN201910289346.0A CN201910289346A CN109990810A CN 109990810 A CN109990810 A CN 109990810A CN 201910289346 A CN201910289346 A CN 201910289346A CN 109990810 A CN109990810 A CN 109990810A
Authority
CN
China
Prior art keywords
lavatory position
switch
component
lavatory
magnetic switch
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
Application number
CN201910289346.0A
Other languages
Chinese (zh)
Inventor
魏立锋
何永革
王剑
张海瑞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XI'AN CHINASTAR M&C Ltd
Original Assignee
XI'AN CHINASTAR M&C Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by XI'AN CHINASTAR M&C Ltd filed Critical XI'AN CHINASTAR M&C Ltd
Priority to CN201910289346.0A priority Critical patent/CN109990810A/en
Publication of CN109990810A publication Critical patent/CN109990810A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/12Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
    • G01D5/25Selecting one or more conductors or channels from a plurality of conductors or channels, e.g. by closing contacts
    • G01D5/251Selecting one or more conductors or channels from a plurality of conductors or channels, e.g. by closing contacts one conductor or channel
    • G01D5/2515Selecting one or more conductors or channels from a plurality of conductors or channels, e.g. by closing contacts one conductor or channel with magnetically controlled switches, e.g. by movement of a magnet

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Emergency Alarm Devices (AREA)

Abstract

The invention discloses a kind of lavatory position monitoring terminals, are mounted on the door of lavatory position, and the lavatory position monitoring terminal includes door lock and monitoring sensor;The door lock includes the first component and second component, and the first component includes lock tongue, and the monitoring sensor is located at the left side of the second component, and the monitoring sensor includes circuit board, battery, magnetic switch, shell and block;Wherein, the circuit board includes data processor, data transmission blocks and data reception module;The data reception module monitors the switch state of the magnetic switch;One end of the block is connect with the magnetic switch, and the other end protrudes into the accommodating space, and concordant with the right end of the second component.It solves in the prior art that public lavatory position service efficiency is low, the technical issues of cannot finding, repair in time after failure, has reached the service condition of the public lavatory position of real-time monitoring, found lavatory position failure in time, on-call maintenance improves the technical effect of public lavatory service efficiency.

Description

A kind of lavatory position monitoring terminal and lavatory position monitoring method
Technical field
The present invention relates to lavatory position monitoring technical field, in particular to a kind of lavatory position monitoring terminal and lavatory position monitoring method.
Background technique
With economic rapid development, in some stadiums, conference and exhibition center, megastore, tourist attractions and subway It the public places of crowd massings such as stands, whenever festivals or holidays, abnormal more of flow of the people, the use demand of public resource is also responsive to increasing Add, especially the use demand of public restroom is even more and increases considerably, and enters lavatory and is inconvenient, usually will appear toilet doorway The phenomenon that bumper-to-bumper, the order of the trip experience and public place of the people seriously affected are crowded also to have buried safety Hidden danger.
But present inventor has found that the above-mentioned prior art at least has the following technical problems:
Present public lavatory, lack lavatory level controlling system, can not real-time monitoring lavatory position service condition, guidance have demand The selection of crowd's rapid and convenient uses.It cannot find that lavatory position is broken down in time, and repair in time, reduce the use of public lavatory Efficiency.
Summary of the invention
The present invention provides a kind of lavatory position monitoring terminal and lavatory position monitoring method, solving public lavatory position in the prior art makes With low efficiency, the technical issues of cannot finding, repair in time after failure, reach the service condition of the public lavatory position of real-time monitoring, Discovery lavatory position failure, on-call maintenance in time improve the technical effect of public lavatory position service efficiency.
To solve the above problems, in a first aspect, being mounted on lavatory position the embodiment of the invention provides a kind of lavatory position monitoring terminal Men Shang, the lavatory position monitoring terminal includes door lock and monitoring sensor;The door lock includes the first component and second component, In, the first component includes lock tongue, and the lock tongue transverse shifting, the first component can be mounted in the first component On the door leaf of lavatory position door;The second component is mounted on the doorframe of lavatory position door, and the second component with it is described An accommodating space is formed between the upper surface of doorframe, the lock tongue can be inserted into the accommodating space;The monitoring sensor peace On the doorframe, the second component is located at the left side of the first component, and the monitoring sensor is located at described second The left side of component, the monitoring sensor includes circuit board, battery, magnetic switch, shell and block;Wherein, the circuit Plate includes data processor, data transmission blocks and data reception module, the data reception module, the data transmission blocks It is connected with the data processor;The battery is connect with the circuit board, and the battery is that the circuit board mentions For electric energy;The magnetic switch is connect with the data reception module, and the data reception module monitors the magnetic switch Switch state;The circuit board, the battery, the magnetic switch are arranged in the shell;One end of the block It is connect with the magnetic switch, the other end of the block protrudes into the accommodating space, and the right end with the second component Concordantly.
Preferably, the circuit board further include: electric quantity acquisition module, respectively with the battery, the data processor It is connected, the electric quantity acquisition module is used to acquire the information about power of the battery in real time, and the information about power is transmitted To the data processor.
Preferably, the lavatory position monitoring terminal further includes timer and alarm;The timer is arranged in the shell It is interior, it is connect with the data processor;The alarm, be arranged on the doorframe, the alarm include alarm button and Loudspeaker, the alarm button, the loudspeaker are connect with the data processor.
Second aspect, a kind of lavatory position monitoring method are applied in the lavatory position monitoring terminal, which comprises
The switch state of the magnetic switch is monitored;
When the switch state for monitoring the magnetic switch becomes closure from opening, following steps are executed:
S11: the switch state of magnetic switch described in continuous acquisition in first time period obtains first switch state letter Breath, judges whether the switch state of the magnetic switch is sent out in the first time period based on the first switch status information It is raw alternately to change, if occurring alternately to change, S12 is executed, S13 is otherwise executed;
S12: after waiting second time period, the switch state of the magnetic switch is acquired again, obtains second switch state Information judges whether the switch state of the magnetic switch is pass after the second time period based on the second switch information It closes, if closing, then executes S13, otherwise execute S14;
S13: the switch state of magnetic switch described in continuous acquisition within the third period obtains third switch state letter Breath, judges whether the switch state of the magnetic switch is sent out within the third period based on the third switching-state information It is raw alternately to change, if occurring alternately to change, S11 is executed, if being determined as the service condition of the lavatory position there is no variation Lavatory bit occupancy;
S14: the switch state of magnetic switch described in continuous acquisition within the 4th period obtains the 4th switch state letter Breath, judges whether the switch state of the magnetic switch is sent out within the 4th period based on the 4th switching-state information It is raw alternately to change, if occurring alternately to change, S11 is executed, if being determined as the service condition of the lavatory position there is no variation It vacates lavatory position.
Preferably, the first time period, the duration of the second time period are equal.
Preferably, the third period, the duration of the 4th period are equal.
Preferably, the first time period is greater than the third period.
Said one or multiple technical solutions in the embodiment of the present invention at least have following one or more technology effects Fruit:
1, the embodiment of the invention provides the embodiment of the invention provides a kind of lavatory position monitoring terminal, it is mounted on lavatory position door On, the lavatory position monitoring terminal includes door lock and monitoring sensor;The door lock includes the first component and second component, wherein The first component includes lock tongue, and the lock tongue transverse shifting, the first component can be mounted on institute in the first component On the door leaf for stating lavatory position door;The second component is mounted on the doorframe of lavatory position door, and the second component and the door An accommodating space is formed between the upper surface of frame, the lock tongue can be inserted into the accommodating space;The monitoring sensor installation On the doorframe, the second component is located at the left side of the first component, and the monitoring sensor is located at described second The left side of part, the monitoring sensor includes circuit board, battery, magnetic switch, shell and block;Wherein, the circuit board Including data processor, data transmission blocks and data reception module, the data reception module, the data transmission blocks are equal It is connected with the data processor;The battery is connect with the circuit board, and the battery provides for the circuit board Electric energy;The magnetic switch is connect with the data reception module, and the data reception module monitors opening for the magnetic switch Off status;The circuit board, the battery, the magnetic switch are arranged in the shell;One end of the block with The magnetic switch connection, the other end of the block protrude into the accommodating space, and flat with the right end of the second component Together.Solve in the prior art that public lavatory position service efficiency is low by above-mentioned lavatory position monitoring terminal, cannot be found in time after failure, The technical issues of maintenance, has reached the service condition of the public lavatory position of real-time monitoring, finds lavatory position failure in time, and on-call maintenance mentions The technical effect of high public lavatory position service efficiency.
2, the embodiment of the present invention also includes by the circuit board: electric quantity acquisition module, respectively with the battery, described Data processor is connected, and the electric quantity acquisition module is used to acquire the information about power of the battery in real time, and by the electricity Amount information passes to the data processor, reaches the battery capacity that sensor is monitored described in real-time monitoring, in time described in discovery Accumulator electric-quantity is insufficient, replaces in time, guarantees the technical effect of lavatory position monitoring normal operation of terminal.
3, the embodiment of the invention provides a kind of lavatory position monitoring methods, are applied in the lavatory position monitoring terminal, the side Method includes: to be monitored to the switch state of the magnetic switch;When monitoring the switch state of the magnetic switch by opening When becoming closure, following steps: S11: the switch state of magnetic switch described in continuous acquisition in first time period are executed, are obtained First switch status information judges the switch state of the magnetic switch described first based on the first switch status information Whether occur alternately to change in period, if occurring alternately to change, executes S12, otherwise execute S13;S12: when waiting second Between after section, acquire the switch state of the magnetic switch again, obtain second switch status information, believed based on the second switch Breath judges whether the switch state of the magnetic switch is closing after the second time period, if closing, then executes S13, Otherwise S14 is executed;S13: the switch state of magnetic switch described in continuous acquisition within the third period obtains third switch state Information, based on the third switching-state information judge the switch state of the magnetic switch within the third period whether Occur alternately to change, if occurring alternately to change, execute S11, if determining the service condition of the lavatory position there is no variation For lavatory bit occupancy;S14: the switch state of magnetic switch described in continuous acquisition within the 4th period obtains the 4th switch state Information, based on the 4th switching-state information judge the switch state of the magnetic switch within the 4th period whether Occur alternately to change, if occurring alternately to change, execute S11, if determining the service condition of the lavatory position there is no variation It is vacated for lavatory position.Solves artificial switch door lock repeatedly in the prior art by above-mentioned lavatory position monitoring method, eventually to the monitoring of lavatory position The technical issues of end interferes, and influences lavatory position monitoring terminal monitoring accuracy, has reached elimination interference, has improved the monitoring of lavatory position eventually The technical effect of end monitoring accuracy.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
Fig. 1 is a kind of structural schematic diagram of lavatory position monitoring terminal in the embodiment of the present invention;
Fig. 2 is a kind of flow chart of lavatory position monitoring method in the embodiment of the present invention.
Description of symbols: the first component 1;Lock tongue 2;Second component 3;Shell 4;Block 5.
Specific embodiment
The embodiment of the invention provides a kind of lavatory position monitoring terminals, solve public lavatory position service efficiency in the prior art It is low, the technical issues of cannot finding, repair in time after failure, reaches the service condition of the public lavatory position of real-time monitoring, sent out in time Existing lavatory position failure, on-call maintenance improve the technical effect of public lavatory position service efficiency.
Technical solution in the embodiment of the present invention, overall structure are as follows:
A kind of lavatory position monitoring terminal, is mounted on the door of lavatory position, and the lavatory position monitoring terminal includes door lock and monitoring sensor; The door lock includes the first component and second component, wherein the first component includes lock tongue, and the lock tongue can be described first Transverse shifting in component, the first component are mounted on the door leaf of lavatory position door;The second component is mounted on the lavatory On the doorframe of position door, and an accommodating space is formed between the second component and the upper surface of the doorframe, the lock tongue can be inserted Enter in the accommodating space;The monitoring sensor is mounted on the doorframe, and the second component is located at the first component Left side, the monitoring sensor is located at the left side of the second component, the monitoring sensor include circuit board, battery, Magnetic switch, shell and block;Wherein, the circuit board includes data processor, data transmission blocks and data reception module, The data reception module, the data transmission blocks are connected with the data processor;The battery and the electricity The connection of road plate, the battery provide electric energy for the circuit board;The magnetic switch is connect with the data reception module, institute State the switch state that data reception module monitors the magnetic switch;The circuit board, the battery, the magnetic switch are equal It is arranged in the shell;One end of the block is connect with the magnetic switch, and the other end of the block protrudes into the appearance In emptying, and it is concordant with the right end of the second component.It is solved by above-mentioned lavatory position monitoring terminal public in the prior art Lavatory position service efficiency is low, the technical issues of cannot finding, repair in time after failure, has reached the use of the public lavatory position of real-time monitoring Situation, finds lavatory position failure in time, and on-call maintenance improves the technical effect of public lavatory position service efficiency.
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Embodiment one
The embodiment of the invention provides a kind of lavatory position monitoring terminals, referring to FIG. 1, being mounted on the door of lavatory position, the lavatory position Monitoring terminal includes door lock and monitoring sensor;
The door lock includes the first component 1 and second component 3, wherein the first component 1 includes lock tongue 2, the lock tongue 2 transverse shifting, the first component 1 can be mounted on the door leaf of lavatory position door in the first component 1;The second component 3 It is mounted on the doorframe of lavatory position door, and forms an accommodating space between the second component 3 and the upper surface of the doorframe, The lock tongue 2 can be inserted into the accommodating space;
Specifically, monitoring terminal in lavatory position is mounted on the door of the lavatory position, lavatory position door include the door leaf and Described doorframe two parts.The lavatory position monitoring terminal of installation one on each lavatory position door, multiple lavatory position monitoring terminals It is connect respectively with lavatory level controlling system, each lavatory position monitoring terminal is corresponding with fixed volume in the lavatory level controlling system Number.Monitoring terminal in lavatory position is used to monitor the use information of the lavatory position, the use information include the lavatory position whether In use, the duration used, the number used etc., the use information passes to lavatory position control by lavatory position monitoring terminal System processed, the lavatory level controlling system show the use information, meanwhile, the lavatory level controlling system also makes to described It is handled with information, judges whether the lavatory position is in normal operating condition and illustrates institute if being not at normal operating condition It states the failure of lavatory position to need repairing, the lavatory level controlling system is to show the lavatory position number broken down, before prompting maintenance personal It goes to repair, improves the utilization efficiency of lavatory position.For example, when the access times of the lavatory level controlling system discovery lavatory A position significantly reduce When, determine that the lavatory A position is broken down, the lavatory level controlling system is to show the lavatory position number broken down, and is gone before reminding maintenance personal Maintenance improves the utilization efficiency of the lavatory A position.
Monitoring terminal in lavatory position includes door lock and monitoring sensor, and the door lock includes the first component 1 and described Second component 3, the second component 3 are located at the left side of the first component 1.The first component 1 is mounted on lavatory position door On, a lock tongue 2 is set in the first component 1, the lock tongue 2 can in the first component 1 transverse shifting.Described Two components 3 are mounted on the doorframe, form an accommodating space between the surface on the second component 3 and the doorframe.Institute During stating the lateral movement to the second component 3 of lock tongue 2, the lock tongue 2 gradually stretches out the first component 1, into institute Accommodating space is stated, thus by the door lock of the lavatory position;It is described after the upper lock tongue 2 is all retracted out of described accommodating space Lavatory position door is opened.
The monitoring sensor is mounted on the doorframe, and the second component 3 is located at the left side of the first component 1, The monitoring sensor is located at the left side of the second component 3, and the monitoring sensor includes that circuit board, battery, magnetic control are opened Pass, shell 4 and block 5;Wherein, the circuit board includes data processor, data transmission blocks and data reception module, described Data reception module, the data transmission blocks are connected with the data processor;
Specifically, the monitoring sensor is used to monitor the service condition of the lavatory position, the monitoring sensor installation On the doorframe, and it is located at the left side of the second component 3, the monitoring sensor includes the circuit board, the electric power storage Pond, the magnetic switch, the shell 4, the block 5.The circuit board is the core component of the monitoring sensor, described The data processor, the data reception module, the data transmission blocks, the data reception are provided on circuit board Block, the data transmission blocks are connected with the data processor.The data reception module is to the magnetic switch Switch state is acquired, and the switch state is sent to the data processor, and the data processor is opened described It closes information to be handled, and the switching information sends the data transmission blocks to by treated, the data send mould Treated that the switching information sends the lavatory level controlling system to by described for block, thus complete lavatory position monitoring terminal with The data communication of the lavatory level controlling system.
The battery is connect with the circuit board, and the battery provides electric energy for the circuit board;The magnetic control is opened Pass is connect with the data reception module, and the data reception module monitors the switch state of the magnetic switch;The circuit Plate, the battery, the magnetic switch are arranged in the shell 4;One end of the block 5 and the magnetic switch connect It connects, the other end of the block 5 protrudes into the accommodating space, and concordant with the right end of the second component 3.
Specifically, the circuit board, the battery, the magnetic switch are wrapped in the shell 4 by the shell 4 It is interior, it not only can protect electronic component, extend the service life of the monitoring sensor, also make the shape of the monitoring sensor It is more beautiful.
The magnetic switch is a kind of line switching device controlled using magnetic field signal, includes permanent magnet and dry spring Pipe, the tongue tube is the abbreviation of dry type tongue spring tube, construction be full of inert gas sealed glass tube in encapsulation 2 or 2 or more elastic metallic reeds.When there is external magnetic field close to glass tube, under the action of magnetic field magnetic line, two springs Piece is magnetized and the contact that attracts each other, and the reed is attracted, so that borrowed circuit communication.It is described after outer magneticaction disappears Reed is separated because of natural resiliency, and circuit disconnects.
One end of the block 5 is located in the shell 4, contacts with the permanent magnet of the magnetic switch, the gear The other end of block 5 protrudes into the accommodating space, when the lavatory position, door is opened, the other end of the block 5 and described second The right end of component 3 is concordant, and the block 5 under the effect of external force can be with transverse shifting.
When the lock tongue 2 is mobile to the doorframe, i.e., when the described door lock is locked, the lock tongue 2 progresses into described In accommodating space, and the block 5 is pushed to be moved to the left, the block 5 pushes the permanent magnet close to the tongue tube, described Under the action of the permanent magnet field, two reeds are magnetized and the contact that attracts each other tongue tube, and the reed is attracted, The magnetic switch connection.The data reception module monitors that the switch state of the magnetic switch becomes being closed from opening, First state information is passed into the data processor, it is right after the data processor receives the first state information The first state information is compared judgement, it is found that lavatory position door is closed, the data processor transmits the first data To the data transmission blocks, first data are passed to the lavatory level controlling system by the data transmission blocks, described Lavatory level controlling system shows that the lavatory position is occupied.
When the lock tongue 2 gradually leaves the accommodating space, i.e., when the door lock is opened, the block 5 is to the right Mobile, the permanent magnet leaves the tongue tube, and after outer magneticaction disappears, the reed is separated because of natural resiliency, described Magnetic switch disconnects.The data reception module monitors that the switch state of the magnetic switch becomes opening from being closed, by Two-state information passes to the data processor, after the data processor receives second information, to described second Status information is compared judgement, it is found that lavatory position door is opened, the second data are passed to the number by the data processor According to sending module, second data are passed to the lavatory level controlling system, lavatory position monitoring by the data transmission blocks System shows that the lavatory position is unoccupied.
Further, the circuit board further includes electric quantity acquisition module, respectively with the battery, the data processor It is connected, the electric quantity acquisition module is used to acquire the information about power of the battery in real time, and the information about power is transmitted To the data processor.
Specifically, the electric quantity acquisition module is connect with the battery, the data processor respectively, the electricity Acquisition module acquires the information about power of the battery in real time, and the information about power is passed to the data processor, institute It states data processor and the information about power is passed into the lavatory level controlling system, the lavatory position by the data transmission blocks The information about power of battery described in control system real-time display reaches the technology effect of accumulator electric-quantity information described in real-time monitoring Fruit.It is provided with threshold power in the lavatory level controlling system, when the information about power is lower than the threshold power, the lavatory position Control system prompting maintenance personal replaces the battery of corresponding lavatory position in time, when reaching the discovery accumulator electric-quantity deficiency, and When remind maintenance personnel's degree of progress battery altering, guarantee lavatory position monitoring normal operation of terminal, to guarantee lavatory position control The continuous service of system processed.
Further, the lavatory position monitoring terminal further includes timer and alarm;The timer is arranged in the shell In body 4, it is connect with the data processor;The alarm is arranged on the doorframe, and the alarm includes alarm button And loudspeaker, the alarm button, the loudspeaker are connect with the data processor.
Specifically, the lavatory position monitoring terminal further includes the timer, the timer is arranged in the shell 4 It is interior, and connect with the data processor.When monitoring sensor closure, i.e., when on the described door lock, at the data Reason device controls the timer and starts timing, and the timer sends clocking information to the data processor in real time, described The clocking information is passed to the lavatory level controlling system by the data transmission blocks by data processor, and in the lavatory Real-time display on level controlling system.
The lavatory position monitoring terminal further includes alarm, and the alarm is arranged on the doorframe, the alarm packet Loudspeaker and alarm button are included, the alarm button, the loudspeaker are connect with the data processor.Lavatory position control First predetermined time of setting and the second predetermined time in system, and second predetermined time is greater than first predetermined time.
When the clocking information is greater than first predetermined time, i.e., the position of the lavatory described in user occupancy duration is greater than described When the first predetermined time, the lavatory level controlling system issues lavatory position to the data processor and uses too long alerting signal, described Loudspeaker described in data processor controlled issues the voice prompting of " you use lavatory position too long, if you need to help please by alarm button ", Reach and remind user occupancy lavatory position too long, if you need to help the technical effect cried for help in time.When the clocking information is greater than described the When two predetermined times, i.e., when the position of the lavatory described in user occupancy duration is greater than second predetermined time, the lavatory level controlling system Display is gone to lavatory position to check, is avoided user that accident occurs using the lavatory position number of overlength before reminding administrative staff.
When the door lock can not be opened or other users want help, user can press the alarm button, institute It states after data processor receives the alarm signal, the alarm signal is passed to by the data transmission blocks described Lavatory level controlling system, after the lavatory level controlling system receives the alarm signal, display issues the lavatory position number of alarm signal, mentions Awake administrative staff are handled in time.
One lavatory has multiple lavatory positions, installs a monitoring sensor, multiple prisons on each lavatory position door Sensor is surveyed to be connected with the lavatory level controlling system respectively, when any one described magnetic switch breaks down, other magnetic controls Switch can still work normally, and ensure that the stability of the lavatory level controlling system.
In embodiments of the present invention, solve in the prior art that public lavatory position service efficiency is low by above-mentioned monitoring terminal, The technical issues of cannot finding, repair in time after failure, has reached the service condition of the public lavatory position of real-time monitoring, has found lavatory in time Position failure, on-call maintenance improve the technical effect of public lavatory position service efficiency.
Embodiment two
In practical applications, when someone, which enters lavatory position, carries out shutdown movement, it will usually the feelings of opening-closing door lock occur repeatedly Condition will lead to the alternately variation that the sense state of the magnetic switch is frequent in this way, i.e., " shake ".The frequency of sense state Numerous alternately variation correctly monitors lavatory bit occupancy state to lavatory position monitoring terminal and interferes, it is necessary to filtering algorithm to its into Row excludes, and improves the accuracy of the lavatory position monitoring terminal monitoring.For this purpose, present invention also provides a kind of lavatory position monitoring method, Applied in the lavatory position monitoring terminal, Fig. 1, Fig. 2 are please referred to, which comprises
The switch state of the magnetic switch is monitored;
When the switch state for monitoring the magnetic switch becomes closure from opening, following steps are executed:
S11: the switch state of magnetic switch described in continuous acquisition in first time period obtains first switch state letter Breath, judges whether the switch state of the magnetic switch is sent out in the first time period based on the first switch status information It is raw alternately to change, if occurring alternately to change, S12 is executed, S13 is otherwise executed;
Specifically, the original state of the magnetic switch is to open, i.e., the described lavatory position is unoccupied.When lavatory position quilt When occupancy, the door lock closure, the state of the magnetic switch becomes closing from opening.When the state of the magnetic switch is by beating It opens when becoming closing, monitoring terminal in lavatory position is waken up, and executes S11.
When the state of the magnetic switch becomes closure from opening, the lavatory position monitoring terminal is waken up, and starts to continue The status information first time period for acquiring the magnetic switch obtains the first switch status information, and lavatory position monitoring is eventually End judges whether the switch state of the magnetic switch is sent out in the first time period according to the first switch status information Raw alternately to change, i.e., repeatedly whether opening-closing door lock if occurring alternately to change executes S12 to user in the first time period Further judgement is done, if executing S13 there is no alternately changing and judging whether the lavatory position is occupied.
S12: after waiting second time period, the switch state of the magnetic switch is acquired again, obtains second switch state Information judges whether the switch state of the magnetic switch is pass after the second time period based on the second switch information It closes, if closing, then executes S13, otherwise execute S14;
Specifically, lavatory position monitoring is eventually when the magnetic switch occurs alternately to change in the first time period After end waits second time period, the switch state for acquiring the magnetic switch is primary, obtains the second switch information.The lavatory Position monitoring terminal judges that the switch state of the magnetic switch is after the second time period according to the second switch information No is to close, that is, judges whether the door lock is in off state after the second time period, if closing, then execute S13 and sentence Whether lavatory position of breaking is occupied.If opening, then executes S14 and judge whether the lavatory position is vacated.
S13: the switch state of magnetic switch described in continuous acquisition within the third period obtains third switch state letter Breath, judges whether the switch state of the magnetic switch is sent out within the third period based on the third switching-state information It is raw alternately to change, if occurring alternately to change, S11 is executed, if being determined as the service condition of the lavatory position there is no variation Lavatory bit occupancy;
Specifically, the switch state third period of magnetic switch described in the lavatory position monitoring terminal continuous acquisition, obtains To the third switching information.The lavatory position monitoring terminal judges the switch of the magnetic switch according to the third switching information Whether state occurred alternately to change within the third period, that is, judged whether user continuously opens within the third period The door lock is closed, if user continuously switchs the door lock within the third period, S11 is executed and rejudges the lavatory position It is whether occupied.It is if user does not switch the door lock continuously in the third period, the service condition of the lavatory position is true It is set to lavatory bit occupancy.
S14: the switch state of magnetic switch described in continuous acquisition within the 4th period obtains the 4th switch state letter Breath, judges whether the switch state of the magnetic switch is sent out within the 4th period based on the 4th switching-state information It is raw alternately to change, if occurring alternately to change, S11 is executed, if being determined as the service condition of the lavatory position there is no variation It vacates lavatory position.
Specifically, the 4th period of switch state of magnetic switch described in the lavatory position monitoring terminal continuous acquisition, obtains To the 4th switching information.The lavatory position monitoring terminal judges the switch of the magnetic switch according to the 4th switching information Whether state occurred alternately to change within the 4th period, that is, judged whether user continuously opens within the 4th period The door lock is closed, if user continuously switchs the door lock within the 4th period, S11 is executed and rejudges the lavatory position It is whether occupied.It is if user does not switch the door lock continuously in the third period, the service condition of the lavatory position is true It is set to lavatory position to vacate.
Further, the first time period, the duration of the second time period are equal.
Further, the third period, the duration of the 4th period are equal.
Further, the first time period is greater than the third period.
Specifically, the first time period, the second time period are used to monitor the change of the magnetic switch state, Another state is changed into from a state, so needing time length a little judges whether the variation is stable, avoids accidentally touching production Raw interference;The third period, the second time period are built upon the first time period, the second time period On basis, there is the accuracy monitored after the stationary phase of the first time period using third period promotion, if Be the third period it is identical with the duration of the first time period or be more than the first time period, can be to the real-time of monitoring It has an impact, and any change will not be generated to the accuracy of monitoring, therefore, the third period is less than the first time Section.In the present embodiment, the first time period, the second time period are equal to 5s, the third period, the described 4th Period is equal to 3s.The first time period, the duration of the third period, user can also be configured as needed. If requirement of real-time is stringent, the first time period, the third period can be reduced.
In embodiments of the present invention, artificial switch gate repeatedly in the prior art is solved by above-mentioned lavatory position monitoring method Lock has reached elimination interference, has improved lavatory the technical issues of interfering to lavatory position monitoring terminal, influence the accuracy of its monitoring The technical effect of the accuracy of position monitoring terminal monitoring.
Said one or multiple technical solutions in the embodiment of the present invention at least have following one or more technology effects Fruit:
1, the embodiment of the invention provides the embodiment of the invention provides a kind of lavatory position monitoring terminal, it is mounted on lavatory position door On, the lavatory position monitoring terminal includes door lock and monitoring sensor;The door lock includes the first component and second component, wherein The first component includes lock tongue, and the lock tongue transverse shifting, the first component can be mounted on institute in the first component On the door leaf for stating lavatory position door;The second component is mounted on the doorframe of lavatory position door, and the second component and the door An accommodating space is formed between the upper surface of frame, the lock tongue can be inserted into the accommodating space;The monitoring sensor installation On the doorframe, the second component is located at the left side of the first component, and the monitoring sensor is located at described second The left side of part, the monitoring sensor includes circuit board, battery, magnetic switch, shell and block;Wherein, the circuit board Including data processor, data transmission blocks and data reception module, the data reception module, the data transmission blocks are equal It is connected with the data processor;The battery is connect with the circuit board, and the battery provides for the circuit board Electric energy;The magnetic switch is connect with the data reception module, and the data reception module monitors opening for the magnetic switch Off status;The circuit board, the battery, the magnetic switch are arranged in the shell;One end of the block with The magnetic switch connection, the other end of the block protrude into the accommodating space, and flat with the right end of the second component Together.Solve in the prior art that public lavatory position service efficiency is low by above-mentioned lavatory position monitoring terminal, cannot be found in time after failure, The technical issues of maintenance, has reached the service condition of the public lavatory position of real-time monitoring, finds lavatory position failure in time, and on-call maintenance mentions The technical effect of high public lavatory position service efficiency.
2, the embodiment of the present invention also includes by the circuit board: electric quantity acquisition module, respectively with the battery, described Data processor is connected, and the electric quantity acquisition module is used to acquire the information about power of the battery in real time, and by the electricity Amount information passes to the data processor, reaches the battery capacity that sensor is monitored described in real-time monitoring, in time described in discovery Accumulator electric-quantity is insufficient, replaces in time, guarantees the technical effect of lavatory position monitoring normal operation of terminal.
3, the embodiment of the invention provides a kind of lavatory position monitoring methods, are applied in the lavatory position monitoring terminal, the side Method includes: to be monitored to the switch state of the magnetic switch;When monitoring the switch state of the magnetic switch by opening When becoming closure, following steps: S11: the switch state of magnetic switch described in continuous acquisition in first time period are executed, are obtained First switch status information judges the switch state of the magnetic switch described first based on the first switch status information Whether occur alternately to change in period, if occurring alternately to change, executes S12, otherwise execute S13;S12: when waiting second Between after section, acquire the switch state of the magnetic switch again, obtain second switch status information, believed based on the second switch Breath judges whether the switch state of the magnetic switch is closing after the second time period, if closing, then executes S13, Otherwise S14 is executed;S13: the switch state of magnetic switch described in continuous acquisition within the third period obtains third switch state Information, based on the third switching-state information judge the switch state of the magnetic switch within the third period whether Occur alternately to change, if occurring alternately to change, execute S11, if determining the service condition of the lavatory position there is no variation For lavatory bit occupancy;S14: the switch state of magnetic switch described in continuous acquisition within the 4th period obtains the 4th switch state Information, based on the 4th switching-state information judge the switch state of the magnetic switch within the 4th period whether Occur alternately to change, if occurring alternately to change, execute S11, if determining the service condition of the lavatory position there is no variation It is vacated for lavatory position.Solves artificial switch door lock repeatedly in the prior art by above-mentioned lavatory position monitoring method, eventually to the monitoring of lavatory position The technical issues of end interferes, and influences lavatory position monitoring terminal monitoring accuracy, has reached elimination interference, has improved the monitoring of lavatory position eventually The technical effect of end monitoring accuracy.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications can be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, those skilled in the art can carry out various modification and variations without departing from this hair to the embodiment of the present invention The spirit and scope of bright embodiment.In this way, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention And its within the scope of equivalent technologies, then the present invention is also intended to include these modifications and variations.

Claims (7)

1. a kind of lavatory position monitoring terminal, is mounted on the door of lavatory position, which is characterized in that the lavatory position monitoring terminal includes door lock and prison Survey sensor;
The door lock includes the first component and second component, wherein the first component includes lock tongue, and the lock tongue can be described Transverse shifting in the first component, the first component are mounted on the door leaf of lavatory position door;The second component is mounted on institute On the doorframe for stating lavatory position door, and an accommodating space is formed between the second component and the upper surface of the doorframe, the lock tongue It can be inserted into the accommodating space;
The monitoring sensor is mounted on the doorframe, and the second component is located at the left side of the first component, the prison The left side that sensor is located at the second component is surveyed, the monitoring sensor includes circuit board, battery, magnetic switch, shell And block;
Wherein, the circuit board includes data processor, data transmission blocks and data reception module, the data reception Block, the data transmission blocks are connected with the data processor;
The battery is connect with the circuit board, and the battery provides electric energy for the circuit board;
The magnetic switch is connect with the data reception module, and the data reception module monitors the switch of the magnetic switch State;
The circuit board, the battery, the magnetic switch are arranged in the shell;
One end of the block is connect with the magnetic switch, and the other end of the block protrudes into the accommodating space, and with The right end of the second component is concordant.
2. monitoring terminal in lavatory position as described in claim 1, which is characterized in that the circuit board further include:
Electric quantity acquisition module is connected with the battery, the data processor respectively, and the electric quantity acquisition module is for real When acquire the information about power of the battery, and the information about power is passed into the data processor.
3. monitoring terminal as described in claim 1, which is characterized in that further include timer and alarm;
The timer is arranged in the shell, connect with the data processor;
The alarm is arranged on the doorframe, and the alarm includes alarm button and loudspeaker, the alarm button, The loudspeaker is connect with the data processor.
4. a kind of lavatory position monitoring method is applied in monitoring terminal in lavatory position as claimed in any one of claims 1-3, feature It is, which comprises
The switch state of the magnetic switch is monitored;
When the switch state for monitoring the magnetic switch becomes closure from opening, following steps are executed:
S11: the switch state of magnetic switch described in continuous acquisition in first time period obtains first switch status information, base Judge whether the switch state of the magnetic switch is handed in the first time period in the first switch status information For variation, if occurring alternately to change, S12 is executed, S13 is otherwise executed;
S12: after waiting second time period, acquiring the switch state of the magnetic switch again, obtain second switch status information, Whether the switch state that the magnetic switch is judged based on the second switch information is closing after the second time period, if To close, then S13 is executed, S14 is otherwise executed;
S13: the switch state of magnetic switch described in continuous acquisition within the third period obtains third switching-state information, base Judge whether the switch state of the magnetic switch is handed within the third period in the third switching-state information For variation, if occurring alternately to change, S11 is executed, if the service condition of the lavatory position is determined as lavatory position there is no variation It occupies;
S14: the switch state of magnetic switch described in continuous acquisition within the 4th period obtains the 4th switching-state information, base Judge whether the switch state of the magnetic switch is handed within the 4th period in the 4th switching-state information For variation, if occurring alternately to change, S11 is executed, if the service condition of the lavatory position is determined as lavatory position there is no variation It vacates.
5. lavatory position monitoring method as claimed in claim 4, which is characterized in that the first time period, the second time period Duration it is equal.
6. lavatory position monitoring method as claimed in claim 4, which is characterized in that the third period, the 4th period Duration it is equal.
7. lavatory position monitoring method as claimed in claim 4, which is characterized in that the first time period is greater than the third time Section.
CN201910289346.0A 2019-04-11 2019-04-11 A kind of lavatory position monitoring terminal and lavatory position monitoring method Pending CN109990810A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910289346.0A CN109990810A (en) 2019-04-11 2019-04-11 A kind of lavatory position monitoring terminal and lavatory position monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910289346.0A CN109990810A (en) 2019-04-11 2019-04-11 A kind of lavatory position monitoring terminal and lavatory position monitoring method

Publications (1)

Publication Number Publication Date
CN109990810A true CN109990810A (en) 2019-07-09

Family

ID=67133112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910289346.0A Pending CN109990810A (en) 2019-04-11 2019-04-11 A kind of lavatory position monitoring terminal and lavatory position monitoring method

Country Status (1)

Country Link
CN (1) CN109990810A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112581334A (en) * 2021-01-14 2021-03-30 黑龙江八一农垦大学 Student bedroom management method and device, electronic equipment and intelligent management system

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2108140U (en) * 1991-12-10 1992-06-24 尹建国 Alarm lock
CN2713556Y (en) * 2004-07-08 2005-07-27 李涛 Sensor for magnetic control alarm
CN101196087A (en) * 2006-12-06 2008-06-11 曹光 Alarming lock core
CN102140871A (en) * 2010-02-01 2011-08-03 苏彬亮 Automatic door lock
CN202913799U (en) * 2012-11-18 2013-05-01 张善元 Door with magnetic-controlled switch lock
CN103885419A (en) * 2014-03-24 2014-06-25 东华大学 Intelligent toilet information collection system
CN105608838A (en) * 2016-03-04 2016-05-25 京东方科技集团股份有限公司 Monitoring system and method
CN106469498A (en) * 2015-08-14 2017-03-01 周勇 A kind of switch alarm device and method
CN207583099U (en) * 2017-06-09 2018-07-06 重庆城池通环保科技有限公司 A kind of multi-door state instruction lock tongue box
CN207799830U (en) * 2017-12-20 2018-08-31 山东火力数控设备有限公司 Public restroom lavatory position intelligent guidance system
CN208122520U (en) * 2018-04-03 2018-11-20 中国电子科技集团公司第七研究所 A kind of door lock monitored with display switch state
CN208384783U (en) * 2018-06-12 2019-01-15 榆林职业技术学院 A kind of specification public lavatory using the time the timer that goes to the toilet

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2108140U (en) * 1991-12-10 1992-06-24 尹建国 Alarm lock
CN2713556Y (en) * 2004-07-08 2005-07-27 李涛 Sensor for magnetic control alarm
CN101196087A (en) * 2006-12-06 2008-06-11 曹光 Alarming lock core
CN102140871A (en) * 2010-02-01 2011-08-03 苏彬亮 Automatic door lock
CN202913799U (en) * 2012-11-18 2013-05-01 张善元 Door with magnetic-controlled switch lock
CN103885419A (en) * 2014-03-24 2014-06-25 东华大学 Intelligent toilet information collection system
CN106469498A (en) * 2015-08-14 2017-03-01 周勇 A kind of switch alarm device and method
CN105608838A (en) * 2016-03-04 2016-05-25 京东方科技集团股份有限公司 Monitoring system and method
WO2017148061A1 (en) * 2016-03-04 2017-09-08 京东方科技集团股份有限公司 Monitoring system and method
CN207583099U (en) * 2017-06-09 2018-07-06 重庆城池通环保科技有限公司 A kind of multi-door state instruction lock tongue box
CN207799830U (en) * 2017-12-20 2018-08-31 山东火力数控设备有限公司 Public restroom lavatory position intelligent guidance system
CN208122520U (en) * 2018-04-03 2018-11-20 中国电子科技集团公司第七研究所 A kind of door lock monitored with display switch state
CN208384783U (en) * 2018-06-12 2019-01-15 榆林职业技术学院 A kind of specification public lavatory using the time the timer that goes to the toilet

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112581334A (en) * 2021-01-14 2021-03-30 黑龙江八一农垦大学 Student bedroom management method and device, electronic equipment and intelligent management system

Similar Documents

Publication Publication Date Title
CN103702289A (en) Wifi-based life circle management method and mobile terminal
CN108462071A (en) Intelligent distribution box based on Internet of things and control method thereof
CN109990810A (en) A kind of lavatory position monitoring terminal and lavatory position monitoring method
CN201820326U (en) Cable anti-theft device
CN101742767A (en) Monitoring and management system of city street lamp
CN103516876A (en) Mobile terminal and concealed help seeking method
CN212723039U (en) Anti-electricity-stealing smart electric meter
CN107256619B (en) A kind of key, which is forgotten to dial, to be reminded and illumination intelligence system
CN204299419U (en) Multifunctional monitoring anti-theft alarm door
CN101086798A (en) Air cable alarming system and method
CN112216571A (en) Energy-saving and environment-friendly circuit grading alarm and power-off device
CN203015235U (en) Sound and light control lamp with fire-fighting forcible startup function
CN208706023U (en) A switch stealth jump intelligent alarm system
CN206789029U (en) Transformer station's cabinet door opens alarm set
CN207488808U (en) A kind of novel intelligent building system
CN209510155U (en) A kind of window with warning device
CN214960562U (en) Screen-splitting electric cabinet
CN113364092A (en) Intelligent charging cabinet for power battery
CN218850093U (en) Novel anti-theft electric meter box
CN204423582U (en) A kind of can with the alarm device of multiple security facilities cooperating
CN201054176Y (en) Air cable alarming system
CN214751479U (en) Intelligent electric cabinet with intelligent screen
CN222260245U (en) Entrance guard state early warning circuit and device
CN219642765U (en) A circuit breaker anti-jump device
CN205334178U (en) Outdoor transformer substation monitoring host computer of anti -interference type restarts system

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: 20190709

RJ01 Rejection of invention patent application after publication