Method for controlling proportion of male toilet cubicles and female toilet cubicles of intelligent public toilet and electronic equipment

By adopting dynamically adjusted toilet seat control components in smart public toilets, the problem of traditional public toilets being unable to cope with large fluctuations in gender abortion has been solved, and the precise regulation of the proportion of men and women's toilets and the improvement of the efficiency of public toilet use is achieved.

CN119828503APending Publication Date: 2025-04-15HUNAN PROVINCIAL COMM PLANNING SURVEY & DESIGN INST CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411725594.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

Traditional public toilets use a fixed proportion of men and women's toilets, which cannot effectively deal with large fluctuations in the abortion, resulting in serious imbalance in the proportion of men and women's toilets, especially when women's toilets are often tight, while men's toilets are loose.

Method used

A smart public toilet ratio control method is adopted to determine the difference between the target toilet ratio and the actual toilet ratio, and the toilet position control components (such as the first rolling shutter door and the second rolling shutter door) are used to dynamically adjust the ratio of the men and women's toilets so that the difference is within the preset range.

Benefits of technology

The precise regulation of the proportion of men and women's toilets has been achieved, adapting to the phenomenon of large gender fluctuations in the population, alleviating the problem of serious imbalance in the proportion of men and women's toilets, and improving the efficiency and user experience of public toilets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119828503A_ABST
    Figure CN119828503A_ABST
Patent Text Reader

Abstract

The invention provides a method for controlling the proportion of male and female toilet cubicles of an intelligent public toilet and electronic equipment, and the method comprises the steps: determining the proportion of a target toilet cubicle of the intelligent public toilet at the kth moment, and enabling a toilet cubicle regulation and control assembly to adjust the proportion of the toilet cubicles of a male toilet and a female toilet; according to the actual number of the male toilet cubicles and the actual number of the female toilet cubicles, the actual toilet cubicle proportion of the intelligent public toilet at the kth moment is determined, the difference value between the target toilet cubicle proportion and the actual toilet cubicle proportion is determined, whether the difference value is within a preset range or not is judged, if yes, the current state of the intelligent public toilet is maintained, and if not, the current state of the intelligent public toilet is maintained. And the position of the toilet cubicle regulation and control assembly in the intelligent public toilet is adjusted so that the difference value can be within the preset range. According to the intelligent public toilet, the position of the toilet cubicle regulation and control assembly in the intelligent public toilet can be adjusted so that the difference value can be readjusted to be within the preset range, accurate regulation and control of the toilet cubicle proportion can be achieved, the phenomenon that gender fluctuation of people is large is adapted to the maximum degree, and then the phenomenon that the male and female toilet cubicle proportion is seriously unbalanced is relieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of public toilet control, and in particular to a method and electronic equipment for controlling the ratio of male and female toilets in a smart public toilet. Background Art

[0002] Traditional public toilets usually adopt a fixed ratio of male and female toilets, which can generally meet daily needs. However, in certain periods or areas, due to the large flow of people and the large fluctuation of gender, such as public toilets in scenic spots or during the peak period of Spring Festival travel, there is often a serious imbalance in the ratio of male and female toilets. In particular, in actual situations, there is often a serious shortage of female toilets, while male toilets are relatively spacious.

[0003] In view of this, it is necessary to propose a control method and electronic equipment for the ratio of male and female toilets in a smart public toilet to solve or at least alleviate the above-mentioned defects. Summary of the invention

[0004] The main purpose of the present invention is to provide a control method and electronic equipment for the ratio of male and female toilets in a smart public toilet, so as to solve the technical problem that the existing public toilets use a fixed ratio of male and female toilets and cannot meet the large fluctuation of gender of the flow of people.

[0005] To achieve the above object, the present invention provides a method for controlling the ratio of male and female toilets in a smart public toilet, comprising the following steps:

[0006] S1, determining the target toilet seat ratio of the smart public toilet at the kth moment; wherein the target toilet seat ratio is the ratio of the target number of male toilet seats to the target number of female toilet seats, the smart public toilet includes a male toilet, a female toilet and a toilet seat control component, and the toilet seat control component is used to adjust the toilet seat ratio of the male toilet and the female toilet;

[0007] S2, obtaining the actual number of male toilet seats and the actual number of female toilet seats in the smart public toilet at the kth moment, and determining the actual toilet seat ratio of the smart public toilet at the kth moment according to the actual number of male toilet seats and the actual number of female toilet seats;

[0008] S3, determining the difference between the target toilet seat ratio and the actual toilet seat ratio, and judging whether the difference is within a preset range;

[0009] S41, when the difference is within the preset range, maintaining the current state of the smart public toilet;

[0010] S42, when the difference is not within the preset range, adjust the position of the toilet seat control component at the smart public toilet so that the difference is within the preset range.

[0011] Preferably, the toilet seat control component includes a first rolling shutter door and a second rolling shutter door, the first rolling shutter door state has any one of an open state and a closed state, the second rolling shutter door state has any one of an open state and a closed state, and the first rolling shutter door state and the second rolling shutter door state are different states at the same time, the first rolling shutter door is arranged on the side close to the women's toilet, and the second rolling shutter door is arranged on the side close to the men's toilet; wherein, when the first rolling shutter door state is an open state, the first rolling shutter door is movably arranged along the length direction of the smart public toilet to adjust the ratio of the men's toilet and the women's toilet, and when the second rolling shutter door state is an open state, the second rolling shutter door is movably arranged along the length direction of the smart public toilet to adjust the ratio of the men's toilet and the women's toilet.

[0012] Preferably, the step S42 specifically includes the steps of:

[0013] S421, when the difference is less than the lower limit of the preset range, obtaining the first rolling door state and the second rolling door state;

[0014] S422, when the first rolling shutter door is in a closed state and the second rolling shutter door is in an open state, determining a first target moving position of the second rolling shutter door according to the target toilet seat ratio;

[0015] S423, controlling the second rolling door to move from the current position to the first target moving position, and then when there is no person between the first rolling door and the second rolling door, controlling the second rolling door to be in a closed state and then controlling the first rolling door to be in an open state.

[0016] Preferably, the step S42 specifically further includes the steps of:

[0017] S431, when the difference is greater than the upper limit of the preset range, obtaining the first rolling door state and the second rolling door state;

[0018] S432, when the first rolling shutter door is in an open state and the second rolling shutter door is in a closed state, determining a second target moving position of the first rolling shutter door according to the target toilet seat ratio;

[0019] S433, controlling the first rolling door to move from the current position to the second target moving position, and then controlling the first rolling door to be in a closed state and the second rolling door to be in an open state when there is no person between the first rolling door and the second rolling door.

[0020] Preferably, S4211, when the first rolling shutter door is in an open state and the second rolling shutter door is in a closed state, determining a third target moving position of the second rolling shutter door according to the target toilet seat ratio;

[0021] S4212, controlling the first rolling door to move toward the second rolling door to a position adjacent to the second rolling door;

[0022] S4213, when there is no person between the first rolling door and the second rolling door, controlling the first rolling door to be in a closed state and then controlling the second rolling door to be in an open state;

[0023] S4213, controlling the second rolling door to move from the current position to the third target moving position, and then when there is no person between the first rolling door and the second rolling door, controlling the second rolling door to be in a closed state and then controlling the first rolling door to be in an open state.

[0024] Preferably, the step S431 further includes the following steps:

[0025] S4311, when the first rolling shutter door is in a closed state and the second rolling shutter door is in an open state, determining a fourth target moving position of the first rolling shutter door according to the target toilet seat ratio;

[0026] S4312, controlling the second rolling door to move toward the first rolling door to a position adjacent to the first rolling door;

[0027] S4313, when there is no person between the first rolling door and the second rolling door, controlling the second rolling door to be in a closed state and then controlling the first rolling door to be in an open state;

[0028] S4314, controlling the first rolling door to move from the current position to the fourth target moving position, and then when there is no person between the first rolling door and the second rolling door, controlling the first rolling door to be in a closed state and then controlling the second rolling door to be in an open state.

[0029] Preferably, the step S1 specifically includes the following steps:

[0030] Using the formula 3600 / t M2 Get the first number of people that can be served per hour in each men's toilet; where t M2 The average duration of a male bowel movement;

[0031] The formula k2 / 16 is used to obtain the average number of first bowel movements per male per hour during the day; where k2 is the average number of bowel movements per normal adult per day during the day;

[0032] Using formula Determine the target number of men's toilets N M ; Among them, M M is the total number of men corresponding to the smart public toilet;

[0033] Using formula Get the average duration of each female toilet visit t Fav2 ; where k1 is the average number of urinations per day for a normal adult, t F1 is the average duration of urination for women, t F2 The average duration of a female bowel movement;

[0034] The formula (k2+k2) / 16 was used to obtain the average number of bowel movements and urinations per hour per woman during the day;

[0035] Using formula Determine the target number of female toilet seats N F ; Among them, M F The total number of women corresponding to the smart public toilets;

[0036] The target number of men's toilets N M and the target number of female toilet seats N F The ratio of is taken as the target toilet seat ratio.

[0037] Preferably, the step S1 specifically includes the following steps:

[0038] Get the current number of people queuing for the smart public toilet; the ratio of the number of people urinating to the number of people defecating is k1:k2, and the number of male defecation in the queue is k1 is the average number of urinations per day for a normal adult, k2 is the average number of bowel movements per day for a normal adult, M M is the total number of men corresponding to the smart public toilet;

