Data providing system and data providing method

By using encryption and decryption technology in the CNC data provision system, the problem of CNC data cannot be kept secret is solved, and the secure transmission and use of data is realized.

CN118318212BActive Publication Date: 2024-11-26MITSUBISHI ELECTRIC CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280078430.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-14
Publication Date
2024-11-26
Estimated Expiration
2042-02-14

AI Technical Summary

Technical Problem

The additional data used by the existing CNC data provisioning system in CNC cannot be effectively confidential and there is a risk of being stolen or counterfeit.

Method used

The encryption device is used to encrypt the CNC data, and a decryption key is generated through the authentication management device to ensure that only an authorized decryption device can decrypt the data, thereby realizing the confidentiality of the data.

Benefits of technology

It effectively prevents the leakage and counterfeiting of CNC data, ensuring the confidentiality and security of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118318212B_ABST
    Figure CN118318212B_ABST
Patent Text Reader

Abstract

The data providing system (1) comprises: an encryption device (10), which encrypts NC data (50) used by a numerical control device for controlling a working machine or a simulator for simulating the movement of the working machine using a first encryption key, thereby generating encrypted NC data (51); a storage device (30), which stores and transmits the encrypted NC data; an authentication management device (20), which receives an NC data decryption key (A2) corresponding to the first encryption key from the encryption device, generates a settlement authentication code (C1) storing the first decryption key, and outputs the settlement authentication code; and a decryption device (40), which extracts the NC data decryption key from the settlement authentication code, decrypts the encrypted NC data using the NC data decryption key, thereby extracting the NC data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a data providing system and a data providing method for providing protected numerical control data. Background Art

[0002] In recent years, NC machine tools controlled by NC (Numerical Control) devices have been connected to the network, and various NC data used by NC machine tools can be input and output through the network. NC data is data related to numerical control and information accompanying the use of the data. This NC data is required to be effectively used for business changes and improvements.

[0003] On the other hand, NC data used for operation, control, processing, etc. of NC machine tools sometimes contain unique information, technology, know-how, etc. that are required for specific processing and possessed by users or equipment. Therefore, it is required to protect public NC data and prevent counterfeiting, but sometimes it is desired to disclose NC data to specific users in order to pass on know-how. In addition, in order to effectively use NC data, sometimes NC data is input to other NC machine tools that are promised to use the protected NC data, hoping that they can use services related to the NC data.

[0004] In the software option setting system described in Patent Document 1, encryption technology is used to manage so that illegal users cannot set software options at will. In the software option setting system, a personal computer (PC, Personal Computer) configured on the manufacturer side, that is, the manufacturer PC, creates option setting data for setting a function to be valid or invalid according to the name or number of the software option to be set. The option setting data is encrypted using the identification number of the control device. The control device reads the encrypted option setting data and decrypts it using the identification number of the control device. As a result, the manufacturer PC only allows the control device that holds the identification number to decrypt the encrypted option setting data and use the option setting data to set the software option.

[0005] Patent Document 1: Japanese Patent Application Publication No. 2008-152551 Summary of the invention

[0006] However, in the technology of the above-mentioned Patent Document 1, the control device needs to store software options in advance. Since the validity or invalidity of the option function is set only using encrypted option setting data, there is a problem that the additional numerical control data used in the numerical control cannot be provided in a confidential manner.

[0007] The present invention has been made in view of the above-mentioned circumstances, and an object of the present invention is to provide a data providing system capable of providing additional numerical control data used in numerical control in a confidential manner.

[0008] In order to solve the above-mentioned problems and achieve the purpose, the data providing system of the present invention has an encryption device, which encrypts the numerical control data used by the numerical control device for controlling the working machine or the simulator for simulating the action of the working machine by a first encryption key, thereby generating encrypted numerical control data. In addition, the data providing system of the present invention has a storage device, which receives the encrypted numerical control data from the encryption device, and stores and transmits the encrypted numerical control data; and an authentication management device, which receives the first decryption key corresponding to the first encryption key from the encryption device, generates a settlement authentication code storing the first decryption key, and outputs the settlement authentication code. In addition, the data providing system of the present invention has a decryption device, which receives the encrypted numerical control data from the storage device, receives the settlement authentication code from the authentication management device, extracts the first decryption key from the settlement authentication code, decrypts the encrypted numerical control data by the first decryption key, thereby extracting the numerical control data.

[0009] Effects of the Invention

[0010] The data providing system according to the present invention has the effect of being able to keep additional numerical control data used in numerical control confidential. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 This is a diagram showing the structure of the data providing system involved in the first embodiment.

[0012] Figure 2 This is a flowchart showing the processing procedure of data provision performed by the data providing system according to the first embodiment.

[0013] Figure 3 This is a diagram for explaining processing executed by a comparison target NC device.

[0014] Figure 4 This is a diagram for explaining processing executed by the first NC device according to the first embodiment.

[0015] Figure 5 This is a diagram for explaining processing executed by the second NC device according to the first embodiment.

[0016] Figure 6 This is a diagram showing the structure of a data providing system according to the second embodiment.

[0017] Figure 7 This is a diagram for explaining the processing executed by the NC simulator involved in the second embodiment.

[0018] Figure 8 This is a diagram for explaining processing executed by the second NC device according to the second embodiment.

[0019] Fig. 9 This is a diagram showing the structure of a data providing system according to the third embodiment.

[0020] Fig.10 This is a diagram for explaining the processing executed by the NC simulator involved in the third embodiment.

[0021] Fig.11 This is a diagram for explaining the first process executed by the second NC device according to the third embodiment.

[0022] Fig.12 This is a diagram for explaining the second process executed by the second NC device according to the third embodiment.

[0023] Fig.13 This is a diagram showing the structure of a data providing system according to a fourth embodiment.

[0024] Fig.14 This is a diagram for explaining the processing executed by the NC simulator involved in the fourth embodiment.

[0025] Fig.15 This is a diagram for explaining processing executed by the second NC device according to the fourth embodiment.

[0026] Fig.16 This is a diagram showing an example of a hardware configuration for realizing the decryption device according to Embodiments 1 to 4. DETAILED DESCRIPTION

[0027] Hereinafter, a data providing system and a data providing method according to an embodiment of the present invention will be described in detail with reference to the drawings.

[0028] Implementation method 1.

[0029] Figure 1 1 is a diagram showing the structure of a data providing system according to Embodiment 1. The data providing system 1 includes an encryption device 10, an authentication management device (authentication management server)

[0030] 20 , a storage device (storage server) 30 and a decryption device 40 .

[0031] The data providing system 1 is a system for providing protected NC data 50 by encryption. The NC data 50 is data required when a user uses a machine tool (NC machine tool) or when the machine tool performs processing, and is input to an encryption device 10 or a decryption device 40 for use, and information accompanying the use of the data.

[0032] The NC data 50 may include, for example, an NC program, drawings of a workpiece, shape data of the workpiece, replacement adjustment information of tools and fixtures installed on the machine tool before processing and used in processing, calibration data, etc. In addition, the NC data 50 may include, for example, model data of tools and fixtures, parameters of the machine tool for processing, machine tool model data, a PLC (Programmable Logic Controller) program for controlling the machine tool, option data of the target device, and application software used by inputting into the NC device of the target device.

[0033] The NC data 50 is, for example, data specific to a machine tool or a workpiece processed by the machine tool, and is created individually for each machine tool or each workpiece. In addition, the NC data 50 may be data applicable to a plurality of machine tools or a plurality of workpieces.

[0034] The encryption device 10 is a computer that encrypts the NC data 50. The encryption device 10 encrypts the NC data 50 and supplies the encrypted NC data 50 to the decryption device 40. That is, the encryption device 10 is a device that supplies the NC data 50.

[0035] The encryption device 10 can input NC data 50 to an NC device (numerical control device) that controls a machine tool, an NC simulator that simulates the operation of the machine tool, or other computers. The NC device is a computer that numerically controls the machine tool using the NC data 50 to cause the machine tool to perform processing. In addition, the NC simulator is a computer that simulates the operation of the machine tool using the NC data 50 to simulate the processing performed by the machine tool.

