A flushing faucet arrangement method and device based on building water supply and drainage, and a medium

By using automated identification and embedded design rules, the problem of low efficiency and poor consistency in the placement of flushing faucets in building water supply and drainage design has been solved, achieving full-process automation and unified design quality, and improving design efficiency and flexibility.

CN121413294BActive Publication Date: 2026-03-31HEFEI LIANGZHEN CONSTR TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-12-30
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

In existing building water supply and drainage designs, the arrangement of flushing faucets relies on manual operation, resulting in low efficiency, poor consistency, high error rate, and cumbersome modifications.

Method used

An automated method is used to identify the location of flushing faucets in a building's water supply and drainage model. By embedding design rules and specialized algorithms, a flushing faucet placement strategy that meets the specifications is generated, including the determination of the location of sump pits and specific functional rooms.

Benefits of technology

It achieves full automation from spatial recognition to point generation, ensuring consistent design quality, improving design efficiency and flexibility, and simplifying batch modifications and project adaptation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121413294B_ABST
    Figure CN121413294B_ABST
Patent Text Reader

Abstract

The application discloses a flushing faucet arrangement method and device based on building water supply and drainage, and a medium, and belongs to the technical field of building water supply and drainage design, and is used for solving the technical problems that the existing building water supply and drainage design is more dependent on manual operation, and is prone to low efficiency, poor consistency, high error rate and complicated modification. The method comprises the following steps: performing position identification processing on a building water supply and drainage model related to a basement flushing faucet, and obtaining object type information to be arranged; performing distance position judgment on a sump area in the object type information to be arranged related to a surrounding wall type, and obtaining a first flushing faucet arrangement strategy; performing distance position judgment on a door position area related to the surrounding wall type, and obtaining a second flushing faucet arrangement strategy; and determining a flushing faucet arrangement strategy of the building water supply and drainage model based on the first flushing faucet arrangement strategy and the second flushing faucet arrangement strategy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of building water supply and drainage design, and in particular to a method, equipment and medium for arranging flushing faucets based on building water supply and drainage. Background Technology

[0002] In building water supply and drainage design, especially in the design of flushing systems in areas such as basements and garages, the placement of flushing faucets has traditionally relied entirely on manual operation by the designer. The designer needs to identify sump pits and specific rooms one by one on the floor plan, and then manually place the faucet elements on the corresponding walls based on personal experience and understanding of regulations. However, this traditional method has certain limitations:

[0003] 1) Inefficiency: Repetitive manual operations involve a large amount of work and have a long design cycle.

[0004] 2) Poor consistency: Different designers have different layout habits and understandings, resulting in inconsistent design standards.

[0005] 3) High error rate: It is easy to miss some placement points, or the placement location does not meet the specifications (such as insufficient distance, located in prohibited areas, etc.).

[0006] 4) Cumbersome modifications: When the building layout changes, the positions of all related faucets need to be manually checked and adjusted, which makes coordination difficult. Summary of the Invention

[0007] This application provides a method, equipment, and medium for arranging flushing faucets based on building water supply and drainage, which solves the following technical problems: In existing building water supply and drainage designs, manual operation is heavily relied upon, which easily leads to problems such as low efficiency, poor consistency, high error rate, and cumbersome modifications.

[0008] The embodiments of this application adopt the following technical solutions:

[0009] On one hand, this application provides a method for arranging flush faucets based on building water supply and drainage, including: performing position identification processing on a building water supply and drainage model related to basement flush faucets to obtain object type information to be arranged; performing distance position judgment on the sump area in the object type information related to the surrounding wall type to obtain a first flush faucet arrangement strategy for the sump arrangement; based on the equipment pit area of ​​a specific functional room in the object type information to be arranged, performing distance position judgment on the door location area related to the surrounding wall type to obtain a second flush faucet arrangement strategy for the specific functional room arrangement; and determining the flush faucet arrangement strategy of the building water supply and drainage model based on the first flush faucet arrangement strategy and the second flush faucet arrangement strategy.