[0039] Using the formula 3600 / t M2 Get the second number of people that can be served per hour for each men's toilet; where t M2 The average duration of a male bowel movement;

[0040] According to the formula Determine the target number of men's toilets N M ;

[0041] According to the formula Get the average duration of each female toilet visit t Fav2 ; where t F1 is the average duration of urination for women, t F2 The average duration of a female bowel movement;

[0042] According to the formula 3600 / t Fav2 Get the third number of people that can be served in each female restroom per hour;

[0043] According to the formula Get the target number of female toilet seats N F ; Among them, M FThe total number of women corresponding to the smart public toilets;

[0044] The target number of men's toilets N M and the target number of female toilet seats N F The ratio of is taken as the target toilet seat ratio.

[0045] The present invention also provides an electronic device, comprising:

[0046] A target toilet ratio determination unit is used to determine the target toilet ratio of the smart public toilet at the kth time; wherein the target toilet ratio is the ratio of the target number of men's toilets to the target number of women's toilets, and the smart public toilet includes a men's toilet, a women's toilet, and a toilet control component, and the toilet control component is used to adjust the toilet ratio of the men's toilet and the women's toilet;

[0047] An actual toilet seat ratio determination unit is used to obtain the actual number of men's toilet seats and the actual number of women's toilet seats in the smart public toilet at the kth moment, and determine the actual toilet seat ratio of the smart public toilet at the kth moment according to the actual number of men's toilet seats and the actual number of women's toilet seats;

[0048] The toilet seat analysis and adjustment unit is used to determine the difference between the target toilet seat ratio and the actual toilet seat ratio, and judge whether the difference is within a preset range; when the difference is within the preset range, maintain the current state of the smart public toilet; when the difference is not within the preset range, adjust the position of the toilet seat control component at the smart public toilet so that the difference is within the preset range.

[0049] Compared with the prior art, the present invention has the following beneficial effects:

[0050] The present invention provides a control method and electronic device for the male and female toilet ratio of a smart public toilet. By determining the target toilet ratio of the smart public toilet at the kth moment, the toilet control component is used to adjust the toilet ratio of the men's toilet and the women's toilet, and the actual toilet ratio of the smart public toilet at the kth moment is determined according to the actual number of men's toilets and the actual number of women's toilets. The difference between the target toilet ratio and the actual toilet ratio is determined, and it is judged whether the difference is within a preset range. If so, the current state of the smart public toilet is maintained. If not, the position of the toilet control component at the smart public toilet is adjusted so that the difference is within the preset range. The present application can adjust the position of the toilet control component at the smart public toilet, and can use dynamic automatic adjustment or manual adjustment of the male and female toilet ratio to achieve precise control of the toilet ratio, adapt to the phenomenon of large gender fluctuations in the population to the greatest extent, and thereby alleviate the serious imbalance in the male and female toilet ratio. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.

[0052] Figure 1 is a schematic diagram of a flow chart in one embodiment of the present invention;

[0053] Figure 2 It is a flowchart diagram of steps further included after step S421 in one embodiment of the present invention;

[0054] Figure 3 It is a flowchart diagram of steps further included after step S431 in one embodiment of the present invention;

[0055] Figure 4 is a schematic plan view of a smart public toilet in one embodiment of the present invention;

[0056] Figure 5 It is a cross-sectional schematic diagram of a smart public toilet in one embodiment of the present invention.

[0057] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION

[0058] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0059] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0060] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0061] In addition, the descriptions of "right part", "middle part" and the like in the present invention are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "right part" and "middle part" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in this field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0062] Please refer to the attached Figures 1 to 5 In one embodiment of the present invention, a method for controlling the ratio of male and female toilets in a smart public toilet includes the following steps:

[0063] S1, determining the target toilet seat ratio of the smart public toilet at the kth moment; wherein the target toilet seat ratio is the ratio of the target number of male toilet seats to the target number of female toilet seats, the smart public toilet includes a male toilet, a female toilet and a toilet seat control component, and the toilet seat control component is used to adjust the toilet seat ratio of the male toilet and the female toilet;

[0064] Specifically, the k moment can be the current moment or any other moment. The toilet seat control component can adjust the toilet seat ratio between the male toilet and the female toilet. By adjusting the position of the toilet seat control component in the smart public toilet, the comparison between the male toilet and the female toilet can be flexibly adjusted.

