Leveling method, system, and storage medium

By combining electronic equipment and GNSS equipment, a leveling data record table is generated, which solves the problems of low efficiency and insufficient data correlation in leveling methods, and realizes high-precision leveling data recording and the construction of elevation control networks.

CN120403548BActive Publication Date: 2026-06-19NAT GEOMATICS CENT OF CHINA

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NAT GEOMATICS CENT OF CHINA
Filing Date
2025-04-27
Publication Date
2026-06-19

AI Technical Summary

Technical Problem

Existing leveling methods are inefficient, prone to errors in writing or calculation, and cannot establish a correlation between leveling data and geographical location, making it difficult to locate abnormal data.

Method used

Through communication between the first and second electronic devices, combined with GNSS equipment, the longitude and latitude data of the observation station are acquired, a leveling measurement data record table is generated, the data is correlated with the geographical location, and the data validity is verified by a data verification engine to generate a record table containing anomaly indicators.

🎯Benefits of technology

It improves the efficiency and accuracy of leveling, ensures data accuracy, reduces human error, realizes the correlation between leveling data and geographical location, and enhances the overall accuracy and data processing efficiency of the elevation control network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120403548B_ABST
    Figure CN120403548B_ABST
Patent Text Reader

Abstract

This application provides a leveling method, system, and storage medium. The method utilizes a second electronic device capable of acquiring the longitude and latitude data of an observation station to accurately record the station's geographical location. A leveling data record table is generated based on the station number, geodetic height, stadia distance, rod readings, observation time, elevation difference, longitude, and latitude data, thus establishing a correlation between the leveling data and the geographical location. This facilitates the overall accuracy and data processing efficiency of the subsequent elevation control network constructed based on the leveling data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of leveling, and more particularly to a leveling method, system and storage medium. Background Technology

[0002] A vertical control network is a part of a geodetic control network. It is a network consisting of a series of uniform and precise ground points within a country or region, constructed using leveling survey data. Currently, vertical control networks are typically built using leveling survey data obtained through leveling methods.

[0003] However, the current leveling measurement method requires surveyors to manually record leveling measurement data, which is not only inefficient, but also prone to errors in writing or calculation due to manual copying and input.

[0004] Furthermore, because the current leveling methods lack spatial positioning information, it is impossible to establish a correlation between leveling data and geographical location, and the location of abnormal data is also relatively difficult. Summary of the Invention

[0005] To address the aforementioned technical problems, embodiments of this application provide a leveling method, system, and storage medium, aiming to establish a strong correlation between leveling data and geographical location, thereby enabling the construction of a high-precision elevation control network based on high-precision geographical coordinate information and other leveling data.

[0006] In a first aspect, embodiments of this application provide a leveling measurement method applied to a leveling measurement system. The leveling measurement system includes a first electronic device and a second electronic device, which are communicatively connected and located at the same position. The leveling measurement method includes: the first electronic device acquiring first measurement data corresponding to each observation station, the first measurement data including station number data, geodetic height data, stadia distance data, rod reading data, observation time data, and elevation difference data; the second electronic device acquiring second measurement data corresponding to each observation station, the second measurement data including longitude data and latitude data; and the second electronic device generating a leveling measurement data record table based on the first and second measurement data.

[0007] In this way, by using a second electronic device that can obtain the longitude and latitude data of the observation station, the geographical location of the observation station is accurately recorded. By generating a leveling measurement data record table based on the station number data, geodetic height data, stadia distance data, rod reading data, observation time data, elevation difference data, as well as longitude and latitude data, the correlation between leveling measurement data and geographical location is realized, which facilitates the overall accuracy and data processing efficiency of the elevation control network subsequently constructed based on the leveling measurement data.

[0008] According to the first aspect, the second electronic device does not have a positioning function, and the leveling system further includes: a third electronic device, which is communicatively connected to the second electronic device and located at the same position as the first electronic device; the third electronic device acquires the second measurement data corresponding to each observation station and sends the second measurement data to the second electronic device.

[0009] In this way, even if the second electronic device does not have a positioning function, by connecting a third electronic device and placing the third electronic device in the same position as the first and second electronic devices, the longitude and latitude information of the current observation station can be obtained.

[0010] According to the first aspect, or any implementation thereof, the second electronic device generates a leveling measurement data record table based on the first measurement data and the second measurement data, including: the second electronic device using each measurement data included in the first and second measurement data as a column header, injecting it into a newly created first document to obtain a header row; the second electronic device injecting the file name of the leveling measurement data record table and the measurement information of this leveling measurement under the header row to obtain a leveling measurement information row; the second electronic device injecting the start time information of this leveling measurement under the leveling measurement information row to obtain a leveling measurement start time row; the second electronic device injecting the leveling measurement data corresponding to each column header obtained from the first and second measurement data under the leveling measurement start time row; and the second electronic device saving the first document and generating the leveling measurement data record table after the leveling measurement is completed.

[0011] In this way, a leveling data record table containing longitude and latitude data can be obtained, thus realizing the correlation between leveling data and geographical location.

[0012] According to the first aspect, or any implementation of the first aspect above, before the second electronic device injects each of the measurement data included in the first measurement data and the second measurement data as column headers into a newly created first document to obtain a header row, the method further includes: the second electronic device determining a first distance between two adjacent observation stations based on the first measurement data of two adjacent observation stations; the second electronic device determining a second distance between two adjacent observation stations based on the second measurement data of two adjacent observation stations; and if the difference between the first distance and the second distance is less than or equal to a preset distance, the second electronic device performs the step of injecting each of the measurement data included in the first measurement data and the second measurement data as column headers into a newly created first document to obtain a header row.

[0013] In this way, when generating the leveling data record table based on the first and second measurement data, the validity of the measurement data obtained in this leveling measurement can be determined by comparing the relationship between the first distance determined based on the first measurement data and the second distance determined based on the second measurement data. This achieves data verification and ensures the overall accuracy of the elevation control network subsequently constructed based on the data recorded in the leveling data record table.

[0014] According to the first aspect, or any implementation of the first aspect above, the method further includes: when the difference between the first distance and the second distance is greater than a preset distance, the second electronic device uses each measurement data included in the first measurement data and the second measurement data as a column header, injects it into a newly created first document to obtain a header row, and inserts a data anomaly column header into the header row; wherein, under the leveling measurement start time row, the second electronic device injects the leveling measurement data corresponding to each column header obtained from the first measurement data and the second measurement data, including: under the leveling measurement start time row, the second electronic device injects the leveling measurement data corresponding to each column header obtained from the first measurement data and the second measurement data, and injects an anomaly identifier at the position corresponding to the data anomaly column header.

[0015] In this way, it becomes possible to identify which leveling measurement data are abnormal, and thus achieve anomaly tracking.

[0016] According to the first aspect, or any implementation of the first aspect above, the method further includes: the second electronic device inserts a leveling data start line between the header line and the leveling information line, and injects a leveling data start identifier into the leveling data start line.

[0017] Among them, the starting identifier of the leveling measurement data is, for example, "#######################START OFFILE#####################".

[0018] Understandably, the "#" in the starting identifier of leveling data should be used to ensure that there is only one "#" before the identifier content, such as "START OF FILE", and there is no limit to the specific number. The identifier content in the starting identifier of leveling data, such as "START OF FILE", can also be modified as needed.

[0019] This effectively improves the readability of the leveling data record sheet.

[0020] According to the first aspect, or any implementation of the first aspect above, the method further includes: the second electronic device inserts a leveling data end line below the last line of leveling data, and injects a leveling data end identifier into the leveling data end line.

[0021] The end marker for leveling measurement data is, for example, “##########################END OFFILE####################################

[0022] Understandably, the "#" in the leveling data end marker should be used to ensure that there is only one "#" before the marker content, such as "START OF FILE", and there is no limit to the specific number. The marker content in the leveling data end marker, such as "END OF FILE", can also be modified as needed.

