An image-based wire harness wiring quality control system and wiring control method

CN120633104BActive Publication Date: 2026-09-11CHENGDU AIRCRAFT INDUSTRY GROUP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510665038.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-22
Publication Date
2026-09-11
Estimated Expiration
2045-05-22

AI Technical Summary

Technical Problem

在这个过程中,存在以下一些痛点:1.航空图纸十分巨大,打印出来从几米到几十米不等;2.修改麻烦,图纸出错后需要重新打印图纸;3.图纸容易损坏,铺线工人需要使用到一些焊接工具,纸质的图纸很容易点燃;4.找线不便,铺线工人需要从纸质的接线表上查询需要铺设的线束,然后在图纸上找到对应的端子号,这个过程十分繁琐

Benefits of technology

(1)本发明实现了对航空线束图纸和接线表文件数字化管理,方便查询和搜索;

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120633104B_ABST
    Figure CN120633104B_ABST
Patent Text Reader

Abstract

The application discloses a kind of based on image's wire harness wiring quality control system and wiring control method, and the specific wire harness track on drawing is highlighted by identifying wire harness number and terminal number, can remove the process that wire laying worker identifies wire harness number with naked eye, finds the wire harness of corresponding number on number book, then finds the starting terminal and end terminal of corresponding wire harness on drawing again.By using the present system, the wire laying efficiency and accuracy of wire laying worker can be greatly improved, and productivity is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the technical field of digital manufacturing, specifically relating to an image-based wire harness wiring quality control system and wiring control method. Background Technology

[0002] In the field of aerospace manufacturing, drawing aerospace wiring harnesses using computer-aided design (CAD) technology is a critical task. Aerospace wiring harnesses are an essential component of aircraft electrical systems, used to connect and transmit power, signals, and data. Using CAD to draw aerospace wiring harnesses improves design efficiency, enables accurate geometric modeling, and facilitates digital document management.

[0003] While CAD has achieved great success in the application of aviation wiring harness design, significantly increasing efficiency and accuracy, the traditional workflow in aviation manufacturing, particularly in wiring harness installation, involves drawing aviation wiring harness diagrams using CAD, printing them out with a special printer, laying the diagrams on a workbench, and then installing the wiring harness. This process presents several pain points: 1. Aviation diagrams are extremely large, ranging from several meters to tens of meters in length when printed; 2. Modifications are cumbersome, requiring reprinting if errors occur; 3. Diagrams are easily damaged, as paper diagrams are easily ignited due to the use of soldering tools by wiring workers; 4. Locating wires is inconvenient, requiring workers to consult paper wiring diagrams and then find the corresponding terminal numbers on the diagrams, a tedious process. Therefore, it is necessary to digitize the entire workflow, enabling 1:1 digital display of diagrams to reduce preparation time and highlighting wiring harnesses to improve efficiency and accuracy.

[0004] Therefore, this invention discloses an image-based wiring harness quality control system and wiring control method. Summary of the Invention

[0005] This invention discloses an image-based wiring harness quality control system and wiring control method, which can achieve 1:1 display of aviation wiring harness drawings and input wiring harness and terminal information using technologies such as barcode scanning and OCR recognition, and realize functions such as highlighting the wiring harness based on the input information. This improves the laying efficiency and accuracy of aviation wiring harnesses and reduces the printing time of aviation wiring harness drawings.

[0006] This invention is achieved through the following technical solution: An image-based wiring harness quality control system includes a drawing and wiring table management module, a DWG parsing and processing module, an image correction and split-screen module, an image rendering module, and a wiring information recognition module integrated into a human-computer interaction interface. The drawing and wiring table management module is used to upload and preview drawing and wiring table information. The DWG parsing and processing module is used to parse the uploaded drawings and calculate the wiring harness path. The image rendering module is used to render the drawings and highlight the wiring harness. The image correction and split-screen module is used to fill in gaps between drawings and to display and manage the drawings in split-screen mode. The wiring information recognition module is used to recognize wiring harness information and terminal information on the drawings.