[0065] S2, obtaining the actual number of men's toilet seats and the actual number of women's toilet seats in the smart public toilet at the kth moment, and determining the actual toilet seat ratio of the smart public toilet at the kth moment based on the actual number of men's toilet seats and the actual number of women's toilet seats; wherein, the actual number of men's toilet seats and the actual number of women's toilet seats can be determined by setting up detection devices in the smart public toilet, for example, setting up infrared sensing devices or other detection devices that can sense whether there is a person in a toilet seat at appropriate locations in the men's toilet or the women's toilet. Of course, the selection of the detection device should pay attention to protecting the privacy of the people, and the actual toilet seat ratio of the smart public toilet can be known in real time based on the detected data.

[0066] S3, determining the difference between the target toilet seat ratio and the actual toilet seat ratio, and judging whether the difference is within a preset range;

[0067] It is understandable that the preset range can be set according to actual needs. In a specific example, the preset range can be set to zero, that is, when the target toilet ratio and the actual toilet ratio are equal, it is determined that both are within the preset range, and step S41 is executed. When they are not equal, it is determined that they are not within the preset range, and step S42 is executed.

[0068] S41, when the difference is within the preset range, maintaining the current state of the smart public toilet;

[0069] S42, when the difference is not within the preset range, adjust the position of the toilet seat control component at the smart public toilet so that the difference is within the preset range.

[0070] When the difference is not within the preset range, it means that the target toilet ratio and the actual toilet ratio do not match each other. Either the women's toilets are in a serious shortage or the men's toilets are in a serious shortage. In order to match the actual toilet ratio with the target toilet ratio and meet the current gender differences in traffic to the greatest extent and make the smart public toilets be used reasonably, the position of the toilet control component in the smart public toilet can be adjusted so that the difference can be readjusted to the preset range, thereby alleviating the serious imbalance in the ratio of male and female toilets.

[0071] As a preferred embodiment, the toilet seat control component includes a first rolling shutter door and a second rolling shutter door, the first rolling shutter door state has any one of an open state and a closed state, the second rolling shutter door state has any one of an open state and a closed state, and the first rolling shutter door state and the second rolling shutter door state are different states at the same time, the first rolling shutter door is arranged on the side close to the women's toilet, and the second rolling shutter door is arranged on the side close to the men's toilet; wherein, when the first rolling shutter door state is an open state, the first rolling shutter door is movably arranged along the length direction of the smart public toilet to adjust the ratio of the men's toilet and the women's toilet, and when the second rolling shutter door state is an open state, the second rolling shutter door is movably arranged along the length direction of the smart public toilet to adjust the ratio of the men's toilet and the women's toilet.

[0072] like Figure 4-5 As shown, the toilet seat control component of the present application includes a first rolling shutter door and a second rolling shutter door, and the first rolling shutter door and the second rolling shutter door are both movably arranged along the length direction of the smart public toilet. The smart public toilet is preferably in a rectangular shape, and the rolling shutter door can be movably arranged by means of a sliding rail slider. For example, the first rolling shutter door can be movably arranged on the first rolling shutter door track, and the second rolling shutter door can be movably arranged on the second rolling shutter door track. Therefore, the first rolling shutter door or the second rolling shutter door can be moved to the desired position according to actual needs, thereby changing the ratio of men's and women's toilets.

[0073] It should be noted that when the rolling door is in a closed state, the bottom of the rolling door is on the ground, and the space can be separated at this time. When the rolling door is in an open state, the bottom of the rolling door is completely off the ground, and the rolling door is in a retracted state. In this state, the rolling door can be controlled to move along the corresponding track, and the corresponding motor can be controlled to drive from the closed state to the open state.

[0074] In a preferred embodiment, if Figure 4 As shown, the first rolling shutter door is arranged near the side of the women's restroom, and the second rolling shutter door is arranged near the side of the men's restroom. The first rolling shutter door and the second rolling shutter door cannot cross each other's spatial area in space. In another embodiment, the first rolling shutter door and the second rolling shutter door track can also be staggered in height, and the corresponding first rolling shutter door track and the second rolling shutter door track can be staggered in height. When the first rolling shutter door and the second rolling shutter door are both in a closed state, the first rolling shutter door can cross the second rolling shutter door during the movement process, and the second rolling shutter door can cross the first rolling shutter door during the movement process. This setting form is mainly used to solve the need to move the toilet seat ratio over a large range. The toilet seat ratio adjustment can be completed by directly closing one rolling shutter door, controlling the other rolling shutter door to move to the target position, and then opening the other rolling shutter door. The moving process will not be affected by the other rolling shutter door, thereby improving the adjustment efficiency.

[0075] As a preferred implementation, the step S42 specifically includes the following steps:

[0076] S421, when the difference is less than the lower limit of the preset range, obtaining the first rolling door state and the second rolling door state;

