A method, system, device and medium for calculating the production capacity of employees in a garment processing factory

By creating edge service nodes on the Internet of Things platform and using Lora collector to collect data, the problem of low production management efficiency in garment processing plants is solved, real-time supervision and recording of garment processing progress is achieved, and production management efficiency is improved.

CN115225668BActive Publication Date: 2025-04-08GUANGZHOU XINJING INFORMATION TECH SERVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210817073.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-12
Publication Date
2025-04-08
Estimated Expiration
2042-07-12

AI Technical Summary

Technical Problem

In the existing garment processing plants, the production and processing process lacks intelligent monitoring, resulting in low production management efficiency, easy loss of Philippine ticket information, and untimely feedback on production progress.

Method used

By creating edge service nodes on the Internet of Things platform, using Lora collectors to collect employee card numbers and fica data, and processing and transferring data through edge servers, the supervision and recording of the progress of garment processing is achieved.

Benefits of technology

Real-time supervision and recording of the garment processing progress has been achieved, labor costs have been reduced, business system development workload has been reduced, and production management efficiency has been improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115225668B_ABST
    Figure CN115225668B_ABST
Patent Text Reader

Abstract

The present invention relates to a method, system, device and medium for calculating the production capacity of employees in a garment processing factory. The technical scheme thereof mainly includes: the system comprises: a Lora collector, which is used for collecting employee card numbers, FIC card numbers, collector device numbers and card swiping time and uploading them to a Lora gateway; a Lora gateway, which is used for encapsulating the information collected by the Lora collector and reporting it to an edge server; and is used for receiving employee information, output information and device information sent by the edge server; the edge server is used for performing identification and calculation according to the information reported by the Lora gateway to obtain employee information, output information, FIC card information and current processing step information; and is used for receiving employee information, device information, FIC card information and output records sent by an Internet of Things platform; and the Internet of Things platform is used for receiving employee information, output information and FIC card information sent by the edge server and identifying and updating the output records; the present application can supervise and record the progress of garment processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of production supervision, and more specifically, to a method, system, device and medium for calculating the production capacity of employees in a garment processing factory. Background Art

[0002] In most small and medium-sized garment processing workshops, the production and processing process is controlled by handwritten invoices (or machine-printed invoices); wages are calculated by piecework by manually recording process invoices, and the degree of digital management is still limited to simple records and summary calculations in EXCEL. There are no smart devices to monitor the entire production process. Each production link is an information island, and production data must be transmitted manually, resulting in low efficiency of overall production management (invoice information is often lost, production progress feedback is not timely, etc.).

[0003] The solution used in the industry is to pre-set the garment processing flow and steps by installing hanging equipment. Each bundle of garment parts is hung up in pieces, and the hanging equipment circulates in an assembly line-like manner according to the process steps, with one person per process. At the same time, the completed processing steps and current link of each bundle of parts are recorded, and the number of completed garments is counted in real time. While this solution solves the problems of component digitization and processing progress monitoring, it also brings about the high cost of purchasing and installing hanging equipment, and the subsequent cumbersome operation and maintenance projects, which makes many factories reluctant to adopt. Summary of the invention

[0004] In view of the deficiencies in the prior art, the purpose of the present invention is to provide a method, system, device and medium for calculating the productivity of employees in a garment processing factory, which has the advantage of being able to conveniently monitor and record the progress of garment processing.

[0005] The above technical objectives of the present invention are achieved through the following technical solutions: A method for calculating the production capacity of employees in a garment processing factory, comprising:

[0006] Create several edge service nodes in advance on the IoT platform, set the business functions of several edge service nodes respectively, label the edge servers with the same business function with the same label, and obtain several labels; establish several application templates, associate the application templates with the labels; deploy the same functional application to the edge service nodes with the same label through the same application template, and obtain several edge servers; the IoT platform sends basic business information to several edge servers;

[0007] Collect employee card numbers through the Lora collector and send the employee card number, collector device number and employee card swiping time as first collection information to the corresponding Lora gateway; encapsulate the first collection information through the corresponding Lora gateway, and send the encapsulated first collection information to the corresponding edge server through the MQTT protocol;

[0008] The corresponding edge server matches the employee information from the basic business information according to the first collected information, sends the employee information to the corresponding Lora gateway through the MQTT protocol, and the Lora gateway sends the employee information to the Lora collector with the corresponding collector device number; the employee information and the employee card swiping time are sent to the Internet of Things platform through the MQTT protocol;

[0009] The Lora collector collects the Fika card number and sends the Fika card number, the collector device number and the Fika card swiping time as the second collection information to the corresponding Lora gateway; the corresponding Lora gateway encapsulates the second collection information and sends it to the corresponding edge server;

[0010] The edge server matches the employee information according to the second collected information, calculates the capacity information according to the Fika card number and the basic business information, and sends the capacity information to the Internet of Things platform through the MQTT protocol.

[0011] Optionally, the step of establishing a plurality of application templates, associating the application templates with labels, and deploying the same functional application to edge service nodes with the same label through the same application template to obtain a plurality of edge servers further includes:

[0012] Create a second edge service node on the IoT platform;

[0013] Add a label to the second edge service node;

[0014] The Internet of Things platform deploys the corresponding functional application to the second edge service node according to the label and the corresponding application template to obtain the second edge server.

[0015] Optionally, the basic business data includes: work order information, ticket information, process information, parking space information, employee information and production information.

[0016] Optionally, the edge server matches the employee information according to the second collected information, and calculates the capacity information according to the Fika card number and the basic business information, including:

[0017] The edge server matches the employee information according to the collector device number in the second collected information;

[0018] The edge server identifies the number of garments processed by each employee today from the production information based on the employee information, and adds the Fikaka number to the number of garments processed by the corresponding employee today to obtain the production of each employee today;

[0019] The edge server calculates the production capacity information based on each employee's today's output.

[0020] Optionally, after sending the production capacity information to the Internet of Things platform through the MQTT protocol, the method further includes:

[0021] The edge server matches the current processing procedure of the corresponding Fika according to the employee information; sends the current processing procedure of the corresponding Fika to the IoT platform through the MQTT protocol; sends the current processing procedure of the corresponding Fika to the Lora gateway through the MQTT protocol, and the Lora gateway sends the current processing procedure of the corresponding Fika to the Lora collector with the corresponding collector device number.

[0022] Optionally, after sending the current processing step of the corresponding Fika to the IoT platform through the MQTT protocol, it also includes:

[0023] The IoT platform updates the basic business information based on the production capacity information and the current processing steps of the corresponding Fica, and sends the updated basic business information to the edge server.

[0024] Optionally, the IoT platform updates basic business information according to the production capacity information and the current processing procedure of the corresponding Fica, including:

[0025] The IoT platform calculates the production information of each employee based on the production capacity information and updates the basic business information.

[0026] A system for calculating the productivity of employees in a garment processing factory, comprising:

[0027] Lora collector, used to collect employee card number, Fika card number, collector device number and card swiping time and upload them to Lora gateway; used to receive employee information and production information sent by Lora gateway;

[0028] Lora gateway, used to encapsulate the information collected by at least one Lora collector and report it to the edge server; used to receive employee information, production information and equipment information sent by the edge server;

[0029] The edge server is used to perform identification and calculation based on the information reported by at least one Lora gateway to obtain employee information, production information, FIC information and current processing process information; and is used to receive employee information, equipment information, FIC information and production records sent by the Internet of Things platform;

[0030] The Internet of Things platform is used to receive employee information, production information, and Fica information sent by at least one edge server and identify and update production records.

[0031] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.

[0032] A computer-readable storage medium stores a computer program, which implements the steps of the above method when executed by a processor.

[0033] In summary, the present invention has the following beneficial effects: by collecting employee card and FIC card data through the Lora collector, and processing and transferring the data through the edge server, the progress of garment processing can be supervised and recorded;

[0034] The automatic orchestration function of edge servers can facilitate the deployment of applications corresponding to edge servers, thereby reducing labor costs;

[0035] Through the interaction of the Lora collector, Lora gateway and edge server, the focus of data processing and protocol analysis is placed on the edge server, so that the business system does not need to worry about the concept of gateway in function implementation, and the system's processing of sub-devices is consistent with the processing method of single IoT devices, reducing the workload of business system development, reducing costs and enhancing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 It is a schematic diagram of the process of the present invention;

[0037] Figure 2 It is a data interaction timing diagram of the present invention;

[0038] Figure 3 This is the structural diagram during assembly;

[0039] Figure 4 1 is a diagram showing the internal structure of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION

[0040] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings. Several embodiments of the present invention are shown in the accompanying drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein.

[0041] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal connection of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances. The terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features.

