Method for assisting clothing production, method and device for processing clothing pieces

By using computer-aided design tools to identify and display cutting patterns, generate production processes and perform intelligent layout, the problem of low design efficiency caused by rapid style changes in clothing production is solved, and intelligent and rapid response of clothing production is achieved.

CN113298706BActive Publication Date: 2025-09-26ALIBABA GROUP HOLDING LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010760230.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-31
Publication Date
2025-09-26
Estimated Expiration
2040-07-31

AI Technical Summary

Technical Problem

In the current clothing production process, the style change cycle is short, which makes it difficult for production speed to keep up with the demand for personalization and fashion. The lack of assistance from modern design tools leads to low design efficiency.

Method used

Computer-aided design tools are used to identify and display cutting piece graphics, generate production processes, and highlight cutting piece graphics that lack production processes in the process display area. A mapping relationship between cutting piece graphics and production processes is established, and automatic identification and modification of cutting piece names are supported to achieve intelligent arrangement of cutting piece graphics and process design.

Benefits of technology

It improves the efficiency of clothing design, helps process designers quickly discover and improve production process problems, speeds up the clothing production process, and realizes convenient, fast and intelligent clothing design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113298706B_ABST
    Figure CN113298706B_ABST
Patent Text Reader

Abstract

The embodiments of the present application disclose a method for assisting clothing production, a method for processing clothing pieces, and an apparatus. The method for assisting clothing production includes: in response to a user's operation of importing pieces, importing one or more piece graphics corresponding to a target garment; based on geometric space processing of the one or more piece graphics, displaying the one or more piece graphics in a piece display area; identifying the one or more piece graphics corresponding to the target garment, determining the clothing category of the target garment; generating a manufacturing process for the clothing category; and displaying the generated manufacturing process in a process display area. The embodiments of the present application facilitate convenient, fast, and intelligent design of clothing by displaying one or more piece graphics in a piece display area and generating a corresponding manufacturing process for display in the process display area, thereby accelerating the production process of clothing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to, but is not limited to, the field of computer processing technology, and in particular to a method for assisting clothing production, and a method and device for processing clothing pieces. Background Art

[0002] As the times progress, people are increasingly pursuing personalized and fashionable clothing styles. As a result, the cycle of style changes is getting shorter and shorter, which forces the clothing industry to speed up production. In this situation, using modern design tools - computers - to assist the clothing production process is an inevitable trend. Summary of the Invention

[0003] The embodiments of the present application provide a method for assisting clothing production, a method and device for processing clothing pieces, which can realize convenient, fast and intelligent design of clothing.

[0004] An embodiment of the present application provides a method for assisting clothing production, comprising the following steps: in response to a user's operation of importing cutting pieces, importing one or more cutting piece patterns corresponding to a target garment; based on geometric space processing of the one or more cutting piece patterns, displaying the one or more cutting piece patterns in a cutting piece display area; identifying the one or more cutting piece patterns corresponding to the target garment, and determining the clothing category of the target garment; generating a production process for the clothing category; and displaying the generated production process in a process display area.

[0005] In some exemplary embodiments, the method further includes: detecting whether each of the cutting piece patterns has a corresponding manufacturing process in the process display area, and highlighting all the cutting piece patterns that do not have a corresponding manufacturing process.

[0006] In some exemplary embodiments, the method further comprises: in response to a user selecting the cutting piece pattern, highlighting all production processes corresponding to the selected cutting piece pattern.

[0007] In some exemplary embodiments, the method further includes: in response to a user selecting the manufacturing process, highlighting all the cutting piece graphics corresponding to the selected manufacturing process.

[0008] In some exemplary embodiments, the method further comprises at least one of the following steps:

[0009] In response to the user's operation of adding, modifying, deleting or importing the production process, the production process is added, modified, deleted or imported in the process display area, and the cutting piece graphic corresponding to the production process is highlighted;

[0010] Adding a piece name to the identified piece graphic;

[0011] In response to a user's operation of configuring or modifying a piece name of the piece pattern, a piece name is configured or modified for the piece pattern.

[0012] In some exemplary embodiments, the method further includes: generating configuration information of the target garment, the configuration information including any one or more of the following: garment category, garment category, order number, factory item number, overall description and remarks, the garment category being classified according to the type of the target garment, and the garment category being classified according to the fabric of the target garment.

[0013] In some exemplary embodiments, displaying the one or more cutting patterns in a cutting display area based on geometric space processing of the one or more cutting patterns includes: rearranging all the cutting patterns according to the size of the cutting display area and the size of each of the cutting patterns, so that all the cutting patterns are evenly tiled in the cutting display area.

[0014] An embodiment of the present application also provides a method for processing clothing pieces, comprising the following steps: receiving multiple clothing pieces input by a user; splicing all received clothing pieces to a target area according to the size of each clothing piece; and generating a display interface according to the splicing positions of each clothing piece.

[0015] An embodiment of the present application also provides a device for assisting clothing production, comprising a processor and a memory, wherein the processor is configured to execute a computer program stored in the memory to implement the steps of any of the above methods for assisting clothing production.

[0016] An embodiment of the present application further provides a device for processing garment pieces, comprising a processor and a memory, wherein the processor is configured to execute a computer program stored in the memory to implement the steps of any one of the above methods for processing garment pieces.

[0017] An embodiment of the present application further provides a storage medium storing a computer program, which, when executed by a processor, implements the steps of the method for assisting clothing production as described in any one of the above.

[0018] An embodiment of the present application further provides a storage medium storing a computer program, which, when executed by a processor, implements the steps of the method for processing garment panels as described in any one of the above.

[0019] An embodiment of the present application also provides a device for assisting clothing production, including an import module, a piece display module and a process display module, wherein: the import module is used to respond to the user's operation of importing pieces and import one or more piece patterns corresponding to the target garment; the piece display module is used to display the one or more piece patterns in a piece display area based on geometric space processing of the one or more piece patterns; the process display module is used to identify the one or more piece patterns corresponding to the target garment, determine the clothing category of the target garment, generate the production process of the clothing category, and display the generated production process in the process display area.

[0020] The method for assisting clothing production, the method and device for processing clothing pieces of the embodiments of the present application, by displaying one or more piece graphics in a piece display area and generating corresponding production processes for display in a process display area, are conducive to achieving convenient, fast and intelligent design of clothing, thereby speeding up the production process of clothing.

[0021] Other features and advantages of the present application will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the present application. Other advantages of the present application can be realized and obtained by the solutions described in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The accompanying drawings are used to provide an understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.

[0023] Figure 1 A schematic flow chart of a method for assisting clothing production according to an embodiment of the present application;

[0024] Figure 2 This is a structural diagram of a process display area and a piece display area according to an embodiment of the present application;

[0025] Figure 3 A schematic diagram of the positions of multiple cutting pieces when they are not arranged;

[0026] Figure 4 A schematic diagram of a process for arranging a cutting pattern according to an embodiment of the present application;

[0027] Figure 5 This is a schematic diagram of a three-layer nested structure of a target area in an embodiment of the present application;

[0028] Figure 6 A schematic diagram of a graphic arrangement result of an embodiment of the present application;

