Dynamic electronic fence construction method and system based on construction progress
By obtaining construction progress and on-site data to calculate fence adjustment values and using the normal vector algorithm to adjust the electronic fence boundary points, the problem of traditional static fences at construction sites being unable to adapt to each other is solved, and real-time safety management and risk reduction of the construction site are achieved.
Patent Information
- Application Number
- CN202511032578.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-25
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2045-07-25
AI Technical Summary
The fixed static electronic fences at traditional construction sites cannot be adjusted in real time according to changes in construction progress, resulting in insufficient accuracy and real-time performance of safety management, making it difficult to meet the needs of changing construction status.
By obtaining construction progress data and on-site construction data, calculating the fence adjustment value, and using the normal vector boundary point displacement algorithm to dynamically adjust the boundary point coordinates of the electronic fence, real-time, automatic, and precise adaptive adjustment of the electronic fence is achieved.
It realizes the dynamic adjustment of the scope of the electronic fence area, improves the accuracy and real-time performance of safety management at the construction site, and reduces the risk of safety accidents.
Smart Images

Figure CN120583374B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of construction safety, and in particular to a method and system for constructing a dynamic electronic fence based on construction progress. Background Art
[0002] During construction projects like building and mining, construction site safety management is crucial. Traditionally, after the construction area is determined, boundary points are pre-marked on a map. These boundary points are then sequentially connected to create an electronic fence, and the fence's boundaries are determined using the coordinate sequence of the boundary points. However, in traditional approaches, the electronic fence area manually constructed by selecting points on a map is typically static, and its boundaries remain unchanged after the fence is created. Therefore, these traditional fixed static electronic fences cannot provide sufficient accuracy and real-time performance to adapt to changes in construction progress, making it difficult to meet the needs of real-time safety protection and efficient management as construction status changes. Summary of the Invention
[0003] Based on this, the purpose of the present invention is to overcome the defects or shortcomings of the existing technology and provide a dynamic electronic fence construction method and system based on construction progress, which can dynamically and adaptively adjust the area range of the electronic fence in real time, automatically and accurately according to changes in construction progress data, thereby minimizing the risk of safety accidents.
[0004] In one embodiment, the present invention provides a method for constructing a dynamic electronic fence based on construction progress, comprising:
[0005] S10, determining a construction area and a corresponding initial electronic fence, and establishing a mapping relationship table between the construction area and the initial electronic fence;
[0006] S20, obtaining construction progress data within the initial electronic fence boundary, and determining a fence adjustment value based on the construction progress data;
[0007] S30, calculating the coordinates of the boundary points of the updated electronic fence according to the fence adjustment value, and constructing the updated electronic fence based on the coordinates of the boundary points of the updated electronic fence;
[0008] S40: Using the updated electronic fence as the initial electronic fence, and saving the boundary point coordinates of the updated electronic fence as the boundary point coordinates of the initial electronic fence.
[0009] Furthermore, step S10 includes:
[0010] S101, determining a construction area, and generating an initial electronic fence corresponding to the construction area based on coordinate information of a plurality of determined boundary points; wherein the coordinate information of each boundary point constitutes a boundary range of the initial electronic fence;
[0011] S102, determining the planned construction progress data corresponding to the initial electronic fence; wherein the planned construction progress data includes the planned construction progress name, the planned construction progress task, and the time range corresponding to the planned construction;
[0012] S103, binding the generated initial electronic fence with the construction area and the planned construction progress data to obtain a mapping relationship table between the construction area and the initial electronic fence; wherein the mapping relationship table includes the number of the initial electronic fence, the number of the construction area, and the corresponding name of the planned construction progress.
[0013] Furthermore, step S20 includes:
[0014] S201, obtaining actual construction progress data within the initial electronic fence, and calculating a progress deviation component between the planned construction progress data and the actual construction progress data;
[0015] S202, determining a construction change type based on the construction site data collected in real time, and determining an actual construction change impact component based on the construction change type;
[0016] S203: Calculate the fence adjustment value based on the progress deviation component and the actual construction change impact component. The calculation formula is as follows:
[0017]
[0018] in, Adjust the value for the fence, is the fence deformation coefficient, is the progress deviation coefficient, is the progress deviation component, is the site change coefficient, It is the impact of actual construction changes.
[0019] Furthermore, step S201 includes:
[0020] S2011, obtaining planned construction progress data and actual construction progress data reported by on-site construction personnel;
[0021] S2012: Calculate the progress deviation component based on the planned construction progress data and the actual construction progress data. The calculation formula is as follows:
[0022]
[0023] in, is the progress deviation component, The actual construction progress data, The data for planned construction progress.
[0024] Furthermore, step S202 includes:
[0025] S2021: Analyze and process the construction site data collected in real time, and determine the corresponding construction change type based on the processed construction site data;
[0026] S2022A, obtaining an initial weight coefficient and a weight adjustment rule for the construction change type, and calculating a corresponding dynamic weight coefficient based on the initial weight coefficient and the weight adjustment rule for the construction change type;
[0027] S2022B, determining a corresponding impact radius according to the construction change type;
[0028] S2023: Calculate and determine the actual construction change impact component of the current construction area based on the dynamic weight coefficient and impact radius corresponding to the construction change type. The calculation formula is as follows:
[0029]
[0030] in, is the impact of actual construction changes, is the dynamic weight coefficient corresponding to the construction change type, is the impact radius corresponding to the construction change type, is the perimeter of the initial geo-fence.
[0031] Furthermore, before step S2023, the method further includes:
[0032] S2023', calculate the change impact score of each construction change type, and determine the construction change type with a change impact score greater than a preset threshold as a valid construction change type; the calculation formula is as follows:
[0033]
[0034] in, is the change impact score corresponding to each construction change type, is the dynamic weight coefficient corresponding to each construction change type, The impact radius corresponding to each construction change type;
[0035] At this time, S2023 is to calculate and determine the actual construction change impact component of the current construction area based on the dynamic weight coefficient and impact radius corresponding to each valid construction change type.
[0036] Furthermore, in step S30, the boundary point coordinates of the updated electronic fence are calculated using a boundary point displacement algorithm based on a normal vector; the calculation formula is as follows:
[0037]
[0038] in, After the update The coordinates of the boundary points, The first The coordinates of the boundary points, Adjust the value for the fence, is the normalized mean normal vector.
[0039] In one embodiment, the present invention further provides a dynamic electronic fence construction system based on construction progress, comprising:
[0040] A determination module is used to determine the mapping relationship between the construction phase and the initial electronic fence;
[0041] a calculation module, configured to obtain construction progress data within the initial electronic fence boundary and determine a fence adjustment value based on the construction progress data;
[0042] A construction module, configured to calculate the coordinates of the boundary points of the updated electronic fence according to the fence adjustment value, and construct the updated electronic fence based on the coordinates of the boundary points of the updated electronic fence;
[0043] The updating module is used to use the updated electronic fence as the initial electronic fence and save the boundary point coordinates of the updated electronic fence as the boundary point coordinates of the initial electronic fence.
[0044] In one embodiment, the present invention further provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor executes the steps of any one of the above methods.
[0045] In one embodiment, the present invention further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the steps of any one of the above methods.
[0046] Compared with the existing technology, the present invention provides a dynamic electronic fence construction method and system based on construction progress. It combines the progress offset of construction progress data and the changes in on-site construction data to realize real-time, automatic and accurate dynamic adaptive adjustment of the area range of the initial electronic fence, so that the electronic fence can be dynamically adjusted according to the construction progress and on-site construction data, solving the problem in the existing technology that the distribution of on-site construction personnel and their risk supervision cannot be controlled in real time due to the inability of fixed electronic fences to adapt to adjustments, thereby minimizing the risk of safety accidents.
[0047] For better understanding and implementation, the present invention is described in detail below with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. 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 paying any creative work.
[0049] in,
[0050] Figure 1 is a flowchart of a method for constructing a dynamic electronic fence based on construction progress in one embodiment;
[0051] Figure 2 This is a partial flow chart of a method for constructing a dynamic electronic fence based on construction progress in one embodiment;
[0052] Figure 3 This is a partial flow chart of a method for constructing a dynamic electronic fence based on construction progress in one embodiment;
[0053] Figure 4 A schematic diagram of the boundary of an initial electronic fence in one embodiment;
[0054] Figure 5 A schematic diagram of updating the boundary of an electronic fence in one embodiment;
[0055] Figure 6 A structural block diagram of a dynamic electronic fence construction system based on construction progress in one embodiment;
[0056] Figure 7 FIG. 1 is a structural block diagram of a computer device in one embodiment. DETAILED DESCRIPTION
[0057] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0058] The terms "include," "comprising," and "having," and any variations thereof, in the specification and claims of the present invention and the accompanying drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to the process, method, product, or apparatus. In the claims, specification, and accompanying drawings of the present invention, relational terms such as "first" and "second" are used solely to distinguish one entity / operation / object from another, and do not necessarily require or imply any actual relationship or order between these entities / operations / objects.
[0059] Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present invention. The appearance of the phrase at various locations in the specification does not necessarily refer to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0060] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0061] The solution of the present invention is described in detail below with reference to the accompanying drawings.
[0062] In one embodiment, if Figure 1-3 As shown, the present invention provides a method for constructing a dynamic electronic fence based on construction progress, comprising:
[0063] S10, determining a construction area and a corresponding initial electronic fence, and establishing a mapping relationship table between the construction area and the initial electronic fence;
[0064] Specifically, step S10 includes:
[0065] S101, determining a construction area, and generating an initial electronic fence corresponding to the construction area based on coordinate information of a plurality of determined boundary points; wherein the coordinate information of each boundary point constitutes a boundary range of the initial electronic fence;
[0066] Specifically, the present invention can be implemented via an app system installed on a terminal device, which integrates GIS mapping software. The construction manager determines the construction area, logs into the app, and selects and draws multiple boundary points connecting the corresponding boundaries of the construction area on the mapping software. The server then generates an initial electronic fence corresponding to the construction area based on the multiple boundary points selected by the construction manager on the GIS mapping software and the coordinate information of each boundary point. The coordinate information of each boundary point constitutes the boundary range of the initial electronic fence. It is understood that the coordinate information is longitude and latitude coordinate information, and the generated initial electronic fence can be a regular shape such as a rectangle, square, or circle, or any irregular shape such as a polygon.
[0067] S102, determining the planned construction progress data corresponding to the initial electronic fence; wherein the planned construction progress data includes the planned construction progress name, the planned construction progress task, and the time range corresponding to the planned construction;
[0068] Specifically, after determining the construction area, the planned construction progress data corresponding to the current construction area is determined and saved. It can be understood that the planned construction progress data is the planned progress data for completing the construction tasks in the current construction area, including the planned construction progress name, planned construction progress tasks, and the time range corresponding to the planned construction, etc. For example,
[0069] Determine the planned construction progress for the current construction area Name: Installation of reinforcement for the transverse wind-resistant bearings of the main tower;
[0070] The time range corresponding to the planned construction is: 20250310-20250315;
[0071] Planned construction progress tasks: On the first day, steel bars were delivered to the site, and the completion percentage was 20%;
[0072] On the second day, the support pads were cleaned, and the support center lines and reinforcement edges were marked. The completion percentage was 40%;
[0073] On the third day, the embedded parts of the bearings were positioned, and the completion rate was 60%;
[0074] On the 4th day, steel bar binding, the progress completion percentage was 80%;
[0075] On the 5th day, the earthquake-resistant structure and protective layer were set up, and the progress completion percentage was 100%;
[0076] The specific planned construction progress data and the specific data types included are not limited and can be set according to actual conditions. Different planned construction progress data can be set for different construction projects and construction stages.
[0077] S103, binding the generated initial electronic fence with the construction area and the planned construction progress data to obtain a mapping relationship table between the construction area and the initial electronic fence; wherein the mapping relationship table includes the number of the initial electronic fence, the number of the construction area, and the corresponding name of the planned construction progress.
[0078] Specifically, after determining the initial geo-fence corresponding to the construction area and the planned construction progress data, a mapping table between the construction area and the initial geo-fence is created and saved. For example, the mapping table = [F001, Z302, 'Main Tower Transverse Wind Resistance Support Rebar Installation'], where F001 is the initial geo-fence number, Z302 is the corresponding construction area number, and 'Main Tower Transverse Wind Resistance Support Rebar Installation' is the name of the planned construction progress.
[0079] S20, obtaining construction progress data within the initial electronic fence boundary, and determining a fence adjustment value based on the construction progress data;
[0080] Specifically, in one embodiment, step S20 includes:
[0081] S201, obtaining actual construction progress data within the initial electronic fence, and calculating a progress deviation component between the planned construction progress data and the actual construction progress data;
[0082] Specifically, step S201 includes:
[0083] S2011, obtaining planned construction progress data and actual construction progress data reported by on-site construction personnel;
[0084] Specifically, in step S2011, the planned construction progress data of the current construction area is obtained based on the planned construction progress data corresponding to the initial electronic fence determined above; the on-site progress data reported by the on-site construction personnel based on the terminal APP is used as the actual construction progress data, and the server obtains the on-site progress data reported by the on-site construction personnel as the actual construction progress data within the current initial electronic fence; it can be understood that its actual construction progress data is consistent with the type of the planned construction progress data of the current initial electronic fence determined above.
[0085] S2012: Calculate the progress deviation component based on the planned construction progress data and the actual construction progress data. The calculation formula is as follows:
[0086]
[0087] in, is the progress deviation component, The actual construction progress data, The data for planned construction progress.
[0088] Specifically, after outputting the current actual construction progress data, the corresponding progress deviation component can be calculated based on the actual construction progress data and the planned construction progress data; the progress deviation component is used to characterize the offset of the construction progress between the actual construction progress data and the planned construction progress data.
[0089] Taking the above example, the planned construction progress data for the current construction area is: on the 3rd day, the support embedded parts are positioned, and the progress completion percentage is 60%; while the actual construction progress data is: on the 3rd day, the support pad stones are cleaned, the support center lines and steel bar edges are placed, and the progress completion percentage is 40%. The corresponding progress deviation component can be calculated as:
[0090]
[0091] Understandably, when the schedule is ahead of schedule, the schedule deviation component Greater than 0; when the progress is lagging behind, the progress deviation component Less than 0.
[0092] S202, determining a construction change type based on the construction site data collected in real time, and determining an actual construction change impact component based on the construction change type;
[0093] Specifically, multiple high-definition cameras, sensors, and other detection components are installed at key locations within the construction area to collect real-time image and sensor data within the construction area. Simultaneously, the construction workers' location information can be located in real time through their terminal apps. Alternatively, several UWB positioning base stations can be deployed at the construction site, evenly distributed around the site. Construction workers can wear UWB positioning beacons on their helmets and work clothes. Alternatively, UWB positioning signals can be installed on machinery and construction materials to accurately locate construction workers, machinery, and materials in the event of weak or no terminal GPS signal. Alternatively, ultra-high frequency RFID technology can be deployed to read the incoming material flow in real time to determine material status data. Therefore, it can be understood that construction site data includes any one or more of the various data collected by multiple sensors at the construction site, such as on-site image data, construction worker location data collected by GPS, equipment and material location data collected by UWB, and material status data and equipment operating status data collected by RFID.
[0094] Specifically, in one embodiment, step S202 includes:
[0095] S2021: Analyze and process the construction site data collected in real time, and determine the corresponding construction change type based on the processed construction site data;
[0096] Preferably, after the construction site data is collected and acquired, the construction site data can be analyzed and processed to obtain the processed construction site data. For example, the construction site data can be filtered to improve data accuracy, and the image data can be grayed, filtered, and subjected to noise reduction and image enhancement techniques to improve image accuracy. The above-mentioned graying, filtering, and noise reduction, and image enhancement techniques can be implemented using existing technologies and will not be described in detail here. Optionally, the types of construction changes include equipment arrival, changes in material stacking location, changes in equipment working status, and weather factors. The specific type of construction change can be determined based on the actual construction situation.
[0097] The server continuously collects image data, signal data, etc. of the construction site in real time as construction site data through cameras, positioning base stations, and RFID installed at the construction site. Different construction site data corresponds to different types of construction changes. For example, when a change in the material stacking position is detected through UWB beacon displacement or image recognition technology, the corresponding construction change type is "material stacking position change"; when equipment is read into the site through RFID, the corresponding construction change type is "equipment entering the site"; when the sensor detects a change in the material quantity or the equipment's working status, the corresponding construction change type is "equipment working status change"; when bad weather is detected, the corresponding construction change type is "weather factors".
[0098] S2022A, obtaining an initial weight coefficient and a weight adjustment rule for the construction change type, and calculating a corresponding dynamic weight coefficient based on the initial weight coefficient and the weight adjustment rule for the construction change type;
[0099] Specifically, the initial weight coefficient corresponding to each construction change type represents the severity of the event occurring in each construction change type. Therefore, construction personnel predetermine the initial weight coefficient corresponding to each construction change type based on historical experience and data. The server pre-stores a weight coefficient table corresponding to each construction change type and the corresponding weight adjustment rules. After determining the construction change type, the corresponding initial weight coefficient and the corresponding weight adjustment rules are obtained from the weight coefficient table, and the dynamic weight coefficient corresponding to the construction change type is calculated based on the initial weight coefficient and the weight adjustment rules. Optionally, the initial weight coefficient table is shown in Table 1 below:
[0100]
[0101] Table 1 Initial weight coefficient table
[0102] Understandably, if the construction change type does not meet the corresponding weight adjustment rules, the dynamic weight coefficient will remain the same as the initial weight coefficient. The weight adjustment rules can be dynamically adjusted based on actual conditions. For example, based on the actual effect of subsequent fence adjustments, the corresponding weight adjustment rules can be updated at a preset periodic interval.
[0103] S2022B, determining a corresponding impact radius according to the construction change type;
[0104] Specifically, different construction change types correspond to different impact radius calculation methods. It can be understood that the impact radius is the impact distance of the fence adjustment corresponding to the current construction change type. Usually, the server also pre-stores the impact radius calculation method corresponding to each construction change type. After determining the construction change type, the corresponding impact radius is further calculated based on the parameters of the different construction change types. For example, when the construction change type is "equipment entry", the impact radius calculation formula is as follows:
[0105]
[0106] in, is the influence radius, is the length of the device, The safety distance of the device is 5m by default.
[0107] When the construction change type is "material stacking change", the calculation formula for its impact radius is as follows:
[0108]
[0109] in, is the influence radius, is the change in material stacking area;
[0110] When the construction change type is "equipment working status change", the corresponding impact radius is determined by adding a preset distance based on the equipment construction in the associated BIM model. Preferably, the preset distance can be 3m; when the construction change type is "weather factor", the corresponding precipitation coverage radius is obtained from the meteorological API as the corresponding impact radius.
[0111] S2023: Calculate and determine the actual construction change impact component of the current construction area based on the dynamic weight coefficient and impact radius corresponding to the construction change type. The calculation formula is as follows:
[0112]
[0113] in, is the impact of actual construction changes, is the dynamic weight coefficient corresponding to the construction change type, is the impact radius corresponding to the construction change type, is the perimeter of the initial electronic fence;
[0114] It is understandable that after determining the dynamic weight coefficient and impact radius corresponding to each construction change type, the degree of change impact per unit fence length can be determined using the dynamic weight coefficient and impact radius corresponding to each construction change type as the actual construction change impact component. For example, an embodiment is as follows:
[0115] Scenario: Bridge construction;
[0116] Corresponding initial electronic fence length =120
[0117] Construction change type: 1. 08:00 concrete pump truck enters the site ( =0.6, =8)
[0118] 2. 10:30 Steel bar storage area expanded by 50m ( =0.4, )
[0119] 3. 14:00 Temporary shed construction ( =0.3, =5)
[0120] but
[0121] Furthermore, in one embodiment, before step S2023, the following steps are further included:
[0122] S2023', calculate the change impact score of each construction change type, and determine the construction change type with a change impact score greater than a preset threshold as a valid construction change type; the calculation formula is as follows:
[0123]
[0124] in, is the change impact score corresponding to each construction change type, is the dynamic weight coefficient corresponding to each construction change type, The impact radius corresponding to each construction change type;
[0125] At this time, S2023 is to calculate and determine the actual construction change impact component of the current construction area based on the dynamic weight coefficient and impact radius corresponding to each valid construction change type.
[0126] Understandably, when collecting on-site construction data using on-site sensors, falsely triggered sensor noise may sometimes be collected. Therefore, after determining each construction change type, falsely triggered sensor noise needs to be filtered out. By calculating the change impact score corresponding to each construction change type, we determine whether the corresponding construction change type is sensor noise. When the change impact score is greater than a preset threshold, it indicates that the sensor noise is falsely triggered and is filtered out. Preferably, the preset threshold can be 2.5.
[0127] S203: Calculate the fence adjustment value based on the progress deviation component and the actual construction change impact component. The calculation formula is as follows:
[0128]
[0129] in, Adjust the value for the fence, is the fence deformation coefficient, is the progress deviation coefficient, is the progress deviation component, is the site change coefficient, It is the impact of actual construction changes.
[0130] Understandably, the fence deformation coefficient It reflects the ability of the fence boundary to resist construction disturbances in different construction areas. Different fence deformation coefficients are set for different construction zones. For example, a typical scenario is the material stacking area of the steel bar processing yard and the template stacking area, which allows large deformation due to the frequent movement of materials. The K value range can be [0.7-0.9], preferably 0.8; a typical scenario is the core operation area of the concrete pouring surface and steel structure hoisting, which has high precision requirements and needs to maintain a stable shape. The K value range can be [0.2-0.4], preferably 0.3; a typical scenario is the passage area of the construction access road and the tower crane coverage area, which needs to adapt to moderate deformation of the mechanical path. The K value range can be [0.5-0.6], preferably 0.5. Progress deviation coefficient It reflects the impact of the progress deviation component on the deformation of the electronic fence. The larger the value, the more the electronic fence complies with the planned construction schedule; site change coefficient It reflects the impact of actual construction change on the deformation of the electronic fence. The larger the value, the more likely the electronic fence is to be deformed due to unexpected situations.
[0131] Specifically, the schedule deviation coefficient It can be determined by training the historical data corresponding to the construction area. Optionally, the progress deviation coefficient It can also be determined based on the historical experience of construction personnel and used in determining the progress deviation coefficient. After that, it is saved in the aforementioned mapping relationship table. When determining the initial electronic fence number, the server can obtain the corresponding progress deviation coefficient according to the initial electronic fence number. .
[0132] On-site change coefficient It can be determined based on the initial weight coefficient corresponding to each currently determined construction change type and the number of construction change types. The calculation formula is as follows:
[0133]
[0134] in, is the site change coefficient, For the The initial weight coefficient corresponding to each construction change type; The quantity corresponding to the construction change type.
[0135] For example, taking the construction project of a bridge foundation pit as an example, the initial electronic fence has a perimeter of 120m; the construction zone is the core operation area, K=0.3; the progress is 12% ahead of schedule, which is the progress deviation component. =0.12, progress deviation coefficient =0.8; Actual construction change component corresponding to the construction type =0.4, on-site change coefficient =2; then
[0136]
[0137] S30, calculating the coordinates of the boundary points of the updated electronic fence according to the fence adjustment value, and constructing the updated electronic fence based on the coordinates of the boundary points of the updated electronic fence;
[0138] Specifically, according to the fence adjustment value, the boundary point displacement algorithm based on the normal vector is used to calculate the updated boundary point coordinates of the electronic fence, and the boundary point coordinates corresponding to the corresponding electronic fence are updated and saved as the boundary point coordinates corresponding to the initial electronic fence. It can be understood that the boundary point displacement algorithm based on the normal vector is to move each boundary point of the initial electronic fence along the direction of its average normal vector. Distance. The calculation formula is as follows:
[0139]
[0140] in, After the update The coordinates of the boundary points, The first The coordinates of the boundary points, Adjust the value for the fence, is the normalized mean normal vector.
[0141] Specifically, the normal vector is a vector perpendicular to the boundary curve, pointing to the outside or inside of the boundary. Therefore, the normal vector displacement method can be used to adjust the displacement of each boundary point of the electronic fence along the direction of its normal vector to achieve the boundary adjustment of the electronic fence. Determined as follows:
[0142] (1) Obtaining the coordinates of all boundary points of the current initial electronic fence to form a coordinate sequence;
[0143] For example, the coordinate sequence formed by the coordinates of all boundary points , forming a discrete point set .
[0144] (2) Calculate each boundary point The normal vector of
[0145] For vertices , can be determined by the tangent vector of the adjacent point. Calculate the previous adjacent boundary point arrive The vector V1 and To the next adjacent boundary point The vector V2 of the two is then calculated. a =(V 1+ V2) / 2, the current boundary point is obtained by rotating the boundary point arrangement 90 degrees clockwise or counterclockwise The normal vector n is . The specific boundary points are arranged in clockwise and counterclockwise directions according to the actual situation.
[0146] (3) According to each boundary point The normal vector of the normal vector determines the normalized average normal vector , ensuring that the normal vectors of all boundary points are unified.
[0147] After determining the fence adjustment value and the normalized average normal vector of all boundary points After that, the coordinates of each new boundary point are calculated according to the above formula. It can be understood that when the electronic fence is extended, is a positive value; when the electronic fence shrinks, is a negative value.
[0148] S40: Using the updated electronic fence as the initial electronic fence, and saving the boundary point coordinates of the updated electronic fence as the boundary point coordinates of the initial electronic fence.
[0149] like Figure 4 As shown in , a schematic diagram of the boundary of the initial electronic fence is given; Figure 5As shown, a schematic diagram of the boundary of an updated electronic fence obtained based on the construction progress-based dynamic electronic fence construction method provided by an embodiment of the present invention is given.
[0150] The dynamic electronic fence construction method and system based on construction progress provided in this embodiment, combined with the progress offset of construction progress data and changes in on-site construction data, can realize real-time, automatic, and accurate dynamic adaptive adjustment of the area range of the initial electronic fence, so that the electronic fence can be dynamically adjusted according to the construction progress and on-site construction data, solving the problem of fixed electronic fences in the existing technology that cannot be adaptively adjusted, thereby minimizing the risk of safety accidents.
[0151] In one embodiment, if Figure 6 As shown, the present invention also provides a dynamic electronic fence construction system based on construction progress, including:
[0152] A determination module is used to determine the mapping relationship between the construction phase and the initial electronic fence;
[0153] a calculation module, configured to obtain construction progress data within the initial electronic fence boundary and determine a fence adjustment value based on the construction progress data;
[0154] A construction module, configured to calculate the coordinates of the boundary points of the updated electronic fence according to the fence adjustment value, and construct the updated electronic fence based on the coordinates of the boundary points of the updated electronic fence;
[0155] The updating module is used to use the updated electronic fence as the initial electronic fence and save the boundary point coordinates of the updated electronic fence as the boundary point coordinates of the initial electronic fence.
[0156] In one embodiment, the present invention further provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor executes the steps of any one of the above methods.
[0157] In one embodiment, Figure 7 As shown, the present invention also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the above method steps.
[0158] Those skilled in the art will appreciate that all or part of the processes in the above-described embodiments can be implemented by instructing the relevant hardware through a computer program. The program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-described methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0159] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0160] The above-described embodiments merely illustrate several implementations of the present invention, and while their descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art would be able to make numerous variations and improvements without departing from the spirit of the present invention, all of which fall within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be determined by the appended claims.
Claims
1. A method for constructing a dynamic electronic fence based on construction progress, characterized in that: include: S10, determining a construction area and a corresponding initial electronic fence, and establishing a mapping relationship table between the construction area and the initial electronic fence; wherein the initial electronic fence includes corresponding planned construction progress data; S20, obtaining construction progress data within the initial electronic fence boundary, and determining a fence adjustment value based on the construction progress data; S30, calculating the coordinates of the boundary points of the updated electronic fence according to the fence adjustment value, and constructing the updated electronic fence based on the coordinates of the boundary points of the updated electronic fence; S40, using the updated electronic fence as the initial electronic fence, and saving the boundary point coordinates of the updated electronic fence as the boundary point coordinates of the initial electronic fence; Step S20 includes: S201, obtaining actual construction progress data within the initial electronic fence, and calculating a progress deviation component between the planned construction progress data and the actual construction progress data; S202, determining a construction change type based on the construction site data collected in real time, and determining an actual construction change impact component based on the construction change type; S203: Calculate the fence adjustment value based on the progress deviation component and the actual construction change impact component. The calculation formula is as follows: in, Adjust the value for the fence, is the fence deformation coefficient, is the progress deviation coefficient, is the progress deviation component, is the site change coefficient, It is the impact of actual construction changes.
2. The method for constructing a dynamic electronic fence according to claim 1, wherein: Step S10 includes: S101, determining a construction area, and generating an initial electronic fence corresponding to the construction area based on coordinate information of a plurality of determined boundary points; wherein the coordinate information of each boundary point constitutes a boundary range of the initial electronic fence; S102, determining the planned construction progress data corresponding to the initial electronic fence; wherein the planned construction progress data includes a planned construction progress name, a planned construction progress task, and a time range corresponding to the planned construction; S103, binding the generated initial electronic fence with the construction area and the planned construction progress data to obtain a mapping relationship table between the construction area and the initial electronic fence; wherein the mapping relationship table includes the number of the initial electronic fence, the number of the construction area, and the corresponding name of the planned construction progress.
3. The method for constructing a dynamic electronic fence according to claim 1, wherein: Step S201 includes: S2011, obtaining planned construction progress data and actual construction progress data reported by on-site construction personnel; S2012: Calculate the progress deviation component based on the planned construction progress data and the actual construction progress data. The calculation formula is as follows: in, is the progress deviation component, The actual construction progress data, The data for planned construction progress.
4. The method for constructing a dynamic electronic fence according to claim 1, wherein: Step S202 includes: S2021: Analyze and process the construction site data collected in real time, and determine the corresponding construction change type based on the processed construction site data; S2022A, obtaining an initial weight coefficient and a weight adjustment rule for the construction change type, and calculating a corresponding dynamic weight coefficient based on the initial weight coefficient and the weight adjustment rule for the construction change type; S2022B, determining a corresponding impact radius according to the construction change type; S2023: Calculate and determine the actual construction change impact component of the current construction area based on the dynamic weight coefficient and impact radius corresponding to the construction change type. The calculation formula is as follows: in, is the impact of actual construction changes, is the dynamic weight coefficient corresponding to the construction change type, is the impact radius corresponding to the construction change type, is the perimeter of the initial geo-fence.
5. The method for constructing a dynamic electronic fence according to claim 4, characterized in that: Before step S2023, the method further includes: S2023', calculate the change impact score of each construction change type, and determine the construction change type with a change impact score greater than a preset threshold as a valid construction change type; the calculation formula is as follows: in, is the change impact score corresponding to each construction change type, is the dynamic weight coefficient corresponding to each construction change type, The impact radius corresponding to each construction change type; At this time, S2023 is to calculate and determine the actual construction change impact component of the current construction area according to the dynamic weight coefficient and impact radius corresponding to each valid construction change type.
6. The method for constructing a dynamic electronic fence according to claim 1, wherein: In step S30, the boundary point coordinates of the updated electronic fence are calculated using a boundary point displacement algorithm based on a normal vector; the calculation formula is as follows: in, After the update The coordinates of the boundary points, The first The coordinates of the boundary points, Adjust the value for the fence, is the normalized mean normal vector.
7. A dynamic electronic fence construction system based on construction progress, characterized in that: include: A determination module, configured to determine a construction area and a corresponding initial electronic fence, and establish a mapping relationship table between the construction area and the initial electronic fence; wherein the initial electronic fence includes corresponding planned construction progress data; a calculation module, configured to obtain construction progress data within the initial electronic fence boundary and determine a fence adjustment value based on the construction progress data; A construction module, configured to calculate the coordinates of the boundary points of the updated electronic fence according to the fence adjustment value, and construct the updated electronic fence based on the coordinates of the boundary points of the updated electronic fence; An updating module, configured to use the updated electronic fence as the initial electronic fence and save the boundary point coordinates of the updated electronic fence as the boundary point coordinates of the initial electronic fence; The computing module is specifically used to implement: S201, obtaining actual construction progress data within the initial electronic fence, and calculating a progress deviation component between the planned construction progress data and the actual construction progress data; S202, determining a construction change type based on the construction site data collected in real time, and determining an actual construction change impact component based on the construction change type; S203: Calculate the fence adjustment value based on the progress deviation component and the actual construction change impact component. The calculation formula is as follows: in, Adjust the value for the fence, is the fence deformation coefficient, is the progress deviation coefficient, is the progress deviation component, is the site change coefficient, It is the impact of actual construction changes.
8. A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 6.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Method for generating electronic fence of refuse dump
CN115150747A