[0023] This effectively improves the readability of the leveling data record sheet.

[0024] According to the first aspect, or any implementation of the first aspect above, before saving the first document, the method further includes: the second electronic device inserting a comment line above the header line and / or below the end line of the leveling data, and injecting comment information describing the leveling data record table into the comment line.

[0025] The annotation information injected into the annotation line may include information describing the leveling measurement data recording table, such as "##COMMENT High precision leveling measurement recording electronic program", and creator information, such as "##COMMENT The File is created by ZS".

[0026] This effectively improves the readability of the leveling data record sheet.

[0027] According to the first aspect, or any of the above implementations of the first aspect, two adjacent column headers in the header row are separated by a preset separator.

[0028] The preset separator can be a space, a comma (、), a semicolon (;), etc.

[0029] Each column header in the header row can occupy 10 columns.

[0030] Secondly, embodiments of this application provide a leveling system. The leveling system includes a first electronic device and a second electronic device, the first electronic device being communicatively connected to the second electronic device and located at the same position, for executing instructions of the method in the first aspect or any possible implementation thereof.

[0031] The first electronic device is used to: acquire first measurement data corresponding to each observation station, the first measurement data including the station number data, geodetic height data, stadia distance data, scale reading data, observation time data, and elevation difference data of the observation station;

[0032] The second electronic device is used to: acquire second measurement data corresponding to each observation station, the second measurement data including longitude and latitude; and generate a leveling measurement data record table based on the first measurement data and the second measurement data.

[0033] According to the second aspect, the first electronic device is an electronic level.

[0034] According to the second aspect, or any implementation of the second aspect above, the second electronic device has a positioning function.

[0035] The second electronic device is, for example, an electronic device equipped with a Global Navigation Satellite System (GNSS), such as a tablet computer or a mobile phone.

[0036] In this way, longitude and latitude data of the observation station can be obtained in real time without the need for a third electronic device specifically designed for positioning.

[0037] According to the second aspect, or any implementation of the second aspect above, the second electronic device does not have a positioning function, and the leveling system further includes: a third electronic device, which is communicatively connected to the second electronic device and is located at the same position as the first electronic device;

[0038] A third electronic device, used for:

[0039] Acquire the second measurement data corresponding to each observation station and send the second measurement data to the second electronic device.

[0040] The third electronic device is, for example, a GNSS receiver.

[0041] In this way, even if the second electronic device does not have a positioning function, by connecting a third electronic device and placing the third electronic device in the same position as the first and second electronic devices, the longitude and latitude information of the current observation station can be obtained.

[0042] The second aspect and any implementation thereof correspond to the first aspect and any implementation thereof, respectively. The technical effects of the second aspect and any implementation thereof are similar to those of the first aspect and any implementation thereof, and will not be repeated here.

[0043] Thirdly, embodiments of this application provide a computer-readable medium for storing a computer program, the computer program including instructions for performing the method in the first aspect or any possible implementation of the first aspect. Attached Figure Description

[0044] Figure 1 This is a schematic diagram illustrating an application scenario of leveling measurement;

[0045] Figure 2 This is an example of a paper leveling handbook;

[0046] Figure 3A This is a schematic diagram illustrating an embodiment of the leveling system provided in this application;

[0047] Figure 3B This is a schematic diagram illustrating yet another embodiment of the leveling system provided in this application;

[0048] Figure 4 This is a schematic flowchart illustrating a leveling measurement method provided in an embodiment of this application;

[0049] Figure 5A An example of a method based on Figure 4 The leveling data record table generated by the leveling method shown does not have any data anomaly column headers or anomaly identifiers.

[0050] Figure 5B An example of a method based on Figure 4 The leveling data record table generated by the leveling method shown has columns for data anomalies and anomaly identifiers.

[0051] Figure 6 This is a schematic flowchart illustrating another embodiment of the leveling method provided in this application;

[0052] Figure 7 An example of a method based on Figure 6 A leveling data record table generated by the leveling method shown;

[0053] Figure 8 This is a schematic flowchart illustrating another embodiment of the leveling method provided in this application;

[0054] Figure 9 An example of a method based on Figure 8 A leveling data record table generated by the leveling method shown;

[0055] Figure 10 This is a schematic diagram of the structure of various electronic devices in a leveling system, which is an example of such a system. Detailed Implementation

[0056] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0057] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone.

[0058] The terms "first" and "second," etc., used in the specification and claims of this application are used to distinguish different objects, not to describe a specific order of objects. For example, "first target object" and "second target object," etc., are used to distinguish different target objects, not to describe a specific order of target objects.

[0059] In the description of the embodiments of this application, the words "exemplary," "for example," or "optionally" are used to indicate examples, illustrations, or explanations. Any embodiment or design that is described as "exemplary," "for example," or "optionally" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design options. Specifically, the use of the words "exemplary," "for example," or "optionally" is intended to present the relevant concepts in a specific manner.

[0060] In the description of the embodiments in this application, unless otherwise stated, "multiple" means two or more. For example, multiple processing units means two or more processing units; multiple systems means two or more systems.

[0061] In the description of the embodiments of this application, unless otherwise stated, the dashed lines appearing in the drawings are for illustration only. That is, they are not shown in actual use.

[0062] A vertical control network is a part of a geodetic control network. It is a network formed by determining the elevation of a series of uniform and precise ground points within a country or region. Currently, vertical control networks are typically constructed using leveling data obtained through leveling methods. To better understand leveling, the following section combines... Figure 1 Please provide an explanation.

[0063] See Figure 1For example, according to the relevant regulations for leveling, the elevation point (an observation station) pointed to by the direction of travel, such as observation station B, is the foresight point. The elevation point pointed to by the direction opposite to the direction of travel, such as observation station A, is the backsight point.

[0064] Among these, the elevation of the backsight point, such as HA (the plumb distance from the backsight point to the geoid), is known. During leveling, methods such as... Figure 1 The horizontal line of sight provided by the level instrument 100 shown in the figure allows for the acquisition of backsight readings (e.g. a) and foresight readings (e.g. b) on two leveling rods (foresight rod and backsight rod). Then, based on the relationship between the foresight readings, backsight readings, the elevation of the foresight point, the elevation of the backsight point, and the elevation difference (relative elevation of the foresight point and the backsight point), the unknown parameter information among the above parameters can be deduced.

[0065] Among them, the foresight reading (e.g., b), the backsight reading (e.g., a), the elevation of the foresight point (e.g., HB), the elevation of the backsight point (e.g., HA), and the elevation difference (e.g., hAB) satisfy the relationship "hAB = ab = HB - HA". Based on this, given the backsight and foresight readings, the elevation difference between the foresight and backsight points can be calculated.

[0066] Accordingly, given the elevation difference between the foresight and backsight points and the elevation of the backsight point, the elevation of the foresight point (the plumb distance from the foresight point to the geoid) can be calculated based on the above relationship.

[0067] Furthermore, given the foresight reading (e.g. b), backsight reading (e.g. a), elevation of the foresight point (e.g. HB), and elevation of the backsight point (e.g. HA), the distance from the horizontal line of sight to the geoid (e.g. Hi) can be determined.

[0068] Among them, Hi, a, b, HA, and HB satisfy the relationship "Hi = HA + a = HB + B".

[0069] Therefore, by starting from the leveling point or any backsight point with a known elevation, and measuring each station along the selected leveling path, we can obtain the leveling data of each observation station in the forward direction, such as the foresight reading, backsight reading, and elevation of the backsight point. Then, based on the above two sets of relationships, we can calculate the elevation, elevation difference, and distance from the horizontal line of sight to the geoid of each observation station in the forward direction.

[0070] In this way, an elevation control network can be constructed based on the obtained leveling data such as hAB, a, b, HA, HB, Hi, and hAB.