[0029] Figure 7A schematic diagram of another arrangement process of a cutting pattern according to an embodiment of the present application;

[0030] Figure 8 This is another schematic diagram of a graphic arrangement result according to an embodiment of the present application;

[0031] Figure 9 This is another schematic diagram of a graphic arrangement result according to an embodiment of the present application;

[0032] Figure 10 A schematic flow chart of a method for processing garment pieces according to an embodiment of the present application;

[0033] Figure 11 This is a schematic structural diagram of a device for assisting clothing production according to an embodiment of the present application. DETAILED DESCRIPTION

[0034] This application describes multiple embodiments, but this description is exemplary rather than restrictive, and it will be apparent to those skilled in the art that there may be more embodiments and implementations within the scope of the embodiments described herein. Although many possible feature combinations are shown in the drawings and discussed in the detailed description, many other combinations of the disclosed features are also possible. Unless specifically limited, any feature or element of any embodiment may be used in combination with any other feature or element in any other embodiment, or may replace any other feature or element in any other embodiment.

[0035] This application includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The embodiments, features, and elements disclosed in this application may also be combined with any conventional features or elements to form a unique inventive solution defined by the claims. Any features or elements of any embodiment may also be combined with features or elements from other inventive solutions to form another unique inventive solution defined by the claims. Therefore, it should be understood that any feature shown and / or discussed in this application may be implemented individually or in any appropriate combination. Therefore, except for the limitations made according to the appended claims and their equivalents, the embodiments are not subject to other limitations. In addition, various modifications and changes may be made within the scope of protection of the appended claims.

[0036] In addition, when describing representative embodiments, the specification may have presented the method and / or process as a specific sequence of steps. However, to the extent that the method or process does not rely on the specific order of the steps described herein, the method or process should not be limited to the steps in the specific order described. As will be understood by those skilled in the art, other orders of steps are also possible. Therefore, the specific order of the steps set forth in the specification should not be interpreted as a limitation to the claims. In addition, the claims for the method and / or process should not be limited to performing their steps in the order written, and those skilled in the art can readily understand that these orders can be changed and still remain within the spirit and scope of the embodiments of the present application.

[0037] The graphics in the embodiments of this application refer to vector graphics. Vector graphics are different from bitmaps. Vector graphics refer to images represented in computer graphics using geometric primitives such as points, lines, or polygons based on mathematical equations. Vector graphics can be enlarged arbitrarily without losing detail or affecting clarity. Bitmaps, also known as raster graphics or dot maps, are images represented using an array of pixels. Enlarging a bitmap will lose detail and affect clarity. Arrangement refers to the placement of any number of small-sized graphics / images into a large container, without overlapping each other. Garment CAD (Compute-Aided Garment Design) refers to the use of computers to design clothing styles, draw patterns, lay out materials, and grade them. Pattern refers to a general term for a cardboard that records a garment's construction diagram and related technical specifications (seam allowances, grain direction, alignment points, specifications, etc.). A pattern can contain any number of irregularly shaped cut pieces. A paper pattern refers to a pattern made of soft paper. A CAD pattern refers to a pattern digitally represented by a computer. A structural diagram refers to a diagram that uses curved, straight, oblique, and arc lines to decompose the clothing shape and unfold it into a flat cutting method. It is also called a cutting diagram.

[0038] The method for assisting clothing production of the embodiment of the present application can be used on any single computer, or can also be used in a client / server (C / S) structure or a browser / server (B / S) structure environment. The user inputs one or more cutting piece patterns corresponding to the target clothing on the client or browser side, and the server side displays the input cutting piece patterns, identifies one or more cutting piece patterns corresponding to the target clothing, determines the clothing category of the target clothing, generates and displays the production process corresponding to the clothing category.

[0039] like Figure 1As shown, the embodiment of the present application provides a method for assisting clothing production, comprising the following steps:

[0040] Step 101: In response to the user's operation of importing cut pieces, one or more cut piece graphics corresponding to the target garment are imported;

[0041] Step 102: Based on the geometric space processing of the one or more cutting piece graphics, the one or more imported cutting piece graphics are displayed in the cutting piece display area;

[0042] Step 103: Identify one or more cut-piece patterns corresponding to the target garment and determine the garment category of the target garment;

[0043] Step 104: Generate a production process for the clothing category;

[0044] Step 105: Display the generated production process in the process display area.

[0045] Figure 2 This is an exemplary process display area and piece display area. Figure 2 As shown, a plurality of cutting piece patterns are displayed flatly in the cutting piece display area, and the configuration information and production process of the target garment corresponding to the cutting piece patterns are displayed in the process display area.

[0046] In an exemplary embodiment, the manufacturing process includes the manufacturing process corresponding to one or more components of the target garment, the assembly process of two or more components, and the subsequent process, etc. The manufacturing process may include process requirements and / or process flow.

[0047] In an exemplary embodiment, the method for assisting garment production further includes: detecting whether each cutting piece pattern has a corresponding manufacturing process in the process display area, and highlighting all cutting piece patterns without a corresponding manufacturing process.

[0048] In an exemplary embodiment, the method of assisting clothing production further includes: detecting whether each piece pattern has a corresponding production process in the process display area, and highlighting the piece names corresponding to all piece patterns that do not have a corresponding production process.

[0049] The method for assisting clothing production in an embodiment of the present application can enable process designers to more quickly discover problems in the production process and then improve them by highlighting all the cutting piece patterns that do not have corresponding production processes and / or the cutting piece names corresponding to all the cutting piece patterns that do not have corresponding production processes, thereby improving the efficiency of clothing production.

[0050] In an exemplary embodiment, the method for assisting garment production further includes: in response to a user selecting a cutting pattern, highlighting all production processes corresponding to the selected cutting pattern.

[0051] In an exemplary embodiment, the method for assisting garment production further includes: in response to a user selecting a production process, highlighting all cutting piece graphics corresponding to the selected production process.

[0052] The method for assisting clothing production in the embodiment of the present application establishes a corresponding mapping relationship between the cutting pattern and the manufacturing process, making it convenient for process designers to more quickly find the manufacturing process corresponding to the cutting pattern or the cutting pattern corresponding to the manufacturing process, thereby improving the efficiency of clothing design.

[0053] In an exemplary embodiment, the method of assisting clothing production further includes: responding to a user's operation of adding, modifying or deleting a production process, adding, modifying or deleting a production process in a process display area, and highlighting a cutting piece graphic corresponding to the production process.

[0054] In this embodiment, when the process designer needs to improve the existing production process, he can add, modify or delete the production process in the process display area. Each time a production process is added, modified or deleted, the cutting piece graphic corresponding to the added, modified or deleted production process is highlighted to prevent the process designer from selecting the wrong cutting piece graphic for operation.

[0055] In an exemplary embodiment, the method of assisting clothing production further includes: responding to a user's operation of adding, modifying or deleting a cutting pattern, adding, modifying or deleting a cutting pattern in a cutting display area, and highlighting a production process corresponding to the cutting pattern.