[0036] The encryption device 10 includes an NC data storage unit 11 and an NC data encryption unit 12. The encryption device 10 also stores an NC data encryption key A1 in a memory (not shown).

[0037] The NC data storage unit 11 is a memory or the like for storing the created NC data 50. The NC data 50 may be created by the encryption device 10 or by another device. The NC data encryption unit 12 selects and encrypts the NC data 50 for protecting the technology or know-how that needs to be kept confidential from the NC data storage unit 11. The NC data encryption unit 12 selects the NC data 50 according to the instructions input from the user of the encryption device 10. The NC data encryption key A1 may be input from the outside when encrypting the NC data 50, or may be pre-registered in the encryption device 10.

[0038] The NC data encryption unit 12 encrypts the NC data 50 in the NC data storage unit 11 using the NC data encryption key A1, thereby generating encrypted NC data 50, that is, encrypted NC data 51. The NC data encryption unit 12 outputs the encrypted NC data 51 to the storage device 30.

[0039] The NC data encryption unit 12 holds the NC data decryption key A2 corresponding to the NC data encryption key A1 together with the NC data encryption key A1. The NC data decryption key A2 is a decryption key for decrypting the NC data encryption key A1. That is, the NC data decryption key A2 is a decryption key that forms a pair with the NC data encryption key A1. The encrypted NC data 51 can only be decrypted by the NC data decryption key A2.

[0040] The NC data decryption key A2 may be input from the outside when encrypting the NC data 50 , or may be registered in advance in the encryption device 10 . The NC data encryption unit 12 outputs the NC data decryption key A2 to the authentication management device 20 .

[0041] The file storing the NC data 50 may have an area for additionally recording the settlement authentication code C1 described later. Thus, the user can retrieve the settlement authentication code C1 from the file storing the NC data 50.

[0042] The authentication management device 20 manages whether the decryption device 40 is a device that can decrypt the NC data 50. The authentication management device 20 includes: a code generation unit 21 that generates a settlement authentication code C1; a code storage unit 22 that stores the generated settlement authentication code C1; and a decryption key storage unit 23. The settlement authentication code C1 is a code for authenticating the use consent of the NC data 50.

[0043] The code generation unit 21 encrypts data including the NC data decryption key A2 and the device authentication code B1 using the NC data encryption key, thereby generating a settlement authentication code C1. The device authentication code B1 is information for determining whether the decryption device 40 is a device that can decrypt the NC data 50. That is, the device authentication code B1 is a code (object authentication code) inherent to an object that is permitted to use the encrypted NC data 51. In other words, the device authentication code B1 is data for identifying a device that can use the encrypted NC data 51 or a user thereof.

[0044] The device authentication code B1 is associated with any of an NC device, a user using the NC device, an NC simulator, a user of the NC simulator, a group (company, etc.) owning a machine tool, a machine tool model, a manufacturer that manufactures the machine tool, or a machine tool sales company.

[0045] The code generation unit 21 generates a settlement authentication code C1 and generates a code decryption key C2. The code decryption key C2 is a decryption key for decrypting the settlement authentication code C1. That is, the code decryption key C2 is a decryption key that forms a pair with the NC data encryption key used to encrypt the settlement authentication code C1. The settlement authentication code C1 can only be decrypted by the code decryption key C2. The NC data encryption key A1 used by the encryption device 10 is the first encryption key, and the NC data encryption key used by the code generation unit 21 when generating the settlement authentication code C1 is the second encryption key.

[0046] The decryption key storage unit 23 stores the code decryption key C2. The authentication management device 20 outputs the settlement authentication code C1 and the code decryption key C2 specified by the encryption device 10 or the decryption device 40 to the decryption device 40.

[0047] The storage device 30 is a device for storing and transmitting the encrypted NC data 51. The storage device 30 transmits the encrypted NC data 51 to the decryption device 40 via the Internet. The storage device 30 has an NC data storage unit 31 for storing the encrypted NC data 51. The NC data storage unit 31 receives and stores the encrypted NC data 51 sent from the encryption device 10. The NC data storage unit 31 stores the encrypted NC data 51 in a state that can be downloaded from the decryption device 40.

[0048] The decryption device 40 is a computer that decrypts the NC data 50. The decryption device 40 can input the NC data 50 to a numerical control device, a numerical control simulator, or other computers. The numerical control device or numerical control simulator that receives the NC data 50 from the decryption device 40 numerically controls the machine tool using the NC data 50 to cause the machine tool to perform processing.

[0049] The decryption device 40 includes a code input unit 42, an NC data decryption unit 43, and an NC data storage unit 41. The decryption device 40 also stores a device ID (IDentification) code B2 in a memory (not shown).

[0050] The device ID code B2 is a code (corresponding code) inherent to the decryption device 40. When the decryption device 40 stores information corresponding to the device authentication code B1, namely, the device ID code B2, the decryption device 40 is considered to be a device that can decrypt the NC data 50. The device authentication code B1 and the device ID code B2 are, for example, identification information of the NC device and identification information of the NC simulator. The device authentication code B1 is the first decryption key, and the device ID code B2 is the second decryption key. The device ID code B2 can be the same data as the device authentication code B1, or different data corresponding to the device authentication code B1. The device ID code B2 is a code inherent to the decryption device 40.

[0051] The code input unit 42 receives the settlement authentication code C1 and the code decryption key C2 transmitted from the authentication management device 20. The code input unit 42 inputs the settlement authentication code C1 and the code decryption key C2 to the NC data decryption unit 43.

[0052] The NC data decryption unit 43 reads out the encrypted NC data 51 by downloading the encrypted NC data 51 from the storage device 30. In addition, the NC data decryption unit 43 decrypts the encrypted NC data 51 using the settlement authentication code C1 and the code decryption key C2. Specifically, the NC data decryption unit 43 decrypts the settlement authentication code C1 using the code decryption key C2, thereby extracting the NC data decryption key A2 and the device authentication code B1 from the encrypted NC data 51. Furthermore, the NC data decryption unit 43 determines whether the device ID code B2 corresponds to the device authentication code B1. That is, the NC data decryption unit 43 compares the decrypted device authentication code B1 with the device ID code B2 inherent to the decryption device 40, and confirms the validity of the use of the settlement authentication code C1.

[0053] When the device ID code B2 stored in advance corresponds to the device authentication code B1, the NC data decryption unit 43 uses the NC data decryption key A2 to decrypt the encrypted NC data 51. That is, when the validity of the settlement authentication code C1 can be confirmed, the NC data decryption unit 43 uses the decrypted NC data decryption key A2 to decrypt the encrypted NC data 51.

[0054] Furthermore, the same device ID code B2 may be stored in a plurality of decryption devices 40. In this case, the encrypted NC data 51 is decrypted by the plurality of decryption devices 40 storing the device ID code B2.

[0055] In addition, the device authentication code B1 may be associated with a plurality of NC devices or a plurality of NC simulators. In this case, the encrypted NC data 51 is used by a plurality of NC devices or a plurality of NC simulators.

[0056] In addition, the encryption device 10 may be arranged inside the NC device (the first NC device 120 described later) or outside the first NC device 120. In addition, the decryption device 40 may be arranged inside the NC device (the second NC device 130 described later) or outside the second NC device 130. In addition, the storage device 30 and the authentication management device 20 may be stored in the cloud or the like.

[0057] Figure 2 This is a flowchart showing a processing procedure of data provision performed by the data providing system according to Embodiment 1. The NC data encryption unit 12 of the encryption device 10 encrypts the NC data 50 using the NC data encryption key A1 (step S10).

[0058] The encryption device 10 outputs the encrypted NC data 51 and the NC data decryption key A2 (step S20 ). Specifically, the encryption device 10 outputs the encrypted NC data 51 to the storage device 30 , and outputs the NC data decryption key A2 to the authentication management device 20 .

