Electronic device, download mode triggering method and readable storage medium

By designing batteries, central processors and near-field communication circuits in electronic devices, and using near-field communication to receive signals to put the device into forced download mode, it solves the problem of complicated disassembly operations when the electronic device crashes, and improves the success rate of fault repair. And reduce resource waste and environmental pollution.

CN115801064BActive Publication Date: 2024-09-10VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211402920.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-09
Publication Date
2024-09-10
Estimated Expiration
2042-11-09

AI Technical Summary

Technical Problem

In the existing technology, when an electronic device crashes, it needs to be disassembled to trigger the forced download mode. The operation is complex and costly, and disassembling the device may cause some faults to disappear and affect the complete solution of the problem.

Method used

Design an electronic device, including a battery, a central processor, a trigger circuit and a near-field communication circuit. The near-field communication circuit receives a preset signal so that the trigger circuit outputs a high-level signal and enters the forced download mode without disassembling the machine.

Benefits of technology

It realizes that electronic equipment can enter the forced download mode without disassembling it, which reduces the cost of fault repair, improves the success rate of fault location and repair, and reduces waste of resources and environmental pollution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115801064B
    Figure CN115801064B
Patent Text Reader

Abstract

The present application discloses an electronic device, a download mode triggering method and a readable storage medium, which belongs to the field of data transmission. The input pin of the trigger circuit is connected to the battery, the output pin of the trigger circuit is connected to the data enable pin of the central processing unit, and the enable pin of the trigger circuit is connected to the near field communication circuit; when the electronic device is in a dead state and the near field communication circuit receives a preset signal, the near field communication circuit inputs a first signal to the enable pin of the trigger circuit, and the first signal is used to make the output pin of the trigger circuit output a high level signal to the data enable pin of the central processing unit, so that the electronic device enters the forced download mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of data transmission, and specifically relates to an electronic device, a download mode triggering method, and a readable storage medium. Background Art

[0002] When using an electronic device, it may freeze abnormally or become unable to boot up due to various reasons. In this case, you will need to re-download the software program before you can boot it up.

[0003] In the prior art, the electronic device is usually disassembled and the test points are short-circuited by a conductor to trigger the electronic device to enter a forced download mode, thereby repairing the fault. In this implementation, manual disassembly operations are required, so the implementation cost is high. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide an electronic device, a download mode triggering method and a readable storage medium, which can solve the problem in the prior art that entering a forced download mode of a terminal device requires disassembly and is complex to operate.

[0005] In a first aspect, an embodiment of the present application provides an electronic device, including a battery, a central processing unit, a trigger circuit and a near field communication circuit;

[0006] Wherein, the input pin of the trigger circuit is connected to the battery, the output pin of the trigger circuit is connected to the data enable pin of the central processing unit, and the enable pin of the trigger circuit is connected to the near field communication circuit;

[0007] When the electronic device is in a dead state and the near field communication circuit receives a preset signal, the near field communication circuit inputs a first signal to the enable pin of the trigger circuit, and the first signal is used to enable the output pin of the trigger circuit to output a high-level signal to the data enable pin of the central processing unit, so that the electronic device enters a forced download mode.

[0008] In a second aspect, an embodiment of the present application provides a download mode triggering method, which is applied to an electronic device, wherein the electronic device includes a battery, a central processing unit, a trigger circuit and a near field communication circuit; an input pin of the trigger circuit is connected to the battery, an output pin of the trigger circuit is connected to a data enable pin of the central processing unit, and an enable pin of the trigger circuit is connected to the near field communication circuit; the method includes:

[0009] When the electronic device is in a dead state, receiving a first input through the near field communication circuit;

[0010] When the first input is a radio frequency signal that meets a preset condition, the electronic device enters a forced download mode;

[0011] Among them, the preset conditions include that the receiving frequency of the radio frequency signal within a specified time period meets the preset frequency threshold and / or the duration of the radio frequency signal meets the preset duration threshold; when the electronic device is in the forced download mode, the external storage device can obtain the storage information of the electronic device.

[0012] In an embodiment of the present application, by connecting the input pin of the trigger circuit to the battery, the output pin of the trigger circuit to the data enable pin of the central processor, and the enable pin of the trigger circuit to the near field communication circuit; when the electronic device is in a dead state and the near field communication circuit receives a preset signal, the near field communication circuit inputs a first signal to the enable pin of the trigger circuit, and the first signal is used to make the output pin of the trigger circuit output a high level signal to the data enable pin of the central processor, so that the electronic device enters a forced download mode. In this way, the electronic device can receive a preset signal without disassembling the device, triggering the data enable pin to enter a specified state, thereby causing the electronic device to enter a forced download mode, and the electronic device can quickly enter the forced download mode without manual disassembly operation, saving the cost of repairing the fault.

[0013] Furthermore, in the prior art, the method of disassembling the electronic device to enter the forced download mode may cause some fault phenomena to disappear during the disassembly process due to the disassembly operation, affecting the complete solution of the problem. Through the embodiments of the present application, the fault phenomena can be unaffected, thereby improving the success rate of locating the faulty machine problem and the success rate of fault repair. At the same time, the material loss generated during the disassembly and repair process will cause resource waste and environmental pollution. Since the embodiments of the present application do not need to disassemble the electronic device, it can also reduce the resource waste and environmental pollution caused by the repair of electronic device crashes. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 is a schematic diagram of an electronic device provided in an embodiment of the present application;

[0015] Figure 2 It is a circuit principle block diagram provided by an embodiment of the present application;

