Data protection method and system based on USB flash disk

By evaluating the working environment and signal interference of the USB flash drive, dynamically adjusting the risk assessment threshold, and dividing monitoring cycles for data protection, the problem of anti-loss of USB flash drives is solved, and data security and service life of USB flash drives are improved.

CN119442350AInactive Publication Date: 2025-02-14深圳市东华翔科技有限公司

Patent Information

Application Number
CN202411579975.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-07
Publication Date
2025-02-14
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing USB disk data protection methods mainly focus on data encryption, access control and data recovery, and failed to effectively solve the problem of USB disk physical loss, resulting in users being unable to discover and retrieve the USB disk in time.

Method used

By obtaining the working environment data of the USB disk and the number of interference sources in the signal interference area, the degree of environmental interference is evaluated, and the storage medium state risk assessment threshold is dynamically adjusted. At the same time, monitor the position and signal status of the USB flash drive, divide the monitoring cycle, and perform primary and secondary data protection to ensure data security.

Benefits of technology

Effectively evaluate the risk of USB disk status, ensure that data is not lost in complex Bluetooth communication environments, reasonably allocate monitoring resources, improve efficiency, and extend the service life of USB disk.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119442350A_ABST
    Figure CN119442350A_ABST
Patent Text Reader

Abstract

The invention discloses a data protection method and system based on a USB flash disk, and relates to the technical field of USB flash disk security, and the method comprises the steps: obtaining the working environment data of a storage medium, collecting the number of interference sources in a signal interference region, and obtaining an environment interference degree evaluation value through processing; dynamically adjusting a preset storage medium state risk assessment threshold according to the environment interference degree assessment value; monitoring the state data of the storage medium, processing the state data to obtain a storage medium position anomaly evaluation value, and performing monitoring period division according to the storage medium position anomaly evaluation value to obtain a first monitoring period and a second monitoring period; performing primary data protection according to the state data of the storage medium in the first monitoring period; and according to the state data of the storage medium in the second monitoring period and the environment interference degree assessment value, performing comprehensive analysis to obtain a storage medium state risk assessment value, and performing secondary data protection according to the storage medium state risk assessment value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of U disk security technology, in particular to a data protection method and system based on a U disk. Background Art

[0002] As a convenient mobile storage tool, USB flash drives are frequently used in office and personal life. However, their portability and ease of use also bring potential information security risks. USB flash drive data protection technology is mainly designed to deal with various security risks that may be encountered during the use of USB flash drives, such as data leakage, malicious code propagation, illegal access, etc., to ensure the security of USB flash drive data.

[0003] For example, the invention patent with announcement number CN110807212B is a USB flash drive data protection system and method based on real-time multi-party interactive authentication, which involves the field of USB flash drive security technology. Its technical points include a USB flash drive, which includes a main control chip, a storage chip, a connection interface and an encrypted Bluetooth module; the main control chip is connected to the encrypted Bluetooth module and receives information about the communication status of the encrypted Bluetooth module; the main control chip is connected to the storage chip to control whether the storage chip is in a disk-drop state; a mobile terminal, which has a built-in decryption Bluetooth module with a communication key of the encrypted Bluetooth module; after the encryption Bluetooth module and the decryption Bluetooth module communicate, the mobile terminal and the USB flash drive send heartbeat packets to each other to achieve continuous communication, and the main control chip controls the sending of a disk-drop command or a disk-mounting command to the storage chip based on the communication status information received from the encrypted Bluetooth module, so that the USB flash drive switches to the disk-drop state or the disk-mounting state.

[0004] For example, the invention patent with announcement number CN110334501B is a data protection method, device and equipment based on a U disk, including: transmitting password verification and partition switching instructions to the U disk by data transmission, and the U disk controller can verify the transmitted password verification and partition switching instructions to obtain a verification result, and the U disk controller can record the new password or switch partition information and update it according to the verification result, when the verification result verifies that the instruction is a partition switching instruction or an instruction to update the password, and at the same time clears the data written to the file address, and unplugs and plugs the U disk to power on the U disk again, and the U disk controller enters the private partition according to the partition switching instruction after unplugging and plugging the U disk to power on the U disk again.

[0005] However, in the process of implementing the technical solution of the invention in the embodiments of the present application, the present applicant discovered that the above technology has at least the following technical problems: the current USB flash drive data protection method mainly focuses on data encryption, access control, and data recovery, but has limitations in solving the problem of physical anti-loss of USB flash drives, resulting in users being unable to find and retrieve the USB flash drive in time. Summary of the invention

[0006] In view of the deficiencies in the prior art, the present invention provides a data protection method and system based on a USB flash drive, which can effectively solve the problems involved in the above-mentioned background technology.

[0007] To achieve the above objectives, the present invention is implemented through the following technical solutions: The first aspect of the present invention provides a data protection method based on a USB flash drive, including: obtaining storage medium working environment data, and collecting the number of interference sources in the signal interference area, obtaining an environmental interference degree assessment value after processing, and dynamically adjusting a preset storage medium status risk assessment threshold according to the environmental interference degree assessment value.

[0008] The state data of the storage medium is monitored and processed to obtain a storage medium position abnormality assessment value, and the monitoring period is divided according to the storage medium position abnormality assessment value to obtain a first monitoring period and a second monitoring period.

[0009] Initial data protection is performed based on the state data of the storage medium during the first monitoring period.