[0042] In the present invention, unless otherwise clearly specified and limited, the first feature being "above" or "below" the second feature may include the first and second features being in direct contact, or may include the first and second features being in contact not directly but through another feature between them. Moreover, the first feature being "above", "above" and "above" the second feature includes the first feature being directly above and obliquely above the second feature, or simply indicates that the first feature is higher in level than the second feature. The first feature being "below", "below" and "below" the second feature includes the first feature being directly below and obliquely below the second feature, or simply indicates that the first feature is lower in level than the second feature. The terms "vertical", "horizontal", "left", "right", "above", "below" and similar expressions are for illustrative purposes only, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.

[0043] The present invention is described in detail below in conjunction with the accompanying drawings and embodiments.

[0044] The present invention provides a method for calculating the productivity of employees in a garment processing factory. Figure 1 and Figure 2 As shown, including:

[0045] Step 100: Pre-create several edge service nodes on the IoT platform, set business functions of several edge service nodes respectively, label edge servers with the same business function with the same label, and obtain several labels; establish several application templates, associate application templates with labels; deploy the same functional application to edge service nodes with the same label through the same application template, and obtain several edge servers; the IoT platform sends basic business information to several edge servers;

[0046] Step 200: Collect employee card numbers through the Lora collector and send the employee card number, collector device number and employee card swiping time as first collection information to the corresponding Lora gateway; encapsulate the first collection information through the corresponding Lora gateway, and send the encapsulated first collection information to the corresponding edge server through the MQTT protocol;

[0047] Step 300: The corresponding edge server matches the employee information from the basic business information according to the first collected information, sends the employee information to the corresponding Lora gateway through the MQTT protocol, and the Lora gateway sends the employee information to the Lora collector with the corresponding collector device number; and sends the employee information and the employee card swiping time to the Internet of Things platform through the MQTT protocol;

[0048] Step 400: collect the Fika card number through the Lora collector and send the Fika card number, collector device number and Fika card swiping time as second collection information to the corresponding Lora gateway; encapsulate the second collection information through the corresponding Lora gateway and send it to the corresponding edge server;

[0049] Step 500: The edge server matches the employee information according to the second collected information, calculates the capacity information according to the Fika card number and the basic business information, and sends the capacity information to the Internet of Things platform through the MQTT protocol.

[0050] In actual applications, several edge service nodes are created on the IoT platform, and unified labels are given to the edge service nodes in the same batch. The edge service nodes in the same batch are edge service nodes with the same business functions, so that applications can be deployed on multiple edge service nodes at the same time in the future. The application development on the edge service node is consistent with the development mode of ordinary software. The developed application is packaged into a docker image, and then the application image is sent to the edge service node through the IoT platform. Create a corresponding application template for each application on the IoT platform, including the application name, application label, image address, application configuration, image configuration, etc.

[0051] The IoT platform encapsulates the basic business data into JSON format and sends the basic business data to the edge server for storage through the MQTT protocol. When employees perform processing, they need to swipe their employee cards first. The Lora collector collects the employee card number and sends the employee card number, collector device number and employee card swiping time to the Lora gateway. The Lora gateway encapsulates the employee card number, collector device number and employee card swiping time, and then sends them to the edge server using the MQTT protocol. The edge server matches the employee information with the same employee card number in the basic business data, and calculates the number of pieces completed by the employee today in the basic business data, and then sends the employee card number and employee card swiping time to the IoT platform for reporting the employee's clock-in record. Subsequently, the edge server sends the employee information to the corresponding Lora gateway, and the corresponding Lora gateway sends the employee information to the Lora gateway with the corresponding collector device number. ra collector, the corresponding employee information can be displayed in the Lora collector of the corresponding collector device number, and the employee information is bound to the collector device so that the employee can determine whether the clock-in is successful and whether the employee information is incorrect; subsequently, when the employee receives the garment parts for processing, he needs to collect the Fika card number on the garment parts through the Lora collector. At this time, the Lora collector sends the Fika card number, collector device number and Fika swipe time to the edge server through the Lora gateway. After receiving the Fika card number, employee card number, collector device number and Fika swipe time, the edge server can match the number of pieces completed by the employee today in the basic business data according to the employee information, and then add the Fika card number to the basic business data and associate it with the employee information. According to the corresponding update of the production information in the basic business data, the production capacity information can be obtained; among them, both the employee card and the Fika are IC cards;

