A production management method and production management system for a production line
By scanning production-related QR codes and integrating information data into different storage areas for matching, the problem of performance degradation in traditional systems when processing large amounts of data or multiple users access is solved, and efficient and secure production management is achieved.
Patent Information
- Application Number
- CN202311701051.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-11
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2043-12-11
AI Technical Summary
When traditional production management systems process large amounts of scanned data or multiple users access simultaneously, their performance deteriorates and their response time becomes longer, resulting in low efficiency and poor accuracy.
By scanning multiple production-related QR codes, different types of production information are parsed out, and their data is integrated into different data groups, and sent to the corresponding storage area for data query index matching, and piece counting information is centrally stored to generate piece counting reports.
It improves query efficiency and data availability, reduces system response time, and improves the performance and security of the production management system.
Smart Images

Figure CN117932118B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a production management method and a production management system for a production line. Background Art
[0002] With the increasing degree of informatization of workshop production, the application of industrial Internet is increasing. Industrial Internet of Things is a new infrastructure, application model and industrial ecology that deeply integrates the new generation of information and communication technology with industrial economy. Through the comprehensive connection of people, machines, objects, systems, etc., it builds a new manufacturing and service system covering the entire industrial chain and the entire value chain, providing a way to realize the digitalization, networking and intelligent development of industry and even industry.
[0003] In traditional production piece-rate accounting, the business must fill in the daily report manually, and then a dedicated person will check and count it one by one. Problems such as high human error rate and low efficiency emerge one after another. In order to improve the efficiency and accuracy of piece-rate accounting, a barcode scanner is used to identify the unique code of the material for statistics, and the system background completes the verification and calculation logic. However, in the current traditional production management system, if there is a large amount of scanned data in the system, or if multiple users access the system at the same time, it may cause system performance to decline and response time to increase.
[0004] Therefore, how to overcome the above-mentioned defects has become an important issue to be solved urgently by those skilled in the art. Summary of the invention
[0005] The present invention overcomes the deficiencies of the above-mentioned technologies and provides a production management method and a production management system for a production line.
[0006] To achieve the above object, the present invention adopts the following technical solutions:
[0007] The first aspect of the present invention discloses a production management method for a production line, which is applied to a production management system and comprises the following steps:
[0008] The user uses a barcode scanner to scan multiple production-related QR codes;
[0009] When the contents of all QR codes scanned by the barcode scanner meet the pre-configured contents, it is determined that all QR codes have been scanned successfully, and a round of scanning is considered to be completed, and an information matching instruction is generated:
[0010] In response to the information matching instruction, matching is performed with the information pre-stored in the system to centrally store the piece-rate information of each user in the same data packet;
[0011] Receive a user's click operation on the item column of the piecework detail report on the system interface, and generate a piecework detail report display instruction;
[0012] In response to the piece-rate detailed report display instruction, the data in the data packet is grouped and managed to be mapped to corresponding positions of the system interface, thereby generating a piece-rate detailed report;
[0013] In response to the user's click operation on other item columns, different system interfaces for production management are updated, and each updated system interface is provided with a corresponding operation button for the user to perform query management;
[0014] The pre-stored information is information entered by the user in different system interfaces according to the production information type and stored in the database. The database is divided into different storage areas according to the different production information types, so as to store the pre-stored information in different partitions;
[0015] The “response to the information matching instruction, matching with the information pre-stored in the system to centrally store the piecework information of each user in the same data package” includes:
[0016] In response to the information matching instruction, data of different types of production information parsed from different two-dimensional codes are integrated into different data groups;
[0017] Different data groups are respectively sent to storage areas corresponding to the same type of production information for data query index matching, and the piece-rate information of each matched user is centrally stored in the data packet.
[0018] Preferably, the “sending the data groups to storage areas corresponding to the same type of production information for data query index matching, and centrally storing the matched piecework information of each user in the data packet” includes:
[0019] Define the unique identification data in each data group as the index key value;
[0020] Define multiple data entered corresponding to the same object in the storage area as a data set, each of the data sets includes at least one data matching the index key value;
[0021] The index key values in the data group are respectively sent to the corresponding storage areas stored in advance, the data matching the index key values are searched in the corresponding data set, and all the data of the matching data set are stored in the data packet.
[0022] Preferably, each of the multiple production-related QR codes stores a type of production information, and the multiple production-related QR codes include: a user QR code storing employee information, a material QR code storing material information, and a process QR code storing process information;
[0023] The method further includes the following steps before "the user scans multiple production-related QR codes with a barcode scanner":
[0024] The first character box is displayed on the system interface to prompt the user to scan the user QR code to log in.
[0025] Preferably, the "situation where the contents of all QR codes scanned by the barcode scanner conform to the pre-configured contents" means that the string information of the QR code contents parsed by the user QR code, process QR code, and material QR code are all correct and there is no repeated scanning. The specific judgment method is as follows:
[0026] S11. When the user scans the user QR code, if the string information of the parsed QR code is correct and there is no repeated scanning, it is determined that the first scan is successful, and a login success instruction is generated;
[0027] S12, in response to a successful login instruction, displaying a second character box on the system interface for prompting the user's identity and for prompting the user to proceed to the next code scanning step, wherein the second character box includes: a first character string for prompting the user's identity and a second character string for prompting the user to proceed to the next code scanning step, and the first character string and the second character string are displayed in different formats to distinguish them;
[0028] S13, when the user scans the process QR code, if the string information of the parsed QR code is correct and there is no repeated scanning, it is determined that the second scan is successful, and an initial interface display instruction is generated;
[0029] S14, in response to the initial interface display instruction, updating the system interface so that a third character box related to employee information and a fourth character box related to process information are displayed in the first area of the system interface, a fifth character box indicating the next code scanning step is displayed in the second area of the system interface, and a sixth character box indicating whether the next code scanning step is successful is displayed in the third area of the system interface, wherein the sixth character box includes fixed characters and changing characters that are updated according to the situation of the next code scanning step;
[0030] S15. When the user scans the material QR code, if the string information of the parsed QR code is correct and there is no repeated scanning, it is determined that the third scan is successful, and the corresponding successful change character in the sixth character box in step S14 is updated first, and then the system interface is updated to display the seventh character box for prompting the successful scanning;
[0031] When the seventh character box displays the character "scan successfully", it is determined that all QR codes have been scanned successfully, and one round of scanning is considered to be completed, and an information matching instruction is generated.
[0032] Preferably, before the step of "responding to the information matching instruction", the following steps are included:
[0033] Determine the permissions obtained by the user, grant different operation permissions and display different content in the system interface according to the permissions obtained by the user;
[0034] The “determining the permissions obtained by the user, granting different operation permissions according to the permissions obtained by the user, and displaying different contents in the system interface” includes:
[0035] Obtaining user identity information based on the parsed content in the scanned user QR code, and determining the permissions obtained by the user based on different user identity information, wherein the permissions obtained by the user include: administrator permissions and ordinary user permissions;
[0036] According to the permissions obtained by the user, an operation button for printing a QR code related to production and an operation button for entering or editing information on multiple system interfaces are displayed on different system interfaces for users with administrator permissions;
[0037] For users with ordinary user permissions, information related to the user himself is displayed on different system interfaces, and information unrelated to the user himself is hidden.
[0038] Preferably, the piece-rate detailed report includes: a first display area for displaying the total piece-rate quantity and the total piece-rate amount, a second display area for displaying the piece-rate detailed report form, and a third display area for managing the piece-rate detailed report; the piece-rate detailed report form is composed of multiple groups of data rows, and each time the user completes scanning of multiple production-related QR codes, the piece-rate detailed report form maps a new group of data rows;
[0039] Each group of data rows includes: the data row acquisition time, at least one cell related to employee information, at least one cell related to process information, at least one cell related to material information, at least one cell related to material unit price calculation, and a cell showing the piecework amount obtained by the scanned employee for completing a certain material under a certain process;
[0040] Among them, the at least one cell related to employee information includes: employee name, employee work number; the at least one cell related to process information includes: process name, production line; the at least one cell related to material information includes: material code; the at least one cell related to material unit price calculation includes: unit price and material quantity of the material corresponding to a certain process; the unit price of the material corresponding to a certain process is obtained by matching the material information with pre-stored information.
[0041] Preferably, different piece-rate detailed report display instructions are generated according to different process types of the scanned process QR codes, thereby generating different piece-rate methods and mapping different piece-rate detailed reports;
[0042] When the process name parsed from the process QR code is a welding process, a piecework detail report display instruction for the corresponding welding process is generated, thereby generating a piecework method calculated by area. At this time, the piecework detail report maps: a cell for the welding area required for welding a certain material, and a cell for the unit price per area of a certain material;
[0043] The piecework amount obtained by the scanned employee for completing a certain material in a certain process = the welding area required for welding the certain material * the unit price obtained for welding each area of the certain material * the quantity of the material.
[0044] Preferably, after the "response to the piecework detailed report display instruction, grouping and managing the data in the data packet to map to corresponding positions on the system interface, thereby generating a piecework detailed report", it also includes:
[0045] According to the piecework detail report form, all data rows of the same employee are integrated into a group of total data rows and key information of the piecework detail report form is extracted to generate a total piecework report;
[0046] When the process name parsed from the process QR code is a welding process, the total parts report includes:
[0047] Add all material quantities corresponding to the same employee name / employee number to generate a total material quantity cell; add all welding areas required for welding a certain material corresponding to the same employee name / employee number to generate a total welding area cell; add all piecework amounts obtained by all scanned employees corresponding to the same employee name / employee number for completing a certain material in a certain process to generate a total salary cell;
[0048] The total piece report also includes extracting the following key information: extracting only the employee ID from all data related to user information, extracting only the process name from all data related to process information, and extracting only the material code from all data related to material information or not extracting any material data;
[0049] The data rows of the total piece report are sorted in a specific order, and the specific order includes: sorting by date according to the time when the data rows were acquired, and sorting by the amount of the total salary cell based on the date sorting.
[0050] The second aspect of the present invention discloses a production management system for a production line, the production management system comprising: a barcode scanner 100 and a display processing device 200, the barcode scanner 100 and the display processing device 200 are connected via a data line or wirelessly, the barcode scanner 100 is used to scan a two-dimensional code related to production and parse the data contained in the two-dimensional code and transmit it to the display processing device 200;
[0051] The display processing device 200 includes: a front-end data receiving and display module 201, a back-end data processing module 202, and a database module 203;
[0052] The barcode scanner 100 is used to scan the QR code related to production and analyze the data contained in the QR code and transmit it to the front-end data receiving and display module 201;
[0053] The front-end data receiving and display module 201 is used to receive the data contained in the two-dimensional code parsed by the barcode scanner 100 and package the data and transmit it to the background processing module 202 in the form of a network protocol, receive the data processed by the background processing module 202 and display it on the system interface, and capture the operation instructions of the user interaction and send them to the background processing module 202;
[0054] The backend data processing module 202 receives data or operation instructions transmitted by the frontend data receiving and displaying module 201, processes related business logic judgments, sends the processed data to the frontend data receiving and displaying module 100, and stores the data in the database module 203;
[0055] The database module 203 is used to store all data stored by users and to provide data query for users.
[0056] Preferably, the background data processing module 202 includes:
[0057] The code is divided into a first functional module 2021 for calling the information of the database module 203 and mapping the list interface on the system page;
[0058] A second functional module 2022 for storing the information input by the user through scanning the code into the database module 203;
[0059] The third functional module 2023 is used to perform logical processing on the information.
[0060] Compared with the prior art, the present invention has the following beneficial effects:
[0061] 1. The present invention analyzes different types of production information by scanning multiple two-dimensional codes related to production, integrates the data of different types of production information into different data groups, and stores different pre-entered information in different storage areas according to the type of production information, so that the pre-stored information is stored in partitions, and different data groups can only query the corresponding storage area for matching, without having to search the entire database, thereby improving the query efficiency; in addition, when the data in a certain storage area fails, it is not necessary to restore the entire database, thereby improving the availability and reliability of the data. At the same time, it is conducive to the subsequent encryption and permission control of the data in a certain storage area to improve security. The present invention also stores the piecework information of each user matched by the query index in the same data packet, so that the piecework detailed report can be generated by calling the data of the data packet later. In this way, when there is a large amount of scanned data in the system, or when multiple users access the system at the same time, it is not necessary to search the entire database for the data of each two-dimensional code, and when multiple users enter system information at the same time, they will not only access the same storage area to continuously update the database, which can improve system performance and reduce response time.
[0062] 2. In this case, various information in production management is updated in a timely manner by entering the information separately in different system interfaces, reducing the chance of entering too much data into the same form at the same time and making the data easier to view by displaying it in different interfaces. At the same time, different system interfaces cover various types of lists related to production, such as user lists, process lists, material lists, unit price list interfaces, unit price update list interfaces, etc., so that users can query the details of various production information, which is conducive to improving subsequent management efficiency.
[0063] 3. The present invention can extract key information from the piecework details report form, and at the same time, simplify the form information while obtaining the piecework information of the employees, so that the user can read it more concisely and clearly, which is convenient for the administrator user to manage or for ordinary users to view. At the same time, by sorting the data rows of the total piecework report in a specific order, it is convenient for the administrator user to view in real time the quantity of materials completed by different employees in a certain period of time and the total wages obtained, so as to clearly know the work efficiency of the employees, so as to manage the inefficient employees in the future. In particular, the total piecework wages are directly related to the work efficiency of the welding workers. Such sorting is conducive to speeding up the production progress and reducing costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1 It is a schematic diagram of the scanning process of the first embodiment of this case.
[0065] Figure 2 It is a schematic diagram of data processing from generating a piece-rate detailed report display instruction to mapping to a piece-rate detailed report in the first embodiment of the present case.
[0066] Figure 3 This is a schematic diagram of the system interface of the first embodiment of the present invention before the user logs in.
[0067] Figure 4 It is a schematic diagram of the system interface in response to a successful login instruction in the first embodiment of the present case.
[0068] Figure 5 It is a schematic diagram of the system interface when responding to the initial interface display instruction in the first embodiment of the present case.
[0069] Figure 6 It is a schematic diagram of the system interface when the three scans in the first embodiment of the present case are all successful.
[0070] Figure 7 It is a structural diagram of the piecework details report displayed on the system interface of this case.
[0071] Figure 8 It is a structural diagram of the total piece report displayed on the system interface of this case.
[0072] Fig. 9 It is a structural diagram of the production management system of Example 2 of this case.
[0073] Fig.10 It is a structural diagram of the background processing module of the second embodiment of this case. DETAILED DESCRIPTION
[0074] The features of the present invention and other related features are further described in detail below through embodiments to facilitate understanding by those skilled in the art:
[0075] Embodiment 1
[0076] A production management method for a production line, applied to a production management system, comprises the following steps:
[0077] The user uses a barcode scanner to scan the user QR code, process QR code, and material QR code in sequence;
[0078] When the barcode scanner scans the user's QR code, if the string information of the parsed QR code is correct and there is no repeated scanning, it is determined that the first scan is successful, and a login success instruction is generated;
[0079] like Figure 4As shown, in response to the successful login instruction, characters such as "Hello xx" or "Hello administrator" are displayed at a certain position in the second character box 2 of the system interface to prompt the user that the login is successful, and at the same time, characters such as "Please scan the production line process QR code" are displayed at another position in the second character box to prompt the user to proceed to the next scanning step; in this way, new employees who are not familiar with the production line process can also operate according to the prompts, reducing the occurrence of scanning errors and improving the production line scanning efficiency. Among them, the first character string that prompts the user to log in successfully and the second character string that prompts the user to proceed to the next scanning step are displayed in different formats to distinguish them;
[0080] When the user scans the process QR code, if the string information of the parsed QR code is correct and there is no repeated scanning, it is judged that the second scan is successful, and the initial interface display instruction is generated;
[0081] like Figure 5 As shown, in response to the initial interface display instruction, the system interface is updated so that a third character box 311 of the employee operation ID and a fourth character box 312 corresponding to the current production line process such as welding are displayed in the first area 31 of the system interface, a fifth character box 321 with the prompt "Scan the material QR code" is displayed in the second area 32 of the system interface, and two sixth character boxes 331 with the prompts "Scan code successful" and "Scan code failed" are displayed in the third area 33 of the system interface, and the sixth character box 331 includes fixed characters and changing characters that are updated according to the situation of the next scanning step;
[0082] like Figure 5 and Figure 6 As shown, when the user scans the material QR code, if the string information of the parsed QR code is correct and there is no repeated scan, it is judged that the third scan is successful. First, the changing character corresponding to "scan code successfully" in the sixth character box 331 in step S14 is updated, and then the system interface is updated to display the seventh character box 4 of the "scan code successfully" character; wherein, the changing character is a number, which is updated from N to N+1, and N starts to accumulate from 0. In addition, when the user scans the material QR code, if the string information of the parsed QR code is incorrect or the scan is repeated, the changing character in the sixth character box of "scan code failed" is updated to remind the user to rescan or check. In this way, the number of material scans, that is, the piece count, can be clearly displayed, and employees can intuitively see whether the scan is successful.
[0083] When the seventh character box 4 displays the character "Scan code successfully", it is determined that all QR codes are scanned successfully, that is, the piece counting is successful, and an information matching instruction is generated.
[0084] In response to the information matching instruction, matching is performed with the information pre-stored in the system to centrally store the piece-rate information of each user in the same data packet;
[0085] Receive a user's click operation on the item column of the piecework detail report on the system interface, and generate a piecework detail report display instruction;
[0086] In response to the piece-rate detailed report display instruction, the data in the data packet is grouped and managed to be mapped to corresponding positions of the system interface, thereby generating a piece-rate detailed report;
[0087] In response to the user's click operation on other item columns, different system interfaces for production management are updated, and each updated system interface is provided with a corresponding operation button for the user to perform query management;
[0088] The pre-stored information is information entered by the user in different system interfaces according to the type of production information and stored in the database. The database is divided into different storage areas according to the different types of production information, so as to partition and store the pre-stored information; for example, it is divided into a storage area E1 for storing user information, a storage area E2 for storing process information, a storage area E3 for storing material information, a storage area E4 for storing unit price information, etc.;
[0089] The “response to the information matching instruction, matching with the information pre-stored in the system to centrally store the piecework information of each user in the same data package” includes:
[0090] In response to the information matching instruction, data of different types of production information parsed from different QR codes are integrated into different data groups, such as integrating data parsed from user QR codes into data group A, integrating data parsed from process QR codes into data group B, and integrating data parsed from material QR codes into data group C;
[0091] Different data groups are respectively sent to storage areas corresponding to the same type of production information for data query index matching, and the piece-rate information of each matched user is centrally stored in the data packet.
[0092] As described above, the present invention analyzes different types of production information by scanning multiple two-dimensional codes related to production, integrates the data of different types of production information into different data groups, and stores different pre-entered information in different storage areas according to the type of production information, so that the pre-stored information is stored in partitions, and different data groups can only query the corresponding storage area for matching, without having to search the entire database, thereby improving the query efficiency; in addition, when the data in a certain storage area fails, it is not necessary to restore the entire database, thereby improving the availability and reliability of the data. At the same time, it is conducive to the subsequent encryption and permission control of the data in a certain storage area to improve security. The present invention also stores the piecework information of each user matched by the query index in the same data packet, so that the piecework detailed report can be generated by calling the data of the data packet later. In this way, when there is a large amount of scanned data in the system, or when multiple users access the system at the same time, it is not necessary to search the entire database for the data of each two-dimensional code, and when multiple users enter system information at the same time, they will not only access the same storage area to continuously update the database, which can improve system performance and reduce response time.
[0093] As a more preferred implementation, the “sending the data groups to storage areas corresponding to the same type of production information for data query index matching” includes:
[0094] Define the unique identification data in each data group as the index key value; for example, the unique identification data of the data group obtained by parsing the user's QR code can be an employee ID, and the employee ID is used as the index key value;
[0095] Multiple data sets corresponding to the same object in the storage area are integrated into a data set, and each data set includes at least one data matching the index key value; for example, a user enters data associated with an employee ID, such as the employee's name, the employee's department, etc., using different employee IDs as objects in the system user list, and these data sets are integrated into a data set. When the employee ID is used as the index key value, the entire data set corresponding to the employee ID can be matched to obtain all the data in the data set and store them in the data packet;
[0096] The data are sent to the corresponding storage areas stored in advance, and the data matching the index key value is searched in the corresponding data set according to the index key value.
[0097] As a more preferred implementation, before the "responding to the information matching instruction", the following steps are included:
[0098] Determine the permissions obtained by the user, grant different operation permissions and display different content in the system interface according to the permissions obtained by the user;
[0099] The “determining the permissions obtained by the user, granting different operation permissions according to the permissions obtained by the user, and displaying different contents in the system interface” includes:
[0100] Obtaining user identity information based on the parsed content in the scanned user QR code, and determining the permissions obtained by the user based on different user identity information, wherein the permissions obtained by the user include: administrator permissions and ordinary user permissions;
[0101] According to the permissions obtained by the user, an operation button for printing a QR code related to production and an operation button for entering or editing information on multiple system interfaces are displayed on different system interfaces for users with administrator permissions;
[0102] For users with ordinary user permissions, information related to the user himself is displayed on different system interfaces, and information unrelated to the user himself is hidden.
[0103] In this way, since piecework involves sensitive information such as wages and rewards, employees' privacy can be protected by limiting user permissions.
[0104] In specific implementation, the different system interfaces in the “pre-stored information is information entered by the user in different system interfaces according to the type of production information and stored in the database” include:
[0105] User list interface for entering and viewing employee information;
[0106] Process list interface for entering and viewing process information;
[0107] Material list interface for entering and viewing material information;
[0108] Unit price list interface for entering and viewing unit price information;
[0109] Unit price update list interface used to enter and view unit price update information.
[0110] In this way, various information in production management can be updated in time by entering the information separately in different system interfaces, reducing the chance of incorrect entry of more data into the same form at the same time. Displaying the data in different interfaces also makes data viewing clearer. At the same time, different system interfaces cover various types of lists related to production, such as user lists, process lists, material lists, unit price list interfaces, unit price update list interfaces, etc., so that users can query the details of various production information, which is conducive to improving subsequent management efficiency.
[0111] As a more preferred embodiment, each of the multiple production-related QR codes stores a type of production information, and the multiple production-related QR codes include: a user QR code storing employee information, a material QR code storing material information, and a process QR code storing process information;
[0112] The method further includes the following steps before "the user scans multiple production-related QR codes with a barcode scanner":
[0113] The first character box 1 for prompting the user to scan the user QR code to log in is displayed on the system interface. In this way, the user can be prompted to log in before the user logs in, thereby improving the scanning efficiency of the production line.
[0114] Among them, Figure 7 As shown, the piece-rate detailed report includes: a first display area 5 for displaying the total piece-rate quantity and the total piece-rate amount, a second display area 6 for displaying the piece-rate detailed report form, and a third display area 7 for managing the piece-rate detailed report; the piece-rate detailed report form is composed of multiple groups of data rows, and each time the user completes scanning of multiple production-related QR codes, the piece-rate detailed report form maps a new group of data rows; in this way, through the partitioned display, the system interface is more intuitive and concise, making it easier for users to understand the interface, ensuring that users can easily find the required functions, and providing clear navigation.
[0115] Each group of data rows includes: the data row acquisition time, at least one cell related to employee information, at least one cell related to process information, at least one cell related to material information, at least one cell related to material unit price calculation, and a cell showing the piecework amount obtained by the scanned employee for completing a certain material under a certain process;
[0116] Among them, the at least one cell related to employee information includes: employee name, employee work number; the at least one cell related to process information includes: process name, production line; the at least one cell related to material information includes: material code; the at least one cell related to material unit price calculation includes: unit price and material quantity of the material corresponding to a certain process; the unit price of the material corresponding to a certain process is obtained by matching the material information with pre-stored information.
[0117] As a more preferred implementation, different piece-rate detailed report display instructions are generated according to different process types of the scanned process QR codes, thereby generating different piece-rate methods and mapping different piece-rate detailed reports;
[0118] When the process name parsed from the process QR code is a welding process, a piecework detail report display instruction for the corresponding welding process is generated, thereby generating a piecework method calculated by area. At this time, the piecework detail report maps: a cell for the welding area required for welding a certain material, and a cell for the unit price per area of a certain material;
[0119] The piecework amount obtained by the scanned employee for completing a certain material in a certain process = the welding area required for welding the certain material * the unit price obtained for welding each area of the certain material * the quantity of the material;
[0120] As mentioned above, each data row in the piecework detail report displays the data of each piecework in detail, and records the scanned data completely, which is convenient for subsequent query and sorting, and is conducive to subsequent tracking and monitoring of the production process. For production lines with welding processes, it is possible to quickly and accurately record and calculate the piecework wages of employees in the welding process based on the different materials, different welded areas, and different unit prices of the welded materials, which is conducive to improving production management efficiency.
[0121] As a more preferred embodiment, Figure 8 As shown, after the "response to the piecework detailed report display instruction, grouping and managing the data in the data packet to map to the corresponding position of the system interface, thereby generating a piecework detailed report", it also includes:
[0122] According to the piecework detail report form, all data rows of the same employee are integrated into a group of total data rows and key information of the piecework detail report form is extracted to generate a total piecework report;
[0123] When the process name parsed from the process QR code is a welding process, the total parts report includes:
[0124] Add all material quantities corresponding to the same employee name / employee number to generate a total material quantity cell; add all welding areas required for welding a certain material corresponding to the same employee name / employee number to generate a total welding area cell; add all piecework amounts obtained by all scanned employees corresponding to the same employee name / employee number for completing a certain material in a certain process to generate a total salary cell;
[0125] The total piece report also includes extracting the following key information: extracting only the employee ID from all data related to user information, extracting only the process name from all data related to process information, and extracting only the material code from all data related to material information or not extracting any material data;
[0126] The data rows of the total piece report are sorted in a specific order, and the specific order includes: sorting by date according to the time when the data rows were acquired, and sorting by the amount of the total salary cell based on the date sorting.
[0127] As described above, by extracting the key information of the piecework details report form, it is possible to obtain the employee piecework information while simplifying the table information, making it more concise and clear for users to read, and convenient for administrator users to manage or ordinary users to view. At the same time, by sorting the data rows of the total piecework report in a specific order, it is convenient for administrator users to view in real time the number of materials completed and the total wages obtained by different employees in a certain period of time, so as to clearly understand the work efficiency of employees, so as to manage inefficient employees in the future. In particular, the total piecework wages are directly related to the work efficiency of welders. Such sorting is conducive to speeding up production progress and reducing costs.
[0128] Embodiment 2
[0129] like Fig. 9 and Fig.10 As shown, a production management system for a production line includes: a barcode scanner 100 and a display processing device 200. The barcode scanner 100 and the display processing device 200 are connected via a data line or wirelessly. The barcode scanner 100 is used to scan a two-dimensional code related to production and parse the data contained in the two-dimensional code and transmit it to the display processing device 200.
[0130] The display processing device 200 includes: a front-end data receiving and display module 201, a back-end data processing module 202, and a database module 203;
[0131] The barcode scanner 100 is used to scan the QR code related to production and analyze the data contained in the QR code and transmit it to the front-end data receiving and display module 201;
[0132] The front-end data receiving and display module 201 is used to receive the data contained in the two-dimensional code parsed by the barcode scanner 100 and package the data and transmit it to the background processing module 202 in the form of a network protocol, receive the data processed by the background processing module 202 and display it on the system interface, and capture the operation instructions of the user interaction and send them to the background processing module 202;
[0133] The backend data processing module 202 receives data or operation instructions transmitted by the frontend data receiving and displaying module 201, processes related business logic judgments, sends the processed data to the frontend data receiving and displaying module 100, and stores the data in the database module 203;
[0134] The database module 203 is used to store all data stored by users and to provide data query for users.
[0135] As described above, the barcode scanning gun 100 and the display processing device 200, as well as the settings of the front-end data receiving and display module 201, the background data processing module 202, and the database module 203 of the display processing device 200, can flexibly process data information in the production process, improve production efficiency, and optimize the production management process.
[0136] As a preferred implementation, the background data processing module 202 includes:
[0137] The code is divided into a first functional module 2021 for calling the database module 203 information and mapping the list interface on the system page; in specific implementation, this module includes a series of functions or methods for obtaining information from the database and mapping it to the system page. Specifically, it may include querying the database, obtaining the returned data, formatting the data into a specific format such as JSON, and then sending it to the front-end page.
[0138] The second functional module 2022 is used to store the information input by the user scanning the code into the database module 203; in specific implementation, the second functional module 2022 includes a function or method for capturing the user's input, verifying the validity of the input, and then storing the valid input in the database. The third functional module 2023 is used to perform logical processing on the information. In specific implementation, the third functional module 2023 includes a function or method for cleaning the data obtained from the database, performing some logical processing on the data such as calculation, judgment, etc., and then sending the processed data to other modules or storing it in the database.
[0139] As described above, through the design of the first functional module 2021, the second functional module 2022, and the third functional module 2023, the code of the background data processing module 202 is modularly designed, and the code is divided into small, independent modules, each module is responsible for a specific function. This helps to reduce complexity, avoid repeated writing of similar codes, and facilitates subsequent code modules to be easier to understand and maintain.
[0140] As mentioned above, this case protects a production management method and a production management system for a production line. All technical solutions that are the same or similar to this case should be deemed to fall within the scope of protection of this case.
Claims
1. A production management method for a production line, applied to a production management system, characterized in that: The following steps are involved: The user uses a barcode scanner to scan multiple production-related QR codes; When the contents of all QR codes scanned by the barcode scanner meet the pre-configured contents, it is determined that all QR codes have been scanned successfully, and a round of scanning is considered to be completed, and an information matching instruction is generated: In response to the information matching instruction, matching is performed with the information pre-stored in the system to centrally store the piece-rate information of each user in the same data packet; Receive a user's click operation on the item column of the piecework detail report on the system interface, and generate a piecework detail report display instruction; In response to the piece-rate detailed report display instruction, the data in the data packet is grouped and managed to be mapped to corresponding positions of the system interface, thereby generating a piece-rate detailed report; In response to the user's click operation on other item columns, different system interfaces for production management are updated, and each updated system interface is provided with a corresponding operation button for the user to perform query management; The pre-stored information is information entered by the user in different system interfaces according to the type of production information and stored in the database. The database is divided into different storage areas according to different types of production information to store the pre-stored information in different partitions; The “response to the information matching instruction, matching with the information pre-stored in the system to centrally store the piecework information of each user in the same data package” includes: In response to the information matching instruction, data of different types of production information parsed from different two-dimensional codes are integrated into different data groups; Different data groups are respectively sent to storage areas corresponding to the same type of production information for data query index matching, and the piece-rate information of each matched user is centrally stored in the data packet.
2. A production management method for a production line according to claim 1, characterized in that: The "sending the data groups to the storage areas corresponding to the same type of production information for data query index matching, and centrally storing the matched piecework information of each user in the data packet" includes: Define the unique identification data in each data group as the index key value; Define multiple data entered corresponding to the same object in the storage area as a data set, each of the data sets includes at least one data matching the index key value; The index key values in the data group are respectively sent to the corresponding storage areas stored in advance, the data matching the index key values are searched in the corresponding data set, and all the data of the matching data set are stored in the data packet.
3. A production management method for a production line according to claim 1, characterized in that: Each of the multiple production-related QR codes stores a type of production information, and the multiple production-related QR codes include: a user QR code storing employee information, a material QR code storing material information, and a process QR code storing process information; The method also includes the following steps before "the user scans multiple production-related QR codes with a barcode scanner": The first character box is displayed on the system interface to prompt the user to scan the user QR code to log in.
4. A production management method for a production line according to claim 3, characterized in that: The "situation where all QR code contents scanned by the barcode scanner conform to the pre-configured contents" means that the string information of the QR code contents parsed by the user QR code, process QR code, and material QR code are all correct and there is no repeated scanning. The specific judgment method is as follows: S11. When the user scans the user QR code, if the string information of the parsed QR code is correct and there is no repeated scanning, it is determined that the first scan is successful, and a login success instruction is generated; S12, in response to a successful login instruction, displaying a second character box on the system interface for prompting the user's identity and for prompting the user to proceed to the next code scanning step, wherein the second character box includes: a first character string for prompting the user's identity and a second character string for prompting the user to proceed to the next code scanning step, and the first character string and the second character string are displayed in different formats to distinguish them; S13, when the user scans the process QR code, if the string information of the parsed QR code is correct and there is no repeated scanning, it is determined that the second scan is successful, and an initial interface display instruction is generated; S14, in response to the initial interface display instruction, updating the system interface so that a third character box related to employee information and a fourth character box related to process information are displayed in the first area of the system interface, a fifth character box indicating the next code scanning step is displayed in the second area of the system interface, and a sixth character box indicating whether the next code scanning step is successful is displayed in the third area of the system interface, wherein the sixth character box includes fixed characters and changing characters that are updated according to the situation of the next code scanning step; S15. When the user scans the material QR code, if the string information of the parsed QR code is correct and there is no repeated scanning, it is determined that the third scan is successful, and the corresponding successful change character in the sixth character box in step S14 is updated first, and then the system interface is updated to display the seventh character box for prompting the successful scanning; When the seventh character box displays the character "scan successfully", it is determined that all QR codes have been scanned successfully, and one round of scanning is considered to be completed, and an information matching instruction is generated.
5. A production management method for a production line according to claim 1, characterized in that: Before the "responding to the information matching instruction", the following steps are included: Determine the permissions obtained by the user, grant different operation permissions and display different contents in the system interface according to the permissions obtained by the user; The "determining the permissions obtained by the user, granting different operation permissions according to the permissions obtained by the user, and displaying different contents in the system interface" includes: Obtaining user identity information based on the parsed content in the scanned user QR code, and determining the permissions obtained by the user based on different user identity information, wherein the permissions obtained by the user include: administrator permissions and ordinary user permissions; According to the permissions obtained by the user, an operation button for printing a QR code related to production and an operation button for entering or editing information on multiple system interfaces are displayed on different system interfaces for users with administrator permissions; For users with ordinary user permissions, information related to the user himself is displayed on different system interfaces, and information unrelated to the user himself is hidden.
6. A production management method for a production line according to claim 1, characterized in that: The piece-rate detailed report includes: a first display area for displaying the total piece-rate quantity and the total piece-rate amount, a second display area for displaying the piece-rate detailed report form, and a third display area for managing the piece-rate detailed report; the piece-rate detailed report form is composed of multiple groups of data rows, and each time the user completes scanning of multiple production-related QR codes, the piece-rate detailed report form maps a new group of data rows; Each group of data rows includes: the data row acquisition time, at least one cell related to employee information, at least one cell related to process information, at least one cell related to material information, at least one cell related to material unit price calculation, and a cell showing the piecework amount obtained by the scanned employee for completing a certain material under a certain process; Among them, the at least one cell related to employee information includes: employee name, employee work number; the at least one cell related to process information includes: process name, production line; the at least one cell related to material information includes: material code; the at least one cell related to material unit price calculation includes: unit price and material quantity of the material corresponding to a certain process; the unit price of the material corresponding to a certain process is obtained by matching the material information with pre-stored information.
7. A production management method for a production line according to claim 6, characterized in that: Different piece-rate detailed report display instructions are generated according to the different process types of the scanned process QR code, thereby generating different piece-rate methods and mapping different piece-rate detailed reports; When the process name parsed from the process QR code is a welding process, a piecework detail report display instruction for the corresponding welding process is generated, thereby generating a piecework method calculated by area. At this time, the piecework detail report maps: a cell for the welding area required for welding a certain material, and a cell for the unit price per area of a certain material; The piece-rate amount obtained by the scanned employee for completing a certain material in a certain process = the welding area required for welding the certain material * the unit price obtained for welding each area of the certain material * the quantity of the material.
8. A production management method for a production line according to claim 7, characterized in that: After the "response to the piecework detailed report display instruction, grouping and managing the data in the data packet to map to the corresponding position of the system interface, thereby generating a piecework detailed report", it also includes: According to the piecework detail report form, all data rows of the same employee are integrated into a group of total data rows and key information of the piecework detail report form is extracted to generate a total piecework report; When the process name parsed from the process QR code is a welding process, the total parts report includes: Add all material quantities corresponding to the same employee name / employee number to generate a total material quantity cell; add all welding areas required for welding a certain material corresponding to the same employee name / employee number to generate a total welding area cell; add all piecework amounts obtained by all scanned employees corresponding to the same employee name / employee number for completing a certain material in a certain process to generate a total salary cell; The total piece report also includes extracting the following key information: extracting only the employee ID from all data related to user information, extracting only the process name from all data related to process information, and extracting only the material code from all data related to material information or not extracting any material data; The data rows of the total piece report are sorted in a specific order, and the specific order includes: sorting by date according to the time when the data rows were acquired, and sorting by the amount of the total salary cell based on the date sorting.
9. A production management system for a production line, characterized in that: Used to execute the production management method according to any one of claims 1 to 8, the production management system comprising: a barcode scanner (100) and a display processing device (200), the barcode scanner (100) and the display processing device (200) being connected via a data line or wirelessly, the barcode scanner (100) being used to scan a two-dimensional code related to production and to parse data contained in the two-dimensional code and transmit the data to the display processing device (200); The display processing device (200) comprises: a front-end data receiving and display module (201), a back-end data processing module (202), and a database module (203); The barcode scanner (100) is used to scan a two-dimensional code related to production and analyze the data contained in the two-dimensional code and transmit the data to a front-end data receiving and display module (201); The front-end data receiving and display module (201) is used to receive data contained in the two-dimensional code parsed by the barcode scanning gun (100), encapsulate and package the data, and transmit it to the background processing module (202) in the form of a network protocol, receive data processed by the background processing module (202) and display it on the system interface, and capture user interaction operation instructions and send them to the background processing module (202); The backend data processing module (202) receives data or operation instructions transmitted by the frontend data receiving and displaying module (201), processes related business logic judgments, sends the processed data to the frontend data receiving and displaying module (100), and stores the data in the database module (203); The database module (203) is used to store all data stored by users and to provide data query for users.
10. A production management system for a production line according to claim 9, characterized in that: The background data processing module (202) comprises: The code is divided into a first functional module (2021) for calling the database module (203) information and mapping the list interface on the system page; A second functional module (222) for storing information input by a user through scanning a code into a database module (203); A third functional module (2023) is used for performing logical processing on the information.
Citation Information
Patent Citations
Production management system for medical instrument factory and using method thereof
CN112348477A
Method, device and apparatus for remotely managing software user and storage medium
CN113127841A