Electronic device

By introducing flash memory chips and switching modules in electronic devices, the storage unit is refreshed without turning on, and the power consumption of the storage unit is too high in shutdown. Essence

CN119363875APending Publication Date: 2025-01-24VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411492402.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-24
Publication Date
2025-01-24

AI Technical Summary

Technical Problem

When existing electronic devices refresh the storage unit in the shutdown state, the power consumption is too high, resulting in data loss and the system failing to power on.

Method used

Design a type of electronic device, which contains flash memory power supply chips and switching modules. When receiving a enable signal, the flash memory power supply chip is powered on the flash memory module, the switching module switch the power supply circuit, and the storage unit is refreshed without turning.

Benefits of technology

It effectively reduces the power consumption when refreshing the storage unit in the shutdown state, prevents data loss, and improves the stability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119363875A_ABST
    Figure CN119363875A_ABST
Patent Text Reader

Abstract

The invention discloses electronic equipment, and belongs to the technical field of electronic equipment. The electronic equipment comprises a flash memory module; the power supply management module is electrically connected with the battery module, and the power supply management module is used for supplying power to electric devices in the electronic equipment; the flash memory power supply chip is electrically connected with the battery module, and the flash memory power supply chip is used for supplying power to the flash memory module when the electronic equipment is in a power-off state and the enable signal is received; the switching module comprises a first input end, a second input end and an output end, the first input end is electrically connected with the power supply management module, the second input end is electrically connected with the flash memory power supply chip, and the output end is electrically connected with the flash memory module; wherein the switching module is used for switching to be communicated with the second input end and the output end from being communicated with the first input end and the output end under the condition that an enable signal is received.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of electronic equipment, and specifically relates to an electronic equipment. Background Art

[0002] In the related art, for electronic devices such as mobile phones, their internal storage media are generally non-volatile memories (NVM), such as NAND Flash memories. Due to their working principle, when the storage cells of NAND Flash memories are not read or written for a long time, the charge stored in the floating gate level will gradually leak, causing the originally stored data to change. When the number of data errors reaches a certain level and exceeds its own error correction capability, the data will be completely damaged.

[0003] To avoid damage, when the electronic device is powered on, the firmware of the memory will periodically refresh the storage units therein, thereby extending the data retention time. However, when the device is powered off, the memory cannot work normally, and the firmware cannot refresh the storage units, which will cause the mobile terminal device to be unable to power on due to data loss after being powered off for a long time. Therefore, it is necessary to power on the device regularly to extend the data retention time.

[0004] However, during the startup process of an electronic device, it is necessary to start the processor (Central Processing Unit, CPU) and all power management chips (Power Management Integrated Circuit, PMIC) to make the entire system of the electronic device run. The power consumption during this period is very large, and most of the power consumption is wasted in starting the electronic device system instead of being used to refresh the storage unit, which causes the energy consumption of refreshing the storage unit to be too high. Summary of the invention

[0005] The present application aims to provide an electronic device capable of solving the problem of excessive energy consumption when refreshing the state of a storage unit in the related art.

[0006] In this regard, an embodiment of the present application provides an electronic device, the electronic device comprising:

[0007] Flash memory module;

[0008] A power supply management module, the power supply management module is electrically connected to the battery module, and the power supply management module is used to supply power to the electrical devices in the electronic device;

[0009] A flash memory power supply chip, the flash memory power supply chip is electrically connected to the battery module, and the flash memory power supply chip is used to supply power to the flash memory module when the electronic device is in a shutdown state and receives an enable signal;

[0010] A switching module, the switching module includes a first input terminal, a second input terminal and an output terminal, the first input terminal is electrically connected to the power supply management module, the second input terminal is electrically connected to the flash memory power supply chip, and the output terminal is electrically connected to the flash memory module; wherein the switching module is used to switch from connecting the first input terminal and the output terminal to connecting the second input terminal and the output terminal when receiving an enable signal.

