Method and device for generating data on color change and reuse of surplus yarn

By obtaining and matching gauze information data, and using preset color change rules to generate color change information, the problem of inefficient color change and reuse of traditional redundant yarn is solved, and efficient generation of redundant yarn color change and reuse of data is achieved.

CN114202440BActive Publication Date: 2025-08-08GUANGDONG ZHENYUAN TEXTILE TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111518160.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-13
Publication Date
2025-08-08
Estimated Expiration
2041-12-13

AI Technical Summary

Technical Problem

Traditional methods are cumbersome in the process of color reuse of excess yarn, which consumes manpower and material resources, resulting in low efficiency and inability to achieve efficient data generation of color reuse of excess yarn.

Method used

By obtaining the old cylinder number information data of the original cylinder number and excess yarn, matching and cylinder division processing are performed, color change information and yarn generation information are generated based on preset color change rules, and the information data extraction module, cylinder number matching module and cylinder division color change module are used for automatic processing.

Benefits of technology

It realizes the rapid and accurate generation of redundant yarn color reuse data, improves overall efficiency, reduces manpower and material consumption, and is in line with the concept of technological and lean development.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114202440B_ABST
    Figure CN114202440B_ABST
Patent Text Reader

Abstract

The present application relates to a method, apparatus, computer device, storage medium, and computer program product for generating data for color change and reuse of excess yarn. The method comprises: obtaining original cylinder number information data and old cylinder number information data of the excess yarn, wherein the original cylinder number information data is used to represent the gauze information required for a new textile order, and the old cylinder number information data of the excess yarn is used to represent the gauze information of the excess yarn in stock; matching the original cylinder number and the old cylinder number based on the original cylinder number information data and the old cylinder number information data of the excess yarn to obtain a matching result; performing cylinder separation processing based on the matching result to obtain new cylinder number information data; and generating color change information and yarn sending information corresponding to the new cylinder number based on preset color change rules, the new cylinder number information data, and the original cylinder number information data. This method can improve the efficiency of generating data for color change and reuse of excess yarn.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of textile technology, and in particular to a method, device, computer equipment, storage medium and computer program product for generating data on color change and reuse of excess yarn. Background Art

[0002] With the development of science and technology, the textile manufacturing industry is also developing continuously. In the textile production process, the problem of surplus raw yarn is inevitable. Based on the concept of environmental protection, in order to reduce production costs and improve economic benefits, it is very necessary to change the color of such excess yarn and reuse it.

[0003] Traditionally, when reusing excess yarn for new orders, the process of color-changing and reusing it has primarily involved manually matching yarn from the original vat with yarn from the old vat based on yarn type, yarn count, dye combination, strength, fabric grade, new product, or customer requirements. This method is complex and labor-intensive, increasing manufacturing costs and not in line with the principles of technological, intelligent, and lean development.

[0004] It can be seen that there is a defect in the traditional technology that it is impossible to efficiently generate color change and reuse data of the excess yarn, resulting in low efficiency of the entire color change and reuse of the excess yarn. Summary of the Invention

[0005] Based on this, it is necessary to provide an efficient method, device, computer equipment, computer-readable storage medium and computer program product for generating data on color change and reuse of redundant yarn in response to the above technical problems.

[0006] In a first aspect, the present application provides a method for generating data for color change and reuse of excess yarn. The method comprises:

[0007] Obtain original cylinder number information data and old cylinder number information data of excess yarn, the original cylinder number information data is used to represent the gauze information required for the new textile order, and the old cylinder number information data of the excess yarn is used to represent the gauze information of the excess yarn in stock;

[0008] According to the original cylinder number information data and the old cylinder number information data of the excess yarn, the original cylinder number and the old cylinder number are matched to obtain a matching result;

[0009] Perform cylinder division processing based on the matching results to obtain new cylinder number information data;

[0010] Based on the preset color change rules, the new cylinder number information data and the original cylinder number information data, the color change information and yarn information corresponding to the new cylinder number are generated;

[0011] Push color change information and hair yarn information.

[0012] In one embodiment, before obtaining the original cylinder number information data and the old cylinder number information data of the excess yarn, the method further includes:

[0013] Obtain the old cylinder number information data of the initial excess yarn from the warehouse management system;

[0014] According to the old cylinder number reuse rule, the old cylinder number information data of the initial excess yarn that meets the reuse rule is screened out to obtain the old cylinder number information data of the excess yarn.

[0015] In one embodiment, the information data includes:

[0016] Yarn count, yarn batch, yarn type, strength, fabric grade, weight, dye usage OWF value and customer restrictions.

[0017] In one embodiment, the original cylinder number and the old cylinder number are matched based on the original cylinder number information data and the old cylinder number information data of the excess yarn, and the matching result includes:

[0018] According to the original cylinder number information data and the old cylinder number information data of the surplus yarn, the original cylinder number and the old cylinder number are divided into conventional yarn cylinder number and unconventional yarn cylinder number;

