A method, system, device and medium for identifying identical plugs in similar locations using a computer

By constructing a wiring harness plug model and assembly area, obtaining the plug center of gravity coordinates and identification area, quantitatively describing the plug shape, and using a computer to identify the shapes of plugs in similar positions, the problem of inaccurate aviation plug shape recognition is solved, and rapid identification and prompting of plug error risks are achieved, thereby improving the reliability and safety of the electrical system.

CN120068284BActive Publication Date: 2025-09-09CHENGDU AIRCRAFT INDUSTRY GROUP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510542483.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-28
Publication Date
2025-09-09
Estimated Expiration
2045-04-28

AI Technical Summary

Technical Problem

Existing technologies have difficulty accurately identifying the shape of aviation plugs, resulting in incorrect docking of the plugs with electrical equipment and the risk of product failure.

Method used

By constructing a wiring harness plug model and assembly area, obtaining the plug center of gravity coordinates and identification area, and quantitatively describing the plug shape, a computer is used to identify the shapes of plugs in similar positions. If they are identical, they are highlighted to indicate the risk of error.

Benefits of technology

Quickly identify and display plugs of the same shape in the same compartment, reducing the risk of incorrect plug installation and improving the reliability and safety of the electrical system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120068284B_ABST
    Figure CN120068284B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of computer-aided process design, and more specifically, to a method, system, device, and medium for using a computer to identify identical plugs appearing in similar positions. The method first obtains the coordinates of the plug's center of gravity and a plug identification area based on a constructed wiring harness plug model and an assembly area. The method then quantitatively describes the plug and assembly area information to obtain a description result. Finally, the shape of the plugs in the area to be assembled is identified, and whether the plug shapes are identical is determined based on the coordinates of the plug's center of gravity and the description result. If identical, the plugs are highlighted. The computer recognizes the shapes of wiring harness plugs in a product compartment, quickly finding plugs of identical shapes, prompting identical-shaped plugs in the same compartment, and reducing the risk of incorrect plug installation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer-aided process design, and in particular to a method, system, device and medium for using a computer to identify identical plugs appearing in close positions. Background Art

[0002] In the aviation field, wiring harness plugs within product compartments are key components for electrical connections, and accurate shape recognition is crucial to ensuring the reliability and safety of electrical systems. A Chinese invention patent, entitled "A Product Error Prevention Method and System Based on Barcode Scanning," with publication number "CN109615041A," scans and reads the barcode on the product and compares it with scanned barcodes in a database. If duplicate barcodes are found, an alarm is issued. This method requires affixing a barcode to the product, but due to the size and shape of aviation plugs, this method cannot be applied to aviation plug products. Furthermore, if the barcode falls off, it can easily leave excess material inside the product, posing a potential quality risk. Summary of the Invention

[0003] The present invention aims to solve the problem that plugs of the same shape exist in similar positions of products, resulting in incorrect docking between the plugs and electrical equipment and causing product failure. The present invention proposes a method, system, device and medium for using a computer to identify identical plugs in similar positions. The method first obtains the center of gravity coordinates of the plug and the plug identification area based on the constructed wiring harness plug model and assembly area; then quantitatively describes the plug and assembly area information to obtain a description result; finally, the shape of the plug in the area to be assembled is identified, and whether the plug shapes are the same is determined based on the center of gravity coordinates of the plug and the description result. If the plug shapes are the same, they are highlighted; the computer recognizes the shape of the wiring harness plugs in the product compartment, quickly finds plugs of the same shape, and prompts the plugs of the same shape in the same compartment, reducing the risk of plug installation errors.

[0004] The specific implementation contents of the present invention are as follows:

[0005] A computer-based method for identifying identical plugs in similar locations. The method first obtains the plug center of gravity coordinates and the plug identification area based on a constructed wiring harness plug model and assembly area. The method then quantitatively describes the plug and assembly area information to obtain a description result. Finally, the plug shape within the area to be assembled is identified. Based on the plug center of gravity coordinates and the description result, it is determined whether the plug shapes are identical. If identical, the plug shapes are highlighted.

