Sensitive data leakage prevention method, system, server cryptographic machine and storage medium
By introducing the identity authentication mechanism of the trigger switch and SOC chip into the server cipher machine, the problem of leakage of sensitive data and key data of the server cipher machine is solved, the recognition and response to the disassembly behavior is realized, and the security of the data is ensured.
Patent Information
- Application Number
- CN202311451845.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-02
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2043-11-02
AI Technical Summary
Sensitive data and key data in server encryption machines are easily leaked through disassembly, resulting in compromised security. Existing technologies are difficult to effectively prevent such leaks.
Design a sensitive data leakage prevention system, including a trigger switch, a system-on-chip SOC chip and a main processor. By generating a target signal when the chassis is turned on, the SOC chip performs identity authentication and sends an abnormal disassembly signal when user authentication fails. Processors and cryptographic cards delete sensitive data and key data on storage devices.
It effectively prevents sensitive data and key data in the server cryptographic machine from being obtained through disassembly, improves server security, and prevents illegal acquisition and data leakage.
Smart Images

Figure CN117725628B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data protection technology, and in particular to a sensitive data leakage prevention method, system, server cryptographic machine and storage medium. Background Art
[0002] The server cryptographic machine is usually a device that encrypts and decrypts user data stored on the server using the encryption key stored on the cryptographic card. It usually adopts a structure that combines a server with a high-speed serial computer expansion bus standard (Peripheral Component Interconnect Express, PCIe) cryptographic card.
[0003] The password card is the carrier of the private key, and the server is the carrier of sensitive data. The security of the server chassis is of vital importance. If the chassis cover of the password machine is illegally opened, the private key stored in the password card and the related sensitive data stored in the server may be illegally obtained, which will lead to the forgery of the digital signature and the issuance and verification platform built with public key infrastructure (PKI) technology will be cracked.
[0004] Based on this, there is an urgent need for a method that can prevent the leakage of sensitive data including encryption keys, so as to prevent the sensitive data and key data in the server cryptographic machine from being obtained by disassembling the machine. Summary of the invention
[0005] The purpose of this application is to provide a sensitive data leakage prevention method, system, server cryptographic machine and storage medium, which are used to prevent sensitive data and key data in the server cryptographic machine from being obtained by disassembling the machine.
[0006] The present application provides a sensitive data leakage prevention method, which is applied to a sensitive data leakage prevention system. The sensitive data leakage prevention system is arranged on a server cryptographic machine, and the sensitive data leakage prevention system comprises: a trigger switch, a system on chip SOC chip, a main processor, and a password card; the trigger switch is connected to the SOC chip and the password card in communication, and the password card is connected to the SOC chip in communication. The method comprises:
[0007] The trigger switch generates a target signal when the chassis is turned on, and transmits the target signal to the SOC chip and the password card; when the SOC chip receives the target signal, it controls the server cryptographic machine to perform identity authentication, and when the user authentication fails, it sends an abnormal disassembly signal to the main processor and the password card respectively; when the main processor receives the abnormal disassembly signal, it controls the server cryptographic machine to delete the sensitive data stored on the storage device; when the password card receives the target signal and the abnormal disassembly signal, it deletes the key data stored in the password card.
[0008] Optionally, the trigger switch generates a target signal when the chassis is turned on, and transmits the target signal to the SOC chip and the password card, including: the trigger switch generates a low-level signal when the chassis is turned on, and transmits the low-level signal as the target signal to the SOC chip and the password card; wherein the trigger switch communicates with the SOC chip through a general-purpose input / output GPIO interface on the SOC chip; the trigger switch is connected to the password card through four groups of SDI interfaces of the password card.
[0009] Optionally, when the SOC chip receives the target signal, it controls the server cryptographic machine to perform identity authentication, and when user authentication fails, it sends abnormal disassembly signals to the main processor and the cryptographic card respectively, including: when the SOC chip receives the target signal during the power-on detection phase, it sends a first interrupt signal to the main processor and controls the server cryptographic machine to perform identity authentication; wherein, the first interrupt signal is used to interrupt the power-on task of the server cryptographic machine.
[0010] Optionally, when the SOC chip receives the target signal, it controls the server cryptographic machine to perform identity authentication, and when the user authentication fails, it sends an abnormal disassembly signal to the main processor and the cryptographic card respectively, including: when the SOC chip receives the target signal when the server cryptographic machine is operating normally, it sends a second interrupt signal to the main processor and controls the server cryptographic machine to perform identity authentication; wherein, the second interrupt signal is used to interrupt the task being executed by the server cryptographic machine.
[0011] Optionally, when receiving the target signal, the SOC chip controls the server cryptographic machine to perform identity authentication, and when user authentication fails, sends abnormal disassembly signals to the main processor and the cryptographic card respectively, including: the SOC chip is used to determine that user authentication has failed when the number of user authentication failures exceeds a preset threshold, and when user authentication fails, sends the abnormal disassembly signals to the main processor and the cryptographic card respectively.
[0012] Optionally, after the SOC chip controls the server cryptographic machine to perform identity authentication when receiving the target signal, the method also includes: when the user authentication is successful, the SOC chip sends authentication success information to the main processor chip to resume the interrupted task of the server cryptographic machine.
[0013] Optionally, the trigger switch is a spring-loaded micro switch, one end of the trigger switch is docked with the buckle of the chassis cover of the server cryptographic machine, and the other end is connected to the GPIO interface on the SOC chip and the SDI interface of the cryptographic card respectively; wherein, when the chassis cover is not opened, the trigger switch generates a high-level signal; when the chassis cover is opened, the trigger switch generates a low-level signal.
[0014] The present application also provides a sensitive data leakage prevention system, comprising: a trigger switch, a system on chip SOC chip, a main processor, and a password card; the trigger switch is communicatively connected with the SOC chip and the password card, and the password card is communicatively connected with the SOC chip;
[0015] The trigger switch is used to generate a target signal when the chassis is turned on, and transmit the target signal to the SOC chip and the password card; the SOC chip is used to control the server cryptographic machine to perform identity authentication when receiving the target signal, and send abnormal disassembly signals to the main processor and the password card respectively when the user authentication fails; the main processor is used to control the server cryptographic machine to delete the sensitive data stored on the storage device when receiving the abnormal disassembly signal; the password card is used to delete the key data stored in the password card when receiving the target signal and the abnormal disassembly signal.
[0016] Optionally, the trigger switch is specifically used to generate a low-level signal when the chassis is turned on, and transmit the low-level signal as the target signal to the SOC chip and the password card; wherein the trigger switch communicates with the SOC chip through the general-purpose input / output GPIO interface on the SOC chip; the trigger switch is communicated with the password card through four groups of SDI interfaces of the password card.
[0017] Optionally, the SOC chip is specifically used to send a first interrupt signal to the main processor and control the server cryptographic machine to perform identity authentication when the target signal is received during the power-on detection phase; wherein the first interrupt signal is used to interrupt the power-on task of the server cryptographic machine.
[0018] Optionally, the SOC chip is specifically used to send a second interrupt signal to the main processor and control the server cryptographic machine to perform identity authentication if the target signal is received when the server cryptographic machine is operating normally; wherein the second interrupt signal is used to interrupt the task being executed by the server cryptographic machine.
[0019] Optionally, the SOC chip is specifically used to determine that the user authentication has failed when the number of user authentication failures exceeds a preset threshold, and to send the abnormal disassembly signal to the main processor and the password card respectively when the user authentication has failed.
[0020] Optionally, the SOC chip is also used to send authentication success information to the main processor chip when the user authentication is successful, and resume the interrupted task of the server cryptographic machine.
[0021] Optionally, the trigger switch is a spring-loaded micro switch, one end of the trigger switch is docked with the buckle of the chassis cover of the server cryptographic machine, and the other end is connected to the GPIO interface on the SOC chip and the SDI interface of the cryptographic card respectively; wherein, when the chassis cover is not opened, the trigger switch generates a high-level signal; when the chassis cover is opened, the trigger switch generates a low-level signal.
[0022] The present application also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of any of the above-mentioned sensitive data leakage prevention methods.
[0023] The present application also provides a server cryptographic machine, on which the above-mentioned sensitive data leakage prevention system is arranged, and the system can implement the steps of any of the above-mentioned sensitive data leakage prevention methods.
[0024] The present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the above-mentioned sensitive data leakage prevention methods.
[0025] The sensitive data leakage prevention method, system, server cryptographic machine and storage medium provided by the present application, the trigger switch generates a target signal when the chassis is turned on, and transmits the target signal to the SOC chip and the password card; the SOC chip controls the server cryptographic machine to perform identity authentication when receiving the target signal, and sends an abnormal disassembly signal to the main processor and the password card respectively when the user authentication fails; the main processor controls the server cryptographic machine to delete the sensitive data stored on the storage device when receiving the abnormal disassembly signal; the password card deletes the key data stored in the password card when receiving the target signal and the abnormal disassembly signal. In this way, it can effectively prevent the sensitive data and key data in the server cryptographic machine from being obtained by disassembling the machine. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0027] Figure 1 This is one of the flowcharts of the sensitive data leakage prevention method provided by this application;
[0028] Figure 2 This is the second flowchart of the sensitive data leakage prevention method provided by this application;
[0029] Figure 3 It is a structural diagram of the sensitive data leakage prevention system provided by this application;
[0030] Figure 4 It is a structural schematic diagram of the electronic device provided by this application. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0032] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0033] The following is an explanation of the professional terms involved in the embodiments of this application:
[0034] Server cryptographic machine: It is a device or software program used to encrypt and decrypt user data stored on the server. Its working principle generally follows the encryption algorithm and key management mechanism. During the encryption process, the cryptographic machine first receives the data entered by the user and processes it through the cryptographic algorithm. Common cryptographic algorithms include hash functions and symmetric encryption algorithms. Hash functions convert data into a hash value of fixed length, while symmetric encryption algorithms use keys to encrypt data. The encrypted data is stored on the server. During the decryption process, when the user enters data for verification, the cryptographic machine will use the same cryptographic algorithm and key to process the data entered by the user. Then, it will compare the processed result with the encrypted data stored on the server to verify the correctness of the data. The cryptographic machine can also support key management mechanisms, including operations such as generating keys, storing keys, updating keys, and revoking keys. These operations can ensure the security and reliability of server passwords.
[0035] Password card: The password card on the server cryptographic machine, also known as encryption card, encryption module or encryption chip, is a hardware device used to store and protect encryption keys. The role of the password card in the server cryptographic machine system is to store encryption keys and run encryption algorithms and cryptographic operations to ensure the confidentiality, integrity and availability of the protected data. The password card is connected to the server cryptographic machine through an interface, so that the cryptographic machine can use the keys stored in the password card to encrypt and decrypt the data stored on the server. Compared with software encryption solutions, password cards usually have higher security performance because they use specially designed encryption chips to store keys, and access to keys is subject to strong physical and logical protection. In addition, many password cards also support multiple encryption algorithms and support functions such as generating random numbers, calculating digital signatures, and securely storing certificates. These functions can improve the security and reliability of the server cryptographic machine. In short, the password card is an important hardware component of the server cryptographic machine. It provides hardware-level security protection and efficient encryption processing capabilities, and is one of the key parts of the server cryptographic machine system.
[0036] SOC (System on a Chip) refers to a chip that integrates various computer system components. It integrates multiple functional modules such as central processing unit (CPU), memory controller, graphics processing unit (GPU), input and output interface, memory, network interface, encryption engine, various peripheral controllers, etc. on a single chip. The design goal of SOC is to achieve higher integration and stronger performance, and reduce power consumption and cost. The processor is one of the core components in the computer, which is used to execute various calculations and control instructions. It is responsible for processing data and executing programs, and is the brain of the computer. Processors can be divided into central processing units (CPU), graphics processing units (GPU), network processors, etc. according to different architectures. The difference between SOC and processors lies in scope and function. SOC is a chip that integrates multiple functional modules, which not only includes a processor, but also other necessary system components such as memory controller, input and output interface, etc. By integrating these components together, SOC provides a complete system solution, which can simplify system design and improve performance and power efficiency. The processor is a key component in SOC, which is responsible for executing instructions and processing data, and is the core of the entire system. In short, SOC is a chip that integrates multiple system components, and the processor is a component in SOC that is responsible for core computing and control tasks. SOC provides a complete system solution, and the processor is the core part of it.
[0037] In response to the technical problem in the related art that key data and sensitive data stored in a server cryptographic machine are easily leaked, an embodiment of the present application provides a sensitive data leakage prevention method, which can effectively prevent the sensitive data and key data in the server cryptographic machine from being obtained by disassembling the machine.
[0038] The sensitive data leakage prevention method provided by the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0039] like Figure 2 As shown, a sensitive data leakage prevention method provided in an embodiment of the present application is applied to a sensitive data leakage prevention system, the sensitive data leakage prevention system is arranged on a server cryptographic machine, the sensitive data leakage prevention system comprises: a trigger switch, a system on chip SOC chip, a main processor, and a password card; the trigger switch is communicatively connected with the SOC chip and the password card, the password card is communicatively connected with the SOC chip, and the method may comprise the following steps 101 to 104:
[0040] Step 101: The trigger switch generates a target signal when the chassis is turned on, and transmits the target signal to the SOC chip and the password card.
[0041] Exemplarily, the trigger switch can be a spring-type micro switch, one end of which is connected to the buckle of the chassis cover of the server cryptographic machine, and the other end is connected to the GPIO interface on the SOC chip and the SDI interface of the cryptographic card. When the chassis cover is not opened, the trigger switch generates a high-level signal; when the chassis cover is opened, the trigger switch generates a low-level signal. The SDI interface is a Self-destruct IO interface, that is, a self-destruct input / output interface set on the cryptographic card.
[0042] Exemplarily, in an embodiment of the present application, it is possible to determine whether the chassis cover of the server cryptographic machine is opened by triggering the high and low level signals generated by the switch.
[0043] Specifically, the above step 101 may include the following steps 101a:
[0044] Step 101a: The trigger switch generates a low-level signal when the chassis is turned on, and transmits the low-level signal as the target signal to the SOC chip and the password card.
[0045] The trigger switch communicates with the SOC chip through a general purpose input / output GPIO interface on the SOC chip; the trigger switch is connected to the password card through four groups of SDI interfaces of the password card.
[0046] Step 102: When the SOC chip receives the target signal, it controls the server cryptographic machine to perform identity authentication, and when the user authentication fails, it sends abnormal disassembly signals to the main processor and the cryptographic card respectively.
[0047] For example, when the SOC chip receives a low-level signal (i.e., the above-mentioned target signal) transmitted by the trigger switch, it can be confirmed that the chassis cover of the server cryptographic machine is opened. At this time, it is necessary to judge the behavior to determine whether it is a normal opening behavior.
[0048] It should be noted that the control server cryptographic machine for identity authentication can be triggered by a target signal sent by the SOC chip, or by other signals sent by the SOC chip. After completing the user identity authentication, the server cryptographic machine can feed back the authentication result to the SOC chip through the main processor.
[0049] Exemplarily, in an embodiment of the present application, different processing strategies may be used to handle the behavior of opening the chassis during the startup of the server cryptographic machine or during normal operation.
[0050] During the boot process:
[0051] For example, during the boot process, if it is detected that the chassis cover of the server cryptographic machine is opened, it is necessary to interrupt the boot process or boot task and verify the identity of the user.
[0052] Specifically, the above step 102 may further include the following step 102a:
[0053] Step 102a: When the SOC chip receives the target signal during the power-on detection phase, it sends a first interrupt signal to the main processor and controls the server cryptographic machine to perform identity authentication.
[0054] Wherein, the first interrupt signal is used to interrupt the startup task of the server cryptographic machine.
[0055] Exemplarily, during the startup process of the server cryptographic machine, if the SOC chip receives the above-mentioned target signal, it can send a first interrupt signal to the main processor to interrupt the startup task of the server cryptographic machine, and verify the user's identity by asking the user to enter a system login password or a personal identification number (PIN). If the user cannot enter the correct verification information within a preset time, it is judged that the opening behavior of the chassis cover of the server cryptographic machine is an abnormal opening behavior. At this time, corresponding measures need to be taken to prevent the leakage of sensitive information and key information.
[0056] During normal operation:
[0057] For example, during the normal operation of the server cryptographic machine, if it is detected that the chassis cover of the server cryptographic machine is opened, it is necessary to interrupt the task being executed by the server cryptographic machine and verify the identity of the user.
[0058] Specifically, the above step 102 may further include the following step 102b:
[0059] When the server cryptographic machine is operating normally, the SOC chip sends a second interrupt signal to the main processor if it receives the target signal, and controls the server cryptographic machine to perform identity authentication.
[0060] The second interrupt signal is used to interrupt the task being executed by the server cryptographic machine.
[0061] For example, during the normal operation of the server cryptographic machine, if the SOC chip receives the above-mentioned target signal, it can send a second interrupt signal to the main processor to interrupt the task being executed by the server cryptographic machine, and verify the user's identity by asking the user to enter the system login password or personal identification code. If the user cannot enter the correct verification information within the preset time, it is judged that the opening of the chassis cover of the server cryptographic machine is an abnormal opening behavior. At this time, corresponding measures need to be taken to prevent the leakage of sensitive information and key information.
[0062] It should be noted that the first interrupt signal and the second interrupt signal may be signals containing the same information or signals containing different information.
[0063] Specifically, based on the above steps 102a and 102b, the above step 102 may further include the following step 102c:
[0064] Step 102c, the SOC chip is used to determine that the user authentication fails when the number of user authentication failures within a preset time period exceeds a preset threshold, and when the user authentication fails, send the abnormal disassembly signal to the main processor and the password card respectively.
[0065] For example, when the user cannot enter the correct verification information within the preset time, it can be determined that the opening of the chassis cover of the server cryptographic machine is an abnormal disassembly behavior, and the SOC chip can send an abnormal disassembly signal to the main processor and the cryptographic card at the same time.
[0066] It should be noted that if sensitive information and key information are deleted directly when the target signal is detected, it is very likely that the information will be deleted by mistake. Therefore, after the target signal is detected, the legitimacy of the user needs to be further verified. In addition, in order to prevent the user from forgetting the password or entering the wrong password due to operation errors, a preset threshold can be set to prevent the password from being cracked by brute force.
[0067] Step 103: When the main processor receives the abnormal disassembly signal, it controls the server cryptographic machine to delete the sensitive data stored on the storage device of the server cryptographic machine.
[0068] For example, when it is determined that the opening of the chassis cover of the server cryptographic machine is an abnormal disassembly behavior, the SOC chip can send an abnormal disassembly signal to the main processor to enable the server cryptographic machine to delete sensitive data stored in the storage device.
[0069] Step 104: When the password card receives the target signal and the abnormal disassembly signal, the password card deletes the key data stored in the password card.
[0070] For example, when it is determined that the opening of the chassis cover of the server cryptographic machine is an abnormal disassembly behavior, the SOC chip can send an abnormal disassembly signal to the main processor. The cryptographic card will only delete the key data stored in the cryptographic card when it receives the abnormal disassembly signal and the above-mentioned target signal at the same time.
[0071] It should be noted that the above step 103 and step 104 can be executed simultaneously, and the execution order of the steps does not need to be considered.
[0072] Optionally, in an embodiment of the present application, if the user authentication is successful, the task interrupted by the server cryptographic machine can be restored and the disassembly event recorded this time can be deleted.
[0073] Exemplarily, in the above step 102, after the SOC chip receives the target signal and controls the server cryptographic machine to perform identity authentication, the sensitive data leakage prevention method provided in the embodiment of the present application may further include the following step 105:
[0074] Step 105: When the user authentication is successful, the SOC chip sends authentication success information to the main processor chip to resume the interrupted task of the server cryptographic machine.
[0075] For example, when the user authentication is successful, it can be determined that the disassembly of the server cryptographic machine is normal. At this time, the task that was interrupted by the server cryptographic machine can be restored.
[0076] For example, Figure 2As shown, it is a detailed flow chart of the sensitive data leakage prevention method provided in the embodiment of the present application. The SOC chip detects the signal state of the GPIO interface. If a low-level signal is detected, it is determined that a disassembly behavior has occurred. At this time, the SOC chip sends an interrupt signal to the main processor, and the processor interrupts the task being executed by the server cryptographic machine, and performs user authentication, and determines whether it is a normal disassembly based on the authentication result. If so, the task of the interrupt execution of the server cryptographic machine is restored. If it is determined to be an abnormal disassembly, the SOC chip sends an abnormal disassembly signal to the main processor and the password card respectively. After the main processor receives the abnormal disassembly signal, it controls the server cryptographic machine to delete the sensitive data in the storage device. The password card needs to receive the target signal and the abnormal disassembly signal at the same time before deleting the key data stored in the password card.
[0077] The sensitive data leakage prevention method provided by the embodiment of the present application is that the trigger switch generates a target signal when the chassis is turned on, and transmits the target signal to the SOC chip and the password card; when the SOC chip receives the target signal, it controls the server cryptographic machine to perform identity authentication, and when the user authentication fails, it sends an abnormal disassembly signal to the main processor and the password card respectively; when the main processor receives the abnormal disassembly signal, it controls the server cryptographic machine to delete the sensitive data stored on the storage device; when the password card receives the target signal and the abnormal disassembly signal, it deletes the key data stored in the password card. In this way, it can effectively prevent the sensitive data and key data in the server cryptographic machine from being obtained by disassembling the machine.
[0078] It should be noted that the sensitive data leakage prevention method provided in the embodiment of the present application can be executed by a sensitive data leakage prevention system, or a control module in the sensitive data leakage prevention system for executing the sensitive data leakage prevention method. In the embodiment of the present application, the sensitive data leakage prevention system provided in the embodiment of the present application is described by taking the sensitive data leakage prevention system executing the sensitive data leakage prevention method as an example.
[0079] It should be noted that in the embodiments of the present application, the sensitive data leakage prevention methods shown in the above-mentioned method drawings are all illustrated by taking one of the drawings in the embodiments of the present application as an example. In specific implementation, the sensitive data leakage prevention methods shown in the above-mentioned method drawings can also be implemented in combination with any other drawings that can be combined as shown in the above-mentioned embodiments, which will not be repeated here.
[0080] The sensitive data leakage prevention system provided by the present application is described below, and the sensitive data leakage prevention method described below and described above can correspond to each other.
[0081] Figure 3A schematic diagram of the structure of the sensitive data leakage prevention system provided in the embodiment of the present application is shown in FIG. Figure 3 As shown, it specifically includes: a trigger switch 301, a system on chip SOC chip 302, a main processor 303, and a password card 304; the trigger switch 301 is connected to the SOC chip 302 and the password card 304 in communication, and the password card 304 is connected to the SOC chip 302 in communication;
[0082] The trigger switch 301 is used to generate a target signal when the chassis is turned on, and transmit the target signal to the SOC chip 302 and the password card 304; the SOC chip 302 is used to control the server cryptographic machine to perform identity authentication when receiving the target signal, and when the user authentication fails, send an abnormal disassembly signal to the main processor 303 and the password card 304 respectively; the main processor 303 is used to control the server cryptographic machine to delete the sensitive data stored on the storage device when receiving the abnormal disassembly signal; the password card 304 is used to delete the key data stored in the password card 304 when receiving the target signal and the abnormal disassembly signal.
[0083] Optionally, the trigger switch 301 is specifically used to generate a low-level signal when the chassis is turned on, and transmit the low-level signal as the target signal to the SOC chip 302 and the password card 304; wherein, the trigger switch 301 communicates with the SOC chip 302 through the general-purpose input / output GPIO interface on the SOC chip 302; the trigger switch 301 is communicated with the password card 304 through four groups of SDI interfaces of the password card 304.
[0084] Optionally, the SOC chip 302 is specifically used to send a first interrupt signal to the main processor 303 and control the server cryptographic machine to perform identity authentication when the target signal is received during the power-on detection phase; wherein the first interrupt signal is used to interrupt the power-on task of the server cryptographic machine.
[0085] Optionally, the SOC chip 302 is specifically used to send a second interrupt signal to the main processor 303 and control the server cryptographic machine to perform identity authentication when the server cryptographic machine is operating normally and if the target signal is received; wherein the second interrupt signal is used to interrupt the task being executed by the server cryptographic machine.
[0086] Optionally, the SOC chip 302 is specifically used to determine that the user authentication fails when the number of user authentication failures exceeds a preset threshold, and when the user authentication fails, the main processor 303 and the password card 304 send the abnormal disassembly signal respectively.
[0087] Optionally, the SOC chip 302 is also used to send authentication success information to the main processor 303 chip when the user authentication is successful, and resume the interrupted task of the server cryptographic machine.
[0088] Optionally, the trigger switch 301 is a spring-type micro switch, one end of the trigger switch 301 is docked with the buckle of the chassis cover of the server cryptographic machine, and the other end is connected to the GPIO interface on the SOC chip 302 and the SDI interface of the cryptographic card 304 respectively; wherein, when the chassis cover is not opened, the trigger switch 301 generates a high-level signal; when the chassis cover is opened, the trigger switch 301 generates a low-level signal.
[0089] The sensitive data leakage prevention system provided by the present application, the trigger switch generates a target signal when the chassis is turned on, and transmits the target signal to the SOC chip and the password card; the SOC chip controls the server cryptographic machine to perform identity authentication when receiving the target signal, and sends abnormal disassembly signals to the main processor and the password card respectively when the user authentication fails; the main processor controls the server cryptographic machine to delete the sensitive data stored on the storage device when receiving the abnormal disassembly signal; the password card deletes the key data stored in the password card when receiving the target signal and the abnormal disassembly signal. In this way, it can effectively prevent the sensitive data and key data in the server cryptographic machine from being obtained by disassembling the machine.
[0090] Figure 4 The following is a schematic diagram of the physical structure of a server cryptographic machine: Figure 4As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communication interface 420 and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute the sensitive data leakage prevention method, which includes: the trigger switch generates a target signal when the chassis is turned on, and transmits the target signal to the SOC chip and the password card; the SOC chip controls the server cryptographic machine to perform identity authentication when receiving the target signal, and sends an abnormal disassembly signal to the main processor and the password card respectively when the user authentication fails; the main processor controls the server cryptographic machine to delete the sensitive data stored on the storage device when receiving the abnormal disassembly signal; the password card deletes the key data stored in the password card when receiving the target signal and the abnormal disassembly signal.
[0091] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.
[0092] On the other hand, the present application also provides a computer program product, which includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the sensitive data leakage prevention method provided by the above methods, and the method includes: the trigger switch generates a target signal when the chassis is turned on, and transmits the target signal to the SOC chip and the password card; when the SOC chip receives the target signal, it controls the server cryptographic machine to perform identity authentication, and when the user authentication fails, it sends an abnormal disassembly signal to the main processor and the password card respectively; when the main processor receives the abnormal disassembly signal, it controls the server cryptographic machine to delete the sensitive data stored on the storage device; when the password card receives the target signal and the abnormal disassembly signal, it deletes the key data stored in the password card.
[0093] On the other hand, the present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the above-mentioned sensitive data leakage prevention methods, the methods comprising: the trigger switch generates a target signal when the chassis is turned on, and transmits the target signal to the SOC chip and the password card; when the SOC chip receives the target signal, it controls the server cryptographic machine to perform identity authentication, and when the user authentication fails, it sends an abnormal disassembly signal to the main processor and the password card respectively; when the main processor receives the abnormal disassembly signal, it controls the server cryptographic machine to delete the sensitive data stored on the storage device; when the password card receives the target signal and the abnormal disassembly signal, it deletes the key data stored in the password card.
[0094] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0095] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0096] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for preventing leakage of sensitive data, It is characterized in that The invention is applied to a sensitive data leakage prevention system, which is arranged on a server cryptographic machine and comprises: a trigger switch, a system on chip (SOC) chip, a main processor, and a password card; the trigger switch is connected to the SOC chip and the password card in communication, and the password card is connected to the SOC chip in communication. The method comprises: The trigger switch generates a target signal when the chassis is turned on, and transmits the target signal to the SOC chip and the password card; When receiving the target signal, the SOC chip controls the server cryptographic machine to perform identity authentication, and when user authentication fails, sends abnormal disassembly signals to the main processor and the cryptographic card respectively; When the main processor receives the abnormal disassembly signal, it controls the server cryptographic machine to delete the sensitive data stored on the storage device of the server cryptographic machine; When the password card receives the target signal and the abnormal disassembly signal, the password card deletes the key data stored in the password card; When the SOC chip receives the target signal, it controls the server cryptographic machine to perform identity authentication, including: When the SOC chip receives the target signal during the power-on detection phase, it sends a first interrupt signal to the main processor and controls the server cryptographic machine to perform identity authentication; Wherein, the first interrupt signal is used to interrupt the startup task of the server cryptographic machine; When the SOC chip receives the target signal, it controls the server cryptographic machine to perform identity authentication, including: When the SOC chip receives the target signal while the server cryptographic machine is operating normally, it sends a second interrupt signal to the main processor and controls the server cryptographic machine to perform identity authentication; The second interrupt signal is used to interrupt the task being executed by the server cryptographic machine.
2. The method according to claim 1, It is characterized in that The trigger switch generates a target signal when the chassis is turned on, and transmits the target signal to the SOC chip and the password card, including: The trigger switch generates a low-level signal when the chassis is turned on, and transmits the low-level signal as the target signal to the SOC chip and the password card; The trigger switch communicates with the SOC chip through a general purpose input / output GPIO interface on the SOC chip; the trigger switch is connected to the password card through four groups of SDI interfaces of the password card.
3. The method according to claim 1, It is characterized in that When the user authentication fails, sending abnormal disassembly signals to the main processor and the password card respectively includes: The SOC chip is used to determine that the user authentication fails when the number of user authentication failures within a preset time period exceeds a preset threshold, and to send the abnormal disassembly signal to the main processor and the password card respectively when the user authentication fails.
4. The method according to claim 3, It is characterized in that After the SOC chip controls the server cryptographic machine to perform identity authentication when receiving the target signal, the method further includes: When the user authentication is successful, the SOC chip sends authentication success information to the main processor chip and resumes the interrupted task of the server cryptographic machine.
5. The method according to claim 2, It is characterized in that The trigger switch is a spring-type micro switch, one end of which is connected to the buckle of the chassis cover of the server cryptographic machine, and the other end is connected to the GPIO interface on the SOC chip and the SDI interface of the cryptographic card respectively; Wherein, when the chassis cover is not opened, the trigger switch generates a high level signal; when the chassis cover is opened, the trigger switch generates a low level signal.
6. A sensitive data leakage prevention system, It is characterized in that The system comprises: a trigger switch, a system on chip (SOC) chip, a main processor, and a password card; the trigger switch is connected to the SOC chip and the password card in communication, and the password card is connected to the SOC chip in communication; The trigger switch is used to generate a target signal when the chassis is turned on, and transmit the target signal to the SOC chip and the password card; The SOC chip is used to control the server cryptographic machine to perform identity authentication when receiving the target signal, and to send abnormal disassembly signals to the main processor and the cryptographic card respectively when the user authentication fails; The main processor is used to control the server cryptographic machine to delete sensitive data stored on the storage device when receiving the abnormal disassembly signal; The password card is used to delete the key data stored in the password card when receiving the target signal and the abnormal disassembly signal; The SOC chip is specifically used to send a first interrupt signal to the main processor when receiving the target signal in the power-on detection phase, and control the server cryptographic machine to perform identity authentication; wherein the first interrupt signal is used to interrupt the power-on task of the server cryptographic machine; The SOC chip is specifically used to send a second interrupt signal to the main processor and control the server cryptographic machine to perform identity authentication if the target signal is received when the server cryptographic machine is running normally; wherein the second interrupt signal is used to interrupt the task being executed by the server cryptographic machine.
7. A server cryptographic machine, It is characterized in that A sensitive data leakage prevention system as claimed in claim 6 is arranged thereon.
8. A computer-readable storage medium, It is characterized in that A computer program is stored thereon, and when the computer program is executed by a processor, the steps of the sensitive data leakage prevention method as described in any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Cipher machine with secret key destroying function and secret key destroying method
CN111327422A
Data access method and device
WO2019127467A1