[0010] This application's embodiments automate the entire process from spatial recognition to point generation, freeing designers from repetitive tasks. By embedding design rules, it ensures that every generated flushing faucet location meets specifications, guaranteeing consistent design quality. Different specialized algorithms are employed to intelligently adapt to various complex building layouts, taking into account the different characteristics of sump pits and rooms. Parametric design makes batch modifications and project adaptations extremely convenient, greatly improving design efficiency and flexibility.

[0011] In one feasible implementation, the location identification of basement flushing faucets is performed on the building water supply and drainage model to obtain the type information of the objects to be arranged. Specifically, this includes: identifying the component types of the building water supply and drainage model under the flushing faucet arrangement method to obtain the component type information to be arranged; wherein, the component type information to be arranged includes: sump pits and specific functional rooms; the specific functional rooms include at least: generator room, air conditioning water machine room, garbage station and grease trap; according to the basic configuration information of the flushing faucets, the component type information to be arranged is configured accordingly to obtain the object type information to be arranged; wherein, the basic configuration information includes: diameter, height, horizontal distance and reference point position.

[0012] In one feasible implementation, the distance and position of the sump area in the object type information to be arranged are determined according to the surrounding wall type to obtain a first flushing faucet arrangement strategy for the sump arrangement, including: performing position identification processing on the sump area under adjacent walls; if the sump area is close to a vertical wall, the corner point of the sump area closest to the wall is taken as the sump reference point; if two sump reference points are equidistant from the nearest wall, the upper or left sump reference point is selected first; if two sump reference points are not equidistant from the nearest wall, the sump reference point with the larger distance is selected first; based on the priority selection strategy of the sump reference point, the flushing faucet is arranged on the vertical wall accordingly to obtain the first sump flushing faucet arrangement strategy.

[0013] In one feasible implementation, the distance and position of the sump area in the object type information to be arranged are determined according to the surrounding wall type to obtain a first flushing faucet arrangement strategy for the sump arrangement, including: if the distances of the two sump reference points from the nearest wall are both less than a preset horizontal distance, then the other two points in the sump area are taken as additional sump reference points, and the additional sump reference point above or to the left is preferred; if the straight-line distance of one of the additional sump reference points from the nearest wall is less than the preset horizontal distance, then the other additional sump reference point is preferred; based on the preferred selection strategy of the additional sump reference points, the flushing faucet is arranged on the horizontal wall accordingly to obtain a second sump flushing faucet arrangement strategy.

[0014] In one feasible implementation, the distance and position of the sump area in the object type information to be arranged are determined according to the surrounding wall type to obtain a first flushing faucet arrangement strategy for the sump arrangement, including: if there are two additional sump reference points whose straight-line distance from the nearest wall is less than the preset horizontal distance, then the additional sump reference point above or to the left is selected first; based on the selected additional sump reference point, the flushing faucet is arranged on the nearest wall at the extended corner to obtain a third sump flushing faucet arrangement strategy; based on the first sump flushing faucet arrangement strategy, the second sump flushing faucet arrangement strategy, and the third sump flushing faucet arrangement strategy, the first flushing faucet arrangement strategy is obtained.

[0015] In one feasible implementation, based on the equipment pit area of ​​a specific functional room in the object type information to be arranged, the door position area is determined by distance and position judgment under the surrounding wall type to obtain a second flushing faucet arrangement strategy for the specific functional room arrangement, including: identifying the equipment pit area of ​​the specific functional room in the object type information to be arranged; determining the equipment pit area as a non-arrangeable area; identifying the door position area in the specific functional room; if the distance between one side of the door foot point and the wall in the door position area is less than a preset horizontal distance, and the other side of the door foot point has a spatial distance, then the other side of the door foot point is determined as the door foot reference point; based on the door foot reference point, the flushing faucet is arranged on the wall with the spatial distance to obtain a first equipment pit flushing faucet arrangement strategy.

[0016] In one feasible implementation, based on the equipment pit area of ​​a specific functional room in the object type information to be arranged, the door position area is judged according to the distance position under the surrounding wall type to obtain a second flushing faucet arrangement strategy for the arrangement of the specific functional room, including: if the distance between one side of the door foot point and the wall in the door position area is less than a preset horizontal distance, and the other side of the door foot point has no spatial distance, then the side of the door foot point closer to the wall is determined as the door foot reference point; the flushing faucet is arranged on the adjacent wall of the door foot reference point to obtain the second equipment pit flushing faucet arrangement strategy.