[0077] S422, when the first rolling shutter door is in a closed state and the second rolling shutter door is in an open state, determining a first target moving position of the second rolling shutter door according to the target toilet seat ratio;

[0078] S423, controlling the second rolling door to move from the current position to the first target moving position, and then when there is no person between the first rolling door and the second rolling door, controlling the second rolling door to be in a closed state and then controlling the first rolling door to be in an open state.

[0079] Specifically, when the difference is less than the lower limit of the preset range, it means that the women's restroom is in a serious shortage of toilet seats. At this time, the current first rolling shutter door status and the second rolling shutter door status can be obtained first. If the first rolling shutter door status is closed and the second rolling shutter door status is open, since the target toilet seat ratio is the ratio of the target number of men's toilet seats to the target number of women's toilet seats, the first target moving position of the second rolling shutter door can be determined after determining the target toilet seat ratio and the position of the second rolling shutter door. Then, the second rolling shutter door is controlled to move from the current position to the first target moving position. When there is no one between the first rolling shutter door and the second rolling shutter door, the second rolling shutter door is controlled to be in a closed state and then the first rolling shutter door is controlled to be in an open state. In this way, the toilet seat ratio can be adjusted accurately, and the target toilet seat ratio and the actual toilet seat ratio can be accurately matched, thereby alleviating the serious imbalance problem of the male and female toilet seat ratio in smart public toilets to the greatest extent.

[0080] As another preferred embodiment, the step S42 specifically further includes the following steps:

[0081] S431, when the difference is greater than the upper limit of the preset range, obtaining the first rolling door state and the second rolling door state;

[0082] S432, when the first rolling shutter door is in an open state and the second rolling shutter door is in a closed state, determining a second target moving position of the first rolling shutter door according to the target toilet seat ratio;

[0083] S433, controlling the first rolling door to move from the current position to the second target moving position, and then controlling the first rolling door to be in a closed state and the second rolling door to be in an open state when there is no person between the first rolling door and the second rolling door.

[0084] Specifically, when the difference is greater than the upper limit of the preset range, it means that the men's restroom is in a serious shortage of toilets. At this time, the current first rolling shutter door state and the second rolling shutter door state can be obtained first. If the first rolling shutter door state is open and the second rolling shutter door state is closed, since the target toilet ratio is the ratio of the target number of men's toilets to the target number of women's toilets, the second target moving position of the first rolling shutter door can be determined after determining the target toilet ratio and the position of the first rolling shutter door. Then, the first rolling shutter door is controlled to move from the current position to the second target moving position. When there is no one between the first rolling shutter door and the second rolling shutter door, the first rolling shutter door is controlled to be in a closed state and then the second rolling shutter door is controlled to be in an open state. In this way, the toilet ratio can be adjusted accurately, and the target toilet ratio and the actual toilet ratio can be accurately matched, thereby alleviating the serious imbalance in the ratio of male and female toilets in smart public toilets to the greatest extent.

[0085] As a preferred implementation, the step S421 further includes the following steps:

[0086] S4211, when the first rolling shutter door is in an open state and the second rolling shutter door is in a closed state, determining a third target moving position of the second rolling shutter door according to the target toilet seat ratio;

[0087] S4212, controlling the first rolling door to move toward the second rolling door to a position adjacent to the second rolling door;

[0088] S4213, when there is no person between the first rolling door and the second rolling door, controlling the first rolling door to be in a closed state and then controlling the second rolling door to be in an open state;

[0089] S4213, controlling the second rolling door to move from the current position to the third target moving position, and then when there is no person between the first rolling door and the second rolling door, controlling the second rolling door to be in a closed state and then controlling the first rolling door to be in an open state.

[0090] Specifically, when the first rolling shutter door is in an open state and the second rolling shutter door is in a closed state, the first rolling shutter door is controlled to move toward the second rolling shutter door to a position adjacent to the second rolling shutter door. In this way, it can be ensured that the maximum number of available toilets in the women's restroom can be maintained during the movement. When moving to an adjacent position (located on the side of the second rolling shutter door close to the women's restroom), when there is no one between the first rolling shutter door and the second rolling shutter door, the first rolling shutter door is controlled to be in a closed state and then the second rolling shutter door is controlled to be in an open state. At this time, the number of toilets in the women's restroom is increased. Then the second rolling shutter door is controlled to move from the current position to the third target moving position. When there is no one between the first rolling shutter door and the second rolling shutter door, the second rolling shutter door is controlled to be in a closed state and then the first rolling shutter door is controlled to be in an open state. In this way, the toilet ratio can be adjusted accurately and the effective use number and usage time of the women's restroom can be increased to the greatest extent, thereby achieving an accurate match between the target toilet ratio and the actual toilet ratio, thereby alleviating the serious imbalance problem of the male and female toilet ratio in the smart public toilet to the greatest extent.