[0007] To better realize the present invention, the wiring information identification module further includes a wire harness information identification module and a terminal information identification module. The wire harness information identification module is used to identify the wire harness mold corresponding to the wire harness and to identify the identification code corresponding to the wire harness; the terminal information identification module is used to identify the terminal mold corresponding to the terminal.

[0008] To better realize the present invention, it further includes a user management module, which is used to realize user interaction and data management.

[0009] An image-based method for quality control of wire harness wiring includes the following steps: Step S1: Upload the drawings and wiring tables to the specified directory in the database for storage through the drawing and wiring table management module, and preview the drawings and wiring tables through the image rendering module; Step S2: Search the database for keywords using the drawing and wiring table management module to perform fuzzy matching, verify the correctness of the matching drawings and wiring tables, and delete the drawings and wiring tables that fail the verification. Step S3: Identify the wire harness and terminals using the wiring information identification module; Step S4: The DWG parsing and processing module calculates the wire harness path in the drawing based on the identification results of the wire harness and terminals; Step S5: The image rendering module parses the image data based on the result of the wire harness path calculation, creates a graphic entity, and then performs highlight rendering on the graphic entity. Step S6: The image correction and split-screen module splits the image into two screens and compensates for the seams between the screens by stitching them together to generate the final display image.

[0010] To better realize the present invention, step S1 further includes: Step S1.1: Upload the drawings and wiring tables to the specified directory in the database for storage through the drawing and wiring table management module; Step S1.2: Query the path of the uploaded drawing in the database according to the drawing number, and obtain the corresponding drawing according to the path; query the path of the uploaded wiring table in the database according to the wiring table number, and obtain the corresponding drawing and wiring table according to the path. Step S1.3: The drawing and wiring diagram management module converts the drawings into JSON data and sends the JSON data to the image rendering module; the drawing and wiring diagram management module converts the wiring diagram into a CSV file and sends the CSV file to the image rendering module. Step S1.4: The image rendering module generates a thumbnail of the drawing based on the input JSON data for preview, and the image rendering module generates a List structure of wiring table data based on the input CSV file for preview.

[0011] To better realize the present invention, step S2 further includes: Step S2.1: Perform fuzzy matching in the database based on the search keywords. When a search is successful, obtain the path to the drawing and wiring diagram. Step S2.2: Verify the correctness of the wiring harness logic data in the searched drawings and wiring tables; Step S2.3: If a verification error occurs, delete the corresponding drawings and wiring diagrams according to the path.

[0012] To better realize the present invention, step S3 further includes: Step S3.1: Obtain the wire harness image. The wire harness image is recognized by the wiring information recognition module. The wire harness characters are obtained by feature extraction based on the pixel of the characters in the wire harness image. Step S3.2: Arrange the wire harness characters horizontally in space; Step S3.3: Use Paddle's lightweight OCR model to recognize the wire harness character in order to identify the wire harness; Step S3.4: Obtain the terminal image, and use Paddle's lightweight OCR model to recognize the terminal characters in the terminal image; Step S3.5: Merge the terminal characters and remove duplicates from the overlapping parts of the terminal characters. Identify the terminal by recognizing the terminal characters.

[0013] To better realize the present invention, step S4 further includes: Step S4.1: Abstract the line segments of the wiring trajectory layer in the drawing into nodes in the drawing, calculate the connectivity between nodes based on the connection relationship between the line segments, and set the distance between each adjacent node; Step S4.2: Calculate the nearest line segment entity to each terminal graphic entity; Step S4.3: Read the wiring table file and obtain the start terminal number, end terminal number, and wire number of each record; Step S4.4: For each record in the corresponding wiring table, starting from the starting terminal number and ending from the ending terminal number, use Dijkstra's algorithm to calculate the path in the diagram and add line numbers as markers to the line segment objects in the path.

