Building settlement observation data automatic recording and statistical analysis method and system

By scanning QR codes with mobile terminals, settlement observation points are automatically identified and settlement is calculated in real time. Combined with localized data storage and instant early warning, the efficiency and accuracy of building settlement observation data management in the field without network coverage are solved, and the data is managed in a closed loop and automatically throughout the entire process.

CN123157680APending Publication Date: 2026-11-24NO 2 ENG CO FOR ELECTRIC POWER CONSTR OF ANHUI PROV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611150539.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-31
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In the absence of a network in the field, the management of building settlement observation data suffers from data processing delays and a lack of immediate verification methods for abnormal settlement, making it difficult to meet the current standards for data traceability and timeliness.

Method used

By scanning QR codes with mobile terminals, settlement observation points are automatically identified. Combined with the automatic recording of timestamps and the association of current readings with historical data, the single/cumulative settlement amount and settlement rate are calculated in real time. Data is stored locally on the mobile terminal and real-time warnings are issued, realizing local closed-loop management of data.

Benefits of technology

It effectively eliminates the risk of errors caused by manual verification of locations, manual transcription and data entry, and post-calculation comparison. It enables the entire process of data collection, recording, verification, and archiving to be independent of the Internet and cloud servers, ensuring availability and data security in the field without signal, and improving the standardization and efficiency of project acceptance and archiving.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123157680A_ABST
    Figure CN123157680A_ABST
Patent Text Reader

Abstract

This invention relates to the field of building construction surveying technology, and discloses a method and system for automatic recording and statistical analysis of building settlement observation data. The method includes: creating observation projects locally on a mobile terminal and establishing a project database; during on-site observation, identifying the location code by scanning the barcode on the target observation point, and retrieving historical elevation data of the target observation point based on the location code; obtaining the current period elevation reading of the target observation point and automatically recording the observation timestamp; automatically calculating the settlement characteristic value of the target observation point based on the current period elevation reading and historical elevation data; comparing the settlement characteristic value with a preset early warning threshold, and generating an immediate early warning prompt on the mobile terminal when the early warning conditions are met; storing the observation data in the local database of the mobile terminal according to a three-level directory structure of project name-observation period-location number; and automatically generating relevant charts in response to user statistical analysis commands. This achieves a closed-loop, automated, and localized management process for settlement observation data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of building construction surveying technology, and in particular to a method and system for automatic recording, verification and statistical analysis of building settlement observation data based on a mobile terminal. It is applicable to foundation settlement observation of power transmission and transformation projects, new energy projects (wind power, photovoltaic, energy storage) and other industrial and civil buildings. Background Technology

[0002] Settlement monitoring is a key means to ensure the safety of the foundation of building projects (especially power transmission and transformation, new energy and industrial and civil buildings). The monitoring cycle runs through the entire construction process and the operation stage after completion. A large number of elevation data points need to be collected regularly to determine the trend of foundation deformation.

[0003] Currently, there are two main types of data processing models in engineering practice: One method is the traditional manual method, in which observers use a level to read the scale rod and then manually fill in paper records, which are later entered into a computer for Excel statistics. This process has problems such as the original records being easily damaged, data transcription being prone to errors, and point numbering being easily confused during manual verification.

[0004] Secondly, there are general-purpose smart construction site management platforms that have emerged in recent years (such as integrated systems based on public cloud or BIM architecture). Although such platforms have achieved some electronic data collection and remote monitoring, their overall architecture is highly dependent on Internet connections and cloud servers. Data flow needs to go through the transmission link of "site end - cloud end - analysis end", which not only involves high hardware deployment and operation and maintenance costs, but also cannot operate stably in areas with no signal coverage in the field, basements or remote construction areas due to the rigid dependence of data transmission on the network.

[0005] Furthermore, existing technical solutions generally treat settlement monitoring as a broad sub-function within the quality and safety module, lacking a refined operational loop for the leveling process, which includes "entry of elevation readings, automatic association of previous data, and real-time calculation of settlement rate." They also fail to provide a lightweight, dedicated tool that is independent of cloud platforms, relies entirely on a local database on mobile terminals for three-level directory archiving (project → cycle → location), and is synchronized offline via LAN / USB.

[0006] The aforementioned deficiencies result in delayed on-site data processing and a lack of immediate verification methods for abnormal settlement, making it difficult to meet the requirements of the current "Code for Measurement of Building Deformation" for data traceability and timeliness. Summary of the Invention

[0007] The technical problem that this invention aims to solve is: efficient, error-proof, and localized closed-loop management of settlement observation data in a field without netting.

[0008] In a first aspect, to solve the above-mentioned technical problems, a method for automatic recording and statistical analysis of building settlement observation data is provided, comprising: Create observation projects locally on the mobile terminal and establish a project database containing the location codes of each settlement observation point and the associated initial elevation data; During on-site observation, the location code is identified by scanning the barcode label preset on the target observation point, and the historical elevation data of the target observation point is automatically retrieved from the project database according to the location code; Obtain the current elevation reading of the target observation point, automatically record the observation timestamp, and associate the current elevation reading with the historical elevation data and store it in the project database; The settlement characteristic value of the target observation point is automatically calculated based on the current elevation reading and the historical elevation data; the settlement characteristic value is compared with a preset early warning threshold, and an instant early warning prompt is generated on the mobile terminal when the early warning conditions are met; wherein, the settlement characteristic value includes at least the single settlement amount and the cumulative settlement amount; The observation data is stored in the local database of the mobile terminal according to a three-level directory structure of project name-observation period-location number; wherein, the data synchronization between the mobile terminal and external devices is only performed offline via wireless LAN or USB data cable. In response to the user's statistical analysis instructions, based on the selected statistical range and the data stored in the local database, the system automatically generates settlement-time curves and / or standardized results reports, and supports exporting them to general format files.

