Multi-thread-based tool calibration method and engine
Through multi-threaded tool calibration methods and engines, the problems of high cost and low efficiency of traditional tool calibration methods are solved, efficient and convenient tool calibration is achieved, and log security is improved through multi-level encryption.
Patent Information
- Application Number
- CN202411690405.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-25
- Publication Date
- 2025-04-22
AI Technical Summary
The development cost of traditional tooling calibration methods is high, time-consuming, difficult, and difficult to integrate, and cannot meet the tooling calibration needs of many types and complex application environments, resulting in low calibration convenience and efficiency and high cost.
Using multi-threaded tooling calibration methods and engines, the tooling type is obtained through the host computer, the tooling implementation class is instantiated, the workflow process execution node is created, the node parameters are set and initialized, the calibration is performed in parallel using multi-threading technology, and the calibration log is recorded and encrypted in real time.
It improves the convenience and efficiency of tooling calibration, reduces costs, meets diverse and complex tooling calibration needs, and improves the security of calibration logs through multi-level encryption.
Smart Images

Figure CN119863199A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of tooling calibration, and in particular to a tooling calibration method and engine based on multithreading. Background Art
[0002] Tooling, whose full name is industrial equipment or process equipment, usually refers to various tools, molds, fixtures, measuring tools, cutting tools, inspection tools, etc. used for processing, assembly, inspection, packaging and other process operations in the production process. It is an indispensable auxiliary equipment in the production process and is used to ensure product quality, improve production efficiency, reduce costs, and realize automated or semi-automated production.
[0003] Before the tool is put into use, it needs to be calibrated. Traditionally, the tool is calibrated through a preset workflow. The concept of workflow originated in the field of production organization and automation. It is a concept mainly proposed for activities with fixed processes. Its characteristics are to automate the processing process, decompose the work into well-defined tasks, execute these tasks according to certain rules and processes, and monitor them, so that people and various application tools can coordinate work to complete a certain task.
[0004] Traditional workflow solutions are usually embedded in application systems. If an enterprise has multiple application systems, a workflow engine must be embedded in each application system. This approach has high development costs, a long time, and great difficulty. It is also difficult to integrate after development is completed, and the data maintenance cost is high. In addition, it only provides a few inherent processing modes, which makes it difficult to meet the calibration needs of tooling with a wide variety of types and complex application environments.
[0005] Therefore, how to provide a multi-threaded tool calibration method and engine to improve the convenience and efficiency of tool calibration and reduce the cost of tool calibration has become a technical problem that needs to be solved urgently. Summary of the invention
[0006] The technical problem to be solved by the present invention is to provide a tool calibration method and engine based on multi-threading, so as to improve the convenience and efficiency of tool calibration and reduce the cost of tool calibration.
[0007] In a first aspect, the present invention provides a tool calibration method based on multithreading, comprising the following steps:
[0008] Step S1, the host computer obtains the tool type of the tool to be calibrated, and instantiates each tool type to obtain a corresponding tool implementation class;
[0009] Step S2, respectively creating a process execution node of the workflow of each tooling implementation class, setting the node parameters of each process execution node and initializing it;
[0010] Step S3, using multi-threading technology, executing calibration of the tooling based on each of the process execution nodes;
[0011] Step S4: Record the calibration log of the tooling in real time, and encrypt and store the calibration log.
[0012] Furthermore, the step S1 is specifically as follows:
[0013] The host computer obtains the tool type of the tool to be calibrated from the tool management database through an SQL query statement, and instantiates each tool type based on the actual function and style of the tool to obtain the corresponding tool implementation class.
[0014] Furthermore, the step S2 is specifically as follows:
[0015] The upper computer creates the process execution nodes of the workflow of each tooling implementation class respectively through a visual interface in an interactive manner of dragging and dropping, sets the node parameters of each process execution node including at least a start condition, a pause condition, a continuation condition, a stop condition, a jump condition, a process status identifier and a node number, and initializes each process execution node after setting the node parameters.
[0016] Furthermore, the step S3 is specifically as follows:
[0017] The host computer uses multi-threading technology to add each of the process execution nodes to the work queue of the thread pool, and executes the calibration of the tooling in parallel through the work queue.
[0018] Furthermore, the step S4 is specifically as follows:
[0019] The upper computer records the calibration log of the tooling in real time, including at least the tooling type, calibration time, process execution node, and tooling operation data;
[0020] The upper computer performs hash calculation on the calibration log through the SM3 algorithm to obtain a hash value, generates a key based on the SM4 algorithm, encrypts the calibration log and the hash value through the key to obtain encrypted data, generates a pair of public and private keys based on the SM2 algorithm, encrypts the key through the public key to obtain an encrypted key, signs the encrypted data through the private key to obtain signed data, encrypts the private key and the public key into encrypted public and private keys through the 3DES algorithm, encapsulates the encrypted data, the encrypted key, the signed data, and the encrypted public and private keys through the AES-GCM algorithm to obtain an encrypted log, stores the encrypted log to a specified path, and performs distributed backup.
[0021] In a second aspect, the present invention provides a tool calibration engine based on multithreading, comprising the following modules:
[0022] An instantiation module is used for the host computer to obtain the tool type of the tool to be calibrated, and to instantiate each tool type to obtain a corresponding tool implementation class;
[0023] A process execution node creation module, used to respectively create process execution nodes of the workflow of each tooling implementation class, set node parameters of each process execution node and initialize them;
[0024] A tool calibration module, used for executing tool calibration based on each of the process execution nodes through multi-threading technology;
[0025] The calibration log management module is used to record the calibration log of the tooling in real time and encrypt and store the calibration log.
[0026] Furthermore, the instantiation module is specifically used for:
[0027] The host computer obtains the tool type of the tool to be calibrated from the tool management database through an SQL query statement, and instantiates each tool type based on the actual function and style of the tool to obtain the corresponding tool implementation class.
[0028] Furthermore, the process execution node creation module is specifically used for:
[0029] The upper computer creates the process execution nodes of the workflow of each tooling implementation class respectively through a visual interface in an interactive manner of dragging and dropping, sets the node parameters of each process execution node including at least a start condition, a pause condition, a continuation condition, a stop condition, a jump condition, a process status identifier and a node number, and initializes each process execution node after setting the node parameters.
[0030] Furthermore, the tooling calibration module is specifically used for:
[0031] The host computer uses multi-threading technology to add each of the process execution nodes to the work queue of the thread pool, and executes the calibration of the tooling in parallel through the work queue.
[0032] Furthermore, the calibration log management module is specifically used for:
[0033] The upper computer records the calibration log of the tooling in real time, including at least the tooling type, calibration time, process execution node, and tooling operation data;
[0034] The upper computer performs hash calculation on the calibration log through the SM3 algorithm to obtain a hash value, generates a key based on the SM4 algorithm, encrypts the calibration log and the hash value through the key to obtain encrypted data, generates a pair of public and private keys based on the SM2 algorithm, encrypts the key through the public key to obtain an encrypted key, signs the encrypted data through the private key to obtain signed data, encrypts the private key and the public key into encrypted public and private keys through the 3DES algorithm, encapsulates the encrypted data, the encrypted key, the signed data, and the encrypted public and private keys through the AES-GCM algorithm to obtain an encrypted log, stores the encrypted log to a specified path, and performs distributed backup.
[0035] The advantages of the present invention are:
[0036] 1. Obtain the tool type of the tool to be calibrated through the host computer, instantiate each tool type to obtain the corresponding tool implementation class, create the process execution node of the workflow of each tool implementation class, set the node parameters of each process execution node and initialize it, then use multi-threading technology to execute the tool calibration based on each process execution node, and record the tool calibration log in real time, and encrypt the calibration log for storage; that is, through the visual interface in a drag-and-drop interactive manner, create a process execution node for the instantiated tool implementation class, and then execute the tool calibration based on the process execution node. Subsequently, adjust the process execution node through the visual interface to quickly adjust the tool calibration workflow. It is simple and convenient, and there is no need to embed a workflow engine in each application system as traditionally, and it has strong scalability, which can easily meet the tool calibration needs of various types and complex and diverse application environments, and ultimately greatly improve the convenience and efficiency of tool calibration, and greatly reduce the tool calibration cost.
[0037] 2. Record the calibration log of the tooling in real time and encrypt and store the calibration log to facilitate later traceability.
[0038] 3. Perform hash calculation on the calibration log using the SM3 algorithm to obtain a hash value, generate a key based on the SM4 algorithm, encrypt the calibration log and the hash value using the key to obtain encrypted data, generate a pair of public and private keys based on the SM2 algorithm, encrypt the key using the public key to obtain an encrypted key, sign the encrypted data using the private key to obtain signed data, encrypt the private key and the public key into encrypted public and private keys using the 3DES algorithm, encapsulate the encrypted data, encryption key, signature data, and encrypted public and private keys using the AES-GCM algorithm to obtain an encrypted log, store the encrypted log to a specified path, and perform distributed backup; that is, perform multi-level encryption on the calibration log, and if the corresponding encryption algorithm is not known, the encrypted log cannot be cracked. At least five security measures are taken before and after (SM2 algorithm, SM3 algorithm, SM4 algorithm, AES-GCM algorithm, distributed backup), which greatly improves the security of calibration log storage. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The present invention will be further described below in conjunction with embodiments with reference to the accompanying drawings.
[0040] Figure 1 The present invention is a flowchart of a tooling calibration method based on multithreading.
[0041] Figure 2 It is a structural schematic diagram of a tooling calibration engine based on multithreading of the present invention. DETAILED DESCRIPTION
[0042] The technical solution in the embodiment of the present application has the following overall idea: through a visual interface with a drag-and-drop interactive method, a process execution node is created for the instantiated tooling implementation class, and then the tooling calibration is performed based on the process execution node. Subsequently, the workflow of tooling calibration can be quickly adjusted by adjusting the process execution node through the visual interface. This is simple and convenient, and there is no need to embed a workflow engine in each application system as traditionally, and it has strong scalability, thereby improving the convenience and efficiency of tooling calibration and reducing the cost of tooling calibration.
[0043] Please refer to Figure 1 to Figure 2 As shown, a preferred embodiment of a tool calibration method based on multithreading of the present invention comprises the following steps:
[0044] Step S1, the host computer obtains the tool type of the tool to be calibrated, and instantiates the tools corresponding to each tool type to obtain the corresponding tool implementation class;
[0045] Step S2, respectively creating a process execution node of the workflow of each tooling implementation class, setting the node parameters of each process execution node and initializing it;
[0046] Step S3, using multi-threading technology, executing calibration of the tooling based on each of the process execution nodes;
[0047] Step S4: Record the calibration log of the tooling in real time and encrypt and store the calibration log. By recording the calibration log of the tooling in real time and encrypting and storing the calibration log, it is convenient for later tracing.
[0048] The present invention decomposes the workflow of tool calibration into multiple steps (process execution nodes). Each step only needs to care about the execution result of the step, which simplifies the tool calibration development process. Each tool only needs to focus on the execution of its own process. During the development process, developers only need to focus on the development issues of the step, and no longer need to care about the connection and flow control of the process execution nodes. The development is faster, the code has fewer errors, and it is easier to maintain. A registration mechanism is used to register the process execution nodes and their logic into the workflow engine so that more nodes can be expanded.
[0049] The step S1 is specifically as follows:
[0050] The host computer obtains the tool type of the tool to be calibrated from the tool management database through SQL query statements, and based on the actual function and style of the tool, instantiates the tools corresponding to each tool type to obtain the corresponding tool implementation class.
[0051] The step S2 is specifically as follows:
[0052] The upper computer creates the process execution nodes of the workflow of each tooling implementation class respectively through a visual interface in an interactive manner of dragging and dropping, sets the node parameters of each process execution node including at least a start condition, a pause condition, a continuation condition, a stop condition, a jump condition, a process status identifier and a node number, and initializes each process execution node after setting the node parameters.
[0053] The step S3 is specifically as follows:
[0054] The host computer uses multi-threading technology to add each of the process execution nodes to the work queue of the thread pool, and executes the calibration of the tooling in parallel through the work queue, thereby effectively improving the calibration efficiency.
[0055] The step S4 is specifically as follows:
[0056] The upper computer records the calibration log of the tooling in real time, including at least the tooling type, calibration time, process execution node, and tooling operation data;
[0057] The upper computer performs hash calculation on the calibration log through the SM3 algorithm to obtain a hash value, generates a key based on the SM4 algorithm, encrypts the calibration log and the hash value through the key to obtain encrypted data, generates a pair of public and private keys based on the SM2 algorithm, encrypts the key through the public key to obtain an encrypted key, signs the encrypted data through the private key to obtain signed data, encrypts the private key and the public key into encrypted public and private keys through the 3DES algorithm, encapsulates the encrypted data, the encrypted key, the signed data, and the encrypted public and private keys through the AES-GCM algorithm to obtain an encrypted log, stores the encrypted log to a specified path, and performs distributed backup.
[0058] The calibration log is hashed by the SM3 algorithm to obtain a hash value, a key is generated based on the SM4 algorithm, the calibration log and the hash value are encrypted by the key to obtain encrypted data, a pair of public and private keys are generated based on the SM2 algorithm, the key is encrypted by the public key to obtain an encrypted key, the encrypted data is signed by the private key to obtain signed data, the private key and the public key are encrypted into encrypted public and private keys by the 3DES algorithm, the encrypted data, the encrypted key, the signed data and the encrypted public and private keys are encapsulated by the AES-GCM algorithm to obtain an encrypted log, the encrypted log is stored in a specified path and distributedly backed up; that is, the calibration log is encrypted at multiple levels, and the encrypted log cannot be cracked if the corresponding encryption algorithm is not known, and at least five security measures are taken before and after (SM2 algorithm, SM3 algorithm, SM4 algorithm, AES-GCM algorithm, distributed backup), which greatly improves the security of calibration log storage.
[0059] The decryption process of the encrypted log is as follows: the encrypted log is decapsulated by the AES-GCM algorithm to obtain encrypted data, encryption key, signature data, and encrypted public and private keys; the encrypted public and private keys are decrypted by the 3DES algorithm to obtain private keys and public keys; after the signature data is verified by the public key, the encryption key is decrypted by the private key to obtain the key; the encrypted data is decrypted by the key to obtain the calibration log and hash value; and the calibration log is integrity checked by the hash value.
[0060] A preferred embodiment of a multi-threaded tool calibration engine of the present invention includes the following modules:
[0061] An instantiation module is used for the host computer to obtain the tool type of the tool to be calibrated, and to instantiate the tools corresponding to each tool type to obtain the corresponding tool implementation class;
[0062] A process execution node creation module, used to respectively create process execution nodes of the workflow of each tooling implementation class, set node parameters of each process execution node and initialize them;
[0063] A tool calibration module, used for executing tool calibration based on each of the process execution nodes through multi-threading technology;
[0064] The calibration log management module is used to record the calibration log of the tooling in real time and encrypt and store the calibration log. By recording the calibration log of the tooling in real time and encrypting and storing the calibration log, it is convenient for later traceability.
[0065] The present invention decomposes the workflow of tool calibration into multiple steps (process execution nodes). Each step only needs to care about the execution result of the step, which simplifies the tool calibration development process. Each tool only needs to focus on the execution of its own process. During the development process, developers only need to focus on the development issues of the step, and no longer need to care about the connection and flow control of the process execution nodes. The development is faster, the code has fewer errors, and it is easier to maintain. A registration mechanism is used to register the process execution nodes and their logic into the workflow engine so that more nodes can be expanded.
[0066] The instantiation module is specifically used for:
[0067] The host computer obtains the tool type of the tool to be calibrated from the tool management database through SQL query statements, and based on the actual function and style of the tool, instantiates the tools corresponding to each tool type to obtain the corresponding tool implementation class.
[0068] The process execution node creation module is specifically used for:
[0069] The upper computer creates the process execution nodes of the workflow of each tooling implementation class respectively through a visual interface in an interactive manner of dragging and dropping, sets the node parameters of each process execution node including at least a start condition, a pause condition, a continuation condition, a stop condition, a jump condition, a process status identifier and a node number, and initializes each process execution node after setting the node parameters.
[0070] The tooling calibration module is specifically used for:
[0071] The host computer uses multi-threading technology to add each of the process execution nodes to the work queue of the thread pool, and executes the calibration of the tooling in parallel through the work queue, thereby effectively improving the calibration efficiency.
[0072] The calibration log management module is specifically used for:
[0073] The upper computer records the calibration log of the tooling in real time, including at least the tooling type, calibration time, process execution node, and tooling operation data;
[0074] The upper computer performs hash calculation on the calibration log through the SM3 algorithm to obtain a hash value, generates a key based on the SM4 algorithm, encrypts the calibration log and the hash value through the key to obtain encrypted data, generates a pair of public and private keys based on the SM2 algorithm, encrypts the key through the public key to obtain an encrypted key, signs the encrypted data through the private key to obtain signed data, encrypts the private key and the public key into encrypted public and private keys through the 3DES algorithm, encapsulates the encrypted data, the encrypted key, the signed data, and the encrypted public and private keys through the AES-GCM algorithm to obtain an encrypted log, stores the encrypted log to a specified path, and performs distributed backup.
[0075] The calibration log is hashed by the SM3 algorithm to obtain a hash value, a key is generated based on the SM4 algorithm, the calibration log and the hash value are encrypted by the key to obtain encrypted data, a pair of public and private keys are generated based on the SM2 algorithm, the key is encrypted by the public key to obtain an encrypted key, the encrypted data is signed by the private key to obtain signed data, the private key and the public key are encrypted into encrypted public and private keys by the 3DES algorithm, the encrypted data, the encrypted key, the signed data and the encrypted public and private keys are encapsulated by the AES-GCM algorithm to obtain an encrypted log, the encrypted log is stored in a specified path and distributedly backed up; that is, the calibration log is encrypted at multiple levels, and the encrypted log cannot be cracked if the corresponding encryption algorithm is not known, and at least five security measures are taken before and after (SM2 algorithm, SM3 algorithm, SM4 algorithm, AES-GCM algorithm, distributed backup), which greatly improves the security of calibration log storage.
[0076] The decryption process of the encrypted log is as follows: the encrypted log is decapsulated by the AES-GCM algorithm to obtain encrypted data, encryption key, signature data, and encrypted public and private keys; the encrypted public and private keys are decrypted by the 3DES algorithm to obtain private keys and public keys; after the signature data is verified by the public key, the encryption key is decrypted by the private key to obtain the key; the encrypted data is decrypted by the key to obtain the calibration log and hash value; and the calibration log is integrity checked by the hash value.
[0077] In summary, the advantages of the present invention are:
[0078] 1. Obtain the tool type of the tool to be calibrated through the host computer, instantiate each tool type to obtain the corresponding tool implementation class, create the process execution node of the workflow of each tool implementation class, set the node parameters of each process execution node and initialize it, then use multi-threading technology to execute the tool calibration based on each process execution node, and record the tool calibration log in real time, and encrypt the calibration log for storage; that is, through the visual interface in a drag-and-drop interactive manner, create a process execution node for the instantiated tool implementation class, and then execute the tool calibration based on the process execution node. Subsequently, adjust the process execution node through the visual interface to quickly adjust the tool calibration workflow. It is simple and convenient, and there is no need to embed a workflow engine in each application system as traditionally, and it has strong scalability, which can easily meet the tool calibration needs of various types and complex and diverse application environments, and ultimately greatly improve the convenience and efficiency of tool calibration, and greatly reduce the tool calibration cost.
[0079] 2. Record the calibration log of the tooling in real time and encrypt and store the calibration log to facilitate later traceability.
[0080] 3. Perform hash calculation on the calibration log using the SM3 algorithm to obtain a hash value, generate a key based on the SM4 algorithm, encrypt the calibration log and the hash value using the key to obtain encrypted data, generate a pair of public and private keys based on the SM2 algorithm, encrypt the key using the public key to obtain an encrypted key, sign the encrypted data using the private key to obtain signed data, encrypt the private key and the public key into encrypted public and private keys using the 3DES algorithm, encapsulate the encrypted data, encryption key, signature data, and encrypted public and private keys using the AES-GCM algorithm to obtain an encrypted log, store the encrypted log to a specified path, and perform distributed backup; that is, perform multi-level encryption on the calibration log, and if the corresponding encryption algorithm is not known, the encrypted log cannot be cracked. At least five security measures are taken before and after (SM2 algorithm, SM3 algorithm, SM4 algorithm, AES-GCM algorithm, distributed backup), which greatly improves the security of calibration log storage.
[0081] Although the specific implementation modes of the present invention are described above, those skilled in the art should understand that the specific implementation modes described are only illustrative and are not intended to limit the scope of the present invention. Equivalent modifications and changes made by those skilled in the art in accordance with the spirit of the present invention should be included in the scope of protection of the claims of the present invention.
Claims
1. A tool calibration method based on multithreading, characterized in that: The steps include: Step S1, the host computer obtains the tool type of the tool to be calibrated, and instantiates each tool type to obtain a corresponding tool implementation class; Step S2, respectively creating a process execution node of the workflow of each tooling implementation class, setting the node parameters of each process execution node and initializing it; Step S3, using multi-threading technology, executing calibration of the tooling based on each of the process execution nodes; Step S4: Record the calibration log of the tooling in real time, and encrypt and store the calibration log.
2. A multi-threaded tool calibration method according to claim 1, characterized in that: The step S1 is specifically as follows: The host computer obtains the tool type of the tool to be calibrated from the tool management database through an SQL query statement, and instantiates each tool type based on the actual function and style of the tool to obtain the corresponding tool implementation class.
3. A multi-threaded tool calibration method according to claim 1, characterized in that: The step S2 is specifically as follows: The upper computer creates the process execution nodes of the workflow of each tooling implementation class respectively through a visual interface in an interactive manner of dragging and dropping, sets the node parameters of each process execution node including at least a start condition, a pause condition, a continuation condition, a stop condition, a jump condition, a process status identifier and a node number, and initializes each process execution node after setting the node parameters.
4. A multi-threaded tool calibration method according to claim 1, characterized in that: The step S3 is specifically as follows: The host computer uses multi-threading technology to add each of the process execution nodes to the work queue of the thread pool, and executes the calibration of the tooling in parallel through the work queue.
5. The multi-threaded tool calibration method according to claim 1, characterized in that: The step S4 is specifically as follows: The upper computer records the calibration log of the tooling in real time, including at least the tooling type, calibration time, process execution node, and tooling operation data; The upper computer performs hash calculation on the calibration log through the SM3 algorithm to obtain a hash value, generates a key based on the SM4 algorithm, encrypts the calibration log and the hash value through the key to obtain encrypted data, generates a pair of public and private keys based on the SM2 algorithm, encrypts the key through the public key to obtain an encrypted key, signs the encrypted data through the private key to obtain signed data, encrypts the private key and the public key into encrypted public and private keys through the 3DES algorithm, encapsulates the encrypted data, the encrypted key, the signed data, and the encrypted public and private keys through the AES-GCM algorithm to obtain an encrypted log, stores the encrypted log to a specified path, and performs distributed backup.
6. A multi-threaded tool calibration engine, characterized by: Includes the following modules: An instantiation module is used for the host computer to obtain the tool type of the tool to be calibrated, and to instantiate each tool type to obtain a corresponding tool implementation class; A process execution node creation module, used to respectively create process execution nodes of the workflow of each tooling implementation class, set node parameters of each process execution node and initialize them; A tool calibration module, used for executing tool calibration based on each of the process execution nodes through multi-threading technology; The calibration log management module is used to record the calibration log of the tooling in real time and encrypt and store the calibration log.
7. A multi-threaded tool calibration engine as claimed in claim 6, characterized in that: The instantiation module is specifically used for: The host computer obtains the tool type of the tool to be calibrated from the tool management database through an SQL query statement, and instantiates each tool type based on the actual function and style of the tool to obtain the corresponding tool implementation class.
8. The multi-threaded tool calibration engine according to claim 6, characterized in that: The process execution node creation module is specifically used for: The upper computer creates the process execution nodes of the workflow of each tooling implementation class respectively through a visual interface in an interactive manner of dragging and dropping, sets the node parameters of each process execution node including at least a start condition, a pause condition, a continuation condition, a stop condition, a jump condition, a process status identifier and a node number, and initializes each process execution node after setting the node parameters.
9. The multi-threaded tool calibration engine according to claim 6, characterized in that: The tooling calibration module is specifically used for: The host computer uses multi-threading technology to add each of the process execution nodes to the work queue of the thread pool, and executes the calibration of the tooling in parallel through the work queue.
10. The multi-threaded tool calibration engine according to claim 6, characterized in that: The calibration log management module is specifically used for: The upper computer records the calibration log of the tooling in real time, including at least the tooling type, calibration time, process execution node, and tooling operation data; The upper computer performs hash calculation on the calibration log through the SM3 algorithm to obtain a hash value, generates a key based on the SM4 algorithm, encrypts the calibration log and the hash value through the key to obtain encrypted data, generates a pair of public and private keys based on the SM2 algorithm, encrypts the key through the public key to obtain an encrypted key, signs the encrypted data through the private key to obtain signed data, encrypts the private key and the public key into encrypted public and private keys through the 3DES algorithm, encapsulates the encrypted data, the encrypted key, the signed data, and the encrypted public and private keys through the AES-GCM algorithm to obtain an encrypted log, stores the encrypted log to a specified path, and performs distributed backup.
Citation Information
Patent Citations
Distributed workflow management system
CN112070452A
Distributed trusted log management method based on block chain
CN112632639A
Business processing method and device based on process engine and electronic equipment
CN117608680A
Method and system for accessing to different signature engines in common and storage medium stored with access program to different signature engiens in common
JP2001044988A