[0056] In this embodiment, when the process designer needs to improve the existing cutting piece pattern, he can add, modify or delete the cutting piece pattern in the cutting piece display area. Each time a cutting piece pattern is added, modified or deleted, the production process corresponding to the cutting piece pattern added, modified or deleted is highlighted to prevent the process designer from selecting the wrong cutting piece pattern for operation.

[0057] In an exemplary embodiment, the method for assisting garment production further includes: adding a piece name to the identified piece pattern.

[0058] The method for assisting clothing production in the embodiment of the present application can automatically identify the cutting piece pattern through a machine learning algorithm and add the corresponding cutting piece name to it.

[0059] In an exemplary embodiment, the method for assisting garment production further includes: in response to a user's operation of configuring or modifying a piece name of a piece pattern, configuring or modifying a piece name for the piece pattern.

[0060] In this embodiment, when there is an error in the cutting piece pattern automatically identified by the machine learning algorithm or the cutting piece pattern cannot be automatically identified by the machine learning algorithm, the process designer can manually add the corresponding cutting piece name for it.

[0061] In an exemplary embodiment, the method of assisting clothing production also includes: responding to the user's operation of importing a production process, importing the production process of the target clothing from an external file in a format such as XLSX (an EXCEL file format), XLS (an EXCEL file format), text (TXT), etc., and automatically parsing and displaying it in the process display area.

[0062] In an exemplary embodiment, the method for assisting garment production further includes: in response to a user's operation of copying a production process, copying the production processes of other target garments other than the target garment, and displaying the production processes in a process display area.

[0063] In an exemplary embodiment, the method of assisting clothing production further includes: receiving cutting piece feedback or process feedback input by a user, and sending the received cutting piece feedback or process feedback to a preset first email address, first telephone number or first instant messaging tool.

[0064] In this embodiment, the first email address may be an email address reserved by the process designer, the first phone number may be a phone number reserved by the process designer, and the first instant messaging tool may be an instant messaging tool account reserved by the process designer. The user can provide feedback on the unreasonable aspects of the design by inputting feedback on the cutting pieces or the process.

[0065] In an exemplary embodiment, the method of assisting clothing production also includes: generating configuration information of the target clothing, the configuration information including any one or more of the following: clothing category, clothing category, order number, factory item number, overall description and remarks, the clothing category is classified according to the type of the target clothing, and the clothing category is classified according to the fabric of the target clothing.

[0066] In this embodiment, clothing categories and factory item numbers can be identified using machine learning algorithms. Clothing categories primarily refer to clothing types, such as trousers, shorts, and T-shirts. Factory item numbers refer to the factory item numbers corresponding to the target garment. Clothing categories, order numbers, overall descriptions, and notes can be manually configured by process designers. Clothing categories primarily refer to the fabric used, such as knitted, woven, denim, and woolen. Order numbers refer to the customer order numbers corresponding to the target garment.

[0067] In an exemplary embodiment, one or more cutting piece patterns corresponding to the target garment may be stored in a pattern design drawing or a design file.

[0068] In an exemplary embodiment, based on geometric space processing of one or more cutting piece patterns, one or more cutting piece patterns are displayed in a cutting piece display area, including:

[0069] All the cutting pieces are rearranged according to their sizes so that all the cutting pieces are evenly spread in the cutting piece display area.

[0070] For example, in one application scenario, a paper pattern design includes multiple cutting piece graphics. Since the process designer draws multiple cutting piece graphics using a drawing tool, the multiple cutting piece graphics are usually randomly arranged, such as Figure 3 If the individual pieces are displayed in the piece display area according to their original randomly arranged positions, the smaller pieces will be difficult to see because the display window of the piece display area is smaller than the display window of the drawing tool, which can easily lead to misoperation. Therefore, the method for assisting garment production described in the embodiments of the present application can be used to rearrange them.

[0071] In an exemplary embodiment, Figure 4 As shown, rearranging all the cut pieces according to the size of each cut piece pattern includes the following steps:

[0072] Step 401: Obtain the width and height of multiple cut-out patterns to be arranged, and generate an estimated width of a target area for displaying the multiple cut-out patterns;

[0073] Step 402: All the pattern pieces with widths greater than or equal to the estimated width are added one by one to one or more first sub-target areas in the target area;

[0074] Step 403: Execute a first loop on the remaining piece graphics until all the remaining piece graphics are added to the second sub-target area and the third sub-target area of ​​the target area, wherein the first loop includes: adding the graphic with the highest height among the currently remaining piece graphics to a second sub-target area, and adding one or more currently remaining piece graphics to one or more third sub-target areas, wherein the sum of the widths of the second sub-target area and the third sub-target area corresponding to each first loop is no greater than the estimated width, and the height of each third sub-target area is less than or equal to the height of the second sub-target area.

[0075] In this embodiment, Figure 5 As shown, the target area for displaying multiple cut-piece graphics can be a three-layer nested structure, with the outermost layer being a grid, the second layer being a row, and the third layer being a column. The grid includes one or more rows arranged vertically, each row includes one or more columns arranged horizontally, and each column includes one or more graphics arranged vertically.

[0076] When filling a shape, one or more pattern pieces are first used to fill the innermost columns, then one or more columns are used to fill the second-level rows, and finally one or more rows are used to fill the outermost table. Generally speaking, the more levels of recursion, the higher the complexity of the algorithm. This application sets a three-level nested structure to fix the recursive level of the layout algorithm to the top three levels, avoiding too deep levels, increasing the complexity of the algorithm, and affecting performance.

[0077] Specifically, a table is the outermost layer and can contain any number of rows, which are arranged vertically. The width of the table is equal to the maximum width of the row, and the height of the table is equal to the sum of the row heights.

[0078] Row: The second layer can contain any number of columns, which are arranged horizontally. The width of a row is equal to the sum of the widths of the columns, and the height of a row is equal to the maximum height of the columns.

[0079] Column: The third layer can contain any number of shapes, arranged vertically between them. The column width is equal to the maximum width of the shape, and the column height is equal to the sum of the shape heights. In one exemplary embodiment, generating an estimated width of a target area for displaying multiple pieces of shapes includes the following steps:

[0080] Get the target aspect ratio containerScale of the target area;

[0081] Calculate the total area of ​​all the cut pieces according to the width and height of each cut piece.

[0082] Calculate the estimated width of the target area based on the calculated area sum and the target aspect ratio of the target area, where:

[0083]

[0084] In this embodiment, the estimated width of the target area can be obtained by substituting the known variables into the above formula. In other embodiments, the estimated width of the target area can also be pre-specified or calculated by other methods, and this application does not limit this.

[0085] In the embodiment of the present application, the target aspect ratio of the target area may be pre-specified. For example, the target aspect ratio of the target area may be 1:1, or the target aspect ratio of the target area may be 3:4.

[0086] In an exemplary embodiment, step 401 may further include the following steps:

[0087] Get the target aspect ratio of the target area, containerScale, and the ratio of the target area's height to the piece's name, titleScale;

[0088] According to the width and height of each piece, calculate the total area of ​​all pieces and the total width of all pieces;

[0089] Calculate the height of the piece title, titleHeight, based on the target aspect ratio of the target area, the ratio of the target area's height to the piece title's height, and the calculated sum of the area and width.

[0090]