[0006] In order to better implement the present invention, the method of using a computer to identify identical plugs in close locations further comprises the following steps:

[0007] Step S1: constructing a wiring harness plug model and an assembly area in the product structure, and obtaining the coordinates of the plug's center of gravity based on the wiring harness plug model, and obtaining the plug identification area based on the assembly area;

[0008] Step S2: calling the shape distribution algorithm to quantitatively describe the part shape and obtain a description result;

[0009] Step S3: Find the plug part model in the area to be assembled, calculate the plug shape similarity based on the plug center of gravity coordinates and description results, and determine whether the plug shapes are the same. If they are the same, highlight them.

[0010] In order to better implement the present invention, further, step S1 specifically includes the following steps:

[0011] Step S11: constructing a plug part model and extracting the coordinates (x, y, z) of the plug's center of gravity;

[0012] Step S12: Construct the assembly area and obtain two extreme points (x1, y1, z1) and (x2, y2, z2) to obtain the plug recognition area.

[0013] In order to better implement the present invention, the specific operation of step S2 is as follows: calling the shape distribution algorithm to quantitatively describe the shape of the plug part, obtaining the description result, and recording the description result as an n-dimensional vector ,in ,and For the i The shape vector of the dimensions.

[0014] In order to better implement the present invention, further, step S3 specifically includes the following steps:

[0015] Step S31: randomly selecting an area to be assembled and searching for a plug part model in the area to be assembled;

[0016] Step S32: randomly selecting a plug part p and a plug part q from the searched plug part models, and calculating the part shape similarity based on the description results;

[0017] Step S33: Based on the set similarity threshold, determine whether the plug shapes of the plug part p and the plug part q are the same; if they are the same, highlight them.

[0018] In order to better implement the present invention, further, the specific operation of calculating the part shape similarity in step S32 is:

[0019]

[0020] in, and Represents the value of the i-th dimension in the shape vector of part p and part q respectively.

[0021] In order to better implement the present invention, the specific operation of step S33 is as follows: according to the set similarity threshold b, it is determined whether the plug shapes of the plug parts p and q are the same. If the parts shape similarity is , it is judged that the assembly process of plug part p and plug part q is prone to errors, and a warning is issued in the aircraft three-dimensional model.

[0022] Based on the above-mentioned method for identifying identical plugs in close proximity using a computer, and in order to better implement the present invention, a system for identifying identical plugs in close proximity using a computer is further proposed, which is used to implement the above-mentioned method for identifying identical plugs in close proximity using a computer; the system comprises an acquisition unit, a description unit, and an identification unit;

[0023] The acquisition unit is used to acquire the coordinates of the center of gravity of the plug and the plug identification area according to the constructed wiring harness plug model and the assembly area;

[0024] The description unit is used to quantitatively describe the plug and assembly area information;

[0025] The identification unit is used to identify the shapes of the plugs in the area to be assembled, determine whether the plug shapes are the same, and highlight them if they are the same.

[0026] Based on the above-mentioned method of using a computer to identify identical plugs in similar locations, in order to better implement the present invention, an electronic device is further proposed, including a memory and a processor; the memory stores a computer program; when the computer program is executed on the processor, the above-mentioned method of using a computer to identify identical plugs in similar locations is implemented.

[0027] Based on the above-mentioned method of using a computer to identify identical plugs in similar locations, in order to better implement the present invention, a computer-readable storage medium is further proposed, on which computer instructions are stored; when the computer instructions are executed on the above-mentioned electronic device, the above-mentioned method of using a computer to identify identical plugs in similar locations is implemented.

[0028] The present invention has the following beneficial effects:

[0029] (1) The present invention supports designers and installation operators to identify the shapes of wiring harness plugs in product compartments through computers, quickly find plugs with the same shape, and realize prompts for plugs with the same shape in the same compartment; helps designers to prevent errors in the design of plugs in the same position; helps installation operators to check plugs with the same shape and prompt the risks of errors in plug installation.

[0030] (2) The present invention can identify all plug shapes and fully considers the hidden dangers of the same-shaped plugs being incorrectly connected to different devices in the same area. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 This is an overall flow chart of the method provided by the present invention for using a computer to identify identical plugs appearing in similar locations.