[0059] The NC data storage unit 31 of the storage device 30 receives and stores the encrypted NC data 51 (step S30 ).

[0060] The code generation unit 21 of the authentication management device 20 receives the NC data decryption key A2 (step S40). The code generation unit 21 of the authentication management device 20 encrypts data including the NC data decryption key A2 and the device authentication code B1 corresponding to the decryption device 40, thereby generating a settlement authentication code C1 including the NC data decryption key A2 and the device authentication code B1 (step S50).

[0061] The code generation unit 21 generates a decryption key C2 for decrypting the settlement authentication code C1 (step S60). Upon receiving a request from the decryption device 40, the authentication management device 20 outputs the settlement authentication code C1 and the decryption key C2 to the decryption device 40 (step S70).

[0062] Furthermore, the decryption device 40 reads the encrypted NC data 51 from the NC data storage unit 31 of the storage device 30 (step S80 ).

[0063] In addition, any one of the processing of step S30 and the processing of steps S40 to S60 may be executed first.

[0064] The decryption device 40 receives the settlement authentication code C1, the code decryption key C2, and the encrypted NC data 51 (step S90). Specifically, the code input unit 42 of the decryption device 40 receives the settlement authentication code C1 and the code decryption key C2 from the authentication management device 20. In addition, the NC data decryption unit 43 of the decryption device 40 receives the encrypted NC data 51 from the storage device 30.

[0065] The NC data decryption unit 43 of the decryption device 40 decrypts the settlement authentication code C1 using the code decryption key C2 (step S100). Thus, the NC data decryption unit 43 extracts the NC data decryption key A2 and the device authentication code B1 from the settlement authentication code C1.

[0066] The NC data decryption unit 43 of the decryption device 40 compares the stored device ID code B2 unique to the decryption device 40 with the decrypted device authentication code B1 (step S110). The NC data decryption unit 43 of the decryption device 40 determines whether the settlement authentication code C1 is valid based on the comparison between the device authentication code B1 and the device ID code B2 (step S120).

[0067] When the settlement authentication code C1 is valid (step S120, Yes), that is, when the device ID code B2 corresponds to the device authentication code B1, the NC data decryption unit 43 of the decryption device 40 decrypts the encrypted NC data 51 using the NC data decryption key A2 (step S130). On the other hand, when the settlement authentication code C1 is invalid (step S120, No), the NC data decryption unit 43 of the decryption device 40 does not decrypt the encrypted NC data 51.

[0068] The decryption device 40 can obtain the NC data 50 by decrypting the encrypted NC data 51. When the decryption device 40 can obtain the NC data 50, it executes processing corresponding to the NC data 50, for example, numerical control using the NC data 50.

[0069] Here, the processing performed by the first NC device 120, the processing performed by the second NC device 130, and the processing performed by the comparative NC device (the comparative NC device 110 described later) are described. The first NC device 120 and the second NC device 130 are computers applied to machine tools (NC machine tools) and control the machine tools.

[0070] Here, a case where the NC data 50 is the NC program 52 will be described. First, a process executed by the comparison target NC device 110 will be described. Figure 3 This is a diagram for explaining processing executed by a comparison target NC device.

[0071] The processing performed by the comparative NC device 110 as the comparative NC device is the numerical control processing of the machine tool 6A using the NC program 52. The comparative NC device 110 includes an NC data storage unit 11, a program analysis unit 13, an interpolation processing unit 14A, and an axis control unit 15A. In addition, the machine tool 6A includes an X-axis motor 61A, a Y-axis motor 62A, and a Z-axis motor 63A.

[0072] The NC data storage unit 11 of the comparison target NC device 110 receives and stores the NC program 52 input from the outside. The program analysis unit 13 reads and analyzes the NC program 52 from the NC data storage unit 11. The program analysis unit 13 analyzes, for example, G codes (commands related to axis movement, etc.).

[0073] The interpolation processing unit 14A generates control data for controlling the machine tool 6A based on the analysis result obtained by the program analysis unit 13, and sends it to the axis control unit 15A. The axis control unit 15A controls the X-axis motor 61A, the Y-axis motor 62A, and the Z-axis motor 63A using the control data generated by the interpolation processing unit 14A.

[0074] The NC device 110 to be compared reads the NC program 52 described in the character string (text) obtained by combining G code, T code, M code, etc. into the NC data storage unit 11, and analyzes the NC program 52 in sequence for each command. In addition, in the NC device 110 to be compared, the axes (X-axis motor 61A, Y-axis motor 62A, and Z-axis motor 63A) that control the machine tool 6A are driven to control the machine tool 6A for processing. The NC program 52 is a program that specifies appropriate tools and appropriate process sequences based on the shape of the parts to be processed by the machine tool 6A, the required processing accuracy, etc. The NC program 52 is created based on the know-how of the operator, etc., and the processing technology related to the NC program 52 can be said to be an important technical asset for the practitioners who undertake the processing.

[0075] However, the NC program 52 used by the comparison object NC device 110 is described by a character string (text), so if a third party obtains the NC program 52, the third party can decipher the NC program 52. In other words, since the NC program 52 is not encrypted, if a third party analyzes the content of the NC program 52, the processing technology related to the NC program 52 will be leaked to the third party.

[0076] Figure 4 This is a diagram for explaining the processing executed by the first NC device according to Embodiment 1. Here, a case where the first NC device 120 includes the encryption device 10 is described, but the encryption device 10 may be disposed outside the first NC device 120 .

[0077] The first NC device 120 of the first embodiment performs numerical control processing of the machine tool 6A using the NC program 52 and encrypts the NC program 52. The first NC device 120 further includes an encryption device 10 in addition to the structural elements of the comparison target NC device 110. That is, the first NC device 120 includes an NC data encryption unit 12, an NC data storage unit 11, a program analysis unit 13, an interpolation processing unit 14A, and an axis control unit 15A.

[0078] The NC data encryption unit 12 of the encryption device 10 encrypts the NC program 52 stored in the NC data storage unit 11 and input into the encryption device 10 using the NC data encryption key A1, and outputs the encrypted NC program 53 obtained by encryption to the storage device 30. That is, the NC data encryption unit 12 encrypts the NC program 52 using the NC data encryption key A1 to generate the encrypted NC program 53, and outputs it to the storage device 30.

[0079] Furthermore, the NC data encryption unit 12 outputs the NC data decryption key A2 corresponding to the NC data encryption key A1 to the authentication management device 20. Thus, the NC data decryption key A2 is registered in the authentication management device 20. As described above, the encryption device 10 encrypts the NC program 52 to maintain confidentiality.

[0080] The encrypted NC program 53 outputted from the encryption device 10 is encrypted, so a third party cannot decipher the encrypted NC program 53. Therefore, the encryption device 10 can prevent the processing technology related to the NC program 52 from being leaked to a third party.

[0081] In addition, the encryption device 10 may input the NC data 50 to an NC simulator. In this case, the NC simulator simulates the processing performed by the first NC device 120 and the machine tool 6A. The NC simulator to which the NC data 50 is input from the encryption device 10 performs the simulation, thereby enabling verification of the processing before the machine tool 6A performs actual processing.

[0082] Figure 5 This is a diagram for explaining the processing executed by the second NC device according to Embodiment 1. Here, a case where the second NC device 130 includes the decryption device 40 is described, but the decryption device 40 may be arranged outside the second NC device 130 .

[0083] The second NC device 130 of the first embodiment performs decryption of the NC program 52 and numerical control processing of the machine tool 7A using the NC program 52. The machine tool 7A is a machine tool of the same type as the machine tool 6A. The machine tool 7A has an X-axis motor 61A, a Y-axis motor 62A, and a Z-axis motor 63A, similarly to the machine tool 6A.

[0084] The second NC device 130 further includes a decryption device 40 in addition to the components of the comparison target NC device 110. That is, the second NC device 130 further includes a code input unit 42 and an NC data decryption unit 43 in addition to the components of the comparison target NC device 110. In the decryption device 40, an NC data storage unit 41 is provided instead of the NC data storage unit 11. That is, the second NC device 130 includes a code input unit 42, an NC data decryption unit 43, an NC data storage unit 41, a program analysis unit 13, an interpolation processing unit 14A, and an axis control unit 15A.

