Shaft object generation method and device based on property model and medium
Through the method based on the property model, the floor sequence code is calculated and the vertical shaft space attributes are obtained, and the vertical shaft judgment results are generated, which solves the problems of low efficiency and poor accuracy of vertical shaft object generation in the existing technology, and realizes efficient and accurate automatic generation of vertical shaft objects.
Patent Information
- Application Number
- CN202411998918.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2044-12-31
AI Technical Summary
The existing shaft object generation methods are inefficient and have poor accuracy, especially in complex building structures, which are difficult to meet the practical needs of diversified and complexity.
Through the method based on the property model, the floor sequence codes of each floor of the target building are calculated, the vertical shaft space attributes matching the space of each shaft are obtained, and the shaft judgment results are generated based on the adjacent relationship of the shaft, and the result shaft space matching the target building is finally generated.
The automatic generation of vertical shaft objects is realized, the efficiency and accuracy of vertical shaft objects are improved, and the needs of complex building structures can be better adapted to the needs of complex building structures.
Smart Images

Figure CN119939715A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of building information processing, and in particular to a method, device and medium for generating a shaft object based on a property model. Background Art
[0002] In the field of property management, especially when it comes to the construction and management of building models, the generation of shaft objects is an important and challenging task. At present, the common methods for generating shaft objects have many shortcomings.
[0003] The traditional method of manually creating shaft objects first requires operations in the physical world. This is not only time-consuming and laborious, but also faces many difficulties when associating shaft objects with the property space on each floor. Since there are many property spaces of the same type displayed on each floor, it often takes a lot of time to manually determine the specific associated space, which is extremely inefficient. Moreover, once the property space is modified, the system prompts the problem shaft, and it is necessary to manually modify it again, which undoubtedly increases the complexity of the work and the possibility of errors. Another method of automatically generating shaft spaces by judging the properties of the shaft spaces on the upper and lower floors by elevation has improved the speed of generating shaft objects to a certain extent and can be processed in batches. However, this method requires that the shaft space properties of the specified property space be delivered on each floor, which undoubtedly brings a huge workload. Moreover, its limitations are also obvious. When the property space is modified, the shaft needs to be regenerated, and the overall efficiency is not high. Especially in the face of complex building structures, such as two buildings sharing a basement but with inconsistent ground elevations, relying solely on elevations for judgment will lead to calculation errors, which greatly limits the applicable scenarios of this method and cannot meet diverse and complex actual needs.
[0004] In summary, existing shaft object generation methods have problems to varying degrees in terms of efficiency and accuracy. Summary of the invention
[0005] The present invention provides a method, device, equipment and medium for generating a shaft object based on a property model, which can solve the problems of low efficiency and poor accuracy of the existing shaft object generation method.
[0006] In a first aspect, an embodiment of the present invention provides a method for generating a shaft object based on a property model, the method comprising:
[0007] According to the floor sequence code of each floor of the target building in the property model, the adjacent relationship of each shaft matching the target building is calculated;
[0008] Acquire the attributes of each shaft space that match each shaft space respectively based on the property model, and generate a shaft judgment result that matches the shaft adjacency relationship according to the shaft adjacency relationship and the attributes of each shaft space;
[0009] Generate a result shaft space matching the target building according to the judgment results of each shaft;
[0010] The result silo space is displayed through a display device so that relevant personnel can edit and modify it according to the actual implementation scenario.
[0011] In a second aspect, an embodiment of the present invention provides a device for generating a shaft object based on a property model, the device comprising:
[0012] The adjacent relationship calculation module is used to calculate the adjacent relationship of each shaft matching the target building according to the floor sequence code of each floor of the target building in the property model;
[0013] A judgment result generating module, used for acquiring the attributes of each shaft space respectively matched with each shaft space based on the property model, and generating a shaft judgment result matching the shaft adjacent relationship according to the shaft adjacent relationship and the attributes of each shaft space;
[0014] A shaft object generation module, used for generating a result shaft space matching the target building according to the judgment results of each shaft;
[0015] The result editing module is used to display the result silo space through a display device so that relevant personnel can edit and modify it according to the actual implementation scenario.
[0016] In a third aspect, an embodiment of the present invention provides an electronic device, the electronic device comprising:
[0017] at least one processor; and
[0018] a memory communicatively connected to the at least one processor; wherein,
[0019] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute a method for generating a shaft object based on a property model as described in any embodiment of the present invention.
[0020] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement a method for generating a shaft object based on a property model as described in any embodiment of the present invention when executed.
[0021] The technical solution of the embodiment of the present invention calculates the adjacent relationships of each shaft matching the target building according to the floor sequence code of each floor of the target building in the property model, then obtains the attributes of each shaft space respectively matching the shaft space based on the property model, and generates a shaft judgment result matching the shaft adjacent relationship according to the shaft adjacent relationship and the attributes of each shaft space, then generates a result shaft space matching the target building according to each shaft judgment result, and finally displays the result shaft space through a display device for relevant personnel to edit and modify according to the actual implementation scenario, thereby solving the problem of low efficiency and poor accuracy of the existing shaft object generation method, realizing the automatic generation of shaft objects, and improving the generation efficiency and accuracy of shaft objects.
[0022] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0024] Figure 1a is a flow chart of a method for generating a shaft object based on a property model according to Embodiment 1 of the present invention;
[0025] Figure 1b This is a schematic diagram of a method for generating a shaft object based on a property model according to Embodiment 1 of the present invention when a mezzanine appears on a floor;
[0026] Figure 1c This is a schematic diagram of a method for generating a shaft object based on a property model according to Embodiment 1 of the present invention when the target shaft space crosses buildings;
[0027] Figure 2a is a flow chart of a method for generating a shaft object based on a property model according to Embodiment 2 of the present invention;
[0028] Figure 2b is a schematic diagram of a specific embodiment of a method for generating a shaft object based on a property model according to Embodiment 2 of the present invention;
[0029] Figure 3 is a structural schematic diagram of a device for generating a shaft object based on a property model according to a third embodiment of the present invention;
[0030] Figure 4 It is a structural schematic diagram of an electronic device for implementing a method for generating a shaft object based on a property model according to an embodiment of the present invention. DETAILED DESCRIPTION
[0031] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0032] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, any variation of the terms "including" and "having" is intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0033] Embodiment 1
[0034] Figure 1 is a flowchart of a method for generating a shaft object based on a property model provided in a first embodiment of the present invention. This embodiment is applicable to the situation where a shaft object is generated based on a property model. The method can be executed by a shaft object generating device based on a property model. The shaft object generating device based on a property model can be implemented in the form of hardware and / or software. The shaft object generating device based on a property model can be configured in a terminal or server having a shaft object generating function based on a property model.
[0035] like Figure 1a As shown, the method includes:
[0036] S110. Calculate the adjacent relationship of each shaft matching the target building according to the floor sequence code of each floor of the target building in the property model.
[0037] The property model includes: creating a target building in the project in the physical world, a floor object, each delivered shaft space, each undelivered shaft space, and shaft space attributes matching each delivered shaft space, and the shaft space attributes of each undelivered shaft space are marked as idle.
[0038] Furthermore, the shaft adjacency relationship includes: shaft space attributes of the target shaft space and shaft space attributes of the adjacent space having an adjacent relationship with the target shaft space.
[0039] In this embodiment, the target shaft may be a shaft space used as a reference item for which an adjacent relationship is searched, and the adjacent shaft is a search result matched by the above search process.
[0040] Among them, based on the floor sequence code of each floor of the target building in the property model, the adjacent relationships of each shaft matching the target building are calculated, including: obtaining the floor sequence code matching each shaft space respectively based on the property model, and obtaining the attributes of each floor matching each floor sequence code respectively through the property space; selecting two adjacent shaft spaces as the adjacent relationship to be identified through the floor sequence code of each shaft space; judging whether the adjacent relationship to be identified includes mezzanine delivery according to the attributes of each floor, and obtaining the adjacent relationship of each shaft according to the judgment result.
[0041] The shaft space attributes are the description contents that describe the characteristics of the shaft space, such as the functional type of the space (eg, HVAC water shaft, air conditioning fresh air shaft, etc.), whether it is idle, and so on.
[0042] Specifically, in a specific implementation of this embodiment, a specific method for determining whether the adjacent relationship to be identified includes mezzanine delivery according to the attributes of each floor, and obtaining the adjacent relationship of each shaft according to the determination result may be:
[0043] For example, please refer to Figure 1b In some embodiments, judging whether the adjacent relationship to be identified includes a mezzanine delivery according to the attributes of each floor, and obtaining the adjacent relationship of each shaft according to the judgment result specifically includes the following steps: judging whether the mezzanine delivery is a mezzanine within the floor; judging whether the next floor is a mezzanine within the floor when calculating two adjacent floors; if the next floor is a mezzanine within the floor, the current floor is also adjacent to the floor below the mezzanine; if there are multiple mezzanines within the floor, then the calculation is carried out downward in sequence until the floor that is not a mezzanine within the floor is reached; specifically, in Figure 1bIn the process, first determine whether there is spatial occlusion between the space of the current floor and the adjacent interlayer space, determine that F2 is adjacent to F1, and then determine whether there is spatial occlusion between the space of shaft No. 3 and the space of shaft No. 5. If there is occlusion, no calculation is performed, that is, 3-5 is not output as a shaft adjacent relationship, and 2-1 is output as a shaft adjacent relationship because there is no spatial occlusion. Among them, the spatial occlusion is expressed as calculating whether there is a contour of the middle layer that intersects the upper and lower space contours at the same time. If there is an intersection, it is a spatial occlusion.
[0044] S120: Acquire the attributes of each shaft space that matches each shaft space based on the property model, and generate a shaft judgment result that matches the shaft adjacency relationship according to the shaft adjacency relationship and the attributes of each shaft space.
[0045] S130: Generate a result shaft space matching the target building according to the judgment results of each shaft.
[0046] The result silo space includes a silo object diagram and the delivery function of the silo object; further, the delivery function of the silo object is an accurate description and record of various attributes and characteristics of the silo object, such as the location, size, function type, floor to which the silo belongs, and association with other spaces.
[0047] S140: Display the result silo object through a display device so that relevant personnel can edit and modify it according to the actual implementation scenario.
[0048] Specifically, after the automatic calculation of the shaft is completed and the resulting shaft object is obtained, it will be displayed through a display device, which includes various devices such as computer monitors, tablet computers, mobile phone screens, etc. that can present data to users in an intuitive and visual manner.
[0049] For example, in a large-scale commercial complex building model, the resulting shaft objects may include a high-voltage shaft located on the first underground floor, with dimensions of 2 meters long, 1.5 meters wide, and 3 meters high, which is used to provide a line channel for underground power facilities; and an air conditioning shaft located on the fifth floor above ground, with dimensions of 1.8 meters long, 1.2 meters wide, and 2.5 meters high, which is used to transmit fresh air, etc. These detailed shaft object information will be clearly displayed on the computer display for relevant personnel to view.
[0050] Furthermore, after displaying the result silo space through a display device, the method further includes: in response to a silo editing operation of a user, performing a manual editing operation on the result silo space, wherein the manual editing operation includes: manually splitting silos and manually merging silos.
[0051] On the one hand, during manual splitting: the generated shaft can be split into two or more shafts at will. During splitting, it will automatically calculate whether the shaft space attributes of the property space under each shaft after the split have other non-idle types. If so, determine whether the shaft space attributes are consistent. If consistent, this shaft function directly inherits the original shaft space attributes. If inconsistent, further determine the shaft space attributes of the property space under the shaft. If all are water professional types, the shaft function will be delivered as a "water well"; if all are wind professional types, it will be delivered as a "wind shaft"; if there are both water and wind professionals, it will be delivered as a "comprehensive pipe shaft". If there are no other non-idle shaft space attributes, it is necessary to manually deliver the specified shaft function. Furthermore, when the shaft function is manually modified, the shaft space attributes of the non-"idle / unknown area" of the property space under the original shaft will be automatically modified at the same time.
[0052] On the other hand, when merging manually, you can first select multiple shaft objects to perform the merging operation. Then determine whether the functional types of the selected shafts are consistent. If not, merging is not allowed. Then sort the selected shafts according to the starting floors. For example, if the starting floor and arrival floors of shaft A are F5 to F10, the starting floor and arrival floors of shaft B are F1 to F4, and the starting floor and arrival floors of shaft C are B3 to B1, then the order of the shafts from top to bottom is A, B, C. Then determine whether the starting floor of shaft A and the arrival floor of shaft B are adjacent, that is, when there are two consecutive non-zero floor sequence codes, the two floors can be considered adjacent. If not adjacent, merging is not allowed. Finally, extract the property space of the starting floor and arrival floor of each shaft for comparison, and use the starting floor of the previous shaft to compare the arrival floor of the next shaft. For example, compare the F5 space of shaft A with the F4 space of shaft B. If the spatial area overlap rate is less than or equal to 0, merging is not allowed. Through such flexible and comprehensive manual editing functions, relevant personnel can accurately adjust and optimize the shaft objects according to the specific needs of actual construction and management, thereby ensuring that the design and planning of the shaft can perfectly fit the actual scene and improve the functionality and efficiency of the building.
[0053] Optionally, based on the above steps, before displaying the result silo space through the display device, it also includes: determining whether the target silo space crosses buildings; if so, updating the result silo space based on preset rules, and outputting the updated result silo space; if not, directly outputting the result silo space.
[0054] For details, please refer to Figure 1cWhen the target shaft space crosses buildings, first determine the adjacent floors across buildings. The judgment basis is the highest floor elevation of building B + the current floor elevation = the lowest floor elevation of building A. In this case, the lowest floor of building A is adjacent to the highest floor of building B. If the floor height of the building is empty, it is calculated as 0. After determining that the lowest floor of building A is adjacent to the highest floor of building B, then determine Figure 1c Whether the result silo space in building A and the result silo space in building B can be merged, if so, they are merged into one result silo space for output; wherein the judgment rule of the merging is the same as the judgment rule of the manual merging mentioned above.
[0055] The technical solution of the embodiment of the present invention calculates the adjacent relationships of each shaft matching the target building according to the floor sequence code of each floor of the target building in the property model, then obtains the attributes of each shaft space respectively matching the shaft space based on the property model, and generates a shaft judgment result matching the shaft adjacent relationship according to the shaft adjacent relationship and the attributes of each shaft space, then generates a result shaft space matching the target building according to each shaft judgment result, and finally displays the result shaft space through a display device for relevant personnel to edit and modify according to the actual implementation scenario, thereby realizing the automatic generation of shaft objects and improving the generation efficiency and accuracy of shaft objects.
[0056] Embodiment 2
[0057] Figure 2a A flowchart of a method for generating a shaft object based on a property model is provided in the second embodiment of the present invention. This embodiment is refined based on the above embodiment. In this embodiment, a method for generating a shaft judgment result matching the shaft adjacency relationship according to the shaft adjacency relationship and the spatial attributes of each shaft, and a method for generating a result shaft space matching the target building according to each shaft judgment result is specifically refined.
[0058] like Figure 2a As shown, the method includes:
[0059] S210. Calculate the adjacent relationship of each shaft matching the target building according to the floor sequence code of each floor of the target building in the property model.
[0060] S220: Acquire attributes of each silo space that match each silo space based on the property model.
[0061] S230, respectively calculating the spatial projection area overlap ratios of the target shaft space and the adjacent shaft space in the adjacent relationship of each shaft.
[0062] The calculation method of the overlap ratio is as follows: the sizes of the two spatial areas are compared, and the percentage of the overlap area to the smaller area is the overlap ratio.
[0063] S240: When the target shaft space and the shaft spaces of the adjacent shaft spaces have the same attributes and are not idle, a first judgment result is generated, and S270 is executed.
[0064] For example, in a vertical shaft adjacency relationship, if the target vertical shaft is a "high-power shaft" and the adjacent vertical shaft is also a "high-power shaft", then the preset conditions are met and a first judgment result is generated.
[0065] S250. When at least one of the shaft space attributes of the target shaft space and the adjacent shaft space is idle and at least one of the shaft space attributes is not idle, generate a second judgment result according to a preset condition and execute S290.
[0066] Specifically, when at least one of the shaft space attributes of the target shaft space and the adjacent shaft space is idle, and at least one is not idle, a second judgment result is generated. For example, if the starting floor is a "HVAC water shaft" and the adjacent floor is idle, the second judgment result is generated because the shaft space attribute does not meet the preset conditions.
[0067] S260. When the attributes of the target shaft space and the adjacent shaft spaces are all idle, a third judgment result is generated, and S2110 is executed.
[0068] Specifically, the target shaft space and the adjacent shaft space have all idle attributes, which means that the spatial functions of each floor have not been clearly delivered. In this case, the third judgment result is generated, and further verification and processing may be required to clarify the judgment.
[0069] S270 , marking each silo space matching each first judgment result as a first silo space, respectively obtaining silo space attributes of each first silo space, and executing S280 .
[0070] S280 , generating first shaft objects matching the target building based on the shaft space attributes of the first shaft spaces and the spatial projection overlap ratio between the target shaft space and the adjacent shaft spaces, and executing S2120 .
[0071] For example, Figure 2b As shown in case 1, due to Figure 2b The vertical shaft spaces are adjacent to each other, and the vertical shaft space attributes of each vertical shaft space are all high-voltage shafts. At the same time, the spatial projection overlap rate between the target vertical shaft space and the adjacent vertical shaft space exceeds a preset threshold, for example, 60%. At this time, a high-voltage shaft as shown in Case 1 is generated as the first vertical shaft object.
[0072] S290 , marking each silo space matching each second judgment result as a second silo space, respectively obtaining silo space attributes of each second silo space, and executing S2100 .
[0073] S2100 , generating second shaft objects matching the target building according to the shaft space attributes of the second shaft spaces and the spatial projection overlap ratio between the target shaft space and the adjacent shaft spaces, and executing S2120 .
[0074] Specifically, generating each second shaft object matching the target building according to the shaft space attributes of each second shaft space and the spatial projection overlap rate between the target shaft space and the adjacent shaft space includes:
[0075] When at least one of the shaft space attributes of the target shaft space and the adjacent shaft space is idle, and at least one is not idle, it is determined whether the spatial attributes of the second shaft spaces whose shaft space attributes are not idle are consistent; if they are consistent, and the spatial projection overlap rate between the target shaft space and the adjacent shaft space is greater than a preset threshold, a first type of shaft object matching the target building is generated, and the spatial attributes of the first type of shaft object inherit the shaft space attributes of the second shaft space; if they are inconsistent, and the spatial projection overlap rate between the target shaft space and the adjacent shaft space is greater than a preset threshold, a second type of shaft object matching the target building is generated, and the spatial attributes of the second type of shaft object are generated according to the existence of the shaft space attributes of the second shaft space.
[0076] For example, Figure 2b As shown in case 2, due to Figure 2b Three of the target shaft space and the adjacent shaft space's shaft space attributes are HVAC water wells, and the rest are idle. Under the premise that the spatial projection overlap rate between the target shaft space and the adjacent shaft space exceeds a preset threshold, for example, 60%, since the attributes of the shaft spaces of the non-idle shaft spaces are the same in the first example of Case 2, a first-class shaft object of a HVAC water well is generated at this time. At the same time, since the attributes of the shaft spaces in the second example are not all the same, that is, there are water supply and drainage wells and HVAC water wells at the same time, a comprehensive pipe shaft is generated as another second-class shaft object.
[0077] For example, assuming that the shaft space attributes of all second shaft spaces, except for the shaft space attributes of idle shaft spaces, are all of water professional type, for example, all are water supply and drainage pipe shafts, then the shaft function will be delivered and set as a water well; if all are of wind professional type, such as ventilation pipe shafts, they will be delivered as wind shafts; if there are both water professional types and wind professional types, such as both water supply and drainage pipe shafts and ventilation pipe shafts, then they will be delivered as comprehensive pipe shafts.
[0078] S2110: Mark each shaft space matching each third judgment result as a third shaft space, and generate an error message based on the floor sequence code of each third shaft space to prompt a relevant user.
[0079] S2120. Display the result silo space through a display device so that relevant personnel can edit and modify it according to the actual implementation scenario.
[0080] The technical solution of the embodiment of the present invention calculates the adjacent relationships of each shaft matching the target building according to the floor sequence code of each floor of the target building in the property model, then obtains the attributes of each shaft space respectively matching the shaft space based on the property model, and generates a shaft judgment result matching the shaft adjacent relationship according to the shaft adjacent relationship and the attributes of each shaft space, then generates a result shaft space matching the target building according to each shaft judgment result, and finally displays the result shaft space through a display device for relevant personnel to edit and modify according to the actual implementation scenario, thereby realizing the automatic generation of shaft objects and improving the generation efficiency and accuracy of shaft objects.
[0081] Embodiment 3
[0082] Figure 3 This is a schematic diagram of the structure of a device for generating a shaft object based on a property model provided in the third embodiment of the present invention. Figure 3 As shown, the device comprises:
[0083] The adjacent relationship calculation module 310 is used to calculate the adjacent relationship of each shaft matching the target building according to the floor sequence code of each floor of the target building in the property model;
[0084] A judgment result generating module 320 is used to obtain the attributes of each shaft space respectively matched with each shaft space based on the property model, and generate a shaft judgment result matching the shaft adjacent relationship according to the shaft adjacent relationship and the attributes of each shaft space;
[0085] A shaft object generation module 330 is used to generate a result shaft space matching the target building according to the judgment results of each shaft;
[0086] The result editing module 340 is used to display the result silo space through a display device for relevant personnel to edit and modify according to the actual implementation scenario.
[0087] The technical solution of the embodiment of the present invention calculates the adjacent relationships of each shaft matching the target building according to the floor sequence code of each floor of the target building in the property model, then obtains the attributes of each shaft space respectively matching the shaft space based on the property model, and generates a shaft judgment result matching the shaft adjacent relationship according to the shaft adjacent relationship and the attributes of each shaft space, then generates a result shaft space matching the target building according to each shaft judgment result, and finally displays the result shaft space through a display device for relevant personnel to edit and modify according to the actual implementation scenario, thereby realizing the automatic generation of shaft objects and improving the generation efficiency and accuracy of shaft objects.
[0088] Based on the above embodiment, the judgment result generating module 320 includes:
[0089] A first judgment unit, configured to generate a first judgment result when the target shaft space and the shaft spaces of the adjacent shaft spaces have the same attributes and are not idle;
[0090] A second judgment unit, configured to generate a second judgment result according to a preset condition when at least one of the shaft space attributes of the target shaft space and the adjacent shaft space is idle and at least one of the shaft space attributes is not idle;
[0091] The third judgment unit is configured to generate a third judgment result when the shaft space attributes of the target shaft space and the adjacent shaft space are both idle.
[0092] Based on the above embodiment, the shaft object generation module 330 includes:
[0093] An overlap rate calculation unit, used to respectively calculate the overlap rate of the spatial projection area of the target shaft space and the adjacent shaft space in the adjacent relationship of each shaft;
[0094] A first marking unit, configured to mark each silo space matching each first judgment result as a first silo space, and respectively obtain silo space attributes of each first silo space;
[0095] A first object generating unit, configured to generate first shaft objects matching the target building based on shaft space attributes of the first shaft spaces and a spatial projection overlap ratio between the target shaft space and an adjacent shaft space;
[0096] A second marking unit is used to mark each silo space matching each second judgment result as a second silo space, and respectively obtain silo space attributes of each second silo space;
[0097] A second object generating unit, configured to generate each second shaft object matching the target building according to the shaft space attributes of each second shaft space and the spatial projection overlap ratio between the target shaft space and an adjacent shaft space;
[0098] The third marking unit is used to mark each shaft space matching each third judgment result as a third shaft space, and generate an error message based on the floor sequence code of each third shaft space to prompt a related user.
[0099] Based on the above embodiment, the neighbor relationship calculation module 310 includes:
[0100] An attribute acquisition unit, used for acquiring a floor sequence code respectively matching each shaft based on the property model, and acquiring the attributes of each floor matching each floor sequence code through the property space;
[0101] An adjacent relationship determination unit, used to select two adjacent shaft spaces as adjacent relationships to be identified according to the floor sequence codes of the shaft spaces;
[0102] The mezzanine judgment unit is used to judge whether the adjacent relationship to be identified includes the mezzanine delivery according to the attributes of each floor, and obtain the adjacent relationship of each shaft according to the judgment result.
[0103] Based on the above embodiment, the result editing module 340 is further used to: after displaying the result silo space through the display device, in response to the user's silo editing operation, perform manual editing operations on the result silo space, and the manual editing operations include: manually splitting silos and manually merging silos.
[0104] Based on the above embodiment, the result editing module 340 is further used to: before displaying the result silo space through the display device, determine whether the target silo space crosses the building; if so, update the result silo space based on preset rules and output the updated result silo space; if not, directly output the result silo space.
[0105] The device for generating a shaft object based on a property model provided in an embodiment of the present invention can execute the method for generating a shaft object based on a property model provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0106] Embodiment 4
[0107] Figure 4A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0108] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, ROM 12 and RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0109] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0110] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a method for generating a shaft object based on a property model.
[0111] Accordingly, the method comprises:
[0112] According to the floor sequence code of each floor of the target building in the property model, the adjacent relationship of each shaft matching the target building is calculated;
[0113] Acquire the attributes of each shaft space that match each shaft space respectively based on the property model, and generate a shaft judgment result that matches the shaft adjacency relationship according to the shaft adjacency relationship and the attributes of each shaft space;
[0114] Generate a result shaft space matching the target building according to the judgment results of each shaft;
[0115] The result silo space is displayed through a display device so that relevant personnel can edit and modify it according to the actual implementation scenario.
[0116] In some embodiments, the method for generating a silo object based on a property model may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for generating a silo object based on a property model described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the method for generating a silo object based on a property model in any other appropriate manner (e.g., by means of firmware).
[0117] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0118] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0119] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0120] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0121] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0122] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0123] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
Claims
1. A method for generating a shaft object based on a property model, characterized in that: include: According to the floor sequence code of each floor of the target building in the property model, the adjacent relationship of each shaft matching the target building is calculated; Acquire the attributes of each shaft space that match each shaft space respectively based on the property model, and generate a shaft judgment result that matches the shaft adjacency relationship according to the shaft adjacency relationship and the attributes of each shaft space; Generate a result shaft space matching the target building according to the judgment results of each shaft; The result silo space is displayed through a display device so that relevant personnel can edit and modify it according to the actual implementation scenario.
2. The method according to claim 1, characterized in that The property model includes: creating a target building in a project in the physical world, a floor object, each delivered silo space, each undelivered silo space, and silo space attributes matching each delivered silo space, wherein the silo space attributes of each undelivered silo space are marked as idle.
3. The method according to claim 2, characterized in that The shaft adjacency relationship includes: shaft space attributes of the target shaft space and shaft space attributes of the adjacent space having an adjacent relationship with the target shaft space.
4. The method according to claim 3, characterized in that Generating a shaft judgment result matching the shaft adjacency relationship according to the shaft adjacency relationship and the spatial attributes of each shaft, including: When the target shaft space and the adjacent shaft spaces have the same shaft space attributes and are not idle, a first judgment result is generated; When at least one of the shaft space attributes of the target shaft space and the adjacent shaft space is idle, and at least one of the shaft space attributes is not idle, a second judgment result is generated according to a preset condition; When the shaft space attributes of the target shaft space and the adjacent shaft space are both idle, a third judgment result is generated.
5. The method according to any one of claim 4, characterized in that: A result shaft space matching the target building is generated according to the judgment results of each shaft, including: Calculate the spatial projection area overlap ratio between the target shaft space and the adjacent shaft space in the adjacent relationship of each shaft respectively; Marking each silo space matching each first judgment result as a first silo space, and obtaining silo space attributes of each first silo space respectively; Based on the shaft space attributes of each first shaft space and the spatial projection overlap rate between the target shaft space and the adjacent shaft space, generating each first shaft object matching the target building; Marking each silo space matching each second judgment result as a second silo space, and respectively obtaining silo space attributes of each second silo space; generating second shaft objects matching the target building according to the shaft space attributes of the second shaft spaces and the spatial projection overlap ratio between the target shaft space and the adjacent shaft spaces; Each shaft space matching each third judgment result is marked as a third shaft space, and an error message is generated based on the floor sequence code of each third shaft space to prompt a related user.
6. The method according to claim 1, characterized in that According to the floor sequence code of each floor of the target building in the property model, the adjacent relationship of each shaft matching the target building is calculated, including: Based on the property model, a floor sequence code that matches each shaft is obtained, and through the property space, attributes of each floor that matches each floor sequence code are obtained; Select two adjacent shaft spaces as adjacent relationships to be identified through the floor sequence codes of each shaft space; It is determined whether the adjacent relationship to be identified includes mezzanine delivery according to the attributes of each floor, and the adjacent relationship of each shaft is obtained according to the determination result.
7. The method according to claim 1, characterized in that After displaying the result silo space through a display device, the method further includes: In response to the silo editing operation of the user, a manual editing operation is performed on the result silo space, and the manual editing operation includes: manually splitting the silo and manually merging the silo.
8. The method according to claim 1, characterized in that Before displaying the result silo space through a display device, the method further includes: Determine whether the target shaft space crosses buildings; If yes, then the result silo space is updated based on a preset rule, and the updated result silo space is output; If not, the result silo space is directly output.
9. A device for generating shaft objects based on a property model, characterized in that: include: The adjacent relationship calculation module is used to calculate the adjacent relationship of each shaft matching the target building according to the floor sequence code of each floor of the target building in the property model; A judgment result generating module, used for acquiring the attributes of each shaft space respectively matched with each shaft space based on the property model, and generating a shaft judgment result matching the shaft adjacent relationship according to the shaft adjacent relationship and the attributes of each shaft space; A shaft space generation module, used for generating a result shaft space matching the target building according to the judgment results of each shaft; The result editing module is used to display the result silo space through a display device so that relevant personnel can edit and modify it according to the actual implementation scenario.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement a method for generating a shaft object based on a property model according to any one of claims 1 to 7 when executed.
Citation Information
Patent Citations
Method and system for generating and matching building platform intelligent node topology
CN109783943A
Three-dimensional map alignment display method and device, computer equipment and storage medium
CN114549773A
Electromechanical system aided design method and device, medium and equipment
CN115455553A
Building modeling method and device, storage medium and electronic equipment
CN116011057A
Method for automatically generating vertical shaft in building in physical world
CN116188717A