CN109951515A - Toilet information-pushing method, terminal device and computer readable storage medium - Google Patents

Toilet information-pushing method, terminal device and computer readable storage medium Download PDF

Info

Publication number
CN109951515A
CN109951515A CN201910041303.0A CN201910041303A CN109951515A CN 109951515 A CN109951515 A CN 109951515A CN 201910041303 A CN201910041303 A CN 201910041303A CN 109951515 A CN109951515 A CN 109951515A
Authority
CN
China
Prior art keywords
information
squatting position
squatting
user
toilet
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
CN201910041303.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.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart Technology Co 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 OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201910041303.0A priority Critical patent/CN109951515A/en
Publication of CN109951515A publication Critical patent/CN109951515A/en
Pending legal-status Critical Current

Links

Landscapes

  • Sanitary Device For Flush Toilet (AREA)

Abstract

The present invention relates to a kind of data analysis technique fields, disclose a kind of toilet information-pushing method, this method comprises: obtaining the squatting position use information of office building internal sanitary accomodation;Obtain the squatting position use habit of user;According to the squatting position use information and the squatting position use habit of the user, the determining target squatting position information to match with the user, target squatting position information includes the squatting position information that idle squatting position information or queue number are less than preset threshold;Target squatting position information is pushed to the user.The present invention also provides a kind of terminal device and computer readable storage mediums.Toilet information-pushing method, terminal device and computer readable storage medium provided by the invention can push reasonable toilet squatting position information to user according to the service condition of toilet, improve the convenience that toilet uses, save saving of time manpower.

Description

