Data protection system, method, electronic device and storage medium

Through the parallel communication bus and main controller detection mechanism of the data protection system, illegal hard disk access is blocked, combined with the entire machine's anti-tamper detector and alarm, the problem of hard disk data protection is solved and effective protection of hard disk data is achieved.

CN118709239BActive Publication Date: 2024-11-15ZHONGTIE XINAN BEIJING INFORMATION SECURITY TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411181590.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-11-15
Estimated Expiration
2044-08-27

AI Technical Summary

Technical Problem

The prior art is difficult to effectively protect computer hard disk data, especially when the hard disk is disassembled or illegally accessed through an external PE boot disk, it is impossible to block the data read and write operations in time.

Method used

Design a data protection system, through the parallel communication bus between N data protection devices, use the main controller to detect the communication flow between the computer motherboard and the hard disk, generate startup abnormal information or correct boot notification, block or allow data connection, and Illegal disassembly and access are prevented through the entire machine anti-tamper detector, SATA cable disconnect detector and alarm.

Benefits of technology

Effectively prevent data leakage during illegal disassembly or external PE boot disk access, ensure that data is transmitted normally when legally booted, and enhance the security and protection capabilities of the hard disk.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118709239B_ABST
    Figure CN118709239B_ABST
Patent Text Reader

Abstract

The present invention provides a data protection system, method, electronic equipment and storage medium, which relate to the field of data security technology, and include: N data protection devices; when the main controllers of the N data protection devices all detect that the communication process between a computer mainboard and a hard disk does not conform to a preset startup process, computer startup abnormality information is generated, and the computer startup abnormality information is transmitted to other data protection devices through a communication bus, so that each data protection device blocks the data connection between the computer mainboard and the hard disk; when the main controller of any data protection device detects that the communication process between the computer mainboard and the hard disk conforms to the preset startup process, a correct boot operating system notification is generated, and the correct boot operating system notification is transmitted to other data protection devices through a communication bus, so that each other data protection device stops detecting SATA data and enters a data relay state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data security technology, and in particular to a data protection system, method, electronic device and storage medium. Background Art

[0002] With the continuous development of science and technology, data protection has become increasingly important. Generally speaking, installing security protection software on a computer system can strictly limit the randomness of user operations and protect against the aggressiveness of malicious software. However, the above security software is based on the operating system and can only provide security protection capabilities after the operating system is started.

[0003] Hard disk is the main medium for storing user data in computer system. There are many ways to steal hard disk data. Typically, after starting the PE system through the external PE boot disk of the computer, the computer's native hard disk is regarded as a data disk, and the data in the native disk can be read and written freely. Similarly, the computer's native hard disk can be removed and directly used as an auxiliary data disk of other computers through a USB adapter cable, and the data on the hard disk can still be read and written freely.

[0004] Therefore, how to better protect the data in the hard disk has become an urgent problem to be solved in the industry. Summary of the invention

[0005] The present invention provides a data protection system, method, electronic equipment and storage medium, which are used to solve the problem of protecting data in a computer hard disk.

[0006] The present invention provides a data protection system, comprising: N data protection devices; N is a positive integer greater than 1; each of the data protection devices is connected in parallel via a communication bus; the data protection device comprises: a main controller; the main controller comprises a first SATA interface and a second SATA interface, the first SATA interface is used to connect to a computer mainboard, and the second SATA interface is used to connect to a hard disk;

[0007] Wherein, when the main controllers of N data protection devices fail to detect that the communication process between the computer mainboard and the hard disk complies with the preset startup process within a preset time, computer startup abnormality information is generated, and the computer startup abnormality information is transmitted to other data protection devices through the communication bus, so that each of the data protection devices blocks the data connection between the computer mainboard and the hard disk;

[0008] Among them, when the main controller of any of the data protection devices detects that the communication process between the computer motherboard and the hard disk complies with the preset startup process, it generates a correct boot operating system notification, and transmits the correct boot operating system notification to other data protection devices through the communication bus, so that each of the other data protection devices stops detecting SATA data and enters the data relay state.

[0009] According to a data protection system provided by the present invention, the preset startup process includes:

[0010] The computer motherboard queries the hard disk and detects that a complete master boot record exists in the first sector of the hard disk, and the master boot record reads the partition table and determines the active primary partition in the partition table;

[0011] The computer mainboard reads the partition boot record of the active primary partition, and searches for the boot manager file bootmgr in the partition boot record. After bootmgr reads the \boot\bcd file, it starts winload.exe.

[0012] According to a data protection system provided by the present invention, the data protection device further comprises: a whole machine anti-disassembly detector, a SATA cable offline detector and an alarm; the whole machine anti-disassembly detector, the SATA cable offline detector and the alarm are all connected to the main controller;

[0013] Wherein, the whole machine anti-disassembly detector generates anti-disassembly alarm information when detecting the disassembly signal, and transmits the anti-disassembly alarm information to the main controller;

[0014] The SATA cable disconnection detector is used to generate anti-disassembly alarm information when detecting that the SATA cable of the first SATA interface or the second SATA interface is unplugged;

[0015] The main controller controls the blocking of data between the first SATA interface or the second SATA interface and the sending of alarm information by the alarm device according to the anti-disassembly alarm information.

[0016] According to a data protection system provided by the present invention, the main controller is also used for:

[0017] When the offline detector is used to detect that the SATA cable of the first SATA interface or the second SATA interface is unplugged and generates an anti-disassembly alarm message, and then detects that the SATA cable of the first SATA interface or the second SATA interface is plugged in again, the main controller continues to control the blocking of data between the first SATA interface or the second SATA interface and the alarm sends an alarm message.

[0018] According to a data protection system provided by the present invention, the whole machine anti-disassembly detector includes: a pressure sensor and a level high and low detection sensor;

[0019] The pressure sensor uses the pressure value exceeding the first preset threshold as disassembly information to generate anti-disassembly alarm information; the level high and low detection sensor uses the level jump as disassembly information to generate anti-disassembly alarm information.

[0020] According to a data protection system provided by the present invention, the alarm includes: at least one of a light emitting device and a buzzer;

[0021] Wherein, the light emitting device and buzzer are used to send alarm information.

[0022] According to a data protection system provided by the present invention, the system further comprises: a clock chip, a memory, a low voltage detection module and a battery, wherein the clock chip, the memory, the low voltage detection module and the battery are all connected to the main controller;

[0023] Wherein, the clock chip is used to maintain the clock data of the main controller;

[0024] Wherein, the battery is used to power the data protection system when the computer is shut down;

[0025] Wherein, the low voltage detection module is used to perform low voltage detection for the battery;

[0026] The memory is used to store user information, policy information, alarm information, and log information data.

[0027] According to a data protection system provided by the present invention, the system further comprises: a relay device interface; the relay device interface is used to access the relay device;

[0028] Wherein, the relay device is used to write alarm cancellation information to the main controller when the main controller controls the alarm to send alarm information according to the anti-dismantling alarm information, so that the main controller controls the alarm to stop alarming.

[0029] According to a data protection system provided by the present invention, the relay device is also used for:

[0030] Uploading the abnormal log storing the abnormal information of computer startup of each data protection device;

[0031] Or, the preset startup process and policy information are written into the main controller of the data protection device.

[0032] The embodiment of the present application also provides a data protection method based on the above data protection system, including:

[0033] When the main controllers of N data protection devices fail to detect that the communication process between the computer mainboard and the hard disk complies with the preset startup process within a preset time, computer startup abnormality information is generated, and the computer startup abnormality information is transmitted to other data protection devices through the communication bus, so that each of the data protection devices blocks the data connection between the computer mainboard and the hard disk;

[0034] Alternatively, when the main controller of any of the data protection devices detects that the communication process between the computer mainboard and the hard disk complies with the preset startup process, a correct boot operating system notification is generated, and the correct boot operating system notification is transmitted to other data protection devices through the communication bus, so that each of the other data protection devices stops detecting SATA data and enters a data relay state.

[0035] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the data protection methods described above is implemented.

[0036] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the data protection method described in any one of the above is implemented.

[0037] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned data protection methods.