[0085] The decryption device 40 uses the encrypted NC program 53 created by the encryption device 10 to control the machine tool 7A. The encrypted NC program 53 is encrypted to achieve confidentiality, so the decryption device 40 cannot directly read it as a program. The decryption device 40 decrypts the encrypted NC program 53 and controls the machine tool 7A according to the NC program 52 obtained by decryption.

[0086] Specifically, the code input unit 42 of the decryption device 40 obtains the settlement authentication code C1 and the code decryption key C2 from the authentication management device 20. The NC data decryption unit 43 decrypts the settlement authentication code C1 using the code decryption key C2. Thus, the NC data decryption unit 43 obtains the NC data decryption key A2 and the device authentication code B1 from the settlement authentication code C1.

[0087] The device authentication code B1 is a code corresponding to the device ID code B2 pre-stored in the decryption device 40. Therefore, the NC data decryption unit 43 can obtain the decryption permission of the encrypted NC program 53. The NC data decryption unit 43 decrypts the encrypted NC program 53 using the NC data decryption key A2. Thus, the decryption device 40 obtains the NC program 52. The NC data decryption unit 43 sends the NC program 52 obtained by decryption to the program analysis unit 13. Thus, the second NC device 130 can use the NC program 52 obtained by decryption to perform the same processing as the first NC device 120.

[0088] In addition, the decryption device 40 may input the NC data 50 to the NC simulator. In this case, the NC simulator simulates the processing performed by the second NC device 130 and the machine tool 7A. The NC simulator to which the NC data 50 is input from the decryption device 40 performs the simulation, thereby enabling the verification of the processing to be performed in advance before the machine tool 7A performs the actual processing.

[0089] In addition, there may be multiple encryption devices 10. In this case, the storage device 30 stores the encrypted NC data 51 encrypted by each encryption device 10. The decryption device 40 selects the required encrypted NC data 51 from the multiple encrypted NC data 51 encrypted by the multiple encryption devices 10. Thus, the encryption device 10 can provide the NC data 50 only to the decryption device 40 that needs the NC data 50 without letting other encryption devices 10 know the content of the NC data 50. In the past, the decryption device 40 had to access multiple encryption devices 10 individually due to problems such as outflow and counterfeiting, but the encrypted NC data 51 provided by multiple encryption devices 10 can be selected through the same storage device 30, which improves convenience.

[0090] As described above, in the first embodiment, the authentication management device 20 generates the settlement authentication code C1 storing the NC data decryption key A2 corresponding to the first encryption key used for encrypting the NC data 50 and encrypts it with the second encryption key. Furthermore, the authentication management device 20 outputs the code decryption key C2 corresponding to the second encryption key and the encrypted settlement authentication code C1 to the decryption device 40. The decryption device 40 receives the encrypted NC data 51 from the storage device 30, and receives the code decryption key C2 and the encrypted settlement authentication code C1 from the authentication management device 20. Furthermore, the decryption device 40 decrypts the encrypted settlement authentication code C1 with the code decryption key C2 to extract the NC data decryption key A2 from the settlement authentication code C1, and decrypts the encrypted NC data 51 with the NC data decryption key A2 to extract the NC data 50. Thus, the data providing system 1 can provide the additional NC data 50 that is not pre-stored in the second NC device 130 to the decryption device 40 in a confidential manner. Therefore, the data providing system 1 can prevent the NC data 50 storing the technology or know-how from being leaked or forged.

[0091] Implementation method 2.

[0092] Next, use Figures 6 to 8 Embodiment 2 will be described. In Embodiment 2, NC data 50 including an NC program 52 , data instructing a changeover of machining, and data indicating a machining result are encrypted and provided to a decryption device 40 .

[0093] Figure 6 FIG. 2 is a diagram showing the structure of a data providing system according to Embodiment 2. Figure 6 Among the structural elements of Figure 1 In the data providing system 1 of the first embodiment shown, components that realize the same functions are denoted by the same reference numerals, and duplicate descriptions are omitted.

[0094] The data providing system 2 according to the second embodiment includes an encryption device 10 , an authentication management device 20 , a storage device 30 , and a decryption device 40 , similarly to the data providing system 1 according to the first embodiment.

[0095] In the second embodiment, the NC data 50 stored in the NC data storage unit 11 of the encryption device 10 includes an NC program 52 , a production changeover instruction data 71 , and a processed component model 72 .

[0096] The production change adjustment instruction data 71 and the processing component model 72 are data attached to the NC program 52. The production change adjustment instruction data 71 is document data or drawing data that explains the production change adjustment of processing before the start of processing. The processing component model 72 is model data obtained by 3D modeling the processing result obtained by the machine tool 6A.

[0097] The data providing system 2 communicates with Figure 2 The NC data 50 is provided to the decryption device 40 in the same processing sequence as the data providing system 1 described in the embodiment 2. That is, in the embodiment 2, the encryption device 10 encrypts the NC data 50 as in the embodiment 1. Furthermore, the decryption device 40 decrypts the settlement authentication code C1 using the code decryption key C2, thereby extracting the NC data decryption key A2. Furthermore, the decryption device 40 decrypts the encrypted NC data 51 using the NC data decryption key A2, and obtains the NC data 50. That is, the decryption device 40 obtains the NC data 50 including the NC program 52, the production change adjustment instruction data 71, and the processing component model 72.

[0098] In the data providing system 2 , the simulator encrypts the NC data 50 using the encryption device 10 , and the second NC device decrypts the encrypted NC data 51 using the decryption device 40 .

[0099] Figure 7 This is a diagram for explaining the processing executed by the NC simulator according to Embodiment 2. Here, a case where the NC simulator 81 includes the encryption device 10 is described, but the encryption device 10 may be disposed outside the NC simulator 81 .

[0100] The NC simulator 81 of the second embodiment simulates the model of the virtual machine tool 6B and can perform machining simulation using the NC program 52 included in the NC data 50 that is desired to be kept confidential. That is, the NC simulator 81 performs numerical control simulation of the virtual machine tool 6B using the NC program 52 and encrypts the NC data 50 including the NC program 52.

[0101] The virtual machine tool 6B simulates the motion of the machine tool 6A. Therefore, the virtual machine tool 6B includes a virtual X-axis model 61B that virtually performs the motion of the X-axis motor 61A, a virtual Y-axis model 62B that virtually performs the motion of the Y-axis motor 62A, and a virtual Z-axis model 63B that virtually performs the motion of the Z-axis motor 63A.

[0102] The NC simulator 81 includes the encryption device 10, the program analysis unit 13, the virtual interpolation processing unit 14B, and the virtual axis control unit 15B. That is, compared with the first NC device 120, the NC simulator 81 includes a virtual interpolation processing unit 14B instead of the interpolation processing unit 14A, and includes a virtual axis control unit 15B instead of the axis control unit 15A.

[0103] The virtual interpolation processing unit 14B generates virtual control data for controlling the virtual machine tool 6B based on the analysis result obtained by the program analysis unit 13, and sends it to the virtual axis control unit 15B. The virtual axis control unit 15B controls the virtual X-axis model 61B, the virtual Y-axis model 62B, and the virtual Z-axis model 63B using the virtual control data generated by the virtual interpolation processing unit 14B. As described above, the virtual interpolation processing unit 14B simulates the operation of the interpolation processing unit 14A, and the virtual axis control unit 15B simulates the operation of the axis control unit 15A.

[0104] The NC data encryption unit 12 of the second embodiment encrypts the NC data 50 by the same process as the NC data encryption unit 12 of the first embodiment, and registers it in the storage device 30. The NC data 50 encrypted by the NC data encryption unit 12 of the second embodiment includes an NC program 52, a production changeover instruction data 71, and a processing component model 72.