[0010] Based on the storage medium status data and the environmental interference degree assessment value in the second monitoring period, a storage medium status risk assessment value is obtained through comprehensive analysis, and secondary data protection is performed based on the storage medium status risk assessment value.

[0011] As a further method, the processing obtains an environmental interference degree assessment value, and the specific process is: the storage medium working environment data includes ambient temperature, ambient humidity and electrostatic strength; obtaining the reference working environment temperature, reference working environment humidity, allowable deviation ambient temperature, allowable deviation ambient humidity, critical electrostatic strength and critical number of interference sources from the storage medium database; based on the storage medium working environment data and the number of interference sources, a comprehensive analysis is performed to obtain the environmental interference degree assessment value.

[0012] As a further method, the preset storage medium state risk assessment threshold is dynamically adjusted according to the environmental interference degree assessment value. The specific process is: matching the environmental interference degree assessment value with the state risk compensation value corresponding to each environmental interference degree assessment value interval preset in the storage medium database to obtain the state risk compensation value at the current time point; obtaining the preset storage medium state risk assessment threshold from the storage medium database, summing the storage medium state risk assessment threshold and the state risk compensation value at the current time point, and marking the sum result as the storage medium state risk assessment threshold at the current time point.

[0013] As a further method, the status data of the storage medium includes: signal status data of the storage medium and position status data of the storage medium; wherein, the signal status data of the storage medium specifically includes: signal strength, transmission rate, number of connection interruptions and delay time; the position status data of the storage medium specifically includes: tilt angle and vibration intensity.

[0014] As a further method, the processing obtains a storage medium position abnormality evaluation value, and the specific process is: obtaining a critical vibration intensity and an allowable deviation tilt angle from a storage medium database; analyzing according to the position state data of the storage medium to obtain a storage medium position abnormality evaluation value.

[0015] As a further method, the monitoring period is divided according to the storage medium position abnormality evaluation value to obtain a first monitoring period and a second monitoring period. The specific process is: obtaining a preset signal monitoring period and a storage medium position abnormality evaluation threshold from a storage medium database; comparing the storage medium position abnormality evaluation value with the storage medium position abnormality evaluation threshold; if the storage medium position abnormality evaluation value is greater than or equal to the storage medium position abnormality evaluation threshold, marking the storage medium position state as an abnormal state, and extracting the time point when the storage medium position state is an abnormal state and marking it as an abnormal time point; marking the signal monitoring period before the abnormal time point as the first monitoring period, and marking the signal monitoring period after the abnormal time point as the second monitoring period.

[0016] As a further method, the initial data protection is performed based on the status data of the storage medium in the first monitoring period. The specific process is: extract the signal status data of the storage medium in the first monitoring period for analysis to obtain the storage medium signal anomaly evaluation value of the first monitoring period; obtain the preset storage medium signal anomaly evaluation threshold.

[0017] The storage medium signal abnormality assessment value of the first monitoring period is compared with the storage medium signal abnormality assessment threshold. If the storage medium signal abnormality assessment value of the first monitoring period is less than the storage medium signal abnormality assessment threshold, the storage data of the storage medium is backed up via wireless transmission.

[0018] If the storage medium signal abnormality assessment value of the first monitoring cycle is greater than or equal to the storage medium signal abnormality assessment threshold, no additional operation is performed, and it is determined whether to perform secondary data protection.

[0019] As a further method, secondary data protection is performed based on the storage medium status risk assessment value. The specific analysis process is: extract the signal status data of the storage medium in the second monitoring period for analysis to obtain the storage medium signal anomaly assessment value of the second monitoring period; analyze the storage medium signal anomaly assessment value, the storage medium position anomaly assessment value and the environmental interference degree assessment value of the second monitoring period to obtain the storage medium status risk assessment value.

[0020] The storage medium status risk assessment value is compared with the storage medium status risk assessment threshold at the current time point. If the storage medium status risk assessment value is greater than or equal to the storage medium status risk assessment threshold at the current time point, it is determined that the storage medium is at risk of data loss, and storage medium data encryption is enabled, while feedback warning is issued.

[0021] If the storage medium status risk assessment value is less than the storage medium status risk assessment threshold at the current time point, the storage medium status is determined to be normal, and no additional operation is performed.

[0022] The second aspect of the present invention provides a data protection system based on a USB flash drive, including: a working environment assessment module, used to obtain storage medium working environment data, and collect the number of interference sources in the signal interference area, and obtain an environmental interference degree assessment value after processing, and dynamically adjust the preset storage medium status risk assessment threshold according to the environmental interference degree assessment value.

[0023] The monitoring cycle division module is used to monitor the status data of the storage medium, and process it to obtain the storage medium position abnormality evaluation value, and divide the monitoring cycle according to the storage medium position abnormality evaluation value to obtain the first monitoring cycle and the second monitoring cycle.

[0024] The initial data protection module is used to perform initial data protection according to the state data of the storage medium in the first monitoring period.

[0025] The secondary data protection module is used to obtain a storage medium status risk assessment value by comprehensive analysis based on the storage medium status data and the environmental interference degree assessment value in the second monitoring period, and perform secondary data protection based on the storage medium status risk assessment value.