[0019] According to the original cylinder number information data and the old cylinder number information data, the old cylinder numbers and the original cylinder numbers in the conventional yarn cylinder numbers and the unconventional yarn cylinder numbers are matched respectively to obtain the matching results of the conventional yarn cylinder numbers and the unconventional yarn cylinder numbers.

[0020] In one embodiment, cylinder number processing is performed based on the matching results, and the new cylinder number information data obtained includes:

[0021] According to the matching result, the information data of the old cylinder number that matches the original cylinder number is obtained to obtain the valid information data of the old cylinder number;

[0022] Cylinder processing is performed according to the valid old cylinder number information data to obtain new cylinder number information data; the fabric features in the new cylinder number information data are consistent with the fabric features in the valid old cylinder number information data.

[0023] In one embodiment, based on the preset color change rules, the new cylinder number information data and the original cylinder number information data, generating the color change information and the yarn information corresponding to the new cylinder number includes:

[0024] If the color number represented by the original cylinder number information data is the same as the color number represented by the old cylinder number information data, then the color change information without modifying the color number and the yarn sending information without receiving the batch yarn are generated;

[0025] If the color number represented by the original cylinder number information data is different from the color number represented by the old cylinder number information data, then the color change information of the modified color number and the yarn sending information without receiving the batch yarn are generated;

[0026] Collect the new cylinder number information data and the generated color change information and yarn sending information to obtain the color change information and yarn sending information corresponding to the new cylinder number.

[0027] In a second aspect, the present application also provides a device for generating data on color change and reuse of excess yarn. The device comprises:

[0028] The information data extraction module is used to obtain the original cylinder number information data and the old cylinder number information data of the excess yarn. The original cylinder number information data is used to represent the gauze information required for the new textile order, and the old cylinder number information data of the excess yarn is used to represent the gauze information of the excess yarn in stock.

[0029] The cylinder number matching module is used to match the original cylinder number with the old cylinder number according to the original cylinder number information data and the old cylinder number information data of the excess yarn to obtain a matching result.

[0030] The cylinder color change module is used to perform cylinder processing according to the matching results to obtain new cylinder number information data; based on the preset color change rules, the new cylinder number information data and the original cylinder number information data, the color change information and yarn information corresponding to the new cylinder number are generated.

[0031] Notification color change module, used to push color change information and hair yarn information.

[0032] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are performed:

[0033] Obtain original cylinder number information data and old cylinder number information data of excess yarn, the original cylinder number information data is used to represent the gauze information required for the new textile order, and the old cylinder number information data of the excess yarn is used to represent the gauze information of the excess yarn in stock;

[0034] According to the original cylinder number information data and the old cylinder number information data of the excess yarn, the original cylinder number and the old cylinder number are matched to obtain a matching result;

[0035] Perform cylinder division processing based on the matching results to obtain new cylinder number information data;

[0036] Based on the preset color change rules, the new cylinder number information data and the original cylinder number information data, the color change information and yarn information corresponding to the new cylinder number are generated;

[0037] Push color change information and hair yarn information.

[0038] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the following steps:

[0039] Obtain original cylinder number information data and old cylinder number information data of excess yarn, the original cylinder number information data is used to represent the gauze information required for the new textile order, and the old cylinder number information data of the excess yarn is used to represent the gauze information of the excess yarn in stock;

[0040] According to the original cylinder number information data and the old cylinder number information data of the excess yarn, the original cylinder number and the old cylinder number are matched to obtain a matching result;

[0041] Perform cylinder division processing based on the matching results to obtain new cylinder number information data;

[0042] Based on the preset color change rules, the new cylinder number information data and the original cylinder number information data, the color change information and yarn information corresponding to the new cylinder number are generated;

[0043] Push color change information and hair yarn information.

[0044] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the following steps:

[0045] Obtain original cylinder number information data and old cylinder number information data of excess yarn, the original cylinder number information data is used to represent the gauze information required for the new textile order, and the old cylinder number information data of the excess yarn is used to represent the gauze information of the excess yarn in stock;

[0046] According to the original cylinder number information data and the old cylinder number information data of the excess yarn, the original cylinder number and the old cylinder number are matched to obtain a matching result;

[0047] Perform cylinder division processing based on the matching results to obtain new cylinder number information data;

[0048] Based on the preset color change rules, the new cylinder number information data and the original cylinder number information data, the color change information and yarn information corresponding to the new cylinder number are generated;

[0049] Push color change information and hair yarn information.

[0050] The above-mentioned method, device, computer equipment, storage medium and computer program product for generating data on color change and reuse of surplus yarn, on the one hand, can quickly obtain matching results by matching the original cylinder number and the old cylinder number based on their information data; on the other hand, through pre-set color change rules, on the basis of obtaining accurate matching results, the color change information and yarn sending information can be quickly obtained based on the color change rules, the new cylinder number information data and the original cylinder number information data, which is conducive to timely pushing of color change information and yarn sending information, and further improving the overall efficiency of generating data on color change and reuse of surplus yarn. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1This is a diagram of an application environment of a method for generating data for color change and reuse of excess yarn in one embodiment;

[0052] Figure 2 1. A flow chart of a method for generating data for color change and reuse of excess yarn according to an embodiment;

