Smart toilet management method, system and equipment
Through the method of intelligent evaluation and recommendation of smart toilets, the problem of lack of intelligent recommendation and optimization in the existing technology is solved, and more efficient toilet use and optimized user experience is achieved.
Patent Information
- Application Number
- CN202510585978.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-08
- Publication Date
- 2025-06-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing smart toilet management solutions lack the ability to intelligently recommend and optimize according to the actual needs of users, and mainly stay at the level of simple status monitoring and information display.
By obtaining the appointment request from the target user, assessing the smart toilet queue information and idle probability during the expected use period, and combining user distance and preferences, evaluate and push the toilet with the highest priority.
It effectively avoids the situation where users find that there is no available toilet when they arrive at the toilet, improves the efficiency of the toilet, and optimizes the user experience.
Smart Images

Figure CN120087506A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of intelligent toilet management, and particularly to an intelligent toilet management method, system and device. Background Art
[0002] With the development of Internet of Things, big data and intelligent technologies, intelligent toilet management has become possible. By integrating technologies such as sensors, wireless communication, and cloud computing, intelligent toilets can monitor information such as the usage status, queuing situation, and environmental data of toilets in real time. However, most of the existing intelligent toilet management solutions stay at the level of simple status monitoring and information display, lacking the ability to make intelligent recommendations and optimizations according to the actual needs of users. Summary of the Invention
[0003] The main purpose of this application is to provide an intelligent toilet management method, system and device, aiming to solve the technical problem that most of the existing intelligent toilet management solutions stay at the level of simple status monitoring and information display, lacking the ability to make intelligent recommendations and optimizations according to the actual needs of users.
[0004] To achieve the above purpose, in the first aspect, this application provides an intelligent toilet management method, including: According to the reservation request of the target user, obtain at least one intelligent toilet that is in an unreserved state during the expected usage period of the target user; According to the expected usage period, obtain the queuing information of the at least one intelligent toilet within a preset period; According to the queuing information, obtain at least one intelligent toilet with a free probability during the expected usage period; According to the queuing information and the distance of the target user from the at least one intelligent toilet, evaluate the priority of the at least one intelligent toilet; According to the priority, push the target toilet to the target user from high to low according to the priority.
[0005] Optionally, the step of obtaining at least one intelligent toilet that is in an unreserved state during the expected usage period of the target user according to the reservation request of the target user includes: According to the reservation request of the target user, obtain the location information, movement mode and current time of the target user; According to the location information and movement mode, obtain all intelligent toilets within a preset range; According to the current time and the movement mode, obtain the expected usage period of the target user; According to the expected usage period, obtain at least one intelligent toilet that is in an unreserved state during the expected usage period.
[0006] Optionally, the step of obtaining the expected usage period of the target user according to the current time and movement mode includes: Obtain the arrival time of the target user at the smart toilet according to the current time and movement mode; Obtain the expected usage period of the target user according to the arrival time and the duration of the usage requirement of the target user.
[0007] Optionally, the step of obtaining the expected usage period of the target user according to the arrival time and the duration of the usage requirement of the target user includes: Obtain the historical usage data of the smart toilet, and divide it into a first data set and a second data set according to gender; Divide the first data set and the second data set into multiple sub-data sets according to preset age stages; According to each of the sub-data sets, obtain the single - time average usage duration for different genders, different age stages, and different usage requirements; Obtain the single - time average usage duration representing the usage requirement duration of the target user according to the gender, age stage, and usage requirement of the target user.
[0008] Optionally, the step of obtaining at least one smart toilet with a probability of being idle during the expected usage period greater than a preset threshold according to the queuing information further includes: Obtain the first usage duration of the online queue according to the online queuing information of the smart toilet within a preset time period; Obtain the number of queuing people, gender, and age stage according to the image information at the smart toilet site; Obtain the second usage duration according to the number of queuing people, gender, and age stage; Obtain the probability of being idle during the expected usage period according to the first usage duration and the second usage duration.
[0009] Optionally, the step of obtaining the second usage duration according to the number of queuing people, gender, and age stage includes: According to the gender and age stage of each queuing person, obtain the longest single - time limit usage duration among all the single - time average usage duration data of the same gender and the same age stage; Obtain the second usage duration according to the single - time limit usage duration of each queuing person.
[0010] Optionally, the step of obtaining the probability of being idle during the expected usage period according to the first usage duration and the second usage duration includes: Obtain the idle time period according to the first usage duration, the second usage duration, and the expected usage period; Predict a first probability of being occupied during the idle time period based on the historical usage data of the smart toilet during the idle time period; Evaluate the pedestrian flow information based on the usage frequency of the smart toilet during a preset evaluation time period before the expected usage time period, and predict a second probability of being occupied during the idle time period; Obtain the probability that the expected usage time period is in an idle state based on the first probability and the second probability.
[0011] Optionally, the step of evaluating the priority of the at least one smart toilet according to the queuing information and the distance of the target user relative to the at least one smart toilet includes: Obtain the total usage duration according to the first usage duration and the second usage duration; Configure a first weight and a second weight according to the total usage duration and the distance respectively, and calculate the score of the smart toilet; Characterize the priority of the smart toilet from high to low according to the score of the smart toilet from low to high.
[0012] Optionally, the step of pushing the target toilet to the target user according to the priority from high to low includes: Push the smart toilet with the highest priority as the target toilet to the target user for confirmation according to the priority; If the confirmation information of the target user is not received within the preset time period, push the smart toilets with the priority from high to low to the target user for confirmation in sequence; When the target user confirms the target toilet, push the queuing information of the target toilet to the target user.
[0013] In a second aspect, the present application provides a management system for a smart toilet, including: A first toilet acquisition module configured to acquire at least one smart toilet whose expected usage time period is in an unreserved state according to a reservation request of a target user; A queuing information acquisition module configured to acquire the queuing information of the at least one smart toilet within a preset time period according to the expected usage time period; A second toilet acquisition module configured to acquire at least one smart toilet with an idle probability during the expected usage time period according to the queuing information; A priority evaluation module configured to evaluate the priority of the at least one smart toilet according to the queuing information and the distance of the target user relative to the at least one smart toilet; A push module configured to push the target toilet to the target user from high to low according to the priority.
[0014] In a third aspect, the present application provides a computer device, which includes a memory and a processor. A computer program is stored in the memory, and the processor executes the computer program to implement the method as described above.
[0015] Beneficial effects that the present application can achieve: A smart toilet management method proposed in an embodiment of the present application includes: obtaining at least one smart toilet that is in an unreserved state during the expected usage period of a target user according to the reservation request of the target user; obtaining the queuing information of the at least one smart toilet within a preset time period according to the expected usage period; obtaining at least one smart toilet whose probability of being in an idle state during the expected usage period is greater than a preset threshold according to the queuing information; evaluating the priority of the at least one smart toilet according to the queuing information and the distance of the target user from the at least one smart toilet; and pushing the target toilet to the target user from high to low according to the priority. It at least solves the problem that by using a reservation system to obtain unreserved smart toilets during the expected usage period of a target user, it can effectively avoid the situation where a user arrives at the toilet and finds no available toilets, thereby improving the usage efficiency of the toilet. By evaluating the priority of at least one smart toilet and pushing the target toilet to the target user according to the priority, the user can find the most suitable toilet faster and more conveniently, thereby optimizing the user experience. Description of the Drawings
[0016] Figure 1 It is a flowchart of the smart toilet management method according to an embodiment of the present application; Figure 2 It is a flowchart of the step of obtaining the expected usage period of a target user according to the present application.
[0017] The realization, functional characteristics and advantages of the purpose of the present application will be further described in conjunction with the embodiments with reference to the drawings. Detailed Embodiments
[0018] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without making creative efforts fall within the protection scope of the present invention.
[0019] It should be noted that all directional indications (such as up, down, left, right, front, back...) in the embodiments of the present invention are only used to explain the relative position relationship and movement conditions between components in a specific posture (as shown in the drawings). If the specific posture changes, the directional indications will also change accordingly.
[0020] In the present invention, unless otherwise clearly specified and defined, terms such as "connection" and "fixation" shall be understood in a broad sense. For example, "fixation" can be a fixed connection, a detachable connection, or integrated; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and can be the communication inside two components or the interaction relationship between two components, unless otherwise clearly defined. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0021] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the quantity of the technical features indicated. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one such feature. In addition, the meaning of "and / or" appearing throughout the text includes three parallel scenarios. Taking "A and / or B" as an example, it includes scenario A, scenario B, or the scenario where both A and B are satisfied simultaneously. In addition, the technical solutions between various embodiments can be combined with each other, but it must be based on the fact that those of ordinary skill in the art can implement it. When the combination of technical solutions results in contradictions or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the protection scope required by the present invention.
[0022] Embodiment 1 Referring to Figure 1 , the first embodiment of the present application provides an intelligent toilet management method, including the following operating steps: S10. According to the reservation request of the target user, obtain at least one intelligent toilet whose expected usage time period is in an unreserved state.
[0023] Specifically, the system receives the toilet reservation request submitted by the target user through a mobile application or a web page. Extract the key information in the request, including the identity identifier of the target user, the expected usage time period, etc. Query the intelligent toilet database or the real-time status monitoring system to find out the list of intelligent toilets that are not reserved by other users during the target user's usage time period.
[0024] S20. According to the expected usage time period, obtain the queuing information of the at least one intelligent toilet within a preset time period.
[0025] Specifically, according to the expected usage time period, determine a preset time period that appropriately extends forward from the expected usage time period, and determine the queuing information of the intelligent toilet within the preset time period, so as to predict the situation where the target user can normally use the intelligent toilet during the expected usage time period, and be able to push a suitable intelligent toilet to the target user with the queuing information as one of the reference bases.
[0026] S30. Obtain at least one smart toilet whose probability of being idle during the expected usage period is greater than a preset threshold according to the queuing information.
[0027] Specifically, based on the above queuing information analysis, screen out smart toilets whose expected idle probability during the expected usage period is greater than the preset threshold. In addition to queuing information, factors such as the cleaning status and facility integrity of the toilet can also be considered to ensure that the recommended toilets meet the usage standards.
[0028] S40. Evaluate the priorities of the at least one smart toilet according to the queuing information and the distance of the target user from the at least one smart toilet.
[0029] Specifically, use positioning technology (such as GPS) to calculate the straight-line distance, walking time, driving time, cycling time, etc. between the target user and each candidate smart toilet. Combining queuing information (such as the expected waiting time) and distance factors, use models such as weighted algorithms or decision trees to evaluate the priorities of each toilet. If the system collects the historical usage preferences of users, such as the preferred toilet type and facility requirements, these factors can also be incorporated into the priority evaluation.
[0030] S50. Push the target toilet to the target user in descending order of priority according to the priority.
[0031] Specifically, sort the smart toilets in descending order of the evaluated priority, and push the information of the toilet with the highest priority to the target user through methods such as mobile applications, text messages, and voice prompts. The system can also provide navigation guidance from the user's current location to the target toilet. After the user uses the toilet, the system can invite the user to provide feedback, such as usage experience and facility conditions, for subsequent optimization.
[0032] In this embodiment, by refining the appointment request processing and toilet screening steps, it is ensured that users can make an appointment for the smart toilet that best suits their usage needs. By obtaining and analyzing queuing information in real time, the system can more accurately predict the probability of the toilet being idle, reducing the user's waiting time. Combining factors such as user distance and preferences for priority evaluation provides a more personalized toilet recommendation service for users. When the target user arrives at the smart toilet, the smart toilet is predicted to be idle, reducing the situation where the target toilet is idle before the target user departs, but when the target user arrives at the target toilet, the target toilet is being used, resulting in the target user having no toilet available. Improve the usage experience of the target user.
[0033] Embodiment 2 Based on Embodiment 1, this embodiment provides a smart toilet management method, including the following operating steps: S10. Obtain at least one intelligent toilet that is in an unreserved state during the expected usage time period of the target user according to the reservation request of the target user.
[0034] Optionally, the step of obtaining at least one intelligent toilet that is in an unreserved state during the expected usage time period of the target user according to the reservation request of the target user includes: S101. Obtain the location information, movement mode, and current time of the target user according to the reservation request of the target user. Specifically, the system first receives a reservation request submitted by the target user through an application, website, or other interfaces. Extract the current location information of the target user from the request or obtain it through a positioning service (such as GPS). The target user may specify the movement mode (such as walking, cycling, driving, etc.) in the request, or the system can infer the most likely movement mode by analyzing the user's historical behavior. The system records the current time when the request is received for subsequent calculations. Usually, when the target user has a usage need and hopes to use the intelligent toilet as soon as possible, the target user will search for nearby intelligent toilets through the system. Therefore, it is reasonable to use the time node when the user submits the request as the starting time point.
[0035] S102. Obtain all intelligent toilets within a preset range according to the location information and movement mode. Specifically, according to the location information and movement mode of the target user, the system calculates a reasonable preset range, which should cover the intelligent toilets that the user can conveniently reach under the current movement mode. Query the database or real-time system to obtain the information of all intelligent toilets within the preset range, including location, facilities, status, etc.
[0036] S103. Obtain the expected usage time period of the target user according to the current time and the movement mode. Specifically, according to the movement mode of the user and the distance from the current location to the intelligent toilet, estimate the approximate time for the user to reach each intelligent toilet. Combine the toilet usage duration requested by the user and the estimated arrival time to determine the expected usage time period of the target user. This time period should consider a certain buffer time to cope with possible delays.
[0037] Optionally, the step of obtaining the expected usage time period of the target user according to the current time and the movement mode includes: S1031. Obtain the arrival time of the target user at the intelligent toilet according to the current time and the movement mode. Specifically, first confirm the current time received by the system, which should be accurate and real-time, and can be obtained through methods such as the system clock or the Network Time Protocol (NTP). According to the selected movement mode of the target user (such as walking, cycling, driving, etc.), the system needs to be able to estimate the user's movement speed. This can be achieved through preset average speed values, real-time traffic data, or the target user's historical behavior data. Calculate the straight-line distance or actual driving distance from the current position of the target user to each smart toilet. The straight-line distance can be calculated based on geographical coordinates, while the actual driving distance may need to consider factors such as the road network and traffic conditions. Combine the current time, movement speed, and distance to estimate the estimated time for the target user to reach each smart toilet. This time should be dynamic and able to be updated as the actual traffic conditions and the user's movement speed change.
[0038] S1032. Obtain the expected usage time period of the target user according to the arrival time and the usage requirement duration of the target user.
[0039] Specifically, when the target user uses the reservation service, they usually specify an expected usage duration. This duration may be directly input by the user or inferred by the system based on the user's historical usage records. To cope with possible delays and uncertainties, the system can add a certain buffer time to the usage duration specified by the user. This buffer time can be set according to the actual situation, such as 5 - 10 minutes. Take the arrival time estimated in S1031 as the start time of the expected usage time period, and then add the usage requirement duration (including the buffer time) to obtain the end time of the expected usage time period. Combine the start time and the end time to form the expected usage time period of the target user. This time period should be a continuous time range for subsequent comparison with the reservation status of the smart toilet.
[0040] Optionally, the step of obtaining the expected usage time period of the target user according to the arrival time and the usage requirement duration of the target user includes: S10321. Obtain the historical usage data of the smart toilet and divide it into a first data set and a second data set according to gender; Specifically, extract the historical usage records from the management system of the smart toilet, which should include information such as user gender, age (if available), usage start and end times, etc. Divide the historical usage data into two main data sets according to user gender, namely the first data set (male users) and the second data set (female users).
[0041] S10322. Divide the first data set and the second data set into multiple sub - data sets according to preset age stages; Specifically, according to the actual needs and analysis purposes, several age stages are preset, such as children (0 - 12 years old), teenagers (13 - 18 years old), adults (19 - 60 years old), and the elderly (over 60 years old). The first dataset and the second dataset are further divided into multiple sub - datasets according to the above - mentioned age stages. Each sub - dataset contains the usage data of users of a specific gender and age stage.
[0042] S10323. According to each of the said sub - datasets, obtain the single - time average usage duration for different genders, different age stages, and different usage requirements respectively; Specifically, for the records in each sub - dataset, calculate the single - time average usage duration of users of different genders and different age stages under different usage requirements. Usage requirements may include using the toilet, changing diapers, simple washing, etc. If possible, further distinguish the average usage duration for different usage requirements (such as large - size toilet use, small - size toilet use, handwashing, etc.) to provide more refined data support.
[0043] S10324. According to the gender, age stage, and usage requirement of the target user, obtain the single - time average usage duration characterizing the usage requirement duration of the target user.
[0044] Specifically, obtain the gender, age stage, and usage requirement of the target user from the reservation request or user profile. According to the gender, age stage, and usage requirement of the target user, find the most - matching single - time average usage duration from the average usage duration data calculated in S10323. Although the average duration is used, the system can design a certain elastic range to adapt to individual differences among different users.
[0045] By segmenting the dataset and considering multiple factors, the system can provide a more accurate prediction of the usage duration, thereby improving the accuracy of the reservation service. The personalized prediction of the usage duration helps users better plan their trips, reduce waiting time, and enhance the overall experience. A more accurate prediction of the usage duration helps the intelligent toilet system manage resources more effectively, avoiding resource waste or over - use.
[0046] S104. According to the said expected usage time period, obtain at least one intelligent toilet that is in an un - reserved state during the said expected usage time period.
[0047] Specifically, for each intelligent toilet obtained in S102, query its reservation status during the expected usage time period determined in S103. Screen out the intelligent toilets that are in an un - reserved state during the expected usage time period from the query results to form a list of candidate toilets.
[0048] S20. According to the said expected usage time period, obtain the queuing information of the said at least one intelligent toilet within a preset time period.
[0049] S30. Obtain at least one intelligent toilet with a probability of being idle during the expected usage period greater than a preset threshold according to the queuing information.
[0050] Optionally, the step of obtaining at least one intelligent toilet with a probability of being idle during the expected usage period greater than a preset threshold according to the queuing information further includes: S301. Obtain the first usage duration of the online queue according to the online queuing information of the intelligent toilet within a preset time period. Specifically, obtain real-time online queuing information from the online reservation system or related application programs of the intelligent toilet, including the current number of people queuing for each toilet, the estimated waiting time, etc. According to the online queuing information, the system calculates the estimated usage duration, that is, the first usage duration, generated by each intelligent toilet due to online queuing within a preset time period (such as the next 15 minutes, 30 minutes, etc.). This duration should consider the usage requirement duration of users and possible interval times.
[0051] S302. Obtain the number of people queuing, gender, and age group according to the image information at the scene of the intelligent toilet. Specifically, obtain real-time image information through the cameras or sensors at the scene of the intelligent toilet, and this information should be able to clearly reflect the queuing situation at the scene. Using image recognition technology, the system processes the received image information to identify the number of people queuing, gender, and approximate age group. This may need to be achieved by means of machine learning models or deep learning algorithms.
[0052] S303. Obtain the second usage duration according to the number of people queuing, gender, and age group. Specifically, according to the number of people queuing, gender, and age group identified in S302, the system analyzes the impact of this information on the toilet usage duration. For example, users of different genders and age groups may have different usage habits and requirement durations. Combining historical data and real-time situations, the system estimates the estimated usage duration, that is, the second usage duration, that will be generated by the on-site queuing users within a preset time period. This duration should also consider the usage requirement duration of users and possible interval times.
[0053] Optionally, the step of obtaining the second usage duration according to the number of people queuing, gender, and age group includes: S3031. Obtain the longest single-limit usage duration among all single-average usage duration data of the same gender and the same age group according to the gender and age group of each queuing person. Specifically, the system needs to pre-store or obtain in real time the single-use duration data classified by gender and age group. These data should be based on a large number of historical usage records and obtained through statistical analysis. For each person queuing on-site, the system obtains their gender and age group information through image recognition or other technical means. According to the gender and age group of each queuing person, the system looks up and obtains the maximum single-limit usage duration in the corresponding dataset of the single-average usage duration data. Here, the longest duration is selected to ensure the conservativeness of the estimate and avoid the actual usage duration exceeding the expectation.
[0054] S3032. Obtain the second usage duration according to the single-limit usage duration of each queuing person.
[0055] Specifically, accumulate the single-limit usage duration of each queuing person obtained in S3031 to obtain the total possible usage duration that all queuing people on-site may generate. To be closer to the actual situation, the system can, on the basis of accumulating the single-limit usage duration, add a certain interval time (such as cleaning time, user entry and exit time, etc.) between each usage period according to historical data or preset rules. Add the accumulated total usage duration and the interval time to obtain the second usage duration that queuing people on-site may generate within the preset time period.
[0056] S304. Obtain the probability that the expected usage period is in the idle state according to the first usage duration and the second usage duration.
[0057] Optionally, the step of obtaining the probability that the expected usage period is in the idle state according to the first usage duration and the second usage duration includes: S3041. Obtain the idle time period according to the first usage duration, the second usage duration, and the expected usage period.
[0058] Specifically, superimpose the first usage duration calculated in S301 and the second usage duration calculated in S3032 to obtain the total estimated usage duration of each smart toilet within the preset time period. Compare the total estimated usage duration with the expected usage period of the target user. Obtain the usage end time, and the time period between the usage end time and the expected usage period is the idle time period.
[0059] S3042. Predict the first probability of being occupied within the idle time period according to the historical usage data of the smart toilet within the idle time period.
[0060] Specifically, collect the usage data of the toilet in the past during similar time periods (such as weekday mornings, weekend afternoons, etc.). Analyze the frequency and duration of unexpected occupancy during the idle time periods in this historical data. Use statistical methods or machine learning algorithms to establish a prediction model based on the historical data. This model should be able to predict the probability (the first probability) that the smart toilet will be occupied during a given idle time period. Verify the accuracy of the model through methods such as cross-validation. Adjust and optimize the model according to the verification results.
[0061] S3043. Evaluate the pedestrian flow information based on the usage frequency of the smart toilet during a preset evaluation time period before the expected usage time period, and predict the second probability of being occupied during the idle time period.
[0062] Specifically, set a specific time period before the expected usage time period as the preset evaluation time period. Count the usage frequency of the smart toilet during the preset evaluation time period, including the number of uses, the duration of each use, etc. Combine the pedestrian flow data in the area where the smart toilet is located (obtained through surveillance cameras, pedestrian counters, etc.) to analyze the relationship between the pedestrian flow and the toilet usage frequency. Use statistical methods or machine learning algorithms to predict the second probability that the smart toilet will be occupied during the idle time period based on the usage frequency and pedestrian flow information during the preset evaluation time period.
[0063] S3044. Obtain the probability that the expected usage time period is in an idle state according to the first probability and the second probability.
[0064] Specifically, combine the first probability and the second probability, and use methods such as weighted average and Bayesian fusion to comprehensively evaluate the probability that the smart toilet is in an idle state during the expected usage time period. Display the calculated probability of the idle state to the user or the system in an intuitive way for the user to make a decision or for the system to perform subsequent operations.
[0065] For easy understanding, an example is given as follows: Suppose the historical data of a certain smart toilet shows that between 10:00 and 11:00 am on weekdays, the toilet is usually in a low-usage state. A user hopes to use the toilet between 10:45 and 10:58 am.
[0066] S3041: According to the historical data, it is determined that the toilet is idle between 10:30 and 10:45.
[0067] S3042: Analyze the historical data and find that the probability (the first probability) of the toilet being unexpectedly occupied between 10:00 and 11:00 am on the past few weekdays is 5%.
[0068] S3043: Check the toilet usage frequency from 9:00 to 10:00 this morning. It is found that the usage frequency is low. Combining with the pedestrian flow data, it is predicted that the second probability of the toilet being occupied during the period from 10:30 to 10:45 is 3%.
[0069] S3044: Considering the first probability and the second probability comprehensively and using the weighted average method (assuming equal weights), calculate that the probability of the toilet being idle during the period from 10:30 to 10:45 is (1 - 0.05) * (1 - 0.03) = 0.9215, that is, 92.15%. The preset threshold can be set to 80%. The probability of the toilet being idle is greater than the preset threshold. If the idle time period is occupied, it is very likely to extend to the expected usage time period, which is very likely to cause the expected usage time period to be occupied. By predicting that it will not be occupied during the idle time period, the expected usage time period of the target user will not be occupied.
[0070] Therefore, the user can consider that the probability of the toilet being idle during the period from 10:45 to 10:58 is relatively high and can choose to use the toilet during this time period.
[0071] By comprehensively considering the queuing situations online and offline, the system can more accurately judge the idle probability of the smart toilet, reducing the situations of misjudgment and missed judgment. Accurate idle toilet information can help users better plan their trips and time, reduce waiting time, improve usage efficiency, and thus enhance the user experience. By real-time monitoring and predicting the usage status of the smart toilet, the system can allocate resources more reasonably, improving the utilization rate and satisfaction of the toilet.
[0072] S40: Evaluate the priorities of the at least one smart toilet according to the queuing information and the distance of the target user relative to the at least one smart toilet.
[0073] Optionally, the step of evaluating the priorities of the at least one smart toilet according to the queuing information and the distance of the target user relative to the at least one smart toilet includes: S401: Obtain the total usage duration according to the first usage duration and the second usage duration; Specifically, add the first usage duration and the second usage duration to obtain the expected total usage duration of each smart toilet. Considering the possible overlapping or parallel usage situations (for example, the users queuing online and the users queuing on-site may not be the same batch), the system can appropriately adjust the usage duration or optimize the algorithm according to the actual situation to ensure accuracy.
[0074] S402: Configure the first weight and the second weight according to the total usage duration and the distance respectively, and calculate the score of the smart toilet; Specifically, the first weight reflects the importance of the total usage duration in evaluating the priority. Generally, the longer the usage duration, the longer the waiting time may be, and the greater the corresponding weight. The second weight reflects the importance of the distance from the target user to the smart toilet in evaluating the priority. The closer the distance, the higher the convenience for the user to reach and use the toilet, and the corresponding weight may be a negative value or a small positive value (indicating that the closer the distance, the lower the score).
[0075] For each smart toilet, calculate its score (Score) according to the following formula: Score = W1 * total usage duration + W2 * distance.
[0076] The system can dynamically adjust the weight values according to the actual situation (such as peak hours, special events, etc.) to more flexibly adapt to different scenarios and requirements.
[0077] S403. Represent the priority of the smart toilet from high to low according to the score of the smart toilet from low to high.
[0078] Specifically, according to the calculated scores, sort all the smart toilets from low to high. The lower the score, the higher the priority of the smart toilet. Present the sorted list of smart toilets to the user in a visual way, such as through the application interface, sign, voice prompt or SMS notification, etc. Additional information can be considered to be added during the presentation, such as the estimated waiting time, distance, toilet type (such as barrier-free, family toilet, etc.) so that the user can more comprehensively understand the situation of each smart toilet.
[0079] By comprehensively considering multiple factors such as usage duration and distance, and configuring the corresponding weights, the system can more accurately evaluate the priority of the smart toilet. The intuitive presentation and dynamic adjustment of the priority help users quickly find the most suitable toilet for themselves, reduce the waiting time and walking distance, and at the same time provide rich additional information to meet the diverse needs of users. Accurate priority evaluation helps the system more reasonably allocate resources, improve the overall utilization rate and satisfaction of the smart toilet, and at the same time adapt to changes in different scenarios and requirements by dynamically adjusting the weights.
[0080] S50. Push the target toilet to the target user according to the priority from high to low.
[0081] Optionally, the step of pushing the target toilet to the target user according to the priority from high to low includes: S501. According to the priority, push the smart toilet with the highest priority as the target toilet to the target user for confirmation. Specifically, determine the smart toilet with the highest priority according to the previously calculated smart toilet priority list. Push the information of the smart toilet with the highest priority (such as location, estimated waiting time, etc.) to the target user through application notifications, text messages, voice prompts or other appropriate communication methods. Ensure that the pushed information is accurate, clear, and contains all the key information required for the user to make a decision.
[0082] S502: If the confirmation information from the target user is not received within the preset time period, push the smart toilets with decreasing priority to the target user for confirmation in sequence. Specifically, preset a reasonable time period (such as 10 seconds, 20 seconds, etc.) as the timeout for user confirmation. Wait for the target user to confirm the pushed smart toilet within the timeout period. If the confirmation information from the target user is not received within the preset time period, the system automatically pushes the information of the next-priority smart toilet to the target user. Repeat this process until the user confirms or all smart toilets with different priorities have been pushed.
[0083] S503: When the target user confirms the target toilet, push the queuing information of the target toilet to the target user.
[0084] Specifically, once the target user confirms a certain smart toilet, the system immediately proceeds to the next step. Real-time obtain and update the queuing information of the target toilet, including the current number of people in the queue, estimated waiting time, etc. Push the obtained queuing information to the target user through the previously used communication methods (such as application notifications, text messages, etc.). Ensure that the pushed information is timely and accurate so that the user can make corresponding arrangements based on the queuing situation.
[0085] The system continuously monitors the usage status and queuing situation of the target toilet to ensure the timeliness and accuracy of the information. If there are significant changes in the status or queuing information of the target toilet (such as suddenly becoming very crowded or malfunctioning), the system should update the pushed information in a timely manner and notify the target user.
[0086] After the user confirms and uses the target toilet, user feedback can be collected through applications or text messages, such as usage experience, whether the waiting time is accurate, etc. Record the user's feedback and system operation records (such as the number of pushes, confirmation time, etc.), and conduct data analysis to optimize the system's push strategy and algorithm.
[0087] By preferentially pushing toilet information with the highest priority and promptly handling unconfirmed situations, the system can provide users with a smoother and more user-friendly experience. By continuously monitoring toilet status and queue information and updating the pushed information in a timely manner, the system can ensure the timeliness and accuracy of the information and enhance the robustness of the system. By collecting user feedback and system operation records and performing data analysis, the system can continuously optimize the push strategy and algorithm to improve the system performance and user satisfaction.
[0088] Embodiment 3 Based on Embodiment 1, the present invention provides a management system for intelligent toilets, including: A first toilet acquisition module configured to acquire at least one intelligent toilet that is in an unreserved state during the expected usage period of a target user according to a reservation request of the target user; A queue information acquisition module configured to acquire queue information of the at least one intelligent toilet within a preset time period according to the expected usage period; A second toilet acquisition module configured to acquire at least one intelligent toilet with a probability of being in an idle state greater than a preset threshold during the expected usage period according to the queue information; A priority evaluation module configured to evaluate the priority of the at least one intelligent toilet according to the queue information and the distance of the target user from the at least one intelligent toilet; A push module configured to push target toilets to the target user from high to low according to the priority.
[0089] Embodiment 4 Based on the same inventive concept as the foregoing embodiments, the present embodiment provides a computer device, which includes a memory and a processor. A computer program is stored in the memory, and the processor executes the computer program to implement the above method.
[0090] Embodiment 5 Based on the same inventive concept as the foregoing embodiments, the present embodiment provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium, and the processor executes the computer program to implement the above method.
[0091] The above are only the preferred embodiments of the present application, and do not limit the patent scope of the present application accordingly. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied to other related technical fields, shall be equally included in the patent protection scope of the present application.
Claims
1. A smart toilet management method, characterized in that: include: According to the reservation request of the target user, at least one smart toilet that is in an unreserved state during the expected usage time period of the target user is obtained; According to the expected usage time period, obtaining queue information of the at least one smart toilet within a preset time period; According to the queuing information, obtaining at least one smart toilet whose probability of being idle during the expected usage period is greater than a preset threshold; Evaluate the priority of the at least one smart toilet according to the queuing information and the distance of the target user relative to the at least one smart toilet; According to the priorities, the target toilets are pushed to the target users in descending order of priority.
2. The smart toilet management method according to claim 1, characterized in that: The step of obtaining at least one smart toilet in an unreserved state during the target user's expected usage time period according to the target user's reservation request comprises: According to the reservation request of the target user, the location information, movement mode and current time of the target user are obtained; According to the location information and movement mode, all smart toilets within a preset range are obtained; According to the current time and the moving mode, obtaining the arrival time of the target user at the smart toilet; Obtaining the expected usage time period of the target user according to the arrival time and the usage demand duration of the target user; According to the expected usage time period, at least one smart toilet in which the expected usage time period is in an unreserved state is obtained.
3. The smart toilet management method according to claim 2, characterized in that: The step of obtaining the expected usage time period of the target user according to the arrival time and the usage demand duration of the target user comprises: Obtain historical usage data of the smart toilet and divide the data into a first data set and a second data set according to gender; According to preset age stages, the first data set and the second data set are divided into a plurality of sub-data sets respectively; According to each of the sub-data sets, the average single usage duration of different genders, different age groups and different usage needs is obtained respectively; According to the target users' gender, age group and usage needs, the average single usage duration that represents the usage duration of the target users is obtained.
4. The smart toilet management method according to claim 3, characterized in that: The step of obtaining, according to the queuing information, at least one smart toilet having an idle state probability greater than a preset threshold during the expected usage period further includes: According to the online queue information of the smart toilet within the preset time period, the first usage time of the online queue is obtained; According to the image information of the smart toilet site, the number of people in line, gender and age group are obtained; Obtaining a second usage duration according to the number of people in the queue, gender, and age stage; According to the first usage duration and the second usage duration, a probability that the expected usage time period is in an idle state is obtained.
5. The smart toilet management method according to claim 4, characterized in that: The step of obtaining the second usage duration according to the number of people in the queue, gender and age stage includes: According to the gender and age of each queue member, the longest single maximum usage time among all single average usage time data of the same gender and age group is obtained; The second usage time is obtained according to the single maximum usage time of each queue member.
6. The smart toilet management method according to claim 4, characterized in that: The step of acquiring the probability that the expected usage time period is in an idle state according to the first usage duration and the second usage duration includes: Acquire an idle time period according to the first usage duration, the second usage duration, and the expected usage time period; Predicting a first probability of being occupied during the idle time period based on historical usage data of the smart toilet during the idle time period; According to the frequency of use of the smart toilet in the preset evaluation time period before the expected use time period, the flow of people is evaluated to predict the second probability of being occupied in the idle time period; The probability that the expected usage time period is in an idle state is obtained according to the first probability and the second probability.
7. The smart toilet management method according to claim 4, characterized in that: The step of evaluating the priority of the at least one smart toilet according to the queuing information and the distance of the target user relative to the at least one smart toilet comprises: Acquire a total usage time according to the first usage time and the second usage time; According to the total usage time and the distance, a first weight and a second weight are respectively configured, and a score of the smart toilet is calculated; The scores of the smart toilets are ranked from low to high to represent the priorities of the smart toilets from high to low.
8. The smart toilet management method according to claim 1, characterized in that: The step of pushing the target toilet to the target user according to the priority from high to low priority includes: According to the priorities, the smart toilet with the highest priority is pushed as the target toilet to the target user for confirmation; If no confirmation information is received from the target user within the preset time period, the smart toilets with the highest to lowest priority will be pushed to the target user for confirmation; When the target user confirms the target toilet, the queue information of the target toilet is pushed to the target user.
9. A smart toilet management system, characterized in that: include: A first toilet acquisition module is configured to acquire, according to a reservation request of a target user, at least one smart toilet that is in an unreserved state during a time period during which the target user is expected to use the toilet; A queue information acquisition module, configured to acquire queue information of the at least one smart toilet within a preset time period according to the expected usage time period; A second toilet acquisition module is configured to acquire, according to the queuing information, at least one smart toilet whose probability of being idle during the expected usage period is greater than a preset threshold; A priority evaluation module, configured to evaluate the priority of the at least one smart toilet according to the queuing information and the distance of the target user relative to the at least one smart toilet; A push module is configured to push target toilets to target users according to the priorities, in descending order of priority.
10. A computer device, characterized in that: The computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Toilet information query method and device, medium and computer device
CN110097204A
Method and device for recommending use of shared toilets
CN110954106A
Intelligent management system and method for public toilets in park
CN114548490A
Smart city parking lot recommendation method, Internet of Things system, device and storage medium
CN115643285A
Toilet guiding method, device and equipment and medium
CN119758357A