[0091] As another preferred implementation, the step S431 further includes the following steps:

[0092] S4311, when the first rolling shutter door is in a closed state and the second rolling shutter door is in an open state, determining a fourth target moving position of the first rolling shutter door according to the target toilet seat ratio;

[0093] S4312, controlling the second rolling door to move toward the first rolling door to a position adjacent to the first rolling door;

[0094] S4313, when there is no person between the first rolling door and the second rolling door, controlling the second rolling door to be in a closed state and then controlling the first rolling door to be in an open state;

[0095] S4314, controlling the first rolling door to move from the current position to the fourth target moving position, and then when there is no person between the first rolling door and the second rolling door, controlling the first rolling door to be in a closed state and then controlling the second rolling door to be in an open state.

[0096] Specifically, when the first rolling shutter door is in a closed state and the second rolling shutter door is in an open state, the second rolling shutter door is controlled to move toward the first rolling shutter door to a position adjacent to the first rolling shutter door. In this way, it can be ensured that the maximum number of available toilets in the men's restroom can be maintained during the movement. When moving to an adjacent position (located on the side of the first rolling shutter door close to the women's restroom), when there is no one between the first rolling shutter door and the second rolling shutter door, the second rolling shutter door is controlled to be in a closed state and then the first rolling shutter door is controlled to be in an open state. At this time, the number of toilets in the men's restroom is increased. Then the first rolling shutter door is controlled to move from the current position to the fourth target moving position. When there is no one between the first rolling shutter door and the second rolling shutter door, the first rolling shutter door is controlled to be in a closed state and then the second rolling shutter door is controlled to be in an open state. In this way, the toilet ratio can be adjusted accurately and the effective use number and usage time of the men's restroom can be increased to the greatest extent, so as to achieve an accurate match between the target toilet ratio and the actual toilet ratio, thereby alleviating the serious imbalance problem of the male and female toilet ratio in the smart public toilet to the greatest extent.

[0097] As a preferred implementation, step S1 specifically includes the following steps:

[0098] Using the formula 3600 / t M2 Get the first number of people that can be served per hour in each men's toilet; where t M2 is the average duration of male defecation, in seconds;

[0099] The formula k2 / 16 is used to obtain the average number of first bowel movements per hour per male during the day; k2 is the average number of bowel movements per day for a normal adult; based on the daytime length of 16 hours, the average number of bowel movements per day for a normal adult is generally 1.0 to 1.2 times according to statistics, and in actual operation, k2 can be taken as 1.1 times;

[0100] Using formula Determine the target number of men's toilets N M ; Among them, M M is the total number of men corresponding to the smart public toilet;

[0101] Using formula Get the average duration of each female toilet visit t Fav2 , unit, s; where k1 is the average number of urinations per day for a normal adult, t F1 is the average duration of female urination, in seconds, t F2 is the average duration of female defecation, in seconds; the average number of urinations per day for normal adults, according to statistics, k1 is generally 4 to 6 times, and in actual operation, k1 can be 5 times;

[0102] The formula (k2+k2) / 16 is used to obtain the average number of bowel movements and urinations per hour per female during the day. It should be noted here that female bowel movements and urinations are considered to be using the toilet, so (k2+k2) / 16 is used as the average number of bowel movements and urinations per hour per female during the day.

[0103] Using formula Determine the target number of female toilet seats N F ; Among them, M F The total number of women corresponding to the smart public toilets;

[0104] The target number of men's toilets N M and the target number of female toilet seats N F The ratio of is taken as the target toilet ratio.

[0105] This embodiment can adjust the toilet ratio in advance according to the number of male and female tourists who have made reservations at the scenic spot, so as to meet the toilet needs of male and female tourists in the scenic spot to the greatest extent.

[0106] As another preferred implementation, the step S1 specifically includes the following steps:

[0107] Get the current number of people queuing for the smart public toilet; the ratio of people urinating to people defecating is k1:k2, and the number of male defecation in the queue is k1 is the average number of urinations per day for a normal adult, k2 is the average number of bowel movements per day for a normal adult, M M is the total number of men corresponding to the smart public toilet;

[0108] Using the formula 3600 / t M2 Get the second number of people that can be served per hour for each men's toilet; where t M2 The average duration of a male bowel movement;

[0109] According to the formula Determine the target number of men's toilets N M ;

[0110] According to the formula Get the average duration of each female toilet visit t Fav2 ; where t F1 is the average duration of urination for women, t F2 The average duration of a female bowel movement;

[0111] According to the formula 3600 / t Fav2 Get the third number of people that can be served in each female restroom per hour;

[0112] According to the formula Get the target number of female toilet seats NF ; Among them, M F The total number of women corresponding to the smart public toilets;

[0113] The target number of men's toilets N M and the target number of female toilet seats N F The target toilet ratio is as follows.

[0114] It is worth noting that this embodiment can be adjusted according to the number of people queuing outside the smart public toilet. From the target toilet ratio formula finally obtained in this embodiment and the target toilet ratio formula finally obtained in the previous embodiment, it can be seen that the final calculation formulas obtained by the two are the same, so the two can also be verified with each other, and both are reasonable.

[0115] The present invention also provides an electronic device, comprising:

[0116] A target toilet ratio determination unit is used to determine the target toilet ratio of the smart public toilet at the kth time; wherein the target toilet ratio is the ratio of the target number of men's toilets to the target number of women's toilets, and the smart public toilet includes a men's toilet, a women's toilet, and a toilet control component, and the toilet control component is used to adjust the toilet ratio of the men's toilet and the women's toilet;

[0117] An actual toilet seat ratio determination unit is used to obtain the actual number of men's toilet seats and the actual number of women's toilet seats in the smart public toilet at the kth moment, and determine the actual toilet seat ratio of the smart public toilet at the kth moment according to the actual number of men's toilet seats and the actual number of women's toilet seats;

[0118] The toilet seat analysis and adjustment unit is used to determine the difference between the target toilet seat ratio and the actual toilet seat ratio, and judge whether the difference is within a preset range; when the difference is within the preset range, maintain the current state of the smart public toilet; when the difference is not within the preset range, adjust the position of the toilet seat control component at the smart public toilet so that the difference is within the preset range.

[0119] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for controlling the ratio of male and female toilets in a smart public toilet, characterized in that: The following steps are involved: S1, determining the target toilet seat ratio of the smart public toilet at the kth moment; wherein the target toilet seat ratio is the ratio of the target number of male toilet seats to the target number of female toilet seats, the smart public toilet includes a male toilet, a female toilet and a toilet seat control component, and the toilet seat control component is used to adjust the toilet seat ratio of the male toilet and the female toilet; S2, obtaining the actual number of male toilet seats and the actual number of female toilet seats in the smart public toilet at the kth moment, and determining the actual toilet seat ratio of the smart public toilet at the kth moment according to the actual number of male toilet seats and the actual number of female toilet seats; S3, determining the difference between the target toilet seat ratio and the actual toilet seat ratio, and judging whether the difference is within a preset range; S41, when the difference is within the preset range, maintaining the current state of the smart public toilet; S42, when the difference is not within the preset range, adjusting the position of the toilet seat regulating component at the smart public toilet so that the difference is within the preset range.

2. The method for controlling the ratio of male and female toilets in a smart public toilet according to claim 1 is characterized in that: The toilet seat control component includes a first rolling shutter door and a second rolling shutter door, the first rolling shutter door state can be either an open state or a closed state, the second rolling shutter door state can be either an open state or a closed state, and the first rolling shutter door state and the second rolling shutter door state are different states at the same time, the first rolling shutter door is arranged on the side close to the women's toilet, and the second rolling shutter door is arranged on the side close to the men's toilet; wherein, when the first rolling shutter door state is an open state, the first rolling shutter door can be movably arranged along the length direction of the smart public toilet to adjust the ratio of the men's toilet and the women's toilet, and when the second rolling shutter door state is an open state, the second rolling shutter door can be movably arranged along the length direction of the smart public toilet to adjust the ratio of the men's toilet and the women's toilet.

3. The method for controlling the ratio of male and female toilets in a smart public toilet according to claim 2 is characterized in that: The step S42 specifically includes the following steps: S421, when the difference is less than the lower limit of the preset range, obtaining the first rolling door state and the second rolling door state; S422, when the first rolling shutter door is in a closed state and the second rolling shutter door is in an open state, determining a first target moving position of the second rolling shutter door according to the target toilet seat ratio; S423, controlling the second rolling door to move from the current position to the first target moving position, and then when there is no person between the first rolling door and the second rolling door, controlling the second rolling door to be in a closed state and then controlling the first rolling door to be in an open state.

4. The method for controlling the ratio of male and female toilets in a smart public toilet according to claim 3 is characterized in that: The step S42 specifically further includes the steps of: S431, when the difference is greater than the upper limit of the preset range, obtaining the first rolling door state and the second rolling door state; S432, when the first rolling shutter door is in an open state and the second rolling shutter door is in a closed state, determining a second target moving position of the first rolling shutter door according to the target toilet seat ratio; S433, controlling the first rolling door to move from the current position to the second target moving position, and then controlling the first rolling door to be in a closed state and the second rolling door to be in an open state when there is no person between the first rolling door and the second rolling door.

