Data power-down protection method and PSSD (Power Supply Secure Digital) with mobile power supply and applying data power-down protection method

By monitoring the power information in the mobile power supply PSSD and switching the power supply according to the preset threshold, the problem of writing operation interruption caused by reduced power is solved, and data security and usage efficiency are improved.

CN118689293AInactive Publication Date: 2024-09-24HUIJU ELECTRONICS (DONGGUAN) IND CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410970504.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-09-24
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When the mobile power supply PSSD is reading and writing data with the mobile device, the reduction in power causes the writing operation to be interrupted. How to continue the writing operation as much as possible while protecting data security and improve usage efficiency.

Method used

Connect to external mobile devices through an OTG converter, monitor power information, and switch the power source according to the preset power threshold to ensure the safety and continuous operation of written data, including being powered by the rechargeable battery when its power is high, and the external device's power is high It is powered by it when the voltage is below the threshold, and data backup is performed when the voltage is below the threshold.

Benefits of technology

It effectively avoids damage and interruption of written data, improves the usage efficiency of mobile power supply PSSD, and ensures the security and reliability of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118689293A
    Figure CN118689293A
Patent Text Reader

Abstract

The invention discloses a data power-down protection method and a PSSD with a mobile power supply using the same, and relates to the technical field of PSSDs. After a general data interface is in data readable and writable connection with external mobile equipment through an OTG converter, a control unit is configured to obtain electric quantity information of the external mobile equipment and monitor electric quantity information of a rechargeable battery; when the electric quantity of the rechargeable battery is higher than a first preset electric quantity threshold value, the rechargeable battery supplies power to the control unit and the storage unit; when the electric quantity of the rechargeable battery does not exceed a second preset electric quantity threshold value and the electric quantity of the external mobile equipment is higher than a third preset electric quantity threshold value, the external mobile equipment supplies power to the control unit and the storage unit; the setting of the second preset electric quantity threshold value is used for reserving electric quantity required by power failure protection for data reading and writing; and when the electric quantity of the rechargeable battery is low, the external mobile equipment with sufficient electric quantity can be used for intervening power supply in time, so that continuous operation of read-write data is effectively guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of PSSD, and in particular to a data power-off protection method and a PSSD with a mobile power supply using the same. Background Art

[0002] PSSD with mobile power, also known as mobile power PSSD, is an innovative product that combines the functions of mobile power and solid-state drive. Mobile power PSSD usually integrates a large-capacity battery and a high-performance solid-state drive, which can not only provide power support for mobile devices, but also serve as a high-speed storage solution. This product is particularly suitable for users who need to work, travel or perform large amounts of data transfer outside for a long time. In addition to the basic charging and storage functions, some mobile power PSSD also support OTG (On-The-Go) function, allowing users to directly connect devices to the PSSD for data transfer and charging.

[0003] For business people who often need to travel, the mobile power PSSD can be their right-hand man. They can charge their devices on the go and access important files and information stored in them at any time. For photographers who love to travel, the mobile power PSSD can solve the power and storage problems they encounter during shooting. They can store the photos and videos they take in the PSSD and charge their cameras and mobile devices at any time. For users who need to back up data frequently, the mobile power PSSD provides a convenient data storage and backup solution. They can store important files and data in the PSSD to ensure the security and accessibility of the data.

[0004] For PSSD without mobile power supply, when PSSD is connected to mobile device, it is powered by mobile device, and in order to avoid damage and loss of written data, it is also equipped with corresponding power supply voltage detection, power failure protection, and capacitor power distribution. For PSSD with mobile power supply, it can directly use the power of mobile power supply for power distribution without adding additional capacitor power distribution and corresponding circuits.

[0005] But the difficulty that arises is: in the process of reading and writing data between the mobile power supply PSSD and the mobile device, when the mobile power supply PSSD's own power is always used to power the storage unit of the mobile power supply PSSD, once the power of the mobile power supply PSSD is consumed and reduced to the low power reserved for power-off protection and the write operation has not been completed, in order to avoid damage and loss of written data, it is usually set to directly stop the write operation, and then run the power-off protection to back up the written buffer data. But for users, the continued operation of the write operation and the security of the written data are equally important. Therefore, how to keep the write operation as much as possible while protecting the security of the written data is more conducive to improving the use efficiency of the mobile power supply PSSD. Summary of the invention