[0026] Compared with the prior art, the embodiments of the present invention have at least the following beneficial effects: (1) The present invention provides a data protection method and system based on a USB flash drive, evaluates the risk of the USB flash drive status, divides the monitoring period based on the USB flash drive location and signal status, and carries out primary data protection and secondary data protection, thereby enhancing data security, ensuring that data is not lost in a complex Bluetooth communication environment, reasonably allocating monitoring resources, improving efficiency, and extending the service life of the USB flash drive.

[0027] (2) The present invention can more accurately reflect the risks actually faced by the storage medium by dynamically adjusting the storage medium status risk assessment threshold according to the environmental interference degree assessment value, and can promptly discover possible problems with the storage medium. Dynamic adjustment of the threshold helps to formulate a more reasonable maintenance plan, reduce unnecessary maintenance operations, and reduce maintenance costs.

[0028] (3) The present invention comprehensively analyzes the location status, signal status and working environment of the storage medium, and can comprehensively consider the factors affecting the storage medium status, thereby improving the accuracy of storage medium risk assessment and helping to predict possible storage medium failures in advance.

[0029] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 It is a schematic diagram of the method flow of the present invention.

[0031] Figure 2 It is a schematic diagram of system module connection of the present invention.

[0032] Figure 3 Schematic diagram of the functional relationship between the storage medium position anomaly assessment value and the storage medium status risk assessment value involved in an embodiment of the present invention. DETAILED DESCRIPTION

[0033] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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.

[0034] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0035] Reference Figure 1As shown, the first aspect of the present invention provides a data protection method based on a U disk, including: obtaining storage medium working environment data, and collecting the number of interference sources in the signal interference area, obtaining an environmental interference degree assessment value after processing, and dynamically adjusting a preset storage medium status risk assessment threshold according to the environmental interference degree assessment value.

[0036] It should be understood that the storage medium in this embodiment refers to a USB flash drive, and the USB flash drive wirelessly communicates with a signal receiving end via a Bluetooth module. The signal receiving end includes smart electronic devices such as mobile phones and computers.

[0037] In this embodiment, the signal interference area refers to the Bluetooth communication impact area of ​​the USB flash drive and the signal receiving end. The preset USB flash drive Bluetooth working radius and the signal receiving end Bluetooth working radius can be directly obtained to obtain the USB flash drive Bluetooth working area and the signal receiving end Bluetooth working area. The union of the USB flash drive Bluetooth working area and the signal receiving end Bluetooth working area is taken and marked as the Bluetooth communication impact area of ​​the USB flash drive and the signal receiving end. The number of interference sources refers to the number of other Bluetooth devices in the signal interference area except the USB flash drive and the signal receiving end, which can be directly sensed by the Bluetooth module of the USB flash drive and the signal receiving end.

[0038] The state data of the storage medium is monitored and processed to obtain a storage medium position abnormality assessment value, and the monitoring period is divided according to the storage medium position abnormality assessment value to obtain a first monitoring period and a second monitoring period.

[0039] Initial data protection is performed based on the state data of the storage medium during the first monitoring period.

[0040] Based on the storage medium status data and the environmental interference degree assessment value in the second monitoring period, a storage medium status risk assessment value is obtained through comprehensive analysis, and secondary data protection is performed based on the storage medium status risk assessment value.

[0041] Specifically, the environmental interference degree evaluation value is obtained by processing, and the specific process is as follows: the working environment data of the storage medium includes environmental temperature, environmental humidity and static electricity intensity.

[0042] It should be understood that in this embodiment, the storage medium working environment data is collected by an environmental sensor on the surface of the storage medium. For example, the ambient temperature can be monitored by a temperature sensor, the ambient humidity can be monitored by a humidity sensor, and the static electricity intensity can be monitored by an static electricity sensor.

[0043] The reference working environment temperature, the reference working environment humidity, the allowable deviation environment temperature, the allowable deviation environment humidity, the critical electrostatic intensity and the number of critical interference sources are obtained from the storage medium database.

[0044] It should be understood that in this embodiment, the critical electrostatic strength refers to the critical value of the electrostatic strength that affects the normal operation of the USB flash drive, and the critical number of interference sources refers to the critical value of the number of interference sources that affects the normal operation of the USB flash drive.

[0045] Based on the storage medium working environment data and the number of interference sources, a comprehensive analysis is performed to obtain an assessment value of the environmental interference degree.

[0046] In a specific embodiment, the environmental interference level evaluation value is obtained in the following manner: ; In the formula, represents the environmental interference assessment value, e represents the natural constant, Indicates the ambient temperature, Indicates the reference working environment temperature, Indicates the allowable deviation ambient temperature, Indicates the ambient humidity. Indicates the reference working environment humidity, Indicates the allowable deviation of ambient humidity, Indicates the electrostatic strength, represents the critical electrostatic strength, Indicates the number of interference sources, represents the number of critical interference sources, Indicates the environmental interference level influence factor corresponding to the preset ambient temperature. Indicates the environmental interference level influence factor corresponding to the preset environmental humidity. Indicates the environmental interference level influence factor corresponding to the preset electrostatic intensity. Indicates the environmental interference level impact factor corresponding to the preset number of interference sources.

