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

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

Info

Publication number
CN111538536B
CN111538536B CN202010260518.4A CN202010260518A CN111538536B CN 111538536 B CN111538536 B CN 111538536B CN 202010260518 A CN202010260518 A CN 202010260518A CN 111538536 B CN111538536 B CN 111538536B
Authority
CN
China
Prior art keywords
formatting
level
intelligent terminal
special
instruction
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202010260518.4A
Other languages
Chinese (zh)
Other versions
CN111538536A (en
Inventor
韦金保
郑勇
李政
戴志涛
邓百平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Waterward Information Co Ltd
Original Assignee
Shenzhen Waterward Information Co Ltd
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 Shenzhen Waterward Information Co Ltd filed Critical Shenzhen Waterward Information Co Ltd
Priority to CN202010260518.4A priority Critical patent/CN111538536B/en
Publication of CN111538536A publication Critical patent/CN111538536A/en
Priority to PCT/CN2020/128521 priority patent/WO2021196625A1/en
Application granted granted Critical
Publication of CN111538536B publication Critical patent/CN111538536B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Storage Device Security (AREA)

Abstract

The invention provides a method for formatting an intelligent terminal, the intelligent terminal and a storage medium, wherein the method comprises the steps of detecting whether a formatting command is triggered or not; if so, detecting a formatting level corresponding to the formatting instruction; and erasing the corresponding memory data according to the formatting level. The invention has the beneficial effects that: whether the formatting instruction is triggered or not and the corresponding formatting level are formatted are detected, and then the corresponding memory data are erased according to the formatting level, so that the intelligent terminal has multiple formatting schemes, and the client information can be effectively protected and the risk of leakage is reduced by completely erasing the data in the storage unit.

Description

Method for formatting intelligent terminal, intelligent terminal and storage medium
Technical Field
The invention relates to the field of intelligent terminals, in particular to a method for formatting an intelligent terminal, the intelligent terminal and a storage medium.
Background
At present, a user can only format the storage unit of the intelligent terminal by methods such as factory setting restoration and the like, the factory setting restoration only deletes an application file management directory and does not erase the content of the storage unit in the EMMC/SD card, the formatting method is single, data in the storage unit after the factory setting restoration can be restored through special software, and a mobile phone can normally work, so that the intelligent terminal only has the risk of information leakage by restoring the factory setting.
Disclosure of Invention
The invention mainly aims to provide a method for formatting an intelligent terminal, the intelligent terminal and a storage medium thereof, and aims to solve the technical problems that the intelligent terminal is single in formatting method and information is easy to leak.
The invention provides a method for formatting an intelligent terminal, which comprises the following steps:
detecting whether a formatting command is triggered;
if so, detecting a formatting level corresponding to the formatting instruction;
cutting off the connection of a power supply source in the intelligent terminal, and supplying power to the storage unit through a capacitor connected with the storage unit;
and erasing corresponding memory data according to the formatting level, wherein 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 the format level is the second format level, erasing the data in the storage unit;
and if the first formatting level is the first formatting level, restoring factory settings.
Further, the intelligent terminal is provided with a special key, the special key is used for triggering a formatting command, and the step of detecting whether the formatting command is triggered comprises the following steps:
judging whether the special key is pressed down or not;
if yes, triggering the corresponding formatting instruction.
Further, the intelligent terminal is provided with a special key, the special key is used for triggering a formatting command, and the step of detecting the formatting level corresponding to the formatting command comprises the following steps:
acquiring the pressing duration of the special key;
and triggering the corresponding formatting level according to the pressing duration.
Further, the step of detecting whether the format command is triggered further includes:
acquiring information in a third-party program;
judging whether the information contains a special command character string or not;
if yes, a formatting instruction corresponding to the special command character string information is triggered.
Further, the step of triggering the formatting command corresponding to the special command character string includes:
detecting information of the special command character string;
and triggering a corresponding formatting instruction according to the information of the special command character string.
The invention also provides an intelligent terminal, comprising: the device comprises a power supply, a control unit and a storage unit;
the power supply is used for supplying power to the control unit and the storage unit;
a signal receiving module is arranged in the control unit, and a corresponding formatting instruction is triggered through information received in the signal receiving module;
the storage unit is in data connection with the control unit, a processor is arranged in the storage unit, the processor is used for receiving feedback information sent by the control unit, the feedback information is used for describing that the formatting instruction is triggered and describing a formatting grade corresponding to the formatting instruction, and the storage unit erases corresponding memory data according to the formatting grade.
Further, the memory comprises a first capacitor and a second capacitor, and the memory unit comprises an SD card and an EMMC;
the control unit is respectively connected with the SD card and the EMMC, and processors are respectively arranged in the SD card and the EMMC;
the first capacitor is connected with the SD card and used for supplying power to the SD card after the power supply is disconnected, the second capacitor is connected with the EMMC, and the second capacitor is used for supplying power to the EMMC after the power supply is disconnected.
The invention also provides an intelligent terminal, comprising:
the formatting instruction detection module is used for detecting whether the formatting instruction is triggered or not;
the formatting level detection module is used for detecting the formatting level corresponding to the formatting instruction when the formatting instruction is triggered;
the cutting-off module is used for cutting off the connection of a power supply source in the intelligent terminal and supplying power to the storage unit through a capacitor connected with the storage unit;
and the memory data erasing module is used for erasing corresponding memory data according to the formatting level, wherein the memory data is data in the storage unit.
The present invention also provides a storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of formatting an intelligent terminal as described above.
The invention also provides computer equipment which comprises a processor, a memory and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the steps of the method for formatting the intelligent terminal when executing the computer program.
The invention has the beneficial effects that: 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 intelligent terminal has multiple formatting schemes, and a user can select a corresponding formatting method to format the intelligent terminal according to needs. When the formatting command is triggered, the connection of a power supply source in the intelligent terminal is cut off, the storage unit supplies power through the capacitor connected in advance, and therefore the command of erasing can be smoothly executed, the intelligent terminal is erased through an internal program after being shut down, the technical effect of quickly erasing data in the storage unit is achieved, and the risk of terminal information leakage is reduced.
Drawings
FIG. 1 is a schematic flow chart diagram illustrating one embodiment of a method for formatting an intelligent terminal according to the present invention;
FIG. 2 is a partial flow chart of the method step S1 of formatting the intelligent terminal according to the present invention;
FIG. 3 is a block diagram of the intelligent terminal of the present invention;
FIG. 4 is another block diagram of the intelligent terminal according to the present invention;
FIG. 5 is a block diagram of a storage medium according to an embodiment of the present invention;
FIG. 6 is a block diagram of a computer device according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that all directional indicators (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative position relationship between the components, the motion situation, etc. in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indicator is changed accordingly, and the connection may be a direct connection or an indirect connection.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and B, may mean: a exists alone, A and B exist simultaneously, and B exists alone.
In addition, the descriptions related to "first", "second", etc. in the present invention are only for descriptive purposes and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
Referring to fig. 1, the present invention provides a method for formatting an intelligent terminal, including:
s1: detecting whether a formatting command is triggered;
s2: if so, detecting a formatting level corresponding to the formatting instruction;
s3: cutting off the connection of a power supply source in the intelligent terminal, and supplying power to the storage unit through a capacitor connected with the storage unit;
s4: and erasing corresponding memory data according to the formatting level, wherein the memory data is data in the storage unit.
As described in the above step S1, whether the format command is triggered is detected by the control unit in the smart terminal, and the triggering condition may be by pressing a key provided on the smart terminal or a corresponding operation, or may be triggered by an external device. In another embodiment, the processor arranged in the storage unit on the intelligent terminal detects whether the formatting instruction in the control unit is triggered or not, or the control unit sends the detection result to the processor in the storage unit.
As described in step S2, when the format instruction is triggered, the format level corresponding to the format instruction is detected, where the format level may include multiple levels, and the multiple levels respectively correspond to different erasing effects, for example, one level may be set to correspondingly erase application data information in each application, but various applications are reserved, the second level corresponds to restore factory settings, and the third level corresponds to all erasing, where all erasing may be to completely erase data in the intelligent terminal, and includes all data such as an operating system and preset installation software that are initially carried in the intelligent terminal, so that no information exists in the intelligent terminal, and it is ensured that information in the intelligent terminal is not leaked.
As described in step S3, the memory unit includes an SD card and an EMMC, each of the SD card and the EMMC has a processor, and each of the SD card and the EMMC is connected in series with a capacitor, the processor stores a program for erasing memory data, and the capacitor is used to provide power for the corresponding SD card or the EMMC when the power supply is cut off. When the formatting command is detected to be triggered, the connection of the power supply in the intelligent terminal is cut off, and at the moment, the data in the DDR (the DDR is not included in the storage unit in the application) is cleared immediately, the SD card and the EMMC are respectively provided with a processor and can be supplied with power through the capacitors respectively connected with the SD card and the EMMC, further, the processor can smoothly execute the erasing instruction, so that after the intelligent terminal is powered off, the technical effect of quickly erasing the data in the memory unit is achieved by erasing through the internal program, the capacity of the capacitor connected in series with the SD card and the EMMC respectively should be large enough to provide enough power for the SD card and the EMMC to complete the erasing task, for example, when the power supply in the intelligent terminal suddenly runs out of power or the power supply is disconnected, the power supply can be supplied through the capacitor (the power supply time generally exceeds 10 seconds), so that the intelligent terminal can complete the erasing task.
As described in step S4, after the formatted grades are obtained, the control unit or the processor disposed in the storage unit performs an operation of erasing the data in the storage unit, for example, one grade in the formatted grades correspondingly erases the application data information in each application, while various applications are retained, the second grade correspondingly restores the factory settings, and the third grade correspondingly erases all the data. The formatting level may be set to two levels, four levels, or more levels, and may be set as necessary.
In this embodiment, the formatting levels include a first formatting level and a second formatting level, and after step S2, the method further includes:
s301: if the format level is the second format level, erasing the data in the storage unit;
s302: and if the first formatting level is the first formatting level, restoring factory settings.
As described in steps S301 to S302, only two formatting levels may be set, and in the second formatting level, data in the SD card (secure digital card) and the EMMC (embedded multi Media card) (i.e. storage unit) are erased, the SD card is a semiconductor-based flash memory, the EMMC is an embedded memory, a general smart terminal only deletes the application file management directory and does not erase the contents of the memory modules in the EMMC and SD card when resuming the factory setting operation, the contents of the memory space can be restored by special software, and the mobile phone can operate normally, so that when the second formatting level is detected, all data in the SD card and EMMC (including the operating system of the smart terminal) are erased, the data stored in the SD card and EMMC are completely blank, and the mobile phone cannot operate normally, in the format of the memory modules, all storage modules in the SD card and the EMMC are in an all-0 state or an all-1 state, so that the risk of client information leakage is further reduced, and if the storage modules are in the first formatting level, only factory settings can be restored, the application file management directory in the storage unit is deleted, and other data in the SD card and the EMMC are reserved. It should be added that DDR (double data rate synchronous dynamic random access memory) is a synchronous dynamic random access memory, when a format command is triggered, no matter what format class is, a full erase operation can be performed, and of course, after power is off, data in DDR is immediately deleted, and no erase command needs to be additionally set.
In this embodiment, the intelligent terminal is provided with a special key, where the special key is used to trigger a formatting command, and step S1 includes:
s101: judging whether the special key is pressed down or not;
s102: if yes, triggering the corresponding formatting instruction.
As described in the foregoing steps S101-S102, triggering the formatting command may be a formatting command implemented by pressing a special key, and if the special key is pressed, triggering a corresponding formatting command, where the pressed mode of the special key includes a corresponding formatting level, which may be determined according to a pressing duration, for example, or setting the special key as a pressure sensor and one or more pressure ranges, where each pressure range corresponds to one formatting level. In another embodiment, a plurality of special keys may be provided, each special key corresponds to one formatting level, and various forms such as combining the above triggering manners should be included in the protection scope of the present application. The special keys can be physical keys arranged on the outer surface of the intelligent terminal and are different from other original physical keys (a volume increasing and decreasing key, a starting key and the like).
In this embodiment, the step S2 includes:
s201: acquiring the pressing duration of the special key;
s202: and triggering the corresponding formatting level according to the pressing duration.
As described in the foregoing steps S201 to S202, a pressing duration threshold is preset inside, and after the pressing duration of the special key is obtained, it is detected whether the pressed duration of the special key is greater than the pressing duration threshold, where the pressing duration threshold is a preset pressing duration value, for example, the pressing duration value is 2 seconds, when the pressing duration threshold is greater than the pressing duration threshold, it is determined that the formatting command corresponds to the second formatting level, and when the pressing duration threshold is less than or equal to the pressing duration threshold, the special key corresponds to the first formatting level. In some embodiments, if a plurality of formatting levels are set, a plurality of different pressing duration threshold values may be set correspondingly, and each time when one pressing duration threshold value is exceeded, a different formatting level is set correspondingly.
Referring to fig. 2, in this embodiment, the step S1 further includes:
s111: acquiring information in a third-party program;
s112: judging whether the information contains a special command character string or not;
s113: if yes, a formatting instruction corresponding to the special command character string information is triggered.
As described in the foregoing steps S111 to S113, the information in the third-party program is obtained, where the third-party program may be social software such as QQ, WeChat, microblog, Paibao, Facebook, and the like, and may also be a short message, an email, and the like. The chat information is obtained, whether the information contains a special command character string is judged, the special command character string is a preset special command string, for example, a section of numbers, letters, characters, symbols or a combination of the numbers, the letters, the characters and the symbols, when the special command character string is detected, a formatting instruction corresponding to the special command character string information is triggered, and when the intelligent terminal is lost, the intelligent terminal can be controlled to be formatted by sending the chat information containing the special command character string to the intelligent terminal from other equipment, so that the beneficial effect of controlling the intelligent terminal to be formatted from other equipment is realized.
In this embodiment, the step S223 includes:
s2231: detecting information of the special command character string;
s2232: and triggering a corresponding formatting instruction according to the information of the special command character string.
As described in the above steps S2231-S2232, detecting information in the special command string, where the information in the special command string includes a first special command string and a second special command string, the first special command string corresponds to a first formatting level, the second special command string corresponds to a second formatting level, and the detecting manner may be that the special command string corresponds to a special command string stored in the system, and further determines whether the information in the special command string corresponds to the first special command string or the second special command string, and when the information is the second special command string, the formatting instruction at the second formatting level is triggered, that is, the data in the SD card and the EMMC are erased correspondingly; and when the command string is a first special command string, triggering a formatting command of a first formatting level, and correspondingly executing a factory reset command.
The invention has the beneficial effects that: whether the formatting instruction is triggered or not and the corresponding formatting level are formatted are detected, and then the corresponding memory data are erased according to the formatting level, so that the intelligent terminal has multiple formatting schemes, and the client information can be effectively protected and the risk of leakage is reduced by completely erasing the data in the storage unit.
Referring to fig. 3, the present invention also provides an intelligent terminal, including: the device comprises a power supply cell, a control unit 1 and a storage unit; the power supply cell is used for supplying power to the control unit 1 and the storage unit; a signal receiving module is arranged in the control unit 1, and the level of the corresponding formatting instruction is triggered through information in the signal receiving module; the storage unit is in data connection with the control unit 1, a processor is arranged in the storage unit and used for receiving feedback information sent by the control unit 1, the feedback information is used for describing that the formatting instruction is triggered and describing the formatting level corresponding to the formatting instruction, and corresponding memory data are erased according to the formatting level.
In this embodiment, the power supply cell generally refers to an internal power supply of the intelligent terminal, and certainly may also be an external power supply, the control unit 1 generally refers to a main control IC of the intelligent unit, in some embodiments, a control IC may also be separately provided for acquiring an externally input signal, and triggering a corresponding formatting command according to the signal, the storage unit is in data connection with the control unit 1 for controlling the storage unit to execute erasing data, the storage unit herein only refers to the SD card 2 and the EMMC4, the DDR 3 is also used as a memory, but data stored in the DDR 3 can be directly erased through the control unit 1, and a processor is not generally provided in the storage unit, so the storage unit herein refers to the SD card 2 and the EMMC4, the processor therein detects whether the formatting command in the control unit 1 is triggered, and erases corresponding memory data according to the triggered formatting level, the erasure level of the erased memory data corresponds to the formatting level.
In the embodiment, the memory further comprises a first capacitor U1 and a second capacitor U2, and the memory unit comprises an SD card 2 and an EMMC 4; the control unit 1 is respectively connected with the SD card 2 and the EMMC4, and the SD card 2 and the EMMC4 are internally provided with processors respectively; the first capacitor U1 is connected with the SD card 2, the first capacitor U1 is used for supplying power to the SD card 2 after the power supply cell is disconnected, the second capacitor U2 is connected with the EMMC4, and the second capacitor U2 is used for supplying power to the EMMC4 after the power supply cell is disconnected.
In order to realize quick erasing and reduce the operation of a user, and a certain time is required for the erasing process, the SD card 2 and the EMMC4 can be respectively and correspondingly connected with a capacitor, and the SD card 2 and the EMMC4 can be respectively and electrically powered through the capacitor after the power supply cell is cut off, so as to execute the corresponding erasing operation. Specifically, after the format command is triggered, the control unit 1 sends the triggered format level to the processors inside the SD card 2 and the EMMC4, at this time, the power is directly turned off, so that the data in the DDR 3 is directly cleared, and then the SD card 2 and the EMMC4 are continuously powered by the capacitors connected 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 scenes, for example, when the intelligent terminal is seized by lawless persons, there is not enough time to completely format the mobile phone at this time, when the lawless persons find that the intelligent terminal is formatting, the formatting of the intelligent terminal may be stopped by pulling out the power supply of the intelligent terminal, so that after a formatting instruction is triggered, the intelligent terminal is directly powered off, the connection of the power supply is cut off, then the power is continuously supplied to the intelligent terminal through the capacitors connected with the SD card 2 and the EMMC4, the erasing task is completed in the background of the intelligent terminal, the smart terminal cannot be easily perceived by the lawless persons, in addition, the formatting of the intelligent terminal cannot be prevented even if the lawless persons pull out the power supply of the mobile phone after perceiving, and therefore the technical problem that information of the intelligent terminal of a user is easy to leak is solved.
Further, the intelligent terminal provided by the present invention further includes a special key 5, and the format instruction is triggered by the special key, so that when the user needs to perform formatting, the user can trigger the format instruction by pressing the special key 5, where the manner of pressing the special key 5 corresponds to different formatting levels, for example, the user can determine according to the pressing duration or the pressing strength (the two specific determination steps are described above, and are not described here again).
Referring to fig. 4, the present invention also provides an intelligent terminal, including:
a formatting command detecting module 10, configured to detect whether a formatting command is triggered;
a formatting level detecting module 20, configured to detect a formatting level corresponding to a formatting instruction when the formatting instruction is triggered;
the cutting-off module 30 is used for cutting off the connection of a power supply in the intelligent terminal and supplying power to the storage unit through a capacitor connected with the storage unit;
and the memory data erasing module 40 is configured to erase the corresponding memory data according to the formatting level, where the memory data is data in the storage unit.
Whether the format command is triggered is detected by a format command detection module 10 of a control unit in the intelligent terminal, and the triggering condition can be that a key arranged on the intelligent terminal is pressed or a corresponding operation is performed, or the triggering condition can be that the triggering is performed through an external device. In another embodiment, the processor arranged in the storage unit on the intelligent terminal detects whether the formatting instruction in the control unit is triggered or not, or the control unit sends the detection result to the processor in the storage unit.
When the format command is triggered, the format level detection module 20 detects a format level corresponding to the format command, where the format level may include multiple levels and correspond to different erasing effects, for example, the format level may be set to a level corresponding to erase application data information in each application, but retain various applications, the second level corresponds to restore factory settings, and the third level corresponds to all erases, where all erases may be to completely erase data in the intelligent terminal, including all data such as an operating system and preset installation software that are carried at the beginning in the intelligent terminal, so that no information exists in the intelligent terminal, and it is ensured that information in the intelligent terminal is not leaked.
The storage unit comprises an SD card and an EMMC, each of the SD card and the EMMC is provided with a processor, and each of the SD card and the EMMC is connected in series with a capacitor, a program for executing erasing of memory data is stored in the processor, and the capacitor is used for supplying power to the corresponding connected SD card or EMMC when the power supply of the cutoff module 30 is cut off. When the formatting command is detected to be triggered, the connection of the power supply in the intelligent terminal is cut off, and at the moment, the data in the DDR (the DDR is not included in the storage unit in the application) is cleared immediately, the SD card and the EMMC are respectively provided with a processor and can be supplied with power through the capacitors respectively connected with the SD card and the EMMC, further, the processor can smoothly execute the erasing instruction, so that after the intelligent terminal is powered off, the technical effect of quickly erasing the data in the memory unit is achieved by erasing through the internal program, the capacity of the capacitor connected in series with the SD card and the EMMC respectively should be large enough to provide enough power for the SD card and the EMMC to complete the erasing task, for example, when the power supply in the intelligent terminal suddenly runs out of power or the power supply is disconnected, the power supply can be supplied through the capacitor (the power supply time generally exceeds 10 seconds), so that the intelligent terminal can complete the erasing task.
After the formatted grades are obtained, the memory data erasing module 40 of the processor in the control unit or the storage unit executes an operation of erasing data in the storage unit, for example, one grade in the formatted grades correspondingly erases application data information in each application, but various applications are reserved, the second grade correspondingly restores factory settings, and the third grade correspondingly erases all data. The formatting level may be set to two levels, four levels, or more levels, and may be set as necessary.
In this embodiment, the intelligent terminal further includes:
the first erasing execution module is used for executing data in the storage unit if the second formatting level is obtained;
and the second erasing execution module restores factory settings if the first formatting level is reached.
Only two formatting levels can be set, when the second formatting level is set, the data in the SD card (secure digital card) and the EMMC (embedded Multi Media card) (i.e. the storage unit) is erased, the SD card is a semiconductor-based flash memory, the EMMC is an embedded memory, a general intelligent terminal only deletes the application file management directory when the factory setting operation is resumed, does not erase the contents of the memory modules in the EMMC and the SD card, can also resume the contents of the storage space thereof through special software, and the mobile phone can normally operate, so when the second formatting level is detected, all the data in the SD card and the EMMC (including the operating system of the intelligent terminal) is erased, the data stored in the SD card and the EMMC are completely blank, and the mobile phone can not normally operate, and in terms of the format of the memory modules, all the memory modules in the SD card and the EMMC are in the state of all 0 or all 1, the risk that the client information is not leaked is further reduced, and if the client information is in the first formatting level, only factory settings can be restored, the application file management directory in the storage unit is deleted, and other data in the SD card and the EMMC are reserved. It should be added that DDR (double data rate synchronous dynamic random access memory) is a synchronous dynamic random access memory, when a format command is triggered, no matter what format class is, a full erase operation can be performed, and of course, after power is off, data in DDR is immediately deleted, and no erase command needs to be additionally set.
In this embodiment, the intelligent terminal is provided with a special key, the special key is used for triggering a formatting instruction, and the formatting instruction detection module 10 includes:
the special key judgment submodule is used for judging whether the special key is pressed down or not;
and the formatting instruction triggering submodule is used for triggering the corresponding formatting instruction if the formatting instruction triggering submodule is in the positive state.
The format triggering instruction may be a format realizing instruction implemented by pressing a special key, and if the special key is pressed, the corresponding format instructing instruction is triggered, where a manner in which the special key is pressed includes a corresponding format level, which may be determined according to a pressing duration, for example, or the special key may be set as a pressure sensor, and one or more pressure ranges are set, and each pressure range corresponds to one format level. In another embodiment, a plurality of special keys may be provided, each special key corresponds to one formatting level, and various forms such as combining the above triggering manners should be included in the protection scope of the present application. The special keys can be physical keys arranged on the outer surface of the intelligent terminal and are different from other original physical keys (a volume increasing and decreasing key, a starting key and the like).
In this embodiment, the formatting level detecting module 20 includes:
the pressing duration obtaining submodule is used for obtaining the pressing duration of the special key;
and the formatting level triggering submodule is used for triggering the corresponding formatting level according to the pressing duration.
A pressing duration threshold value is preset in the interior, after the pressing duration of the special key is obtained, whether the pressed duration of the special key is greater than the pressing duration threshold value is detected, wherein the pressing duration threshold value is a preset pressing duration value, for example, the pressing duration value is 2 seconds, when the pressed duration threshold value is greater than the pressing duration threshold value, it is determined that the formatting instruction corresponds to a second formatting level, and when the pressed duration threshold value is less than or equal to the pressing duration threshold value, the special key corresponds to a first formatting level. In some embodiments, if a plurality of formatting levels are set, a plurality of different pressing duration threshold values may be set correspondingly, and each time when one pressing duration threshold value is exceeded, a different formatting level is set correspondingly.
In this embodiment, the formatting command detecting module 10 further includes:
the third-party program information acquisition submodule is used for acquiring information in a third-party program;
the special command character string judgment submodule is used for judging whether the information contains a special command character string;
and the formatting instruction triggering sub-module is used for triggering the formatting instruction corresponding to the special command character string information if the special command character string information is in the form of a special command character string.
By acquiring the information in the third-party program, the third-party program can be QQ, WeChat, microblog, Paibao, Facebook and other social software, and can also be short messages, mails and the like. The chat information is obtained, whether the information contains a special command character string is judged, the special command character string is a preset special command string, for example, a section of numbers, letters, characters, symbols or a combination of the numbers, the letters, the characters and the symbols, when the special command character string is detected, a formatting instruction corresponding to the special command character string information is triggered, and when the intelligent terminal is lost, the intelligent terminal can be controlled to be formatted by sending the chat information containing the special command character string to the intelligent terminal from other equipment, so that the beneficial effect of controlling the intelligent terminal to be formatted from other equipment is realized.
In this embodiment, 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 formatting level, and the formatting instruction triggering sub-module includes:
a special command string information detection unit for detecting information of the special command string;
and the formatting instruction triggering unit is used for triggering a corresponding formatting instruction according to the information of the special command character string.
Detecting information in the special command character string, wherein the detection mode can be that the special command character string corresponds to a special command character string stored in a system, and then judging whether the information in the special command character string corresponds to a first special command character string or a second special command character string, when the information is the second special command character string, triggering a formatting instruction of a second formatting level, namely correspondingly erasing data in the SD card and the EMMC; and when the command string is a first special command string, triggering a formatting command of a first formatting level, and correspondingly executing a factory reset command.
Referring to fig. 5, the present application also provides a storage medium 100, in which a computer program 200 is stored in the storage medium 100, and when the computer program runs on a computer, the computer is enabled to execute the method for formatting the intelligent terminal described in the above embodiments.
Referring to fig. 6, the present application further provides a computer device 300 comprising the storage medium 100, when the computer program 200 stored in the storage medium 100 runs on the computer device 300, the computer device 300 is enabled to execute the method for formatting the intelligent terminal described in the above embodiment through the processor 400 arranged inside the computer device 300.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a storage medium or transmitted from one storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The storage medium may be any available medium that a computer can store or a data storage device including one or more available media integrated servers, data centers, and the like. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (7)

1. A method of formatting an intelligent terminal, comprising:
detecting whether a formatting command is triggered;
if so, detecting a formatting level corresponding to the formatting instruction;
cutting off the connection of a power supply source in the intelligent terminal, and supplying power to the storage unit through a capacitor connected with the storage unit;
erasing corresponding memory data according to the formatting level, wherein the memory data are data in the storage unit;
the step of detecting whether the formatting command is triggered further includes:
acquiring information in a third-party program;
judging whether the information contains a special command character string or not;
if yes, a formatting instruction corresponding to the special command character string information is triggered.
2. The method of formatting an intelligent terminal according to claim 1, wherein said formatting levels include a first formatting level and a second formatting level, and wherein said step of detecting the formatting level corresponding to said formatting command further comprises:
if the format level is the second format level, erasing the data in the storage unit;
and if the first formatting level is the first formatting level, restoring factory settings.
3. The method for formatting an intelligent terminal according to claim 2, wherein the intelligent terminal is provided with a special key, the special key is used for triggering a formatting command, and the step of detecting the formatting level corresponding to the formatting command comprises:
acquiring the pressing duration of the special key;
and triggering the corresponding formatting level according to the pressing duration.
4. The method of formatting an intelligent terminal according to claim 1, wherein the special command string is a first special command string or a second special command string, the first special command string corresponds to a first formatting level, the second special command string corresponds to a second formatting level, and the step of triggering the formatting command corresponding to the special command string comprises:
detecting information of the special command character string;
and triggering a corresponding formatting instruction according to the information of the special command character string.
5. An intelligent terminal, comprising:
the formatting instruction detection module is used for detecting whether the formatting instruction is triggered or not;
the formatting level detection module is used for detecting the formatting level corresponding to the formatting instruction when the formatting instruction is triggered;
the cutting-off module is used for cutting off the connection of a power supply source in the intelligent terminal and supplying power to the storage unit through a capacitor connected with the storage unit; the memory data erasing module is used for erasing corresponding memory data according to the formatting level, wherein the memory data is data in the storage unit;
the formatting instruction detection module further comprises:
the third-party program information acquisition submodule is used for acquiring information in a third-party program;
the special command character string judgment submodule is used for judging whether the information contains a special command character string;
and the formatting instruction triggering sub-module is used for triggering the formatting instruction corresponding to the special command character string information if the special command character string information is in the form of a special command character string.
6. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the steps of the method of formatting a smart terminal according to any of claims 1 to 4.
7. Computer device, characterized in that it comprises a processor, a memory and a computer program stored on said memory and executable on said processor, said processor implementing the steps of the method of formatting a smart terminal according to any one of claims 1 to 4 when executing said computer program.
CN202010260518.4A 2020-04-03 2020-04-03 Method for formatting intelligent terminal, intelligent terminal and storage medium Active CN111538536B (en)

Priority Applications (2)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN111538536A CN111538536A (en) 2020-08-14
CN111538536B true CN111538536B (en) 2021-09-21

Family

ID=71974947

Family Applications (1)

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

Country Status (2)

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

Families Citing this family (2)

* 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
CN116756785B (en) * 2023-08-16 2023-11-10 中国兵器装备集团兵器装备研究所 Self-destruction method and system of intelligent terminal system

Citations (6)

* 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
CN104461778A (en) * 2014-11-26 2015-03-25 珠海迈越信息技术有限公司 Factory default recovery method and system and terminal
CN105975037A (en) * 2016-05-16 2016-09-28 青岛海信电器股份有限公司 Method for restoring factory settings based on Android system and intelligent equipment
CN107526814A (en) * 2017-08-25 2017-12-29 青岛海信移动通信技术股份有限公司 Mobile terminal document storage method and device
CN110083483A (en) * 2018-01-26 2019-08-02 北京京东尚科信息技术有限公司 The method and apparatus for removing terminal data
CN110737831A (en) * 2013-12-03 2020-01-31 电子湾有限公司 System and method for adapting search results

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101389100B (en) * 2008-10-24 2012-11-28 Tcl天一移动通信(深圳)有限公司 Personal information protecting method for mobile communication terminal equipment
US8250380B2 (en) * 2009-12-17 2012-08-21 Hitachi Global Storage Technologies Netherlands B.V. Implementing secure erase for solid state drives
US9431410B2 (en) * 2013-11-01 2016-08-30 Micron Technology, Inc. Methods and apparatuses having memory cells including a monolithic semiconductor channel
CN104038634A (en) * 2014-06-25 2014-09-10 深圳市中兴移动通信有限公司 Mobile terminal and privacy disclosure prevention method thereof
CN104331378B (en) * 2014-11-20 2018-01-30 三木控股集团有限公司 A kind of data cleansing control method and its equipment
CN105100412B (en) * 2015-05-27 2018-05-29 努比亚技术有限公司 Terminal data sweep-out method and device
CN107169073A (en) * 2017-05-09 2017-09-15 北京智行创远信息科技有限公司 A kind of data managing method and management platform
CN108537069B (en) * 2018-01-17 2021-07-06 中北大学 Self-destruction method for data of storage tester
CN111538536B (en) * 2020-04-03 2021-09-21 深圳市沃特沃德信息有限公司 Method for formatting intelligent terminal, intelligent terminal and storage medium

Patent Citations (6)

* 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
CN110737831A (en) * 2013-12-03 2020-01-31 电子湾有限公司 System and method for adapting search results
CN104461778A (en) * 2014-11-26 2015-03-25 珠海迈越信息技术有限公司 Factory default recovery method and system and terminal
CN105975037A (en) * 2016-05-16 2016-09-28 青岛海信电器股份有限公司 Method for restoring factory settings based on Android system and intelligent equipment
CN107526814A (en) * 2017-08-25 2017-12-29 青岛海信移动通信技术股份有限公司 Mobile terminal document storage method and device
CN110083483A (en) * 2018-01-26 2019-08-02 北京京东尚科信息技术有限公司 The method and apparatus for removing terminal data

Also Published As

Publication number Publication date
WO2021196625A1 (en) 2021-10-07
CN111538536A (en) 2020-08-14

Similar Documents

Publication Publication Date Title
CN111045901B (en) Container monitoring method and device, storage medium and electronic equipment
US20170161507A1 (en) Dual-system Electronic Apparatus and Terminal
EP3160150A1 (en) Electronic device and method for executing function using speech recognition thereof
US11337042B2 (en) Short message processing method and apparatus, and electronic device
US20140208328A1 (en) Method for terminal acceleration, terminal and storage medium
CN111538536B (en) Method for formatting intelligent terminal, intelligent terminal and storage medium
EP2869190A1 (en) Method for starting activity of mobile terminal and the mobile terminal
CN108872762B (en) Electronic equipment leakage detection method and device, electronic equipment and storage medium
CN107835986B (en) Data operation method of electronic equipment and electronic equipment
CN104216819A (en) Method for managing terminal application
WO2020134566A1 (en) Control method for doze mode of mobile terminal, storage medium and mobile terminal
CN104954550A (en) Messaging system and method thereof
CN105353942A (en) Information output method and terminal
CN113357067B (en) Electric fuel pump control method and device, electronic equipment and storage medium
CN107704337B (en) Factory setting restoring method, mobile terminal and device with storage function
US11436093B2 (en) Method, electronic device, and computer program product for backing up data
CN103561089A (en) Virtual machine desktop log-in method, device and system
CN103761022A (en) Content inputting method and terminal device
CN104461922A (en) System optimization method and device
US8832824B2 (en) Electronic device and switching method using the same
CN110737319B (en) Operation control method and device of server and storage medium
CN112988105A (en) Playing state control method and device, electronic equipment and storage medium
US9189160B2 (en) Transport agnostic sequential drive recovery with mode data snooping
CN107229465B (en) Method and device for waking up head-mounted display of VR (virtual reality) host and VR host
CN104503925A (en) Uninstalling method and device of storage equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20210804

Address after: 518000 201, No.26, yifenghua Innovation Industrial Park, Xinshi community, Dalang street, Longhua District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen waterward Information Co.,Ltd.

Address before: 518000 B, 503, 602, digital city building, garden city, 1079 Shekou Road, Shekou, Nanshan District, Shenzhen, Guangdong.

Applicant before: Shenzhen Waterward Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant