WO2021196625A1 - Method for formatting intelligent terminal and intelligent terminal thereof, and storage medium - Google Patents

Method for formatting intelligent terminal and intelligent terminal thereof, and storage medium Download PDF

Info

Publication number
WO2021196625A1
WO2021196625A1 PCT/CN2020/128521 CN2020128521W WO2021196625A1 WO 2021196625 A1 WO2021196625 A1 WO 2021196625A1 CN 2020128521 W CN2020128521 W CN 2020128521W WO 2021196625 A1 WO2021196625 A1 WO 2021196625A1
Authority
WO
WIPO (PCT)
Prior art keywords
formatting
instruction
level
smart terminal
special
Prior art date
Application number
PCT/CN2020/128521
Other languages
French (fr)
Chinese (zh)
Inventor
韦金保
郑勇
李政
戴志涛
邓百平
Original Assignee
深圳市沃特沃德股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市沃特沃德股份有限公司 filed Critical 深圳市沃特沃德股份有限公司
Publication of WO2021196625A1 publication Critical patent/WO2021196625A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data

Definitions

  • This application relates to the field of smart terminals, and in particular to a method for formatting a smart terminal, its smart terminal, and a storage medium.
  • users can only format the storage unit of the smart terminal by restoring the factory settings, etc.
  • the restoring to the factory settings only deletes the application file management directory, but does not erase the content of the storage unit in the EMMC/SD card.
  • the formatting method is single, and through special
  • the software can also restore the data in the storage unit after restoring the factory settings, and the mobile phone can work normally, so there is a risk of information leakage for the smart terminal only by restoring the factory settings.
  • the main purpose of this application is to provide a method for formatting a smart terminal and its smart terminal and storage medium, aiming to solve the technical problem of a single formatting method for smart terminals and easy information leakage.
  • This application provides a method for formatting a smart terminal, including:
  • the corresponding memory data is erased according to the formatting level, where the memory data is data in the storage unit.
  • the formatting level includes a first formatting level and a second formatting level
  • the method further includes:
  • the smart terminal is provided with a special button, the special button is used to trigger a formatting instruction, and the step of detecting whether the formatting instruction is triggered includes:
  • the smart terminal is provided with a special button, the special button is used to trigger a formatting instruction, and the step of detecting the formatting level corresponding to the formatting instruction includes:
  • the corresponding formatting level is triggered according to the pressing duration.
  • step of detecting whether the formatting instruction is triggered further includes:
  • the special command character string is a first special command character string or a second special command character string
  • the first special command character string corresponds to a first formatting level
  • the second special command character string corresponds to a second special command character string.
  • Format level the step of triggering the format instruction corresponding to the special command string includes:
  • the corresponding formatting instruction is triggered according to the information of the special command string.
  • This application also provides an intelligent terminal, including: a power supply, a control unit, and a storage unit;
  • the power supply is used to provide power for the control unit and the storage unit;
  • a signal receiving module is provided in the control unit, and the corresponding formatting instruction is triggered by the information received in the signal receiving module;
  • the storage unit is in data connection with the control unit, and a processor is provided in the storage unit.
  • the processor is configured to receive feedback information sent by the control unit, and the feedback information is used to describe that the formatting instruction has been After being triggered and describing the formatting level corresponding to the formatting instruction, the storage unit erases the corresponding memory data according to the formatting level.
  • the storage unit includes an SD card and an EMMC;
  • the control unit is respectively connected to the SD card and the EMMC, and processors are respectively provided in the SD card and the EMMC;
  • the first capacitor is connected to the SD card, the first capacitor is used to supply power to the SD card after the power supply is disconnected, the second capacitor is connected to the EMMC, and the second capacitor It is used to supply power to the EMMC after the power supply is disconnected.
  • This application also provides an intelligent terminal, including:
  • the formatting instruction detection module is used to detect whether the formatting instruction is triggered
  • the formatting level detection module is used to detect the formatting level corresponding to the formatting instruction when the formatting instruction is triggered;
  • the cut-off module is used to cut off the connection of the power supply in the smart terminal, and supply power to the storage unit through a capacitor connected to the storage unit;
  • the memory data erasing module is used to erase corresponding memory data according to the formatting level, where the memory data is data in the storage unit.
  • the present application also provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned method for formatting a smart terminal are realized.
  • the present application also provides a computer device, which includes a processor, a memory, and a computer program stored on the memory and capable of running on the processor.
  • the processor implements the foregoing when the computer program is executed. The steps of the method of formatting a smart terminal.
  • the smart terminal has a variety of formatting schemes, and the user can follow Need to choose the corresponding formatting method format smart terminal.
  • the connection of the power supply in the smart terminal is cut off, and the storage unit is powered by a pre-connected capacitor to ensure that the erase command can be executed smoothly, so that the smart terminal can be shut down through the internal
  • the program erasing achieves the technical effect of quickly erasing data in the storage unit, and reduces the risk of terminal information leakage.
  • FIG. 1 is a schematic flowchart of an embodiment of a method for formatting a smart terminal of this application
  • FIG. 2 is a schematic diagram of a part of the flow of step S1 of the method for formatting a smart terminal of this application;
  • FIG. 3 is a structural block diagram of the smart terminal of this application.
  • FIG. 4 is another structural block diagram of the smart terminal of this application.
  • FIG. 5 is a structural block diagram of an embodiment of a storage medium of this application.
  • Fig. 6 is a structural block diagram of an embodiment of a computer device of this application.
  • connection may be a direct connection or an indirect connection.
  • this application proposes a method for formatting a smart terminal, including:
  • S3 Cut off the connection of the power supply in the smart terminal, and supply power to the storage unit through the capacitor connected to the storage unit;
  • the control unit in the smart terminal detects whether the formatting instruction is triggered.
  • the trigger condition can be by pressing a button set on the smart terminal or a corresponding operation, or it can be triggered by an external device.
  • the processor provided in the storage unit of the smart terminal may detect whether the formatting instruction in the control unit is triggered, or the control unit may send the detection result to the processor in the storage unit.
  • the formatting level corresponding to the formatting instruction is detected.
  • the formatting level can include multiple levels, corresponding to different erasing effects, for example, it can be set to correspond to one level. Erase the application data information in each application, and keep all kinds of applications.
  • the second level corresponds to restoring the factory settings
  • the third level corresponds to all erasing. All erasing can be to completely erase the data in the smart terminal, including the most intelligent terminal. All data such as the operating system and the pre-installed software that are carried at the beginning, so that there is no information in the smart terminal, and ensure that the information in the smart terminal is not leaked.
  • the storage unit includes an SD card and an EMMC.
  • Each of the SD card and EMMC is provided with a processor, and a capacitor is connected in series.
  • the processor stores a program for erasing memory data, and the capacitor is used for cutting off When supplying power, it provides power for the corresponding connected SD card or EMMC.
  • the formatting command is triggered, cut off the connection of the power supply in the smart terminal.
  • the data in the DDR (DDR is not included in the storage unit in this application) will be cleared immediately, and the SD card and EMMC are respectively set with
  • the processor can be powered by the respective connected capacitors, and then the erase command can be executed smoothly by the processor, so that after the smart terminal is shut down, it can be erased through the internal program, achieving the technology of quickly erasing the data in the storage unit
  • the capacity of the capacitors connected in series between the SD card and EMMC should be large enough to provide enough power for the SD card and EMMC to complete the task of erasing.
  • the power supply in the smart terminal suddenly goes out of power or cuts off the power supply.
  • the power supply When the power supply is connected, it can be powered by a capacitor (the power supply time is generally more than 10 seconds) to complete the task of erasing.
  • the control unit or the processor provided in the storage unit executes the operation of erasing data in the storage unit.
  • one level in the formatting level corresponds to erasing.
  • the application data information in each application is retained, and the second level corresponds to restoring the factory settings, and the third level corresponds to all erasure.
  • the formatting level can also be set to two levels, four levels or more levels, which can be set as required.
  • the formatting level includes a first formatting level and a second formatting level.
  • SD card secure digital card
  • EMMC embedded Multi Media Card
  • SD card is a semiconductor-based flash memory
  • EMMC embedded Multi Media Card
  • the general smart terminal only deletes application files when restoring the factory settings.
  • the SD card and All storage modules in EMMC are all 0s or all 1s, which further reduces the risk of customer information being leaked. If it is the first format level, you can only restore the factory settings and delete the application file management directory in the storage unit. Keep other data in the SD card and EMMC.
  • DDR Double Rate Synchronous Dynamic Random Access Memory
  • DDR Double Rate Synchronous Dynamic Random Access Memory
  • the smart terminal is provided with a special button, and the special button is used to trigger a formatting instruction.
  • the above step S1 includes:
  • the formatting instruction can be triggered by pressing a special button to realize the formatting instruction. If the special button is pressed, the corresponding formatting instruction is triggered. Among them, the way the special button is pressed Contains the corresponding formatting level. For example, it can be determined based on the pressing time. You can also set a special button as a pressure sensor and set one or more pressure ranges. Each pressure range corresponds to a formatting level. In another embodiment, a plurality of special buttons may also be provided, and each special button corresponds to a formatting level, and various forms such as combining the above-mentioned triggering methods shall be included in the protection scope of this application.
  • the special buttons can be physical buttons arranged on the outer surface of the smart terminal, and are different from other original physical buttons (volume plus and minus buttons, power-on button, etc.).
  • step S2 includes:
  • S202 Trigger a corresponding formatting level according to the pressing duration.
  • a pressing time threshold is set internally in advance. After obtaining the pressing time of a special key, it is detected whether the pressing time of the special key is greater than the pressing time threshold, where the pressing time threshold is The value is the preset pressing duration value. For example, the pressing duration value is 2 seconds. When it is greater than the pressing duration threshold, it is determined that the formatting instruction corresponds to the second formatting level, and when it is less than or equal to the pressing duration threshold Value, the special key corresponds to the first formatting level. In some embodiments, if multiple formatting levels are set, multiple different pressing duration thresholds can be set correspondingly, and each time a pressing duration threshold is exceeded, a different formatting level corresponds to.
  • step S1 further includes:
  • S111 Obtain information in a third-party program
  • the third-party program can be social software such as QQ, WeChat, Weibo, Alipay, Facebook, etc., or can be SMS, email, etc.
  • the special command string is a pre-set special command string, for example, it can be a segment of numbers, letters, characters, symbols, or a combination thereof.
  • the formatting instruction corresponding to the special command string information is triggered.
  • the chat message containing the special command string can be sent from other devices to the smart terminal to control the The smart terminal is formatted, thereby realizing the beneficial effect of controlling the smart terminal's formatting from other devices.
  • step S223 includes:
  • S2232 Trigger a corresponding formatting instruction according to the information of the special command string.
  • the information in the special command string is detected.
  • the information of the special command string includes the first special command string and the second special command string, and the first special command string corresponds to the first format Level, the second special command string corresponds to the second formatting level.
  • the detection method can be to correspond the special command string with the special command string saved in the system, and then determine that the information in the special command string corresponds to the first The special command string is also the second special command string.
  • the formatting instruction of the second format level is triggered, that is, the data in the SD card and EMMC will be erased correspondingly;
  • the format command of the first format level is triggered, and the factory reset command is executed correspondingly.
  • the smart terminal has a variety of formatting schemes, and the All data in the storage unit is erased, which can effectively protect customer information and reduce the risk of leakage.
  • the present application also provides an intelligent terminal, including: a power supply cell, a control unit 1, and a storage unit; the power supply cell is used to provide power for the control unit 1 and the storage unit; the control unit 1 is provided with a signal receiver Module, the level of the corresponding formatting instruction is triggered by the information in the signal receiving module; the storage unit is in data connection with the control unit 1, and a processor is provided in the storage unit, and the processor is used to receive the feedback information sent by the control unit 1, the feedback The information is used to describe that the formatting instruction has been triggered and the formatting level corresponding to the formatting instruction, and the corresponding memory data is erased according to the formatting level.
  • an intelligent terminal including: a power supply cell, a control unit 1, and a storage unit; the power supply cell is used to provide power for the control unit 1 and the storage unit; the control unit 1 is provided with a signal receiver Module, the level of the corresponding formatting instruction is triggered by the information in the signal receiving module; the storage unit is in data connection with the control unit 1, and a processor is
  • the power supply cell generally refers to the internal power supply of the smart terminal, of course, it can also be an external power supply.
  • the control unit 1 is generally the main control IC of the smart unit. In some embodiments, a separate control IC can also be provided for Obtain the externally input signal and trigger the corresponding formatting instruction according to the signal.
  • the storage unit is connected to the control unit 1 in data to control the storage unit to erase data.
  • the storage unit in this application only refers to the SD card 2 and EMMC 4, for DDR 3 is also used as a memory, but the data stored in DDR 3 can be directly erased by the control unit 1, and there is generally no processor inside, so the storage unit here refers to SD card 2 and In the EMMC 4, its internal processor detects whether the formatting command in the control unit 1 is triggered and erases the corresponding memory data according to the formatting level after the trigger.
  • the erasing level for erasing the memory data corresponds to the formatting level.
  • the storage unit includes an SD card 2 and an EMMC4; the control unit 1 is connected to an SD card 2 and an EMMC4, respectively, and the SD card 2 and EMMC4 are respectively provided with processing
  • the first capacitor U1 is connected to the SD card 2
  • the first capacitor U1 is used to supply power to the SD card 2 after the power supply cell is disconnected
  • the second capacitor U2 is connected to the EMMC4, and the second capacitor U2 is used to disconnect the power supply cell Power supply for EMMC4 after opening.
  • SD card 2 and EMMC4 can be respectively connected to a capacitor, through the capacitor after cutting off the power supply cell for SD card 2 and EMMC4 respectively Supply power to perform the corresponding erase operation.
  • the control unit 1 sends the triggered formatting level to the SD card 2 and the processor inside the EMMC4.
  • the power is turned off directly to clear the data in DDR 3 directly, and then the SD card
  • the capacitors connected to the card 2 and the EMMC4 continue to supply power to the SD card 2 and the EMMC4, so that the SD card 2 and the EMMC4 continue to complete the erase command.
  • the smart terminal provided in this application also includes a special button 5, through which the formatting instruction is triggered, so that when the user needs to format, he can press the special button 5 to trigger the formatting instruction.
  • the way of button 5 corresponds to different formatting levels. For example, it can be judged according to the duration of pressing or the intensity of pressing (two specific judgment steps have been explained above, and will not be repeated here).
  • this application also provides an intelligent terminal, including:
  • the formatting instruction detection module 10 is used to detect whether the formatting instruction is triggered;
  • the formatting level detection module 20 is configured to detect the formatting level corresponding to the formatting instruction when the formatting instruction is triggered;
  • the cut-off module 30 is used to cut off the connection of the power supply in the smart terminal, and supply power to the storage unit through a capacitor connected to the storage unit;
  • the memory data erasing module 40 is configured to erase corresponding memory data according to the formatting level, where the memory data is data in the storage unit.
  • the format instruction detection module 10 of the control unit in the smart terminal detects whether the format instruction is triggered.
  • the trigger condition may be by pressing a button set on the smart terminal or a corresponding operation, or it may be triggered by an external device.
  • the processor provided in the storage unit of the smart terminal may detect whether the formatting instruction in the control unit is triggered, or the control unit may send the detection result to the processor in the storage unit.
  • the formatting level detection module 20 detects the formatting level corresponding to the formatting instruction.
  • the formatting level can include multiple levels, which correspond to different erasing effects. For example, it can be set to a level corresponding to erasing. In addition to the application data information in each application, all kinds of applications are retained. The second level corresponds to restoring the factory settings, and the third level corresponds to all erasing. All erasing can be to completely erase the data in the smart terminal, including the beginning of the smart terminal The carried operating system, pre-installed software, and all other data, so that there is no information in the smart terminal, and ensure that the information in the smart terminal is not leaked.
  • the storage unit includes an SD card and an EMMC.
  • the SD card and the EMMC are each provided with a processor, and a capacitor is connected in series.
  • the processor stores a program for erasing memory data.
  • the capacitor is used to cut off the power supply when the module 30 is cut off. Provide power to the connected SD card or EMMC. When it is detected that the formatting command is triggered, cut off the connection of the power supply in the smart terminal.
  • the data in the DDR (DDR is not included in the storage unit in this application) will be cleared immediately, and the SD card and EMMC are respectively set with
  • the processor can be powered by the respective connected capacitors, and then the erase command can be executed smoothly by the processor, so that after the smart terminal is shut down, the internal program is used to erase, achieving the technology of quickly erasing the data in the storage unit
  • the capacity of the capacitors connected in series between the SD card and EMMC should be large enough to provide enough power for the SD card and EMMC to complete the task of erasing.
  • the power supply in the smart terminal suddenly goes out of power or cuts off the power supply.
  • the power supply When the power supply is connected, it can be powered by a capacitor (the power supply time is generally more than 10 seconds) to complete the task of erasing.
  • the control unit or the memory data erasing module 40 of the processor provided in the storage unit executes the operation of erasing data in the storage unit.
  • a level in the formatting level corresponds to erasing.
  • the application data information in each application is retained, and the second level corresponds to restoring the factory settings, and the third level corresponds to all erasure.
  • the formatting level can also be set to two levels, four levels or more levels, which can be set as required.
  • the smart terminal further includes:
  • the first erasing execution module is configured to perform data in the storage unit if it is the second formatting level
  • the factory settings are restored.
  • SD card secure digital card
  • EMMC embedded Multi Media Card
  • the general smart terminal only deletes application files when restoring the factory settings. Manage the directory, do not erase the content of the storage module in the EMMC, SD card, the content of the storage space can be restored through special software, and the phone can work normally, so when the second formatting level is detected, it will execute Erase all the data in the SD card and EMMC (including the operating system of the smart terminal), and make the data stored in the SD card and EMMC completely blank, so that the mobile phone cannot operate normally.
  • Erase all the data in the SD card and EMMC including the operating system of the smart terminal
  • the SD card and All storage modules in EMMC are all 0s or all 1s, which further reduces the risk of customer information not being leaked. If it is the first format level, you can only restore the factory settings and delete the application file management directory in the storage unit. And keep other data in SD card and EMMC. It should be added that DDR (Double Rate Synchronous Dynamic Random Access Memory) is a synchronous dynamic random access memory. When the formatting command is triggered, no matter what the formatting level is, all erasing operations can be performed. Of course, after the power is off, the data in the DDR will be deleted immediately, and there is no need to set an additional erase command.
  • DDR Double Rate Synchronous Dynamic Random Access Memory
  • the smart terminal is provided with a special button, and the special button is used to trigger a formatting instruction.
  • the formatting instruction detection module 10 includes:
  • the special key judging sub-module is used to judge whether the special key is pressed
  • the formatting instruction triggering sub-module is used for triggering the corresponding formatting instruction if it is.
  • the formatting command can be triggered by pressing a special button. If the special button is pressed, the corresponding formatting command will be triggered.
  • the way the special button is pressed includes the corresponding formatting level, for example It can be determined according to the pressing time, or the special button can be set as a pressure sensor, and one or more pressure ranges can be set, and each pressure range corresponds to a formatting level.
  • a plurality of special buttons may also be provided, and each special button corresponds to a formatting level, and various forms such as combining the above-mentioned triggering methods shall be included in the protection scope of this application.
  • the special buttons can be physical buttons arranged on the outer surface of the smart terminal, and are different from other original physical buttons (volume plus and minus buttons, power-on button, etc.).
  • the formatting level detection module 20 includes:
  • the pressing time acquisition sub-module is used to acquire the pressing time of the special key
  • the formatting level triggering sub-module is used to trigger the corresponding formatting level according to the pressing duration.
  • a pressing duration threshold internally. After obtaining the pressing duration of the special key, check whether the pressing duration of the special key is greater than the pressing duration threshold, where the pressing duration threshold is the preset pressing duration value. For example, the pressing duration value is 2 seconds. When it is greater than the pressing duration threshold, it is determined that the formatting instruction corresponds to the second formatting level. When the pressing duration is less than or equal to the pressing duration threshold, the special button corresponds to the first Format level. In some embodiments, if multiple formatting levels are set, multiple different pressing duration thresholds can be set correspondingly, and each time a pressing duration threshold is exceeded, a different formatting level corresponds to.
  • the formatting instruction detection module 10 further includes:
  • the third-party program information acquisition sub-module is used to obtain the information in the third-party program
  • the special command string judgment sub-module is used to judge whether the information contains a special command string
  • the formatting instruction triggering sub-module is used to trigger the formatting instruction corresponding to the special command string information if it is.
  • the third-party program can be social software such as QQ, WeChat, Weibo, Alipay, Facebook, etc., or it can be SMS, email, etc.
  • the special command string is a pre-set special command string, for example, it can be a segment of numbers, letters, characters, symbols, or a combination thereof.
  • the formatting instruction corresponding to the special command string information is triggered.
  • the chat message containing the special command string can be sent from other devices to the smart terminal to control the The smart terminal is formatted, thereby realizing the beneficial effect of controlling the smart terminal's formatting from other devices.
  • the special command string is a first special command string or a second special command string
  • the first special command string corresponds to the first formatting level
  • the second special command string corresponds to The second formatting level
  • formatting instructions trigger sub-modules, including:
  • a special command string information detection unit for detecting the information of the special command string
  • the format instruction trigger unit is used to trigger the corresponding format instruction according to the information of the special command string.
  • the detection method can be to correspond the special command string to the special command string saved in the system, and then determine whether the information in the special command string corresponds to the first special command string or the first special command string.
  • Two special command string when it is the second special command string, the formatting instruction of the second format level is triggered, that is, the data in the SD card and EMMC will be erased correspondingly; when it is the first special command string , The format command of the first format level is triggered, and the factory reset command is executed correspondingly.
  • the present application also provides a storage medium 100 in which a computer program 200 is stored, which when running on a computer, causes the computer to execute the method for formatting a smart terminal described in the above embodiments.
  • the present application also provides a computer device 300 containing the above-mentioned storage medium 100.
  • the computer device 300 is enabled to process the computer device 300 through its internal settings.
  • the device 400 executes the method for formatting a smart terminal described in the above embodiments.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a storage medium, or transmitted from one storage medium to another storage medium.
  • the computer instructions may be transmitted from a website, computer, server, or data center through a cable (such as coaxial cable, optical fiber, etc.). , Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) to transmit to another website, computer, server or data center.
  • a cable such as coaxial cable, optical fiber, etc.
  • DSL Digital Subscriber Line
  • wireless such as infrared, wireless, microwave, etc.
  • the storage medium may be any available medium that can be stored by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).