[0105] In addition, the NC data encryption unit 12 of the second embodiment, similarly to the NC data encryption unit 12 of the first embodiment, registers the NC data decryption key A2 for decrypting the encrypted NC data 51 in the authentication management device 20 .

[0106] In the second embodiment, the NC data 50 outputted from the encryption device 10 is also encrypted, so a third party cannot decipher the encrypted NC data 51. Therefore, the encryption device 10 can prevent the processing technology related to the NC data 50 from being leaked to a third party.

[0107] Furthermore, the encryption device 10 can input the NC data 50 to the first NC device 120. In this case, the first NC device 120 controls the machine tool 6A using the NC program 52 included in the NC data 50.

[0108] Figure 8This is a diagram for explaining the processing executed by the second NC device according to Embodiment 2. Here, a case where the second NC device 130 includes the decryption device 40 is described, but the decryption device 40 may be arranged outside the second NC device 130 .

[0109] In the second embodiment, the NC data decryption unit 43 also decrypts the encrypted NC data 51 by the same process as the NC data decryption unit 43 in the first embodiment to obtain the NC data 50 . The decryption device 40 sends the NC program 52 included in the NC data 50 to the program analysis unit 13 .

[0110] In the second embodiment, similarly to the first embodiment, the second NC device 130 numerically controls the machine tool 7A using the NC data 50 , thereby enabling the same processing as that of the machine tool 6A.

[0111] In addition, the NC data decryption unit 43 displays the production change adjustment instruction data 71 and the processing component model 72 attached to the decrypted NC data 50 on the display operation unit 150. Thus, the user of the second NC device 130 can reliably perform production change adjustment of processing before starting processing while referring to the production change adjustment instruction data 71 corresponding to the NC program 52. In addition, the user of the second NC device 130 can perform processing while referring to the processing component model 72 corresponding to the NC program 52. The display operation unit 150 can be provided in the machine tool 7A or in a device other than the machine tool 7A.

[0112] Furthermore, the decryption device 40 may input the NC data 50 to the NC simulator. The NC simulator in this case simulates the processing performed by the second NC device 130 and the machine tool 7A. In addition, the NC data 50 may include at least one of the production changeover instruction data 71 and the processing component model 72.

[0113] In addition, there may be multiple encryption devices 10. In this case, the storage device 30 stores the encrypted NC data 51 encrypted by each encryption device 10. The decryption device 40 selects the required encrypted NC data 51 from the multiple encrypted NC data 51 encrypted by the multiple encryption devices 10. Thus, the encryption device 10 can provide the NC data 50 only to the decryption device 40 that needs the NC data 50 without letting other encryption devices 10 know the content of the NC data 50. In the past, the decryption device 40 had to access multiple encryption devices 10 individually due to problems such as outflow and counterfeiting, but the encrypted NC data 51 provided by multiple encryption devices 10 can also be selected through the same storage device 30, which improves convenience.

[0114] As described above, according to the second embodiment, the NC data 50 includes the product replacement instruction data 71 and the machined component model 72 . Therefore, the user of the second NC device 130 can refer to the product replacement instruction data 71 and the machined component model 72 .

[0115] Implementation method 3.

[0116] Next, use Figures 9 to 12 Embodiment 3 will be described. In Embodiment 3, NC data 50 including an NC program 52 and optional data (optional data 73 described later) is encrypted and provided to a decryption device 40 .

[0117] Fig. 9 FIG. 2 is a diagram showing the structure of a data providing system according to Embodiment 3. Fig. 9 Among the structural elements of Figure 1 In the data providing system 1 of the first embodiment shown, components that realize the same functions are denoted by the same reference numerals, and duplicate descriptions are omitted.

[0118] The data providing system 3 of the third embodiment further includes an EC (Electronic Commerce) settlement server 91 in addition to the structural elements of the data providing system 1 of the first embodiment. The EC settlement server 91 is a device that performs a purchase process and a settlement process for the encrypted NC data 51 transmitted from the storage device 30. When the authentication management device 20 can confirm that the NC data 50 has been purchased or charged to the EC settlement server 91, it generates a settlement authentication code C1 and a code decryption key C2 and sends them to the decryption device 40.

[0119] In the third embodiment, the NC data 50 encrypted by the NC data encryption unit 12 includes the NC program 52, the production change adjustment instruction data 71, and the option data 73. In addition, the illustration of the production change adjustment instruction data 71 is omitted. Hereinafter, the production change adjustment instruction data 71 of the third embodiment is also the same as the production change adjustment instruction data 71 of the second embodiment, so the description thereof is omitted.

[0120] The option data 73 is data attached to the NC program 52. The option data 73 is data required for using the NC program 52. An example of the option data 73 is data for enabling or disabling an additional function of an option.

[0121] The NC data encryption unit 12 sets the NC program 52 and the option data 73 of the NC program 52 together, and encrypts them using the NC data encryption key A1. Thus, the NC data encryption unit 12 generates the encrypted NC data 51 in which the NC program 52 and the option data 73 are set together.

[0122] In the data providing system 3, by communicating with Figure 2 NC data 50 is provided to decryption device 40 in the same processing sequence as data providing system 1 described in the above. In this case, in Embodiment 3, a PC (hereinafter referred to as user PC) not shown in the figure used by a user of decryption device 40 accesses storage device 30 that sells NC data 50 (hereinafter sometimes referred to as NC data 50) including NC program 52 and option data 73 according to an instruction from the user. User PC issues a request to storage device 30 to register NC data 50 in decryption device 40 according to an instruction from the user.

[0123] The user of the decryption device 40 pays the storage device 30 for selling the NC data 50. The payment process is performed between the user PC, the storage device 30, and the EC settlement server 91, for example.

[0124] When confirming that the NC data 50 has been purchased or charged, the EC settlement server 91 notifies the authentication management device 20 and the storage device 30 that the NC data 50 has been purchased by the decryption device 40 .

[0125] The authentication management device 20 and the storage device 30 reply that they have received the notification from the EC settlement server 91. The authentication management device 20 generates a settlement authentication code C1 and a code decryption key C2 corresponding to the NC data 50 of the third embodiment, and transmits them to the decryption device 40.

[0126] Furthermore, the authentication management device 20 may notify the EC settlement server 91 that the settlement authentication code C1 and the code decryption key C2 corresponding to the NC data 50 have been sent to the decryption device 40. Furthermore, the storage device 30 may also notify the EC settlement server 91 that the encrypted NC data 51 corresponding to the NC data 50 has been read out by the decryption device 40.

[0127] Furthermore, the authentication management device 20 and the storage device 30 of the third embodiment are preferably servers that can be connected via the Internet.

[0128] Fig.10 FIG. 1 is a diagram for explaining the processing performed by the NC simulator according to the third embodiment. Fig.10 The processing described in Figure 7 Here, the case where the NC simulator 82 includes the encryption device 10 is described, but the encryption device 10 may be arranged outside the NC simulator 82.

[0129] The NC simulator 82 of the third embodiment further includes an option analysis unit 16B in addition to the components of the NC simulator 81 of the second embodiment. In addition, the NC data storage unit 11 of the NC simulator 82 stores the NC program 52 and the overall option data 77. The overall option data 77 is data storing all the option data that can be used by various NC devices such as the second NC device 130.

[0130] The option analyzer 16B analyzes the confidential NC program 52, analyzes the options used by the NC program 52, and collects information on the options used by the NC program 52. Specifically, the option analyzer 16B extracts the option data 73 of the options used by the NC program 52 from the overall option data 77.

[0131] The NC data encryption unit 12 of the third embodiment encrypts the NC data 50 by the same process as the NC data encryption unit 12 of the first embodiment, and registers it in the storage device 30. The NC data 50 encrypted by the NC data encryption unit 12 of the third embodiment includes the NC program 52 and option data 73.

[0132] In addition, the NC data encryption unit 12 of the third embodiment, similarly to the NC data encryption unit 12 of the first embodiment, registers the NC data decryption key A2 for decrypting the encrypted NC data 51 in the authentication management device 20 .

