A system and method for intelligent uploading, downloading, and reviewing CNC programs

By integrating client, server, database and MES system into an automated solution, the problems of low efficiency and parameter mismatch in CNC program management are solved, realizing efficient and reliable program uploading and verification, and ensuring the accuracy and safety of the production process.

CN123113531APending Publication Date: 2026-11-17FUZHEN TECH RES ANHUI
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202611313664.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-27
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

Existing CNC program management solutions rely on manual analysis, which is inefficient and prone to errors. They lack an automatic verification mechanism, cannot compare differences at the program content level, and pose a risk of parameter mismatch during the production process.

Method used

An integrated solution is adopted, consisting of client, server, database, and manufacturing execution system. Through Excel parsing and verification unit, program matching and uploading unit, text difference comparison unit, and MES linkage verification unit, the automatic parsing, matching, uploading, and verification of program sheets are realized. It supports breakpoint resume, syntax-aware text difference comparison, and parameter-level linkage verification.

Benefits of technology

It achieves full-process automated management of CNC programs, improves efficiency, reduces human error, ensures program version consistency, eliminates production risks caused by parameter mismatch, and provides traceability and visual display of differences.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123113531A_ABST
    Figure CN123113531A_ABST
Patent Text Reader

Abstract

This invention discloses an intelligent CNC program upload, download, and review system and method, including a client terminal, a server, a database, and a Manufacturing Execution System (MES). The server includes an Excel parsing and verification unit, a program matching and upload unit, a text difference comparison unit, a data persistence unit, and an MES-linked verification unit. This invention automatically parses and corrects format errors in program sheets; automatically matches local CNC program files and supports breakpoint resumption; uses a syntax-aware algorithm to perform semantic-level difference comparison between local and remote programs and displays the results visually; stores all uploaded information to support traceability and retrieval; and links with the MES to compare process parameters with actual G-code parameters, triggering an alarm when differences exceed a threshold. This invention solves the problems of low efficiency, error-proneness, version inconsistencies, and parameter mismatches associated with manual processing, achieving full automation and traceability of the CNC program upload and review process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of CNC machining technology, specifically to a system and method for intelligent uploading, downloading, and reviewing CNC programs. This technology is applied to the field of CNC machine tool program management, and achieves efficient and accurate transmission and version management of CNC programs by automatically parsing, verifying, uploading, and comparing the contents of the program sheet Excel file with the CNC program file. Background Technology

[0002] In the field of CNC machining, the uploading and review of CNC programs are crucial for ensuring production efficiency and product quality. Various CNC program management solutions exist in the current technology. Patent publication number (CN116389462B) discloses a file distribution method and system. This method obtains the program file and input information uploaded by the client through a server. After obtaining confirmation information, it triggers the transmission of the program file to a wireless gateway connected to the target machine tool. The wireless gateway obtains the program file through a data acquisition script and sends it to the target root directory for storage. This solution achieves controlled distribution of program files through a wireless gateway and data acquisition script, thereby improving the control over program files to a certain extent and preventing unauthorized copying.

[0003] However, this technical solution still has the following shortcomings: First, the document distribution process relies on manual input of target machine tool and target program file information, and the parsing of program sheets still requires manual input, which is inefficient and prone to errors; Second, it lacks an automatic verification mechanism at the program content level, making it impossible to compare the differences between program files before and after distribution, and also making it difficult to detect subtle changes within the program files; Third, the distribution record is not linked with the manufacturing execution system, making it impossible to verify the consistency of program parameters from the source of process design, and the production risk of parameter mismatch still exists.

[0004] In traditional methods, parsing program sheets relies on manual input, and non-standard program sheet formats require manual correction, lacking automatic error correction capabilities. Uploading local CNC programs to remote directories requires manual matching, which is prone to errors and omissions. Differences between local and remote program versions cannot be intuitively compared, making it difficult to detect subtle modifications. Upload records are not persistent, making it impossible to trace historical operations or perform statistical analysis. Furthermore, existing technologies often use hard-coded program selection rules, requiring code modifications for changes to the program sheet structure, resulting in high maintenance costs. Summary of the Invention

[0005] This invention addresses the pain points in current CNC program management by providing a system and method for intelligent uploading, downloading, and verifying CNC programs. It solves the problems of low efficiency and error-proneness caused by traditional methods that rely on manual parsing of Excel program sheets and manual matching for uploading. It also resolves production risks caused by inconsistencies between local and remote program versions and mismatches between parameters and actual G-code. The entire process of CNC program parsing, matching, uploading, and verification is automated and traceable, ensuring the accuracy and safety of the machining process.