[0032] Figure 2 A schematic diagram of extracting the center of gravity coordinates of a plug provided in an embodiment of the present invention.

[0033] Figure 3 A schematic diagram of a plug selection comparison area provided in an embodiment of the present invention.

[0034] Figure 4 A schematic diagram of automatically identifying plugs of the same shape provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the technical solutions 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. It should be understood that the described embodiments are only part of the embodiments of the present invention, not all of the embodiments, and therefore should not be regarded as limiting the scope of protection. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technical personnel in this field without making creative work are within the scope of protection of the present invention.

[0036] In the description of the present invention, it should be noted that, unless otherwise expressly specified or limited, the terms "disposed," "connected," and "connected" should be understood in a broad sense. For example, they may refer to fixed connections, detachable connections, or integral connections; mechanical connections, electrical connections; direct connections, indirect connections through an intermediate medium, or internal connections between two components. Those skilled in the art will understand the specific meanings of the above terms in the present invention based on the specific circumstances.

[0037] Example 1:

[0038] This embodiment proposes a method for using a computer to identify identical plugs appearing in similar locations. First, based on a constructed wiring harness plug model and assembly area, the plug center of gravity coordinates and the plug identification area are obtained. Then, the plug and assembly area information are quantitatively described to obtain a description result. Finally, the shape of the plug in the area to be assembled is identified. Based on the plug center of gravity coordinates and the description result, it is determined whether the plug shapes are identical. If identical, the plug shapes are highlighted.

[0039] Working Principle: This embodiment defines an area in the product's three-dimensional computer model and uses the computer to identify the shape of the cable plugs in the area. If the plugs have the same shape, the computer prompts the existence of plugs of the same shape, thereby providing designers with error-proofing design tips or reminding plug installers of easy docking errors, thereby reducing the risk of plug installation errors.

[0040] Example 2:

[0041] This embodiment is described in steps based on the above embodiment 1.

[0042] The method for identifying identical plugs at similar locations using a computer specifically comprises the following steps:

[0043] Step S1: constructing a wiring harness plug model and an assembly area in the product structure, and obtaining the center of gravity coordinates of the plug according to the wiring harness plug model, and obtaining the plug identification area according to the assembly area.

[0044] The step S1 specifically includes the following steps:

[0045] Step S11: constructing a plug part model and extracting the coordinates (x, y, z) of the plug's center of gravity;

[0046] Step S12: Construct the assembly area and obtain two extreme points (x1, y1, z1) and (x2, y2, z2) to obtain the plug recognition area.

[0047] Step S2: Calling the shape distribution algorithm to quantitatively describe the part shape and obtain a description result.

[0048] The specific operation of step S2 is: calling the shape distribution algorithm to quantitatively describe the shape of the plug part, obtaining the description result, and recording the description result as an n-dimensional vector ,in ,and For the i The shape vector of the dimensions.

[0049] In order to better implement the present invention, further, the specific operation of calculating the part shape similarity in step S32 is:

[0050]

[0051] in, and Represents the value of the i-th dimension in the shape vector of part p and part q respectively.

[0052] Step S3: Find the plug part model in the area to be assembled, calculate the plug shape similarity based on the plug center of gravity coordinates and description results, and determine whether the plug shapes are the same. If they are the same, highlight them.

[0053] The step S3 specifically includes the following steps:

[0054] Step S31: randomly selecting an area to be assembled and searching for a plug part model in the area to be assembled;

[0055] Step S32: randomly selecting a plug part p and a plug part q from the searched plug part models, and calculating the part shape similarity based on the description results;

[0056] Step S33: Based on the set similarity threshold, determine whether the plug shapes of the plug part p and the plug part q are the same; if they are the same, highlight them.

[0057] The specific operation of step S33 is: according to the set similarity threshold b, determine whether the plug shapes of the plug parts p and q are the same. If the parts shape similarity is , it is judged that the assembly process of plug part p and plug part q is prone to errors, and a warning is issued in the aircraft three-dimensional model.