[0016] Figure 3 It is another circuit principle block diagram provided by an embodiment of the present application;

[0017] Figure 4 It is another circuit principle block diagram provided by an embodiment of the present application;

[0018] Figure 5 is a flowchart of a download mode triggering method provided by an embodiment of the present application;

[0019] Figure 6 It is a flowchart of a specific implementation method provided in the embodiment of the present application;

[0020] Figure 7 It is a flowchart of another specific implementation method provided in the embodiment of the present application;

[0021] Figure 8 It is a flowchart of another specific implementation method provided in the embodiment of the present application;

[0022] Fig. 9 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application;

[0023] Fig.10 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0025] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0026] The download mode triggering method provided in the embodiment of the present application is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.

[0027] Figure 1 is a schematic diagram of an electronic device provided in an embodiment of the present application, referring to Figure 1 The electronic device includes a battery 104 , a central processor 103 , a trigger circuit 102 and a near field communication circuit 101 .

[0028] In practical applications, the electronic device may be a mobile phone, a tablet computer, a smart wearable device, a private network communication terminal device (such as a walkie-talkie), or other electronic device with a near field communication (NFC) function.

[0029] The input pin of the trigger circuit 102 is connected to the battery 104 , the output pin of the trigger circuit 102 is connected to the data enable pin of the central processor 103 , and the enable pin of the trigger circuit 102 is connected to the near field communication circuit 101 .

[0030] When the electronic device is in a dead state and the near field communication circuit 101 receives a preset signal, the near field communication circuit 101 inputs a first signal to the enable pin of the trigger circuit 102, and the first signal is used to enable the output pin of the trigger circuit 102 to output a high-level signal to the data enable pin of the central processor 103, so that the electronic device enters a forced download mode.

[0031] Among them, the dead state refers to the phenomenon that the operating system cannot recover from a serious system error, or there is a problem at the system hardware level, so that the system is unresponsive for a long time and has to restart the computer. Since the input pin of the trigger circuit is connected to the battery, the trigger circuit is not controlled by the central processing unit, that is, when the electronic device is in a dead state, the trigger circuit will not be affected. The preset signal can be a near-field communication radio frequency signal received by a near-field communication antenna, and the function of near-field communication between devices can be realized based on the near-field communication radio frequency signal. Among them, the preset signal can be generated by the sending device through close contact with the electronic device. The sending device can be an electronic device with a near-field communication radio frequency signal sending function, including electronic devices such as mobile phones, tablet computers, smart bracelets, and can also be an NFC reader. When the enable pin connected to the trigger circuit and the near-field communication circuit receives the first signal applied by the near-field communication circuit, the output pin of the trigger circuit outputs a valid level signal to the data enable pin in the central processing unit. Among them, the first signal can be a signal that can make the enable pin of the trigger circuit effective, so that the trigger circuit is turned on or turned on. The effective level signal is a signal that can make the data enable pin enter a specified state, wherein the data enable pin can be a forced universal serial bus device (USB) module loading pin (FORCED_USB_BOOT) or a similar function pin signal, and the specified state is a signal that can make the data enable pin effective. Specifically, when the data enable pin is a FORCED_USB_BOOT pin, the effective level signal is a high level signal, and the specified state is a high level state.

[0032] In summary, in the embodiment of the present application, the near field communication circuit applies an enable signal to the trigger circuit according to the received near field communication radio frequency signal; the trigger circuit outputs a valid level signal to the data enable pin in the central processing unit when the enable signal is applied, so that the data enable pin enters a specified state; the central processing unit triggers the electronic device to enter a forced download mode when the data enable pin enters a specified state and detects that the specified interface is connected to a universal serial bus device. In this way, the electronic device can receive a preset signal without disassembling the device, trigger the data enable pin to enter a specified state, and thus enter the forced download mode. The electronic device can quickly enter the forced download mode without manual disassembly, saving the cost of repairing the fault.

[0033] Furthermore, in the prior art, the method of disassembling the electronic device to enter the forced download mode may cause some fault phenomena to disappear during the disassembly process due to the disassembly operation, affecting the complete solution of the problem. Through the embodiments of the present application, the fault phenomena can be unaffected, thereby improving the success rate of locating the faulty machine problem and the success rate of fault repair. At the same time, the material loss generated during the disassembly and repair process will cause resource waste and environmental pollution. Since the embodiments of the present application do not need to disassemble the electronic device, it can also reduce the resource waste and environmental pollution caused by the repair of electronic device crashes.

[0034] Optional, see Figure 2 The near field communication circuit includes an NFC chip 1011 and an NFC antenna 1012 , the trigger circuit 102 includes a low voltage dropout linear regulator 1021 , and a communication pin of the NFC chip 1011 is connected to an enable pin of the low voltage dropout linear regulator 1021 .

[0035] The near field communication circuit may also include an antenna matching circuit, wherein the antenna matching circuit is located between the NFC chip and the NFC antenna and is composed of passive components required to ensure NFC performance, such as resistors, capacitors, and inductors. The NFC chip is an integrated circuit, which may be a near field communication integrated circuit (NFC IC), which has a microcontroller unit (MCU) and a radio frequency modem integrated inside, and the MCU has interfaces such as general-purpose input / output (GPIO).

[0036] A low-dropout linear regulator can be an independent integrated circuit or a module circuit with the same function built with discrete devices to output a voltage of a specified magnitude. The effective level signal output by a low-dropout linear regulator is a voltage of 1.8V.

