Three-dimensional detection recalculation method, device and equipment and storage medium

By constructing and replacing the execution directed graph of the three-dimensional detection software, the problem of complexity and low efficiency of the recalculation management of the three-dimensional detection software is solved, and more efficient recalculation and visual display is achieved, improving the readability and expansion of the detection project sex.

CN118967623APending Publication Date: 2024-11-15SHINING 3D TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411042062.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

When the 3D detection software changes in data, configuration or processing logic, the recalculation manager needs to manually change the code, resulting in increased maintenance costs and inefficient efficiency, and cannot effectively display the detection logic to the user.

Method used

By obtaining the original execution process of the three-dimensional detection software, the original execution directed graph is constructed, and the structure node to be modified is determined according to the pre-formed detection and modification strategy, the structure node to be modified is constructed, and the node to be modified in the original execution directed graph is replaced. Implement three-dimensional detection and recalculation.

Benefits of technology

It reduces the complexity of recalculation feature changes, improves the efficiency of recalculation of three-dimensional detection, and displays the directed graph of the project through visualization, improving the readability and scalability of the detection project.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118967623A_ABST
    Figure CN118967623A_ABST
Patent Text Reader

Abstract

The invention discloses a three-dimensional detection recalculation method and device, equipment and a storage medium. The method comprises the following steps: acquiring an original execution process in three-dimensional detection software; according to the original execution process, an original execution directed graph corresponding to the original execution process is constructed, and the original execution directed graph comprises at least one original structure node; according to a pre-formulated detection modification strategy, a to-be-modified structure node in the original structure nodes is determined, a reconstruction structure node corresponding to the to-be-modified structure node is constructed, and the reconstruction structure node is a replacement node of the original structure nodes; a to-be-modified structure node in an original execution directed graph is replaced by a reconstruction structure node, a re-calculation execution directed graph is obtained, a three-dimensional detection item directed graph is displayed in a visual mode, readability of a detection item is displayed, complexity of re-calculation feature change is reduced, three-dimensional detection re-calculation is executed based on the re-calculation execution directed graph, and re-calculation efficiency is improved. And meanwhile, the three-dimensional detection recalculation efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of three-dimensional detection technology, and in particular to a three-dimensional detection recalculation method, device, equipment and storage medium. Background Art

[0002] Three-dimensional inspection, also known as 3D inspection or 3D measurement, is a technology that uses various technologies and equipment to perform non-contact or contact measurement and analysis of the three-dimensional geometric shape, size, position, direction and surface characteristics of an object. It plays an important role in quality control, reverse engineering, product design verification, damage assessment, etc.

[0003] Project recalculation of 3D inspection software is a process of recalculating and updating all relevant analysis results in a 3D inspection project, which is automatically or manually triggered by the software when data, configuration or processing logic changes. When the 3D inspection software frequently updates or deletes some data nodes, the data node units and execution node units of the entire project must automatically react in a chain reaction according to their mutual dependencies. Currently, when data, configuration or processing logic changes, the feature recalculation manager is required to create, update and delete features, which requires changing the code related to the recalculation manager, increasing the maintenance labor cost, and making it impossible to display the inspection logic to the user. At the same time, the efficiency of 3D inspection recalculation is low. Summary of the invention

[0004] The present invention provides a three-dimensional detection recalculation method, device, equipment and storage medium, which display a directed graph of three-dimensional detection items in a visual manner, show the readability of the detection items, reduce the complexity of recalculating feature changes, and at the same time improve the efficiency of three-dimensional detection recalculation.

[0005] According to one aspect of the present invention, a three-dimensional detection recalculation method is provided. The method comprises:

[0006] Obtain the original execution process in the 3D detection software;

[0007] According to the original execution process, construct an original execution directed graph corresponding to the original execution process, wherein the original execution directed graph includes at least one original structure node;

[0008] According to a pre-established detection and modification strategy, a structure node to be modified in the original structure node is determined, and a reconstructed structure node corresponding to the structure node to be modified is constructed, wherein the reconstructed structure node is a replacement node of the original structure node;