[0009] Furthermore: The historical elevation data includes the initial elevation value of the target observation point and the elevation value of the previous observation period; The settlement characteristic values ​​also include settlement rate; Record the elevation reading for this period as follows: The elevation for the previous observation period was The initial elevation is The cumulative number of observation days is The single settlement amount is The cumulative settlement is The settling rate is , The formula for calculating the single settlement amount is: ; The formula for calculating the cumulative settlement is: ; The formula for calculating the settling rate is: ; The warning conditions include any one of the following: the single settlement amount exceeds the single settlement threshold, the cumulative settlement amount exceeds the cumulative settlement threshold, and the settlement rate exceeds the preset rate threshold.

[0010] Further, obtaining the current elevation reading of the target observation point includes: It establishes a connection with the electronic level via Bluetooth communication protocol and automatically receives the current period's elevation measurement data sent by the electronic level. or, In response to the user's input operation on the input interface of the mobile terminal, the system receives the current period's elevation reading input by the user.

[0011] Furthermore, it also includes a benchmark stability verification step: In response to a user scanning a benchmark barcode marker located in a stable area, the current elevation of the benchmark is obtained. The current elevation of the benchmark point is compared with the initial elevation of the pre-stored benchmark point by the difference. When the difference exceeds the preset benchmark point change threshold, a benchmark point instability alarm is generated and data entry for the current observation period is suspended until a confirmation command is received from the user.

[0012] Furthermore, after generating the immediate warning notification, a verification and locking step is also included: The observation data that triggers the warning is marked as pending review, and the original data is locked to prevent direct modification or deletion; Responding to on-site review comments input by operators with Level 2 privileges; If the review opinion confirms that the data is correct, then the observed data is marked as confirmed as abnormal and the warning record is retained; If the review opinion is that the data is invalid, record the invalidation mark and the reason for invalidation, and allow the retest data to be entered.

[0013] Furthermore, the data synchronization between the mobile terminal and external devices employs an anti-collision mechanism: Incremental synchronization is performed using a composite primary key: project unique identifier - site unique number - observation period number. The external device, acting as a data aggregation point, has no remote modification authority over the original observation data. When a duplicate composite primary key is detected, the user is prompted to choose between skipping or overwriting the operation; the overwriting operation requires verification of administrator privileges before execution.

[0014] Furthermore, the automatic recording of observation timestamps includes: The standard satellite time is obtained by calling the satellite positioning module of the mobile terminal, and the satellite time is used as the observation timestamp; When the deviation between the system time of the mobile terminal and the satellite time synchronization time exceeds a preset deviation threshold, the data entry interface is locked and a time abnormality is indicated.

[0015] Furthermore, it also includes subsidence trend prediction and early warning steps: Retrieve the settlement rate of the target observation point for the most recent N consecutive periods, where N≥3; The least squares method was used to perform a linear fit on the settlement rate of the N periods, and the slope of the rate change was calculated. When the slope of the rate change shows an increasing trend and exceeds a preset slope threshold, an abnormal trend warning is generated; wherein, the warning level of the abnormal trend warning is lower than the warning level when the settlement characteristic value exceeds the preset warning threshold.

[0016] Furthermore, it also includes the steps for recording observation conditions: The location information of the current observation point is obtained through the positioning module of the mobile terminal; Get current weather conditions, temperature, and humidity information; The location information, weather conditions, temperature, and humidity information are stored as supplementary information to the observation data in the local database.

[0017] Preferably, the barcode is a static QR code made of waterproof and weather-resistant material, and the information it encodes includes at least the location code and the project identification code.

[0018] A second aspect of the present invention provides an automatic recording and statistical analysis system for building settlement observation data, comprising: The point identification module is used to identify the point code by scanning the barcode mark preset on the observation point, and retrieve the corresponding historical elevation data from the local project database according to the point code; The data acquisition module is used to acquire the current elevation reading and record the observation timestamp, and to associate and store the current elevation reading with the historical elevation data; The settlement calculation and early warning module has an embedded settlement characteristic value calculation model, which is used to automatically calculate the single settlement and cumulative settlement based on the current elevation reading and the historical elevation data, and trigger an immediate early warning when the single settlement or cumulative settlement meets the preset early warning conditions. The localized storage management module stores observation data in the mobile terminal's local database according to a three-level directory structure of project name-observation period-location number, and achieves offline data synchronization with external devices only via Wi-Fi or USB cable; and The statistical analysis output module is used to automatically generate settlement-time curves and / or standardized results reports based on the statistical range selected by the user, and supports exporting to common format files.

[0019] Furthermore, the localized storage management module includes a synchronization conflict arbitration submodule; the synchronization conflict arbitration submodule is used to perform incremental synchronization using the project unique identifier-site unique number-observation period as a composite primary key, and to perform conflict detection and prompting when duplicate composite primary keys are detected.

[0020] Furthermore, the settlement calculation and early warning module also includes a trend prediction unit; the trend prediction unit is used to obtain the settlement rate of the target observation point for the most recent consecutive N periods, perform linear fitting using the least squares method and calculate the slope of the rate change, and generate a trend anomaly early warning when the slope of the rate change shows an increasing trend and exceeds a preset slope threshold.

[0021] Compared with the prior art, the present invention has at least the following beneficial effects: On the one hand, by scanning QR codes with mobile terminals to automatically identify settlement observation points and retrieve historical elevation data, combined with the technical means of automatically recording timestamps, linking and storing current readings with historical data, and calculating single / cumulative settlement and settlement rate in real time and providing immediate warnings, the error risks introduced by manual verification of points, manual transcription and entry, and post-calculation comparison are effectively eliminated.

[0022] On the other hand, by storing the observation data in the local database of the mobile terminal according to the three-level directory structure of project name-observation period-location number, and synchronizing it offline with external devices only through wireless LAN or USB data cable, the entire process of data collection, recording, verification and archiving is freed from dependence on the Internet and cloud servers. This not only ensures availability and data security in the field without signal, but also significantly shortens the processing time of a single observation data.

[0023] Furthermore, by automatically generating standardized settlement curves and results reports that meet the specifications with a single click, the standardization and efficiency of project acceptance and archiving have been improved. This has enabled the closed-loop, automated, and localized management of settlement observation data throughout the entire process, demonstrating outstanding real-time performance, reliability, and low-cost promotional value. Attached Figure Description