[0052] In actual applications, the Lora collector has a corresponding collector device number, and the Lora gateway has a corresponding gateway identification number. When the Lora collector and the Lora gateway transmit data, the corresponding collector device number and gateway identification number will be passed to the edge server. When the edge server issues instructions to the Lora gateway, it issues instructions according to the gateway identification number. After receiving the instructions, the Lora gateway sends the information to the corresponding Lora collector according to the collector device number.

[0053] Furthermore, the method further includes establishing a plurality of application templates, associating the application templates with labels, and deploying the same functional application to edge service nodes with the same label through the same application template to obtain a plurality of edge servers:

[0054] Create a second edge service node on the IoT platform;

[0055] Add a label to the second edge service node;

[0056] The Internet of Things platform deploys the corresponding functional application to the second edge service node according to the label and the corresponding application template to obtain the second edge server.

[0057] In actual applications, since the factory is in a state of continuous improvement, when the output is increased significantly, the edge server also needs to be expanded. When a new edge server needs to be added, it is only necessary to label the new edge service node with the required function. The IoT platform automatically deploys the application template to the edge service node, so that it automatically installs the corresponding edge application to build a new edge server.

[0058] Furthermore, the basic business data includes: work order information, ticket information, process information, parking information, employee information and output information. Among them, the work order information is associated with the ticket information, and the processing process and employee information involved in the processing of the garment parts corresponding to the ticket can be quickly found through the work order information; the ticket information includes the corresponding ticket card number and garment model; the process information includes the complex process of each employee; the parking information includes the processing station where each garment is currently located; the employee information includes the employee card number, employee name and employee photo, etc.; the output information includes the daily output of each employee, the daily output of the garment processing factory and the total output.

[0059] Further, the edge server matches the employee information according to the second collected information, and calculates the capacity information according to the Fika card number and the basic business information, including:

[0060] The edge server matches the employee information according to the collector device number in the second collected information;

[0061] The edge server identifies the number of garments processed by each employee today from the production information based on the employee information, and adds the Fikaka number to the number of garments processed by the corresponding employee today to obtain the production of each employee today;

[0062] The edge server calculates the production capacity information based on each employee's today's output.

[0063] In actual applications, the Lora collector sends the Fika card number, collector device number and Fika swiping time to the edge server through the Lora gateway. After receiving the Fika card number, collector device number and Fika swiping time, the edge server can read the corresponding employee information through the collector device number. According to all employee information, the number of pieces completed by each employee today can be matched in the basic business data. Then the corresponding Fika card number is added to the basic business data and associated with the corresponding employee information. According to the production information in the basic business data, it is updated accordingly to obtain the total production.

[0064] Furthermore, after sending the production capacity information to the Internet of Things platform through the MQTT protocol, the method further includes:

[0065] The edge server matches the current processing procedure of the corresponding Fika according to the employee information; sends the current processing procedure of the corresponding Fika to the IoT platform through the MQTT protocol; sends the current processing procedure of the corresponding Fika to the Lora gateway through the MQTT protocol, and the Lora gateway sends the current processing procedure of the corresponding Fika to the Lora collector with the corresponding collector device number.

[0066] In actual applications, the corresponding process of the employee is matched according to the employee information and associated with the Fika information. Then the total output and the current processing process of the Fika are sent to the IoT platform, so that the progress of garment processing can be supervised and recorded; the employee's today's output and the current processing process of the Fika are sent to the Lora gateway through the MQTT protocol, and the Lora gateway sends the employee's today's output and the current processing process of the Fika to the Lora collector with the corresponding collector device number; the Lora collector displays the Fika information, employee information and the employee's today's output.

[0067] Furthermore, after sending the current processing procedure of the corresponding Fika to the Internet of Things platform through the MQTT protocol, it also includes:

[0068] The IoT platform updates the basic business information according to the production capacity information and the current processing steps of the corresponding Fica, and sends the updated basic business information to the edge server.

[0069] In actual applications, after receiving today's production and the current processing procedures of the corresponding Fica from the corresponding employees reported by the edge server, the IoT platform updates the total production and the processing procedures of the corresponding Fica, and sends the updated basic business information to the edge server.

[0070] Furthermore, the IoT platform updates basic business information according to the production capacity information and the current processing procedure of the corresponding Fika, including:

[0071] The IoT platform calculates the production information of each employee based on the production capacity information and updates the basic business information.