[0006] To achieve the above objectives, the present invention adopts the following technical solution: A system for intelligent uploading, downloading, and reviewing CNC programs includes: a client 1, a server 2, a database 3, and a manufacturing execution system (MES); the server 2 is connected to the client 1 via an industrial wireless network; the database 3 is connected to the server 2; and the manufacturing execution system (MES) is connected to the server 2 via a network.

[0007] Furthermore, client 1 sends a program sheet Excel file and a local CNC program file to the server; after receiving the program sheet Excel file and the local CNC program file, server 2 sends upload information and difference results to the database 3; server 2 sends a verification request to the Manufacturing Execution System (MES) and receives the process design parameters returned by the MES.

[0008] Furthermore, server 2 includes: an Excel parsing and verification unit, a program matching and uploading unit, a text difference comparison unit, a data persistence unit, and an MES linkage verification unit.

[0009] Furthermore, the Excel parsing and verification unit automatically parses the contents of the program form Excel file, verifies and corrects formatting errors, supports batch parsing of multiple program form Excel files, identifies missing required fields, non-standard formats, and numerical errors exceeding limits, and automatically generates correction suggestions.

[0010] Furthermore, the program matching and uploading unit selects the local CNC program folder based on the loaded program sheet content, and automatically matches the program sheet with the local CNC program file based on the preset file name mapping rules. The matched program is then uploaded to the remote directory, supporting breakpoint resume and upload progress visualization. If the matching fails, the manual supplementation or rematching process is automatically triggered.

[0011] Furthermore, the text difference comparison unit is used to perform text-level difference comparison between local and remote CNC programs. It uses a syntax-aware text comparison algorithm to identify differences in instruction words and parameter value semantic units in G code, and visualizes the difference results by highlighting them with color and marking them with line numbers.

[0012] Furthermore, the data persistence unit persists the uploaded information to the database, including upload time, terminal information, program order number, remote directory path, review status, and difference results; the data persistence unit also supports retrieval and export based on time and program name dimensions.

[0013] Furthermore, the MES linkage verification unit is used to interact with the Manufacturing Execution System (MES) in real time through the API interface to obtain the process design parameters in the program sheet and compare them with the actual execution parameters in the G code at the field level. When the difference rate exceeds the preset threshold, an alarm is triggered and a difference report is generated and pushed to the relevant responsible persons.

[0014] This invention also provides a method for intelligent uploading, downloading, and reviewing CNC programs, comprising the following steps: S1: The Excel parsing and verification unit of server 2 parses the single Excel file of the program, verifies and corrects format errors, and generates a format verification report; S2: The program matching and uploading unit of server 2 matches the local CNC program file according to the program sheet content, automatically uploads it to the remote directory, and displays the upload progress in real time; S3: The text-level difference comparison between the uploaded remote program and the local source program is performed through the text difference comparison unit of server 2, and the difference results are displayed visually. S4: The entire process upload information is stored in database 3 through the data persistence unit of server 2; S5: By linking the MES linkage verification unit of server 2 with the manufacturing execution system MES, the process design parameters in the program sheet are compared with the actual execution parameters of the G code at the field level. If they are inconsistent, an alarm is triggered and a difference report is generated.

[0015] Furthermore, in step S1, verifying and correcting format errors includes: identifying missing required fields, non-standard formats, and numerical errors exceeding limits, and automatically correcting format problems; if there are missing required fields, the upload process is intercepted and the user is prompted to supplement them; in step S5, when the difference rate exceeds a preset threshold, an audible and visual alarm is triggered, and a difference report is pushed to the programmer's and workshop supervisor's terminals. After the problem is corrected, the process is re-verified to complete the closed loop.

[0016] Compared with traditional solutions, the present invention has the following advantages: (1) This invention improves efficiency significantly by eliminating the need for manual intervention in all aspects, from program form parsing, format verification, local file matching, remote uploading, version difference comparison to MES parameter verification. (2) This invention can automatically identify and correct errors in the program form format and intercept missing required fields; quickly discover version inconsistencies through text difference comparison; and eliminate the risk of parameter mismatch through MES linkage verification.

[0017] (3) The present invention provides persistent storage of all uploaded information, supports multi-dimensional retrieval and export, and provides data support for production quality analysis.

[0018] (4) Based on preset mapping rules and API interfaces, this invention is easy to adapt to different CNC systems and MES platforms.

[0019] (5) The present invention features visual progress display, difference highlighting, and abnormal alarm push, which reduces the operation threshold and optimizes the user experience. Attached Figure Description

[0020] This manual includes the following figures, which illustrate the following: Figure 1 This is a hardware connection diagram of the system of the present invention. Figure 2 This is a schematic diagram of the main interface of the present invention, showing the parsing and verification results of the Excel program sheet.

[0021] Figure 3 This is a diagram showing the details of a CNC program error.

[0022] Figure 4 This is a schematic diagram showing the detection of five states in a CNC program.

[0023] Figure 5 This is a comparison chart showing the differences between local and remote folders for CNC programs.

[0024] Figure 6 This is a schematic diagram of the visualization interface for detecting differences in CNC program content, showing differences at the row and character levels.

[0025] Among them, 1. Client; 2. Server; 3. Database. Detailed Implementation

[0026] The specific embodiments of the present invention will be further described in detail below with reference to the accompanying drawings, in order to help those skilled in the art to have a more complete, accurate and in-depth understanding of the inventive concept and technical solution of the present invention, and to facilitate its implementation.

[0027] like Figure 1As shown, the intelligent CNC program upload, download, and review system and method of the present invention can be deployed in CNC machining workshops for automotive molds or other precision manufacturing scenarios. In a specific hardware deployment embodiment, server 2 is an industrial-grade server configured with an Intel Xeon Gold 6330 CPU, 64GB DDR4 memory, and 8TB SSD storage, used to run the core algorithm and store the database; the workshop programming computer acts as client 1, with a Windows 10 operating system and 16GB of memory, interacting with server 2 through a network client program; an industrial Wi-Fi 6 network is deployed in the workshop, covering all CNC machine tools and programming stations to ensure the stability and bandwidth of data transmission. Database 3 uses MySQL 8.0 and connects to server 2; the Manufacturing Execution System (MES) connects to server 2 through the enterprise's internal network, and the two parties interact with each other through a RESTful API interface. From a software architecture perspective, the system adopts a B / S architecture, with the front-end based on Vue.js for visual interface development and the back-end using the Spring Boot framework to implement business logic. All functional units run on the server side, and the client terminal is only responsible for file upload, command initiation, and result display.

[0028] Server 2 integrates five units: an Excel parsing and verification unit, a program matching and uploading unit, a text difference comparison unit, a data persistence unit, and a MES-linked verification unit. These units coordinate their work sequentially through Server 2's business logic controller: The Excel parsing and verification unit receives the program sheet Excel file from the client and transmits the parsing results and format verification report to the program matching and uploading unit; the program matching and uploading unit matches the corresponding CNC program file in the local folder based on the parsed program name, tool information, and other key fields, and after uploading, informs the text difference comparison unit of the local file path and remote storage path; the text difference comparison unit performs the difference comparison and sends the difference results and review status to the data persistence unit for storage; the MES-linked verification unit proactively retrieves process design parameters from the MES at appropriate times and compares them with the G-code content, with the verification results also being recorded by the data persistence unit.

[0029] The following combination Figures 2 to 6 The core method steps S1 to S5 of the present invention will be described in detail below.

[0030] S1: As Figure 2 and Figure 3As shown, when a programmer uploads one or more Excel program sheets via client 1, this unit first reads each worksheet of the Excel file and extracts key fields from the program sheet according to a preset template mapping relationship. These fields include, but are not limited to, program name, tool axis angle, tool model, tool diameter, spindle speed, feed rate, and depth of cut. This unit has a built-in format validation engine that can identify common format error types: for example, whether required fields are empty, whether numeric fields are incorrectly stored as text strings, whether the tool diameter exceeds the machine tool's allowable range, and whether the spindle speed is negative or exceeds the upper limit. Once a format error is detected, the unit will automatically attempt to correct it based on the error type. For text-based numeric values, the system automatically converts them to numeric types and retains the original value; for missing required fields, the system does not automatically fill them in but generates a clear error message; for values ​​exceeding limits, the system marks the exceeding value as abnormal and suggests a correction range. All correction operations are recorded in a format validation report, which is returned to the client along with the parsing results. If serious errors exist that cannot be automatically corrected, the Excel parsing and verification unit will directly intercept subsequent upload processes and display a pop-up message on the client side informing the user of the specific error location and correction suggestions. After the user completes the correction and re-uploads, the system will verify again before proceeding to the next stage. This unit also supports batch parsing of multiple program sheet Excel files, with each file being verified and corrected independently without interference, thus significantly improving multitasking efficiency. Figure 2 As shown, the main interface will display key fields such as the parsed program name, tool axis angle, and tool information; for example... Figure 3 As shown, the error details page will list the error types one by one and provide correction suggestions.