[0037] When the NFC antenna 1012 is successfully paired with the external device, the NFC antenna 1012 obtains the preset signal, and the communication pin of the NFC chip 1011 inputs the first signal to the enable pin of the low-dropout linear regulator 1021 .

[0038] Among them, the preset signal can be a near-field communication radio frequency signal, and the external device can be another signal sending device. When the NFC antenna receives the near-field communication radio frequency signal generated by other signal sending devices through close contact, it transmits the near-field communication radio frequency signal to the NFC chip to activate the NFC chip, thereby transmitting energy and signals. Among them, the near-field communication radio frequency signal can contain multiple fields, and one or several fields can be pre-set as identification bits. When sending the near-field communication radio frequency signal, the sending device can set a string on these fields. In other words, the near-field communication radio frequency signal carries the handshake instructions sent by other signal sending devices and establishes an indirect key with the electronic device.

[0039] The NFC chip is directly powered by a battery and can still work when the electronic device is turned off or frozen. The NFC chip responds to the handshake instruction carried in the near-field communication radio frequency signal to extract the key carried in the near-field communication radio frequency signal. Specifically, the character string corresponding to the identification bit in the near-field communication radio frequency signal can be extracted as the identification identifier corresponding to the near-field communication radio frequency signal, that is, the key. The key is parsed and verified. If the key verification is correct, it indicates that the electronic device can establish a connection with other electronic devices. If the key verification is correct, the electronic device can establish a connection with the sending device of the near-field communication radio frequency signal and communicate. According to the code logic set by the NFC chip, a first signal is output to the enable pin of the low-voltage difference linear regulator through GPIO_11. Among them, the first signal is a signal that can make the enable pin of the low-voltage difference linear regulator effective, and the low-voltage difference linear regulator is enabled by activating the enable pin.

[0040] The low-dropout linear regulator is powered by a battery voltage, which is not controlled by the central processing unit. Therefore, even if the electronic device is in a dead or shut-down state, the battery voltage is still charged, so as long as the enable pin of the low-dropout linear regulator has an enable action, the output pin of the low-dropout linear regulator can output voltage normally. When the output pin of the low-dropout linear regulator receives an enable signal, the low-dropout linear regulator works normally and outputs a voltage of a specified size to the data enable pin through the output pin. Exemplarily, if the low-dropout linear regulator receives a first signal from the communication pin of the NFC chip, a voltage of 1.8V is output to the data enable pin through the output pin to enable the data enable pin to reach a specified state. Specifically, the enable pin EN of the low-dropout linear regulator can receive the first signal output from the GPIO_11 port of the MCU to enable the low-dropout linear regulator, and the output pin of the low-dropout linear regulator outputs a 1.8V voltage to the FORCED_USB_BOOT pin of the central processing unit to pull up FORCED_USB_BOOT.

[0041] The electronic device provided by the embodiment of the present application can output a voltage of a specified magnitude to the data enable pin when receiving an enable signal by setting a linear regulator. In this way, due to the simple structure of the linear regulator, the cost can be reduced to a certain extent, and the stability of the circuit is improved by outputting a voltage of a fixed magnitude. In addition, by pairing with an external device, a first signal can be output to the enable pin of the low-voltage difference linear regulator more quickly to control the trigger circuit to start, so that the low-voltage difference linear regulator outputs a valid level signal, thereby improving the convenience and simplicity of the process of making the electronic device enter the forced download mode.

[0042] Optional, see Figure 3 The near field communication circuit 101 includes a single-chip microcomputer 1013 and an NFC antenna 1012, the trigger circuit 102 includes a low voltage dropout linear regulator 1021, a first communication pin of the single-chip microcomputer 1013 is connected to an enable pin of the low voltage dropout linear regulator 1021, and a second communication pin of the single-chip microcomputer 1013 is connected to the NFC antenna 1012.

[0043] The single chip microcomputer may be an MCU, which is internally provided with interfaces such as GPIO_11 and GPIO_12. ​​The first communication pin may be the GPIO_11 interface, and the second communication pin may be the GPIO_12 interface.

[0044] The preset signal is a radio frequency signal. When the NFC antenna 1012 receives the radio frequency signal, the first communication pin of the single chip microcomputer 1013 inputs the first signal to the enable pin of the low voltage difference linear regulator 1021 .

[0045] The single-chip microcomputer is equivalent to an independent coprocessor, which is not controlled by the central processing unit. It has its own RAM (random access memory) and ROM (read-only memory), which can perform logic control independently of the central processing unit and maintain low-power mode operation even when it is turned off. When the NFC antenna receives the near-field communication radio frequency signal generated by the sending device through close contact, the NFC antenna generates magnetic field energy based on magnetic field coupling to form voltage energy. Based on the voltage energy, the first communication pin of the single-chip microcomputer inputs a first signal to the enable pin of the low-dropout linear regulator to enable the low-dropout linear regulator.

[0046] The electronic device provided in the embodiment of the present application enables the electronic device to enter the forced download mode based on the NFC antenna and the single-chip microcomputer, without the participation of the NFC chip, that is, the electronic device can still activate the enable pin to enable the trigger circuit when the NFC chip is in a power-off state. In other words, when the electronic device has NFC performance, that is, when the electronic device has an NFC antenna, the electronic device can enter the forced download mode through the embodiment of the present application, which improves the universality of the electronic device to repair faults, and further improves the efficiency of the electronic device entering the forced download mode.

[0047] Optional, see Figure 3 The near field communication circuit 101 further includes a low-pass filter and rectifier circuit 1014 , and the second communication pin of the single-chip microcomputer 1013 is connected to the NFC antenna 1012 through the low-pass filter and rectifier circuit 1014 .