[0017] In one feasible implementation, based on the equipment pit area of ​​a specific functional room in the object type information to be arranged, the distance position of the door location area is determined according to the surrounding wall type to obtain a second flushing faucet arrangement strategy for the specific functional room arrangement, including: if the distance from the door foot points on both sides of the door location area to the wall is greater than the preset horizontal distance, then the left door foot point is determined as the door foot reference point; based on the door foot reference point, the flushing faucet is arranged on the corresponding wall of the left door foot point to obtain a third equipment pit flushing faucet arrangement strategy; if the distance from the door foot points on both sides of the door location area to the wall is greater than the preset horizontal distance, and only one side of the door foot point is within the equipment pit area in the horizontal distance, then the other side of the door foot point is determined as the door foot reference point; based on the door foot reference point, the flushing faucet is arranged on the corresponding wall of the other side of the door foot point to obtain a fourth equipment pit flushing faucet arrangement strategy; based on the first equipment pit flushing faucet arrangement strategy, the second equipment pit flushing faucet arrangement strategy, the third equipment pit flushing faucet arrangement strategy, and the fourth equipment pit flushing faucet arrangement strategy, the second flushing faucet arrangement strategy is obtained.

[0018] Secondly, embodiments of this application also provide a flushing faucet arrangement device based on building water supply and drainage, the device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to execute a flushing faucet arrangement method based on building water supply and drainage as described in any of the above embodiments.

[0019] Thirdly, embodiments of this application also provide a non-volatile computer storage medium, which is a non-volatile computer-readable storage medium storing at least one program. Each program includes instructions, which, when executed by a terminal, cause the terminal to perform a flushing faucet arrangement method based on building water supply and drainage as described in any of the above embodiments.

[0020] This application provides a method, equipment, and medium for arranging flushing faucets based on building water supply and drainage. Compared with the prior art, the embodiments of this application have the following beneficial technical effects:

[0021] 1. Fully automated layout: It realizes full automation from spatial recognition to point generation, freeing designers from repetitive work.

[0022] 2. Standardization and Compliance: By embedding design rules, we ensure that the location of each generated flushing faucet meets the specifications, thus guaranteeing consistent design quality.

[0023] 3. Highly intelligent and adaptable: Different specialized algorithms are used to address the different characteristics of sump pits and rooms, enabling intelligent adaptation to various complex building layouts.

[0024] 4. High efficiency and adjustability: Parametric design makes batch modification and project adaptation very convenient, greatly improving design efficiency and flexibility. Attached Figure Description

[0025] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings:

[0026] Figure 1 A flowchart illustrating a method for arranging flushing faucets based on building water supply and drainage, provided in an embodiment of this application;

[0027] Figure 2 A first water collection pit flushing faucet arrangement strategy provided in the embodiments of this application;

[0028] Figure 3 A second water collection pit flushing faucet arrangement strategy is provided in the embodiments of this application;

[0029] Figure 4 A third-compartment flushing faucet arrangement strategy is provided in the embodiments of this application;

[0030] Figure 5 An arrangement strategy for flushing faucets in a first equipment pit provided in this application embodiment;

[0031] Figure 6 A second equipment pit flushing faucet arrangement strategy is provided for embodiments of this application;

[0032] Figure 7 A third equipment pit flushing faucet arrangement strategy is provided in the embodiments of this application;

[0033] Figure 8 A fourth equipment pit flushing faucet arrangement strategy is provided in the embodiments of this application;

[0034] Figure 9 This is a structural schematic diagram of a flushing faucet arrangement device based on building water supply and drainage, provided as an embodiment of this application. Detailed Implementation

[0035] To enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this specification, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this application.

[0036] It should be noted that, as Figure 2-8 As shown, the combination of circles and arrows in the diagram represents the preferred reference point in each situation, for example... Figure 4 The diagram shows the preferred reference point in the upper left corner; the combination of circles and crosses represents reference points that are not selected in each case, i.e., non-preferred reference points, for example... Figure 4 The remaining three shown represent non-preferred reference points.