[0009] The to-be-modified structure nodes in the original execution directed graph are replaced with the reconstructed structure nodes to obtain a recalculation execution directed graph, and three-dimensional detection recalculation is performed based on the recalculation execution directed graph.

[0010] According to another aspect of the present invention, a three-dimensional detection and recalculation device is provided. The device comprises:

[0011] The original execution process acquisition module is used to acquire the original execution process in the three-dimensional detection software;

[0012] An execution directed graph determination module, configured to construct an original execution directed graph corresponding to the original execution process according to the original execution process, wherein the original execution directed graph includes at least one original structure node;

[0013] A reconstructed structure node determination module is used to determine the structure node to be modified in the original structure node according to a pre-defined detection and modification strategy, and to construct a reconstructed structure node corresponding to the structure node to be modified, wherein the reconstructed structure node is a replacement node for the original structure node;

[0014] The detection recalculation execution module is used to replace the to-be-modified structure nodes in the original execution directed graph with the reconstructed structure nodes, obtain a recalculation execution directed graph, and perform three-dimensional detection recalculation based on the recalculation execution directed graph.

[0015] According to another aspect of the present invention, there is provided an electronic device, the electronic device comprising:

[0016] at least one processor; and

[0017] a memory communicatively connected to the at least one processor; wherein,

[0018] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the three-dimensional detection recalculation method described in any embodiment of the present invention.

[0019] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the three-dimensional detection recalculation method described in any embodiment of the present invention when executed.

[0020] The technical solution of the embodiment of the present invention is to obtain the original execution process in the three-dimensional detection software. According to the original execution process, an original execution directed graph corresponding to the original execution process is constructed, and the original execution process is directly viewed in a visual manner. Among them, the original execution directed graph includes at least one original structure node; through a pre-established detection modification strategy, the structure node to be modified in the original structure node is determined, and a reconstructed structure node corresponding to the structure node to be modified is further constructed to create a modification basis for the original execution directed graph. Among them, the reconstructed structure node is a replacement node for the original structure node. The structure node to be modified in the original execution directed graph is replaced with the reconstructed structure node to obtain a recalculation execution directed graph, and three-dimensional detection recalculation is performed based on the recalculation execution directed graph, thereby reducing the complexity of recalculation feature changes, and at the same time having the characteristics of extremely high scalability.

[0021] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0023] Figure 1 is a flow chart of a three-dimensional detection recalculation method provided according to the first embodiment of the present invention;

[0024] Figure 2 is a schematic diagram of replacing a reconstructed structure node according to the first embodiment of the present invention;

[0025] Figure 3 is a schematic diagram of the structure of a target structure node provided according to the first embodiment of the present invention;

[0026] Figure 4 is a flow chart of a three-dimensional detection recalculation method provided according to Embodiment 2 of the present invention;

[0027] Figure 5 is a structural diagram of a three-dimensional detection and recalculation device provided according to Embodiment 3 of the present invention;

[0028] Figure 6 It is a schematic diagram of the structure of an electronic device for implementing the three-dimensional detection recalculation method of an embodiment of the present invention. DETAILED DESCRIPTION

[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0031] Embodiment 1

[0032] Figure 1 A flowchart of a three-dimensional detection recalculation method is provided for the first embodiment of the present invention. This embodiment is applicable to the case where a three-dimensional detection project performs node update and data node re-settlement. The method can be executed by a three-dimensional detection recalculation device, which can be implemented in the form of hardware and / or software, and can be configured in an electronic device. Figure 1 As shown, the method includes:

[0033] S101, obtaining the original execution process in the three-dimensional detection software.

[0034] The original execution process may refer to a three-dimensional detection process currently being executed in the three-dimensional detection software, or may refer to a three-dimensional detection process to be recalculated.

[0035] Specifically, the original execution process in the 3D detection software can be obtained through a data export program, or by querying the project identifier of the 3D detection process currently being executed in the 3D detection software and obtaining the original execution process in combination with the project plan, or by any other conventional method.