Abstract

A method for formatting an intelligent terminal and an intelligent terminal thereof, and a storage medium, the method comprising: detecting whether a formatting instruction has been triggered (S1); if so, then detecting a formatting level corresponding to the formatting instruction (S2); and erasing corresponding memory data according to the formatting level. The method enables an intelligent terminal to have multiple formatting solutions, and by erasing all of the data in a storage unit, customer information can be effectively protected, reducing the risk of leakage.

Description

格式化智能终端的方法及其智能终端、存储介质Method for formatting smart terminal, smart terminal and storage medium 技术领域Technical field
本申请涉及智能终端领域,特别涉及一种格式化智能终端的方法及其智能终端、存储介质。This application relates to the field of smart terminals, and in particular to a method for formatting a smart terminal, its smart terminal, and a storage medium.
背景技术Background technique
目前用户只能通过恢复出厂设置等方法格式化智能终端存储单元,恢复出厂设置只是删除了应用文件管理目录,并未擦除EMMC/SD卡中存储单元的内容,格式化方法单一,而且通过特别的软件也可以恢复恢复出厂设置后存储单元内的数据,而且手机可以正常工作,因此智能终端仅通过恢复出厂设置也存在信息泄露的风险。At present, users can only format the storage unit of the smart terminal by restoring the factory settings, etc. The restoring to the factory settings only deletes the application file management directory, but does not erase the content of the storage unit in the EMMC/SD card. The formatting method is single, and through special The software can also restore the data in the storage unit after restoring the factory settings, and the mobile phone can work normally, so there is a risk of information leakage for the smart terminal only by restoring the factory settings.
技术问题technical problem
本申请的主要目的为提供一种格式化智能终端的方法及其智能终端、存储介质,旨在解决智能终端格式化方法单一、信息容易泄露的技术问题。The main purpose of this application is to provide a method for formatting a smart terminal and its smart terminal and storage medium, aiming to solve the technical problem of a single formatting method for smart terminals and easy information leakage.
技术解决方案Technical solutions
本申请提供了一种格式化智能终端的方法,包括:This application provides a method for formatting a smart terminal, including:
检测格式化指令是否被触发;Check whether the formatting command is triggered;
若是,则检测所述格式化指令对应的格式化等级;If yes, detect the formatting level corresponding to the formatting instruction;
切断所述智能终端中供电电源的连接,并通过与存储单元连接的电容为所述存储单元进行供电;Cutting off the connection of the power supply in the smart terminal, and supplying power to the storage unit through a capacitor connected to the storage unit;
根据所述格式化等级擦除对应的内存数据,其中所述内存数据为所述存储单元中的数据。The corresponding memory data is erased according to the formatting level, where the memory data is data in the storage unit.
进一步地,所述格式化等级包括第一格式化等级和第二格式化等级,所述检测所述格式化指令对应的格式化等级的步骤之后,还包括:Further, the formatting level includes a first formatting level and a second formatting level, and after the step of detecting the formatting level corresponding to the formatting instruction, the method further includes:
若为所述第二格式化等级,则擦除所述存储单元中的数据;If it is the second formatting level, erase the data in the storage unit;
若为所述第一格式化等级,则恢复出厂设置。If it is the first formatting level, the factory settings are restored.
进一步地,所述智能终端设置有特殊按键,所述特殊按键用于触发格式化指令,所述检测格式化指令是否被触发的步骤,包括:Further, the smart terminal is provided with a special button, the special button is used to trigger a formatting instruction, and the step of detecting whether the formatting instruction is triggered includes:
判断所述特殊按键是否被按下;Judging whether the special key is pressed;
若是,则触发对应的所述格式化指令。If yes, trigger the corresponding formatting instruction.
进一步地,所述智能终端设置有特殊按键,所述特殊按键用于触发格式化指令,所述检测所述格式化指令对应的格式化等级的步骤,包括:Further, the smart terminal is provided with a special button, the special button is used to trigger a formatting instruction, and the step of detecting the formatting level corresponding to the formatting instruction includes:
获取所述特殊按键的按压时长;Acquiring the pressing time of the special key;
根据所述按压时长触发对应的格式化等级。The corresponding formatting level is triggered according to the pressing duration.
进一步地,所述检测格式化指令是否被触发的步骤,还包括:Further, the step of detecting whether the formatting instruction is triggered further includes:
获取第三方程序中的信息;Obtain information from third-party programs;
判断所述信息中是否包含特殊命令字符串;Determine whether the information contains a special command string;
若是,则触发所述特殊命令字符串信息对应的格式化指令。If yes, trigger the formatting instruction corresponding to the special command string information.
进一步地,所述特殊命令字符串为第一特殊命令字符串或第二特殊命令字符串,所述第一特殊命令字符串对应第一格式化等级,所述第二特殊命令字符串对应第二格式化等级,所述触发所述特殊命令字符串对应的格式化指令的步骤,包括:Further, the special command character string is a first special command character string or a second special command character string, the first special command character string corresponds to a first formatting level, and the second special command character string corresponds to a second special command character string. Format level, the step of triggering the format instruction corresponding to the special command string includes:
检测所述特殊命令字符串的信息;Detecting the information of the special command string;
根据所述特殊命令字符串的信息触发对应的格式化指令。The corresponding formatting instruction is triggered according to the information of the special command string.
本申请还提供了一种智能终端,包括:供电电源、控制单元以及存储单元;This application also provides an intelligent terminal, including: a power supply, a control unit, and a storage unit;
所述供电电源用于为所述控制单元和所述存储单元提供电源;The power supply is used to provide power for the control unit and the storage unit;
所述控制单元内设置有信号接收模块,通过所述信号接收模块中接收的信息触发对应的格式化指令;A signal receiving module is provided in the control unit, and the corresponding formatting instruction is triggered by the information received in the signal receiving module;
所述存储单元与所述控制单元数据连接,所述存储单元内设置有处理器,所述处理器用于接收所述控制单元发送的反馈信息,所述反馈信息用于描述所述格式化指令已被触发以及描述与所述格式化指令对应的格式化等级,所述存储单元根据所述格式化等级擦除对应的内存数据。The storage unit is in data connection with the control unit, and a processor is provided in the storage unit. The processor is configured to receive feedback information sent by the control unit, and the feedback information is used to describe that the formatting instruction has been After being triggered and describing the formatting level corresponding to the formatting instruction, the storage unit erases the corresponding memory data according to the formatting level.
进一步地,还包括第一电容和第二电容,所述存储单元包括SD卡和EMMC;Further, it further includes a first capacitor and a second capacitor, and the storage unit includes an SD card and an EMMC;
所述控制单元分别与所述SD卡和所述EMMC连接,所述SD卡和所述EMMC内分别设置有处理器;The control unit is respectively connected to the SD card and the EMMC, and processors are respectively provided in the SD card and the EMMC;
所述第一电容与所述SD卡连接,所述第一电容用于在所述供电电源断开后为所述SD卡供电,所述第二电容与所述EMMC连接,所述第二电容用于在所述供电电源断开后为所述EMMC供电。The first capacitor is connected to the SD card, the first capacitor is used to supply power to the SD card after the power supply is disconnected, the second capacitor is connected to the EMMC, and the second capacitor It is used to supply power to the EMMC after the power supply is disconnected.
本申请还提供了一种智能终端,包括:This application also provides an intelligent terminal, including:
格式化指令检测模块,用于检测格式化指令是否被触发;The formatting instruction detection module is used to detect whether the formatting instruction is triggered;
格式化等级检测模块,用于在格式化指令被触发时,则检测所述格式化指令对应的格式化等级;The formatting level detection module is used to detect the formatting level corresponding to the formatting instruction when the formatting instruction is triggered;
切断模块,用于切断所述智能终端中供电电源的连接,并通过与存储单元连接的电容为所述存储单元进行供电;The cut-off module is used to cut off the connection of the power supply in the smart terminal, and supply power to the storage unit through a capacitor connected to the storage unit;
内存数据擦除模块,用于根据所述格式化等级擦除对应的内存数据,其中所述内存数据为所述存储单元中的数据。The memory data erasing module is used to erase corresponding memory data according to the formatting level, where the memory data is data in the storage unit.
本申请还提供了一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述所述的格式化智能终端的方法的步骤。The present application also provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned method for formatting a smart terminal are realized.
本申请还提供了一种计算机设备,其包括处理器、存储器及存储于所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述所述的格式化智能终端的方法的步骤。The present application also provides a computer device, which includes a processor, a memory, and a computer program stored on the memory and capable of running on the processor. The processor implements the foregoing when the computer program is executed. The steps of the method of formatting a smart terminal.
有益效果Beneficial effect
本申请的有益效果:通过检测格式化指令是否被触发以及格式化对应的格式化等级,然后根据格式化等级擦除对应的内存数据,从而使智能终端具有多种格式化的方案,用户可以根据需要选择对应的格式化方法格式智能终端。当检测到格式化指令被触发时,切断智能终端中供电电源的连接,而存储单元通过预先连接的电容进行供电,进而保证可以顺利执行擦除的指令,从而实现将智能终端关机后,通过内部程序进行擦除,达到了快速擦除存储单元内数据的技术效果,降低了终端信息泄露的风险。The beneficial effect of this application: by detecting whether the formatting instruction is triggered and formatting the corresponding formatting level, and then erasing the corresponding memory data according to the formatting level, the smart terminal has a variety of formatting schemes, and the user can follow Need to choose the corresponding formatting method format smart terminal. When it is detected that the formatting command is triggered, the connection of the power supply in the smart terminal is cut off, and the storage unit is powered by a pre-connected capacitor to ensure that the erase command can be executed smoothly, so that the smart terminal can be shut down through the internal The program erasing achieves the technical effect of quickly erasing data in the storage unit, and reduces the risk of terminal information leakage.
附图说明Description of the drawings
图1为本申请的格式化智能终端的方法一个实施例的流程示意图;FIG. 1 is a schematic flowchart of an embodiment of a method for formatting a smart terminal of this application;
图2为本申请的格式化智能终端的方法步骤S1的部分流程示意图;FIG. 2 is a schematic diagram of a part of the flow of step S1 of the method for formatting a smart terminal of this application;
图3为本申请的智能终端的结构框图;Figure 3 is a structural block diagram of the smart terminal of this application;
图4为本申请的智能终端的另一结构框图;FIG. 4 is another structural block diagram of the smart terminal of this application;
图5为本申请的存储介质一实施例的结构框图;FIG. 5 is a structural block diagram of an embodiment of a storage medium of this application;
图6为本申请的计算机设备一实施例的结构框图。Fig. 6 is a structural block diagram of an embodiment of a computer device of this application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics, and advantages of the purpose of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
本发明的最佳实施方式The best mode of the present invention
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请的一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
需要说明,本申请实施例中所有方向性指示(诸如上、下、左、右、前、后等)仅用于解释在某一特定姿态(如附图所示)下各部件之间的相对位置关系、运动情况等,如果该特定姿态发生改变时,则该方向性指示也相应地随之改变,所述的连接可以是直接连接,也可以是间接连接。It should be noted that all the directional indicators (such as up, down, left, right, front, back, etc.) in the embodiments of this application are only used to explain the relative relationship between the various components in a certain posture (as shown in the drawings). If the position relationship, movement situation, etc. change, the directional indication changes accordingly. The connection may be a direct connection or an indirect connection.
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。The term "and/or" in this article is only an association relationship that describes the associated objects, which means that there can be three kinds of relationships, for example, A and B, which can mean: A alone exists, A and B exist at the same time, and B exists alone. three conditions.
另外,在本申请中如涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。In addition, the descriptions related to "first", "second", etc. in this application are only for descriptive purposes, and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on what can be achieved by a person of ordinary skill in the art. When the combination of technical solutions is contradictory or cannot be achieved, it should be considered that such a combination of technical solutions does not exist. , Is not within the scope of protection required by this application.
参照图1,本申请提出一种格式化智能终端的方法,包括:1, this application proposes a method for formatting a smart terminal, including:
S1:检测格式化指令是否被触发;S1: Detect whether the formatting command is triggered;
S2:若是,则检测所述格式化指令对应的格式化等级;S2: If yes, detect the formatting level corresponding to the formatting instruction;
S3:切断所述智能终端中供电电源的连接,并通过与存储单元连接的电容为所述存储单元进行供电;S3: Cut off the connection of the power supply in the smart terminal, and supply power to the storage unit through the capacitor connected to the storage unit;
S4:根据所述格式化等级擦除对应的内存数据,其中所述内存数据为所述存储单元中的数据。S4: Erase corresponding memory data according to the formatting level, where the memory data is data in the storage unit.
如上述步骤S1所述,通过智能终端内的控制单元检测格式化指令是否被触发,触发的条件可以是通过按下设置在智能终端上的按键或者是对应的操作,还可以是通过外部设备触发。在另一个实施例中也可以是设置在智能终端上存储单元内的处理器检测控制单元内的格式化指令是否被触发,或者是控制单元将检测结果发送至存储单元内的处理器。As described in step S1 above, the control unit in the smart terminal detects whether the formatting instruction is triggered. The trigger condition can be by pressing a button set on the smart terminal or a corresponding operation, or it can be triggered by an external device. . In another embodiment, the processor provided in the storage unit of the smart terminal may detect whether the formatting instruction in the control unit is triggered, or the control unit may send the detection result to the processor in the storage unit.
如上述步骤S2所述,当格式化指令触发时,检测该格式化指令对应的格式化等级,该格式化等级可以包括多等,分别对应不同的擦除效果,例如,可以设置为一等级对应擦除各应用中的应用数据信息,而保留各类应用,二等级对应恢复出厂设置,三等级对应全部擦除,全部擦除可以是将智能终端内的数据完全擦除,包括智能终端中最开始携带的操作系统,预设安装软件等所有数据,使智能终端中不存在任何信息,保证智能终端中的信息不泄露。As described in step S2 above, when the formatting instruction is triggered, the formatting level corresponding to the formatting instruction is detected. The formatting level can include multiple levels, corresponding to different erasing effects, for example, it can be set to correspond to one level. Erase the application data information in each application, and keep all kinds of applications. The second level corresponds to restoring the factory settings, and the third level corresponds to all erasing. All erasing can be to completely erase the data in the smart terminal, including the most intelligent terminal. All data such as the operating system and the pre-installed software that are carried at the beginning, so that there is no information in the smart terminal, and ensure that the information in the smart terminal is not leaked.
如上述步骤S3所述,存储单元包括SD卡和EMMC,SD卡和EMMC中各自设置有处理器,且分别串联一个电容,处理器内存储有执行擦除内存数据的程序,电容用于在切断供电电源时为对应连接的SD卡或EMMC提供电源。当检测到格式化指令被触发时,切断智能终端中供电电源的连接,此时DDR(本申请中DDR不包括在存储单元中)中的数据会立即清除,而SD卡和EMMC中各自设置有处理器,可以通过各自连接的电容进行供电,进而可以通过处理器顺利执行擦除的指令,从而实现将智能终端关机后,通过内部程序进行擦除,达到了快速擦除存储单元内数据的技术效果,其中SD卡和EMMC分别串联的电容的容量应该要足够大,使其可以提供足够的电量供SD卡和EMMC完成擦除的任务,例如智能终端中的供电电源突然出现没电或者切断供电电源的连接时,可以通过电容对其进行供电(供电时间一般超过10秒),使其完成擦除的任务。As described in step S3 above, the storage unit includes an SD card and an EMMC. Each of the SD card and EMMC is provided with a processor, and a capacitor is connected in series. The processor stores a program for erasing memory data, and the capacitor is used for cutting off When supplying power, it provides power for the corresponding connected SD card or EMMC. When it is detected that the formatting command is triggered, cut off the connection of the power supply in the smart terminal. At this time, the data in the DDR (DDR is not included in the storage unit in this application) will be cleared immediately, and the SD card and EMMC are respectively set with The processor can be powered by the respective connected capacitors, and then the erase command can be executed smoothly by the processor, so that after the smart terminal is shut down, it can be erased through the internal program, achieving the technology of quickly erasing the data in the storage unit As a result, the capacity of the capacitors connected in series between the SD card and EMMC should be large enough to provide enough power for the SD card and EMMC to complete the task of erasing. For example, the power supply in the smart terminal suddenly goes out of power or cuts off the power supply. When the power supply is connected, it can be powered by a capacitor (the power supply time is generally more than 10 seconds) to complete the task of erasing.
如上述步骤S4所述,在获取到格式化的等级之后,由控制单元或者是存储单元内设置的处理器执行擦除存储单元内数据的操作,例如,格式化等级中的一等级对应擦除各应用中的应用数据信息,而保留各类应用,二等级对应恢复出厂设置,三等级对应全部擦除。需要说明的是,该格式化等级也可以设为两个等级、四个等级或者更多的等级,可以根据需要进行设置。As described in step S4 above, after obtaining the formatting level, the control unit or the processor provided in the storage unit executes the operation of erasing data in the storage unit. For example, one level in the formatting level corresponds to erasing. The application data information in each application is retained, and the second level corresponds to restoring the factory settings, and the third level corresponds to all erasure. It should be noted that the formatting level can also be set to two levels, four levels or more levels, which can be set as required.
本实施例中,所述格式化等级包括第一格式化等级和第二格式化等级,上述步骤S2之后,还包括:In this embodiment, the formatting level includes a first formatting level and a second formatting level. After the above step S2, it further includes:
S301:若为所述第二格式化等级,则擦除所述存储单元中的数据;S301: If it is the second formatting level, erase the data in the storage unit;
S302:若为所述第一格式化等级,则恢复出厂设置。S302: If it is the first formatting level, restore the factory settings.
如上述步骤S301-S302所述,可以只设置两个格式化等级,当为第二格式化等级时,擦除SD卡(安全数码卡)和EMMC(Embedded Multi Media Card)(即存储单元)中的数据,SD卡是一种基于半导体快闪记忆器,而EMMC是一种内嵌式存储器,一般的智能终端在恢复出厂设置操作时只是删除了应用文件管理目录,并未擦除EMMC、SD卡中存储模块的内容,通过特别的软件也可以恢复其存储空间的内容,而且手机可以正常工作,因此当检测到是第二格式化等级时,则执行擦除SD卡和EMMC中所有的数据(包括智能终端的操作系统),使SD卡和EMMC中存储的数据完全空白,从而手机也不能正常运行,以存储器存储模块的格式来说,SD卡和EMMC中所有存储模块为全0或者全1状态,进一步降低了客户信息被泄露的风险,而若为第一格式化等级,则可以只恢复出厂设置,删除存储单元中的应用文件管理目录,而保留SD卡与EMMC中的其它数据。需要补充说明的是,DDR(双倍速率同步动态随机存储器)是一种同步动态随机存储器,在格式化指令被触发时,无论格式化等级是哪种等级,都可以执行全部擦除的操作,当然,在断电之后,DDR中的数据会立即删除,不需要额外设置擦除指令。As described in the above steps S301-S302, only two formatting levels can be set. When it is the second formatting level, the SD card (secure digital card) and EMMC (Embedded Multi Media Card) (ie storage unit), SD card is a semiconductor-based flash memory, while EMMC is a built-in memory. The general smart terminal only deletes application files when restoring the factory settings. Manage the directory, do not erase the content of the storage module in the EMMC, SD card, the content of the storage space can be restored through special software, and the phone can work normally, so when the second formatting level is detected, it will execute Erase all the data in the SD card and EMMC (including the operating system of the smart terminal), and make the data stored in the SD card and EMMC completely blank, so that the mobile phone cannot operate normally. In the format of the memory storage module, the SD card and All storage modules in EMMC are all 0s or all 1s, which further reduces the risk of customer information being leaked. If it is the first format level, you can only restore the factory settings and delete the application file management directory in the storage unit. Keep other data in the SD card and EMMC. It should be added that DDR (Double Rate Synchronous Dynamic Random Access Memory) is a synchronous dynamic random access memory. When the formatting command is triggered, no matter what the formatting level is, all erasing operations can be performed. Of course, after the power is off, the data in the DDR will be deleted immediately, and there is no need to set an additional erase command.
本实施例中,所述智能终端设置有特殊按键,所述特殊按键用于触发格式化指令,上述步骤S1,包括:In this embodiment, the smart terminal is provided with a special button, and the special button is used to trigger a formatting instruction. The above step S1 includes:
S101:判断所述特殊按键是否被按下;S101: Determine whether the special key is pressed;
S102:若是,则触发对应的所述格式化指令。S102: If yes, trigger the corresponding formatting instruction.
如上述步骤S101-S102所述,触发格式化指令可以是通过按压特殊按键进行实现格式化指令,若该特殊按键被按下,则触发对应的格式化指令,其中,特殊按键被按下的方式包含了对应的格式化等级,例如可以根据按压时长来确定,也可以将特殊按键设置为压力传感器,并且设置一个或者多个压力范围,每个压力范围对应一个格式化等级。在另一个实施例中,也可以是设置多个特殊按键,每个特殊按键对应一个格式化等级,还可以将上述触发方式进行结合等各种形式均应包含在本申请的保护范围内。其中特殊按键可以是设置在智能终端外表面上的物理按键,且异于原有的其他物理按键(音量加减键、开机键等)。As described in the above steps S101-S102, the formatting instruction can be triggered by pressing a special button to realize the formatting instruction. If the special button is pressed, the corresponding formatting instruction is triggered. Among them, the way the special button is pressed Contains the corresponding formatting level. For example, it can be determined based on the pressing time. You can also set a special button as a pressure sensor and set one or more pressure ranges. Each pressure range corresponds to a formatting level. In another embodiment, a plurality of special buttons may also be provided, and each special button corresponds to a formatting level, and various forms such as combining the above-mentioned triggering methods shall be included in the protection scope of this application. The special buttons can be physical buttons arranged on the outer surface of the smart terminal, and are different from other original physical buttons (volume plus and minus buttons, power-on button, etc.).
本实施例中,上述步骤S2,包括:In this embodiment, the above step S2 includes:
S201:获取所述特殊按键的按压时长;S201: Obtain the pressing time of the special key;
S202:根据所述按压时长触发对应的格式化等级。S202: Trigger a corresponding formatting level according to the pressing duration.
如上述步骤S201-S202所述,预先在内部设置一个按压时长门限值,获取到特殊按键的按压时长后,检测特殊按键被按压的按压时长是否大于按压时长门限值,其中按压时长门限值为事先设置的按压时长值,例如按压时长值为2秒,当大于这个按压时长门限值时,则判定所述格式化指令对应第二格式化等级,当小于或等于这个按压时长门限值时,则特殊按键对应第一格式化等级。在一些实施例中,若设置有多个格式化等级,则可以对应设置多个不同按压时长门限值,每超出一个按压时长门限值时,则对应不同的格式化等级。As described in the above steps S201-S202, a pressing time threshold is set internally in advance. After obtaining the pressing time of a special key, it is detected whether the pressing time of the special key is greater than the pressing time threshold, where the pressing time threshold is The value is the preset pressing duration value. For example, the pressing duration value is 2 seconds. When it is greater than the pressing duration threshold, it is determined that the formatting instruction corresponds to the second formatting level, and when it is less than or equal to the pressing duration threshold Value, the special key corresponds to the first formatting level. In some embodiments, if multiple formatting levels are set, multiple different pressing duration thresholds can be set correspondingly, and each time a pressing duration threshold is exceeded, a different formatting level corresponds to.
参照图2,本实施例中,上述步骤S1,还包括:Referring to Fig. 2, in this embodiment, the above step S1 further includes:
S111:获取第三方程序中的信息;S111: Obtain information in a third-party program;
S112:判断所述信息中是否包含特殊命令字符串;S112: Determine whether the information contains a special command string;
S113:若是,则触发所述特殊命令字符串信息对应的格式化指令。S113: If yes, trigger the formatting instruction corresponding to the special command string information.
如上述步骤S111-S113所述,通过获取第三方程序中的信息,其中第三方程序可以是QQ、微信、微博、支付宝、Facebook等社交软件,也可以是短信、邮件等。通过获取其中的聊天信息,并判断这些信息中是否包含有特殊命令字符串,该特殊命令字符串为事先设定的特殊命令串,例如可以是一段数字、字母、文字、符号或其组合,当检测到含有特殊字符串时,则触发特殊命令字符串信息对应的格式化指令,当该智能终端丢失时,可以从其它设备上通过发送包含特殊命令字符串的聊天信息至该智能终端,控制该智能终端格式化,从而实现了从其他设备控制该智能终端格式化的有益效果。As described in the above steps S111-S113, by obtaining information in a third-party program, the third-party program can be social software such as QQ, WeChat, Weibo, Alipay, Facebook, etc., or can be SMS, email, etc. By obtaining the chat information, and judging whether the information contains a special command string, the special command string is a pre-set special command string, for example, it can be a segment of numbers, letters, characters, symbols, or a combination thereof. When a special string is detected, the formatting instruction corresponding to the special command string information is triggered. When the smart terminal is lost, the chat message containing the special command string can be sent from other devices to the smart terminal to control the The smart terminal is formatted, thereby realizing the beneficial effect of controlling the smart terminal's formatting from other devices.
本实施例中,上述步骤S223,包括:In this embodiment, the above step S223 includes:
S2231:检测所述特殊命令字符串的信息;S2231: Detect the information of the special command string;
S2232:根据所述特殊命令字符串的信息触发对应的格式化指令。S2232: Trigger a corresponding formatting instruction according to the information of the special command string.
如上述步骤S2231-S2232所述,检测特殊命令字符串中的信息,特殊命令字符串的信息包括第一特殊命令字符串和第二特殊命令字符串,第一特殊命令字符串对应第一格式化等级,第二特殊命令字符串对应第二格式化等级,检测方式可以是将该特殊命令字符串与系统内保存的特殊命令字符串对应,进而判断该特殊命令字符串中的信息是对应第一特殊命令字符串还是第二特殊命令字符串,当为第二特殊命令字符串时,则触发第二格式化等级的格式化指令,即对应则擦除SD卡和EMMC中的数据;当为第一特殊命令字符串时,则触发第一格式化等级的格式化指令,则对应执行恢复出厂设置命令。As described in the above steps S2231-S2232, the information in the special command string is detected. The information of the special command string includes the first special command string and the second special command string, and the first special command string corresponds to the first format Level, the second special command string corresponds to the second formatting level. The detection method can be to correspond the special command string with the special command string saved in the system, and then determine that the information in the special command string corresponds to the first The special command string is also the second special command string. When it is the second special command string, the formatting instruction of the second format level is triggered, that is, the data in the SD card and EMMC will be erased correspondingly; When a special command string is used, the format command of the first format level is triggered, and the factory reset command is executed correspondingly.
本申请的有益效果:通过检测格式化指令是否被触发以及格式化对应的格式化等级,然后根据格式化等级擦除对应的内存数据,从而使智能终端具有多种格式化的方案,且通过对存储单元内的数据全部擦除,可以有效的保护客户信息,降低泄露的风险。The beneficial effect of this application: by detecting whether the formatting instruction is triggered and formatting the corresponding formatting level, and then erasing the corresponding memory data according to the formatting level, the smart terminal has a variety of formatting schemes, and the All data in the storage unit is erased, which can effectively protect customer information and reduce the risk of leakage.
参照图3,本申请还提供了一种智能终端,包括:供电电源cell、控制单元1以及存储单元;供电电源cell用于为控制单元1和存储单元提供电源;控制单元1内设置有信号接收模块,通过信号接收模块中的信息触发对应的格式化指令的等级;存储单元与控制单元1数据连接,存储单元内设置有处理器,处理器用于接收控制单元1发送的反馈信息,所述反馈信息用于描述格式化指令已被触发以及描述与所述格式化指令对应的格式化等级,并根据格式化等级擦除对应的内存数据。3, the present application also provides an intelligent terminal, including: a power supply cell, a control unit 1, and a storage unit; the power supply cell is used to provide power for the control unit 1 and the storage unit; the control unit 1 is provided with a signal receiver Module, the level of the corresponding formatting instruction is triggered by the information in the signal receiving module; the storage unit is in data connection with the control unit 1, and a processor is provided in the storage unit, and the processor is used to receive the feedback information sent by the control unit 1, the feedback The information is used to describe that the formatting instruction has been triggered and the formatting level corresponding to the formatting instruction, and the corresponding memory data is erased according to the formatting level.
本实施例中,供电电源cell一般指智能终端内部的电源,当然也可以是外部的电源,控制单元1一般为智能单元的主控IC,在一些实施例中也可以单独设置一个控制IC用于获取外部输入的信号,并根据信号触发对应的格式化指令,存储单元与控制单元1数据连接,用于控制存储单元执行擦除数据,本申请中此处的存储单元仅是指SD卡2和EMMC 4,对于DDR 3虽然同样作为一个存储器,但是DDR 3保存的数据可以直接通过控制单元1擦除,且其内部一般也未曾设置处理器,故而此处中的存储单元是指SD卡2和EMMC 4,其内部的处理器检测控制单元1内的格式化指令是否被触发以及根据触发后的格式化等级擦除对应的内存数据,擦除内存数据的擦除等级与格式化等级对应。In this embodiment, the power supply cell generally refers to the internal power supply of the smart terminal, of course, it can also be an external power supply. The control unit 1 is generally the main control IC of the smart unit. In some embodiments, a separate control IC can also be provided for Obtain the externally input signal and trigger the corresponding formatting instruction according to the signal. The storage unit is connected to the control unit 1 in data to control the storage unit to erase data. The storage unit in this application only refers to the SD card 2 and EMMC 4, for DDR 3 is also used as a memory, but the data stored in DDR 3 can be directly erased by the control unit 1, and there is generally no processor inside, so the storage unit here refers to SD card 2 and In the EMMC 4, its internal processor detects whether the formatting command in the control unit 1 is triggered and erases the corresponding memory data according to the formatting level after the trigger. The erasing level for erasing the memory data corresponds to the formatting level.
本实施例中,还包括第一电容U1和第二电容U2,所述存储单元包括SD卡2和EMMC4;控制单元1分别与SD卡2和EMMC4连接,SD卡2和EMMC4内分别设置有处理器;第一电容U1与SD卡2连接,第一电容U1用于在供电电源cell断开后为SD卡2供电,第二电容U2与EMMC4连接,第二电容U2用于在供电电源cell断开后为EMMC4供电。In this embodiment, it also includes a first capacitor U1 and a second capacitor U2. The storage unit includes an SD card 2 and an EMMC4; the control unit 1 is connected to an SD card 2 and an EMMC4, respectively, and the SD card 2 and EMMC4 are respectively provided with processing The first capacitor U1 is connected to the SD card 2, the first capacitor U1 is used to supply power to the SD card 2 after the power supply cell is disconnected, the second capacitor U2 is connected to the EMMC4, and the second capacitor U2 is used to disconnect the power supply cell Power supply for EMMC4 after opening.
为了实现快速擦除,减少用户的操作,而且擦除的过程需要一定时间,故而可以将SD卡2和EMMC4分别对应连接一个电容,通过电容在切断供电电源cell后为SD卡2和EMMC4分别进行供电,以执行对应的擦除操作。具体地,当格式化指令被触发后,控制单元1将触发的格式化等级发送至SD卡2和EMMC4内部的处理器,此时直接关闭电源,使DDR 3中的数据直接清除,然后通过SD卡2和EMMC4各自连接的电容继续为SD卡2和EMMC4供电,使SD卡2和EMMC4继续完成擦除指令。在一些特殊场景中,例如在被不法分子抢夺智能终端时,此时没有足够的时间使手机完全格式化,当不法分子发觉智能终端正在进行格式化时,可能会采取拔掉智能终端电源的方式停止智能终端的格式化,因此,在触发了格式化指令后,使智能终端直接关机,切断供电电源的连接,然后通过SD卡2和EMMC4各自连接的电容为其继续供电,在智能终端后台完成擦除的任务,使不发分子不易察觉,另外,即使不法分子在察觉后拔掉手机电源也无法阻止智能终端格式化,从而解决了用户智能终端的信息容易泄露的技术问题。In order to achieve fast erasing, reduce user operations, and the erasing process takes a certain time, so SD card 2 and EMMC4 can be respectively connected to a capacitor, through the capacitor after cutting off the power supply cell for SD card 2 and EMMC4 respectively Supply power to perform the corresponding erase operation. Specifically, when the formatting instruction is triggered, the control unit 1 sends the triggered formatting level to the SD card 2 and the processor inside the EMMC4. At this time, the power is turned off directly to clear the data in DDR 3 directly, and then the SD card The capacitors connected to the card 2 and the EMMC4 continue to supply power to the SD card 2 and the EMMC4, so that the SD card 2 and the EMMC4 continue to complete the erase command. In some special scenarios, for example, when the smart terminal is snatched by criminals, there is not enough time to format the mobile phone completely. When the criminals find that the smart terminal is being formatted, they may take the method of unplugging the smart terminal. Stop the formatting of the smart terminal. Therefore, after the formatting instruction is triggered, the smart terminal is directly shut down, the connection of the power supply is cut off, and then the capacitors connected to the SD card 2 and EMMC4 continue to supply power, which is completed in the background of the smart terminal The task of erasing makes it difficult for non-transmitting elements to detect. In addition, even if criminals unplug the mobile phone after detecting it, they cannot prevent the smart terminal from being formatted, thus solving the technical problem of easy leakage of information on the user's smart terminal.
进一步地,本申请所提供的智能终端还包括特殊按键5,通过特殊按键触发格式化指令,使用户在需要进行格式化时,可以通过按下特殊按键5进行触发格式化指令,其中按下特殊按键5的方式对应不同的格式化等级,例如,可以根据按压的时长或者按压的力度来进行判断(上述已经说明了两种的具体判断步骤,此处不再赘述)。Further, the smart terminal provided in this application also includes a special button 5, through which the formatting instruction is triggered, so that when the user needs to format, he can press the special button 5 to trigger the formatting instruction. The way of button 5 corresponds to different formatting levels. For example, it can be judged according to the duration of pressing or the intensity of pressing (two specific judgment steps have been explained above, and will not be repeated here).
参照图4,本申请还提供了一种智能终端,包括:4, this application also provides an intelligent terminal, including:
格式化指令检测模块10,用于检测格式化指令是否被触发;The formatting instruction detection module 10 is used to detect whether the formatting instruction is triggered;
格式化等级检测模块20,用于在格式化指令被触发时,则检测所述格式化指令对应的格式化等级;The formatting level detection module 20 is configured to detect the formatting level corresponding to the formatting instruction when the formatting instruction is triggered;
切断模块30,用于切断所述智能终端中供电电源的连接,并通过与存储单元连接的电容为所述存储单元进行供电;The cut-off module 30 is used to cut off the connection of the power supply in the smart terminal, and supply power to the storage unit through a capacitor connected to the storage unit;
内存数据擦除模块40,用于根据所述格式化等级擦除对应的内存数据,其中所述内存数据为所述存储单元中的数据。The memory data erasing module 40 is configured to erase corresponding memory data according to the formatting level, where the memory data is data in the storage unit.
通过智能终端内控制单元的格式化指令检测模块10检测格式化指令是否被触发,触发的条件可以是通过按下设置在智能终端上的按键或者是对应的操作,还可以是通过外部设备触发。在另一个实施例中也可以是设置在智能终端上存储单元内的处理器检测控制单元内的格式化指令是否被触发,或者是控制单元将检测结果发送至存储单元内的处理器。The format instruction detection module 10 of the control unit in the smart terminal detects whether the format instruction is triggered. The trigger condition may be by pressing a button set on the smart terminal or a corresponding operation, or it may be triggered by an external device. In another embodiment, the processor provided in the storage unit of the smart terminal may detect whether the formatting instruction in the control unit is triggered, or the control unit may send the detection result to the processor in the storage unit.
当格式化指令触发时,格式化等级检测模块20检测该格式化指令对应的格式化等级,该格式化等级可以包括多等,分别对应不同的擦除效果,例如,可以设置为一等级对应擦除各应用中的应用数据信息,而保留各类应用,二等级对应恢复出厂设置,三等级对应全部擦除,全部擦除可以是将智能终端内的数据完全擦除,包括智能终端中最开始携带的操作系统,预设安装软件等所有数据,使智能终端中不存在任何信息,保证智能终端中的信息不泄露。When a formatting instruction is triggered, the formatting level detection module 20 detects the formatting level corresponding to the formatting instruction. The formatting level can include multiple levels, which correspond to different erasing effects. For example, it can be set to a level corresponding to erasing. In addition to the application data information in each application, all kinds of applications are retained. The second level corresponds to restoring the factory settings, and the third level corresponds to all erasing. All erasing can be to completely erase the data in the smart terminal, including the beginning of the smart terminal The carried operating system, pre-installed software, and all other data, so that there is no information in the smart terminal, and ensure that the information in the smart terminal is not leaked.
存储单元包括SD卡和EMMC,SD卡和EMMC中各自设置有处理器,且分别串联一个电容,处理器内存储有执行擦除内存数据的程序,电容用于在切断模块30切断供电电源时为对应连接的SD卡或EMMC提供电源。当检测到格式化指令被触发时,切断智能终端中供电电源的连接,此时DDR(本申请中DDR不包括在存储单元中)中的数据会立即清除,而SD卡和EMMC中各自设置有处理器,可以通过各自连接的电容进行供电,进而可以通过处理器顺利执行擦除的指令,从而实现将智能终端关机后,通过内部程序进行擦除,达到了快速擦除存储单元内数据的技术效果,其中SD卡和EMMC分别串联的电容的容量应该要足够大,使其可以提供足够的电量供SD卡和EMMC完成擦除的任务,例如智能终端中的供电电源突然出现没电或者切断供电电源的连接时,可以通过电容对其进行供电(供电时间一般超过10秒),使其完成擦除的任务。The storage unit includes an SD card and an EMMC. The SD card and the EMMC are each provided with a processor, and a capacitor is connected in series. The processor stores a program for erasing memory data. The capacitor is used to cut off the power supply when the module 30 is cut off. Provide power to the connected SD card or EMMC. When it is detected that the formatting command is triggered, cut off the connection of the power supply in the smart terminal. At this time, the data in the DDR (DDR is not included in the storage unit in this application) will be cleared immediately, and the SD card and EMMC are respectively set with The processor can be powered by the respective connected capacitors, and then the erase command can be executed smoothly by the processor, so that after the smart terminal is shut down, the internal program is used to erase, achieving the technology of quickly erasing the data in the storage unit As a result, the capacity of the capacitors connected in series between the SD card and EMMC should be large enough to provide enough power for the SD card and EMMC to complete the task of erasing. For example, the power supply in the smart terminal suddenly goes out of power or cuts off the power supply. When the power supply is connected, it can be powered by a capacitor (the power supply time is generally more than 10 seconds) to complete the task of erasing.
在获取到格式化的等级之后,由控制单元或者是存储单元内设置的处理器的内存数据擦除模块40执行擦除存储单元内数据的操作,例如,格式化等级中的一等级对应擦除各应用中的应用数据信息,而保留各类应用,二等级对应恢复出厂设置,三等级对应全部擦除。需要说明的是,该格式化等级也可以设为两个等级、四个等级或者更多的等级,可以根据需要进行设置。After obtaining the formatting level, the control unit or the memory data erasing module 40 of the processor provided in the storage unit executes the operation of erasing data in the storage unit. For example, a level in the formatting level corresponds to erasing. The application data information in each application is retained, and the second level corresponds to restoring the factory settings, and the third level corresponds to all erasure. It should be noted that the formatting level can also be set to two levels, four levels or more levels, which can be set as required.
本实施例中,智能终端还包括:In this embodiment, the smart terminal further includes:
第一擦除执行模块,用于若为所述第二格式化等级,则所述存储单元中的数据;The first erasing execution module is configured to perform data in the storage unit if it is the second formatting level;
第二擦除执行模块,若为所述第一格式化等级,则恢复出厂设置。If the second erasing execution module is at the first formatting level, the factory settings are restored.
可以只设置两个格式化等级,当为第二格式化等级时,擦除SD卡(安全数码卡)和EMMC(Embedded Multi Media Card)(即存储单元)中的数据,SD卡是一种基于半导体快闪记忆器,而EMMC是一种内嵌式存储器,一般的智能终端在恢复出厂设置操作时只是删除了应用文件管理目录,并未擦除EMMC、SD卡中存储模块的内容,通过特别的软件也可以恢复其存储空间的内容,而且手机可以正常工作,因此当检测到是第二格式化等级时,则执行擦除SD卡和EMMC中所有的数据(包括智能终端的操作系统),使SD卡和EMMC中存储的数据完全空白,从而手机也不能正常运行,以存储器存储模块的格式来说,SD卡和EMMC中所有存储模块为全0或者全1状态,进一步降低了客户信息不被泄露的风险,而若为第一格式化等级,则可以只恢复出厂设置,删除存储单元中的应用文件管理目录,而保留SD卡与EMMC中的其它数据。需要补充说明的是,DDR(双倍速率同步动态随机存储器)是一种同步动态随机存储器,在格式化指令被触发时,无论格式化等级是哪种等级,都可以执行全部擦除的操作,当然,在断电之后,DDR中的数据会立即删除,不需要额外设置擦除指令。You can only set two formatting levels. When it is the second formatting level, erase SD card (secure digital card) and EMMC (Embedded Multi Media Card) (ie storage unit), SD card is a semiconductor-based flash memory, while EMMC is a built-in memory. The general smart terminal only deletes application files when restoring the factory settings. Manage the directory, do not erase the content of the storage module in the EMMC, SD card, the content of the storage space can be restored through special software, and the phone can work normally, so when the second formatting level is detected, it will execute Erase all the data in the SD card and EMMC (including the operating system of the smart terminal), and make the data stored in the SD card and EMMC completely blank, so that the mobile phone cannot operate normally. In the format of the memory storage module, the SD card and All storage modules in EMMC are all 0s or all 1s, which further reduces the risk of customer information not being leaked. If it is the first format level, you can only restore the factory settings and delete the application file management directory in the storage unit. And keep other data in SD card and EMMC. It should be added that DDR (Double Rate Synchronous Dynamic Random Access Memory) is a synchronous dynamic random access memory. When the formatting command is triggered, no matter what the formatting level is, all erasing operations can be performed. Of course, after the power is off, the data in the DDR will be deleted immediately, and there is no need to set an additional erase command.
本实施例中,所述智能终端设置有特殊按键,所述特殊按键用于触发格式化指令,格式化指令检测模块10,包括:In this embodiment, the smart terminal is provided with a special button, and the special button is used to trigger a formatting instruction. The formatting instruction detection module 10 includes:
特殊按键判断子模块,用于判断所述特殊按键是否被按下;The special key judging sub-module is used to judge whether the special key is pressed;
格式化指令触发子模块,用于若是,则触发对应的所述格式化指令。The formatting instruction triggering sub-module is used for triggering the corresponding formatting instruction if it is.
触发格式化指令可以是通过按压特殊按键进行实现格式化指令,若该特殊按键被按下,则触发对应的格式化指令,其中,特殊按键被按下的方式包含了对应的格式化等级,例如可以根据按压时长来确定,也可以将特殊按键设置为压力传感器,并且设置一个或者多个压力范围,每个压力范围对应一个格式化等级。在另一个实施例中,也可以是设置多个特殊按键,每个特殊按键对应一个格式化等级,还可以将上述触发方式进行结合等各种形式均应包含在本申请的保护范围内。其中特殊按键可以是设置在智能终端外表面上的物理按键,且异于原有的其他物理按键(音量加减键、开机键等)。The formatting command can be triggered by pressing a special button. If the special button is pressed, the corresponding formatting command will be triggered. The way the special button is pressed includes the corresponding formatting level, for example It can be determined according to the pressing time, or the special button can be set as a pressure sensor, and one or more pressure ranges can be set, and each pressure range corresponds to a formatting level. In another embodiment, a plurality of special buttons may also be provided, and each special button corresponds to a formatting level, and various forms such as combining the above-mentioned triggering methods shall be included in the protection scope of this application. The special buttons can be physical buttons arranged on the outer surface of the smart terminal, and are different from other original physical buttons (volume plus and minus buttons, power-on button, etc.).
本实施例中,格式化等级检测模块20,包括:In this embodiment, the formatting level detection module 20 includes:
按压时长获取子模块,用于获取所述特殊按键的按压时长;The pressing time acquisition sub-module is used to acquire the pressing time of the special key;
格式化等级触发子模块,用于根据所述按压时长触发对应的格式化等级。The formatting level triggering sub-module is used to trigger the corresponding formatting level according to the pressing duration.
预先在内部设置一个按压时长门限值,获取到特殊按键的按压时长后,检测特殊按键被按压的按压时长是否大于按压时长门限值,其中按压时长门限值为事先设置的按压时长值,例如按压时长值为2秒,当大于这个按压时长门限值时,则判定所述格式化指令对应第二格式化等级,当小于或等于这个按压时长门限值时,则特殊按键对应第一格式化等级。在一些实施例中,若设置有多个格式化等级,则可以对应设置多个不同按压时长门限值,每超出一个按压时长门限值时,则对应不同的格式化等级。Pre-set a pressing duration threshold internally. After obtaining the pressing duration of the special key, check whether the pressing duration of the special key is greater than the pressing duration threshold, where the pressing duration threshold is the preset pressing duration value. For example, the pressing duration value is 2 seconds. When it is greater than the pressing duration threshold, it is determined that the formatting instruction corresponds to the second formatting level. When the pressing duration is less than or equal to the pressing duration threshold, the special button corresponds to the first Format level. In some embodiments, if multiple formatting levels are set, multiple different pressing duration thresholds can be set correspondingly, and each time a pressing duration threshold is exceeded, a different formatting level corresponds to.
本实施例中,格式化指令检测模块10,还包括:In this embodiment, the formatting instruction detection module 10 further includes:
第三方程序信息获取子模块,用于获取第三方程序中的信息;The third-party program information acquisition sub-module is used to obtain the information in the third-party program;
特殊命令字符串判断子模块,用于判断所述信息中是否包含特殊命令字符串;The special command string judgment sub-module is used to judge whether the information contains a special command string;
格式化指令触发子模块,用于若是,则触发所述特殊命令字符串信息对应的格式化指令。The formatting instruction triggering sub-module is used to trigger the formatting instruction corresponding to the special command string information if it is.
通过获取第三方程序中的信息,其中第三方程序可以是QQ、微信、微博、支付宝、Facebook等社交软件,也可以是短信、邮件等。通过获取其中的聊天信息,并判断这些信息中是否包含有特殊命令字符串,该特殊命令字符串为事先设定的特殊命令串,例如可以是一段数字、字母、文字、符号或其组合,当检测到含有特殊字符串时,则触发特殊命令字符串信息对应的格式化指令,当该智能终端丢失时,可以从其它设备上通过发送包含特殊命令字符串的聊天信息至该智能终端,控制该智能终端格式化,从而实现了从其他设备控制该智能终端格式化的有益效果。By obtaining information from a third-party program, the third-party program can be social software such as QQ, WeChat, Weibo, Alipay, Facebook, etc., or it can be SMS, email, etc. By obtaining the chat information, and judging whether the information contains a special command string, the special command string is a pre-set special command string, for example, it can be a segment of numbers, letters, characters, symbols, or a combination thereof. When a special string is detected, the formatting instruction corresponding to the special command string information is triggered. When the smart terminal is lost, the chat message containing the special command string can be sent from other devices to the smart terminal to control the The smart terminal is formatted, thereby realizing the beneficial effect of controlling the smart terminal's formatting from other devices.
本实施例中,所述特殊命令字符串为第一特殊命令字符串或第二特殊命令字符串,所述第一特殊命令字符串对应第一格式化等级,所述第二特殊命令字符串对应第二格式化等级,格式化指令触发子模块,包括:In this embodiment, the special command string is a first special command string or a second special command string, the first special command string corresponds to the first formatting level, and the second special command string corresponds to The second formatting level, formatting instructions trigger sub-modules, including:
特殊命令字符串信息检测单元,用于检测所述特殊命令字符串的信息;A special command string information detection unit for detecting the information of the special command string;
格式化指令触发单元,用于根据所述特殊命令字符串的信息触发对应的格式化指令。The format instruction trigger unit is used to trigger the corresponding format instruction according to the information of the special command string.
检测特殊命令字符串中的信息,检测方式可以是将该特殊命令字符串与系统内保存的特殊命令字符串对应,进而判断该特殊命令字符串中的信息是对应第一特殊命令字符串还是第二特殊命令字符串,当为第二特殊命令字符串时,则触发第二格式化等级的格式化指令,即对应则擦除SD卡和EMMC中的数据;当为第一特殊命令字符串时,则触发第一格式化等级的格式化指令,则对应执行恢复出厂设置命令。Detect the information in the special command string. The detection method can be to correspond the special command string to the special command string saved in the system, and then determine whether the information in the special command string corresponds to the first special command string or the first special command string. Two special command string, when it is the second special command string, the formatting instruction of the second format level is triggered, that is, the data in the SD card and EMMC will be erased correspondingly; when it is the first special command string , The format command of the first format level is triggered, and the factory reset command is executed correspondingly.
参考图5,本申请还提供了一种存储介质100,存储介质100中存储有计算机程序200,当其在计算机上运行时,使得计算机执行以上实施例所描述的格式化智能终端的方法。Referring to FIG. 5, the present application also provides a storage medium 100 in which a computer program 200 is stored, which when running on a computer, causes the computer to execute the method for formatting a smart terminal described in the above embodiments.
参考图6,本申请还提供了一种包含上述存储介质100的计算机设备300,当上述存储介质100中存储的计算机程序200在计算机设备300上运行时,使得计算机设备300通过其内部设置的处理器400执行以上实施例所描述的格式化智能终端的方法。Referring to FIG. 6, the present application also provides a computer device 300 containing the above-mentioned storage medium 100. When the computer program 200 stored in the above-mentioned storage medium 100 runs on the computer device 300, the computer device 300 is enabled to process the computer device 300 through its internal settings. The device 400 executes the method for formatting a smart terminal described in the above embodiments.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented by software, it can be implemented in the form of a computer program product in whole or in part.
所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在存储介质中,或者从一个存储介质向另一存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a storage medium, or transmitted from one storage medium to another storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center through a cable (such as coaxial cable, optical fiber, etc.). , Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) to transmit to another website, computer, server or data center. The storage medium may be any available medium that can be stored by a computer or a data storage device such as a server or a data center integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
尽管已经示出和描述了本申请的实施例,对于本领域的普通技术人员而言,可以理解在不脱离本申请的原理和精神的情况下可以对这些实施例进行多种变化、修改、替换和变型,本申请的范围由所附权利要求及其等同物限定。Although the embodiments of the present application have been shown and described, those of ordinary skill in the art can understand that various changes, modifications, and substitutions can be made to these embodiments without departing from the principle and spirit of the present application. And variations, the scope of this application is defined by the appended claims and their equivalents.

