Sewing track processing method and device, computer equipment and storage medium

By determining the target point trace in the sewing trajectory processing software and converting it into binary code, the problem of low efficiency in existing sewing mold generation software is solved, enabling efficient and personalized pocket sewing tasks.

CN121853286APending Publication Date: 2026-04-14BULLMER ELECTROMECHANICAL TECH
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BULLMER ELECTROMECHANICAL TECH
Filing Date
2025-12-31
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

Existing sewing pattern generation software is inefficient in generating sewing tracks, cannot meet users' personalized needs for pocket sewing, and requires re-encoding according to DXF format, resulting in low work efficiency.

Method used

The target point is determined by the visual interface of the sewing trajectory processing software, the user configuration data is obtained, converted into binary code, written into a JEF format sewing program file, and sent to the patching machine control system to execute the sewing task.

Benefits of technology

It improves the automation and precision of sewing tasks, meets users' personalized needs for pocket sewing, and increases work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121853286A_ABST
    Figure CN121853286A_ABST
Patent Text Reader

Abstract

The invention relates to a sewing track processing method and device, computer equipment and a storage medium. The method comprises the following steps: determining a target trace point from a target sewing track displayed in a visual interface according to operation information of a user on the visual interface of sewing track processing software; acquiring operation information of a user on the sewing point configuration data, and determining a target function code according to the operation information of the user on the sewing point configuration data; converting the target function code into a binary code based on a preset mapping rule; writing the binary code and the trace point coordinate of the target trace point into a sewing pattern data segment of the sewing program file in the JEF format, and determining an executable file in the JEF format; and sending the executable file to a control system of the patch pocket machine, so that the control system controls the patch pocket machine to execute the sewing task according to the executable file. According to the scheme, the pocket sewing efficiency can be guaranteed, and meanwhile the personalized requirement of a user for pocket sewing can be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of sewing equipment technology, and in particular to a method, apparatus, computer device, and storage medium for processing sewing tracks. Background Technology

[0002] Sewing trajectory is a crucial process in the operation of patch pocket machines. Pocket molds need to be matched with other molds to fix the pocket and sew it. With user feedback regarding issues such as loose stitches and openings in pockets, and the need for special stitch treatments like loopers, herringbone stitches, backstitches, sewing speed adjustments, and stitch length adjustments, the requirements for sewing trajectories are becoming increasingly demanding. Current methods of drawing sewing trajectories by confirming the starting point and moving subsequent stitches are no longer sufficient to meet the complex pocket sewing needs of today. Furthermore, current sewing mold generation software generally only supports exporting sewing trajectories in DXF (Drawing Exchange Format), requiring the sewing program to be re-encoded based on the DXF sewing trajectory for the sewing machine, resulting in low efficiency. Therefore, how to ensure pocket sewing efficiency while meeting users' personalized pocket sewing needs is a problem that needs to be solved. Summary of the Invention

[0003] Therefore, it is necessary to provide a method, apparatus, computer equipment, and storage medium for processing sewing tracks that can meet users' personalized needs for pocket sewing while ensuring pocket sewing efficiency.

[0004] Firstly, this application provides a method for processing sewing tracks, the method comprising:

[0005] Based on the user's operation information on the visual interface of the sewing trajectory processing software, the target point is determined from the target sewing trajectory displayed in the visual interface;

[0006] Obtain user operation information on sewing point configuration data, and determine the target function code based on user operation information on sewing point configuration data;

[0007] Based on preset mapping rules, the target function code is converted into binary code;

[0008] Write the binary code and the coordinates of the target dot into the sewing pattern data segment of the sewing program file in JEF format to determine the executable file in JEF format.

[0009] The executable file is sent to the control system of the patching machine so that the control system controls the patching machine to perform sewing tasks according to the executable file.

[0010] In one embodiment, after determining the target point from the target sewing trajectory displayed in the visual interface based on the user's operation information on the visual interface of the sewing trajectory processing software, the method further includes:

[0011] The target dots in the visualization interface are highlighted, and the sewing point configuration data corresponding to the target dots in the sewing point data list is also highlighted.

[0012] In one embodiment, the method for processing the sewing trajectory further includes:

[0013] Obtain the target pocket type, pocket size, sewing parameters, and target model of the patching machine selected by the user, and determine the sewing track type corresponding to the target model;

[0014] Based on the target machine model, the target pocket type, the sewing parameters, the pocket size, and the sewing trajectory type corresponding to the target machine model, a drawing exchange format file is generated; the drawing exchange format file includes point data, line data, arc data, and polyline data.

[0015] In one embodiment, the method for processing the sewing trajectory further includes:

[0016] The drawing exchange format file is parsed using a graphics processing framework to determine the primitive information of the sewing trajectory; the primitive information of the sewing trajectory includes point primitives, line primitives, arc primitives, and polyline primitives;

[0017] Based on the JEF format protocol, the primitive information is converted into data, and the converted primitive information is written into the sewing pattern data segment of the initial JEF format file to determine the JEF format sewing program file.

[0018] In one embodiment, obtaining the user-selected target pocket type, pocket size, sewing parameters, and target appliqué machine model, and determining the sewing track type corresponding to the target machine model, includes:

[0019] Based on the target model of the bag-applying machine selected by the user, candidate pocket types are determined and sent to the client so that the user can select the target pocket type from the candidate pocket types based on the client.

[0020] Based on the target pocket type, send size parameters to the client and obtain the pocket size selected by the user based on the size parameters;

[0021] Obtain the sewing parameters selected by the user based on the parameter setting interface, and determine the sewing trajectory type from the process rule library according to the target machine model.

[0022] In one embodiment, sending the executable file to the control system of the patching machine, so that the control system controls the patching machine to perform sewing tasks according to the executable file, includes:

[0023] The executable file is sent to the control system of the patching machine so that the control system can determine the target sewing trajectory, binary code and the coordinates of the target dot based on the executable file;

[0024] The control system controls the patching machine to perform sewing tasks based on the target sewing trajectory, determines the sewing coordinates, and determines whether the sewing task has been executed to the target spot based on the sewing coordinates and the spot coordinates. If the sewing task has been executed to the target spot, the function code operation corresponding to the binary code is executed synchronously.