[0031] S2: As Figure 5As shown, after receiving the key information of the program sheet output by S1, the program matching and uploading unit begins to perform the matching and uploading operation of the local CNC program file. The program matching and uploading unit pre-stores a filename mapping rule library, which can be configured by the user according to the actual naming conventions of the workshop, such as "program name = local filename", "program name plus a fixed prefix or suffix", "search by tool type folder", etc. Taking an automotive mold cover plate part as an example, if the program name in the program sheet is "O0015", and the preset rule is to directly match local files with the ".MPF" suffix, the system will recursively search for a file named "O0015.MPF" in the specified local CNC program root folder. If a unique matching file is found, the system immediately starts the upload task; if multiple matching files are found, a selection list is displayed for the user to confirm; if no matching file is found, a manual entry process is triggered, and the missing program name is highlighted. The user can manually browse the folder to select the correct file or provide feedback on the missing information to the programmer. After the upload task begins, the program matching and uploading unit transfers the local file to a preset remote directory via FTP, SFTP, or SMB protocols. During transmission, the system displays real-time upload progress, number of bytes transmitted, and remaining time on the client interface. Notably, this unit supports resume upload functionality: when network interruption or server failure occurs, the system automatically records the position and verification information of the transmitted file segments; once the network is restored, the user does not need to restart, and the system continues uploading the remaining segments from the point of interruption, ultimately verifying the integrity of the entire file.

[0032] S3: The text difference comparison unit compares the program file just uploaded to the remote directory with the local file. This invention employs a syntax-aware text comparison algorithm. This algorithm first performs lexical analysis on the G code, segmenting the continuous text stream into semantic units such as instruction words, address characters, and parameter values. Subsequently, the algorithm uses an improved longest common subsequence method to perform matching at the semantic unit level rather than the character level, thus distinguishing between two difference types: "different instruction words" and "different parameter values." For example, when the local program is "G01 X100 Y200 F150" and the remote program is "G01 X100Y200 F100," the method of this invention can accurately indicate that the difference occurs in the parameter value corresponding to the feed address "F," and provide a detailed change from "F150→F100." After the comparison is completed, the system displays the difference results in the client's visual interface: such as... Figure 6 As shown, the lines with differences are highlighted in color, and the line number area also indicates the line number information; when a user clicks on a line, the difference details can be expanded to the character level or semantic unit level, displaying the specific command word changes or parameter value changes in the form of bubbles or sidebars.

[0033] S4: After each upload and difference comparison, the data persistence unit automatically assembles all information into a single record and writes it to the MySQL database. The stored information includes: upload time, client terminal information, program order number, remote directory path, review status, a summary of the difference results, a list of program files involved in this upload, and MES verification result flags. To ensure data traceability and query efficiency, this unit establishes a composite index on the database tables, supporting users to search by upload time period, program name, program order number, review status, and other dimensions. Search results can be exported to Excel or CSV format for production management personnel to perform statistical analysis, such as calculating the upload failure rate due to parameter inconsistencies within a certain month, or the upload error frequency of a specific operator. Furthermore, this unit provides a historical version tracking function: when the same program name is uploaded multiple times at different times, the system retains a complete record of each upload. Users can select any two versions from the version list for difference comparison, thereby quickly locating each modification in the program's evolution process. Figure 4 As shown, the system reads the status of each program from the database in real time, including not uploaded, uploaded but awaiting verification, verified, verified but not verified, and corrected. These statuses are displayed on the interface with different colored dots and text labels. Users can filter the list by status to quickly locate programs with problems.