5. The method for controlling the ratio of male and female toilets in a smart public toilet according to claim 3 is characterized in that: The step S421 further includes the following steps: S4211, when the first rolling shutter door is in an open state and the second rolling shutter door is in a closed state, determining a third target moving position of the second rolling shutter door according to the target toilet seat ratio; S4212, controlling the first rolling door to move toward the second rolling door to a position adjacent to the second rolling door; S4213, when there is no person between the first rolling door and the second rolling door, controlling the first rolling door to be in a closed state and then controlling the second rolling door to be in an open state; S4213, controlling the second rolling door to move from the current position to the third target moving position, and then when there is no person between the first rolling door and the second rolling door, controlling the second rolling door to be in a closed state and then controlling the first rolling door to be in an open state.

6. The method for controlling the ratio of male and female toilets in a smart public toilet according to claim 4 is characterized in that: The step S431 further includes the following steps: S4311, when the first rolling shutter door is in a closed state and the second rolling shutter door is in an open state, determining a fourth target moving position of the first rolling shutter door according to the target toilet seat ratio; S4312, controlling the second rolling door to move toward the first rolling door to a position adjacent to the first rolling door; S4313, when there is no person between the first rolling door and the second rolling door, controlling the second rolling door to be in a closed state and then controlling the first rolling door to be in an open state; S4314, controlling the first rolling door to move from the current position to the fourth target moving position, and then when there is no person between the first rolling door and the second rolling door, controlling the first rolling door to be in a closed state and then controlling the second rolling door to be in an open state.

7. The method for controlling the ratio of male and female toilets in a smart public toilet according to claim 1 is characterized in that: The step S1 specifically includes the following steps: Using the formula 3600 / t M2 Get the first number of people that can be served per hour in each men's toilet; where t M2 The average duration of a male bowel movement; The formula k2 / 16 is used to obtain the average number of first bowel movements per male per hour during the day; where k2 is the average number of bowel movements per normal adult per day during the day; Using formula Determine the target number of men's toilets N M ; Among them, M M is the total number of men corresponding to the smart public toilet; Using formula Get the average duration of each female toilet visit t Fav2 ; where k1 is the average number of urinations per day for a normal adult, t F1 is the average duration of urination for women, t F2 The average duration of a female bowel movement; The formula (k2+k2) / 16 was used to obtain the average number of bowel movements and urinations per hour per woman during the day; Using formula Determine the target number of female toilet seats N F ; Among them, M F The total number of women corresponding to the smart public toilets; The target number of men's toilets N M and the target number of female toilet seats N F The ratio of is taken as the target toilet seat ratio.

8. The method for controlling the ratio of male and female toilets in a smart public toilet according to claim 1 is characterized in that: The step S1 specifically includes the following steps: Get the current number of people queuing for the smart public toilet; the ratio of people urinating to people defecating is k1:k2, and the number of male defecation in the queue is k1 is the average number of urinations per day for a normal adult, k2 is the average number of bowel movements per day for a normal adult, M M is the total number of men corresponding to the smart public toilet; Using the formula 3600 / t M2 Get the second number of people that can be served per hour for each men's toilet; where t M2 The average duration of a male bowel movement; According to the formula Determine the target number of men's toilets N M ; According to the formula Get the average duration of each female toilet visit t Fav2 ; where t F1 is the average duration of urination for women, t F2 The average duration of a female bowel movement; According to the formula 3600 / t Fav2 Get the third number of people that can be served in each female restroom per hour; According to the formula Get the target number of female toilet seats N F ; Among them, M F The total number of women corresponding to the smart public toilets; The target number of men's toilets N M and the target number of female toilet seats N F The ratio of is taken as the target toilet seat ratio.

9. An electronic device, characterized in that: include: A target toilet ratio determination unit is used to determine the target toilet ratio of the smart public toilet at the kth time; wherein the target toilet ratio is the ratio of the target number of men's toilets to the target number of women's toilets, and the smart public toilet includes a men's toilet, a women's toilet, and a toilet control component, and the toilet control component is used to adjust the toilet ratio of the men's toilet and the women's toilet; An actual toilet seat ratio determination unit is used to obtain the actual number of men's toilet seats and the actual number of women's toilet seats in the smart public toilet at the kth moment, and determine the actual toilet seat ratio of the smart public toilet at the kth moment according to the actual number of men's toilet seats and the actual number of women's toilet seats; A toilet seat analysis and adjustment unit, used to determine the difference between the target toilet seat ratio and the actual toilet seat ratio, and judge whether the difference is within a preset range; when the difference is within the preset range, maintain the current state of the smart public toilet; When the difference is not within the preset range, the position of the toilet seat regulating component at the smart public toilet is adjusted so that the difference is within the preset range.