Drawing projection control method and device, equipment and storage medium
By acquiring the loaded drawing file and screen projection instructions, parsing the key points of the wire path and calibrating the projection area, automatic assembly of the drawing is achieved, which solves the problems of manual operation errors and low efficiency in wire harness assembly, improves assembly accuracy and efficiency, reduces production costs, and enhances production flexibility and adaptability.
Patent Information
- Application Number
- CN202510586729.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-08
- Publication Date
- 2025-09-26
AI Technical Summary
In the existing technology, wire harness assembly relies on manual operation, which is prone to errors, unstable quality, low production efficiency, and difficult to meet large-scale production needs. Frequent changes in drawings and adjustments to equipment increase communication costs and production costs, lack flexibility, and make it difficult to quickly adapt to product changes.
By acquiring and loading drawing files and screen projection instructions, parsing the key points of the wire path, calibrating the target projection area, and determining the optimized projection array of the display screen, automatic assembly of drawings and precise projection control are achieved. By utilizing algorithm optimization and multimodal interaction, the intensity of manual intervention is reduced and assembly accuracy and efficiency are improved.
It significantly improves the accuracy and efficiency of wire assembly, reduces manual operation errors and production costs, enhances production flexibility and adaptability, and quickly responds to product change needs. It is suitable for large-scale customized production of high-precision electronic equipment and new energy vehicle wiring harnesses.
Smart Images