Bathroom information pushing method, terminal equipment and computer readable storage medium
Technical Field
The present invention relates to the field of data analysis technologies, and in particular, to a method for pushing information in a toilet, a terminal device, and a computer-readable storage medium.
Background
With the high development of society, office spaces are more and more concentrated in high-rise office buildings, and workers in one office building are more and toilets in the whole office building are fewer. In many cases, hundreds of people are frequently in each floor, and the number of sanitary squatting positions in each floor is only two or three, or even less, so that the embarrassing situation that the toilet is crowded in a queue easily occurs. The user can not in time know the in service behavior of bathroom, just can know need waiting in line to walk to the bathroom, and the bathroom of changing other floors often also runs once for a while, leads to the user to take trouble at the process that the bathroom was used to the office building, hard, use not convenient.
Disclosure of Invention
In view of the above, the present invention provides a method for pushing information of a toilet, a terminal device and a computer readable storage medium, so as to solve the problems that a user is time-consuming, labor-consuming and inconvenient to use when using the toilet in an office building.
Firstly, in order to achieve the above object, the present invention provides a method for pushing information in a toilet, the method comprising the steps of:
the method comprises the steps of obtaining squatting position use information of toilets in the office building, wherein the squatting position use information comprises: squatting position use time information and/or squatting position use frequency information;
acquiring the squatting position use habit of a user;
determining target squatting position information matched with the user according to the squatting position use information and the squatting position use habit of the user, wherein the target squatting position information comprises idle squatting position information or squatting position information of which the number of queued people is less than a preset threshold value;
and pushing the target squatting position information to the user.
Optionally, the step of obtaining the squatting position use information of the toilets in the office building comprises:
determining squatting position use information in the toilet according to a touch signal detected by a contact sensor arranged on a toilet door handle; or,
determining the squatting position use information of the toilet according to a pressure signal detected by a pressure sensor arranged on a squatting position floor; or,
and determining the squatting position use information of the toilet through an object approach signal detected by an approach sensor arranged on the inner wall of the squatting position.
Optionally, the step of obtaining the usage habit of the squat position of the user comprises:
receiving fingerprint information of a user sent by a fingerprint identification module arranged on a toilet door handle;
carrying out association recording on fingerprint information of a user and corresponding squatting position use information to obtain personal squatting position use records of the user;
and under the condition that the associated records in the personal squatting position use records of the user exceed the preset times, determining the squatting position use habit of the user according to the personal squatting position use records of the user.
Optionally, after the step of recording the identification features of the user and the corresponding squatting position information to obtain the usage record of the squatting position of the user, the method further includes the steps of:
and when the squatting position using time in the personal squatting position using record of the user exceeds the preset time, storing the squatting position using time of the user into an attendance system.
Optionally, the step of determining the target squat position information matched with the user according to the squat position use information and the squat position use habit of the user includes:
determining a target squatting position mode with the highest use frequency of the user according to the squatting position use habit of the user;
determining whether idle squatting position information exists according to the squatting position use information;
and under the condition that the idle squatting position information exists, selecting the idle squatting position information meeting the target squatting position mode from the idle squatting position information as the target squatting position information.
Optionally, after the step of determining whether there is idle squatting position information according to the squatting position use information, the step of determining target squatting position information matched with the user according to the squatting position use information and the squatting position use habit of the user further includes:
determining the squatting position information that the number of queuing people is less than the preset number of people under the condition that no idle squatting position exists;
and selecting the squatting position information meeting the target squatting position mode from the squatting position information of which the number of the queued people is less than the preset number as the target squatting position information.
Optionally, after the step of obtaining the squatting position use information of the toilets in the office building, the method further comprises the steps of:
determining whether any squatting position is in an abnormal state or not according to the squatting position use information;
and under the condition that the squatting position is in the abnormal state, pushing the information of the squatting position in the abnormal state to the user.
Optionally, after the step of obtaining the squatting position use information of the toilets in the office building, the method further comprises the steps of:
when the squatting position use information comprises the squatting position use time which is lower than a first preset time, starting flushing equipment and carrying out flushing operation according to a first flushing amount;
under the condition that the service time of the squatting position exceeds second preset time, starting flushing equipment corresponding to the squatting position, carrying out flushing operation according to second preset flushing water quantity, and increasing the flushing water quantity in a stepped manner along with the increase of the service time; the second preset flushing water amount is larger than the first preset flushing water amount.
In addition, in order to achieve the above object, the present invention further provides a terminal device, which includes a memory and a processor, where the memory stores a toilet information pushing system operable on the processor, and the toilet information pushing system implements the steps of the toilet information pushing method when executed by the processor.
Further, to achieve the above object, the present invention also provides a computer readable storage medium storing a toilet information pushing system, which is executable by at least one processor to cause the at least one processor to execute the steps of the toilet information pushing method as described above.
Compared with the prior art, the toilet information pushing method, the terminal device and the computer readable storage medium provided by the invention can push reasonable toilet squatting position information to a user according to the use condition of the toilet, improve the use convenience of the toilet, save time and save manpower. In addition, according to the position information of squatting, the idle position information of squatting that matches is pushed to the user when there is the idle position of squatting, and the number of queuing that matches is less than the position information of squatting of predetermineeing the number to the user propelling movement of user when there is not the idle position of squatting, can have corresponding position information of squatting to the user propelling movement of user, practices thrift user time and energy as far as possible. In addition, the water flushing amount of the flushing device is subjected to gradient adjustment according to the squatting position use information of the toilet, so that water resources can be saved, and the water using rationality is improved.
Drawings
FIG. 1 is a diagram of an alternative hardware architecture of the terminal device of the present invention;
FIG. 2 is a schematic diagram of program modules of a first embodiment of the toilet information push system according to the present invention;
FIG. 3 is a schematic diagram of program modules of a second embodiment of the toilet information pushing system according to the present invention;
FIG. 4 is a schematic flow chart of a first embodiment of a method for pushing information in a toilet according to the present invention;
FIG. 5 is a flowchart illustrating a second embodiment of a method for pushing information in a toilet;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the 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.
It should be noted that the description relating to "first", "second", etc. in the present invention is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
Fig. 1 is a schematic diagram of an alternative hardware architecture of the terminal device 2 according to the present invention.
In this embodiment, the terminal device 2 may include, but is not limited to, a memory 11, a processor 12, and a network interface 13, which may be communicatively connected to each other through a system bus. It is noted that fig. 1 only shows the terminal device 2 with components 11-13, but it is to be understood that not all shown components are required to be implemented, and that more or less components may be implemented instead.
Among other things, the terminal can be implemented in various forms. For example, the terminal described in the present invention may include mobile terminals such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a mobile terminal, a pedometer, and the like, and fixed terminals such as a digital TV, a desktop computer, and the like.
While a terminal device will be exemplified in the following description, those skilled in the art will understand that the configuration according to the embodiment of the present invention can be applied to a terminal device of a fixed type in addition to elements particularly used for moving purposes.
The memory 11 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the storage 11 may be an internal storage unit of the terminal device 2, such as a hard disk or a memory of the terminal device 2. In other embodiments, the memory 11 may also be an external storage device of the terminal device 2, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like provided on the terminal device 2. Of course, the memory 11 may also comprise both an internal memory unit of the terminal device 2 and an external memory device thereof. In this embodiment, the memory 11 is generally used for storing an operating system installed in the terminal device 2 and various application software, such as a program code of the toilet information pushing system 200. Furthermore, the memory 11 may also be used to temporarily store various types of data that have been output or are to be output.
The processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 12 is typically used to control the overall operation of the terminal device 2. In this embodiment, the processor 12 is configured to run the program code stored in the memory 11 or process data, for example, run the toilet information pushing system 200.
The network interface 13 may comprise a wireless network interface or a wired network interface, and the network interface 13 is typically used for establishing communication connections between the terminal device 2 and other electronic devices.
The hardware structure and functions of the related devices of the present invention have been described in detail so far. Various embodiments of the present invention will be presented based on the above description.
First, the present invention provides a toilet information push system 200.
Fig. 2 is a block diagram of a toilet information push system 200 according to a first embodiment of the present invention.
In this embodiment, the toilet information pushing system 200 includes a series of computer program instructions stored on the memory 11, and when the computer program instructions are executed by the processor 12, the toilet information pushing operation according to the embodiments of the present invention can be implemented. In some embodiments, the toilet information pushing system 200 may be divided into one or more modules based on the specific operations implemented by the portions of the computer program instructions. For example, in fig. 2, the toilet information pushing system 200 may be divided into a first obtaining module 201, a second obtaining module 202, a first determining module 203, and a first pushing module 204.
Wherein:
the first obtaining module 201 is configured to obtain the squatting position use information of the toilets in the office building.
In this embodiment, the squatting position use information includes: the squatting position using time information and/or the squatting position using frequency information. The squatting position use time information comprises information such as start time, end time and total duration, and the squatting position use frequency information comprises information such as daily use frequency and peak use frequency.
It should be added that, various sensors may be installed around the squat position of the toilet in the office building, the sensors may detect sensing information around the squat position, the sensors may transmit the sensing information to the first obtaining module 201 of the toilet information pushing system 200 in a communication manner of WiFi network and bluetooth connection, and the first obtaining module 201 determines the use information of the squat position according to the sensing information.
It is supplementary to explain, according to the position information of squatting, can also make statistics to the use condition of the position of squatting of whole building or certain floor, suggest the use condition of toilet according to the statistics. If the number of the squat positions currently in the idle state is larger than the first preset number, a first prompt is performed, for example, a state prompt representing that the squat positions are more idle is performed, if the number of the squat positions currently in the idle state is smaller than or equal to the first preset number and is larger than 0, a second prompt is performed, for example, a state prompt representing that the squat positions are less idle is performed, and if the number of the squat positions currently in the idle state is 0, a third prompt is performed, for example, a state prompt representing that the squat positions are not idle is performed.
The second obtaining module 202 is configured to obtain a squatting habit of a user.
In this embodiment, the usage habit of the user in the squatting position can be determined according to the accumulated information of the user in the squatting position, and the usage habit of the user in the squatting position input by the user can be received through the display interface. The squatting position using habit can comprise information such as average using time, frequency of going to a toilet, frequently used squatting position modes and the like. Additionally, the squatting mode includes squatting toilets, handicapped toilets, and the like.
The determining module 203 is configured to determine target squat position information matched with the user according to the squat position usage information and the squat position usage habit of the user.
In this embodiment, the target squatting position information includes idle squatting position information or squatting position information in which the number of people in line is less than a preset threshold.
Specifically, under the condition that has the idle position of squatting, the position information of squatting of target includes the idle position information of squatting, under the condition that does not have the idle position of squatting, the position information of squatting of target includes that the number of queuing is less than the position information of squatting of predetermineeing the threshold value. The squatting position information can be pushed to the user in a targeted manner, and the time and the energy of the user are saved as much as possible.
The first pushing module 204 is configured to push the target squatting position information to the user.
In this embodiment, the target squatting position information may be directly sent to the mobile electronic device of the user, may be displayed on the desktop of the work computer of the user, or may be sent to the electronic device of the user after receiving a request for inquiring the use condition of the squatting position sent by the user through the electronic device.
Fig. 3 is a block diagram of a toilet information push system 200 according to a second embodiment of the present invention. In this embodiment, the toilet information pushing system 200 includes a second determining module 205 and a second pushing module 206 in addition to the first obtaining module 201, the second obtaining module 202, the first determining module 203 and the first pushing module 204 in the first embodiment. Wherein:
the first obtaining module 201 is configured to obtain the squatting position use information of the toilets in the office building.
In this embodiment, the squatting position use information includes: the squatting position using time information and/or the squatting position using frequency information. The squatting position use time information comprises information such as start time, end time and total duration, and the squatting position use frequency information comprises information such as daily use frequency and peak use frequency.
It should be added that, various sensors may be installed around the squat position of the toilet in the office building, the sensors may detect sensing information around the squat position, the sensors may transmit the sensing information to the first obtaining module in the toilet information pushing system 200 in a communication manner of WiFi network and bluetooth connection, and the first obtaining module 201 determines the use information of the squat position according to the sensing information. For example, a contact sensor is installed on a door handle of a bathroom, and when a user opens or closes the door through the door handle, the user touches the contact sensor, so that the touch sensor detects a touch signal, and the contact sensor may transmit the touch signal to the first acquisition module 201 through a WiFi network. For another example, when a pressure sensor is installed under a squatting position floor, the weight of the user may generate pressure on the pressure sensor, so that the pressure sensor may transmit the pressure signal to the first obtaining module 201 through the WiFi network. In addition, can also be at the inner wall installation proximity sensor of the position of squatting, when the user was close the position of squatting inner wall, the contact sensor can detect the object and be close the signal, close signal transmission to first acquisition module 201 with the object through the wiFi network.
In this embodiment, the first obtaining module 201 is specifically configured to determine squatting position use information in the toilet according to a touch signal detected by a contact sensor installed on a toilet door handle; or, according to a pressure signal detected by a pressure sensor arranged on a squatting floor, determining the squatting use information of the toilet; or, the squatting position use information of the toilet is determined through an object approach signal detected by an approach sensor arranged on the inner wall of the squatting position. Therefore, the squatting position using information of the toilet can be determined through the received touch signal, the received pressure signal or the received object approaching signal, and the accuracy and the real-time performance of the squatting position using information can be ensured.
It should be noted that, according to the usage information of the squat positions, statistics may be performed on the usage of the squat positions of the whole building or a certain floor, and if the number of squat positions currently in the idle state is greater than the first preset number, a first prompt is performed, for example, a status prompt representing that "squat positions are idle more" is performed, if the number of squat positions currently in the idle state is less than or equal to the first preset number and is greater than 0, a second prompt is performed, for example, a status prompt representing that "squat positions are idle less" is performed, and if the number of squat positions currently in the idle state is 0, a third prompt is performed, for example, a status prompt representing that "squat positions are not idle".
The second obtaining module 202 is configured to obtain a squatting habit of a user.
Specifically, receiving fingerprint information of a user sent by a fingerprint identification module arranged on a toilet door handle; carrying out association recording on fingerprint information of a user and corresponding squatting position use information to obtain personal squatting position use records of the user; and under the condition that the associated records in the personal squatting position use records of the user exceed the preset times, determining the squatting position use habit of the user according to the personal squatting position use records of the user.
In this embodiment, because the fingerprint information of each user is different, the fingerprint information can be used as the identification attribute of the user, and the fingerprint information is associated with the corresponding squatting position use information, so that the complete use record of the user can be obtained, and the squatting position use habit of the user can be analyzed according to the complete use record. The squatting position using habit can comprise information such as average using time, frequency of going to a toilet, frequently used squatting position modes and the like. Additionally, the squatting mode includes squatting toilets, handicapped toilets, and the like.
The second obtaining module 202 is further configured to store the squatting position use time of the user into the attendance system when the squatting position use time in the personal squatting position use record of the user exceeds a preset time.
Therefore, the condition that the time of the user waiting in the toilet is too long can be recorded in the attendance system and can be used as attendance reference information to effectively supervise the working time of the user.
The determining module 203 is configured to determine target squat position information matched with the user according to the squat position usage information and the squat position usage habit of the user.
In this embodiment, the target squatting position information includes idle squatting position information or squatting position information in which the number of people in line is less than a preset threshold.
Specifically, a target squatting position mode with the highest use frequency of the user is determined according to the squatting position use habit of the user; determining whether idle squatting position information exists according to the squatting position use information; and under the condition that the idle squatting position information exists, selecting the idle squatting position information meeting the target squatting position mode from the idle squatting position information as the target squatting position information.
In this embodiment, the squatting mode includes a squatting toilet, a toilet, an handicapped toilet, and the like. The frequency of using the squatting pan, the frequency of using the toilet and the frequency of using the toilet for the handicapped person can be respectively determined according to the total times of using the toilet, the squatting pan, the toilet using and the toilet using times of the handicapped person in a day or a period of time of a user, and the squatting position mode with the highest frequency is determined from the three to be used as the target squatting position mode. For example, if the target squatting position mode of the user is a squatting toilet, the squatting toilet is selected as the target squatting position information in the idle squatting position.
Specifically, under the condition that no idle squatting position exists, the squatting position information that the number of queuing people is smaller than the preset number of people is determined; and selecting the squatting position information meeting the target squatting position mode from the squatting position information of which the number of the queued people is less than the preset number as the target squatting position information.
For example, the squatting positions with the number of queuing people smaller than the preset number are determined based on the squatting position use information, the total time length that all the queuing people need to wait for in each of the squatting positions with the number of queuing people smaller than the preset number is calculated through the use accumulated data of the squatting positions of the users, and the squatting position information meeting the target squatting position mode is selected as the target squatting position information from the squatting position information with the total time length smaller than the preset time.
Like this, according to the position of squatting user information, to the idle position information of squatting of user propelling movement matching when having the idle position of squatting, to the number of lining up that the user propelling movement matches when not having the idle position of squatting be less than the position information of squatting of predetermineeing the number, can have corresponding position information of squatting to the user propelling movement, practice thrift user time and energy as far as possible.
The first pushing module 204 is configured to push the target squatting position information to the user.
In this embodiment, the target squatting position information may be directly sent to the mobile electronic device of the user, may be displayed on the desktop of the work computer of the user, or may be sent to the electronic device of the user after receiving a request for inquiring the use condition of the squatting position sent by the user through the electronic device.
It is supplementary to be noted that, the first obtaining module 201 is further configured to, when the squatting position use information includes a squatting position use time, and the squatting position use time is lower than a first preset time, start a flushing device, and perform a flushing operation according to a first flushing amount; under the condition that the service time of the squatting position exceeds second preset time, starting flushing equipment corresponding to the squatting position, carrying out flushing operation according to second preset flushing water quantity, and increasing the flushing water quantity in a stepped manner along with the increase of the service time; the second preset flushing water amount is larger than the first preset flushing water amount.
In this embodiment, the first preset time may be 3 minutes, and the second preset time may be 6 minutes. The data such as the first preset time, the second preset time, the first water flushing amount and the second water flushing amount can be set according to life experience so as to achieve a better water saving implementation effect.
It is supplementary to say that, for a toilet in each floor, according to all the squatting position use information in the toilet, the ventilation equipment is determined to be started or the working time of the ventilation equipment is prolonged. In the preset time interval, under the condition that no squatting position is in the use state, the light and the air exchange equipment in the toilet can be turned off, and the purpose of saving electricity is achieved.
The second determining module 205 is configured to determine whether any squatting position is in an abnormal state according to the squatting position use information.
In this embodiment, whether the squatting position is abnormal/normal is determined according to the use duration and the use frequency in the use information of the squatting position, whether the squatting position is abnormal or not can be reminded on the attendance system, or whether the squatting position is abnormal or not can be reminded on the outer side wall of the squatting position.
The second pushing module 206 is configured to push the squatting position information in the abnormal state to the user when the squatting position is in the abnormal state.
Specifically, whether unusual warning of position of squatting can be carried out on attendance system, perhaps show on the lateral wall of the position of squatting whether unusual warning of position of squatting, can also directly send the position information of squatting that is in abnormal state for user's electronic equipment on, remind the abnormal conditions of use, avoid using unusual position of squatting as far as possible, save time.
In addition, the invention also provides a toilet information pushing method.
Fig. 4 is a schematic flow chart of a toilet information push method according to a first embodiment of the present invention. In this embodiment, the execution order of the steps in the flowchart shown in fig. 4 may be changed and some steps may be omitted according to different requirements.
The method comprises the following steps:
and step S400, obtaining the squatting position use information of toilets in the office building.
In this embodiment, the squatting position use information includes: the squatting position using time information and/or the squatting position using frequency information. The squatting position use time information comprises information such as start time, end time and total duration, and the squatting position use frequency information comprises information such as daily use frequency and peak use frequency.
It should be noted that various sensors may be installed around the squat position of the toilet in the office building, and the sensor may detect the sensing information around the squat position, and determine the use information of the squat position according to the sensing information.
It is supplementary to explain, according to the position information of squatting, can also make statistics to the use condition of the position of squatting of whole building or certain floor, suggest the use condition of toilet according to the statistics. If the number of the squat positions currently in the idle state is larger than the first preset number, a first prompt is performed, for example, a state prompt representing that the squat positions are more idle is performed, if the number of the squat positions currently in the idle state is smaller than or equal to the first preset number and is larger than 0, a second prompt is performed, for example, a state prompt representing that the squat positions are less idle is performed, and if the number of the squat positions currently in the idle state is 0, a third prompt is performed, for example, a state prompt representing that the squat positions are not idle is performed.
Step S402, the squat position using habit of the user is obtained.
In this embodiment, the usage habit of the user in the squatting position can be determined according to the accumulated information of the user in the squatting position, and the usage habit of the user in the squatting position input by the user can be received through the display interface. The squatting position using habit can comprise information such as average using time, frequency of going to a toilet, frequently used squatting position modes and the like. Additionally, the squatting mode includes squatting toilets, handicapped toilets, and the like.
And 404, determining target squatting position information matched with the user according to the squatting position use information and the squatting position use habit of the user.
In this embodiment, the target squatting position information includes idle squatting position information or squatting position information in which the number of people in line is less than a preset threshold.
Specifically, under the condition that has the idle position of squatting, the position information of squatting of target includes the idle position information of squatting, under the condition that does not have the idle position of squatting, the position information of squatting of target includes that the number of queuing is less than the position information of squatting of predetermineeing the threshold value. The squatting position information can be pushed to the user in a targeted manner, and the time and the energy of the user are saved as much as possible.
Step S406, pushing the target squatting position information to the user.
In this embodiment, the target squatting position information may be directly sent to the mobile electronic device of the user, may be displayed on the desktop of the work computer of the user, or may be sent to the electronic device of the user after receiving a request for inquiring the use condition of the squatting position sent by the user through the electronic device.
Fig. 5 is a schematic flow chart of a toilet information pushing method according to a second embodiment of the present invention. In this embodiment, steps S500 to S506 of the method for pushing toilet information are similar to steps S400 to S406 of the first embodiment, except that the method further includes steps S508 to S510.
The method comprises the following steps:
and step S500, obtaining the squatting position use information of toilets in the office building.
In this embodiment, the squatting position use information includes: the squatting position using time information and/or the squatting position using frequency information. The squatting position use time information comprises information such as start time, end time and total duration, and the squatting position use frequency information comprises information such as daily use frequency and peak use frequency.
It should be noted that various sensors may be installed around the squat position of the toilet in the office building, and the sensor may detect the sensing information around the squat position, and determine the use information of the squat position according to the sensing information. For example, a touch sensor is installed on a door handle of a bathroom, and when a user opens or closes the door through the door handle, the touch sensor is touched, so that a touch signal detected by the touch sensor is generated. For another example, when a pressure sensor is installed under the floor of a squatting position, the weight of the user can generate pressure on the pressure sensor, so that the pressure sensor can detect a pressure signal. In addition, a proximity sensor can be arranged on the inner wall of the squatting position, and when a user approaches the inner wall of the squatting position, the contact sensor can detect an object approach signal.
In this embodiment, the step S500 specifically includes: determining squatting position use information in the toilet according to a touch signal detected by a contact sensor arranged on a toilet door handle; or, according to a pressure signal detected by a pressure sensor arranged on a squatting floor, determining the squatting use information of the toilet; or, the squatting position use information of the toilet is determined through an object approach signal detected by an approach sensor arranged on the inner wall of the squatting position. Therefore, the squatting position using information of the toilet can be determined through the received touch signal, the received pressure signal or the received object approaching signal, and the accuracy and the real-time performance of the squatting position using information can be ensured.
It should be noted that, according to the usage information of the squat positions, statistics may be performed on the usage of the squat positions of the whole building or a certain floor, and if the number of squat positions currently in the idle state is greater than the first preset number, a first prompt is performed, for example, a status prompt representing that "squat positions are idle more" is performed, if the number of squat positions currently in the idle state is less than or equal to the first preset number and is greater than 0, a second prompt is performed, for example, a status prompt representing that "squat positions are idle less" is performed, and if the number of squat positions currently in the idle state is 0, a third prompt is performed, for example, a status prompt representing that "squat positions are not idle".
Step S502, the squat position using habit of the user is obtained.
Specifically, the step S502 specifically includes: receiving fingerprint information of a user sent by a fingerprint identification module arranged on a toilet door handle; carrying out association recording on fingerprint information of a user and corresponding squatting position use information to obtain personal squatting position use records of the user; and under the condition that the associated records in the personal squatting position use records of the user exceed the preset times, determining the squatting position use habit of the user according to the personal squatting position use records of the user.
In this embodiment, because the fingerprint information of each user is different, the fingerprint information can be used as the identification attribute of the user, and the fingerprint information is associated with the corresponding squatting position use information, so that the complete use record of the user can be obtained, and the squatting position use habit of the user can be analyzed according to the complete use record. The squatting position using habit can comprise information such as average using time, frequency of going to a toilet, frequently used squatting position modes and the like. Additionally, the squatting mode includes squatting toilets, handicapped toilets, and the like.
In this embodiment, after the fingerprint information of the user and the corresponding usage information of the squatting position are recorded in an associated manner to obtain the usage record of the personal squatting position of the user, the method further includes the following steps: and when the squatting position using time in the personal squatting position using record of the user exceeds the preset time, storing the squatting position using time of the user into an attendance system.
Therefore, the condition that the time of the user waiting in the toilet is too long can be recorded in the attendance system and can be used as attendance reference information to effectively supervise the working time of the user.
Step 504, determining target squatting position information matched with the user according to the squatting position use information and the squatting position use habit of the user.
In this embodiment, the target squatting position information includes idle squatting position information or squatting position information in which the number of people in line is less than a preset threshold.
Specifically, the step 504 includes the steps of: determining a target squatting position mode with the highest use frequency of the user according to the squatting position use habit of the user; determining whether idle squatting position information exists according to the squatting position use information; and under the condition that the idle squatting position information exists, selecting the idle squatting position information meeting the target squatting position mode from the idle squatting position information as the target squatting position information.
In this embodiment, the squatting mode includes a squatting toilet, a toilet, an handicapped toilet, and the like. The frequency of using the squatting pan, the frequency of using the toilet and the frequency of using the toilet for the handicapped person can be respectively determined according to the total times of using the toilet, the squatting pan, the toilet using and the toilet using times of the handicapped person in a day or a period of time of a user, and the squatting position mode with the highest frequency is determined from the three to be used as the target squatting position mode. For example, if the target squatting position mode of the user is a squatting toilet, the squatting toilet is selected as the target squatting position information in the idle squatting position.
Specifically, the step 504 further includes the steps of: determining the squatting position information that the number of queuing people is less than the preset number of people under the condition that no idle squatting position exists; and selecting the squatting position information meeting the target squatting position mode from the squatting position information of which the number of the queued people is less than the preset number as the target squatting position information.
For example, the squatting positions with the number of queuing people smaller than the preset number are determined based on the squatting position use information, the total time length that all the queuing people need to wait for in each of the squatting positions with the number of queuing people smaller than the preset number is calculated through the use accumulated data of the squatting positions of the users, and the squatting position information meeting the target squatting position mode is selected as the target squatting position information from the squatting position information with the total time length smaller than the preset time.
Like this, according to the position of squatting user information, to the idle position information of squatting of user propelling movement matching when having the idle position of squatting, to the number of lining up that the user propelling movement matches when not having the idle position of squatting be less than the position information of squatting of predetermineeing the number, can have corresponding position information of squatting to the user propelling movement, practice thrift user time and energy as far as possible.
Step S506, pushing the target squatting position information to the user.
In this embodiment, the target squatting position information may be directly sent to the mobile electronic device of the user, may be displayed on the desktop of the work computer of the user, or may be sent to the electronic device of the user after receiving a request for inquiring the use condition of the squatting position sent by the user through the electronic device.
It is added that, after step 500, the method comprises the steps of: when the squatting position use information comprises the squatting position use time which is lower than a first preset time, starting flushing equipment and carrying out flushing operation according to a first flushing amount; under the condition that the service time of the squatting position exceeds second preset time, starting flushing equipment corresponding to the squatting position, carrying out flushing operation according to second preset flushing water quantity, and increasing the flushing water quantity in a stepped manner along with the increase of the service time; the second preset flushing water amount is larger than the first preset flushing water amount.
In this embodiment, the first preset time may be 3 minutes, and the second preset time may be 6 minutes. The data such as the first preset time, the second preset time, the first water flushing amount and the second water flushing amount can be set according to life experience so as to achieve a better water saving implementation effect.
And step 508, determining whether the squatting position is in an abnormal state or not according to the squatting position use information.
In this embodiment, whether the squatting position is abnormal/normal is determined according to the use duration and the use frequency in the use information of the squatting position, whether the squatting position is abnormal or not can be reminded on the attendance system, or whether the squatting position is abnormal or not can be reminded on the outer side wall of the squatting position.
And 510, under the condition that the squatting position is in the abnormal state, pushing the information of the squatting position in the abnormal state to the user.
Specifically, whether unusual warning of position of squatting can be carried out on attendance system, perhaps show on the lateral wall of the position of squatting whether unusual warning of position of squatting, can also directly send the position information of squatting that is in abnormal state for user's electronic equipment on, remind the abnormal conditions of use, avoid using unusual position of squatting as far as possible, save time.
The toilet information pushing method provided by the embodiment can push reasonable toilet squatting position information to a user according to the using condition of the toilet, improves the using convenience of the toilet, saves time and labor. In addition, according to the position information of squatting, the idle position information of squatting that matches is pushed to the user when there is the idle position of squatting, and the number of queuing that matches is less than the position information of squatting of predetermineeing the number to the user propelling movement of user when there is not the idle position of squatting, can have corresponding position information of squatting to the user propelling movement of user, practices thrift user time and energy as far as possible. In addition, the water flushing amount of the flushing device is subjected to gradient adjustment according to the squatting position use information of the toilet, so that water resources can be saved, and the water using rationality is improved.
The present invention also provides another embodiment, which is to provide a computer-readable storage medium, wherein the computer-readable storage medium stores a toilet information pushing program, and the toilet information pushing program can be executed by at least one processor to cause the at least one processor to execute the steps of the toilet information pushing method as described above.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a terminal device, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A toilet information pushing method is characterized by comprising the following steps:
obtaining the use information of the squatting position of a toilet in an office building;
acquiring the squatting position use habit of a user;
determining target squatting position information matched with the user according to the squatting position use information and the squatting position use habit of the user, wherein the target squatting position information comprises idle squatting position information or squatting position information of which the number of queued people is less than a preset threshold value;
and pushing the target squatting position information to the user.
2. The toilet information pushing method according to claim 1, wherein the step of acquiring the squatting position use information of the toilets in the office building comprises:
determining squatting position use information in the toilet according to a touch signal detected by a contact sensor arranged on a toilet door handle; or,
determining the squatting position use information of the toilet according to a pressure signal detected by a pressure sensor arranged on a squatting position floor; or,
and determining the squatting position use information of the toilet through an object approach signal detected by an approach sensor arranged on the inner wall of the squatting position.
3. The toilet information pushing method according to claim 1 or 2, wherein the step of acquiring the squat use habit of the user comprises:
receiving fingerprint information of a user sent by a fingerprint identification module arranged on a toilet door handle;
carrying out association recording on fingerprint information of a user and corresponding squatting position use information to obtain personal squatting position use records of the user;
and under the condition that the associated records in the personal squatting position use records of the user exceed the preset times, determining the squatting position use habit of the user according to the personal squatting position use records of the user.
4. The toilet information pushing method according to claim 3, wherein after the step of recording the identification characteristics of the user and the corresponding squatting position information to obtain the usage record of the squatting position of the user, the method further comprises the steps of:
and when the squatting position using time in the personal squatting position using record of the user exceeds the preset time, storing the squatting position using time of the user into an attendance system.
5. The toilet information pushing method according to claim 1 or 2, wherein the step of determining the target squat position information matched with the user according to the squat position use information and the squat position use habit of the user comprises:
determining a target squatting position mode with the highest use frequency of the user according to the squatting position use habit of the user;
determining whether idle squatting position information exists according to the squatting position use information;
and under the condition that the idle squatting position information exists, selecting the idle squatting position information meeting the target squatting position mode from the idle squatting position information as the target squatting position information.
6. The toilet information pushing method according to claim 5, wherein the step of determining whether there is free squat information according to the squat usage information further comprises the step of determining target squat information matching the user according to the squat usage information and squat usage habits of the user:
determining the squatting position information that the number of queuing people is less than the preset number of people under the condition that no idle squatting position exists;
and selecting the squatting position information meeting the target squatting position mode from the squatting position information of which the number of the queued people is less than the preset number as the target squatting position information.
7. The toilet information pushing method according to claim 1 or 2, wherein after the step of acquiring the squatting position use information of the toilets in the office building, the method further comprises the steps of:
determining whether any squatting position is in an abnormal state or not according to the squatting position use information;
and under the condition that the squatting position is in the abnormal state, pushing the information of the squatting position in the abnormal state to the user.
8. The toilet information pushing method according to claim 1 or 2, wherein the step of obtaining the squatting position use information of the toilets in the office building further comprises the steps of:
when the squatting position use information comprises the squatting position use time which is lower than a first preset time, starting flushing equipment and carrying out flushing operation according to a first flushing amount;
under the condition that the service time of the squatting position exceeds second preset time, starting flushing equipment corresponding to the squatting position, carrying out flushing operation according to second preset flushing water quantity, and increasing the flushing water quantity in a stepped manner along with the increase of the service time; the second preset flushing water amount is larger than the first preset flushing water amount.
9. A terminal device, characterized in that the terminal device comprises a memory, a processor, the memory stores a toilet information pushing system operable on the processor, and the toilet information pushing system realizes the steps of the toilet information pushing method according to any one of claims 1-8 when executed by the processor.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a toilet information push system, which is executable by at least one processor to cause the at least one processor to perform the steps of the toilet information push method according to any one of claims 1-8.
CN201910041303.0A 2019-01-16 2019-01-16 Toilet information-pushing method, terminal device and computer readable storage medium Pending CN109951515A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910041303.0A CN109951515A (en) 2019-01-16 2019-01-16 Toilet information-pushing method, terminal device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910041303.0A CN109951515A (en) 2019-01-16 2019-01-16 Toilet information-pushing method, terminal device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109951515A true CN109951515A (en) 2019-06-28