[0133] In the third embodiment, the NC data 50 outputted from the encryption device 10 is also encrypted, so a third party cannot decipher the encrypted NC data 51. Therefore, the encryption device 10 can prevent the processing technology related to the NC data 50 from being leaked to a third party.

[0134] Furthermore, the encryption device 10 can input the NC data 50 to the first NC device 120. In this case, the first NC device 120 controls the machine tool 6A using the NC program 52 included in the NC data 50.

[0135] Fig.11 This is a diagram for explaining the first processing performed by the second NC device involved in Embodiment 3. Here, the case where the second NC device 130 has the decryption device 40 is explained, but the decryption device 40 may be arranged outside the second NC device 130. The first processing performed by the second NC device 130 includes the processing performed by the second NC device 130 described in Embodiment 1 and the processing using the optional data 73.

[0136] In the third embodiment, the decryption device 40 specifies the NC data 50 including the NC program 52 and the option data 73 according to the instruction from the user, and issues a purchase request or a billing request to the EC settlement server 91 .

[0137] The EC settlement server 91 notifies the authentication management device 20 and the storage device 30 that the designated NC data 50 has been purchased by the decryption device 40. Thus, the authentication management device 20 and the storage device 30 of the third embodiment execute the same processing as the authentication management device 20 and the storage device 30 of the second embodiment.

[0138] That is, in the third embodiment, the NC data decryption unit 43 also decrypts the encrypted NC data 51 through the same process as the NC data decryption unit 43 of the first embodiment to obtain the NC data 50. The NC data 50 includes the NC program 52 and the option data 73. The decryption device 40 sends the NC program 52 and the option data 73 to the program analysis unit 13.

[0139] When performing machining using the NC program 52 , the second NC device 130 enables options necessary for using the NC program 52 based on the option data 73 .

[0140] Thus, in the third embodiment, as in the first embodiment, the second NC device 130 can perform the same processing as the virtual machine tool 6B by numerically controlling the machine tool 7A using the NC data 50. That is, the second NC device 130 can perform processing using the options corresponding to the option data 73.

[0141] The second NC device 130 of the third embodiment stores and holds the newly decrypted optional data 73 in the optional data 73A held so far. Then, when the second NC device 130 of the third embodiment performs processing using the NC program 52, the optional data 73A storing the optional data 73 is read out, and the processing is performed using the NC program 52 and the optional data 73A. Thus, when the second NC device 130 controls the machine tool 6A using the NC program 52, the machine tool 7A can be controlled using the additional function corresponding to the optional data 73.

[0142] As described above, the second NC device 130 of the third embodiment can use the required option data 73 in accordance with the execution of the NC program 52 actually processed selected by the decryption device 40. Therefore, the manufacturer who uses the second NC device 130 can purchase the option data 73 when it is necessary to use the option data 73. Therefore, when the manufacturer who uses the second NC device 130 introduces the machine tool 7A, it is not necessary to purchase the unnecessary option data 73 at the time of introduction, and the initial investment can be reduced.

[0143] Furthermore, the decryption device 40 can input the NC data 50 to the NC simulator. The NC simulator in this case simulates the processing executed by the second NC device 130 and the machine tool 7A.

[0144] Furthermore, a use condition may be set in the option data 73. In this case, the second NC device 130 executes the second process including the process performed in the first process using the use condition.

[0145] Fig.12 1 is a diagram for explaining the second processing performed by the second NC device involved in the third embodiment. Here, the case where the second NC device 130 has the decryption device 40 is explained, but the decryption device 40 may be arranged outside the second NC device 130. The second processing performed by the second NC device 130 includes the processing performed by the second NC device 130 described in the first embodiment, the processing using the option data 73, and the processing of setting the option to be valid or invalid based on the use condition information 75. In addition, Fig.12 In the figure, the optional data 73 and 73A are omitted.

[0146] When the second processing is executed by the second NC device 130, the user PC transmits the number of times the option data 73 is used, the time of use, the number of days of use, or the use condition request 74 for requesting the use condition of the validity period to the EC settlement server 91 in accordance with the instruction from the user. The number of times the option is used may be the number of times a cycle is executed to perform one machining operation, or the number of times a program command of the option is issued.

[0147] As described above, when the user PC arranges the optional data 73 through the EC settlement server 91, for each optional item required for the NC program 52 of the encrypted NC data 51, the usage condition requirement 74 including the number of executions of a cycle for one processing, the number of instructions of the program command of the optional item, the usage time, the number of days of use or the validity period is sent to the EC settlement server 91.

[0148] The EC settlement server 91 charges the user PC for the fee corresponding to the usage condition request 74 , and if the fee corresponding to the usage condition request 74 is paid, transmits information associating the usage condition request 74 with the decryption device 40 to the authentication management device 20 .

[0149] The authentication management device 20 includes the usage condition information 75 corresponding to the usage condition requirement 74 in the settlement authentication code C1. For example, the authentication management device 20 adds the usage condition information 75 corresponding to the usage condition requirement 74 to the device authentication code B1. Then, the authentication management device 20 and the storage device 30 perform the same operation as in the above. Fig.11 The storage device 30 stores the NC data 50 as follows: Fig. 9 As described in the description, the NC program 52 and the option data 73 are included.

[0150] In addition, the decryption device 40 performs the same Fig.11 That is, the decryption device 40 decrypts the settlement authentication code C1 using the code decryption key C2, and decrypts the encrypted NC data 51 using the NC data decryption key A2. Thus, the decryption device 40 can obtain the device authentication code B1, the NC program 52, and the optional data 73 to which the usage condition information 75 is added. The decryption device 40 sends the NC program 52, the optional data 73, and the usage condition information 75 to the program analysis unit 13.

[0151] Thus, the second NC device 130 sets the validity or invalidity of the option based on the use condition information 75. That is, the second NC device 130 sets the number of executions of a cycle for performing one machining, the number of instructions of the program command of the option, the use time, the number of days of use, or the expiration date for each option. Furthermore, the second NC device 130 performs machining using the NC program 52 and the option data 73. As described above, the second NC device 130 controls machining using the option data 73 under the conditions permitted by the use condition information 75.

[0152] When the second NC device 130 selects the decrypted NC program 52 for processing, it processes the program after activating or inactivating the options required for using the NC program 52 (options corresponding to the option data 73 ) based on the use condition information 75 .

[0153] The user of the second NC device 130 only needs to send a usage condition request 74 that sets the required optional items (option items corresponding to the optional item data 73) corresponding to the NC program 52 used for actual processing in the machine tool 7A to be used only for the required number of processing times and the required processing time to the EC settlement server 91. Therefore, the user of the second NC device 130 does not need to purchase the unnecessary optional item data 73 at the time of importing the machine tool 7A, and can reduce the initial investment.

[0154] also, Fig.12 The decryption device 40 shown is also connected to Fig.11The decryption device 40 shown in the figure can also input the NC data 50 to the NC simulator. The NC simulator in this case simulates the processing executed by the second NC device 130 and the machine tool 7A.

[0155] In addition, there may be multiple encryption devices 10. In this case, the storage device 30 stores the encrypted NC data 51 encrypted by each encryption device 10. The decryption device 40 selects the required encrypted NC data 51 from the multiple encrypted NC data 51 encrypted by the multiple encryption devices 10. Thus, the encryption device 10 can provide the NC data 50 only to the decryption device 40 that needs the NC data 50 without letting other encryption devices 10 know the content of the NC data 50. In the past, the decryption device 40 had to access multiple encryption devices 10 individually due to problems such as outflow and counterfeiting, but the encrypted NC data 51 provided by multiple encryption devices 10 can be selected through the same storage device 30, which improves convenience.

[0156] As described above, according to the third embodiment, the NC data 50 includes the NC program 52 and the option data 73 . Therefore, the second NC device 130 can control the machine tool 6A using the NC program 52 and the option data 73 .