[0025] In one embodiment, determining the target point from the sewing trajectory displayed in the visual interface based on the user's operation information on the visual interface of the sewing trajectory processing software includes:

[0026] The click coordinates are determined based on the user's operation information on the visual interface of the sewing trajectory processing software;

[0027] The target point is determined from the sewing points based on the coordinate distance between the click coordinates and the coordinates of the sewing points in the sewing trajectory displayed in the visualization interface.

[0028] Secondly, this application also provides a sewing track processing device, the device comprising:

[0029] The visualization interface display module is used to determine the target point from the target sewing trajectory displayed in the visualization interface based on the user's operation information on the visualization interface of the sewing trajectory processing software.

[0030] The target function code determination module is used to obtain the user's operation information on the sewing point configuration data, and determine the target function code based on the user's operation information on the sewing point configuration data.

[0031] The function code conversion module is used to convert the target function code into binary code based on a preset mapping rule;

[0032] The executable file confirmation module is used to write the binary code and the coordinates of the target dot into the sewing pattern data segment of the sewing program file in JEF format, and to determine the executable file in JEF format.

[0033] The file sending module is used to send the executable file to the control system of the patching machine, so that the control system controls the patching machine to perform sewing tasks according to the executable file.

[0034] Thirdly, this application also provides a computer device, the computer device including a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0035] Based on the user's operation information on the visual interface of the sewing trajectory processing software, the target point is determined from the target sewing trajectory displayed in the visual interface;

[0036] Obtain user operation information on sewing point configuration data, and determine the target function code based on user operation information on sewing point configuration data;

[0037] Based on preset mapping rules, the target function code is converted into binary code;

[0038] Write the binary code and the coordinates of the target dot into the sewing pattern data segment of the sewing program file in JEF format to determine the executable file in JEF format.

[0039] The executable file is sent to the control system of the patching machine so that the control system controls the patching machine to perform sewing tasks according to the executable file.

[0040] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0041] Based on the user's operation information on the visual interface of the sewing trajectory processing software, the target point is determined from the target sewing trajectory displayed in the visual interface;

[0042] Obtain user operation information on sewing point configuration data, and determine the target function code based on user operation information on sewing point configuration data;

[0043] Based on preset mapping rules, the target function code is converted into binary code;

[0044] Write the binary code and the coordinates of the target dot into the sewing pattern data segment of the sewing program file in JEF format to determine the executable file in JEF format.

[0045] The executable file is sent to the control system of the patching machine so that the control system controls the patching machine to perform sewing tasks according to the executable file.

[0046] The aforementioned sewing trajectory processing method, apparatus, computer equipment, and storage medium, based on user operation information from the visual interface of the sewing trajectory processing software, determine the target stitch from the target sewing trajectory displayed in the visual interface; acquire user operation information on the sewing point configuration data, and determine the target function code based on this information; convert the target function code into binary code based on a preset mapping rule; write the binary code and the stitch coordinates of the target stitch into the sewing pattern data segment of a JEF format sewing program file to determine a JEF format executable file; and send the executable file to the control system of the patching machine, so that the control system controls the patching machine to perform the sewing task according to the executable file. This solves the problems that current sewing trajectory drawing schemes based on starting point confirmation and subsequent stitch movement are insufficient to meet the complex sewing needs of modern pockets, and that current sewing mold generation software requires re-encoding the corresponding sewing program based on the DXF sewing trajectory for use by the sewing machine, resulting in low work efficiency. The above solution involves the user selecting the target stitch in the visual interface of the sewing trajectory processing software, editing the configuration data of the stitch to determine the target function code, converting the function code into binary code according to the preset mapping rules, and then writing the code and stitch coordinates into a JEF format file to generate an executable program. Finally, the program is sent to the pocket attaching machine control system, which drives the equipment to complete the sewing task. This solution can meet the user's personalized needs for pocket sewing while ensuring pocket sewing efficiency. Attached Figure Description

[0047] Figure 1 This is a flowchart illustrating a method for processing the sewing trajectory in one embodiment;

[0048] Figure 2 This is an example image showing the highlighting of target dots in a visualization interface in one embodiment.

[0049] Figure 3 This is an example diagram of the highlighted target dots and the highlighted configuration data in one embodiment.

[0050] Figure 4 This is a flowchart illustrating the sewing trajectory processing method in another embodiment;

[0051] Figure 5 This is an example diagram showing the candidate models in a visualization interface in one embodiment;

[0052] Figure 6 Here is an example diagram of the target pocket type and sewing parameters in one embodiment;

[0053] Figure 7 This is a flowchart illustrating the sewing trajectory processing method in another embodiment;

[0054] Figure 8 This is an example diagram of candidate pocket types and the target pocket type selected by the user in one embodiment;

[0055] Figure 9 An example diagram of a file save path configuration interface in one embodiment;

[0056] Figure 10 This is an example diagram of the DXF and sewing trajectory display interface in one embodiment;

[0057] Figure 11 This is a structural block diagram of a sewing trajectory processing device in one embodiment;

[0058] Figure 12 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0059] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0060] In one embodiment, such as Figure 1 As shown, a method for processing sewing tracks is provided. This method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:

[0061] S110. Based on the user's operation information on the visual interface of the sewing trajectory processing software, determine the target point from the target sewing trajectory displayed in the visual interface.

[0062] The sewing trajectory processing software, also known as sewing mold generation software, transforms user process requirements into standardized digital sewing mold files. The target sewing trajectory, selected by the user, is a continuous path for the machine needle's movement planned based on pocket size, trajectory type, and machine model rules. It consists of a series of ordered sewing point coordinates, line segments, and / or arc primitives, serving as the core path guiding the machine to complete automated sewing. The target stitch is a fixed path pre-planned by the software according to preset rules based on user-input parameters. The patching machine strictly follows this trajectory during sewing and will not change the stitch path automatically. The target stitch can be any sewing point within the target sewing trajectory. In the context of patching machine sewing trajectories, a stitch refers to the smallest positional unit on the sewing trajectory, distributed at preset needle distances, used to guide the needle's placement, and is also the basic coordinate point constituting the continuous sewing trajectory. The visual interface is the sewing trajectory modification interface.