[0014] To better realize the present invention, step S5 further includes: Step S5.1: Parse the JSON data of the drawing and obtain the layer information, line number information and graphic entity information respectively; Step S5.2: Based on the layer information, create the corresponding layer in the ThreeJS layer space; based on the line number information and graphic entity information, create the corresponding graphic entity in ThreeJS; Step S5.3: Based on the line numbers in the JSON data, create the corresponding index structure, with each line number pointing to the corresponding graphic entity based on the index structure; Step S5.4: Call the index structure and query the corresponding graphic entity based on the line number entered by the user. If the graphic entity contains the previously highlighted line bundle, first restore the color of the previously highlighted line bundle. Step S5.5: Traverse each graphic entity corresponding to the current input line number, change the line segment color attribute to red, and then re-render the drawing.

[0015] To better realize the present invention, step S6 further includes: Step S6.1: Treat the seams between screens as non-displayable pixel areas, and add the display area of ​​the screen to the non-displayable pixel areas to obtain the equivalent display area; Step S6.2: Create an equivalent canvas based on the area and proportion of the equivalent display area; Step S6.3: Lay the rendered drawing on the equivalent canvas, and cut off the part of the corresponding screen seam on the equivalent canvas to generate the actual display image; Step S6.4: Crop the image obtained in step S6.3 into N sub-images of the same size, and create N numbered display windows, with each display window displaying one sub-image. Step S6.5: Based on the display window number, move the display window to the corresponding display screen area in numerical order to achieve full-screen display.

[0016] Compared with the prior art, the present invention has the following advantages and beneficial effects: (1) This invention realizes the digital management of aviation wiring harness drawings and wiring diagrams, which facilitates querying and searching; (2) This invention enables the previewing of drawings, making it convenient to check the drawings before the laying work begins; (3) This invention realizes the transformation of the wire harness wiring process from paper templates to digital electronic drawings. By displaying the wiring drawings digitally at a 1:1 scale, the time for printing drawings can be greatly saved. Furthermore, since paper drawings are no longer used, it is convenient to modify the drawings and avoid damage to the drawings. (4) This invention highlights specific wire harness trajectories on drawings by identifying harness numbers and terminal numbers, eliminating the need for cable laying workers to visually identify harness numbers, search for the corresponding harness in a number book, and then find the start and end terminals of the corresponding harness on the drawings. By using this system, the efficiency and accuracy of cable laying can be greatly improved, thus increasing productivity. Attached Figure Description

[0017] Figure 1 A schematic diagram of the process steps for wire harness wiring quality control; Figure 2 This is a schematic diagram of the wiring harness quality control system. Detailed Implementation

[0018] Example 1: This embodiment provides an image-based wiring harness quality control system, such as... Figure 2 As shown, the system includes a drawing and wiring diagram management module, a DWG parsing and processing module, an image correction and split-screen module, an image rendering module, and a wiring information recognition module integrated into the human-computer interaction interface. The drawing and wiring diagram management module is used to upload and preview drawing and wiring diagram information. The DWG parsing and processing module is used to parse the uploaded drawing and calculate the wiring harness path. The image rendering module is used to render the drawing and highlight the wiring harness. The image correction and split-screen module is used to fill in gaps between drawings and to display and manage the drawing in split-screen mode. The wiring information recognition module is used to identify wiring harness and terminal information on the drawing. The system also includes a user management module, which enables user interaction and data management.

[0019] The wiring information identification module includes a wire harness information identification module and a terminal information identification module. The wire harness information identification module is used to identify the wire harness mold corresponding to the wire harness and to identify the identification code corresponding to the wire harness. The terminal information identification module is used to identify the terminal mold corresponding to the terminal.

[0020] Example 2: This embodiment provides an image-based wiring harness quality control method, such as... Figure 1 As shown, it includes the following steps: Step S1: Upload the drawings and wiring tables to the specified directory in the database for storage through the drawing and wiring table management module, and preview the drawings and wiring tables through the image rendering module; Step S2: Search the database for keywords using the drawing and wiring table management module to perform fuzzy matching, verify the correctness of the matching drawings and wiring tables, and delete the drawings and wiring tables that fail the verification. Step S3: Identify the wire harness and terminals using the wiring information identification module; Step S4: The DWG parsing and processing module calculates the wire harness path in the drawing based on the identification results of the wire harness and terminals; Step S5: The image rendering module parses the image data based on the result of the wire harness path calculation, creates a graphic entity, and then performs highlight rendering on the graphic entity. Step S6: The image correction and split-screen module splits the image into two screens and compensates for the seams between the screens by stitching them together to generate the final display image.