[0157] In addition, the NC data 50 includes the use condition information 75, and the second NC device 130 controls the machining using the option data 73 under the conditions permitted by the use condition information 75. Thus, the second NC device 130 can use the option data 73 by limiting the use conditions according to the use condition information 75, and thus can use the option data 73 at a low cost.

[0158] Implementation method 4.

[0159] Next, use Figures 13 to 15 Embodiment 4 will be described. In Embodiment 4, an additional application program is encrypted and then provided to the decryption device 40 .

[0160] Fig.13 FIG. 4 is a diagram showing the structure of a data providing system according to Embodiment 4. Fig.13 Among the structural elements of Figure 1 In the data providing system 1 of the first embodiment shown, components that realize the same functions are denoted by the same reference numerals, and duplicate descriptions are omitted.

[0161] The data providing system 4 of the fourth embodiment has the same components as the data providing system 3 of the third embodiment. Specifically, the data providing system 4 includes an encryption device 10 , an authentication management device 20 , a storage device 30 , a decryption device 40 , and an EC settlement server 91 .

[0162] In the data providing system 4, for example, a new additional application program (hereinafter referred to as additional application 76) such as an application program that facilitates the use of the machine tool 6A is developed. The NC simulator 81 can simulate and test the model of the virtual machine tool 6B using the additional application program 76 as additional application software.

[0163] The additional application 76 includes any of a PLC program and a macro program used when the first NC device 120 and the second NC device 130 execute control processing, and additional application software or firmware executable by the first NC device 120 and the second NC device 130 .

[0164] In the fourth embodiment, the additional application 76 is stored in the NC data 50. The NC data encryption unit 12 of the encryption device 10 encrypts the NC data 50 storing the additional application 76 through the same process as in the first to third embodiments, and outputs the encrypted NC data 54 to the storage device 30. In addition, the NC data encryption unit 12 of the encryption device 10 outputs the NC data decryption key A2 to the authentication management device 20 through the same process as in the first to third embodiments.

[0165] Fig.14 FIG. 4 is a diagram for explaining the processing performed by the NC simulator according to the fourth embodiment. Fig.14 The processing described in Figure 7 Here, the case where the NC simulator 82 includes the encryption device 10 is described, but the encryption device 10 may be arranged outside the NC simulator 82.

[0166] The NC simulator 82 of the fourth embodiment has the same components as the NC simulator 82 of the third embodiment. Here, a case where the data constituting the additional application 76 includes two data items, 3D.EXE and 3D.LIB, will be described.

[0167] In the fourth embodiment, the encryption device 10 encrypts the NC data 50 storing the additional application 76 through the same processing as in the third embodiment. Thus, the encryption device 10 generates the encrypted NC data 54 obtained by encrypting the additional application 76. The encryption device 10 outputs the generated encrypted NC data 54 to the storage device 30. In addition, the operations of the authentication management device 20, the storage device 30, and the EC settlement server 91 are the same as in the third embodiment, and therefore the description thereof is omitted.

[0168] In the fourth embodiment, the NC data 50 outputted from the encryption device 10 is also encrypted, so a third party cannot decipher the encrypted NC data 54. Therefore, the encryption device 10 can prevent the processing technology related to the NC data 50 from being leaked to a third party.

[0169] Furthermore, the encryption device 10 may input the NC data 50 to the first NC device 120. In this case, the first NC device 120 controls the machine tool 6A using the NC program 52 included in the NC data 50.

[0170] Fig.15 This is a diagram for explaining the processing executed by the second NC device according to Embodiment 4. Here, a case where the second NC device 130 includes the decryption device 40 is described, but the decryption device 40 may be arranged outside the second NC device 130 .

[0171] In the fourth embodiment, the decryption device 40 also obtains the encrypted NC data 54 through the same process as in the third embodiment, and decrypts the encrypted NC data 54 through the same process as in the third embodiment. Thus, the decryption device 40 obtains the NC data 50 storing the additional application 76. The decryption device 40 sends the additional application 76 to the program analysis unit 13.

[0172] The second NC apparatus 130 updates the existing application program by adding the additional application 76 decrypted by the decryption device 40 to the existing application program. The second NC apparatus 130 controls the machine tool 7A using the updated application program to perform machining.

[0173] The second NC device 130 of the fourth embodiment can use additional applications 76 as needed to improve operability and productivity, so it is not necessary to purchase all application programs in advance when the machine tool 7A is introduced, which can reduce initial investment. In addition, the second NC device 130 can easily obtain new additional applications 76 when new additional applications 76 are developed.

[0174] Furthermore, the decryption device 40 can input the NC data 50 to the NC simulator. The NC simulator in this case simulates the processing executed by the second NC device 130 and the machine tool 7A.

[0175] In addition, there may be multiple encryption devices 10. In this case, the storage device 30 stores the encrypted NC data 54 encrypted by each encryption device 10. The decryption device 40 selects the required encrypted NC data 54 from the multiple encrypted NC data 54 encrypted by the multiple encryption devices 10. Thus, the encryption device 10 can prevent other encryption devices 10 from knowing the content of the NC data 50, and only the decryption device 40 that needs the NC data 50 can provide the NC data 50. In the past, the decryption device 40 had to access multiple encryption devices 10 individually due to problems such as outflow and counterfeiting, but the encrypted NC data 51 provided by multiple encryption devices 10 can also be selected through the same storage device 30, which improves convenience.

[0176] As described above, according to the fourth embodiment, the additional application 76 is included in the NC data 50 , and therefore the second NC device 130 can control the machine tool 7A using the additional application 76 .

[0177] Furthermore, when the user of the second NC device 130 introduces the machine tool 7A, there is no need to purchase unnecessary application programs at the time of introduction, and the initial investment can be reduced.

[0178] In addition, when the second NC device 130 performs special processing, a dedicated option or processing with a machine tool 7A having a specific additional axis may be required. In this case, if the NC data held by the second NC device 130 does not correspond to the special processing, the second NC device 130 cannot perform the special processing using the machine tool 7A.

[0179] Furthermore, when using the machine tool 7A, the user of the second NC device 130 may wish to add optional data for using application software or auxiliary functions in order to create desired NC data or to improve the workability of machine changeover and adjustment to increase productivity.

[0180] In addition, as processing needs shift from mass production to small-volume, high-variety single production, when introducing the machine tool 7A, if all options that may be used in the future are included, the initial investment price will be high. In this case, the recovery of the initial investment may not be foreseen, or the recovery period may be longer than planned, which becomes a management issue.

[0181] In addition, difficult processing, productivity-enhancing technologies and applications are important technologies and know-how assets related to the business continuation of processing companies that convert processing technologies into sales products, and it is required to pass on technology and protect public NC data. In addition, it is hoped that the investment required for special processing will be reduced to the necessary minimum.

[0182] In the first to fourth embodiments described above, the encryption device 10 encrypts the specific NC data 50 requested by the user of the second NC device 130 and supplies the encrypted data to the decryption device 40 , so that the investment in the machine tool 7A can be kept low.

[0183] In addition, in encryption where the encryption key is repeatedly used, once the encryption key is leaked, all subsequent data will be deciphered. In embodiments 1 to 4, each time the encryption device 10 provides the NC data 50 to the decryption device 40, various NC data encryption keys A1 can be used, so even if one NC data encryption key A1 is leaked, the subsequent NC data 50 will not be deciphered.

[0184] Here, the hardware configuration of the encryption device 10, the authentication management device 20, the storage device 30, the decryption device 40, the EC settlement server 91, the first NC device 120, the second NC device 130, and the NC simulators 81 and 82 will be described. In addition, since these devices have the same hardware configuration, the hardware configuration of the decryption device 40 will be described here.

[0185] Fig.16 1 is a diagram showing an example of a hardware configuration for realizing the decryption device involved in Embodiments 1 to 4. The decryption device 40 can be realized by an input device 300, a processor 100, a memory 200, and an output device 400. An example of the processor 100 is a CPU (also called a Central Processing Unit, a central processing unit, a processing unit, an arithmetic unit, a microprocessor, a microcomputer, a DSP (Digital Signal Processor)) or a system LSI (Large Scale Integration). An example of the memory 200 is a RAM (Random Access Memory) or a ROM (Read Only Memory).

