A construction index determination method, device, equipment and medium

By selecting viewpoints in construction drawings and performing wall filtering, traversal projection, and data comparison, the problem of determining the maximum construction area in complex construction drawings was solved, achieving rapid and accurate determination of the construction area.

CN115618030BActive Publication Date: 2026-03-17GUANGDONG SANWEIJIA INFORMATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-24
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

Existing technology cannot accurately determine the maximum construction area of ​​complex construction drawings, resulting in large construction errors.

Method used

By selecting a target viewpoint from the target construction drawing, wall filtering is performed based on the viewpoint to obtain a set of walls to be processed. Based on the set of walls to be processed, traversal projection and data comparison are performed to determine the target construction index information.

Benefits of technology

The maximum construction area of ​​the construction drawings can be determined quickly and accurately, reducing construction errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115618030B_ABST
    Figure CN115618030B_ABST
Patent Text Reader

Abstract

The application relates to a construction index determination method and device, equipment and medium, and relates to the technical field of indoor design. The method comprises the following steps: selecting a target viewpoint from a target construction drawing; performing wall filtering processing on target construction information corresponding to the target construction drawing based on the target viewpoint to obtain a wall body set to be processed; performing traversal projection processing according to the wall body set to be processed to obtain a target wall body set; performing data comparison processing based on the target wall body set to obtain target construction index information corresponding to the target viewpoint, so that the maximum construction range of the construction drawing can be quickly obtained, and the problem that the prior art cannot accurately determine the maximum construction range of a complex construction drawing is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of interior design technology, and in particular to a method, apparatus, equipment and medium for determining construction indexes. Background Technology

[0002] Currently, when carrying out indoor construction, it is usually necessary to determine the maximum construction area and mark it with an index. The traditional method is to manually observe the construction drawings to determine the maximum construction area. However, construction drawings are often complex and involve many walls, making manual observation an inaccurate method for determining the maximum construction area, resulting in significant errors.

[0003] Existing methods mainly involve first defining an observation direction, then drawing multiple rays in that direction to determine the maximum construction range. However, the maximum construction range obtained by existing methods is often unreliable. For construction drawings in complex environments, existing methods cannot accurately determine the maximum construction range. Summary of the Invention

[0004] This application provides a method, apparatus, equipment, and medium for determining construction indexes, thereby enabling the rapid determination of the maximum construction range of construction drawings and solving the problem that existing technologies cannot accurately determine the maximum construction range of complex construction drawings.

[0005] Firstly, this application provides a method for determining a construction index, including:

[0006] Select the target viewpoint from the target construction drawing;

[0007] Based on the target viewpoint, the target construction information corresponding to the target construction drawing is subjected to wall filtering processing to obtain a set of walls to be processed.

[0008] Based on the set of walls to be processed, a traversal projection process is performed to obtain the target set of walls;

[0009] Data comparison processing is performed based on the target wall set to obtain the target construction index information corresponding to the target viewpoint.

[0010] Optionally, selecting the target viewpoint from the target construction drawing includes:

[0011] Receive viewpoint selection operation submitted by the user for the target construction drawing;

[0012] Determine the location of the viewpoint selection operation on the target construction drawing;

[0013] The target viewpoint is determined based on the operating position.

[0014] Optionally, based on the target viewpoint, the wall filtering process is performed on the target construction information corresponding to the target construction drawing to obtain a set of walls to be processed, including:

[0015] Determine the viewpoint observation direction based on the target viewpoint;

[0016] The wall selection information is determined based on the viewpoint observation direction;

[0017] Select the walls to be processed from the target construction information that match the wall selection information to obtain a set of walls to be processed.

[0018] Optionally, the step of performing traversal projection processing based on the wall information to obtain the target wall set includes:

[0019] The set of walls to be processed is traversed to obtain at least one baseline wall information and the comparison wall information corresponding to the baseline wall information;

[0020] Based on the baseline wall information and the comparison wall information, a traversal projection is performed to obtain the target wall set.

[0021] Optionally, the step of traversing and projecting based on the baseline wall information and the non-baseline wall information to obtain the target wall set includes:

[0022] Projecting the baseline wall information and the comparison wall information onto each other yields the intersection information.

[0023] The baseline wall information is removed using the intersection information to obtain the wall difference information;

[0024] The target wall set is obtained by performing set statistics on the difference set information of the wall.

[0025] Optionally, the step of performing data comparison processing based on the target wall set to obtain target index information includes:

[0026] For each target wall in the target wall set, perform perpendicular line processing to obtain the perpendicular line information corresponding to the target wall;

