Control system and method applied to safe manufacturing
The dual encryption and verification process in the control system protects firmware from unauthorized access and cloning, ensuring only authorized entities can decrypt and use the software, addressing the risks of intellectual property theft and data security in IoT devices.
Patent Information
- Application Number
- JP2022034045
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-03-07
- Publication Date
- 2024-08-15
- Estimated Expiration
- 2039-06-13
AI Technical Summary
Existing technologies fail to adequately protect firmware and software from unauthorized copying, cloning, and decryption during manufacturing and transmission, posing risks to intellectual property and customer data security, especially in the context of IoT devices.
A control system and method involving dual encryption processes, utilizing asymmetric key pairs to encrypt and decrypt firmware, ensuring only authorized entities can access and modify the software, and incorporating a verification process to authenticate the source and manufacturing sides.
Prevents unauthorized access and cloning of firmware, maintaining competitive advantage and customer data security by ensuring only legitimate entities can decrypt and use the software, thereby safeguarding intellectual property.
Smart Images

Figure 0007535071000004 
Figure 0007535071000005 
Figure 0007535071000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a control system and a control method applied to safety manufacturing. [Background technology]
[0002] Smart devices, wearable devices, IOT (Internet of Things) devices, etc. The development of various devices is focused on developing software and firmware for CPUs or microcontrollers (MCUs). In the process of mass-producing such various devices, it is necessary to burn or process the software and firmware in the factory. However, there is a risk that the software and firmware may be leaked due to various reasons, including human factors, and cause serious losses to product developers or manufacturers.
[0003] If a formally released product is deemed to work very well, competitors will likely try to learn or copy it, so the software, firmware and important data in the chips can be compromised through cloning or reverse engineering. There is a real risk of theft. Once the software and firmware in the chips are stolen or decoded, the product will lose its competitive advantage immediately, and even cause customers' personal data to be stolen or the system to be breached. With the advent of the Internet of Things era, hackers can invade various related products through the Internet, so it is imperative that there is no time to delay in developing possible scientific and technological means to prevent and protect the software and firmware in the chips from being illegally copied or decoded. Summary of the Invention [Problem to be solved by the invention]
[0004] The present invention aims to provide a control system and a control method applicable to secure manufacturing. In order to prevent the firmware from being stolen during transmission, a first encryption protection process is performed before the firmware is transmitted. In addition, a second encryption protection process can be performed when the firmware is burned into the chip, and the chip must be decrypted to start up. Here, the firmware is taken as an example, but the present invention is not limited to this. In addition, the present invention can be applied to prevent damage to intellectual property due to unauthorized copying or unauthorized decryption of any electronic file. [Means for solving the problem]
[0005] The control system applied to the safe manufacturing according to the present invention is a control system used to manage products during the manufacturing and transportation process. According to an embodiment, the control system includes a source side, a verification side, and a manufacturing side. The source side includes a first security module, an encryption module, and a security transmission processing module. The first security module provides an encryption key to the encryption module. An encrypted file is generated by adding the encryption key to the source file via the encryption module. The first security module provides an encryption public key and a signature private key to the security transmission processing module. A transmission file is generated by adding the encryption public key and the signature private key to the encrypted file via the security transmission processing module. The source side generates authentication information. The verification side includes a security verification module. The security verification module receives the authentication information. The manufacturing side includes a second security module, a security processing module, and a manufacturing module. The security processing module receives the transmission file. The second security module provides an encryption public key and a signature private key to the security transmission processing module. A transmission file is generated by adding the encryption public key and the signature private key to the encrypted file via the security transmission processing module. The source side generates authentication information. The verification side includes a security verification module. The security verification module receives the authentication information. The manufacturing side includes a second security module, a security processing module, and a manufacturing module. The security processing module receives the transmission file. The security module includes a signature verification public key, a decryption private key, and a decryption key. The signature verification public key corresponds to the signature privacy. The decryption private key corresponds to the encryption public key. The decryption key corresponds to the encryption key. The transmission file is verified by the signature verification public key in the second security module. If the transmission file is approved by the verification, the transmission file is decrypted by the decryption private key in the second security module to convert it into the encrypted file, and the encrypted file is decrypted by the decryption key.
[0006] In one embodiment of the control method applied to the safe manufacturing of the present invention, a source file is provided, and the source side generates a transmission file and generates authentication information by encrypting the source file. The authentication information is also transmitted to a verification side, and the transmission file is also transmitted to a manufacturing side. The verification side performs verification on the manufacturing side based on the authentication information. Then, if the manufacturing side is approved by the verification, the manufacturing side decrypts the transmission file.
[0007] In order to make the above mentioned circumstances and other objects, features and advantages of the present invention more clearly understood, the present invention will be described in detail hereinafter with reference to the accompanying drawings. [Brief description of the drawings]
[0008] [Figure 1] 1 is a system block diagram showing an embodiment of a control system applied to safe manufacturing according to the present invention. [Diagram 2] 1 is a system block diagram showing an application example of a control system applied to safe manufacturing according to the present invention. [Diagram 3] FIG. 11 is a system block diagram showing another embodiment of a control system applied to safe manufacturing according to the present invention. [Figure 4]FIG. 11 is a system block diagram showing another application example of the control system applied to safe manufacturing according to the present invention. [Diagram 5] FIG. 2 is a system block diagram for updating files in a control system applied to safe manufacturing according to the present invention. [Figure 6] 1 is a flowchart showing an embodiment of a control method applied to safe manufacturing according to the present invention. [Figure 7] 7 is a flowchart showing an embodiment of a control method applied to safe manufacturing according to the present invention, which is a continuation of FIG. 6 . DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] 1 and 3 are diagrams showing an embodiment of a control system applied to safe manufacturing according to the present invention. Referring to FIG. 1 and FIG. 3, the control system is for managing firmware and burnable chips C during the manufacturing and transportation process. The control system applied to the safety manufacturing according to the present invention includes a source side 10, a verification side 20, and a manufacturing side 30.
[0010] A source file (source firmware) F1 is provided, and the source side 10 includes an encryption module 11, a first security module 12, and a security transmission processing module 13. Here, the first security module 12 includes an encryption key, an encryption public key, and a signature privacy key. In order to prevent the source file F1 from being stolen, copied, or decrypted during the process of transportation (electronic delivery or physical transportation), the source side 10 uses the encryption module 11 to perform encryption processing on the source file F1 to generate an encrypted file F2. In this embodiment, the encryption module 11 encrypts the source file F1 using the first security module 12. The first security module 12 encrypts the encrypted file F2 and the encryption key (symmetric) with the encryption public key and the signature private key to generate an encrypted file F2. The encrypted file F2 is then transmitted to the security transmission processing module 13. The security transmission processing module 13 uses the first security module 12 to encrypt and sign the encrypted file F2 and the encryption key (symmetric) with the encryption public key and the signature private key to generate a transmission file F3. The security transmission processing module 13 transmits the transmission file F3 to the manufacturing side 30 and also transmits the authentication information S to the verification side 20.
[0011] The verification side 20 includes a security verification module 21. The security verification module 21 receives authentication information S. In this embodiment, the authentication information S is related to whether the manufacturing side 30 is a manufacturing side designated by the source side 10 and how many chips the manufacturing side 30 is authorized to burn.
[0012] The manufacturing side 30 includes a security processing module 31, a manufacturing module 32, and a second security module 33. The manufacturing module 32 is connected to the security processing module 31, and the second security module 33 is connected to the security processing module 31. The security processing module 31 receives a transmission file F3 from the source side 10. After authentication information is obtained by the security verification module 21 of the verification side 20, the security processing module 31 obtains authentication related to the number of products manufactured.
[0013] The second security module 33 includes a signature verification public key, a decryption private key, and a decryption key. When the transmission file F3 is transmitted to the security processing module 31, the security processing module 31 uses the second security module 33 to verify whether the transmission file F3 is derived from the correct source side 10 after being authenticated, by verifying with the signature verification public key and the signature private key of the transmission file F3. If it is verified that the transmission file F3 is derived from the correct source side 10, the security processing module 31 uses the second security module 33 to decrypt the verified transmission file F3 with the decryption private key, thereby generating an encrypted file F2 and an encryption key in the second security module 33. Here, the encryption key is symmetric, that is, a decryption key. The security processing module 31 uses the second security module 33 to decrypt the encrypted file F2 with the decryption key to generate a source file F1. And finally, it generates a production file F4 according to the request of the production module. The manufacturing module 32 adds the manufacturing file F4 to the target product or generates the target product based on the manufacturing file F4.
[0014] In this embodiment, the signature private key and the signature verification public key are an asymmetric key pair generated from the first security module 12. The encryption public key and the decryption private key are an asymmetric key pair generated from the second security module 33. Therefore, in order to verify the transmission file F3 at the production side 30, the signature public key must be generated by the first security module 12 and then transmitted to the second security module 33 of the production side 30. Similarly, in order to encrypt the source file F1, the encryption public key must be generated by the second security module 33 and then transmitted to the first security module 12 of the source side 10.
[0015] As shown in FIG. 3, in practical application, the manufacturing module 32 may be a burn-in module, the source file F1 may be a source firmware, the encrypted file F2 may be an encrypted firmware, and the manufacturing file F4 may be a burn-in file. The burn-in file contains firmware to be written into the chip. The target product (chip product C) is any chip that contains firmware or software. For example, microcontrollers (MCUs), microprocessors (MPUs), and graphics processing units (GPUs) are Processing Unit), CPU, Flash memory, Embedded Module, These include, but are not limited to, embedded systems, wearable devices, and IOT (Internet of Things) devices. Source The file F1 and the manufacturing file F4 may be three-dimensional printed design data, the manufacturing module 32 is a three-dimensional printing device, and the target product P is a three-dimensional printed product.
[0016] After the security processing module 31 completes the manufacturing pre-processing, the security processing module 31 transmits the manufacturing file F4 to the manufacturing module 32. Then, the manufacturing module 32 adds the manufacturing file F4 to the target product one by one according to the authenticated number, or generates the target products up to the authenticated number. Every time the manufacturing module 32 adds the manufacturing file F4 to the target product or generates a target product, the security processing module 31 calculates the number of manufactured products by counting the number, and then transmits the statistical manufacturing number to the verification side 20, and the verification side 20 verifies whether the number of manufactured products is the same as the authenticated manufacturing number.
[0017] In this embodiment, the source side 10 may be a software / firmware development manufacturer. The manufacturing side 30 may be a burning factory. The security processing module 31 and the second security module 33 may be the control center of the burning factory. The manufacturing module 32 may be a chip burning device. The verification side 20 may be a software development manufacturer or a third-party fairness supervision organization.
[0018] In another embodiment of the control system applied to the secure manufacturing according to the present invention, in the embodiment of FIG. 1, as shown in FIG. 2 and FIG. 4, besides the encryption module 11 can encrypt the source firmware F1 for the first time to prevent theft during transportation, the manufacturing file F4 can also be encrypted for a second time before burning to prevent the design of the product from being stolen during the burning process or the design information from being obtained by reverse engineering after the product is shipped from the factory. The method of the second encryption is as follows: The product features, for example, the chip unique identification code, can be obtained by the manufacturing module 32. The manufacturing module 32 transmits the product features to the security processing module 31. Then, the security processing module 31 generates the source firmware F1 by decrypting the transmitted file F3 by the second security module 33. Then, the security processing module 31 further uses the second security module 33 to generate a symmetric key with the key material as the product features, and then encrypts the source firmware F1 for a second time, and finally generates a burn-in file F4' according to the needs of the manufacturing module. The manufacturing module 32 writes the burning file F4' to the chip product C.
[0019] The method of performing the second encryption and decryption for the chip in which the second encrypted firmware is written can be designed according to the hardware characteristics of the chip, and since the product characteristics are specific to the chip product C, the second encrypted firmware can be correctly decrypted and operated only on this chip product C. In this way, even if a competitor or a hacker obtains the chip product C, the source code of the chip product C cannot be accessed. Since it is no longer possible to illegally obtain firmware, product design (software, Firmware) may be stolen or reverse engineered during the manufacturing process or after the point of sale. In addition, the risk of the chip product C and its related systems being intruded into can be reduced.
[0020] Also, when the manufacturing module 32 reaches a certain manufacturing stage, the security processing module 31 transmits a next manufacturing request to the verification side 20 for verification. After the next burning request in the security processing module 31 is authenticated, the manufacturing module 32 performs the next burning. The manufacturing stage may be that the manufacturing module 32 performs each writing to the product P. The burning stage may be that the manufacturing module 32 completes a predetermined number of writings to the product P within a predetermined time. As an example, if the number of written products P is 600, the security processing module 31 will transmit the next burning request to the verification side 20 for verification after the manufacturing module 32 burns one lot of 60 products per hour. After sending the request and the next burning request is approved by verification, the next lot of chips can be burned. Even if the manufacturing module 32 cannot connect to the verification side 20 during the manufacturing period, the manufacturing module 32 can continue and complete the burning of the lot of chip products C approved by verification, and can restore the connection state between the security processing module 31 and the second verification side 30 during the period when the manufacturing module 32 burns the chip. In addition, in order not to affect the production capacity of the burning operation when the connection between the security processing module 31 and the second verification side 30 is cut off, the manufacturing module 32 may be set in advance to continue burning a certain number of chip products C. However, before the first burning operation, verification must be performed in a state where the security processing module 31 and the second verification side 30 are connected, otherwise the burning operation cannot be performed overall.
[0021] Referring to FIG. 5, the source side 10 can generate an update file F5 by updating the source file F1. Furthermore, the update file F5 is encrypted and signed by the encryption module 11, the first security module 12, and the security transmission processing module 13 as shown in FIG. 1, and then generates an encrypted update file F6 and generates update authentication information S'. The encrypted update file F6 is transmitted to the security processing module 31 of the manufacturing side 30, and the update authentication information S' is transmitted to the verification side 20. The manufacturing side 30 can issue a firmware update notification to the user of the chip C. When the user wants to update the firmware, the user can send a child T an update request to the security processing module 31 via the network N. The security processing module 31 can ask the verification side 20 to perform verification in response to the update request. The verification side 20 can verify the update request based on the update authentication information S'. If the update request in the security processing module 31 is approved by verification, the encrypted update file F6 is decrypted by the second security module 33, and the decrypted update file F5 can then be transmitted by the security processing module 31 to the chip C via the network N for updating.
[0022] Referring to FIG. 6 and FIG. 7, the control method applied to the safety production according to the present invention includes the following steps.
[0023] In step S1, a source file F1 is provided, and the process proceeds to step S2.
[0024] In step S2, the encryption module 11 generates an encrypted file F2 by performing encryption processing on the source file F1 with the encryption key using the first security module 12. Then, the process proceeds to step S3.
[0025] In step S3, the security transmission processing module 13 on the source side 10 uses the first security module 12 to send the encrypted file F2 and the encryption key ( Symmetric encryption and signing with a public encryption key and a private signature key The transmission file F3 is generated and the authentication information S is generated. Proceed to S4.
[0026] In step S4, the authentication information S is transmitted to the verification side 20, and the transmission file F3 is transmitted to the manufacturing side 30. Then, the process proceeds to step S5.
[0027] In step S5, authentication is performed on the security processing module 31 on the manufacturing side 30 and the authentication information on the verification side 20, and if authentication is successful, the process proceeds to step S6, whereas if authentication is not successful, an error is reported and the process proceeds to step S7.
[0028] In step S6, the security processing module 31 verifies whether the transmission file F3 originates from the correct source side 10 by comparing the signature private key and the signature verification public key of the transmission file F3 using the second security module 33. If it is verified that the transmission file F3 originates from the correct source side 10, the process proceeds to step S8, whereas if it is verified that the transmission file F3 does not originate from the correct source side 10, an error is reported and then the process proceeds to step S7.
[0029] In step S7, the manufacturing process is stopped, at which point the manufacturing side 30 can inquire as to whether the transmission file F3 transmitted by the source side 10 is correct.
[0030] In step S8, the security processing module 31 uses the second security module 33 to decrypt the signed transmission file F3 with the decryption privacy key. Moreover, the second security module 33 generates an encrypted file F2 and also generates an encryption key. The encryption key is symmetric, that is, a decryption key. The security processing module 31 then decrypts the encrypted file F2 with the decryption key in the second security module 33 to generate a source file F1. Then, the process proceeds to step S9.
[0031] In step S9, it is determined whether or not the decrypted source file F1 needs to be encrypted a second time using the product features. If it is determined that the decrypted source file F1 needs to be encrypted a second time using the product features, the process proceeds to step S10. If it is determined that the decrypted source file F1 does not need to be encrypted a second time using the product features, the process proceeds to step S11.
[0032] In step S10, the product characteristics are read by the manufacturing module 33 and transmitted to the security processing module 31, which then performs a second encryption on the decrypted source file F1 using the second security module 33. Then, proceed to step S11.
[0033] In step S11, the security processing module 31 generates the manufacturing files F4, F4', and further transmits the manufacturing files F4, F4' to the manufacturing module 32. Then, the process proceeds to step S12.
[0034] In step S12, the manufacturing module 32 writes the manufacturing files F4 and F4' to the product, and then proceeds to step S13.
[0035] In step S13, the security processing module 31 counts the number of manufactured products and compares the count with the number authenticated by the authentication information S. If the number of manufactured products is less than the authenticated number, the process returns to step S9 and a second encryption is performed. If the number of manufactured products reaches the certified number, the process proceeds to step S7, where the manufacturing process ends.
[0036] In this embodiment, the source file (source firmware) F1 is encrypted once before transmission, thereby preventing the firmware from being stolen during transmission. In addition, by performing a second encryption process, even if the firmware-equipped chip product C is obtained by an unauthorized person, the source firmware or its original code already installed in the chip product C cannot be obtained by cloning or reverse engineering.
[0037] The present invention has been described by the above embodiments, but this does not limit the scope of the present invention. Since a person skilled in the art can make modifications and amendments without departing from the gist of the present invention, the protection scope of the present invention is defined by the scope of the patent claims. [Explanation of symbols]
[0038] 10 Source side 11 Encryption Module 12 First Security Module 13. Security Transmission Processing Module 20 Verification side 21 Security Verification Module 30 Manufacturing side 31 Security Processing Module 32 Manufacturing Module 33 Second Security Module F1 Source File F2 Encrypted files F3 Transmission File F4 Manufacturing File F4' Burning File F5 Update File F6 Encryption Update File N Network S Credentials S' Update Credentials P product S1~S12 steps
Claims
1. A control system applied to safety manufacturing, comprising: A source side for generating authentication information and transmission files, the source side including a first security module having an encryption key, an encryption public key and a signature privacy key, an encryption module and a security transmission processing module; a verifier having a security verification module; A manufacturing side including a second security module having a signature verification public key, a decryption private key and a decryption key, a security processing module and a manufacturing module; The security processing module receives the transmission file from the security transmission processing module; After the manufacturing party is authenticated by the security verification module, the security processing module performs manufacturing pre-processing to generate a manufacturing file; The manufacturing module adds the manufacturing file to a product; The pre-processing step uses the second security module, the signature verification public key, the decryption private key and the decryption key to restore the transmission file, and then converts the file into the production file by encrypting the file according to the characteristics of the product; the encryption module generates encrypted firmware by encrypting a source firmware, which is a source file, with the first security module and the encryption key; the decryption key is used to decrypt the encrypted firmware; the security transmission processing module performs encryption and signature processing on the encrypted firmware using the first security module, the encryption public key, and the signature private key, thereby generating the transmission file; 1. A control system adapted for safe manufacturing, comprising:
2. the signature privacy key and the signature verification public key are an asymmetric key pair generated from the first security module; A control system applied to safety manufacturing according to claim 1.
3. the encryption public key and the decryption private key are an asymmetric key pair generated from the second security module; A control system applied to safety manufacturing according to claim 1.
4. The security verification module receives the authentication information from the source side, and verifies the identity of the manufacturer based on the authentication information, and then performs authentication. A control system applied to safety manufacturing according to claim 1.
5. The pre-processing step uses the second security module, the signature verification public key, the decryption private key, and the decryption key to restore and convert the transmission file into the production file. A control system applied to safety manufacturing according to claim 1.
Citation Information
Patent Citations
Method and device for controlling real-time dynamic midi
JP1999175057A
System for distributing program, distributor for encrypted program, system for collecting program trouble information, and method of distributing program
JP2002140126A
Production / management system of information recording medium, information processor, method, and computer program
JP2005050176A
File management device
JP2007242231A