[0071] However, the current leveling methods require surveyors to manually record the leveling data measured by the leveling instrument 100, and to calculate unknown leveling parameters based on the two sets of relationships mentioned above. For example, during the leveling process, the surveyor records the data in a paper leveling handbook (such as...). Figure 2 As shown, record the foresight, backsight, foresight reading, backsight reading, foresight elevation (also known as foresight stadia distance), and backsight elevation (also known as backsight stadia distance) of different station numbers in turn, and calculate and record the corresponding elevation differences based on these recorded leveling data.

[0072] In addition, for easy reference later, the leveling survey book will also record the leveling survey date, weather, air pressure, temperature, instrument model and altitude of the level used, as well as the person who filled in the relevant information in the leveling survey book.

[0073] As described above, recording and calculating leveling data using paper-based leveling notebooks is time-consuming and slows down the work process, reducing efficiency. Furthermore, manual copying and calculation may introduce errors or mistakes.

[0074] In addition, paper leveling tools are thin and easily affected by moisture, dirt, and loss, and long-term preservation is costly and inconvenient.

[0075] Furthermore, when the leveling data recorded in the paper leveling handbook is subsequently entered into the electronic system, the large amount of data and the cumbersome processing will increase the risk of secondary errors.

[0076] In view of this, embodiments of this application provide a leveling system and a leveling method applied to the leveling system to solve the above-mentioned technical problems existing in current leveling schemes.

[0077] See Figure 3A The illustration shows a leveling system provided in an embodiment of this application.

[0078] like Figure 3A As shown, the leveling system provided in this application embodiment may include a first electronic device 200 and a second electronic device 300, and a communication connection is established between the first electronic device 200 and the second electronic device 300.

[0079] For example, in some implementations, the first electronic device 200 is, for example, a level.

[0080] Specifically, in this embodiment of the application, in order to achieve automatic recording of leveling measurement data, the first electronic device 200 can be an electronic level, such as... Figure 3A The electronic level 200 shown in the figure.

[0081] The electronic level 200 can be equipped with a built-in memory, or an external memory, or can be connected to a communication technology (wireless communication technology, mobile communication technology, or wired communication technology) to record and transmit the first measurement data obtained from the measurement, such as the station number data of the observation station, the geodetic height data, the stadia distance data, the rod reading data, the observation time data, the elevation difference data, etc.

[0082] It should be understood that the above description is merely an example provided to better understand the technical solution of this embodiment, and is not intended to be the only limitation of this embodiment.

[0083] See also Figure 3A For example, in some implementations, the second electronic device 300 can be a device with positioning capabilities, such as a tablet computer or a mobile phone. In this way, the longitude and latitude data of the observation station can be obtained in real time without the need for a third electronic device specifically designed for positioning.

[0084] The second electronic device can integrate a GNSS integration module. In this way, the second electronic device 300 can acquire the second measurement data corresponding to the observation station in real time through its built-in GNSS integration module, namely, the geographical location information of its current location, such as longitude and latitude data.

[0085] Furthermore, it should be noted that in the leveling system provided in this application embodiment, during the leveling process, the first electronic device 200 and the second electronic device 300 can establish a communication connection via Bluetooth, Wi-Fi, or other communication technologies. In this way, the first electronic device 200 can transmit the first measurement data obtained from the measurement to the second electronic device 300, thereby enabling the second electronic device 300 to automatically generate a leveling measurement data record table based on the received first measurement data and the second measurement data obtained from its own positioning. This record table includes station number data, geodetic height data, stadia distance data, rod reading data, observation time data, elevation difference data, longitude data, and latitude data.

[0086] In addition, it should be noted that the second electronic device 300 may also include a data verification engine (or data verification module).

[0087] The data verification engine can determine the distance between two observation stations (hereinafter referred to as the first distance) based on the first measurement data provided by the first electronic device 200, and determine the distance between two observation stations (hereinafter referred to as the second distance) based on the second measurement data (longitude and latitude data corresponding to the two observation stations) obtained by the GNSS integration module. If the difference between the first distance and the second distance meets the preset requirements, such as being less than or equal to the preset distance, such as 10 meters, the first measurement data and the second measurement data corresponding to the two observation stations are determined to be valid, thereby triggering the second electronic device 200 to perform the operation of generating a leveling measurement data record table based on the first measurement data and the second measurement data.

[0088] In this way, when generating the leveling data record table based on the first and second measurement data, the validity of the measurement data obtained in this leveling measurement can be determined by comparing the relationship between the first distance determined based on the first measurement data and the second distance determined based on the second measurement data. This achieves data verification and ensures the overall accuracy of the elevation control network subsequently constructed based on the data recorded in the leveling data record table.

[0089] Furthermore, it should be noted that if the data verification engine determines that the difference between the first and second distances does not meet the requirements, such as being greater than the preset distance, a data anomaly column header can be added to the leveling measurement data record table, and an anomaly identifier can be injected into the corresponding position of the data anomaly column header in the row containing the leveling measurement data. This facilitates subsequent tracking and location of the anomaly.

[0090] Furthermore, it should be noted that, in order to ensure that the difference between the first distance and the second distance determined by the data verification engine meets the requirements as much as possible, the second electronic device 300 can be located in the same position as the first electronic device 200. For example, the second electronic device 300 can be placed on top of the first electronic device 200, or placed within a preset range.

[0091] It should be understood that the above description is merely an example provided to better understand the technical solution of this embodiment, and is not intended to be the only limitation of this embodiment.

[0092] In this way, by automatically generating a leveling measurement data record table based on the station number data, geodetic height data, stadia distance data, rod reading data, observation time data, elevation difference data, as well as longitude and latitude data, the operation speed is improved and the errors in the operation process are reduced.

[0093] Furthermore, by using a second electronic device capable of obtaining longitude and latitude data of the observation station, accurate recording of the observation station's geographical location was achieved. When automatically generating the leveling measurement data record table, fields corresponding to the longitude and latitude data were added, realizing the correlation between leveling measurement data and geographical location. This compensates for the problem of the lack of spatial positioning information in the current leveling measurement methods, which makes it difficult to locate abnormal data.

[0094] Furthermore, it should be noted that the second electronic device 300 can also integrate / install applications / software that interface with a Geographic Information System (GIS). In this way, after obtaining the leveling measurement data record table containing longitude and latitude data, the second electronic device 300 can directly access the GIS and automatically calculate regional curvature corrections, projection surface conversion parameters, and other operations using the leveling measurement data recorded in the record table, such as longitude and latitude data. This further improves the overall accuracy and data processing efficiency of the subsequent elevation control network constructed based on the leveling measurement data.

[0095] For leveling methods suitable for this leveling system, please refer to [link / reference]. Figures 4 to 9 The description of the illustrated embodiment will not be repeated here.

[0096] See Figure 3B This example illustrates yet another leveling system provided in this application.

[0097] like Figure 3B As shown, the leveling system provided in this application embodiment may include a first electronic device 200, a second electronic device 300, and a third electronic device 400, wherein the second electronic device 300 establishes a communication connection with the first electronic device 200 and the third electronic device 400 respectively.

[0098] In this embodiment of the application, the first electronic device 200 and Figure 3A The first electronic device 200 shown in the embodiment is identical. For specific details regarding the first electronic device 200, please refer to... Figure 3A The description of the illustrated embodiment will not be repeated here.

[0099] In this embodiment, the second electronic device 300 lacks positioning functionality. In this case, to ensure that the generated leveling data record table includes both longitude and latitude information, the second electronic device 300 can communicate with a third electronic device 400 that possesses positioning functionality. Thus, even when the second electronic device 300 lacks positioning functionality, by connecting the third electronic device 400 and having it provide longitude and latitude data, a leveling data record table reflecting the correlation between leveling data and geographical location can be generated.

[0100] Furthermore, for specific details regarding the data verification engine in the second electronic device 300 in this application embodiment, please refer to [link to relevant documentation]. Figure 3A The description of the illustrated embodiment will not be repeated here.

[0101] The third electronic device 400 is, for example, a GNSS receiver.

[0102] Furthermore, it should be noted that, in order to ensure that the difference between the first distance and the second distance determined by the data verification engine meets the requirements as much as possible, the third electronic device 400 can be located in the same position as the first electronic device 200. For example, the third electronic device 400 can be placed on top of the first electronic device 200, or placed within a preset range.

[0103] Furthermore, it should be noted that in this implementation, i.e., in the scenario where the second electronic device 300 does not have a positioning function, the second electronic device 300 can be in the same location as the first electronic device 200 and the third electronic device 400, or it can be in a different location.

[0104] For leveling methods suitable for this leveling system, please refer to [link / reference]. Figures 4 to 9 The description of the illustrated embodiment will not be repeated here.

[0105] Furthermore, it should be noted that in some implementations, such as scenarios where the first electronic device has a positioning function, the operations described above, which are performed by the second electronic device, can also be performed by the first electronic device, which has a positioning function.

[0106] The following uses the leveling system as an example. Figure 3A Taking the leveling system shown as an example, combined with Figures 4 to 9 The implementation details of the leveling method provided in the embodiments of this application are described in detail. The following implementation details are provided for ease of understanding only and are not necessary for implementing this solution.

[0107] See Figure 4 The present invention provides an exemplary method for leveling, which may include the following steps:

[0108] S101, the first electronic device acquires the first measurement data corresponding to each observation station.

[0109] The first measurement data may include the station ID, height, horizontal distance, staff reading, obsTime, and elevation difference data.

[0110] For example, in some implementations, the sight distance can include foresight and backsight distances, i.e., the elevation of the foresight point and the elevation of the backsight point. Scale reading can include foresight scale readings and backsight scale readings.

[0111] Furthermore, it should be noted that, since the elevation point pointing in the opposite direction to the forward direction among two adjacent observation stations (or elevation points) can be considered as the backsight point corresponding to the elevation point pointing in the forward direction, in some implementations, the sight distance can also include only the foresight distance, i.e., the elevation of the foresight point. Thus, by obtaining the first measurement data corresponding to the backsight point adjacent to the foresight point, the elevation of the backsight point corresponding to that foresight point can be determined.

[0112] Accordingly, the scale reading can also include only the foresight scale reading. In this way, by obtaining the first measurement data corresponding to the backsight point adjacent to the foresight point, the backsight scale reading corresponding to the foresight point can be obtained.

[0113] It should be understood that the above examples are merely examples listed for the purpose of better understanding the technical solutions of this embodiment, and are not intended to be the only limitation of this embodiment.

[0114] The data structure of the first measurement data corresponding to each observation station acquired by the first electronic device can be as follows:

[0115]

[0116] The unit of Height is meters (m), and the precision can be up to 3 decimal places.

[0117] It should be understood that the above examples are merely illustrative examples for better understanding of the technical solution of this embodiment and are not intended to be the sole limitation of this embodiment. In practical applications, the data structure of the first measurement data may also include fields corresponding to other leveling measurement data as needed.

[0118] S102, the second electronic device uses each measurement data included in the first measurement data and the second measurement data as a column header, and injects it into the newly created first document to obtain a header row.

[0119] The second measurement data may include the longitude and latitude data corresponding to the current measurement station.

[0120] The data structure of the second measurement data corresponding to each observation station acquired by the second electronic device can be as follows:

[0121]

[0122] The coordinate system used for Latitude and Longitude can be determined based on the positioning satellites accessed by the integrated GNSS module.

[0123] For example, if the GNSS integrated module accesses Global Positioning System (GPS) satellites, then the coordinate system used for Latitude and Longitude can be the WGS84 coordinate system. In this coordinate system, the accuracy of Latitude and Longitude can be six decimal places.

[0124] It should be understood that the above examples are merely illustrative examples provided to better understand the technical solution of this embodiment and are not intended to be the sole limitation of this embodiment. In practical applications, the data structure of the second measurement data may also include fields corresponding to other leveling measurement data as needed. For example, temperature field, air pressure field, humidity field, etc.

[0125] The temperature data corresponding to the temperature field can be obtained through a built-in or external temperature sensor of the second electronic device; the air pressure data corresponding to the air pressure field can be obtained through a built-in or external air pressure sensor of the second electronic device; and the humidity data corresponding to the humidity field can be obtained through a built-in or external humidity sensor of the second electronic device.

[0126] It should be understood that the above examples are merely examples listed for the purpose of better understanding the technical solutions of this embodiment, and are not intended to be the only limitation of this embodiment.

[0127] Taking the first and second measurement data of the above data structure as an example, in some implementations, when the second electronic device performs step S102, it can first integrate the first and second measurement data.

[0128] For example, the data structure of the integrated measurement data can be as follows:

[0129]

[0130] It should be understood that the above examples are merely examples listed for the purpose of better understanding the technical solutions of this embodiment, and are not intended to be the only limitation of this embodiment.

[0131] In this way, when generating a leveling measurement data record, the header row can be obtained by parsing the data structure of the integrated measurement data, extracting the corresponding fields as column headers, and injecting them into the newly created first document.

[0132] For example, in some other implementations, when the second electronic device performs step S102, it may not integrate the first and second measurement data, but directly parse the data structures of the first and second measurement data, extract the corresponding fields sequentially, and remove duplicate fields. Then, the fields obtained after removing duplicate fields are used as column headers and injected into the newly created first document to obtain the header row.

[0133] It should be understood that the above examples are merely examples listed for the purpose of better understanding the technical solutions of this embodiment, and are not intended to be the only limitation of this embodiment.

[0134] For example, in some implementations, to improve readability, two adjacent column headers in the header row can be separated by a preset separator.

[0135] The preset separator can be a space, a comma (、), a semicolon (;), etc.

[0136] It should be understood that the above examples are merely examples listed for the purpose of better understanding the technical solutions of this embodiment, and are not intended to be the only limitation of this embodiment.

[0137] Furthermore, it should be noted that the first document mentioned in the embodiments of this application can be a blank document. The format of the blank document can be a document in the form of Notepad, WordPad, Word, Excel, etc.

[0138] Furthermore, it should be noted that, in order to ensure the validity of the leveling data in the subsequently generated leveling data record table, and thus guarantee the overall accuracy of the elevation control network constructed based on the data recorded in the leveling data record table, the second electronic device may perform the following operations before executing step S102:

[0139] (1) Determine the first distance between two adjacent observation stations based on the first measurement data of the two adjacent observation stations.

[0140] For example, in some implementations, the second electronic device can obtain the corresponding foresight readings and backsight readings from the first measurement data of two adjacent observation stations, and then calculate the first distance between the two adjacent observation stations according to the line-of-sight formula, such as the following formula (1).

[0141] D = K·(ab) + C Formula (1)

[0142] Where D is the first distance between two adjacent observation stations, K is the stadia multiplication constant (usually 100), C is the stadia addition constant (usually 0), a is the backsight reading, and b is the foresight reading.

[0143] For example, in some other implementations, when the first electronic device is a total station, the first measurement data may also include a first distance measured by the first electronic device using electromagnetic wave ranging.

[0144] It should be understood that the above examples are merely examples listed for the purpose of better understanding the technical solutions of this embodiment, and are not intended to be the only limitation of this embodiment.

[0145] (2) Determine the second distance between two adjacent observation stations based on the second measurement data of the two adjacent observation stations.

[0146] For the second distance, the second electronic device can determine it based on the longitude and latitude data corresponding to the two adjacent observation stations.

[0147] (3) Determine whether the difference between the first distance and the second distance meets the requirements, such as being less than or equal to the preset distance.

[0148] Specifically, if the difference between the first distance and the second distance is less than or equal to a preset distance, the second electronic device triggers the execution of step S102.

[0149] If the difference between the first distance and the second distance is greater than the preset distance, the second electronic device may also insert a data anomaly column header in the header row during the execution of step S102.