[0006] In order to overcome the above-mentioned shortcomings, the present invention aims to provide a technical solution that can solve the above-mentioned problems.

[0007] To achieve the above-mentioned purpose, the present invention provides the following technical solutions: a data power-off protection method, after a universal data interface is connected to an external mobile device through an OTG converter to read and write data, a control unit is configured to obtain power information of the external mobile device and monitor the power information of a rechargeable battery; when the power of the rechargeable battery is higher than a first preset power threshold, the rechargeable battery supplies power to the control unit and the storage unit; when the power of the rechargeable battery does not exceed a second preset power threshold, and when the power of the external mobile device is higher than a third preset power threshold, the external mobile device supplies power to the control unit and the storage unit.

[0008] As a further solution of the present invention: while the external mobile device supplies power to the control unit and the storage unit, the rechargeable battery is also charged through the power management circuit.

[0009] As a further solution of the present invention: when the control unit and the storage unit are powered by an external mobile device: when it is detected that the power supply voltage input through the universal data interface is lower than a preset threshold, the control unit and the storage unit are powered by a rechargeable battery; and the written cache data is backed up to a non-volatile storage medium.

[0010] As a further solution of the present invention: when it is detected that the power supply voltage input through the universal data interface is lower than a preset threshold, the garbage collection and / or the wear leveling are stopped.

[0011] As a further solution of the present invention: when performing backup, the written cache data is flushed to the temporarily allocated block to perform data backup.

[0012] As a further solution of the present invention: when the power level of the rechargeable battery is higher than a fourth preset power threshold, the rechargeable battery and the power management circuit are allowed to charge and output to a device to be charged that is connected to the power output interface.

[0013] As a further solution of the present invention: when the power level of the rechargeable battery does not exceed a fifth preset power level threshold, the charging output to the charging device connected to the power output interface through the power output interface is stopped.

[0014] As a further solution of the present invention: the fourth preset power threshold ≥ the fifth preset power threshold ≥ the first preset power threshold.

[0015] The present invention provides the following technical solution: a PSSD with a mobile power supply, including a control unit, a storage unit, a power management circuit, a rechargeable battery, and also includes: a universal data interface, and runs the above-mentioned data power-off protection method.

[0016] The present invention provides the following technical solution: a PSSD with a mobile power supply, including a control unit, a storage unit, a power management circuit, a rechargeable battery, and also includes: a universal data interface and an electric energy output interface, and runs the above-mentioned data power-off protection method.

[0017] Compared with the prior art, the beneficial effects of the present technical solution are as follows: a detection signal indicating the current motion state of the PSSD is obtained through the motion state detection unit, thereby intelligently judging whether the PSSD is in a motion state, that is, judging whether the user is using it handheld, and based on the intelligent judgment result, correspondingly performing display when used handheld and intelligently shutting down when used without holding, so that its energy consumption is better, it is not easy for light to affect the user's rest, and the display control is more intelligent.

[0018] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0020] Figure 1 is a circuit block diagram of the present invention; Figure 2 It is a control flow chart in the present invention; Figure 3 It is another control flow chart in the present invention. DETAILED DESCRIPTION

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

[0022] See also Figure 1-3 , a PSSD with a mobile power supply includes a control unit 1, a storage unit 2, a power management circuit 3, a rechargeable battery 4 and a universal data interface 5.

[0023] like Figure 1 As shown, the storage unit 2 is electrically connected to the control unit 1, and the rechargeable battery 4 is electrically connected to the control unit 1 through the power management circuit 3. After the universal data interface 5 is connected to the external mobile device through the OTG converter to read and write data, the control unit runs a data power-off protection method.