[0034] S5: The MES-linked verification unit interacts in real-time with the workshop's Manufacturing Execution System (MES) via a pre-configured API interface. After text difference comparison is completed and no serious version conflicts are found, the MES-linked verification unit automatically triggers the verification process: First, it queries the MES system for the process design parameters of the operation based on the program sheet number or part drawing number, including standard feed rate, spindle speed, tool compensation number, and tool axis tilt angle; second, it parses the actual execution parameters from the uploaded remote G-code file, for example, by extracting all values ​​after "F" addresses using regular expressions and taking the average or first occurrence value as the actual feed rate; then, it compares the process design parameters with the actual execution parameters field by field, calculating the absolute value and relative difference rate of each parameter. The system presets a difference rate threshold, such as 5%, which can be modified by the workshop administrator. When the difference rate of any parameter exceeds this threshold, the system immediately triggers an audible and visual alarm and automatically generates a "Parameter Difference Report," which details the design value, actual value, difference rate, and whether the threshold is exceeded for each parameter. This report is pushed to the terminal devices of programmers, process engineers, and workshop supervisors via the enterprise internal messaging system or email. Upon receiving an alarm, the relevant responsible person needs to investigate the cause. After the problem is identified and corrected, the user can initiate a re-verification command on client 1. The MES linkage verification unit will then perform the comparison again until the difference rate of all parameters is lower than the threshold. Only then will the system update the review status to "verification passed" and complete the closed loop of the entire upload review process.

[0035] This invention also includes handling mechanisms for various abnormal scenarios. When the "tool axis angle" is missing from the program order uploaded by the user, the Excel parsing and verification unit identifies the missing information in step S1, generates a format verification report, and intercepts the upload. The client displays a dialog box indicating the location of the missing field. After the user supplements the information and re-uploads, the system verifies it again before proceeding to step S2. Another abnormality is the failure to match local files. For example, the program name in the program order is "O0016," but "O0016.MPF" or any file matching the mapping rules does not exist in the local folder. In step S2, the program matching upload unit will display a manual supplementation window, allowing the user to manually browse and select other files, or cancel the upload and notify the programmer to prepare the file. Another abnormality is network interruption during the upload process. The breakpoint resume mechanism in step S2 ensures that the file will not need to be completely retransmitted due to network fluctuations, greatly saving time and network resources. In addition, when the text difference comparison unit in step S3 detects differences between the local and remote programs, it will not automatically overwrite the remote file. Instead, it will ask the user whether to confirm overwriting the remote version with the local version, or to retain the remote version and record the differences, preventing production accidents caused by misoperation.

[0036] This invention automates the traditional manual processes of program entry, file matching, uploading, comparison, and verification by using an Excel parsing and verification unit to automatically parse and correct program sheet format errors, a program matching and uploading unit to automatically match local files and support breakpoint resume, a text difference comparison unit to automatically perform syntax-aware version difference comparison, a data persistence unit to automatically store all uploaded information, and an MES linkage verification unit to automatically compare parameters with the manufacturing execution system. This significantly improves the efficiency of CNC program transmission and review, eliminating the risks of errors and omissions inherent in manual operations.

[0037] This invention employs a syntax-aware text comparison algorithm, which can accurately identify differences in semantic units such as instruction words and parameter values ​​in G-code, avoiding processing accidents caused by version inconsistencies. Simultaneously, through real-time linkage with the MES system, it performs field-level comparisons between the process design parameters in the program sheet and the execution parameters in the actual G-code. When the difference rate exceeds a preset threshold, an alarm is automatically triggered and a difference report is generated and pushed to the responsible person, ensuring that only programs that have undergone complete verification can enter the processing stage, thereby eliminating production risks caused by parameter mismatches from the source.

[0038] This invention stores all information, including upload time, terminal information, program order number, remote directory path, review status, and discrepancy results, in a database through a data persistence unit. It supports multi-dimensional retrieval and export by time, program name, and other dimensions, providing production managers with complete historical records and statistical analysis data. Simultaneously, the system defines five program statuses: not uploaded, uploaded but awaiting verification, verified, verified but failed, and corrected, along with a directory comparison function, making workshop management intuitive and visual, facilitating rapid problem identification and corrective action.

[0039] This invention is based on a pre-defined filename mapping rule library and API interface design. Users can flexibly configure matching rules according to the actual naming conventions of the workshop, and it can also adapt to the file formats of different brands of CNC systems and the data interfaces of different MES platforms without modifying the underlying code. In addition, the system supports flexible mechanisms such as batch parsing of multiple program sheets, breakpoint resume, and manual data entry, which can meet the complex needs of frequent CNC program changes in multi-variety, small-batch production environments.

[0040] This invention effectively solves the problems of cumbersome manual operation, lack of automated verification, inconsistent versions, mismatched parameters, and lack of data management in the prior art. It has significant advantages such as high degree of automation, safety and reliability, strong traceability and good scalability. It is applicable to CNC machining fields such as automotive molds, aerospace structural parts, and precision machinery, and has broad industrial application prospects.

