Encrypted storage method for creating knowledge-based part parameters of secondary development reuse library
By extracting and encrypting the expression parameter data of knowledge-based components in Siemens NX software, the problem of illegal access in the existing technology is solved, high-security storage and management of data is realized, and the intellectual property rights of enterprises are protected.
Patent Information
- Application Number
- CN202411462430.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-18
- Publication Date
- 2025-02-11
AI Technical Summary
The existing technology cannot effectively prevent the data of knowledge-based components in Siemens NX software from being illegally accessed, resulting in the threat of the company's core technology and intellectual property rights.
By extracting the expression parameter data of the NX model and storing it into an external encrypted Excel file, the data is encrypted using industry-standard encryption algorithms (such as AES or RSA), and the encrypted file is associated with the model. NX software reuse library.
It realizes the protection and security management of knowledge-based component parameter data, prevents unauthorized access and use, and effectively protects the intellectual property rights of the enterprise.
Smart Images

Figure SMS_1 
Figure SMS_2 
Figure SMS_3
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer-aided design (CAD), and in particular to a method for creating and encrypting and storing knowledge-based component parameters in Siemens NX software. Background Art
[0002] Siemens NX software is a commonly used CAD tool in current industrial design and is widely used in product design and manufacturing processes. With the increasing demand for design automation, companies often create knowledge-based components in NX software through secondary development. These components usually contain complex geometric parameters and design logic and can be reused in multiple design projects. However, once the data of these knowledge-based components is improperly accessed or leaked, it may pose a threat to the company's core technology and intellectual property rights.
[0003] In the related art, although NX software can store design data in internal expressions, this storage method cannot effectively prevent data from being illegally accessed. In order to solve this problem, a method is urgently needed to store and encrypt the expression parameter data of the model externally, thereby improving the security and confidentiality of the design data. Summary of the invention
[0004] Aiming at the problem that secondary development cannot effectively prevent illegal access to knowledge-based parts created in NX software, a method for encrypting and storing parameters of knowledge-based parts in secondary development reuse libraries is proposed. This method extracts and stores the expression parameter data of the NX model into an external Excel file, and encrypts the Excel file to achieve protection and security management of these parameter data.
[0005] The technical solution of the present invention is:
[0006] A method for creating an encrypted storage method of knowledge-based part parameters of a secondary development reuse library includes the following steps:
[0007] Step 1: Create a knowledge-based component model: In NX software, create a knowledge-based component model based on design requirements. The model contains geometric information, design rules, and related expression parameters.
[0008] Step 2: Extract expression parameter data: Use the API or secondary development tools of NX software to extract the expression parameter data in the knowledge-based component model and save it to an Excel file;
[0009] Step 3, encryption processing: encrypt the extracted Excel file and set the decryption tool to generate an encrypted parameter data file;
[0010] Step 4: Associated storage: associate the encrypted Excel file with the geometric model file of the knowledge-based component and store it in the reuse library of the NX software;
[0011] Step 5. Decryption and use: When the knowledge-based component needs to be reused, extract the corresponding encrypted Excel file from the reuse library, perform the decryption operation, and load the decrypted parameter data into the NX software to restore and use the component.
[0012] Further, the method specifically includes the following steps:
[0013] Step 1: Create a knowledge-based component model: In NX software, designers first create a knowledge-based component model using the NX software modeling tool based on specific product design requirements. This model contains the component's geometric information, design rules, and related expression parameters. These expressions are usually used to define the size, shape, and change rules of the component.
[0014] Step 2: Extract expression parameter data: Develop a script or program through the secondary development interface of NX software to automatically extract expression parameter data from the knowledge-based component model and export it to an external Excel file; the Excel file format is flexible, convenient for storing large amounts of parameter data, and supports different cell formats, which is suitable for processing complex parameter information;
[0015] Step 3: Encryption: Use industry-standard encryption algorithms to encrypt the exported Excel files. The encrypted Excel files will be converted into encrypted data files that cannot be directly read, thus preventing unauthorized access and modification. Encryption can be achieved by writing scripts or using existing encryption software. Decryption tools or programs are set up to decrypt the encrypted Excel files.
[0016] Step 4: Associated storage: Associate the encrypted Excel file with the corresponding knowledge-based component model file, and store the two together in the reuse library of the NX software; in the reuse library, the geometry model file and the encrypted parameter file can be associated with each other through some index or identifier, so that relevant data can be quickly retrieved when needed;
[0017] Step 5. Decryption and use: When designers need to use the knowledge-based component in a new project, they can extract the corresponding geometric model file and its encrypted Excel file from the reuse library; use the pre-set decryption tool or program to decrypt the encrypted Excel file, load the recovered parameter data into the NX software, and regenerate the complete component model; in this way, designers can continue to modify and optimize the component.
[0018] Preferably, the secondary development interface of the NX software in step 2 may be NX Open API.
[0019] Preferably, the encryption algorithm in step 3 may be AES or RSA.
[0020] The beneficial effects of the present invention are:
[0021] Through the present invention, the expression parameter data of the NX model is securely stored in an external Excel file, and is encrypted to prevent unauthorized access and use. The method stores the expression parameters separately from the model (only the parameters are separated, and the model is saved in the original format), and uses encryption technology to further improve the security of the data, effectively protecting the intellectual property rights of the enterprise. The method of the present invention is suitable for the safe management of knowledge-based parts that need to be stored for a long time and reused, and can also be used for cross-departmental or cross-enterprise sharing of design data. DETAILED DESCRIPTION
[0022] The present invention is described in detail below in conjunction with specific embodiments. This embodiment is implemented based on the technical solution of the present invention, and provides a detailed implementation method and a specific operation process, but the protection scope of the present invention is not limited to the following embodiments.
[0023] A method for creating an encrypted storage method of knowledge-based part parameters of a secondary development reuse library includes the following steps:
[0024] Step 1: Create a knowledge-based component model: In NX software, designers first create a knowledge-based component model through the modeling tools of NX software according to specific product design requirements. This model contains the component's geometric information, design rules, and related expression parameters. These expressions are usually used to define the size, shape, and change rules of the component.
[0025] Step 2: Extract expression parameter data: Through the secondary development interface of NX software (such as NX Open API), develop a script to automatically extract the expression parameter data in the knowledge-based component model and export it to an external Excel file. The Excel file format is flexible, easy to store a large amount of parameter data, and supports different cell formats, which is suitable for processing complex parameter information.
[0026] For example, the following script can read and export expressions to Excel:
[0027]
[0028]
[0029]
[0030] Step 3: Encryption: Use industry-standard encryption algorithms (such as AES or RSA) to encrypt the exported Excel file. The encrypted Excel file will be converted into an encrypted data file that cannot be directly read, thereby preventing unauthorized access and modification. Encryption can be achieved by writing scripts or using existing encryption software. And set up a decryption tool or program to decrypt the encrypted Excel file.
[0031] Step 4: Associated storage: Associate the encrypted Excel file with the corresponding knowledge-based component model file and store both together in the reuse library of the NX software. In the reuse library, the geometry model file and the encrypted parameter file can be associated with each other through some index or identifier so that relevant data can be quickly retrieved when needed.
[0032] Step 5, decryption and use: When designers need to use the knowledge-based component in a new project, they can extract the corresponding geometric model file and its encrypted Excel file from the reuse library. Use the pre-set decryption tool or program to decrypt the encrypted Excel file, load the recovered parameter data into the NX software, and regenerate the complete component model. In this way, designers can continue to modify and optimize the component.
[0033] The present invention is applicable to the following scenarios:
[0034] Design collaboration and data sharing within or outside the enterprise ensures the security of core design parameters while achieving efficient use of data.
[0035] Long-term storage and protection of knowledge-based components to prevent technology losses due to data leaks.
[0036] Ensure the secure transfer and use of sensitive design data when collaborating with suppliers or partners.
[0037] By applying the present invention, enterprises can achieve effective protection and management of NX design data while meeting data security requirements in modern industrial design.
[0038] The above-mentioned embodiment only expresses one implementation mode of the present invention, and its description is relatively specific and detailed, but it cannot be understood as limiting the scope of the invention patent. It should be pointed out that for ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be based on the attached claims.
Claims
1. A method for creating an encrypted storage method for knowledge-based part parameters of a secondary development reuse library, characterized in that: The following steps are involved: Step 1: Create a knowledge-based component model: In NX software, create a knowledge-based component model based on design requirements. The model contains geometric information, design rules, and related expression parameters. Step 2: Extract expression parameter data: Use the API or secondary development tools of NX software to extract the expression parameter data in the knowledge-based component model and save it to an Excel file; Step 3, encryption processing: encrypt the extracted Excel file and set the decryption tool to generate an encrypted parameter data file; Step 4: Associated storage: associate the encrypted Excel file with the geometric model file of the knowledge-based component and store it in the reuse library of the NX software; Step 5. Decryption and use: When the knowledge-based component needs to be reused, extract the corresponding encrypted Excel file from the reuse library, perform the decryption operation, and load the decrypted parameter data into the NX software to restore and use the component.
2. The encrypted storage method for creating a secondary development reuse library knowledge-based part parameter according to claim 1 is characterized in that: The specific steps include: Step 1: Create a knowledge-based component model: In NX software, designers first create a knowledge-based component model using the NX software modeling tool based on specific product design requirements. This model contains the component's geometric information, design rules, and related expression parameters. These expressions are usually used to define the size, shape, and change rules of the component. Step 2: Extract expression parameter data: Develop a script or program through the secondary development interface of NX software to automatically extract the expression parameter data in the knowledge-based component model and export it to an external Excel file; The Excel file format is flexible, which is convenient for storing large amounts of parameter data and supports different cell formats, making it suitable for processing complex parameter information; Step 3: Encryption: Use industry standard encryption algorithms to encrypt the exported Excel file. The encrypted Excel file will be converted into an encrypted data file that cannot be directly read, thus preventing unauthorized access and modification; the encryption process can be achieved by writing a script or using existing encryption software; and a decryption tool or program is set to decrypt the encrypted Excel file; Step 4: Associated storage: Associate the encrypted Excel file with the corresponding knowledge-based component model file, and store the two together in the reuse library of the NX software; in the reuse library, the geometry model file and the encrypted parameter file can be associated with each other through some index or identifier, so that relevant data can be quickly retrieved when needed; Step 5. Decryption and use: When designers need to use the knowledge-based component in a new project, they can extract the corresponding geometric model file and its encrypted Excel file from the reuse library; use the pre-set decryption tool or program to decrypt the encrypted Excel file, load the recovered parameter data into the NX software, and regenerate the complete component model; in this way, designers can continue to modify and optimize the component.
3. The encrypted storage method for creating a secondary development reuse library knowledge-based part parameter according to claim 2 is characterized in that: The secondary development interface of the NX software in step 2 may be NX Open API.
4. The encrypted storage method for creating a secondary development reuse library knowledge-based part parameter according to claim 2 is characterized in that: The encryption algorithm in step 3 can be AES or RSA.
Citation Information
Patent Citations
Component detail extraction method and system based on UG NX system
CN106202784A
Identification method for data owner in big data transaction
CN106973044A
Safety protection method and device for model parameters, and computer device
CN113742738A
Model processing method, device and equipment
CN114969784A
Method for exporting encryption parameters in batches based on jmeter
CN115186281A