[0150] For example, in some implementations (implementation 1), a data anomaly column header can be inserted into the header row only if the difference between the first distance and the second distance is greater than a preset distance. In this case, it is only necessary to inject an anomaly identifier in the column corresponding to the data anomaly column header in the corresponding data row; in other rows of normal data, no anomaly identifier is injected in the column corresponding to the data anomaly column header.

[0151] For example, in some other implementations (implementation 2), a data anomaly column header can also be inserted into the header row by default. In this case, if the difference between the first distance and the second distance is greater than a preset distance, an anomaly identifier is injected into the position corresponding to the column where the data anomaly column header is located in the corresponding data row; if the difference between the first distance and the second distance is less than or equal to the preset distance, no anomaly identifier is injected into the position corresponding to the column where the data anomaly column header is located in the corresponding data row, or a normal identifier is injected.

[0152] It should be understood that the above examples are merely examples listed for the purpose of better understanding the technical solutions of this embodiment, and are not intended to be the only limitation of this embodiment.

[0153] In addition, it should be noted that since multiple observation stations may be leveled during the actual leveling process, the first electronic device automatic accumulation sequence number can be added to the header row to facilitate the readability of the subsequent leveling data record table.

[0154] Furthermore, it should be noted that in some implementations, each column header in the header row can use a simplified letter as needed. For example, the first electronic device automatic accumulation sequence number can be represented by "XH", the station number can be represented by the simplified letter "SI" of "StationID", the station latitude can be represented by the simplified letter "LAT" of "Latitude", the station longitude can be represented by the simplified letter "LON" of "Longitude", the station geodetic height can be represented by the simplified letter "H" of "Heigh", the line distance can be represented by the simplified letter "HD" of "Horizontal Distance", the scale reading can be represented by the simplified letter "SR" of "Staff reading", the observation time can be represented by the simplified letter "T" of "ObsTime", the elevation difference can be represented by the simplified letter "Z" of "Elevation Difference", and the data anomaly column header can be represented by "Ab".

[0155] In addition, it should be noted that in some implementations, "LAT" and "LON" can be followed by unit information, such as "(°)". "HD", "HD", and "Z" can also be followed by unit information, such as "(m)".

[0156] It should be understood that the above examples are merely examples listed for the purpose of better understanding the technical solutions of this embodiment, and are not intended to be the only limitation of this embodiment.

[0157] Taking the aforementioned implementation method 1 as an example, where the second electronic device inserts a data anomaly column header into the header row only when the difference between the first distance and the second distance is greater than a preset distance, the distribution of each column header in the header row can be as follows: Figure 5A As shown in Row_1. When the difference between the first and second distances is greater than a preset distance, the distribution of the column headers in the header row can be as follows: Figure 5B As shown in Row_1.

[0158] Furthermore, it should be noted that in some implementations, each column header in the header row can occupy 10 columns. For example... Figure 5A or Figure 5B As shown, column header "XH" occupies columns 1-10, column header "SI" occupies columns 11-20, column header "LAT" occupies columns 21-30, column header "LON" occupies columns 31-40, column header "H" occupies columns 41-50, column header "HD" occupies columns 51-60, column header "SR" occupies columns 61-70, column header "T" occupies columns 71-80, and column header "Z" occupies columns 81-90.

[0159] like Figure 5B As shown, column header "Ab" occupies columns 91 to 100.

[0160] It should be understood that the above examples are merely examples listed for the purpose of better understanding the technical solutions of this embodiment, and are not intended to be the only limitation of this embodiment.

[0161] S103, the second electronic device injects the filename of the leveling data record table and the measurement information of this leveling measurement into the header row, and obtains the leveling measurement information row.

[0162] For example, in some implementations, the information injected into the leveling information row, such as Figure 5A or Figure 5B Information injected into Row_2.

[0163] See Figure 5A or Figure 5B For example, the information injected into Row_2 could be "1 20250312.DATIYQ78-IYQ79 G". Here, "1" is the data row label, "20250312.DAT" is the file name, "IYQ78-IYQ79" are the names of the starting point (IYQ78) and ending point (IYQ79) of this leveling measurement, and "G" indicates that the measurement method for this leveling measurement is forward.

[0164] The leveling measurement methods can include Go Survey (G), Back Survey (B), Checked Go Survey (CG), and Checked Back Survey (CB).

[0165] In the G-mode scenario, a single-trip observation from the starting point to the end point is used to acquire baseline data or initial measurement results. In the B-mode scenario, after the forward measurement is completed, the observation is repeated in reverse along the same route to verify the consistency of the forward measurement data and eliminate systematic errors. In the CG-mode scenario, the forward measurement data is quality checked by comparing it with the limit requirements or introducing redundant observations (such as data from multiple time periods) to verify its reliability. In the CB-mode scenario, the accuracy of the back-measurement results is evaluated, usually by combining the calculation of the closure error or cross-checking with the forward measurement data to ensure that the measurement results meet the specifications.

[0166] See also Figure 5A or Figure 5B For example, in Row_2, the information injected can be separated from each other by a preset separator.

[0167] It should be noted that the preset separator here can be consistent with the preset separator between two adjacent column headers in the header row.

[0168] S104, the second electronic device injects the start time information of this leveling measurement into the leveling measurement information line to obtain the leveling measurement start time line.

[0169] For example, in some implementations, the style of the start time information of the current leveling measurement injected into the leveling start time line is, for example... Figure 5A or Figure 5B As shown in Row_3.

[0170] See Figure 5A or Figure 5B For example, the start time information injected into Row_3 is, for instance, "2025 1 1 0 00". That is, the start time information of this leveling measurement injected into the leveling measurement start time row includes the year, month, day, hour, minute, and second (specifically down to the second).

[0171] S105, the second electronic device injects the leveling measurement data corresponding to each column header obtained from the first measurement data and the second measurement data at the leveling measurement start time row.

[0172] Taking the same observation station and using a forward-reverse method, four leveling measurements were conducted as an example. For the observation station with station number "SI1", the leveling data obtained from these four leveling measurements can be as follows: Figure 5A or Figure 5B Shown in Row_4~Row_7.

[0173] See Figure 5A or Figure 5B For example, the leveling data obtained at the time "2025 1 1 0 0 0", that is, the leveling data obtained in the first leveling measurement (the leveling data corresponding to the backsight point), can be injected into the corresponding positions of each column header in Row_4 according to the column header.

[0174] For example, the serial number "1" is injected into columns 1 to 10 of Row_4, which correspond to the column header "XH".

[0175] For example, the station number data "SI1" can be injected into columns 11 to 20 of Row_4, corresponding to column header "SI". Here, "SI1" indicates that the current observation station is the first station on the observation section of this leveling measurement.

[0176] For example, the dimension data "N23.780778" can be injected into columns 21-30 of Row_4, corresponding to the column header "LAT". Here, "N23.780778" indicates that the latitude of the observation station with station number "SI1" is 23.780778 degrees north latitude.

[0177] For example, the longitude data "E117.628333" can be injected into columns 31 to 40 of Row_4, corresponding to the column header "LON". Here, "E117.628333" indicates that the longitude of the observation station with the station number "SI1" is 117.628333 degrees east longitude.

[0178] For example, the geodetic height data "44.258" can be injected into columns 41-50 of Row_4, corresponding to column header "H". Here, "44.258" indicates that the geodetic height of the observation station with station number "SI1" is 44.258 meters.

[0179] For example, the stadia distance data "44.241" can be injected into columns 51 to 60 of Row_4, corresponding to column header "HD". Here, "44.241" indicates that the horizontal distance from the observation station with station number "SI1" to the backsight rod is 44.241 meters.

[0180] For example, the scale reading data "1.26493" can be injected into columns 61-70 of Row_4, corresponding to column header "SR". Here, "1.26493" indicates that the backsight reading of the observation station with station number "SI1" is 1.26493 meters.