[0037] This application provides a method for arranging flushing faucets based on building water supply and drainage, such as... Figure 1 As shown, the method for arranging flushing faucets based on building water supply and drainage specifically includes steps S101-S104:

[0038] S101. Perform location identification processing on the building water supply and drainage model for basement flushing faucets to obtain information on the type of objects to be arranged.

[0039] It should be noted that the "building water supply and drainage model" is a specialized and specific application of Building Information Modeling (BIM) technology in the field of water supply and drainage. It is a digital, parametric, three-dimensional information collection. Specifically, the building water supply and drainage model refers to a three-dimensional digital model created within a building to represent the spatial layout, dimensions, and connection relationships of water supply and drainage components such as piping systems, sanitary equipment, pumps, and valves. This level of model is mainly used in areas such as design expression, pipeline integration, and clash detection.

[0040] Specifically, it is necessary to identify the component types of the building's water supply and drainage model under the arrangement of flushing faucets to obtain the component type information to be arranged. The component type information to be arranged includes: sump pits and specific function rooms; specific function rooms include at least: generator room, air conditioning water machine room, garbage station, and grease trap.

[0041] Furthermore, based on the basic configuration information of the flushing faucet, the type information of the components to be arranged is configured accordingly to obtain the type information of the object to be arranged. The basic configuration information includes: diameter, height, horizontal distance, and reference point position.

[0042] As one feasible implementation method, the "Flush Faucet Arrangement" function can be activated via the menu. The system automatically scans the current building's water supply and drainage model, acquires all "sump" components and room spaces named "garbage station," "grease trap," etc., and displays them in a list. The diameter, height, and horizontal distance from the reference point for each type of flush faucet can also be configured. The system performs real-time validation of inputs; invalid inputs are highlighted in red and confirmation is prohibited.

[0043] As one feasible implementation method, if a user clicks the "Select Sump Generation" button, a sump will be selected to generate a single faucet; if a user clicks the "Select Room Generation" button, a room will be selected to generate a single faucet; if a user clicks the "Generate All" button, all sumps on the current floor and specific rooms will be identified and generated sequentially.

[0044] S102. Determine the distance and position of the sump area in the object type information to be arranged under the surrounding wall type to obtain the first flushing faucet arrangement strategy for the sump arrangement.

[0045] Specifically, the location of the sump pit area under the adjacent walls is first identified.

[0046] Furthermore, if the sump area is close to a vertical wall, the corner point of the sump area closest to the wall is taken as the sump reference point. If two sump reference points are equidistant from the nearest wall, the upper or left sump reference point is preferred; if two sump reference points are unequal in distance from the nearest wall, the sump reference point with the larger distance is preferred. Based on the priority selection strategy of the sump reference points, the flushing faucets are arranged on the vertical wall accordingly, resulting in the first sump flushing faucet arrangement strategy.

[0047] In one embodiment, Figure 2 A first-stage water collection pit flushing faucet arrangement strategy provided in the embodiments of this application, such as... Figure 2As shown, when the sump is close to a vertical wall (i.e., the centerline of the wall closest to the sump is oriented north-south), the corner point of the sump closest to the wall is chosen as the sump reference point. If two points are equally close to the wall, the upper reference point (indicated by the circle and arrow in the diagram) is selected first; if that point is less than or equal to the horizontal distance from the corner, the next point is selected as the reference point. The flushing faucet (located within the rectangular box in the diagram) is then placed on this vertical wall, thus forming the first sump flushing faucet placement strategy.

[0048] Furthermore, if the distances from both sump reference points to the nearest wall are less than a preset horizontal distance, then two additional points in the sump area are designated as additional sump reference points, with the upper or left additional sump reference point being preferred. If one additional sump reference point is less than a preset horizontal distance from the nearest wall, then the other additional sump reference point is preferred. Based on this preferred selection strategy for additional sump reference points, the flushing faucets are correspondingly arranged on the horizontal wall, resulting in the second sump flushing faucet arrangement strategy.

