Sewing piece-rate method and apparatus, electronic device, and storage medium
By acquiring event data during the sewing process, an array of pieces to be counted is constructed. Combined with the working hours and fluctuation range in the standard sewing template, the system automatically determines whether an employee has completed the sewing of a garment. This solves the problem that the standard working hour system cannot accurately reflect the actual output of employees, and realizes the automatic and accurate calculation of garment production.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- JACK SEWING MASCH CO LTD
- Filing Date
- 2025-10-27
- Publication Date
- 2026-05-28
AI Technical Summary
The existing standard time system is difficult to accurately reflect the actual output of each employee, resulting in low accuracy in estimating the output of garment sewing by employees.
By acquiring event data during the sewing process, an array of pieces to be counted is constructed. Combined with the standard process time and fluctuation range in the standard sewing template, it automatically determines whether an employee has completed the sewing of a garment. The accuracy of the piece count results is improved by optimizing the fluctuation range settings.
It enables automatic and accurate calculation of employee garment sewing output, optimizes the floating range setting, and improves the accuracy of piecework results.
Smart Images

Figure CN2025130339_28052026_PF_FP_ABST
Abstract
Description
Sewing piece counting method, device, electronic equipment and storage medium TECHNICAL FIELD
[0001] The present application belongs to the technical field of garment manufacturing, and relates to a sewing piece counting method, device, electronic equipment and storage medium. BACKGROUND
[0002] With the progress of science and technology, Internet of Things technology has been widely applied in the field of garment production. Internet of Things sewing equipment can automatically collect employees' sewing data, and through in-depth analysis and processing of these sewing data, factory managers can monitor the running status of the production line in real time, timely discover and solve potential problems, thereby significantly improving production efficiency and product quality.
[0003] In modern garment enterprise management practice, standard time system is widely used. The system not only helps to fairly evaluate the work performance of employees, but also provides an important basis for the formulation of production plan, ensuring the rationality and efficiency of production line scheduling. However, due to the differences in work habits and technical ability of each employee, even if faced with the same process, the time required by different employees to complete may be significantly different. Therefore, the existing standard time system often fails to accurately reflect the actual output of each employee. SUMMARY
[0004] The purpose of the present application is to provide a sewing piece counting method, device, electronic equipment and storage medium, which solves the technical problem of low estimation accuracy of actual work output of employees in the prior art.
[0005] In a first aspect, the present application provides a sewing piece counting method, comprising: obtaining event data generated by an employee when operating a specific sewing process; obtaining a standard sewing template matched with the sewing process; the standard sewing template includes standard process time, standard thread cutting frequency and standard floating range; constructing a to-be-counted array based on the event data and the standard thread cutting frequency; each element in the to-be-counted array represents the actual working hours required by the employee to complete the sewing of one piece of garment; comparing the actual working hours with the standard piece counting working hours determined based on the standard process time and the standard floating range, and judging whether the employee completes the sewing of one piece of garment according to the comparison result; if yes, accumulating the number of garment sewing pieces; otherwise, keeping the number of garment sewing pieces unchanged.
[0006] In an implementation manner of the first aspect, the event data includes event type and corresponding time stamp; the event type at least includes motor starting action and thread cutting action.
[0007] In an implementation manner of the first aspect, constructing a to-be-counted array based on the event data and the standard thread cutting frequency comprises:
[0008] calculating a difference between the time stamp corresponding to the motor starting action and the time stamp corresponding to the Kth cutting action downstream of the motor starting action, to obtain a first time difference, wherein K represents the standard number of cutting actions;
[0009] adding the first time difference as a first element to the to-be-counted array;
[0010] calculating a difference between the time stamp corresponding to the Kth cutting action and the time stamp corresponding to the (K-1)th cutting action, to obtain a second time difference, wherein n is any real number greater than or equal to 2;
[0011] adding the second time difference to the to-be-counted array in turn.
[0012] In an implementation form of the first aspect, the standard piecework time is determined using the following formula: standard piecework time = standard process time x standard floating range.
[0013] In an implementation form of the first aspect, the comparison of the actual time with the standard piecework time determined based on the standard process time and the standard floating range, and the determination of whether the employee completes the sewing of one piece of garment according to the comparison result comprises:
[0014] traversing the to-be-counted array to obtain a to-be-compared actual time;
[0015] determining whether the to-be-compared actual time is greater than the standard piecework time;
[0016] If yes, it is determined that the employee has completed the sewing of one piece of garment.
[0017] If not, it is determined that the employee has not completed the sewing of one piece of garment.
[0018] In an implementation form of the first aspect, the setting method of the standard floating range is related to the standard process time; and the setting method of the standard floating range comprises:
[0019] determining a value range of the standard process time;
[0020] setting the standard floating range corresponding to the value range according to a preset standard process time and standard floating range table.
[0021] In an implementation form of the first aspect, the setting method of the standard floating range comprises:
[0022] Step S1, obtaining an initial floating range set by an administrator;
[0023] Step S2, calculating a theoretical number of garments sewn by the employee within a preset working time based on the initial floating range;
[0024] Step S3, counting the actual number of clothing sewing pieces of the employee in the same working time;
[0025] Step S4, comparing the actual number of clothing sewing pieces with the theoretical number of clothing sewing pieces;
[0026] Step S5, adjusting the value of the floating range according to the comparison result, and updating the adjusted floating range as a new initial floating range;
[0027] Step S6, repeating steps S2 to S5 until the value of the floating range tends to be stable;
[0028] Step S7, recording the final stable value of the floating range as the standard floating range.
[0029] In a second aspect, the present application provides a sewing piece counting device, comprising: a data acquisition module configured to acquire event data generated by an employee when operating a specific sewing process; a template acquisition module configured to acquire a standard sewing template matched with the sewing process; the standard sewing template comprises a standard process working hour, a standard thread cutting frequency and a standard floating range; an array construction module configured to construct a to-be-counted array based on the event data and the standard thread cutting frequency; each element in the to-be-counted array represents an actual working hour required by the employee to complete sewing of one piece of clothing; a working hour comparison module configured to compare the actual working hour with a standard piece counting working hour determined based on the standard process working hour and the standard floating range, and determine whether the employee has completed sewing of one piece of clothing according to a comparison result; and a piece number counting module configured to accumulate a clothing sewing piece number when it is determined that the employee has completed sewing of one piece of clothing, and keep the clothing sewing piece number unchanged when it is determined that the employee has not completed sewing of one piece of clothing.
[0030] In a third aspect, the present application provides an electronic device, comprising: a processor and a memory; the memory is configured to store a computer program; the processor is configured to execute the computer program stored in the memory, so that the electronic device executes the sewing piece counting method of any one of the above aspects.
[0031] In a fourth aspect, the present application provides a computer readable storage medium, which stores a computer program, and the program is executed by a processor to implement the sewing piece counting method of any one of the above aspects.
[0032] As described above, the sewing piece counting method, device, electronic device and storage medium of the present application can realize automatic and accurate calculation of the production of clothing sewn by employees, and improve the accuracy of the piece counting result by optimizing the setting method of the floating range. BRIEF DESCRIPTION OF DRAWINGS
[0033] FIG. 1 shows a schematic diagram of a sewing machine system according to an embodiment of the present application.
[0034] FIG. 2 shows a schematic diagram of a mobile terminal according to an embodiment of the present application.
[0035] FIG. 3 shows a flowchart of a sewing machine method according to an embodiment of the present application.
[0036] FIG. 4 shows a schematic diagram of event data according to an embodiment of the present application.
[0037] FIG. 5 shows a schematic diagram of a standard sewing template according to an embodiment of the present application.
[0038] FIG. 6 shows a schematic diagram of event data according to another embodiment of the present application.
[0039] FIG. 7 shows a bar chart of actual sewing time according to an embodiment of the present application.
[0040] FIG. 8 shows a schematic diagram of a sewing machine device according to an embodiment of the present application.
[0041] FIG. 9 shows a schematic diagram of an electronic terminal according to an embodiment of the present application. DETAILED DESCRIPTION
[0042] The present application is herein described, by way of example only, with reference to the accompanying drawings, FIGS. 1-9. It is to be understood that
[0043] It is also to be understood that the following examples are only illustrative of the present application and are not intended to limit the scope of the present application. Where particular embodiments are described, the features of those embodiments can be combined with the features of other embodiments, unless specifically noted otherwise.
[0044] In addition, the descriptions such as "first", "second" and the like in the present application are only for the purpose of description, and cannot be understood as indicating or implying the relative importance of the technical features or implicitly indicating the number of the technical features indicated. Therefore, the features defined as "first", "second" can be explicitly or implicitly included at least one of the features. In addition, the technical solutions of various embodiments can be combined with each other, but it must be based on the realization of ordinary skilled in the art, when the combination of technical solutions appears contradictory or unachievable, it should be considered that the combination of technical solutions does not exist, nor within the protection scope required by the present application.
[0045] The following embodiments of the present application provide a sewing piece counting method, device, electronic equipment and storage medium. The sewing piece counting device as an important component of the sewing piece counting system can help clothing production enterprises to better manage the clothing production process, optimize resource allocation, and thus improve the overall production efficiency.
[0046] Please refer to FIG. 1, which shows a structural schematic diagram of the sewing piece counting system according to the present application in an embodiment. As shown in FIG. 1, the sewing piece counting system includes a sewing piece counting device, an Internet of Things sewing equipment and a standard working hour system.
[0047] Specifically, the sewing piece counting device is used to execute the sewing piece counting method according to the embodiments of the present application. The Internet of Things sewing equipment is used to provide the sewing piece counting device with event data generated by an employee when operating a specific sewing process. The standard working hour system is used to provide the sewing piece counting device with a standard sewing template matched with the sewing process; the standard sewing template includes a standard process working hour, a standard thread cutting frequency and a standard floating range.
[0048] The sewing piece counting method provided by the embodiments of the present application can run in a mobile terminal, a computer terminal and the like. Taking the running on the mobile terminal as an example, FIG. 2 is a hardware structure block diagram of the mobile terminal. As shown in FIG. 2, the mobile terminal can include a processor and a memory, the processor can be a central processing unit, and the memory is used to store data. The mobile terminal in FIG. 2 is only for example, and is not limited to the specific structure of the mobile terminal.
[0049] Optionally, the mobile terminal can further include a communication transmission device and an input and output device.
[0050] Optionally, the memory can be used to store computer programs, such as application software programs and modules. The memory may include high-speed random access memory (RAM) and non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memories. In some instances, the memory may further include memory remotely located relative to the processor, which can be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks (LANs), mobile communication networks, and combinations thereof.
[0051] Optionally, the communication transmission device can be used to receive or send data via a network, which may include a wireless network provided by the mobile terminal's communication provider. The communication transmission device may include a NIC (Network Interface Controller), which can be connected to other network devices via a base station to communicate with the Internet.
[0052] The technical solutions in the embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0053] Please refer to Figure 3, which shows a flowchart of a sewing piece-counting method according to an embodiment of this application. As shown in Figure 3, this embodiment provides a sewing piece-counting method, including the following steps S100 to S500.
[0054] In step S100, event data generated by employees when performing specific sewing processes is acquired.
[0055] During garment sewing, employees may choose to perform multiple sewing processes simultaneously, or separate and complete each sewing process independently, depending on the specific production scenario. The piece-rate method proposed in this application can adapt to the needs of employees in different production scenarios, supporting both overall piece-rate calculation for multiple sewing processes and individual piece-rate calculation for each sub-process. This flexible piece-rate method helps improve production efficiency.
[0056] The event data can be acquired through a data acquisition module on an IoT sewing device. This module can be any type of sensor or RFID, capable of accurately recording a series of events that occur during the garment sewing process.
[0057] In one embodiment of this application, the event data includes event types and corresponding timestamps. The event types include at least motor starting actions and wire cutting actions.
[0058] Please refer to Figure 4, which shows a schematic diagram of the event data described in this application in one embodiment. As shown in Figure 4, the event data also includes a timestamp, which is separated from the event type and the event parameters by a comma.
[0059] Specifically, the timestamp is recorded in the format "yyyy-MM-ddHH:mm:ss.SSS", where "yyyy-MM-dd" represents the year, month, and day, "HH:mm:ss" represents the hour, minute, and second, and ".SSS" represents the millisecond.
[0060] The numerical range of the event type is 0 to 10, representing various actions or states of the IoT sewing equipment. For example, "0" represents the equipment being turned off, "1" represents the equipment being turned on, "2" represents the motor starting, "3" represents the motor stopping, "4" represents the presser foot being raised, "5" represents the presser foot being lowered, "6" represents thread cutting (front cutting for overlock sewing), "7" represents back thread cutting (applicable to overlock sewing), "8" represents one piece being electronically controlled, "9" represents reinforcing stitch, and "10" represents stitch length adjustment.
[0061] Event parameters correspond one-to-one with event types. For example, when the event type value is "0", the event parameter represents the current working time (in seconds); when the event type value is "1", the event parameter represents the stitch length at startup; when the event type value is "3", the event parameter represents the number of stitches produced from motor startup to motor shutdown; when the event type value is "9", event parameter 101 represents 1 front stitch, equipment parameter 102 represents 2 front stitches, event parameter 201 represents 1 rear stitch, event parameter 202 represents 2 rear stitches, event parameter 301 represents 1 manual backstitch, and event parameter 42 represents a W-stitch; when the event type value is "10", the event parameter represents the adjusted stitch length.
[0062] In step S200, a standard sewing template matching the sewing process is obtained.
[0063] In practical applications, each sewing process typically requires a standard sewing template to guide employee operations. The standard sewing template described in this embodiment can be obtained through a standard time management system.
[0064] A standard time system is a system used to calculate and manage the time required for each process in the production process, as well as other important sewing parameters. It should be noted that, since the standard time system involved in this application falls within the scope of existing technology, this application does not provide a detailed description of the specific process by which the standard time system generates standard sewing templates.
[0065] In one embodiment of this application, the standard sewing template includes standard process time, standard number of thread cuts, and standard fluctuation range.
[0066] Please refer to Figure 5, which shows a schematic diagram of the standard sewing template described in this application in one embodiment. As shown in Figure 5, sewing process 1 is applied to the "runner" part of the garment. Specifically, the name of this sewing process is "pre-stitching hem inner patch", and its corresponding standard process time is "60.0" (unit: seconds), the standard number of thread cuts is "0", and the standard fluctuation range adopts the default value setting or is customized. As for the specific settings of other sewing processes, they will not be described in detail here.
[0067] In this implementation, the use of standard sewing templates can improve piecework accuracy, help ensure standardized production of products, and help factories optimize production processes and resource allocation.
[0068] In step S300, an array of pieces to be counted is constructed based on the event data and the standard number of wire cuts.
[0069] Specifically, each element in the piece count array represents the actual working hours required for an employee to complete the sewing of a garment.
[0070] In one embodiment of this application, step S300 of constructing a piece count array based on the event data and the standard number of wire cuts may include the following steps S301 to 304.
[0071] In step S301, the difference between the timestamps corresponding to the motor starting action and the Kth downstream wire cutting action is calculated to obtain the first time difference, where K represents the standard wire cutting number.
[0072] Please refer to Figure 6, which shows a schematic diagram of the event data described in this application in another embodiment. As shown in Figure 6, an employee needs to sew one side A and one side B to complete the production of a vest, and the standard number of thread cuts K is 2. In practical applications, employees will first perform a motor start-up operation when starting work. Based on this, this application regards the time of the first motor start-up of the day as the reference time for production activities.
[0073] Since the wire-cutting action only occurs after the motor starts, the downstream Kth wire-cutting action can be defined as the Kth wire-cutting behavior that occurs sequentially after the motor starts.
[0074] In step S302, the first time difference is added as the first element to the array to be counted.
[0075] In this embodiment of the application, the value of the first element in the piece count array is equal to the difference between the timestamps corresponding to event "2" (i.e., motor start action) and the Kth event "6" (i.e., wire cutting action) that follows.
[0076] For example, based on the event data shown in Figure 6, the first element in the piece count array can be obtained by calculating the difference between the timestamp of the second event "6" and the timestamp of event "2".
[0077] In step S303, the difference between the timestamps corresponding to the K×nth wire-cutting action and the K×(n-1)th wire-cutting action is calculated to obtain the second time difference, where n is any real number greater than or equal to 2.
[0078] In step S304, the second time difference is added to the array of items to be counted in sequence.
[0079] In this embodiment, the second element in the piece-counting array is equal to the difference between the timestamps corresponding to the 2Kth and Kth wire-cutting actions; the third element represents the difference between the timestamps corresponding to the 3Kth and 2Kth wire-cutting actions. This process continues until all elements in the piece-counting array are filled.
[0080] For example, according to the embodiment described in step S302, the second element in the piece-rate array can be obtained by calculating the difference between the timestamp of the fourth event "6" and the timestamp of the second event "6". Based on the same principle, other elements in the piece-rate array can be calculated, which will not be elaborated here.
[0081] Please refer to Figure 7, which shows a bar chart of the actual working hours described in this application in one embodiment. As shown in Figure 7, the horizontal axis of the bar chart represents the number of garments sewn by a certain employee, and the vertical axis represents the actual working hours (in seconds) required for that employee to complete the sewing of each garment.
[0082] In step S400, the actual working hours are compared with the standard piecework hours determined based on the standard process working hours and the standard fluctuation range, and it is determined whether the employee has completed the sewing of a garment based on the comparison result.
[0083] In one embodiment of this application, the standard piecework hours are determined using the following calculation formula: Standard piecework hours = Standard process hours × Standard fluctuation range.
[0084] In one embodiment of this application, the step S400 of comparing the actual working hours with the standard piece-rate working hours determined based on the standard process working hours and the standard fluctuation range, and determining whether the employee has completed the sewing of a garment based on the comparison result, may include: traversing the piece-rate array to obtain the actual working hours to be compared; determining whether the actual working hours to be compared are greater than the standard piece-rate working hours; if so, determining that the employee has completed the sewing of a garment; otherwise, determining that the employee has not completed the sewing of a garment.
[0085] Considering the high rework rates that employees may face in actual production environments, using only thread-cutting as the event type for estimating the number of garment pieces could lead to estimates that are higher than the actual values. Therefore, this application uses a standard fluctuation range, combined with standard process time and the standard piece-rate time determined by this fluctuation range, to more accurately estimate the number of garment pieces. This effectively reduces the impact of rework stitches caused by multiple thread-cutting on the final statistical results.
[0086] In one embodiment of this application, the method for setting the standard floating range is related to the standard process time.
[0087] Specifically, the method for setting the standard floating range includes: determining the range of values for the standard process time; and setting the standard floating range corresponding to the value range according to a preset comparison table of the standard process time and the standard floating range.
[0088] Please refer to Table 1, which shows a comparison table of standard process time and standard fluctuation range as described in the embodiments of this application. As shown in Table 1, different ranges of standard process time correspond to different standard fluctuation ranges.
[0089] Table 1. Comparison of Standard Process Hours and Standard Fluctuation Range
[0090] In another embodiment of this application, the method for setting the standard floating range includes the following steps S1 to S7.
[0091] Step S1: Obtain the initial floating range set by the administrator.
[0092] Step S2: Based on the initial floating range, calculate the theoretical number of garments sewn by the employee within the preset working time.
[0093] Step S3: Count the number of garments actually sewn by employees during the same working time.
[0094] Step S4: Compare the actual number of garment pieces sewn with the theoretical number of garment pieces sewn.
[0095] Step S5: Adjust the value of the floating range according to the comparison result, and update the adjusted floating range to the new initial floating range.
[0096] Step S6: Repeat steps S2 to S5 until the value of the floating range tends to stabilize.
[0097] Step S7: Record the value of the finally stable floating range as the standard floating range.
[0098] Specifically, the administrator can input the initial float range for each sewing process in advance. For example, the default value for the initial float range is 65%.
[0099] It should be noted that the method for setting the standard floating range provided in this application embodiment is equivalent to a pre-training operation, which aims to ensure that the value of the standard floating range is in a reasonable state before using the technical solution of this application for accurate piece counting.
[0100] The value of the floating range "tends to be stable" means that after repeatedly executing steps S2 to S5, the adjusted floating range can maintain stable fluctuations within a preset error range.
[0101] In step S500, if it is determined that an employee has completed the sewing of one garment, the number of garment sewn pieces is accumulated; otherwise, the number of garment sewn pieces remains unchanged.
[0102] In one embodiment of this application, the piece-rate array constructed based on event data and standard thread-cutting counts can be represented as: [40, 50, 40, 40, 200, 200, 30, 30, 30]. In this embodiment, the standard process time is set to 40 (unit: s) and the standard fluctuation range is 90%. Accordingly, the standard piece-rate time can be calculated as: 40s × 90% = 36 (unit: s). In this piece-rate array, since the real-time time of 30 is less than the standard piece-rate time of 36, the condition is not met; while the real-time times of 40, 50, and 200 are all greater than the standard piece-rate time of 36, the condition is met. Therefore, based on the condition-met [40, 50, 40, 40, 200, 200], it can be determined that the employee has completed a total of 6 garment sewing pieces.
[0103] It should be noted that the protection scope of the sewing piece counting method described in the embodiments of this application is not limited to the execution order of the steps listed in this embodiment. Any solution implemented by adding, subtracting, or replacing steps in the prior art based on the principles of this application is included within the protection scope of this application.
[0104] Please refer to Figure 8, which shows a structural schematic diagram of the sewing piece counting device described in this application in one embodiment. As shown in Figure 8, this application embodiment provides a sewing piece counting device, including a data acquisition module, a template acquisition module, an array construction module, a work time comparison module, and a piece count module.
[0105] Specifically, the data acquisition module is used to acquire event data generated by employees when operating specific sewing processes.
[0106] The template acquisition module is used to acquire a standard sewing template that matches the sewing process; the standard sewing template includes standard process time, standard number of thread cuts, and standard fluctuation range.
[0107] The array construction module is used to construct a piece count array based on the event data and the standard number of thread cuts; each element in the piece count array represents the actual working hours required for an employee to complete the sewing of a garment.
[0108] The time comparison module is used to compare the actual working hours with the standard piecework hours determined based on the standard process working hours and the standard fluctuation range, and to determine whether the employee has completed the sewing of a garment based on the comparison results.
[0109] The piece count module is used to accumulate the number of sewn garments when it is determined that an employee has completed the sewing of a garment; and to keep the number of sewn garments unchanged when it is determined that an employee has not completed the sewing of a garment.
[0110] It should be noted that the structure and principle of the data acquisition module, template acquisition module, array construction module, working time comparison module and piece count module correspond one-to-one with the steps in the sewing piece counting method described above, so they will not be repeated here.
[0111] The sewing piece counting device provided in this application embodiment can implement the sewing piece counting method described in this application. However, the implementation device of the sewing piece counting method described in this application includes, but is not limited to, the structure of the sewing piece counting device listed in this embodiment. All structural modifications and substitutions of the prior art made based on the principles of this application are included within the protection scope of this application.
[0112] Please refer to Figure 9, which shows a schematic diagram of the structure of the electronic device described in this application in one embodiment. As shown in Figure 9, this application embodiment provides an electronic device, including: a processor and a memory.
[0113] Specifically, the memory is used to store computer programs.
[0114] The processor is used to execute the computer program stored in the memory to cause the electronic device to perform the sewing piece counting method described above.
[0115] Preferably, the processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0116] This embodiment also includes one or more of the following: a multimedia component, an input / output (I / O) interface, and a communication component.
[0117] The multimedia component may include a screen and an audio component. The screen may be, for example, a touchscreen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signals may be further stored in memory or transmitted via a communication component. The audio component also includes at least one speaker for outputting audio signals. The I / O interface provides an interface between the processor and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual or physical buttons. The communication component is used for wired or wireless communication between the timer and other devices. Wireless communication includes, for example, Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination of these. Therefore, the corresponding communication component may include a Wi-Fi module, a Bluetooth module, or an NFC module.
[0118] In one embodiment, the timer may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the sewing piece counting method described above.
[0119] In the embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, or methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules / units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or units may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection of apparatuses or modules or units may be electrical, mechanical, or other forms.
[0120] The modules / units described as separate components may or may not be physically separate. The components shown as modules / units may or may not be physical modules; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules / units can be selected to achieve the objectives of the embodiments of this application, depending on actual needs. For example, the functional modules / units in the various embodiments of this application may be integrated into one processing module, or each module / unit may exist physically separately, or two or more modules / units may be integrated into one module / unit.
[0121] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0122] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the sewing piece-counting method described in any of the above embodiments. Those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by a program instructing a processor. The program can be stored in a computer-readable storage medium, which is a non-transitory medium, such as random access memory, read-only memory, flash memory, hard disk, solid-state hard disk, magnetic tape, floppy disk, optical disk, and any combination thereof. The storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., digital video disc (DVD)), or a semiconductor medium (e.g., solid-state disk (SSD)).
[0123] This application embodiment may also provide a computer program product comprising one or more computer instructions. When the computer instructions are loaded and executed on a computing device, all or part of the processes or functions described in this application embodiment are generated. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means.
[0124] When the computer program product is executed by a computer, the computer performs the method described in the foregoing method embodiments. The computer program product can be a software installation package; when the foregoing method is required, the computer program product can be downloaded and executed on the computer.
[0125] The descriptions of the processes or structures corresponding to the above figures each have their own emphasis. For parts of a process or structure that are not described in detail, please refer to the relevant descriptions of other processes or structures.
[0126] The above embodiments are merely illustrative of the principles and effects of this application and are not intended to limit this application. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of this application. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in this application should still be covered by the claims of this application.
Claims
1. A method for calculating piecework in sewing, characterized in that, include: Acquire event data generated by employees while performing specific sewing processes; Obtain a standard sewing template that matches the sewing process; the standard sewing template includes standard process time, standard number of thread cuts, and standard fluctuation range; An array of items to be counted is constructed based on the event data and the standard number of thread cuts; each element in the array of items to be counted represents the actual working hours required for an employee to complete the sewing of a garment; The actual working hours are compared with the standard piece-rate working hours determined based on the standard process working hours and the standard fluctuation range, and the comparison results are used to determine whether the employee has completed the sewing of a garment. If so, then accumulate the total number of garment pieces sewn; otherwise, keep the total number of garment pieces sewn unchanged.
2. The method according to claim 1, characterized in that, The event data includes event types and corresponding timestamps; the event types include at least motor start-up actions and wire cutting actions.
3. The method according to claim 2, characterized in that, Constructing a piece count array based on the event data and the standard number of wire cuts includes: Calculate the difference between the timestamps corresponding to the motor starting action and the Kth downstream wire cutting action to obtain the first time difference, where K represents the standard wire cutting number; Add the first time difference value as the first element to the array of pieces to be counted; Calculate the difference between the timestamps corresponding to the K×nth wire-cutting action and the K×(n-1)th wire-cutting action to obtain the second time difference, where n is any real number greater than or equal to 2; The second time difference value is added to the array of pieces to be counted in sequence.
4. The method according to claim 1, characterized in that, The standard piecework hours are determined using the following formula: Standard piecework hours = Standard process hours × Standard fluctuation range.
5. The method according to claim 1, characterized in that, Comparing the actual working hours with the standard piece-rate working hours determined based on the standard process working hours and the standard fluctuation range, and determining whether an employee has completed the sewing of a garment based on the comparison results includes: Iterate through the array of pieces to be counted to obtain the actual working hours to be compared; Determine whether the actual working hours to be compared are greater than the standard piece-rate working hours; If so, it is determined that the employee has completed the sewing of a garment; Otherwise, the employee will be deemed not to have completed the sewing of a garment.
6. The method according to claim 1, characterized in that, The method for setting the standard floating range is related to the standard process time; the method for setting the standard floating range includes: Determine the range of values for the standard process time; Based on the preset standard process time and standard fluctuation range comparison table, set the standard fluctuation range corresponding to the value range.
7. The method according to claim 1, characterized in that, The method for setting the standard floating range includes: Step S1: Obtain the initial floating range set by the administrator; Step S2: Based on the initial floating range, calculate the theoretical number of garments sewn by the employee within the preset working time. Step S3: Count the actual number of garments sewn by employees during the same working time; Step S4: Compare the actual number of garment pieces sewn with the theoretical number of garment pieces sewn; Step S5: Adjust the value of the floating range according to the comparison result, and update the adjusted floating range to the new initial floating range; Step S6: Repeat steps S2 to S5 until the value of the floating range tends to stabilize; Step S7: Record the value of the finally stable floating range as the standard floating range.
8. A sewing piece counting device, characterized in that, include: The data acquisition module is used to acquire event data generated by employees when they are performing specific sewing processes; The template acquisition module is used to acquire a standard sewing template that matches the sewing process; the standard sewing template includes standard process time, standard number of thread cuts, and standard fluctuation range; An array construction module is used to construct a piece-rate array based on the event data and the standard number of thread cuts; each element in the piece-rate array represents the actual working hours required for an employee to complete the sewing of a garment; The working hours comparison module is used to compare the actual working hours with the standard piecework hours determined based on the standard process working hours and the standard fluctuation range, and to determine whether the employee has completed the sewing of a garment based on the comparison results. The piece count module is used to accumulate the number of garment pieces sewn when it is determined that an employee has completed the sewing of a garment; and to keep the number of garment pieces sewn unchanged when it is determined that an employee has not completed the sewing of a garment.
9. An electronic device, characterized in that, include: Processor and memory; The memory is used to store computer programs; The processor is configured to execute the computer program stored in the memory to cause the electronic device to perform the sewing piece counting method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the sewing piece counting method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Intelligent counting method for sewing machine, system, storage and sewing machine
CN107345346A
Sewing counting method, system and device
CN109440314A
AI automatic piece counting system of sewing mechanical equipment
CN114355855A
Method for acquiring actual working hours
CN116758649A
Intelligent piece counting method of sewing machine
CN116876157A