[0048] Among them, the low-pass filter rectification circuit can be composed of a resistor, a capacitor, and a diode, and is used for low-pass filter rectification.

[0049] The low-pass filter rectifier circuit 1014 is used to convert the radio frequency signal received by the NFC antenna 1012 into a direct current signal.

[0050] Among them, other signal sending devices generate radio frequency signals through close contact, and the NFC antenna generates magnetic field energy based on the magnetic field coupling of the radio frequency signal to form voltage energy, and provides the energy to the low-pass filter rectifier circuit. The low-pass filter rectifier circuit is used to filter out the ripple in the rectified voltage energy, obtain a DC signal, and output the DC signal to the second communication pin of the single-chip microcomputer, wherein the second communication pin can be the GPIO_12 port of the MCU. Exemplarily, the low-frequency signal in the radio frequency signal received by the NFC antenna is rectified by a resistor and a diode to obtain a DC signal, and the high-frequency signal in the radio frequency signal is short-circuited by a capacitor. Therefore, a filtered and rectified DC signal can be obtained through a low-pass filter rectifier circuit. The single-chip microcomputer receives the DC signal output by the low-pass filter rectifier circuit, and outputs a first signal to the enable pin of the low-voltage difference linear regulator through the first communication pin. Among them, the first signal is a signal that can make the enable pin of the low-voltage difference linear regulator effective, and the low-voltage difference linear regulator is enabled by activating the enable pin. Specifically, when the GPIO_12 port of the MCU detects a DC signal, the GPIO_11 port of the MCU outputs a first signal to an enable pin of the low-dropout linear regulator.

[0051] Optionally, the low-pass filter rectifier circuit 1014 includes a capacitor, a resistor and a diode.

[0052] The input end of the diode is connected to the NFC antenna 1012, the output end of the diode is connected to the first end of the resistor, the second end of the resistor is connected to the second communication pin of the single chip computer 1013, and the second end of the resistor is also grounded through the capacitor.

[0053] The electronic device provided in the embodiment of the present application converts the radio frequency signal received by the NFC antenna into a DC signal through a low-pass filtering and rectifying circuit, so that the signal in a specific signal frequency range can pass through, thereby enabling the first communication pin of the single-chip microcomputer to output the first signal to the enable pin of the low voltage difference linear regulator.

[0054] Optionally, in one implementation, refer to Figure 4 The trigger circuit includes a power management module 1022 and a switch circuit 1023, and the input pin of the power management module 1022 is connected to the battery 104; the near field communication circuit 101 includes an NFC antenna 1012 and a low-pass filter rectifier circuit 1014, and the voltage input pin and the output pin of the switch circuit 1023 are respectively connected to the voltage output end of the power management module 1022 and the data enable pin; the low-pass filter rectifier circuit 1014 is respectively connected to the NFC antenna 1012 and the enable pin of the switch circuit 1023.

[0055] The switch circuit may be a triode or a MOS tube, or other circuits capable of realizing a switch function. The enable pin of the switch circuit may be a control terminal of the switch circuit, the control terminal of the switch circuit is connected to the low-pass filter rectifier circuit, and the other two ends, namely the voltage input pin and the output pin, are respectively connected to the voltage output terminal of the power management module and the data enable pin.

[0056] The preset signal is a radio frequency signal. When the NFC antenna 1012 receives the radio frequency signal, the low-pass filter rectifier circuit 1014 converts the radio frequency signal received by the NFC antenna 1012 into a direct current signal, and the switch circuit 1023 is turned on based on the direct current signal.

[0057] The voltage output terminal and the data enable pin are connected when the switch circuit 1023 is turned on; the voltage output terminal is used to output a high level signal to the data enable pin of the central processing unit.

[0058] Other signal sending devices generate radio frequency signals through close contact. The NFC antenna generates magnetic field energy based on the magnetic field coupling of the near field communication radio frequency signal to form voltage energy, and provides the energy to the low-pass filter rectifier circuit. The low-pass filter rectifier circuit is used to filter out the ripple in the rectified voltage energy to obtain a DC signal, and output the DC signal to the enable pin of the switch circuit. When the input voltage of the enable pin of the switch circuit is at a high level, the switch circuit is turned on, and the voltage output end of the power management module and the data enable pin are connected. It can be understood that the switch circuit is in a closed state under normal conditions, and the switch circuit will only be turned on when the input voltage of the enable pin of the switch circuit is at a high level.

[0059] Among them, the high-level signal can be a voltage of a specified size, and the voltage output end and the data enable pin are connected when the switch circuit is turned on; the voltage output end is used to output a high-level signal to the data enable pin of the central processing unit.

[0060] When the switch circuit is turned on, the voltage of the specified magnitude outputted from the voltage output terminal is outputted to the data enable pin. The voltage of the specified magnitude may be a voltage of the specified magnitude that enables the data enable pin, and the high-level signal may be a normally high power-on signal (PHONE_ON_N) of the power management module. Since the input pin of the power management module is connected to the battery, the power management module is not affected by the central processing unit, and the signal is always maintained at a normally high state in the shutdown state. Exemplarily, when the high-level signal is a normally high power-on signal of the power management module, when the switch circuit is turned on, the PHONE_ON_N of the power management module is connected to the FORCED_USB_BOOT pin of the central processing unit to pull up FORCED_USB_BOOT.