[0072] In actual applications, the production data of each employee today can be calculated through production capacity information, and the production information in the basic business data can be updated with the production data of each employee today; through the current processing process of the corresponding Fika, the process of the corresponding garment part can be determined, thereby confirming the parking space information of the Fika, and then updating the basic business information.

[0073] The present invention also provides a system for calculating the productivity of employees in a garment processing factory, such as Figure 3 As shown, including:

[0074] Lora collector 10, used to collect employee card number, Fika card number, collector device number and card swiping time and upload them to Lora gateway; used to receive employee information and production information sent by Lora gateway;

[0075] Lora gateway 20, used to encapsulate the information collected by at least one Lora collector and report it to the edge server; used to receive employee information, production information and equipment information sent by the edge server;

[0076] The edge server 30 is used to perform identification calculations based on the information reported by at least one Lora gateway to obtain employee information, production information, FIC information and current processing process information; and is used to receive employee information, equipment information, FIC information and production records sent by the Internet of Things platform;

[0077] The Internet of Things platform 40 is used to receive employee information, production information, and Fica information sent by at least one edge server and identify and update production records.

[0078] In actual applications, an edge server is deployed in the factory. The server is a microcomputer running the Linux system. Multiple microservice applications such as "data collection application", "business processing application" and "MQTT Broker" are deployed in the system. The Lora collector is placed at all workstations in the factory that need to record production, and data is collected by employees swiping their cards; the business processing application encapsulates the data collected by the Lora collector into a standardized protocol for the edge gateway after localized data modeling analysis and data calculation in the edge server according to business needs, and then reports it to the IoT platform through the MQTT Broker. The MQTT Broker assumes the two responsibilities of data interaction between various applications on the edge server and data interaction between the edge server and the IoT platform. Through the ability of automatic orchestration of edge applications, the same hardware device (edge ​​server) can be deployed with different software (application images developed in Java or other languages) on demand, so as to adapt to different data collection devices and different demand scenarios, and achieve the purpose of mass production. This technology uses the batch management function through the automatic orchestration framework of the IoT platform to create batches for each batch of edge servers to be installed and deployed in advance. Different batches define different application orchestration strategies (application deployment templates) according to requirements, which are used to automatically install the corresponding edge applications when the edge server is activated. In the device installation and implementation phase, by running the application for automatic installation and deployment on the edge server, multiple processes such as edge server initialization, activation, and application installation are automatically completed, so that the edge gateway can be ready for use out of the box, with one-click installation and deployment, and the implementation process is streamlined. Later software upgrades and fault repairs can also be supported remotely. On the IoT platform, the mirror version of the edge application can be upgraded online to reduce the cost of personnel attendance on site. The capabilities of the transparent gateway are mainly reflected in the management of Lora devices and the interaction process from the device end to the business end: the life cycle management and data protocol processing of the "gateway device" are strictly encapsulated within the interaction range between the edge gateway and the IoT platform. The data processing and function implementation of the Lora device and business system are not sensitive to the "gateway". In the Lora device data reporting process, data is still organized according to the protocol agreed with the business system. After the edge server receives the data, it interprets the protocol and re-encapsulates it into a gateway protocol and sends it to the IoT platform. For example, when the edge server receives the Ficard number and employee card number reported by the Lora device, the business processing application will match the corresponding Ficard information and employee information based on the two card numbers, and then generate the number of garments that the employee has tied corresponding to the Ficard. Finally, the calculation result is encapsulated into a gateway protocol and reported to the IoT platform; the IoT platform disassembles the protocol into the Lora device protocol and forwards it to the business system. Similarly, when the business system reversely controls the Lora device, it directly sends the identification name and business protocol of the Lora device to the IoT platform, which is then transmitted to the Lora device after secondary encoding and decoding by the platform and the edge gateway.Based on such a mechanism for processing and forwarding collected data through the middle layer of the edge gateway, the business system can directly reuse the original implemented modules (data reporting module, calculation module, message forwarding module, instruction issuing module) for the docking and processing of garment processing data, remote control, operation monitoring, etc., reducing the investment cost of customized research and development. In the use of the business system, it is only necessary for the implementation personnel to make the associated configuration between the edge gateway and the Lora device during the installation phase of the gateway. Customers do not need to understand the concept of "gateway", but only need to directly view and control the data of the factory processing progress through the cloud business system. Lora local networking communication technology, its network architecture is as follows: the terminal node Lora collects data, then sends the data to the Lora gateway, and then aggregates it to the network server (edge ​​server), and finally sends it to the application server (cloud business system). Lora can well realize the characteristics required by the Internet of Things, such as long-distance communication, long battery life, large system capacity, and low hardware cost.