[0047] It should be understood that in this embodiment , , and The environmental interference degree influencing factors corresponding to the environmental temperature, environmental humidity, electrostatic strength and number of interference sources preset in the storage medium database respectively represent the numerical values ​​of the influence of the environmental temperature, environmental humidity, electrostatic strength and number of interference sources on the environmental interference degree evaluation value, and can be directly obtained from the storage medium database when used. For example, a mapping set is formed by combining the volume of the storage medium with the environmental interference degree influencing factors corresponding to the environmental temperature, environmental humidity, electrostatic strength and number of interference sources preset in the storage medium database, and the environmental interference degree influencing factors corresponding to the environmental temperature, environmental humidity, electrostatic strength and number of interference sources are obtained according to the volume of the storage medium input mapping set, wherein the mapping relationship is a one-to-one relationship. In this embodiment, the value range of the influencing factor is between 0 and 1.

[0048] In this embodiment, the environmental interference degree evaluation value is used to quantitatively evaluate the degree of interference of environmental factors on the normal operation of the storage medium. The more the ambient temperature and ambient humidity deviate from the reference value, the greater the environmental interference degree evaluation value; the greater the static electricity intensity and the number of interference sources, the greater the environmental interference degree evaluation value, indicating that the environmental factors have a greater degree of interference with the normal operation of the storage medium.

[0049] The algorithm of this embodiment combines the ambient temperature, ambient humidity, static electricity intensity and the number of interference sources, and comprehensively analyzes to obtain the environmental interference degree evaluation value. In this formula, the ambient temperature, ambient humidity, static electricity intensity and the number of interference sources will affect each other. Changes in ambient temperature and humidity will change the conditions for the generation and dissipation of static electricity, thereby affecting the static electricity intensity. Changes in static electricity intensity and changes in ambient temperature and humidity may change the interference characteristics of existing interference sources. By comprehensively analyzing the ambient temperature, ambient humidity, static electricity intensity and the number of interference sources, the environmental interference degree evaluation value can be accurately obtained, and the degree of interference of the environment on the storage medium can be quantitatively described.

[0050] Specifically, the preset storage medium state risk assessment threshold is dynamically adjusted according to the environmental interference degree assessment value. The specific process is: matching the environmental interference degree assessment value with the state risk compensation value corresponding to each environmental interference degree assessment value interval preset in the storage medium database to obtain the state risk compensation value at the current time point.

[0051] It should be understood that in this embodiment, each environmental interference degree evaluation value interval and the state risk compensation value are in a one-to-one correspondence. By obtaining the interval to which the environmental interference degree evaluation value belongs, the state risk compensation value corresponding to the environmental interference degree evaluation value interval can be obtained.

[0052] The preset storage medium status risk assessment threshold is obtained from the storage medium database, the storage medium status risk assessment threshold is summed with the status risk compensation value at the current time point, and the summation result is marked as the storage medium status risk assessment threshold at the current time point.

[0053] It should be understood that the state of the storage medium in this embodiment is affected by environmental interference, and different degrees of environmental interference will have different degrees of impact on the performance and reliability of the storage medium. By dynamically adjusting the storage medium state risk assessment threshold according to the environmental interference level assessment value, the actual risk faced by the storage medium can be more accurately reflected. If the environmental interference increases, appropriately lowering the risk assessment threshold can detect possible problems with the storage medium earlier, avoiding ignoring potential risks due to setting the threshold too high. Dynamically adjusting the threshold helps to formulate a more reasonable maintenance plan. When the environmental interference level is low, the risk assessment threshold can be appropriately increased to reduce unnecessary maintenance operations and reduce maintenance costs.

[0054] By adjusting the threshold in real time according to the degree of environmental interference, measures can be taken when the storage medium is slightly disturbed but has not yet been seriously damaged. This reduces the damage to the storage medium caused by environmental interference, thereby extending its service life. Dynamic adjustment of the threshold can better ensure the security and reliability of data. By promptly discovering the risk of data loss or damage that may occur in a high-interference environment, measures such as data backup and migration can be taken to prevent data loss due to storage medium failure.

[0055] Specifically, the status data of the storage medium includes: signal status data of the storage medium and position status data of the storage medium; wherein the signal status data of the storage medium specifically includes: signal strength, transmission rate, number of connection interruptions and delay time.

[0056] It should be understood that the signal state data of the storage medium in this embodiment can be directly obtained by the application program of the signal receiving end. The delay time refers to the time it takes for the signal to reach the input end from the output end. The transmission rate refers to the amount of data transmitted per unit time between the storage medium and the signal receiving end. The unit of data volume is usually bits, and the unit of time is usually seconds.

[0057] The position status data of the storage medium includes: tilt angle and vibration intensity.

[0058] It should be understood that in this embodiment, the tilt angle of the storage medium can be monitored by a gyroscope, and the vibration intensity of the storage medium can be monitored by an acceleration sensor. The tilt angle refers to the angle formed by the storage medium relative to the horizontal plane.

[0059] Specifically, the storage medium position abnormality evaluation value is obtained by processing, and the specific process is: obtaining the critical vibration intensity and the allowable deviation tilt angle from the storage medium database.

[0060] It should be understood that the critical vibration intensity in this embodiment refers to the critical value of the vibration intensity that affects the normal operation of the USB flash drive.

[0061] The storage medium position abnormality assessment value is obtained by analyzing the position status data of the storage medium.