Figure CN120704628A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the fields of mechanical engineering and computer-aided design technology, and in particular to drawing projection control methods, devices, equipment and storage media. Background Art
[0002] With the development of the automotive, electronics, and electrical appliance industries, the demand for wire harness assembly continues to increase. As a key component connecting various parts, the assembly accuracy and efficiency of the wire harness directly affect the quality and production cost of the product. Therefore, there is a need for a production equipment used in the automotive, electronics, and electrical appliance industries. The design software design drawings are projected through the drawings provided by the staff. The wires are transported from a control console to each workstation through the corresponding conveyor belt or chain in the drawing. Each workstation has corresponding workers or equipment to perform assembly, welding, testing and other operations. Wires, cables and other wires are assembled according to a certain order and process requirements to form various wire harness products, thereby effectively improving production efficiency and product quality and reducing errors and labor intensity in manual operations.
[0003] Currently, existing practices mainly rely on manual operations, with workers manually assembling according to paper or electronic drawings. They can only complete simple wire delivery and basic assembly operations, and still require complex manual adjustments and calibrations.
[0004] However, the existing practices rely on manual labor, are prone to errors, have unstable quality, and have low production efficiency, making it difficult to meet the needs of large-scale production. Frequent changes in drawings and adjustments to equipment increase the communication costs of workers responsible for modules and the printing costs of each drawing change. The production costs are high, including labor costs and material waste, and there is a lack of flexibility, making it difficult to quickly adapt to product changes. Therefore, how to more accurately perform automated assembly of wire harnesses has become an urgent problem to be solved.
[0005] The above content is only used to assist in understanding the technical solution of this application and does not constitute an admission that the above content is prior art. Summary of the Invention
[0006] The main purpose of this application is to provide a drawing projection control method, device, equipment and storage medium, aiming to solve the technical problem of how to more accurately perform automated assembly of wire harnesses.
[0007] To achieve the above objectives, the present application proposes a drawing projection control method, which includes:
[0008] Get instructions for loading drawing files and screen projection;
[0009] Analyzing key points of the wire path based on the screen projection instruction and the loaded drawing file, calibrating the target projection area, and determining an optimized projection array for the display screen;
[0010] Drawings are automatically assembled based on the optimized projection array of the display screen, and the machine is controlled to display the projected drawings to complete the drawing projection control.
[0011] In one embodiment, the step of obtaining instructions for loading drawing files and screen projection includes:
[0012] Obtain user configuration files and user operation instructions;
[0013] Reading the user configuration file triggers the software to initialize the loading cache file, and selecting the drawing to be loaded according to the user operation instruction to generate a loaded drawing file, wherein the loaded drawing file includes the drawing type and the drawing annotation size;
[0014] The screen image object to be adjusted is identified based on the user operation instruction, and a screen projection instruction is generated.
[0015] In one embodiment, the step of parsing key points of the wire path based on the screen projection instruction and the loaded drawing file, calibrating the target projection area, and determining the optimized projection array of the display screen includes:
[0016] Parsing the loaded drawing file according to the drawing projection algorithm to identify key points of the wire path, adjusting the projection ratio for format conversion, and determining the display screen image point array;
[0017] The display screen image point array is adjusted based on the screen projection instruction to calibrate the target projection area, and an optimized projection array of the display screen is determined.
[0018] In one embodiment, the steps of parsing the loaded drawing file according to the drawing projection algorithm to identify key points of the wire path, adjusting the projection ratio for format conversion, and determining the display screen image point array include:
[0019] Acquiring target wire information, wherein the target wire information includes wire length information and wire position information;
[0020] Parsing the loaded drawing file according to the drawing projection algorithm to identify key points of the wire path, and adjusting the projection ratio according to the target wire information to determine the projection drawing file;
[0021] The projection drawing file is formatted to obtain a display screen image point array.
[0022] In one embodiment, the step of adjusting the display screen image point array to calibrate the target projection area based on the screen projection instruction and determining the optimized display screen projection array includes:
[0023] Obtain production line adjustment data;
[0024] Generate a control projection instruction based on the production line adjustment data and the screen projection instruction;
[0025] The display screen image point array is adjusted based on the control projection instruction, and the target projection area is calibrated to obtain the display screen optimized projection array.
[0026] In one embodiment, the steps of automatically assembling drawings based on the optimized projection array of the display screen and controlling the machine to display the projected drawings to complete drawing projection control include:
[0027] Obtain user authority information, including administrator authority, operator authority, and terminal synchronization authority;
[0028] Triggering collaborative hierarchical manipulation based on the user authority information and the display screen optimized projection array, performing automated drawing assembly, and determining drawing assembly manipulation record information;
[0029] Based on the drawing assembly manipulation record information, the machine is controlled to display the projected drawing to complete the drawing projection control.
[0030] In one embodiment, the step of controlling the machine to display the projected drawing based on the drawing assembly manipulation record information to complete the drawing projection control includes:
[0031] Encrypting the drawing assembly manipulation record information using a timestamp to generate a historical record, wherein the historical record includes a parameter adjustment record and a drawing switching record;
[0032] Detecting drawing assembly anomalies based on the drawing assembly manipulation record information, retaining the drawing assembly progress, and generating a recovery plan;
[0033] Reproducing the drawing assembly operation based on the restoration solution and the historical records, and determining projection interface information;
[0034] Based on the projection interface information, the machine is controlled to display the projection drawing to complete the drawing projection control.
[0035] In addition, to achieve the above-mentioned purpose, the present application also proposes a drawing projection control device, which includes:
[0036] Acquisition module, used to obtain loading drawing files and screen projection instructions;
[0037] a processing module, configured to parse key points of a wire path based on the screen projection instruction and the loaded drawing file, calibrate a target projection area, and determine an optimized projection array for the display screen;
[0038] The execution module is used to automatically assemble drawings based on the display screen optimization projection array and control the machine to display the projected drawings to complete the drawing projection control.
[0039] In addition, to achieve the above-mentioned purpose, the present application also proposes a drawing projection control device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the drawing projection control method described above.
[0040] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium. A computer program is stored on the storage medium, and when the computer program is executed by the processor, the steps of the drawing projection control method described above are implemented.
[0041] One or more technical solutions proposed in this application have at least the following technical effects:
[0042] This embodiment proposes a drawing projection control method, which obtains a loaded drawing file and a screen projection instruction; parses the key points of the wire path based on the screen projection instruction and the loaded drawing file, calibrates the target projection area, and determines the optimized projection array of the display screen; performs automated drawing assembly based on the optimized projection array of the display screen, and controls the machine to display the projected drawing to complete the drawing projection control. This application obtains the loaded drawing file and the screen projection instruction, parses the key points of the wire path, calibrates the target projection area, and generates an optimized projection array, thereby achieving automated assembly and precise projection control of the drawing, significantly improving the accuracy and efficiency of wire assembly, reducing manual operation errors and production costs, enhancing production flexibility and adaptability, and quickly responding to product change requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0044] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0045] Figure 1 A flow chart illustrating a first embodiment of the drawing projection control method of the present application;
[0046] Figure 2 A flow chart illustrating a second embodiment of the drawing projection control method of this application;
[0047] Figure 3 This is a schematic diagram of the module structure of the drawing projection control device according to an embodiment of the present application;
[0048] Figure 4 Schematic diagram of the device structure of the hardware operating environment involved in the drawing projection control method in the embodiment of the present application.
[0049] The purpose, features and advantages of this application will be further explained with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION
[0050] It should be understood that the specific embodiments described herein are merely used to explain the technical solutions of the present application and are not intended to limit the present application.
[0051] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0052] The main solution of the embodiment of the present application is: obtaining the loaded drawing file and screen projection instructions; parsing the key points of the wire path based on the screen projection instructions and the loaded drawing file, and calibrating the target projection area to determine the optimized projection array of the display screen; performing automatic assembly of drawings based on the optimized projection array of the display screen, and controlling the machine to display the projected drawings to complete the drawing projection control.
[0053] In this embodiment, for ease of description, the following description is made with the identification drawing projection control device as the execution subject.
[0054] Because existing technologies rely on manual labor, are prone to errors, have unstable quality, and have low production efficiency, they are difficult to meet the needs of large-scale production. Frequent changes in drawings and adjustments to equipment increase the communication costs of workers responsible for modules and the printing costs of each drawing change. The production costs are high, including labor costs and material waste, and there is a lack of flexibility, making it difficult to quickly adapt to product changes.
[0055] The present application provides a solution for obtaining loaded drawing files and screen projection instructions; parsing the key points of the wire path based on the screen projection instructions and the loaded drawing files, calibrating the target projection area, and determining the optimized projection array of the display screen; performing automated drawing assembly based on the optimized projection array of the display screen, and controlling the machine to display the projected drawings to complete the drawing projection control.
[0056] It can be seen from the above embodiments that the present application obtains loaded drawing files and screen projection instructions, analyzes the key points of the wire path and calibrates the target projection area to generate an optimized projection array, thereby realizing the automated assembly and precise projection control of the drawings, significantly improving the accuracy and efficiency of wire assembly, reducing manual operation errors and production costs, enhancing production flexibility and adaptability, and quickly responding to product change needs.
[0057] Based on this, the embodiment of the present application provides a drawing projection control method, referring to Figure 1 , Figure 1This is a flow chart of the first embodiment of the drawing projection control method of this application.
[0058] In this embodiment, the drawing projection control method includes steps S10 to S30:
[0059] Step S10, obtaining a loading drawing file and a screen projection instruction;
[0060] It should be noted that the loaded drawing file is a detailed data file of the wiring harness design obtained after parsing the drawing, and the screen projection instruction is a control instruction issued by the user according to actual production needs.
[0061] It can be understood that in actual application scenarios, a drawing projection control device can be built to process drawings or user instructions, so as to obtain loading drawing files and screen projection instructions. The drawing projection control device can be composed of hardware and software design, wherein the hardware can include screens, workstations and external devices. The screen can choose a 65-inch screen size of 1439mmX809mm, a resolution of 4K, and the display size can be customized by customers according to the length of the wiring harness. The display size, the workstation can be customized with desktops, computer hosts and commercial office computers. The external device selects a 27-inch PC monitor, a DELL standard keyboard and mouse, a 4K-2.1HDML monitor cable, and a standard GN-Z1441J power strip. Software design can include architecture design, interface design, data structure design, algorithm design, user interface design and security design. The overall framework used in the architecture design is winf orm framework, the internal interface of the software in the interface design adopts the integrated API under the windows system, the hardware interface adopts HDML display, WIFI6.0 and Bluetooth BT low power 2.0 wireless interface, the data structure design adopts json data structure and custom data structure, the algorithm design adopts the relevant mathematical algorithms in the Math library for image layout and display, and the user interface design adopts most of the third-party open source UI library with MIT protocol, which conforms to the template of the industrial industry as a whole. The software in the security design runs offline, avoiding the connection with the Internet, and the data will not be leaked. The drawing projection control device built by this method can realize the proportional projection of the drawing, and achieve smaller errors by adjusting the parameters. The corresponding product drawings can be opened quickly, and the product drawings can be switched at will. The upgradeable, modular and flexible system improves production efficiency and has a human-computer interaction interface.
[0062] In addition, it should be noted that the loaded drawing file can include the design drawing type, marked dimensions and key points of the wire path to ensure the accuracy of the wire harness assembly and reduce production errors caused by drawing information errors. The screen projection instructions can represent the user's real-time operational needs for the projection content, such as adjusting the projection ratio, calibrating the projection area and changing the projection parameters, so that the system can flexibly adjust the projection effect according to the specific conditions of the production site to adapt to different working conditions and operating requirements, significantly improving production flexibility and efficiency.
[0063] For ease of understanding, the following description is made by taking the example of obtaining instructions for loading drawing files and screen projection, wherein the information collection device is an information collection module and the storage device is a memory.
[0064] The information acquisition module obtains the user configuration file and user operation instructions, reads the user configuration file to trigger the software to initialize the loading cache file, and selects the drawing to be loaded according to the user operation instruction to generate the loaded drawing file. The loaded drawing file includes the drawing type and drawing annotation size. That is, the device is plugged in to the power supply and waits for the device to start. After entering the Windows operating system, the system will execute the pre-configured user configuration file, such as executing an automated script to open the software named "Drawing Projection", perform software initialization, load multiple cache files, and wait for the operator to execute the instruction operation, such as using the user operation instruction to identify the image object to be adjusted on the screen. At this time, after the operator selects the file to be projected, the program will automatically identify the file type and drawing annotation size, obtain the loaded drawing file, and identify the image object to be adjusted on the screen based on the user operation instruction, generate a screen projection instruction, and perform subsequent processing based on the loaded drawing file and the screen projection instruction.
[0065] In a feasible implementation, step S10 may include steps A11 to A13:
[0066] Step A11, obtaining a user configuration file and user operation instructions;
[0067] It should be noted that the user configuration file is a personalized script file preset by the user, and the user operation instruction is the real-time operation of the user in the system.
[0068] It can be understood that the use of the user profile can enable the system to be personalized and initialized according to the actual needs of different users, adapt to the operating habits and workflows of different users, and significantly improve the flexibility of the system and user experience. The user operation instructions can respond and adjust according to the real-time needs of the user, so that the projected image is consistent with the user's expectations.
[0069] Step A12: Reading the user configuration file triggers the software to initialize the loading cache file, and selecting the drawing to be loaded according to the user operation instruction to generate a loaded drawing file, wherein the loaded drawing file includes the drawing type and the drawing annotation size;
[0070] It should be noted that the loaded drawing file is a data file loaded according to the drawing actually selected by the user.
[0071] It is understandable that in order to accurately project the loaded drawing file onto the actual wire in proportion, the loaded drawing file needs to be dynamically adjusted according to actual production needs to successfully match the actual wire, thereby significantly improving the accuracy and efficiency of wire harness assembly.
[0072] In addition, it should be noted that software initialization is the loading of necessary settings and parameters according to the user configuration file when the system starts, without the need for manual configuration by the user, and can operate normally according to the preset parameters and environment at startup. Cache files are data files that are pre-loaded and stored in memory during the operation of the software, which facilitates quick access and use of commonly used data and improves the response speed of the system. Drawings to be loaded are design drawing files selected by the user and ready to be loaded into the system. They are specific design files that the user needs to perform projection and assembly operations, and can include detailed information on the wire harness design, such as drawing type, annotation size, and wire path.
[0073] Step A13: identifying the image object to be adjusted on the screen based on the user operation instruction, and generating a screen projection instruction.
[0074] It is understandable that screen projection instructions can be used to perform basic operations on the image in the software, such as scaling, rotating and moving, so as to adjust the display effect of the projected image in real time according to the actual production scene and needs, ensuring that the image is highly matched with the actual production environment. Among them, scaling allows the user to adjust the size of the image to view details or the overall layout more clearly, rotation allows the user to adjust the direction of the image to adapt to different viewing requirements, and movement allows the user to adjust the position of the image for better alignment and layout.
[0075] In addition, it should be noted that the user operation characteristics can be collected through the control buttons on the software to update the screen projection instructions and adjust the parameters of any image object projected onto the screen, such as adjusting the position, size, color, thickness and geometric space position of the line segment.
[0076] Step S20, parsing key points of the wire path based on the screen projection instruction and the loaded drawing file, calibrating the target projection area, and determining an optimized projection array for the display screen;
[0077] It should be noted that the display screen optimized projection array is a set of image point data that has been processed and calibrated by the system.
[0078] It can be understood that the display screen optimization projection array can be composed of multiple point data, each point data includes pixel coordinates, color values and transparency, which can characterize the projection accuracy and display effect of the projected image on the display screen, such as projection image coordinates, image size and image color, and is processed using a projection algorithm so that the projected image can accurately match the actual production requirements and screen display, and realize accurate display and dynamic adjustment of the projected image. For example, the system uses a geometric algorithm to analyze the key points of the wire path, adjusts the projection ratio according to the target wire information, and converts the vector graphic coordinates in the drawing into the pixel coordinates required for screen projection.
[0079] In addition, it should be noted that the key points of the wire path are specific coordinate points or nodes in the design drawings used to define the wire direction, connection points, branch points and other important features, which can represent the precise layout and connection relationship of the wire during the assembly process.
[0080] For ease of understanding, an example of determining the optimal projection array of a display screen is used for explanation, wherein the information acquisition device is an information acquisition module, the storage device is a memory, and the processing device is a processing module.
[0081] The information acquisition module obtains the loaded drawing file, analyzes the loaded drawing file according to the drawing projection algorithm to identify the key points of the wire path, adjusts the projection ratio for format conversion, and determines the display screen image point array. That is, after the user imports the CAD drawing or other types of drawings, the system analyzes the key points of the wire path through the geometric algorithm. The geometric algorithm can use a variety of algorithms in combination to analyze the key points of the wire path. The point is represented by three-dimensional coordinates (x, y, z), and the vector is represented by (v x , v y , v z ), can perform operations such as addition, subtraction, and multiplication.
[0082] Matrix transformation includes translation, rotation and scaling. The translation matrix transformation is expressed as:
[0083]
[0084] The rotation matrix transformation is expressed as:
[0085]
[0086] Here, θ represents the angle of rotation around the x-axis, and the angles around the y-axis and the z-axis can also be derived in this way.
[0087] The scaling matrix transformation is expressed as:
[0088]
[0089] The plane can be expressed in the general form:
[0090] Ax+By+Cz+D=0
[0091] A straight line can be expressed in point form as:
[0092] (x0,y0,z0)+t(v x , v y , v z )
[0093] Where (x0, y0, z0) is a point on the line, (v x , v y , v z ) is the direction vector and t is the parameter.
[0094] Triangles and polygons can be represented by vertex coordinates, and the area or perimeter can be calculated directly using the corresponding formulas.
[0095] Surfaces can be represented using control points and corresponding parametric equations.
[0096] The processing unit uses the above algorithm to parse all the information in the loaded drawing file, converts it into different data formats, and then submits different types of data formats to the corresponding data processing module. After the processing is completed, multiple integer two-dimensional arrays will be generated to record the point positions and other information of various images. For example, affine transformation and Bezier curve algorithm can be used to convert the vector graphics coordinates in the CAD drawing into the pixel coordinates required for screen projection.
[0097] Among them, the affine transformation matrix containing translation, rotation, and scaling parameters can be realized by the following formula:
[0098]
[0099] Get the display screen image point array, where a, b, d, ea, b, d, e control scaling and rotation, and c, fc, f control translation.
[0100] Path optimization is performed. For complex wiring harnesses, the Dijkstra algorithm is used to calculate the shortest wiring path, and Bezier curves are used to smooth corners to avoid stress concentration caused by right-angle bends in the wires.
[0101] Perform rasterization and anti-aliasing, that is, use bilinear interpolation and multi-sampling anti-aliasing MSAA technology to convert vector graphics into high-precision bitmaps to eliminate aliasing.
[0102] Based on the Windows DirectX API, it leverages the parallel computing capabilities of the GPU to accelerate image rendering. Key data, such as point coordinates, is stored as a two-dimensional integer array and hot-loaded via memory-mapped files.
[0103] Based on the screen projection instruction, the display screen image point array is adjusted to calibrate the target projection area, and the optimized projection array of the display screen is determined. That is, the actual length of the wire is obtained by the laser ranging sensor, compared with the length marked on the drawing, and the least squares method is used to fit the difference data to dynamically adjust the projection scale coefficient. The error compensation formula is:
[0104]
[0105] Where k is the proportional factor, and the system makes ΔS approach zero through iterative optimization.
[0106] Based on the physical size of the screen, such as the pixel density of a 65-inch 4K screen is 81PPI, the drawing is dynamically matched to the screen to ensure proportional projection accuracy. Combined with the actual wire position, the projection area is automatically calibrated to ensure that the projection is fully aligned with the physical workstation.
[0107] In addition, the system is deeply integrated with drawing software, such as AutoCAD software integration, and supports direct calling of design parameters from AutoCAD, such as wire diameter and bending radius, to obtain production line adjustment data, and reversely feeds the production line adjustment data back to the CAD model, such as the actual path offset, to achieve design-production closed-loop optimization, and uses a hierarchical JSON structure to store algorithm parameters, such as transformation matrix and path key points, to support modular upgrades and fast parsing.
[0108] Step S30 , performing automated drawing assembly based on the optimized projection array of the display screen, and controlling the machine to display the projected drawings to complete drawing projection control.
[0109] It can be understood that the automated assembly of drawings is to automatically parse and process the information in the loaded drawing file through the system, and then automatically control the machine equipment to complete the assembly process of the wire harness without manual operation, which significantly improves the accuracy and efficiency of assembly.
[0110] In addition, it should be noted that after the desired image is displayed on the screen of the console, the image can be projected onto a larger screen through the dot matrix technology provided by a third-party manufacturer, that is, the spliced screen provided by the screen manufacturer is fixed with a specific rack, and the multiple screens are spliced into an overall high-definition 4K display using the dot matrix technology of screen splicing to display the projected drawings. The image information in the file generated by the drawing design software, such as coordinates, size and color information, can be parsed. After obtaining this information, it is converted into Json format data that the software can recognize and process within the software, and the image is dynamically projected onto the screen specified by the software through the rendering technology of the Windows system.
[0111] For ease of understanding, the example of obtaining the optimized projection array of the display screen is used for explanation, wherein the information acquisition device is the information acquisition module, the storage device is the memory, and the execution device is the execution module.
[0112] The information collection module obtains user authority information, which includes administrator authority, operator authority and terminal synchronization authority. Based on the user authority information and the display screen optimization projection array, collaborative hierarchical control is triggered, and the display screen optimization projection array is submitted to the GUI graphics processor of Windows to complete the image display, and automatically assemble the drawings, and determine the drawing assembly control record information, that is, the internal owner authority module of the software. Different operating authorities are granted to different operators to ensure the confidentiality of the data. Through hierarchical authority control, administrator authority can modify system parameters, assign user roles, access historical logs, allow adjustment of projection algorithms and integration of external CAD tools. Operator authority can execute preset processes and basic interactive operations. Multi-terminal synchronization can support multiple control terminals, such as tablets, mobile phones and watches, and access the same projection interface. Operation instructions are synchronized in real time, which is convenient for team collaboration and collaborative multi-user operations using different authorities.
[0113] The system automatically assembles drawings, records each assembly process, obtains drawing assembly manipulation record information, encrypts the drawing assembly manipulation record information with a timestamp, and generates a historical record. The historical record includes parameter adjustment records and drawing switching records. That is, the system records each operation step, including parameter adjustment and drawing switching, with a timestamp encryption, and stores it as an independent log file. It supports retrieval by process or date to obtain the historical record. Drawing assembly anomalies are detected based on the drawing assembly manipulation record information, and the drawing assembly progress is retained. A recovery plan is generated. That is, the projected drawing is compared with the actual wiring harness layout through an image recognition algorithm, automatically marking deviations from the path, cross interference, or missing nodes, and generating correction suggestions, such as "Wire B needs to be moved 3mm to the right." If an irreversible error is detected, such as a wire cut, the system automatically saves the current progress and generates a recovery plan, supporting one-click rollback to the most recent correct state. Based on the recovery plan and the historical record, the drawing assembly operation is reproduced and the projection interface information is determined. That is, for repetitive tasks, such as batch production of wiring harnesses of the same specification, the historical record can be called to automatically reproduce the complete operation process without manual intervention. The projection interface information is directly obtained, and the machine is controlled to display the projection drawing based on the projection interface information to complete the drawing projection control.
[0114] In a feasible implementation, step S30 may include steps B11 to B13:
[0115] Step B11: Obtain user authority information, including administrator authority, operator authority, and terminal synchronization authority;
[0116] It should be noted that the user authority information is a set of operation permissions possessed by different user roles defined in the system.
[0117] It is understandable that the user authority information can represent the system's hierarchical management of user operations, enabling different users to perform corresponding operations according to their responsibilities and roles, and is used to control users' access to system functions and the scope of operations.
[0118] In addition, it should be noted that the administrator authority is the highest level of authority in the system, and has comprehensive control and management capabilities for the entire system. The administrator can deeply configure and optimize the system, including modifying system parameters to adapt to different production environments and needs, assigning user roles, and reasonably assigning different levels of authority such as operator authority and terminal synchronization authority according to the user's responsibilities and work content, so that each user can work efficiently within the scope of their authority, access historical logs, and fully understand the system's operating status and user operation records, which is convenient for troubleshooting and performance optimization. At the same time, it allows adjustment of the projection algorithm, and fine-tunes the drawing projection algorithm according to actual production needs to achieve more accurate projection effects, integrate external CAD tools, and deeply integrate the system with external CAD software to achieve seamless docking between design and production, improve production efficiency and product quality, flexibly respond to various complex situations, and ensure efficient and stable operation of the system. The operator authority is the authority set for specific production operators, focusing on For daily production operation tasks, operators can execute preset processes within their authority, and complete specific operations such as wiring harness assembly, welding, and testing according to the processes and steps set by the system to ensure the smooth progress of the production process; perform basic interactive operations and interact with the system in a simple way, such as adjusting the display effect of the projected image, switching drawings, etc., to better adapt to the specific needs of the production site. The setting of operator permissions ensures that operators can complete production tasks efficiently, avoid operational errors or system failures that may be caused by excessive permissions, and ensure the stability and safety of production. The terminal synchronization permission is a permission set to support multi-terminal collaborative work. Users with terminal synchronization permissions can use multiple control terminals, such as tablets, mobile phones, and watches, to access the same projection interface to achieve real-time synchronization of operation instructions. Users on different terminals can view, adjust, and perform other operations on the projected drawings at the same time, and the display content and operation status on all terminals are always consistent, greatly improving the efficiency and convenience of team collaboration. For example, when multiple people collaborate to complete a complex wiring harness assembly task, each member can view the projected drawings in real time through their own terminal and perform operations as needed. The system will automatically synchronize the operating instructions of all terminals to ensure that each member can obtain the latest information, thereby achieving efficient and accurate collaborative work.
[0119] Step B12: triggering collaborative hierarchical manipulation based on the user authority information and the display screen optimized projection array, performing automated drawing assembly, and determining drawing assembly manipulation record information;
[0120] It should be noted that the drawing assembly operation record information is a real-time record of user operation instructions, parameter adjustments, drawing switching, assembly progress and other information by the system during the drawing automated assembly process.
[0121] It is understandable that when assembling drawings automatically, in order to ensure the projection effect and speed and optimize performance, in terms of hardware, the highest configuration standards are used for assembly to ensure that the hardware functions are sufficient, and in terms of software, the more stable and best-performing NET4.8 framework is used. The hot loading method is used for processing major files to speed up the response speed, and the cold loading method is used for processing secondary files. Hot loading is memory reading. During the system operation, data or code is loaded and executed directly from the memory. Data or code can be loaded and updated in real time without restarting the system. Cold loading is disk reading. Data or code is loaded from the disk or other external storage devices. It is used when the system starts or when a large amount of data needs to be loaded. The speed of cold loading is relatively slow and is suitable for loading data or code that does not change frequently.
[0122] Step B13: Control the machine to display the projected drawing based on the drawing assembly manipulation record information to complete the drawing projection control.
[0123] It can be understood that the drawing assembly manipulation record information can represent the system's ability to track and record the assembly process in detail, ensuring that each operation step is documented, facilitating anomaly detection, tracing and optimization.
[0124] In a feasible implementation, step B13 may include steps C11 to C14:
[0125] Step C11, encrypting the drawing assembly manipulation record information using a timestamp to generate a historical record, wherein the historical record includes a parameter adjustment record and a drawing switching record;
[0126] It should be noted that the historical records are detailed records of user operations, system status, error messages and other key events during the system's operation.
[0127] It can be understood that the historical records can record each assembly operation step and system status changes, and may include timestamps, operation content, user identity, parameter adjustments, and drawing switches. The timestamp is used to mark the time node of each record, and each record has a timestamp for easy traceability and analysis. The operation content is used to record the specific operations performed by the user or automated equipment, such as parameter adjustment, drawing switching, etc. The user identity is used to record the operator's identity information for easy responsibility tracing. The system status is used to record the system's status information at each operation point for easy analysis and recovery. The historical records can be used to achieve comprehensive monitoring and traceability of production process operations, which is convenient for quickly locating the cause and taking corresponding measures when an abnormality occurs, or reproducing automated assembly operations to achieve mass production, significantly improving production efficiency.
[0128] Step C12: detecting drawing assembly anomalies based on the drawing assembly manipulation record information, retaining the drawing assembly progress, and generating a recovery plan;
[0129] It should be noted that the recovery plan is a set of strategies and steps automatically generated by the system when an error or abnormal situation is detected to restore the system to a normal state.
[0130] It is understandable that when using the software, if an unexpected situation occurs, the program will make remedial measures to the data integrity based on the location of the error. When an error occurs inside the software, the current error reporting module will be initialized, which will not affect the normal operation of the software. However, if a sudden physical accident occurs that makes it impossible to continue working, such as power outages and equipment damage, the program will reduce losses based on the automatic data save function set by the user.
[0131] In addition, it should be noted that the recovery plan may include error location, data backup, correction suggestions and recovery steps, wherein error location is used by the system to accurately identify the location and cause of the error, data backup is used by the system to automatically save the current production data and status information before the error occurs, correction suggestions are used by the system to provide specific correction suggestions to guide operators or automated equipment to make necessary adjustments, and recovery steps are used to generate a series of recovery projection steps to safely restore the system to the state before the error occurs. Utilizing the recovery plan, the system can quickly recover to the most recent correct state when encountering errors or anomalies, reducing production interruptions and losses caused by errors, significantly improving system stability, reducing maintenance costs and manpower investment, better responding to various unexpected situations, and ensuring smooth production.
[0132] Step C13, reproducing the drawing assembly operation based on the restoration solution and the historical records, and determining projection interface information;
[0133] It should be noted that the projection interface information is data and status information related to the display content generated by the system during the projection process.
[0134] It is understandable that the projection interface information may include image position, size, color, rotation angle display parameters and operation records related to user interaction, which significantly improves the user experience.
[0135] In addition, it should be noted that reproducing the drawing assembly operation is the process of re-executing the drawing assembly, which may include reading historical records, initializing the recovery environment, executing recovery steps, verifying the recovery results, and continuing production. Reading historical records is to extract data and perform timeline analysis, such as extracting operation records related to drawing assembly from historical records, including parameter adjustment, drawing switching, assembly progress and other information, and analyzing the timeline of the operation based on the timestamp to determine the sequence of each operation. Initializing the recovery environment is that the system restores the system to the state before the error occurs based on the status information in the historical records, which may include restoring system parameters and loading specific drawing files so that the equipment can continue to work from the recovery point. Executing recovery steps is that the system executes the recovery operation step by step according to the steps in the recovery plan, including adjusting parameters, reloading drawings, and correcting errors, and monitoring the operation results in real time to ensure correct execution. Verifying the recovery results is that the system checks the state after recovery, restores all parameters and equipment to the correct state, and verifies whether the recovery operation is successful by comparing the state after recovery with the state in the historical records. Continuing production is that when the recovery operation is verified to be successful, the system continues to execute the drawing assembly operation and provides feedback on the recovery status.
[0136] Step C14: Based on the projection interface information, the machine is controlled to display the projection drawing to complete the drawing projection control.
[0137] It is understandable that the software control module can be used to run under the Windows system to control the projection of drawings using the projection interface information, and the software provides an external API for compatibility with other systems for simple control, such as Linux, iOS, and Android. Its main communication protocols are WIFI6.0 and BT Bluetooth Low Energy 2.0.
[0138] In addition, it should be noted that the system has a security mechanism to ensure the security of equipment and data. The software operates in an offline mode and is not connected to the Internet, so there is no need to consider network security issues. When using the projection interface information to control the projection of drawings, the file format saved by the software has a special file format and a unique reading or writing method. Even if an interested party obtains the file, he or she cannot steal the file information.
[0139] This embodiment proposes a drawing projection control method, which obtains a loaded drawing file and a screen projection instruction; analyzes the key points of the wire path based on the screen projection instruction and the loaded drawing file, calibrates the target projection area, and determines the optimized projection array of the display screen; performs automatic drawing assembly based on the optimized projection array of the display screen, and controls the machine to display the projected drawing to complete the drawing projection control. This method solves the technical problem of how to more accurately perform automated assembly of wire harnesses. Compared with the existing technology, this application obtains loaded drawing files and screen projection instructions to analyze the key points of the wire path, and calibrates the target projection area to determine the optimized projection array of the display screen, accurately matching the drawings with actual production needs, and realizing automated assembly of drawings. Through algorithm optimization, multimodal interaction, and intelligent feedback mechanisms, this method significantly reduces the intensity of manual intervention and improves the assembly accuracy and efficiency of complex wiring harness products. It is particularly suitable for large-scale customized production of high-precision electronic equipment and new energy vehicle wiring harnesses, reduces production costs, enhances production flexibility and adaptability, and at the same time improves product quality and stability, greatly optimizing the production process of wiring harness assembly.
[0140] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction and will not be repeated later.
[0141] In this embodiment, refer to Figure 2 , Figure 2 This is a flow chart of the second embodiment of the drawing projection control method of this application. Step S20 specifically includes steps S21 to S22:
[0142] Step S21, parsing the loaded drawing file according to the drawing projection algorithm to identify key points of the wire path, adjusting the projection ratio to perform format conversion, and determining the display screen image point array;
[0143] It should be noted that the display screen image point array is generated by the system based on the analysis of the loaded drawing file, and is a data set used to describe the precise position, size and shape of the image on the display screen.
[0144] It can be understood that the display screen image point array can be used to precisely control the projection of the drawing so that the image can be accurately projected onto the screen according to the design requirements, wherein each point data used for projection can include pixel coordinates, color values and transparency, thereby achieving high-precision image display.
[0145] For ease of understanding, the following description is made by taking the determination of the image dot array of a display screen as an example, wherein the information acquisition device is the information acquisition module, the storage device is the memory, and the processing device is the processing module.
[0146] The information acquisition module obtains the target wire information, which includes wire length information and wire position information. It parses the loaded drawing file according to the drawing projection algorithm to identify the key points of the wire path, adjusts the projection ratio according to the target wire information, and determines the projection drawing file. That is, after the user imports the CAD drawing or other types of drawings, the system has a built-in dynamic proportional algorithm. It parses the key points of the wire path through the geometric algorithm, and can identify the difference between the actual length of the wire and the size marked on the drawing in real time. It automatically adjusts the projection ratio to a proportional match, eliminates manual measurement errors, adapts to different wire specifications, and reduces the recalibration time when switching drawings. If the error rate is ≤0.05%, the projection drawing file is formatted and the display screen image is obtained. Point array, that is, after the processing unit parses all the information in the loaded drawing file, it converts it into different data formats, and then submits different types of data formats to the corresponding data processing module. After the processing is completed, multiple integer two-dimensional arrays will be generated to record the points and other information of various images, and the display screen image point array will be obtained. That is, after the processing unit uses the above algorithm to parse all the information in the loaded drawing file, it converts it into different data formats, and then submits different types of data formats to the corresponding data processing module. After the processing is completed, multiple integer two-dimensional arrays will be generated to record the points and other information of various images. For example, affine transformation and Bezier curve algorithm can be used to convert the vector graphic coordinates in the CAD drawing into the pixel coordinates required for screen projection.
[0147] Among them, the affine transformation matrix containing translation, rotation, and scaling parameters can be realized by the following formula:
[0148]
[0149] Get the display screen image point array, where a, b, d, ea, b, d, e control scaling and rotation, and c, fc, f control translation.
[0150] Path optimization is performed. For complex wiring harnesses, the Dijkstra algorithm is used to calculate the shortest wiring path, and Bezier curves are used to smooth corners to avoid stress concentration caused by right-angle bends in the wires.
[0151] Perform rasterization and anti-aliasing, that is, use bilinear interpolation and multi-sampling anti-aliasing MSAA technology to convert vector graphics into high-precision bitmaps to eliminate aliasing.
[0152] Based on the Windows DirectX API, it leverages the parallel computing capabilities of the GPU to accelerate image rendering. Key data, such as point coordinates, is stored as a two-dimensional integer array and hot-loaded via memory-mapped files.
[0153] In a feasible implementation, step S21 may include steps D11 to D13:
[0154] Step D11, obtaining target wire information, wherein the target wire information includes wire length information and wire position information;
[0155] It should be noted that the target wire material information is information obtained by accurately matching the assembly drawing with the actual wire material.
[0156] It can be understood that the target wire information can represent the annotation information of the actual wire that is proportionally adapted, wherein the wire length information is used to determine the actual size of the wire, ensuring that the length of the wire in the projected drawing is consistent with the actual production requirements, and the wire position information is used to clarify the specific position of the wire in the projected drawing, including the starting point, end point and intermediate path, etc., to achieve accurate matching between the drawing and the actual wire, and ensure the accuracy of the projected drawing.
[0157] Step D12, parsing the loaded drawing file according to a drawing projection algorithm to identify key points of the wire path, and adjusting the projection ratio according to the target wire information to determine the projection drawing file;
[0158] It should be noted that the projection drawing file is drawing information that has been processed and optimized by the system for projection.
[0159] It can be understood that the use of the projection drawing file can accurately match the length and position information of the actual wire and present it in the correct proportion and format. By adjusting the projection ratio, it is ensured that the drawing can be completely consistent with the wire in the actual production environment during projection, thereby achieving accurate matching between the drawing and the actual wire.
[0160] Step D13: convert the format of the projection drawing file to obtain a display screen image point array.
[0161] It can be understood that format conversion is to convert the projection drawing file from its original format into a format suitable for direct rendering and display on the display screen. It is necessary to identify the point data of the image in the projection drawing file so that it can be presented on the screen with pixel-level accuracy to achieve precise projection.
[0162] Step S22: adjusting the display screen image point array to calibrate the target projection area based on the screen projection instruction, and determining the optimized projection array of the display screen.
[0163] It can be understood that the target projection area is a specific area on the display screen used to display the projection drawing. It can be dynamically adjusted and calibrated according to actual production needs and screen projection instructions, so that the projection drawing is accurately displayed at the predetermined position and fully matches the wire layout in the actual production environment. Through precise calibration, the display error caused by mismatch of the projection area is reduced, and the quality and reliability of the projected image are significantly improved.
[0164] For ease of understanding, an example of determining the optimal projection array of a display screen is used for explanation, wherein the information acquisition device is an information acquisition module, the storage device is a memory, and the processing device is a processing module.
[0165] The information acquisition module obtains production line adjustment data, that is, adjusts the display screen image point array based on the screen projection instruction to calibrate the target projection area and determine the optimized projection array of the display screen. That is, the actual length of the wire is obtained by the laser ranging sensor, compared with the length marked on the drawing, and the least squares method is used to fit the difference data to dynamically adjust the projection scale coefficient. The error compensation formula is:
[0166]
[0167] Where k is the proportional factor, and the system makes ΔS approach zero through iterative optimization.
[0168] Based on the physical size of the screen, such as the pixel density of a 65-inch 4K screen is 81PPI, the drawing is dynamically matched to the screen to ensure proportional projection accuracy. Combined with the actual wire position, the projection area is automatically calibrated to ensure that the projection is fully aligned with the physical workstation.
[0169] In addition, the system is deeply integrated with drawing software, such as AutoCAD software integration, and supports direct calling of design parameters from AutoCAD, such as wire diameter and bending radius, to obtain production line adjustment data, and reversely feeds the production line adjustment data back to the CAD model, such as the actual path offset, to achieve design-production closed-loop optimization, and uses a hierarchical JSON structure to store algorithm parameters, such as transformation matrix and path key points, to support modular upgrades and fast parsing.
[0170] In a feasible implementation, step S22 may include steps E11 to E13:
[0171] Step E11, obtaining production line adjustment data;
[0172] It should be noted that the production line adjustment data refers to the dynamic adjustment requirements and parameter changes in the actual operating environment of the production site.
[0173] It is understandable that the production line adjustment data may include the actual position deviation of the wire, the actual size adjustment equipment operating status changes in the projection area, and other real-time feedback information related to the production process, so as to clarify the specific situation of the production site and make targeted adjustments and optimizations to the projection drawings to ensure that the projection image is highly matched with the actual production environment.
[0174] In addition, it should be noted that the system can be deeply integrated with drawing software, that is, a CAD integration module is added inside the software, which can directly open CAD drawing files, apply to some tools in the CAD software, and integrate collection interfaces of different types of drawing software to enhance its compatibility.
[0175] Step E12: generating a control projection instruction based on the production line adjustment data and the screen projection instruction;
[0176] It should be noted that the control projection instructions are control instructions dynamically generated according to the actual needs of the production site and the screen projection requirements.
[0177] It is understandable that the use of the control projection instructions can enable the system to accurately adjust the projected image, ensuring that the projected image can accurately match the actual production environment and user needs.
[0178] Step E13: adjusting the display screen image point array based on the control projection instruction, and calibrating the target projection area to obtain an optimized display screen projection array.
[0179] It is understandable that the system supports gesture recognition and voice commands to generate control projection commands, such as swiping, zooming, and enlarging areas. The operator can adjust the projection parameters in the display image point array through non-contact operation, thereby improving the convenience of operation in complex environments. The screen is integrated with a pressure-sensitive touch layer to provide vibration feedback for key operation nodes, such as contact marks, to enhance operation accuracy.
[0180] In addition, it should be noted that after obtaining the optimized projection array of the display screen, the ambient light sensor can be used to monitor the light intensity in the workshop in real time, and the brightness and contrast of the projection screen can be automatically adjusted to ensure that the key details of the drawing are clearly visible in strong light or dark light environments, such as identifying tiny patterns and small aperture marks.
[0181] This embodiment proposes a drawing projection control method. The method parses the loaded drawing file according to the drawing projection algorithm to identify the key points of the wire path, adjusts the projection ratio for format conversion, and determines the display screen image point array; adjusts the display screen image point array to calibrate the target projection area based on the screen projection instruction, and determines the optimized projection array of the display screen. This method solves the technical problem of how to more accurately perform automated wiring harness assembly. Compared with the existing technology, this application parses the loaded drawing file through the drawing projection algorithm, accurately identifies the key points of the wire path, adjusts the projection ratio for format conversion, generates the display screen image point array, and calibrates the target projection area based on the screen projection instruction to determine the optimized projection array. This significantly improves the projection accuracy and system flexibility, eliminates the need for manual intervention, optimizes the projection effect, and significantly improves production efficiency and product quality.
[0182] This application also provides a drawing projection control device, please refer to Figure 3 , the drawing projection control device includes:
[0183] The acquisition module 10 is used to acquire the loading drawing file and the screen projection instruction;
[0184] The processing module 20 is used to analyze the key points of the wire path based on the screen projection instruction and the loaded drawing file, calibrate the target projection area, and determine the optimized projection array of the display screen;
[0185] The execution module 30 is used to automatically assemble drawings based on the display screen optimization projection array and control the machine to display the projected drawings to complete the drawing projection control.
[0186] The acquisition module 10 is further used to acquire user configuration files and user operation instructions;
[0187] Reading the user configuration file triggers the software to initialize the loading cache file, and selecting the drawing to be loaded according to the user operation instruction to generate a loaded drawing file, wherein the loaded drawing file includes the drawing type and the drawing annotation size;
[0188] The screen image object to be adjusted is identified based on the user operation instruction, and a screen projection instruction is generated.
[0189] The processing module 20 is further configured to analyze the loaded drawing file according to a drawing projection algorithm to identify key points of the wire path, adjust the projection ratio for format conversion, and determine the display screen image point array;
[0190] The display screen image point array is adjusted based on the screen projection instruction to calibrate the target projection area, and an optimized projection array of the display screen is determined.
[0191] The processing module 20 is further configured to obtain target wire information, wherein the target wire information includes wire length information and wire position information;
[0192] Parsing the loaded drawing file according to the drawing projection algorithm to identify key points of the wire path, and adjusting the projection ratio according to the target wire information to determine the projection drawing file;
[0193] The projection drawing file is formatted to obtain a display screen image point array.
[0194] The processing module 20 is further used to obtain production line adjustment data;
[0195] Generate a control projection instruction based on the production line adjustment data and the screen projection instruction;
[0196] The display screen image point array is adjusted based on the control projection instruction, and the target projection area is calibrated to obtain the display screen optimized projection array.
[0197] The execution module 30 is further configured to obtain user authority information, including administrator authority, operator authority, and terminal synchronization authority;
[0198] Triggering collaborative hierarchical manipulation based on the user authority information and the display screen optimized projection array, performing automated drawing assembly, and determining drawing assembly manipulation record information;
[0199] Based on the drawing assembly manipulation record information, the machine is controlled to display the projected drawing to complete the drawing projection control.
[0200] The execution module 30 is further configured to encrypt the drawing assembly manipulation record information using a timestamp to generate a historical record, wherein the historical record includes a parameter adjustment record and a drawing switching record;
[0201] Detecting drawing assembly anomalies based on the drawing assembly manipulation record information, retaining the drawing assembly progress, and generating a recovery plan;
[0202] Reproducing the drawing assembly operation based on the restoration solution and the historical records, and determining projection interface information;
[0203] Based on the projection interface information, the machine is controlled to display the projection drawing to complete the drawing projection control.
[0204] The drawing projection control device provided in this application, employing the drawing projection control method described in the aforementioned embodiment, can address the technical problem of more accurately automating wire harness assembly. Compared to the prior art, the beneficial effects of the drawing projection control device provided in this application are the same as those of the drawing projection control method described in the aforementioned embodiment. Other technical features of the drawing projection control device are the same as those disclosed in the aforementioned embodiment and are not further elaborated here.
[0205] The present application provides a drawing projection control device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the drawing projection control method in the above-mentioned embodiment one.
[0206] Reference below Figure 4, which shows a schematic diagram of the structure of a drawing projection control device suitable for implementing the embodiments of the present application. The drawing projection control device in the embodiments of the present application may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), in-vehicle terminals (such as in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 4 The drawing projection control device shown is merely an example and should not limit the functions and scope of use of the embodiments of the present application.
[0207] like Figure 4 As shown, the drawing projection control device may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes based on programs stored in ROM (Read Only Memory) 1002 or programs loaded from storage device 1003 into RAM (Random Access Memory) 1004. RAM 1004 also stores various programs and data required for the operation of the drawing projection control device. Processing device 1001, ROM 1002, and RAM 1004 are interconnected via bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to I / O interface 1006: input device 1007 including, for example, a touch screen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output device 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage device 1003 including, for example, a magnetic tape, hard disk, etc.; and communication device 1009. Communication device 1009 can allow the drawing projection control device to communicate with other devices wirelessly or wired to exchange data. Although the figure shows a drawing projection control device with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems may be implemented or provided instead.
[0208] In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0209] The drawing projection control device provided in this application, employing the drawing projection control method described in the aforementioned embodiment, can address the technical problem of more accurately automating wire harness assembly. Compared to the prior art, the beneficial effects of the drawing projection control device provided in this application are identical to those of the drawing projection control method described in the aforementioned embodiment. Other technical features of the drawing projection control device are identical to those disclosed in the aforementioned embodiment and are not further elaborated upon here.
[0210] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0211] 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.
[0212] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer program) stored thereon, and the computer-readable program instructions are used to execute the drawing projection control method in the above-mentioned embodiment.
[0213] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0214] The computer-readable storage medium may be included in the drawing projection control device; or may exist independently without being assembled into the drawing projection control device.
[0215] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the drawing projection control device, the drawing projection control device is enabled to: obtain the loaded drawing file and the screen projection instruction; parse the key points of the wire path based on the screen projection instruction and the loaded drawing file, calibrate the target projection area, and determine the optimized projection array of the display screen; perform automatic assembly of the drawings based on the optimized projection array of the display screen, and control the machine to display the projected drawings to complete the drawing projection control.
[0216] Computer program code for performing the operations of the present application may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0217] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.
[0218] The modules described in the embodiments of the present application may be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.
[0219] The computer-readable storage medium provided in this application stores computer-readable program instructions (i.e., a computer program) for executing the aforementioned drawing projection control method, thereby solving the technical problem of more accurately automating wire harness assembly. Compared to the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the drawing projection control method provided in the aforementioned embodiment, and are not further elaborated here.
[0220] The above description is only part of the embodiments of the present application and does not limit the patent scope of the present application. All equivalent structural transformations made by using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect application in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A drawing projection control method, characterized in that: The method includes: Get instructions for loading drawing files and screen projection; Analyzing key points of the wire path based on the screen projection instruction and the loaded drawing file, calibrating the target projection area, and determining an optimized projection array for the display screen; Drawings are automatically assembled based on the optimized projection array of the display screen, and the machine is controlled to display the projected drawings to complete drawing projection control.
2. The method according to claim 1, wherein The steps of obtaining instructions for loading drawing files and screen projection include: Obtain user configuration files and user operation instructions; Reading the user configuration file triggers the software to initialize the loading cache file, and selecting the drawing to be loaded according to the user operation instruction to generate a loaded drawing file, wherein the loaded drawing file includes the drawing type and the drawing annotation size; The screen image object to be adjusted is identified based on the user operation instruction, and a screen projection instruction is generated.
3. The method according to claim 1, wherein The step of parsing the key points of the wire path based on the screen projection instruction and the loaded drawing file, calibrating the target projection area, and determining the optimized projection array of the display screen includes: Parsing the loaded drawing file according to the drawing projection algorithm to identify key points of the wire path, adjusting the projection ratio for format conversion, and determining the display screen image point array; The display screen image point array is adjusted based on the screen projection instruction to calibrate the target projection area, and an optimized projection array of the display screen is determined.
4. The method according to claim 3, wherein The steps of parsing the loaded drawing file according to the drawing projection algorithm to identify key points of the wire path, adjusting the projection ratio for format conversion, and determining the display screen image point array include: Acquiring target wire information, wherein the target wire information includes wire length information and wire position information; Parsing the loaded drawing file according to the drawing projection algorithm to identify key points of the wire path, and adjusting the projection ratio according to the target wire information to determine the projection drawing file; The projection drawing file is formatted to obtain a display screen image point array.
5. The method according to claim 3, wherein The step of adjusting the display screen image point array to calibrate the target projection area based on the screen projection instruction and determining the optimized projection array of the display screen includes: Obtain production line adjustment data; Generate a control projection instruction based on the production line adjustment data and the screen projection instruction; The display screen image point array is adjusted based on the control projection instruction, and the target projection area is calibrated to obtain the display screen optimized projection array.
6. The method according to claim 1, wherein The steps of automatically assembling drawings based on the optimized projection array of the display screen and controlling the machine to display the projected drawings to complete the drawing projection control include: Obtain user authority information, including administrator authority, operator authority, and terminal synchronization authority; Triggering collaborative hierarchical manipulation based on the user authority information and the display screen optimized projection array, performing automated drawing assembly, and determining drawing assembly manipulation record information; Based on the drawing assembly manipulation record information, the machine is controlled to display the projected drawing to complete the drawing projection control.
7. The method according to claim 6, wherein The step of controlling the machine to display the projected drawing based on the drawing assembly manipulation record information to complete the drawing projection control includes: Encrypting the drawing assembly manipulation record information using a timestamp to generate a historical record, wherein the historical record includes a parameter adjustment record and a drawing switching record; Detecting drawing assembly anomalies based on the drawing assembly manipulation record information, retaining the drawing assembly progress, and generating a recovery plan; Reproducing the drawing assembly operation based on the restoration solution and the historical records, and determining projection interface information; Based on the projection interface information, the machine is controlled to display the projection drawing to complete the drawing projection control.
8. A drawing projection control device, characterized in that: The device comprises: Acquisition module, used to obtain loading drawing files and screen projection instructions; a processing module, configured to parse key points of a wire path based on the screen projection instruction and the loaded drawing file, calibrate a target projection area, and determine an optimized projection array for the display screen; The execution module is used to automatically assemble drawings based on the display screen optimization projection array and control the machine to display the projected drawings to complete the drawing projection control.
9. A drawing projection control device, characterized in that: The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the drawing projection control method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the drawing projection control method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Method for manufacturing wire harness
CN104700962A
Wiring harness path generating system for full automatic wiring machine
CN107992686A
Pencil assembly system
CN205944919U
Wire harness design method and design apparatus
JP2017062587A
Augmented reality system for component assembly and archival baseline clone
US11132479B1