Search

CN-116522229-B - Method, system and memory for acquiring counting algorithm template of sewing machine

CN116522229BCN 116522229 BCN116522229 BCN 116522229BCN-116522229-B

Abstract

The invention discloses a method, a system and a memory for acquiring a counting algorithm template of a sewing machine, and relates to the technical field of mechanical equipment, comprising the following steps of acquiring template data and marking the source of the template data; the invention provides a basis for the counting algorithm, improves the efficiency and accuracy of the counting algorithm, acquires a plurality of different algorithm templates, can be better applied to a plurality of different working conditions, and improves the universality of the use of the algorithm templates.

Inventors

  • LI ZHIQIANG
  • Lu Mingan
  • WANG HAOXU

Assignees

  • 杰克科技股份有限公司

Dates

Publication Date
20260512
Application Date
20230428

Claims (8)

  1. 1. The method for acquiring the counting algorithm template of the sewing machine is characterized by comprising the following steps of: Acquiring template data and marking the source of the template data; classifying the template data according to the marking information; the method comprises the steps of carrying out data processing on template data based on a classification result, carrying out data processing on the template data by adopting a time stamp algorithm when the template data come from a webpage end, analyzing procedure types required by sewing clothing under the serial number of the same sewing machine, splitting sewing machine action signals according to different procedure types, adding a marker bit and a counting bit into a sewing machine action signal, a procedure initial signal and a procedure completion signal, carrying out data segmentation on the acquired time stamp data based on the marker bit to obtain a segmentation procedure curve of sewing clothing, and judging the sewing integrity of the sewing clothing based on the counting bit; when the template data come from the station screen, a marking position is generated according to the key signals, and a working procedure is arranged between the two marking positions, so that a working procedure curve for sewing clothing is obtained; And generating a calculation algorithm template according to the data processing result.
  2. 2. The method for acquiring the calculation algorithm template of the sewing machine according to claim 1, wherein, The sources of the template data comprise a webpage end and a station screen.
  3. 3. A method for obtaining a calculation algorithm template for a sewing machine according to claim 2, wherein, The specific method for classifying the template data comprises the following steps: when the source of the template data is identified as a webpage end, storing the template data into a webpage terminal set; When the source of the template data is identified as a workstation screen, the template data is stored into a subset of the workstation screens.
  4. 4. A method for obtaining a calculation algorithm template of a sewing machine according to claim 2 or 3, wherein, When the template data come from the webpage end, the template data comprise: a sequence number of the sewing machine, a time-stamped sewing machine power signal, a time-stamped process initiation signal, and a time-stamped process completion signal.
  5. 5. A method for obtaining a calculation algorithm template for a sewing machine according to claim 2, wherein, The template data when the template data comes from the station screen comprises: a sewing machine action signal and a key signal inserted between the sewing machine action signals.
  6. 6. A method for obtaining a calculation algorithm template for a sewing machine according to claim 1 or 5, wherein, The sewing machine motion signal includes: The number of needles and the number of thread cuts in the process of sewing clothing by the sewing machine.
  7. 7. A system for acquiring a calculation algorithm template of a sewing machine, adapted to a method for acquiring a calculation algorithm template of a sewing machine according to any one of claims 1 to 6, comprising: The acquisition module is used for acquiring the template data and marking the source of the template data; And the algorithm server classifies the template data according to the marking information, processes the data of the template data based on the classification result and generates a calculation algorithm template according to the data processing result.
  8. 8. A memory, characterized in that the memory stores program instructions that, when run, perform the method according to any of claims 1-6.

Description

Method, system and memory for acquiring counting algorithm template of sewing machine Technical Field The invention relates to the technical field of mechanical equipment, in particular to a method, a system and a memory for acquiring a counting algorithm template of a sewing machine. Background At present, the sewing equipment of the Internet of things has basically replaced a common sewing machine, and factories are changed from manual counting of workers to automatic counting methods using ticket software, hanging systems, counting algorithms and the like. In order to meet the design of the counting algorithm, a great amount of action data (such as needle number, thread cutting frequency and the like) of the sewing machine is required to be used for establishing and optimizing an algorithm model, and different algorithm templates lead to great difference in accuracy of the counting algorithm. Most of the algorithms on the market at present need to label the data generated in the sewing process of workers (at least the data of the front three sewing pieces need to be labeled) to acquire the templates matched with the data, and the accuracy of the counting algorithm designed based on the templates is poor, so that the template can be acquired more conveniently by a technical means, and the problem of the urgent need of the counting algorithm design is solved. For example, chinese patent CN104018300a provides "a method for automatically counting parts of a sewing machine", in which a part counter connected to a signal is added to the outside of the sewing machine, and the part counter is connected to a computer through a repeater, thereby finally realizing an automatic part counting function of the sewing machine. The method is characterized in that the calculation algorithm template is too single, and the requirements of different working conditions are difficult to meet. Disclosure of Invention The invention mainly solves the problems in the prior art, provides a method for acquiring the counting algorithm template of the sewing machine, and sets a plurality of different counting algorithm modules, so that the counting algorithm does not need to match template data again in the counting process, and the counting efficiency and accuracy are improved. The technical problem of the invention is mainly solved by the following technical scheme that the method for acquiring the counting algorithm template of the sewing machine comprises the following steps: Acquiring template data and marking the source of the template data; classifying the template data according to the marking information; Performing data processing on the template data based on the classification result; And generating a calculation algorithm template according to the data processing result. Preferably, the sources of the template data comprise a webpage end and a station screen. Preferably, the specific method for classifying the template data comprises the following steps: when the source of the template data is identified as a webpage end, storing the template data into a webpage terminal set; When the source of the template data is identified as a workstation screen, the template data is stored into a subset of the workstation screens. Preferably, the template data includes a sequence number of a sewing machine, a time-stamped sewing machine motion signal, a time-stamped process initiation signal, and a time-stamped process completion signal when the template data is from a web page end. Preferably, the template data comprises sewing machine action signals and key signals interspersed between the sewing machine action signals when the template data comes from the station screen. Preferably, when the template data come from a webpage end, performing data processing on the template data by adopting a time stamp algorithm, analyzing the procedure types required by sewing the clothing under the serial number of the same sewing machine, splitting sewing machine action signals according to different procedure types, adding a mark bit and a counting bit to the sewing machine action signals, the procedure initial signals and the procedure completion signals, performing data segmentation on the acquired time stamp data based on the mark bit to obtain a segmentation procedure curve of one piece of the clothing, and judging the sewing integrity of the clothing based on the counting bit. Preferably, when the template data come from the station screen, a labeling position is generated according to the key signal, and a procedure is carried out between the two labeling positions, so that a procedure curve for sewing the clothing is obtained. Preferably, the sewing machine power signal comprises the number of needles and the number of times of thread cutting in the process of sewing clothing by the sewing machine. The invention also provides a system for acquiring the calculation algorithm template of the sewing machine, which comprises an acquisition m