Sewing metering method, apparatus, electronic device, and storage medium
By constructing an array of pieces to be counted and comparing it with standard working hours and a floating range, the problem of inaccurate estimation of employee sewing output was solved, and automatic and accurate calculation of employee output in garment production was realized.
Patent Information
- Application Number
- CN202411663040.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2044-11-20
AI Technical Summary
The existing standard working hour system is difficult to accurately reflect the actual output of each employee, resulting in low accuracy in the estimation of employees' sewing garment output.
By acquiring event data during the sewing process, an array of items to be counted is constructed and compared with the standard working hours and fluctuation range in the standard sewing template to determine whether an employee has completed the sewing of a garment and to accumulate the number of sewn items.
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 CN119531045B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of garment manufacturing, and relates to a sewing piece counting method and device, an electronic device and a 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 state 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 plans, 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 they face the same process, the time required for 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 device 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 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 piece counting array based on the event data and the standard thread cutting frequency; each element in the piece counting array represents the actual working hours required by the employee to complete the sewing of one piece of clothing; 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 has completed the sewing of one piece of clothing according to the comparison result; if yes, accumulating the piece number of clothing sewing; otherwise, keeping the piece number of clothing sewing unchanged.
[0006] In an implementation form of the first aspect, the event data includes event type and corresponding time stamp; the event type at least includes motor start action and thread cutting action.
[0007] In an implementation form of the first aspect, constructing a piece counting array based on the event data and the standard thread cutting frequency comprises:
[0008] Calculate the difference between the timestamps corresponding to the motor starting action and the Kth downstream cutting action, respectively, to obtain a first time difference value, where K represents the standard number of cutting actions;
[0009] Add the first time difference value as the first element to the to-be-counted array;
[0010] Calculate the difference between the timestamps corresponding to the Kth cutting action and the Kth(n-1) cutting action, respectively, to obtain a second time difference value, where n is any real number greater than or equal to 2;
[0011] Add the second time difference value 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 calculation formula:
[0013] Standard piecework time = standard process time x standard floating range.
[0014] In an implementation form of the first aspect, the comparison of the actual working 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 has completed the sewing of a piece of clothing according to the comparison result, comprises:
[0015] Traverse the to-be-counted array to obtain a to-be-compared actual working time;
[0016] Determine whether the to-be-compared actual working time is greater than the standard piecework time;
[0017] If yes, it is determined that the employee has completed the sewing of a piece of clothing;
[0018] Otherwise, it is determined that the employee has not completed the sewing of a piece of clothing.
[0019] 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:
[0020] Determine the value range of the standard process time;
[0021] According to a preset standard process time and standard floating range table, set the standard floating range corresponding to the value range.
[0022] In an implementation form of the first aspect, the setting method of the standard floating range comprises:
[0023] Step S1, obtaining an initial floating range set by an administrator;
[0024] Step S2, based on the initial floating range, calculate the theoretical number of clothing sewing pieces of the employee within the preset working time;
[0025] Step S3, count the actual number of clothing sewing pieces of the employee within the same working time;
[0026] Step S4, compare the actual number of clothing sewing pieces with the theoretical number of clothing sewing pieces;
[0027] Step S5, adjust the value of the floating range according to the comparison result, and update the adjusted floating range as the new initial floating range;
[0028] Step S6, repeat steps S2 to S5 until the value of the floating range tends to be stable;
[0029] Step S7, record the final stable value of the floating range as the standard floating range.
[0030] 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 time, 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 the actual working time required by the employee to complete the sewing of one piece of clothing; a working time comparison module configured to compare the actual working time with a standard piece counting working time determined based on the standard process working time and the standard floating range, and determine whether the employee has completed the sewing of one piece of clothing according to the comparison result; a piece number counting module configured to accumulate the number of clothing sewing pieces when it is determined that the employee has completed the sewing of one piece of clothing, and keep the number of clothing sewing pieces unchanged when it is determined that the employee has not completed the sewing of one piece of clothing.
[0031] 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.
[0032] In a fourth aspect, the present application provides a computer readable storage medium, which stores a computer program, the program is executed by a processor to implement the sewing piece counting method of any one of the above aspects.
[0033] 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 can improve the accuracy of the piece counting result by optimizing the setting method of the floating range. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 Shown is a structural schematic diagram of the sewing piece counting system described in this application in one embodiment.
[0035] Figure 2 Shown is a schematic structural diagram of a mobile terminal described in this application in one embodiment.
[0036] Figure 3 Shown is a flow chart of an embodiment of the sewing piece counting method described in this application.
[0037] Figure 4 Shown is a schematic diagram of event data described in this application in one embodiment.
[0038] Figure 5 Shown is a schematic diagram of the standard sewing template described in this application in one embodiment.
[0039] Figure 6 Shown is a schematic diagram of the event data described in this application in another embodiment.
[0040] Figure 7 The display is a bar chart of the actual working hours described in this application in one embodiment.
[0041] Figure 8 Shown is a schematic structural diagram of the sewing piece counting device described in this application in one embodiment.
[0042] Figure 9 Shown is a schematic structural diagram of an electronic terminal described in this application in one embodiment. DETAILED DESCRIPTION
[0043] The following describes the embodiments of the present application through specific examples. Those skilled in the art can easily understand the other advantages and effects of the present application from the content disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments. The details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other unless they conflict.
[0044] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application. Therefore, the illustrations only show components related to the present application and are not drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component can be changed at will, and the component layout type may also be more complicated.
[0045] 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 indicated or implying the number of 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.
[0046] The following embodiments of the present application provide a sewing counting method, device, electronic equipment and storage medium. The sewing counting device as an important component of the sewing counting system can help clothing production enterprises to better manage the clothing production process, optimize resource allocation, and thus improve the overall production efficiency.
[0047] Please refer to Figure 1 , which shows the structure schematic diagram of the sewing counting system described in the present application in an embodiment. As Figure 1 indicated, the sewing counting system includes a sewing counting device, an Internet of Things sewing device and a standard working hour system.
[0048] Specifically, the sewing counting device is used to execute the sewing counting method described in the embodiments of the present application. The Internet of Things sewing device is used to provide the sewing counting device with event data generated by employees when operating a specific sewing process. The standard working hour system is used to provide the sewing counting device with a standard sewing template matched with the sewing process; the standard sewing template includes standard process working hours, standard thread cutting times and standard floating range.
[0049] The sewing counting method provided by the embodiments of the present application can run in mobile terminals, computer terminals and the like. Taking the running on the mobile terminal as an example, Figure 2 is a hardware structure block diagram of the mobile terminal. As Figure 2 indicated, 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. Figure 2 The mobile terminal in is only used for example, and is not limited to the specific structure of the mobile terminal.
[0050] Optionally, the mobile terminal can also include a communication transmission device and an input and output device.
[0051] Optionally, the memory can be used to store computer programs, such as software programs and modules of application software, and the memory can include high-speed random access memory, and can further include nonvolatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory can further include memory that is remotely located with respect to the processor, and the remotely located memory can be connected to the mobile terminal via a network. Examples of the network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.
[0052] Optionally, the communication transmission device can be used to receive or send data via a network, which can include a wireless network provided by a communication provider of the mobile terminal, and the communication transmission device can include a NIC (Network Interface Controller), which can be connected to other network devices via a base station so as to be in communication with the Internet.
[0053] The technical solutions in the embodiments of the present application will be described in detail below with reference to the drawings in the embodiments of the present application.
[0054] Referring to Figure 3 , a flowchart of a piecework method of a sewing machine according to an embodiment of the present application is shown. As shown in Figure 3 , the embodiment provides a piecework method of a sewing machine, which includes the following steps S100 to S500.
[0055] In step S100, event data generated by an employee when operating a specific sewing process is acquired.
[0056] In the process of sewing clothes, the employee can choose to simultaneously perform multiple sewing processes according to a specific production scenario, or can separately complete each sewing process. The piecework method proposed in the present application can adapt to the needs of the employee in different production scenarios, and can support both overall piecework for multiple sewing processes and individual piecework for each sub-process. This flexible piecework method helps to improve production efficiency.
[0057] The event data can be acquired by a collection module on an Internet-of-Things sewing device. The collection module can be any one of a sensor or an RFID, and can accurately record a series of event data occurring in the process of sewing clothes by the employee.
[0058] In an embodiment of the present application, the event data includes an event type and a corresponding timestamp. The event type at least includes a motor starting action and a thread cutting action.
[0059] Referring to Figure 4 , a schematic diagram of event data according to an embodiment of the present application is shown. As shown inFigure 4 As shown, the event data further includes a timestamp, and the timestamp is separated from the event type and the event parameters by a comma.
[0060] Specifically, the recording format of the timestamp is "yyyy-MM-dd HH:mm:ss.SSS", where "yyyy-MM-dd" represents year, month, and day, "HH:mm:ss" represents hours, minutes, and seconds, and ".SSS" represents milliseconds.
[0061] The event type value ranges from 0 to 10, representing various actions or states of IoT sewing devices. For example, "0" represents device shutdown, "1" represents device startup, "2" represents motor start, "3" represents motor stop, "4" represents presser foot lift, "5" represents presser foot lower, "6" represents thread trimming (front trimming for overlock sewing), "7" represents rear trimming (applicable to overlock sewing), "8" represents electronic control, "9" represents bartack sewing, and "10" represents stitch adjustment.
[0062] The event parameters correspond to the event types one by one. For example, when the value of the event type is "0", the event parameter represents the working time (unit: seconds); when the value of the event type is "1", the event parameter represents the stitch length value when the machine is turned on; when the value of the event type is "3", the event parameter represents the number of stitches generated from the motor starting to the motor stopping; when the value of the event type is "9", the event parameter is 101, which means one front tack sewing, the device parameter is 102, which means two front tack sewing, the event parameter is 201, which means one back tack sewing, the event parameter is 202, which means two back tack sewing, the event parameter is 301, which means one manual reverse sewing, and the event parameter is 42, which means W sewing; when the value of the event type is "10", the event parameter represents the adjusted stitch length value.
[0063] In step S200, a standard sewing template matching the sewing process is obtained.
[0064] In practical applications, each sewing process usually requires a standard sewing template to guide the operation of employees. The standard sewing template described in the embodiment of the present application can be obtained through a standard working time system.
[0065] The standard working time system is a system used to calculate and manage the time required for each process in the production process and other important sewing parameters. It should be noted that since the standard working time system involved in this application belongs to the scope of existing technology, this application does not provide a detailed introduction to the specific process of generating a standard sewing template using the standard working time system.
[0066] In one embodiment of the present application, the standard sewing template includes standard process hours, standard thread trimming times and standard floating range.
[0067] Referring to Figure 5 , a schematic diagram of the standard sewing template described in the present application is shown in an embodiment. As Figure 5 indicated, the sewing procedure 1 is applied to the "run-in" component of the garment. Specifically, the name of the sewing procedure is "pressing front lower inner", the corresponding standard procedure time is "60.0" (unit: seconds), the standard thread cutting times is "0", and the standard floating range is set by default or customized. The specific settings of other sewing procedures are not described one by one here.
[0068] In the present implementation, the use of the standard sewing template can improve the accuracy of piecework, help ensure standardized production of products, and help factories optimize production processes and resource allocation.
[0069] In step S300, a piecework array is constructed based on the event data and the standard thread cutting times.
[0070] Specifically, each element in the piecework array represents the actual time required by an employee to complete the sewing of one garment.
[0071] In an embodiment of the present application, the step S300 of constructing the piecework array based on the event data and the standard thread cutting times can include steps S301 to S304.
[0072] In step S301, the difference between the time stamp corresponding to the motor start action and the time stamp corresponding to the Kth thread cutting action downstream thereof is calculated to obtain a first time difference, where K represents the standard thread cutting times.
[0073] Referring to Figure 6 , a schematic diagram of the event data described in the present application is shown in another embodiment. As Figure 6 indicated, an employee completes the production of a vest by sewing an A edge and a B edge, and the standard thread cutting times K is 2. In actual application, the employee will first perform a motor start operation when starting work. Based on this, the present application regards the time point of the first motor start of the day as the reference time of the production activity.
[0074] Since the thread cutting action only occurs after the motor start action, the Kth thread cutting action downstream can be defined as the Kth thread cutting action in time sequence after the motor start.
[0075] In step S302, the first time difference is added as the first element to the piecework array.
[0076] In an embodiment of the present application, the value of the first element in the piecework array is equal to the difference between the time stamp corresponding to event "2" (i.e., the motor start action) and the time stamp corresponding to the Kth event "6" (i.e., the thread cutting action) immediately following it.
[0077] For example, according to the event data as shown in Table 1, the first element in the to-be-counted array can be obtained by calculating the difference between the timestamp of the second event "6" and the timestamp of the event "2". Figure 6
[0078] In step S303, the difference between the timestamps corresponding to the Kth nth clip line action and the Kth (n-1)th clip line action is calculated to obtain a second time difference value, where n is any real number greater than or equal to 2.
[0079] In step S304, the second time difference value is added to the to-be-counted array in sequence.
[0080] In the embodiments of the present application, the value of the second element in the to-be-counted array is equal to the difference between the timestamp corresponding to the 2Kth clip line action and the timestamp corresponding to the Kth clip line action; and the value of the third element represents the difference between the timestamp corresponding to the 3Kth clip line action and the timestamp corresponding to the 2Kth clip line action. Similarly, the filling of all elements in the to-be-counted array is completed.
[0081] For example, according to the embodiment of step S302, the second element in the to-be-counted 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 to-be-counted array can be calculated, which will not be described here.
[0082] Referring to FIG. 4, a bar chart showing the actual working hours in an embodiment of the present application is shown. As shown in FIG. 4, the horizontal coordinate of the bar chart represents the number of clothing sewing pieces completed by an employee, and the vertical coordinate represents the actual working hours (unit: seconds) required by the employee to complete each clothing sewing piece. Figure 7 Figure 7
[0083] In step S400, the actual working hours are compared with the standard piecework working hours determined based on the standard working procedure working hours and the standard floating range, and it is determined whether the employee completes the sewing of a clothing piece according to the comparison result.
[0084] In an embodiment of the present application, the standard piecework working hours are determined by the following calculation formula:
[0085] Standard piecework working hours = standard working procedure working hours x standard floating range.
[0086] In an embodiment of the present application, the step S400 of comparing the actual working hours with the standard piecework working hours determined based on the standard working procedure working hours and the standard floating range, and judging whether the worker has completed the sewing of a piece of garment according to the comparison result can include: traversing the to-be-counted array to obtain to-be-compared actual working hours; judging whether the to-be-compared actual working hours are greater than the standard piecework working hours; if yes, determining that the worker has completed the sewing of a piece of garment; otherwise, determining that the worker has not completed the sewing of a piece of garment.
[0087] In consideration of the high rework rate that the worker may face in the actual production environment, if only the thread cutting action is taken as the event type for estimating the number of pieces of garment, the estimation result may be higher than the true value. In view of this, the present application sets a standard floating range and combines the standard piecework working hours determined based on the standard working procedure working hours and the floating range to more accurately estimate the number of pieces of garment, thereby effectively reducing the influence of the rework stitches introduced by multiple thread cutting on the final statistical result.
[0088] In an embodiment of the present application, the setting method of the standard floating range is related to the standard working procedure working hours.
[0089] Specifically, the setting method of the standard floating range includes: determining a value range of the standard working procedure working hours; and setting the standard floating range corresponding to the value range according to a preset standard working procedure working hours and standard floating range correspondence table.
[0090] Please refer to Table 1 for the standard working procedure working hours and standard floating range correspondence table described in the embodiments of the present application. As shown in Table 1, different ranges of standard working procedure working hours correspond to different standard floating ranges.
[0091] Table 1, standard working procedure working hours and standard floating range correspondence table
[0092] Standard process time (seconds) Standard floating range T<10 50% 10≤T<20 55% 20≤T<40 60% ≥40 90%
[0093] In another embodiment of the present application, the setting method of the standard floating range includes the following steps S1 to S7.
[0094] Step S1, obtaining an initial floating range set by an administrator.
[0095] Step S2, calculating the theoretical number of pieces of garment sewn by the worker within a preset working time based on the initial floating range.
[0096] Step S3, counting the actual number of pieces of garment sewn by the worker within the same working time.
[0097] Step S4, comparing the actual number of pieces of garment sewn with the theoretical number of pieces of garment sewn.
[0098] Step S5, adjusting the value of the floating range according to the comparison result, and updating the adjusted floating range as the new initial floating range.
[0099] Step S6, repeatedly performing steps S2 to S5 until the value of the floating range tends to be stable.
[0100] Step S7, recording the value of the finally stable floating range as the standard floating range.
[0101] Specifically, the administrator can input the initial floating range of each sewing process in advance. For example, the default value of the initial floating range is 65%.
[0102] It should be noted that the setting method of the standard floating range provided by the embodiment of the present application is equivalent to a pre-training operation, which aims to make the value of the standard floating range in a reasonable state before accurate piecework is performed by using the technical solution of the present application.
[0103] The value of the floating range "tends to be stable" means that after repeatedly performing steps S2 to S5 for multiple times, the adjusted floating range can remain stable fluctuation within a preset error range.
[0104] In step S500, if it is determined that the employee has completed a piece of sewing, the number of pieces of clothing sewing is accumulated; otherwise, the number of pieces of clothing sewing remains unchanged.
[0105] In an embodiment of the present application, the to-be-counted array constructed based on the event data and the standard cutting line number 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 floating range is set to 90%. Accordingly, the standard piecework time can be calculated as: 40s x 90% = 36 (unit: s). In the to-be-counted array, since the real-time time 30 is less than the standard piecework time 36, the condition is not met; and the real-time times 40, 50 and 200 are all greater than the standard piecework time 36, so the condition is met. Therefore, according to [40, 50, 40, 40, 200, 200] that meets the condition, it can be determined that the employee has completed a total of 6 pieces of clothing sewing.
[0106] It should be noted that the protection scope of the sewing piecework method described in the embodiments of the present application is not limited to the step execution order listed in the embodiments, and any scheme realized by adding, replacing or deleting steps of the prior art according to the principles of the present application is included in the protection scope of the present application.
[0107] Please refer to Figure 8 , which shows the structure schematic diagram of the sewing piecework device in an embodiment of the present application. As Figure 8As shown, the embodiment of the present application provides a sewing piece counting device, comprising a data acquisition module, a template acquisition module, an array construction module, a working hour comparison module and a piece number statistics module.
[0108] Specifically, the data acquisition module is configured to acquire event data generated by an employee when operating a specific sewing process.
[0109] The template acquisition module is 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 trimming frequency and a standard floating range.
[0110] The array construction module is configured to construct a to-be-counted array based on the event data and the standard thread trimming frequency; each element in the to-be-counted array represents actual working hours required by the employee to complete sewing of one piece of clothing.
[0111] The working hour comparison module is configured to compare the actual working hours 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.
[0112] The piece number statistics module is configured to accumulate a piece number of clothing sewing when it is determined that the employee has completed sewing of one piece of clothing, and keep the piece number of clothing sewing unchanged when it is determined that the employee has not completed sewing of one piece of clothing.
[0113] It should be noted that the structure and principle of the data acquisition module, the template acquisition module, the array construction module, the working hour comparison module and the piece number statistics module correspond to the steps of the above-mentioned sewing piece counting method one by one, and therefore will not be described here.
[0114] The sewing piece counting device provided by the embodiment of the present application can implement the sewing piece counting method described in the present application, but the implementation device of the sewing piece counting method described in the present application includes but is not limited to the structure of the sewing piece counting device listed in the embodiment, and any structure deformation and replacement of the prior art according to the principle of the present application is included in the protection scope of the present application.
[0115] Please refer to Figure 9 , which shows a structure schematic diagram of the electronic device in an embodiment of the present application. As Figure 9 shown, the embodiment of the present application provides an electronic device, comprising a processor and a memory.
[0116] Specifically, the memory is configured to store a computer program.
[0117] The processor is configured to execute the computer program stored in the memory, so that the electronic device executes any one of the above-mentioned sewing piece counting methods.
[0118] Preferably, the processor can be a general processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; also can be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component. The memory can be realized by any type of volatile or non-volatile storage device or their combination, 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.
[0119] The embodiment also includes one or more of a multimedia component, an input / output (I / O) interface, and a communication component.
[0120] The multimedia component can include a screen and an audio component. The screen can be a touch screen, for example. The audio component is used to output and / or input audio signals. For example, the audio component can include a microphone for receiving external audio signals. The received audio signals can be further stored in the memory or transmitted through the 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, which can be a keyboard, a mouse, a button, etc. These buttons can be virtual buttons or physical buttons. The communication component is used for wired or wireless communication between the timer and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G or 4G, or one or more of them, so the corresponding communication component can include a Wi-Fi module, a Bluetooth module, an NFC module.
[0121] In one embodiment, a timer can be implemented with 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, for executing the above-described methods of the sewing timer.
[0122] In several embodiments provided in the present application, it should be understood that the disclosed system, device or method can be implemented by other means. For example, the above-described device embodiments are only illustrative, and for example, the division of the modules / units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of modules or units can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed modules can be indirect coupling or communication connection through some interfaces, devices or modules or units, which can be electrical, mechanical or other forms.
[0123] The modules / units described as separate components can or can not be physically separate, and the components shown as modules / units can or can not be physical modules, i.e., can be located in one place, or can be distributed on a plurality of network units. Part or all of the modules / units can be selected according to actual needs to achieve the purpose of the embodiments of the present application. For example, the functional modules / units in each embodiment of the present application can be integrated in one processing module, or each module / unit can be physically present separately, or two or more modules / units can be integrated in one module / unit.
[0124] Those of ordinary skill in the art should further appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software or a combination of both. In order to clearly illustrate the interchangeability of hardware and software, the components and steps of the examples have been described in general terms in the above description. Whether the functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. A skilled person can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0125] The embodiments of the present application further provide a computer readable storage medium, which stores a computer program. The computer program is executed by a processor to implement the sewing component method according to any one of the preceding embodiments. It can be understood by those skilled in the art that all or part of the steps of the method according to the preceding embodiments can be instructed by a program to complete the processor, and the program can be stored in a computer readable storage medium. The storage medium is a non-transitory medium, such as a random access memory, a read only memory, a flash memory, a hard disk, a solid state disk, a magnetic tape, a floppy disk, an optical disc, and any combination thereof. The storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, and the like, which includes one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a digital video disc (DVD)), or a semiconductor medium (for example, a solid state disk (SSD)), and the like.
[0126] The embodiments of the present application can further provide a computer program product, which includes 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 according to the embodiments of the present application are generated. The computer instructions can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be transmitted from one website, computer or data center to another website, computer or data center through wired (for example, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (for example, infrared, wireless, microwave, etc.).
[0127] When the computer program product is executed by a computer, the computer executes the method according to the method embodiments described above. The computer program product can be a software installation package, which can be downloaded and executed on the computer when the method described above is needed.
[0128] The description of the flow or structure corresponding to each of the above figures has its own emphasis, and the parts not described in detail in a certain flow or structure can be referred to the related description of other flows or structures.
[0129] The above embodiments are only illustrative of the principles of the present application and its effects, and are not intended to limit the present application. Any modification or change made by any person skilled in the art without departing from the spirit and scope of the present application shall be covered by the claims of the present application.
Claims
1. A method of sewing a component, characterized by, The method comprises: acquiring event data generated by an employee when operating a specific sewing process; acquiring a standard sewing template matched with the sewing process; the standard sewing template comprises a standard process working hour, a standard thread trimming frequency and a standard floating range; constructing a piece-counting array based on the event data and the standard thread trimming frequency; each element in the piece-counting array represents actual working hours required by the employee to complete sewing of one piece of clothing; comparing the actual working hours with a standard piece-counting working hour determined based on the standard process working hour and the standard floating range, and judging whether the employee has completed sewing of one piece of clothing according to a comparison result; if yes, accumulating the piece count of clothing sewing; otherwise, keeping the piece count of clothing sewing unchanged; the event data comprises an event type and a corresponding time stamp; the event type at least comprises a motor starting action and a thread trimming action; constructing the piece-counting array based on the event data and the standard thread trimming frequency comprises: calculating a first time difference value by subtracting a time stamp corresponding to the motor starting action from a time stamp corresponding to a Kth thread trimming action downstream of the motor starting action, where K represents the standard thread trimming frequency; adding the first time difference value as a first element to the piece-counting array; calculating a second time difference value by subtracting a time stamp corresponding to a Kth n thread trimming action from a time stamp corresponding to a Kth (n-1) thread trimming action, where n is any real number greater than or equal to 2; adding the second time difference value to the piece-counting array in sequence; comparing the actual working hours with a standard piece-counting working hour determined based on the standard process working hour and the standard floating range, and judging whether the employee has completed sewing of one piece of clothing according to a comparison result comprises: traversing the piece-counting array to obtain a piece-counting actual working hour to be compared; judging whether the piece-counting actual working hour to be compared is greater than the standard piece-counting working hour; if yes, determining that the employee has completed sewing of one piece of clothing; otherwise, determining that the employee has not completed sewing of one piece of clothing.
2. The method of claim 1, wherein, The standard piece-counting working hour is determined by using a calculation formula as follows: standard piece-counting working hour = standard process working hour × standard floating range.
3. The method of claim 1, wherein, The setting method of the standard floating range is related to the standard process working hour; and the setting method of the standard floating range comprises: determining a value range of the standard process working hour; setting the standard floating range corresponding to the value range according to a preset standard process working hour and standard floating range correspondence table.
4. The method of claim 1, wherein, The setting method of the standard floating range comprises: step S1, acquiring an initial floating range set by an administrator; step S2, calculating a theoretical piece count of clothing sewing of the employee within a preset working time based on the initial floating range; step S3, counting an actual piece count of clothing sewing of the employee within the same working time; step S4, comparing the actual piece count of clothing sewing with the theoretical piece count of clothing sewing; step S5, adjusting a value of the floating range according to a comparison result, and updating the adjusted floating range as a new initial floating range; step S6, repeatedly executing steps S2 to S5 until the value of the floating range tends to be stable; step S7, recording a final stable value of the floating range as the standard floating range.
5. A sewing kit apparatus, comprising: The method comprises: 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 trimming frequency, and a standard floating range; an array construction module configured to construct a piece-to-be-counted array based on the event data and the standard thread trimming frequency; each element in the piece-to-be-counted array represents an actual working hour required by the employee to complete sewing of one piece of garment; a working hour comparison module configured to compare the actual working hour with a standard piece-to-be-counted 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 garment according to a comparison result; a piece number counting module configured to accumulate a garment sewing piece number when it is determined that the employee has completed sewing of one piece of garment, and keep the garment sewing piece number unchanged when it is determined that the employee has not completed sewing of one piece of garment; the event data comprises an event type and a corresponding time stamp; the event type at least comprises a motor starting action and a thread trimming action; the array construction module comprises: calculating a first time difference value by calculating a difference between a time stamp corresponding to the motor starting action and a time stamp corresponding to a Kth thread trimming action downstream of the motor starting action, where K represents the standard thread trimming frequency; adding the first time difference value as a first element to the piece-to-be-counted array; calculating a second time difference value by calculating a difference between a time stamp corresponding to a Kth n thread trimming action and a time stamp corresponding to a Kth (n-1) thread trimming action, where n is an arbitrary real number greater than or equal to 2; adding the second time difference value to the piece-to-be-counted array in sequence; the working hour comparison module comprises: traversing the piece-to-be-counted array to obtain a to-be-compared actual working hour; determining whether the to-be-compared actual working hour is greater than the standard piece-to-be-counted working hour; if yes, determining that the employee has completed sewing of one piece of garment; otherwise, determining that the employee has not completed sewing of one piece of garment.
6. An electronic device, comprising: The method comprises: 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 according to any one of claims 1 to 4.
7. A computer-readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to implement the sewing piece counting method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Self-controller for working process
JP1983132438A