[0024] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0025] Figure 1This is a schematic diagram of the overall process disclosed in this invention.

[0026] Figure 2 This is a schematic diagram of the QR code marking of settlement observation points disclosed in an embodiment of the present invention.

[0027] Figure 3 This is a schematic diagram of the field data acquisition operation interface disclosed in an embodiment of the present invention.

[0028] Figure 4 This is a flowchart of the data verification and early warning logic disclosed in this invention.

[0029] Figure 5(a) is a settlement-time curve of the main control building disclosed in the embodiment of the present invention.

[0030] Figure 5(b) is a bar chart of the settlement rate at all measuring points disclosed in the embodiment of the present invention.

[0031] Figure 5(c) is a table of settlement observation results (standard format) disclosed in the embodiment of the present invention.

[0032] Figure 5(d) is a bar chart comparing the cumulative settlement of all measuring points disclosed in the embodiments of the present invention.

[0033] Figure 6 This is a system module architecture diagram disclosed in this invention. Detailed Implementation

[0034] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0035] This invention provides a method and system for automatic recording and statistical analysis of building settlement observation data based on mobile terminals. It is applicable to foundation settlement observation in power transmission and transformation projects, new energy projects (including wind power, photovoltaic, and energy storage), and other industrial and civil buildings. This method and system integrates data acquisition, recording, verification, storage, analysis, and report generation into a complete closed-loop workflow, achieving fully automated management from on-site level instrument readings to final output.

[0036] Please see Figure 1 The method of this invention mainly includes six core stages, specifically: First, step S1, the project initialization and point registration phase, is executed. In this phase, observers create observation projects on their mobile terminals, enter basic project information, and create and affix QR code labels to each settlement observation point. By scanning the QR codes with the mobile terminal's camera module, the point number, planar coordinates, initial elevation value, and other information of each observation point are registered in the project database established locally on the mobile terminal.

[0037] Next, step S2, the on-site data acquisition and automatic recording stage, is executed. Observers arrive at the construction site with mobile terminals, set up the leveling instrument, and complete the leveling process. When a specific measuring point needs to be observed, the mobile terminal scans the QR code on that point. The system automatically identifies the point code and retrieves the historical elevation data for that point from the local database, leading to the current period's reading input interface for that point. Observers input the leveling rod readings from the leveling instrument into the mobile terminal, or connect to the electronic level via Bluetooth to automatically obtain the current period's elevation reading. The system automatically records the observation timestamp and associates the current period's elevation reading with the historical elevation data for storage.

[0038] Next, step S3, the automatic data verification and real-time early warning stage, is executed. After each new data entry, the system automatically calculates the single settlement, cumulative settlement, and settlement rate at that location. When the calculated settlement characteristic value exceeds the preset early warning threshold, the system immediately displays an early warning message on the mobile terminal's display interface, reminding the observers to verify and confirm the data on-site.

[0039] Next, proceed to step S4, the localized data archiving and management stage. All observation data is stored in the mobile terminal's local database, organized by project, according to a three-level directory structure: project name, observation period (Nth period), and location number. Data is exported to the project office's computer via Wi-Fi or USB cable, achieving offline data synchronization.

[0040] Next, step S5, the one-click statistical analysis phase, is executed. After the user selects the statistical time period and measurement point range on the mobile terminal or the project department's computer, the system automatically generates settlement-time curves, settlement rate bar charts, settlement observation results tables, and a summary comparison chart of cumulative settlement for all measurement points. These charts can be exported as standard PDF or Excel format files, meeting the requirements for project acceptance and archiving.

[0041] at last, Figure 1 The document also illustrates the data flow feedback path. After the warning information is generated in stage S3, it can be fed back to on-site observers in real time, forming a closed loop of data acquisition and quality control. Data is transferred between stages via a local database, and the entire process does not rely on an internet connection.

[0042] The specific implementation methods of each of the above steps are explained in detail below.

[0043] S1. Project Initialization and Site Registration like Figure 2 As shown, during the project initialization phase, observers first launch the application on a mobile terminal. This mobile terminal can be a smartphone or tablet, running either Android or iOS. The application provides a project creation interface where observers input basic project information. This information includes, but is not limited to, project name, project location, design unit, supervision unit, construction unit, observation period start and end dates, and observation frequency requirements. The application encapsulates this basic project information into a project configuration file, which is stored in the mobile terminal's local database. Each project is assigned a unique project identifier in the database, used to associate all observation data under that project in all subsequent data operations.

[0044] For each settlement monitoring point, a monitoring marker needs to be installed on an embedded component in the building's foundation or main structure. This embedded component is pre-embedded in the structural member during construction and has a hemispherical or stainless steel flat marker on its top for easy placement of a leveling rod. A QR code identification plate should be affixed to the inside or outside of the protective cover of the embedded component at each monitoring point. See also... Figure 2 The diagram shows a QR code label made of waterproof and weather-resistant material. In a preferred embodiment, a laminated self-adhesive label or a rigid PVC plastic card can be used to resist wind, sun, and dust pollution at the construction site.

[0045] The information encoded in the QR code includes at least the unique number of the observation point and the project identification code. In a preferred embodiment, the QR code may also include the planar coordinates of the observation point, its initial elevation value, and a description of the structural location of the point. The QR code uses the universal QR code standard to ensure that any mobile terminal equipped with a camera module can recognize and decode it. This QR code is static; once generated and pasted, its encoded content remains unchanged throughout the entire observation period. The point number encoded in the QR code forms a one-to-one mapping with the point information stored in the project database.

[0046] After affixing the QR code labels, observers used the camera module of their mobile terminals to scan the QR codes at each observation point. The application invoked the camera module to acquire the QR code image, and then performed image processing and decoding operations to extract the point number and project identification code contained within. Subsequently, the application displayed a point registration form on the mobile terminal's screen. This form automatically filled in the point number field, which was either manually entered by the observers or automatically obtained from the planar coordinates of the point using the mobile terminal's positioning module. Observers also needed to enter the initial elevation value of the observation point in this form. The initial elevation value was obtained from the national elevation benchmark or the site elevation control network using precise leveling methods before the project began observations.