[0091] The calculated height of the piece name is added to the height of each piece graphic to serve as the updated height of each piece graphic.

[0092] In the embodiment of the present application, by adding the calculated height of the cut piece name to the height of each cut piece graphic, a blank space can be freely added below the cut piece graphic, and space can be reserved for displaying text information such as the name of each cut piece graphic.

[0093] Let the height of the piece name be titleHeight, and the derivation process of formula (2) (i.e. the calculation formula for the height of the piece name) is as follows:

[0094] In this embodiment, it is known that:

[0095] * The target aspect ratio of the target area containerScale

[0096] *The ratio of the target area's height to the piece name's height is titleScale

[0097] *n pieces of pattern width w1 to w n and heights H1 to H n

[0098] but:

[0099] The total area of ​​all the cutting pieces is:

[0100] The total width of all the pattern pieces is:

[0101] Since the height of the target area can be Calculation can also be performed by titleScale×titleHeight, that is:

[0102]

[0103] Expand the above formula to get:

[0104] According to Vieta's theorem, we can find the only positive solution:

[0105]

[0106] Substituting the known variables into the above formula, the height of the piece name that needs to be reserved can be obtained.

[0107] The embodiment of the present application calculates the height required to be reserved for the piece name based on the target aspect ratio of the target area and the ratio of the height of the target area to the height of the piece name, and adds the result to the height of each piece graphic.

[0108] In other embodiments, the height of the piece name of each piece graphic may also be pre-specified or calculated by other methods, and this application does not impose any limitation on this.

[0109] In step 402, the width of the selected cut-out pattern must be greater than or equal to the estimated width. Since the estimated width of the target area is calculated by the target aspect ratio of the target area, when the target aspect ratio of the target area changes, the estimated width of the target area will also change. Accordingly, the order of the cut-out patterns selected in this step will also change, thereby causing the arrangement positions of the various cut-out patterns to change. That is, when the size of the target area for displaying multiple cut-out patterns changes, the embodiment of the present application can calculate different arrangement position results, thereby dynamically generating different display patterns. In step 402, each cut-out pattern (hereinafter referred to as the wide pattern) with a width greater than or equal to the estimated width is placed in a separate row, that is, the row where each wide pattern is located contains only one column, and the column contains only one wide pattern. Multiple wide patterns can be placed in sequence from top to bottom in the target area, or can be placed in sequence from bottom to top in the target area, or placed in any adjacent or non-adjacent row position in the target area. This application does not impose any restrictions on this. The following uses the example of placing multiple selected graphics in the target area from top to bottom. Assume that there are m selected graphics with a width greater than or equal to the estimated width. These m wide graphics are placed in rows 1 to m in the target area, with row m+1 as the current row. All graphics after excluding the m wide graphics with a width greater than or equal to the estimated width are considered the remaining graphics.

[0110] For example, assuming that Figure 6 In the application scenario shown, step 402 selects the ear graphic as the cutting piece graphic of the first row and first column (the first row only includes the first column), sets the current row to the second row, and sets the remaining graphics to the cutting piece graphics excluding the ear graphic.

[0111] In an exemplary embodiment, step 403 of adding one or more currently remaining piece patterns to one or more third sub-target areas includes the following steps:

[0112] The height of the cutting piece selected in the current second sub-target area is used as the maximum height of the current row, and one or more cutting piece patterns from the current remaining cutting piece patterns are selected and added to other columns of the current row, so that the height of each column of the current row does not exceed the maximum height of the current row, and the total width of all columns of the current row does not exceed the estimated width.

[0113] In step 403, at the beginning of each loop, it is first checked whether the remaining graphics are empty. When the remaining graphics are empty, the graphics arrangement is completed; when the remaining graphics are not empty, the cutting piece graphic with the highest height among the remaining graphics is selected as the cutting piece graphic of a column in the current row (i.e., the second sub-target area), and the height of the selected cutting piece graphic is used as the maximum height of the current row. The remaining graphics are updated, and one or more cutting piece graphics among the remaining graphics are selected and added to other columns of the current row (i.e., the third sub-target area), and the height of each column of the current row is made not to exceed the maximum height of the current row, and the sum of the widths of all columns of the current row does not exceed the estimated width; the current row is added to the table, and the current row and the remaining graphics are updated to execute the first loop iteration.

[0114] In an exemplary embodiment, step 403 of adding one or more currently remaining piece patterns to one or more third sub-target areas includes the following steps:

[0115] The height of the cutout pattern selected in the current second sub-target area is used as the maximum height of the current row, and a second loop is executed to obtain the arrangement position of the cutout patterns in one or more third sub-target areas in the same row as the current second sub-target area. The second loop includes: taking the difference between the estimated width and the sum of the widths of all columns to which patterns have been added in the row where the current second sub-target area is located as the maximum width of the current column; selecting k cutout patterns from the remaining cutout patterns, the sum of the heights of the k cutout patterns is not greater than the maximum height of the current row, the width of each cutout pattern is not greater than the maximum width, and k is a natural number greater than or equal to 0; checking whether k is equal to 0. When k is not equal to 0, the k cutout patterns are added to the current column, and the remaining patterns and the current column are updated to execute the second loop iteration.

[0116] The method for assisting clothing production in an embodiment of the present application first selects a cutting pattern with a width greater than or equal to the estimated width, and then performs a loop iteration on the remaining cutting patterns. The loop iteration first finds a column of patterns in each row, and then finds the remaining column patterns in each row, thereby evenly arranging multiple irregular cutting patterns into a target area of ​​any size without overlapping each other.

[0117] Both dynamic programming and greedy algorithms are recursive algorithms, deriving the global optimal solution from local optimal solutions. Dynamic programming breaks the problem into several subproblems (stages), solving each subproblem sequentially. When solving any subproblem, it lists various possible local solutions, retaining those with the potential to be optimal and discarding the others. Greedy algorithms, on the other hand, always choose the solution that seems best at the moment. In other words, they don't consider the overall optimal solution, and the algorithm ultimately arrives at a locally optimal solution.

[0118] The arrangement process of this application uses a greedy algorithm. In each first loop iteration, the highest-height piece of the remaining pieces is selected as a column of graphics in the current row, and the height of the selected piece is used as the highest height of the current row. Based on the highest height, the pieces of graphics in other columns in the current row are selected until all the remaining pieces are selected. In this way, the approximate solution to the height of the combined graphics is obtained, rather than using dynamic programming to find the optimal solution. This improves the overall algorithm performance and can handle scenarios with many graphics.

[0119] In this step, the first loop iteration is used to find a column of cut piece patterns in each row among the remaining cut piece patterns, and when the remaining cut piece patterns are empty, the first loop iteration is jumped out. The second loop iteration is used to find the remaining columns of cut piece patterns in each row among the remaining cut piece patterns. Each selected column can be placed in sequence from left to right in the current row, or can be placed in sequence from right to left in the current row, or placed in any column position in the row, and this application does not impose any restrictions on this. The following is an example of each selected column being placed in sequence from left to right in the current row. Then, in the first loop, the cut piece pattern with the highest height among the selected remaining cut piece patterns is used as the first column of cut piece patterns in the current row, and the current column is updated to the second column in the current row. In this step, each time one or more cut piece patterns are selected, the remaining cut piece patterns need to be updated to all the patterns after the current remaining cut piece patterns are excluding the selected one or more cut piece patterns. After adding k pieces of graphics to the current row and column, update the current column to the next column of the current column. For example, assuming that before adding k pieces of graphics to the current row and column, the current column is the second column in the current row, then after adding k pieces of graphics to the current row and column, update the current column to the third column in the current row, and continue to execute the second loop iteration.