[0053] Figure 3 1. A schematic flow chart of the sub-steps of a method for generating data for color change and reuse of excess yarn in one embodiment;

[0054] Figure 4 This is a structural block diagram of a device for generating data on color change and reuse of excess yarn in one embodiment;

[0055] Figure 5 is a diagram of the internal structure of a computer device in one embodiment;

[0056] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in another embodiment. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0058] The method for generating color change and reuse data of surplus yarn provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. The terminal 102 communicates with the server 104 via a network. The data storage system can store data that the server 104 needs to process. The data storage system can be integrated on the server 104, or placed on the cloud or other network servers. The server 104 obtains the original cylinder number information data and the old cylinder number information data of the excess yarn, and automatically matches the old cylinder number with the original cylinder number based on the obtained information data to obtain a matching result. Then, the server 104 performs cylinder processing based on the matching result. After obtaining the new cylinder number information data, the server 104 generates color change information and yarn hair information based on preset color change rules, the new cylinder number information data, and the original cylinder number information data. Finally, the obtained color change information and yarn hair information are pushed to the terminal 102. The terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablets, Internet of Things devices, and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented as an independent server or a server cluster consisting of multiple servers.

[0059] In one embodiment, Figure 2As shown, a method for generating color-changing and recycling data of redundant yarn is provided, and the method is applied to Figure 1 Taking the server 104 in the example as an example, the following steps are included:

[0060] S100, obtaining the original cylinder number information data and the old cylinder number information data of the excess yarn.

[0061] Original cylinder number information data refers to the information data of the yarn required for the new textile order; old cylinder number information data refers to the information data of the yarn in the excess inventory. Specifically, the original cylinder number information data corresponding to the new textile order and the old cylinder number information data corresponding to the excess inventory that can be reused are obtained from the cylinder number information database. For example, the information data of original cylinder numbers B1 and B2 and the information data of the excess yarn old cylinder numbers A1 and A2 are obtained from the cylinder number information database.

[0062] S200, matching the original cylinder number with the old cylinder number according to the original cylinder number information data and the old cylinder number information data of the excess yarn to obtain a matching result.

[0063] Specifically, in order to determine which excess yarn in inventory can be reused in the generation of new textile orders, it is necessary to match the old cylinder number information data of the excess yarn with the original cylinder number information data corresponding to the new textile order according to preset conditions. The old cylinder number that meets the conditions is successfully matched with the original cylinder number, and the old cylinder number information data that does not meet the conditions is returned to the cylinder number information database to obtain the matching result of the old cylinder number and the original cylinder number.

[0064] S300: Perform cylinder processing according to the matching result to obtain new cylinder number information data.

[0065] Specifically, based on the matching results of the old cylinder number and the original cylinder number, the old cylinder number that matches the original cylinder number is determined, and automatic cylinder separation processing is performed based on the relevant information data of the old cylinder number to obtain the new cylinder number information data, which is used to generate the final excess yarn color change and reuse data.

[0066] S400, based on the preset color change rules, the new cylinder number information data and the original cylinder number information data, generating the color change information and yarn information corresponding to the new cylinder number;

[0067] S500: Push color change information and hair yarn information.

[0068] Among them, the color change rule is a rule based on the relationship between the initial color number and the target color number, and is used to obtain the target color number based on the initial color number. Color change is the process of mixing one color with other colors to form another color. Specifically, before confirming whether a color change is necessary, it is necessary to first compare the initial color number with the target color number. If the two color numbers are the same, the initial color number is directly used as the target color number. Conversely, if the two color numbers are different, based on the color mixing principle and dye ratio relationship in the color change rule, an appropriate amount of dye of another color number is added to the initial color number to obtain the target color number. Furthermore, the pre-set color change rule is based on comparing the color number represented by the old cylinder number information data with the color number represented in the original cylinder number information data. If the color number represented by the old cylinder number is different from the original cylinder number, the color is mixed and changed according to the principle of three primary colors. The color represented by the old cylinder number information data is regarded as the initial color number, and the color represented by the original cylinder number information data is regarded as the target color number. On the basis of the initial color number, other colors are mixed to obtain the target color number. It should be noted that during the mixing process, the amount of dye added needs to be strictly determined according to the proportional relationship between the amount of dye in the old cylinder number and the amount of dye in the original cylinder number. For example: when the old cylinder number contains red dye, the color number represented by the new cylinder number is consistent with the old cylinder number, and the original cylinder number contains purple dye, in order to make the new cylinder number obtain the same purple as the original cylinder number to achieve the purpose of color change and reuse of excess yarn, according to the principle of three primary colors mixing in the color change rule, red + blue = purple, it is necessary to add an appropriate amount of blue dye to the new cylinder number for color change. According to the above color change rules, the color change information and yarn information corresponding to the new cylinder number are obtained and pushed to the relevant staff.