[0061] The electronic device provided in the embodiment of the present application can control the cost increment to a certain extent by adding a low-pass filter rectifier circuit and a switching circuit compared to adding a single-chip microcomputer and a low-voltage difference linear regulator. On the basis of allowing the electronic device to enter the forced download mode without disassembling the device, it further reduces the cost and improves the practicality.

[0062] Optionally, the RF signal is a preset RF signal that satisfies preset conditions, wherein the preset conditions include that the receiving frequency of the DC signal within a specified time period satisfies a preset frequency threshold and / or the duration of the DC signal satisfies a preset duration threshold.

[0063] In an embodiment of the present application, the near field communication radio frequency signal received by the NFC antenna may also be a signal that meets the preset conditions. Specifically, the radio frequency signal may meet the condition that the received frequency within a specified time length meets the preset frequency threshold and / or the duration of the near field communication radio frequency signal meets the preset duration threshold. Exemplarily, the preset condition corresponding to the radio frequency signal received by the NFC antenna may be that the received frequency meets N times within M seconds, or the duration meets T seconds within M seconds, or the received frequency meets N times within M seconds and the duration meets T seconds. Correspondingly, the preset condition corresponding to the DC signal output by the low-pass filter rectifier circuit may be that the received frequency meets N times within M seconds, or the duration meets T seconds within M seconds, or the received frequency meets N times within M seconds and the duration meets T seconds. In a possible implementation, the single-chip microcomputer receives the DC signal output by the low-pass filter rectifier circuit, and when the DC signal meets the preset conditions, the first communication pin of the single-chip microcomputer inputs the first signal to the enable pin of the low-dropout linear regulator.

[0064] In an embodiment of the present application, by setting conditions for the radio frequency signal, the forced download mode can be triggered only when the radio frequency signal meets the preset conditions. In this way, the forced download function can be avoided from being triggered by mistake, thereby improving the accuracy of the triggering process for the electronic device to enter the forced download mode.

[0065] Optional, see Figure 1-Figure 4 The electronic device also includes a USB interface circuit 105, and the USB interface circuit 105 is connected to the central processor 103.

[0066] When the USB interface circuit 105 is connected to an external storage device and the electronic device enters a forced download mode, the external storage device obtains storage information of the electronic device.

[0067] Wherein, the external storage device can be a universal serial bus device. The data enable pin of the central processing unit enters a specified state, indicating that the electronic device has met the conditions for entering the forced download mode. When the central processing unit detects that the designated interface of the USB interface circuit is connected to the universal serial bus device, it can trigger the electronic device to enter the forced download mode. In other words, when it is necessary to trigger the system to enter the forced download mode, the user only needs to insert the port of the universal serial bus device into the designated interface of the USB interface circuit. Wherein, the central processing unit can be set in a minimum system unit module (Systemon Chip, SOC), where the SOC can be a system chip, and the SOC includes a FORCED_USB_BOOT pin, a USB data positive signal line (USB_DP) and a USB data negative signal line (USB_DM). The designated interface of the USB interface circuit can be the charging port of the electronic device or the USB_IN interface of the power management module. The power management module includes a USB interface (USB_IN), a USB data positive signal line (USB_DP) interface and a USB data positive signal line (USB_DM) interface. When the USB_IN interface of the power management module is connected to the power interface of the universal serial bus device, it means that the designated interface of the USB interface circuit has been connected to the universal serial bus device, the USB data positive signal line and the USB data negative signal line of the power management module are electrically connected to the USB data positive signal line and the USB data negative signal line in the SOC respectively, and the external storage device obtains the storage information of the electronic device to trigger the corresponding boot process.

[0068] The electronic device provided in the embodiment of the present application is connected to an external storage device via a USB interface circuit so that the external storage device obtains storage information of the electronic device. The electronic device can then enter a forced download mode to perform operations such as forced software download and software version re-flashing.

[0069] For example, Figure 2 A circuit principle block diagram provided in an embodiment of the present application, such as Figure 2As shown, the near field communication circuit 101 includes an NFC antenna 1012, an antenna matching circuit 1015 and an NFC IC 1011. The trigger circuit 102 includes a low dropout regulator (LDO) 1021. The download mode trigger pin FORCED_USB_BOOT is set in the minimum system unit module (System on Chip, SOC) 103, wherein the SOC can be a system chip, and the SOC 103 includes a FORCED_USB_BOOT pin, a USB data positive signal line and a USB data negative signal line. The NFC antenna 1012 in the figure is used to receive the near field communication radio frequency signal and transmit it to the antenna matching circuit 1015, and the antenna matching circuit 1015 sends a signal to start the NFC IC 1011. NFC IC1011 verifies the key carried by the NFC RF signal based on the handshake instruction carried by the NFC RF signal. On the basis of the correct key, the GPIO_11 port of NFC IC1011 sends a corresponding level to enable LDO1021, so that LDO1021 works normally and outputs 1.8V voltage to FORCED_USB_BOOT of SOC103 through the output pin to pull up FORCED_USB_BOOT. Among them, NFC IC1011 and LDO1021 are powered by the battery voltage VBAT of battery 104 (not shown in the figure) and are not controlled by the central processor.

[0070] The USB interface circuit can be a USB socket 105, which is used to represent a charging USB line or a data USB line interface. By connecting the USB socket 105 to the USB interface of the power management module (Power Management IC, PMIC) 1022, the USB data positive signal line and the USB data negative signal line of the PMIC1022 are respectively connected to the USB data positive signal line and the USB data negative signal line in the SOC103, thereby triggering the corresponding boot process and causing the electronic device to enter the forced download mode.