[0038] The data protection system, method, electronic device and storage medium provided by the present invention, when the main controllers of N data protection devices do not detect that the communication process between the computer mainboard and the hard disk conforms to the preset startup process, the main controller generates computer startup abnormal information, the computer startup abnormal information is transmitted to other data protection devices through a communication bus, and the data protection device receiving the computer startup abnormal information blocks the data connection between the computer mainboard and the hard disk, thereby preventing data from being illegally read or written. When the main controller of any data protection device detects that the communication process between the computer mainboard and the hard disk conforms to the preset startup process, the main controller generates a correct boot operating system notification. The correct boot operating system notification is transmitted to other data protection devices through a communication bus. After receiving the notification, the other data protection devices stop detecting SATA data and enter a data relay state, allowing data to be transmitted normally. The system supports multi-hard disk scenarios, and each hard disk is connected to the computer mainboard through a data protection device. The control modules are connected through a bus to achieve multi-way linkage. Through this mechanism, the system can effectively prevent illegal access to hard disk data by means of an external PE boot disk or removing the hard disk. Only when the computer mainboard is started from the correct hard disk, the data protection device will allow data transmission, otherwise it will block the connection and may generate an alarm message. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0040] Figure 1 A schematic diagram of the data protection system structure provided in an embodiment of the present application;

[0041] Figure 2 A schematic diagram of the system structure provided in the embodiment of the present application;

[0042] Figure 3 A schematic diagram of a data protection method flow chart provided in an embodiment of the present application;

[0043] Figure 4 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0045] Figure 1 A schematic diagram of the data protection system structure provided in the embodiment of the present application is shown in FIG. Figure 1 As shown, it includes: N data protection devices 11; N is a positive integer greater than 1; each of the data protection devices 11 is connected in parallel through a communication bus; the data protection device 11 includes: a main controller 110; the main controller 110 includes a first SATA interface and a second SATA interface, the first SATA interface is used to connect to a computer motherboard, and the second SATA interface is used to connect to a hard disk;

[0046] Wherein, when the main controllers 110 of the N data protection devices 11 fail to detect that the communication process between the computer mainboard and the hard disk complies with the preset startup process within a preset time, computer startup abnormality information is generated, and the computer startup abnormality information is transmitted to other data protection devices through the communication bus, so that each of the data protection devices blocks the data connection between the computer mainboard and the hard disk;

[0047] Among them, when the main controller 110 of any data protection device 11 detects that the communication process between the computer motherboard and the hard disk complies with the preset startup process, it generates a correct boot operating system notification, and transmits the correct boot operating system notification to other data protection devices through the communication bus, so that each of the other data protection devices stops detecting SATA data and enters the data relay state.

[0048] Specifically, in the embodiment of the present application, the system is composed of N data protection devices, where N is a positive integer greater than 1, which means that there are at least two data protection devices, and the number of data protection devices can be determined according to user needs.

[0049] These data protection devices are interconnected via a communication bus to form a parallel network structure. This connection allows data and control signals to be transmitted between the devices.

[0050] The core of each data protection device is a host controller, which has two SATA interfaces for different connection purposes.

[0051] The first SATA interface connects to the computer's motherboard, which is usually the interface used for data transfer and communication. The second SATA interface connects to the hard disk, which is the device that stores data.

[0052] This system is designed to protect data on the hard disk through hardware control. Through the two SATA interfaces of the main controller, the system can monitor and manage the data transmission between the hard disk and the computer motherboard. When the data transmission complies with the preset security rules, the data protection device allows the data transmission; when abnormal or irregular data transmission is detected, the system will take measures to protect the data, such as blocking the connection or generating an alarm message. This mechanism can prevent unauthorized data access and data leakage.

[0053] Figure 2 A schematic diagram of the system structure provided in the embodiment of the present application, such as Figure 2 As shown, multiple data protection devices are connected in parallel between the mainboard and multiple hard disks, and the data protection devices are connected through a bus. After power-on, each data protection device detects the communication behavior between the mainboard and its respective hard disk. If all data protection devices detect that the communication behavior is abnormal, the data protection devices notify each other through the bus and implement the SATA protocol relay action. If any data protection device detects that the communication behavior is normal, that is, the computer mainboard boots from the hard disk to which it is connected, a notification of correctly booting the operating system is sent to other data protection devices through the bus. After receiving the information, other control modules no longer detect SATA data and are all in data relay state.