[0069] In the above-mentioned method for generating color change and reuse data of excess yarn, on the one hand, the original cylinder number and the old cylinder number are matched according to their information data, and the matching result can be obtained relatively quickly; on the other hand, through the pre-set color change rules, on the basis of obtaining accurate matching results, the color change information and yarn sending information can be quickly obtained according to this color change rule, the new cylinder number information data and the original cylinder number information data, which is conducive to timely pushing of the color change information and yarn sending information, and further improving the overall efficiency of generating excess yarn color change and reuse data.

[0070] In one embodiment, obtaining the original cylinder number information data and the old cylinder number information data of the excess yarn includes:

[0071] Step 1, obtaining the old cylinder number information data of the initial excess yarn from the warehouse management system;

[0072] Step 2: According to the old cylinder number reuse rule, the old cylinder number information data of the initial excess yarn is screened out according to the old cylinder number reuse rule, and the old cylinder number information data of the excess yarn is obtained.

[0073] Among them, the old cylinder number reuse rule is a basis for judging whether the old cylinder number can be used for the color change and reuse of excess yarn. Specifically, the old cylinder number reuse data of any number of excess yarns are obtained from the warehouse management system, and used as the old cylinder number information data of the initial excess yarn. According to the old cylinder number reuse rule, the old cylinder number that can be used for color change and reuse is judged from the old cylinder number information data of multiple initial excess yarns. For example: when the yarn type and yarn count are consistent with the original cylinder number, the strength and fabric grade are greater than or equal to the original cylinder number, and the warehouse weight is >10KG, such old cylinder numbers are used in the process of color change and reuse to obtain the old cylinder number information data of the excess yarn required for generating the color change and reuse data. For example: obtain the information data of the old cylinder numbers A1, A2, A3, A4, A5, and A6 of any 6 excess yarns, among which the old cylinder numbers A1, A2, A3, and A4 meet the old cylinder number reuse rules, so the information data of the old cylinder numbers A1, A2, A3, and A4 are extracted as the old cylinder number information data of the excess yarn required to generate the color change reuse data.

[0074] In this embodiment, before officially starting the color change and reuse process, the old cylinder number information data of the required excess yarn is screened through the old cylinder number reuse rules, and the old cylinder number information data that meets the old cylinder number reuse rules is obtained. The old cylinder numbers that cannot be used for color change and reuse are screened out, thereby improving the efficiency of the subsequent old cylinder number and original cylinder number matching process, which is conducive to quickly and accurately obtaining matching results, thereby improving the efficiency of generating the final excess yarn color change and reuse data.

[0075] In one embodiment, the information data includes:

[0076] Yarn count, yarn type, yarn batch, strength, fabric grade, weight, dye usage OWF value and customer restrictions.

[0077] Yarn count refers to the thickness of the yarn; yarn lot refers to the batch of yarn; dye content (OWF) refers to the weight ratio of the textile to the dye; and customer restrictions refer to other requirements specified by the ordering customer. Specifically, the yarn count, yarn lot, strength, fabric grade, weight, and dye content (OWF) in the information data are inherent fabric characteristics of the yarn, while customer restrictions depend on other additional restrictions the customer has placed on the textile order, which may also include additional fabric requirements.

[0078] like Figure 3 As shown, in one embodiment, S200 includes:

[0079] S220, dividing the original cylinder numbers and the old cylinder numbers into cylinder numbers for conventional yarns and cylinder numbers for unconventional yarns according to the original cylinder number information data and the old cylinder number information data of the excess yarn;

[0080] S240, matching the conventional yarn cylinder number and the unconventional yarn cylinder number with the old cylinder number and the original cylinder number respectively according to the original cylinder number information data and the old cylinder number information data, to obtain the matching results of the conventional yarn cylinder number and the unconventional yarn cylinder number.

[0081] Specifically, based on the yarn types in the original cylinder number information data and the old cylinder number information data of the excess yarn, it is detected that the old cylinder numbers A1 and A2 belong to conventional yarn cylinder numbers, the old cylinder numbers A3 and A4 belong to unconventional yarn cylinder numbers, and the original cylinder numbers B1 and B2 belong to conventional yarn cylinder numbers, and the original cylinder number B2 belongs to unconventional yarn cylinder numbers. Based on the original cylinder number information data and the old cylinder number data, the old cylinder numbers A1 and A2 are matched with the original cylinder number B1, and the old cylinder number A1 successfully matches the original cylinder number B1, obtaining a matching result for conventional yarn cylinder numbers. The old cylinder numbers A3 and A4 are matched with the original cylinder number B2, and the old cylinder number A3 successfully matches the original cylinder number B2, obtaining a matching result for unconventional yarn cylinder numbers.

[0082] In this embodiment, the original cylinder number and the old cylinder number are first classified into conventional yarn cylinder numbers and unconventional yarn cylinder numbers, and then the old cylinder numbers and original cylinder numbers in the conventional yarn and unconventional yarn categories are matched respectively, so that the matching process can be carried out in an orderly manner, and the accuracy of the matching results can be guaranteed, which is conducive to obtaining accurate matching results more quickly.

[0083] like Figure 3 As shown, in one embodiment, S300 includes:

[0084] S320, according to the matching result, obtaining information data of the old cylinder number that matches the original cylinder number, and obtaining valid information data of the old cylinder number;

