Splitting method and device for working procedure and working hours and computer equipment
Through the cycle matching method and thread cutting time difference calculation, the problem that the Internet of Things sewing equipment cannot separate the process hours independently, and the precise separation of the process hours and the improvement of processing efficiency are achieved.
Patent Information
- Application Number
- CN202311138057.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-04
- Publication Date
- 2025-03-04
AI Technical Summary
The existing IoT sewing equipment cannot separate the process independently, making it difficult to judge the bottleneck points of the production line and the reasonable allocation of the process.
By obtaining the input data and original working hours data, including the target needle number, the actual number of needles and the thread-cutting time difference, the cycle matching method is used to determine the actual number of needles corresponding to the target needle number, and the process working hours are calculated based on the thread-cutting time difference of the sequence.
It realizes that the total working hours of a piece of clothing are split into a single process without considering the processing sequence, which facilitates statistical planning and production improvements, thereby improving processing efficiency.
Smart Images

Figure CN119558552A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of production data processing, and in particular to a method, device and computer equipment for splitting process working hours. Background Art
[0002] At present, IoT sewing equipment has basically replaced ordinary sewing machines. With the development of hanging hardware and software, workers have changed from using traditional time-keeping meters to using hanging meters to measure actual working hours.
[0003] The traditional hanging system can calculate the working hours of the process combination of the station from the entry and exit of the hanger, but it cannot obtain the working hours of a single process. In actual clothing production management, the working hours of the combined process can help determine the bottleneck and balance of the production line, and the working hours of a single process can guide the rationality of process allocation, and further help factory managers achieve a higher production line balance through the reasonable allocation of processes. Therefore, the process working hour decomposition algorithm based on the Internet of Things sewing equipment is particularly important, and the need to be able to independently split the process working hours will also bring about another innovation in clothing management.
[0004] However, in the actual processing process, the processing order of clothing is uncertain due to the operator's habits, which brings great difficulties to the splitting of the process. Summary of the invention
[0005] Based on this, it is necessary to provide a method, device and computer equipment for splitting process hours to address the above technical problems.
[0006] In a first aspect, the present application provides a method for splitting process working hours, the method comprising: obtaining input data and original working hour data; wherein the input data includes a target number of stitches corresponding to a target process, and the original working hour data includes an actual number of stitches and a time difference for thread cutting corresponding to each thread cutting in a processing cycle; cyclically matching the target number of stitches with multiple actual numbers of stitches to determine an actual number of stitches sequence corresponding to the target number of stitches; determining the process working hours corresponding to the target process according to the time difference for thread cutting corresponding to the actual number of stitches sequence.
[0007] In one embodiment, obtaining input data and original working time data includes: obtaining a target thread trimming length; and determining a target number of stitches corresponding to the target thread trimming length according to the target thread trimming length and a preset stitch length.
[0008] In one embodiment, a target number of stitches is cyclically matched with multiple actual numbers of stitches to determine an actual number of stitches sequence corresponding to the target number of stitches, including: determining a reference number of stitches based on the target number of stitches and a preset percentage threshold; cyclically matching the reference number of stitches with multiple actual numbers of stitches; if there is an actual number of stitches greater than the reference number of stitches in a processing cycle, determining that the actual number of stitches matches the target number of stitches.
[0009] In one embodiment, the input data also includes a target thread trimming number N corresponding to the target process, and the target number of stitches is cyclically matched with multiple actual numbers of stitches to determine an actual number of stitches sequence corresponding to the target number of stitches, including: determining a reference number of stitches based on the target number of stitches and a preset percentage threshold; cyclically matching the reference number of stitches with the sum of N actual numbers of stitches among the multiple actual numbers of stitches; if the sum of the N actual numbers of stitches is greater than the reference number of stitches, determining that the actual number of stitches sequence formed by the N actual numbers of stitches matches the target number of stitches.
[0010] In one embodiment, the process time corresponding to the target process is determined according to the thread trimming time difference corresponding to the actual needle number sequence, including: determining multiple thread trimming time differences corresponding to multiple actual needle numbers in the actual needle number sequence; and taking the average of the multiple thread trimming time differences as the process time corresponding to the target process.
[0011] In one embodiment, a reference number of stitches is cyclically matched with a sum of N actual numbers of stitches among a plurality of actual numbers of stitches, including: determining N actual numbers of stitches cyclically in sequence according to the order of the actual numbers of stitches in a processing cycle of the original working time data; if the sum of the current N actual numbers of stitches is greater than the reference number of stitches, determining that the actual number of stitches sequence formed by the current N actual numbers of stitches matches the target number of stitches; if the sum of the current N actual numbers of stitches is less than the reference number of stitches, matching new N actual numbers of stitches with the reference number of stitches in sequence.
[0012] In one embodiment, after the input data and the original working time data are obtained, the method further includes: filtering the original working time data according to the target number of stitches and the actual number of stitches.
[0013] In one embodiment, the original working time data is screened according to the target number of stitches and the actual number of stitches, including: determining the target number of stitches and the actual number of stitches corresponding to a processing cycle; and screening the original working time data according to the difference between the target number of stitches and the actual number of stitches.
[0014] In the second aspect, the present application also provides a device for splitting process working hours, and the device for splitting process working hours includes: an acquisition module, used to acquire input data and original working time data; wherein the input data includes a target number of stitches corresponding to a target process, and the original working time data includes an actual number of stitches and a thread cutting time difference corresponding to each thread cutting in a processing cycle; a matching module, used to cyclically match the target number of stitches with multiple actual numbers of stitches to determine an actual number of stitches sequence corresponding to the target number of stitches; a determination module, used to determine the process working hours corresponding to the target process according to the thread cutting time difference corresponding to the actual number of stitches sequence.
[0015] In a third aspect, the present application further provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
[0016] The above-mentioned method, device and computer equipment for splitting process working hours include: obtaining input data and original working hour data; wherein the input data includes the target number of needles corresponding to the target process, and the original working hour data includes the actual number of needles and the time difference of thread cutting corresponding to each thread cutting in a processing cycle; the target number of needles is matched with multiple actual numbers of needles in a loop to determine the actual number of needles sequence corresponding to the target number of needles; according to the thread cutting time difference corresponding to the actual number of needles sequence, the process working hours corresponding to the target process are determined. By matching the target number of needles and the actual number of needles in a loop in the above-mentioned manner, regardless of the processing sequence, the actual number of needles under each processing sequence can be taken into account by adopting the loop matching method, and the matching with the target number of needles is completed. In this way, the total working hours of a piece of clothing can be split into the working hours of a single process without considering the processing sequence, which is convenient for statistical planning of the working hours of each process, thereby providing a reference for production improvement and thus facilitating improving processing efficiency; further, this scheme only processes the original working hour data, does not need to add additional hardware equipment, does not need to add additional event markers to the original data, does not increase additional costs, and the scheme is simple and feasible. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 is a schematic diagram of an application environment of an embodiment of the present application;
[0018] Figure 2 is a schematic diagram of clothing according to an embodiment of the present application;
[0019] Figure 3 It is a flow chart of an embodiment of a method for splitting process time provided by the present application;
[0020] Figure 4 yes Figure 3 A schematic diagram of a flow chart of an embodiment of step 32;
[0021] Figure 5 It is a flow chart of another embodiment of the method for splitting process hours provided by the present application;
[0022] Figure 6 It is a structural schematic diagram of an embodiment of a device for splitting process hours provided by the present application;
[0023] Figure 7 It is a structural diagram of an embodiment of a computer device provided by the present application. DETAILED DESCRIPTION
[0024] 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.
[0025] The method for splitting process time provided in the embodiment of the present application can be applied to the following examples: Figure 1 In the application environment shown, Figure 1 It is a schematic diagram of an application environment of an embodiment of the present application.
[0026] The sewing machine device is an IoT sewing machine device, which records the original working time data during the working process. The original working time data includes the actual number of stitches and the time difference of thread cutting (the time difference between two adjacent thread cuttings) corresponding to each thread cutting in a processing cycle, wherein one processing cycle corresponds to one piece of clothing. Figure 2 As shown, Figure 2 This is a schematic diagram of clothing according to an embodiment of the present application. Taking a vest as an example, the vest includes two processes, side A and side B. Since there are two sides A and two sides B, the sewing machine equipment can only record the number of stitches and time for each thread cutting, but cannot determine the working hours required for each process.
[0027] Among them, the cloud platform front end is used to obtain input data, and the input data includes the target number of needles or target trimming length corresponding to the target process. The target number of needles and the target trimming length can be converted to each other according to the needle distance. It can be understood that the target number of needles or the target trimming length entered here can be changed according to the process to be counted. When it is necessary to count the working hours of multiple processes or count multiple identical processes, the number of needles or the trimming length of multiple different processes, or the sum of the trimming lengths of multiple identical processes can also be entered as the target number of needles or the target trimming length.
[0028] Among them, the back end of the cloud platform processes the thread trimming time difference according to the target number of stitches (or target thread trimming length) and the actual number of stitches to obtain the process hours corresponding to the target process, thereby splitting a processing cycle into multiple process hours, and then feeding back the process hours to the front end of the cloud platform.
[0029] In one embodiment, Figure 3 As shown, Figure 3 This is a flow chart of an embodiment of a method for splitting process time provided by the present application. Figure 1 The application environment in the example is used to illustrate the following steps:
[0030] Step 31: Obtain input data and original working time data; wherein the input data includes the target number of stitches corresponding to the target process, and the original working time data includes the actual number of stitches and the thread trimming time difference corresponding to each thread trimming in a processing cycle.
[0031] Optionally, in another embodiment, the target number of stitches in the input data may also be replaced by a target thread trimming length, and the target number of stitches corresponding to the target thread trimming length may be calculated according to the target thread trimming length and a preset stitch length.
[0032] Among them, the trimming length, number of needles, and stitch length have the following relationship:
[0033] Thread cutting length = number of stitches * stitch length
[0034] It can be understood that for sewing machines of the same specification, the stitch length is generally fixed, and therefore, the target number of stitches corresponding to the target thread trimming length can be determined based on the target thread trimming length and the stitch length.
[0035] Therefore, the input data includes the target number of stitches corresponding to the target process, and the original working time data includes the actual number of stitches and the time difference of thread trimming corresponding to each thread trimming in a processing cycle. Optionally, the format of the input data and the original working time data can be as follows:
[0036] Input data: [m1, n1], [m2, n2]...
[0037] Among them, m1 represents the number of thread trimming times in the first process, n1 represents the target number of stitches in the first process, m2 represents the number of thread trimming times in the second process, n2 represents the target number of stitches in the second process, and so on.
[0038] Original working time data: [a1, a2…][b1, b2…]
[0039] Among them, a1, a2... represent the number of stitches for each thread trimming according to the processing sequence, and b1, b2... represent the thread trimming time difference corresponding to a1, a2... For example, a1 represents the time difference between the first thread trimming and the second thread trimming. Since time statistics are recorded as "time points", it is necessary to obtain a time length through the time difference between the time point of the first thread trimming and the time point of the second thread trimming, that is, the duration of the first thread trimming.
[0040] Here Figure 2 Take the vest in the figure as an example. The vest includes two processes, namely, side A and side B. Each process includes two thread cuttings, namely, two sides A and two sides B. Then, the format of the above input data and original working time data can be as follows:
[0041] Input data: [2, n1], [2, n2]
[0042] Original working time data: [a1, a2, a3, a4] [b1, b2, b3, b4]
[0043] Optionally, in one embodiment, after step 31, the original working time data may be filtered. It can be understood that the original working time data is in units of clothing, and each piece of clothing corresponds to a set of data. Specifically, the data may be filtered in the following two ways:
[0044] The first method is to determine the target number of stitches and the actual number of stitches corresponding to a processing cycle; and filter the original working time data based on the difference between the target number of stitches and the actual number of stitches.
[0045] In the first method, (n1+n2+…) is mainly compared with (a1+a2+…). In the embodiment of the vest described above, (n1+n2) is compared with (a1+a2+a3+a4). Here, the 90% threshold is taken as an example. When screening data, the original working time data of (a1+a2+…) greater than 90% of (n1+n2+…) is retained, and the remaining data is discarded; in the embodiment of the vest described above, the original working time data of (a1+a2+a3+a4) greater than 90% of (n1+n2) is retained, and the remaining data is discarded.
[0046] The second method is to obtain the actual number of stitches and each processing cycle in the original working time data; and filter the original working time data according to the difference in the actual number of stitches and each processing cycle.
[0047] In the second method, the (a1+a2+...) in each set of data is compared with each other. In the embodiment of the vest described above, the (a1+a2+a3+a4) in each set of data is compared. Here, the comparison can be made in various ways such as mean and variance. Taking the mean as an example, the average value of (a1+a2+a3+a4) in each set of data is first determined, and then a numerical range is determined based on the average value, such as 90%-110%, and the data within the range of 90%-110% of the average value is retained, and the data beyond the range of 90%-110% of the average value is eliminated.
[0048] Step 32: cyclically matching the target number of needles with a plurality of actual numbers of needles to determine a sequence of actual numbers of needles corresponding to the target number of needles.
[0049] It can be understood that there is a certain corresponding relationship between the target number of stitches and the actual number of stitches. Furthermore, in the original working time data, the actual number of stitches and the working time are also in a one-to-one correspondence. Therefore, through the above-mentioned input data and original working time data, the relationship between the target number of stitches and the working time can be determined; further, since the input target number of stitches is based on the process, then the time corresponding to each process can be determined.
[0050] In one embodiment, taking the number of thread trimming times as 1 as an example, the reference number of stitches is determined based on the target number of stitches and a preset percentage threshold; the reference number of stitches is cyclically matched with multiple actual numbers of stitches; if the actual number of stitches in a processing cycle is greater than the reference number of stitches, it is determined that the actual number of stitches matches the target number of stitches.
[0051] Specifically, assume that:
[0052] Input data: [m1, n1], [m2, n2]...
[0053] Original working time data: [a1, a2…][b1, b2…]
[0054] Taking m1=1 as an example, the reference number of stitches is determined according to the target number of stitches and the preset percentage threshold; if the actual number of stitches in a processing cycle is greater than the reference number of stitches, it is determined that the actual number of stitches matches the target number of stitches.
[0055] Specifically, assuming that the preset percentage threshold is 90%, the reference number of stitches is determined to be 90% n1 based on n1 and 90%, and then a1, a2, etc. are compared with 90% n1 in turn. If an actual number of stitches is greater than 90% n1, the actual number of stitches is determined to match it. For example, if a1 is greater than 90% n1, then a1 is determined to match 90% n1, and b1 corresponding to a1 is the working time of the corresponding process.
[0056] In another embodiment, if Figure 4 As shown, Figure 4 yes Figure 3 The flowchart of step 32 of an embodiment of the present invention is shown in FIG. 3 , and step 32 may include:
[0057] Step 321: Determine a reference number of stitches according to the target number of stitches and a preset percentage threshold.
[0058] Assuming that the preset percentage threshold is 90%, the reference number of needles and the target number of needles satisfy: reference number of needles = target number of needles * 90%.
[0059] Step 322: cyclically matching the reference needle number with the sum of N actual needle numbers among the multiple actual needle numbers.
[0060] It can be understood that there is a corresponding relationship between the target number of stitches and the actual number of stitches, and there is a corresponding relationship between the actual number of stitches and the actual working hours. Therefore, as long as the actual number of stitches that matches the target number of stitches is determined, the corresponding actual working hours can be further determined, thereby determining the working hours corresponding to a process.
[0061] Take the above data format as an example:
[0062] Input data: [m1, n1], [m2, n2]...
[0063] Original working time data: [a1, a2…][b1, b2…]
[0064] In an application scenario, the working hours of the first process [m1, n1] are obtained. Since m1 represents the number of thread trimmings, it is necessary to obtain m1 data in [a1, a2...] and compare the sum of m1 data with n1 to determine whether they match.
[0065] Step 323: If the sum of the N actual needle numbers is greater than the reference needle number, it is determined that the actual needle number sequence formed by the N actual needle numbers matches the target needle number.
[0066] Taking m1 greater than 1 as an example, the reference number of needles is determined according to the target number of needles and the preset percentage threshold; the reference number of needles is cyclically matched with the sum of N actual numbers of needles among multiple actual numbers of needles; if the sum of the N actual numbers of needles is greater than the reference number of needles, it is determined that the actual number of needles sequence formed by the N actual numbers of needles matches the target number of needles.
[0067] Specifically, assuming that the preset percentage threshold is 90%, the reference number of stitches is determined to be 90% n1 based on n1 and 90%, and then the sum of m1 data in a1, a2, ... is compared with 90% n1 in turn. If the sum of m1 actual numbers of stitches is greater than 90% n1, then the m1 actual numbers of stitches are determined to match it. For example, m1=2, the sum of a1 and a2 is greater than 90% n1, then a1 and a2 are determined to match 90% n1, and the average of b1 and b2 corresponding to a1 and a2 is the working time of the corresponding process.
[0068] Optionally, in one embodiment, in the actual processing, the process is uncertain. Taking the two A sides and two B sides of the vest as an example, in the actual processing, the two A sides may be processed first, and then the two B sides, or one A side and one B side may be processed first, and then the remaining A side and the remaining B side may be processed.
[0069] Therefore, in this embodiment, according to the order of the actual number of stitches in a processing cycle of the original working time data, the N actual numbers of stitches are determined in sequence and in a cycle; if the sum of the current N actual numbers of stitches is greater than the reference number of stitches, it is determined that the actual number of stitches sequence formed by the current N actual numbers of stitches matches the target number of stitches; if the sum of the current N actual numbers of stitches is less than the reference number of stitches, the new N actual numbers of stitches are rotated in sequence to match the reference number of stitches.
[0070] Take the above data format as an example:
[0071] Input data: [2, n1], [2, n2]
[0072] Original working time data: [a1, a2, a3, a4] [b1, b2, b3, b4]
[0073] Here, process [2, n1] is used for illustration. The number of thread trimmings in process [2, n1] is 2. Then, when matching, the target number of needles n1 is determined, and the reference number of needles is 2*90%*n1. Further, 2*90%*n1 is matched with the sum of the two actual numbers of needles in [a1, a2, a3, a4] in sequence. Specifically, the matching can be performed in the order of a1, a2, a3, and a4. For example, 2*90%*n1 is matched with (a1+a2), (a2+a3), (a3+a4), and (a4+a1) in sequence. In other embodiments, it can also be matched with (a1+a3).
[0074] Please refer to the cycle scheme shown in the following data for details:
[0075] a=[0,1,2,3]
[0076] b = [1, 2, 3, 0]
[0077] c = [2, 3, 0, 1]
[0078] d = [3, 0, 1, 2]
[0079] If the conditions are satisfied in the first calculation according to the original order, then the order of array a can be used, that is, [0, 1] and [2, 3]. If the conditions are not satisfied, the first backward shift is required. The order obtained from array a is [1, 2] and [3, 0]. Similarly, if the conditions are satisfied, the order stops. If the conditions are not satisfied, the backward shift continues, and the order is [2, 3] and [0, 1], [3, 0] and [1, 2] respectively. Because the thread is trimmed 4 times in the embodiment of the vest, the maximum number of cycles is 4. It can be understood that the backward shift of a actually means that arrays b, c, and d are calculated in order (that is, the first plus the second, the third plus the fourth). Therefore, the method of implementing the circular calculation in this scheme is to delete the first element of array a and then add it to the end. While the stitch number data is processed in this way, the working time data is processed in the same way to ensure that the stitch number and working time correspond one to one.
[0080] As long as the needle number condition is met in the loop, the loop is stopped and the obtained working time data is recorded in two arrays, process working time A and process working time B. If the loop is repeated 4 times (the number of loops is the total number of needles input, which is 4 times in this embodiment) and no result is obtained, the abnormal data is deleted.
[0081] Step 33: Determine the process hours corresponding to the target process according to the thread trimming time difference corresponding to the actual needle number sequence.
[0082] Among them, a plurality of thread trimming time differences respectively corresponding to a plurality of actual numbers of stitches matching the target number of stitches are determined; and an average of the plurality of thread trimming time differences is used as the process hours corresponding to the target process.
[0083] The method for splitting the process time provided in this embodiment includes: obtaining input data and original time data; wherein the input data includes the target number of needles corresponding to the target process, and the original time data includes the actual number of needles and the time difference of thread cutting corresponding to each thread cutting in a processing cycle; the target number of needles is matched with multiple actual numbers of needles in a loop to determine the actual number of needles sequence corresponding to the target number of needles; according to the thread cutting time difference corresponding to the actual number of needles sequence, the process time corresponding to the target process is determined. By matching the target number of needles and the actual number of needles in a loop in the above manner, regardless of the processing sequence, the actual number of needles under each processing sequence can be taken into account by adopting the loop matching method, and the matching with the target number of needles can be completed. In this way, the total working time of a piece of clothing can be split into the working time of a single process without considering the processing sequence, which is convenient for statistical planning of the working time of each process, thereby providing a reference for production improvement and thus facilitating improving processing efficiency; further, this scheme only processes the original working time data, does not need to add additional hardware equipment, does not need to add additional event markers to the original data, does not increase additional costs, and the scheme is simple and feasible.
[0084] See below Figure 5 , Figure 5 This is a flow chart of another embodiment of the method for splitting process hours provided by the present application. Figure 2 The application scenario includes two processes A and B, and each process includes two thread trimmings, namely two A processes and two B processes, including the following steps:
[0085] Step 51: Obtain input data and original working time data; wherein the input data includes the target number of stitches corresponding to the target process, and the original working time data includes the actual number of stitches and the thread trimming time difference corresponding to each thread trimming in a processing cycle.
[0086] Refer to the above Figure 2 , in a specific application scenario:
[0087] Input data: [2, 120], [2, 130]
[0088] Original working time data: [a1, a2, a3, a4] [b1, b2, b3, b4]
[0089] It is worth noting that 120 and 130 here represent the number of needles. In other embodiments, the input data may also be the trimming length. The corresponding number of needles can be calculated according to the trimming length and the stitch length. It can be understood that the input data, whether it is the trimming length or the number of needles, is included in the scope of this application, and the two can be converted accordingly. The following are three sets of original working time data for reference:
[0090] [66.0, 71.0, 65.0, 64.0] [21.90, 11.60, 21.80, 17.40]
[0091] [13.0, 60.0, 67.0, 127.0] [5.30, 13.30, 12.70, 45.60]
[0092] [66.0, 73.0, 13.0, 80.0] [20.90, 12.50, 5.20, 14.20]
[0093] Step 52: Filter the original working time data.
[0094] Obviously, the sum of [66.0, 73.0, 13.0, 80.0] is less than 90%*(120+130), so the third group of data can be eliminated and the first and second groups of data can be retained.
[0095] Step 53: Determine the reference number of stitches according to the target number of stitches and a preset percentage threshold.
[0096] Among them, the reference number of needles for the first process is 90%*120, and the reference number of needles for the second process is 90%*130.
[0097] Step 54: Determine N actual needle numbers that are the same as the target thread trimming times in a processing cycle, and obtain an actual needle number sequence.
[0098] Taking [66.0, 71.0, 65.0, 64.0][21.90, 11.60, 21.80, 17.40] as an example, according to [66.0, 71.0, 65.0, 64.0], we get two sets of data (66+71) and (65+64).
[0099] Step 55: If the sum of the N actual needle numbers is greater than the reference needle number, it is determined that the N actual needle numbers match the target needle number.
[0100] If (66+71) is greater than 90%*120 and (65+64) is greater than 90%*130, it is considered that (66+71) matches the first process and (65+64) matches the second process.
[0101] Step 56: Determine N thread trimming time differences corresponding to N actual numbers of needles that match the target number of needles.
[0102] Among them, the actual thread trimming time difference corresponding to the actual number of stitches (66+71) is (21.90, 11.60), and the actual thread trimming time difference corresponding to (65+64) is (21.80, 17.40).
[0103] Step 57: The average of the N thread trimming time differences is used as the process time corresponding to the target process.
[0104] Among them, the process hours for the first process are (21.90+11.60) / 2, and the process hours for the second process are (21.80+17.40) / 2.
[0105] 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.
[0106] Based on the same inventive concept, the embodiment of the present application also provides a device for realizing the above-mentioned process time splitting. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific definition in the embodiment of the device for splitting one or more process time splitting provided below can refer to the definition of the process time splitting method above, and will not be repeated here.
[0107] In one embodiment, Figure 6 As shown, Figure 6 1 is a schematic diagram of the structure of an embodiment of a device for splitting process time provided in the present application. The device 60 for splitting process time includes an acquisition module 61, a matching module 62 and a determination module 63.
[0108] Among them, the acquisition module 61 is used to acquire input data and original working time data; wherein, the input data includes the target number of stitches corresponding to the target process, and the original working time data includes the actual number of stitches and the thread cutting time difference corresponding to each thread cutting in a processing cycle; the matching module 62 is used to cyclically match the target number of stitches with multiple actual numbers of stitches to determine the actual number of stitches sequence corresponding to the target number of stitches; the determination module 63 is used to determine the process working time corresponding to the target process according to the thread cutting time difference corresponding to the actual number of stitches sequence.
[0109] Optionally, in one embodiment, the acquisition module 61 is used to acquire a target thread trimming length; and determine a target number of stitches corresponding to the target thread trimming length according to the target thread trimming length and a preset stitch length.
[0110] Optionally, in one embodiment, the matching module 62 is used to determine a reference number of stitches based on a target number of stitches and a preset percentage threshold; cyclically match the reference number of stitches with multiple actual numbers of stitches; if the actual number of stitches in a processing cycle is greater than the reference number of stitches, determine that the actual number of stitches matches the target number of stitches.
[0111] Optionally, in one embodiment, the matching module 62 is used to determine a reference number of needles based on a target number of needles and a preset percentage threshold; cyclically match the reference number of needles with the sum of N actual numbers of needles among multiple actual numbers of needles; if the sum of the N actual numbers of needles is greater than the reference number of needles, determine that the actual number of needles sequence formed by the N actual numbers of needles matches the target number of needles.
[0112] Optionally, in one embodiment, the determination module 63 is used to determine a plurality of thread trimming time differences corresponding to a plurality of actual needle numbers in the actual needle number sequence; and take the average of the plurality of thread trimming time differences as the process hours corresponding to the target process.
[0113] Optionally, in one embodiment, the matching module 62 is used to determine N actual numbers of stitches in a cycle according to the order of the actual numbers of stitches in a processing cycle of the original working time data; if the sum of the current N actual numbers of stitches is greater than the reference number of stitches, it is determined that the actual number of stitches sequence formed by the current N actual numbers of stitches matches the target number of stitches; if the sum of the current N actual numbers of stitches is less than the reference number of stitches, the new N actual numbers of stitches are matched with the reference number of stitches in sequence.
[0114] Optionally, in one embodiment, the acquisition module 61 is used to filter the original working time data according to the target number of stitches and the actual number of stitches.
[0115] Optionally, in one embodiment, the acquisition module 61 is used to determine the target sum of stitches and the actual sum of stitches corresponding to a processing cycle; and filter the original working time data according to the difference between the target sum of stitches and the actual sum of stitches.
[0116] Each module in the above process working time splitting device can be implemented in whole or in part by software, hardware and their combination. Each module 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 of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.
[0117] 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 7 As shown, Figure 71 is a schematic diagram of the structure of an embodiment of a computer device provided by the present application. The computer device includes a processor, a memory and a network interface connected via a system bus. 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 the acquired input data, the original working time data and the parameter data of the sewing machine. The parameter data of the sewing machine may include the stitch length. In addition, the database can also be used to store the split process working time data. 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 splitting process working time is implemented.
[0118] Those skilled in the art will understand that Figure 7 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.
[0119] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: obtaining input data and original working time data; wherein the input data includes a target number of stitches corresponding to a target process, and the original working time data includes an actual number of stitches and a time difference for thread trimming corresponding to each thread trimming in a processing cycle; cyclically matching the target number of stitches with a plurality of actual numbers of stitches to determine an actual number of stitches sequence corresponding to the target number of stitches; and determining the process working time corresponding to the target process according to the time difference for thread trimming corresponding to the actual number of stitches sequence.
[0120] In one embodiment, when the processor executes the computer program, the following steps are further implemented: obtaining a target thread trimming length; and determining a target number of stitches corresponding to the target thread trimming length according to the target thread trimming length and a preset stitch length.
[0121] In one embodiment, when the processor executes the computer program, the following steps are also implemented: determining a reference number of stitches based on a target number of stitches and a preset percentage threshold; cyclically matching the reference number of stitches with multiple actual numbers of stitches; if the actual number of stitches in a processing cycle is greater than the reference number of stitches, determining that the actual number of stitches matches the target number of stitches.
[0122] In one embodiment, when the processor executes the computer program, the following steps are also implemented: determining a reference number of needles based on a target number of needles and a preset percentage threshold; cyclically matching the reference number of needles with the sum of N actual numbers of needles among a plurality of actual numbers of needles; if the sum of the N actual numbers of needles is greater than the reference number of needles, determining that an actual number sequence formed by the N actual numbers of needles matches the target number of needles.
[0123] In one embodiment, when the processor executes the computer program, the following steps are also implemented: determining multiple thread trimming time differences corresponding to multiple actual needle numbers in the actual needle number sequence; and taking the average of the multiple thread trimming time differences as the process time corresponding to the target process.
[0124] In one embodiment, when the processor executes the computer program, the following steps are also implemented: according to the order of the actual number of needles in a processing cycle of the original working time data, N actual numbers of needles are determined in sequence and in a cycle; if the sum of the current N actual numbers of needles is greater than the reference number of needles, it is determined that the actual number of needles sequence formed by the current N actual numbers of needles matches the target number of needles; if the sum of the current N actual numbers of needles is less than the reference number of needles, the new N actual numbers of needles are rotated in sequence to match the reference number of needles.
[0125] In one embodiment, when the processor executes the computer program, the following steps are further implemented: filtering the original working time data according to the target number of stitches and the actual number of stitches.
[0126] In one embodiment, when the processor executes the computer program, the following steps are also implemented: determining the target number of stitches and the actual number of stitches corresponding to a processing cycle; and screening the original working time data according to the difference between the target number of stitches and the actual number of stitches.
[0127] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: obtaining input data and original working time data; wherein the input data includes a target number of stitches corresponding to a target process, and the original working time data includes an actual number of stitches and a time difference for thread trimming corresponding to each thread trimming in a processing cycle; cyclically matching the target number of stitches with a plurality of actual numbers of stitches to determine an actual number of stitches sequence corresponding to the target number of stitches; and determining the process working time corresponding to the target process according to the time difference for thread trimming corresponding to the actual number of stitches sequence.
[0128] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: obtaining a target thread trimming length; and determining a target number of stitches corresponding to the target thread trimming length according to the target thread trimming length and a preset stitch length.
[0129] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining a reference number of stitches based on a target number of stitches and a preset percentage threshold; cyclically matching the reference number of stitches with multiple actual numbers of stitches; if the actual number of stitches in a processing cycle is greater than the reference number of stitches, determining that the actual number of stitches matches the target number of stitches.
[0130] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining a reference number of needles based on a target number of needles and a preset percentage threshold; cyclically matching the reference number of needles with N actual numbers of needles among a plurality of actual numbers of needles; and if the sum of the N actual numbers of needles is greater than the reference number of needles, determining that an actual number sequence formed by the N actual numbers of needles matches the target number of needles.
[0131] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining multiple thread trimming time differences corresponding to multiple actual needle numbers in the actual needle number sequence; and taking the average of the multiple thread trimming time differences as the process time corresponding to the target process.
[0132] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: according to the order of the actual number of needles in a processing cycle of the original working time data, N actual numbers of needles are determined in sequence and in a cycle; if the sum of the current N actual numbers of needles is greater than the reference number of needles, it is determined that the actual number of needles sequence formed by the current N actual numbers of needles matches the target number of needles; if the sum of the current N actual numbers of needles is less than the reference number of needles, the new N actual numbers of needles are rotated in sequence to match the reference number of needles.
[0133] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: filtering the original working time data according to the target number of stitches and the actual number of stitches.
[0134] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining the target number of stitches and the actual number of stitches corresponding to a processing cycle; and screening the original working time data according to the difference between the target number of stitches and the actual number of stitches.
[0135] 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 specification.
[0136] 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 splitting process time, characterized in that: The method comprises: Acquire input data and original working time data; wherein the input data includes the target number of stitches corresponding to the target process, and the original working time data includes the actual number of stitches and the time difference of thread trimming corresponding to each thread trimming in a processing cycle; Circularly matching the target number of needles with a plurality of the actual numbers of needles to determine a sequence of actual numbers of needles corresponding to the target number of needles; The process hours corresponding to the target process are determined according to the thread trimming time difference corresponding to the actual needle number sequence.
2. The method according to claim 1, characterized in that The step of obtaining input data and original working time data includes: Get the target trimming length; According to the target thread trimming length and the preset stitch length, a target number of stitches corresponding to the target thread trimming length is determined.
3. The method according to claim 1, characterized in that The step of cyclically matching the target number of needles with the plurality of actual numbers of needles to determine a sequence of actual numbers of needles corresponding to the target number of needles includes: Determine a reference number of needles according to the target number of needles and a preset percentage threshold; Circularly matching the reference needle number with a plurality of actual needle numbers; If the actual number of needles in a processing cycle is greater than the reference number of needles, it is determined that the actual number of needles matches the target number of needles.
4. The method according to claim 1, characterized in that: The input data also includes a target thread trimming number N corresponding to the target process, and the target number of needles is cyclically matched with a plurality of actual numbers of needles to determine a sequence of actual numbers of needles corresponding to the target number of needles, including: Determine a reference number of needles according to the target number of needles and a preset percentage threshold; Circularly matching the reference needle number with the sum of N actual needle numbers among the multiple actual needle numbers; If the sum of N actual needle numbers is greater than the reference needle number, it is determined that the actual needle number sequence formed by the N actual needle numbers matches the target needle number.
5. The method according to claim 4, characterized in that The step of determining the process time corresponding to the target process according to the thread trimming time difference corresponding to the actual needle number sequence includes: Determine a plurality of thread trimming time differences respectively corresponding to a plurality of actual needle numbers in the actual needle number sequence; The average of the multiple thread trimming time differences is used as the process time corresponding to the target process.
6. The method according to claim 4, characterized in that The step of cyclically matching the reference needle number with the sum of N actual needle numbers among the plurality of actual needle numbers comprises: According to the sequence of the actual number of stitches in one processing cycle of the original working time data, N actual numbers of stitches are determined cyclically in sequence; If the sum of the current N actual needle numbers is greater than the reference needle number, determining that the actual needle number sequence formed by the current N actual needle numbers matches the target needle number; If the sum of the current N actual needle numbers is less than the reference needle number, the new N actual needle numbers are sequentially rotated to match the reference needle number.
7. The method according to claim 1, characterized in that After obtaining the input data and the original working time data, the method further includes: The original working time data is screened according to the target number of stitches and the actual number of stitches.
8. The method according to claim 7, characterized in that The screening of the original working time data according to the target number of stitches and the actual number of stitches includes: Determine the target number of stitches and the actual number of stitches corresponding to a processing cycle; The original working time data is screened according to the difference between the target sum of stitch numbers and the actual sum of stitch numbers.
9. A device for splitting process time, characterized in that: The splitting device of the process time comprises: An acquisition module, used to acquire input data and original working time data; wherein the input data includes a target number of stitches corresponding to a target process, and the original working time data includes an actual number of stitches and a time difference of thread trimming corresponding to each thread trimming in a processing cycle; A matching module, used for cyclically matching the target number of needles with a plurality of the actual numbers of needles to determine a sequence of actual numbers of needles corresponding to the target number of needles; The determination module is used to determine the process time corresponding to the target process according to the thread trimming time difference corresponding to the actual stitch number sequence.
10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.