[0027] The index range information is obtained by calculating the index range based on the target viewpoint and the vertical line information.

[0028] The target index information is determined based on the index range information.

[0029] Optionally, before selecting the target viewpoint from the target construction drawing, the method further includes:

[0030] Obtain the drawing identification information input by the user;

[0031] Based on the drawing identification information, the target construction drawing is extracted from the preset drawing information database.

[0032] Secondly, this application provides a construction index determining device, comprising:

[0033] The target viewpoint selection module is used to select a target viewpoint from the target construction drawing;

[0034] The filtering module is used to perform wall filtering processing on the target construction information corresponding to the target construction drawing based on the target viewpoint, so as to obtain a set of walls to be processed;

[0035] The target wall set determination module is used to perform traversal projection processing based on the wall set to be processed to obtain the target wall set;

[0036] The target construction index information determination module is used to perform data comparison processing based on the target wall set to obtain the target construction index information corresponding to the target viewpoint.

[0037] Thirdly, this application provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;

[0038] Memory, used to store computer programs;

[0039] When a processor executes a program stored in memory, it implements the steps of the construction index determination method as described in any embodiment of the first aspect.

[0040] Fourthly, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the construction index determination method as described in any embodiment of the first aspect.

[0041] In summary, the embodiments of this application select a target viewpoint from the target construction drawing, perform wall filtering processing on the target construction information corresponding to the target construction drawing based on the target viewpoint to obtain a set of walls to be processed, perform traversal projection processing on the set of walls to be processed to obtain a set of target walls, and perform data comparison processing on the set of target walls to obtain the target construction index information corresponding to the target viewpoint. This allows for the rapid determination of the maximum construction range of the construction drawing, solving the problem that the prior art cannot accurately determine the maximum construction range of complex construction drawings. Attached Figure Description

[0042] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0043] 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, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0044] Figure 1 A flowchart illustrating a method for determining a construction index provided in an embodiment of this application;

[0045] Figure 2 This is a flowchart illustrating the steps of a construction index determination method provided in an optional embodiment of this application;

[0046] Figure 3 This is a flowchart of a construction index determination method provided in an optional embodiment of this application;

[0047] Figure 4 This application provides an optional embodiment of a target viewpoint and viewpoint observation direction determination diagram;

[0048] Figure 5 This is an optional embodiment of the wall selection diagram provided in this application;

[0049] Figure 6 This is an optional embodiment of the wall selection result diagram provided in this application;

[0050] Figure 7 This is an optional embodiment of the baseline wall determination diagram provided in this application;

[0051] Figure 8 This is an optional embodiment of the present application that provides a comparison wall determination diagram;

[0052] Figure 9 This is a projection diagram provided in an optional embodiment of this application;

[0053] Figure 10 This is another projection diagram provided in an optional embodiment of this application;

[0054] Figure 11 This is an optional embodiment of the present application providing a maximum construction index range determination diagram;

[0055] Figure 12 A structural block diagram of a construction index determination device provided in this application embodiment;

[0056] Figure 13 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0057] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of 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, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0058] To facilitate understanding of the embodiments of this application, further explanations and descriptions will be provided below in conjunction with the accompanying drawings and specific embodiments. These embodiments do not constitute a limitation on the embodiments of this application.

[0059] Figure 1 This is a flowchart illustrating a method for determining a construction index, as provided in an embodiment of this application. Figure 1 As shown, the construction index determination method provided in this application embodiment may specifically include the following steps:

[0060] Step 110: Select the target viewpoint from the target construction drawing.

[0061] Specifically, the target construction drawing may contain target construction information, and this target construction drawing may be a computer-aided design (CAD) drawing; this application embodiment does not impose any restrictions on this. The target viewpoint may be a viewpoint at any location, and this target viewpoint can be set according to actual usage requirements; this application embodiment does not impose any restrictions on the target viewpoint. Specifically, this application embodiment can select a viewpoint at any location from the target construction drawing and use that viewpoint as the target viewpoint.

[0062] Step 120: Based on the target viewpoint, perform wall filtering processing on the target construction information corresponding to the target construction drawing to obtain a set of walls to be processed.

[0063] Specifically, the target construction information may include at least one wall and its corresponding wall information. Each wall can refer to a wall line, and the wall information may include the wall's location, length, width, etc., which are not limited in this embodiment. The set of walls to be processed may include walls to be processed, which are not limited in this embodiment. Specifically, after determining the target viewpoint, this embodiment can determine the corresponding observation direction based on the target viewpoint. Then, the walls included in the target construction information can be filtered according to the observation direction to obtain the walls to be processed, and the set of walls to be processed can be determined based on the walls to be processed.