[0079] Furthermore, the edge server 30 includes:

[0080] A data synchronization module 31, used for synchronizing the production records sent by the management module;

[0081] A Fika query module 32, for querying Fika information according to the Fika card number;

[0082] The process query module 33 is used to match employee information according to employee card number and extract process information from the employee information;

[0083] The production calculation module 34 is used to calculate the total production and the employee's today's production based on the employee information, production records and Fika information;

[0084] The data reporting module 35 is used to report the employee card number, total production and today's production of the employee to the Internet of Things platform;

[0085] The instruction sending module 36 is used to send employee information, production information and equipment information to the Lora gateway.

[0086] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. When the computer program is executed by the processor, a method for calculating the production capacity of employees in a garment processing factory is implemented.

[0087] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0088] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: pre-creating a number of edge service nodes on an Internet of Things platform, respectively setting business functions of the several edge service nodes, and labeling edge servers with the same business function with the same label to obtain a number of labels; establishing a number of application templates, associating the application templates with the labels; deploying the same functional application to the edge service nodes with the same label through the same application template to obtain a number of edge servers; the Internet of Things platform sends basic business information to the several edge servers;

[0089] Collect employee card numbers through the Lora collector and send the employee card number, collector device number and employee card swiping time as first collection information to the corresponding Lora gateway; encapsulate the first collection information through the corresponding Lora gateway, and send the encapsulated first collection information to the corresponding edge server through the MQTT protocol;

[0090] The corresponding edge server matches the employee information from the basic business information according to the first collected information, sends the employee information to the corresponding Lora gateway through the MQTT protocol, and the Lora gateway sends the employee information to the Lora collector with the corresponding collector device number; the employee information and the employee card swiping time are sent to the Internet of Things platform through the MQTT protocol;

[0091] The Lora collector collects the Fika card number and sends the Fika card number, the collector device number and the Fika card swiping time as the second collection information to the corresponding Lora gateway; the corresponding Lora gateway encapsulates the second collection information and sends it to the corresponding edge server;

[0092] The edge server matches the employee information according to the second collected information, calculates the capacity information according to the Fika card number and the basic business information, and sends the capacity information to the Internet of Things platform through the MQTT protocol.

[0093] In one embodiment, the step of establishing a plurality of application templates, associating the application templates with labels, and deploying the same functional application to edge service nodes with the same label through the same application template to obtain a plurality of edge servers further includes:

[0094] Create a second edge service node on the IoT platform;

[0095] Add a label to the second edge service node;

[0096] The Internet of Things platform deploys the corresponding functional application to the second edge service node according to the label and the corresponding application template to obtain the second edge server.

[0097] In one embodiment, the edge server matches the employee information according to the second collected information, and calculates the capacity information according to the Fika card number and the basic business information, including:

[0098] The edge server matches the employee information according to the collector device number in the second collected information;

[0099] The edge server identifies the number of garments processed by each employee today from the production information based on the employee information, and adds the Fikaka number to the number of garments processed by the corresponding employee today to obtain the production of each employee today;

[0100] The edge server calculates the production capacity information based on each employee's today's output.

[0101] In one embodiment, after sending the production capacity information to the Internet of Things platform through the MQTT protocol, the method further includes:

[0102] The edge server matches the current processing procedure of the corresponding Fika according to the employee information; sends the current processing procedure of the corresponding Fika to the IoT platform through the MQTT protocol; sends the current processing procedure of the corresponding Fika to the Lora gateway through the MQTT protocol, and the Lora gateway sends the current processing procedure of the corresponding Fika to the Lora collector with the corresponding collector device number.

[0103] In one embodiment, after sending the current processing procedure of the corresponding Fika to the Internet of Things platform through the MQTT protocol, it also includes:

[0104] The IoT platform updates the basic business information according to the production capacity information and the current processing steps of the corresponding Fica, and sends the updated basic business information to the edge server.

[0105] In one embodiment, the IoT platform updates basic business information according to the production capacity information and the current processing steps of the corresponding Fika, including:

[0106] The IoT platform calculates the production information of each employee based on the production capacity information and updates the basic business information.