[0120] For example, Figure 6 Taking the application scenario shown in the figure as an example, in step 402, the current row has been set to the second row, and the remaining cut pieces are the cut pieces excluding the ear pattern. Step 403 specifically includes the following steps:

[0121] In the first first loop iteration, select the highest cutting piece among the remaining graphics, that is, a back piece graphic as the graphic in the second row and first column, use the height of the selected back piece graphic as the highest height of the second row, set the current column to the second row and second column, and then execute the second loop iteration corresponding to the first first loop iteration. In the first second loop iteration corresponding to the first first loop iteration, use the difference between the estimated width and the width of the second row and first column as the maximum width of the second row and second column. Since the sum of the heights of the back pocket graphic and a placket graphic is not greater than the highest height of the second row, and the widths of the back pocket graphic and a placket graphic are not greater than the maximum width of the second row and second column, select the back pocket graphic and a placket graphic as the graphics in the second row and second column, set the current column to the second row and third column, and execute the second loop iteration corresponding to the first first loop iteration.

[0122] In the second second loop iteration corresponding to the first first loop iteration, the difference between the estimated width and the sum of the widths of the first and second columns of the second row is used as the maximum width of the third column of the second row. Since the sum of the heights of the bag cloth graphic and the other placket graphic is not greater than the highest height of the second row, and the widths of the bag cloth graphic and the other placket graphic are not greater than the maximum width of the third column of the second row, the bag cloth graphic and the other placket graphic are selected as the graphics of the third column of the second row, the current column is set to the fourth column of the second row, and the third loop iteration corresponding to the first first loop iteration is executed.

[0123] In the third second loop iteration corresponding to the first first loop iteration, the difference between the estimated width and the sum of the widths of the first, second, and third columns of the second row is used as the maximum width of the fourth column of the second row. Since the sum of the heights of a patch pocket graphic and a watch pocket graphic is no greater than the highest height of the second row, and the widths of a patch pocket graphic and a watch pocket graphic are no greater than the maximum width of the fourth column of the second row, the patch pocket graphic and the watch pocket graphic are selected as the graphics of the fourth column of the second row, the current column is set to the fifth column of the second row, and the fourth loop iteration corresponding to the first first loop iteration is executed.

[0124] In the fourth second loop iteration corresponding to the first first loop iteration, the difference between the estimated width and the sum of the widths of the second row, first column, second column, third column and fourth column is taken as the maximum width of the second row, fifth column. Since no figure is found whose width is not greater than the maximum width of the second row, fifth column, that is, the figure in the second row, fifth column is empty, the second row, fifth column is deleted, and the second loop iteration corresponding to the first first loop iteration is exited. All the piece figures from the second row, first column to the second row, fourth column are added to the second row, the current row is updated to the third row, and the remaining figures are updated to all the piece figures except the first and second rows, and the second first loop iteration is entered.

[0125] In the second first loop iteration, select the figure with the highest height among the remaining figures, that is, another back piece figure as the figure in the third row and first column, use the height of the selected back piece figure as the highest height of the third row, set the current column to the third row and second column, and then execute the second loop iteration corresponding to the second first loop iteration. In the first second loop iteration corresponding to the second first loop iteration, use the difference between the estimated width and the width of the third row and first column as the maximum width of the third row and second column. Since the sum of the heights of the face waist figure and the lining figure is not greater than the highest height of the third row, and the widths of the face waist figure and the lining figure are not greater than the maximum width of the third row and second column, select the face waist figure and the lining figure as the figures in the third row and second column, set the current column to the third row and third column, and execute the second loop iteration corresponding to the second first loop iteration.

[0126] In the second second loop iteration corresponding to the second first loop iteration, the difference between the estimated width and the sum of the widths of the third row, first column and second column is taken as the maximum width of the third row, third column. Since no graphic is found whose width is not greater than the maximum width of the third row, third column, that is, the graphic in the third row, third column is empty, the third row, third column is deleted, and the second loop iteration corresponding to the second first loop iteration is exited. All the piece graphics from the third row, first column to the third row, second column are added to the third row, the current row is updated to the fourth row, and the remaining graphics are updated to all the piece graphics except the first, second and third rows, and the third first loop iteration is entered.

[0127]

[0128] In the fifth first loop iteration, the figure with the highest height among the remaining figures, that is, another face waist figure, is selected as the figure in the first column of the sixth row, and the height of the selected face waist figure is used as the highest height of the sixth row. The current column is set to the second column of the sixth row, and then the second loop iteration corresponding to the fifth first loop iteration is executed. In the first second loop iteration corresponding to the fifth first loop iteration, the difference between the estimated width and the width of the first column of the sixth row is used as the maximum width of the second column of the sixth row. Since the height of the inner waist figure is not greater than the highest height of the sixth row, and the width of the inner waist figure is not greater than the maximum width of the second column of the sixth row, the inner waist figure is selected as the figure in the second column of the sixth row, the current column is set to the third column of the sixth row, and the second loop iteration corresponding to the fifth first loop iteration is executed.

[0129] In the second second loop iteration corresponding to the fifth first loop iteration, the difference between the estimated width and the sum of the widths of the first and second columns of the sixth row is taken as the maximum width of the third column of the sixth row. Since no figure is found whose width is not greater than the maximum width of the third column of the sixth row, that is, the figure in the third column of the sixth row is empty, the third column of the sixth row is deleted, and the second loop iteration corresponding to the fifth first loop iteration is exited. All the piece figures from the first column of the sixth row to the second column of the sixth row are added to the sixth row, the current row is updated to the seventh row, and the remaining figures are updated to all the piece figures except the first to sixth rows, and the sixth first loop iteration is entered.

[0130] In the sixth iteration of the first loop, it is detected that the remaining graphics are empty. Since there is no graphics in the seventh row, the seventh row is deleted and the first loop iteration is exited, resulting in Figure 6 The layout of all the pattern pieces shown.

[0131] In an exemplary embodiment, before step 203, the remaining pieces are sorted in descending order of height, i.e., the higher the height, the closer the piece. If the heights are equal, the pieces are sorted in descending order of width. Since the pieces are already sorted in descending order of height, the piece with the highest height among the remaining pieces is selected, i.e., the piece ranked first among the remaining pieces is selected.

[0132] In one exemplary embodiment, when k is equal to 0, the method further includes: deleting the current column in the current row. That is, when the number of pattern pieces in the current column in the current row is 0, the current column in the current row is deleted. When k is equal to 0, indicating that no pattern pieces meeting the width and height requirements of the current column were found in the current column during a particular iteration of the second loop, the current column is deleted to ensure a more uniform pattern of pattern pieces added to the target area and a more aesthetically pleasing resulting stitching pattern.