[0058] Working Principle: This embodiment allows designers and installers to use a computer to identify the shapes of wiring harness plugs within a product compartment, quickly locating identical plugs and providing a reminder of identical plugs within the same compartment. This helps designers prevent errors in the design of plugs in the same location; it helps installers identify identical plugs and alert them to the risk of incorrect installation. This method supports the identification of all plug shapes. The identical plug identification method proposed in this embodiment fully addresses the potential risk of identical plugs being incorrectly connected to different devices within the same area.

[0059] The rest of this embodiment is the same as that of the above-mentioned embodiment 1, and therefore will not be described in detail.

[0060] Example 3:

[0061] This embodiment is based on any one of the above embodiments 1 to 2. Figure 1 、 Figure 2 、 Figure 3 As shown, the product structure and plug model are used as an example for detailed explanation.

[0062] The specific steps are as follows:

[0063] Step 1: Construct the wiring harness plug model and assembly area in the product structure, and describe the plug and assembly area information.

[0064] S1.1: For the plug part model, extract its center of gravity coordinates .like Figure 2 As shown, obtain the coordinates of the center of gravity of the plug model.

[0065] S1.2: For each assembly area, use two extreme points and represents its envelope, where Indicates that the envelope is in the coordinate system The minimum value of Indicates that the envelope is in the coordinate system The maximum value of ; for example Figure 3 , get the envelope.

[0066] S1.3: For each part model, the shape distribution algorithm is used to quantitatively describe the shape information of the part. The description result is recorded as an n-dimensional vector ,in ,and For the i The shape vector of the dimensions.

[0067] Step 2: Highlight the plugs of the same shape in the area with the same color. The specific steps are as follows:

[0068] S2.1: Select a region to be compared; e.g. Figure 3 , get the contrast area.

[0069] S2.2: Find all plug models in the area. The plug model is determined by the following rules:

[0070]

[0071] S2.3: In this assembly area, select two plug parts p and q and calculate the shape similarity between them. , the calculation method is as follows:

[0072]

[0073] in, and Represents the value of the i-th dimension in the shape vector of part p and part q respectively.

[0074] S2.4: Set similarity threshold b, if , it is considered that the assembly process of parts p and q is prone to errors, and a warning is given in the aircraft 3D model. Figure 4 , plugs of the same shape are highlighted.

[0075] This implementation example shows that the automatic recognition method proposed in this embodiment that uses a computer to avoid the appearance of identical plugs in close positions can be used to recognize the shape of plugs in complex product structures and can achieve good recognition results.

[0076] The rest of this embodiment is the same as any of the above-mentioned embodiments 1 and 2, and thus will not be described in detail.

[0077] Example 4:

[0078] This embodiment, based on any one of the above embodiments 1 to 3, proposes a system for using a computer to identify identical plugs in similar locations, which is used to implement the above method for using a computer to identify identical plugs in similar locations; the system includes an acquisition unit, a description unit, and an identification unit;

[0079] The acquisition unit is used to acquire the coordinates of the center of gravity of the plug and the plug identification area according to the constructed wiring harness plug model and the assembly area;

[0080] The description unit is used to quantitatively describe the plug and assembly area information;

[0081] The identification unit is used to identify the shapes of the plugs in the area to be assembled, determine whether the plug shapes are the same, and highlight them if they are the same.

[0082] This embodiment further provides an electronic device, comprising a memory and a processor; the memory stores a computer program; when the computer program is executed on the processor, the above-mentioned method of using a computer to identify identical plugs in similar locations is implemented.

[0083] This embodiment further provides a computer-readable storage medium having computer instructions stored thereon. When the computer instructions are executed on the electronic device described above, the method of using a computer to identify identical plugs in similar locations is implemented.

[0084] The rest of this embodiment is the same as any one of the above-mentioned embodiments 1 to 3, and thus will not be described in detail.

[0085] The processor involved in the embodiments of the present application may be a chip. For example, it may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD), or other integrated chips.

[0086] The memory involved in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0087] 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.

[0088] Those skilled in the art will appreciate that the modules 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 beyond the scope of this application.