[0024] In some embodiments, the OTG converter is integrated on the PSSD or is an external OTG converter, such as an OTG cable. The external mobile device corresponds to a mobile device with OTG function, such as a mobile phone with OTG function. After the universal data interface is connected to the external mobile device through the OTG converter, the external mobile device and the PSSD can read and write data.

[0025] In this embodiment, the data power-off protection method includes: after the universal data interface is connected to an external mobile device through an OTG converter to read and write data, the control unit is configured to obtain power information of the external mobile device and monitor the power information of the rechargeable battery; when the power of the rechargeable battery is higher than a first preset power threshold, the rechargeable battery supplies power to the control unit and the storage unit.

[0026] When the rechargeable battery has sufficient power, it directly powers the control unit and storage unit to provide stable power support; when the external mobile device is suddenly disconnected or powered off, the rechargeable battery can always provide it with power supply for power-off protection, effectively avoiding the loss and damage of written data.

[0027] In some embodiments, when the maximum capacity of the rechargeable battery is within 5000mAh, the first preset power threshold may be any power ratio of 5%-10% of the power of the rechargeable battery; when the maximum capacity of the rechargeable battery is 5000mAh-10000mAh, the first preset power threshold may be any power ratio of 3%-5% of the power of the rechargeable battery; when the maximum capacity of the rechargeable battery is greater than 10000mAh, the first preset power threshold may be any power ratio of 1%-3% of the power of the rechargeable battery.

[0028] In some embodiments, when the control unit and the storage unit are powered by a rechargeable battery: when it is detected that the power level of the rechargeable battery does not exceed a second preset power threshold, and when the power level of the external mobile device is higher than a third preset power threshold, control is switched to the external mobile device powering the control unit and the storage unit.

[0029] In some embodiments, the second preset power threshold is less than the first preset power threshold. In some embodiments, the second preset power threshold is the same as the first preset power threshold.

[0030] The second preset power threshold can be set according to the maximum capacity of the rechargeable battery, the estimated power consumption per second during power-off protection, and the power-off protection duration. The required power-off protection duration can be tens of milliseconds, hundreds of milliseconds, several seconds, etc.

[0031] The second preset power threshold is set to reserve the power required for power-off protection for data reading and writing. When the control unit and the storage unit are powered by an external mobile device, when the external mobile device is suddenly disconnected or powered off, it can switch to the rechargeable battery to continue to supply power, so that the corresponding power can be sufficient to perform the backup of the buffered data written.

[0032] The third preset power threshold can be any power ratio of 10%-80% of the power of the external mobile device. When the power of the rechargeable battery is low, the external mobile device with sufficient power can intervene in time to provide power, effectively ensuring the continuous operation of reading and writing data.

[0033] When the control unit and the storage unit are powered by an external mobile device, when it is detected that the power supply voltage input through the universal data interface is lower than the preset threshold, power-off protection is performed, the control unit and the storage unit are powered by a rechargeable battery, and the written cache data is backed up to a non-volatile storage medium. This effectively avoids the loss and damage of written data due to power failure when the power is supplied by an external mobile device. In some embodiments, when power-off protection is performed, data writing is stopped.

[0034] In some embodiments, when it is detected that the supply voltage input through the universal data interface is lower than a preset threshold, garbage collection and / or wear leveling are stopped.

[0035] When performing a backup, the cached data written is flushed to a temporarily allocated block for data backup.

[0036] In some embodiments, while the external mobile device supplies power to the control unit and the storage unit, the power management circuit also charges the rechargeable battery, so as to ensure that the rechargeable battery has a safer amount of power for protecting the buffered data being written.

[0037] When charging a rechargeable battery: it may stop charging after the first target value "the power of the rechargeable battery reaches a safe power level (such as higher than a first preset power threshold)" is met; it may stop charging after the second target value "the power of the external mobile device is lower than a safe power level (such as lower than a third preset power threshold)" is met; it may also stop charging when the first target value or the second target value is met.

[0038] When charging is stopped to meet the first target value, it can also be configured to control switching to the rechargeable battery to power the control unit and the storage unit, so as to avoid the problem of continuous heating caused by continuous power output of the external mobile device.