[0063] Specifically, during the sewing process, precise sewing is achieved based on the individual sewing points along the sewing trajectory. The overall sewing trajectory is stored in a list of primitives by the program. When the customer clicks on a point on the sewing trajectory in the visual interface of the sewing trajectory processing software, the target point can be determined from the target sewing trajectory displayed in the visual interface based on the user's click position.

[0064] For example, determining the target point from the sewing trajectory displayed in the visual interface based on the user's operation information on the visual interface of the sewing trajectory processing software includes:

[0065] Based on the user's operation information on the visual interface of the sewing trajectory processing software, determine the click coordinates; based on the coordinate distance between the click coordinates and the coordinates of the sewing points in the sewing trajectory displayed in the visual interface, determine the target point from the sewing points.

[0066] Specifically, based on the user's operation information on the visual interface of the sewing trajectory processing software using the mouse, the mouse click coordinates are determined, the coordinate distance between the click coordinates and the coordinates of the sewing points in the sewing trajectory displayed in the visual interface is determined, and the sewing point closest to the click coordinates is determined as the target point.

[0067] The above solution captures the user's mouse click coordinates on the visual interface, calculates the distance between the click coordinates and the sewing point coordinates, and locks the nearest sewing point as the target point. This achieves precise positioning and quick selection of sewing points, improves the efficiency and accuracy of subsequent operations such as function code binding, conforms to the user's intuitive interaction habits, lowers the operation threshold, and ensures the uniqueness of the selected target point.

[0068] For example, after determining the target point from the target sewing trajectory displayed in the visual interface based on the user's operation information on the visual interface of the sewing trajectory processing software, the method further includes:

[0069] The target dots in the visualization interface are highlighted, and the corresponding sewing point configuration data in the sewing point data list is also highlighted.

[0070] The sewing point data list, displayed in the visualization interface, is a structured data list corresponding to all sewing points on the target sewing trajectory. Each row in the sewing point data list corresponds to a sewing point on the visualized trajectory and contains the configuration data for that sewing point. The configuration data for the sewing point comes from the structured storage content of the element list `listEntity`. The sewing point configuration data includes none, thread cut, speed change, and extension plate.

[0071] For example, Figure 2This is an example image showing how to highlight target points in a visualization interface. Figure 2 In the image, the stitching dot pointed to by the arrow is the highlighted target dot. Figure 3 This section displays the highlighted target stitches and their configuration data. When a user clicks on any point in the sewing trajectory, the system identifies and highlights the sewing point closest to the mouse click coordinates. Simultaneously, the left-hand list of the sewing trajectory displays the specific data row corresponding to the target stitch, i.e., the sewing point configuration data.

[0072] By automatically locating and highlighting the sewing point closest to the mouse click position and its corresponding configuration data in the list to the left, the efficiency of stitch selection and parameter viewing is improved.

[0073] S120. Obtain the user's operation information on the sewing point configuration data, and determine the target function code based on the user's operation information on the sewing point configuration data.

[0074] Specifically, users can click and select sewing point configuration data using the mouse. Based on the user's operation information on the sewing point configuration data, the target function code is determined and used as the function code to be added for the target stitch. The target function code can be none, thread cut, speed change, or telescopic plate. None means no function code is added, and the target stitch is sewn in the default way. Thread cut refers to the machine automatically driving the built-in thread cutting mechanism to cut the top and bottom threads simultaneously when the sewing program reaches a specified stage. Speed ​​change refers to the machine automatically adjusting the spindle speed dynamically at specific nodes of the sewing trajectory according to preset process rules. Speed ​​change actions are usually tied to key nodes requiring precise sewing, such as corners or the starting points of arc segments in the sewing trajectory. The telescopic plate is an auxiliary material support component on the feeding mechanism of the patch bag machine that can be raised, lowered, and extended forward and backward. Its core function is to stably support the fabric and, in conjunction with the fabric feeding action, precisely control the fabric's feed position, preventing wrinkles or shifting during sewing. If the user selects the function code corresponding to the wire cutter, speed change, or telescopic plate, the binary code corresponding to the selected function code will be added to the field of the executable file when it is generated later.

[0075] S130. Based on preset mapping rules, convert the target function code into binary code.

[0076] The preset mapping rule can be a binary data protocol.

[0077] Specifically, a unified binary encoding protocol is pre-defined as a mapping rule between the patching machine control system and the sewing trajectory processing software. This protocol assigns a unique binary identifier and parameter bit segment to each mechanical operation, such as thread cutting, speed change, and telescopic plate movement. When a JEF format executable file needs to be generated, the target function code bound to the sewing stitch is converted into corresponding binary data based on the pre-defined mapping rule and written into the JEF format sewing program file.

[0078] S140. Write the binary code and the coordinates of the target dot into the sewing pattern data segment of the JEF format sewing program file, and determine the JEF format executable file.

[0079] JEF (Juki Embroidery Format) is a dedicated binary file format defined for sewing equipment, serving as the core carrier connecting visual trajectory design with automated sewing. A JEF file contains Data Segment 1, consisting of header data, verification data, and needle data, and Data Segment 2, consisting of specific pattern information and pattern data. The JEF file encapsulates both the machine's basic operating rules and carries specific sewing trajectories and functional instructions. Data Segment 1 is a basic protocol layer based on the internal protocol of the patching machine. Its core function is to provide general rules and instructions for subsequent sewing tasks. Specifically, it includes three key categories: first, the default operating attributes of the sewing machine head, such as the initial spindle speed and default presser foot height, ensuring the basic operation of the machine head; second, data verification information, used to verify data integrity when the control system reads the file, preventing execution anomalies due to data loss or tampering; and third, standardized binary data instructions corresponding to core sewing functions such as thread cutting, speed change, and extension plate movements, providing a unified instruction dictionary for binding and triggering function codes in Data Segment 2. Data segment 2 is the core data carrier of the sewing trajectory. The data header completes the data verification and writes the default configuration of the specific pattern. Then, in the subsequent pattern data, the position coordinates of all points of the sewing trajectory are stored in sequence, and the corresponding sewing points are marked as to whether they are bound to function codes such as thread cutting or speed change.