[0089] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and modules described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0090] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules is merely a logical function division. In actual implementation, there may be other division methods, such as multiple modules or components can be combined or integrated into another device, 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 modules, which can be electrical, mechanical or other forms.

[0091] The modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules, that is, they may be located on a single device or distributed across multiple devices. Some or all of the modules may be selected to achieve the purpose of this embodiment based on actual needs.

[0092] In addition, the functional modules in the various embodiments of the present application may be integrated into one device, or each module may exist physically separately, or two or more modules may be integrated into one device.

[0093] In the above embodiments, all or part of the embodiments can be implemented using software, hardware, firmware, or any combination thereof. When implemented using a software program, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. 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. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more media integrated therein. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).

[0094] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A method for identifying identical plugs in close proximity using a computer, characterized in that: First, based on the constructed wiring harness plug model and assembly area, the plug center of gravity coordinates and plug identification area are obtained; then, the plug and assembly area information are quantitatively described to obtain the description results; Finally, the plug shapes in the area to be assembled are identified, and the plug shapes are judged to be the same based on the coordinates of the plug's center of gravity and the description results. If they are the same, they are highlighted; The specific steps include: Step S1: constructing a wiring harness plug model and an assembly area in the product structure, and obtaining the coordinates of the plug's center of gravity based on the wiring harness plug model, and obtaining the plug identification area based on the assembly area; Step S11: constructing a plug part model and extracting the coordinates (x, y, z) of the plug's center of gravity; Step S12: construct the assembly area and obtain two extreme points (x1, y1, z1) and (x2, y2, z2) to obtain the plug recognition area; Step S2: calling the shape distribution algorithm to quantitatively describe the part shape and obtain a description result; Call the shape distribution algorithm to quantitatively describe the shape of the plug parts, obtain the description result, and record the description result as an n-dimensional vector s p =[ l 1 , l 2 ,…, l n ],in ,and l i For the i The shape vector of the dimension; Step S3: Find the plug part model in the area to be assembled, calculate the plug shape similarity based on the plug center of gravity coordinates and description results, and determine whether the plug shapes are the same. If they are the same, highlight them; Step S31: randomly selecting an area to be assembled and searching for a plug part model in the area to be assembled; Step S32: randomly selecting a plug part p and a plug part q from the searched plug part models, and calculating the part shape similarity based on the description results; The specific operation of calculating the part shape similarity is: ; in, and Represent the value of the i-th dimension in the shape vector of part p and part q respectively; Step S33: Based on the set similarity threshold, determine whether the plug shapes of the plug part p and the plug part q are the same; if they are the same, highlight them.

2. The method of using a computer to identify identical plugs in similar locations according to claim 1, characterized in that: The specific operation of step S33 is: according to the set similarity threshold b, determine whether the plug shapes of the plug parts p and q are the same. If the parts shape similarity is , it is judged that the assembly process of plug part p and plug part q is prone to errors, and a warning is issued in the aircraft three-dimensional model.

3. A system for identifying identical plugs in close proximity using a computer, for implementing the method for identifying identical plugs in close proximity using a computer as claimed in claim 1; characterized in that: It includes acquisition unit, description unit and identification unit; The acquisition unit is used to acquire the coordinates of the center of gravity of the plug and the plug identification area according to the constructed wiring harness plug model and the assembly area; The description unit is used to quantitatively describe the plug and assembly area information; The identification unit is used to identify the shapes of the plugs in the area to be assembled, determine whether the plug shapes are the same, and highlight them if they are the same.

4. An electronic device, characterized in that: The method comprises a memory and a processor; a computer program is stored in the memory; when the computer program is executed on the processor, the method of using a computer to identify identical plugs appearing in similar positions as claimed in claim 1 or 2 is implemented.

5. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions; when the computer instructions are executed on the electronic device according to claim 4, the method of using a computer to identify identical plugs in similar locations according to claim 1 or 2 is implemented.

Citation Information

Patent Citations

  • Product error prevention method and system based on bar code scanning

    CN109615041A

  • Branch-based aviation wire harness information integration method and readable storage medium

    CN113886402A

  • Aircraft shipping space assembly deviation recognition device and quantitative evaluation method

    CN117649564A