[0071] Figure 3 Another circuit principle block diagram provided in the embodiment of the present application is as follows: Figure 3As shown, the near field communication circuit 501 includes an NFC antenna 1012, a low-pass filter rectifier circuit 1014 and an MCU 1013, and the low-pass filter rectifier circuit 1014 includes a diode D1, a resistor R and a capacitor C. The trigger circuit 102 includes an LDO 1021. The download mode trigger pin FORCED_USB_BOOT is set in the minimum system unit module (System on Chip, SOC) 103, wherein the SOC can be a system chip, and the SOC 103 includes a FORCED_USB_BOOT pin, a USB data positive signal line and a USB data negative signal line. According to the energy obtained from the near field communication radio frequency signal received by the NFC antenna 1012, a DC signal is obtained after rectification and filtering by the low-pass filter rectifier circuit 1014 and the DC signal is output to the MCU GPIO_12 port of the MCU1013. After the GPIO_12 port of the MCU1013 detects a high level signal that meets the preset conditions, the GPIO_11 port of the MCU1013 sends a corresponding level to enable LDO1021, so that LDO1021 can work normally and output a 1.8V voltage to the FORCED_USB_BOOT of the SOC103 through the output pin to pull up FORCED_USB_BOOT. Among them, LDO1021 is powered by the battery voltage VBAT of the battery 104 (not shown in the figure) and is not controlled by the central processing unit. The principle of triggering the electronic device to enter the forced download mode by accessing the universal serial bus device through the specified interface is the same as the principle of the above embodiment, and will not be repeated here.

[0072] Figure 4 Another circuit principle block diagram provided in the embodiment of the present application is as follows: Figure 4As shown, the near field communication circuit 501 includes an NFC antenna 1012 and a low-pass filter rectifier circuit 1014, the trigger circuit 502 includes a PMIC 5022 and a switch circuit 5023, and the download mode trigger pin FORCED_USB_BOOT is set in the minimum system unit module (System on Chip, SOC) 103, wherein the SOC can be a system chip, and the SOC 103 includes a FORCED_USB_BOOT pin, a USB data positive signal line, and a USB data negative signal line. According to the energy obtained from the near field communication radio frequency signal received by the NFC antenna 1012, a DC signal is obtained through rectification and filtering by the low-pass filter rectifier circuit 1014 and the DC signal is output to the control terminal b1 of the switch circuit 1023, and the DC signal turns on the switch circuit 1023. After the switch circuit 1023 is turned on, the power-on normally high signal PHONE_ON_N of the PMIC 1022 is connected to the FORCED_USB_BOOT in the SOC 103 to pull up FORCED_USB_BOOT. The principle of triggering the electronic device to enter the forced download mode by accessing the universal serial bus device through the designated interface is the same as the principle of the above embodiment, and will not be described in detail here.

[0073] It should be noted that, when the existing devices of the electronic device include components in the near field communication circuit or components in the trigger circuit, the existing devices in the electronic device can be directly reused in the embodiments of the present application to reduce the hardware cost.

[0074] Reference Figure 5 , showing a download mode triggering method provided in an embodiment of the present application, which is applied to an electronic device; the electronic device may include a download mode triggering circuit, and the download mode triggering circuit may include a battery, a central processing unit, a trigger circuit and a near field communication circuit.

[0075] Among them, the input pin of the trigger circuit is connected to the battery, the output pin of the trigger circuit is connected to the data enable pin of the central processing unit, and the enable pin of the trigger circuit is connected to the near field communication circuit.

[0076] like Figure 5 As shown, the embodiment of the present invention also includes the following steps:

[0077] Step 201: When the electronic device is in a dead state, receiving a first input through a near field communication circuit;

[0078] Step 202: When the first input is a radio frequency signal that meets a preset condition, the electronic device enters a forced download mode;

[0079] Among them, the preset conditions include that the receiving frequency of the radio frequency signal within a specified time period meets the preset frequency threshold and / or the duration of the radio frequency signal meets the preset duration threshold; when the electronic device is in the forced download mode, the external storage device can obtain the storage information of the electronic device.

[0080] Optionally, the near field communication circuit includes an NFC chip and an NFC antenna, the trigger circuit includes a low voltage dropout linear regulator, and the communication pin of the NFC chip is connected to an enable pin of the low voltage dropout linear regulator.

[0081] Step 201 also includes the following steps:

[0082] Step 2011: When the NFC antenna is successfully paired with the external device, and when the NFC antenna obtains the preset signal, the communication pin of the NFC chip inputs the first signal to the enable pin of the low-dropout linear regulator.

[0083] Optionally, the near field communication circuit includes a single-chip microcomputer and an NFC antenna, a first communication pin of the single-chip microcomputer is connected to an enable pin of the low voltage difference linear regulator, and a second communication pin of the single-chip microcomputer is connected to the NFC antenna.

[0084] The preset signal is a radio frequency signal, and step 201 may include:

[0085] Step 2012: When the NFC antenna receives the radio frequency signal, the first signal is input to the enable pin of the low-dropout linear regulator through the first communication pin of the single-chip microcomputer.

[0086] Optionally, the near field communication circuit further includes a low-pass filter and rectifier circuit, and the second communication pin of the single-chip microcomputer is connected to the NFC antenna through the low-pass filter and rectifier circuit.

[0087] The embodiment of the present invention further includes the following steps:

[0088] Step 301: Convert the radio frequency signal received by the NFC antenna into a direct current signal through the low-pass filter and rectifier circuit.