[0047] In a preferred embodiment, the application supports batch registration. When multiple observation points have the same project identification code and similar initial information, observers can scan the QR code of one observation point, select to copy the information template for that point, and then scan the QR codes of other observation points in sequence. Only the unique coordinate information or initial elevation value of each point needs to be added to complete the batch registration, thereby improving the efficiency of project initialization.

[0048] After all observation points are registered, the application associates and stores the point number, planar coordinates, initial elevation, point description, and project identifier for each observation point, forming a point database. This database is stored in a structured manner, with each record corresponding to one observation point and containing fields such as point number, project identifier, initial elevation, X, Y, and Z coordinates (altitude), point description, registration date and time, and creator. This database is stored in the mobile terminal's internal memory or external storage card and can be accessed at any time without a network connection.

[0049] During the site registration process, the application also performs data integrity checks. For example, if two observation points are detected to have the same site number, the application will prompt a duplicate and prevent duplicate registration. When the number of observation points registered under a project exceeds a preset value, the application will generate a summary list of sites for observers to verify. After registration is complete, the site database is ready for use, providing basic data support for subsequent field observation data collection.

[0050] S2. On-site data acquisition and automatic recording See Figure 3 The data acquisition interface shown is the main interface for observers to interact with mobile terminals when conducting settlement observations in the field. The top area of ​​the interface displays the name of the current observation project and the period number of the current observation cycle. The central area of ​​the interface is the main data entry and display area.

[0051] In actual observation operations, the observers first set up a level instrument at the construction site. The level instrument can be an optical level or an electronic level. The instrument should be set up in a location with a wide field of view, facilitating the observation of as many settlement observation points as possible. After setup, the observers level the instrument, ensuring its line of sight is horizontal. Then, the observers erect a leveling rod at the target observation point. The bottom of the leveling rod should be firmly placed at the top center of the observation marker, and the rod should remain vertical.

[0052] When observers prepare to record data from a particular observation point, they launch the application on their mobile device and select the "Start Observation" or similar button on the application's main interface. The application then activates the mobile device's camera module, entering QR code scanning mode. The observer points the mobile device's camera at the QR code sign affixed to the observation point. After the camera module acquires the QR code image, the application processes and decodes the image. Upon successful decoding, the application extracts the location number from the QR code's encoded data and uses this location number as an index to query the project database.

[0053] The specific logic of the query operation is as follows: The application constructs a database query statement, executes the query statement, and retrieves the complete information record of the observation point from the point database. This record includes the point number, initial elevation value, historical observation data list, and planar location coordinates. The application reads the historical elevation data of the point from the database and loads it into memory. The historical elevation data includes at least the initial elevation value and the elevation value of the previous observation period for the observation point. If it is the first observation, the historical elevation data only includes the initial elevation value.

[0054] After successfully retrieving the location information, the application's display interface switches to the following... Figure 3 The data entry status is shown. Figure 3 The top of the interface displays the current observation point's location number and description, for example, A3, northeast corner of the main control building. The middle section displays a summary of historical data for that point, including the initial elevation value, the previous period's elevation value, the previous observation date, and the cumulative number of observation periods. The bottom of the interface provides an area for entering the current period's elevation reading.

[0055] In this embodiment, the methods for obtaining the current period's elevation readings include both automatic acquisition and manual input.

[0056] In the automatic acquisition mode, the electronic level has Bluetooth communication capabilities. Before observation, the observer turns on the Bluetooth function of their mobile terminal and establishes a Bluetooth pairing connection with the electronic level through the application's Bluetooth pairing interface. After the connection is established, the observer reads the scale reading on the level rod through the eyepiece of the electronic level and operates the measurement buttons on the electronic level. After the electronic level completes the reading, it automatically sends the measured elevation value to the mobile terminal via the Bluetooth communication protocol. The application starts a Bluetooth data receiving thread in the background, which continuously listens for data input on the Bluetooth port. When it receives the data packet sent by the electronic level, the application parses the data packet, extracts the elevation value, and automatically fills it into the Bluetooth module. Figure 3 The data entry interface shown is for the current period's elevation input box. This process eliminates the need for observers to manually type in any numbers, completely avoiding errors that might be introduced by manual readings or data entry.

[0057] In manual input mode, observers use an optical level or an electronic level without Bluetooth functionality. After reading the scale values ​​on the leveling rod through the eyepiece, the observer... Figure 3 The user manually enters the value in the current elevation input box of the data entry interface shown. To reduce input errors, the application provides a numeric keypad in manual input mode. This keypad displays only numbers, decimal points, and backspace keys, and the key area is enlarged for easy on-site operation. The application also performs format validation on the input values, such as checking whether the input values ​​are in a valid numeric format and whether they are within a reasonable elevation range.

[0058] After the elevation readings for this period are entered, the observer clicks the "Confirm Recorder" or "Save" button on the interface. The application responds to this operation by automatically recording the current time as the observation timestamp (the observation timestamp is accurate to the minute).

[0059] In a preferred embodiment, the observation timestamp is generated as follows: the application calls the system time interface provided by the mobile terminal's operating system to obtain the current system time, and simultaneously calls the mobile terminal's built-in GPS positioning module or BeiDou positioning module to obtain the standard satellite time synchronization. The application uses the satellite time synchronization as the observation timestamp. When the deviation between the mobile terminal's system time and the satellite time synchronization exceeds a preset deviation threshold, for example, a deviation exceeding ±5 minutes, the application locks the data entry interface and prompts "Time error, please calibrate the system time and try again." This mechanism effectively prevents the risk of falsifying the observation time by manually modifying the mobile terminal's system time.