[0062] In a specific embodiment, the storage medium position abnormality evaluation value is obtained in the following manner: ; In the formula, Indicates the storage medium location abnormality assessment value, Indicates the tilt angle of the storage medium at the current time point, Indicates the tilt angle of the storage medium at the previous adjacent time point, Indicates the allowable deviation tilt angle, Indicates the vibration intensity. Indicates the critical vibration intensity, Indicates the storage medium position abnormality impact factor corresponding to the preset tilt angle, Indicates the storage medium position abnormality impact factor corresponding to the preset vibration intensity.

[0063] It should be understood that in this embodiment and The storage medium position abnormality influencing factors corresponding to the tilt angle and vibration intensity preset in the storage medium database respectively represent the numerical values ​​of the degree of influence of the tilt angle and vibration intensity on the storage medium position abnormality evaluation value, and can be directly obtained from the storage medium database when used. For example, a mapping set is formed by combining the volume of the storage medium with the storage medium position abnormality influencing factors corresponding to the tilt angle and vibration intensity preset in the storage medium database, and the storage medium position abnormality influencing factors corresponding to the tilt angle and vibration intensity are obtained according to the volume of the storage medium input mapping set, wherein the mapping relationship is a one-to-one relationship. In this embodiment, the value range of the influencing factor is between 0 and 1.

[0064] In this embodiment, the storage medium position abnormality assessment value is used to quantitatively assess the degree of storage medium position abnormality. The greater the change in the storage medium tilt angle at adjacent time points, or the greater the storage medium vibration intensity, the greater the corresponding storage medium position abnormality assessment value, indicating that the physical position of the storage medium is more abnormal, and there may be a risk of falling.

[0065] The algorithm of this embodiment combines the tilt angle and the vibration intensity to obtain a storage medium position abnormality assessment value through comprehensive analysis. In this formula, there is a correlation between the tilt angle and the vibration intensity. The change in vibration intensity may cause the tilt angle of the storage medium to change, and the size of the tilt angle may also have a feedback effect on the vibration intensity. By comprehensively analyzing the tilt angle and the vibration intensity, the storage medium position abnormality assessment value can be accurately obtained, and the degree to which the storage medium position deviates from the normal state can be quantitatively described.

[0066] Specifically, the monitoring period is divided according to the storage medium position abnormality assessment value to obtain the first monitoring period and the second monitoring period. The specific process is: obtaining a preset signal monitoring period and a storage medium position abnormality assessment threshold from a storage medium database.

[0067] It should be understood that the preset signal monitoring period in this embodiment refers to the minimum unit time length for monitoring the signal status data of the storage medium.

[0068] The storage medium position anomaly assessment value is compared with the storage medium position anomaly assessment threshold. If the storage medium position anomaly assessment value is greater than or equal to the storage medium position anomaly assessment threshold, the storage medium position state is marked as an abnormal state, and the time point when the storage medium position state is an abnormal state is extracted and marked as an abnormal time point.

[0069] The signal monitoring period before the abnormal time point is marked as the first monitoring period, and the signal monitoring period after the abnormal time point is marked as the second monitoring period.

[0070] Specifically, the initial data protection is performed according to the state data of the storage medium in the first monitoring period. The specific process is: extracting the signal state data of the storage medium in the first monitoring period for analysis to obtain the storage medium signal abnormality evaluation value in the first monitoring period.

[0071] In a specific embodiment, the critical minimum working signal strength, the critical minimum working transmission rate, the critical maximum number of connection interruptions and the critical maximum delay time are obtained from the storage medium database, the signal strength and transmission rate at each time point in the monitoring period are collected, and the number of connection interruptions and the delay time in the monitoring period are obtained. A signal state evaluation model is constructed based on the signal state data, and the storage medium signal abnormality evaluation value is obtained in the following manner: ; In the formula, represents the storage medium signal abnormality evaluation value, e represents a natural constant, represents the signal strength at the i-th time point, Indicates the critical minimum working signal strength, represents the transmission rate at the i-th time point, represents the critical minimum working transmission rate, Indicates the number of connection interruptions. Indicates the critical maximum number of connection interruptions. Indicates the delay time. Indicates the critical maximum delay time, Indicates the storage medium signal abnormality impact factor corresponding to the preset signal strength, Indicates the storage medium signal abnormality impact factor corresponding to the preset transmission rate, Indicates the storage medium signal abnormality impact factor corresponding to the preset number of connection interruptions, It represents the storage medium signal abnormality impact factor corresponding to the preset delay time, i represents the number of each time point, i=1,2,3,...,n, and n represents the total number of time points in the monitoring period.

[0072] It should be understood that in this embodiment, by inputting the signal status data of the storage medium in the first monitoring period, the storage medium signal abnormality evaluation value of the first monitoring period can be obtained; by inputting the signal status data of the storage medium in the second monitoring period, the storage medium signal abnormality evaluation value of the second monitoring period can be obtained.

[0073] It should be understood that in this embodiment , , and The storage medium signal anomaly impact factors corresponding to the signal strength, transmission rate, number of connection interruptions and delay time preset in the storage medium database respectively represent the numerical values ​​of the degree of influence of the signal strength, transmission rate, number of connection interruptions and delay time on the storage medium signal anomaly evaluation value, and can be directly obtained from the storage medium database when used. For example, a mapping set is formed by combining the volume of the storage medium with the storage medium signal anomaly impact factors corresponding to the signal strength, transmission rate, number of connection interruptions and delay time preset in the storage medium database, and the storage medium signal anomaly impact factors corresponding to the signal strength, transmission rate, number of connection interruptions and delay time are obtained according to the volume of the storage medium input mapping set, wherein the mapping relationship is a one-to-one relationship. In this embodiment, the value range of the impact factor is between 0 and 1.

