Lightning protection design method, device, electronic equipment and storage medium
By obtaining building information model and lightning protection planning parameters, determining the location and protection range of lightning protection devices, and displaying lightning protection protection information in the building information model, the lightning protection protection design in the existing technology is solved. The complex operation and unintuitive effect of lightning protection in the existing technology The problem has achieved the effect of simplifying operations and improving user experience.
Patent Information
- Application Number
- CN202210654062.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-09
- Publication Date
- 2025-02-07
- Estimated Expiration
- 2042-06-09
AI Technical Summary
The lightning protection protection design in the prior art is complex in operation and cannot intuitively display the effect of the lightning protection design.
By obtaining the building information model and lightning protection planning parameters of the target building, the target position information and protection scope of the lightning protection device are determined, and the building information model is used to display lightning protection protection information.
The lightning protection design operation is simplified, the display effect is intuitive and clear, and the user experience of lightning protection design is improved.
Smart Images

Figure CN114996811B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of lightning protection, and in particular to a method, device, electronic equipment and storage medium for lightning protection design. Background Art
[0002] In order to protect the safety of buildings and the equipment inside them, lightning protection design is required for buildings in order to strengthen safety protection measures and reduce the occurrence of lightning accidents. The most common lightning protection design is to set up lightning protection devices (such as lightning rods). Usually, the setting of lightning protection devices requires selecting a suitable location on the building. However, the lightning protection design in the related art is complicated to operate and cannot intuitively display the effect of the lightning protection design. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides a method, device, electronic device and storage medium for lightning protection design.
[0004] According to a first aspect of an embodiment of the present disclosure, a reporting method for a lightning protection design is provided, the method comprising:
[0005] Acquire a building information model and lightning protection planning parameters of a target building, wherein the building information model includes three-dimensional model information of one or more first target protection objects in the target building;
[0006] Acquire target position information of the lightning protection device in the building information model according to the lightning protection planning parameters, and determine lightning protection information of the first target protection object according to the target position information;
[0007] The lightning protection information is displayed through the building information model.
[0008] Optionally, the lightning protection planning parameters include preset position information of the lightning protection device, and obtaining target position information of the lightning protection device in the building information model according to the lightning protection planning parameters, and determining the lightning protection information of the first target protection object according to the target position information includes:
[0009] Determining target position information of the lightning protection device in the building information model according to the preset position information;
[0010] Determining a protection range of the lightning protection device according to the target location information;
[0011] The lightning protection information is determined according to the protection range.
[0012] Optionally, the lightning protection planning parameters include one or more second target protection objects in the target building, the first target protection object includes the second target protection object, and acquiring target position information of the lightning protection device in the building information model according to the lightning protection planning parameters, and determining the lightning protection information of the first target protection object according to the target position information includes:
[0013] Determine one or more pending position sets of the lightning protection device in the building information model according to the second target protection object, wherein the pending position set includes one or more pending position information;
[0014] Determine the pending protection range of the corresponding lightning protection device according to the one or more pending position sets;
[0015] In the case that any pending protection range includes the second target protection object, one or more of the pending location information corresponding to the first target pending protection range is used as the target location information, and the first target pending protection range is used as the protection range. The first target pending protection range includes the second target protection object and the number of corresponding pending location information is the least.
[0016] Optionally, when none of the pending protection ranges includes the second target protection object, obtaining a pending protection ratio of the second target protection object in each of the pending protection ranges;
[0017] One or more of the pending position information corresponding to the second target pending protection range with the largest pending protection ratio is used as the target position information, and the second target pending protection range is used as the protection range.
[0018] Optionally, the lightning protection information includes a protection range of the lightning protection device, and the displaying of the lightning protection information through the building information model includes:
[0019] determining one or more third target protection objects in the building information model;
[0020] A lightning protection ratio is calculated according to the object information of the third target protection object and the protection range of the lightning protection device; the lightning protection ratio is used to characterize the ratio of the third target protection object within the protection range of the lightning protection device;
[0021] When the lightning protection ratio is greater than or equal to a preset ratio threshold, the display format of the third target protection object is set to a first preset format; or
[0022] When the lightning protection ratio is less than a preset ratio threshold, the display format of the third target protection object is set to a second preset format.
[0023] Optionally, the lightning protection information includes a protection range of the lightning protection device, and the displaying of the lightning protection information through the building information model includes:
[0024] Determining one or more third target protection objects in the target building;
[0025] A first portion of the third target protection object within the protection range is rendered into a third preset format, and a second portion of the third target protection object outside the protection range is rendered into a fourth preset format.
[0026] Optionally, after displaying the lightning protection information through the building information model, the method further includes:
[0027] Receive lightning protection adjustment parameters input by the user;
[0028] adjusting the target position information of the lightning protection device according to the lightning protection adjustment parameter;
[0029] The lightning protection information of the first target protection object is updated according to the adjusted target position information, and the updated lightning protection information is displayed through the building information model.
[0030] According to a second aspect of an embodiment of the present disclosure, a lightning protection device is provided, the device comprising:
[0031] An acquisition module is configured to acquire a building information model and lightning protection planning parameters of a target building, wherein the building information model includes three-dimensional model information of one or more first target protection objects in the target building;
[0032] a determination module configured to obtain target position information of a lightning protection device in the building information model according to the lightning protection planning parameters, and determine lightning protection information of the first target protection object according to the target position information;
[0033] A display module is configured to display the lightning protection information through the building information model.
[0034] Optionally, the lightning protection planning parameters include preset position information of the lightning protection device, and the determination module is further configured to:
[0035] Determining target position information of the lightning protection device in the building information model according to the preset position information;
[0036] Determining a protection range of the lightning protection device according to the target location information;
[0037] The lightning protection information is determined according to the protection range.
[0038] Optionally, the lightning protection planning parameter includes one or more second target protection objects in the target building, the first target protection object includes the second target protection object, and the determination module is further configured to:
[0039] Determine one or more pending position sets of the lightning protection device in the building information model according to the second target protection object, wherein the pending position set includes one or more pending position information;
[0040] Determine the pending protection range of the corresponding lightning protection device according to the one or more pending position sets;
[0041] In the case that any pending protection range includes the second target protection object, one or more of the pending location information corresponding to the first target pending protection range is used as the target location information, and the first target pending protection range is used as the protection range. The first target pending protection range includes the second target protection object and the number of corresponding pending location information is the least.
[0042] Optionally, the determining module is further configured to:
[0043] In the case that none of the pending protection areas include the second target protection object, obtaining the pending protection ratio of the second target protection object in each of the pending protection areas;
[0044] One or more of the pending position information corresponding to the second target pending protection range with the largest pending protection ratio is used as the target position information, and the second target pending protection range is used as the protection range.
[0045] Optionally, the lightning protection information includes a protection range of the lightning protection device, and the display module is configured to:
[0046] determining one or more third target protection objects in the building information model;
[0047] A lightning protection ratio is calculated according to the object information of the third target protection object and the protection range of the lightning protection device; the lightning protection ratio is used to characterize the ratio of the third target protection object within the protection range of the lightning protection device;
[0048] When the lightning protection ratio is greater than or equal to a preset ratio threshold, the display format of the third target protection object is set to a first preset format; or
[0049] When the lightning protection ratio is less than a preset ratio threshold, the display format of the third target protection object is set to a second preset format.
[0050] Optionally, the display module is further configured to:
[0051] Determining one or more third target protection objects in the target building;
[0052] A first portion of the third target protection object within the protection range is rendered into a third preset format, and a second portion of the third target protection object outside the protection range is rendered into a fourth preset format.
[0053] Optionally, the device further includes an adjustment module configured to:
[0054] Receive lightning protection adjustment parameters input by the user;
[0055] adjusting the target position information of the lightning protection device according to the lightning protection adjustment parameter;
[0056] The lightning protection information of the first target protection object is updated according to the adjusted target position information, and the updated lightning protection information is displayed through the building information model.
[0057] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, the electronic device comprising:
[0058] a memory having a computer program stored thereon;
[0059] A processor is used to execute the computer program in the memory to implement the steps of the method described in any embodiment of the first aspect above.
[0060] According to a fourth aspect of an embodiment of the present disclosure, there is provided a non-temporary computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0061] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0062] The present disclosure first obtains the building information model and lightning protection planning parameters of the target building, wherein the building information model includes three-dimensional model information of one or more first target protection objects in the target building; then obtains the target position information of the lightning protection device in the building information model according to the lightning protection planning parameters, and determines the lightning protection information of the first target protection object according to the target position information; finally, the lightning protection information is displayed through the building information model. The above scheme is adopted to design lightning protection through lightning protection planning parameters, and display the lightning protection information on the building information model. The operation is simple, the display effect is intuitive and clear, and the user experience of lightning protection design is improved.
[0063] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
[0064] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] The accompanying drawings herein are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, but do not constitute limitations of the present disclosure.
[0066] Figure 1 The figure is a flow chart of a method for lightning protection design according to an exemplary embodiment.
[0067] Figure 2 The figure is a flow chart showing another method for lightning protection design according to an exemplary embodiment.
[0068] Figure 3 The figure is a flow chart of another method for lightning protection design according to an exemplary embodiment.
[0069] Figure 4 The figure is a flow chart of another method for lightning protection design according to an exemplary embodiment.
[0070] Figure 5 The figure is a flow chart of another method for lightning protection design according to an exemplary embodiment.
[0071] Figure 6 The invention is a block diagram of a lightning protection device according to an exemplary embodiment.
[0072] Figure 7 is a block diagram of another lightning protection device according to an exemplary embodiment.
[0073] Figure 8 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0074] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims, and it should be understood that the specific embodiments described herein are only used to illustrate and explain the present disclosure and are not used to limit the present disclosure.
[0075] It should be noted that all actions of acquiring signals, information or data in this application are carried out in compliance with the relevant data protection laws and policies of the country where they are located, and with the authorization given by the owner of the corresponding device.
[0076] First, the application scenario of the present disclosure is described. The present disclosure can be applied to lightning protection design scenarios, such as lightning protection design of buildings. In the lightning protection design of buildings, it is necessary to calculate the protection range of the lightning protection device to facilitate the evaluation of the lightning protection effect of the lightning protection device. The current calculation and display operations of lightning protection are complicated, and the display effect of lightning protection is poor. For example, the traditional CAD method displays the results of lightning protection on CAD drawings, which is not clear and intuitive, and it is not convenient to modify the design of the lightning protection device. If the position or number of the lightning protection device is modified, it is necessary to recalculate and draw the updated CAD drawings.
[0077] The present disclosure is described below in conjunction with specific embodiments.
[0078] Figure 1 is a flow chart of a method for lightning protection design according to an exemplary embodiment. Figure 1 As shown, the method may include the following steps:
[0079] In step S101, a building information model and lightning protection planning parameters of a target building are obtained.
[0080] The building information model includes three-dimensional model information of one or more first target protection objects in the target building.
[0081] Building Information Modeling (BIM) is based on the relevant information data of the construction project, simulates the real information of the building through digital information simulation, and intuitively displays the information of the building through a three-dimensional building model. Compared with traditional CAD (Computer Aided Design), BIM has the advantages of low skill requirements for operators, convenient adjustment and modification, and intuitive effect display.
[0082] In the target building presented by BIM, one or more components of the target building may be included. The BIM component is a physical component in the entire BIM model, which has a specific function and complies with the interface standard of the entire BIM model. For example, the component can be a building component in the target building, such as a room, a wall, or a door. It can also be equipment and facilities inside or outside the target building, such as elevators, electrical appliances, etc., which are not limited in the present disclosure.
[0083] The first target protection object in the present disclosure may include the above-mentioned components, and may also include the space between components or around components.
[0084] In some possible implementations, the lightning protection planning parameters may be determined based on parameters input by a user.
[0085] In step S102, target position information of the lightning protection device in the building information model is obtained according to the lightning protection planning parameters, and lightning protection information of the first target protection object is determined according to the target position information.
[0086] In some possible implementations, the lightning protection planning parameters include preset position information of the lightning protection device, wherein the number of the preset position information may be one or more. The lightning protection information of the first target protection object may be determined through the following steps.
[0087] Step 1: Determine the target location information of the lightning protection device in the building information model according to the preset location information.
[0088] The target position information is the target installation position of the lightning protection device, and the preset position information can be expressed as a spatial coordinate in a building information model.
[0089] For example, one or more spatial coordinates corresponding to the one or more preset position information may be used as target position information of the lightning protection device in the building information model.
[0090] Step 2: Determine the protection range of the lightning protection device based on the target location information.
[0091] In some embodiments, the protection range of the lightning protection device may be determined by the "broken line method" or the "rolling sphere method" according to the target location information. The present disclosure does not limit the specific method for determining the protection range of the lightning protection device. For the specific technical solutions of the "broken line method" and the "rolling sphere method" for determining the protection range, reference may be made to the descriptions in the related art, and the present disclosure will not elaborate further.
[0092] In some possible implementation manners, after determining the protection range of the lightning protection device by the "broken line method" or the "rolling sphere method" according to the target location information, the protection range may be described in the form of a spatial plane equation.
[0093] Exemplarily, taking a single lightning rod as the lightning protection device, the installation position of the lightning rod can be represented by the spatial coordinates (x0, y0, h0), where h0 represents the installation height of the single lightning rod relative to the reference horizontal plane, and (x0, y0) are the coordinates relative to the preset coordinate origin on the reference horizontal plane.
[0094] For example, the theoretical protection range of a single lightning rod obtained by the broken line method can be expressed by the following formula (1) in the form of a spatial surface coordinate equation:
[0095]
[0096] where (x, y, z) are the three-dimensional spatial coordinates of any point, z represents the height of the point relative to the reference horizontal plane, (x, y) are the coordinates relative to the preset coordinate origin on the reference horizontal plane, h0 is the installation height of the single lightning rod relative to the reference horizontal plane, and when the height is greater than 120 meters, it can be taken as 120 meters. P is the height influence coefficient. When h0 ≤ 30 meters, P is 1; when 30 < h0 ≤ 120 meters, P is 0.5. For the specific details, please refer to the relevant technical descriptions of obtaining the theoretical protection range by the broken line method.
[0097] When the coordinates of any point satisfy the above formula (1), it indicates that the point is within the theoretical protection range of the single lightning rod; otherwise, it indicates that the point is not within the theoretical protection range of the single lightning rod.
[0098] The theoretical protection range of multiple lightning rods obtained by the broken line method and the theoretical protection range obtained by the rolling sphere method can both be expressed in a similar manner. For the specific details, please refer to the relevant knowledge of spatial geometry and the descriptions of obtaining the protection range of the lightning protection device in the related art. In some relatively complex scenarios, multiple sample points within the protection range plane may also be collected, and the spatial surface coordinate equation may be obtained by using engineering fitting regression based on the spatial coordinates of the sample points. The present disclosure does not limit this.
[0099] Step 3: Determine the lightning protection information according to the protection range.
[0100] The lightning protection information can indicate whether the whole or part of any first target protection object is within the protection range.
[0101] For example, the first target protection object may be any component in the BIM, for example, a device in the BIM. In some possible implementations, the lightning protection information may be determined according to multiple spatial coordinates of the device and the spatial surface coordinate equation of the protection range obtained in step 2. For example, if multiple spatial coordinates of the device all satisfy the spatial surface coordinate equation, it may be determined that the device is within the protection range.
[0102] For example, the first protection object may also be the space between components or around components in the BIM. In some possible implementations, the lightning protection information may be determined based on a plurality of sample space coordinates of the space and the space surface coordinate equation of the protection range obtained in step 2. For example, when a plurality of sample space coordinates of the space all satisfy the space surface coordinate equation, it may be determined that the space is within the protection range.
[0103] In step S103, lightning protection information is displayed through a building information model.
[0104] The lightning protection information includes a protection range of the lightning protection device. For example, the protection range can be represented by a space surface equation.
[0105] In some embodiments, lightning protection information may be displayed through a building information model through the following steps.
[0106] Step 1: Determine one or more third target protection objects in the building information model.
[0107] For example, the third target protection object can be a component in the BIM, or a space between components or around components, and the present disclosure does not limit this. The number of the third target protection objects can be one or more, and the first target protection object can include the third target protection object.
[0108] Step 2: Calculate the lightning protection ratio according to the object information of the third target protection object and the protection range of the lightning protection device.
[0109] The lightning protection ratio is used to characterize the ratio of the third target protection object within the protection range of the lightning protection device.
[0110] For example, the object information of the third target protection object includes multiple pending spatial coordinates of the third target object. For example, if the third target protection object is a device in the BIM, the object information of the device includes multiple pending spatial coordinates of the device. The third target protection object can also be a spatial area to be protected (such as a hall in a building), and the area contains multiple pending spatial coordinates. The above-mentioned pending spatial coordinates can be spatial coordinates uniformly distributed inside the third target protection object. For details, please refer to the relevant technology in solid geometry, which will not be repeated here.
[0111] In some possible implementations, multiple target space coordinates can be determined based on multiple pending space coordinates and the space surface equation corresponding to the protection range in the lightning protection information, wherein the target space coordinate represents that the corresponding space coordinate satisfies the space surface equation. The number of target space coordinates and the number of pending space coordinates can be used as the lightning protection ratio.
[0112] Step 3: When the lightning protection ratio is greater than or equal to the preset ratio threshold, the display format of the third target protection object is set to the first preset format; or
[0113] When the lightning protection ratio is less than the preset ratio threshold, the display format of the third target protection object is set to the second preset format.
[0114] For example, the preset ratio threshold value can be 90%. When the lightning protection ratio of the third target protection object is greater than or equal to the preset ratio threshold value, it indicates that the third target protection object is within the protection range of the lightning protection device, and the display format of the third target protection object can be set to the first preset format. The first preset format can be a preset first color (for example, green) or a preset first rendering shading (for example, a dotted shading). When the lightning protection ratio of the third target protection object is less than the preset ratio threshold value, it indicates that the third target protection object is not within the protection range of the lightning protection device, and the display format of the third target protection object can be set to the second preset format. The second preset format can be a preset second color (for example, red) or a preset second rendering shading (for example, a striped shading).
[0115] By adopting the above scheme, lightning protection is designed through lightning protection planning parameters, and the lightning protection information is displayed on the building information model. The operation is simple, the display effect is intuitive and clear, and the user experience of lightning protection design is improved.
[0116] Since the location selection of the lightning protection device in the lightning protection design requires certain skills from the user, in another possible implementation, the user can also select one or more second target protection objects, wherein the first target protection object includes the second target protection object.
[0117] Figure 2 is a flow chart of another method for lightning protection design according to an exemplary embodiment. Figure 2 As shown, step S102 may include the following steps:
[0118] In step S1021, one or more to-be-determined position sets of the lightning protection device in the building information model are determined according to the second target protection object.
[0119] The pending location set includes one or more pending location information.
[0120] For example, the second target protection object may be a component or space to be protected selected by a user in the BIM. The number of the second target protection objects may be one or more.
[0121] In some possible implementations, determining one or more pending position sets of the lightning protection device in the building information model according to the second target protection object may be determined in the following manner, which is not limited in the present disclosure.
[0122] A pending position set that meets a preset condition is selected from a plurality of preset lightning protection position sets, for example, the lightning protection position set may be a plurality of positions that meet the lightning protection device installation condition. The preset condition may be that the height ratio of the lightning protection position set to the second target protection object is greater than or equal to a preset ratio threshold.
[0123] For example, a set of pending positions that may be formed by three pieces of pending position information (A, B, C) can be represented by Table 1.
[0124] Number of lightning protection devices Lightning protection device position combination 1 A; B; C 2 A+B; A+C; B+C 3 A+B+C
[0125] Table 1
[0126] In step S1022, the pending protection range of the corresponding lightning protection device is determined according to one or more pending position sets.
[0127] In some embodiments, the pending protection range corresponding to each pending position set can be determined by using the "broken line method" or "rolling ball method" according to the pending position set. The specific technical solutions for determining the pending protection range by the "broken line method" and "rolling ball method" can be found in the description of the relevant technology, and will not be elaborated in this disclosure.
[0128] In some possible implementations, after the corresponding pending protection range is determined according to the pending position set by using the “broken line method” or the “rolling ball method”, the pending protection range can be described by using a space plane equation.
[0129] In step S1023, when any pending protection range includes the second target protection object, one or more pending location information corresponding to the first target pending protection range is used as the target location information, and the first target pending protection range is used as the protection range.
[0130] Among them, the first target pending protection range includes the second target protection object and the corresponding amount of pending location information is the least.
[0131] For example, the first target pending protection range can be determined from multiple pending protection ranges based on the spatial coordinates of the second target protection object. The first target pending protection range may include one or more target position information. For example, the target position information may include pending position A and pending position B, indicating that the corresponding protection range after the lightning protection device needs to be installed at pending position A and pending position B is the first target pending protection range.
[0132] By adopting the above scheme, according to the second target protection object selected by the user, the target position information of the lightning protection device corresponding to the second target protection object is given in BIM, which further simplifies the difficulty of lightning protection design and improves the user experience of lightning protection design.
[0133] Figure 3 is a flow chart of another method for lightning protection design according to an exemplary embodiment. Figure 3 As shown, step S102 may further include the following steps:
[0134] In step S1023, when none of the pending protection ranges includes the second target protection object, the pending protection ratio of the second target protection object in each pending protection range is obtained.
[0135] For example, in the lightning protection design, when the pending protection ranges corresponding to the pending position sets do not include the second target protection object, it is characterized that the pending position sets need to be adjusted through manual intervention so that the adjusted target protection range includes the second target protection object. The pending protection ratio of the second target protection object in each pending protection range can be obtained.
[0136] For example, the object information of the second target protection object includes multiple undetermined spatial coordinates of multiple second target objects. For details, please refer to the relevant technology in the field of solid geometry, which will not be repeated here.
[0137] In some possible implementations, multiple target space coordinates can be determined based on multiple pending space coordinates and the space surface equation corresponding to each pending protection range, wherein the target space coordinate represents that the corresponding space coordinate satisfies the space surface equation. The number of target space coordinates and the number of pending space coordinates can be used as the pending protection ratio corresponding to the pending protection range.
[0138] In step S1024, one or more pending position information corresponding to the second target pending protection range with the largest pending protection ratio is used as the target position information, and the second target pending protection range is used as the protection range.
[0139] By adopting the above scheme, according to the second target protection object selected by the user, when the pending protection ranges corresponding to the pending position set do not include the second target protection object, the target position information with the largest pending protection ratio and the corresponding protection range are given to assist the user in making further adjustments and optimizations, simplify the difficulty of lightning protection design, and further improve the user experience of lightning protection design.
[0140] Figure 4 is a flow chart of another method for lightning protection design according to an exemplary embodiment. Figure 4 As shown, step S103 may include the following steps:
[0141] In step S1031, one or more third target protection objects in the target building are determined.
[0142] For example, the third target protection object can be a component in the BIM, or a space between components or around components, and the present disclosure does not limit this. The number of the third target protection objects can be one or more, and the first target protection object can include the third target protection object.
[0143] In step S1032, a first portion of the third target protection object within the protection range is rendered into a third preset format, and a second portion of the third target protection object outside the protection range is rendered into a fourth preset format.
[0144] For example, the object information of the third target protection object includes multiple pending spatial coordinates of the third target object. For example, if the third target protection object is a device in the BIM, the object information of the device includes multiple pending spatial coordinates of the device. The third target protection object can also be a spatial area to be protected (such as a hall in a building), and the area contains multiple pending spatial coordinates. The above-mentioned pending spatial coordinates can be spatial coordinates uniformly distributed inside the third target protection object. For details, please refer to the relevant technology in solid geometry, which will not be repeated here.
[0145] In some possible implementations, multiple target space coordinates can be determined based on multiple pending space coordinates and the space surface equation corresponding to the protection range in the lightning protection information, wherein the target space coordinate represents that the corresponding space coordinate satisfies the space surface equation.
[0146] When displaying lightning protection information through BIM, the first part of the third target protection object within the protection range (i.e., the part corresponding to the target space coordinates in the third target protection object) can be rendered into a third preset format, and the second part of the third target protection object outside the protection range (i.e., the part corresponding to the undetermined space coordinates outside the target space coordinates in the third target protection object) can be rendered into a fourth preset format. The third preset format can be a preset third color or a preset third rendering shading. The fourth preset format can be a preset fourth color or a preset fourth rendering shading, which is not limited in the present disclosure.
[0147] By adopting the above scheme, the first part of the third target protection object within the protection range corresponding to the lightning protection information and the second part outside the protection range can be intuitively displayed on BIM, further improving the user experience of lightning protection design.
[0148] Figure 5 is a flow chart of another method for lightning protection design according to an exemplary embodiment. Figure 5 As shown, the method may also include the following steps:
[0149] In step S104, a lightning protection adjustment parameter input by a user is received.
[0150] Among them, the lightning protection adjustment parameter can be used to characterize the increase or decrease in the number of lightning protection devices; it can also be used to characterize the adjustment of the position of any one or more lightning protection devices; it can also be used to characterize the adjustment of the position of any one or more lightning protection devices while increasing or decreasing the number of lightning protection devices.
[0151] The lightning protection adjustment parameter may be obtained in response to a lightning protection adjustment command of the user (ie, the user may directly input the lightning protection adjustment parameter through the lightning protection adjustment command).
[0152] In step S105, the target position information of the lightning protection device is adjusted according to the lightning protection adjustment parameter.
[0153] For example, the adjusted target position information may be obtained according to the lightning protection adjustment parameters.
[0154] In step S106, the lightning protection information of the first target protection object is updated according to the adjusted target position information, and the updated lightning protection information is displayed through the building information model.
[0155] For example, the steps of updating the lightning protection information of the first target protection object according to the adjusted target position information and displaying the updated lightning protection information through the building information model have been similarly described in step S102 and step S103, which will not be elaborated here.
[0156] By adopting the above scheme, the target position information of the lightning protection device is adjusted in response to the user's lightning protection adjustment parameters, the lightning protection information of the first target protection object is updated, and the updated lightning protection information is displayed through the building information model, thereby further simplifying the steps of adjusting the target position information of the lightning protection device and improving the user experience of lightning protection design.
[0157] In another embodiment, after the lightning protection information is displayed through the building information model, when the building information model of the target building is changed, the lightning protection information is displayed through the updated building information model.
[0158] For example, one or more target components may be added or reduced on the building information model, or the position of one or more target components may be changed. Then, according to the protection range of the lightning protection device and the multiple target space coordinates of the target components included in the lightning protection information, the lightning protection information is displayed through the updated building information model. The specific display method can be referred to the description in step S103, which will not be repeated here.
[0159] By adopting the above scheme, when the building information model changes, the lightning protection information can be displayed through the updated building information model, which further simplifies the steps of adjusting the target position information of the lightning protection device and improves the user experience of lightning protection design.
[0160] Figure 6 is a block diagram of a lightning protection device 600 according to an exemplary embodiment. Figure 6 As shown, the lightning protection device 600 includes:
[0161] An acquisition module 601 is configured to acquire a building information model and lightning protection planning parameters of a target building, wherein the building information model includes three-dimensional model information of one or more first target protection objects in the target building;
[0162] The determination module 602 is configured to obtain target position information of the lightning protection device in the building information model according to the lightning protection planning parameters, and determine the lightning protection information of the first target protection object according to the target position information;
[0163] The display module 603 is configured to display the lightning protection information through the building information model.
[0164] Optionally, the lightning protection planning parameters include preset position information of the lightning protection device, and the determination module 602 is further configured to:
[0165] Determine target position information of the lightning protection device in the building information model according to the preset position information;
[0166] Determine the protection range of the lightning protection device based on the target location information;
[0167] Determine the lightning protection information according to the protection range.
[0168] Optionally, the lightning protection planning parameter includes one or more second target protection objects in the target building, the first target protection object includes the second target protection object, and the determination module 602 is further configured to:
[0169] Determine one or more pending position sets of the lightning protection device in the building information model according to the second target protection object, where the pending position set includes one or more pending position information;
[0170] Determine the pending protection range of the corresponding lightning protection device according to one or more pending position sets;
[0171] In the case that any pending protection range includes the second target protection object, one or more pending location information corresponding to the first target pending protection range is used as the target location information, and the first target pending protection range is used as the protection range. The first target pending protection range includes the second target protection object and the corresponding number of pending location information is the least.
[0172] Optionally, the determination module 602 is further configured to:
[0173] When the pending protection scopes do not include the second target protection object, obtain the pending protection ratio of the second target protection object in each pending protection scope;
[0174] One or more pending position information corresponding to the second target pending protection range with the largest pending protection ratio is used as the target position information, and the second target pending protection range is used as the protection range.
[0175] Optionally, the lightning protection information includes a protection range of the lightning protection device, and the display module 603 is configured to:
[0176] determining one or more third target protection objects in the building information model;
[0177] The lightning protection ratio is calculated based on the object information of the third target protection object and the protection range of the lightning protection device; the lightning protection ratio is used to characterize the ratio of the third target protection object within the protection range of the lightning protection device;
[0178] When the lightning protection ratio is greater than or equal to the preset ratio threshold, the display format of the third target protection object is set to the first preset format; or
[0179] When the lightning protection ratio is less than the preset ratio threshold, the display format of the third target protection object is set to the second preset format.
[0180] Optionally, the display module 603 is further configured to:
[0181] Identify one or more third target protection objects in the target building;
[0182] A first portion of the third target protection object within the protection range is rendered into a third preset format, and a second portion of the third target protection object outside the protection range is rendered into a fourth preset format.
[0183] Figure 7 is a block diagram of another lightning protection device 600 according to an exemplary embodiment. Figure 7 As shown, the lightning protection design device 600 also includes an adjustment module 604, which is configured to:
[0184] Receive lightning protection adjustment parameters input by the user;
[0185] Adjust target position information of the lightning protection device according to the lightning protection adjustment parameters;
[0186] The lightning protection information of the first target protection object is updated according to the adjusted target position information, and the updated lightning protection information is displayed through the building information model.
[0187] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0188] By adopting the above scheme, lightning protection is designed through lightning protection planning parameters, and the lightning protection information is displayed on the building information model. The operation is simple, the display effect is intuitive and clear, and the user experience of lightning protection design is improved.
[0189] Figure 8 FIG. 1 is a block diagram of an electronic device according to an exemplary embodiment. Figure 8 As shown, the electronic device 800 may include: a processor 801 and a memory 802. The electronic device 800 may also include one or more of a multimedia component 803, an input / output (I / O) interface 804, and a communication component 805.
[0190] The processor 801 is used to control the overall operation of the electronic device 800 to complete all or part of the steps in the above-mentioned lightning protection design method. The memory 802 is used to store various types of data to support the operation of the electronic device 800. For example, these data may include instructions for any application or method used to operate on the electronic device 800, and application-related data, such as contact data, sent and received messages, pictures, audio, video, etc. The memory 802 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, magnetic disk or optical disk. The multimedia component 803 may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in the memory 802 or sent through the communication component 805. The audio component also includes at least one speaker for outputting audio signals. The input / output (I / O) 804 provides an interface between the processor 801 and other interface modules, and the other interface modules may be keyboards, mice, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 805 is used for wired or wireless communication between the electronic device 800 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, is not limited here. Therefore, the corresponding communication component 805 may include: Wi-Fi module, Bluetooth module, NFC module, etc.
[0191] In another exemplary embodiment, a non-transitory computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned lightning protection design method are implemented. For example, the computer-readable storage medium can be the above-mentioned memory 802 including program instructions, and the above-mentioned program instructions can be executed by the processor 801 of the electronic device 800 to complete the above-mentioned lightning protection design method.
[0192] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0193] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for lightning protection design, characterized in that: The method comprises: Acquire a building information model and lightning protection planning parameters of a target building, wherein the building information model includes three-dimensional model information of one or more first target protection objects in the target building; Acquire target position information of the lightning protection device in the building information model according to the lightning protection planning parameters, and determine lightning protection information of the first target protection object according to the target position information; Displaying the lightning protection information through the building information model; The lightning protection planning parameters include one or more second target protection objects in the target building, the first target protection object includes the second target protection object, and obtaining target position information of the lightning protection device in the building information model according to the lightning protection planning parameters, and determining the lightning protection information of the first target protection object according to the target position information includes: Determine one or more pending position sets of the lightning protection device in the building information model according to the second target protection object, wherein the pending position set includes one or more pending position information; Determine the pending protection range of the corresponding lightning protection device according to the one or more pending position sets; In the case that any pending protection range includes the second target protection object, one or more of the pending location information corresponding to the first target pending protection range is used as the target location information, and the first target pending protection range is used as the protection range. The first target pending protection range includes the second target protection object and the number of corresponding pending location information is the least.
2. The method according to claim 1, characterized in that The lightning protection planning parameters include preset position information of the lightning protection device, and obtaining target position information of the lightning protection device in the building information model according to the lightning protection planning parameters, and determining the lightning protection information of the first target protection object according to the target position information includes: Determining target position information of the lightning protection device in the building information model according to the preset position information; Determining a protection range of the lightning protection device according to the target location information; The lightning protection information is determined according to the protection range.
3. The method according to claim 1, characterized in that: The method further comprises: In the case that none of the pending protection areas include the second target protection object, obtaining the pending protection ratio of the second target protection object in each of the pending protection areas; One or more of the pending position information corresponding to the second target pending protection range with the largest pending protection ratio is used as the target position information, and the second target pending protection range is used as the protection range.
4. The method according to claim 1, characterized in that The lightning protection information includes the protection range of the lightning protection device, and the displaying of the lightning protection information by the building information model includes: determining one or more third target protection objects in the building information model; A lightning protection ratio is calculated according to the object information of the third target protection object and the protection range of the lightning protection device; the lightning protection ratio is used to characterize the ratio of the third target protection object within the protection range of the lightning protection device; When the lightning protection ratio is greater than or equal to a preset ratio threshold, the display format of the third target protection object is set to a first preset format; or When the lightning protection ratio is less than a preset ratio threshold, the display format of the third target protection object is set to a second preset format.
5. The method according to claim 1, characterized in that The lightning protection information includes the protection range of the lightning protection device, and the displaying of the lightning protection information by the building information model includes: Determining one or more third target protection objects in the target building; A first portion of the third target protection object within the protection range is rendered into a third preset format, and a second portion of the third target protection object outside the protection range is rendered into a fourth preset format.
6. The method according to any one of claims 1 to 5, characterized in that After displaying the lightning protection information through the building information model, the method further includes: Receive lightning protection adjustment parameters input by the user; adjusting the target position information of the lightning protection device according to the lightning protection adjustment parameter; The lightning protection information of the first target protection object is updated according to the adjusted target position information, and the updated lightning protection information is displayed through the building information model.
7. A lightning protection device, characterized in that: The device comprises: An acquisition module is configured to acquire a building information model and lightning protection planning parameters of a target building, wherein the building information model includes three-dimensional model information of one or more first target protection objects in the target building; a determination module configured to obtain target position information of a lightning protection device in the building information model according to the lightning protection planning parameters, and determine lightning protection information of the first target protection object according to the target position information; A display module, configured to display the lightning protection information through the building information model; The lightning protection planning parameters include one or more second target protection objects in the target building, the first target protection object includes the second target protection object, and the determination module is further configured to determine one or more pending position sets of the lightning protection device in the building information model according to the second target protection object, and the pending position set includes one or more pending position information; determine the corresponding pending protection range of the lightning protection device according to the one or more pending position sets; in the case that any pending protection range includes the second target protection object, use one or more pending position information corresponding to the first target pending protection range as the target position information, and use the first target pending protection range as the protection range, the first target pending protection range includes the second target protection object and the number of corresponding pending position information is the least.
8. An electronic device, characterized in that: include: a memory having a computer program stored thereon; A processor, configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Lightning protection range simulation method, device and equipment and storage medium
CN112685871A