[0011] In an embodiment of the present application, a flash memory power supply chip and a switching module are provided in the electronic device. When the electronic device is turned on and working normally, the power supply management chip supplies power to the electrical devices in the electronic device, including the flash memory module. At this time, the flash memory module can periodically refresh the status of the internal storage unit through its own firmware settings. When the electronic device is in the shutdown state, the power supply management module and most of the electrical devices do not work. Since the flash memory power supply chip is provided, when the enable signal is detected, the flash memory power supply chip starts to output a power supply signal to the flash memory module. At the same time, the switching module can switch from the power supply management module to the flash memory module to the flash memory power supply chip to supply power to the flash memory module. Therefore, there is no need to control the startup of the electronic device to complete the status refresh of the storage unit in the flash memory module, which can effectively reduce the power consumption when refreshing the storage unit in the shutdown state.

[0012] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0014] Figure 1 A schematic diagram of a power supply circuit of an electronic device according to some embodiments of the present application is shown;

[0015] Figure 2 A flowchart showing the state of a storage unit in a flash memory module in some embodiments of the present application is shown;

[0016] Figure 3 A schematic diagram of a power supply circuit of an electronic device according to some embodiments of the present application is shown;

[0017] Figure 4 A schematic diagram of a power supply circuit of an electronic device according to some embodiments of the present application is shown.

[0018] Reference numerals:

[0019] 100 electronic device, 102 flash memory module, 104 power management module, 106 flash memory power supply chip, 108 switching module, 110 battery module, 112 clock module, 114 counting module, 116 Hall sensor, 118 near field communication module, 120 processor;

[0020] in1 is the first input terminal, in2 is the second input terminal, out1 is the first output terminal, out2 is the second output terminal, vcc1 is the first power receiving terminal, vcc2 is the second power receiving terminal, S1 is the first multi-way switch, and S2 is the second multi-way switch. DETAILED DESCRIPTION

[0021] The embodiments of the present application will be described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and should not be construed as limitations on the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0022] The term "first" or "second" in the specification and claims of this application may include one or more of the features explicitly or implicitly. In the description of this application, unless otherwise specified, "plurality" means two or more. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally means that the objects connected before and after are in an "or" relationship.

[0023] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.

[0024] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0025] Combine the following Figures 1 to 4 An electronic device according to an embodiment of the present application is described.

[0026] In some embodiments of the present application, an electronic device is provided. Figure 1 A schematic diagram of a power supply circuit of an electronic device in some embodiments of the present application is shown. Figure 1 As shown, the electronic device 100 includes: a flash memory module 102; a power supply management module 104, which is electrically connected to the battery module 110, and is used to supply power to electrical devices in the electronic device 100; a flash memory power supply chip 106, which is electrically connected to the battery module 110, and is used to supply power to the flash memory module 102 when the electronic device 100 is in a shutdown state and receives an enable signal; a switching module 108, which includes a first input terminal in1, a second input terminal in2 and an output terminal, the first input terminal in1 is electrically connected to the power supply management module 104, the second input terminal in2 is electrically connected to the flash memory power supply chip 106, and the output terminal is electrically connected to the flash memory module 102; wherein the switching module 108 is used to switch from connecting the first input terminal in1 and the output terminal to connecting the second input terminal in2 and the output terminal when the enable signal is received.

[0027] In the embodiment of the present application, the electronic device 100 includes but is not limited to mobile phones, tablet computers, smart watches, smart bracelets, smart glasses, head-mounted display devices, game consoles and other electronic devices 100. For the convenience of description, the electronic device 100 is taken as an example of a mobile phone to illustrate the electronic device 100 of the embodiment of the present application in detail.

[0028] The electronic device 100 includes a flash memory module 102 and a power management module 104, wherein the flash memory module 102 is used to store systems, programs and instructions required for the operation of the electronic device 100. When the electronic device 100 is in a normal boot-up working state, the power management module 104, i.e., the PMIC, supplies power to the flash memory module 102. At this time, the firmware in the flash memory module 102 will periodically refresh its internal storage unit to ensure that the data stored in the storage unit will not be lost.