[0186] The decryption device 40 is implemented by the processor 100 reading and executing a computer-executable decryption program stored in the memory 200 for executing the operation of the decryption device 40. The program for executing the operation of the decryption device 40 is the decryption program, which can be said to be a procedure or method for causing the computer to execute the decryption device 40.

[0187] The decryption program executed by the decryption device 40 has a module structure including an NC data decryption unit 43 . The NC data decryption unit 43 is downloaded to the main storage device and generated on the main storage device.

[0188] The input device 300 corresponds to the code input unit 42. The input device 300 receives the settlement authentication code C1 and the code decryption key C2 from the authentication management device 20 and transmits them to the memory 200. The input device 300 also receives the encrypted NC data 51 and 54 from the storage device 30 and transmits them to the memory 200.

[0189] The memory 200 corresponds to the NC data storage unit 41. The memory 200 stores the NC data 50, the device ID code B2, etc. Fig.16 Although not shown in the figure, the memory 200 stores the settlement authentication code C1, the NC data decryption key A2, the device authentication code B1, and the like.

[0190] The NC data 50 and the device ID code B2 in the NC data storage unit 41 are read from the memory 200 by the processor 100. The memory 200 is used as a temporary storage when the processor 100 executes various processes. The output device 400 sends the NC data 50 to the program analysis unit 13.

[0191] The decryption program can be provided as a computer program product in the form of an installable or executable file stored in a computer-readable storage medium. In addition, the decryption program can also be provided to the decryption device 40 via a network such as the Internet. In addition, the functions of the decryption device 40 can be partially implemented by dedicated hardware such as a dedicated circuit, and partially implemented by software or firmware.

[0192] The configuration described in the above embodiment is merely an example, and may be combined with other known technologies, the embodiments may be combined with each other, and part of the configuration may be omitted or changed without departing from the gist.

[0193] Description of the label

[0194] 1 to 4 data providing system, 6A, 7A working machine, 6B virtual working machine, 10 encryption device, 11, 31, 41 NC data storage unit, 12 NC data encryption unit, 13 program analysis unit, 14A interpolation processing unit, 14B virtual interpolation processing unit, 15A axis control unit, 15B virtual axis control unit, 16B use option analysis unit, 20 authentication management device, 21 code generation unit, 22 code storage unit, 23 decryption key storage unit, 30 storage device, 40 decryption device, 42 code input unit, 43 NC data decryption unit, 50 NC data, 51, 54 encrypted NC data, 52 NC program, 53 encrypted NC program, 61A X-axis motor, 61B virtual X-axis model, 62A Y-axis motor, 62B virtual Y-axis model, 63A Z-axis motor, 63B virtual Z-axis model, 71 production change adjustment instruction data, 72 processing component model, 73, 73A option data, 74 usage condition requirement, 75 usage condition information, 76 additional application, 77 overall option data, 81, 82 NC simulator, 91EC settlement server, 100 processor, 110 comparison object NC device, 120 first NC device, 130 second NC device, 150 display operation unit, 200 memory, 300 input device, 400 output device, A1 NC data encryption key, A2 NC data decryption key, B1 device authentication code, B2 device ID code, C1 settlement authentication code, C2 code decryption key.

Claims

1. A data providing system, characterized in that: have: an encryption device for encrypting numerical control data used by a numerical control device for controlling a working machine or a simulator for simulating the operation of the working machine by using a first encryption key, thereby generating encrypted numerical control data; a storage device, which receives the encrypted numerical control data from the encryption device, and stores and transmits the encrypted numerical control data; an authentication management device that receives a first decryption key corresponding to the first encryption key from the encryption device, generates a settlement authentication code storing the first decryption key, encrypts the code using a second encryption key, and outputs a second decryption key corresponding to the second encryption key and the encrypted settlement authentication code; as well as a decryption device, which receives the encrypted numerical control data from the storage device, and receives the second decryption key and the encrypted settlement authentication code from the authentication management device, decrypts the encrypted settlement authentication code by the second decryption key, thereby extracts the first decryption key from the settlement authentication code, decrypts the encrypted numerical control data by the first decryption key, thereby extracts the numerical control data, The settlement authentication code stores the object authentication code inherent to the object permitted to use the numerical control data and the first decryption key. The decryption device decrypts the encrypted settlement authentication code using the second decryption key, thereby extracting the object authentication code and the first decryption key from the settlement authentication code. When there is a corresponding code corresponding to the object authentication code, the encrypted numerical control data is decrypted using the first decryption key, thereby extracting the numerical control data.

2. The data providing system according to claim 1, characterized in that: The object authentication code is associated with any of the numerical control device, the user of the numerical control device, the simulator, the user of the simulator, a group having the machine tool, the model of the machine tool, a manufacturer of the machine tool, or a sales company of the machine tool.

3. The data providing system according to claim 1 or 2, characterized in that: A plurality of the decryption devices store the same corresponding code, The encrypted numerical control data is decrypted by the plurality of decryption devices storing the corresponding codes.

4. The data providing system according to any one of claims 1 to 3, characterized in that: The numerical control data is data used when the working machine performs processing, and includes at least one of a programmable logic control program or macro program used when the numerical control device performs control processing, and additional application software or firmware that can be executed by the numerical control device.

5. The data providing system according to any one of claims 1 to 4, characterized in that: The numerical control data includes at least one of a numerical control program used when the machine tool executes processing, document data, drawing data, model data, option data attached to the numerical control program, and application software.

6. The data providing system according to claim 1, characterized in that: It also has a settlement server, which performs purchase process processing and settlement processing of the encrypted numerical control data transmitted from the storage device, If the settlement server confirms the purchase or the billing, the authentication management device generates the settlement authentication code and the second decryption key, and outputs them to the decryption device.

7. The data providing system according to claim 5, characterized in that: The numerical control data includes the numerical control program and the optional data, The numerical control device controls the machine tool using the additional function corresponding to the option data when controlling the machine tool using the numerical control program.

8. The data providing system according to claim 1, characterized in that: The settlement authentication code includes information on the use conditions for using the optional data attached to the numerical control program used when the machining is performed by the machine tool. The numerical control device controls machining using the option data under the condition that the use condition is permitted.

9. The data providing system according to claim 8, characterized in that: The usage conditions include the number of executions of one machining cycle, the number of instruction times of optional program commands, the usage time, the number of usage days or the validity period of the optional data.

10. The data providing system according to any one of claims 1 to 7, characterized in that: The decryption device is arranged in the numerical control device or the simulator.

11. A data providing method, characterized in that: The following steps are included: a generating step in which the encryption device encrypts numerical control data used by a numerical control device for controlling a working machine or a simulator for simulating the operation of the working machine using a first encryption key, thereby generating encrypted numerical control data; a transmission step, wherein the storage device receives the encrypted numerical control data from the encryption device, and stores and transmits the encrypted numerical control data; an output step, wherein the authentication management device receives a first decryption key corresponding to the first encryption key from the encryption device, generates a settlement authentication code storing the first decryption key, encrypts the code using a second encryption key, and outputs a second decryption key corresponding to the second encryption key and the encrypted settlement authentication code; as well as a decryption step, wherein a decryption device receives the encrypted numerical control data from the storage device, and receives the second decryption key and the encrypted settlement authentication code from the authentication management device, decrypts the encrypted settlement authentication code by the second decryption key, thereby extracts the first decryption key from the settlement authentication code, decrypts the encrypted numerical control data by the first decryption key, thereby extracting the numerical control data, The settlement authentication code stores the object authentication code inherent to the object permitted to use the numerical control data and the first decryption key. The decryption device decrypts the encrypted settlement authentication code using the second decryption key, thereby extracting the object authentication code and the first decryption key from the settlement authentication code. When there is a corresponding code corresponding to the object authentication code, the encrypted numerical control data is decrypted using the first decryption key, thereby extracting the numerical control data.