[0064] In a specific implementation, the embodiments of this application can determine the position of each wall in the target construction information based on the wall information corresponding to the wall. When performing wall filtering, the target viewpoint and observation direction can be combined to determine whether the wall is located in the opposite direction of the observation direction, that is, whether the wall is located behind the observation direction. If it is determined that the wall is located in the opposite direction of the observation direction, the wall can be excluded; if it is determined that the wall is not located in the opposite direction of the observation direction, the wall can be retained. Subsequently, the retained wall can be used as the wall to be processed, and a set of walls to be processed can be generated based on the wall to be processed.

[0065] Step 130: Perform traversal projection processing based on the set of walls to be processed to obtain the target set of walls.

[0066] Specifically, the target wall set may include target wall lines, and this application embodiment does not limit this. Specifically, this application embodiment can sequentially traverse each wall to be processed contained in the wall set to be processed. For example, a preset traversal algorithm can be used to traverse the wall set to be processed, extracting the baseline wall and its corresponding comparison wall from the wall set to be processed. Then, the baseline wall can be projected onto each of its corresponding comparison walls to obtain the wall intersection of the baseline wall and the comparison wall. Subsequently, using the wall intersection and the baseline wall, it can be determined whether there are any remaining walls after subtracting the wall intersection from the baseline wall. If there are remaining walls, these remaining walls can be used as the target walls of the baseline wall, and the target wall set can be determined based on each target wall.

[0067] In practical implementation, the set of walls to be processed may include walls parallel to the observation direction. For walls that are not parallel to the observation direction, when projecting them, the intersection may be only a single point or no intersection at all. Furthermore, these walls parallel to the observation direction do not affect the field of view of the target viewpoint. Therefore, these walls parallel to the observation direction do not require traversal and projection processing. Specifically, after determining the set of walls to be processed in this embodiment, the set can be traversed. Based on the wall positions of each wall in the set, walls parallel to the observation direction are identified. These walls are excluded and not used as baseline or comparison walls, thus avoiding invalid projection processing, improving algorithm efficiency, and efficiently solving the index range problem of complex construction drawings using simple mathematical intersection knowledge.

[0068] Step 140: Perform data comparison processing based on the target wall set to obtain the target construction index information corresponding to the target viewpoint.

[0069] Specifically, the target construction index information may include the maximum construction index range, and this application embodiment does not limit this. Specifically, after determining the target wall set, this application embodiment can perform data comparison on the target wall lines contained in the target wall set to determine the maximum construction index range corresponding to the target viewpoint, which is used as the target construction index information to quickly and accurately obtain the maximum construction range of the construction drawings.

[0070] In a specific implementation, for each target wall line included in the target wall set in this application embodiment, the distance between the target viewpoint and each point on the target wall line in the observation direction can be determined with the target viewpoint as the reference point, so as to obtain the target point farthest from the target viewpoint. A perpendicular line perpendicular to the observation direction is drawn through this target point to serve as the maximum construction index range corresponding to the target viewpoint.

[0071] As can be seen, the embodiments of this application select a target viewpoint from the target construction drawing, perform wall filtering processing on the target construction information corresponding to the target construction drawing based on the target viewpoint to obtain a set of walls to be processed, perform traversal projection processing on the set of walls to be processed to obtain a set of target walls, and perform data comparison processing on the set of target walls to obtain the target construction index information corresponding to the target viewpoint. This allows for the rapid determination of the maximum construction range of the construction drawing, solving the problem that the prior art cannot accurately determine the maximum construction range of complex construction drawings.

[0072] Reference Figure 2 This diagram illustrates a step-by-step flowchart of a construction index determination method according to an optional embodiment of this application. The construction index determination method may specifically include the following steps:

[0073] Step 210: Select the target viewpoint from the target construction drawing.

[0074] In a specific implementation, the embodiments of this application can pre-build a database as a drawing information library, through which construction drawings are stored. When determining the construction index of a construction drawing, the construction drawing can be extracted from the drawing information library as the target construction drawing.

[0075] In an optional embodiment, before selecting a target viewpoint from the target construction drawing, this application embodiment may further include: obtaining drawing identification information input by the user; and extracting the target construction drawing from a preset drawing information database based on the drawing identification information. Specifically, the drawing identification information may include drawing number (Identity, Id) and drawing name, etc., and this application embodiment does not limit this. This application embodiment can extract the target construction drawing from the drawing information database according to the drawing Id or drawing name input by the user.