[0029] When the electronic device 100 is in the shutdown state, the main components in the electronic device 100, including the processor 120 and the power management module 104, will stop working. At this time, the flash memory module 102 is in a power-off state. If the storage unit in the flash memory module 102 is not refreshed for a long time, the charge stored in the floating gate level will gradually leak, causing the originally stored data to change, and ultimately causing data loss.

[0030] In view of the above problems, the electronic device 100 of the present application is further provided with a flash memory power supply chip 106 and a switching module 108. The flash memory power supply chip 106 is also electrically connected to the battery module 110 of the electronic device 100, and can convert the voltage output by the battery module 110 into a voltage signal suitable for supplying power to the flash memory module 102. The switching module 108 can switch the power supply circuit of the flash memory module 102, wherein when the first input terminal in1 of the switching module 108 is connected to the output terminal, the power supply circuit between the flash memory module 102 and the power supply management module 104 is connected, and at this time, the power supply management module 104 supplies power to the flash memory module 102.

[0031] When the second input terminal in2 of the switching module 108 is connected to the output terminal, the power supply circuit between the flash memory module 102 and the flash memory power supply chip 106 is connected, and the flash memory module 102 can be powered by the flash memory power supply chip 106 .

[0032] When the electronic device 100 is in the shutdown state, the flash power supply chip 106 and the switching module 108 receive the control of the enable signal. The enable signal can be triggered externally or based on an internal normally open device of the electronic device 100, such as a timer on the mainboard. When the trigger condition is met, the enable signal is sent to the flash power supply chip 106 and the switching module 108.

[0033] When the flash memory power supply chip 106 receives the above-mentioned enable signal, the flash memory power supply chip 106 starts to work and converts the electrical energy stored in the battery module 110 into an electrical signal suitable for powering the flash memory module 102. At the same time, the switching module 108 switches from the power supply circuit connecting the power supply management module 104 and the flash memory module 102 to the power supply circuit connecting the flash memory power supply chip 106 and the flash memory module 102. At this time, the power supply signal output by the flash memory power supply chip 106 can be received by the flash memory module 102, and the flash memory module 102 can perform a power-on initialization process. During this process, the storage unit in the flash memory module 102 is refreshed, so that the data retention time is refreshed.

[0034] In the embodiment of the present application, a flash memory power supply chip 106 and a switching module 108 are provided in the electronic device 100. When the electronic device 100 is turned on and working normally, the power supply management chip supplies power to the electrical devices in the electronic device 100, including the flash memory module 102. At this time, the flash memory module 102 can periodically refresh the state of the internal storage unit through its own firmware settings. When the electronic device 100 is in the shutdown state, the power supply management module 104 and most of the electrical devices are not working. However, since the flash memory power supply chip 106 is provided, when the enable signal is detected, the flash memory power supply chip starts to output a power supply signal to the flash memory module 102. At the same time, the switching module 108 can switch from the power supply management module 104 to the flash memory module 102, and the flash memory power supply chip 106 can supply power to the flash memory module 102. Therefore, it is not necessary to control the electronic device 100 to start up to complete the state refresh of the storage unit in the flash memory module 102, which can effectively reduce the power consumption when refreshing the storage unit in the shutdown state.

[0035] In some embodiments of the present application, Figure 1 As shown, the electronic device 100 also includes: a clock module 112, which is used to output a clock signal; a counting module 114, which is communicatively connected to the clock module 112 and the switching module 108, and the counting module 114 is used to count based on the clock signal, and when the counting value reaches a counting threshold, output an enable signal to the flash memory power supply chip 106 and the switching module 108.