[0181] For example, the observation time data "07:20:373" is injected into columns 71-80 of Row_4, corresponding to column header "T". Here, "07:20:373" indicates that the observation time for obtaining the backsight reading of the station with station number "SI1" is 7 hours, 20 minutes and 37.3 seconds.

[0182] Because this leveling survey involves four leveling measurements (backsight, foresight, foresight, and backsight), the elevation difference between the foresight point corresponding to the foresight rod and the backsight point corresponding to the backsight rod can only be calculated after all four measurements are completed. Therefore, in Rows 4 to 6, columns 81 to 90 corresponding to column header "Z" do not contain elevation difference data. Only in Row 7, columns 81 to 90 corresponding to column header "Z" will the elevation difference calculated from the four leveling measurements (backsight, foresight, foresight, and backsight) for station "SI1" be entered. That is, the elevation difference data "-0.82607" will be entered in Row 7, columns 81 to 90 corresponding to column header "Z".

[0183] See also Figure 5A or Figure 5B For example, the leveling data obtained from the second leveling measurement (leveling data corresponding to the foresight), the leveling data obtained from the third leveling measurement (leveling data corresponding to the foresight), and the leveling data obtained from the fourth leveling measurement (leveling data corresponding to the backsight) of the observation station with station number "SI1" are all from the same observation station. Therefore, in some implementations, the station number data, latitude data, longitude data, and geodetic height data do not need to be injected into columns 11-20, 21-30, and 31-40 of Row_4, Row_5, and Row_6, which correspond to the column headers "SI", "LAT", "LON", and "H".

[0184] See also Figure 5A or Figure 5B For example, the leveling data obtained from the second leveling measurement (leveling data corresponding to the foresight point) can be injected into the corresponding positions of each column header in Row_5 according to the column headers "HD", "SR", and "T".

[0185] For example, the serial number "2" is injected into columns 1 to 10 of Row_5, which correspond to the column header "XH".

[0186] For example, the stadia distance data "43.904" can be injected into columns 51 to 60 of Row_5, corresponding to column header "HD". Here, "43.904" means that the horizontal distance from the observation station with station number "SI1" to the foresight rod is 43.904 meters.

[0187] For example, the scale reading data "2.09100" can be injected into columns 61-70 of Row_5, corresponding to column header "SR". Here, "2.09100" indicates that the foresight reading of the observation station with station number "SI1" is 2.09100 meters.

[0188] For example, the observation time data "07:20:543" can be injected into columns 71-80 of Row_6, corresponding to column header "T". Here, "07:20:543" indicates that the observation time for obtaining the foresight reading of station "SI1" was 7 hours, 20 minutes and 543 seconds.

[0189] See also Figure 5A or Figure 5B For example, the leveling data obtained from the third leveling measurement (leveling data corresponding to the foresight point) can be injected into the corresponding positions of each column header in Row_6 according to the column headers "HD", "SR", and "T".

[0190] For example, the serial number "3" is injected into columns 1 to 10 of Row_6, which correspond to the column header "XH".

[0191] For example, the stadia distance data "43.906" can be injected into columns 51 to 60 of Row_6, corresponding to column header "HD". Here, "43.906" indicates that the horizontal distance from the observation station with station number "SI1" to the foresight rod is 43.906 meters.

[0192] For example, the scale reading data "2.09095" can be injected into columns 61-70 of Row_6, corresponding to column header "SR". Here, "2.09095" indicates that the foresight reading of the observation station with station number "SI1" is 2.09095 meters.

[0193] For example, the observation time data "07:21:103" is injected into columns 71 to 80 of Row_6, corresponding to column header "T". Here, "07:21:103" indicates that the observation time for obtaining the foresight reading of station "SI1" is 7 hours, 21 minutes, and 10.3 seconds.

[0194] See also Figure 5A or Figure 5BFor example, the leveling data obtained from the fourth leveling measurement (leveling data corresponding to the backsight point) can be injected into the corresponding positions of each column header in Row_7 according to the column headers "HD", "SR", and "T".

[0195] For example, the serial number "4" is injected into columns 1 to 10 of Row_7, which correspond to the column header "XH".

[0196] For example, the stadia distance data "44.241" can be injected into columns 51-60 of Row_7, corresponding to column header "HD". Here, "44.241" indicates that the horizontal distance from the observation station with station number "SI1" to the backsight rod is 44.241 meters.

[0197] For example, the scale reading data "1.26488" can be injected into columns 61-70 of Row_7, corresponding to column header "SR". Here, "1.26488" indicates that the backsight reading of the observation station with station number "SI1" is 1.26488 meters.

[0198] For example, the observation time data "07:21:263" can be injected into columns 71 to 80 of Row_7, corresponding to column header "T". Here, "07:21:263" indicates that the observation time for obtaining the backsight reading of the station with station number "SI1" is 7 hours, 21 minutes and 26.3 seconds.

[0199] For example, the elevation difference data "-0.82607" can be injected into columns 81 to 90 of Row_7, corresponding to column header "Z". Here, "-0.82607" represents the elevation difference calculated after four leveling measurements (backsight, foresight, foresight, and backsight) at the observation station with station number "SI1".

[0200] See also Figure 5A or Figure 5B For example, the four rows of leveling data corresponding to the serial numbers "5" to "8" represent another observation station. For instance, the leveling data obtained by the observation station with the station number "SI2" through four leveling measurements: backsight, foresight, foresight, and backsight.

[0201] See also Figure 5A or Figure 5B For example, the four rows of leveling data corresponding to the serial numbers "9" to "12" represent another observation station. For instance, the leveling data obtained by the observation station with the station number "SI3" through four leveling measurements: backsight, foresight, foresight, and backsight.

[0202] It should be understood that the above examples are merely examples listed for the purpose of better understanding the technical solutions of this embodiment, and are not intended to be the only limitation of this embodiment.

[0203] Furthermore, it should be noted that, taking the aforementioned implementation method 1 as an example, when the difference between the first distance and the second distance is greater than the preset distance, in each data row with data anomalies, the anomaly identifier recorded in columns 91 to 100 corresponding to the column header "Ab" is as follows: Figure 5B The "Y" shown.

[0204] It should be understood that the above examples are merely illustrative examples for better understanding of the technical solutions of this embodiment and are not intended to be the sole limitation of this embodiment. In practical applications, exception identifiers may also be represented using other agreed-upon representation information, and this application does not impose any restrictions on this.

[0205] In addition, in some implementations, when there are column headers with abnormal data in the header row, columns 91 to 100 in the data row without abnormal data can either not record any information or record a pre-agreed normal identifier, such as "N".

[0206] It should be understood that the above examples are merely examples listed to better understand the technical solution of this embodiment and are not intended to be the only limitation of this embodiment. In practical applications, normal identifiers can also be represented using other agreed-upon representation information, and this application does not impose any restrictions on this.

[0207] S106, After the completion of this leveling measurement, the second electronic device saves the first document and generates a leveling measurement data record table.

[0208] That is, by saving the first document after completing the above operations, you can obtain the leveling data record table.

[0209] For example, the leveling data record table generated in this embodiment of the application can be as follows: Figure 5A or Figure 5B As shown.

[0210] Therefore, the leveling method provided in this application embodiment achieves accurate recording of the geographical location of the observation station by using a second electronic device capable of obtaining the longitude and latitude data of the observation station. By generating a leveling measurement data record table based on the station number data, geodetic height data, stadia distance data, rod reading data, observation time data, elevation difference data, as well as longitude and latitude data, the association between leveling measurement data and geographical location is realized, thereby facilitating the overall accuracy and data processing efficiency of the elevation control network subsequently constructed based on the leveling measurement data.

[0211] See Figure 6 This example illustrates another leveling measurement method provided in this application, which may include the following steps:

[0212] S201, the first electronic device acquires the first measurement data corresponding to each observation station.

[0213] S202, the second electronic device uses each measurement data included in the first measurement data and the second measurement data as a column header, and injects it into the newly created first document to obtain a header row.