[0036] S102: According to the original execution process, construct an original execution directed graph corresponding to the original execution process.

[0037] The original execution directed graph includes at least one original structure node. The original execution directed graph represents the logical relationship between the original structure nodes in a visual manner, so that non-professionals can intuitively view the execution content and execution method of the original execution process.

[0038] Specifically, the acquired original execution process is subjected to data analysis and processing to determine the various detection nodes and execution logic of the detection items in the original execution process. Through the detection nodes and execution logic, the original execution directed graph corresponding to the original execution process is constructed, presenting a visual effect, making the abstract detection calculation concrete, and reflecting the execution logic of the background detection.

[0039] S103: According to a pre-defined detection and modification strategy, determine the structure nodes to be modified in the original structure nodes, and construct a reconstructed structure node corresponding to the structure nodes to be modified.

[0040] The structure node to be modified may refer to the original structure node to be updated. The reconstructed structure node is a replacement node of the original structure node. The reconstructed structure node is used to update the original execution directed graph to form an updated directed graph, that is, the directed graph of the three-dimensional detection recalculation.

[0041] Specifically, the pre-executed detection and modification strategy is analyzed to determine the to-be-modified structure nodes in each original structure node that are planned to be updated. Further, by analyzing the analysis data of the detection and modification strategy, a reconstructed structure node corresponding to the to-be-modified structure node is constructed, so that the to-be-modified structure node is updated through the reconstructed structure node.

[0042] Exemplarily, determining the structure node to be modified in the original structure node according to a pre-established detection and modification strategy, and constructing a reconstructed structure node corresponding to the structure node to be modified, includes: determining the node identification information of the structure node to be modified according to the detection and modification strategy; for each of the structure nodes to be modified, determining the reconstruction configuration information corresponding to the structure node to be modified according to the node identification information and the detection and modification strategy; and constructing a reconstructed structure node corresponding to the structure node to be modified according to the reconstruction configuration information at a preset position corresponding to the structure node to be modified.

[0043] The node identification information may refer to the identification information of the structure node to be modified. The reconstruction configuration information may refer to the configuration information of the reconstruction structure node. The preset position is a position near the modified structure node, which may be above or below the modified structure node.

[0044] Specifically, the identification information of each original structural node to be updated and modified, that is, the node identification information of the structural node to be modified, is recorded in the detection and modification strategy. The reconstruction configuration information corresponding to each structural node to be modified is then searched in the detection and modification strategy based on the node identification information. After determining the corresponding relationship between the reconstruction configuration information and the structural node to be modified, at the preset position corresponding to the structural node to be modified, the reconstruction configuration information is used to construct a reconstructed structural node corresponding to the structural node to be modified through the three-dimensional detection software.

[0045] S104: Replace the to-be-modified structure nodes in the original execution directed graph with the reconstructed structure nodes to obtain a recalculation execution directed graph, and perform three-dimensional detection recalculation based on the recalculation execution directed graph.

[0046] The recalculated execution directed graph may refer to a directed graph after the original execution directed graph is updated by the reconstructed nodes.

[0047] Specifically, through the three-dimensional detection software, each to-be-modified structural node is replaced with a corresponding reconstructed structural node, thereby obtaining a recalculation execution directed graph, and then performing three-dimensional detection recalculation according to the recalculation execution directed graph.

[0048] Exemplarily, replacing the to-be-modified structure node in the original execution directed graph with the reconstructed structure node includes: for each to-be-modified structure node, determining, according to the node identification information corresponding to the to-be-modified structure node, an associated structure node connected to the to-be-modified structure node among a plurality of the original structure nodes in the original execution directed graph; disconnecting the to-be-modified structure node from the associated structure node, and connecting the associated structure node of the to-be-modified structure node to the reconstructed structure node.

[0049] Specifically, for each structure node to be modified, the associated structure node connected to the structure node to be modified is queried through the node identification information corresponding to the structure node to be modified. The connection between the associated structure node and the structure node to be modified is disconnected, and the associated structure node corresponding to the structure node to be modified is connected to the reconstructed structure node, thereby realizing the replacement of the reconstructed structure node.