[0049] In one embodiment, Figure 3 A second water collection pit flushing faucet arrangement strategy provided in the embodiments of this application, such as Figure 3 As shown, if the distance from the sump to the two nearest points on both sides of the wall, and the distance from the sump to the corners of both sides of the wall, are both less than the horizontal distance, then the two other corners of the sump are taken as reference points (as shown by the circles and arrows in the diagram), with the upper point being preferred. If the straight-line distance from this point to the other end of the horizontal wall at the corner is also less than or equal to the horizontal distance, then another point is selected as the reference point (as shown by the arrow on the right). In this case, the flushing faucet (rectangle in the diagram) is placed on the horizontal wall, thus forming the second sump flushing faucet placement strategy.

[0050] Furthermore, if the straight-line distance between two additional water collection pit reference points and the nearest wall is less than the preset horizontal distance, the additional water collection pit reference point on the upper or left side is selected first. Based on the selected additional water collection pit reference point, the flushing faucet is arranged on the nearest wall at the extended corner, resulting in the third water collection pit flushing faucet arrangement strategy.

[0051] In one embodiment, Figure 4 A third-stage sump flushing faucet arrangement strategy is provided in the embodiments of this application, such as... Figure 4 As shown, if the straight-line distance from the second point to the other end of the horizontal wall at the corner is also less than or equal to the horizontal distance, then the first point in the second water collection pit flushing faucet layout strategy is still used as the reference point (as shown by the circle and arrow in the figure). However, at this time, the flushing faucet (rectangular box in the figure) is placed on the first north and south wall after the extended corner (external corner), and then the third water collection pit flushing faucet layout strategy is formed.

[0052] Furthermore, based on the first, second, and third flushing faucet arrangement strategies, the first flushing faucet arrangement strategy is obtained.

[0053] S103. Based on the equipment pit area of ​​the specific functional room in the object type information to be arranged, the distance position of the door location area is determined according to the surrounding wall type to obtain the second flushing faucet arrangement strategy for the specific functional room arrangement.

[0054] Specifically, first, the equipment pit area of ​​a specific functional room in the object type information to be arranged is identified; and the equipment pit area is determined as a non-arrangeable area. That is, the "equipment pit" area in the room is identified and excluded from the range of arrangeable areas.

[0055] Furthermore, the door location areas in specific functional rooms are identified.

[0056] Furthermore, if the distance between one door foot point and the wall in the door location area is less than a preset horizontal distance, and there is a spatial distance between the other door foot point and the other door foot point, then the other door foot point is determined as the door foot reference point. Based on the door foot reference point, the flushing faucet is arranged on the wall where there is a spatial distance, thus obtaining the flushing faucet arrangement strategy for the first equipment pit.

[0057] In one embodiment, Figure 5 An arrangement strategy for flushing faucets in a first equipment pit, as provided in the embodiments of this application, is as follows: Figure 5 As shown, if in a specific room, the door is close to one side of the wall (i.e., the distance from the wall is less than the horizontal distance), and there is still space outside the horizontal distance range of the other side foot of the door, then the reference point of the sump pit (the position of the circle and arrow in the figure), that is, the reference point of the door foot, is the side of the door with space. The flushing faucet (the rectangular box in the figure) is arranged on the wall in that space, thus obtaining the flushing faucet arrangement strategy of the first equipment pit.

[0058] Furthermore, if the distance between one door foot point and the wall in the door location area is less than the preset horizontal distance, and there is no spatial distance between the other door foot point and the door foot point, then the door foot point closer to the wall is determined as the door foot reference point. Then, the flushing faucet is arranged on the wall adjacent to the door foot reference point, that is, on the wall closer to the door foot reference point, thus obtaining the flushing faucet arrangement strategy for the second equipment pit.

[0059] In one embodiment, Figure 6 A second equipment pit flushing faucet arrangement strategy is provided for embodiments of this application, such as... Figure 6As shown, if in a specific room, the door is close to one side of a wall (i.e., the distance from the wall is less than the horizontal distance), and there is no space outside the horizontal distance range of the other side foot of the door, then the foot of the door close to the wall is the reference point (circled and arrowed in the figure), i.e., the door foot reference point. At this time, the flushing faucet (rectangular box in the figure) is arranged on the wall close to the door, thus obtaining the flushing faucet arrangement strategy for the second equipment pit.