[0054] Specifically, each main controller is responsible for detecting whether the communication between the computer mainboard and the hard disk complies with the preset startup process. The preset startup process refers to the standard communication protocol and steps that should be followed between the mainboard and the hard disk when the system starts.

[0055] When the main controllers of the N data protection devices fail to detect that the communication process between the computer motherboard and the hard disk complies with the preset startup process within the preset time, it means that the computer motherboard cannot be started from the correct hard disk, and the main controller will generate a computer startup abnormality message. This message indicates that the current communication is abnormal, which may mean the risk of illegal access or data leakage.

[0056] The generated computer startup abnormality information does not stay only in the main controller that detects the abnormality, but is transmitted to other data protection devices in the system through the communication bus within the system. The communication bus is a channel connecting various data protection devices, allowing information to flow between them.

[0057] The data protection devices that receive abnormal information about the computer startup will take action to block the data connection between the computer motherboard and the hard disk to which they are respectively connected. This is done to prevent possible illegal data access or data leakage.

[0058] More specifically, when the main controller confirms that the communication process complies with the preset startup process, it generates a "correct boot operating system notification." This notification indicates that the current communication is legitimate and the system can safely boot the operating system.

[0059] This "correct boot operating system notification" is sent to other data protection devices in the system. The communication bus is a channel connecting various data protection devices, allowing information to flow between them.

[0060] After receiving the "correct boot operating system notification", other data protection devices will stop detecting SATA data. This means that they will no longer check whether the communication between the hard disk and the motherboard conforms to the preset startup process. At the same time, these data protection devices will enter the "data relay state". In this state, the data protection device allows the data between the hard disk and the motherboard to be transmitted normally without additional detection or control.

[0061] In the embodiment of the present application, when the system starts normally and the communication complies with the preset process, the main controller of any data protection device will notify other devices to stop detection and allow data to be transmitted normally. This mechanism ensures that the system will not make unnecessary interventions in the case of legal startup and data access, thereby ensuring the smooth operation of the system and the availability of data. At the same time, this also provides flexibility for the system, enabling it to adapt to different startup and operation conditions.

[0062] Optionally, the preset startup process includes:

[0063] The computer motherboard queries the hard disk and detects that a complete master boot record exists in the first sector of the hard disk, and the master boot record reads the partition table and determines the active primary partition in the partition table;

[0064] The computer mainboard reads the partition boot record of the active primary partition, and searches for the boot manager file bootmgr in the partition boot record. After bootmgr reads the \boot\bcd file, it starts winload.exe.

[0065] In the embodiment of the present application, the detection of the preset boot process can specifically be to detect the communication process between the computer motherboard and the hard disk, query whether there is a master boot record in the first sector of the hard disk, and confirm that the master boot record is complete. Detect whether the BIOS program reads the master boot record, whether the master boot record reads the partition table, and finds the active primary partition from it, and then reads the partition boot record of the active primary partition, the partition boot record searches for the boot manager file bootmgr, bootmgr reads the \boot\bcd file, and then starts winload.exe.

[0066] Optionally, the data protection device further comprises: a whole machine anti-disassembly detector, a SATA cable offline detector and an alarm; the whole machine anti-disassembly detector, the SATA cable offline detector and the alarm are all connected to the main controller;

[0067] Wherein, the whole machine anti-disassembly detector generates anti-disassembly alarm information when detecting the disassembly signal, and transmits the anti-disassembly alarm information to the main controller;

[0068] The SATA cable disconnection detector is used to generate anti-disassembly alarm information when detecting that the SATA cable of the first SATA interface or the second SATA interface is unplugged;

[0069] The main controller controls the blocking of data between the first SATA interface or the second SATA interface and the sending of alarm information by the alarm device according to the anti-disassembly alarm information.

[0070] In the embodiment of the present application, the data protection device includes three components in addition to the main controller: the whole machine anti-tampering detector, the SATA cable offline detector and the alarm. The whole machine anti-tampering detector, the SATA cable offline detector and the alarm are all connected to the main controller to form a coordinated system. This connection allows information transmission and control between them.