[0085] S340, performing cylinder separation processing according to the valid old cylinder number information data to obtain new cylinder number information data; the fabric features in the new cylinder number information data are consistent with the fabric features in the valid old cylinder number information data.

[0086] Specifically, according to the matching result between the original cylinder number and the old cylinder number, the information data of the old cylinder number matching the original cylinder number is obtained, and the valid old cylinder number information data is obtained. Then, cylinder separation processing is performed according to the obtained valid old cylinder number information data to obtain the new cylinder number information data. Through the above embodiment, it can be seen that: the old cylinder number A1 and the original cylinder number B1 are matched successfully, and the old cylinder number A1 information data is the valid old cylinder number information data, indicating that the information data of the original cylinder number A1 and the information data of the old cylinder number B1 on the fabric characteristics of the yarn are basically consistent, but because the old cylinder number A1 information data also includes customer restriction requirements, the customer restriction requirements in the old cylinder number A1 information data represent the customer restriction requirements corresponding to the excess yarn, which cannot be fully applicable to the production of new spinning orders, so it is necessary to separate a new cylinder number C1 that meets the customer restriction requirements in the original cylinder number B1 information data, which is used to change the color of the excess yarn and reuse it in the production of new spinning orders, wherein the fabric characteristics in the new cylinder number C1 information data are consistent with the old cylinder number A1, and the customer restriction requirements are consistent with the original cylinder number B1. In essence, it is understood that the new cylinder number C1 is the cylinder number obtained by retaining the same part of the old cylinder number A1 and the original cylinder number B1, and adjusting the part different from the original cylinder number B1, such as the customer restriction requirements. To further illustrate the technical solution, let's take an example: for example, the yarn weight in the original cylinder number B1 information data is 500kg (i.e., it can produce 500kg of yarn), and the yarn weight in the old cylinder number A1 that matches the original cylinder number B1 is 100kg. After the cylinder separation process, the yarn weight of the new cylinder number C1 obtained is also 100kg (producing 100kg of yarn). The 100kg of excess yarn is changed in color and reused for the production of new textile orders, saving production costs. At this time, the yarn weight of the original cylinder number B1 is adjusted to 400kg (producing 400kg of yarn).

[0087] In this embodiment, cylinder division is performed based on the valid old cylinder number information data to obtain new cylinder number information data that is consistent with the fabric characteristics in the valid old cylinder number information data, thereby reducing the time for cylinder division and improving the efficiency of generating the entire redundant yarn color change and reuse data to a certain extent.

[0088] like Figure 3 As shown, in one embodiment, S400 includes:

[0089] S420, if the color number represented by the original cylinder number information data is the same as the color number represented by the old cylinder number information data, then generating color change information without modifying the color number and yarn sending information without receiving the batch yarn;

[0090] S440, if the color numbers represented by the original cylinder number information data and the old cylinder number information data are different, then generating color change information for modifying the color number and yarn sending information without receiving the batch yarn;

[0091] S460, collecting the new cylinder number information data and the generated color change information and yarn sending information to obtain the color change information and yarn sending information corresponding to the new cylinder number.

[0092] Specifically, the color numbers represented by the original cylinder number information data and the old cylinder number information data are compared. If the color numbers are the same, the color change information of the modified color number and the yarn sending information without receiving the batch of yarn are generated; on the contrary, if the colors are different, the color change information of the modified color number and the yarn sending information without receiving the batch of yarn are generated. Then, according to the new cylinder number information data and the generated color change information and yarn sending information, the color change information and yarn sending information corresponding to the new cylinder number are obtained. For example: if the color number of the original cylinder number B1 is purple and the color number of the old cylinder number A1 is blue, then the excess yarn corresponding to the old cylinder number A1 is also blue. The preset color change rule is mainly based on the principle of color mixing, so it is necessary to add an appropriate amount of red dye to the new cylinder number C1 to obtain the same purple as the original cylinder number B1, thereby obtaining the color change information corresponding to the new cylinder number C1. Since the yarn used in the new cylinder number C1 is the excess yarn in the inventory, there is no need to pick up the same batch of yarn as the original cylinder number B1. It is only necessary to pick up the excess yarn for reuse, thereby obtaining the yarn sending information.

[0093] In this embodiment, according to the preset color change rules, new cylinder number information data and original cylinder number information data, the color change information and yarn issuance information can be quickly obtained, ensuring that the color change information and yarn issuance information can be pushed in time later, thereby improving the overall efficiency of generating redundant yarn color change reuse data.

[0094] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0095] Based on the same inventive concept, embodiments of the present application also provide a device for generating data for color-changing and reused excess yarns, for implementing the aforementioned method for generating data for color-changing and reused excess yarns. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations of one or more embodiments of the device for color-changing and reused excess yarns provided below can be found in the aforementioned method for generating data for color-changing and reused excess yarns, and will not be further elaborated here.

[0096] In one embodiment, Figure 4As shown, a device for generating data for color change and reuse of excess yarn is provided, comprising: an information data extraction module 100, a cylinder number matching module 200, a cylinder color change module 300, and a notification color change module 400, wherein:

[0097] The information data extraction module 100 is used to obtain the original cylinder number information data and the old cylinder number information data of the excess yarn. The original cylinder number information data is used to represent the gauze information required for the new textile order, and the old cylinder number information data of the excess yarn is used to represent the gauze information of the excess yarn in stock.

[0098] The cylinder number matching module 200 is used to match the original cylinder number with the old cylinder number according to the original cylinder number information data and the old cylinder number information data of the surplus yarn to obtain a matching result.

[0099] The cylinder color change module 300 is used to perform cylinder processing according to the matching results to obtain new cylinder number information data; based on the preset color change rules, the new cylinder number information data and the original cylinder number information data, the color change information and yarn information corresponding to the new cylinder number are generated.

[0100] The notification color changing module 400 is used to push the color changing information and the hair yarn information.

[0101] The above-mentioned device for generating data for color change and reuse of surplus yarn, on the one hand, matches the original cylinder number and the old cylinder number according to the information data of the original cylinder number and the old cylinder number, and can obtain the matching result relatively quickly; on the other hand, through the pre-set color change rules, on the basis of obtaining accurate matching results, according to this color change rule, the new cylinder number information data and the original cylinder number information data, the color change information and the yarn sending information can be quickly obtained, which is conducive to timely pushing the color change information and the yarn sending information, and further improving the overall efficiency of the generation of surplus yarn color change and reuse data.

[0102] In one embodiment, the information data extraction module 100 is also used to obtain the old cylinder number information data of the initial excess yarn from the warehouse management system; according to the old cylinder number reuse rules, the old cylinder number information data that meets the reuse rules is filtered out from the old cylinder number information data of the initial excess yarn to obtain the old cylinder number information data of the excess yarn.

[0103] In one embodiment, the cylinder number matching module 200 is also used to divide the original cylinder number and the old cylinder number into conventional yarn cylinder number and unconventional yarn cylinder number according to the original cylinder number information data and the old cylinder number information data of the excess yarn; according to the original cylinder number information data and the old cylinder number information data, the old cylinder number and the original cylinder number in the conventional yarn cylinder number and the unconventional yarn cylinder number are matched respectively to obtain the matching results of the conventional yarn cylinder number and the matching results of the unconventional yarn cylinder number.

[0104] In one embodiment, the cylinder color change module 300 is also used to obtain information data of the old cylinder number that matches the original cylinder number based on the matching result, and obtain valid old cylinder number information data; and perform cylinder processing based on the valid old cylinder number information data to obtain new cylinder number information data.

[0105] In one embodiment, the cylinder color change module 300 is also used to generate color change information without modifying the color number and yarn sending information without receiving batch yarn if the color number represented by the original cylinder number information data is the same as the color number represented by the old cylinder number information data; if the color number represented by the original cylinder number information data is different from the color number represented by the old cylinder number information data, then generate color change information with modified color number and yarn sending information without receiving batch yarn; collect the new cylinder number information data and the generated color change information and yarn sending information to obtain the color change information and yarn sending information corresponding to the new cylinder number.

[0106] Each module in the above-mentioned redundant yarn color change and recycling data generation device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each module.

[0107] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory, and a network interface connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data for generating data for color change and reuse of surplus yarn. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a method for generating data for color change and reuse of surplus yarn is implemented.

[0108] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 6As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for generating data for color change and recycling of excess yarn is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad provided on the computer device housing, or an external keyboard, touchpad or mouse.

[0109] Those skilled in the art will understand that Figure 5-6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0110] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0111] Obtain the original cylinder number information data and the old cylinder number information data of the surplus yarn, the original cylinder number information data is used to represent the gauze information required for the new textile order, and the old cylinder number information data of the surplus yarn is used to represent the gauze information of the surplus yarn in stock; match the original cylinder number and the old cylinder number according to the original cylinder number information data and the old cylinder number information data of the surplus yarn to obtain a matching result; perform cylinder separation processing according to the matching result to obtain the new cylinder number information data; based on the preset color change rules, the new cylinder number information data and the original cylinder number information data, generate the color change information and yarn sending information corresponding to the new cylinder number; push the color change information and yarn sending information.

[0112] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0113] The old cylinder number information data of the initial excess yarn is obtained from the warehouse management system; according to the old cylinder number reuse rule, the old cylinder number information data that meets the reuse rule is screened out from the old cylinder number information data of the initial excess yarn to obtain the old cylinder number information data of the excess yarn.

[0114] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0115] According to the original cylinder number information data and the old cylinder number information data of the excess yarn, the original cylinder number and the old cylinder number are divided into conventional yarn cylinder number and unconventional yarn cylinder number; according to the original cylinder number information data and the old cylinder number information data, the old cylinder number and the original cylinder number in the conventional yarn cylinder number and the unconventional yarn cylinder number are matched respectively to obtain the matching results of the conventional yarn cylinder number and the matching results of the unconventional yarn cylinder number.