[0089] Optionally, the low-pass filter rectifier circuit includes a capacitor, a resistor and a diode; the input end of the diode is connected to the NFC antenna, the output end of the diode is connected to the first end of the resistor, the second end of the resistor is connected to the second communication pin of the single-chip microcomputer, and the second end of the resistor is also grounded through the capacitor.

[0090] Optionally, the preset signal is a radio frequency signal, the trigger circuit includes a power management module and a switching circuit, the input pin of the power management module is connected to the battery; the near-field communication circuit includes an NFC antenna and a low-pass filter and rectifier circuit, the voltage input pin and the output pin of the switching circuit are respectively connected to the voltage output end of the power management module and the data enable pin; the low-pass filter and rectifier circuit are respectively connected to the NFC antenna and the enable pin of the switching circuit.

[0091] The embodiment of the present invention further includes the following steps:

[0092] Step 401: When the NFC antenna receives the radio frequency signal, the radio frequency signal received by the NFC antenna is converted into a direct current signal by the low-pass filter rectifier circuit, and the switch circuit is turned on based on the direct current signal;

[0093] The voltage output terminal and the data enable pin are connected when the switch circuit is turned on; the voltage output terminal is used to output a high level signal to the data enable pin of the central processing unit.

[0094] Optionally, the low-pass filter rectifier circuit includes a capacitor, a resistor and a diode;

[0095] The input end of the diode is connected to the NFC antenna, the output end of the diode is connected to the first end of the resistor, the second end of the resistor is connected to the enable pin of the switch circuit, and the second end of the resistor is also grounded through the capacitor.

[0096] Optionally, the RF signal is a preset RF signal that satisfies preset conditions, wherein the preset conditions include that a received frequency of the RF signal within a specified time period satisfies a preset frequency threshold and / or that a duration of the RF signal satisfies a preset duration threshold.

[0097] Optionally, the electronic device further includes a USB interface circuit, and the USB interface circuit is connected to the central processing unit.

[0098] The embodiment of the present invention further includes the following steps:

[0099] Step 501: When the USB interface circuit is connected to an external storage device and the electronic device enters a forced download mode, storage information of the electronic device is obtained through the external storage device.

[0100] The specific implementation of each of the above steps is similar to the specific implementation of the electronic device side, and will not be repeated here.

[0101] For example, Figure 6A schematic diagram of a specific implementation of the present application is shown in FIG. Figure 6 As shown, electronic device A is another electronic device with NFC function, and electronic device B is an electronic device that needs to enter the forced download mode. The NFC reader or electronic device A sends a handshake instruction or key to electronic device B. When electronic device B receives the key, it verifies the key. When the key is correct, the NFC chip outputs the corresponding level to enable the trigger circuit, so that the trigger circuit works normally and outputs a valid level signal to FORCED_USB_BOOT in the central processor, so as to achieve the purpose of pulling up FORCED_USB_BOOT. After FORCED_USB_BOOT is pulled up, insert the USB cable connected to the computer, so that the electronic device triggers the boot process through the USB port, and the electronic device enters the forced download mode.

[0102] Figure 7 A flow chart of another specific implementation of the embodiment of the present application is shown as follows: Figure 7 As shown, the NFC reader or radio frequency electronic device emits a field strength of at least T seconds for N consecutive times within M seconds, so that the near field communication antenna of the electronic device receives the magnetic field energy, and the magnetic field energy is converted into a DC signal after rectification and filtering by diodes, resistors and capacitors. After the port of the single-chip microcomputer detects a high-level signal for T seconds for N consecutive times within M seconds, the single-chip microcomputer outputs a corresponding level to enable the trigger circuit, so that the trigger circuit works normally and outputs a valid level signal to FORCED_USB_BOOT in the central processor, so as to achieve the purpose of pulling up FORCED_USB_BOOT. After FORCED_USB_BOOT is pulled up, insert the USB cable connected to the computer, so that the electronic device triggers the boot process through the USB port, and the electronic device enters the forced download mode.

[0103] Figure 8 A flow chart of another specific implementation of the embodiment of the present application is shown as follows: Figure 8 As shown, the NFC reader or radio frequency electronic device emits a field strength, which increases the coil voltage of the NFC antenna of the electronic device to obtain energy, and converts the energy into a DC signal after rectification and filtering by a diode, resistor and capacitor, and controls the switch circuit to be turned on. After the switch circuit is turned on, the voltage output end of the power management module is connected to the FORCED_USB_BOOT of the central processor to output a specified voltage to achieve the purpose of pulling up FORCED_USB_BOOT. After FORCED_USB_BOOT is pulled up, insert the USB cable connected to the computer, so that the electronic device triggers the boot process through the USB port, and the electronic device enters the forced download mode.

[0104] Alternatively, if Fig. 9As shown, an embodiment of the present application also provides an electronic device 600, including a processor 601 and a memory 602, wherein the memory 602 stores programs or instructions that can be executed on the processor 601, and when the program or instructions are executed by the processor 601, the various steps of the above-mentioned download mode triggering method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not repeated here.

[0105] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0106] Fig.10 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0107] The electronic device 100 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.

[0108] Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.10 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0109] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and at least one of other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0110] The memory 1009 can be used to store software programs and various data. The memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1009 may include a volatile memory or a non-volatile memory, or the memory 1009 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0111] The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1010.