[0036] In the embodiment of the present application, the electronic device 100 includes a clock module 112. Exemplarily, the clock module 112 is a clock chip (Real-Time Clock, RTC). The clock module 112 can output a stable waveform for clock timing of the electronic device 100. Among them, the clock module 112 can be powered by the mainboard dry battery of the electronic device 100, so the clock module 112 can still output a stable clock signal when the electronic device 100 is in a shutdown state or when the battery of the electronic device 100 is empty.

[0037] The counting module 114 is signal-connected to the clock module 112 . The counting module 114 can count the clock signal output by the clock module 112 . Since the clock signal is stable and uniform, the count value of the counting module 114 can reflect the length of time that has passed.

[0038] When the count value of the counting module 114 reaches the count threshold, it means that a long time has passed. At this time, the counting module 114 outputs an enable signal to the flash memory power supply chip 106 and the switching module 108, and the flash memory power supply chip 106 starts to work and generate a power supply signal. At the same time, the switching module 108 connects the power supply circuit between the flash memory power supply chip 106 and the flash memory module 102, and provides the power supply signal of the flash memory power supply chip 106 to the flash memory module 102, so that the flash memory module 102 is powered on and refreshes the flash storage unit.

[0039] Exemplarily, the counting threshold may be the maximum counting value of the counting module 114 , that is, when the counting value of the counting module 114 overflows, it is determined that the counting value is greater than the counting threshold.

[0040] The embodiment of the present application sets a counting module 114 and utilizes the existing clock module 112 of the electronic device 100 to automatically and regularly power on the flash memory module 102 of the electronic device 100 in the shutdown state, thereby effectively preventing the flash memory module 102 from losing data due to long-term power failure.

[0041] In some embodiments of the present application, the flash memory module 102 is communicatively connected to the counting module 114, and the flash memory module 102 is also used to send a reset signal to the counting module 114 after power-on initialization is completed; wherein the reset signal is used to instruct the counting module 114 to reset the count value.

[0042] In an embodiment of the present application, when the electronic device 100 is in a shutdown state, the counting module 114 counts the clock signal output by the clock module 112. When the count value reaches the counting threshold, the counting module 114 outputs an enable signal to the flash memory power supply chip 106 and the switching module 108, thereby powering on and initializing the flash memory module 102 to refresh the storage unit of the flash memory module 102.

[0043] After the flash memory module 102 is powered on and initialized, the flash memory module 102 sends a reset signal to the counting module 114. When the counting module 114 receives the reset signal, the counting module 114 resets the count value, and then the counting module 114 starts counting again from zero, and when the count value reaches the count threshold again, it re-outputs the enable signal, thereby realizing fully automatic and periodic control of the flash memory module 102 powering on, ensuring that the data stored in the flash memory module 102 will not be lost.

[0044] For example, Figure 2 A flowchart of refreshing the state of a storage unit in a flash memory module in some embodiments of the present application is shown. Figure 2 As shown, the method includes:

[0045] Step 202, the counting module receives the clock signal of the clock module and counts;

[0046] Step 204, determine whether the count value reaches the count threshold; if yes, proceed to step 206, otherwise return to step 202;

[0047] Step 206, the counting module outputs an enable signal, the flash memory power supply chip works, and the switching module switches the power supply circuit;

[0048] Step 208, the flash memory module is powered on and initialized;

[0049] Step 210, determine whether the power-on initialization is completed; if yes, proceed to step 212, otherwise, re-execute step 210;

[0050] Step 212: The flash memory module outputs a reset signal.

[0051] The present application can realize fully automatic and periodic control of powering on the flash memory module, ensuring that the data stored in the flash memory module will not be lost.

[0052] In some embodiments of the present application, Figure 3 A schematic diagram of a power supply circuit of an electronic device 100 according to some embodiments of the present application is shown. Figure 3 As shown, the electronic device 100 also includes: a Hall sensor 116, which is communicatively connected to the flash power supply chip 106 and the switching module 108, and the Hall sensor 116 is used to output an enable signal to the flash power supply chip 106 and the switching module 108 when a magnetic signal is detected.