[0060] The application also automatically or semi-automatically records weather conditions and observation information as supplementary fields. Specifically, the application automatically obtains the latitude, longitude, and altitude of the current observation point through the mobile terminal's built-in positioning module. For weather conditions, when a network connection is available, the application can call a third-party meteorological service application programming interface to obtain real-time local weather data based on the current latitude and longitude coordinates. In the absence of a network connection, the application provides a drop-down menu where observers can select weather conditions based on the actual situation on site, such as sunny, cloudy, overcast, light rain, heavy rain, fog, snow, etc. Temperature and humidity information can also be entered by observers through the drop-down menu or input boxes. This supplementary information is stored in the project database in association with the current elevation reading and observation timestamp.

[0061] In this embodiment, when the application performs data storage operations, it organizes all the data from this observation into a complete record. This record includes the following fields: unique record identifier, project identifier code, point number, observation period number, current period elevation reading, observation timestamp, previous elevation value, initial elevation value, weather conditions, temperature, humidity, latitude and longitude, altitude, data entry method (manual or Bluetooth automatic), and data status (normal or pending review). The application then inserts this record into the observation data table of the project database.

[0062] After data storage is complete, the application automatically updates the latest observation status of that location in the location database, incrementing the "Latest Observation Period Number" field by 1 and updating the "Latest Observation Time" field to the timestamp of this observation. These update operations are used for subsequent data retrieval and statistical analysis.

[0063] This completes phase S2. It can be seen that throughout the entire data acquisition process, observers only need to perform three operations: scanning the QR code, confirming the reading (or waiting for automatic data entry), and clicking save. This significantly improves data acquisition efficiency compared to traditional manual recording methods.

[0064] S3, Automatic Data Verification and Real-Time Early Warning See Figure 4 The data verification and early warning logic is automatically triggered after each data entry and save. This process is initiated by a computing engine in the application background, which operates in an event-driven manner. That is, whenever a new record is added to the observation data table, the computing engine automatically processes that record.

[0065] The calculation engine first extracts the current period's elevation reading and location number from the newly added records. Then, using the location number as an index, it queries the project database for the historical observation records of that location. The query scope of historical observation records includes at least the initial elevation value and the elevation value of the previous observation period for that location. After the query is completed, the calculation engine performs the calculation of settlement characteristic values.

[0066] Let the elevation reading for this period be... The elevation for the previous observation period was The initial elevation is The cumulative number of observation days is The cumulative observation days are the difference in calendar days from the initial observation date to the current observation date.

[0067] The calculation engine calculates each settlement characteristic value according to the following formula: Single settlement The calculation formula is: This value represents the change in elevation of the observation point between two adjacent observation periods. A negative value indicates subsidence (decrease in elevation), while a positive value indicates uplift (increase in elevation).

[0068] Cumulative settlement The calculation formula is: This value represents the total elevation change of the observation point from the initial observation time to the current observation time. This value is a key indicator for evaluating whether the total deformation of the building foundation exceeds the design allowable value.

[0069] Settlement rate The calculation formula is: This value represents the average settlement per unit time, usually expressed in millimeters per day (mm / d). The settlement rate reflects the activity level of foundation deformation and is an important parameter for determining whether the foundation is approaching stability.

[0070] In a preferred embodiment, the computing engine also calculates the time interval between two adjacent periods. And calculate the rate of change of the current settlement rate relative to the previous settlement rate. This is used for subsequent trend prediction and early warning.

[0071] After the settlement characteristic values ​​are calculated, the calculation engine enters the early warning determination phase. (See also...) Figure 4 The judgment process in the system includes the following three parallel judgment branches for early warning judgment: The first branch determines whether the absolute value of a single settlement exceeds a preset single settlement threshold. This single settlement threshold is set by observers during the project initialization phase according to engineering design documents or relevant specifications. For example, for buildings on soft soil foundations, the single settlement threshold can be set to 3mm; for buildings on rock foundations, the single settlement threshold can be set to 1mm. >When the single settlement threshold is reached, this branch is determined to meet the early warning conditions.

[0072] The second branch determines whether the absolute value of the cumulative settlement exceeds a preset cumulative settlement threshold. This cumulative settlement threshold is determined based on the engineering design and is typically calculated by a structural engineer based on the building's structural type, foundation conditions, and design service life. For example, for frame structures, the cumulative settlement threshold is usually 20-50 mm; for isolated foundations, it may be 10-30 mm. >When the cumulative settlement threshold is reached, this branch is determined to meet the early warning conditions.

[0073] The third branch determines whether the settlement rate exceeds a preset rate threshold. This rate threshold can be set according to the stability standards for different foundation types in the "Code for Measurement of Building Deformation". For example, for sandy soil foundations, a settlement rate of less than 0.02 mm / day can be considered as the foundation being stable; for soft soil foundations, this value can be 0.05 mm / day. When the rate threshold is reached, this branch is determined to meet the warning conditions.

[0074] When any of the above branches is determined to meet the warning conditions, the calculation engine generates a warning trigger signal. This warning trigger signal is then transmitted to the user interface module of the mobile terminal.

[0075] Upon receiving the warning trigger signal, the user interface module immediately generates an instant warning notification on the mobile terminal's display. This warning notification is presented as a pop-up dialog box; the dialog box displays the specific details of the warning, including the location number that triggered the warning, the current warning type (single settlement exceeding threshold, cumulative settlement exceeding threshold, or settlement rate exceeding threshold), the actual settlement characteristic value, the preset threshold, and the warning timestamp. The dialog box also provides operation buttons, such as "Confirm," "On-site Verification," and "View Details."

[0076] When observers click the "View Details" button, the application jumps to the data details interface for that point. The interface displays the historical settlement curve of that point in the form of a chart, and uses a highlight mark on the curve to mark the current warning data point and its adjacent data points, helping observers to intuitively judge whether the data is reasonable.

[0077] When an observer clicks the "On-site Verification" button, the application enters a verification lock state. Specifically, the application marks the observation data that triggered the warning as pending verification and locks the original data to prevent direct modification or deletion; it responds to on-site verification comments entered by operators with level-two permissions; if the verification comment confirms the data is correct, the observation data is marked as confirmed abnormal and the warning record is retained; if the verification comment indicates the data is invalid, the invalidation mark and the reason for invalidation are recorded, and re-measurement data can be entered. This verification lock mechanism ensures the integrity and traceability of observation data, avoiding the data management irregularities caused by simply deleting data after an erroneous warning due to data entry errors.