[0080] Specifically, when it is necessary to generate an executable file in JEF format, the target function code bound to the sewing stitches is converted into corresponding binary data based on a preset mapping rule and written into the sewing pattern data segment of the JEF format sewing program file. The JEF format sewing program file with the binary data written in it is the JEF format executable file.

[0081] S150. Send the executable file to the control system of the patching machine so that the control system controls the patching machine to perform sewing tasks according to the executable file.

[0082] Specifically, the generated JEF format executable file containing sewing trajectory coordinates and function code binary instructions is sent to the control system of the patching machine. The control system can then drive the patching machine to complete the entire process of positioning, needle dropping, thread cutting, speed change and telescopic plate movement in sequence according to the preset path parameters and action instructions in the file, and finally accurately execute the complete pocket sewing task.

[0083] For example, sending the executable file to the control system of the patching machine, so that the control system controls the patching machine to perform sewing tasks according to the executable file, includes:

[0084] The executable file is sent to the control system of the patching machine so that the control system can determine the target sewing trajectory, binary code, and the coordinates of the target stitch based on the executable file. The control system controls the patching machine to perform the sewing task based on the target sewing trajectory, determines the sewing coordinates, and determines whether the sewing task has been executed to the target stitch based on the sewing coordinates and the stitch coordinates. If the sewing task has been executed to the target stitch, the function code operation corresponding to the binary code is executed synchronously.

[0085] Specifically, after sending an executable file in JEF format containing the target sewing trajectory, stitch coordinates, and the binary code corresponding to the function code to the patching machine control system, the control system first parses the complete target sewing trajectory path, the precise coordinates of each sewing stitch, and the binary code instructions of the function code bound to the key nodes from the executable file. Then, the control system drives the patching machine to perform movement and needle dropping actions according to the coordinate sequence of the target sewing trajectory, while comparing the machine's current sewing coordinates with the stitch coordinates of the target stitch in real time to determine whether it has reached the target stitch bound to the function code; once it is confirmed that the sewing task has reached the target stitch, the control system will immediately parse and execute the corresponding binary code instruction, triggering supporting mechanical operations such as thread cutting, speed change, or telescopic plate action.

[0086] It should be noted that after reading the JEF format executable file, the corresponding sewing task can be accurately executed by parsing the identifiers and parameters of the binary data. Furthermore, the universality of the preset mapping rules also supports adding more function codes to the sewing trajectory within the software. In addition, the target stitches for user click operations and sewing point configuration data selection can be one or multiple. After writing the binary code and coordinates of a target stitch into the sewing pattern data segment of the JEF format sewing program file, the left side and parameters of other sewing stitches following the target stitch can be sequentially written into the JEF format executable file based on the sewing order of the stitches in the target sewing trajectory. Subsequently, after the pocket attaching machine control system reads the executable file, it can strictly drive the needle movement and sewing according to the stitch order within the executable file, ensuring the continuity of the pocket outline and the orderly nature of the sewing actions. If other sewing points after the target stitch also need to have function codes added, the same operation and writing rules will be used. First, locate the sewing point to be configured in the visual interface and simultaneously position it in the corresponding highlighted row in the sewing point list. Then, select the function code to be added to the point, convert the function code into binary code according to the preset mapping rules, and write this string of binary data after the coordinate information of the sewing point stitch. In this way, the function code configuration operation is completed one by one for all sewing points that need to be bound with function codes, and finally a complete JEF format executable file is generated.

[0087] The above solution improves the automation and execution accuracy of sewing tasks, ensures the consistency of the timing of actions in different process steps, effectively reduces errors caused by human intervention, and improves the stability of finished product quality and production efficiency.

[0088] In the above-described sewing trajectory processing method, the target stitch is determined from the target sewing trajectory displayed in the visual interface based on the user's operation information on the sewing trajectory processing software; the user's operation information on the sewing point configuration data is obtained, and the target function code is determined based on the user's operation information on the sewing point configuration data; the target function code is converted into binary code based on a preset mapping rule; the binary code and the stitch coordinates of the target stitch are written into the sewing pattern data segment of a JEF format sewing program file to determine a JEF format executable file; the executable file is sent to the control system of the patching machine so that the control system controls the patching machine to perform the sewing task according to the executable file. This solves the problems that the current sewing trajectory drawing scheme based on the initial point confirmation and subsequent stitch movement is insufficient to meet the current complex pocket sewing needs, and that the current sewing mold generation software needs to re-encode the corresponding sewing program based on the DXF sewing trajectory for the sewing machine to use, resulting in low work efficiency. The above solution involves the user selecting the target stitch in the visual interface of the sewing trajectory processing software, editing the configuration data of the stitch to determine the target function code, converting the function code into binary code according to the preset mapping rules, and then writing the code and stitch coordinates into a JEF format file to generate an executable program. Finally, the program is sent to the pocket attaching machine control system, which drives the equipment to complete the sewing task. This solution can meet the user's personalized needs for pocket sewing while ensuring pocket sewing efficiency.

[0089] In one embodiment, such as Figure 4 As shown, the above method for processing sewing tracks also includes:

[0090] S210: Obtain the target pocket type, pocket size, sewing parameters, and target model of the patching machine selected by the user, and determine the sewing trajectory type corresponding to the target model.

[0091] Among these, the target pocket type, pocket size, sewing parameters, and the sewing trajectory type corresponding to the standard model of the patching machine are all trajectory determination parameters for the target sewing trajectory. In other words, the target sewing trajectory is determined jointly by these trajectory determination parameters. Pocket type refers to a pocket style with a specific outline shape defined according to garment process requirements, and is one of the core input parameters for determining the initial sewing trajectory form. Target pocket types can include basic geometric types, irregular shapes, or composite types. Basic geometric types include round pockets and rectangular pockets; irregular shapes include trapezoidal pockets and crescent-shaped pockets; composite types include pockets with flaps and double-stitched pockets. Different pocket types correspond to different sewing trajectory topologies. The system will automatically generate a matching initial sewing trajectory based on the user-selected pocket type, combined with the input size parameters and target machine model constraints. Sewing parameters refer to a series of quantifiable process indicators pre-set to meet the specific pocket's process requirements, adapt to fabric characteristics and target machine model performance, such as stitch length, stitch density, and sewing line spacing. The target model for the patching machine can be selected by the user from a list of candidate models displayed on a visual interface, based on actual sewing needs, through mouse clicks. The candidate models are displayed through a visual interface, such as... Figure 5 As shown. Figure 5 Among the candidate models, B5201, V6, VM01, VM02, and VM02-DB were selected, with V6 being the target model chosen by the user.