[0050] Figure 2 Schematic diagram of replacing the reconstruction structure node provided by the embodiment of the present invention. Figure 2 As shown, execution node 2 is the structure node to be modified, data node is the associated structure node, and execution node 1 is the reconstructed node. By disconnecting the data node from execution node 2 and connecting the data node to execution node 1, the replacement processing of the reconstructed structure node is realized, and then the recalculation execution directed graph is obtained.

[0051] Exemplarily, the three-dimensional detection recalculation based on the recalculation execution directed graph includes: determining the target structure nodes participating in the recalculation according to the recalculation execution directed graph, and determining the total number of data inputs for the target structure nodes; for each target structure node, determining the number of input data strips input to the target structure node; and when the number of input data strips is equal to the total number of data input strips, performing three-dimensional detection recalculation of the target structure node.

[0052] The target structure node refers to the original structure node involved in the recalculation. The total number of data inputs may refer to the total number of data input pulses of each target structure node. For example, if the target structure node should have three data pulse inputs to obtain a correct detection execution result, the total number of data inputs of the target structure node is three.

[0053] Specifically, before executing the 3D detection recalculation transfer process node, the node connection status will be detected first, and based on the recalculation execution directed graph, the target structure nodes involved in the recalculation and the total number of data inputs for the target structure nodes will be determined. For each target structure node, the number of input data strips is determined in real time, and the number of input data strips is compared with the total number of data input strips. Only when the number of input data strips is equal to the total number of data input strips, the 3D detection recalculation of the target structure node can be performed, ensuring that the execution of the target structure node is performed in a single time and in the most efficient way.

[0054] Another feasible implementation method is to determine the pulse data inputted into the target structure node in real time. After a pulse data is inputted, the total number of data inputted is reduced by one. When the total number of data inputted is zero, the three-dimensional detection recalculation of the target structure node can be performed.

[0055] Figure 3 A schematic diagram of the structure of the target structure node provided by the embodiment of the present invention. Figure 3 As shown, nodes data 1 and 2, and execution nodes 1 and 2 are all target structure nodes. The optimal execution logic is from data nodes 1 and 2 to execution node 1, and then from execution node 1 to execution node 2. In addition, the total number of data inputs (pulse numbers) of data nodes 1 and 2 is 1, the total number of data inputs of execution node 1 is 2, and the total number of data inputs of execution node 2 is 3. In other words, when the number of input data of data nodes 1 and 2 is 1, or when the total number of data inputs is reduced to 0, nodes data 1 and 2 perform three-dimensional detection recalculation. The same is true for execution nodes 1 and 2, and no further description will be given.

[0056] The technical solution of the embodiment of the present invention is to obtain the original execution process in the three-dimensional detection software. According to the original execution process, an original execution directed graph corresponding to the original execution process is constructed, and the original execution process is directly viewed in a visual manner. Among them, the original execution directed graph includes at least one original structure node; through a pre-established detection modification strategy, the structure node to be modified in the original structure node is determined, and a reconstructed structure node corresponding to the structure node to be modified is further constructed to create a modification basis for the original execution directed graph. Among them, the reconstructed structure node is a replacement node for the original structure node. The structure node to be modified in the original execution directed graph is replaced with the reconstructed structure node to obtain a recalculation execution directed graph, and three-dimensional detection recalculation is performed based on the recalculation execution directed graph, thereby reducing the complexity of recalculation feature changes, and at the same time having the characteristics of extremely high scalability.

[0057] Embodiment 2

[0058] Figure 4 This is a flowchart of a three-dimensional detection recalculation method provided in the second embodiment of the present invention. Based on the above embodiments, this embodiment specifically describes the construction of the original execution directed graph. Figure 4 As shown, the method includes:

[0059] S201, obtaining the original execution process in the three-dimensional detection software.

[0060] S202: Determine each detection item structure in the original execution process, and determine the structural connection relationship between the detection item structures.

[0061] The inspection project structure may refer to the main structure in the original execution process, such as data import, alignment, features, comparison, and geometric tolerances.