[0112] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned download mode triggering method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0113] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0114] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned download mode triggering method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0115] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0116] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the download mode triggering method embodiment as described above, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0117] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0118] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0119] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. An electronic device, characterized in that: Including battery, central processing unit, trigger circuit and near field communication circuit; Wherein, the input pin of the trigger circuit is connected to the battery, the output pin of the trigger circuit is connected to the data enable pin of the central processing unit, and the enable pin of the trigger circuit is connected to the near field communication circuit; When the electronic device is in a dead state and the near field communication circuit receives a preset signal, the near field communication circuit inputs a first signal to the enable pin of the trigger circuit, and the first signal is used to cause the output pin of the trigger circuit to output a high-level signal to the data enable pin of the central processing unit, so that the electronic device enters a forced download mode; The near field communication circuit includes a single-chip microcomputer and an NFC antenna, the trigger circuit includes a low-voltage dropout linear regulator, a first communication pin of the single-chip microcomputer is connected to an enable pin of the low-voltage dropout linear regulator, and a second communication pin of the single-chip microcomputer is connected to the NFC antenna; The near field communication circuit further includes a low-pass filter and rectifier circuit, and the second communication pin of the single-chip microcomputer is connected to the NFC antenna through the low-pass filter and rectifier circuit; The preset signal is a radio frequency signal. When the NFC antenna receives the radio frequency signal, the first communication pin of the single chip microcomputer inputs the first signal to the enable pin of the low-dropout linear regulator; The low-pass filtering and rectifying circuit is used to convert the radio frequency signal received by the NFC antenna into a direct current signal.

2. The electronic device according to claim 1, wherein The near field communication circuit includes an NFC chip and an NFC antenna, the trigger circuit includes a low-voltage dropout linear regulator, and the communication pin of the NFC chip is connected to the enable pin of the low-voltage dropout linear regulator; When the NFC antenna is successfully paired with the external device, the NFC antenna obtains the preset signal, and the communication pin of the NFC chip inputs the first signal to the enable pin of the low-dropout linear regulator.

3. The electronic device according to claim 1, wherein The low-pass filter rectifier circuit includes a capacitor, a resistor and a diode; The input end of the diode is connected to the NFC antenna, the output end of the diode is connected to the first end of the resistor, the second end of the resistor is connected to the second communication pin of the single-chip microcomputer, and the second end of the resistor is also grounded through the capacitor.

4. The electronic device according to claim 1, wherein: The trigger circuit includes a power management module and a switch circuit, the input pin of the power management module is connected to the battery; the near-field communication circuit includes an NFC antenna and a low-pass filter and rectifier circuit, the voltage input pin and output pin of the switch circuit are respectively connected to the voltage output end of the power management module and the data enable pin; the low-pass filter and rectifier circuit are respectively connected to the NFC antenna and the enable pin of the switch circuit; The preset signal is a radio frequency signal. When the NFC antenna receives the radio frequency signal, the low-pass filter rectifier circuit converts the radio frequency signal received by the NFC antenna into a direct current signal, and the switch circuit is turned on based on the direct current signal. The voltage output end and the data enable pin are connected when the switch circuit is turned on; the voltage output end is used to output a high level signal to the data enable pin of the central processing unit.

5. The electronic device according to claim 4, characterized in that The low-pass filter rectifier circuit includes a capacitor, a resistor and a diode; The input end of the diode is connected to the NFC antenna, the output end of the diode is connected to the first end of the resistor, the second end of the resistor is connected to the enable pin of the switch circuit, and the second end of the resistor is also grounded through the capacitor.

6. The electronic device according to any one of claims 1 to 5, characterized in that: The radio frequency signal is a radio frequency signal that meets preset conditions, where the preset conditions include that the received frequency of the radio frequency signal within a specified time period meets a preset frequency threshold and / or that the duration of the radio frequency signal meets a preset duration threshold.

7. The electronic device according to claim 1, wherein: The electronic device further comprises a USB interface circuit, wherein the USB interface circuit is connected to the central processing unit; When the USB interface circuit is connected to the external storage device and the electronic device enters the forced download mode, the external storage device obtains the storage information of the electronic device.

8. A download mode triggering method, characterized in that: Applied to an electronic device according to any one of claims 1 to 7, the electronic device comprising a battery, a central processing unit, a trigger circuit, and a near-field communication circuit; an input pin of the trigger circuit is connected to the battery, an output pin of the trigger circuit is connected to a data enable pin of the central processing unit, an enable pin of the trigger circuit is connected to the near-field communication circuit, the near-field communication circuit comprises a single-chip microcomputer and an NFC antenna, the trigger circuit comprises a low-voltage dropout linear regulator, a first communication pin of the single-chip microcomputer is connected to the enable pin of the low-voltage dropout linear regulator, and a second communication pin of the single-chip microcomputer is connected to the NFC antenna; the near-field communication circuit further comprises a low-pass filter and rectifier circuit, the second communication pin of the single-chip microcomputer is connected to the NFC antenna via the low-pass filter and rectifier circuit; the preset signal is a radio frequency signal, and when the NFC antenna receives the radio frequency signal, the first communication pin of the single-chip microcomputer inputs the first signal to the enable pin of the low-voltage dropout linear regulator; The low-pass filter rectifier circuit is used to convert the radio frequency signal received by the NFC antenna into a direct current signal; the method includes: When the electronic device is in a dead state, receiving a first input through the near field communication circuit; When the first input is a radio frequency signal that meets a preset condition, the electronic device enters a forced download mode; Among them, the preset conditions include that the receiving frequency of the radio frequency signal within a specified time period meets the preset frequency threshold and / or the duration of the radio frequency signal meets the preset duration threshold; when the electronic device is in the forced download mode, the external storage device can obtain the storage information of the electronic device.