[0092] For example, the system obtains the user-selected target pocket type, pocket size, sewing parameters, and target applicator model, and determines the sewing track type corresponding to the target model, including:

[0093] Based on the target model of the patching machine selected by the user, determine the candidate pocket types and send them to the client so that the user can select the target pocket type from the candidate pocket types based on the client; based on the target pocket type, send the size parameter items to the client and obtain the pocket size selected by the user based on the size parameter items; obtain the sewing parameters selected by the user based on the parameter setting interface, and determine the sewing trajectory type from the process rule library according to the target model.

[0094] Specifically, based on the target pocketing machine model selected by the user, candidate pocket types supported by the machine's hardware capabilities are filtered and pushed to the client for the user to select the target pocket type. Next, based on the target pocket type, the corresponding size parameters are sent to the client to obtain the pocket size selected by the user. Then, the sewing parameters selected by the user in the parameter setting interface are collected, and combined with the target machine model, a sewing trajectory type suitable for the target machine model, target pocket type, and pocket size is matched from a preset process rule library. For example, the target pocket type and sewing parameters selected by the user are as follows: Figure 6 As shown. Figure 6In the process, the sewing parameters selected by the user include width, height, side length, bottom length, and side type. Width refers to the width of the pocket, which is the horizontal dimension of the pocket; height refers to the height of the pocket, which is the vertical dimension of the pocket; side length refers to the side length, which corresponds to the side length of the pocket; bottom length refers to the bottom length, which corresponds to the bottom edge length of the pocket; and side type refers to the side type, which is the style option for the side of the pocket.

[0095] The above solution first filters candidate pocket types based on the hardware capabilities of the machine model, then pushes exclusive size parameters according to the selected pocket type, and finally matches the sewing trajectory type with the machine model and process parameters. This ensures that the final generated sewing trajectory not only meets the process requirements but can also be stably executed by the target machine model.

[0096] S220. Generate a drawing exchange format file based on the target machine model, target pocket type, sewing parameters, pocket size, and the sewing trajectory type corresponding to the target machine model.

[0097] The drawing exchange format file includes point data, line data, arc data, and polyline data.

[0098] Specifically, based on the selected target machine model, target pocket type, sewing parameters, pocket size, and sewing trajectory type adapted to the machine model, all process and equipment constraints are integrated to calculate the pocket outline coordinates and sewing trajectory path, and finally generate a DXF (Drawing Exchange Format) file containing complete vector graphics information.

[0099] The above solution takes the target machine model, pocket type, pocket size and sewing parameters as input, and generates a DXF file containing point, line, arc and polyline data by combining the appropriate trajectory type, thus achieving a precise match between process requirements and equipment capabilities.

[0100] For example, the method for determining a JEF format sewing program file can be as follows: The drawing exchange format file is parsed using a graphics processing framework to determine the primitive information of the sewing trajectory; the primitive information of the sewing trajectory includes point primitives, line primitives, arc primitives, and polyline primitives; the primitive information is converted based on the JEF format protocol, and the converted primitive information is written into the sewing pattern data segment of the initialization JEF format file to determine the JEF format sewing program file.

[0101] The graphics processing framework in question is Librecad.

[0102] It should be noted that after the DXF file is generated, the relevant graphics processing framework of LibreCAD is called to read the file data and perform structured analysis and processing on the point, line, arc primitives and polyline primitives in the file. For example, the coordinate information of all sewing points is extracted and sorted according to the sewing order, the line segments and arcs are decomposed into continuous executable trajectory segments, and key process nodes such as corners and arc transitions are identified, so as to transform the visualized DXF vector graphics into the structured point traces and trajectory data required for the subsequent generation of JEF format executable files.

[0103] Specifically, the graphics processing framework is invoked to parse the generated DXF format file, extracting all the primitive information constituting the sewing trajectory. This primitive information includes point primitives, line primitives, arc primitives, and polyline primitives. The primitive information is stored in a primitive list, denoted as `listEntity`. When storing the primitive information in `listEntity`, point primitives, line primitives, arc primitives, and polyline primitives are stored according to their respective primitive attributes. For example, the primitive attribute of a point primitive can be `Point`, and the primitive attribute of a line primitive can be `Line`. According to the internal protocol rules of the JEF format, the above primitive information is format-converted. For example, the coordinate values ​​of point primitives are converted into machine-recognizable binary data. Instructions corresponding to function codes such as thread cutting and speed change are bound to key primitive nodes. Then, all the converted trajectory data is written into the sewing pattern data segment of the initial JEF file in the sewing sequence. The sewing pattern data segment is in data segment 2. Combined with the preset basic protocol data segment in the JEF file, i.e., data segment 1, the JEF format sewing program file is finally generated.

[0104] For example, such as Figure 7 As shown, based on the above embodiments, the method for processing the sewing trajectory includes:

[0105] During the sewing process, precise sewing is required based on the individual sewing points along the sewing path. The overall sewing path is stored in a primitive list by the program.

[0106] After sending a JEF-formatted executable file containing the target sewing trajectory, stitch coordinates, and the binary code corresponding to the function code to the patching machine control system, the control system first parses the complete target sewing trajectory path, the precise coordinates of each sewing stitch, and the binary code instructions bound to key nodes from the executable file. Then, the control system drives the patching machine to execute movement and needle placement actions according to the coordinate sequence of the target sewing trajectory, while simultaneously comparing the machine's current sewing coordinates with the target stitch coordinates in real time to determine if it has reached the target stitch bound to the function code. Once it is confirmed that the sewing task has reached the target stitch, the control system immediately parses and executes the corresponding binary code instruction, triggering corresponding mechanical operations such as thread cutting, speed change, or extension plate movement. After writing the binary code and stitch coordinates of a target stitch into the sewing pattern data segment of the JEF-formatted sewing program file, the left side and parameters of other sewing stitches following the target stitch can be sequentially written into the JEF-formatted executable file based on the sewing order of the stitches in the target sewing trajectory. After the subsequent pocket patching machine control system reads the executable file, it can strictly drive the needle to sew according to the stitch sequence in the executable file, ensuring the continuity of the pocket outline and the orderliness of the sewing action. If other sewing points after the target stitch also need to have function codes added, the unified operation and writing rules will be used. First, the sewing point to be configured will be found in the visual interface, and the corresponding highlighted row in the sewing point list will be located simultaneously. Then, the function code to be added to the point will be selected, and the function code will be converted into binary code according to the preset mapping rules. This string of binary data will then be written after the coordinate information of the sewing point. In this way, the function code configuration operation will be completed for all sewing points that need to be bound to function codes one by one, and finally a complete JEF format executable file will be generated.