[0041] The present invention has been described above by way of example with reference to the accompanying drawings. Obviously, the specific implementation of the present invention is not limited to the above-described manner. Any non-substantial improvements made using the inventive concept and technical solution; or the direct application of the inventive concept and technical solution to other situations without modification, are all within the protection scope of the present invention.

Claims

1. A system for intelligent uploading, downloading, and reviewing CNC programs, characterized in that, include: Client (1), server (2), database (3), manufacturing execution system (MES); the server (2) is connected to the client (1) via an industrial wireless network; the database (3) is connected to the server (2); the manufacturing execution system (MES) is connected to the server (2) via a network.

2. The system for intelligent uploading, downloading, and reviewing CNC programs according to claim 1, characterized in that, The client (1) sends a program sheet Excel file and a local CNC program file to the server; after receiving the program sheet Excel file and the local CNC program file, the server (2) sends the upload information and difference results to the database (3); the server (2) sends a verification request to the manufacturing execution system (MES) and receives the process design parameters returned by the manufacturing execution system (MES).

3. The system for intelligent uploading, downloading, and reviewing CNC programs according to claim 1, characterized in that, The server (2) includes: an Excel parsing and verification unit, a program matching and uploading unit, a text difference comparison unit, a data persistence unit, and an MES linkage verification unit.

4. The system for intelligent uploading, downloading, and reviewing CNC programs according to claim 3, characterized in that, The Excel parsing and verification unit automatically parses the contents of the program form Excel file, verifies and corrects format errors, supports batch parsing of multiple program form Excel files, identifies missing required fields, non-standard formats, and numerical errors exceeding limits, and automatically generates correction suggestions.

5. The system for intelligent uploading, downloading, and reviewing CNC programs according to claim 3, characterized in that, The program matching and uploading unit selects the local CNC program folder based on the loaded program sheet content, and automatically matches the program sheet with the local CNC program files based on preset file name mapping rules. The matched program is then uploaded to the remote directory, supporting breakpoint resume and upload progress visualization. If the matching fails, it automatically triggers the manual supplementation or rematch process.

6. The system for intelligent uploading, downloading, and reviewing CNC programs according to claim 3, characterized in that, The text difference comparison unit is used to perform text-level difference comparison between local and remote CNC programs. It uses a syntax-aware text comparison algorithm to identify differences in instruction words and parameter value semantic units in G code, and visualizes the difference results by highlighting them with color and marking them with line numbers.

7. The system for intelligent uploading, downloading, and reviewing CNC programs according to claim 3, characterized in that, The data persistence unit persists the uploaded information to the database. The uploaded information includes the upload time, terminal information, program order number, remote directory path, review status, and difference results. The data persistence unit also supports retrieval and export based on time and program name.

8. The system for intelligent uploading, downloading, and reviewing CNC programs according to claim 3, characterized in that, The MES linkage verification unit is used to interact with the Manufacturing Execution System (MES) in real time through the API interface to obtain the process design parameters in the program sheet and compare them with the actual execution parameters in the G code at the field level. When the difference rate exceeds the preset threshold, an alarm is triggered and a difference report is generated and pushed to the relevant responsible persons.

9. An operating method for a system for intelligent uploading, downloading, and reviewing CNC programs based on any one of claims 1-8, characterized in that, Includes the following steps: S1: The Excel parsing and verification unit of the server (2) parses the single Excel file of the program, verifies and corrects format errors, and generates a format verification report; S2: The program matching and uploading unit of the server (2) matches the local CNC program file according to the program sheet content, automatically uploads it to the remote directory, and displays the upload progress in real time; S3: The text-level difference comparison between the uploaded remote program and the local source program is performed by the text difference comparison unit of the server (2), and the difference results are visualized. S4: The entire process upload information is stored in the database (3) through the data persistence unit of the server (2); S5: By linking the MES linkage verification unit of the server (2) with the manufacturing execution system (MES), the process design parameters in the program sheet are compared with the actual execution parameters of the G code at the field level. If they are inconsistent, an alarm is triggered and a difference report is generated.

10. The method according to claim 9, characterized in that, In step S1, verifying and correcting format errors includes: identifying missing required fields, non-standard formats, and numerical errors exceeding limits, and automatically correcting format problems; if there are missing required fields, the upload process is intercepted and the user is prompted to supplement them; in step S5, when the difference rate exceeds a preset threshold, an audible and visual alarm is triggered, and a difference report is pushed to the programmer's and workshop supervisor's terminals. After the problem is corrected, the process is re-verified to complete the closed loop.

Citation Information

Patent Citations

  • File distribution method and system

    CN116389462B