[0060] Furthermore, if the distance from the door foot points on both sides of the door location area to the wall is greater than the preset horizontal distance, then the left door foot point is determined as the door foot reference point. Based on the door foot reference point, the flushing faucets are arranged on the corresponding wall of the left door foot point, thus obtaining the flushing faucet arrangement strategy for the third equipment pit.

[0061] In one embodiment, Figure 7 A third equipment pit flushing faucet arrangement strategy provided in this application embodiment, such as Figure 7 As shown, if the door is not close to the two side walls in a specific room, and the distance between the door and the two side corners is sufficient (i.e., the distance from the two side corners or the two side equipment pit areas is greater than the horizontal distance), then the corner point on the left side of the door is set as the reference point (circled and arrowed in the figure), that is, the door foot reference point. At this time, the flushing faucet (rectangular box in the figure) is placed on the wall on that side, resulting in the flushing faucet placement strategy for the third equipment pit.

[0062] Furthermore, if the distance from the door foot points on both sides of the door location area to the wall is greater than the preset horizontal distance, and only one side of the door foot point has a device pit area within its horizontal distance, then the other side of the door foot point is determined as the door foot reference point. Based on the door foot reference point, the flushing faucet is correspondingly arranged on the wall at the other side of the door foot point, resulting in the fourth device pit flushing faucet arrangement strategy.

[0063] In one embodiment, Figure 8 A fourth equipment pit flushing faucet arrangement strategy is provided for embodiments of this application, such as... Figure 8 As shown, if in a specific room, the door is not close to either of the two walls (within the horizontal distance range), but there is an equipment pit within the horizontal distance range of only one side, then the other side foot point of the door is positioned as the reference point (circled and arrowed in the figure), i.e., the door foot reference point. At this time, the flushing faucet is arranged and the wall on that side is used to obtain the fourth equipment pit flushing faucet arrangement strategy.

[0064] Furthermore, based on the first equipment pit flushing faucet arrangement strategy, the second equipment pit flushing faucet arrangement strategy, the third equipment pit flushing faucet arrangement strategy, and the fourth equipment pit flushing faucet arrangement strategy, the second flushing faucet arrangement strategy is obtained.

[0065] S104. Based on the first flushing faucet layout strategy and the second flushing faucet layout strategy, determine the flushing faucet layout strategy for the building water supply and drainage model.

[0066] Specifically, the flushing faucet arrangement strategy and the second flushing faucet arrangement strategy are used to complete the flushing faucet arrangement of the building water supply and drainage model.

[0067] In addition, this application also provides a flushing faucet arrangement device based on building water supply and drainage, such as... Figure 9 As shown, the flushing faucet arrangement equipment 900 based on building water supply and drainage specifically includes:

[0068] At least one processor 901; and a memory 902 communicatively connected to the at least one processor 901; wherein the memory 902 stores instructions executable by the at least one processor 901 to enable the at least one processor 901 to execute:

[0069] The location of the basement flushing faucets in the building's water supply and drainage model is identified to obtain information on the types of objects to be arranged.

[0070] The distance and position of the water sump area in the object type information to be arranged are determined according to the surrounding wall type to obtain the first flushing faucet arrangement strategy for the water sump arrangement.

[0071] Based on the equipment pit area of ​​a specific functional room in the object type information to be arranged, the door location area is judged according to the distance and position of the surrounding wall type to obtain a second flushing faucet arrangement strategy for the arrangement of the specific functional room.

[0072] Based on the first flushing faucet arrangement strategy and the second flushing faucet arrangement strategy, the flushing faucet arrangement strategy of the building water supply and drainage model is determined.