[0107] Based on the user-selected target pocket machine model, candidate pocket types supported by the machine's hardware capabilities are filtered and pushed to the client for the user to select the target pocket type. Next, based on the target pocket type, the corresponding size parameters are sent to the client to obtain the pocket size selected by the user. Then, the sewing parameters selected by the user in the parameter settings interface are collected, and combined with the target machine model, a sewing trajectory type suitable for the target machine model, target pocket type, and pocket size is matched from a preset process rule library. The user can select the target pocket type from the candidate pocket types, and the candidate pocket types and the user-selected target pocket type are as follows: Figure 8 As shown.

[0108] Based on the selected target machine model, target pocket type, sewing parameters, pocket size, and the sewing trajectory type compatible with that machine model, all process and equipment constraints are integrated to calculate the pocket outline coordinates and sewing trajectory path, ultimately generating a DXF file containing complete vector graphics information. The generated DXF file is parsed using a graphics processing framework to extract all primitive information constituting the sewing trajectory. This primitive information includes point primitives, line primitives, arc primitives, and polyline primitives. The primitive information is stored in a primitive list, denoted as `listEntity`. When storing primitive information in `listEntity`, point primitives, line primitives, arc primitives, and polyline primitives are stored according to their respective primitive attributes. For example, the primitive attribute of a point primitive can be `Point`, and the primitive attribute of a line primitive can be `Line`. According to the internal protocol rules of the JEF format, the above graphic element information is converted into a format. For example, the coordinate values ​​of point graphic elements are converted into machine-recognizable binary data. The instructions corresponding to function codes such as thread cutting and speed change are bound to key graphic element nodes. Then, all the converted trajectory data are written into the sewing pattern data segment of the initial JEF file in the sewing order. The sewing pattern data segment is in data segment 2. Combined with the preset basic protocol data segment in the JEF file, i.e., data segment 1, the sewing program file in JEF format is finally generated.

[0109] When a customer clicks on a point in the sewing trajectory on the visual interface of the sewing trajectory processing software, the mouse click coordinates are determined based on the user's mouse-based operation information. The distance between the click coordinates and the coordinates of the sewing point in the displayed sewing trajectory is then determined, and the sewing point closest to the click coordinates is identified as the target point. The target point in the visual interface is highlighted, as is the corresponding sewing point configuration data in the sewing point data list. Each row in the sewing point data list corresponds to a sewing point on the visual trajectory and contains its configuration data, which originates from the structured storage of the element list (listEntity). The sewing point configuration data includes options such as none, thread trimming, speed adjustment, and extension plate.

[0110] Users can select sewing point configuration data by clicking with the mouse. Based on the user's operation information on the sewing point configuration data, the target function code is determined and becomes the function code to be added for the target stitch. The target function code can be none, thread cut, speed change, or telescopic plate. None means no function code is added, and the target stitch is sewn in the default way. Thread cut refers to the machine automatically driving the built-in thread cutting mechanism to cut the top and bottom threads simultaneously when the sewing program reaches a specified stage. Speed ​​change refers to the machine automatically adjusting the spindle speed at specific nodes of the sewing trajectory according to preset process rules. Speed ​​change actions are usually tied to key nodes requiring precise sewing, such as corners or the starting points of arc segments in the sewing trajectory. The telescopic plate is an auxiliary material support component on the feeding mechanism of the patching machine that can be raised, lowered, and extended forward and backward. Its core function is to stably support the fabric and, in conjunction with the feeding action, precisely control the fabric's feed position, preventing wrinkles or shifting during sewing. If the user selects the function code corresponding to the wire cutter, speed change, or telescopic plate, the binary code corresponding to the selected function code will be added to the field of the executable file when it is generated later.

[0111] A unified binary encoding protocol is pre-defined as a mapping rule between the patching machine control system and the sewing trajectory processing software. This protocol assigns a unique binary identifier and parameter segment to each mechanical operation, such as thread cutting, speed change, and telescopic plate movement. When a JEF format executable file needs to be generated, the target function code bound to the sewing stitches is converted into corresponding binary data based on the pre-defined mapping rule and written into the sewing pattern data segment of the JEF format sewing program file. The JEF format sewing program file containing this binary data is the JEF format executable file.

[0112] The above solution determines the target stitch from the target sewing trajectory displayed in the visual interface of the sewing trajectory processing software based on the user's operation information; it acquires the user's operation information on the sewing point configuration data and determines the target function code based on this information; it converts the target function code into binary code based on preset mapping rules; it writes the binary code and the stitch coordinates into the sewing pattern data segment of a JEF format sewing program file to determine the JEF format executable file; and it sends the executable file to the control system of the patching machine so that the control system can control the patching machine to perform the sewing task according to the executable file. This solves the problems that the current sewing trajectory drawing scheme, which confirms the starting point and then moves the stitches, is insufficient to meet the complex pocket sewing needs, and that the current sewing mold generation software needs to re-encode the corresponding sewing program based on the DXF sewing trajectory for the sewing machine, resulting in low work efficiency. The above solution involves the user selecting the target stitch in the visual interface of the sewing trajectory processing software, editing the configuration data of the stitch to determine the target function code, converting the function code into binary code according to the preset mapping rules, and then writing the code and stitch coordinates into a JEF format file to generate an executable program. Finally, the program is sent to the pocket attaching machine control system, which drives the equipment to complete the sewing task. This solution can meet the user's personalized needs for pocket sewing while ensuring pocket sewing efficiency.