[0078] In a preferred embodiment, the method further includes a settlement trend prediction and early warning step, specifically: the calculation engine retrieves the settlement rate of the target observation point for the most recent consecutive N periods, where N≥3; the calculation engine performs linear fitting on the N settlement rate data using the least squares method to obtain the slope of the rate change; when the slope of the rate change shows an increasing trend and exceeds a preset slope threshold, an abnormal trend warning is generated. The warning level of the abnormal trend warning is lower than the warning level when the settlement characteristic value exceeds the preset warning threshold.

[0079] Phase S3 is now complete. Through the aforementioned data verification and real-time early warning mechanisms, observers can learn about abnormal settlement conditions on-site, eliminating the need to bring data back to the office for manual calculation and comparison, thus significantly improving the timeliness of handling settlement anomalies.

[0080] Those skilled in the art should know that the accuracy of settlement monitoring depends on the stability of the benchmark point. In actual construction environments, the benchmark point itself may shift or settle due to construction impacts, ground deformation, or other reasons. If the benchmark point changes without the observer's notice, the elevation data of all observation points will lose their accurate reference.

[0081] Based on this, during the project initialization phase, observers will establish at least two benchmark points in stable areas outside the construction impact zone. The locations of these benchmark points should meet the following conditions: outside the impact zone of construction machinery vibration, outside the impact zone of groundwater level changes, and within stable areas of the foundation soil. Each benchmark point will also be marked with an observation sign and a QR code label. The initial elevation of the benchmark points will be obtained through precise leveling from national elevation benchmarks or the site elevation control network and stored in the project database as the initial elevation of the benchmark points.

[0082] Before commencing settlement observations at the start of each observation cycle, observers first verify the stability of the benchmark point. This involves: First, observers use a mobile terminal to scan the QR code on the benchmark point. The application identifies the point code and retrieves the initial elevation and historical observation records of that benchmark point from the project database based on the code. Next, observers set up a level to measure the elevation of the benchmark point, obtaining the current elevation. This current elevation reading is then entered into the mobile terminal. Then, the application compares the current elevation with the initial elevation stored in the project database. If the difference exceeds a preset benchmark point fluctuation threshold, the application generates a benchmark point instability alarm and pauses data entry for the current observation cycle until a confirmation command is received from the user.

[0083] S4, Localized Data Archiving Management and Offline Synchronization In this invention, all observation data is stored in a local database on the mobile terminal, organized by project. The local database uses a lightweight relational database engine, such as SQLite. Each project corresponds to an independent database file, which is stored in a designated directory of the mobile terminal's internal storage. The database files are named using the format "project identifier_project name.db" for easy identification and management.

[0084] Internally, the database is logically organized according to a three-level directory structure: "Project Name - Observation Period (Nth Period) - Location Number". This organization is implemented through an observation data table in the database, which contains a project identifier field, an observation period number field, and a location number field. The application accelerates data retrieval operations based on this three-level directory structure by creating composite indexes on these fields.

[0085] Furthermore, in the application's data browsing interface, observers can view a list of all projects by "Project Name"; clicking on a project expands the "Observation Period" level to display all observation periods under that project; clicking on an observation period expands the "Location Number" level to display a list of all observation points under that period. This hierarchical data display method makes searching and browsing large amounts of observation data intuitive and efficient.

[0086] It is particularly important to note that this invention does not rely on any internet connection or cloud server. Data synchronization between the mobile terminal and external devices is performed offline via Wi-Fi or USB cable.

[0087] Data synchronization employs an incremental synchronization method, meaning it only synchronizes data records added or modified since the last synchronization. The core of incremental synchronization is a timestamp comparison mechanism. Each data record is assigned a creation timestamp upon creation and a last modification timestamp upon modification. The synchronization service program records the completion time of each synchronization. During incremental synchronization, the synchronization service program only transmits data records whose creation timestamp or last modification timestamp is later than the last synchronization completion time.

[0088] To prevent data conflicts, a conflict prevention mechanism based on composite primary keys is used during the synchronization process. The composite primary key consists of three fields: "unique project identifier + unique location number + observation period number". During synchronization, if the same composite primary key is detected in both the local and remote databases, a data conflict is identified. The synchronization service handles this conflict by pausing synchronization, displaying a conflict warning interface to the user, showing detailed comparison information between the local and remote data, and waiting for the user to choose to skip or overwrite.

[0089] In the synchronization architecture, the computer, acting as the data aggregation point, only has permissions to read and append data; it does not have remote modification permissions for the original observation data. In other words, the computer can view and analyze all synchronized data, but cannot directly modify any original observation data already recorded on the mobile terminal through the computer program. This architecture design ensures the authority of the data source and the tamper-proof nature of the data.

[0090] To ensure time reliability in offline environments, satellite time synchronization is also used for time calibration. When the mobile terminal is connected to the computer via USB cable, the mobile terminal's synchronization program can reverse-engineer its own timestamp using either the computer's time information or satellite time synchronization information.

[0091] This completes phase S4. Through the aforementioned localized storage and offline synchronization mechanisms, this invention achieves a data management closed loop completely independent of the internet, ensuring data security and making it suitable for construction environments with no signal coverage in the field.

[0092] S5, One-click statistical analysis See Figures 5(a) to 5(d) The diagrams shown illustrate the automatic generation of settlement curves, demonstrating four typical statistical analysis results automatically output by the system in response to user statistical analysis commands.

[0093] The user first determines the statistical scope and output type, and then the application executes the data query and processing flow for statistical analysis. Specifically: For generating the settlement-time curve, the application calculates the cumulative settlement for each observation period for each selected observation point, starting from its initial observation record, generating a set of data point sequences (time, cumulative settlement), as shown in Figure 5(a). The application then plots the curve on the canvas based on this data point sequence. During the plotting process, the application automatically optimizes the coordinate axis scale calculations to ensure that the curve clearly displays all data points.

