Bulk dye formula determination method and device, computer equipment, computer readable storage medium and computer program product
By adjusting the sample dye formula in textile printing and dyeing technology, and determining the dye usage change according to the color of large-scale finished products, the problem of low pass rate of large-scale finished products is solved, and the consistency between the finished product color and the target color is achieved.
Patent Information
- Application Number
- CN202510035495.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-09
- Publication Date
- 2025-04-25
AI Technical Summary
In the field of textile printing and dyeing technology, there is a large difference between the finished product color obtained during mass production and the target color, resulting in a low pass rate of color.
By adjusting the sample dye formula in the laboratory, the relative change in the dosage of each dye is determined based on the color of the finished product obtained in the production workshop, and then the sample dye formula is adjusted to obtain the mass dye formula that meets the target color.
The pass rate of finished products in large quantities is improved, ensuring that the finished product color is consistent with the target color, and reducing color deviations caused by production differences.
Smart Images

Figure CN119886716A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of textile printing and dyeing technology, and in particular to a method, device, computer equipment, computer-readable storage medium and computer program product for determining a bulk dye formula. Background Art
[0002] In the field of textile printing and dyeing technology, mass production and sample production are two important stages of production. Mass production refers to the process of formal large-scale production of finished products, and sample production refers to the process of small-scale manufacturing of samples before formal large-scale production of finished products.
[0003] Usually, for the target color to be produced, it is necessary to first mix the dosage of each dye in the laboratory, obtain a small sample dye formula for dyeing production in the laboratory, and obtain a small sample whose color is consistent with the target color. Then the small sample dye formula is used in the production workshop for bulk production to obtain a bulk finished product.
[0004] However, there are often differences in technology, equipment, processes, and operating methods between laboratories and production workshops, resulting in a low color qualification rate for bulk finished products produced based on small sample dye formulas. Summary of the invention
[0005] Based on this, it is necessary to provide a method, device, computer equipment, computer-readable storage medium and computer program product for determining bulk dye formula that can improve the color pass rate of bulk finished products in order to address the technical problem of the low color pass rate of bulk finished products mentioned above.
[0006] In a first aspect, the present application provides a method for determining a bulk dye formula, comprising:
[0007] In the case where there is a color difference between the color of a first bulk finished product obtained by dyeing in a production workshop according to a first bulk dye formula corresponding to a target color and the target color, the first small sample dye formula is adjusted in a laboratory with the color of the first bulk finished product as the target to obtain a second small sample dye formula; the first small sample dye formula is obtained by adjusting the amount of each dye in the laboratory with the target color as the target, and the first bulk dye formula is obtained by adjusting the first small sample dye formula;
[0008] Based on the first bulk dye formula and the second small sample dye formula, determining a target relative change in the amount of each dye relative to the first small sample dye formula;
[0009] Based on the target relative change in the amount of each dye used, the first small sample dye formula is adjusted to obtain the second bulk dye formula; according to the second bulk dye formula, dyeing production is carried out in the production workshop, and the color of the second bulk finished product is consistent with the target color.
[0010] In one embodiment, determining the target relative change amount of the usage of each dye relative to the first small sample dye formula based on the first bulk dye formula and the second small sample dye formula includes:
[0011] Determine at least one of a first target relative change amount and a second target relative change amount of the usage of each dye; the first target relative change amount is determined based on the usage of each dye in the first bulk dye formula, the second small sample dye formula and the first small sample dye formula, and the second target relative change amount is determined based on the usage of each dye in the first bulk dye formula and the second small sample dye formula;
[0012] Based on at least one of the first target relative change and the second target relative change, the target relative change of the usage of each dye relative to the first small sample dye formula is obtained.
[0013] In one embodiment, determining at least one of the first target relative change amount and the second target relative change amount of the amount of each dye includes:
[0014] Determine a first relative change in the amount of each dye from the first small sample dye formula to the first bulk dye formula based on the amount of each dye in the first bulk dye formula and the amount of each dye in the first small sample dye formula;
[0015] Determine a second relative change in the amount of each dye from the first small sample dye formula to the second small sample dye formula based on the amount of each dye in the second small sample dye formula and the amount of each dye in the first small sample dye formula;
[0016] Determine the difference between the first relative change amount and the second relative change amount as the first target relative change amount of the usage of each dye;
[0017] The step of obtaining the target relative change amount of the amount of each dye relative to the first small sample dye formula based on at least one of the first target relative change amount and the second target relative change amount includes:
[0018] The first target relative change is determined as the target relative change of the usage of each dye relative to the first small sample dye formula.
[0019] In one embodiment, determining at least one of the first target relative change amount and the second target relative change amount of the amount of each dye includes:
[0020] Determine a third relative change in the amount of each dye from the second small sample dye formula to the first bulk dye formula based on the amount of each dye in the first bulk dye formula and the amount of each dye in the second small sample dye formula;
[0021] determining the third relative change as the second target relative change;
[0022] The step of obtaining the target relative change amount of the amount of each dye relative to the first small sample dye formula based on at least one of the first target relative change amount and the second target relative change amount includes:
[0023] The second target relative change is determined as the target relative change in the amount of each dye relative to the first small sample dye formula.
[0024] In one embodiment, obtaining the target relative change amount of the amount of each dye relative to the first small sample dye formula based on at least one of the first target relative change amount and the second target relative change amount includes:
[0025] The average of the first target relative change and the second target relative change is determined as the target relative change of the amount of each dye relative to the first small sample dye formula.
[0026] In one embodiment, adjusting the first small sample dye formula based on the target relative change in the amount of each dye to obtain the second bulk dye formula includes:
[0027] For each dye, determining the amount of the dye in the first small sample dye formula;
[0028] The product of the amount of the dye used and the target relative change in the amount of the dye used is determined as the change in the amount of the dye used;
[0029] Determine the sum of the amount of the dye used and the amount of change in the amount of the dye used as the target amount of the dye;
[0030] According to the target dosage of each dye, the second bulk dye formula is obtained.
[0031] In a second aspect, the present application also provides a device for determining a bulk dye formula, comprising:
[0032] A module for determining a small sample formula is used to adjust the first small sample dye formula in a laboratory to obtain a second small sample dye formula when there is a color difference between the color of a first bulk finished product obtained by dyeing in a production workshop according to a first bulk dye formula corresponding to a target color and the target color; the first small sample dye formula is obtained by adjusting the amount of each dye in the laboratory with the target color as the target, and the first bulk dye formula is obtained by adjusting the first small sample dye formula;
[0033] A relative change amount determination module, for determining a target relative change amount of the usage of each dye relative to the first small sample dye formula based on the first bulk dye formula and the second small sample dye formula;
[0034] A module for determining the bulk formula is used to adjust the first small sample dye formula based on the target relative change in the amount of each dye used to obtain a second bulk dye formula; according to the second bulk dye formula, dyeing production is carried out in the production workshop, and the color of the second bulk finished product is consistent with the target color.
[0035] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0036] In the case where there is a color difference between the color of a first bulk finished product obtained by dyeing in a production workshop according to a first bulk dye formula corresponding to a target color and the target color, the first small sample dye formula is adjusted in a laboratory with the color of the first bulk finished product as the target to obtain a second small sample dye formula; the first small sample dye formula is obtained by adjusting the amount of each dye in the laboratory with the target color as the target, and the first bulk dye formula is obtained by adjusting the first small sample dye formula;
[0037] Based on the first bulk dye formula and the second small sample dye formula, determining a target relative change in the amount of each dye relative to the first small sample dye formula;
[0038] Based on the target relative change in the amount of each dye used, the first small sample dye formula is adjusted to obtain the second bulk dye formula; according to the second bulk dye formula, dyeing production is carried out in the production workshop, and the color of the second bulk finished product is consistent with the target color.
[0039] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0040] In the case where there is a color difference between the color of a first bulk finished product obtained by dyeing in a production workshop according to a first bulk dye formula corresponding to a target color and the target color, the first small sample dye formula is adjusted in a laboratory with the color of the first bulk finished product as the target to obtain a second small sample dye formula; the first small sample dye formula is obtained by adjusting the amount of each dye in the laboratory with the target color as the target, and the first bulk dye formula is obtained by adjusting the first small sample dye formula;
[0041] Based on the first bulk dye formula and the second small sample dye formula, determining a target relative change in the amount of each dye relative to the first small sample dye formula;
[0042] Based on the target relative change in the amount of each dye used, the first small sample dye formula is adjusted to obtain the second bulk dye formula; according to the second bulk dye formula, dyeing production is carried out in the production workshop, and the color of the second bulk finished product is consistent with the target color.
[0043] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0044] In the case where there is a color difference between the color of a first bulk finished product obtained by dyeing in a production workshop according to a first bulk dye formula corresponding to a target color and the target color, the first small sample dye formula is adjusted in a laboratory with the color of the first bulk finished product as the target to obtain a second small sample dye formula; the first small sample dye formula is obtained by adjusting the amount of each dye in the laboratory with the target color as the target, and the first bulk dye formula is obtained by adjusting the first small sample dye formula;
[0045] Based on the first bulk dye formula and the second small sample dye formula, determining a target relative change in the amount of each dye relative to the first small sample dye formula;
[0046] Based on the target relative change in the amount of each dye used, the first small sample dye formula is adjusted to obtain the second bulk dye formula; according to the second bulk dye formula, dyeing production is carried out in the production workshop, and the color of the second bulk finished product is consistent with the target color.
[0047] The above-mentioned method, device, computer equipment, computer-readable storage medium and computer program product for determining the bulk dye formula are as follows: first, when there is a color difference between the color of the first bulk finished product obtained by dyeing in a production workshop according to the first bulk dye formula corresponding to the target color and the target color, the first small sample dye formula is adjusted in a laboratory with the color of the first bulk finished product as the target to obtain a second small sample dye formula; the first small sample dye formula is obtained by adjusting the amount of each dye in the laboratory with the target color as the target, and the first bulk dye formula is obtained by adjusting the first small sample dye formula; then, based on the first bulk dye formula and the second small sample dye formula, the target relative change in the amount of each dye relative to the first small sample dye formula is determined; finally, based on the target relative change in the amount of each dye, the first small sample dye formula is adjusted to obtain the second bulk dye formula; according to the second bulk dye formula, dyeing production is carried out in the production workshop, and the color of the second bulk finished product obtained is consistent with the target color. In this way, by taking the color of the first bulk finished product as the target, the first small sample dye formula can be adjusted in the laboratory to obtain the second small sample dye formula. Based on the first bulk dye formula and the second small sample dye formula, the color of the first bulk finished product can be used as a reference to determine the production differences between the production workshop and the laboratory, thereby obtaining the target relative change in the amount of each dye relative to the first small sample dye formula, and then the first small sample dye formula can be adjusted to obtain the second bulk dyeing formula whose color of the second bulk finished product produced in the production workshop is consistent with the target color. The bulk dye formula determination method of the above process can determine the production differences between the production workshop and the laboratory based on the bulk dye formula and the small sample dye formula that actually correspond to the same color, and obtain the bulk dye formula that meets the target color requirements based on the production differences, thereby improving the color qualification rate of the bulk finished products. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0049] Figure 1 A schematic diagram of a process for determining a bulk dye formula in one embodiment;
[0050] Figure 2 A flowchart of a step of determining a target relative change amount of each dye usage relative to the first small sample dye formula based on a first bulk dye formula and a second small sample dye formula in one embodiment;
[0051] Figure 3 A schematic flow chart of a step of determining at least one of a first target relative change amount and a second target relative change amount of the amount of each dye in one embodiment;
[0052] Figure 4 Another is a flow chart of a step of determining at least one of a first target relative change amount and a second target relative change amount of the amount of each dye in an embodiment;
[0053] Figure 5 A schematic flow chart of the steps of adjusting a first small sample dye formula to obtain a second large sample dye formula based on a target relative change in the amount of each dye in an embodiment;
[0054] Figure 6 A schematic flow chart of a method for determining a bulk dye formula in another embodiment;
[0055] Figure 7 A schematic flow chart of a method for adjusting the color of a bulk dye formula based on a relative change in the amount of dye used in one embodiment;
[0056] Figure 8 It is a structural block diagram of a device for determining a formula of a bulk dye in one embodiment;
[0057] Fig. 9 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0058] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0059] 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, and the collection, use and processing of relevant data must comply with relevant regulations.
[0060] In one embodiment, Figure 1As shown, a method for determining a bulk dye formula is provided. This embodiment uses the method applied to a server as an example for illustration. It is understandable that the method can also be applied to a terminal, and can also be applied to a system including a server and a terminal, and is implemented through the interaction between the server and the terminal; wherein the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services; the terminal can be, but is not limited to, various personal computers, laptops, smart phones, and tablet computers, etc. In this embodiment, the method includes the following steps S102 to S106:
[0061] Step S102, when there is a color difference between the color of the first bulk finished product obtained by dyeing in the production workshop according to the first bulk dye formula corresponding to the target color and the target color, the first small sample dye formula is adjusted in the laboratory with the color of the first bulk finished product as the target to obtain the second small sample dye formula.
[0062] Among them, the dye formula in this application (including the first small sample dye formula, the second small sample dye formula, the first bulk dye formula and the second bulk dye formula) is used to characterize the combination of each dye and its usage.
[0063] The first small sample dye formula is obtained by adjusting the amount of each dye in a laboratory with the target color as the target. According to the first small sample dye formula, dyeing production is carried out in the laboratory, and the color of the obtained first small sample is consistent with the target color.
[0064] Among them, the first bulk dye formula is obtained by adjusting the first small sample dye formula. In a specific application, the server fine-tunes the first small sample dye formula based on the previous production differences between the laboratory and the production workshop to obtain the first bulk dye formula; ideally, according to the first bulk dye formula, dyeing production is carried out in the production workshop, and the color of the first bulk finished product should be consistent with the target color. However, the production differences between the laboratory and the production workshop are not fixed, so there is often a color difference between the color of the first bulk finished product and the target color.
[0065] Among them, dyeing production was carried out in the laboratory according to the second small sample dye formula, and the color of the second small sample obtained was consistent with the color of the first large batch of finished products.
[0066] Specifically, when determining the bulk dye formula for the target color to be produced, the server will first use the target color as the target, and mix the dosage of each dye in the laboratory to obtain the first small sample dye formula; according to the first small sample dye formula, dyeing production is carried out in the laboratory, and the color of the first small sample obtained is consistent with the target color. Then, in order to eliminate the difference between the large and small dye samples, the server relies on the previous production difference between the laboratory and the production workshop to fine-tune the first small sample dye formula to obtain the first bulk dye formula.
[0067] Next, dyeing production is carried out in the production workshop according to the first bulk dye formula to obtain the color of the first bulk finished product; the server compares the color of the first bulk finished product with the target color. If there is a color difference between the color of the first bulk finished product and the target color, the server takes the color of the first bulk finished product as the target, and further fine-tunes the first small sample dye formula in the laboratory to obtain a second small sample dye formula whose color is consistent with the color of the first bulk finished product when dyeing production is carried out in the laboratory.
[0068] Step S104, based on the first bulk dye formula and the second sub-sample dye formula, determining the target relative change amount of each dye usage relative to the first sub-sample dye formula.
[0069] Among them, the target relative variable of the amount of each dye relative to the first small sample dye formula is used to characterize the relative change in the amount of each dye from the first small sample dye formula to the second large batch dye formula in which the color of the second large batch finished product obtained by dyeing in the production workshop is consistent with the target color.
[0070] It should be noted that the relative change from the first value to the second value refers to the ratio of the difference between the first value and the second value, as shown in Formula 1, which is the relative change from the first value to the second value:
[0071] (Formula 1)
[0072] in, is the first value, is the second value.
[0073] Specifically, since the colors produced in the production workshop based on the first bulk dye formula and in the laboratory based on the second small sample dye formula are consistent, the server can deduce the production differences between the production workshop and the laboratory through the first bulk dye formula and the second small sample dye formula, which can be further used to determine the amount of each dye, from the first small sample dye formula to the target relative change in the second bulk dye formula so that the color of the second bulk finished product obtained by dyeing in the production workshop is consistent with the target color.
[0074] Step S106, based on the target relative change in the usage of each dye, adjust the first small sample dye formula to obtain the second bulk dye formula.
[0075] Among them, the color of the second bulk finished product obtained by dyeing in the production workshop according to the second bulk dye formula is consistent with the target color.
[0076] Specifically, for each dye, the server adjusts the dosage of the dye in the first small sample dye formula based on the target relative change in the dosage of the dye to obtain the target dosage of the dye, and combines the target dosages of each dye to obtain the second bulk dye formula when dyeing is carried out in the production workshop, so that the color of the second bulk finished product is consistent with the target color.
[0077] In the above-mentioned method for determining the bulk dye formula, first, when there is a color difference between the color of the first bulk finished product obtained by dyeing in the production workshop according to the first bulk dye formula corresponding to the target color and the target color, the server adjusts the first small sample dye formula in the laboratory with the color of the first bulk finished product as the target to obtain the second small sample dye formula; the first small sample dye formula is obtained by adjusting the amount of each dye in the laboratory with the target color as the target, and the first bulk dye formula is obtained by adjusting the first small sample dye formula; then, the server determines the target relative change in the amount of each dye relative to the first small sample dye formula based on the first bulk dye formula and the second small sample dye formula; finally, the server adjusts the first small sample dye formula based on the target relative change in the amount of each dye to obtain the second bulk dye formula; dyeing production is carried out in the production workshop according to the second bulk dye formula, and the color of the second bulk finished product is consistent with the target color. In this way, by taking the color of the first bulk finished product as the target, the first small sample dye formula can be adjusted in the laboratory to obtain the second small sample dye formula. Based on the first bulk dye formula and the second small sample dye formula, the color of the first bulk finished product can be used as a reference to determine the production differences between the production workshop and the laboratory, thereby obtaining the target relative change in the amount of each dye relative to the first small sample dye formula, and then the first small sample dye formula can be adjusted to obtain the second bulk dyeing formula whose color of the second bulk finished product produced in the production workshop is consistent with the target color. The bulk dye formula determination method of the above process can determine the production differences between the production workshop and the laboratory based on the bulk dye formula and the small sample dye formula that actually correspond to the same color, and obtain the bulk dye formula that meets the target color requirements based on the production differences, thereby improving the color qualification rate of the bulk finished products.
[0078] In an exemplary embodiment, Figure 2As shown, the above step S104, based on the first bulk dye formula and the second small sample dye formula, determines the target relative change amount of each dye usage relative to the first small sample dye formula, specifically includes the following steps:
[0079] Step S202, determining at least one of a first target relative change amount and a second target relative change amount of the usage amount of each dye.
[0080] Step S204, based on at least one of the first target relative change amount and the second target relative change amount, obtain the target relative change amount of each dye usage relative to the first small sample dye formula.
[0081] The first target relative change is determined based on the amount of each dye in the first bulk dye formula, the second small sample dye formula and the first small sample dye formula. In a specific application, the first target relative change of the amount of each dye is used to characterize the difference between the relative change of the amount of each dye from the first small sample dye formula to the first bulk dye formula and the relative change from the first small sample dye formula to the second small sample dye formula.
[0082] The second target relative change is determined based on the amount of each dye in the first bulk dye formula and the second small sample dye formula. In a specific application, the second target relative change of the amount of each dye is used to characterize the relative change of the amount of each dye from the second small sample dye formula to the first bulk dye formula.
[0083] Specifically, the server determines at least one of the first target relative change and the second target relative change in the usage of each dye based on the first bulk dye formula and the second small sample dye formula; wherein, when determining the first target relative change, the server needs to combine the first small sample dye formula in addition to the first bulk dye formula and the second small sample dye formula; when determining the second target relative change, the server only needs to be based on the first bulk dye formula and the second small sample dye formula.
[0084] Then, the server obtains the target relative change in the amount of each dye relative to the first sample dye formula based on at least one of the first target relative change and the second target relative change. In a specific application, for each dye, the server can determine its corresponding first target relative change as its corresponding target relative change, or determine its corresponding second target relative change as its corresponding target relative change, or determine the average of its corresponding first target relative change and the second target relative change as its corresponding target relative change.
[0085] In actual applications, the server can also simultaneously determine the first target relative change and the second target relative change. When the difference between the two is less than or equal to the preset difference threshold, any one of them is used as the target relative change. When the difference between the two is greater than the preset difference threshold, the average of the two is determined as the target relative change.
[0086] In this embodiment, the server can determine the production differences between the production workshop and the laboratory based on the first bulk dye formula and the second small sample dye formula, with the color of the first bulk finished product as a reference, thereby determining at least one of the first target relative change and the second target relative change in the amount of each dye used, and based on at least one of the first target relative change and the second target relative change in the amount of each dye used, the target relative change in the amount of each dye relative to the first small sample dye formula can be obtained.
[0087] In an exemplary embodiment, Figure 3 As shown, the above step S202, determining at least one of the first target relative change amount and the second target relative change amount of the amount of each dye, specifically includes the following steps:
[0088] Step S302, based on the usage of each dye in the first bulk dye formula and the usage of each dye in the first small sample dye formula, determine a first relative change in the usage of each dye from the first small sample dye formula to the first bulk dye formula.
[0089] Step S304, based on the usage of each dye in the second small sample dye formula and the usage of each dye in the first small sample dye formula, determine a second relative change in the usage of each dye from the first small sample dye formula to the second small sample dye formula.
[0090] Step S306: Determine the difference between the first relative change amount and the second relative change amount as the first target relative change amount of the usage of each dye.
[0091] The above-mentioned step S204 obtains the target relative change amount of each dye usage relative to the first small sample dye formula based on at least one of the first target relative change amount and the second target relative change amount, and specifically includes the following contents: the first target relative change amount is determined as the target relative change amount of each dye usage relative to the first small sample dye formula.
[0092] Specifically, for each dye, the server determines a first relative change in the amount of the dye from the first small sample dye formula to the first bulk dye formula based on the amount of the dye in the first bulk dye formula and the amount of the dye in the first small sample dye formula; the first relative change is shown in Formula 2:
[0093] (Formula 2)
[0094] in, is the amount of dye used in the first sample dye formula, It is the amount of dye used in the first bulk dye formula.
[0095] And, the server determines a second relative change in the amount of the dye from the first small sample dye formula to the second small sample dye formula based on the amount of the dye in the second small sample dye formula and the amount of the dye in the first small sample dye formula; the second relative change in the dye is shown in Formula 3:
[0096] (Formula 3)
[0097] in, This is the amount of dye used in the second sample dye formula.
[0098] Then, the server calculates the difference between the first relative change and the second relative change, and determines it as the first target relative change of the amount of the dye, and further determines it as the target relative change of the amount of the dye relative to the first sample dye formula; as shown in Formula 4, the first target relative change of the dye , which the server determines as the target relative change in the dye :
[0099] (Formula 4)
[0100] In this embodiment, the server can first determine the first relative change in the amount of each dye from the first small sample dye formula to the first bulk dye formula based on the first bulk dye formula, the second small sample dye formula and the first small sample dye formula, and secondly can determine the second relative change in the amount of each dye from the first small sample dye formula to the second small sample dye formula, and can obtain the first target relative change that characterizes the production differences between the production workshop and the laboratory based on the difference between the first relative change and the second relative change, and use it as the target relative change.
[0101] In an exemplary embodiment, Figure 4 As shown, the above step S202, determining at least one of the first target relative change amount and the second target relative change amount of the amount of each dye, specifically includes the following steps:
[0102] Step S402, based on the usage of each dye in the first bulk dye formula and the usage of each dye in the second small sample dye formula, determine a third relative change in the usage of each dye from the second small sample dye formula to the first bulk dye formula.
[0103] Step S404: determine the third relative change as the second target relative change.
[0104] The above-mentioned step S204 obtains the target relative change amount of each dye usage relative to the first small sample dye formula based on at least one of the first target relative change amount and the second target relative change amount, and specifically includes the following contents: the second target relative change amount is determined as the target relative change amount of each dye usage relative to the first small sample dye formula.
[0105] Specifically, for each dye, the server determines a third relative change in the amount of the dye from the second small sample dye formula to the first bulk dye formula based on the amount of the dye in the first bulk dye formula and the amount of the dye in the second small sample dye formula; the third relative change is shown in Formula 5:
[0106] (Formula 5)
[0107] in, is the amount of dye used in the first batch of dye formulas, This is the amount of dye used in the second sample dye formula.
[0108] Then, the server determines the third relative change as the target relative change of the amount of the dye relative to the first sample dye formula; as shown in Formula 6, the second target relative change of the dye , which the server determines as the target relative change in the dye :
[0109] (Formula 6)
[0110] In this embodiment, based on the first bulk dye formula and the second small sample dye formula, the server can determine the third relative change in the amount of each dye from the second small sample dye formula to the first bulk dye formula, and then obtain the second target relative change that characterizes the production differences between the production workshop and the laboratory, and use it as the target relative change.
[0111] In an exemplary embodiment, the above step S204 obtains the target relative change of the amount of each dye relative to the first small sample dye formula based on at least one of the first target relative change and the second target relative change, and specifically includes the following contents: the average of the first target relative change and the second target relative change is determined as the target relative change of the amount of each dye relative to the first small sample dye formula.
[0112] Specifically, for each dye, the server calculates the relative change in the first target of the dye. Relative change with the second target When the difference between the two is greater than the preset difference threshold, the first target relative change of the dye is Relative change with the second target The average value is determined as the target relative change of the dye; as shown in 7, the target relative change of the dye :
[0113] (Formula 7)
[0114] In this embodiment, the server obtains the target relative change based on the average of the first target relative change and the second target relative change, and can integrate the production differences between the production workshop and the laboratory determined by two different methods to improve the accuracy of the target relative change.
[0115] In an exemplary embodiment, Figure 5 As shown, the above step S106, based on the target relative change in the amount of each dye, adjusts the first small sample dye formula to obtain the second large batch dye formula, specifically including the following steps:
[0116] Step S502, for each dye, determining the amount of the dye in the first small sample dye formula.
[0117] Step S504: The product of the amount of dye used and the target relative change in the amount of dye used is determined as the change in the amount of dye used.
[0118] Step S506: The sum of the amount of dye used and the amount of change in the amount of dye used is determined as the target amount of dye used.
[0119] Step S508, obtaining a second bulk dye formula according to the target usage of each dye.
[0120] Specifically, for each dye, the server first determines the dosage of the dye in the first small sample dye formula; then, the server calculates the product of the dosage of the dye and the target relative change in the dosage of the dye, and determines the product as the change in the dosage of the dye; then, the server adjusts the dosage of the dye based on the dosage of the dye and takes the change in the dosage of the dye as the adjustment amount to obtain the target dosage of the dye; finally, the server combines the target dosages of each dye to obtain the second large-volume dye formula.
[0121] In a specific application, the server obtains the target amount of dye through formula 8:
[0122] (Formula 8)
[0123] in, is the amount of dye used in the first sample dye formula, is the target relative change in the amount of dye used, is the target dosage of dye.
[0124] In this embodiment, the server can adjust the amount of dye in the first small sample dye formula according to the target relative change in the amount of dye that characterizes the production difference between the production workshop and the laboratory, thereby obtaining the second bulk dye formula.
[0125] In an exemplary embodiment, if Figure 6 As shown, another method for determining a bulk dye formula is provided, which is described by taking the method applied to a server as an example, and includes the following steps:
[0126] Step S602, taking the target color as the target, the dosage of each dye is mixed in the laboratory to obtain a first small sample dye formula, and the first small sample dye formula is adjusted to obtain a first bulk dye formula.
[0127] Step S604, dyeing production is carried out in the production workshop according to the first bulk dye formula to obtain the first bulk finished product.
[0128] Step S606, when there is a color difference between the color of the first bulk finished product and the target color, the first small sample dye formula is adjusted in the laboratory with the color of the first bulk finished product as the target to obtain the second small sample dye formula.
[0129] Step S608, determine the first relative change in the amount of each dye from the first small sample dye formula to the first bulk dye formula, determine the second relative change in the amount of each dye from the first small sample dye formula to the second small sample dye formula, and determine the difference between the first relative change and the second relative change as the first target relative change in the amount of each dye.
[0130] Step S610, determining a third relative change in the amount of each dye from the second small sample dye formula to the first bulk dye formula, and determining the third relative change as the second target relative change.
[0131] Step S612, determines the first target relative change as the target relative change of the amount of each dye relative to the first small sample dye formula, or determines the second target relative change as the target relative change of the amount of each dye relative to the first small sample dye formula, or determines the average of the first target relative change and the second target relative change as the target relative change of the amount of each dye relative to the first small sample dye formula.
[0132] Step S614, determining the amount of each dye in the first sample dye formula, and multiplying the amount of each dye by the target relative change in the amount of each dye to determine the change in the amount of each dye.
[0133] Step S616, the sum of the usage of each dye and the change in the usage of each dye is determined as the target usage of each dye, and the second bulk dye formula is obtained according to the target usage of each dye.
[0134] Step S618, dyeing production is carried out in the production workshop according to the dye formula of the second bulk order, and the color of the second bulk order finished product obtained is consistent with the target color.
[0135] In this embodiment, by taking the color of the first bulk finished product as the target, the first small sample dye formula can be adjusted in the laboratory to obtain the second small sample dye formula, and based on the first bulk dye formula and the second small sample dye formula, the color of the first bulk finished product can be used as a reference to determine the production difference between the production workshop and the laboratory, thereby obtaining the target relative change in the amount of each dye relative to the first small sample dye formula, and then the first small sample dye formula can be adjusted to obtain the second bulk dyeing formula in which the color of the second bulk finished product produced in the production workshop is consistent with the target color; the bulk dye formula determination method of the above process can determine the production difference between the production workshop and the laboratory based on the bulk dye formula and the small sample dye formula that actually correspond to the same color, and obtain the bulk dye formula that meets the target color requirements based on the production difference, thereby improving the color qualification rate of the bulk finished products.
[0136] In order to more clearly illustrate the method for determining the formula of bulk dyes provided in the embodiment of the present application, the method for determining the formula of bulk dyes is specifically described below with a specific embodiment, but it should be understood that the embodiment of the present application is not limited thereto. Figure 7 As shown, in one exemplary embodiment, the present application also provides a method for adjusting the color of a bulk dye formula based on a relative change in the amount of dye used, which specifically includes the following steps:
[0137] 1. Taking the target color as the target, the dosage of each dye is prepared in the laboratory to obtain the first sample dye formula. Dyeing production is carried out in the laboratory according to the first sample dye formula. The color of the first sample obtained is the target color; the dosage of each dye in the first sample dye formula is recorded as .
[0138] 2. Based on past experience, the first small sample dye formula is fine-tuned to obtain the first bulk dye formula; the amount of each dye in the first bulk dye formula is recorded as .
[0139] 3. According to the dye formula of the first batch of goods, dyeing production is carried out in the production workshop to obtain the first batch of finished products.
[0140] 4. In the case where there is a color difference between the color of the first bulk finished product and the target color, the first small sample dye formula is adjusted in the laboratory with the color of the first bulk finished product as the target to obtain the second small sample dye formula, and dyeing production is carried out in the laboratory according to the second small sample dye formula. The color of the obtained second small sample is consistent with the color of the first bulk finished product; the amount of each dye in the second small sample dye formula is recorded as .
[0141] 5. The first relative change in the amount of each dye from the first small sample dye formula to the first large batch dye formula is shown in Formula 2, and the second relative change in the amount of each dye from the first small sample dye formula to the second small sample dye formula is shown in Formula 3; as shown in Formula 4, the difference between the first relative change and the second relative change is determined as the first target relative change in the amount of each dye , the relative change of the first target Determined as the target relative change in the amount of each dye relative to the first sample dye formula .
[0142] Alternatively, the third relative change in the amount of each dye from the second small sample dye formula to the first bulk dye formula is as shown in Formula 5; as shown in Formula 6, the third relative change is determined as the second target relative change , the relative change of the second target Determined as the target relative change in the amount of each dye relative to the first sample dye formula .
[0143] Alternatively, as shown in Formula 7, the relative change of the first target Relative change with the second target The average value is determined as the target relative change in the amount of each dye relative to the first sample dye formula. .
[0144] 6. As shown in Formula 8, determine the amount of each dye in the first small sample dye formula, and determine the change in the amount of each dye as the product of the amount of each dye and the target relative change in the amount of each dye; determine the target amount of each dye as the sum of the amount of each dye and the change in the amount of each dye, and obtain the second bulk dye formula based on the target amount of each dye; carry out dyeing production in the production workshop according to the second bulk dye formula, and the color of the second bulk finished product is consistent with the target color.
[0145] The present embodiment is described below with a specific example:
[0146] Refer to Table 1, which shows the amount of each dye in each formula and the relative change under a certain target color. Assume that the server uses the second target relative change As the relative change of the target , then the amount of each dye in the second largest dye formula As shown in Table 1:
[0147] Table 1 The amount of each dye in each formula and the relative change
[0148]
[0149] The present embodiment is further described below with a specific example:
[0150] Refer to Table 2, which shows the amount of each dye in each formula and the relative change under a certain target color. Assume that the server uses the first target relative change Relative change with the second target The average value of the target relative change , then the amount of each dye in the second largest dye formula As shown in Table 2:
[0151] Table 2 The amount of each dye in each formula and the relative change
[0152]
[0153] In the field of textile printing and dyeing technology, the size difference of dyeing samples is usually adjusted by the personal experience of the formulator. In this embodiment, by calculating the relative change between the formulas, the production differences between the production workshop and the laboratory can be accurately characterized, so as to accurately prepare the bulk dye formula, which not only eliminates the size difference of dyeing samples, but also improves the color FPY (First Pass Yield), reduces production costs, reduces the inside and outside differences of the bobbin caused by repairs (referring to the difference in dyeing or color depth of the yarn or fabric on the inside and outside of the bobbin during the dyeing or processing process), shortens the production CT (Cycle Time), and improves OTD (On-Time Delivery).
[0154] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed 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 part of the steps or stages in other steps.
[0155] Based on the same inventive concept, the embodiment of the present application also provides a bulk dye formula determination device for implementing the bulk dye formula determination method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more bulk dye formula determination device embodiments provided below can refer to the limitations of the bulk dye formula determination method above, and will not be repeated here.
[0156] In an exemplary embodiment, Figure 8 As shown, a device for determining a formula of a bulk dye is provided, comprising: a sample formula determination module 802, a relative change amount determination module 804 and a bulk formula determination module 806, wherein:
[0157] The module 802 for determining the small sample formula is used to adjust the first small sample dye formula in a laboratory to obtain a second small sample dye formula when there is a color difference between the color of a first bulk finished product obtained by dyeing in a production workshop according to a first bulk dye formula corresponding to a target color and the target color. The first small sample dye formula is obtained by adjusting the amount of each dye in the laboratory with the target color as the target, and the first bulk dye formula is obtained by adjusting the first small sample dye formula.
[0158] The relative change determination module 804 is used to determine the target relative change of the usage of each dye relative to the first small sample dye formula based on the first bulk dye formula and the second small sample dye formula.
[0159] The bulk formula determination module 806 is used to adjust the first small sample dye formula based on the target relative change in the amount of each dye used to obtain the second bulk dye formula; according to the second bulk dye formula, dyeing production is carried out in the production workshop, and the color of the second bulk finished product is consistent with the target color.
[0160] In an exemplary embodiment, the relative change determination module 804 is also used to determine at least one of a first target relative change and a second target relative change in the usage of each dye; the first target relative change is determined based on the usage of each dye in the first bulk dye formula, the second small sample dye formula and the first small sample dye formula, and the second target relative change is determined based on the usage of each dye in the first bulk dye formula and the second small sample dye formula; based on at least one of the first target relative change and the second target relative change, the target relative change in the usage of each dye relative to the first small sample dye formula is obtained.
[0161] In an exemplary embodiment, the relative change determination module 804 is also used to determine a first relative change in the usage of each dye from the first small sample dye formula to the first bulk dye formula based on the usage of each dye in the first bulk dye formula and the usage of each dye in the first small sample dye formula; determine a second relative change in the usage of each dye from the first small sample dye formula to the second small sample dye formula based on the usage of each dye in the second small sample dye formula and the usage of each dye in the first small sample dye formula; determine the difference between the first relative change and the second relative change as the first target relative change in the usage of each dye; and determine the first target relative change as the target relative change in the usage of each dye relative to the first small sample dye formula.
[0162] In an exemplary embodiment, the relative change determination module 804 is also used to determine a third relative change in the amount of each dye from the second small sample dye formula to the first bulk dye formula based on the amount of each dye in the first bulk dye formula and the amount of each dye in the second small sample dye formula; determine the third relative change as the second target relative change; and determine the second target relative change as the target relative change in the amount of each dye relative to the first small sample dye formula.
[0163] In an exemplary embodiment, the relative change determination module 804 is further used to determine the average of the first target relative change and the second target relative change as the target relative change of each dye usage relative to the first sample dye formula.
[0164] In an exemplary embodiment, the bulk formula determination module 806 is also used to determine the amount of dye used in the first small sample dye formula for each dye; determine the change in the amount of dye used as the product of the amount of dye used and the target relative change in the amount of dye used; determine the sum of the amount of dye used and the change in the amount of dye used as the target amount of the dye; and obtain the second bulk dye formula based on the target amount of each dye.
[0165] In an exemplary embodiment, the sample formula determination module 802 is also used to prepare the amount of each dye in the laboratory based on the target color to obtain the first sample dye.
[0166] In an exemplary embodiment, the bulk formula determination module 806 is also used to adjust the first small sample dye formula to obtain the first bulk dye formula.
[0167] Each module in the device can be implemented in whole or in part by software, hardware, or a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0168] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Fig. 9 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, 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 dye formula data of various colors. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for determining a bulk dye formula is implemented.
[0169] Those skilled in the art will understand that Fig. 9 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 those shown in the figure, or combine certain components, or have a different arrangement of components.
[0170] In an exemplary embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0171] In an exemplary 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 steps in the above-mentioned method embodiments are implemented.
[0172] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0173] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed 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 the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an 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 each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0174] The technical features of the above embodiments may 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 application.
[0175] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for determining a bulk dye formula, characterized in that: The method comprises: In the case where there is a color difference between the color of a first bulk finished product obtained by dyeing in a production workshop according to a first bulk dye formula corresponding to a target color and the target color, the first small sample dye formula is adjusted in a laboratory with the color of the first bulk finished product as the target to obtain a second small sample dye formula; the first small sample dye formula is obtained by blending the amounts of each dye in the laboratory with the target color as the target, and the first bulk dye formula is obtained by adjusting the first small sample dye formula; Based on the first bulk dye formula and the second small sample dye formula, determining a target relative change in the amount of each dye relative to the first small sample dye formula; Based on the target relative change in the amount of each dye used, the first small sample dye formula is adjusted to obtain the second bulk dye formula; according to the second bulk dye formula, dyeing production is carried out in the production workshop, and the color of the second bulk finished product is consistent with the target color.
2. The method according to claim 1, characterized in that The step of determining the target relative change in the amount of each dye relative to the first small sample dye formula based on the first bulk dye formula and the second small sample dye formula includes: Determine at least one of a first target relative change amount and a second target relative change amount of the usage of each dye; the first target relative change amount is determined based on the usage of each dye in the first bulk dye formula, the second small sample dye formula and the first small sample dye formula, and the second target relative change amount is determined based on the usage of each dye in the first bulk dye formula and the second small sample dye formula; Based on at least one of the first target relative change and the second target relative change, the target relative change of the usage of each dye relative to the first small sample dye formula is obtained.
3. The method according to claim 2, characterized in that Determining at least one of the first target relative change amount and the second target relative change amount of the amount of each dye includes: Determine a first relative change in the amount of each dye from the first small sample dye formula to the first bulk dye formula based on the amount of each dye in the first bulk dye formula and the amount of each dye in the first small sample dye formula; Determine a second relative change in the amount of each dye from the first small sample dye formula to the second small sample dye formula based on the amount of each dye in the second small sample dye formula and the amount of each dye in the first small sample dye formula; Determine the difference between the first relative change amount and the second relative change amount as the first target relative change amount of the usage of each dye; The step of obtaining the target relative change amount of the amount of each dye relative to the first small sample dye formula based on at least one of the first target relative change amount and the second target relative change amount includes: The first target relative change is determined as the target relative change of the usage of each dye relative to the first small sample dye formula.
4. The method according to claim 2, characterized in that: Determining at least one of the first target relative change amount and the second target relative change amount of the amount of each dye includes: Determine a third relative change in the amount of each dye from the second small sample dye formula to the first bulk dye formula based on the amount of each dye in the first bulk dye formula and the amount of each dye in the second small sample dye formula; determining the third relative change as the second target relative change; The step of obtaining the target relative change amount of the amount of each dye relative to the first small sample dye formula based on at least one of the first target relative change amount and the second target relative change amount includes: The second target relative change is determined as the target relative change in the amount of each dye relative to the first small sample dye formula.
5. The method according to claim 2, characterized in that: The step of obtaining the target relative change amount of the amount of each dye relative to the first small sample dye formula based on at least one of the first target relative change amount and the second target relative change amount includes: The average of the first target relative change and the second target relative change is determined as the target relative change of the amount of each dye relative to the first small sample dye formula.
6. The method according to any one of claims 1 to 5, characterized in that: The method of adjusting the first small sample dye formula based on the target relative change in the amount of each dye to obtain the second large sample dye formula includes: For each dye, determining the amount of the dye in the first small sample dye formula; The product of the amount of the dye used and the target relative change in the amount of the dye used is determined as the change in the amount of the dye used; Determine the sum of the amount of the dye used and the amount of change in the amount of the dye used as the target amount of the dye; According to the target dosage of each dye, the second bulk dye formula is obtained.
7. A device for determining a bulk dye formula, characterized in that: The device comprises: A module for determining a small sample formula is used to adjust the first small sample dye formula in a laboratory to obtain a second small sample dye formula when there is a color difference between the color of a first bulk finished product obtained by dyeing in a production workshop according to a first bulk dye formula corresponding to a target color and the target color; the first small sample dye formula is obtained by adjusting the amount of each dye in the laboratory with the target color as the target, and the first bulk dye formula is obtained by adjusting the first small sample dye formula; A relative change amount determination module, for determining a target relative change amount of the usage of each dye relative to the first small sample dye formula based on the first bulk dye formula and the second small sample dye formula; A module for determining the bulk formula is used to adjust the first small sample dye formula based on the target relative change in the amount of each dye used to obtain a second bulk dye formula; according to the second bulk dye formula, dyeing production is carried out in the production workshop, and the color of the second bulk finished product is consistent with the target color.
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 6 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 6 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 6 are implemented.