[0062] Specifically, the original execution process is analyzed and processed to determine the structures of various detection items in the original execution process, and to determine the structural connection relationship between the various detection item structures, as well as the execution logic sequence.

[0063] S203 . For each detection item structure, determine a structure type corresponding to the detection item structure, and convert the detection item structure into an original structure node corresponding to the structure type.

[0064] The original structure nodes include data nodes and execution nodes. For example, the data nodes include at least one of input data nodes, intermediate data nodes and result data nodes. The execution nodes include at least one of detection model nodes, scanning model nodes, alignment nodes, feature nodes, comparison nodes, measurement nodes and calculation tolerance nodes.

[0065] Specifically, according to the structure type of the detection item structure, the detection item structure is converted into an original structure node corresponding to the structure type. Figure 2 or Figure 3 As shown, when the structure type of the detection item structure is a data type, the detection item structure is converted into a data node. When the structure type of the detection item structure is a processing type, the detection item structure is converted into an execution node.

[0066] S204: Connect the original structure nodes according to the structure connection relationship to form an original execution directed graph.

[0067] Specifically, according to the structural connection relationship between the detection item structures, the original structure nodes are connected to construct the original execution directed graph.

[0068] S205 . According to a pre-defined detection and modification strategy, determine the structure nodes to be modified in the original structure nodes, and construct a reconstructed structure node corresponding to the structure nodes to be modified.

[0069] S206: Replace the to-be-modified structure nodes in the original execution directed graph with the reconstructed structure nodes to obtain a recalculation execution directed graph, and perform three-dimensional detection recalculation based on the recalculation execution directed graph.

[0070] The technical solution of the embodiment of the present invention is determined by determining each detection project structure in the original execution process, and determining the structural connection relationship between the detection project structures. For each detection project structure, the structural type corresponding to the detection project structure is determined, and the detection project structure is converted into an original structure node corresponding to the structural type, wherein the original structure node includes a data node and an execution node. According to the structural connection relationship, each of the original structure nodes is connected to form an original execution directed graph. By means of a directed graph, the three-dimensional detection logic is expressed as a connection of a graph of a data unit and an execution unit, and at the same time, the subsequent addition of new execution units and data units becomes easier, and the extensibility and modifiability are stronger, thereby ensuring the extensibility of the three-dimensional detection software business. At the same time, a visual effect can be presented, so that the abstract recalculation is concretized, and the logic of background recalculation is reflected.

[0071] On the basis of the above embodiments, three-dimensional detection recalculation is performed based on the recalculation execution directed graph, including: determining the first reconstructed structure node in the recalculation execution directed graph; determining the first reconstructed structure node as the recalculation starting point of the three-dimensional detection recalculation, and performing three-dimensional detection recalculation based on the recalculation starting point.

[0072] Specifically, the original structure nodes before the first reconstructed structure node in the recalculation execution directed graph have not changed, so they do not need to participate in the recalculation. The first reconstructed structure node is determined as the recalculation starting point of the 3D detection recalculation to perform the 3D detection recalculation without performing repeated detection, thereby improving the efficiency of the 3D detection recalculation.

[0073] Embodiment 3

[0074] Figure 5 This is a schematic diagram of the structure of a three-dimensional detection and recalculation device provided in Embodiment 3 of the present invention. Figure 5 As shown, the device comprises:

[0075] The original execution process acquisition module 301 is used to acquire the original execution process in the three-dimensional detection software;

[0076] An execution directed graph determining module 302 is used to construct an original execution directed graph corresponding to the original execution process according to the original execution process, wherein the original execution directed graph includes at least one original structure node;

[0077] The reconstructed structure node determination module 303 is used to determine the structure node to be modified in the original structure node according to the pre-established detection and modification strategy, and construct a reconstructed structure node corresponding to the structure node to be modified, wherein the reconstructed structure node is a replacement node of the original structure node;