[0071] The responsibility of the whole machine anti-tampering detector is to detect whether there is any attempt to dismantle the data protection device. Once a dismantling action (such as physical contact or vibration) is detected, it will generate an anti-tampering alarm message. The anti-tampering alarm message generated by the whole machine anti-tampering detector will be sent to the main controller. In this way, the main controller can respond accordingly based on this information.

[0072] The main controller is also responsible for detecting whether the SATA cables connected to its first SATA interface (connected to the motherboard) and the second SATA interface (connected to the hard disk) are unplugged. If the cable is detected to be unplugged, the main controller will generate an anti-disassembly alarm message. After receiving the anti-disassembly alarm message, the main controller will control the alarm to send an alarm message. The alarm may be a sound or light device to warn the user or administrator that illegal disassembly has occurred.

[0073] The embodiments of the present application ensure that the data protection device is also highly secure at the physical level to prevent unauthorized disassembly and access.

[0074] Optionally, the SATA cable off-line detector is further used for:

[0075] After detecting that the SATA cable of the first SATA interface or the second SATA interface is unplugged and generating anti-disassembly alarm information, when the SATA cable of the first SATA interface or the second SATA interface is detected to be plugged in again, the main controller continues to control the alarm to send the alarm information.

[0076] In the embodiment of the present application, when the SATA cable disconnection detector detects that the SATA cable connected to the first SATA interface (connected to the computer motherboard) or the second SATA interface (connected to the hard disk) is unplugged, it will generate an anti-disassembly alarm message.

[0077] After generating the anti-tamper alarm message, if the SATA cable disconnection detector detects that the SATA cable of the same SATA interface is plugged in again, the connection is restored. In this case, the SATA cable disconnection detector will not stop the alarm. It will continue to control the alarm to send alarm messages until further measures are taken or the system is reset.

[0078] The purpose of this mechanism is to ensure that in the event of illegal removal or attempted access to the hard disk, the system can continue to issue warnings to alert users or administrators to security threats. By continuously sending alarm information, the system can ensure that any illegal behavior is discovered and handled in a timely manner.

[0079] Even if an unauthorized disassembler attempts to reconnect the SATA cable, the system will continue to alarm, preventing them from bypassing the security mechanism by reconnecting. This continuous monitoring and alarm mechanism increases the security of the system, making any attempt to illegally access the hard drive more difficult to succeed.

[0080] Optionally, the whole machine anti-disassembly detector includes: a pressure sensor and a level high and low detection sensor;

[0081] The pressure sensor uses the pressure value exceeding the first preset threshold as disassembly information to generate anti-disassembly alarm information; the level high and low detection sensor uses the level jump as disassembly information to generate anti-disassembly alarm information. In the embodiment of the present application, a key component of the whole machine anti-disassembly detector is the pressure sensor. This sensor is used to detect the pressure change applied to the data protection device.

[0082] The pressure sensor is designed to detect the pressure applied to the data protection device. When the applied pressure exceeds a preset threshold, the sensor will identify the pressure change as a possible disassembly behavior. Once the pressure exceeds the preset threshold, the pressure sensor will trigger the generation of an anti-disassembly alarm message. This alarm message indicates that someone may be trying to disassemble the data protection device, which may endanger the security of the data.

[0083] More specifically, when the level detection sensor detects a level jump, it will be considered that there may be a disassembly behavior at this time, and an anti-disassembly alarm message will be generated.

[0084] Optionally, the alarm includes: at least one of a light emitting device and a buzzer;

[0085] Wherein, the light emitting device and buzzer are used to send alarm information.

[0086] The system further comprises: a clock chip, a memory, a low voltage detection module and a battery, wherein the clock chip, the memory, the low voltage detection module and the battery are all connected to the main controller;

[0087] Wherein, the clock chip is used to maintain the clock data of the main controller;

[0088] Wherein, the battery is used to power the data protection system when the computer is shut down;

[0089] Wherein, the low voltage detection module is used to perform low voltage detection for the battery;