[0094] For generating the settlement rate histogram, the application calculates the settlement rate value for each selected observation point in each observation period and then generates a set of histogram data (observation period, settlement rate). As shown in Figure 5(b), each observation period corresponds to one bar, and the height of the bar represents the settlement rate value in that period. The color of the bar can be gradually changed according to the rate magnitude to facilitate intuitive identification of observation periods with abnormal rates.

[0095] To generate the settlement observation results table, the application constructs a standard format table according to the requirements for settlement observation results tables in the "Code for Measurement of Building Deformation". As shown in Figure 5(c), the table header includes the following columns: observation point number, initial elevation (meters), elevation values ​​for each observation period (meters), settlement amount for each observation period (millimeters), cumulative settlement amount (millimeters), settlement rate (millimeters per day), observation date, and observation conditions. The application fills in the retrieved data according to the above columns to form a complete results table.

[0096] For generating the summary comparison chart of cumulative settlement at all monitoring points, the application displays the latest cumulative settlement of all monitoring points in the same chart in the form of a bar chart or column chart. As shown in Figure 5(d), this summary chart can intuitively reflect the settlement distribution of different parts of the entire building, making it easier for engineering managers to quickly identify areas with abnormally large settlement.

[0097] Once all charts and reports are generated, the application provides an export function. This function supports exporting charts as standard PDF or Excel files, as well as common image formats such as PNG or JPEG. Exported files can be saved locally on the mobile device or in a specified directory on the computer for project acceptance archiving or printing.

[0098] At this point, phase S5 is complete. Through the aforementioned one-click statistical analysis function, this invention reduces the traditional manual data processing work that would take hours or even days to minutes, and the analysis results are more standardized and traceable.

[0099] See Figure 6The automatic recording and statistical analysis system for building settlement observation data based on mobile terminals provided by this invention mainly includes five core modules: a point identification module, a data acquisition module, a settlement calculation and early warning module, a local storage management module, and a statistical analysis output module. Specifically, the point identification module reads point information from the local storage management module; the data acquisition module writes the collected current elevation readings into the data storage management module; the settlement calculation and early warning module reads historical data from the data storage management module, performs calculations, and writes the early warning status back to the data storage management module; and the statistical analysis output module reads data from the data storage management module to generate charts and reports. The entire data flow loop is completed entirely locally on the mobile terminal, without relying on any external network resources.

[0100] Specifically: The point identification module is responsible for automatically identifying observation points and retrieving related information by scanning QR codes. This module communicates with the camera module of the mobile terminal to acquire QR code images captured by the camera module. Internally, it includes a QR code image processing submodule and a database query submodule. The QR code image processing submodule decodes the image and extracts the point code. The database query submodule uses the point code as an index to perform a query operation in the project database to retrieve the complete information record of that point. The output of the point identification module is a point information object containing the point number, initial elevation value, and historical observation data.

[0101] The data acquisition module is used to obtain the current elevation readings and automatically record the observation timestamps and associated historical data. This module includes a Bluetooth communication submodule, a manual input submodule, and a timestamp generation submodule. The Bluetooth communication submodule is responsible for establishing a Bluetooth connection with the electronic level, receiving elevation measurement data packets sent by the electronic level, and parsing the elevation values. The manual input submodule provides a user input interface, receives manually entered elevation readings, and performs format verification. The timestamp generation submodule generates observation timestamps based on satellite time synchronization obtained from the satellite positioning module.

[0102] The settlement calculation and early warning module embeds a settlement calculation model, automatically calculating single-time settlement, cumulative settlement, and settlement rate, and triggering an early warning after comparing them with preset thresholds. This module includes a settlement calculation submodule, a threshold comparison submodule, and a trend prediction submodule. The settlement calculation submodule performs the calculation of each settlement characteristic value shown above. The threshold comparison submodule compares the calculated settlement characteristic values ​​with preset early warning thresholds to generate an early warning judgment result. The trend prediction submodule performs least-squares linear fitting on the settlement rate data of the most recent consecutive periods, calculates the slope of the rate change, and generates a trend anomaly early warning when the slope meets the conditions.

[0103] The local storage management module is used for local data storage, querying, and offline synchronization on a project-by-project basis. This module includes a database management submodule and a synchronization submodule. The database management submodule is responsible for creating the local database, managing table structure, and performing data insertion, querying, and updating operations. The synchronization submodule is responsible for synchronizing data with an external computer via Wi-Fi or USB cable. The synchronization submodule includes a synchronization conflict arbitration unit, which performs conflict detection and alerts during incremental synchronization using a composite primary key of "project unique identifier + site unique number + observation period number".

[0104] The statistical analysis output module automatically generates settlement curves, rate graphs, and standardized results reports. This module includes a chart generation submodule, a report generation submodule, and a file export submodule. The chart generation submodule plots settlement-time curves and settlement rate bar charts based on the queried data. The report generation submodule generates standardized results reports according to the format requirements of the "Code for Measurement of Building Deformation". The file export submodule exports the generated charts and reports as PDF or Excel files.

[0105] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.

Claims

1. A method for automatic recording and statistical analysis of building settlement observation data, characterized in that, include: Create observation projects locally on the mobile terminal and establish a project database containing the location codes of each settlement observation point and the associated initial elevation data; During on-site observation, the location code is identified by scanning the barcode label preset on the target observation point, and the historical elevation data of the target observation point is automatically retrieved from the project database according to the location code; Obtain the current elevation reading of the target observation point, automatically record the observation timestamp, and associate the current elevation reading with the historical elevation data and store it in the project database; The settlement characteristic value of the target observation point is automatically calculated based on the current elevation reading and the historical elevation data. The settlement characteristic value is compared with a preset warning threshold, and an immediate warning prompt is generated on the mobile terminal when the warning conditions are met; wherein, the settlement characteristic value includes at least the single settlement amount and the cumulative settlement amount; The observation data is stored in the local database of the mobile terminal according to a three-level directory structure of project name-observation period-location number; wherein, the data synchronization between the mobile terminal and external devices is only performed offline via wireless LAN or USB data cable. In response to the user's statistical analysis instructions, based on the selected statistical range and the data stored in the local database, the system automatically generates settlement-time curves and / or standardized results reports, and supports exporting them to general format files.

