Disclosure of Invention
In order to avoid the situation that residents put garbage into the garbage can in a wrong mode, the application provides an intelligent garbage can monitoring and early warning method, device, terminal and computer readable storage medium.
In a first aspect, the application provides an intelligent garbage can monitoring and early warning method, which adopts the following technical scheme:
an intelligent garbage can monitoring and early warning method comprises the following steps:
when garbage is put into a garbage can and stays at the upper end of the garbage can, collecting information of a garbage bag containing the garbage;
judging whether the information of the garbage bag is matched with the preset type of the garbage can or not, if so, outputting an allowing signal, and if not, outputting a prompting signal;
allowing the garbage bag to fall into the garbage can based on the allowing signal;
and executing a prompt action based on the prompt signal.
By adopting the technical scheme, when a throwing person puts garbage into the garbage can, the garbage can stay at the upper end of the garbage can in advance; then judge whether the information of this disposal bag matches with the classification of preset garbage bin, if both match, then output permission signal, then based on permission signal, allow this rubbish to fall into to this garbage bin in, if mismatch, then output prompt signal to based on this prompt signal, indicate this personnel of puting in, so that this personnel of puting in takes out this rubbish, put in again, consequently avoided the personnel of puting in to put into garbage bin with rubbish mistake.
Optionally, the step after the prompt action is executed includes:
acquiring the time length of the garbage staying in the garbage can;
and judging whether the duration is greater than a preset duration threshold, if so, outputting management information to a mobile terminal of a manager.
By adopting the technical scheme, if the garbage is placed into the garbage can by mistake, after the prompt action is executed, the garbage still stays in the garbage can, and the situation that the throwing personnel walk is indicated, the time length for the garbage to stay in the garbage can is obtained, the time length is compared with the time length threshold value, and if the time length is greater than the preset time length threshold value, the management information is output to the moving end of the management personnel, so that the management personnel take away the garbage in time, and the subsequent garbage is prevented from being placed into the garbage can.
Optionally, the intelligent trash can monitoring and early warning method further includes:
the method comprises the steps that the extrusion pressure value of the lower surface of a stay plate is obtained in real time, and the stay plate is rotatably connected into a garbage can and used for enabling garbage to stay at the upper end of the garbage can;
judging whether the extrusion pressure value is greater than or equal to a preset extrusion pressure threshold value or not, and if so, outputting a closing signal;
closing the inlet of the trash can based on the closing signal.
Through adopting above-mentioned technical scheme, when the extrusion pressure value that stops the board lower surface is greater than or equal to the extrusion pressure threshold value, explain that the disposal bag stops the board lower surface with the contact, the garbage bin is full this moment to output closed signal, so that the garbage bin import is closed, avoid putting into rubbish again, lead to garbage bin rubbish to spill over, thereby influence the clearance of later stage to rubbish.
Optionally, the step before closing the inlet of the trash can includes:
acquiring a liquid level value in the garbage can in real time;
judging whether the liquid level value is larger than a preset liquid level threshold value or not, and if so, outputting a drainage signal;
and controlling a drainage assembly to drain water in the garbage can based on the drainage signal.
Through adopting above-mentioned technical scheme, especially when rainy day, if the liquid level value is greater than the liquid level threshold value, then explain that the water in the garbage bin is too much, at this moment, can pass through drainage signal, control drainage subassembly is with the water of garbage bin to external world to the later stage cleanup crew of being convenient for is to the processing of rubbish.
Optionally, the step after closing the inlet of the trash can includes:
acquiring a humidity value in the garbage can in real time;
judging whether the humidity value is larger than a preset humidity threshold value or not, and if so, outputting early warning information; wherein the humidity threshold is less than the liquid level threshold.
Through adopting above-mentioned technical scheme, after the import of closed garbage bin, through the humidity value in the real-time acquisition garbage bin to compare this humidity value and humidity threshold value, if the humidity value is greater than the humidity threshold value, then output early warning information, through early warning information, can remind the cleanup crew of this interior rubbish of garbage bin of post processing, probably have a small amount of water in the garbage bin, so that the staff is handled carefully.
Optionally, the step after closing the inlet of the trash can further includes:
acquiring a starting instruction;
and opening the inlet of the garbage can based on the opening instruction.
By adopting the technical scheme, when cleaning personnel process garbage, the inlet of the garbage can be automatically opened through the opening instruction.
Optionally, the step before the garbage is put into the garbage can includes:
acquiring the stay time of personnel at the garbage can;
and judging whether the stay time is longer than a preset stay time threshold, if so, outputting voice information, wherein the voice information is one of 'please tie the garbage bag' and 'tie the garbage bag'.
Through adopting above-mentioned technical scheme, before throwing in personnel and putting into the garbage bin with rubbish, export speech information in advance for it is tight with the disposal bag to throw in personnel, avoids the disposal bag to fall into the garbage bin after, is the form that scatters, thereby is convenient for later stage cleaning personnel to the processing of rubbish.
The second aspect, this application provides an intelligence garbage bin monitoring early warning device, adopts following technical scheme:
an intelligent garbage can monitoring and early warning device, comprising:
the information acquisition module is used for acquiring information of a garbage bag containing garbage after the garbage is put into the garbage can;
the staying plate is rotatably connected with the inlet end of the garbage can and used for bearing the garbage bag;
the judging module is used for judging whether the information of the garbage bag is matched with the preset information of the garbage can or not, if so, outputting an allowing signal, and if not, outputting a prompting signal;
the prompting module is used for executing a prompting action;
the first driving module is used for driving the stay plate to rotate so as to enable the garbage bag to fall into the garbage can;
and the control module is respectively connected with the judging module, the prompting module and the first driving module, controls the starting of the first driving module based on the permission signal, and controls the prompting module to execute a prompting action based on the prompting signal.
By adopting the technical scheme, after a throwing person puts garbage into the garbage can, the garbage bag can stop on the stop plate, the information acquisition module can acquire information of the garbage bag, the judgment module can judge whether the information of the garbage bag is matched with the type of the garbage can, if yes, an allowing signal is output, and the control module controls the first driving module to drive the stop plate to rotate based on the allowing signal so that the garbage bag falls into the bottom of the garbage can; if the two are not matched, a prompt signal is output, the control module controls the prompt module to execute prompt action based on the prompt signal, so that the throwing personnel takes out the garbage bag and throws the garbage bag again, and therefore the situation that the throwing personnel mistakenly put garbage into the garbage can is avoided.
In a third aspect, the present application provides a terminal, which adopts the following technical scheme:
a terminal, comprising:
the memory stores the intelligent garbage can monitoring and early warning program;
and the processor is used for executing the intelligent garbage can monitoring and early warning program stored in the memory so as to realize the steps of the intelligent garbage can monitoring and early warning method.
In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solutions:
a computer readable storage medium storing a computer program capable of being loaded by a processor and executing the above-mentioned intelligent trash can monitoring and warning method.
In summary, the present application has at least one of the following advantages:
1. make the disposal bag stop to the garbage bin upper end through making in advance to through the information of gathering this disposal bag, and judge whether the information of this disposal bag matches with the classification of this garbage bin, if, then output permission signal, and based on permission signal, permit rubbish to fall into to the garbage bin bottom, if not, then output prompt signal, and based on prompt signal, suggestion input personnel take out this rubbish, put in again, thereby avoided input personnel to put into the garbage bin with rubbish mistake.
2. Therefore, after the prompt action is executed, the purpose of acquiring the time length of the garbage staying in the garbage can is that after the prompt action is executed, the garbage stays in the garbage can still to indicate that a throwing person walks, then, the time length of the garbage staying in the garbage can is acquired, the time length is compared with a time length threshold value, and if the time length is greater than the preset time length threshold value, management information is output to a mobile terminal of a manager, so that the manager can take away the garbage in time, and therefore the subsequent garbage is prevented from being put in.
3. The purpose of obtaining the pressure value of the lower surface of the stay plate in real time is that when the pressure value of the lower surface of the stay plate is larger than or equal to a pressure threshold value, the garbage bag is indicated to contact the lower surface of the stay plate, and the garbage can is full at the moment, so that a closed signal is output, the garbage can is closed in an inlet, the garbage is prevented from being put in again, the garbage can is overflowed, and the garbage can is influenced by cleaning of the garbage in a later period.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to fig. 1 to 14 of the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the application discloses an intelligent garbage can monitoring and early warning method. Referring to fig. 1, as an embodiment of the warning method, the warning method may include steps S110 to S140:
s110, when the garbage is put into the garbage can and stays at the upper end of the garbage can, collecting information of a garbage bag containing the garbage;
wherein, the information of the garbage bag can be the color of the garbage bag, a category label pasted on the garbage bag, and the like; for example, if the color is the color, red is set to represent unrecyclable garbage, green is set to represent recoverable garbage, and black is set to represent kitchen garbage; if the analog label is used, the color of the garbage bag is not required, and the classification label is printed with recyclable words, which means that the garbage is recyclable.
S120, judging whether the information of the garbage bag is matched with the preset garbage can type, if so, outputting an allowing signal, and if not, outputting a prompting signal;
the information of the garbage bags and the types of the garbage cans are in a one-to-one mapping relation, namely when the garbage bags are red, the corresponding types of the garbage cans are unrecyclable; when the garbage bag image is judged, comparing the color in the collected garbage bag image with the color corresponding to the garbage can, if the color in the collected garbage bag image is the same as the color in the garbage can, outputting an allowance signal, and if the color in the garbage bag image is not the same as the color in the garbage can, outputting a prompt signal; or comparing the characters in the collected garbage bag image with the garbage category corresponding to the garbage can, if the characters are the same as the garbage category, outputting an allowance signal, and if the characters are different from the garbage category, outputting a prompt signal.
S130, allowing the garbage bag to fall into the garbage can based on the allowing signal;
s140, executing a prompt action based on the prompt signal;
the prompting action can be an alarm sound, or a voice prompt of're-putting' or 'please take garbage out' and the like.
Referring to fig. 2, steps prior to step S110 may include steps S101-S102:
s101, obtaining the stay time of personnel at the garbage can;
s102, judging whether the stay time is longer than a preset stay time threshold, if so, outputting voice information, wherein the voice information can be one of 'please tie the garbage bag', and the like.
Sensing personnel information around the garbage can in real time through an infrared sensor arranged on the outer wall of the garbage can; if the personnel information is the existence of the personnel, outputting a first timing signal to a timer, and after receiving the first timing signal, starting timing by the timer to obtain the staying time of the personnel at the garbage can; and then judging whether the stay time is greater than the stay time threshold, if so, judging that the person is possibly a throwing person, and outputting voice information.
For example, the stay time threshold may be set to 2S, and if the stay time of the person at the trash can exceeds 2S, the person is likely to be the throwing person.
Referring to fig. 3, steps subsequent to step S140 may include steps S141-S142:
s141, acquiring the time length of the garbage staying in the garbage can;
and S142, judging whether the duration is greater than a preset duration threshold, and if so, outputting management information to a mobile terminal of a manager.
For example, the time length threshold is set to 10S, and if the time length of the garbage staying in the garbage bin is greater than 10S, the management information is output to the mobile terminal of the manager.
The time length can be obtained by obtaining the stay pressure value of the upper surface of the stay plate, if the stay pressure value is larger than the stay pressure threshold value, a second timing signal is output to the timer, the timer starts timing, so that the time length for the garbage to stay in the garbage can is obtained, whether the time length is larger than the time length threshold value is judged, and if yes, management information is output to a moving end of a manager. The stop plate is rotatably connected to the upper end of the garbage can and is driven to rotate by the first driving module. The management information can be sent to a mobile terminal of a manager in a form of short message, or can be displayed on the mobile terminal of the manager in a message prompt tone, and the manager opens a pre-downloaded APP loaded with the trash can or an concerned small program and views the message; the management information can be 'take out the garbage in the recyclable garbage can A', the recyclable garbage can A can be the A-th garbage can, and the management personnel pre-number the garbage cans of each category; the manager can be property, security personnel or cleaning personnel, and the mobile terminal can be intelligent equipment with a display function, such as a smart phone and a smart watch.
In other embodiments, the duration may be a duration in which the image of the trash bag exists, and if the duration in which the image of the trash bag exists is greater than a duration threshold, the management information is output to the mobile terminal of the manager.
Referring to fig. 4, as another embodiment of the warning method, the warning method may further include the steps of S210-S230:
s210, acquiring the extrusion pressure value of the lower surface of the stay plate in real time, wherein the stay plate is rotatably connected in the garbage can and used for enabling the garbage to stay at the upper end of the garbage can;
s220, judging whether the extrusion pressure value is greater than or equal to a preset extrusion pressure threshold value, and if so, outputting a closing signal;
and S230, closing the inlet of the garbage can based on the closing signal.
The garbage bin is connected with a garbage cover in a rotating mode, and the second driving module drives the garbage cover to rotate, so that the inlet of the garbage bin is opened and closed.
Referring to fig. 5, steps prior to step S230 may include steps S221-S223:
s221, acquiring a liquid level value in the garbage can in real time;
s222, judging whether the liquid level value is larger than a preset liquid level threshold value or not, and if so, outputting a drainage signal;
and S223, controlling the drainage assembly to drain the water in the garbage can based on the drainage signal.
It should be noted that, after step S230 is executed, and in the case that the liquid level value is smaller than the liquid level threshold value, step S221 is not executed again, and step S221 can be executed again only after the trash can inlet is opened.
Referring to fig. 6, steps subsequent to step S230 may include steps S231-S232:
s231, acquiring a humidity value in the garbage can in real time;
and S232, judging whether the humidity value is larger than a preset humidity threshold value or not, and if so, outputting early warning information.
Wherein the humidity threshold is less than the liquid level threshold. The early warning information can be a red exclamation mark displayed on a display screen or information of 'overhigh humidity' reported by voice. In addition, after the humidity value is acquired, the humidity value may be displayed in real time.
Referring to fig. 7, steps subsequent to step S230 may include steps S240-S250:
s240, acquiring a starting instruction;
and S250, opening the inlet of the garbage can based on the opening instruction.
Before the opening instruction is obtained, fingerprint information or facial information of a cleaner can be collected, then the fingerprint information is compared with a pre-recorded fingerprint information base or the facial information is compared with fingerprint information or facial information in a pre-recorded facial information base, if the fingerprint information of the cleaner is matched with the fingerprint information in the fingerprint information base or the facial information of the cleaner is matched with the facial information in the facial information base, the opening instruction is sent to the second driving module, and the second driving module drives the garbage cover to be opened. In another embodiment, the start command may be transmitted by pressing a control button.
The implementation principle of the embodiment of the application is as follows:
acquiring the staying time of a person at the garbage can, judging whether the staying time is greater than a staying time threshold, and if so, outputting voice information to enable the person to fasten the garbage bag;
after the throwing personnel throw the garbage bag into the garbage can, the garbage bag stays on the stay plate, and at the moment, the information of the garbage bag containing garbage is collected; judging whether the information of the garbage bag is matched with the information of a preset garbage can or not, if so, outputting permission information, and if not, outputting a prompt signal; based on the permission signal, the garbage bag is allowed to fall into the garbage can, and based on the prompt signal, prompt action is executed so that the throwing personnel can take out and throw the garbage again.
Based on the above method embodiment, another embodiment of the present application provides an intelligent trash can monitoring and early warning device, referring to fig. 8, as an implementation manner of the early warning device, the early warning device may include:
the information acquisition module 110 is used for acquiring information of a garbage bag containing garbage after the garbage is put into the garbage can;
a stay plate 120 rotatably connected to an inlet end of the garbage can for receiving the garbage bag;
the judging module 130 is configured to judge whether the information of the trash bag matches a preset type of the trash can, if so, output an allowing signal, and if not, output a prompting signal;
the prompting module 140 is arranged on the outer wall of the garbage can and used for executing a prompting action;
the first driving module 150 is used for driving the stay plate 120 to rotate so as to enable the garbage bag to fall into the garbage can;
the control module 160 is connected to the determining module 130, the prompting module 140 and the first driving module 150, respectively, and controls the first driving module 150 to start based on the enabling signal, and controls the prompting module 140 to execute the prompting action based on the prompting signal.
The information collecting module 110 may be an image sensor, the prompting module 140 may be one of an audible and visual alarm, an audible alarm, a voice broadcast device, and the like, and the control module 160 may be a single chip microcomputer or a controller such as a PLC.
The two staying plates 120 are respectively connected to the two inner walls of the garbage can in a rotating mode through rotating shafts, after the two staying plates 120 are parallel and abutted, the garbage can is divided into two parts, and at the moment, garbage can stay on the staying plates 120. The first driving module 150 may be two first driving motors, both of which are mounted on the outer wall of the trash can through bolts, and output shafts of the two first driving motors are respectively and coaxially and fixedly connected with one end of the rotating shaft of the corresponding staying plate 120.
Referring to fig. 9, as another embodiment of the warning apparatus, the warning apparatus may further include:
the infrared sensor 210 is arranged on the outer wall of the garbage can and used for sensing personnel information around the garbage can in real time, and if the personnel information is that a person exists, a first timing signal is output;
the timer 220 starts timing based on the first timing signal and outputs the stay time of the personnel at the garbage can; the determining module 130 obtains the staying time, and determines whether the staying time is greater than a preset staying time threshold, if yes, outputting voice information;
and the voice playing module 230 is used for broadcasting the voice information.
Wherein, the voice playing module 230 can be a speaker, and is installed on the outer wall of the trash can; in addition, if the prompt module 140 is a voice broadcaster, the voice broadcast module 230 and the prompt module 140 may be the same module.
Referring to fig. 10, as another embodiment of the warning apparatus, the warning apparatus may include:
a first pressure obtaining module 310, installed on an upper surface of a staying plate 120, for obtaining a pressure value of the upper surface of the staying plate 120; the determining module 130 determines whether the pressure value is greater than the staying threshold, if so, outputs a second timing signal to the timer 220, and after receiving the second timing signal, the timer 220 starts timing and outputs the time length for the garbage to stay in the garbage bin; after obtaining the duration, the determining module 130 determines whether the duration is greater than a preset duration threshold, and if so, outputs management information to the mobile terminal of the administrator.
The first pressure obtaining module 310 may be a pressure sensor or a gravity sensor.
Referring to fig. 11, the warning apparatus may further include:
the second pressure obtaining module 320 is installed on the lower surface of a stay plate 120, and is used for obtaining the extrusion pressure value of the lower surface of the stay plate 120 in real time; the judging module 130 judges whether the extrusion pressure value is greater than or equal to a preset extrusion pressure threshold value, and if so, outputs a closing signal;
the garbage cover 330 is rotatably connected to the garbage can through a rotating shaft and used for closing the inlet of the garbage can;
the second driving module 340 is used for driving the garbage cover 330 to rotate, so that the garbage cover 330 closes the inlet of the garbage can; the control module 160 is connected to the second driving module 340, and is configured to receive the close signal to control the second driving module 340 to start.
The second pressure obtaining module 320 may be a pressure sensor, the second driving module 340 may be a second driving motor, the second driving motor is mounted on the outer wall of the trash can through a bolt, and an output shaft of the second driving motor is coaxially and fixedly connected with one end of the rotating shaft.
Referring to fig. 12, as another embodiment of the warning apparatus, the warning apparatus may further include:
the liquid level detection module 410 is installed in the garbage can and used for acquiring the liquid level value in the garbage can in real time; the judging module 130 judges whether the liquid level value is greater than a preset liquid level threshold value, and if so, outputs a drainage signal;
a drain assembly 420 for draining water in the trash can; the control module 160 is coupled to the drain assembly 420 and controls activation of the drain assembly 420 based on the drain signal.
Wherein, liquid level detection module 410 can be level sensor, and drainage component 420 can include electric telescopic handle, and electric telescopic handle installs in garbage bin outer wall lower extreme to electric telescopic handle's flexible end fixedly connected with drain bar, the drain bar slides with the garbage bin outer wall and is connected for open and close the outlet of seting up on the garbage bin. The lower end of the garbage can is provided with a cavity, the upper surface of the cavity is provided with a water filtering hole, and the water filtering hole is communicated with the water outlet through the cavity.
Referring to fig. 13, as another embodiment of the warning apparatus, the warning apparatus may further include:
the humidity detection module 510 is installed in the garbage can and used for acquiring a humidity value in the garbage can in real time;
a display screen 520 installed on the trash cover 330 and connected to the control module 160 for displaying the humidity value in real time; the determining module 130 determines whether the humidity value is greater than a preset humidity threshold, and if so, outputs an early warning message; the display screen 520 displays the warning information, and in addition, when the prompt module 140 is a voice broadcast device, the warning information can be broadcast by the prompt module 140.
Referring to fig. 14, the warning apparatus may further include:
the fingerprint acquisition module 530 is arranged on the garbage cover 330 and used for acquiring fingerprint information of cleaning personnel; the judging module 130 compares the fingerprint information with fingerprint information in a preset fingerprint information base, and if one piece of fingerprint information in the fingerprint information base is matched with the fingerprint information of the cleaning personnel, a starting instruction is sent; based on the opening instruction, the control module 160 controls the second driving module 340 to start, and the second driving module 340 drives the trash cover 330 to rotate, so as to open the trash can inlet.
Or, the cleaning device comprises a face collecting module 540, which is arranged on the garbage cover 330 and is used for collecting the face information of the cleaning personnel; the judging module 130 compares the facial information with facial information in a preset facial information base, and sends an opening instruction if the facial information in the facial information base is matched with the facial information of the cleaning staff.
The implementation principle of the embodiment is as follows:
the infrared sensor 210 senses personnel information around the garbage can in real time, and if the personnel information is someone, a first timing signal is output; the timer 220 receives the first timing signal, starts timing, and outputs the staying time of the personnel at the garbage can; the determining module 130 obtains the staying time length, and determines whether the staying time length is greater than a staying time length threshold, if yes, the voice message is output; the voice playing module 230 plays the voice message;
then, the throwing personnel throw the garbage into the garbage can, the garbage stays on the stay plate 120, and at the moment, the information acquisition module 110 acquires information of a garbage bag containing the garbage; the judging module 130 judges whether the information of the garbage bag is matched with the type of the garbage can, if so, an allowing signal is output, and if not, a prompting signal is output; the control module 160 controls the first driving module 150 to start based on the permission signal, and the first driving module 150 drives the stay plate 120 to rotate, so that the garbage bag falls into the garbage can; the control module 160 controls the prompt module 140 to perform a prompt action based on the prompt signal.
Another embodiment of the present application further provides a terminal, which may include: a memory and a processor;
the memory is used for storing the intelligent garbage can monitoring and early warning program;
the processor is used for executing the intelligent garbage can monitoring and early warning program stored in the memory so as to realize the steps of the intelligent garbage can monitoring and early warning method.
The memory may be in communication connection with the processor through a communication bus, which may be an address bus, a data bus, a control bus, or the like.
Additionally, the memory may include Random Access Memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk memory.
And the processor may be a general-purpose processor including a Central Processing Unit (CPU), a Network Processor (NP), etc.; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, etc.
Another embodiment of the present application further provides a computer-readable storage medium, which stores a computer program that can be loaded by a processor and execute the foregoing intelligent trash can monitoring and warning method.
The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. Among other things, the available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tape), optical media (e.g., DVDs), or semiconductor media (e.g., solid state disks).
The foregoing is a preferred embodiment in itself and is not intended to limit the scope of the disclosure, which is defined by the claims, and any features disclosed in this specification (including any accompanying abstract and drawings), unless otherwise specified, may be replaced by alternative features serving equivalent or similar purposes. That is, unless expressly stated otherwise, each feature is only an example of a generic series of equivalent or similar features.