Family

ID=67006565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910041303.0A Pending CN109951515A (en) 2019-01-16 2019-01-16 Toilet information-pushing method, terminal device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109951515A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110739061A (en) * 2019-10-24 2020-01-31 合肥盛东信息科技有限公司 toilet-entering frequency monitoring system for old people
CN110889923A (en) * 2019-11-29 2020-03-17 南京邮电大学 Campus intelligent bathroom queuing system based on IPv6
CN111198990A (en) * 2020-01-18 2020-05-26 河南帅臣物联网科技有限责任公司 Intelligent toilet guiding method and system
CN115546960A (en) * 2022-09-28 2022-12-30 广州市保伦电子有限公司 Intelligent calculation method and device for number of people queuing in toilet

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104363304A (en) * 2014-12-02 2015-02-18 上海斐讯数据通信技术有限公司 System and method for inquiring squatting positions in public toilet
CN105049520A (en) * 2015-08-07 2015-11-11 安一恒通(北京)科技有限公司 Method and device for pushing information
CN107578112A (en) * 2017-08-31 2018-01-12 努比亚技术有限公司 A kind of reserving method, terminal, server and readable storage medium storing program for executing
WO2018196788A1 (en) * 2017-04-27 2018-11-01 腾讯科技(深圳)有限公司 Destination place recommendation method and apparatus, server and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104363304A (en) * 2014-12-02 2015-02-18 上海斐讯数据通信技术有限公司 System and method for inquiring squatting positions in public toilet
CN105049520A (en) * 2015-08-07 2015-11-11 安一恒通(北京)科技有限公司 Method and device for pushing information
WO2018196788A1 (en) * 2017-04-27 2018-11-01 腾讯科技(深圳)有限公司 Destination place recommendation method and apparatus, server and storage medium
CN107578112A (en) * 2017-08-31 2018-01-12 努比亚技术有限公司 A kind of reserving method, terminal, server and readable storage medium storing program for executing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈石波等: "基于51单片机的公厕蹲位显示系统设计与实现", 《重庆师范大学学报(自然科学版)》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110739061A (en) * 2019-10-24 2020-01-31 合肥盛东信息科技有限公司 toilet-entering frequency monitoring system for old people
CN110889923A (en) * 2019-11-29 2020-03-17 南京邮电大学 Campus intelligent bathroom queuing system based on IPv6
CN111198990A (en) * 2020-01-18 2020-05-26 河南帅臣物联网科技有限责任公司 Intelligent toilet guiding method and system
CN115546960A (en) * 2022-09-28 2022-12-30 广州市保伦电子有限公司 Intelligent calculation method and device for number of people queuing in toilet