[0074] In this embodiment, the storage medium signal anomaly evaluation value is used to quantitatively evaluate the degree of signal anomaly of the storage medium. The smaller the signal strength and transmission rate, or the greater the number of connection interruptions and delay time, the greater the corresponding storage medium signal anomaly evaluation value, indicating that the signal state of the storage medium is more abnormal.

[0075] The algorithm of this embodiment combines signal strength, transmission rate, number of connection interruptions and delay time, and comprehensively analyzes to obtain the storage medium signal abnormality evaluation value. In this formula, there is a correlation between signal strength, transmission rate, number of connection interruptions and delay time. Signal strength is the basis of signal connection. The greater the signal strength, the greater the corresponding transmission rate, the smaller the number of connection interruptions and the smaller the delay time. Under a fixed network bandwidth, increasing the transmission rate may cause network congestion, thereby increasing the delay time. At the same time, connection interruption will inevitably lead to an increase in delay time. By comprehensively analyzing signal strength, transmission rate, number of connection interruptions and delay time, the storage medium signal abnormality evaluation value can be accurately obtained, which can quantitatively describe the degree to which the storage medium signal deviates from the normal state.

[0076] Get the preset storage medium signal anomaly assessment threshold.

[0077] It should be understood that, in this embodiment, the storage medium signal abnormality assessment threshold is obtained from the storage medium database.

[0078] The storage medium signal abnormality assessment value of the first monitoring period is compared with the storage medium signal abnormality assessment threshold. If the storage medium signal abnormality assessment value of the first monitoring period is less than the storage medium signal abnormality assessment threshold, the storage data of the storage medium is backed up via wireless transmission.

[0079] If the storage medium signal abnormality assessment value of the first monitoring cycle is greater than or equal to the storage medium signal abnormality assessment threshold, no additional operation is performed, and it is determined whether to perform secondary data protection.

[0080] It should be understood that in this embodiment, when the storage medium signal abnormality evaluation value is greater than or equal to the storage medium signal abnormality evaluation threshold, it may mean that the storage medium is currently in a state of unstable signal or abnormal signal. In this case, performing data transmission (such as backup) may increase the risk of data loss or damage, because unstable storage media may be more prone to problems during data transmission, so the process of protecting the stored data through backup is skipped.

[0081] Specifically, secondary data protection is performed according to the storage medium state risk assessment value, and the specific analysis process is: extracting the signal state data of the storage medium in the second monitoring period for analysis to obtain the storage medium signal anomaly assessment value in the second monitoring period.

[0082] The storage medium status risk assessment value is obtained by analyzing the storage medium signal anomaly assessment value, the storage medium position anomaly assessment value and the environmental interference degree assessment value of the second monitoring period.

[0083] In a specific embodiment, the storage medium status risk assessment value is obtained in the following manner: ; In the formula, Indicates the storage medium status risk assessment value. represents the storage medium signal abnormality evaluation value of the second monitoring cycle, Indicates the storage medium location abnormality assessment value, Indicates the environmental interference level assessment value, Indicates the storage medium status risk impact factor corresponding to the preset storage medium signal abnormality assessment value, Indicates the storage medium status risk impact factor corresponding to the preset storage medium position abnormality assessment value, Indicates the storage medium status risk impact factor corresponding to the preset environmental interference degree assessment value.

[0084] It should be understood that in this embodiment , and The storage medium state risk impact factors corresponding to the storage medium signal anomaly assessment value, storage medium position anomaly assessment value and environmental interference degree assessment value preset in the storage medium database respectively represent the numerical values ​​of the degree of influence of the storage medium signal anomaly assessment value, storage medium position anomaly assessment value and environmental interference degree assessment value on the storage medium state risk assessment value, and can be directly obtained from the storage medium database when used. For example, a mapping set is formed by combining the volume of the storage medium with the storage medium state risk impact factors corresponding to the storage medium signal anomaly assessment value, storage medium position anomaly assessment value and environmental interference degree assessment value preset in the storage medium database, and the storage medium state risk impact factors corresponding to the storage medium signal anomaly assessment value, storage medium position anomaly assessment value and environmental interference degree assessment value are obtained according to the mapping set inputted according to the volume of the storage medium, wherein the mapping relationship is a one-to-one relationship. In this embodiment, the value range of the impact factor is between 0 and 1.

[0085] In a specific embodiment, Figure 3 As shown, = =0.3, =0.4, =1.5, when =0.5, the functional relationship between the storage medium position abnormality assessment value and the storage medium status risk assessment value is shown in curve a; =0.7, the functional relationship between the storage medium position abnormality assessment value and the storage medium status risk assessment value is shown in curve b; when =0.9, the functional relationship between the storage medium position abnormality assessment value and the storage medium state risk assessment value is shown in curve c. In this embodiment, the storage medium state risk assessment value is used to quantitatively assess the state risk of the storage medium. The larger the storage medium signal abnormality assessment value, the storage medium position abnormality assessment value, and the environmental interference degree assessment value, the larger the corresponding storage medium state risk assessment value, indicating that the state risk of the storage medium is higher.