[0021] To better realize the present invention, step S1 further includes: Step S1.1: Upload the drawings and wiring tables to the specified directory in the database for storage through the drawing and wiring table management module; Step S1.2: Query the path of the uploaded drawing in the database according to the drawing number, and obtain the corresponding drawing according to the path; query the path of the uploaded wiring table in the database according to the wiring table number, and obtain the corresponding drawing and wiring table according to the path. Step S1.3: The drawing and wiring diagram management module converts the drawings into JSON data and sends the JSON data to the image rendering module; the drawing and wiring diagram management module converts the wiring diagram into a CSV file and sends the CSV file to the image rendering module. Step S1.4: The image rendering module generates a thumbnail of the drawing based on the input JSON data for preview, and the image rendering module generates a List structure of wiring table data based on the input CSV file for preview.

[0022] To better realize the present invention, step S2 further includes: Step S2.1: Perform fuzzy matching in the database based on the search keywords. When a search is successful, obtain the path to the drawing and wiring diagram. Step S2.2: Verify the correctness of the wiring harness logic data in the searched drawings and wiring tables; Step S2.3: If a verification error occurs, delete the corresponding drawings and wiring diagrams according to the path.

[0023] To better realize the present invention, step S3 further includes: Step S3.1: Obtain the wire harness image. The wire harness image is recognized by the wiring information recognition module. The wire harness characters are obtained by feature extraction based on the pixel of the characters in the wire harness image. Step S3.2: Arrange the wire harness characters horizontally in space; Step S3.3: Use Paddle's lightweight OCR model to recognize the wire harness character in order to identify the wire harness; Step S3.4: Obtain the terminal image, and use Paddle's lightweight OCR model to recognize the terminal characters in the terminal image; Step S3.5: Merge the terminal characters and remove duplicates from the overlapping parts of the terminal characters. Identify the terminal by recognizing the terminal characters.

[0024] To better realize the present invention, step S4 further includes: Step S4.1: Abstract the line segments of the wiring trajectory layer in the drawing into nodes in the drawing, calculate the connectivity between nodes based on the connection relationship between the line segments, and set the distance between each adjacent node; Step S4.2: Calculate the nearest line segment entity to each terminal graphic entity; Step S4.3: Read the wiring table file and obtain the start terminal number, end terminal number, and wire number of each record; Step S4.4: For each record in the corresponding wiring table, starting from the starting terminal number and ending from the ending terminal number, use Dijkstra's algorithm to calculate the path in the diagram and add line numbers as markers to the line segment objects in the path.

[0025] To better realize the present invention, step S5 further includes: Step S5.1: Parse the JSON data of the drawing and obtain the layer information, line number information and graphic entity information respectively; Step S5.2: Based on the layer information, create the corresponding layer in the ThreeJS layer space; based on the line number information and graphic entity information, create the corresponding graphic entity in ThreeJS; Step S5.3: Based on the line numbers in the JSON data, create the corresponding index structure, with each line number pointing to the corresponding graphic entity based on the index structure; Step S5.4: Call the index structure and query the corresponding graphic entity based on the line number entered by the user. If the graphic entity contains the previously highlighted line bundle, first restore the color of the previously highlighted line bundle. Step S5.5: Traverse each graphic entity corresponding to the current input line number, change the line segment color attribute to red, and then re-render the drawing.

[0026] To better realize the present invention, step S6 further includes: Step S6.1: Treat the seams between screens as non-displayable pixel areas, and add the display area of ​​the screen to the non-displayable pixel areas to obtain the equivalent display area; Step S6.2: Create an equivalent canvas based on the area and proportion of the equivalent display area; Step S6.3: Lay the rendered drawing on the equivalent canvas, and cut off the part of the corresponding screen seam on the equivalent canvas to generate the actual display image; Step S6.4: Crop the image obtained in step S6.3 into N sub-images of the same size, and create N numbered display windows, with each display window displaying one sub-image. Step S6.5: Based on the display window number, move the display window to the corresponding display screen area in numerical order to achieve full-screen display.