[0076] In one optional embodiment, this application embodiment selects a target viewpoint from a target construction drawing, which may specifically include: receiving a viewpoint selection operation submitted by a user for the target construction drawing; determining the operation position of the viewpoint selection operation on the target construction drawing; and determining the target viewpoint based on the operation position. Specifically, this application embodiment can determine the operation position of the viewpoint selection operation on the target construction drawing based on the viewpoint selection operation submitted by the user for the target construction drawing, and use the inner viewpoint where the operation position is located as the target viewpoint. The user can freely select different target viewpoints, and can accurately obtain the construction index range of the target viewpoint for different target viewpoints, making the determination of the construction index range more efficient.

[0077] For example, refer to Figure 3 The target construction drawing can contain multiple walls, and the user can select an interior viewpoint in the target construction drawing as the target viewpoint.

[0078] Step 220: Determine the viewpoint observation direction based on the target viewpoint.

[0079] Specifically, after determining the target viewpoint, the present application embodiment can determine the viewpoint observation direction based on the target viewpoint. The viewpoint observation direction can be defined by the user or determined randomly. The present application embodiment does not limit this.

[0080] As an example, refer to Figure 4 When determining the construction index range of the target construction drawing, a point can be selected within the target construction drawing as an inner viewpoint (i.e., the target viewpoint). The observation direction (i.e., the viewpoint observation direction) can then be determined based on this inner viewpoint. Figure 3 For example, the observation direction (i.e., the viewpoint's observation direction) can be horizontal to the right. Of course, the observation direction can also be determined according to the actual usage requirements and the position of the inner viewpoint. This example does not restrict the observation direction.

[0081] Step 230: Determine the wall selection information based on the viewpoint observation direction.

[0082] Specifically, after determining the viewpoint observation direction in this embodiment, it can be determined that walls located behind the viewpoint observation direction (i.e., in the opposite direction of the viewpoint observation direction) need to be excluded, while walls located in front of the viewpoint observation direction can be retained. In other words, the wall selection information can be used to select walls in front of the viewpoint observation direction.

[0083] As an example, refer to Figure 5 By combining the viewpoint position of the target viewpoint, the walls that are excluded in the opposite direction of the viewpoint's observation direction can be determined (i.e., Figure 5The walls marked with a cross are the walls that need to be excluded. The remaining walls located in front of the viewpoint's observation direction are retained. These retained walls can be extracted later as a set of walls to be processed.

[0084] Step 240: Select the wall to be processed from the target construction information that matches the wall selection information to obtain the set of walls to be processed.

[0085] Specifically, in this embodiment, based on wall selection information, walls matching the wall selection information can be selected from the target construction information to obtain a set of walls to be processed. For example, refer to... Figure 4 This allows us to obtain the wall positions of each wall in the target construction information. Based on the wall position, we can determine whether the wall is located in the opposite direction of the viewpoint's observation direction. If it is determined that the wall is located in the opposite direction of the viewpoint's observation direction (i.e., behind the observation direction), then it can be determined that the wall does not match the wall selection information and can be excluded. Figure 6 Walls marked with an X are walls located in the opposite direction of the viewpoint's observation direction and can be excluded. If a wall is determined not to be in the opposite direction of the viewpoint's observation direction, it can be determined that the wall matches the wall selection information. Subsequently, the matching wall can be used as the wall to be processed. Based on the wall to be processed, a set of walls to be processed is determined. Using simple mathematical knowledge, walls that do not need to be projected or intersected in the construction drawing can be quickly excluded, which greatly simplifies the construction drawing and reduces the workload. This allows for rapid algorithmic processing of each wall in the set of walls to be processed, such as projection processing and intersection calculation processing, to obtain the construction index range corresponding to the target viewpoint.

[0086] Step 250: Traverse the set of walls to be processed to obtain at least one baseline wall information and the comparison wall information corresponding to the baseline wall information.

[0087] Specifically, the baseline wall information may include the baseline wall, and the comparison wall information may include the comparison wall corresponding to the baseline wall. This application embodiment does not limit this. Specifically, in this embodiment, after determining the set of walls to be processed, each wall in the set can be iterated according to a preset algorithm to determine whether it is parallel to the viewpoint's observation direction. If it is determined that the wall is parallel to the viewpoint's observation direction, it can be excluded and not used as a baseline wall or comparison wall. If it is determined that the wall is not parallel to the viewpoint's observation direction, such as being perpendicular or intersecting with it, it can be used as a baseline wall to obtain baseline wall information. Other walls in the set that are not parallel to the viewpoint's observation direction can be used as comparison walls corresponding to the baseline wall to obtain comparison wall information. By excluding walls that are parallel to the viewpoint's observation direction, the wall is prevented from participating in subsequent projection processing, thus improving the algorithm's processing efficiency. This simplifies complex construction drawings and allows for accurate and rapid acquisition of the construction index range.

[0088] For example, refer to Figure 7 The process involves iterating through all walls in the set of walls to be processed, identifying those not parallel to the observation direction, and designating each of these as a baseline (i.e., the baseline wall). Then, using the baseline wall as a reference, the process iterates through the remaining walls not parallel to the observation direction, comparing their positions with the baseline wall's position. If the observation direction is considered, walls on the side facing the observation direction can be excluded, while walls on the opposite side can be retained as comparison walls. (See reference...) Figure 8 Taking a horizontal rightward viewing direction as an example, after determining the baseline wall, we can iterate through the set of walls to be processed, identifying other walls that are not parallel to the viewing direction. Walls located to the right of the baseline wall (i.e., the viewing direction side) are excluded, while walls located to the left of the baseline wall (i.e., the opposite direction to the viewing direction) are retained as comparison walls. Similarly, if the viewing direction is horizontal leftward, walls located to the left of the baseline wall are retained as comparison walls, while walls located to the right of the baseline wall are excluded.

[0089] Step 260: Based on the baseline wall information and the comparison wall information, perform traversal projection to obtain the target wall set.

[0090] In a specific implementation, this application embodiment can pre-construct a container to store each target wall in the target wall set, so that the target walls can be extracted from the container in a loop, and the index range can be calculated based on the target walls to determine the index range information corresponding to the target walls.

[0091] As an example, refer to Figure 4 The baseline wall line (i.e., baseline wall information) can be projected onto other wall lines (such as comparison walls) to determine the intersection of the baseline wall line with other wall lines. Then, all intersections are subtracted from the baseline wall line to determine if there are any remaining wall lines. If so, these remaining wall lines can be used as target walls and temporarily stored in container A. Each wall in the set of walls to be processed can be iterated through to determine the target wall for each wall. Based on these target walls, a set of target walls can be determined and temporarily stored in container A.

[0092] Optionally, in this embodiment of the application, a traversal projection is performed based on the baseline wall information and the comparison wall information to obtain a target wall set, which may specifically include the following sub-steps:

[0093] Sub-step 2601: Project the baseline wall information and the comparison wall information to obtain intersection information.

[0094] Specifically, in this embodiment of the application, after determining the baseline wall information and the comparison wall information corresponding to the baseline wall information, the baseline wall can be used as a reference, and projections can be made on the opposite side of the viewpoint observation direction to the comparison wall corresponding to the comparison wall information, so as to determine the intersection of the baseline wall and the comparison wall, which is used as the intersection information.

[0095] As an example, refer to Figure 9 Taking a horizontal rightward observation direction as an example, after determining the baseline wall and the comparison wall, each comparison wall can be projected onto the baseline wall according to the observation direction to determine the intersection between the comparison wall and the baseline wall, thus obtaining the intersection information.

[0096] Sub-step 2602: Use the intersection information to remove the baseline wall information to obtain the wall difference information.

[0097] Specifically, this application embodiment can utilize intersection information to remove baseline wall information. For example, the intersection information can be subtracted from the baseline wall information, that is, the intersection portion is subtracted from the baseline wall to obtain the remaining wall corresponding to the baseline wall. After subtracting all intersection portions from the baseline wall, it can be determined whether there is a remaining wall. If it is determined that there is a remaining wall, it can be determined that a part of the baseline wall is not obstructed by other walls, and the line of sight can be directly projected onto the remaining wall corresponding to the baseline wall (i.e., the remaining wall can be directly observed). The remaining wall corresponding to the baseline wall can be used as the wall difference information. By using simple mathematical intersection knowledge to process the complex wall environment in the construction drawing, it is possible to quickly and efficiently determine whether the wall is completely obstructed, and thus quickly determine the construction index range, the line of sight range, etc.

[0098] In a specific implementation, after determining the remaining wall corresponding to the baseline wall in this application embodiment, the remaining wall can be stored in a pre-built container, and the remaining wall can be stored in the container.

[0099] As an example, refer to Figure 9 After determining the intersection information, the intersection information can be subtracted from the baseline wall to obtain the non-intersecting part, which is then stored in container A.

[0100] Furthermore, referring to Figure 10 For the walls to be processed in the set of walls to be processed, the walls that are not parallel to the observation direction can be iterated through in a loop. Each wall to be processed can be used as a baseline wall. The comparison wall corresponding to the baseline wall can be determined. Projection processing is performed based on the baseline wall and the comparison wall to determine the wall difference information corresponding to each baseline wall and store it in container A.

[0101] Sub-step 2603: Perform set statistics on the wall difference information to obtain the target wall set.

[0102] Specifically, embodiments of this application can perform aggregate statistics on wall difference information to obtain a target wall set. For example, for each baseline wall in the wall set to be processed, after determining the wall difference information corresponding to that baseline wall, all wall difference information can be aggregated and statistically analyzed to obtain the target wall set, which is then stored in a container.

[0103] Step 270: Perform perpendicular line processing on each target wall in the target wall set to obtain the perpendicular line information corresponding to the target wall.

[0104] Specifically, with Figure 11 For example, in this embodiment of the application, a perpendicular line perpendicular to the observation direction can be drawn for each target wall in the target wall set to obtain the perpendicular line information corresponding to the target wall.

[0105] Step 280: Calculate the index range based on the target viewpoint and the vertical line information to obtain the index range information.

[0106] Specifically, the embodiments of this application can calculate the index range based on the target viewpoint and vertical line information. For example, the distance between the target viewpoint and the vertical line information can be determined by combining the vertical line information with the viewpoint observation direction, and the index range information can be obtained. By using simple mathematical knowledge of vertical lines, the index range between the target viewpoint and each wall can be quickly obtained, thereby determining the construction index range and the field of view.

[0107] Step 290: Determine the target index information based on the index range information.

[0108] Specifically, after determining the index range information in this application embodiment, the various index range information can be compared to determine the maximum construction index range, which is then used as the target index information. By combining simple mathematical projection and line-to-line (i.e., wall-to-wall) intersection knowledge, the complex walls in the construction drawings can be processed quickly. This can efficiently and accurately determine the maximum construction index range and line-of-sight range of the construction drawings. It can also accurately obtain the construction index range for complex environments, solving the problem that the prior art cannot accurately determine the maximum construction range for complex construction drawings.

[0109] For example, with Figure 11 For example, the farthest point that the target viewpoint can see can be taken as the maximum range of the construction index, i.e., the maximum construction index range.

[0110] In one optional implementation, this application embodiment can compare data for each target wall in the target wall set to determine the target wall that is furthest from the target viewpoint, and then determine the point among the target walls that is furthest from the target viewpoint. Subsequently, a line perpendicular to the observation direction can be drawn from this point to determine the maximum construction index range.

[0111] Furthermore, after determining the maximum construction index range, the viewport area can be edited in the top view corresponding to the target construction drawing. A rectangular area is drawn based on the target viewpoint and the point farthest from the target viewpoint. This rectangular area is the construction index range.

[0112] In summary, this embodiment of the application selects a target viewpoint from the target construction drawing, determines the viewpoint observation direction based on the target viewpoint, then determines the wall selection information based on the viewpoint observation direction, and selects the wall to be processed that matches the wall selection information from the target construction information to obtain a set of walls to be processed. The set of walls to be processed is traversed to obtain at least one baseline wall information and the corresponding comparison wall information. Then, based on the baseline wall information and the comparison wall information, a traversal projection is performed to obtain a set of target walls. For each target wall in the set of target walls, a perpendicular line is processed to obtain the perpendicular line information corresponding to the target wall. Based on the target viewpoint and the perpendicular line information, an index range is calculated to obtain index range information. Based on the index range information, the target index information is determined. By using simple mathematical projection and intersection knowledge, the maximum construction range of the construction drawing can be obtained quickly and accurately, solving the problem that the existing technology cannot accurately determine the maximum construction range of complex construction drawings.

[0113] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of actions. However, those skilled in the art should know that the embodiments of this application are not limited to the described order of actions, because according to the embodiments of this application, some steps may be performed in other orders or simultaneously.

[0114] like Figure 12 As shown in the figure, this application embodiment also provides a construction index determination device 1200, including:

[0115] The target viewpoint selection module 1210 is used to select a target viewpoint from the target construction drawing;

[0116] The filtering processing module 1220 is used to perform wall filtering processing on the target construction information corresponding to the target construction drawing based on the target viewpoint to obtain a set of walls to be processed.

[0117] The target wall set determination module 1230 is used to perform traversal projection processing based on the wall set to be processed to obtain the target wall set;

[0118] The target construction index information determination module 1240 is used to perform data comparison processing based on the target wall set to obtain the target construction index information corresponding to the target viewpoint.

[0119] Optionally, the target viewpoint selection module includes:

[0120] The viewpoint selection operation receiving submodule is used to receive the viewpoint selection operation submitted by the user for the target construction drawing;

[0121] The operation position determination submodule is used to determine the operation position of the viewpoint selection operation on the target construction drawing;

[0122] The target viewpoint determination submodule is used to determine the target viewpoint based on the operation position.

[0123] Optionally, the filtering module includes:

[0124] The viewpoint observation direction determination submodule is used to determine the viewpoint observation direction based on the target viewpoint;

[0125] The wall selection information determination submodule is used to determine wall selection information based on the viewpoint observation direction;

[0126] The "Wall Set Determination" submodule is used to select walls that match the wall selection information from the target construction information to obtain a set of walls to be processed.

[0127] Optionally, the target wall set determination module includes:

[0128] The traversal submodule is used to traverse the set of walls to be processed to obtain at least one baseline wall information and the comparison wall information corresponding to the baseline wall information;

[0129] The target wall set determination submodule is used to perform traversal projection based on the baseline wall information and the comparison wall information to obtain the target wall set.

[0130] Optionally, the target wall set determination submodule includes:

[0131] The intersection information determination unit is used to project the baseline wall information and the comparison wall information to obtain intersection information;

[0132] A wall difference information determination unit is used to remove the baseline wall information using the intersection information to obtain wall difference information;

[0133] The target wall set determination unit is used to perform set statistics on the wall difference information to obtain the target wall set.

[0134] Optionally, the target construction index information determination module includes:

[0135] The perpendicular line information determination submodule is used to perform perpendicular line processing on each target wall in the target wall set to obtain the perpendicular line information corresponding to the target wall.

[0136] The index range information determination submodule is used to calculate the index range based on the target viewpoint and the vertical line information to obtain the index range information.

[0137] The target index information determination submodule is used to determine the target index information based on the index range information.

[0138] Optionally, the construction index determining device further includes:

[0139] The drawing identification information acquisition module is used to acquire the drawing identification information input by the user;

[0140] The target construction drawing extraction module is used to extract the target construction drawing from a preset drawing information database based on the drawing identification information.

[0141] It should be noted that the construction index determination device provided in this application embodiment can execute the construction index determination method provided in any embodiment of this application, and has the corresponding functions and beneficial effects of executing the construction index determination method.

[0142] In a specific implementation, the aforementioned construction index determination device can be integrated into a device, enabling the device to process the target construction drawing based on the target viewpoint corresponding to the target construction drawing, determine the target construction index information corresponding to the target viewpoint, and, as an electronic device, quickly obtain the maximum construction range of the construction drawing. This electronic device can consist of two or more physical entities, or it can consist of a single physical entity. For example, the electronic device can be a personal computer (PC), a computer, a server, etc., and this application embodiment does not impose specific limitations in this regard.

[0143] like Figure 13 As shown, this application embodiment provides an electronic device including a processor 111, a communication interface 112, a memory 113, and a communication bus 114. The processor 111, communication interface 112, and memory 113 communicate with each other via the communication bus 114. The memory 113 stores computer programs. The processor 111, when executing the program stored in the memory 113, implements the steps of the construction index determination method provided in any of the aforementioned method embodiments. For example, the steps of the construction index determination device method may include the following steps: selecting a target viewpoint from a target construction drawing; performing wall filtering processing on the target construction information corresponding to the target construction drawing based on the target viewpoint to obtain a set of walls to be processed; performing traversal projection processing on the set of walls to be processed to obtain a target wall set; and performing data comparison processing on the target wall set to obtain target construction index information corresponding to the target viewpoint.

[0144] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the construction index determination method provided in any of the foregoing method embodiments.

[0145] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, 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 limitations, 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.

[0146] The above description is merely a specific embodiment of this application, enabling those skilled in the art to understand or implement this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A construction index determination method characterized by, The method comprises the following steps: selecting a target viewpoint from a target construction drawing; performing wall filtering processing on target construction information corresponding to the target construction drawing based on the target viewpoint to obtain a set of wall bodies to be processed; performing traversal projection processing on the set of wall bodies to be processed to obtain a target wall body set; performing data comparison processing based on the target wall body set to obtain target construction index information corresponding to the target viewpoint; wherein the wall filtering processing on the target construction information corresponding to the target construction drawing based on the target viewpoint comprises the following steps: determining a viewpoint observation direction based on the target viewpoint; determining wall selection information based on the viewpoint observation direction; selecting wall bodies to be processed from the target construction information that match the wall selection information to obtain a set of wall bodies to be processed; wherein if it is determined that a wall body is not located in the opposite direction of the viewpoint observation direction, it is determined that the wall body matches the wall selection information, and the wall body that matches is taken as a wall body to be processed; the traversal projection processing on the set of wall bodies to be processed comprises the following steps: performing traversal on the set of wall bodies to be processed to obtain at least one baseline wall body information and comparison wall body information corresponding to the baseline wall body information; performing traversal projection based on the baseline wall body information and the comparison wall body information to obtain a target wall body set; the traversal projection processing on the baseline wall body information and the comparison wall body information comprises the following steps: performing projection on the baseline wall body information and the comparison wall body information to obtain intersection information, wherein if it is determined that the direction of a wall body to be processed is not parallel to the viewpoint observation direction, the wall body to be processed is taken as a baseline wall body to obtain baseline wall body information, and other wall bodies to be processed that are not parallel to the viewpoint observation direction in the set of wall bodies to be processed are taken as comparison walls corresponding to the baseline wall body to obtain comparison wall body information; removing the baseline wall body information using the intersection information to obtain wall difference set information; performing set statistics on the wall difference set information to obtain a target wall body set.

2. The method of claim 1, wherein, The method further comprises the following steps before the target viewpoint is selected from the target construction drawing: receiving a viewpoint selection operation submitted by a user for the target construction drawing; determining an operation position of the viewpoint selection operation on the target construction drawing; determining the target viewpoint based on the operation position.

3. The method of claim 1, wherein, The data comparison processing based on the target wall body set to obtain target index information comprises the following steps: performing perpendicular line processing on each target wall body in the target wall body set to obtain perpendicular line information corresponding to the target wall body; performing index range calculation based on the target viewpoint and the perpendicular line information to obtain index range information; determining target index information based on the index range information.

4. The method according to any of claims 1 or 2, characterized in that, The method further comprises the following steps before the target viewpoint is selected from the target construction drawing: obtaining drawing identification information input by a user; extracting the target construction drawing from a preset drawing information library based on the drawing identification information.

5. A construction index determination apparatus characterized by comprising: The method comprises the following steps: a target viewpoint selection module for selecting a target viewpoint from a target construction drawing; A filtering processing module is configured to perform wall filtering processing on target construction information corresponding to the target construction drawing based on the target viewpoint to obtain a set of wall bodies to be processed; A target wall body set determination module is configured to perform traversal projection processing on the set of wall bodies to be processed to obtain a target wall body set; A target construction index information determination module is configured to perform data comparison processing on the target wall body set to obtain target construction index information corresponding to the target viewpoint; The wall filtering processing on the target construction information corresponding to the target construction drawing based on the target viewpoint to obtain the set of wall bodies to be processed includes: Determining a viewpoint observation direction based on the target viewpoint; Determining wall selection information based on the viewpoint observation direction; Selecting wall bodies to be processed from the target construction information that match the wall selection information to obtain the set of wall bodies to be processed; if it is determined that a wall body is not located in the opposite direction of the viewpoint observation direction, it is determined that the wall body matches the wall selection information, and the wall body that matches is taken as a wall body to be processed; The traversal projection processing on the set of wall bodies to be processed to obtain the target wall body set includes: Performing traversal on the set of wall bodies to be processed to obtain at least one baseline wall body information and comparison wall body information corresponding to the baseline wall body information; Performing traversal projection on the baseline wall body information and the comparison wall body information to obtain the target wall body set; The traversal projection on the baseline wall body information and non-baseline wall body information to obtain the target wall body set includes: Performing projection on the baseline wall body information and the comparison wall body information to obtain intersection information, wherein if it is determined that a wall body to be processed is not parallel to the viewpoint observation direction, the wall body to be processed is taken as a baseline wall body to obtain baseline wall body information, and other wall bodies to be processed that are not parallel to the viewpoint observation direction in the set of wall bodies to be processed are taken as comparison walls corresponding to the baseline wall body to obtain comparison wall body information; Removing the baseline wall body information using the intersection information to obtain wall difference set information; Performing set statistics on the wall difference set information to obtain the target wall body set.

6. An electronic device, comprising: The system includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; The memory is configured to store a computer program; The processor is configured to execute the program stored on the memory to implement the steps of the construction index determination method of any one of claims 1-4.

7. A computer-readable storage medium having stored thereon a computer program, characterized in that The computer program is executed by the processor to implement the steps of the construction index determination method of any one of claims 1-4.

Citation Information

Patent Citations

  • Construction index map generation method for dividing wall surfaces based on internal viewpoints and computer readable storage medium

    CN114417460A