Measurement method and system thereof
By integrating scanning operations into the measurement process and automatically executing measurements using workpiece templates and measurement sequences, the convenience issues caused by the independence of scanning and measurement software are resolved, achieving efficient measurement operations.
Patent Information
- Application Number
- CN202511358629.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-22
- Publication Date
- 2026-02-13
AI Technical Summary
During the manufacturing process, because the scanning software and measurement software are independent, operators need to frequently import data, convert formats, and export data, which affects the convenience of measurement operations.
Scanning is performed using a preset workpiece template, generating and storing scan data. Combined with a measurement sequence, measurement operations are automatically executed, reducing data import and export steps and achieving the integration of scanning and measurement operations.
It improves the convenience and accuracy of measurement operations, reduces tedious steps for operators, and increases measurement efficiency.
Smart Images

Figure CN121527152A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of three-dimensional measurement, and in particular to measurement methods and systems thereof. Background Technology
[0002] With the full digitalization of product research and development and manufacturing processes, measurements are required during or after manufacturing to verify whether the workpiece conforms to design specifications. The measurement process begins with scanning the workpiece to obtain scan data. The operator then exports the scan data from the scanning software and imports it into designated measurement software. The measurement software then performs measurements based on the scan data and a configured measurement sequence to obtain the final measurement data. However, because the scanning and measurement software are two separate programs, operators need to frequently import, convert formats, and export data between them, impacting the convenience of the measurement operation. Therefore, this application provides a measurement method and system to improve related technologies. Summary of the Invention
[0003] The purpose of this application is to provide a measurement method and system that effectively improves the convenience of measurement operations.
[0004] The objective of this application is achieved through the following technical solution:
[0005] In a first aspect, embodiments of this application provide a measurement method, the method comprising: performing a scanning operation on a current workpiece under test according to a preset workpiece template to obtain scanning data, and storing the scanning data in a designated memory; the workpiece template includes scanning parameters and a measurement sequence corresponding to the workpiece under test, and the scanning data includes a dynamic three-dimensional reconstruction model of the workpiece under test; in response to a scanning operation completion instruction, loading the scanning data from the designated memory, and performing a measurement operation based on the configured measurement sequence to generate measurement data; the measurement data includes measurement results of the features to be measured in the workpiece under test; and in response to a measurement operation completion instruction, sequentially performing the scanning operation and the measurement operation on subsequent workpieces under test.
[0006] In some embodiments, the method further includes: after generating the measurement data, generating a measurement report based on the measurement data; the measurement report reflecting whether the measurement results of the feature to be measured meet expectations; based on the measurement report, determining that the measurement results of at least some features to be measured do not meet expectations, and re-performing the scanning operation and the measurement operation on the current workpiece to be measured to generate new measurement data; or, determining that the measurement results of the feature to be measured meet expectations, triggering a measurement completion operation, and generating a measurement operation completion instruction.
[0007] In some embodiments, if it is determined that the measurement results of at least some of the features to be measured do not meet expectations, the scanning operation and the measurement operation are performed again on the current workpiece under test to generate new measurement data, including: performing the scanning operation and the measurement operation again on the entire area of the current workpiece under test to correct the measurement data; or performing the scanning operation and the measurement operation on a portion of the current workpiece under test to correct at least some of the measurement data that do not meet expectations.
[0008] In some embodiments, the step of configuring the measurement sequence includes: creating a reference coordinate system; determining a measurement method in the reference coordinate system based on the fitting alignment result between the scan data of the workpiece being measured and the theoretical model; the measurement method includes the feature to be measured corresponding to the workpiece being measured, and at least one of the geometric tolerances, position and size corresponding to the feature to be measured; wherein the feature to be measured includes at least one of the following: sphere, circle, groove, cylinder, hole, shaft.
[0009] In some embodiments, a measurement operation is performed based on a configured measurement sequence to generate measurement data, including: converting the format of the current dynamic three-dimensional reconstruction model of the workpiece under test into a triangular mesh format or a point cloud format to obtain a format-converted dynamic three-dimensional reconstruction model; fitting and aligning the format-converted dynamic three-dimensional reconstruction model with the theoretical model in the reference coordinate system, and performing the measurement operation based on the measurement method to generate the measurement data.
[0010] In some embodiments, the step of performing a scanning operation on the current workpiece under test according to a preset workpiece template to obtain scanning data includes: reading the scanning parameters from the preset workpiece template; the scanning parameters include at least a data format and a data storage path; having an operator perform a scanning operation on at least a portion of the current workpiece under test using a scanning device to obtain three-dimensional point cloud data of the current workpiece under test; performing three-dimensional reconstruction processing based on the three-dimensional point cloud data to obtain the scanning data; and ending the scanning and generating the scanning completion command in response to a scanning completion operation triggered by the operator.
[0011] Secondly, embodiments of this application provide a measurement system, the measurement system comprising: a scanning module, configured to perform a scanning operation on the current workpiece under test according to a preset workpiece template, generate scanning data, and store the scanning data in a designated memory; the workpiece template includes scanning parameters and a measurement sequence corresponding to the workpiece under test, and the scanning data includes a dynamic three-dimensional reconstruction model of the workpiece under test; a measurement module, configured to load the scanning data from the designated memory in response to a scanning operation completion instruction, and perform a measurement operation based on the configured measurement sequence to generate measurement data; the measurement data includes the measurement results of the features to be measured in the workpiece under test; the scanning module is further configured to perform the scanning operation on subsequent workpieces under test in response to a measurement operation completion instruction.
[0012] Thirdly, one embodiment of this application also provides an electronic device, the electronic device including a memory and a processor, the memory storing at least one computer program, the at least one computer program being loaded and executed by the processor to implement the measurement method as described above.
[0013] Fourthly, one embodiment of this application also provides a computer-readable storage medium storing at least one computer program that, when executed by a processor, can implement the measurement method as described above.
[0014] Fifthly, one embodiment of this application also provides a computer program product for implementing the measurement method as described above.
[0015] This application provides a measurement method and system. During the measurement process, by integrating the scanning operation into the measurement operation, data import and export operations are eliminated, reducing the number of steps required for measurement and effectively improving the convenience of the measurement process. Attached Figure Description
[0016] This application will be further described below with reference to the accompanying drawings and specific embodiments.
[0017] Figure 1 This is a schematic diagram of a measurement scenario provided in an embodiment of this application.
[0018] Figure 2 This is a flowchart illustrating a measurement method provided in an embodiment of this application.
[0019] Figure 3 This is a schematic diagram of a process for creating a measurement sequence provided in an embodiment of this application.
[0020] Figure 4This is a flowchart illustrating another measurement method provided in an embodiment of this application.
[0021] Figure 5 This is a structural block diagram of a controller provided in an embodiment of this application. Detailed Implementation
[0022] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0023] In the description of the embodiments of this application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0024] With the full digitalization of product research and development and manufacturing processes, measurements are required during or after manufacturing to verify whether the workpiece conforms to the design specifications.
[0025] See Figure 1 , Figure 1 This is a schematic diagram of a scanning measurement scenario provided in an embodiment of this application.
[0026] like Figure 1 As shown, this scanning and measurement scenario may include an operator 100, scanning software 101, and measurement software 102. In this scenario, the operator 100 first scans the workpiece under test using the scanning software 101, which generates scan data. This scan data may be, for example, 3D point cloud data of the workpiece. Then, the operator 101 manually exports the generated scan data from the scanning software 101 and imports it into the measurement software 102. Finally, the operator 100 performs a measurement operation using the measurement software 102 to generate measurement data.
[0027] When operators need to perform batch measurement operations on the workpieces, they need to repeatedly perform data export, format conversion, and data import operations, which affects the convenience of the measurement operation.
[0028] See Figure 2 , Figure 2This application provides a scanning measurement method, which includes steps S101-S103.
[0029] S101: Perform a scanning operation on the current workpiece under test according to the preset workpiece template to obtain scanning data, and store the scanning data in a designated memory. The workpiece template includes scanning parameters and measurement sequences corresponding to the workpiece under test.
[0030] S102: In response to the scan operation completion instruction, the scan data loaded from the specified memory is used to perform a measurement operation based on the configured measurement sequence to generate measurement data.
[0031] S103: In response to the measurement operation completion instruction, the scanning operation and the measurement operation are then sequentially performed on the subsequent workpiece to be measured.
[0032] In some embodiments, the implementing entity of this application may be an electronic device, such as a computer (PC) etc.
[0033] Measurement sequences can be used to represent the features and order of measurements required during the measurement operation of electronic equipment. By setting measurement sequences, electronic equipment can automatically perform measurement operations according to the sequence, reducing manual operation by operators and improving the convenience of measurement. It is understandable that the measurement sequence will differ depending on the model of the workpiece being measured.
[0034] Scan data can refer to the three-dimensional reconstruction model of the workpiece being measured. The three-dimensional reconstruction model can be obtained by electronic equipment through three-dimensional point cloud data received by the scanning operation and then performing three-dimensional reconstruction processing.
[0035] In some embodiments, the electronic device can respond to an operator's selection of a template, initiate a scanning operation based on the selected workpiece template, and prompt the operator to begin scanning. The operator can then scan the workpiece using a handheld scanning device, following the prompt from the electronic device. The scanning device can then send the acquired 3D point cloud data of the workpiece to the electronic device. The electronic device can then perform 3D reconstruction processing based on the received 3D point cloud data to obtain a dynamic 3D reconstructed model of the workpiece. The electronic device can store the dynamic 3D reconstructed model in designated memory so that it can be retrieved from the designated memory during subsequent measurement operations.
[0036] In some embodiments, after the operator confirms that the scanning operation is completed, the operator can trigger a scan completion operation, and the electronic device will automatically continue the measurement operation in response to the scan completion command corresponding to the operation.
[0037] Furthermore, in response to the scan operation completion command, the electronic device reads the dynamic 3D reconstruction model from designated memory and performs measurement operations based on the dynamic 3D reconstruction model and the configured measurement sequence to generate measurement data. By providing designated memory for data transfer during the measurement process, and integrating the scan operation into the measurement operation flow, the electronic device can automatically perform the measurement operation based on the scan completion command.
[0038] Furthermore, after the measurement operation is completed, the operator can trigger a measurement completion command. The electronic device then responds to the corresponding measurement completion command and sequentially performs scanning and measurement operations on subsequent workpieces. In this way, the scanning operation is integrated into the measurement operation, eliminating the need for operators to perform data import and export operations and reducing some steps in the measurement process, effectively improving the convenience of measurement.
[0039] To improve measurement accuracy, in some embodiments, the method may further include: after generating the measurement data, generating a measurement report based on the measurement data; the measurement report reflects whether the measurement results of the feature to be measured meet expectations. Based on the measurement report, if it is determined that the measurement results of at least some features to be measured do not meet expectations, the scanning operation and the measurement operation are performed again on the current workpiece to be measured to generate new measurement data; or, if it is determined that the measurement results of the feature to be measured meet expectations, a measurement completion operation is triggered, and a measurement operation completion instruction is generated.
[0040] In some embodiments, the generated measurement data includes the measured features of the workpiece, as well as the position, size, and geometric tolerances of the measured features. The measurement report generated based on this data indicates whether the position, size, and geometric tolerances of the measured features are within preset ranges. When the measurement indicates that the features are within the specified ranges, the measurement report indicates that the measurement results of the measured features meet expectations; conversely, when the measurement indicates that the features are outside the specified ranges, the measurement report indicates that the measurement results of the measured features do not meet expectations.
[0041] Furthermore, if the measurement results of at least some of the measured features are found to be inconsistent with expectations, the operator can perform scanning and measurement operations on the current workpiece again to generate new measurement data and obtain a new measurement report. Conversely, if the measurement results of the measured features are found to be consistent with expectations, the operator can trigger a measurement completion operation, and the electronic device will generate a measurement operation completion command to further scan and measure the next workpiece.
[0042] To improve measurement accuracy, in some embodiments, if it is determined that the measurement results of at least some of the features to be measured do not meet expectations, performing the scanning operation and the measurement operation again on the current workpiece under test to generate new measurement data may include: performing the scanning operation and the measurement operation again on the entire area of the current workpiece under test to correct the measurement data; or performing the scanning operation and the measurement operation on a portion of the current workpiece under test to correct at least some of the measurement data that do not meet expectations.
[0043] In certain application scenarios, when it is determined that the measurement results of at least some of the features to be measured do not meet expectations, the operator can re-perform the scanning operation on the current workpiece. The operator can selectively re-scan the entire area of the current workpiece. Alternatively, in some cases, to reduce the computational load on the electronic equipment, the operator can selectively scan only a portion of the workpiece, focusing on scanning areas or features that do not meet expectations.
[0044] In this way, by repeatedly scanning and measuring the workpiece, the measurement results can be reduced due to measurement errors of electronic equipment or low quality of dynamic three-dimensional reconstruction models, thus effectively improving the accuracy of the measurement.
[0045] In some embodiments, configuring the measurement sequence may include: creating a reference coordinate system; determining a measurement method based on the fitting alignment result between the scan data of the workpiece being measured and the theoretical model in the reference coordinate system; the measurement method includes the feature to be measured corresponding to the workpiece being measured, and at least one of the geometric tolerances, position, and dimensions corresponding to the feature to be measured. The feature to be measured includes at least one of the following: sphere, circle, groove, cylinder, hole, and shaft.
[0046] In some embodiments, the workpiece model can be pre-set according to the type of workpiece to be measured, so that the operator only needs to select the corresponding workpiece template to start the scanning and measurement operations, without the need for the operator to repeatedly set it, thus improving the convenience of measurement.
[0047] In this regard, such as Figure 3The flowchart of the measurement sequence shown illustrates that, in some specific application scenarios, configuring the measurement sequence in the workpiece template may include: S201: Creating a reference coordinate system. The reference coordinate system, also known as the world coordinate system, can be created based on the features to be measured of the workpiece. S202: Setting the measurement mode. In some embodiments, the features to be measured for each workpiece are not entirely identical, and the form and position tolerances, positions, and dimensions of the features are also not entirely the same. Therefore, by setting a measurement mode for each type of workpiece, the electronic device can determine the features to be measured for the current workpiece based on the workpiece template selected by the operator.
[0048] In some embodiments, performing measurement operations based on a configured measurement sequence to generate measurement data may include: converting the format of the current dynamic 3D reconstruction model of the workpiece under test into a triangular mesh format or a point cloud format to obtain a format-converted dynamic 3D reconstruction model. In the reference coordinate system, fitting and aligning the format-converted dynamic 3D reconstruction model with the theoretical model, and performing the measurement operations based on the measurement method to generate the measurement data.
[0049] In some embodiments, measurement operations can be performed after the electronic device responds to a scanning operation completion command. First, the electronic device converts the format of the dynamic 3D reconstructed model retrieved from a designated memory into a triangular mesh format or a point cloud format to conform to the required measurement format. Second, within the reference coordinate system set in the workpiece template, the electronic device can fit and align the format-converted dynamic 3D reconstructed model with the theoretical model.
[0050] In some embodiments, fitting and aligning the 3D reconstructed model and the theoretical model aims to quickly and accurately detect defects such as manufacturing errors, deformation, and wear of the workpiece by comparing the digital model (3D reconstructed model) of the actually produced workpiece with the original design drawings (theoretical model / CAD model).
[0051] In some embodiments, the fitting alignment process may include, for example, the electronic device roughly aligning the positions and orientations of two models in space, and determining the corresponding transformation matrix based on preset corresponding feature points (e.g., center points, corner points, special position points) to minimize the overall distance deviation between the two models, thus completing the fitting alignment. Then, a measurement operation is performed based on the measurement method to generate measurement data.
[0052] In some embodiments, the step of performing a scanning operation on the current workpiece under test according to a preset workpiece template to obtain a dynamic three-dimensional reconstruction model includes: reading the scanning parameters from the preset workpiece template; the scanning parameters include at least a data format and a data storage path. An operator performs a scanning operation on at least a portion of the current workpiece under test using a scanning device to obtain three-dimensional point cloud data of the current workpiece under test; performs three-dimensional reconstruction processing based on the three-dimensional point cloud data to obtain the dynamic three-dimensional reconstruction model; and, in response to a scan completion operation triggered by the operator, ends the scanning and generates a scan completion command.
[0053] In some embodiments, an operator can use a handheld scanning device to perform scanning operations on all areas of the workpiece under test, or the operator can use a handheld scanning device to perform scanning operations on a specified area of the workpiece under test, such as the part of the workpiece to be measured, or half of the workpiece under test, to obtain the current three-dimensional point cloud data of the workpiece under test.
[0054] The scanning device can then send the acquired 3D point cloud data of the workpiece to the electronic device. The electronic device can then perform 3D reconstruction processing based on the 3D point cloud data of the workpiece to obtain a dynamic 3D reconstruction model.
[0055] See Figure 4 , Figure 4 This is a flowchart illustrating another measurement method provided in an embodiment of this application.
[0056] In some specific application scenarios, the implementing entity of this application can be the electronic device mentioned above. Specifically, the process may include: the electronic device can respond to the operator's selection of a template, create a new workpiece to be measured based on the selected template, and then start scanning and measurement operations. During the scanning operation, the electronic device can first read the scanning parameters, data storage address, and other information set in the selected workpiece template, and can switch the workpiece configuration interface corresponding to the selected template to the scanning interface. The electronic device can automatically fill in the scanning parameters on the scanning page and prompt the operator for confirmation. After the operator confirms, the operator can use the scanning device to scan the workpiece to be measured. During this process, the electronic device can receive the three-dimensional point cloud data of the workpiece to be measured and perform three-dimensional reconstruction processing to obtain a dynamic three-dimensional reconstruction model. After the scanning is completed, the operator can confirm the obtained dynamic three-dimensional reconstruction model on the scanning interface and then end the scanning.
[0057] In the above embodiments, the electronic device can save the obtained dynamic 3D reconstructed model to a designated memory and, in response to a scan completion command, switch the scanning page to the measurement page to perform measurement operations. The electronic device can load the dynamic 3D reconstructed model from the designated memory and convert its format to obtain a format-converted dynamic 3D reconstructed model. Then, the electronic device can automatically perform measurement operations based on the measurement sequence, and export the measurement data after the measurement is completed. When the measurement data is confirmed to meet expectations, the next workpiece can be measured. Thus, in this measurement process, the scanning operation is integrated into the measurement operation, eliminating the need for operators to perform data import and export operations, reducing some steps in the measurement operation, and effectively improving the convenience of measurement.
[0058] This application provides a measurement system, the measurement system comprising:
[0059] The scanning module is used to perform a scanning operation on the current workpiece under test according to a preset workpiece template, generate scanning data, and store the scanning data in a designated memory; the workpiece template includes scanning parameters and measurement sequences corresponding to the workpiece under test, and the scanning data includes a dynamic three-dimensional reconstruction model of the workpiece under test.
[0060] The measurement module is configured to load the scan data from the designated memory in response to the scan operation completion command, and perform measurement operations based on the configured measurement sequence to generate measurement data; the measurement data includes the measurement results of the features to be measured in the workpiece being measured.
[0061] The scanning module is also used to perform the scanning operation on the subsequent workpiece in response to the measurement operation completion command.
[0062] One embodiment of this application also provides an electronic device, the electronic device including a memory and a processor, the memory storing at least one computer program, the at least one computer program being loaded and executed by the processor to implement the measurement method as described above.
[0063] One embodiment of this application also provides a computer-readable storage medium storing at least one computer program that, when executed by a processor, can implement the measurement method as described above.
[0064] One embodiment of this application also provides a computer program product for implementing the measurement method as described above.
[0065] See Figure 5 , Figure 5 This is a structural block diagram of a controller provided in an embodiment of this application.
[0066] This application also provides a controller, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the control method for the DC-DC converter provided in the above embodiments.
[0067] The controller may include a memory 110, a processor 120, and a communication interface 130. The memory 110, the processor 120, and the communication interface 130 are connected through internal connection paths.
[0068] The memory 110 is used to store computer programs, which in some implementations may include code for implementing the methods of the embodiments of this application.
[0069] The processor 120 executes the computer program stored in the memory 110 to control the communication interface 130 to receive input data and information, and output operation results and other data. In some implementations, when the solutions of the embodiments of this application are implemented by software or firmware, the computer program used to implement the solutions of the embodiments of this application can be stored in the processor 120 and executed by the processor 120.
[0070] The memory 110 may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory may be random access memory (RAM). It should be noted that the memory 110 described herein is intended to include, but is not limited to, any memory of these and other suitable types. As an example, the memory 110 includes random access memory (RAM), cache memory, and read-only memory (ROM). The memory 110 stores a computer program that can be executed by processor 120, causing processor 120 to implement the steps of any of the methods described above.
[0071] The processor 120 can be a central processing unit (CPU), or it can be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor, or the processor 120 can be any conventional processor.
[0072] In implementation, each step of the above method can be completed by the integrated logic circuitry of the hardware in the processor 120 or by instructions in software form. The method disclosed in the embodiments of this application can be directly implemented by the hardware processor, or by a combination of hardware and software modules in the processor 120. The software modules can be located in mature storage media in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in the memory 110, and the processor 120 reads the information in the memory 110 and, in conjunction with its hardware, completes the steps of the above method. To avoid repetition, detailed descriptions are not provided here.
[0073] In some implementations, the controller may include not only the hardware units described above, but also software modules, such as an operating system, a Basic Input Output System (BIOS), and application software.
[0074] An operating system is used to manage one or more of the hardware and software resources of a controller; it is the kernel and foundation of the controller. The operating system handles fundamental tasks such as managing and configuring memory, determining the priority of system resource allocation and demand, controlling input and output devices, operating the network, and managing the file system. To facilitate user operation, most operating systems provide a user interface for interaction with the system.
[0075] The BIOS is used to perform hardware initialization during the power-on boot phase and to provide runtime services for the operating system and applications. In some implementations, the BIOS can also monitor and display processor temperature and execute temperature protection strategies.
[0076] Application software, also known as an application program, can be understood as software written for a specific user application purpose, and is one of the main categories of computer software. For example, application software can be a program used to achieve purposes such as power control and temperature management.
[0077] It is understood that the specific examples in this application are only intended to help those skilled in the art better understand the implementation of this application, and are not intended to limit the scope of protection of this application.
[0078] It is understood that in the various embodiments of this application, the sequence number of each process does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of this application.
[0079] It is understood that the various implementation methods described in this application can be implemented individually or in combination, and this application does not limit them.
[0080] Unless otherwise stated, all technical and scientific terms used in this application have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to limit the scope of this application. The term "one or more" as used in this application includes any and all combinations of one or more of the associated listed items. The singular forms "a," "the," and "the" as used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.
[0081] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software 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, but such implementation should not be considered beyond the scope of this application.
[0082] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes and beneficial effects of the embodiments described above can be referred to the corresponding processes and beneficial effects in other embodiments, and will not be repeated here.
[0083] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of 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 system, or some features may be ignored or not executed. Furthermore, 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.
[0084] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of the technical solution in this application, depending on actual needs.
[0085] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0086] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, essentially, or the part that contributes to the prior art, or part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0087] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method of measurement, characterized by, The method comprises: performing a scanning operation on a current measured workpiece according to a preset workpiece template to obtain scanning data, and storing the scanning data in a specified memory; the workpiece template comprises scanning parameters and a measurement sequence corresponding to the measured workpiece, and the scanning data comprises a dynamic three-dimensional reconstruction model of the measured workpiece; in response to a scanning operation completion instruction, loading the scanning data from the specified memory and performing a measurement operation based on the configured measurement sequence to generate measurement data; the measurement data comprises measurement results of features to be measured in the measured workpiece; in response to a measurement operation completion instruction, sequentially performing the scanning operation and the measurement operation on a subsequent measured workpiece.
2. The method of claim 1, wherein, The method further comprises: generating a measurement report according to the measurement data after generating the measurement data; the measurement report reflects whether the measurement results of the features to be measured meet expectations; determining that the measurement results of at least part of the features to be measured do not meet expectations, and performing the scanning operation and the measurement operation again on the current measured workpiece to generate new measurement data; or determining that the measurement results of the features to be measured meet expectations, triggering a measurement completion operation, and generating the measurement operation completion instruction.
3. The method of claim 2, wherein, determining that the measurement results of at least part of the features to be measured do not meet expectations, and performing the scanning operation and the measurement operation again on the current measured workpiece to generate new measurement data, comprising: performing the scanning operation and the measurement operation again on all regions of the current measured workpiece to correct the measurement data; or performing the scanning operation and the measurement operation on part of the regions of the current measured workpiece to correct at least part of the measurement data that does not meet expectations.
4. The method of claim 1, wherein, The step of configuring the measurement sequence comprises: creating a reference coordinate system; under the reference coordinate system, determining a measurement method according to the fitting alignment result of the scanning data of the measured workpiece and a theoretical model; the measurement method comprises features to be measured corresponding to the measured workpiece, and at least one of form and position tolerances, positions and sizes corresponding to the features to be measured respectively; wherein the features to be measured comprise at least one of the following: ball, circle, groove, column, hole and shaft.
5. The method of claim 4, wherein, The step of performing a measurement operation based on the configured measurement sequence to generate measurement data comprises: converting the format of the dynamic three-dimensional reconstruction model of the current measured workpiece into a triangular mesh format or a point cloud format to obtain a format-converted dynamic three-dimensional reconstruction model; under the reference coordinate system, fitting and aligning the format-converted dynamic three-dimensional reconstruction model and the theoretical model, and performing the measurement operation based on the measurement method to generate the measurement data.
6. The method of claim 1, wherein, The step of performing a scanning operation on a current measured workpiece according to a preset workpiece template to obtain scanning data comprises: reading the scanning parameters from the preset workpiece template; the scanning parameters at least comprise data format and data storage path; performing a scanning operation on at least part of the regions of the current measured workpiece by a scanning device operated by an operator to obtain three-dimensional point cloud data of the current measured workpiece; According to the three-dimensional point cloud data, three-dimensional reconstruction processing is performed to obtain the scanning data; In response to a scanning completion operation triggered by an operator, the scanning is ended and the scanning completion instruction is generated.
7. A measurement system characterized by, The measurement system comprises: A scanning module is configured to perform a scanning operation on a current measured workpiece according to a preset workpiece template, to generate scanning data, and to store the scanning data in a designated memory. The workpiece template comprises scanning parameters and a measurement sequence corresponding to the measured workpiece, and the scanning data comprises a dynamic three-dimensional reconstruction model of the measured workpiece. A measurement module is configured to load the scanning data from the designated memory in response to a scanning operation completion instruction, and to perform a measurement operation based on the configured measurement sequence to generate measurement data. The measurement data comprises measurement results of features to be measured in the measured workpiece. The scanning module is further configured to perform the scanning operation on a subsequent measured workpiece in response to a measurement operation completion instruction.
8. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the measurement method in any one of claims 1 to 6.
9. A computer device, comprising: The computer device comprises a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the measurement method in any one of claims 1 to 6.
10. A computer program product, characterised in that, The computer program product comprises a computer program, and the computer program is executed by the processor to implement the measurement method in any one of claims 1 to 6.