[0027] Example 3: This embodiment of an image-based wiring harness quality control system includes a drawing and wiring table management module, a wiring harness information recognition module, a terminal information recognition module, a drawing parsing and processing module, an image rendering module, an image correction and split-screen module, and a user interface. The drawing and wiring table management module includes uploading, searching, previewing, and deleting operations for drawings and wiring tables. The wiring harness information recognition module mainly includes algorithms for wiring harness information recognition, a mold for recognizing wiring harnesses, and a barcode scanner for recognizing barcodes on wiring harnesses. The terminal information recognition module mainly includes algorithms for recognizing terminal information and a mold for recognizing terminals. The drawing parsing and processing module mainly includes parsing DWG files and calculating paths. The image rendering module mainly implements the rendering of DWG drawings and the highlighting of wiring harnesses. The image correction and split-screen module mainly includes functions for filling seams and multi-screen management. The user interface provides a human-computer interaction interface.

[0028] An image-based method for quality control of wire harness wiring, with the following specific steps: Upload the wire harness template diagram and the wire harness logic (wiring table) file; Specifically, uploading the wire harness template diagram and wire harness logic (wiring table) file includes the following steps: Create a folder in the specified location based on the product number and drawing name entered by the user; Based on the product number and drawing name entered by the user, the file paths of the DWG drawing and wiring diagram are stored in the database table; Upload the DWG file and wiring diagram file to the specified directory for storage.

[0029] Preview the drawings and wiring diagram; Specifically, previewing the drawings and wiring diagrams includes the following steps: The path to the drawing is retrieved from the database based on the provided drawing number. Obtain the DWG file based on the path; The drawing parsing and processing module converts DWG files into JSON data and sends them to the image rendering module; The image rendering module generates thumbnails of the drawings for preview based on the input JSON data.

[0030] The path to the wiring table is retrieved from the database based on the input wiring table number. Retrieve the Excel file based on the path; Convert Excel to CSV file; Read the record information from the CSV file, convert it into a List structure, and return it to the user interface; The user interface renders the wiring diagram based on the received information.

[0031] Search, verify, and delete drawings and wiring diagrams; Specifically, searching, verifying, and deleting drawings and wiring diagrams includes the following steps: Fuzzy matching is performed in the database based on search keywords; When a search is successful, obtain the paths to the DWG file and wiring diagram file; Verify the correctness of drawings and wiring harness logic data, and display error messages on the front end; Delete the DWG file and wiring diagram file based on the file path.

[0032] Use a barcode scanner or wire harness identification mold to identify wire harness information; If a wire harness identification mold is used for identification, the wire harness number identification module is invoked, and the wire harness number identification module is used to identify the entered wire harness image; Furthermore, wire harness image recognition specifically includes the following steps: Perform erosion operation on the image; Feature extraction based on pixel representation of characters; Arrange the characters horizontally in space; The Paddle lightweight OCR model is used to recognize characters. Terminal identification specifically includes the following steps: The terminals are photographed using a terminal identification mold; The terminal number is identified using a terminal number recognition module; The four images were identified sequentially in a counter-clockwise order, using Paddle's lightweight OCR model for OCR recognition. The four identified strings are merged, and duplicate characters are removed. The identification results are compared with the candidate set to obtain the final result.

[0033] Drawing analysis and processing specifically includes the following steps: Parsing a DWG file into JSON format data includes: Check the version validity of the DWG file; Extract layer information from DWG drawings; Extract various feature information from DWG drawings, such as fonts, line numbers, plug codes, sheath materials, line segment styles, and line segment colors; Extract entity information from DWG drawings; Convert the exported DWG information into JSON format data.

[0034] Calculate the path in the drawing, specifically including: Abstract the line segments of the wiring trajectory layer in the drawing into nodes in the drawing; Calculate the connectivity between nodes based on the connection relationship between line segments, and set the cost of the distance between each adjacent node to 1; Calculate the nearest line segment entity to each terminal graphic entity; Read the wiring table file and obtain the start terminal number, end terminal number, and wire number for each record. Each record in the wiring table starts from the starting terminal number and ends at the ending terminal number. The Dijkstra algorithm is used to calculate the path in the diagram, and line numbers are added to the line segment objects in the path as markers. After the calculation is completed, the result is returned to the image rendering module.