[0214] Steps S201 to S202 in the embodiments of this application are Figure 4 Steps S101 to S102 in the illustrated embodiment are the same; for specific implementation details, please refer to [link to relevant documentation]. Figure 4 The descriptions of steps S101 to S102 in the illustrated embodiment will not be repeated here.

[0215] S203, the second electronic device inserts a leveling data start line between the header line and the leveling information line, and injects a leveling data start identifier into the leveling data start line.

[0216] For example, in some implementations, a leveling data start line is inserted between the header line and the leveling information line, such as... Figure 7 The row shown is Row_3'.

[0217] The starting identifier for leveling data injected into the starting row of leveling data can be pre-defined by those skilled in the art as needed; that is, simply injecting the pre-defined starting identifier into the starting row of leveling data is sufficient.

[0218] For example, in some implementations, the starting identifier for leveling data is, for instance, “#######################START OF FILE###############################. Thus, when subsequently integrating with a GIS system to read the leveling data recorded in the leveling data record table and construct the elevation control network, as long as the starting identifier “########################START OF FILE#############################” is identified, the next row after this starting identifier can be determined as the starting position of the leveling data.

[0219] It should be understood that the above examples are merely examples listed for the purpose of better understanding the technical solutions of this embodiment, and are not intended to be the only limitation of this embodiment.

[0220] S204, the second electronic device injects the filename of the leveling data record table and the measurement information of this leveling measurement into the header row, and obtains the leveling measurement information row.

[0221] S205, the second electronic device injects the start time information of this leveling measurement into the leveling measurement information line to obtain the leveling measurement start time line.

[0222] S206, the second electronic device injects the leveling measurement data corresponding to each column header obtained from the first measurement data and the second measurement data at the leveling measurement start time row.

[0223] Steps S204 to S206 in the embodiments of this application are Figure 4 Steps S103 to S105 in the illustrated embodiment are the same; for specific implementation details, please refer to [link to relevant documentation]. Figure 4 The descriptions of steps S103 to S105 in the illustrated embodiment will not be repeated here.

[0224] S207, the second electronic device inserts a leveling data end line below the last line of leveling data and injects a leveling data end marker into the leveling data end line.

[0225] For example, in some implementations, an inserted leveling data ending line is placed below the last line of leveling data in the first document, for example... Figure 7 The row shown is Row_8.

[0226] The leveling data end marker injected into the leveling data end line can be pre-defined by those skilled in the art as needed; that is, simply inject the pre-defined leveling data end marker into the leveling data end line.

[0227] For example, in some implementations, the end marker for leveling data is, for instance, "########################END OF FILE#############################". Thus, when subsequently integrating with a GIS system to read the leveling data recorded in the leveling data record table and construct an elevation control network, recognizing this end marker "########################END OF FILE#################################" confirms that the leveling data recorded in the leveling data record table has ended.

[0228] It should be understood that the above examples are merely examples listed for the purpose of better understanding the technical solutions of this embodiment, and are not intended to be the only limitation of this embodiment.

[0229] S208, After the completion of this leveling measurement, the second electronic device saves the first document and generates a leveling measurement data record table.

[0230] For example, the leveling data record table generated in this embodiment of the application can be as follows: Figure 7 As shown.

[0231] Step S208 in the embodiments of this application and Figure 4 Step S106 in the illustrated embodiment is the same; for specific implementation details, please refer to [link to relevant documentation]. Figure 4 The description of step S106 in the illustrated embodiment will not be repeated here.

[0232] Therefore, the leveling measurement method provided in this application embodiment inserts a leveling measurement data start line between the title line and the leveling measurement information line, and injects a leveling measurement data start identifier into the leveling measurement data start line, so that when the obtained leveling measurement data record table is sent to the user for use, the user can quickly locate the start position of the leveling measurement data.

[0233] In addition, the leveling measurement method provided in this application embodiment inserts a leveling measurement data end line below the last line of the entire first document and injects a leveling measurement data end marker into the leveling measurement data end line, so that when the obtained leveling measurement data record table is subsequently sent to the user, the user can quickly locate the end position of the leveling measurement data.

[0234] This effectively improves the readability of leveling data recording tables.

[0235] See Figure 8 This example illustrates another leveling measurement method provided in this application, which may include the following steps:

[0236] S301, the first electronic device acquires the first measurement data corresponding to each observation station.

[0237] Step S301 and in the embodiments of this application Figure 4 Step S101 in the illustrated embodiment is the same; for specific implementation details, please refer to [link / reference]. Figure 4 The description of step S101 in the illustrated embodiment will not be repeated here.

[0238] S302, the second electronic device inserts a comment line above the header line and injects comment information describing the leveling data record table into the comment line.

[0239] The comment information inserted in the comment line may begin with a pre-defined comment tag. This comment tag shall be pre-defined by those skilled in the art as needed.

[0240] For example, in some implementations, the comment label can be "#".

[0241] For example, in some other implementations, the comment label can be " / / ".

[0242] For example, in some other implementations, the comment label can be " / *".

[0243] It should be understood that the above examples are merely examples listed for the purpose of better understanding the technical solutions of this embodiment, and are not intended to be the only limitation of this embodiment.

[0244] In addition, it should be noted that the comment information injected into the comment line can include any of the above-mentioned comment tags.

[0245] Furthermore, it should be noted that there can be one or more comment tags within the injected comment line. For example, using the comment tag "#", a comment line inserted above the header line would look like this: Figure 9 Row_0 is shown in the image.

[0246] See also Figure 9 For example, the annotation information injected in the annotation line Row_0 may include information describing the leveling data record table, such as "##COMMENT High precision leveling measurement recording electronic program", and creator information, such as "##COMMENT The File is created by ZS".

[0247] This effectively improves the readability of the leveling data record sheet.

[0248] It should be understood that the above examples are merely examples listed for the purpose of better understanding the technical solutions of this embodiment, and are not intended to be the only limitation of this embodiment.

[0249] In addition, it should be noted that in practical applications, annotation lines can be inserted not only above the header line, but also below the end line of the leveling data.

[0250] In other words, in practical applications, the final leveling data record table will either have a comment line inserted only above the header line, or only below the end line of the leveling data, or both the header line and the end line of the leveling data will have comment lines inserted.

[0251] S303, the second electronic device uses each measurement data included in the first measurement data and the second measurement data as a column header, and injects it into the newly created first document to obtain a header row.

[0252] S304, the second electronic device inserts a leveling data start line between the header line and the leveling information line, and injects a leveling data start identifier into the leveling data start line.

[0253] S305, the second electronic device injects the filename of the leveling data record table and the measurement information of this leveling measurement into the header row, and obtains the leveling measurement information row.

[0254] S306, the second electronic device injects the start time information of this leveling measurement into the leveling measurement information line to obtain the leveling measurement start time line.

[0255] S307, the second electronic device injects leveling measurement data corresponding to each column header obtained from the first measurement data and the second measurement data at the leveling measurement start time line.

[0256] S308, the second electronic device inserts a leveling data end line below the last line of leveling data and injects a leveling data end marker into the leveling data end line.

[0257] S309, After the completion of this leveling measurement, the second electronic device saves the first document and generates a leveling measurement data record table.

[0258] For example, the leveling data record table generated in this embodiment of the application can be as follows: Figure 9 As shown.

[0259] Steps S303 to S309 in the embodiments of this application are Figure 6 Steps S202 to S208 in the illustrated embodiment are the same; for specific implementation details, please refer to [link to relevant documentation]. Figure 6 The descriptions of steps S202 to S208 in the illustrated embodiment will not be repeated here.

[0260] Therefore, the leveling measurement method provided in this application embodiment also injects annotation information into the generated leveling measurement data record table. Thus, when the leveling measurement data record table is subsequently sent to the user, the user can know the type of the leveling measurement data record table (such as a data table of the high-precision leveling measurement record electronic program type) based on the annotation information, as well as who created the leveling measurement data record table by operating the first electronic device and the second electronic device to perform leveling measurement, thereby further improving the readability of the leveling measurement data record table.