[0113] For example, based on the above embodiments, the sewing trajectory processing method further includes:

[0114] The user inputs the model number of the bag-sealing machine, and the system queries a preset model and bag type matching table to filter out all candidate bag types supported by the hardware capabilities of that model, and displays the candidate bag types in a visual interface.

[0115] Users select a target type from the displayed pocket shapes, and the system then looks up the table to extract the specific size parameters required for that type of pocket, such as width, height, and side length, and generates the corresponding size parameter input interface.

[0116] The user enters the specific pocket size on the interface, and the system verifies the validity of the parameter; if the parameter is invalid, the user is prompted to modify it; if it is valid, the user is redirected to the sewing parameter settings interface.

[0117] Users select or input process parameters on the sewing parameter interface. After the system completes the parameter configuration, it outputs a file save path configuration interface, allowing users to set the storage location and filename for files such as pocket molds and sewing programs. The file save path configuration interface is shown below. Figure 9As shown. After the user confirms the save path and file name, the system automatically creates the corresponding folder and generates a pocket mold DXF file and a visual sewing trajectory based on the configured model, pocket type, pocket size and sewing parameters. These graphical contents are displayed on the interface for the user to check intuitively.

[0118] When a user clicks the "show Detail" button in the lower left corner of the DXF and sewing trajectory display interface, the system triggers the button callback logic, opening the sewing trajectory point function code addition interface to configure action commands for key trajectory nodes. The DXF and sewing trajectory display interface is as follows: Figure 10 As shown.

[0119] In the function code configuration interface, the user selects the target stitch for which an action needs to be bound, and adds function codes such as thread trimming, speed change, or reverse sewing. The system supports multiple modifications to the function codes for single or multiple stitches. When the user closes the interface, the system automatically saves the configuration and writes the function code data to the corresponding stitch information in the sewing program. The user then locates the generated sewing program file in the set save path, imports it into the corresponding patching machine, and starts the machine to complete the pocket sewing according to the preset trajectory and function instructions.

[0120] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0121] Based on the same inventive concept, this application also provides a sewing trajectory processing apparatus for implementing the sewing trajectory processing method described above. The solution provided by this apparatus is similar to the implementation described in the above method; therefore, the specific limitations of one or more sewing trajectory processing apparatus embodiments provided below can be found in the limitations of the sewing trajectory processing method described above, and will not be repeated here.

[0122] In one embodiment, such as Figure 11 As shown, a sewing trajectory processing device is provided, including: a visual interface display module 101, a target function code determination module 102, a function code conversion module 103, an executable file confirmation module 104, and a file sending module 105, wherein:

[0123] The visualization interface display module 101 is used to determine the target point from the target sewing trajectory displayed in the visualization interface based on the user's operation information on the visualization interface of the sewing trajectory processing software.

[0124] The target function code determination module 102 is used to obtain the user's operation information on the sewing point configuration data, and determine the target function code based on the user's operation information on the sewing point configuration data.

[0125] The function code conversion module 103 is used to convert the target function code into binary code based on a preset mapping rule;

[0126] The executable file confirmation module 104 is used to write the binary code and the coordinates of the target dot into the sewing pattern data segment of the sewing program file in JEF format, and to determine the executable file in JEF format.

[0127] The file sending module 105 is used to send the executable file to the control system of the patching machine, so that the control system controls the patching machine to perform sewing tasks according to the executable file.

[0128] For example, the sewing trajectory processing device described above further includes:

[0129] The highlighting module is used to highlight the target dots in the visualization interface and to highlight the sewing point configuration data corresponding to the target dots in the sewing point data list.

[0130] For example, the sewing trajectory processing device described above further includes:

[0131] The DXF file generation module is used to obtain the target pocket type, pocket size, sewing parameters, and target model of the patching machine selected by the user, and determine the sewing trajectory type corresponding to the target model; based on the target model, the target pocket type, the sewing parameters, the pocket size, and the sewing trajectory type corresponding to the target model, a drawing exchange format file is generated; the drawing exchange format file includes point data, line data, arc data, and polyline data.

[0132] For example, the DXF file generation module described above is also used for:

[0133] The drawing exchange format file is parsed using a graphics processing framework to determine the primitive information of the sewing trajectory; the primitive information of the sewing trajectory includes point primitives, line primitives, arc primitives, and polyline primitives;

[0134] Based on the JEF format protocol, the primitive information is converted into data, and the converted primitive information is written into the sewing pattern data segment of the initial JEF format file to determine the JEF format sewing program file.

[0135] For example, the DXF file generation module described above is also used for:

[0136] Based on the target model of the bag-applying machine selected by the user, candidate pocket types are determined and sent to the client so that the user can select the target pocket type from the candidate pocket types based on the client.

[0137] Based on the target pocket type, send size parameters to the client and obtain the pocket size selected by the user based on the size parameters;

[0138] Obtain the sewing parameters selected by the user based on the parameter setting interface, and determine the sewing trajectory type from the process rule library according to the target machine model.

[0139] For example, the file sending module 105 is specifically used for:

[0140] The executable file is sent to the control system of the patching machine so that the control system can determine the target sewing trajectory, binary code and the coordinates of the target dot based on the executable file;

[0141] The control system controls the patching machine to perform sewing tasks based on the target sewing trajectory, determines the sewing coordinates, and determines whether the sewing task has been executed to the target spot based on the sewing coordinates and the spot coordinates. If the sewing task has been executed to the target spot, the function code operation corresponding to the binary code is executed synchronously.

[0142] For example, the visual interface display module 101 is specifically used for:

[0143] The click coordinates are determined based on the user's operation information on the visual interface of the sewing trajectory processing software;

[0144] The target point is determined from the sewing points based on the coordinate distance between the click coordinates and the coordinates of the sewing points in the sewing trajectory displayed in the visualization interface.

[0145] Each module in the aforementioned sewing trajectory processing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.

[0146] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 12 As shown, the computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When executed by the processor, the computer program implements a method for processing sewing tracks. The display unit is used to form a visually visible image and can be a display screen, projection device, or virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0147] Those skilled in the art will understand that Figure 12 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0148] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0149] Step 1: Based on the user's operation information on the visual interface of the sewing trajectory processing software, determine the target point from the target sewing trajectory displayed in the visual interface;