[0086] The algorithm of this embodiment combines the storage medium signal anomaly evaluation value, the storage medium position anomaly evaluation value and the environmental interference degree evaluation value, and comprehensively analyzes to obtain the storage medium signal anomaly evaluation value. In this formula, there is a correlation between the storage medium signal anomaly evaluation value, the storage medium position anomaly evaluation value and the environmental interference degree evaluation value. The storage medium position anomaly will directly affect the signal state of the storage medium and the environmental interference degree, and the environmental interference degree will further affect the signal state of the storage medium.

[0087] In this embodiment, by comprehensively evaluating the storage medium signal anomaly assessment value, the storage medium position anomaly assessment value and the environmental interference degree assessment value, it is possible to comprehensively consider the factors affecting the storage medium status, improve the accuracy of storage medium risk assessment, and help predict possible storage medium failures in advance.

[0088] The storage medium status risk assessment value is compared with the storage medium status risk assessment threshold at the current time point. If the storage medium status risk assessment value is greater than or equal to the storage medium status risk assessment threshold at the current time point, it is determined that the storage medium is at risk of data loss, and storage medium data encryption is enabled, while feedback warning is issued.

[0089] It should be understood that, in this embodiment, storage medium data encryption refers to hardware encryption of the USB flash drive through the built-in encryption chip of the USB flash drive, and the hardware encryption types include fingerprint encryption, face encryption and iris recognition encryption.

[0090] It should be understood that the feedback warning measures in this embodiment include the storage medium performing sound and light warnings and simultaneously sending data loss risk warning information to the signal receiving end.

[0091] If the storage medium status risk assessment value is less than the storage medium status risk assessment threshold at the current time point, the storage medium status is determined to be normal, and no additional operation is performed.

[0092] Reference Figure 2 As shown, the second aspect of the present invention provides a data protection system based on a USB flash drive, including: a working environment assessment module, a monitoring cycle division module, a primary data protection module, a secondary data protection module and a storage medium database.

[0093] The working environment assessment module is used to obtain the working environment data of the storage medium and collect the number of interference sources in the signal interference area, obtain the environmental interference degree assessment value after processing, and dynamically adjust the preset storage medium status risk assessment threshold according to the environmental interference degree assessment value.

[0094] The monitoring cycle division module is used to monitor the status data of the storage medium, and process it to obtain the storage medium position abnormality evaluation value, and divide the monitoring cycle according to the storage medium position abnormality evaluation value to obtain the first monitoring cycle and the second monitoring cycle.

[0095] The initial data protection module is used to perform initial data protection according to the state data of the storage medium in the first monitoring period.

[0096] The secondary data protection module is used to obtain a storage medium status risk assessment value by comprehensive analysis based on the storage medium status data and the environmental interference degree assessment value in the second monitoring period, and perform secondary data protection based on the storage medium status risk assessment value.

[0097] The storage medium database is used to store data related to the storage medium status, including reference working environment temperature, reference working environment humidity, allowable deviation environment temperature, allowable deviation environment humidity, critical electrostatic intensity, and number of critical interference sources. The data in the storage medium database can be obtained by collecting simulation experiment data or from the public database of the storage medium manufacturer.

[0098] In a specific embodiment, the present invention provides a data protection method and system based on a USB flash drive, evaluates the risk of the USB flash drive status, divides the monitoring period based on the USB flash drive position and signal status, performs primary data protection and secondary data protection, enhances data security, ensures that data is not lost in a complex Bluetooth communication environment, reasonably allocates monitoring resources, improves efficiency, and extends the service life of the USB flash drive.

[0099] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that technicians in the relevant technical field can understand and use the present invention well. As long as they do not deviate from the structure of the present invention or exceed the scope defined by the present invention, they should all belong to the protection scope of the present invention.

Claims

1. A data protection method based on a USB flash drive, characterized in that: include: Acquire storage medium working environment data, collect the number of interference sources in the signal interference area, obtain an environmental interference degree assessment value after processing, and dynamically adjust the preset storage medium status risk assessment threshold according to the environmental interference degree assessment value; Monitor the state data of the storage medium, process it to obtain an evaluation value of storage medium position abnormality, and divide the monitoring period according to the evaluation value of storage medium position abnormality to obtain a first monitoring period and a second monitoring period; Performing initial data protection according to the state data of the storage medium in the first monitoring period; Based on the storage medium status data and the environmental interference degree assessment value in the second monitoring period, a storage medium status risk assessment value is obtained through comprehensive analysis, and secondary data protection is performed based on the storage medium status risk assessment value.

2. The USB-based data protection method according to claim 1, characterized in that: The processing obtains the environmental interference degree evaluation value, and the specific process is: The storage medium working environment data includes ambient temperature, ambient humidity and static electricity intensity; Obtaining reference working environment temperature, reference working environment humidity, allowable deviation environment temperature, allowable deviation environment humidity, critical electrostatic intensity and critical number of interference sources from a storage medium database; Based on the storage medium working environment data and the number of interference sources, a comprehensive analysis is performed to obtain an assessment value of the environmental interference degree.