[0261] Furthermore, it is understood that the electronic devices in the leveling system provided in the embodiments of this application may also include, for example: Figure 10The diagram shows at least one processor 1001 and a memory 1002 communicatively connected to at least one processor 1001.

[0262] The memory 1002 stores instructions that can be executed by at least one processor 1001, which are executed by at least one processor 1001 to enable at least one processor 1001 to perform the leveling measurement method described in the above embodiments.

[0263] For example, the memory in the second electronic device can store instructions for acquiring second measurement data, instructions for generating a leveling measurement data record table based on the first and second measurement data, and data verification instructions. In this way, the processor in the second electronic device can execute the leveling measurement method described in the above embodiments according to the instructions stored in the dust collector.

[0264] The memory 1002 and processor 1001 can be connected via a bus. The bus can include any number of interconnecting buses and bridges. The bus can connect various circuits of one or more processors 1001 and memory 1002 together. The bus can also connect various other circuits, such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be a single element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices over a transmission medium. Data processed by processor 1001 is transmitted over a wireless medium via an antenna. Furthermore, the antenna also receives data and transmits data to processor 1001.

[0265] Processor 1001 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. Memory 1002 can be used to store data used by processor 1001 during operation.

[0266] It should be understood that, in order to achieve the above-mentioned functions, the electronic devices in the leveling system provided in this application may also include hardware and / or software modules corresponding to perform each function. Based on the method steps of the various examples described in the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in conjunction with the embodiments, but such implementation should not be considered beyond the scope of this application.

[0267] Furthermore, it should be noted that in practical application scenarios, the leveling measurement methods provided in the above embodiments, implemented by the electronic devices in the leveling measurement system provided in this application, can also be executed by a chip system included in each electronic device. This chip system may include a processor. The chip system may be coupled to a memory, enabling it to call computer programs stored in the memory during runtime to implement the steps executed by the electronic devices. The processor in the chip system can be an application processor or a non-application processor.

[0268] In addition, this application embodiment also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed on each electronic device in the leveling system provided in this application embodiment, the electronic device performs the aforementioned method steps, thereby implementing the method in the above embodiment.

[0269] In addition, this application also provides a computer program product that, when run on an electronic device, causes the electronic device to perform the aforementioned related steps to implement the methods described in the above embodiments.

[0270] Furthermore, as described above, the electronic devices, computer-readable storage media, computer program products, or chips provided in the embodiments of this application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to in the beneficial effects of the corresponding methods provided above, and will not be repeated here.

[0271] Furthermore, through the description of the above embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, the division of the above functional modules is only used as an example. In practical applications, the above functions can be assigned to different functional modules as needed. That is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0272] Furthermore, it is understood that the apparatuses and methods disclosed in the several embodiments provided in this application can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another apparatus, or some features may be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0273] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A method of levelling, characterised in that, The leveling method is applied to a leveling system, which includes a first electronic device and a second electronic device, wherein the first electronic device and the second electronic device are communicatively connected and located at the same position; The leveling method includes: The first electronic device acquires first measurement data corresponding to each observation station. The first measurement data includes the station number data, geodetic height data, stadia distance data, scale reading data, observation time data, and elevation difference data of the observation station. The second electronic device acquires second measurement data corresponding to each of the observation stations, the second measurement data including longitude data and latitude data; The second electronic device generates a leveling measurement data record table based on the first measurement data and the second measurement data; The second electronic device includes a data verification engine; The data verification engine is used to: determine a first distance between two observation stations based on the first measurement data, and determine a second distance between two observation stations based on the second measurement data; When the difference between the first distance and the second distance is less than or equal to a preset distance, the first measurement data and the second measurement data corresponding to the two observation stations are determined to be valid, and the second electronic device is triggered to perform the operation of generating a leveling measurement data record table based on the first measurement data and the second measurement data; When the data verification engine determines that the difference between the first distance and the second distance is greater than a preset distance, a data anomaly column header is added to the leveling measurement data record table, and an anomaly identifier is injected at the position corresponding to the data anomaly column header.

2. The method of surveying according to claim 1, wherein, The second electronic device does not have a positioning function. The leveling system further includes a third electronic device, which is communicatively connected to the second electronic device and is located at the same position as the first electronic device. The leveling method further includes: The third electronic device acquires the second measurement data corresponding to each of the observation stations and sends the second measurement data to the second electronic device.

3. The method of leveling according to claim 1 or 2, characterized in that, The second electronic device generates a leveling measurement data record table based on the first measurement data and the second measurement data, including: The second electronic device uses each measurement data included in the first and second measurement data as a column header, injects it into the newly created first document, and obtains a header row; The second electronic device injects the filename of the leveling data record table and the measurement information of this leveling measurement into the header row to obtain the leveling information row; The second electronic device injects the start time information of this leveling measurement into the leveling measurement information line to obtain the leveling measurement start time line; The second electronic device injects leveling measurement data corresponding to each column header obtained from the first measurement data and the second measurement data under the leveling measurement start time row; After the leveling measurement is completed, the second electronic device saves the first document and generates the leveling measurement data record table.

4. The method of claim 3, wherein, Before the second electronic device injects each of the measurement data included in the first and second measurement data into a newly created first document to obtain a header row, the method further includes: The second electronic device determines the first distance between two adjacent observation stations based on the first measurement data from the two adjacent observation stations; The second electronic device determines the second distance between two adjacent observation stations based on the second measurement data from the two adjacent observation stations; If the difference between the first distance and the second distance is less than or equal to a preset distance, the second electronic device performs the step of injecting each measurement data included in the first measurement data and the second measurement data as a column header into a newly created first document to obtain a header row.

5. The method of surveying according to claim 4, wherein, The method further includes: If the difference between the first distance and the second distance is greater than the preset distance, the second electronic device uses each measurement data included in the first measurement data and the second measurement data as a column header, injects it into the newly created first document, obtains the obtained header row, and inserts a data anomaly column header into the header row; Wherein, the second electronic device, under the leveling measurement start time row, injects leveling measurement data corresponding to each column header obtained from the first measurement data and the second measurement data, including: The second electronic device injects leveling measurement data corresponding to each column header obtained from the first measurement data and the second measurement data under the leveling measurement start time row, and injects an anomaly identifier at the position corresponding to the data anomaly column header.

6. The method of surveying according to claim 3, wherein, The method further includes: The second electronic device inserts a leveling data start line between the header line and the leveling information line, and injects a leveling data start identifier into the leveling data start line.

7. The method of surveying according to claim 6, wherein, The method further includes: The second electronic device inserts a leveling data end line below the last line of leveling data and injects a leveling data end identifier into the leveling data end line.

8. The method of surveying according to claim 7, wherein, Before saving the first document, the method further includes: The second electronic device inserts a comment line above the header line and / or below the end line of the leveling data, and injects comment information describing the leveling data record table into the comment line.

9. A levelling system characterised in that, The leveling system includes: a first electronic device and a second electronic device, wherein the first electronic device and the second electronic device are communicatively connected and located at the same position, and are used to perform the leveling method as described in any one of claims 1 to 8; The first electronic device is used for: Acquire the first measurement data corresponding to each observation station, the first measurement data including the station number data, geodetic height data, stadia distance data, scale reading data, observation time data, and elevation difference data of the observation station; The second electronic device is used for: Acquire second measurement data corresponding to each of the observation stations, the second measurement data including longitude and latitude; A leveling measurement data record table is generated based on the first measurement data and the second measurement data.

10. A computer-readable storage medium, characterized in that, The system includes a computer program that, when run on electronic equipment included in the leveling system, causes the electronic equipment included in the leveling system to perform the leveling method as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Intelligent precise leveling system and method

    CN117288153A

  • Leveling height difference correction calculation method based on observation station observation elements

    CN117928475A

  • Integration leveling device with route writing function

    CN207215084U