[0116] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0117] According to the matching result, the information data of the old cylinder number that matches the original cylinder number is obtained to obtain the valid old cylinder number information data; cylinder processing is performed according to the valid old cylinder number information data to obtain the new cylinder number information data; the fabric features in the new cylinder number information data are consistent with the fabric features in the valid old cylinder number information data.

[0118] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0119] If the color number represented by the original cylinder number information data is the same as the color number represented by the old cylinder number information data, the color change information without modifying the color number and the yarn sending information without receiving the batch of yarn are generated; if the color number represented by the original cylinder number information data is different from the color number represented by the old cylinder number information data, the color change information with modified color number and the yarn sending information without receiving the batch of yarn are generated; the new cylinder number information data and the generated color change information and yarn sending information are collected to obtain the color change information and yarn sending information corresponding to the new cylinder number.

[0120] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

[0121] Obtain the original cylinder number information data and the old cylinder number information data of the surplus yarn, the original cylinder number information data is used to represent the gauze information required for the new textile order, and the old cylinder number information data of the surplus yarn is used to represent the gauze information of the surplus yarn in stock; match the original cylinder number and the old cylinder number according to the original cylinder number information data and the old cylinder number information data of the surplus yarn to obtain a matching result; perform cylinder separation processing according to the matching result to obtain the new cylinder number information data; based on the preset color change rules, the new cylinder number information data and the original cylinder number information data, generate the color change information and yarn sending information corresponding to the new cylinder number; push the color change information and yarn sending information.

[0122] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0123] The old cylinder number information data of the initial excess yarn is obtained from the warehouse management system; according to the old cylinder number reuse rule, the old cylinder number information data that meets the reuse rule is screened out from the old cylinder number information data of the initial excess yarn to obtain the old cylinder number information data of the excess yarn.

[0124] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0125] According to the original cylinder number information data and the old cylinder number information data of the excess yarn, the original cylinder number and the old cylinder number are divided into conventional yarn cylinder number and unconventional yarn cylinder number; according to the original cylinder number information data and the old cylinder number information data, the old cylinder number and the original cylinder number in the conventional yarn cylinder number and the unconventional yarn cylinder number are matched respectively to obtain the matching results of the conventional yarn cylinder number and the matching results of the unconventional yarn cylinder number.

[0126] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0127] According to the matching result, the information data of the old cylinder number that matches the original cylinder number is obtained to obtain the valid old cylinder number information data; cylinder processing is performed according to the valid old cylinder number information data to obtain the new cylinder number information data; the fabric features in the new cylinder number information data are consistent with the fabric features in the valid old cylinder number information data.

[0128] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0129] If the color number represented by the original cylinder number information data is the same as the color number represented by the old cylinder number information data, the color change information without modifying the color number and the yarn sending information without receiving the batch of yarn are generated; if the color number represented by the original cylinder number information data is different from the color number represented by the old cylinder number information data, the color change information with modified color number and the yarn sending information without receiving the batch of yarn are generated; the new cylinder number information data and the generated color change information and yarn sending information are collected to obtain the color change information and yarn sending information corresponding to the new cylinder number.

[0130] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0131] Obtain the original cylinder number information data and the old cylinder number information data of the surplus yarn, the original cylinder number information data is used to represent the gauze information required for the new textile order, and the old cylinder number information data of the surplus yarn is used to represent the gauze information of the surplus yarn in stock; match the original cylinder number and the old cylinder number according to the original cylinder number information data and the old cylinder number information data of the surplus yarn to obtain a matching result; perform cylinder separation processing according to the matching result to obtain the new cylinder number information data; based on the preset color change rules, the new cylinder number information data and the original cylinder number information data, generate the color change information and yarn sending information corresponding to the new cylinder number; push the color change information and yarn sending information.

[0132] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0133] The old cylinder number information data of the initial excess yarn is obtained from the warehouse management system; according to the old cylinder number reuse rule, the old cylinder number information data that meets the reuse rule is screened out from the old cylinder number information data of the initial excess yarn to obtain the old cylinder number information data of the excess yarn.

[0134] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0135] According to the original cylinder number information data and the old cylinder number information data of the excess yarn, the original cylinder number and the old cylinder number are divided into conventional yarn cylinder number and unconventional yarn cylinder number; according to the original cylinder number information data and the old cylinder number information data, the old cylinder number and the original cylinder number in the conventional yarn cylinder number and the unconventional yarn cylinder number are matched respectively to obtain the matching results of the conventional yarn cylinder number and the matching results of the unconventional yarn cylinder number.

[0136] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0137] According to the matching result, the information data of the old cylinder number that matches the original cylinder number is obtained to obtain the valid old cylinder number information data; cylinder processing is performed according to the valid old cylinder number information data to obtain the new cylinder number information data; the fabric features in the new cylinder number information data are consistent with the fabric features in the valid old cylinder number information data.

[0138] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0139] If the color number represented by the original cylinder number information data is the same as the color number represented by the old cylinder number information data, the color change information without modifying the color number and the yarn sending information without receiving the batch of yarn are generated; if the color number represented by the original cylinder number information data is different from the color number represented by the old cylinder number information data, the color change information with modified color number and the yarn sending information without receiving the batch of yarn are generated; the new cylinder number information data and the generated color change information and yarn sending information are collected to obtain the color change information and yarn sending information corresponding to the new cylinder number.