[0090] The memory is used to store user information, policy information, alarm information, and log information data.

[0091] Specifically, the battery is designed with a lithium battery, and when the computer is in the off state, it is used to support the power consumption of functions such as hard disk offline detection and disassembly detection.

[0092] Low voltage detection is used to detect low power of lithium batteries to avoid the battery power being too low, causing related detection functions to fail.

[0093] The buzzer is used to generate warning information to users and administrators through sound.

[0094] The clock chip is used to maintain the clock data of the control module time information.

[0095] The anti-disassembly detection function has two meanings. First, when the SATA cable connecting the control module and the hard disk is unplugged from any end, the control module can detect the unplugging behavior and identify it as the hard disk being detached from the control module, generating an alarm message. Second, the control module has a pressure sensor inside. After leaving the factory, if anyone disassembles the outer shell, an alarm message will be generated.

[0096] The storage module is used to store user information, policy information, alarm information, and log information data.

[0097] Optionally, the system further comprises: a relay device interface; the relay device interface is used to access the relay device;

[0098] Wherein, the relay device is used to write alarm cancellation information to the main controller when the main controller controls the alarm to send alarm information according to the anti-dismantling alarm information, so that the main controller controls the alarm to stop alarming.

[0099] In the embodiment of the present application, the data protection device has a relay device interface in addition to the existing components. This interface is used to connect an external relay device. The purpose of this interface is to allow an external relay device to be connected to the data protection system. The relay device can be another hardware device that is used to receive and process specific signals or commands.

[0100] When the main controller detects a tamper alarm (for example, a SATA cable is unplugged or a pressure sensor detects abnormal pressure), it controls the alarm to send an alarm message. The relay device has the ability to send a signal or message to the main controller to cancel the alarm. This message indicates that the security threat has been eliminated or confirmed as a false alarm.

[0101] After receiving the alarm cancellation message sent by the relay device, the main controller will control the alarm to stop sending alarm messages. This allows the system to return to normal and stop unnecessary alarms.

[0102] In the embodiment of the present application, through the relay device interface and the relay device, the system provides a flexible way to handle security alarms, allowing the alarm to be stopped after safety is confirmed.

[0103] Optionally, the relay device is further used for:

[0104] Uploading the abnormal log storing the abnormal information of computer startup of each data protection device;

[0105] Or, the preset startup process and policy information are written into the main controller of the data protection device.

[0106] In the embodiment of the present application, the relay device has the function of transferring the computer startup abnormality information (ie abnormality log) collected by each data protection device, which means that the relay device can receive abnormality log data from each data protection device.

[0107] Relay upload means that the relay device forwards these abnormal log data to another system or storage location, such as a central monitoring system or log server, for centralized management and analysis.

[0108] More specifically, the relay device can also be used to update or configure the main controller of the data protection device, including writing the preset startup process and policy information into the main controller.

[0109] The preset startup process refers to the standard steps or protocols that the system should follow when starting up. Policy information may include security rules, access control lists, behavior monitoring parameters, etc., which are used to guide the main controller on how to monitor and respond to different events.

[0110] Optionally, Figure 3 A schematic diagram of a data protection method flow chart provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, including:

[0111] When the main controllers of N data protection devices fail to detect that the communication process between the computer mainboard and the hard disk complies with the preset startup process within a preset time, computer startup abnormality information is generated, and the computer startup abnormality information is transmitted to other data protection devices through the communication bus, so that each of the data protection devices blocks the data connection between the computer mainboard and the hard disk;

[0112] Alternatively, when the main controller of any of the data protection devices detects that the communication process between the computer mainboard and the hard disk complies with the preset startup process, a correct boot operating system notification is generated, and the correct boot operating system notification is transmitted to other data protection devices through the communication bus, so that each of the other data protection devices stops detecting SATA data and enters a data relay state.

[0113] The embodiments of the data protection method described in the embodiments of the present application and the data protection system described above can be referenced to each other and will not be repeated here.