[0053] In the embodiment of the present application, the electronic device 100 includes a Hall sensor 116. Taking the electronic device 100 as a mobile phone as an example, the Hall sensor 116 can be set on the back cover of the mobile phone or on the frame of the mobile phone. The Hall sensor 116 can detect external magnetic signals, and when a magnetic signal is detected, it outputs an enable signal to the flash power supply chip 106 and the switching module 108.

[0054] For example, for electronic devices 100 such as mobile phones, they may be stored in warehouses before being sold. When mobile phones are stored in warehouses for a long time, the risk of data loss stored in their internal flash memory modules 102 will increase. In this case, since the Hall sensor 116 is provided on the electronic device 100 of the embodiment of the present application, the warehouse manager can regularly hold a magnetic trigger such as a magnet and pass by the electronic devices 100 stored in the warehouse one by one, or regularly move a magnetic trigger such as a magnet through the electronic device 100 by setting an automated mechanical device. At this time, the Hall sensor 116 on the electronic device 100 can detect the magnetic signal of the magnet and output an enable signal to control the power-on initialization of the flash memory module 102 and refresh the storage unit.

[0055] The present application realizes controlling the flash memory module 102 to power on without turning on the electronic device 100 by setting the Hall sensor 116. Since there is no need to set a counter, the power consumption can be further reduced.

[0056] In some embodiments of the present application, Figure 4 A schematic diagram of a power supply circuit of an electronic device 100 according to some embodiments of the present application is shown. Figure 4 As shown, the electronic device 100 also includes: a near field communication module 118, which is communicatively connected to the flash memory power supply chip 106 and the switching module 108, and the near field communication module 118 is used to output an enable signal to the flash memory power supply chip 106 and the switching module 108 when a near field communication signal is detected.

[0057] In the embodiment of the present application, the electronic device 100 includes a near field communication (NFC) module. Taking the electronic device 100 as a mobile phone as an example, the near field communication module can reuse the NFC function module of the mobile phone itself. The near field communication module 118 can detect the near field communication signal, and when the near field communication signal is detected, it outputs an enable signal to the flash memory power supply chip 106 and the switching module 108.

[0058] For example, for electronic devices 100 such as mobile phones, they may be stored in warehouses before being sold. When mobile phones are stored in warehouses for a long time, the risk of losing data stored in their internal flash memory modules 102 will increase. In this case, since the embodiment of the present application uses the near field communication module 118 of the electronic devices 100 such as mobile phones to detect near field communication signals. During the storage stage, the warehouse manager can regularly hold a specific integrated circuit card (IC card), or set up automated mechanical equipment to regularly move the IC card, and trigger the near field communication module 118 to output an enable signal through the IC card, thereby controlling the flash memory module 102 to power on and refresh the storage unit.

[0059] The present application reuses the near field communication module 118 of the electronic device 100 itself to control the flash memory module 102 to be powered on without turning on the electronic device 100. This does not require changing the existing structure of the electronic device 100, which is beneficial to controlling costs.

[0060] In some embodiments of the present application, the switching module 108 is further configured to switch from connecting the second input terminal in2 and the output terminal to connecting the first input terminal in1 and the output terminal after the flash memory module 102 is powered on and initialized.

[0061] In an embodiment of the present application, after the flash memory module 102 completes power-on initialization, the state of the storage unit in the flash memory module 102 is refreshed, and the duration of data stored in the flash memory module 102 is also refreshed. At this time, the flash memory power supply chip is controlled to stop working, thereby minimizing energy consumption. At the same time, the switching module 108 is controlled to switch back to the power supply circuit connecting the power supply management module 104 and the flash memory module 102, so that when the electronic device 100 is turned on, the flash memory module 102 can be powered normally through the power supply management module 104, thereby improving the stability of the electronic device 100.

