Geotechnical test data correction method and device, electronic equipment and medium
Through a geotechnical test data correction method based on the calculation function set, the problems of low efficiency and poor accuracy of traditional manual correction methods are solved, efficient and automated data correction is achieved, and correction accuracy is improved.
Patent Information
- Application Number
- CN202411757993.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-03
- Publication Date
- 2025-03-28
AI Technical Summary
The traditional manual correction method in the prior art is inefficient, has poor accuracy and is prone to introduce new errors when correcting geotechnical test data.
A geotechnical test data correction method is provided. By obtaining abnormal output data and its corresponding correction output data, the target calculation function and its abnormal input data are determined based on the preset set of calculation functions, and the correction is performed according to the type of calculation function, and iterating until the preset condition is reached.
It realizes efficient and automated correction of geotechnical test data, improves the accuracy and efficiency of correction, and reduces the occurrence of human errors.
Smart Images

Figure CN119719561A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of civil engineering technology, and in particular to a geotechnical test data correction method, device, electronic equipment and medium. Background Art
[0002] With the advancement of intelligence in the field of civil engineering, more and more geotechnical tests are transformed from traditional manual operations to automated equipment. When the test data are finally processed, it is necessary to correct the data deviations caused by mechanical system errors or operator errors.
[0003] In the prior art, when correcting geotechnical test data, the traditional manual correction method is still used.
[0004] Traditional manual correction methods are not only time-consuming and labor-intensive, but also prone to introducing new errors, resulting in low correction efficiency and poor accuracy. Summary of the invention
[0005] In view of this, it is necessary to provide a geotechnical test data correction method, device, electronic equipment and medium to solve the problems of low correction efficiency and poor accuracy existing in the traditional manual correction method in the prior art.
[0006] In order to solve the above problems, the present application provides a geotechnical test data correction method, comprising: S101, obtaining abnormal output data of a process chain composed of several geotechnical test calculation functions and its corresponding corrected output data; S102, based on a preset computing function set, determining a target computing function whose output is the abnormal output data and its corresponding abnormal input data; S103, correcting abnormal input data of the target calculation function according to the type of the target calculation function and the corrected output data to obtain corrected input data; S104, taking the abnormal input data as abnormal output data, taking the corrected input data as corrected output data, and returning to S102, until all the calculation function sets are selected, and obtaining a correction result including the corrected input data and the corrected output data.
[0007] In some possible implementations, when the type of the target calculation function is a single-input single-output type; Correcting abnormal input data of the target calculation function according to the type of the target calculation function and the corrected output data to obtain corrected input data includes: Obtaining an inverse function of the target calculation function; Based on the inverse function and the corrected output data, corrected input data is calculated.
[0008] In some possible implementations, when the type of the target calculation function is a multi-input type; Correcting abnormal input data of the target calculation function according to the type of the target calculation function and the corrected output data to obtain corrected input data includes: S401, based on the target calculation function, determining a loss function between the target calculation function and the corrected output data; S402, determining the gradient of the abnormal input data based on the loss function; S403. Based on the gradient, update the abnormal input data, return to S202, and increase the number of iterations by one until the loss function meets a preset range or the number of iterations reaches a preset maximum number of iterations.
[0009] In some possible implementations, when the type of the objective calculation function is a multi-input single-output type, the calculation formula of the loss function is:
[0010] In the formula, represents the loss function, represents the target calculation function, Indicates abnormal input data, , Indicates abnormal output data. , the target calculation function has only one output, Indicates the corrected output data.
[0011] In some possible implementations, when the type of the objective calculation function is a multi-input multi-output type, the calculation formula of the loss function is:
[0012] In the formula, represents the loss function, represents the target calculation function, Indicates abnormal input data, , Indicates abnormal input data, , represents the corrected output data, represents the regularization parameter, represents the number of iterations, Represents the first data.
[0013] In some possible implementations, the gradient is calculated as follows:
[0014] In the formula, represents the gradient, Indicates the first data, express of loss, Indicates that the input is of loss, Indicates that the input is of loss, Represents a constant.
[0015] In some possible implementations, the calculation formula for updating the abnormal input data is:
[0016] In the formula, represents the updated abnormal input data, Indicates abnormal input data before update, represents the learning rate, Represents the gradient.
[0017] The present application also provides a geotechnical test data correction device, comprising: A data acquisition unit, used to acquire abnormal output data of a process chain composed of several geotechnical test calculation functions and its corresponding corrected output data; A function selection unit, used to determine a target computing function whose output is the abnormal output data and its corresponding abnormal input data based on a preset computing function set; a data correction unit, configured to correct abnormal input data of the target calculation function according to the type of the target calculation function and the corrected output data, so as to obtain corrected input data; The data output unit is used to transmit the abnormal input data and the corrected input data of the data correction unit to the function selection unit, use the abnormal input data of the data correction unit as the abnormal output data of the function selection unit, and use the corrected input data of the data correction unit as the corrected output data of the function selection unit, until the calculation function set in the function selection unit is selected.
[0018] The present application also provides an electronic device, including a memory and a processor; The memory is used to store programs; The processor is coupled to the memory and is used to execute the program stored in the memory to implement the steps of the geotechnical test data correction method described above.
[0019] The present application also provides a computer-readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the geotechnical test data correction method described above are implemented.
[0020] The beneficial effects of the present application are as follows: the geotechnical test data correction method provided by the present application finds the corresponding geotechnical test in the process chain and the calculation functions involved in the calculation through the corrected output data of the abnormal output data, combines each calculation process, input and output into a geotechnical test unit to correct it, so that its output can infinitely approach the corrected output data, and completes the correction of the geotechnical test data in the process chain, with a high degree of automation, short time consumption and strong accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 A schematic diagram of an embodiment of the geotechnical test data correction method provided in this application; Figure 2 When the target calculation function type provided by this application is a single-input single-output type Figure 1 A schematic flow chart of an embodiment of step S103; Figure 3 When the type of the target calculation function provided by this application is a multi-input type Figure 1 A schematic flow chart of an embodiment of step S103; Figure 4 A schematic diagram of the structure of an embodiment of the geotechnical test data correction device provided in this application; Figure 5 A schematic diagram of the structure of an embodiment of an electronic device provided in this application. DETAILED DESCRIPTION
[0022] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0023] It should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowcharts may be implemented out of order, and steps without logical contextual relationships may be reversed in order or implemented simultaneously. In addition, those skilled in the art may add one or more other operations to the flowcharts, or may remove one or more operations from the flowcharts, under the guidance of the content of this application. Some of the block diagrams shown in the accompanying drawings are functional entities, and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor systems and / or microcontroller systems.
[0024] The descriptions of "first", "second", etc. involved in the embodiments of the present application are only used to describe the implicit purpose, and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the technical features defined as "first" and "second" may explicitly or implicitly include at least one of the features. "And / or" describes the association relationship of the associated objects, indicating that three relationships may exist, for example: A and / or B, which can represent: A exists alone, A and B exist at the same time, and B exists alone.
[0025] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0026] The present application provides a geotechnical test data correction method, which is described below.
[0027] Figure 1 A schematic diagram of an embodiment of the geotechnical test data correction method provided in this application is as follows: Figure 1 As shown in Figure 2, the geotechnical test data correction method includes: S101, obtaining abnormal output data of a process chain composed of several geotechnical test calculation functions and its corresponding corrected output data; It should be noted that the abnormal output data of the process chain and its corresponding corrected output data are set by the user.
[0028] S102, based on a preset computing function set, determining a target computing function whose output is abnormal output data and its corresponding abnormal input data; S103, correcting abnormal input data of the target calculation function according to the type of the target calculation function and the corrected output data to obtain corrected input data; S104, taking the abnormal input data as abnormal output data, taking the corrected input data as corrected output data, and returning to S102, until all calculation function sets are selected, and obtaining a correction result including the corrected input data and the corrected output data.
[0029] Compared with the traditional manual correction method in the prior art, the present application finds the corresponding geotechnical test in the process chain and the calculation functions involved in the calculation through the corrected output data of abnormal output data, combines each calculation process, input and output into a geotechnical test unit for correction, so that its output can infinitely approach the corrected output data, and completes the correction of the geotechnical test data in the process chain, with a high degree of automation, short time consumption and strong accuracy.
[0030] In order to better calibrate the target calculation function of the single-input single-output type, in some embodiments, when the target calculation function is of the single-input single-output type, an inverse function is used for direct correction. Specifically, Figure 2 As shown, step S103 includes: S201, obtaining an inverse function of a target calculation function; S202: Based on the inverse function and the corrected output data, corrected input data is obtained by calculation.
[0031] In order to better calibrate the target calculation function of multiple input types, in some embodiments, when the type of the target calculation function is multiple input type, the gradient descent method is used for correction. Specifically, Figure 3 As shown, step S103 includes: S301, based on the target calculation function, determining the loss function of the target calculation function and the correction output data; It should be noted that when the target calculation function type is a multi-input single-output type, the calculation formula of the loss function is:
[0032] In the formula, represents the loss function, represents the target calculation function, Indicates abnormal input data, , Indicates abnormal output data, , the target computation function has only one output, Indicates the corrected output data.
[0033] It should also be noted that when the target calculation function is of multi-input and multi-output type, the calculation formula of the loss function is:
[0034] In the formula, represents the loss function, represents the target calculation function, Indicates abnormal input data, , Indicates abnormal input data, , represents the corrected output data, represents the number of iterations, Represents the first data, represents the penalty term, represents a regularization parameter, which is used to control the weight of the penalty term. In a specific embodiment, .
[0035] S302, determining the gradient of abnormal input data based on the loss function; It should be noted that in this application, numerical differentiation is used to approximate the calculation For each For each , the gradient calculation formula is:
[0036] In the formula, represents the gradient, Indicates the first data, express of loss, Indicates that the input is of loss, Indicates that the input is of loss, represents a constant. In a specific embodiment, .
[0037] It should also be noted that the concept of gradient in calculus is used to calculate the magnitude and direction of the impact of the current correction on the loss function. This step is the core of the gradient descent method, which determines the direction and step size of the correction.
[0038] S303. Based on the gradient, update the abnormal input data, return to S302, and increase the number of iterations by one until the loss function meets the preset range or the number of iterations reaches the preset maximum number of iterations.
[0039] It should be noted that the calculation formula for updating abnormal input data is:
[0040] In the formula, represents the updated abnormal input data, Indicates abnormal input data before update, represents the gradient, represents the learning rate, Represents the adjustment amount, which is usually the gradient multiplied by a small learning rate to avoid overcorrection. In a specific embodiment, .
[0041] It should also be noted that, in a specific embodiment, the loss function satisfies the preset range as follows: .
[0042] Finally, after the calibration is completed, a manual review is conducted to ensure that the results are consistent with both the actual engineering situation and industry regulations, and the calibration records are saved in the database for future reference.
[0043] In order to better implement a geotechnical test data correction method in an embodiment of the present application, based on a geotechnical test data correction method, correspondingly, Figure 4 As shown, the embodiment of the present application also provides a geotechnical test data correction device 400, comprising: The data acquisition unit 401 is used to acquire abnormal output data of a process chain composed of several geotechnical test calculation functions and its corresponding corrected output data; The function selection unit 402 is used to determine a target computing function whose output is abnormal output data and its corresponding abnormal input data based on a preset computing function set; The data correction unit 403 is used to correct the abnormal input data of the target calculation function according to the type of the target calculation function and the correction output data to obtain the correction input data; The data output unit 404 is used to transmit the abnormal input data and the corrected input data of the data correction unit 403 to the function selection unit 402, use the abnormal input data of the data correction unit 403 as the abnormal output data of the function selection unit 402, and use the corrected input data of the data correction unit 403 as the corrected output data of the function selection unit 402, until the calculation function set in the function selection unit 402 is selected.
[0044] The geotechnical test data correction device 400 provided in the above embodiment can implement the technical solution described in the above geotechnical test data correction method embodiment. The specific implementation principles of the above units can refer to the corresponding contents in the above geotechnical test data correction method embodiment, which will not be repeated here.
[0045] like Figure 5As shown, the present application also provides an electronic device 500. The electronic device 500 includes a processor 501, a memory 502 and a display 503. Figure 5 Only some components of the electronic device 500 are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.
[0046] In some embodiments, the memory 502 may be an internal storage unit of the electronic device 500, such as a hard disk or memory of the electronic device 500. In other embodiments, the memory 502 may also be an external storage device of the electronic device 500, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 500.
[0047] Furthermore, the memory 502 may include both an internal storage unit of the electronic device 500 and an external storage device. The memory 502 is used to store application software installed in the electronic device 500 and various data.
[0048] In some embodiments, the processor 501 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run program codes or process data stored in the memory 502, such as the geotechnical test data correction method in the present application.
[0049] In some embodiments, the display 503 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 503 is used to display information on the electronic device 500 and to display a visual user interface. The components 501-503 of the electronic device 500 communicate with each other via a system bus.
[0050] In some embodiments of the present application, when the processor 501 executes the geotechnical test data correction program in the memory 502, the following steps may be implemented: S101, obtaining abnormal output data of a process chain composed of several geotechnical test calculation functions and its corresponding corrected output data; S102, based on a preset computing function set, determining a target computing function whose output is abnormal output data and its corresponding abnormal input data; S103, correcting abnormal input data of the target calculation function according to the type of the target calculation function and the corrected output data to obtain corrected input data; S104, taking the abnormal input data as abnormal output data, taking the corrected input data as corrected output data, and returning to S102, until all calculation function sets are selected, and obtaining a correction result including the corrected input data and the corrected output data.
[0051] It should be understood that: when the processor 501 executes the geotechnical test data correction program in the memory 502, in addition to the above functions, other functions can also be implemented. For details, please refer to the description of the corresponding method embodiment above.
[0052] Furthermore, the embodiment of the present application does not specifically limit the type of the electronic device 500 mentioned, and the electronic device 500 may be a portable electronic device such as a mobile phone, a tablet computer, a personal digital assistant (PDA), a wearable device, a laptop computer, etc. Exemplary embodiments of portable electronic devices include but are not limited to portable electronic devices equipped with IOS, Android, Microsoft or other operating systems. The above-mentioned portable electronic device may also be other portable electronic devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in some other embodiments of the present application, the electronic device 500 may not be a portable electronic device, but a desktop computer with a touch-sensitive surface (e.g., a touch panel).
[0053] Accordingly, an embodiment of the present application also provides a computer-readable storage medium, which is used to store computer-readable programs or instructions. When the program or instructions are executed by a processor, the steps or functions of the geotechnical test data correction method provided in the above-mentioned method embodiments can be implemented.
[0054] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the above-mentioned program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.
[0055] The above is a detailed introduction to a geotechnical test data correction method provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
[0056] The above is only a preferred specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed in the present application should be covered within the protection scope of the present application.
Claims
1. A geotechnical test data correction method, characterized in that: include: S101, obtaining abnormal output data of a process chain composed of several geotechnical test calculation functions and its corresponding corrected output data; S102, based on a preset computing function set, determining a target computing function whose output is the abnormal output data and its corresponding abnormal input data; S103, correcting abnormal input data of the target calculation function according to the type of the target calculation function and the corrected output data to obtain corrected input data; S104, taking the abnormal input data as abnormal output data, taking the corrected input data as corrected output data, and returning to S102, until all the calculation function sets are selected, and obtaining a correction result including the corrected input data and the corrected output data.
2. The geotechnical test data correction method according to claim 1, characterized in that: When the type of the target calculation function is a single-input single-output type; Correcting abnormal input data of the target calculation function according to the type of the target calculation function and the corrected output data to obtain corrected input data includes: Obtaining an inverse function of the target calculation function; Based on the inverse function and the corrected output data, corrected input data is calculated.
3. The geotechnical test data correction method according to claim 1, characterized in that: When the type of the target calculation function is a multi-input type; Correcting abnormal input data of the target calculation function according to the type of the target calculation function and the corrected output data to obtain corrected input data includes: S301, based on the target calculation function, determining a loss function between the target calculation function and the corrected output data; S302, determining the gradient of the abnormal input data based on the loss function; S303. Based on the gradient, update the abnormal input data, return to S302, and increase the number of iterations by one until the loss function meets a preset range or the number of iterations reaches a preset maximum number of iterations.
4. The geotechnical test data correction method according to claim 3, characterized in that: When the type of the target calculation function is a multi-input single-output type, the calculation formula of the loss function is: In the formula, represents the loss function, represents the target calculation function, Indicates abnormal input data, , Indicates abnormal output data, , the target computation function has only one output, Indicates the corrected output data.
5. The geotechnical test data correction method according to claim 3, characterized in that: When the type of the target calculation function is a multi-input multi-output type, the calculation formula of the loss function is: In the formula, represents the loss function, represents the target calculation function, Indicates abnormal input data, , Indicates abnormal input data, , represents the corrected output data, represents the regularization parameter, represents the number of iterations, Represents the first data.
6. The geotechnical test data correction method according to claim 3, characterized in that: The calculation formula of the gradient is: In the formula, represents the gradient, Indicates the first data, express of loss, Indicates that the input is of loss, Indicates that the input is of loss, Represents a constant.
7. The geotechnical test data correction method according to claim 3, characterized in that: The calculation formula for updating the abnormal input data is: In the formula, represents the updated abnormal input data, Indicates abnormal input data before update, represents the learning rate, Represents the gradient.
8. A geotechnical test data correction device, characterized in that: include: A data acquisition unit, used to acquire abnormal output data of a process chain composed of several geotechnical test calculation functions and its corresponding corrected output data; A function selection unit, used to determine a target computing function whose output is the abnormal output data and its corresponding abnormal input data based on a preset computing function set; a data correction unit, configured to correct abnormal input data of the target calculation function according to the type of the target calculation function and the corrected output data, so as to obtain corrected input data; The data output unit is used to transmit the abnormal input data and the corrected input data of the data correction unit to the function selection unit, use the abnormal input data of the data correction unit as the abnormal output data of the function selection unit, and use the corrected input data of the data correction unit as the corrected output data of the function selection unit, until the calculation function set in the function selection unit is selected.
9. An electronic device, characterized in that: including memory and processor; The memory is used to store programs; The processor is coupled to the memory and is used to execute the program stored in the memory to implement the steps of the geotechnical test data correction method described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the geotechnical test data correction method described in any one of claims 1 to 7 are implemented.