[0035] Parsing image data and generating rendered images specifically includes: Parse the JSON data of the drawing to obtain information such as layer information, line number information, and graphic entity information; Based on the layer information, create the corresponding layer in the ThreeJS layer space; Based on the wire number information and the graphic entity information, create the corresponding graphic entity in ThreeJS; Based on the line numbers in the JSON data, create a corresponding index structure, where each line number points to its corresponding line segment entity; Render the image.

[0036] Query the corresponding graphic entity based on the line number entered by the user; If there are previously highlighted lines, first restore the color of the previously highlighted lines; Iterate through each graphic entity corresponding to the currently input line number and change the line segment color attribute to red.

[0037] Re-render the drawings.

[0038] Image correction and split-screen operation specifically include the following steps: Treating the seams between screens as non-displayable pixel areas, and the entire display area as... ,in It refers to the equivalent pixel area of ​​each seam, which is calculated by multiplying its actual area by the PPI density of the screen used to obtain the equivalent display area; Create a canvas with the area and proportions of the equivalent display area; The rendered drawing is laid out on the canvas created in step S1202; Cut out the corresponding seam area on the canvas to generate the actual display image; From left to right, crop the image in S12 into 10 images of 3*1080*1920 pixels; Create 10 new windows, numbered 1 to 10, each displaying one image; Based on the window number, move the windows to their corresponding display areas in sequence and display them in full screen.

[0039] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention in any way. Any simple modifications or equivalent changes made to the above embodiments based on the technical essence of the present invention shall fall within the protection scope of the present invention.

Claims

1. An image-based wiring harness quality control method, implemented by an image-based wiring harness quality control system, the image-based wiring harness quality control system comprising a drawing and wiring table management module, a DWG parsing and processing module, an image correction and split-screen module, an image rendering module, and a wiring information recognition module integrated into a human-computer interaction interface; the drawing and wiring table management module is used to upload and preview drawing and wiring table information; the DWG parsing and processing module is used to parse the uploaded drawing and calculate the wiring harness path; the image rendering module is used to render the drawing and highlight the wiring harness; the image correction and split-screen module is used to fill in the seams between drawings and to display and manage the drawing in split-screen mode; the wiring information recognition module is used to recognize the wiring harness information and terminal information on the drawing; the wiring information recognition module includes a wiring harness information recognition module and a terminal information recognition module, the wiring harness information recognition module being used to identify the wiring harness mold corresponding to the wiring harness and to identify the identification code corresponding to the wiring harness; the terminal information recognition module being used to identify the terminal mold corresponding to the terminal; and further includes a user management module, the user management module being used to realize user interaction and data management; characterized in that, Includes the following steps: Step S1: Upload the drawings and wiring tables to the specified directory in the database for storage through the drawing and wiring table management module, and preview the drawings and wiring tables through the image rendering module; Step S2: The drawing and wiring table management module searches the database for keywords and performs fuzzy matching. The correctness of the matching drawings and wiring tables is verified, and the drawings and wiring tables with incorrect verification are deleted. Step S3: Identify the wire harness and terminals using the wiring information identification module; Step S4: The DWG parsing and processing module calculates the wire harness path in the drawing based on the identification results of the wire harness and terminals; Step S5: The image rendering module parses the image data based on the result of the wire harness path calculation, creates a graphic entity, and then performs highlight rendering on the graphic entity. Step S6: The image correction and split-screen module splits the image into two screens and compensates for and stitches the images in the seam area between the screens to finally generate the actual display screen. Step S3 specifically includes: Step S3.1: Obtain the wire harness image. The wire harness image is recognized by the wiring information recognition module. The wire harness characters are obtained by feature extraction based on the pixel of the characters in the wire harness image. Step S3.2: Arrange the wire harness characters horizontally in space; Step S3.3: Use Paddle's lightweight OCR model to recognize the wire harness character in order to identify the wire harness; Step S3.4: Obtain the terminal image, and use Paddle's lightweight OCR model to recognize the terminal characters in the terminal image; Step S3.5: Merge the terminal characters and remove duplicates from the overlapping parts of the terminal characters; identify the terminal by recognizing the terminal characters. Step S6 specifically includes: Step S6.1: Treat the seams between screens as non-displayable pixel areas, and add the display area of ​​the screen to the non-displayable pixel areas to obtain the equivalent display area; Step S6.2: Create an equivalent canvas based on the area and proportion of the equivalent display area; Step S6.3: Lay the rendered drawing on the equivalent canvas, and cut off the part of the corresponding screen seam on the equivalent canvas to generate the actual display image; Step S6.4: Crop the image obtained in step S6.3 into N sub-images of the same size, and create N numbered display windows, with each display window displaying one sub-image. Step S6.5: Based on the display window number, move the display window to the corresponding display screen area in numerical order to achieve full-screen display.