[0062] In some embodiments of the present application, Figure 1 , Figure 3 and Figure 4 As shown, the flash memory module 102 includes a first power receiving terminal vcc1 and a second power receiving terminal vcc2; the switching module 108 includes a first multi-way switch S1 and a second multi-way switch S2; wherein, the first input terminal in1 of the first multi-way switch S1 is electrically connected to the first output terminal out1 of the power supply management module 104, the second input terminal in2 of the first multi-way switch S1 is electrically connected to the first output terminal out1 of the flash power supply chip 106, and the output terminal of the first multi-way switch S1 is electrically connected to the first power receiving terminal vcc1; the first input terminal in1 of the second multi-way switch S2 is electrically connected to the second output terminal out2 of the power supply management module 104, the second input terminal in2 of the second multi-way switch S2 is electrically connected to the second output terminal out2 of the flash power supply chip, and the output terminal of the second multi-way switch S2 is electrically connected to the second power receiving terminal vcc2.

[0063] In the embodiment of the present application, illustratively, the flash memory module 102 is Nand Flash, wherein Nand Flash includes the following main storage unit technology types: multi-level cell (MLC), single-level cell (SLC), tri-level cell (TLC) and quad-level cell (QLC).

[0064] Taking the flash memory module 102 in the embodiment of the present application as a QLC flash memory as an example, the power supply of the QLC flash memory requires power supply signals from two power sources, and the two power supply signals are respectively input into the flash memory power supply chip through the first power receiving terminal vcc1 and the second power receiving terminal vcc2. Therefore, the power supply management module 104 and the flash memory power supply chip 106 also include two outputs, which are respectively recorded as the first output terminal out1 and the second output terminal out2.

[0065] The switching module 108 includes a first multi-way switch S1 and a second multi-way switch S2. For example, the first multi-way switch S1 and the second multi-way switch S2 are both single-pole double-throw switches. The first multi-way switch S1 is used to switch the power supply path of the first power receiving terminal vcc1 of the flash memory module 102, and the second multi-way switch S2 is used to switch the power supply path of the second power receiving terminal vcc2 of the flash memory module 102.

[0066] When the mobile phone is in the power-on state, the first multi-way switch S1 and the second multi-way switch S2 are switched to the first path, that is, the output end of the power supply management module 104 is connected to the power receiving end of the flash memory module 102. When the mobile phone is in the power-off state, if the enable signal is detected, the first multi-way switch S1 and the second multi-way switch S2 are switched to the second path, that is, the output end of the flash memory power supply chip 106 and the power receiving end of the flash memory module 102 are connected.

[0067] By setting up a dual-channel flash memory power supply chip 106, the present application can ensure that when the electronic device 100 is turned off, it can also provide reliable power supply to the flash memory module 102 without starting the main system of the electronic device 100, thereby avoiding data loss due to long-term power failure of the flash memory module 102.

[0068] In some embodiments of the present application, the flash memory power supply chip is a low voltage drop linear regulator.

[0069] In an embodiment of the present application, the flash memory power supply chip can be implemented by an integrated low dropout linear regulator (LowDropout Regulator, LDO). Exemplarily, the low dropout linear regulator can be integrated on the output circuit board of the battery module 110. Exemplarily, the low dropout linear regulator can be integrated on the main control board of the electronic device 100.

[0070] In the embodiment of the present application, when the electronic device 100 such as a mobile phone is in a shutdown state, power is periodically supplied to the flash memory module 102 through a low voltage difference linear regulator, which can prevent the flash memory module 102 from losing data due to long-term power failure and improve the stability and durability of the data stored in the flash memory module 102.

[0071] In some embodiments of the present application, the electronic device 100 further includes: a processor 120 , and the processor 120 is communicatively connected with the clock module 112 , the flash memory module 102 , and the power management module 104 .