[0150] Step 2: Obtain the user's operation information on the sewing point configuration data, and determine the target function code based on the user's operation information on the sewing point configuration data;

[0151] Step 3: Based on the preset mapping rules, convert the target function code into binary code;

[0152] Step 4: Write the binary code and the coordinates of the target dot into the sewing pattern data segment of the JEF format sewing program file to determine the JEF format executable file;

[0153] Step 5: Send the executable file to the control system of the patching machine so that the control system controls the patching machine to perform sewing tasks according to the executable file.

[0154] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0155] Step 1: Based on the user's operation information on the visual interface of the sewing trajectory processing software, determine the target point from the target sewing trajectory displayed in the visual interface;

[0156] Step 2: Obtain the user's operation information on the sewing point configuration data, and determine the target function code based on the user's operation information on the sewing point configuration data;

[0157] Step 3: Based on the preset mapping rules, convert the target function code into binary code;

[0158] Step 4: Write the binary code and the coordinates of the target dot into the sewing pattern data segment of the JEF format sewing program file to determine the JEF format executable file;

[0159] Step 5: Send the executable file to the control system of the patching machine so that the control system controls the patching machine to perform sewing tasks according to the executable file.

[0160] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0161] Step 1: Based on the user's operation information on the visual interface of the sewing trajectory processing software, determine the target point from the target sewing trajectory displayed in the visual interface;

[0162] Step 2: Obtain the user's operation information on the sewing point configuration data, and determine the target function code based on the user's operation information on the sewing point configuration data;

[0163] Step 3: Based on the preset mapping rules, convert the target function code into binary code;

[0164] Step 4: Write the binary code and the coordinates of the target dot into the sewing pattern data segment of the JEF format sewing program file to determine the JEF format executable file;

[0165] Step 5: Send the executable file to the control system of the patching machine so that the control system controls the patching machine to perform sewing tasks according to the executable file.

[0166] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0167] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0168] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0169] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for processing sewing tracks, characterized in that, include: Based on the user's operation information on the visual interface of the sewing trajectory processing software, the target point is determined from the target sewing trajectory displayed in the visual interface; Obtain user operation information on sewing point configuration data, and determine the target function code based on user operation information on sewing point configuration data; Based on preset mapping rules, the target function code is converted into binary code; Write the binary code and the coordinates of the target dot into the sewing pattern data segment of the sewing program file in JEF format to determine the executable file in JEF format. The executable file is sent to the control system of the patching machine so that the control system controls the patching machine to perform sewing tasks according to the executable file.

2. The method according to claim 1, characterized in that, After determining the target point from the target sewing trajectory displayed in the visual interface based on the user's operation information on the visual interface of the sewing trajectory processing software, the method further includes: The target dots in the visualization interface are highlighted, and the sewing point configuration data corresponding to the target dots in the sewing point data list is also highlighted.

3. The method according to claim 1, characterized in that, Also includes: Obtain the target pocket type, pocket size, sewing parameters, and target model of the patching machine selected by the user, and determine the sewing track type corresponding to the target model; Based on the target machine model, the target pocket type, the sewing parameters, the pocket size, and the sewing trajectory type corresponding to the target machine model, a drawing exchange format file is generated; the drawing exchange format file includes point data, line data, arc data, and polyline data.

4. The method according to claim 3, characterized in that, Also includes: The drawing exchange format file is parsed using a graphics processing framework to determine the primitive information of the sewing trajectory; the primitive information of the sewing trajectory includes point primitives, line primitives, arc primitives, and polyline primitives; Based on the JEF format protocol, the primitive information is converted into data, and the converted primitive information is written into the sewing pattern data segment of the initial JEF format file to determine the JEF format sewing program file.

5. The method according to claim 3, characterized in that, The process of obtaining the user-selected target pocket type, pocket size, sewing parameters, and target appliqué machine model, and determining the sewing track type corresponding to the target machine model, includes: Based on the target model of the bag-applying machine selected by the user, candidate pocket types are determined and sent to the client so that the user can select the target pocket type from the candidate pocket types based on the client. Based on the target pocket type, send size parameters to the client and obtain the pocket size selected by the user based on the size parameters; Obtain the sewing parameters selected by the user based on the parameter setting interface, and determine the sewing trajectory type from the process rule library according to the target machine model.

6. The method according to claim 1, characterized in that, Sending the executable file to the control system of the patching machine, so that the control system controls the patching machine to perform sewing tasks according to the executable file, includes: The executable file is sent to the control system of the patching machine so that the control system can determine the target sewing trajectory, binary code and the coordinates of the target dot based on the executable file; The control system controls the patching machine to perform sewing tasks based on the target sewing trajectory, determines the sewing coordinates, and determines whether the sewing task has been executed to the target spot based on the sewing coordinates and the spot coordinates. If the sewing task has been executed to the target spot, the function code operation corresponding to the binary code is executed synchronously.

7. The method according to claim 1, characterized in that, The step of determining the target point from the sewing trajectory displayed in the visual interface based on the user's operation information on the visual interface of the sewing trajectory processing software includes: The click coordinates are determined based on the user's operation information on the visual interface of the sewing trajectory processing software; The target point is determined from the sewing points based on the coordinate distance between the click coordinates and the coordinates of the sewing points in the sewing trajectory displayed in the visualization interface.

8. A sewing track processing device, characterized in that, The sewing trajectory processing device includes: The visualization interface display module is used to determine the target point from the target sewing trajectory displayed in the visualization interface based on the user's operation information on the visualization interface of the sewing trajectory processing software. The target function code determination module is used to obtain the user's operation information on the sewing point configuration data, and determine the target function code based on the user's operation information on the sewing point configuration data. The function code conversion module is used to convert the target function code into binary code based on a preset mapping rule; The executable file confirmation module is used to write the binary code and the coordinates of the target dot into the sewing pattern data segment of the sewing program file in JEF format, and to determine the executable file in JEF format. The file sending module is used to send the executable file to the control system of the patching machine, so that the control system controls the patching machine to perform sewing tasks according to the executable file.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.