Method and device for encrypting and decrypting false tooth processing program in numerical control system, processor and storage medium thereof
By using advanced encryption standard algorithms in CNC systems to embed the device number, model configuration and service life into the denture processing program, the problem of unrestricted use of denture processing programs in the existing technology is solved, and the binding between programs and equipment is realized. The validity period limit reduces the risk of errors and leakage, enhances control capabilities, and realizes the safety of automated processing.
Patent Information
- Application Number
- CN202411188527.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-12-17
AI Technical Summary
The prior art has failed to effectively limit the use of denture processing procedures, resulting in possible processing errors and program leakage.
By using advanced encryption standard algorithms in CNC systems, the device number, model configuration and usage period are generated, encrypted information is embedded in the processing program, and decrypted and compared when loading, ensuring that the program is only used within specific devices and validity periods.
The binding between processing programs and equipment and models is realized, reducing the risk of program use errors and leakage, enhancing the manufacturer's control capabilities, and at the same time achieving the safety of automated processing.
Smart Images

Figure CN119150260A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automated production, in particular to the field of denture technology, and specifically refers to a method, device, processor and computer-readable storage medium thereof for implementing encryption and decryption processing for a denture processing program in a numerical control system. Background Art
[0002] For the denture production process, the denture processing program is very important and highly confidential. The existing technology does not impose any restrictions on the loading or processing of the processing program. The same processing program can be used for different equipment and models. This may not only lead to processing errors, but also cause the processing program to be leaked to the outside for external demonstration or trial. Summary of the invention
[0003] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and to provide a method, device, processor and computer-readable storage medium for implementing encryption and decryption processing of denture processing programs in a CNC system that is easy to operate and has a wide range of applications.
[0004] In order to achieve the above-mentioned purpose, the method, device, processor and computer-readable storage medium for implementing encryption and decryption processing for the denture processing program in the numerical control system of the present invention are as follows:
[0005] The method for implementing encryption and decryption processing for a denture processing program in the numerical control system has the following main features:
[0006] (1) Import the files and equipment to be processed, and set the preparation information;
[0007] (2) Setting the machine model configuration name on the processing equipment so that the processing equipment communicates with the central control program;
[0008] (3) The device number, model configuration and expiration date are used to generate a string of encrypted information using the Advanced Encryption Standard algorithm;
[0009] (4) embedding the encrypted information into a processing program and encrypting it together with the processing program;
[0010] (5) The processing equipment loads the encrypted processing program and decrypts the encrypted information in the processing program;
[0011] (6) Compare and check the machine's equipment number and model configuration. If normal, continue processing; otherwise, report an error.
[0012] Preferably, the step (6) is specifically as follows:
[0013] (6.1) Determine whether the machine's device number and model configuration are consistent and within the validity period. If so, the loading is successful and processing begins. After processing is completed, the next file will be loaded; otherwise, a corresponding error message will be given and the processing equipment will terminate loading and processing.
[0014] Preferably, the preparation information set in step (1) includes the correspondence between the processing equipment and the processing files as well as the effective date and the expiration date.
[0015] Preferably, the step (4) generates a program file with a suffix in the format of "original suffix name + en" after encryption.
[0016] The main feature of the device for realizing encryption and decryption processing for the denture processing program in the numerical control system is that the device comprises:
[0017] a processor configured to execute computer executable instructions;
[0018] The memory stores one or more computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for encrypting and decrypting the denture processing program in the numerical control system are implemented.
[0019] The processor in the numerical control system for implementing encryption and decryption processing for the denture processing program has the main feature that the processor is configured to execute computer-executable instructions. When the computer-executable instructions are executed by the processor, the various steps of the method for implementing encryption and decryption processing for the denture processing program in the above-mentioned numerical control system are implemented.
[0020] The main feature of the computer-readable storage medium is that a computer program is stored thereon, and the computer program can be executed by a processor to implement the various steps of the method for encrypting and decrypting a denture processing program in the above-mentioned numerical control system.
[0021] The method, device, processor and computer-readable storage medium for implementing encryption and decryption processing for denture processing programs in the numerical control system of the present invention are adopted, so that the processing program can only process a specific product on a specific device, which is beneficial to the management of programs, products and equipment, reduces the occurrence of program usage errors, and can also prevent others from stealing programs for production on other devices. The setting of the validity period of the processing program is also beneficial for manufacturers to conduct demonstrations or trials, and enhances the manufacturer's control over the processing program. The automatic encryption method omits the operating steps of manually processing the encryption of the processing program, and realizes processing automation while ensuring the security of the program without affecting the original processing effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1The present invention is a flow chart of a method for implementing encryption and decryption processing on a denture processing program in a numerical control system of the present invention. DETAILED DESCRIPTION
[0023] In order to more clearly describe the technical content of the present invention, further description is given below in conjunction with specific embodiments.
[0024] The method for implementing encryption and decryption processing for the denture processing program in the numerical control system of the present invention comprises the following steps:
[0025] (1) Import the files and equipment to be processed, and set the preparation information;
[0026] (2) Setting the machine model configuration name on the processing equipment so that the processing equipment communicates with the central control program;
[0027] (3) The device number, model configuration and expiration date are used to generate a string of encrypted information using the Advanced Encryption Standard algorithm;
[0028] (4) embedding the encrypted information into a processing program and encrypting it together with the processing program;
[0029] (5) The processing equipment loads the encrypted processing program and decrypts the encrypted information in the processing program;
[0030] (6) Compare and check the machine's equipment number and model configuration. If normal, continue processing; otherwise, report an error.
[0031] As a preferred embodiment of the present invention, the step (6) is specifically as follows:
[0032] (6.1) Determine whether the machine's device number and model configuration are consistent and within the validity period. If so, the loading is successful and processing begins. After processing is completed, the next file will be loaded; otherwise, a corresponding error message will be given and the processing equipment will terminate loading and processing.
[0033] As a preferred embodiment of the present invention, the preparation information set in step (1) includes the correspondence between the processing equipment and the processing files as well as the effective date and the expiration date.
[0034] As a preferred implementation of the present invention, the step (4) generates a program file with a suffix in the format of "original suffix name + en" after encryption.
[0035] The device for implementing encryption and decryption processing for the denture processing program in the numerical control system of the present invention, wherein the device comprises:
[0036] a processor configured to execute computer executable instructions;
[0037] The memory stores one or more computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for encrypting and decrypting the denture processing program in the numerical control system are implemented.
[0038] The processor in the numerical control system of the present invention is used to implement encryption and decryption processing for the denture processing program, wherein the processor is configured to execute computer executable instructions. When the computer executable instructions are executed by the processor, the various steps of the method for implementing encryption and decryption processing for the denture processing program in the above-mentioned numerical control system are implemented.
[0039] The computer-readable storage medium of the present invention stores a computer program thereon, and the computer program can be executed by a processor to implement the various steps of the method for encrypting and decrypting a denture processing program in the above-mentioned numerical control system.
[0040] In a specific embodiment of the present invention, a method for encrypting a program is provided, an encryption and decryption method for binding a processing program with information such as equipment, machine type configuration, and validity period is disclosed, and a method for automatically encrypting and decrypting and loading a program in an automatic cycle processing system is disclosed; so as to realize one-to-one binding of processing programs, equipment, and machine type configurations, provide a validity period limit for the use of processing programs, and prevent processing errors caused by program leakage or incorrect use. At the same time, a method for automatically encrypting a program is provided, which eliminates the manual processing of the encryption step of the processing program and realizes the automatic cycle of processing.
[0041] The present invention uses the advanced encryption standard algorithm to generate a string of encrypted information through the device number, model configuration and usage period, and then embeds this string of encrypted information into the processing program, encrypts it together with the processing program, and generates a program file with a suffix in the format of "original suffix name + en". When the denture program loads the program file, it decrypts the encrypted information in the processing program, and compares the decrypted device number and model configuration with the device number and model configuration of the current machine. If the two data are consistent and within the validity period, the program can be loaded normally for processing. If it is found after comparison that at least one of the two data is inconsistent or not within the validity period, the program cannot be loaded, and the denture program gives a corresponding prompt message.
[0042] In addition, the present invention realizes automatic embedding of encrypted information through a central control program, sets the correspondence between the device number, machine model configuration, effective time, expiration time and processing program on the central control program, and then automatically generates an encrypted program file, and then loads the program from the central control program into the CNC processing system to realize automatic cycle processing.
[0043] The specific implementation of the present invention is as follows:
[0044] Import the files and equipment to be processed on the central control program, set the corresponding relationship between the processing equipment and the processing files, as well as the effective date and expiration date, set the model configuration name of the machine on the processing equipment, communicate between the central control program and the processing equipment, and click Start Processing on the central control program. The equipment number, model configuration and validity period information are encrypted and embedded into the processing program and encrypted together to generate a program file with the suffix "original suffix name + en". The encrypted processing program is then loaded onto the corresponding equipment. The processing equipment checks the processing program before starting processing. If it is consistent with the equipment number and model configuration of this machine and is within the validity period, the loading is successful and processing starts. After processing is completed, the next file is loaded, and the cycle continues. If there is an inconsistency with the equipment number and model configuration of this machine or it is not within the validity period, an error is reported to the operator to terminate the loading and processing of this equipment program.
[0045] The specific implementation scheme of this embodiment can refer to the relevant description in the above embodiment, which will not be repeated here.
[0046] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.
[0047] It should be noted that, in the description of the present invention, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, the meaning of "plurality" refers to at least two.
[0048] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.
[0049] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution device. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0050] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the corresponding program may be stored in a computer-readable storage medium, which, when executed, includes one of the steps of the method embodiment or a combination thereof.
[0051] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0052] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.
[0053] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0054] The method, device, processor and computer-readable storage medium for implementing encryption and decryption processing for denture processing programs in the numerical control system of the present invention are adopted, so that the processing program can only process a specific product on a specific device, which is beneficial to the management of programs, products and equipment, reduces the occurrence of program usage errors, and can also prevent others from stealing programs for production on other devices. The setting of the validity period of the processing program is also beneficial for manufacturers to conduct demonstrations or trials, and enhances the manufacturer's control over the processing program. The automatic encryption method omits the operating steps of manually processing the encryption of the processing program, and realizes processing automation while ensuring the security of the program without affecting the original processing effect.
[0055] In this specification, the present invention has been described with reference to specific embodiments thereof. However, it is apparent that various modifications and variations may be made without departing from the spirit and scope of the present invention. Therefore, the specification and drawings should be regarded as illustrative rather than restrictive.
Claims
1. A method for implementing encryption and decryption processing for a denture processing program in a numerical control system, characterized in that: The method comprises the following steps: (1) Import the files and equipment to be processed, and set the preparation information; (2) Setting the machine model configuration name on the processing equipment so that the processing equipment communicates with the central control program; (3) The device number, model configuration and expiration date are used to generate a string of encrypted information using the Advanced Encryption Standard algorithm; (4) embedding the encrypted information into a processing program and encrypting it together with the processing program; (5) The processing equipment loads the encrypted processing program and decrypts the encrypted information in the processing program; (6) Compare and check the machine's equipment number and model configuration. If normal, continue processing; otherwise, report an error.
2. The method for implementing encryption and decryption processing for a denture processing program in a numerical control system according to claim 1, characterized in that: The step (6) is specifically as follows: (6.1) Determine whether the machine's device number and model configuration are consistent and within the validity period. If so, the loading is successful and processing begins. After processing is completed, the next file will be loaded; otherwise, a corresponding error message will be given and the processing equipment will terminate loading and processing.
3. The method for implementing encryption and decryption processing for a denture processing program in a numerical control system according to claim 1, characterized in that: The preparation information set in step (1) includes the correspondence between the processing equipment and the processing files as well as the effective date and the expiration date.
4. The method for implementing encryption and decryption processing for a denture processing program in a numerical control system according to claim 1, characterized in that: The step (4) generates a program file with a suffix in the format of "original suffix name + en" after encryption.
5. A device for implementing encryption and decryption processing for a denture processing program in a numerical control system, characterized in that: The device comprises: a processor configured to execute computer executable instructions; A memory storing one or more computer executable instructions, which, when executed by the processor, implements the steps of the method for encrypting and decrypting a denture processing program in the numerical control system of any one of claims 1 to 4.
6. A processor in a numerical control system for implementing encryption and decryption processing for a denture processing program, characterized in that: The processor is configured to execute computer executable instructions. When the computer executable instructions are executed by the processor, the various steps of the method for encrypting and decrypting a denture processing program in a numerical control system described in any one of claims 1 to 4 are implemented.
7. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program can be executed by a processor to implement the various steps of the method for encrypting and decrypting a denture processing program in a numerical control system in any one of claims 1 to 4.
Citation Information
Cited By
Method and system for carrying out encryption and decryption processing on false tooth processing program
CN120257336A