[0114] In the embodiment of the present application, when the main controllers of N data protection devices all detect that the communication process between the computer mainboard and the hard disk does not conform to the preset startup process, the main controller generates computer startup abnormal information, and the computer startup abnormal information is transmitted to other data protection devices through the communication bus. The data protection device that receives the computer startup abnormal information blocks the data connection between the computer mainboard and the hard disk, thereby preventing data from being illegally read or written. When the main controller of any data protection device detects that the communication process between the computer mainboard and the hard disk conforms to the preset startup process, the main controller generates a correct boot operating system notification. The correct boot operating system notification is transmitted to other data protection devices through the communication bus. After receiving the notification, the other data protection devices stop detecting SATA data and enter the data relay state, allowing data to be transmitted normally. The system supports multiple hard disk scenarios, and each hard disk is connected to the computer mainboard through a data protection device. The control modules are connected through a bus to achieve multi-way linkage. Through this mechanism, the system can effectively prevent illegal access to hard disk data by means of an external PE boot disk or removing the hard disk. Only when the computer mainboard is started from the correct hard disk will the data protection device allow data transmission, otherwise it will block the connection and may generate an alarm message.

[0115] Figure 4 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 4 As shown, the electronic device may include: a processor 410, a communications interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communications interface 420 and the memory 430 communicate with each other via the communications bus 440. The processor 410 may call the logic instructions in the memory 430 to execute the data protection method, which includes: generating computer startup abnormality information when the main controllers of N data protection devices do not detect that the communication process between the computer motherboard and the hard disk complies with the preset startup process within a preset time, and transmitting the computer startup abnormality information to other data protection devices via the communications bus, so that each of the data protection devices blocks the data connection between the computer motherboard and the hard disk;

[0116] Alternatively, when the main controller of any of the data protection devices detects that the communication process between the computer mainboard and the hard disk complies with the preset startup process, a correct boot operating system notification is generated, and the correct boot operating system notification is transmitted to other data protection devices through the communication bus, so that each of the other data protection devices stops detecting SATA data and enters a data relay state.

[0117] 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 invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for 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 invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0118] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the data protection method provided by the above methods, the method comprising: when the main controllers of N data protection devices do not detect that the communication process between the computer mainboard and the hard disk complies with the preset startup process within a preset time, generating computer startup abnormality information, and transmitting the computer startup abnormality information to other data protection devices through the communication bus, so that each of the data protection devices blocks the data connection between the computer mainboard and the hard disk;

[0119] Alternatively, when the main controller of any of the data protection devices detects that the communication process between the computer mainboard and the hard disk complies with the preset startup process, a correct boot operating system notification is generated, and the correct boot operating system notification is transmitted to other data protection devices through the communication bus, so that each of the other data protection devices stops detecting SATA data and enters a data relay state.

[0120] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the data protection method provided by the above methods is implemented, the method comprising: generating computer startup abnormality information when the main controllers of N data protection devices fail to detect that the communication process between the computer mainboard and the hard disk complies with the preset startup process within a preset time, and transmitting the computer startup abnormality information to other data protection devices through the communication bus, so that each of the data protection devices blocks the data connection between the computer mainboard and the hard disk;

[0121] Alternatively, when the main controller of any of the data protection devices detects that the communication process between the computer mainboard and the hard disk complies with the preset startup process, a correct boot operating system notification is generated, and the correct boot operating system notification is transmitted to other data protection devices through the communication bus, so that each of the other data protection devices stops detecting SATA data and enters a data relay state.

[0122] 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.

[0123] 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, 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.

[0124] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention 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 invention.

Claims

1. A data protection system, characterized in that: include: N data protection devices; N is a positive integer greater than 1; The data protection devices are connected in parallel via a communication bus; The data protection device comprises: a main controller; the main controller comprises a first SATA interface and a second SATA interface, the first SATA interface is used to connect to a computer motherboard, and the second SATA interface is used to connect to a hard disk; Wherein, when the main controllers of N data protection devices fail to detect that the communication process between the computer mainboard and the hard disk complies with the preset startup process within a preset time, computer startup abnormality information is generated, and the computer startup abnormality information is transmitted to other data protection devices through the communication bus, so that each of the data protection devices blocks the data connection between the computer mainboard and the hard disk; Wherein, when the main controller of any of the data protection devices detects that the communication process between the computer mainboard and the hard disk complies with the preset startup process, it generates a notification of correctly booting the operating system, and transmits the notification of correctly booting the operating system to other data protection devices through the communication bus, so that each of the other data protection devices stops detecting SATA data and enters a data relay state; The preset startup process includes: The computer motherboard queries the hard disk and detects that a complete master boot record exists in the first sector of the hard disk, and the master boot record reads the partition table and determines the active primary partition in the partition table; The computer mainboard reads the partition boot record of the active primary partition, and searches for the boot manager file bootmgr in the partition boot record. After bootmgr reads the \boot\bcd file, it starts winload.exe.