2. The method for automatic recording and statistical analysis of building settlement observation data according to claim 1, characterized in that: The historical elevation data includes the initial elevation value of the target observation point and the elevation value of the previous observation period; The settlement characteristic values ​​also include settlement rate; Record the elevation reading for this period as follows: The elevation for the previous observation period was The initial elevation is The cumulative number of observation days is The single settlement amount is The cumulative settlement is The settling rate is , The formula for calculating the single settlement amount is: ; The formula for calculating the cumulative settlement is: ; The formula for calculating the settling rate is: ; The warning conditions include any one of the following: the single settlement amount exceeds the single settlement threshold, the cumulative settlement amount exceeds the cumulative settlement threshold, and the settlement rate exceeds the preset rate threshold.

3. The method for automatic recording and statistical analysis of building settlement observation data according to claim 1, characterized in that, The process of obtaining the current elevation reading of the target observation point includes: It establishes a connection with the electronic level via Bluetooth communication protocol and automatically receives the current period's elevation measurement data sent by the electronic level. or, In response to the user's input operation on the input interface of the mobile terminal, the system receives the current period's elevation reading input by the user.

4. The method for automatic recording and statistical analysis of building settlement observation data according to claim 1, characterized in that, It also includes a benchmark stability verification step: In response to a user scanning a benchmark barcode marker located in a stable area, the current elevation of the benchmark is obtained. The current elevation of the benchmark point is compared with the initial elevation of the pre-stored benchmark point by the difference. When the difference exceeds the preset benchmark point change threshold, a benchmark point instability alarm is generated and data entry for the current observation period is suspended until a confirmation command is received from the user.

5. The method for automatic recording and statistical analysis of building settlement observation data according to claim 1 or 2, characterized in that, After generating the immediate warning, the system also includes a verification and locking step: The observation data that triggers the warning is marked as pending review, and the original data is locked to prevent direct modification or deletion; Responding to on-site review comments input by operators with Level 2 privileges; If the review opinion confirms that the data is correct, then the observed data is marked as confirmed as abnormal and the warning record is retained; If the review opinion is that the data is invalid, record the invalidation mark and the reason for invalidation, and allow the retest data to be entered.

6. The method for automatic recording and statistical analysis of building settlement observation data according to claim 1, characterized in that, The data synchronization between the mobile terminal and external devices employs an anti-collision mechanism: Incremental synchronization is performed using a composite primary key: project unique identifier - site unique number - observation period number. The external device, acting as a data aggregation point, has no remote modification authority over the original observation data. When a duplicate composite primary key is detected, the user is prompted to choose between skipping or overwriting the operation; the overwriting operation requires verification of administrator privileges before execution.

7. The method for automatic recording and statistical analysis of building settlement observation data according to claim 1, characterized in that, The automatic recording of observation timestamps includes: The standard satellite time is obtained by calling the satellite positioning module of the mobile terminal, and the satellite time is used as the observation timestamp; When the deviation between the system time of the mobile terminal and the satellite time synchronization time exceeds a preset deviation threshold, the data entry interface is locked and a time abnormality is indicated.

8. The method for automatic recording and statistical analysis of building settlement observation data according to claim 2, characterized in that, It also includes subsidence trend prediction and early warning steps: Retrieve the settlement rate of the target observation point for the most recent N consecutive periods, where N≥3; The least squares method was used to perform a linear fit on the settlement rate of the N periods, and the slope of the rate change was calculated. When the slope of the rate change shows an increasing trend and exceeds a preset slope threshold, an abnormal trend warning is generated; wherein, the warning level of the abnormal trend warning is lower than the warning level when the settlement characteristic value exceeds the preset warning threshold.

9. The method for automatic recording and statistical analysis of building settlement observation data according to claim 1, characterized in that, It also includes the steps for recording observation conditions: The location information of the current observation point is obtained through the positioning module of the mobile terminal; Get current weather conditions, temperature, and humidity information; The location information, weather conditions, temperature, and humidity information are stored as supplementary information to the observation data in the local database.

10. The method for automatic recording and statistical analysis of building settlement observation data according to claim 1, characterized in that, The barcode is a static QR code made of waterproof and weather-resistant material, and the information it encodes includes at least the location code and the project identification code.

11. An automatic recording and statistical analysis system for building settlement observation data, characterized in that, include: The point identification module is used to identify the point code by scanning the barcode mark preset on the observation point, and retrieve the corresponding historical elevation data from the local project database according to the point code; The data acquisition module is used to acquire the current elevation reading and record the observation timestamp, and to associate and store the current elevation reading with the historical elevation data; The settlement calculation and early warning module has an embedded settlement characteristic value calculation model, which is used to automatically calculate the single settlement and cumulative settlement based on the current elevation reading and the historical elevation data, and trigger an immediate early warning when the single settlement or cumulative settlement meets the preset early warning conditions. The local storage management module is used to store observation data in the local database of the mobile terminal according to a three-level directory structure of project name-observation period-location number, and realize offline data synchronization with external devices only through wireless LAN or USB data cable; as well as The statistical analysis output module is used to automatically generate settlement-time curves and / or standardized results reports based on the statistical range selected by the user, and supports exporting to common format files.

12. The automatic recording and statistical analysis system for building settlement observation data according to claim 11, characterized in that, The local storage management module includes a synchronization conflict arbitration submodule; the synchronization conflict arbitration submodule is used to perform incremental synchronization using the project unique identifier-point unique number-observation period as a composite primary key, and to perform conflict detection and prompt when duplicate composite primary keys are detected.

13. The automatic recording and statistical analysis system for building settlement observation data according to claim 11, characterized in that, The settlement calculation and early warning module also includes a trend prediction unit; the trend prediction unit is used to obtain the settlement rate of the target observation point for the most recent N consecutive periods, perform linear fitting using the least squares method and calculate the slope of the rate change, and generate a trend anomaly early warning when the slope of the rate change shows an increasing trend and exceeds a preset slope threshold.