[0107] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0108] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0109] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.

Claims

1. A method for calculating the productivity of employees in a garment processing factory, characterized in that: include: Create several edge service nodes on the IoT platform in advance, set the business functions of several edge service nodes respectively, and label the edge servers with the same business function with the same label to obtain several labels; Establish several application templates, associate application templates with labels; deploy the same functional application to edge service nodes with the same label through the same application template to obtain several edge servers; the IoT platform sends basic business information to several edge servers; Collect employee card numbers through the Lora collector and send the employee card number, collector device number and employee card swiping time as first collection information to the corresponding Lora gateway; encapsulate the first collection information through the corresponding Lora gateway, and send the encapsulated first collection information to the corresponding edge server through the MQTT protocol; The corresponding edge server matches the employee information from the basic business information according to the first collected information, sends the employee information to the corresponding Lora gateway through the MQTT protocol, and the Lora gateway sends the employee information to the Lora collector with the corresponding collector device number; the employee information and the employee card swiping time are sent to the Internet of Things platform through the MQTT protocol; The Lora collector collects the Fika card number and sends the Fika card number, the collector device number and the Fika card swiping time as the second collection information to the corresponding Lora gateway; the corresponding Lora gateway encapsulates the second collection information and sends it to the corresponding edge server; The edge server matches the employee information according to the second collected information, calculates the capacity information according to the Fika card number and the basic business information, and sends the capacity information to the Internet of Things platform through the MQTT protocol.

2. The method according to claim 1, characterized in that The method further includes establishing a plurality of application templates, associating the application templates with labels, and deploying the same functional application to edge service nodes with the same label through the same application template to obtain a plurality of edge servers: Create a second edge service node on the IoT platform; Add a label to the second edge service node; The Internet of Things platform deploys the corresponding functional application to the second edge service node according to the label and the corresponding application template to obtain the second edge server.

3. The method according to claim 1, characterized in that: The basic business information includes: work order information, ticket information, process information, parking space information, employee information and production information.

4. The method according to claim 3, characterized in that The edge server matches the employee information according to the second collected information, and calculates the capacity information according to the Fika card number and the basic business information, including: The edge server matches the employee information according to the collector device number in the second collected information; The edge server identifies the number of garments processed by each employee today from the production information based on the employee information, and adds the Fikaka number to the number of garments processed by the corresponding employee today to obtain the production of each employee today; The edge server calculates the production capacity information based on each employee's today's output.

5. The method according to claim 3, characterized in that: After the production capacity information is sent to the IoT platform through the MQTT protocol, the method further includes: The edge server matches the current processing procedure of the corresponding Fika according to the employee information; sends the current processing procedure of the corresponding Fika to the IoT platform through the MQTT protocol; sends the current processing procedure of the corresponding Fika to the Lora gateway through the MQTT protocol, and the Lora gateway sends the current processing procedure of the corresponding Fika to the Lora collector with the corresponding collector device number.

6. The method according to claim 5, characterized in that After sending the current processing steps of the corresponding Fika to the IoT platform through the MQTT protocol, it also includes: The IoT platform updates the basic business information based on the production capacity information and the current processing steps of the corresponding Fica, and sends the updated basic business information to the edge server.

7. The method according to claim 6, characterized in that The IoT platform updates basic business information based on the production capacity information and the current processing steps of the corresponding Fika, including: The IoT platform calculates the production information of each employee based on the production capacity information and updates the basic business information.

8. A system for calculating the productivity of employees in a garment processing factory, used to implement the steps of any one of the methods of claims 1 to 7, characterized in that: include: Lora collector, used to collect employee card number, Fika card number, collector device number and card swipe time and upload them to Lora gateway; Used to receive employee information and production information under Lora Gateway; Lora gateway, used to encapsulate the information collected by at least one Lora collector and report it to the edge server; used to receive employee information, production information and equipment information sent by the edge server; The edge server is used to perform identification calculations based on the information reported by at least one Lora gateway to obtain employee information, production information, Fika information, and current processing process information; Used to receive employee information, equipment information, Fica information and production records sent by the IoT platform; The Internet of Things platform is used to receive employee information, production information, and Fica information sent by at least one edge server and identify and update production records.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Medical hand hygiene supervision system based on LoRaWAN internet of things protocol

    CN107644515A

  • LORA Internet-of-Things environmental data collection and cochain implementation method based on edge computing and blockchain

    CN109194761A