Map making system and method for matching annotation family based on reserved hole casing pipe
By constructing parameter matrices for the hole and sleeve and using a nonlinear matching function, the problems of time-consuming, labor-intensive, and error-prone registration of the hole and sleeve were solved, achieving high-precision, automated matching and visual annotation generation.
Patent Information
- Application Number
- CN202411184182.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2025-01-07
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing technologies are time-consuming and labor-intensive in aligning holes and sleeves, have large errors, and lack high-precision matching tools. In particular, they cannot provide dynamic updates and automatic adjustments in multi-hole and multi-sleeve systems.
By constructing parameter matrices for the holes and sleeves, precise registration is performed using a nonlinear matching function, and annotations are automatically adjusted using a dynamic update function to generate a visual matching relationship matrix and annotations.
It improves the accuracy of hole and sleeve matching, realizes fully automated management, reduces human error, and improves matching efficiency and annotation accuracy.
Smart Images

Figure CN119272356A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of digital mapping, in particular to a mapping system and method based on a matching annotation family of reserved hole casings. Background Art
[0002] In modern engineering design and manufacturing, accurate hole-casing matching is crucial to ensure the overall stability and performance of the system. However, the existing technology usually relies on manual measurement and empirical judgment when performing hole-casing registration, which is not only time-consuming and labor-intensive, but also prone to errors. In addition, when dealing with complex structures or porous casings, traditional methods lack effective mathematical models and calculation tools, making it difficult to ensure high-precision registration and annotation effects.
[0003] In response to this situation, some studies have proposed solutions based on simple geometric relationships or limited matching rules. Although they have improved the efficiency of registration to a certain extent, they still cannot meet the high-precision registration requirements in more complex structures. Especially in systems with multiple holes and multiple casings, existing technical means cannot provide dynamic updates and automatic adjustments, resulting in low matching efficiency and large errors. Summary of the invention
[0004] Based on the above-mentioned shortcomings of the prior art, the purpose of the present invention is to provide a mapping system and method based on matching annotation families of reserved hole casings to solve the above-mentioned technical problems.
[0005] To achieve the above object, the present invention provides the following technical solution: a mapping method based on a matching annotation family of reserved hole casings, comprising:
[0006] Obtain relevant data of reserved holes and casings that need to be mapped;
[0007] Construct hole parameter matrix and casing parameter matrix according to relevant data of reserved holes and casings;
[0008] Using a nonlinear matching function, the hole parameter matrix is matched with the casing parameter matrix to obtain a matching relationship matrix;
[0009] According to the matching relationship matrix, corresponding annotations are generated for the reserved holes and casing pairs.
[0010] The present invention is further configured such that the relevant data of the reserved holes and casing include: geometric parameters of the reserved holes, geometric parameters of the casing, position coordinates of the reserved holes, inner diameter and material properties of the casing, wherein the geometric parameters of the reserved holes include hole diameter and depth; the geometric parameters of the casing include outer diameter and length.
[0011] The present invention is further configured to construct a hole parameter matrix and a casing parameter matrix according to the relevant data of the reserved holes and casings, specifically comprising: constructing a hole parameter matrix H and a casing parameter matrix S according to the geometric parameters of the reserved holes and casings, wherein h in the hole parameter matrix H is ij represents the jth geometric parameter of the ith hole, and s in the casing parameter matrix S ij represents the jth geometric parameter of the i-th casing.
[0012] The present invention is further configured to use a nonlinear matching function to match the hole parameter matrix with the casing parameter matrix to obtain a matching relationship matrix, and the matching logic of the matching relationship matrix is: Among them, H i is the hole parameter matrix of the ith hole, S j is the casing parameter matrix of the jth casing, f match () is the nonlinear matching function, M ij is the matching relationship matrix, indicating H i and S j Through the relationship matrix after nonlinear matching, n is the number of geometric parameters, w k is the weight coefficient of the kth geometric parameter.
[0013] The present invention is further configured to generate corresponding annotations for the reserved holes and casing pairs according to the matching relationship matrix, including: the logic for generating the annotations is: Among them, A ij is the annotation of the hole parameter matrix of the i-th hole and the casing parameter matrix of the j-th casing, f annotate () is a comment generation function, and Format() is used to format the calculation results into a readable comment form in the drawing.
[0014] The present invention is further configured that the method further comprises:
[0015] When the parameters of the reserved holes or casings change, the matching relationship matrix and the annotation matrix are automatically updated through the dynamic update function to ensure the accuracy and latestness of the annotation information.
[0016] The present invention is further configured such that the update logic of the dynamic update function is: Where ΔA ij is the adjustment amount of the annotation, ΔH i is the change in the hole parameter matrix of the ith hole, ΔS j is the change in the casing parameter matrix of the jth casing.
[0017] The present invention also provides a mapping system based on a matching annotation family of reserved hole casings, the system comprising:
[0018] Acquisition module: acquires the relevant data of reserved holes and casings that need to be mapped;
[0019] Construction module: construct hole parameter matrix and casing parameter matrix according to relevant data of reserved holes and casings;
[0020] Matching module: Use nonlinear matching function to match the hole parameter matrix with the casing parameter matrix to obtain the matching relationship matrix;
[0021] Generation module: Generate corresponding annotations for reserved holes and casing pairs according to the matching relationship matrix.
[0022] The present invention provides a mapping system and method based on a matching annotation family of reserved holes and casings. The method obtains relevant data of reserved holes and casings that need to be mapped; constructs a hole parameter matrix and a casing parameter matrix according to the relevant data of the reserved holes and casings; uses a nonlinear matching function to match the hole parameter matrix with the casing parameter matrix to obtain a matching relationship matrix; generates corresponding annotations for the reserved holes and casing pairs according to the matching relationship matrix, and the beneficial effects produced include:
[0023] 1. Improve matching accuracy: By constructing the hole parameter matrix and the casing parameter matrix and using the nonlinear matching function to accurately align the two, the matching accuracy of the hole and the casing is significantly improved and human errors are reduced;
[0024] 2. Automated matching process: The present invention realizes fully automated management of the registration process by dynamically updating and automatically adjusting the matching relationship matrix, reducing the need for manual operation and improving matching efficiency;
[0025] 3. Visual annotation generation: Using the matching relationship matrix and annotation function, visual annotations for reserved holes and casings are automatically generated, providing intuitive design guidance, reducing the workload of designers, and improving the accuracy of annotations.
[0026] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for describing 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. In the drawings:
[0028] Figure 1 A flowchart of a mapping method based on a matching annotation family of reserved hole casings according to an exemplary embodiment of the present invention;
[0029] Figure 2 A schematic structural diagram of a mapping system based on matching annotation families of reserved hole casings according to an exemplary embodiment of the present invention. DETAILED DESCRIPTION
[0030] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.
[0031] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0032] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.
[0033] Embodiment 1
[0034] Drawing method based on matching annotation family of reserved hole casing, such as Figure 1 As shown, including:
[0035] Obtain relevant data of reserved holes and casings that need to be mapped;
[0036] Construct hole parameter matrix and casing parameter matrix according to relevant data of reserved holes and casings;
[0037] Using a nonlinear matching function, the hole parameter matrix is matched with the casing parameter matrix to obtain a matching relationship matrix;
[0038] According to the matching relationship matrix, corresponding annotations are generated for the reserved holes and casing pairs.
[0039] Specifically, obtaining relevant data of reserved holes and casings to be mapped is a basic step of the entire matching annotation family mapping method. The present invention is further configured such that the relevant data of reserved holes and casings include: geometric parameters of reserved holes, geometric parameters of casing, position coordinates of reserved holes, inner diameter and material properties of casing, wherein the geometric parameters of reserved holes include hole diameter and depth; the geometric parameters of casing include outer diameter and length. Specifically, among the geometric parameters of the reserved holes, the aperture is the diameter of the hole, that is, the maximum width of the cross section of the hole, which determines the maximum size of the casing that can pass through the hole; the depth is the depth of the hole, that is, the vertical distance from the top to the bottom of the hole. The depth parameter is very important for determining whether the hole can accommodate a sufficiently long casing; among the geometric parameters of the casing, the outer diameter is the outer diameter of the casing, which determines whether the casing can pass through the reserved hole smoothly without loosening or getting stuck; the length is the length of the casing, that is, the measurement value of the casing in the direction of its main axis. The length parameter corresponds to the depth of the hole and determines whether the installation of the casing is appropriate; the position coordinates refer to the specific position of the hole in the design drawing, expressed in three-dimensional coordinates; the inner diameter refers to the inner diameter of the casing, which determines the maximum size of the items that can be accommodated inside the casing; the material properties refer to the characteristics of the material used for the casing, including the strength, corrosion resistance, elastic modulus, etc. of the material, which affect the durability of the casing and its applicability in various environments.
[0040] The present invention is further configured to construct a hole parameter matrix and a casing parameter matrix according to the relevant data of the reserved holes and casings, specifically comprising: constructing a hole parameter matrix H and a casing parameter matrix S according to the geometric parameters of the reserved holes and casings, wherein h in the hole parameter matrix H is ij represents the jth geometric parameter of the ith hole, and s in the casing parameter matrix S ij represents the jth geometric parameter of the i-th casing; specifically, the hole parameter matrix contains the geometric parameter information of all reserved holes, each row represents a hole, and each column represents a geometric parameter of the hole; the casing parameter matrix contains the geometric parameter information of all casings, each row represents a casing, and each column represents a geometric parameter of the casing.
[0041] The present invention is further configured to use a nonlinear matching function to match the hole parameter matrix with the casing parameter matrix to obtain a matching relationship matrix, and the matching logic of the matching relationship matrix is: Among them, Hi is the hole parameter matrix of the ith hole, S j is the casing parameter matrix of the jth casing, f match () is the nonlinear matching function, M ij is the matching relationship matrix, indicating H i and S j Through the relationship matrix after nonlinear matching, n is the number of geometric parameters, w k is the weight coefficient of the kth geometric parameter. Specifically, the nonlinear matching function is used to calculate the matching degree between the i-th hole and the j-th casing, and the matching degree is calculated based on the difference between the hole parameters and the casing parameters; through the above logic, the matching degree of the reserved hole and the casing can be accurately calculated and evaluated, thereby reducing potential errors in construction and improving engineering quality and efficiency; the weight coefficient of the kth geometric parameter w k It is preset and no specific value is limited here.
[0042] The present invention is further configured to generate corresponding annotations for the reserved holes and casing pairs according to the matching relationship matrix, including: the logic for generating the annotations is: Among them, A ij is the annotation of the hole parameter matrix of the i-th hole and the casing parameter matrix of the j-th casing, f annotate () is a comment generation function, and Format() is used to format the calculation results into a readable comment form for drawing; specifically, A ij Represents the annotation information generated for the i-th hole and the j-th casing. The annotation information is displayed in a specific format on the drawing, providing detailed information about the matching of the hole and the casing. Through the combination of the matching relationship matrix and geometric parameters, accurate annotation information reflecting the actual matching situation can be generated.
[0043] The present invention is further configured that the method further comprises:
[0044] When the parameters of the reserved holes or casings change, the matching relationship matrix and the annotation matrix are automatically updated through a dynamic update function to ensure the accuracy and latestness of the annotation information; the present invention is further configured such that the update logic of the dynamic update function is: Where ΔA ij is the adjustment amount of the annotation, ΔH i is the change in the hole parameter matrix of the ith hole, ΔS j is the change in the casing parameter matrix of the jth casing; ΔA ijIt represents the annotation adjustment amount of the ith hole and the jth casing, and is used to adjust the existing annotation to reflect the latest parameter changes. When the parameters of the hole or casing in the design change, the dynamic update function can instantly update the annotation information to ensure that the annotation on the drawing is always the latest. By using partial derivatives to calculate the annotation adjustment amount, it can accurately reflect the impact of parameter changes on the annotation content, avoiding erroneous information caused by parameter changes.
[0045] Embodiment 2
[0046] See also Figure 2 The exemplary mapping system based on matching annotation families of reserved hole casings includes:
[0047] Acquisition module: acquires the relevant data of reserved holes and casings that need to be mapped;
[0048] Construction module: construct hole parameter matrix and casing parameter matrix according to relevant data of reserved holes and casings;
[0049] Matching module: Use nonlinear matching function to match the hole parameter matrix with the casing parameter matrix to obtain the matching relationship matrix;
[0050] Generation module: Generate corresponding annotations for reserved holes and casing pairs according to the matching relationship matrix.
[0051] It should be noted that the mapping system for matching annotation families based on reserved hole casings provided in the above embodiment and the mapping method for matching annotation families based on reserved hole casings provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs operations has been described in detail in the method embodiment and will not be repeated here. In actual applications, the mapping system for matching annotation families based on reserved hole casings provided in the above embodiment can allocate the above functions to different functional modules as needed, that is, divide the internal structure of the system into different functional modules to complete all or part of the functions described above, and this is not limited here.
[0052] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0053] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.
[0054] In this application, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0055] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean 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 the embodiments of the present application.
[0056] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example 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 performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0057] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0058] In the several embodiments provided in the present application, it should be understood that the disclosed system can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0059] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0060] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0061] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.
[0062] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A mapping method based on a matching annotation family of reserved hole casings, characterized in that: include: Obtain relevant data of reserved holes and casings that need to be mapped; Construct hole parameter matrix and casing parameter matrix according to relevant data of reserved holes and casings; Using a nonlinear matching function, the hole parameter matrix is matched with the casing parameter matrix to obtain a matching relationship matrix; According to the matching relationship matrix, corresponding annotations are generated for the reserved holes and casing pairs.
2. The mapping method based on matching annotation families of reserved hole casings according to claim 1 is characterized in that: The relevant data of the reserved holes and casings include: geometric parameters of the reserved holes, geometric parameters of the casings, position coordinates of the reserved holes, inner diameter and material properties of the casings, wherein the geometric parameters of the reserved holes include hole diameter and depth; the geometric parameters of the casings include outer diameter and length.
3. The mapping method based on matching annotation families of reserved hole casings according to claim 2 is characterized in that: The hole parameter matrix and the casing parameter matrix are constructed according to the relevant data of the reserved holes and casings, specifically including: constructing the hole parameter matrix H and the casing parameter matrix S according to the geometric parameters of the reserved holes and casings, wherein h in the hole parameter matrix H ij represents the jth geometric parameter of the ith hole, and s in the casing parameter matrix S ij represents the jth geometric parameter of the i-th casing.
4. The mapping method based on matching annotation families of reserved hole casings according to claim 3 is characterized in that: The hole parameter matrix and the casing parameter matrix are matched using a nonlinear matching function to obtain a matching relationship matrix. The matching logic of the matching relationship matrix is: Among them, H i is the hole parameter matrix of the ith hole, S j is the casing parameter matrix of the jth casing, f match ( ) is the nonlinear matching function, M ij is the matching relationship matrix, indicating H i and S j Through the relationship matrix after nonlinear matching, n is the number of geometric parameters, w k is the weight coefficient of the kth geometric parameter.
5. The mapping method based on matching annotation families of reserved hole casings according to claim 4 is characterized in that: According to the matching relationship matrix, corresponding annotations are generated for the reserved holes and casing pairs, including: The generation logic of the annotations is: Among them, A ij is the annotation of the hole parameter matrix of the i-th hole and the casing parameter matrix of the j-th casing, f annotate ( ) is the annotation generation function, and Format() is used to format the calculation results into a readable annotation form in the drawing.
6. The mapping method based on matching annotation families of reserved hole casings according to claim 1, characterized in that: The method further comprises: When the parameters of the reserved holes or casings change, the matching relationship matrix and the annotation matrix are automatically updated through the dynamic update function to ensure the accuracy and latestness of the annotation information.
7. The mapping method based on matching annotation families of reserved hole casings according to claim 6 is characterized in that: The update logic of the dynamic update function is: Where ΔA ij is the adjustment amount of the annotation, ΔH i is the change in the hole parameter matrix of the ith hole, ΔS j is the change in the casing parameter matrix of the jth casing.
8. A mapping system based on matching annotation families of reserved hole casings, characterized in that: include: Acquisition module: acquires the relevant data of reserved holes and casings that need to be mapped; Construction module: construct hole parameter matrix and casing parameter matrix according to relevant data of reserved holes and casing; Matching module: Use nonlinear matching function to match the hole parameter matrix with the casing parameter matrix to obtain the matching relationship matrix; Generation module: Generate corresponding annotations for reserved holes and casing pairs according to the matching relationship matrix.