[0140] 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, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0141] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may 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 may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, and the like.

[0142] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, 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.

[0143] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. A method for generating data for color change and reuse of excess yarn, characterized in that: The method comprises: Obtaining original cylinder number information data and old cylinder number information data of excess yarn, wherein the original cylinder number information data is used to represent gauze information required for a new textile order, and the old cylinder number information data of excess yarn is used to represent gauze information of excess yarn in stock; According to the original cylinder number information data and the old cylinder number information data of the excess yarn, the original cylinder number and the old cylinder number are matched to obtain a matching result; According to the matching result, obtaining information data of the old cylinder number that matches the original cylinder number to obtain valid information data of the old cylinder number; Perform cylinder processing according to the valid old cylinder number information data to obtain new cylinder number information data; the fabric features in the new cylinder number information data are consistent with the fabric features in the valid old cylinder number information data; If the color number represented by the original cylinder number information data is the same as the color number represented by the old cylinder number information data, then generating color change information without modifying the color number and yarn sending information without receiving the batch yarn; If the color numbers represented by the original cylinder number information data and the old cylinder number information data are different, then generating color change information for modifying the color number and yarn sending information without receiving the batch yarn; Collecting the new cylinder number information data and the generated color change information and yarn sending information to obtain the color change information and yarn sending information corresponding to the new cylinder number; Push the color change information and the hair yarn information.

2. The method according to claim 1, characterized in that Before obtaining the original cylinder number information data and the old cylinder number information data of the excess yarn, the method further includes: Obtain the old cylinder number information data of the initial excess yarn from the warehouse management system; According to the old cylinder number reuse rule, the old cylinder number information data that meets the reuse rule is screened out from the old cylinder number information data of the initial excess yarn to obtain the old cylinder number information data of the excess yarn.

3. The method according to claim 1, characterized in that Information data includes: Yarn count, yarn batch, yarn type, strength, fabric grade, weight, dye usage OWF value and customer restrictions.

4. The method according to claim 1, wherein The matching result of matching the original cylinder number and the old cylinder number according to the original cylinder number information data and the old cylinder number information data of the excess yarn includes: According to the original cylinder number information data and the old cylinder number information data of the excess yarn, the original cylinder number and the old cylinder number are divided into conventional yarn cylinder numbers and unconventional yarn cylinder numbers; According to the original cylinder number information data and the old cylinder number information data, the old cylinder number and the original cylinder number in the conventional yarn cylinder number and the unconventional yarn cylinder number are matched respectively to obtain the matching results of the conventional yarn cylinder number and the unconventional yarn cylinder number.

5. A device for generating data for color change and reuse of surplus yarn, characterized in that: The device comprises: An information data extraction module is used to obtain the original cylinder number information data and the old cylinder number information data of the surplus yarn. The original cylinder number information data is used to represent the gauze information required for the new textile order, and the old cylinder number information data of the surplus yarn is used to represent the gauze information of the surplus yarn in stock; The cylinder number matching module is used to match the original cylinder number with the old cylinder number according to the original cylinder number information data and the old cylinder number information data of the excess yarn to obtain a matching result; The cylinder color change module is used to obtain the information data of the old cylinder number that matches the original cylinder number according to the matching result, and obtain the valid old cylinder number information data; perform cylinder processing according to the valid old cylinder number information data to obtain the new cylinder number information data; the fabric features in the new cylinder number information data are consistent with the fabric features in the valid old cylinder number information data; if the color numbers represented by the original cylinder number information data and the old cylinder number information data are the same, then generate the color change information without modifying the color number and the yarn sending information without receiving the batch yarn; if the color numbers represented by the original cylinder number information data and the old cylinder number information data are different, then generate the color change information with modified color number and the yarn sending information without receiving the batch yarn; collect the new cylinder number information data and the generated color change information and yarn sending information to obtain the color change information and yarn sending information corresponding to the new cylinder number; Notification color change module, used to push color change information and hair yarn information.

6. The device according to claim 5, characterized in that The information data extraction module is also used to: obtain the old cylinder number information data of the initial surplus yarn from the warehouse management system; according to the old cylinder number reuse rules, filter out the old cylinder number information data that meets the reuse rules from the old cylinder number information data of the initial surplus yarn, and obtain the old cylinder number information data of the surplus yarn.

7. The device according to claim 5, characterized in that The cylinder number matching module is also used to: divide the original cylinder number and the old cylinder number into conventional yarn cylinder numbers and unconventional yarn cylinder numbers according to the original cylinder number information data and the old cylinder number information data of the excess yarn; match the old cylinder number and the original cylinder number of the conventional yarn cylinder number and the unconventional yarn cylinder number according to the original cylinder number information data and the old cylinder number information data, and obtain the matching results of the conventional yarn cylinder number and the matching results of the unconventional yarn cylinder number.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.

10. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Dyeing material receiving system and method

    CN112734339A

  • Automatic dyeing system

    CN112859784A