Claims (15)

  1. 一种格式化智能终端的方法,其特征在于,包括:A method for formatting an intelligent terminal, which is characterized in that it includes:
    检测格式化指令是否被触发;Check whether the formatting command is triggered;
    若是,则检测所述格式化指令对应的格式化等级;If yes, detect the formatting level corresponding to the formatting instruction;
    切断所述智能终端中供电电源的连接,并通过与存储单元连接的电容为所述存储单元进行供电;Cutting off the connection of the power supply in the smart terminal, and supplying power to the storage unit through a capacitor connected to the storage unit;
    根据所述格式化等级擦除对应的内存数据,其中所述内存数据为所述存储单元中的数据。The corresponding memory data is erased according to the formatting level, where the memory data is data in the storage unit.
  2. 如权利要求1所述的格式化智能终端的方法,其特征在于,所述格式化等级包括第一格式化等级和第二格式化等级,所述检测所述格式化指令对应的格式化等级的步骤之后,还包括:The method for formatting a smart terminal according to claim 1, wherein the formatting level includes a first formatting level and a second formatting level, and the formatting level corresponding to the formatting instruction is detected. After the steps, it also includes:
    若为所述第二格式化等级,则擦除所述存储单元中的数据;If it is the second formatting level, erase the data in the storage unit;
    若为所述第一格式化等级,则恢复出厂设置。If it is the first formatting level, the factory settings are restored.
  3. 如权利要求2所述的格式化智能终端的方法,其特征在于,所述智能终端设置有特殊按键,所述特殊按键用于触发格式化指令,所述检测格式化指令是否被触发的步骤,包括:The method for formatting a smart terminal according to claim 2, wherein the smart terminal is provided with a special button, the special button is used to trigger a formatting instruction, and the step of detecting whether the formatting instruction is triggered is include:
    判断所述特殊按键是否被按下;Judging whether the special key is pressed;
    若是,则触发对应的所述格式化指令。If yes, trigger the corresponding formatting instruction.
  4. 如权利要求2所述的格式化智能终端的方法,其特征在于,所述智能终端设置有特殊按键,所述特殊按键用于触发格式化指令,所述检测所述格式化指令对应的格式化等级的步骤,包括:The method for formatting a smart terminal according to claim 2, wherein the smart terminal is provided with a special button, the special button is used to trigger a formatting instruction, and the detecting the formatting corresponding to the formatting instruction The steps of the level include:
    获取所述特殊按键的按压时长;Acquiring the pressing time of the special key;
    根据所述按压时长触发对应的格式化等级。The corresponding formatting level is triggered according to the pressing duration.
  5. 如权利要求1所述的格式化智能终端的方法,其特征在于,所述检测格式化指令是否被触发的步骤,还包括:The method for formatting a smart terminal according to claim 1, wherein the step of detecting whether the formatting instruction is triggered further comprises:
    获取第三方程序中的信息;Obtain information from third-party programs;
    判断所述信息中是否包含特殊命令字符串;Determine whether the information contains a special command string;
    若是,则触发所述特殊命令字符串信息对应的格式化指令。If yes, trigger the formatting instruction corresponding to the special command string information.
  6. 如权利要求5所述的格式化智能终端的方法,其特征在于,所述特殊命令字符串为第一特殊命令字符串或第二特殊命令字符串,所述第一特殊命令字符串对应第一格式化等级,所述第二特殊命令字符串对应第二格式化等级,所述触发所述特殊命令字符串对应的格式化指令的步骤,包括:The method for formatting a smart terminal according to claim 5, wherein the special command string is a first special command string or a second special command string, and the first special command string corresponds to the first special command string. The formatting level, the second special command string corresponds to the second formatting level, and the step of triggering the formatting instruction corresponding to the special command string includes:
    检测所述特殊命令字符串的信息;Detecting the information of the special command string;
    根据所述特殊命令字符串的信息触发对应的格式化指令。The corresponding formatting instruction is triggered according to the information of the special command string.
  7. 一种智能终端,其特征在于,包括:供电电源、控制单元以及存储单元;An intelligent terminal, characterized by comprising: a power supply, a control unit, and a storage unit;
    所述供电电源用于为所述控制单元和所述存储单元提供电源;The power supply is used to provide power for the control unit and the storage unit;
    所述控制单元内设置有信号接收模块,通过所述信号接收模块接收的信息触发对应的格式化指令;The control unit is provided with a signal receiving module, and the corresponding formatting instruction is triggered by the information received by the signal receiving module;
    所述存储单元与所述控制单元数据连接,所述存储单元内设置有处理器,所述处理器用于接收所述控制单元发送的反馈信息,所述反馈信息用于描述所述格式化指令已被触发以及描述与所述格式化指令对应的格式化等级,所述存储单元根据所述格式化等级擦除对应的内存数据。The storage unit is in data connection with the control unit, and a processor is provided in the storage unit. The processor is configured to receive feedback information sent by the control unit, and the feedback information is used to describe that the formatting instruction has been After being triggered and describing the formatting level corresponding to the formatting instruction, the storage unit erases the corresponding memory data according to the formatting level.
  8. 如权利要求7所述的智能终端,其特征在于,还包括第一电容和第二电容,所述存储单元包括SD卡和嵌入式多媒体卡 EMMC;The smart terminal according to claim 7, further comprising a first capacitor and a second capacitor, and the storage unit includes an SD card and an embedded multimedia card EMMC;
    所述控制单元分别与所述SD卡和所述EMMC连接,所述SD卡和所述EMMC内分别设置有处理器;The control unit is respectively connected to the SD card and the EMMC, and processors are respectively provided in the SD card and the EMMC;
    所述第一电容与所述SD卡连接,所述第一电容用于在所述供电电源断开后为所述SD卡供电,所述第二电容与所述EMMC连接,所述第二电容用于在所述供电电源断开后为所述EMMC供电。The first capacitor is connected to the SD card, the first capacitor is used to supply power to the SD card after the power supply is disconnected, the second capacitor is connected to the EMMC, and the second capacitor It is used to supply power to the EMMC after the power supply is disconnected.
  9. 如权利要求7所述的智能终端,其特征在于,还包括特殊按键,所述特殊按键与所述控制单元数据连接,所述特殊按键用于根据被按压的情况生成对应的格式化指令,并传递给所述控制单元。The smart terminal of claim 7, further comprising a special button, the special button is data-connected with the control unit, and the special button is used to generate a corresponding formatting instruction according to the condition of being pressed, and To the control unit.
  10. 一种智能终端,其特征在于,包括:An intelligent terminal, characterized in that it comprises:
    格式化指令检测模块,用于检测格式化指令是否被触发;The formatting instruction detection module is used to detect whether the formatting instruction is triggered;
    格式化等级检测模块,用于在格式化指令被触发时,则检测所述格式化指令对应的格式化等级;The formatting level detection module is used to detect the formatting level corresponding to the formatting instruction when the formatting instruction is triggered;
    切断模块,用于切断所述智能终端中供电电源的连接,并通过与存储单元连接的电容为所述存储单元进行供电;The cut-off module is used to cut off the connection of the power supply in the smart terminal, and supply power to the storage unit through a capacitor connected to the storage unit;
    内存数据擦除模块,用于根据所述格式化等级擦除对应的内存数据,其中所述内存数据为所述存储单元中的数据。The memory data erasing module is used to erase corresponding memory data according to the formatting level, where the memory data is data in the storage unit.
  11. 如权利要求10所述的智能终端,其特征在于,所述格式化等级包括第一格式化等级和第二格式化等级,所述擦除执行模块,包括:The smart terminal of claim 10, wherein the formatting level includes a first formatting level and a second formatting level, and the erasing execution module includes:
    第一擦除执行模块,用于若为所述第二格式化等级,则所述存储单元中的数据;The first erasing execution module is configured to perform data in the storage unit if it is the second formatting level;
    第二擦除执行模块,若为所述第一格式化等级,则恢复出厂设置。If the second erasing execution module is at the first formatting level, the factory settings are restored.
  12. 如权利要求11所述的智能终端,其特征在于,所述智能终端设置有特殊按键,所述特殊按键用于触发格式化指令,格式化指令检测模块,包括:The smart terminal of claim 11, wherein the smart terminal is provided with a special button, the special button is used to trigger a formatting instruction, and the formatting instruction detection module includes:
    特殊按键判断子模块,用于判断所述特殊按键是否被按下;The special key judging sub-module is used to judge whether the special key is pressed;
    格式化指令触发子模块,用于若是,则触发对应的所述格式化指令。The formatting instruction triggering sub-module is used for triggering the corresponding formatting instruction if it is.
  13. 如权利要求11所述的智能终端,其特征在于,所述格式化等级检测模块,包括:The smart terminal of claim 11, wherein the formatting level detection module comprises:
    按压时长获取子模块,用于获取所述特殊按键的按压时长;The pressing time acquisition sub-module is used to acquire the pressing time of the special key;
    格式化等级触发子模块,用于根据所述按压时长触发对应的格式化等级。The formatting level triggering sub-module is used to trigger the corresponding formatting level according to the pressing duration.
  14. 如权利要求10所述的智能终端,其特征在于,所述格式化指令检测模块,包括:The smart terminal of claim 10, wherein the formatting instruction detection module comprises:
    第三方程序信息获取子模块,用于获取第三方程序中的信息;The third-party program information acquisition sub-module is used to obtain the information in the third-party program;
    特殊命令字符串判断子模块,用于判断所述信息中是否包含特殊命令字符串;The special command string judgment sub-module is used to judge whether the information contains a special command string;
    格式化指令触发子模块,用于若是,则触发所述特殊命令字符串信息对应的格式化指令。The formatting instruction triggering sub-module is used to trigger the formatting instruction corresponding to the special command string information if it is.
  15. 如权利要求14所述的智能终端,其特征在于,所述格式化指令触发子模块,包括:The smart terminal of claim 14, wherein the formatting instruction triggering sub-module comprises:
    特殊命令字符串信息检测单元,用于检测所述特殊命令字符串的信息;A special command string information detection unit for detecting the information of the special command string;
    格式化指令触发单元,用于根据所述特殊命令字符串的信息触发对应的格式化指令。The format instruction trigger unit is used to trigger the corresponding format instruction according to the information of the special command string.
