Machine tool work reporting method, device and equipment and storage medium
Through automated user identity verification and barcode scanning technology, combined with the machine tool reporting model, the problem of low efficiency of traditional manual input coding is solved, the reporting efficiency and accuracy of machine tool production are improved, equipment faults are handled in a timely manner, and the overall production efficiency is improved. .
Patent Information
- Application Number
- CN202411154568.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-09-20
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The traditional method of manually inputting product codes is inefficient and error-prone in the machine tool manufacturing industry. It lacks intelligent support, resulting in limited production speed and accuracy, and the inability to immediately notify equipment failures, affecting production efficiency.
By obtaining the user identity information of workers for login verification, the barcode scanning function is used to automatically obtain product codes, and production operations are performed according to work order tasks. The machine tool reporting model is used to predict work intensity and optimize the production process.
It improves the reporting efficiency of machine tool product production, reduces human errors, enhances the safety and standardization of production management, ensures the continuity and efficiency of the production process, handles equipment failures in a timely manner, and improves overall production efficiency.
Smart Images

Figure CN118674237A
Abstract
Description
Technical Field
[0001] The present application relates to the field of industrial Internet technology, and in particular to a machine tool reporting method, device, equipment and storage medium. Background Art
[0002] With the continuous development of industrial Internet technology, the machine tool manufacturing industry is facing an urgent need to improve reporting efficiency.
[0003] At present, most machine tool manufacturing industries manually input the product codes of normal production on the product process displayed on the manual interaction interface. However, the traditional manual input of product codes is not only inefficient and error-prone, but also increases the labor intensity of workers. Frequent data errors due to human errors greatly restrict production speed and reporting accuracy. In addition, this traditional manual reporting method lacks intelligent support, and cannot immediately notify on-site personnel when equipment fails, delaying the problem handling time and further affecting the overall production efficiency.
[0004] Therefore, how to improve the reporting efficiency of machine tool production is a technical problem that needs to be solved urgently. Summary of the invention
[0005] The main purpose of this application is to provide a machine tool reporting method, device, equipment and storage medium, aiming to improve the reporting efficiency of machine tool product production.
[0006] To achieve the above-mentioned purpose, the present application provides a machine tool reporting method, the machine tool reporting method comprising: Obtaining user identity information of the operator, and performing login verification based on the user identity information to obtain a login verification result; In response to the login verification result being login success information, a barcode scan is performed on the product to be manufactured according to a preset barcode scanning function to obtain a product code of the product to be manufactured, and a work order task of the product to be manufactured is determined according to the product code; Perform production operations on the product to be manufactured according to the work order task.
[0007] In one embodiment, the step of performing login verification based on the user identity information to obtain a login verification result includes: Determine the byte array corresponding to the user identity information, and perform character string conversion on the byte array according to a preset character conversion function to obtain a hexadecimal character string of the byte array; Converting the hexadecimal string into standard login data according to a preset standard data function, and determining multiple user login data in a preset user library; Login verification is performed on each user login data according to the standard login data to obtain a login verification result.
[0008] In one embodiment, the step of performing login verification on each user login data according to the standard login data to obtain a login verification result includes: Detecting whether there is user login data identical to the standard login data among the plurality of user login data; If there is user login data identical to the standard login data among the plurality of user login data, determining that the login verification result is login success information; If there is no user login data identical to the standard login data among the plurality of user login data, it is determined that the login verification result is login failure information.
[0009] In one embodiment, after the step of performing a production operation on the product to be manufactured according to the work order task, the machine tool work reporting method further includes: Acquire machine tool reporting data of the CNC machine tool during the production operation process based on a preset collection frequency, and determine the predicted work intensity of the CNC machine tool according to a preset machine tool reporting model and the machine tool reporting data, wherein the machine tool reporting data at least includes temperature data and cutting data; When the predicted work intensity matches the preset optimal work intensity, the step of performing the production operation on the product to be manufactured according to the work order task is continued.
[0010] In one embodiment, the step of determining the predicted working intensity of the CNC machine tool based on the preset machine tool reporting model and the machine tool reporting data includes: According to a preset mean processing function, the temperature data and the cutting data are respectively processed by mean value to obtain temperature mean data and cutting mean data; Determine the temperature weight corresponding to the temperature data and the cutting weight corresponding to the cutting data, and input the product of the temperature mean data and the temperature weight, and the product of the cutting mean data and the cutting weight into a preset machine tool reporting model for model training to obtain the predicted working intensity of the CNC machine tool; wherein, The mode algorithm corresponding to the machine tool reporting model is: ; in, represents the working intensity adjustment value of the CNC machine tool, represents the predicted workload of the CNC machine tool, represents the temperature weight corresponding to the temperature data, represents the temperature mean data, represents the cutting weight corresponding to the cutting data, represents the cutting mean data, It is the work intensity offset item corresponding to the machine tool work reporting model.
[0011] In one embodiment, after the step of determining the predicted working intensity of the numerically controlled machine tool according to the preset machine tool work reporting model and the machine tool work reporting data, the machine tool work reporting method further includes: Determining whether the predicted work intensity is within a preset intensity threshold range corresponding to the optimal work intensity; If the predicted work intensity is within the intensity threshold range corresponding to the optimal work intensity, determining that the predicted work intensity matches the optimal work intensity; If the predicted work intensity is not within the intensity threshold range corresponding to the optimal work intensity, it is determined that the predicted work intensity does not match the optimal work intensity.
[0012] In one embodiment, after the step of determining that the predicted work intensity does not match the optimal work intensity, the machine tool reporting method further includes: The machine tool work reporting model is updated according to a preset model update function to obtain an updated machine tool work reporting model, and the updated machine tool work reporting model is returned as the next preset machine tool work reporting model to execute the step of determining the predicted work intensity of the CNC machine tool based on the preset machine tool work reporting model and the machine tool work reporting data.
[0013] In addition, to achieve the above-mentioned purpose, the present application also provides a machine tool working report device, and the machine tool working report device of the present application includes: A login verification module is used to obtain the user identity information of the operator, and perform login verification based on the user identity information to obtain a login verification result; A response module, configured to, in response to the login verification result being login success information, scan the barcode of the product to be manufactured according to a preset barcode scanning function, obtain the product code of the product to be manufactured, and determine the work order task of the product to be manufactured according to the product code; An operation module is used to perform production operations on the product to be manufactured according to the work order task.
[0014] Each functional module of the machine tool reporting device of the present application implements the steps of the machine tool reporting method of the present application as described above during operation.
[0015] In addition, to achieve the above-mentioned purpose, the present application also provides a machine tool reporting device, which includes a memory, a processor, and a machine tool reporting program stored in the memory and executable on the processor, and the machine tool reporting program implements the steps of the above-mentioned machine tool reporting method when executed by the processor.
[0016] In addition, to achieve the above-mentioned purpose, the present application also provides a medium, which is a computer-readable storage medium, on which a machine tool reporting program is stored, and when the machine tool reporting program is executed by a processor, the steps of the above-mentioned machine tool reporting method are implemented.
[0017] The present application provides a machine tool reporting method, device, equipment and storage medium to optimize the traditional manual reporting method and significantly improve the reporting efficiency of machine tool product production. Specifically, the machine tool reporting method set in the present application automatically obtains and verifies the user identity information of the operator, ensuring that only personnel with legal authority can participate in production operations, thereby enhancing the security and standardization of production management. When the login verification result obtained by performing login verification based on the user identity information is a successful login information, the barcode scanning of the product to be manufactured is performed according to the preset barcode scanning function, and the product code of the product to be manufactured can be obtained efficiently and accurately, thereby effectively avoiding the errors and inefficiencies that are prone to occur in the traditional manual input method, and realizing the rapid and accurate entry of the product code of the product to be manufactured; next, the work order task of the product to be manufactured can be quickly matched according to the scanned product code, thereby providing clear and accurate guidance support for subsequent production operations, that is, the production operation is performed on the product to be manufactured according to the work order task, thereby ensuring the continuity and efficiency of the production process, thereby significantly improving the reporting efficiency of machine tool product production. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 This is a flow chart of the first embodiment of the machine tool reporting method of the present application; Figure 2 This is a flow chart of a second embodiment of the machine tool reporting method of the present application; Figure 3 A work order generation flow chart for a machine tool work reporting method according to an embodiment of the present application; Figure 4 This is a block diagram of a PDA industrial app reporting system involved in an embodiment of a machine tool reporting method of this application; Figure 5 This is a schematic diagram of the structure of the machine tool reporting device in this application; Figure 6 A schematic diagram of the device structure of the hardware operating environment involved in the device in this application; Figure 7 This is a schematic diagram of the storage medium structure of the machine tool reporting device of this application.
[0019] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0020] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0021] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0022] With the vigorous development of industrial Internet technology and the in-depth advancement of intelligent manufacturing, the machine tool manufacturing industry, as an important part of the manufacturing industry, is facing unprecedented pressure for transformation and upgrading and an urgent need to improve production efficiency. In the current production environment, the machine tool manufacturing industry generally adopts manual operation to enter product processes and normal production product codes one by one on the manual interaction interface. Although this traditional manual input method meets basic production needs to a certain extent, its inherent defects are becoming increasingly prominent, becoming a bottleneck restricting production efficiency and reporting accuracy.
[0023] Specifically, the traditional method of manually inputting product codes (i.e., manual reporting) has the following significant problems: First, it is inefficient. The manual input process takes a long time, and as the scale of production expands, this problem becomes more serious; second, errors occur frequently, and input errors caused by human factors are difficult to avoid, which not only increases the workload of data verification and correction, but may also mislead subsequent production processes; third, the labor intensity is high, and long-term repetitive work can easily lead to worker fatigue, which in turn affects work efficiency and product quality; fourth, the degree of intelligence is low. In the face of emergencies such as equipment failure, the traditional reporting method cannot immediately notify on-site personnel, resulting in prolonged problem handling time and damaged production efficiency.
[0024] Therefore, based on the shortcomings of the above-mentioned traditional manual reporting method, the present application proposes a machine tool reporting method, device, equipment and storage medium.
[0025] Based on this, the embodiment of the present application provides a machine tool reporting method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the machine tool reporting method of the present application.
[0026] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or a device capable of realizing the above functions, a machine tool reporting device (such as a CNC machine tool), etc. The following takes the machine tool reporting device as an example to illustrate this embodiment and the following embodiments.
[0027] Reference Figure 1 The present application provides a machine tool reporting method. In a first embodiment of the machine tool reporting method, the machine tool reporting method includes: Step S10: Obtain the user identity information of the operator, and perform login verification based on the user identity information to obtain a login verification result.
[0028] In this embodiment, the machine tool reporting device provided in this application pre-enters the employee identity information of each operator in the preset user library, and sets the user rights corresponding to each operator. Each operator can use the NFC (Near Field Communication) reading and writing function of the PDA (Personal Digital Assistant) device to determine the user identity information of each operator. Exemplarily, a wireless communication connection is established between the machine tool reporting device provided in this application and the PDA device. When an operator's employee ID card contacts the PDA device, the global event listener built into the PDA device is automatically triggered according to the NFC tag of the employee ID card to read the user identity information of the employee ID card, thereby simplifying the traditional cumbersome identity authentication steps, and then converting the byte array corresponding to the user identity information into standard login data, and determining the user login data specified by each employee identity information, and performing login verification on each user login data according to the standard login data, the login verification result can be accurately obtained, thereby realizing efficient and accurate identification of the operator's identity and authority verification.
[0029] It should be noted that the global event listener is used to read the user identity information contained in the NFC tag of the employee ID card. In addition, the global event listener can be represented by plus.global-Event.addEventListener('newintent', handle_nfc_data1).
[0030] Step S20: In response to the login verification result being login success information, a barcode scan is performed on the product to be manufactured according to a preset barcode scanning function to obtain a product code of the product to be manufactured, and a work order task of the product to be manufactured is determined according to the product code.
[0031] In this embodiment, the PDA device set up in this application responds to the login verification result being a successful login message, activates the preset barcode scanning function in the PDA device, and performs barcode scanning on the product to be manufactured according to the broadcast scan code pointed to by the barcode scanning function, thereby avoiding the errors and inefficiencies that are prone to occur in traditional manual input methods, and can quickly and accurately obtain the product code of the product to be manufactured, and then find a data template matching the product code from multiple preset work order templates, and display the matching data template through the human-computer exchange interface of the PDA device, so that the operator does not need to manually enter a large amount of data again. The operator only needs to adjust the corresponding production quantity, planned time and production team on the data template according to actual production needs on the human-computer exchange interface to obtain the adjusted data template, and use the adjusted data template as the work order task for the product to be manufactured, thereby providing clear and accurate guidance support for subsequent production operations.
[0032] Step S30: performing production operations on the product to be manufactured according to the work order task.
[0033] In this embodiment, based on the wireless communication connection between the machine tool reporting device (such as a CNC machine tool) and the PDA device, the CNC machine tool receives the work order task uploaded by the PDA device, and performs production operations on the product to be manufactured according to the work order task, thereby ensuring the continuity and efficiency of the production process, and further significantly improving the reporting efficiency of machine tool product production.
[0034] In summary, the present application provides a machine tool reporting method, device, equipment and storage medium to optimize the traditional manual reporting method and significantly improve the reporting efficiency of machine tool product production. Specifically, the machine tool reporting method set in the present application automatically obtains and verifies the user identity information of the operator, ensuring that only personnel with legal authority can participate in production operations, thereby enhancing the security and standardization of production management. When the login verification result obtained by performing login verification based on the user identity information is a successful login information, the barcode scanning of the product to be manufactured is performed according to the preset barcode scanning function, and the product code of the product to be manufactured can be obtained efficiently and accurately, thereby effectively avoiding the errors and inefficiencies that are prone to occur in the traditional manual input method, and realizing the rapid and accurate entry of the product code of the product to be manufactured; next, the work order task of the product to be manufactured can be quickly matched according to the scanned product code, thereby providing clear and accurate guidance support for subsequent production operations, that is, performing production operations on the product to be manufactured according to the work order task, thereby ensuring the continuity and efficiency of the production process, thereby significantly improving the reporting efficiency of machine tool product production.
[0035] Further, based on the first embodiment of the present application, a second embodiment of the machine tool reporting method of the present application is proposed, referring to Figure 2 , Figure 2 The above step S10: performing login verification according to the user identity information to obtain the login verification result may also include the following implementation steps: Step S101: determining a byte array corresponding to the user identity information, and performing character string conversion on the byte array according to a preset character conversion function to obtain a hexadecimal character string of the byte array.
[0036] In this embodiment, after determining the byte array corresponding to the user identity information and performing string conversion on the byte array according to a preset character conversion function, the hexadecimal string of the byte array can be accurately obtained, thereby significantly enhancing the security of the user identity information during transmission and storage.
[0037] It should be noted that the preset character conversion functions include at least the Array.from() algorithm and the oString(16) algorithm.
[0038] In a specific embodiment, the global event listener set in the present application is configured with Intent and Intent Filter. Among them, Intent is used to represent an operation intention, and Intent Filter is used to filter intent. The global event listener set in the present application can ensure that only the required NFC tags are responded to by creating an IntentFilter and adding data types. Specifically, when an operator's employee ID card comes into contact with a PDA device, the NFC tag of the employee ID card can be automatically identified by the global event listener set in the present application, and the user identity information pointed to by the NFC tag can be transmitted to the machine tool reporting device through Intent. After determining the byte array corresponding to the user identity information, the machine tool equipment converts the byte array into a new byte array according to the Array.from() algorithm, and then performs a bitwise AND operation on each byte in the new byte array and 0xFF according to the preset bit operator to obtain the unsigned value of each byte, and converts each unsigned value into its corresponding hexadecimal initial string according to the oString(16) algorithm, and determines the string length of each hexadecimal initial string. If there is a string length less than 2, a zero character ('0') is added to the front of the hexadecimal initial string with a string length less than 2, and the last two characters of all hexadecimal initial strings are intercepted according to the slice(-2) algorithm to ensure that the result is always a two-digit hexadecimal initial string. Finally, all two-digit hexadecimal initial strings are connected using the join('') algorithm to form the final hexadecimal string.
[0039] Step S102: converting the hexadecimal string into standard login data according to a preset standard data function, and determining a plurality of user login data in a preset user library.
[0040] In this embodiment, the hexadecimal string is converted into standard login data in decimal format according to a preset standard data function. For example, the hexadecimal "A" corresponds to the decimal 10, "B" corresponds to 11, and so on. Then, starting from the lowest bit of the hexadecimal string, the value on each bit is multiplied by the corresponding weight (i.e., the power of 16) and then accumulated, so that the standard login data in decimal format can be accurately obtained, so as to be accurately compared with the login data of each user stored in the preset user library.
[0041] Step S103: performing login verification on each user login data according to the standard login data to obtain a login verification result.
[0042] In this embodiment, login verification is performed on each user's login data according to standard login data, so as to obtain the login verification result quickly and accurately, so as to achieve safe and effective authentication of the user's identity.
[0043] Further, in some feasible embodiments, the above step S103: performing login verification on each user login data according to the standard login data to obtain a login verification result, may also include the following implementation steps: Step S1031: Detect whether there is user login data identical to the standard login data among the multiple user login data.
[0044] In this embodiment, the machine tool reporting device set up in this application will detect whether there is user login data in multiple user login data that completely matches the standard login data, that is, it will detect whether there is user login data in multiple user login data that is the same as the standard login data.
[0045] Step S1032: If there is user login data identical to the standard login data among the plurality of user login data, then determining that the login verification result is login success information.
[0046] In this embodiment, if there is user login data that is the same as the standard login data among multiple user login data, it is determined that the operator has provided the correct login information, thereby determining that the login verification result is a successful login information, allowing the user to enter the reporting applet set by the machine tool reporting device.
[0047] Step S1033: If there is no user login data identical to the standard login data among the plurality of user login data, it is determined that the login verification result is login failure information.
[0048] In this embodiment, if there is no user login data identical to the standard login data among multiple user login data, it is determined that the user identity information provided by the operator is incorrect, and the login verification result can be determined as login failure information, so that the user's request to log in to the work reporting applet can be rejected, ensuring that only operators who provide correct user identity information can successfully log in to the system, effectively improving the security of logging into the work reporting applet.
[0049] Further, based on the first embodiment and / or the second embodiment of the present application, a third embodiment of the machine tool work reporting method of the present application is proposed. After the above step S30: performing the production operation on the product to be manufactured according to the work order task, the machine tool work reporting method may further include the following implementation steps: Step A10: Acquire machine tool reporting data of the CNC machine tool during the production operation based on a preset collection frequency, and determine the predicted work intensity of the CNC machine tool according to a preset machine tool reporting model and the machine tool reporting data, wherein the machine tool reporting data includes at least temperature data and cutting data.
[0050] In this embodiment, the temperature data and cutting data (i.e., machine tool reporting data) of the CNC machine tool during the production operation are synchronously collected at a preset collection frequency through the temperature sensor and cutting sensor built into the machine tool reporting equipment. Then, the machine tool reporting data is trained according to the preset machine tool reporting model, so that the predicted work intensity of the CNC machine tool can be obtained quickly and accurately.
[0051] It should be noted that the preset acquisition frequency can be understood as the number of times or frequency of signal acquisition within time t, and the preset acquisition frequency can be customized according to application requirements, and this application does not impose any restrictions here.
[0052] Step SA20: When the predicted work intensity matches the preset optimal work intensity, the step of performing the production operation on the product to be manufactured according to the work order task is continued.
[0053] In this embodiment, when the predicted work intensity matches the preset optimal work intensity, it means that the current operating state and production efficiency of the CNC machine tool are at an ideal level. Therefore, the steps of performing production operations on the product to be manufactured according to the work order task can continue to be executed, thereby achieving efficient and high-quality production operations on the product to be manufactured, which not only improves the utilization rate and production efficiency of the CNC machine tool, but also helps to extend the service life of the machine tool and reduce the risk of failure due to excessive or improper use, thereby bringing higher production and economic benefits to the enterprise.
[0054] Furthermore, in some feasible embodiments, the above step A10: determining the predicted work intensity of the CNC machine tool according to the preset machine tool work reporting model and the machine tool work reporting data, may also include the following implementation steps: Step A101: performing mean processing on the temperature data and the cutting data respectively according to a preset mean processing function to obtain temperature mean data and cutting mean data.
[0055] In this embodiment, the temperature data and the cutting data are respectively processed by the mean according to the preset mean processing function, so that the temperature mean data and the cutting mean data can be accurately obtained, thereby providing accurate and reliable data support for subsequent model training.
[0056] It should be noted that the mean processing function is: ,when Indicated in The moment When the temperature data is represents the transposed value of the temperature weight vector pointed to by the temperature data, and is the transpose symbol, is the mean temperature data The corresponding mean compensation amount is, is the temperature mean data; when Indicated in The moment When the cutting data is represents the transposed value of the cutting weight vector pointed to by the cutting data, and is the transpose symbol; is the cutting mean data The corresponding mean compensation amount is, is the cutting mean data.
[0057] Step A102: Determine the temperature weight corresponding to the temperature data and the cutting weight corresponding to the cutting data, and input the product of the temperature mean data and the temperature weight, and the product of the cutting mean data and the cutting weight into a preset machine tool reporting model for model training to obtain the predicted work intensity of the CNC machine tool.
[0058] In this embodiment, the temperature weight corresponding to the temperature data and the cutting weight corresponding to the cutting data, and the temperature mean data and the cutting mean data are multiplied with the corresponding weights respectively. Specifically, the temperature mean data is multiplied with the temperature weight, and the cutting mean data is multiplied with the cutting weight, and the product of the temperature mean data and the temperature weight, and the product of the cutting mean data and the cutting weight are input into the preset machine tool reporting model for model training, so as to accurately obtain the predicted work intensity of the CNC machine tool, significantly improve the accuracy of the predicted work intensity of the CNC machine tool, and provide strong support for production scheduling and optimization.
[0059] It should be noted that the mode algorithm corresponding to the machine tool reporting model is: ;in, represents the working intensity adjustment value of the CNC machine tool, represents the predicted workload of the CNC machine tool, represents the temperature weight corresponding to the temperature data, represents the temperature mean data, represents the cutting weight corresponding to the cutting data, represents the cutting mean data, It is the work intensity offset item corresponding to the machine tool work reporting model.
[0060] Furthermore, in some other feasible embodiments, after the above step A10: determining the predicted working intensity of the CNC machine tool according to the preset machine tool work reporting model and the machine tool work reporting data, the machine tool work reporting method may further include the following implementation steps: Step B10: Determine whether the predicted work intensity is within the intensity threshold range corresponding to the preset optimal work intensity.
[0061] In this embodiment, it is determined whether the predicted work intensity is within the intensity threshold range corresponding to the preset optimal work intensity, thereby ensuring the accuracy and objectivity of the work intensity assessment.
[0062] It should be noted that the preset optimal working intensity can be customized according to user needs, and this application does not impose any restrictions here.
[0063] Step B20: If the predicted work intensity is within the intensity threshold range corresponding to the optimal work intensity, it is determined that the predicted work intensity matches the optimal work intensity.
[0064] In this embodiment, if the predicted work intensity is within the intensity threshold range corresponding to the optimal work intensity, it is determined that the predicted work intensity matches the optimal work intensity, which means that the current operating status and production efficiency of the CNC machine tool are at an ideal level, and the steps of performing production operations on the product to be manufactured according to the work order task can continue to be executed, thereby achieving efficient and high-quality production operations on the product to be manufactured.
[0065] Step B30: If the predicted work intensity is not within the intensity threshold range corresponding to the optimal work intensity, it is determined that the predicted work intensity does not match the optimal work intensity.
[0066] In this embodiment, if the predicted work intensity is not within the intensity threshold range corresponding to the optimal work intensity, the system determines that the predicted work intensity does not match the optimal work intensity. At this time, it may be necessary to adjust the operating parameters of the machine tool or perform maintenance to ensure that the machine tool can perform production operations in the best state. This not only improves the utilization rate and production efficiency of CNC machine tools, but also helps to promptly discover and solve potential problems, thereby ensuring the stability and quality of production.
[0067] Further, in some other feasible embodiments, after the above step B30: determining that the predicted work intensity does not match the optimal work intensity, the machine tool reporting method may further include the following implementation steps: Step C10: Update the machine tool work reporting model according to the preset model update function to obtain an updated machine tool work reporting model, and return the updated machine tool work reporting model as the next preset machine tool work reporting model to execute the step of determining the predicted work intensity of the CNC machine tool based on the preset machine tool work reporting model and the machine tool work reporting data.
[0068] In this embodiment, after determining that the predicted work intensity does not match the optimal work intensity, the present application will update the update model parameters corresponding to the preset machine tool reporting model according to the preset model update function to obtain an updated machine tool reporting model. This update process takes into account the feedback and data changes in the actual production operation, so that the updated machine tool reporting model can better adapt to the actual production environment. Next, the updated machine tool reporting model will be used as the next preset machine tool reporting model, and the step of determining the predicted work intensity of the CNC machine tool based on the preset machine tool reporting model and the machine tool reporting data will be returned to execute, and the number of returned executions will be accumulated. If the predicted work intensity is detected to match the optimal work intensity within the preset return number threshold, the step of performing the production operation on the product to be manufactured according to the work order task will continue to be executed, thereby realizing efficient and high-quality production operations on the product to be manufactured, which not only improves the accuracy and reliability of the machine tool reporting model, but also ensures the continuous optimization and efficient conduct of production operations.
[0069] It should be noted that the preset model update function is:
[0070] in, Update model parameters corresponding to the model update function; Random variables for model parameter adjustment, which can be customized according to application requirements; Indicated in The moment Predicted workload intensity; Indicated in The moment Actual work intensity; represents the log-likelihood value.
[0071] In another embodiment, if the information that the predicted work intensity matches the optimal work intensity is not detected when the number of return executions exceeds the preset return number threshold, the equipment alarm button is automatically triggered so that relevant operators can formulate and implement improvement measures for the CNC machine tool.
[0072] Further, in some other feasible embodiments, (1). The machine tool reporting device set in this application is a mes (Manufacturing Execution System) adapted to PDA. First, the employee information is entered in the background, and the corresponding user permissions are set for each employee. The employee can use the NFC reading and writing function of the PDA to log in using the employee ID card or entering the account password. The system is developed using uniapp. To use this function, the NFC recognition permission of the mobile phone needs to be enabled in manifest.json; when the employee ID card is close to the PDA, the NfcAdapter.getDefaultAdapter(main) method is called to check whether the current device supports NFC, and then the nfcAdapter.isEnabled() method is used to check whether the function is enabled. In order to read NFC data, the NFC status needs to be monitored. Register a global event listener, such as plus.globalEvent.addEventListener- ('newintent', handle_nfc_data1). This event is automatically triggered when an NFC tag is close to the device. Then you need to configure Intent and IntentFilter. Intent is used to represent an operation intention, while IntentFilter is used to filter intent. By creating an IntentFilter and adding data types, you can ensure that only the required NFC tags are responded to. When the NFC tag is recognized by the device, the unique identifier (UID) of the tag is passed through the Intent. The data type of the UID is byte[]. The obtained data uses the Array.from() method to convert the byte array into a new array. Then for each byte, use the bitwise operator & to perform a bitwise AND operation with 0xFF to obtain its unsigned value. Then use the toString(16) method to convert the unsigned value into a hexadecimal string. If the length of the converted string is less than 2, add a zero character ('0') in front of it, and then convert the byte[]. Convert to Hex, use the slice(-2) method to cut off the last two characters to ensure that the result is always a two-digit hexadecimal string, and finally use the join('') method to connect all the hexadecimal strings to form the final hexadecimal string, and then convert each character of the hexadecimal number to its corresponding decimal value. For example, hexadecimal "A" corresponds to decimal 10, "B" corresponds to 11, and so on. Then, starting from the lowest bit, multiply the value on each bit by the corresponding weight (that is, the power of 16), and add the results to the final decimal number.In js, we generally use the parseInt function to convert hexadecimal to decimal, and then query the data on the server through a request to determine whether the current user can log in to the system.
[0073] (2) When employees enter the work order reporting applet, the system will display the currently available work order reporting task list. By using the barcode scanning button function of the PDA and adopting broadcast scanning, the staff does not need to focus the cursor on the input box, but can directly scan the barcode of the corresponding product to quickly query the work order reporting task from the system. The staff does not need to search for the corresponding work order task through multiple conditions again, which saves the staff time. This function requires the PDA to install an application that supports broadcast scanning, then open the application and start the broadcast mode, then initialize the broadcast scanning in the system, create an IntentFilter object, and add a broadcast action with scanning settings. Then, implement a BroadcastReceiver object named receiver, whose onReceive method will be called when the broadcast is received. In the onReceive method, first import the intent class, then get the data tag named "barcode" from the intent, and then query the corresponding work order data through the server to present it to the on-site operator; click the work order reporting task, enter the reporting details to perform the reporting operation, and employee identity recognition is required when performing the reporting operation. The staff uses the NFC function to use the ID card to close the PDA device to log in to the system or manually enter the login account to log in. The system will determine whether the user has the authority to perform the reporting operation. The identity ID card can log in and verify more quickly, eliminating some trivial processes; such as Figure 3 As shown, the barcode scanning function is used to scan the barcode of the product to be produced. The system will automatically read the barcode information of the corresponding product through scanning and broadcasting. The system will recommend a data template to the staff based on the collected data. The staff does not need to manually enter a large amount of data again. The staff only needs to adjust the required production quantity, planned time and production team according to the actual situation on this template, and click Submit to generate a new work order after confirmation; in the process of reporting, when there is a problem with the process parameters of a work order or it needs to be adjusted and updated, we will enter the new process parameters into the background system in advance to generate a barcode, and the on-site staff can use the PDA to directly scan the barcode to update the current process parameters, improve the speed, and reduce the error rate of manual operation; when it is found that the product or its components do not meet the quality standards during the production process, the staff will use the PDA to scan the barcode of the defective product, and the corresponding product information will be echoed to the system. The staff will then record the number of defective products and the reasons for the defects, submit the defective report, and the staff will formulate and implement improvement measures based on the reasons for the defects.
[0074] (3) During the product production process, the system will generate a large amount of data, which accumulates in huge amounts every day. In order to effectively manage this data, we use big data technology to integrate and store it. We will transmit it to the data center or cloud infrastructure through the network for centralized management. The data manager first cleans the data to eliminate errors and outliers to ensure that the data is accurate. Then, the data conversion work unifies the format of the original data for subsequent processing. The data fusion link merges data from different sources to obtain a more comprehensive data perspective. Selecting a suitable data storage system is a key step, which usually depends on the type and volume of the data, and may include relational databases, NoSQL databases, or distributed file systems. Design an efficient data model to optimize storage and query performance, and then load the preprocessed data into the selected system. By establishing a data warehouse or data lake, data integration and unified management are achieved. The entire process ensures that data is collected from multiple sources, cleaned, converted, and properly stored, providing a solid foundation for subsequent data analysis and decision-making.
[0075] (4) Throughout the operation, sensors and recording devices are used to collect various data on machine operation. The collected data is uploaded to the data center or cloud platform through an automated system. The data is preprocessed, including removing outliers, standardizing and merging data from different sources, and analyzing the basic statistical characteristics of the data, such as mean value, standard deviation, etc. Features that are helpful for the prediction task are extracted from the original data, and which features have the greatest impact on the model are determined for subsequent machine learning model training. According to the nature of the problem, a suitable machine learning model is selected, such as a regression model, decision tree, or neural network. The model is trained using a training data set, the model parameters are adjusted, and the performance of the model is evaluated through cross-validation and test sets. The trained model is deployed to the production environment, and the data generated in real time by the production line equipment is processed and input into the model. The model generates prediction results in real time. When the prediction results indicate that the equipment has failed, a system alarm and notification mechanism is set to promptly notify the relevant personnel on site. Otherwise, the system automatically adjusts the resource configuration based on these predictions. According to the model output, the machine operation status and resource configuration on the production line are dynamically adjusted. Ensure the coordinated work of various parts of the production line, avoid overload or no-load operation, and optimize energy use, such as adjusting the working intensity or working time of the equipment to reduce unnecessary energy consumption. Continuously monitor the system's operating status and output quality, collect system operating data and model prediction results for further model optimization. Regularly review model performance and production efficiency indicators, and make adjustments and optimizations based on feedback.
[0076] (5). The present invention also provides a PDA industrial app reporting system (such as Figure 4), enter the staff information in the background system, the staff uses the ID card or work number password to log in to the system, go to the work order task module and use the PDA scan code shortcut key to query the corresponding work order, enter the work order details to report the problem record of the work order or adjust its process parameters; in the work order reporting module, the staff uses the PDA to scan the corresponding product barcode to quickly find the product work order, start, pause or complete the work order, and record the data.
[0077] In addition, the above examples are only used to understand the present application and do not constitute a limitation on the machine tool reporting method of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.
[0078] This application also provides a machine tool reporting device, please refer to Figure 5 , Figure 5 This is a schematic diagram of the structure of the machine tool reporting device of the present application, and the machine tool reporting device includes: The login verification module H01 is used to obtain the user identity information of the operator, and perform login verification based on the user identity information to obtain a login verification result; The response module H02 is used for, in response to the login verification result being login success information, performing a barcode scan on the product to be manufactured according to a preset barcode scanning function to obtain a product code of the product to be manufactured, and determining a work order task of the product to be manufactured according to the product code; The operation module H03 is used to perform production operations on the product to be manufactured according to the work order task.
[0079] The machine tool reporting device provided by the present application adopts the machine tool reporting method in the above embodiment, which can solve the technical problem of low reliability of machine tool reporting. Compared with the prior art, the beneficial effects of the machine tool reporting device provided by the present application are the same as the beneficial effects of the machine tool reporting method provided by the above embodiment, and other technical features in the machine tool reporting device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0080] The present application provides a machine tool reporting device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the machine tool reporting method in the above-mentioned embodiment one.
[0081] Reference below Figure 6, which shows a schematic diagram of the structure of a machine tool reporting device suitable for implementing the embodiment of the present application. The machine tool reporting device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The machine tool reporting device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0082] like Figure 6 As shown, the machine tool reporting device may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the machine tool reporting device are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following devices can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the machine tool reporting device to communicate with other devices wirelessly or wired to exchange data. Although the figure shows a machine tool reporting device with various devices, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices can be implemented or provided instead.
[0083] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0084] The machine tool reporting device provided by the present application adopts the machine tool reporting method in the above embodiment, which can solve the technical problem of low reliability of machine tool reporting. Compared with the prior art, the beneficial effects of the machine tool reporting device provided by the present application are the same as the beneficial effects of the machine tool reporting method provided by the above embodiment, and other technical features in the machine tool reporting device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0085] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0086] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0087] In addition, this application provides a medium, please refer to Figure 7 , Figure 7 This is a schematic diagram of the storage medium structure of the machine tool reporting device of the present application. The medium is a computer-readable storage medium. The computer-readable storage medium stores a machine tool reporting program, and when the machine tool reporting program is executed by a processor, the steps of the above-mentioned machine tool reporting method are implemented.
[0088] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor devices, devices or components, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution device, device or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.
[0089] The computer-readable storage medium may be included in the machine tool reporting device; or it may exist independently without being assembled into the machine tool reporting device.
[0090] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the machine tool reporting device, the machine tool reporting device: Acquire cutting time domain data of a machine tool cutter, and perform wavelet transform according to the cutting time domain data to obtain cutting frequency domain data of the machine tool cutter; Determine cutting training data and cutting test data corresponding to the cutting frequency domain data, and determine a model prediction value of the machine tool cutter according to the cutting training data and a preset probability prediction model; Performing Gaussian transformation according to the model prediction value to obtain the wear sampling value of the machine tool tool; When the model prediction value matches the wear sampling value, the cutting test data is input into the probability prediction model for model training to obtain the actual wear monitoring value of the machine tool tool.
[0091] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0092] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the device, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based device that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0093] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0094] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned machine tool reporting method, and can solve the technical problem of low reliability of machine tool reporting. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the machine tool reporting method provided by the above-mentioned embodiment, and will not be elaborated here.
[0095] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned machine tool reporting method when executed by a processor.
[0096] The computer program product provided by the present application can solve the technical problem of low reliability of machine tool reporting. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the machine tool reporting method provided by the above embodiment, which will not be repeated here.
[0097] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A machine tool reporting method, characterized in that: The machine tool reporting method comprises: Obtaining user identity information of the operator, and performing login verification based on the user identity information to obtain a login verification result; In response to the login verification result being login success information, a barcode scan is performed on the product to be manufactured according to a preset barcode scanning function to obtain a product code of the product to be manufactured, and a work order task of the product to be manufactured is determined according to the product code; Perform production operations on the product to be manufactured according to the work order task.
2. The machine tool reporting method according to claim 1, characterized in that: The step of performing login verification based on the user identity information to obtain a login verification result comprises: Determine the byte array corresponding to the user identity information, and perform character string conversion on the byte array according to a preset character conversion function to obtain a hexadecimal character string of the byte array; Converting the hexadecimal string into standard login data according to a preset standard data function, and determining multiple user login data in a preset user library; Login verification is performed on each user login data according to the standard login data to obtain a login verification result.
3. The machine tool reporting method as claimed in claim 2, characterized in that: The step of performing login verification on each user login data according to the standard login data to obtain a login verification result comprises: Detecting whether there is user login data identical to the standard login data among the plurality of user login data; If there is user login data identical to the standard login data among the plurality of user login data, determining that the login verification result is login success information; If there is no user login data identical to the standard login data among the plurality of user login data, it is determined that the login verification result is login failure information.
4. The machine tool reporting method according to claim 1, characterized in that: After the step of performing the production operation on the product to be manufactured according to the work order task, the machine tool work reporting method further includes: Acquire machine tool reporting data of the CNC machine tool during the production operation process based on a preset collection frequency, and determine the predicted work intensity of the CNC machine tool according to a preset machine tool reporting model and the machine tool reporting data, wherein the machine tool reporting data at least includes temperature data and cutting data; When the predicted work intensity matches the preset optimal work intensity, the step of performing the production operation on the product to be manufactured according to the work order task is continued.
5. The machine tool reporting method according to claim 4, characterized in that: The step of determining the predicted working intensity of the numerically controlled machine tool according to the preset machine tool work reporting model and the machine tool work reporting data comprises: According to a preset mean processing function, the temperature data and the cutting data are respectively processed by mean value to obtain temperature mean data and cutting mean data; Determine the temperature weight corresponding to the temperature data and the cutting weight corresponding to the cutting data, and input the product of the temperature mean data and the temperature weight, and the product of the cutting mean data and the cutting weight into a preset machine tool reporting model for model training to obtain the predicted working intensity of the CNC machine tool; wherein, The mode algorithm corresponding to the machine tool reporting model is: ; in, represents the working intensity adjustment value of the CNC machine tool, represents the predicted workload of the CNC machine tool, represents the temperature weight corresponding to the temperature data, represents the temperature mean data, represents the cutting weight corresponding to the cutting data, represents the cutting mean data, It is the work intensity offset item corresponding to the machine tool work reporting model.
6. The machine tool reporting method as claimed in claim 4, characterized in that: After the step of determining the predicted working intensity of the numerically controlled machine tool according to the preset machine tool work reporting model and the machine tool work reporting data, the machine tool work reporting method further comprises: Determining whether the predicted work intensity is within a preset intensity threshold range corresponding to the optimal work intensity; If the predicted work intensity is within the intensity threshold range corresponding to the optimal work intensity, determining that the predicted work intensity matches the optimal work intensity; If the predicted work intensity is not within the intensity threshold range corresponding to the optimal work intensity, it is determined that the predicted work intensity does not match the optimal work intensity.
7. The machine tool reporting method according to claim 6, characterized in that: After the step of determining that the predicted work intensity does not match the optimal work intensity, the machine tool work reporting method further includes: The machine tool work reporting model is updated according to a preset model update function to obtain an updated machine tool work reporting model, and the updated machine tool work reporting model is returned as the next preset machine tool work reporting model to execute the step of determining the predicted work intensity of the CNC machine tool based on the preset machine tool work reporting model and the machine tool work reporting data.
8. A machine tool reporting device, characterized in that: The machine tool reporting device comprises: A login verification module is used to obtain the user identity information of the operator, and perform login verification based on the user identity information to obtain a login verification result; A response module, configured to, in response to the login verification result being login success information, scan the barcode of the product to be manufactured according to a preset barcode scanning function, obtain the product code of the product to be manufactured, and determine the work order task of the product to be manufactured according to the product code; An operation module is used to perform production operations on the product to be manufactured according to the work order task.
9. A machine tool reporting device, characterized in that: The machine tool reporting device includes a processor, a memory, and a machine tool reporting program stored in the memory and executable by the processor, wherein when the machine tool reporting program is executed by the processor, the steps of the machine tool reporting method as described in any one of claims 1 to 7 are implemented.
10. A storage medium, the storage medium being a computer-readable storage medium, characterized in that: A machine tool reporting program is stored on the computer-readable storage medium, wherein when the machine tool reporting program is executed by the processor, the steps of the machine tool reporting method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Login information encryption method and terminal device
CN107819569A
Network identity authentication management method and system
CN115842680A
Numerical control machine tool fault prediction method and device, equipment and storage medium
CN116184930A
Mobile phone mes industrial APP work reporting method and system
CN116468401A
Numerical control machine tool machining method and device, electronic equipment and readable storage medium
CN116776289A
Cited By
Automobile plastic part white nail position display platform based on uniapp
CN120689809A
Automatic work reporting method and device in high-frequency work reporting scene
CN121544014A
Production reporting method using mobile code scanning
TWI908579B