[0073] This application's embodiments automate the entire process from spatial recognition to point generation, freeing designers from repetitive tasks. By embedding design rules, it ensures that every generated flushing faucet location meets specifications, guaranteeing consistent design quality. Different specialized algorithms are employed to intelligently adapt to various complex building layouts, taking into account the different characteristics of sump pits and rooms. Parametric design makes batch modifications and project adaptations extremely convenient, greatly improving design efficiency and flexibility.

[0074] This application provides a distributed deployment-based memory caching method, device, and medium. By providing a unified cache access interface, business code only needs to interact with the cache interface to read and write cached data, without needing to concern itself with the internal logic of the cache interface, greatly simplifying the calling method. At the same time, by utilizing the access interface of the cache component area and Redis's own publish-subscribe mechanism, the update of memory cached data in the software application server is realized, and the accuracy and full utilization of memory cached data in the software application are also guaranteed, improving the access capability and response speed of the software application, and enhancing the user experience.

[0075] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the device and medium embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the description of the method embodiments.

[0076] The devices and media provided in this application are one-to-one with the methods. Therefore, the devices and media also have similar beneficial technical effects as their corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.

[0077] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0078] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0079] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0080] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0081] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0082] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0083] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0084] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0085] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of this specification.

Claims

1. A method of arranging a flushing faucet based on building water supply and drainage, characterized by, The method comprises: The basement flushing faucet position recognition processing is performed on the building water supply and drainage model to obtain the to-be-arranged object type information; The distance position of the sump pit region in the to-be-arranged object type information is judged under the surrounding wall type to obtain a first flushing faucet arrangement strategy for the sump pit arrangement, comprising: The position recognition processing is performed on the sump pit region under the adjacent wall body; If the sump pit region is close to the vertical wall body, the corner point closest to the wall of the sump pit region is taken as a sump pit reference point; If the distances of the two sump pit reference points to the nearest wall body are equal, the sump pit reference point above or on the left is preferentially selected; if the distances of the two sump pit reference points to the nearest wall body are not equal, the sump pit reference point with a larger distance length is preferentially selected; Based on the preferential selection strategy of the sump pit reference point, the flushing faucet is arranged on the vertical wall body to obtain a first sump pit flushing faucet arrangement strategy; According to the equipment pit region of the specific function room in the to-be-arranged object type information, the distance position of the door position region under the surrounding wall type is judged to obtain a second flushing faucet arrangement strategy for the specific function room arrangement, comprising: The equipment pit region of the specific function room in the to-be-arranged object type information is identified; and the equipment pit region is determined as a non-arrangeable region; The door position region in the specific function room is identified; If the distance of one side of the door foot point in the door position region to the wall body is less than a preset horizontal distance, and the other side of the door foot point has a spatial distance, the other side of the door foot point is determined as a door foot reference point; According to the door foot reference point, the flushing faucet is arranged on the wall body with a spatial distance to obtain a first equipment pit flushing faucet arrangement strategy; The specific function room at least comprises: a generator room, an air conditioning water machine room, a garbage station and an oil separation room; Based on the first flushing faucet arrangement strategy and the second flushing faucet arrangement strategy, the flushing faucet arrangement strategy of the building water supply and drainage model is determined, comprising: Based on the first sump pit flushing faucet arrangement strategy and the first equipment pit flushing faucet arrangement strategy, the flushing faucet arrangement strategy is determined.

2. The method of claim 1, wherein, The basement flushing faucet position recognition processing is performed on the building water supply and drainage model to obtain the to-be-arranged object type information, specifically comprising: The component type recognition under the flushing faucet arrangement mode is performed on the building water supply and drainage model to obtain to-be-arranged component type information; wherein the to-be-arranged component type information comprises: a sump pit and a specific function room; The to-be-arranged component type information is subjected to corresponding configuration processing according to the basic configuration information of the flushing faucet to obtain the to-be-arranged object type information; wherein the basic configuration information comprises: diameter, height, horizontal distance and reference point position.