[0133] In an exemplary embodiment, selecting k pieces from the remaining pieces comprises the following steps:

[0134] Step 4031: The difference between the highest height of the current row and the sum of the heights of all the current pattern pieces in the current row and column is used as the remaining height of the current row and column;

[0135] Step 4032: Traverse the remaining piece graphics. When the width of the currently traversed piece graphics is not greater than the maximum width of the current row and column and the height of the currently traversed piece graphics is not greater than the remaining height of the current row and column, add the currently traversed piece graphics to the current row and column, update the remaining height of the current row and column, and continue to traverse the remaining piece graphics until there are no remaining piece graphics whose width is not greater than the maximum width and height is not greater than the remaining height.

[0136] In this step, each time the currently traversed piece graphic is added to the current row and column, the remaining height of the current row and column is updated to the difference between the highest height of the current row and the sum of the heights of all current piece graphics in the current row and column.

[0137] In an exemplary embodiment, the width of the currently traversed piece graphic is not greater than the maximum width of the current row and column, and the height of the currently traversed piece graphic is not greater than the remaining height of the current row and column, including the following situations:

[0138] The width of the currently traversed piece is not greater than the maximum width of the current row and column, the height of the currently traversed piece is not greater than the remaining height of the current row and column, and the number of piece graphics in the current row and column is 0, or;

[0139] The width of the currently traversed piece graphic is not greater than the maximum width of the current row and column, the height of the currently traversed piece graphic is not greater than the remaining height of the current row and column, and after adding the current piece graphic, the ratio of the minimum width to the maximum width of the graphics in the current row and column is not less than the preset threshold.

[0140] For example, the preset threshold is a real number greater than 0.5 and less than or equal to 1. By setting the preset threshold to a number greater than 0.5, it is possible to ensure that the minimum width of the pattern in each column exceeds half of the maximum width. The preset threshold can be adjusted according to actual needs.

[0141] In an exemplary embodiment, when the remaining piece pattern is empty, the method further includes any one or more of the following steps:

[0142] Align each piece pattern in each row and column;

[0143] Align the columns within each row;

[0144] Align the rows in the target area;

[0145] Stretch the target area's actual aspect ratio to the target area's target aspect ratio.

[0146] In an exemplary embodiment, aligning the graphics in each row and column includes: for each row and column, when the column includes only one graphic, aligning the graphic vertically in the center; when the column includes multiple graphics, aligning the multiple graphics in the column vertically at both ends, and the height of each column in each row is the height of the row, and the width of each column is the width of the widest graphic in the column.

[0147] Align the columns in each row, including: for each row, when the row contains only one column, align the column horizontally to the center; when the row contains multiple columns, align the multiple columns of the row horizontally to the ends, and the width of each row is the width of the table, and the height of each row is the height of the tallest piece in the row.

[0148] Aligning the rows in the target area includes: when the target area includes only one row, vertically aligning the row to the center; when the target area includes multiple rows, vertically aligning the multiple rows to the ends, the width of the target area is the width of the spliced ​​target graphic, and the height of the target area is the height of the spliced ​​target graphic.

[0149] In an exemplary embodiment, stretching the actual aspect ratio of the target area to the target aspect ratio of the target area includes the following steps:

[0150] Get the width gridWidth, height gridHeight of the filled target area and the target aspect ratio containerScale of the target area;

[0151] Keep the height gridHeight of the filled target area unchanged, and stretch the width gridWidth of the target area to the product of the target area's target aspect ratio containerScale and the target area's height gridHeight, or keep the width gridWidth of the filled target area unchanged, and stretch the height gridHeight of the target area to the quotient of the target area's width gridWidth and the target area's target aspect ratio containerScale.

[0152] Illustratively, when the height gridHeight of the filled target area is smaller than the quotient of the width gridWidth of the filled target area and the target aspect ratio containerScale of the target area, the size of the target area is set to the width gridWidth of the filled target area * the height of the stretched target area (i.e., the quotient of the width gridWidth of the target area and the target aspect ratio containerScale of the target area); when the width gridWidth of the filled target area is smaller than the product of the target aspect ratio containerScale of the target area and the height gridHeight of the filled target area, the size of the target area is set to the width of the stretched target area (i.e., the product of the target aspect ratio containerScale of the target area and the height gridHeight of the filled target area) * the height gridHeight of the filled target area.

[0153] It should be noted that the height of the stretched target area described in the embodiment of the present application refers to filling blank areas between the rows of the target area so that the height of the target area becomes higher, but the aspect ratio of each cut piece graphic remains unchanged during stretching; the width of the stretched target area described in the embodiment of the present application refers to filling blank areas in each row of the target area so that the width of the target area becomes wider. Similarly, the aspect ratio of each cut piece graphic remains unchanged during stretching.

[0154] In an exemplary embodiment, when the remaining piece patterns are detected and the result of the detection is: the remaining piece patterns are empty, the method further includes: deleting the current row in the table. When the remaining piece patterns are empty, the current row does not include any column of patterns, indicating that no piece patterns were found in the current row in the last iteration of the first loop. The current row is then deleted to make the patterns added to the target area more uniform and the resulting spliced ​​pattern more aesthetically pleasing.

[0155] In an exemplary embodiment, the method further includes returning the coordinate position of each piece pattern within the target area based on the order of the acquired plurality of piece patterns. Because the piece patterns are reordered during the arrangement process, when returning the arrangement positions, the corresponding arrangement positions of the piece patterns must be output according to the order of the input pieces so that the program can correctly display the arranged piece patterns.

[0156] In an exemplary embodiment, Figure 7 As shown, the method for assisting garment production includes the following piece pattern arrangement process:

[0157] Step 701: input the width and height data of each cut piece and the target aspect ratio of the target area to be spliced;

[0158] Step 702: Check whether it is necessary to set a piece name for each piece graphic. If not, go to step 704; if yes, go to step 703;

[0159] Step 703: Input the ratio of the height of the target graphic to be spliced ​​to the height of the piece name, calculate the height of the piece name, and adjust the height of each piece graphic according to the calculated height of the piece name;

[0160] This step calculates the height required for the piece name based on the target aspect ratio of the target graphic and the ratio of the height of the target graphic to the height of the piece name, and adds the result to the height of each piece graphic.

[0161] Step 704: sort all the cut pieces in descending order of height. If the heights are the same, sort them in descending order of width.

[0162] Step 705: Calculate the estimated width of the target area;

[0163] Step 706: traverse all the cutting patterns and check whether the width of each cutting pattern exceeds the estimated width;

[0164] Step 707: Place each wide graphic (i.e., a graphic whose width exceeds the estimated width) in a separate row in the target area;

[0165] That is, the row where each wide graphic is located contains only one column, and the column contains only one wide graphic.

[0166] Step 708: Using a greedy algorithm, group multiple narrow graphics (i.e., graphics with widths smaller than the estimated width) into one or more rows;

[0167] Since the target area is a three-layer nested structure, when filling a narrow graphic, the innermost column will be filled first, then the second layer row will be filled, and finally the outermost table will be filled. Step 708 specifically includes the following steps:

[0168] Step 7081: Since the remaining graphics have been sorted in descending order of height, the height of the first-ranked piece among the remaining narrow graphics is taken as the maximum height of the current row.

[0169] Step 7082: Take the estimated width as the maximum width of the current row.

[0170] Step 7083: The maximum height of the current row and the remaining width (maximum width minus the sum of all column widths) are used as the maximum height and maximum width of the current column.

[0171] Step 7084: Traverse all remaining narrow graphics in order, and add the current narrow graphic to the current column if and only if the width of the narrow graphic is not greater than the maximum width of the current column, the height is not greater than the remaining height of the current column (the maximum height minus the sum of the heights of all graphics), and the number of graphics in the current column is 0, or the ratio of the minimum graphic width to the maximum graphic width in the current column after adding the current narrow graphic is not less than a preset threshold (default 0.55).

[0172] The preset threshold of 0.55 ensures that the minimum width of a graphic in a column exceeds half of its maximum width, ensuring aesthetics and order when only one piece is displayed in each row. This threshold can be adjusted as needed.

[0173] Step 7085: After filling the current column, if the number of pattern pieces in the column is greater than 0, add the current column to the current row, update the current column and repeat step 7083; otherwise, add the current row to the table.

[0174] Step 7086: Check whether there are any remaining narrow graphics. If there are any remaining narrow graphics, repeat step 7081. If there are no remaining narrow graphics, go to step 709. Step 709: Align the graphics of the same row or column and stretch the table to the target aspect ratio.

[0175] The alignment logic is: if the number of elements in the container (the container described in this application can be any of a table, a row, and a column) is equal to 1, then center alignment is performed; otherwise, both ends are aligned.

[0176] Specifically, aligning pattern pieces in the same row or column includes:

[0177] Align the rows in the table vertically, where the table height is the height of the target area.

[0178] After vertical alignment, the columns in each row are aligned horizontally, where the width of the row is the width of the target area.

[0179] After horizontal alignment, the pattern pieces in each column are vertically aligned and horizontally centered, where the height of the column is the height of the row in which the column is located.

[0180] Step 710: Output the coordinate positions of each cutout graphic in the target area in the original order.

[0181] Since the cutting patterns are sorted in the above process, before returning the arrangement positions of the cutting patterns, it is necessary to return the positions of the various cutting patterns in the target area according to the order of the input cutting patterns.

[0182] Figure 8 and Figure 9 They are respectively a schematic diagram of a graphic structure after arrangement using the method of auxiliary clothing production of the present application, wherein: Figure 8 There is no reserved title height for each graphic. Figure 9 The height of the title is reserved for each graphic.

[0183] The method for rearranging the cutting piece graphics provided in the embodiments of the present application can be applied to the optimal arrangement problem of various two-dimensional irregular graphic parts in the arrangement area. For example, in addition to being applicable to the arrangement and display of cutting piece graphics in the clothing production process, the file scale image generation of all domestic and foreign two-dimensional graphic drawing software (such as AutoCAD, ET CAD, BOKE CAD, Gerber CAD, Adobe illustrator, Sketch, etc.) can also be optimized using this algorithm.

[0184] like Figure 10 As shown, the embodiment of the present application also provides a method for processing clothing pieces, comprising the following steps:

[0185] Step 1001: receiving a plurality of garment pieces input by a user;

[0186] Step 1002: splicing all received garment pieces to a target area according to the size of each garment piece;

[0187] Step 1003: Generate a display interface according to the splicing positions of each garment piece.

[0188] In this embodiment, step 1002 specifically includes the following steps:

[0189] Step 10021: Obtain the width and height of each garment piece, and generate an estimated width of a target area for displaying the multiple garment pieces;

[0190] Step 10022: adding all garment pieces with widths greater than or equal to the estimated width to one or more first sub-target areas in the target area one by one;

[0191] Step 10023: Execute a first loop on the remaining garment pieces until all the remaining garment pieces are added to the second sub-target area and the third sub-target area of ​​the target area, the first loop including: adding the garment piece with the highest height among the currently remaining garment pieces to a second sub-target area, adding one or more currently remaining garment pieces to one or more third sub-target areas, the sum of the widths of the second sub-target area and the third sub-target area corresponding to each first loop is not greater than the estimated width, and the height of each third sub-target area is less than or equal to the height of the second sub-target area.

[0192] In this embodiment, the specific method of rearranging the input multiple garment pieces is the same as the principle of the method of arranging the piece patterns in the previous embodiment. Please refer to the method of assisting garment production in the previous embodiment, and will not be repeated here.

[0193] In an exemplary embodiment, step 1003 includes the following steps:

[0194] Step 10031: generating a target graphic formed by splicing the garment pieces, wherein the target graphic includes the inputted plurality of garment pieces, and the plurality of garment pieces are arranged according to their respective arrangement positions;

[0195] Step 10032: Generate a display interface based on the target graphics.

[0196] In an exemplary embodiment, the target shape may be a rectangle, a rounded rectangle, an ellipse, or the like.

[0197] Based on the same inventive concept, an embodiment of the present application also provides a device for assisting clothing production, including a processor and a memory, wherein the processor is used to execute a computer program stored in the memory to implement the steps of the method for assisting clothing production as described in any one of the above.

[0198] Based on the same inventive concept, an embodiment of the present application also provides a device for processing garment pieces, comprising a processor and a memory, wherein the processor is configured to execute a computer program stored in the memory to implement the steps of the method for processing garment pieces as described above.

[0199] Based on the same inventive concept, an embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the method for assisting clothing production as described in any one of the above are implemented.

[0200] Based on the same inventive concept, an embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the method for processing garment pieces as described in any one of the above are implemented.

[0201] Based on the same inventive concept, Figure 11 As shown, an embodiment of the present application further provides a device for assisting clothing production, including an import module 1101 , a piece display module 1102 and a process display module 1103 .

[0202] The import module 1101 is configured to respond to a user's operation of importing cut pieces and import one or more cut piece graphics corresponding to the target garment.

[0203] The cut piece display module 1102 is configured to display one or more cut piece graphics in a cut piece display area based on geometric space processing of the one or more cut piece graphics.

[0204] The process display module 1103 is used to identify one or more cutting patterns corresponding to the target garment, determine the clothing category of the target garment, generate the production process of the clothing category, and display the generated production process in the process display area.

[0205] In an exemplary embodiment, the piece display module 1102 is further configured to detect whether each piece graphic has a corresponding manufacturing process in the process display area, and highlight all piece graphics that do not have a corresponding manufacturing process.

[0206] In an exemplary embodiment, the process display module 1103 is further configured to: in response to a user selecting a cutting pattern, highlight all manufacturing processes corresponding to the selected cutting pattern.

[0207] In an exemplary embodiment, the piece display module 1102 is further configured to: in response to a user selecting a production process, highlight all piece graphics corresponding to the selected production process.

[0208] In an exemplary embodiment, the process display module 1103 is also used to: respond to the user's operation of adding, modifying or deleting the production process, and add, modify or delete the production process in the process display area; the cutting piece display module 1102 is also used to: highlight the cutting piece graphics corresponding to the added, modified or deleted production process.