2. The data protection system according to claim 1, characterized in that: The data protection device further comprises: a whole machine anti-disassembly detector, a SATA cable off-line detector and an alarm; the whole machine anti-disassembly detector, the SATA cable off-line detector and the alarm are all connected to the main controller; Wherein, the whole machine anti-disassembly detector generates anti-disassembly alarm information when detecting the disassembly signal, and transmits the anti-disassembly alarm information to the main controller; The SATA cable disconnection detector is used to generate anti-disassembly alarm information when detecting that the SATA cable of the first SATA interface or the second SATA interface is unplugged; The main controller controls the blocking of data between the first SATA interface or the second SATA interface and the sending of alarm information by the alarm device according to the anti-disassembly alarm information.

3. The data protection system according to claim 2, characterized in that: The SATA cable off-line detector is also used for: After detecting that the SATA cable of the first SATA interface or the second SATA interface is unplugged and generating an anti-disassembly alarm message, when the SATA cable of the first SATA interface or the second SATA interface is detected to be plugged in again, the main controller continues to control the blocking of data between the first SATA interface or the second SATA interface and the alarm sends an alarm message.

4. The data protection system according to claim 2, characterized in that: The whole machine anti-disassembly detector includes: a pressure sensor and a level detection sensor; The pressure sensor uses the pressure value exceeding the first preset threshold as disassembly information to generate anti-disassembly alarm information; the level high and low detection sensor uses the level jump as disassembly information to generate anti-disassembly alarm information.

5. The data protection system according to claim 2, characterized in that: The alarm device comprises: at least one of a light emitting device and a buzzer; Wherein, the light emitting device and buzzer are used to send alarm information.

6. The data protection system according to claim 2, characterized in that: The system further comprises: a clock chip, a memory, a low voltage detection module and a battery, wherein the clock chip, the memory, the low voltage detection module and the battery are all connected to the main controller; Wherein, the clock chip is used to maintain the clock data of the main controller; Wherein, the battery is used to power the data protection system when the computer is shut down; Wherein, the low voltage detection module is used to perform low voltage detection for the battery; The memory is used to store user information, policy information, alarm information, and log information data.

7. The data protection system according to claim 2, characterized in that: The system further comprises: a relay device interface; the relay device interface is used to access the relay device; Wherein, the relay device is used to write alarm cancellation information to the main controller when the main controller controls the alarm to send alarm information according to the anti-dismantling alarm information, so that the main controller controls the alarm to stop alarming.

8. The data protection system according to claim 2, characterized in that: The relay device is also used for: Uploading the abnormal log storing the abnormal information of computer startup of each data protection device; Or, the preset startup process and policy information are written into the main controller of the data protection device.

9. A data protection method based on the data protection system according to any one of claims 1 to 8, characterized in that: include: When the main controllers of N data protection devices fail to detect that the communication process between the computer mainboard and the hard disk complies with the preset startup process within a preset time, computer startup abnormality information is generated, and the computer startup abnormality information is transmitted to other data protection devices through the communication bus, so that each of the data protection devices blocks the data connection between the computer mainboard and the hard disk; Alternatively, when the main controller of any of the data protection devices detects that the communication process between the computer mainboard and the hard disk complies with the preset startup process, a correct boot operating system notification is generated, and the correct boot operating system notification is transmitted to other data protection devices through the communication bus, so that each of the other data protection devices stops detecting SATA data and enters a data relay state.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the data protection method as claimed in claim 9 is implemented.

11. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the data protection method as claimed in claim 9 is implemented.