[0078] The detection recalculation execution module 304 is used to replace the to-be-modified structure nodes in the original execution directed graph with the reconstructed structure nodes, obtain a recalculation execution directed graph, and perform three-dimensional detection recalculation based on the recalculation execution directed graph.

[0079] The technical solution of the embodiment of the present invention is to obtain the original execution process in the three-dimensional detection software. According to the original execution process, an original execution directed graph corresponding to the original execution process is constructed, and the original execution process is directly viewed in a visual manner. Among them, the original execution directed graph includes at least one original structure node; through a pre-established detection modification strategy, the structure node to be modified in the original structure node is determined, and a reconstructed structure node corresponding to the structure node to be modified is further constructed to create a modification basis for the original execution directed graph. Among them, the reconstructed structure node is a replacement node for the original structure node. The structure node to be modified in the original execution directed graph is replaced with the reconstructed structure node to obtain a recalculation execution directed graph, and three-dimensional detection recalculation is performed based on the recalculation execution directed graph, thereby reducing the complexity of recalculation feature changes, and at the same time having the characteristics of extremely high scalability.

[0080] Optionally, the reconstruction structure node determination module 303 is specifically used to:

[0081] Determining the node identification information of the structure node to be modified according to the detection and modification strategy;

[0082] For each of the to-be-modified structural nodes, determining the reconstruction configuration information corresponding to the to-be-modified structural node according to the node identification information and the detection and modification strategy;

[0083] At a preset position corresponding to the structure node to be modified, a reconstructed structure node corresponding to the structure node to be modified is constructed according to the reconstruction configuration information.

[0084] Optionally, the detection recalculation execution module 304 is specifically configured to:

[0085] For each structure node to be modified, determining, according to the node identification information corresponding to the structure node to be modified, an associated structure node connected to the structure node to be modified among the plurality of original structure nodes in the original execution directed graph;

[0086] The to-be-modified structure node is disconnected from the associated structure node, and the associated structure node of the to-be-modified structure node is connected to the reconstructed structure node.

[0087] Optionally, the detection recalculation execution module 304 is further specifically configured to:

[0088] Determine the target structure node involved in the recalculation according to the recalculation execution directed graph, and determine the total number of data inputs of the target structure node;

[0089] For each target structure node, determining the number of input data strips input to the target structure node;

[0090] When the number of input data items is equal to the total number of input data items, a three-dimensional detection recalculation of the target structure node is performed.

[0091] Optionally, the directed graph determination module 302 is executed, specifically for:

[0092] Determine each detection item structure in the original execution process, and determine the structural connection relationship between the each detection item structure;

[0093] For each detection item structure, determine the structure type corresponding to the detection item structure, and convert the detection item structure into an original structure node corresponding to the structure type, wherein the original structure node includes a data node and an execution node;

[0094] The original structure nodes are connected according to the structure connection relationship to form an original execution directed graph.

[0095] Optionally, the data node includes at least one of an input data node, an intermediate data node and a result data node; the execution node includes at least one of a detection model node, a scanning model node, an alignment node, a feature node, a comparison node, a measurement node and a calculation tolerance node.

[0096] Optionally, the detection recalculation execution module 304 is further specifically configured to:

[0097] Determining a first reconstructed structure node in the recalculation execution directed graph;

[0098] The first reconstructed structure node is determined as a recalculation starting point for three-dimensional detection recalculation, and three-dimensional detection recalculation is performed based on the recalculation starting point.

[0099] The three-dimensional detection and recalculation device provided in the embodiment of the present invention can execute the three-dimensional detection and recalculation method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0100] Embodiment 4

[0101] Figure 6 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0102] like Figure 6 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0103] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0104] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 11 executes the various methods and processes described above, such as the method of three-dimensional detection recalculation.

[0105] In some embodiments, the method three-dimensional detection recalculation can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method three-dimensional detection recalculation described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the method three-dimensional detection recalculation by any other appropriate means (for example, by means of firmware).

