Disclosure of Invention
In view of the shortcomings of the prior art, the invention aims to provide a mobile terminal machine brushing control processing method, a mobile terminal and a storage medium, which aim to ensure that the mobile terminal machine brushing is authorized by the original mobile terminal user so as to achieve the purpose that the mobile terminal cannot be used after being stolen, and simultaneously can prevent the problem of mistaken machine brushing of the mobile terminal, thereby being convenient for users to use and improving the safety of the mobile terminal.
In order to achieve the above purpose, the invention adopts the following technical scheme:
a mobile terminal brushing machine control processing method comprises the following steps:
presetting a mobile terminal brushing identification position, wherein the brushing identification position comprises: allowing the machine to be brushed and not allowing the machine to be brushed;
after the mobile terminal is started, a preset password is input into a menu to set a brushing identifier;
when the mobile terminal is started, a brushing command is detected, the brushing identification bit state is obtained, whether the brushing identification bit state allows brushing is judged, if so, a brushing mode is entered, and otherwise, normal starting is performed.
According to the mobile terminal brushing machine control processing method, the brushing machine identification bits are stored in a power-down nonvolatile memory of the mobile terminal.
The mobile terminal brushing control processing method, wherein the preset mobile terminal brushing identification position comprises the following steps: the method also comprises the following steps of allowing the brushing machine and not allowing the brushing machine to be in two states: after the mobile terminal is started, a preset password is input into a menu to set a brushing identifier; the password can also be modified under the condition of inputting the original password.
The mobile terminal machine brushing control processing method comprises the steps of detecting a machine brushing command when the mobile terminal is started, obtaining a machine brushing identification bit state, judging whether the machine brushing identification bit state is a machine brushing permission state, entering a machine brushing mode if the machine brushing identification bit state is the machine brushing permission state, and otherwise, normally starting the machine, wherein the machine brushing control processing method comprises the following steps:
b1, detecting a brushing command when the mobile terminal is started;
b2, acquiring the state of the identification bit of the brushing machine;
and B3, judging whether the state of the brushing identification bit is the allowable brushing mode, if so, entering a brushing mode, otherwise, starting normally.
The mobile terminal machine brushing control processing method comprises the steps of detecting a machine brushing command when the mobile terminal is started, obtaining a machine brushing identification bit state, judging whether the machine brushing identification bit state is a machine brushing permission state, entering a machine brushing mode if the machine brushing identification bit state is the machine brushing permission state, otherwise, normally starting the machine, and further comprising the following steps:
and automatically setting the state of the machine brushing identification bit to be in a state of not allowing machine brushing after the mobile terminal is started.
A mobile terminal, comprising: a processor, a memory, and a communication bus;
the memory stores a mobile terminal brushing machine control processing program which can be executed by the processor;
the communication bus realizes connection communication between the processor and the memory;
the processor executes the mobile terminal brushing machine control processing program to realize the following steps:
presetting a mobile terminal brushing identification position, wherein the brushing identification position comprises: allowing the machine to be brushed and not allowing the machine to be brushed;
after the mobile terminal is started, a preset password is input in a menu to set a brushing identifier
When the mobile terminal is started, a brushing command is detected, the brushing identification bit state is obtained, whether the brushing identification bit state allows brushing is judged, if so, a brushing mode is entered, and otherwise, normal starting is performed.
The mobile terminal, wherein the processor executes the mobile terminal brushing machine control processing program to further realize the following steps:
and the brushing machine identification bit is stored in a power-down nonvolatile memory of the mobile terminal.
The mobile terminal, wherein the processor executes the mobile terminal brushing machine control processing program to further realize the following steps:
after the mobile terminal is started, a preset password is input into a menu to set a brushing identifier; the password can also be modified under the condition of inputting the original password.
The mobile terminal, wherein the processor executes the mobile terminal brushing machine control processing program to further realize the following steps:
b1, detecting a brushing command when the mobile terminal is started;
b2, acquiring the state of the identification bit of the brushing machine;
b3, judging whether the state of the brushing identification bit is a brushing permission state, if so, entering a brushing mode, otherwise, starting normally;
and automatically setting the state of the machine brushing identification bit to be in a state of not allowing machine brushing after the mobile terminal is started.
A computer readable storage medium storing one or more programs executable by one or more processors to implement the steps in the mobile terminal refresh control processing method of any one of the claims.
Compared with the prior art, the mobile terminal brushing control processing method, the mobile terminal and the storage medium provided by the invention have the advantages that the brushing identification bit of the mobile terminal is preset, and the brushing identification bit comprises the following steps: allowing the machine to be brushed and not allowing the machine to be brushed; when the mobile terminal is started, a brushing command is detected, the brushing identification bit state is obtained, whether the brushing identification bit state allows brushing is judged, if so, a brushing mode is entered, and otherwise, normal starting is performed. The mobile terminal is authorized by the original mobile terminal user when the mobile terminal is used for brushing, so that the purpose that the mobile terminal cannot be used for brushing after being stolen is achieved, meanwhile, the problem that the mobile terminal is used for brushing by mistake can be prevented, the use is facilitated for the user, and the safety of the mobile terminal is improved.
Detailed Description
In order to make the objects, technical solutions and effects of the present invention clearer and more specific, the present invention will be described in further detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, the method for controlling and processing the mobile terminal brushing machine provided by the invention comprises the following steps:
s100, presetting a mobile terminal brushing identification position, wherein the brushing identification position comprises: allowing the machine to be brushed and not allowing the machine to be brushed;
specifically, the swipe identification bit is stored in a power-down nonvolatile memory of the mobile terminal, where the power-down nonvolatile memory is a memory that can store data even without power, such as FLASH, EMMC, and the like.
Further, the state of the refresh identification bit may be indicated in the memory by storing a corresponding number at the specified address, for example, the state of the refresh identification bit may be indicated by data stored at the specified address 0x2FE00006, for example, data stored at the specified address 0x2FE00006 is 0x66 as a refresh permission, and data stored at the specified address 0x2FE00006 is 0x16 as a refresh non-permission.
S200, after the mobile terminal is started, a preset password is input into a menu to set a brushing identifier.
The password can also be modified under the condition of inputting the original password;
specifically, after the mobile terminal is started, the user can enter a corresponding modification menu of the state of the identification position of the brushing machine to modify the state of the identification position of the brushing machine; but requires the user to input a preset password before modification; the password can also be modified under the condition of inputting the original password.
S300, detecting a brushing command when the mobile terminal is started, acquiring a brushing identification bit state, judging whether the brushing identification bit state is a brushing permission state, entering a brushing mode if the brushing identification bit state is the brushing permission state, otherwise, starting normally;
specifically, the step S30 includes:
b1, detecting a brushing command when the mobile terminal is started;
b2, acquiring the state of the identification bit of the brushing machine; reading data stored in a designated memory address for storing the state of the brusher identification bit;
and B3, judging whether the state of the brushing identification bit is the allowable brushing mode, if so, entering a brushing mode, otherwise, starting normally.
In a further embodiment, as shown in fig. 1, the method for controlling and processing the mobile terminal brushing machine further includes:
s400, automatically setting the state of the machine brushing identification bit to be not allowed to brush machines after the mobile terminal is started;
specifically, when the mobile terminal is started, the data stored in the appointed memory address for storing the state of the identification bit of the machine is automatically modified to be not allowed to be machine-refreshed;
thus, the whole brushing process is as follows: in the starting-up state of the mobile terminal, a user sets a brushing identifier as a brushing permission through a preset password input in a menu, sets a brushing command, detects the brushing command after restarting the mobile terminal, acquires the brushing identifier state, judges whether the brushing identifier state is the brushing permission or not, enters a brushing mode if the brushing identifier state is the brushing permission (the brushing identifier state is automatically set to be the brushing permission when the mobile terminal is started up for the first time after finishing brushing), and otherwise starts up normally (the brushing identifier state is automatically set to be the brushing permission).
From the above, the present invention provides a mobile terminal brushing control processing method, where the method presets a brushing identification bit of a mobile terminal, where the brushing identification bit includes: allowing the machine to be brushed and not allowing the machine to be brushed; when the mobile terminal is started, a brushing command is detected, the brushing identification bit state is obtained, whether the brushing identification bit state allows brushing is judged, if so, a brushing mode is entered, and otherwise, normal starting is performed. The mobile terminal is authorized by the original mobile terminal user when the mobile terminal is used for brushing, so that the purpose that the mobile terminal cannot be used for brushing after being stolen is achieved, meanwhile, the problem that the mobile terminal is used for brushing by mistake can be prevented, the use is facilitated for users, and the safety is improved.
As shown in fig. 2, based on the above-mentioned mobile terminal brushing control processing method, the present invention further provides a mobile terminal accordingly, where the mobile terminal may be a mobile phone, a desktop computer, a notebook computer, a palm computer, a server, and other computing devices. The mobile terminal comprises a processor 10, a memory 20 and a display screen 30, wherein the processor 10 is connected with the memory 20 through a communication bus 50, and the display screen 30 is connected with the processor 10 through the communication bus 50. Fig. 2 shows only some of the components of the mobile terminal, but it should be understood that not all of the illustrated components are required to be implemented and that more or fewer components may alternatively be implemented.
The memory 20 may in some embodiments be an internal storage unit of the mobile terminal, such as a memory of the mobile terminal. The memory 20 may also be an external storage device of the mobile terminal in other embodiments, such as a plug-in type usb Flash drive, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like. Further, the memory 20 may also include both an internal storage unit and an external storage device of the mobile terminal. The memory 20 is used for storing application software installed in the mobile terminal and various data, such as program codes for installing the mobile terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In an embodiment, the memory 20 stores a mobile terminal swipe control processing method program 40, and the mobile terminal swipe control processing method program 40 can be executed by the processor 10, so as to implement the mobile terminal swipe control processing method in the present application.
The processor 10 may in some embodiments be a central processing unit (Central Processing Unit, CPU), microprocessor, mobile phone baseband processor or other data processing chip for running program code or processing data stored in the memory 20, for example for executing the mobile terminal refresh control processing method, etc.
The display screen 30 may be an LED display screen, a liquid crystal display screen, a touch-control type liquid crystal display screen, an OLED (Organic Light-Emitting Diode) touch device, or the like in some embodiments. The display screen 30 is used for displaying information on the mobile terminal and for displaying a visual user interface. The components 10-30 of the mobile terminal communicate with each other via a system bus.
In one embodiment, the following steps are implemented when the processor 10 executes the mobile terminal refresh control processing method program 40 in the memory 20:
presetting a mobile terminal brushing identification position, wherein the brushing identification position comprises: allowing the machine to be brushed and not allowing the machine to be brushed;
after the mobile terminal is started, a preset password is input in a menu to set a brushing identifier
When the mobile terminal is started, a brushing command is detected, the brushing identification bit state is obtained, whether the brushing identification bit state allows brushing is judged, if so, a brushing mode is entered, and otherwise, normal starting is performed.
The mobile terminal, wherein the processor executes the mobile terminal brushing machine control processing program to further realize the following steps:
and the brushing machine identification bit is stored in a power-down nonvolatile memory of the mobile terminal.
The mobile terminal, wherein the processor executes the mobile terminal brushing machine control processing program to further realize the following steps:
after the mobile terminal is started, a preset password is input into a menu to set a brushing identifier; the password can also be modified under the condition of inputting the original password.
The mobile terminal, wherein the processor executes the mobile terminal brushing machine control processing program to further realize the following steps:
b1, detecting a brushing command when the mobile terminal is started;
b2, acquiring the state of the identification bit of the brushing machine;
b3, judging whether the state of the brushing identification bit is a brushing permission state, if so, entering a brushing mode, otherwise, starting normally;
and after the mobile terminal is started, automatically setting the state of the brushing identification bit to be the state of not allowing the brushing, and particularly, the method is as described above.
Fig. 3 is a functional block diagram of a preferred embodiment of a mobile terminal according to the present invention, in which a computer program for controlling a processing method of a mobile terminal is installed. In this embodiment, the system for installing the mobile terminal brushstroke control processing method program may be divided into one or more modules, which are stored in the memory 20 and executed by one or more processors (the processor 10 in this embodiment) to complete the present invention. For example, in fig. 3, a mobile terminal in which a mobile terminal swipe control processing method computer program is installed may be divided into a start swipe flag judging module 21, a swipe flag first setting module 22, and a swipe flag second setting module 23. The module refers to a series of computer program instruction segments capable of completing specific functions, and is more suitable for describing the execution process of the mobile terminal brushing control processing method program in the mobile terminal than the program. The following description will specifically introduce the functionality of the modules 21-23.
The startup brushing judging module 21 is used for detecting a brushing command when the mobile terminal is started, acquiring a brushing identification bit state, judging whether the brushing identification bit state is a brushing permission mode or not, entering a brushing mode if the brushing identification bit state is the brushing permission mode, and otherwise, starting normally;
a first setting module 22 of the brushing identity bit, configured to automatically set the brushing identity bit to a state that the brushing is not allowed when the mobile terminal is started;
the second setting module 23 of the phone identifier is configured to set the phone identifier by inputting a preset password into a menu when the mobile terminal is started, as described above.
Based on the above embodiments, the present invention further provides a computer readable storage medium storing one or more programs executable by one or more processors to implement the steps in the mobile terminal swipe control processing method according to any one of the above embodiments, specifically as described above.
In summary, in the mobile terminal brushing control processing method, the mobile terminal and the storage medium provided by the invention, the method sets the brushing identification bit of the mobile terminal in advance, and the brushing identification bit comprises: allowing the machine to be brushed and not allowing the machine to be brushed; when the mobile terminal is started, a brushing command is detected, the brushing identification bit state is obtained, whether the brushing identification bit state allows brushing is judged, if so, a brushing mode is entered, and otherwise, normal starting is performed. The mobile terminal is authorized by the original mobile terminal user when the mobile terminal is used for brushing, so that the purpose that the mobile terminal cannot be used for brushing after being stolen is achieved, meanwhile, the problem that the mobile terminal is used for brushing by mistake can be prevented, the use is facilitated for the user, and the safety of the mobile terminal is improved.
Of course, those skilled in the art will appreciate that implementing all or part of the above-described methods may be implemented by a computer program for instructing relevant hardware (e.g., a processor, a controller, etc.), where the program may be stored in a computer-readable storage medium, and where the program may include the steps of the above-described method embodiments when executed. The storage medium may be a memory, a magnetic disk, an optical disk, or the like.
It is to be understood that the invention is not limited in its application to the examples described above, but is capable of modification and variation in light of the above teachings by those skilled in the art, and that all such modifications and variations are intended to be included within the scope of the appended claims.