[0209] In an exemplary embodiment, the piece display module 1102 is further configured to add a piece name to the identified piece graphic.

[0210] In an exemplary embodiment, the piece display module 1102 is further configured to: in response to a user's operation of configuring or modifying a piece name of a piece pattern, configure or modify a piece name for the piece pattern.

[0211] In an exemplary embodiment, the process display module 1103 is also used to: generate configuration information of the target clothing, the configuration information includes any one or more of the following: clothing category, clothing category, order number, factory item number, overall description and remarks, clothing category is classified according to the type of the target clothing, and clothing category is classified according to the fabric of the target clothing.

[0212] In an exemplary embodiment, the piece display module 1102 is specifically configured to rearrange all piece graphics according to the size of the piece display area and the size of each piece graphic, so that all piece graphics are evenly tiled in the piece display area.

[0213] The device for assisting clothing production in the embodiment of the present application, by displaying one or more cutting piece graphics in a cutting piece display area and generating corresponding production processes for display in a process display area, is conducive to achieving convenient, fast and intelligent design of clothing, thereby speeding up the clothing production process.

[0214] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As is well known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable, and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media generally embodies computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

Claims

1. A method for assisting clothing production, characterized in that: include: In response to the user's operation of importing cut pieces, one or more cut piece graphics corresponding to the target garment are imported; Rearranging all the piece patterns according to the sizes of the respective piece patterns so that all the piece patterns are evenly tiled in the piece display area includes: obtaining the widths and heights of the plurality of piece patterns to be arranged, and generating an estimated width of a target area for displaying the plurality of piece patterns; adding all the piece patterns whose widths are greater than or equal to the estimated width one by one to one or more first sub-target areas in the target area; performing a first loop on the remaining piece patterns until all the remaining piece patterns are added to the second sub-target areas and the third sub-target areas of the target area, wherein the first loop includes: adding the pattern with the highest height among the currently remaining piece patterns to one of the second sub-target areas, and adding one or more currently remaining piece patterns to one or more third sub-target areas, wherein the sum of the widths of the second sub-target areas and the third sub-target areas corresponding to each first loop is no greater than the estimated width, and the height of each third sub-target area is less than or equal to the height of the second sub-target area; Identifying one or more pattern pieces corresponding to the target garment, and determining a clothing category of the target garment, wherein the clothing category refers to the type of the target garment; Generating a production process for the clothing category; Displaying the generated production process in a process display area; The method further includes: in response to a user's operation of adding, modifying, deleting or importing the production process, adding, modifying, deleting or importing the production process in the process display area, and highlighting the cutting piece graphic corresponding to the production process.

2. The method for assisting clothing production according to claim 1, characterized in that: The method further comprises: It is detected whether each of the cutting piece patterns has a corresponding manufacturing process in the process display area, and all the cutting piece patterns that do not have a corresponding manufacturing process are highlighted.

3. The method for assisting clothing production according to claim 1, characterized in that: The method further comprises: In response to the user selecting the cutting piece pattern, all the production processes corresponding to the selected cutting piece pattern are highlighted.

4. The method for assisting clothing production according to claim 1, characterized in that: The method further comprises: In response to the user selecting the manufacturing process, all the cutting piece graphics corresponding to the selected manufacturing process are highlighted.

5. The method for assisting clothing production according to claim 1, characterized in that: The method further comprises at least one of the following steps: Adding a piece name to the identified piece graphic; In response to a user's operation of configuring or modifying a piece name of the piece pattern, a piece name is configured or modified for the piece pattern.

6. The method for assisting clothing production according to claim 1, characterized in that: The method further comprises: Generate configuration information for the target garment, the configuration information including any one or more of the following: garment category, garment type, order number, factory item number, overall description, and remarks, the garment category being classified according to the type of the target garment, and the garment type being classified according to the fabric of the target garment.

7. A device for assisting clothing production, characterized in that: The method comprises a processor and a memory, wherein the processor is configured to execute a computer program stored in the memory to implement the steps of the method for assisting clothing production according to any one of claims 1 to 6.

8. A storage medium, characterized in that: The storage medium stores a computer program, wherein when the computer program is executed by a processor, the steps of the method for assisting clothing production according to any one of claims 1 to 6 are implemented.

9. A device for assisting clothing production, characterized in that: It includes import module, piece display module and process display module, among which: The import module is used to respond to the user's operation of importing cut pieces and import one or more cut piece graphics corresponding to the target garment; The piece display module is configured to rearrange all piece patterns according to the sizes of the respective piece patterns so that all the piece patterns are evenly tiled in the piece display area, including: obtaining the widths and heights of the plurality of piece patterns to be arranged, and generating an estimated width of a target area for displaying the plurality of piece patterns; adding all piece patterns having a width greater than or equal to the estimated width one by one to one or more first sub-target areas in the target area; and executing a first loop on the remaining piece patterns until all the remaining piece patterns are added to the second sub-target areas and the third sub-target areas of the target area, wherein the first loop includes: adding the pattern with the highest height among the currently remaining piece patterns to one of the second sub-target areas, and adding one or more currently remaining piece patterns to one or more third sub-target areas, wherein the sum of the widths of the second sub-target areas and the third sub-target areas corresponding to each first loop is no greater than the estimated width, and the height of each third sub-target area is less than or equal to the height of the second sub-target area. The process display module is used to identify one or more cutting piece patterns corresponding to the target garment, determine the clothing category of the target garment, generate the production process of the clothing category, and display the generated production process in a process display area, wherein the clothing category refers to the type of the target garment; and, in response to the user's operation of adding, modifying, deleting or importing the production process, add, modify, delete or import the production process in the process display area, and highlight the cutting piece pattern corresponding to the production process.

10. A method for processing garment pieces, characterized in that: include: Receive multiple garment pieces input by a user; According to the size of each garment piece, all received garment pieces are stitched into a target area, including: rearranging all piece patterns according to the size of each piece pattern so that all piece patterns are evenly tiled in the piece display area; wherein, rearranging all piece patterns according to the size of each piece pattern includes: obtaining the width and height of a plurality of piece patterns to be arranged, generating an estimated width of a target area for displaying the plurality of piece patterns; adding all piece patterns having a width greater than or equal to the estimated width one by one into one or more first sub-target areas in the target area; performing a first loop on the remaining piece patterns until all remaining piece patterns are added to the second sub-target area and the third sub-target area of ​​the target area, wherein the first loop includes: adding the pattern with the highest height among the currently remaining piece patterns into a second sub-target area, and adding one or more currently remaining piece patterns into one or more third sub-target areas, wherein the sum of the widths of the second sub-target area and the third sub-target area corresponding to each first loop is not greater than the estimated width, and the height of each third sub-target area is less than or equal to the height of the second sub-target area; Generating a display interface according to the splicing positions of the various garment pieces; The method further includes: receiving an operation of adding, modifying, deleting or importing a production process input by a user.

11. A device for processing garment pieces, characterized in that: The method comprises a processor and a memory, wherein the processor is configured to execute a computer program stored in the memory to implement the steps of the method for processing garment pieces according to claim 10.

Citation Information

Patent Citations

  • Machine recognition and full automation based garment template sewing technology

    CN110453386A