3. The USB-based data protection method according to claim 1, characterized in that: The specific process of dynamically adjusting the preset storage medium status risk assessment threshold according to the environmental interference degree assessment value is as follows: The environmental interference degree assessment value is matched with the state risk compensation value corresponding to each environmental interference degree assessment value interval preset in the storage medium database to obtain the state risk compensation value at the current time point; The preset storage medium status risk assessment threshold is obtained from the storage medium database, the storage medium status risk assessment threshold is summed with the status risk compensation value at the current time point, and the summation result is marked as the storage medium status risk assessment threshold at the current time point.

4. The USB-based data protection method according to claim 1, characterized in that: The state data of the storage medium includes: signal state data of the storage medium and position state data of the storage medium; The signal status data of the storage medium specifically includes: signal strength, transmission rate, number of connection interruptions and delay time; The position status data of the storage medium includes: tilt angle and vibration intensity.

5. The USB-based data protection method according to claim 4, characterized in that: The processing obtains the storage medium position abnormality evaluation value, and the specific process is: Acquire critical vibration intensity and allowable deviation tilt angle from a storage medium database; The storage medium position abnormality assessment value is obtained by analyzing the position status data of the storage medium.

6. The USB-based data protection method according to claim 1, characterized in that: The monitoring period is divided according to the storage medium position abnormality evaluation value to obtain the first monitoring period and the second monitoring period. The specific process is as follows: Obtaining a preset signal monitoring period and a storage medium position abnormality assessment threshold from a storage medium database; The storage medium position abnormality assessment value is compared with the storage medium position abnormality assessment threshold. If the storage medium position abnormality assessment value is greater than or equal to the storage medium position abnormality assessment threshold, the storage medium position state is marked as an abnormal state, and the time point when the storage medium position state is an abnormal state is extracted and marked as an abnormal time point; The signal monitoring period before the abnormal time point is marked as the first monitoring period, and the signal monitoring period after the abnormal time point is marked as the second monitoring period.

7. The USB-based data protection method according to claim 4, characterized in that: The initial data protection is performed according to the state data of the storage medium in the first monitoring period, and the specific process is as follows: Extracting and analyzing the signal state data of the storage medium in the first monitoring period to obtain the storage medium signal abnormality evaluation value in the first monitoring period; Obtaining a preset storage medium signal anomaly assessment threshold; The storage medium signal abnormality evaluation value of the first monitoring period is compared with the storage medium signal abnormality evaluation threshold value, and if the storage medium signal abnormality evaluation value of the first monitoring period is less than the storage medium signal abnormality evaluation threshold value, the storage data of the storage medium is backed up by wireless transmission; If the storage medium signal abnormality assessment value of the first monitoring cycle is greater than or equal to the storage medium signal abnormality assessment threshold, no additional operation is performed, and it is determined whether to perform secondary data protection.

8. The USB-based data protection method according to claim 5, characterized in that: The secondary data protection is performed according to the storage medium status risk assessment value, and the specific analysis process is as follows: Extracting and analyzing the signal status data of the storage medium in the second monitoring period to obtain an abnormal evaluation value of the storage medium signal in the second monitoring period; Analyze the storage medium signal anomaly assessment value, the storage medium position anomaly assessment value and the environmental interference degree assessment value in the second monitoring period to obtain a storage medium state risk assessment value; The storage medium status risk assessment value is compared with the storage medium status risk assessment threshold at the current time point. If the storage medium status risk assessment value is greater than or equal to the storage medium status risk assessment threshold at the current time point, it is determined that the storage medium has a data loss risk, and storage medium data encryption is enabled, and feedback warning is issued at the same time; If the storage medium status risk assessment value is less than the storage medium status risk assessment threshold at the current time point, the storage medium status is determined to be normal, and no additional operation is performed.

9. The USB-based data protection method according to claim 8, characterized in that: The storage medium status risk assessment value is obtained in the following manner: ; In the formula, Indicates the storage medium status risk assessment value. represents the storage medium signal abnormality evaluation value of the second monitoring cycle, Indicates the storage medium location abnormality assessment value, Indicates the environmental interference assessment value, Indicates the storage medium status risk impact factor corresponding to the preset storage medium signal abnormality assessment value, Indicates the storage medium status risk impact factor corresponding to the preset storage medium position abnormality assessment value, Indicates the storage medium status risk impact factor corresponding to the preset environmental interference degree assessment value.

10. A system using the USB-based data protection method according to any one of claims 1 to 9, characterized in that: include: The working environment assessment module is used to obtain the working environment data of the storage medium and collect the number of interference sources in the signal interference area, obtain the environmental interference degree assessment value after processing, and dynamically adjust the preset storage medium status risk assessment threshold according to the environmental interference degree assessment value; A monitoring cycle division module is used to monitor the state data of the storage medium, process and obtain the storage medium position abnormality evaluation value, and divide the monitoring cycle according to the storage medium position abnormality evaluation value to obtain a first monitoring cycle and a second monitoring cycle; An initial data protection module, used for performing initial data protection according to the state data of the storage medium in the first monitoring period; The secondary data protection module is used to obtain a storage medium status risk assessment value by comprehensive analysis based on the storage medium status data and the environmental interference degree assessment value in the second monitoring period, and perform secondary data protection based on the storage medium status risk assessment value.

Citation Information

Patent Citations

  • A data protection method, apparatus, and device based on a USB flash drive

    CN110334501B

  • USB flash drive data protection system and method based on real-time multi-party interactive authentication

    CN110807212B

Cited By

  • PLC-based adjacent station anti-interference electrical control system

    CN119717675A