2. The image-based wiring harness quality control method according to claim 1, characterized in that, Step S4 specifically includes: Step S4.1: Abstract the line segments of the wiring trajectory layer in the drawing into nodes in the drawing, calculate the connectivity between nodes based on the connection relationship between the line segments, and set the distance between each adjacent node; Step S4.2: Calculate the nearest line segment entity to each terminal graphic entity; Step S4.3: Read the wiring table file and obtain the start terminal number, end terminal number, and wire number of each record; Step S4.4: For each record in the corresponding wiring table, starting from the starting terminal number and ending from the ending terminal number, use Dijkstra's algorithm to calculate the path in the diagram and add line numbers as markers to the line segment objects in the path.

3. The image-based wiring harness quality control method according to claim 1, characterized in that, Step S5 specifically includes: Step S5.1: Parse the JSON data of the drawing and obtain the layer information, line number information and graphic entity information respectively; Step S5.2: Based on the layer information, create the corresponding layer in the ThreeJS layer space; based on the line number information and graphic entity information, create the corresponding graphic entity in ThreeJS; Step S5.3: Based on the line numbers in the JSON data, create the corresponding index structure, with each line number pointing to the corresponding graphic entity based on the index structure; Step S5.4: Call the index structure and query the corresponding graphic entity based on the line number entered by the user. If the graphic entity contains the previously highlighted line bundle, first restore the color of the previously highlighted line bundle. Step S5.5: Traverse each graphic entity corresponding to the current input line number, change the line segment color attribute to red, and then re-render the drawing.

4. The image-based wiring harness quality control method according to claim 1, characterized in that, Step S2 specifically includes: Step S2.1: Perform fuzzy matching in the database based on the search keywords. When a search is successful, obtain the path to the drawing and wiring diagram. Step S2.2: Verify the correctness of the wiring harness logic data in the searched drawings and wiring tables; Step S2.3: If a verification error occurs, delete the corresponding drawings and wiring diagrams according to the path.

5. The image-based wiring harness quality control method according to claim 1, characterized in that, Step S1 specifically includes: Step S1.1: Upload the drawings and wiring tables to the specified directory in the database for storage through the drawing and wiring table management module; Step S1.2: Query the path of the uploaded drawing in the database according to the drawing number, and obtain the corresponding drawing according to the path; query the path of the uploaded wiring table in the database according to the wiring table number, and obtain the corresponding drawing and wiring table according to the path. Step S1.3: The drawing and wiring diagram management module converts the drawings into JSON data and sends the JSON data to the image rendering module; the drawing and wiring diagram management module converts the wiring diagram into a CSV file and sends the CSV file to the image rendering module. Step S1.4: The image rendering module generates a thumbnail of the drawing based on the input JSON data for preview, and the image rendering module generates a List structure of wiring table data based on the input CSV file for preview.

Citation Information

Patent Citations

  • Multi-screen projection system of large-scale complicated wiring harness auxiliary-wiring

    CN108133457A

  • Aviation wire harness drawing path searching method, system and equipment based on Dijkstra algorithm and medium

    CN118965645A