3. The method of claim 1, wherein the flushing faucet is arranged based on the building water supply and drainage. The distance position of the sump pit region in the to-be-arranged object type information is judged under the surrounding wall type to obtain a first flushing faucet arrangement strategy for the sump pit arrangement, comprising: If the distances from the two closest water collecting pit reference points to the closest wall are both less than the preset horizontal distance, then another two points in the water collecting pit region are taken as additional water collecting pit reference points, and the upper or left additional water collecting pit reference point is preferentially selected; If the straight line distance from one of the additional water collecting pit reference points to the closest wall is less than the preset horizontal distance, then the other additional water collecting pit reference point is preferentially selected; Based on the preferential selection strategy of the additional water collecting pit reference points, the flushing faucet is arranged on the horizontal wall corresponding to the additional water collecting pit reference points, to obtain a second water collecting pit flushing faucet arrangement strategy.

4. The method according to claim 3, wherein, The distance position of the water collecting pit region in the to-be-arranged object type information is judged under the surrounding wall type, to obtain a first flushing faucet arrangement strategy for the water collecting pit arrangement, including: If the straight line distances from the two additional water collecting pit reference points to the closest wall are both less than the preset horizontal distance, then the upper or left additional water collecting pit reference point is preferentially selected; Based on the preferentially selected additional water collecting pit reference points, the flushing faucet is arranged on the closest wall of the extended wall corner, to obtain a third water collecting pit flushing faucet arrangement strategy; Based on the first water collecting pit flushing faucet arrangement strategy, the second water collecting pit flushing faucet arrangement strategy and the third water collecting pit flushing faucet arrangement strategy, the first flushing faucet arrangement strategy is obtained.

5. The method of claim 1, wherein the flushing faucet arrangement is based on building water supply and drainage. According to the equipment pit region of a specific function room in the to-be-arranged object type information, the distance position of a door position region is judged under the surrounding wall type, to obtain a second flushing faucet arrangement strategy for the specific function room arrangement, including: If the distance from one side of the door foot point in the door position region to the wall is less than the preset horizontal distance, and the other side of the door foot point does not exist in the spatial distance, then the one side of the door foot point close to the wall is determined as a door foot reference point; The flushing faucet is arranged on the adjacent wall of the door foot reference point, to obtain a second equipment pit flushing faucet arrangement strategy.

6. The method of claim 5, wherein the flushing faucet arrangement is based on building water supply and drainage. According to the equipment pit region of a specific function room in the to-be-arranged object type information, the distance position of a door position region is judged under the surrounding wall type, to obtain a second flushing faucet arrangement strategy for the specific function room arrangement, including: If the distances from the two sides of the door foot point in the door position region to the wall are both greater than the preset horizontal distance, then the left side of the door foot point is determined as a door foot reference point; According to the door foot reference point, the flushing faucet is arranged on the corresponding wall of the left side of the door foot point, to obtain a third equipment pit flushing faucet arrangement strategy; If the distances from the two sides of the door foot point in the door position region to the wall are both greater than the preset horizontal distance, and only one side of the door foot point exists in the horizontal distance of the equipment pit region, then the other side of the door foot point is determined as a door foot reference point; According to the door foot reference point, the flushing faucet is arranged on the corresponding wall of the other side of the door foot point, to obtain a fourth equipment pit flushing faucet arrangement strategy; Based on the first equipment pit flushing faucet arrangement strategy, the second equipment pit flushing faucet arrangement strategy, the third equipment pit flushing faucet arrangement strategy and the fourth equipment pit flushing faucet arrangement strategy, the second flushing faucet arrangement strategy is obtained.

7. A flushing faucet arrangement device based on building water supply and drainage, characterized by, The device comprises: at least one processor; and a memory connected with the at least one processor in communication; wherein the memory has stored instructions capable of being executed by the at least one processor to enable the at least one processor to perform the method of arranging a flushing faucet based on building water supply and drainage according to any one of claims 1-6.

8. A non-transitory computer storage medium, comprising, The storage medium is a non-volatile computer readable storage medium, and the non-volatile computer readable storage medium stores at least one program, and each program includes instructions which, when executed by a terminal, cause the terminal to perform the method of arranging a flushing faucet based on building water supply and drainage according to any one of claims 1-6.

Citation Information

Patent Citations

  • Water supply and drainage system diagram generation method and device, equipment and storage medium

    CN117494291A

  • Mining vacuum drainage system

    CN121066663A