House type ventilation area examination method, system and equipment based on building drawings
By automatically identifying window information and area calculations in architectural drawings, automatic review of the ventilation area of each apartment can be achieved, solving the problem of low efficiency of manual review and improving review efficiency and accuracy.
Patent Information
- Application Number
- CN202210747266.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-29
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2042-06-29
AI Technical Summary
In the existing technology, the review of ventilation area of apartment types in architectural drawings relies on manual experience, resulting in low review efficiency and the inability to establish a complete process, which affects the life cycle of the building.
By automatically identifying window information in architectural drawings, calculating the window area, and comparing it with preset review criteria, automatic review of the ventilation area of the apartment can be achieved.
It improves the efficiency of ventilation area review of building drawings, ensures the accuracy of review results, replaces traditional manual methods, and reduces time waste.
Smart Images

Figure CN115310167B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicle Internet, in particular to a method and system for checking the ventilation area of a house plan based on building drawings, a storage medium and an electronic device. BACKGROUND
[0002] With the rapid development of science and technology, people have more and more requirements for residential conditions, and at the same time, the quality problems of the construction industry are increasingly prominent. The essence of the quality problem of the building is the design problem of the construction drawing, so the drawing review is a very important link.
[0003] At present, the CAD software is commonly used in the architectural design industry to draw house plan drawings, and the ventilation conditions of various space areas of the drawn drawings usually need to be reviewed to determine whether the ventilation conditions of spaces such as living rooms and bathrooms conform to the review details published by the state. However, the review of the ventilation area of each area in the drawing needs to rely on experienced engineers or special auditors to manually review to determine whether the drawing design violates the national building standards, which makes the drawing review work vary greatly due to individual project experience, knowledge reserve, and working years. A large amount of manpower also makes it impossible to establish a perfect process for the review work, which easily leads to a long review time and even affects the building life cycle. SUMMARY
[0004] Therefore, the purpose of the present application is to provide a method and system for checking the ventilation area of a house plan based on building drawings, a storage medium and an electronic device to solve the problem of low review efficiency caused by manually reviewing the ventilation conditions of each space area in the drawing.
[0005] According to the method for checking the ventilation area of a house plan based on building drawings provided by the present application, the method is applied to an electronic device, and the method comprises the following steps:
[0006] Obtain the to-be-reviewed drawing uploaded by a scanning terminal, and identify all window information according to the to-be-reviewed drawing, wherein the window information is the coordinate information corresponding to the window;
[0007] Number each window information, and obtain the contour line of the corresponding window according to the coordinate information of the window, so as to calculate the area information of the window under the corresponding number according to the contour line of the window;
[0008] Identify the coordinate information of the review target from the to-be-reviewed drawing, and extract the adjacent window information according to the coordinate information of the review target and the coordinate information of each window, wherein the adjacent window information is the number information corresponding to the window adjacent to the review target, so as to retrieve the area information corresponding to the adjacent window according to the number information;
[0009] The target to be examined is examined according to the area information of the adjacent window to determine whether the ventilation area of the target to be examined meets the preset examination rules, and an examination result is output.
[0010] In summary, according to the examination method of the ventilation area of a house type based on architectural drawings described above, each examination target in the drawing to be examined is automatically identified to obtain the ventilation area of each examination target, and then it is determined whether each examination target meets the examination rules, thereby realizing automatic examination of the drawing to be examined, and greatly improving the examination efficiency. Specifically, after obtaining the drawing to be examined uploaded by the scanning terminal, all window information contained in the drawing to be examined is actively identified, the corresponding window contour is obtained according to the window information corresponding to each window, and the corresponding area is calculated based on the window contour. In order to facilitate the extraction of the area of each window, each window is numbered, and then the examination target is identified from the drawing to be examined, and the number information corresponding to the window adjacent to the examination target is obtained, thereby extracting the area information of the window adjacent to the examination target. The area information is the ventilation area related to the examination target, so as to determine whether the ventilation area of the examination target meets the preset examination rules according to the area information, so as to output the examination result and complete the automatic examination work, thereby effectively solving the problem of low examination efficiency caused by the traditional manual examination of the ventilation area of the architectural drawing.
[0011] Further, the step of identifying the coordinate information of the examination target from the drawing to be examined comprises:
[0012] identifying a bedroom space area, a bathroom space area and a living room space area from the drawing to be examined;
[0013] calculating the area information corresponding to each examination target according to the coordinate information of the bedroom space area, the bathroom space area and the living room space area.
[0014] Further, the step of examining the examination target according to the area information of the adjacent window to determine whether the ventilation area of the examination target meets the preset examination rules, and outputting the examination result comprises:
[0015] calculating a first ratio of the area information corresponding to the examination target and the area information corresponding to the adjacent window;
[0016] determining whether the first ratio is less than a first preset ratio;
[0017] If the first ratio is less than the first preset ratio, it is determined that the examination target violates the first preset examination rule.
[0018] Further, the step of determining whether the first ratio is less than the first preset ratio further comprises:
[0019] if the first ratio is greater than the first preset ratio, determining whether there is a closed balcony space adjacent to the area corresponding to the review target according to coordinate information of the review target;
[0020] if there is a closed balcony space adjacent to the area corresponding to the review target, obtaining window information contained in the closed balcony space adjacent to the area corresponding to the review target according to area information corresponding to the closed balcony space adjacent to the area corresponding to the review target, and calculating a first ventilation area according to the window information contained in the closed balcony space adjacent to the area corresponding to the review target;
[0021] calculating a second ratio of area information corresponding to the review target to the first ventilation area, and determining whether the review target violates a second preset review rule according to the second ratio.
[0022] Further, the step of calculating a second ratio of area information corresponding to the review target to the first ventilation area, and determining whether the review target violates a second preset review rule according to the second ratio further comprises:
[0023] obtaining area names corresponding to all closed areas according to the to-be-reviewed drawing, and retrieving a kitchen space area contained in the to-be-reviewed drawing according to the area names;
[0024] obtaining window information adjacent to the kitchen space area, identifying contour lines of the kitchen space area, and calculating area information of the kitchen space area according to the contour lines of the kitchen space.
[0025] Further, the step of obtaining window information adjacent to the kitchen space area, identifying contour lines of the kitchen space area, and calculating area information of the kitchen space area according to the contour lines of the kitchen space further comprises:
[0026] calculating area information of a window adjacent to the kitchen space area according to the adjacent window information adjacent to the kitchen space area, and calculating a third ratio of the area information of the window adjacent to the kitchen space area to the area information of the kitchen space area;
[0027] determining whether the kitchen space area violates a third preset review rule according to the third ratio and the area information of the window adjacent to the kitchen space area.
[0028] Further, the step of determining whether the kitchen space area violates a third preset review rule according to the third ratio and the area information of the window adjacent to the kitchen space area further comprises:
[0029] determining whether there is a closed balcony in the kitchen space area;
[0030] if the kitchen space region exists a closed balcony, a second ventilation area is obtained according to the closed balcony in the kitchen space region;
[0031] a fourth ratio of the second ventilation area and area information of the kitchen space region is calculated, so as to judge whether the kitchen space region violates a fourth preset examination rule according to the fourth ratio.
[0032] An examination system for a ventilation area of a house type under an architectural drawing according to an embodiment of the present application is applied to an electronic device, and comprises:
[0033] a window coordinate information obtaining module, configured to obtain a to-be-examined drawing uploaded by a scanning terminal, and identify all window information according to the to-be-examined drawing, wherein the window information is coordinate information corresponding to a window;
[0034] a numbering module, configured to number the window information corresponding to each window, and obtain a contour line of a corresponding window according to the coordinate information of the window, so as to calculate area information of the window under a corresponding number according to the contour line of the window;
[0035] a ventilation area calculating module, configured to identify coordinate information of an examination target from the to-be-examined drawing, and extract adjacent window information according to the coordinate information of the examination target and the coordinate information corresponding to each window, wherein the adjacent window information is number information corresponding to a window adjacent to the examination target, so as to call the area information corresponding to the adjacent window according to the number information;
[0036] an examination executing module, configured to examine the examination target according to the area information of the adjacent window, so as to judge whether a ventilation area of the examination target conforms to a preset examination rule, and output an examination result.
[0037] Another aspect of the present application further provides a storage medium, comprising one or more programs stored in the storage medium, and the program is executed to implement the examination method for the ventilation area of the house type under the architectural drawing.
[0038] Another aspect of the present application further provides an electronic device, comprising a memory and a processor, wherein:
[0039] the memory is used to store a computer program;
[0040] the processor is used to execute the computer program stored in the memory, so as to implement the examination method for the ventilation area of the house type under the architectural drawing.
[0041] Additional aspects and advantages of the present application will be given in part in the following description, become apparent from the following description, or be understood by those skilled in the art from the embodiments of the present application. BRIEF DESCRIPTION OF DRAWINGS
[0042] Figure 1 The flow chart of the review method of the house type ventilation area based on the architectural drawing for the first embodiment of the present application;
[0043] Figure 2 The flow chart of the review method of the house type ventilation area based on the architectural drawing for the second embodiment of the present application;
[0044] Figure 3 The structural schematic diagram of the review system of the house type ventilation area based on the architectural drawing for the third embodiment of the present application.
[0045] The following specific embodiments will further illustrate the present application in combination with the above drawings. DETAILED DESCRIPTION
[0046] In order to facilitate the understanding of the present application, the present application will be described more fully below with reference to the accompanying drawings. The drawings show several embodiments of the present application. However, the present application can be realized in many different forms and is not limited to the embodiments described herein. On the contrary, these embodiments are provided so that the disclosure of the present application is more thorough and comprehensive.
[0047] It should be noted that when an element is referred to as being "fixed to" another element, it can be directly on the other element or there can be an intervening element. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or there can be an intervening element. The terms "vertical", "horizontal", "left", "right", and similar expressions used herein are for illustrative purposes only.
[0048] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present application belongs. The terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.
[0049] Referring to Figure 1 , the flow chart of the review method of the house type ventilation area based on the architectural drawing for the first embodiment of the present application is shown, the method is applied to an electronic device, and the method comprises steps S01 to S04, wherein:
[0050] Step S01: obtaining the to-be-reviewed drawing uploaded by a scanning terminal and identifying all window information according to the to-be-reviewed drawing, the window information being coordinate information corresponding to a window;
[0051] It should be noted that the electronic device starts to review the scanned file after obtaining the scanned file uploaded by the scanning terminal, identifies the wall in the to-be-reviewed drawing through the trained algorithm model, locks each space region according to the closed space enclosed by the wall, and identifies the region name in each space region, so as to accurately identify each space region. In this embodiment, the region name in the to-be-reviewed drawing is labeled in advance.
[0052] Further, all window information can be effectively screened from the region name, so as to accurately obtain the coordinate information of each window.
[0053] Step S02: numbering the window information corresponding to each window, and obtaining the contour line of the corresponding window according to the coordinate information of the window, so as to calculate the area information of the window under the corresponding number according to the contour line of the window;
[0054] It can be understood that, since basically each space in the architectural drawing contains a certain number of windows, in order to improve the review efficiency, the electronic device will automatically number each window information after obtaining all the window information, so as to calculate the area information corresponding to each window according to the contour line of the window, that is, each numbered window corresponds to an area information.
[0055] Step S03: identifying the coordinate information of the review target from the to-be-reviewed drawing, and extracting adjacent window information according to the coordinate information of the review target and the coordinate information corresponding to each window, the adjacent window information being the number information corresponding to the window adjacent to the review target, so as to retrieve the area information corresponding to the adjacent window according to the number information;
[0056] It can be understood that after obtaining the coordinate information of the review target, the electronic device can accurately identify the window adjacent to the review target, so as to obtain the number of the adjacent window corresponding to the review target, and then quickly retrieve the area information of the adjacent window. It should be noted that the area information of the adjacent window is the area of the adjacent window that can be opened, that is, the area information of the adjacent window is the area information of the review target that can be ventilated with the outside world.
[0057] Step S04: reviewing the review target according to the area information of the adjacent window, to determine whether the ventilation area of the review target meets the preset review rules, and outputting the review result.
[0058] It should be noted that in this embodiment, the preset review rules are the architectural drawing design specifications promulgated by the state, and the electronic device can effectively review the actual ventilation area of the review target according to the preset review rules, and then output the review result, to complete the automatic review work.
[0059] In summary, according to the review method of the ventilation area of the house type based on the building drawing, each review target in the to-be-reviewed drawing is automatically recognized to obtain the ventilation area of each review target, and then it is judged whether each review target meets the review rules, so that the automatic review of the to-be-reviewed drawing is realized, and the review efficiency can be greatly improved. Specifically, after obtaining the to-be-reviewed drawing uploaded by the scanning terminal, all window information contained in the to-be-reviewed drawing is actively identified, the corresponding window contour is obtained according to the window information corresponding to each window, and the corresponding area is calculated based on the window contour. In order to facilitate the extraction of the area of each window and the numbering of each window, the review target is identified from the to-be-reviewed drawing, the numbering information corresponding to the window adjacent to the review target is obtained, so that the area information of the window adjacent to the review target is extracted, the area information is the ventilation area related to the review target, so as to judge whether the ventilation area of the review target meets the pre-set review rules according to the area information, so as to output the review result and complete the automatic review work, thereby effectively solving the problem of low review efficiency caused by the traditional manual review of the ventilation area of the building drawing.
[0060] Referring to Figure 2 , it is a flow chart of the review method of the ventilation area of the house type based on the building drawing in the second embodiment of the present application, and the method comprises steps S11 to S20, wherein:
[0061] Step S11: obtaining the to-be-reviewed drawing uploaded by the scanning terminal, and identifying all window information according to the to-be-reviewed drawing, wherein the window information is the coordinate information corresponding to the window;
[0062] Step S12: numbering the window information corresponding to each window, and obtaining the contour line of the corresponding window according to the coordinate information of the window, so as to calculate the area information of the window under the corresponding number according to the contour line of the window;
[0063] Step S13: identifying the bedroom space area, the bathroom space area and the living room space area from the to-be-reviewed drawing;
[0064] It should be noted that in this step, the review target includes regions such as bedroom, bathroom, living room, etc.
[0065] Step S14: calculating the area information corresponding to each review target according to the coordinate information of the bedroom space area, the bathroom space area and the living room space area;
[0066] Step S15: if the first ratio is greater than the first pre-set ratio, it is judged according to the coordinate information of the review target whether there is a closely adjacent closed balcony space in the area corresponding to the review target;
[0067] It should be noted that in the embodiment, the electronic device calculates a first ratio of the area information corresponding to the review target to the area information corresponding to the adjacent window, and then determines whether the obtained first ratio is less than a first preset ratio. If it is less than the first preset ratio, it is determined that the corresponding review target violates the first preset review rule.
[0068] By way of example but not limitation, in the embodiment, the first preset review rule is that the natural ventilation area of a bedroom, a living room (hall), and an open bathroom should not be less than 1 / 20 of the floor area thereof. Based on this, the first preset ratio is 1 / 20.
[0069] Further, when the first ratio is greater than 1 / 20, it indicates that the current review target meets the first preset review rule. At this time, it is determined whether there is a closed balcony in the spatial region of the review target.
[0070] Step S16: If there is a closed balcony space adjacent to the review target, window information contained in the closed balcony space adjacent to the review target is obtained according to the area information corresponding to the closed balcony space adjacent to the review target, so as to calculate a first ventilation area according to the window information contained in the closed balcony space adjacent to the review target.
[0071] It should be noted that the electronic device obtains the total area of the balcony space in which the fan door can be opened according to all the window information contained in the closed balcony, and then adds the total area of the fan door that can be opened to the sum of the area information corresponding to the review target to obtain the first ventilation area.
[0072] Step S17: A second ratio of the area information corresponding to the review target to the first ventilation area is calculated, so as to determine whether the review target violates a second preset review rule according to the second ratio.
[0073] It can be understood that in the embodiment, the second preset review rule is that when a balcony is arranged outside a room using natural ventilation, the natural ventilation opening area of the balcony should not be less than 1 / 20 of the sum of the floor area of the room using natural ventilation and the balcony. Based on this, if the second ratio is less than 1 / 20, it is determined that the review target violates the second preset review rule.
[0074] Step S18: Area information of the adjacent window adjacent to the kitchen space region is calculated according to the adjacent window information adjacent to the kitchen space region, and a third ratio of the area information of the adjacent window adjacent to the kitchen space region to the area information of the kitchen space region is calculated.
[0075] It should be noted that the step of identifying the kitchen space area by the electronic device is: obtaining the area name corresponding to all closed areas according to the to-be-reviewed drawing, and retrieving the kitchen space area contained in the to-be-reviewed drawing according to the area name; calling the window information adjacent to the kitchen space area, identifying the contour line of the kitchen space area, and calculating the area information of the kitchen space area according to the contour line of the kitchen space.
[0076] Step S19: determining whether the kitchen space area violates the third preset review rule according to the third ratio and the area information of the window adjacent to the kitchen space area.
[0077] It should be noted that the third preset review rule is that the natural ventilation opening area of the kitchen should not be less than 1 / 10 of the floor area, and should not be less than 0.6 square meters. Based on this, in the actual review process, if the third ratio is less than 1 / 10, and the area information of the window adjacent to the kitchen space area is less than 0.6 square meters, it is determined that the kitchen space area in the to-be-reviewed drawing violates the third preset review rule.
[0078] Step S20: calculating a fourth ratio of the second ventilation area and the area information of the kitchen space area, and determining whether the kitchen space area violates the fourth preset review rule according to the fourth ratio.
[0079] It should be noted that after the third preset review rule is executed, the electronic device further needs to determine whether the kitchen space area has a closed balcony; if the kitchen space area has a closed balcony, a second ventilation area is obtained according to the closed balcony in the kitchen space area; the second ventilation area is the sum of the area of all openable doors of the windows in the closed balcony and the area information of the kitchen space area.
[0080] By way of example but not limitation, in the present embodiment, the fourth review rule is that when a balcony is provided outside the kitchen, the natural ventilation opening area of the balcony should not be less than 1 / 10 of the total floor area of the kitchen and the balcony. Based on this, if the second ventilation area is less than 1 / 10, it is determined that the kitchen space violates the fourth review rule, otherwise it meets the fourth review rule.
[0081] By setting one-to-one review rules for the first, second, third, and fourth review rules, it is further accurate and automatic to identify whether the review object meets the corresponding review rule, thereby outputting the review result, ensuring the accuracy of the review result, and replacing the traditional manual review method, greatly improving the review efficiency.
[0082] In summary, according to the review method of the house type ventilation area based on the building drawing, each review target in the to-be-reviewed drawing is automatically recognized to obtain the ventilation area of each review target, and then it is judged whether each review target meets the review rules, so that the automatic review of the to-be-reviewed drawing is realized, and the review efficiency can be greatly improved. Specifically, after obtaining the to-be-reviewed drawing uploaded by the scanning terminal, all window information contained in the to-be-reviewed drawing is actively identified, the corresponding window contour is obtained according to the window information corresponding to each window, and the corresponding area is calculated based on the window contour. In order to facilitate the extraction of the area of each window and the numbering of each window, the review target is identified from the to-be-reviewed drawing, the numbering information corresponding to the window adjacent to the review target is obtained, so that the area information of the window adjacent to the review target is extracted, the area information is the ventilation area related to the review target, so as to judge whether the ventilation area of the review target meets the pre-set review rules according to the area information, so as to output the review result and complete the automatic review work, thereby effectively solving the problem of low review efficiency caused by the traditional manual review of the ventilation area of the building drawing.
[0083] Referring to Figure 3 , the structure schematic diagram of the review system of the house type ventilation area based on the building drawing in the third embodiment of the present application is shown, and the system comprises:
[0084] The window coordinate information acquisition module 10 is used for obtaining the to-be-reviewed drawing uploaded by the scanning terminal, and identifying all window information according to the to-be-reviewed drawing, wherein the window information is the coordinate information corresponding to the window.
[0085] The numbering module 20 is used for numbering the window information corresponding to each window, and obtaining the contour line of the corresponding window according to the coordinate information of the window, so as to calculate the area information of the window under the corresponding number according to the contour line of the window.
[0086] The ventilation area calculation module 30 is used for identifying the coordinate information of the review target from the to-be-reviewed drawing, and extracting the adjacent window information according to the coordinate information of the review target and the coordinate information corresponding to each window, wherein the adjacent window information is the numbering information corresponding to the window adjacent to the review target, so as to call the area information corresponding to the adjacent window according to the numbering information.
[0087] Further, the ventilation area calculation module 30 further comprises:
[0088] The space recognition unit is used for identifying the bedroom space area, the bathroom space area and the living room space area from the to-be-reviewed drawing.
[0089] The first area calculation unit is configured to calculate the area information corresponding to each review target according to the coordinate information of the bedroom space region, the bathroom space region, and the living room space region.
[0090] The review execution module 40 is configured to review the review target according to the area information of the adjacent window, to determine whether the ventilation area of the review target meets the preset review rules, and output the review result.
[0091] Further, the review execution module 40 further comprises:
[0092] The first ratio calculation unit is configured to calculate a first ratio of the area information corresponding to the review target to the area information corresponding to the adjacent window.
[0093] The first judgment unit is configured to determine whether the first ratio is less than a first preset ratio.
[0094] The first review result output unit is configured to determine that the review target violates the first preset review rule if the first ratio is less than the first preset ratio.
[0095] The enclosed balcony space identification unit is configured to determine whether there is an adjacent enclosed balcony space in the region corresponding to the review target according to the coordinate information of the review target if the first ratio is greater than the first preset ratio.
[0096] The first ventilation area calculation unit is configured to obtain window information contained in the adjacent enclosed balcony space according to the region information corresponding to the adjacent enclosed balcony space if there is an adjacent enclosed balcony space in the region corresponding to the review target, and calculate a first ventilation area according to the window information contained in the adjacent enclosed balcony space.
[0097] The second review result output unit is configured to calculate a second ratio of the area information corresponding to the review target to the first ventilation area, and determine whether the review target violates a second preset review rule according to the second ratio.
[0098] The third ratio calculation unit is configured to calculate the area information of the adjacent window of the kitchen space region according to the adjacent window information of the kitchen space region, and calculate a third ratio of the area information of the adjacent window of the kitchen space region to the area information of the kitchen space region.
[0099] The third review result output unit is configured to determine whether the kitchen space region violates a third preset review rule according to the third ratio and the area information of the adjacent window of the kitchen space region.
[0100] The second ventilation area calculation unit is configured to obtain a second ventilation area according to the enclosed balcony in the kitchen space region if the kitchen space region has an enclosed balcony.
[0101] The fourth review result output unit is configured to calculate a fourth ratio of the second ventilation area to the area information of the kitchen space region, and determine whether the kitchen space region violates a fourth preset review regulation according to the fourth ratio.
[0102] Further, in some optional embodiments of the present application, the system further comprises:
[0103] The kitchen space recognition module is configured to obtain the region names corresponding to all enclosed regions according to the to-be-reviewed drawing, and retrieve the kitchen space region contained in the to-be-reviewed drawing according to the region names.
[0104] The kitchen space area calculation module is configured to call the window information adjacent to the kitchen space region, recognize the contour line of the kitchen space region, and calculate the area information of the kitchen space region according to the contour line of the kitchen space.
[0105] In summary, according to the review system for the ventilation area of a house type under a building drawing as described above, each review target in the to-be-reviewed drawing is automatically recognized to obtain the ventilation area of each review target, and then it is determined whether each review target meets the review regulation, thereby realizing automatic review of the to-be-reviewed drawing and greatly improving the review efficiency. Specifically, after obtaining the to-be-reviewed drawing uploaded by the scanning terminal, all window information contained in the to-be-reviewed drawing is automatically recognized, the contour of each window is obtained according to the window information corresponding to each window, and the area corresponding to each window is calculated based on the window contour. In order to facilitate extraction of the area of each window and numbering of each window, the review target is recognized from the to-be-reviewed drawing, the numbering information corresponding to the window adjacent to the review target is obtained, and the area information of the window adjacent to the review target is extracted, which is the ventilation area related to the review target. The area information is used to determine whether the ventilation area of the review target meets the preset review regulation, so as to output the review result and complete the automatic review, thereby effectively solving the problem of low review efficiency caused by traditional manual review of the ventilation area of the building drawing.
[0106] In another aspect, the present application further provides a computer storage medium having one or more programs stored thereon, which programs, when executed by a processor, implement the review method for the ventilation area of a house type under a building drawing as described above.
[0107] Another aspect of the present application provides an electronic device comprising a memory and a processor, wherein the memory is configured to store a computer program, and the processor is configured to execute the computer program stored in the memory to implement the method for checking the house type ventilation area based on the building drawing.
[0108] Those skilled in the art can understand that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a list of executable instructions for implementing the logic function, which can be embodied in any computer readable medium for use by or in connection with an instruction execution system, apparatus or device, such as a computer-based system, a system including a processor or other system that can fetch the instructions from the instruction execution system, apparatus or device and execute the instructions, or in conjunction with these instructions execution system, apparatus or device. For the purpose of the present description, the "computer readable medium" can be any device that can contain, store, communicate, propagate or transport programs for use by or in connection with an instruction execution system, apparatus or device, or in conjunction with these instruction execution system, apparatus or device.
[0109] More specific examples (a non-exhaustive list) of the computer readable medium include the following: an electrical connection having one or more wires (electrical devices), a portable computer diskette (magnetic devices), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium can even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, for example, by optically scanning the paper or other suitable medium, then electronically converted into a form that is suitable for use in a computer system, stored, and / or otherwise processed.
[0110] It should be understood that portions of the present application can be implemented in hardware, software, firmware, or combinations thereof. In the above embodiments, a number of steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, and as in another embodiment, any of the following technologies known in the art or their combinations can be used: discrete logic circuitry having logic gates for implementing logic functions on data signals, application specific integrated circuits having appropriate combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.
[0111] In the description of the present specification, the description of the terms "one embodiment", "some embodiments", "an example", "a specific example", or "some examples" and the like means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In the present specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0112] The above-described embodiments only express several implementation manners of the present application, which are described in a more specific and detailed manner, but cannot be understood as a limitation on the patent scope of the present application. It should be noted that, for those of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, which are all within the protection scope of the present application. Therefore, the protection scope of the patent of the present application should be subject to the appended claims.
Claims
1. A method for checking the ventilation area of a house plan based on architectural drawings, characterized by, The method is applied to an electronic device and includes: Obtaining a to-be-reviewed drawing uploaded by a scanning terminal and identifying all window information corresponding to the to-be-reviewed drawing, the window information being coordinate information corresponding to a window; Numbering the window information corresponding to each window and obtaining a contour line of the corresponding window according to the coordinate information of the window to calculate area information of the window corresponding to the number according to the contour line of the window; Identifying coordinate information of a review target from the to-be-reviewed drawing and extracting adjacent window information according to the coordinate information of the review target and the coordinate information corresponding to each window, the adjacent window information being number information corresponding to a window adjacent to the review target to retrieve area information corresponding to the adjacent window according to the number information; Reviewing the review target according to the area information of the adjacent window to determine whether a ventilation area of the review target meets a preset review rule and outputting a review result, including: Calculating a first ratio of the area information corresponding to the review target to the area information corresponding to the adjacent window, Determining whether the first ratio is less than a first preset ratio, If the first ratio is less than the first preset ratio, determining that the review target violates a first preset review rule, The step of determining whether the first ratio is less than the first preset ratio further includes: If the first ratio is greater than the first preset ratio, determining whether there is a closed balcony space adjacent to a region corresponding to the review target according to the coordinate information of the review target, If there is a closed balcony space adjacent to the region corresponding to the review target, obtaining window information contained in the closed balcony space adjacent to the region according to region information corresponding to the closed balcony space to calculate a first ventilation area according to the window information contained in the closed balcony space adjacent to the region, Calculating a second ratio of the area information corresponding to the review target to the first ventilation area to determine whether the review target violates a second preset review rule according to the second ratio.
2. The method for checking the ventilation area of a house based on the architectural drawings according to claim 1, characterized in that, The step of identifying the coordinate information of the review target from the to-be-reviewed drawing includes: Identifying a bedroom space region, a bathroom space region, and a living room space region from the to-be-reviewed drawing; Calculating the area information corresponding to each review target according to the coordinate information of the bedroom space region, the bathroom space region, and the living room space region.
3. The method for checking the ventilation area of a house based on the architectural drawing according to claim 1, wherein, The step of calculating the second ratio of the area information corresponding to the review target to the first ventilation area to determine whether the review target violates the second preset review rule according to the second ratio further includes: Obtaining region names corresponding to all closed regions from the to-be-reviewed drawing and retrieving a kitchen space region contained in the to-be-reviewed drawing according to the region names; Retrieving window information adjacent to the kitchen space region and identifying a contour line of the kitchen space region and calculating area information of the kitchen space region according to the contour line of the kitchen space.
4. The method for checking the ventilation area of a house based on the architectural drawing according to claim 3, wherein, The step of retrieving the window information adjacent to the kitchen space region, identifying the contour line of the kitchen space region, and calculating the area information of the kitchen space region according to the contour line of the kitchen space further includes: According to the adjacent window information of the kitchen space area, the area information of the adjacent window of the kitchen space area is calculated, and a third ratio of the area information of the adjacent window of the kitchen space area to the area information of the kitchen space area is calculated; According to the third ratio and the area information of the adjacent window of the kitchen space area, it is judged whether the kitchen space area violates a third preset examination rule.
5. The method for checking the ventilation area of a house plan based on the architectural drawing according to claim 4, wherein, The step of judging whether the kitchen space area violates the third preset examination rule according to the third ratio and the area information of the adjacent window of the kitchen space area further comprises: It is judged whether the kitchen space area has a closed balcony; If the kitchen space area has a closed balcony, a second ventilation area is obtained according to the closed balcony in the kitchen space area; A fourth ratio of the second ventilation area to the area information of the kitchen space area is calculated, so as to judge whether the kitchen space area violates a fourth preset examination rule according to the fourth ratio.
6. A system for checking the ventilation area of a house plan based on architectural drawings, characterized by The application is applied to an electronic device, and the examination system based on the ventilation area of a house type in a building drawing comprises: A window coordinate information obtaining module is used to obtain a to-be-examined drawing uploaded by a scanning terminal, and all window information is identified according to the to-be-examined drawing, wherein the window information is coordinate information corresponding to a window. A numbering module is used to number the window information corresponding to each window, and the contour line of the corresponding window is obtained according to the coordinate information of the window, so as to calculate the area information of the window under the corresponding number according to the contour line of the window. A ventilation area calculating module is used to identify the coordinate information of an examination target from the to-be-examined drawing, and adjacent window information is extracted according to the coordinate information of the examination target and the coordinate information corresponding to each window, wherein the adjacent window information is numbering information corresponding to a window adjacent to the examination target, so as to call the area information corresponding to the adjacent window according to the numbering information. An examination executing module is used to examine the examination target according to the area information of the adjacent window, so as to judge whether the ventilation area of the examination target meets a preset examination rule, and output an examination result, comprising: A first ratio of the area information corresponding to the examination target to the area information corresponding to the adjacent window is calculated, It is judged whether the first ratio is less than a first preset ratio, If the first ratio is less than the first preset ratio, it is determined that the examination target violates a first preset examination rule, The step of judging whether the first ratio is less than the first preset ratio further comprises: If the first ratio is greater than the first preset ratio, it is judged whether there is a closed balcony space adjacent to the area corresponding to the examination target according to the coordinate information of the examination target, If there is a closed balcony space adjacent to the area corresponding to the examination target, window information contained in the closed balcony space adjacent to the area is obtained according to the area information corresponding to the closed balcony space adjacent to the area, so as to calculate a first ventilation area according to the window information contained in the closed balcony space adjacent to the area, A second ratio of the area information corresponding to the examination target to the first ventilation area is calculated, so as to judge whether the examination target violates a second preset examination rule according to the second ratio.
7. A storage medium, characterized by Comprise: The storage medium stores one or more programs, which are executed by the processor to implement the method for checking the ventilation area of a house plan based on an architectural drawing according to any one of claims 1-5.
8. An electronic device, comprising: The electronic device comprises a memory and a processor, wherein: The memory is used to store a computer program; The processor is used to execute the computer program stored on the memory to implement the method for checking the ventilation area of a house plan based on an architectural drawing according to any one of claims 1-5.
Citation Information
Patent Citations
Intelligent drawing auditing method and related devices
CN111783562A
Method for generating a vertical view and a detailed statement based on door and window codes in a CAD planar graph
CN113326546A