[0039] When charging is stopped to meet the second target value, the control is switched to the rechargeable battery to power the control unit and the storage unit, and it is determined whether the power of the rechargeable battery meets "exceeding a second preset power threshold"; when it is determined that the power of the rechargeable battery does not exceed the second preset power threshold, writing is stopped and the written buffered data is backed up.

[0040] In this embodiment, the PSSD with a mobile power supply further includes a power output interface.

[0041] In this embodiment, when there is a power output interface, the data power-off protection method also includes: when the power level of the rechargeable battery is higher than a fourth preset power threshold, allowing charging output to the charged device connected to the power output interface through the rechargeable battery and the power management circuit.

[0042] When the power level of the rechargeable battery does not exceed the fifth preset power level threshold, the charging output to the charging device connected to the power output interface through the power output interface is stopped. The fourth preset power level threshold ≥ the fifth preset power level threshold ≥ the first preset power level threshold.

[0043] When the rechargeable battery has a high power level, the PSSD with a mobile power supply can simultaneously work in a mobile solid-state hard disk data reading and writing mode powered by its own rechargeable battery, and in a mobile power supply output charging mode powered by its own rechargeable battery.

[0044] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.

Claims

1. A data power-off protection method, characterized in that: After the universal data interface is connected to the external mobile device through the OTG converter to read and write data, the control unit is configured to obtain power information of the external mobile device and monitor the power information of the rechargeable battery; When the power level of the rechargeable battery is higher than a first preset power level threshold, the rechargeable battery supplies power to the control unit and the storage unit; When the power level of the rechargeable battery does not exceed the second preset power level threshold, and when the power level of the external mobile device is higher than the third preset power level threshold, the external mobile device supplies power to the control unit and the storage unit.

2. The data power-off protection method according to claim 1, characterized in that: While the control unit and the storage unit are powered by an external mobile device, the rechargeable battery is also charged through a power management circuit.

3. The data power-off protection method according to claim 1 or 2, characterized in that: When the control unit and storage unit are powered by an external mobile device: When it is detected that the power supply voltage input through the universal data interface is lower than a preset threshold, the rechargeable battery supplies power to the control unit and the storage unit; The written cache data is backed up to the non-volatile storage medium.

4. The data power-off protection method according to claim 3, characterized in that: When it is detected that the power supply voltage input through the universal data interface is lower than a preset threshold, the garbage collection and / or the wear leveling are stopped.

5. The data power-off protection method according to claim 4, characterized in that: When performing a backup, the cached data written is flushed to a temporarily allocated block for data backup.

6. The data power-off protection method according to claim 1 or 2 or 4 or 5, characterized in that: When the power level of the rechargeable battery is higher than a fourth preset power level threshold, the rechargeable battery and the power management circuit are allowed to charge the device to be charged connected to the power output interface.

7. The data power-off protection method according to claim 6, characterized in that: When the power level of the rechargeable battery does not exceed a fifth preset power level threshold, the charging output to the charging device connected to the power output interface through the power output interface is stopped.

8. The data power-off protection method according to claim 7, characterized in that: The fourth preset power threshold ≥ the fifth preset power threshold ≥ the first preset power threshold.

9. A PSSD with a mobile power supply, characterized in that: It includes a control unit, a storage unit, a power management circuit, a rechargeable battery, and also includes: a universal data interface, and a data power-off protection method according to any one of claims 1 to 5.

10. A PSSD with a mobile power supply, characterized in that: It includes a control unit, a storage unit, a power management circuit, a rechargeable battery, and also includes: a universal data interface and an electric energy output interface, and runs the data power-off protection method described in any one of claims 6-8.

Citation Information

Patent Citations

  • State control method and electronic equipment

    CN103246335A

  • Encrypted mobile hard disk drive case with portable power source

    CN103823767A

  • Charging control method, terminal equipment and storage medium

    CN110148992A

  • Portable electronic apparatus

    US20080242369A1

  • Battery usage control method and apparatus, electronic device, and storage medium

    WO2023230958A1