PCT/CN2020/128521 2020-04-03 2020-11-13 Method for formatting intelligent terminal and intelligent terminal thereof, and storage medium WO2021196625A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010260518.4 2020-04-03
CN202010260518.4A CN111538536B (en) 2020-04-03 2020-04-03 Method for formatting intelligent terminal, intelligent terminal and storage medium

Publications (1)

Publication Number Publication Date
WO2021196625A1 true WO2021196625A1 (en) 2021-10-07

Family

ID=71974947

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/128521 WO2021196625A1 (en) 2020-04-03 2020-11-13 Method for formatting intelligent terminal and intelligent terminal thereof, and storage medium

Country Status (2)

Country Link
CN (1) CN111538536B (en)
WO (1) WO2021196625A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116756785A (en) * 2023-08-16 2023-09-15 中国兵器装备集团兵器装备研究所 Self-destruction method and system of intelligent terminal system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111538536B (en) * 2020-04-03 2021-09-21 深圳市沃特沃德信息有限公司 Method for formatting intelligent terminal, intelligent terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101389100A (en) * 2008-10-24 2009-03-18 Tcl天一移动通信(深圳)有限公司 Personal information protecting method for mobile communication terminal equipment
US20110154060A1 (en) * 2009-12-17 2011-06-23 Hitachi Global Storage Technologies Netherlands B.V. Implementing secure erase for solid state drives
CN104038634A (en) * 2014-06-25 2014-09-10 深圳市中兴移动通信有限公司 Mobile terminal and privacy disclosure prevention method thereof
CN108537069A (en) * 2018-01-17 2018-09-14 中北大学 Store tester data self-destruction method
CN111538536A (en) * 2020-04-03 2020-08-14 深圳市沃特沃德股份有限公司 Method for formatting intelligent terminal, intelligent terminal and storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103377058A (en) * 2012-04-23 2013-10-30 华为终端有限公司 Method and device for conducting factory reset for terminal device
US9431410B2 (en) * 2013-11-01 2016-08-30 Micron Technology, Inc. Methods and apparatuses having memory cells including a monolithic semiconductor channel
US20150154251A1 (en) * 2013-12-03 2015-06-04 Ebay Inc. Systems and methods to adapt search results
CN104331378B (en) * 2014-11-20 2018-01-30 三木控股集团有限公司 A kind of data cleansing control method and its equipment
CN104461778A (en) * 2014-11-26 2015-03-25 珠海迈越信息技术有限公司 Factory default recovery method and system and terminal
CN105100412B (en) * 2015-05-27 2018-05-29 努比亚技术有限公司 Terminal data sweep-out method and device
CN105975037A (en) * 2016-05-16 2016-09-28 青岛海信电器股份有限公司 Method for restoring factory settings based on Android system and intelligent equipment
CN107169073A (en) * 2017-05-09 2017-09-15 北京智行创远信息科技有限公司 A kind of data managing method and management platform
CN107526814B (en) * 2017-08-25 2020-11-03 青岛海信移动通信技术股份有限公司 Mobile terminal file storage method and device
CN110083483A (en) * 2018-01-26 2019-08-02 北京京东尚科信息技术有限公司 The method and apparatus for removing terminal data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101389100A (en) * 2008-10-24 2009-03-18 Tcl天一移动通信(深圳)有限公司 Personal information protecting method for mobile communication terminal equipment
US20110154060A1 (en) * 2009-12-17 2011-06-23 Hitachi Global Storage Technologies Netherlands B.V. Implementing secure erase for solid state drives
CN104038634A (en) * 2014-06-25 2014-09-10 深圳市中兴移动通信有限公司 Mobile terminal and privacy disclosure prevention method thereof
CN108537069A (en) * 2018-01-17 2018-09-14 中北大学 Store tester data self-destruction method
CN111538536A (en) * 2020-04-03 2020-08-14 深圳市沃特沃德股份有限公司 Method for formatting intelligent terminal, intelligent terminal and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116756785A (en) * 2023-08-16 2023-09-15 中国兵器装备集团兵器装备研究所 Self-destruction method and system of intelligent terminal system
CN116756785B (en) * 2023-08-16 2023-11-10 中国兵器装备集团兵器装备研究所 Self-destruction method and system of intelligent terminal system