[0106] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0107] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0108] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0109] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0110] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0111] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0112] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0113] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A three-dimensional detection recalculation method, characterized in that: include: Obtain the original execution process in the 3D detection software; According to the original execution process, construct an original execution directed graph corresponding to the original execution process, wherein the original execution directed graph includes at least one original structure node; According to a pre-established detection and modification strategy, a structure node to be modified in the original structure node is determined, and a reconstructed structure node corresponding to the structure node to be modified is constructed, wherein the reconstructed structure node is a replacement node of the original structure node; The to-be-modified structure nodes in the original execution directed graph are replaced with the reconstructed structure nodes to obtain a recalculation execution directed graph, and three-dimensional detection recalculation is performed based on the recalculation execution directed graph.

2. The method according to claim 1, characterized in that The step of determining the to-be-modified structure node in the original structure node according to a pre-established detection and modification strategy, and constructing a reconstructed structure node corresponding to the to-be-modified structure node, comprises: Determining the node identification information of the structure node to be modified according to the detection and modification strategy; For each of the to-be-modified structural nodes, determining the reconstruction configuration information corresponding to the to-be-modified structural node according to the node identification information and the detection and modification strategy; At a preset position corresponding to the structure node to be modified, a reconstructed structure node corresponding to the structure node to be modified is constructed according to the reconstruction configuration information.

3. The method according to claim 1, characterized in that Replacing the to-be-modified structure node in the original execution directed graph with the reconstructed structure node includes: For each structure node to be modified, determining, according to the node identification information corresponding to the structure node to be modified, an associated structure node connected to the structure node to be modified among the plurality of original structure nodes in the original execution directed graph; The to-be-modified structure node is disconnected from the associated structure node, and the associated structure node of the to-be-modified structure node is connected to the reconstructed structure node.

4. The method according to claim 1, characterized in that: The performing three-dimensional detection recalculation based on the recalculation directed graph includes: Determine the target structure node involved in the recalculation according to the recalculation execution directed graph, and determine the total number of data inputs of the target structure node; For each target structure node, determining the number of input data strips input to the target structure node; When the number of input data items is equal to the total number of input data items, a three-dimensional detection recalculation of the target structure node is performed.

5. The method according to claim 1, characterized in that The step of constructing an original execution directed graph corresponding to the original execution process according to the original execution process includes: Determine each detection item structure in the original execution process, and determine the structural connection relationship between the each detection item structure; For each detection item structure, determine the structure type corresponding to the detection item structure, and convert the detection item structure into an original structure node corresponding to the structure type, wherein the original structure node includes a data node and an execution node; The original structure nodes are connected according to the structure connection relationship to form an original execution directed graph.

6. The method according to claim 5, characterized in that The data nodes include at least one of input data nodes, intermediate data nodes and result data nodes; the execution nodes include at least one of detection model nodes, scanning model nodes, alignment nodes, feature nodes, comparison nodes, measurement nodes and calculation tolerance nodes.

7. The method according to claim 1, characterized in that The performing three-dimensional detection recalculation based on the recalculation directed graph includes: Determining a first reconstructed structure node in the recalculation execution directed graph; The first reconstructed structure node is determined as a recalculation starting point for three-dimensional detection recalculation, and three-dimensional detection recalculation is performed based on the recalculation starting point.

8. A three-dimensional detection and recalculation device, characterized in that: include: The original execution process acquisition module is used to acquire the original execution process in the three-dimensional detection software; An execution directed graph determination module, configured to construct an original execution directed graph corresponding to the original execution process according to the original execution process, wherein the original execution directed graph includes at least one original structure node; A reconstructed structure node determination module is used to determine the structure node to be modified in the original structure node according to a pre-defined detection and modification strategy, and to construct a reconstructed structure node corresponding to the structure node to be modified, wherein the reconstructed structure node is a replacement node for the original structure node; The detection recalculation execution module is used to replace the to-be-modified structure nodes in the original execution directed graph with the reconstructed structure nodes, obtain a recalculation execution directed graph, and perform three-dimensional detection recalculation based on the recalculation execution directed graph.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the three-dimensional detection and recalculation method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the three-dimensional detection recalculation method according to any one of claims 1 to 7 when executed.