Similar Documents

Publication Publication Date Title
CN109951515A (en) Toilet information-pushing method, terminal device and computer readable storage medium
CN102893257B (en) The mechanism of sensor hub will be tasked outside context-aware applications related functionality
CN107368400B (en) CPU monitoring method and device, computer readable storage medium and mobile terminal
US20140024416A1 (en) Method and apparatus for power management on mobile devices and associated mobile devices
CN100468319C (en) Power saving mobility aware system and method
US20160278014A1 (en) Method and terminal for reporting sensor data and terminal
CN103250029B (en) Mobile terminal and continuous moving detection method
CN111562507B (en) Battery electric quantity display method and device, electronic equipment and storage medium
CN103823543A (en) Portable electronic device and method for operating therein
CN108073458B (en) Memory recovery method, mobile terminal and computer-readable storage medium
CN109947496A (en) Application program preloads method, apparatus, storage medium and mobile terminal
WO2002091232A3 (en) Method, system, and program for querying data in a personal information manager database
CN106055079B (en) The management method and device of a kind of central processing unit
CN111104018B (en) Application icon management method and electronic equipment
CN104052857A (en) Control device and method for mobile device
CN107967177B (en) Memory optimization method based on core process, mobile terminal and readable storage medium
US20120136924A1 (en) Server device in thin-client system
CN111765900B (en) Step counting method, step counting device and computer readable storage medium
CN109803360A (en) WiFi dormancy control method, device, electronic equipment and storage medium
CN112559390A (en) Data write-in control method and storage device
CN110825509A (en) Application management method, device, equipment and readable storage medium
CN107277906B (en) Mode selecting method, device, terminal and computer readable storage medium
CN107861826B (en) Screen freezing monitoring and solving method, mobile terminal and computer readable storage medium
CN111314177B (en) Work and rest time period identification method based on wireless signals and related device
CN110057041B (en) Air conditioner, cleaning prompting method thereof, terminal and computer readable storage medium

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
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20240510