Circuit for measuring boot mapping file of credential security terminal
By designing the measurement circuit of the TCM unit, storage unit and switching unit in the mobile terminal, the problem that the boot image file is easily tampered with is solved, the security measurement of the boot image file and the trusted startup of the system are realized, ensuring the security of the mobile terminal. Security.
Patent Information
- Application Number
- CN202420228707.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-30
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2034-01-30
AI Technical Summary
The boot image file of mobile terminals is easily tampered with by malware, leading to system crashes and data leaks. Existing technologies are difficult to effectively prevent such threats.
A measurement circuit including a TCM unit, a storage unit and a switching unit is designed. The TCM unit is used to measure the boot image file. The storage unit stores the measurement results. The switching unit controls channel switching to ensure the integrity and security of the boot image file.
By measuring the circuit, it is possible to detect and prevent tampering or damage to the boot image file during the startup process of the Xinchuang security terminal, ensuring the security and credibility of the system and preventing malware damage.
Smart Images

Figure CN221708053U
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of electronic circuits, and in particular provides a circuit for measuring a boot image file of a trusted innovation security terminal. Background Art
[0002] With the continuous advancement of technology, mobile terminals have become an indispensable part of our daily lives. From smartphones to tablets to wearable devices, the types and functions of mobile terminals are becoming increasingly rich. However, with the popularity of mobile terminals, data privacy and security issues are becoming increasingly prominent. Especially in the current network environment, network security threats such as malware and viruses are emerging in an endless stream, posing a great threat to user data security.
[0003] The boot image file is a crucial part of the mobile terminal startup process. It contains key components such as the operating system and hardware drivers. If the boot image file is tampered with, it may cause serious consequences such as system crash and data leakage. Therefore, preventing malware from modifying system hardware and software, including the boot image file, has become an important part of ensuring the security of mobile terminals. Utility Model Content
[0004] In order to solve at least one technical problem mentioned in the background technology, the purpose of the utility model is to provide a circuit for measuring the boot image file of the trusted security terminal, and measure the boot image file during the startup process of the trusted security terminal to ensure the security of the trusted security terminal.
[0005] In order to achieve the above object, the utility model provides the following technical solutions, including:
[0006] TCM unit: used to measure the boot image file;
[0007] Storage unit: used to store boot image files;
[0008] Switching unit: used to control the channel switching between the storage unit and the TCM unit;
[0009] The switching unit is connected to the TCM unit and the storage unit respectively.
[0010] Furthermore, the TCM unit adopts a Z32H330TC chip;
[0011] The first end, the second end, the third end and the fourth end of the TCM unit are respectively connected to the switching unit as SPI interfaces.
[0012] Furthermore, the switching unit adopts a BCT4899 chip;
[0013] The first end, the second end, the third end and the fourth end of the switching unit are connected to the first end, the second end, the third end and the fourth end of the TCM unit respectively;
[0014] The ninth terminal and the tenth terminal of the switching unit are connected to the fifth terminal of the TCM unit as control signal terminals.
[0015] Furthermore, the storage unit adopts a GD25Q64 chip;
[0016] The first end, the second end, the third end and the fourth end of the storage unit are respectively connected to the switching unit as SPI interfaces.
[0017] Further, the fifth end, the sixth end, the seventh end and the eighth end of the switching unit are connected to the first end, the second end, the third end and the fourth end of the storage unit respectively.
[0018] Compared with the prior art, the beneficial effects of the utility model are:
[0019] The utility model increases the autonomous controllability of the boot process of the trusted and innovative security terminal in the form of external function support through a measurement circuit composed of a TCM unit, a storage unit, and a switching unit. When it is necessary to measure the boot image file, the TCM unit will perform a measurement operation, the storage unit will store the boot image file measured by the TCM unit, and the switching unit will be responsible for controlling the channel from the storage unit to the TCM unit and switching the channel. During the boot process of the trusted and innovative security terminal, the boot image file is measured through the measurement circuit to ensure that malicious changes to the boot image file can be discovered. If the TCM unit finds that the boot image file has been tampered with or damaged, it will refuse to start, thereby ensuring the security of the trusted and innovative security terminal. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 A circuit structure diagram of a boot image file for measuring a secure terminal provided by an embodiment of the utility model;
[0021] Figure 2 A circuit schematic diagram of a TCM unit in a circuit for measuring a boot image file of a trusted secure terminal provided in an embodiment of the present utility model;
[0022] Figure 3 A circuit schematic diagram of a switching unit in a circuit for measuring a boot image file of a trusted secure terminal provided in an embodiment of the utility model;
[0023] Figure 4 A circuit schematic diagram of a storage unit in a circuit for measuring a boot image file of a trusted secure terminal provided in an embodiment of the utility model;
[0024] In the figure:
[0025] U1-storage unit, U2-switching unit, U3-TCM unit. DETAILED DESCRIPTION
[0026] The technical solutions in the embodiments of the utility model are described clearly and completely below. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of them. Based on the embodiments of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0027] See also Figure 1 This embodiment provides a circuit for measuring a boot image file for a trusted security terminal, including:
[0028] TCM unit U3: used to measure the boot image file;
[0029] Storage unit U1: used to store boot image files;
[0030] Switching unit U2: used to control the channel switching between the storage unit U1 and the TCM unit U3;
[0031] The switching unit U2 is connected to the TCM unit U3 and the storage unit U1 respectively.
[0032] Specifically, the TCM unit U3 is the core part of the measurement circuit, which is responsible for performing measurement operations on the boot image file. TCM is a trusted cryptographic module that provides security operations such as encryption, decryption, signing, and verification. By using the TCM unit U3, the autonomous and controllable characteristics can be increased and the risk of data privacy leakage can be reduced. The boot image file measurement module in the TCM unit U3 is used to read the boot image file stored in the trusted security terminal and pass it to the TCM unit U3 for measurement operations. This module is tightly integrated with the TCM unit U3 and is set on the TCM unit U3 to ensure an efficient and accurate measurement process.
[0033] Specifically, the storage unit U1 is a non-volatile memory for storing a boot image file. The storage unit U1 can be any form of highly reliable and secure storage medium, such as a Flash memory or a solid state drive (SSD).
[0034] Specifically, the switching unit U2 is responsible for controlling the switching of the data channel, switching the data from the storage unit U1 to the TCM unit U3 or from the TCM unit U3 to other external processing units. In this way, the integrity and security of the data can be ensured.
[0035] Specifically, the TCM unit U3 is a security module that can provide trusted computing services. It provides hardware-level security protection in the computer system to ensure the credibility and security of the system. During the computer startup process, the boot image file is a key file for loading and starting the operating system. Since the boot image file contains the core code and configuration information of the operating system, it is crucial to the security and integrity of the system. In order to ensure the integrity and credibility of the boot image file, the TCM unit U3 can measure it.
[0036] Specifically, measurement refers to the process of summarizing data using a hash function or other algorithm to generate a value of a fixed length, called a measurement value or hash value. The TCM unit U3 can measure the boot image file, generate its measurement value, and store it in the storage unit U1. When the system starts, the TCM unit U3 can re-measure the loaded boot image file and compare the newly generated measurement value with the measurement value in the storage unit U1 called by switching the data channel through the switching unit U2. If the two measurement values are the same, it means that the boot image file has not been tampered with or damaged, and the system can start normally; if the two measurement values are different, it means that the boot image file may have been tampered with or damaged, and the system will refuse to start or take other security measures. By using the TCM unit U3 to measure the boot image file, the security and credibility of the system startup process can be ensured, and malware or attackers can be prevented from tampering with or damaging the system.
[0037] See also Figure 2 , where the TCM unit U3 uses the Z32H330TC chip;
[0038] The first end: pin 3, the second end: pin 6, the third end: pin 7 and the fourth end: pin 31 of the TCM unit U3 are respectively connected to the switching unit U2 as SPI interfaces.
[0039] See also Figure 3 , where the switching unit U2 uses the BCT4899 chip;
[0040] The first end: pin 1, the second end: pin 5, the third end: pin 9 and the fourth end: pin 13 of the switching unit U2 are respectively connected to the first end: pin 3, the second end: pin 6, the third end: pin 7 and the fourth end: pin 31 of the TCM unit U3;
[0041] The ninth terminal (pin 2) and the tenth terminal (pin 10) of the switching unit U2 are connected to the fifth terminal (pin 13) of the TCM unit U3 as control signal terminals.
[0042] Specifically, the BCT4899 chip uses a 32-bit high-performance processor and integrates hardware encryption algorithms and security protection mechanisms. It can provide high-intensity and high-reliability encryption and security protection capabilities, while also having the characteristics of high speed and low power consumption.
[0043] See also Figure 4 , where the storage unit U1 uses the GD25Q64 chip;
[0044] The first end: pin 1, the second end: pin 2, the third end: pin 5 and the fourth end: pin 6 of the storage unit U1 are respectively connected to the switching unit U2 as SPI interfaces.
[0045] Among them, the fifth end: pin 12, the sixth end: pin 8, the seventh end: pin 4 and the eighth end: pin 16 of the switching unit U2 are respectively connected to the first end: pin 1, the second end: pin 2, the third end: pin 5 and the fourth end: pin 6 of the storage unit U1.
[0046] Specifically, the TCM unit U3 is used to measure the boot image file and transfer the measured boot image file to the storage unit U1, which is used to store the boot image file; the switching unit U2 is used to control the channel switching between the storage unit U1 and the TCM unit U3, control the switching of the channel, and connect the storage unit U1 and the TCM unit U3 to transfer the boot image file. When the boot image file needs to be measured, the TCM unit U3 will perform this operation. Afterwards, the storage unit U1 is used to store these measured boot image files. The switching unit U2 is responsible for controlling the channel between the storage unit U1 and the TCM unit U3, and realizing the switching of the channel as needed.
[0047] The utility model utilizes an external measurement circuit composed of a TCM unit, a storage unit, and a switching unit to increase the autonomous controllability during the boot process of the trusted security terminal. When it is necessary to measure the boot image file, the TCM unit will perform this operation, the storage unit will store the boot image file measured by the TCM unit, and the switching unit will be responsible for controlling the channel from the storage unit to the TCM unit, switching the channel as needed. During the boot process of the trusted security terminal, the boot image file is measured by the TCM unit to ensure that malicious changes to the boot image file can be discovered. If the boot image file is found to be tampered with or damaged, it will refuse to start, thereby ensuring the security of the trusted security terminal.
[0048] It is obvious to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or basic features of the present invention. Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention.
Claims
1. A circuit for measuring a boot image file of a trusted security terminal, characterized in that: include: TCM unit: used to measure the boot image file; Storage unit: used to store boot image files; Switching unit: used to control the channel switching between the storage unit and the TCM unit; The switching unit is connected to the TCM unit and the storage unit respectively.
2. The circuit for measuring the boot image file of the trusted secure terminal according to claim 1 is characterized in that: The TCM unit adopts Z32H330TC chip; The first end, the second end, the third end and the fourth end of the TCM unit are respectively connected to the switching unit as SPI interfaces.
3. The circuit for measuring the boot image file of the trusted secure terminal according to claim 2 is characterized in that: The switching unit adopts BCT4899 chip; The first end, the second end, the third end and the fourth end of the switching unit are connected to the first end, the second end, the third end and the fourth end of the TCM unit respectively; The ninth terminal and the tenth terminal of the switching unit are connected to the fifth terminal of the TCM unit as control signal terminals.
4. The circuit for measuring boot image files for a trusted secure terminal according to claim 1, characterized in that: The storage unit adopts GD25Q64 chip; The first end, the second end, the third end and the fourth end of the storage unit are respectively connected to the switching unit as SPI interfaces.
5. The circuit for measuring the boot image file of the trusted secure terminal according to claim 4 is characterized in that: The fifth end, the sixth end, the seventh end and the eighth end of the switching unit are connected to the first end, the second end, the third end and the fourth end of the storage unit respectively.