[0072] In the embodiment of the present application, the processor 120 is the CPU of the electronic device 100, and the processor 120 is connected in communication with the clock module 112, and operates based on the clock signal output by the clock module 112. The processor 120 is also connected in communication with the flash memory module 102, and when the electronic device 100 is normally powered on, the processor 120 can read and write data to the flash memory module 102. The processor 120 is also connected in communication with the power supply management module 104, so as to control the power supply management module 104 to supply power to various electrical devices in the electronic device 100.

[0073] In some embodiments of the present application, the flash memory module 102 is a non-volatile memory.

[0074] In the embodiment of the present application, the flash memory module 102 is a non-volatile memory (NVM). For example, the non-volatile memory includes but is not limited to double-layer storage MLC, single-layer storage SLC, triple-layer storage TLC) and quad-layer storage QLC. For example, the flash memory module 102 in the present application is a QLC flash memory.

[0075] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0076] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.

Claims

1. An electronic device, characterized in that: The electronic device comprises: Flash memory module; A power supply management module, the power supply management module is electrically connected to the battery module, and the power supply management module is used to supply power to the electrical devices in the electronic device; A flash memory power supply chip, the flash memory power supply chip is electrically connected to the battery module, and the flash memory power supply chip is used to supply power to the flash memory module when the electronic device is in a shutdown state and receives an enable signal; A switching module, the switching module comprising a first input terminal, a second input terminal and an output terminal, the first input terminal being electrically connected to the power supply management module, the second input terminal being electrically connected to the flash memory power supply chip, and the output terminal being electrically connected to the flash memory module; wherein the switching module is used to switch from connecting the first input terminal and the output terminal to connecting the second input terminal and the output terminal when receiving the enable signal.

2. The electronic device according to claim 1, characterized in that: The electronic device further comprises: A clock module, wherein the clock module is used to output a clock signal; A counting module, the counting module is communicatively connected with the clock module and the switching module, the counting module is used to count based on the clock signal, and when the count value reaches a count threshold, output the enable signal to the flash memory power supply chip and the switching module.

3. The electronic device according to claim 2, characterized in that: The flash memory module is communicatively connected with the counting module, and the flash memory module is further used to send a reset signal to the counting module after power-on initialization is completed; wherein the reset signal is used to instruct the counting module to reset the counting value.

4. The electronic device according to claim 1, characterized in that: The electronic device further comprises: A Hall sensor is communicatively connected with the flash memory power supply chip and the switching module, and is used for outputting the enable signal to the flash memory power supply chip and the switching module when a magnetic signal is detected.

5. The electronic device according to claim 1, characterized in that: The electronic device further comprises: A near field communication module, the near field communication module is communicatively connected with the flash memory power supply chip and the switching module, and the near field communication module is used to output the enable signal to the flash memory power supply chip and the switching module when a near field communication signal is detected.

6. The electronic device according to claim 1, characterized in that: The switching module is further used for switching from connecting the second input end and the output end to connecting the first input end and the output end after the flash memory module is powered on and initialized.

7. The electronic device according to claim 1, characterized in that: The flash memory module includes a first power receiving end and a second power receiving end; The switching module includes a first multi-way switch and a second multi-way switch; Wherein, the first input end of the first multi-way switch is electrically connected to the first output end of the power supply management module, the second input end of the first multi-way switch is electrically connected to the first output end of the flash power supply chip, and the output end of the first multi-way switch is electrically connected to the first power receiving end; The first input end of the second multi-way switch is electrically connected to the second output end of the power supply management module, the second input end of the second multi-way switch is electrically connected to the second output end of the flash power supply chip, and the output end of the second multi-way switch is electrically connected to the second power receiving end.

8. The electronic device according to claim 1, characterized in that: The flash memory power supply chip is a low voltage drop linear regulator.

9. The electronic device according to claim 2, characterized in that: The electronic device further comprises: A processor is communicatively connected with the clock module, the flash memory module and the power supply management module.

10. The electronic device according to claim 1, characterized in that: The flash memory module is a non-volatile memory.