Also Published As

Publication number Publication date
CN111538536A (en) 2020-08-14
CN111538536B (en) 2021-09-21

Similar Documents

Publication Publication Date Title
US10846425B2 (en) Data protection based on user input during device boot-up, user login, and device shut-down states
EP3161645B1 (en) Fast data protection using dual file systems
JP6348989B2 (en) Firmware restoration method, apparatus, terminal, program, and recording medium
US11337042B2 (en) Short message processing method and apparatus, and electronic device
WO2016101384A1 (en) Dual-system switch based data security processing method and apparatus
US10944558B2 (en) Key storing method, key managing method and apparatus
US9870490B2 (en) Apparatus and method for an antitheft secure operating system module
CN105117663A (en) Encrypted object display method and device for application
CN106951521B (en) Method, device and system for reading and writing log file
WO2021196625A1 (en) Method for formatting intelligent terminal and intelligent terminal thereof, and storage medium
JP6450765B2 (en) Method and apparatus for backing up data and electronic apparatus
US20170201378A1 (en) Electronic device and method for authenticating identification information thereof
US11568033B2 (en) Data encryption or decryption method and apparatus, and terminal device
CN108270757B (en) User account switching method, device, client and system
CN106776908A (en) Data clearing method, device and terminal
CN107704337B (en) Factory setting restoring method, mobile terminal and device with storage function
CN111400037A (en) Memory management method and device, computer storage medium and terminal
CN108874591B (en) Document processing method and related product
CN103761022A (en) Content inputting method and terminal device
US20190294806A1 (en) Method and system for implementing data secure deletion in mobile terminal
CN104503925A (en) Uninstalling method and device of storage equipment
CN205017423U (en) Camera
WO2020113531A1 (en) Data recovery method and device, and electronic device
CN103957193A (en) Client terminal, server and event type determining method
CN115586825A (en) All-in-one machine and power supply control method and system thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20928978

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20928978

Country of ref document: EP

Kind code of ref document: A1