CN107368255A - Unlocking method, mobile terminal and computer-readable recording medium - Google Patents

Unlocking method, mobile terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107368255A
CN107368255A CN201710611794.9A CN201710611794A CN107368255A CN 107368255 A CN107368255 A CN 107368255A CN 201710611794 A CN201710611794 A CN 201710611794A CN 107368255 A CN107368255 A CN 107368255A
Authority
CN
China
Prior art keywords
mobile terminal
core
cpu core
switched
unblock
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.)
Granted
Application number
CN201710611794.9A
Other languages
Chinese (zh)
Other versions
CN107368255B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710611794.9A priority Critical patent/CN107368255B/en
Publication of CN107368255A publication Critical patent/CN107368255A/en
Application granted granted Critical
Publication of CN107368255B publication Critical patent/CN107368255B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5044Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering hardware capabilities

Abstract

The present invention is applied to communication technical field, there is provided unlocking method, mobile terminal and computer-readable recording medium, the unlocking method include:When mobile terminal is in screen lock state, if detect the triggering information of unblock, the CPU core number that the mobile terminal works then is increased into predetermined number by current quantity, at least one big core is included in the increased CPU core of institute, the big core refers to that maximum operating frequency is more than the CPU core of threshold value;The working frequency of each CPU core in the CPU core of the predetermined number is switched into its highest frequency that can reach;After the highest frequency is switched to, the thread of unblock is switched on any big core and run, to be unlocked processing to the mobile terminal in the state of the operation.The unblock speed of mobile terminal can be improved by the present invention.

Description

Unlocking method, mobile terminal and computer-readable recording medium
Technical field
The invention belongs to communication technical field, more particularly to unlocking method, mobile terminal and computer-readable recording medium.
Background technology
At present, mobile terminal (such as smart mobile phone, tablet personal computer etc.) all has the function of screen locking, when user is to moving Need to carry out unlocking screen to the mobile terminal when dynamic terminal is operated, to reach the purpose verified to user identity, So as to effectively prevent other people from knowing the personal information in mobile terminal.However, the unblock of mobile terminal in the prior art Journey is time-consuming longer, and unblock speed is slower.
Therefore, it is necessary to a kind of new technical scheme is proposed, to solve above-mentioned technical problem.
The content of the invention
In view of this, the embodiments of the invention provide unlocking method, mobile terminal and computer-readable recording medium, to carry The unblock speed of high mobile terminal.
The first aspect of the embodiment of the present invention provides a kind of unlocking method, and the unlocking method includes:
When mobile terminal is in screen lock state, if detecting the triggering information of unblock, the mobile terminal is worked CPU core number predetermined number is increased to by current quantity, include at least one big core in the increased CPU core of institute, the big core is Refer to the CPU core that maximum operating frequency is more than threshold value;
The working frequency of each CPU core in the CPU core of the predetermined number is switched into its highest that can reach Frequency;
After the highest frequency is switched to, the thread of unblock is switched on any big core and run, with described Processing is unlocked to the mobile terminal in the state of operation.
The second aspect of the embodiment of the present invention provides a kind of mobile terminal, and the mobile terminal includes:
Check figure increases module, for when mobile terminal is in screen lock state, if detecting the triggering information of unblock, inciting somebody to action The CPU core number of the mobile terminal work increases to predetermined number by current quantity, is included in the increased CPU core of institute at least one Big core, the big core refer to that maximum operating frequency is more than the CPU core of threshold value;
Frequency error factor module, for the working frequency of each CPU core in the CPU core of the predetermined number to be switched to Its highest frequency that can reach;
First thread handover module, for after the highest frequency is switched to, the thread of unblock to be switched into any institute State and run on big core, to be unlocked processing to the mobile terminal in the state of the operation.
The third aspect of the embodiment of the present invention provides a kind of mobile terminal, including memory, processor and is stored in In the memory and the computer program that can run on the processor, described in the computing device during computer program Realize as described in above-mentioned first aspect the step of unlocking method.
The fourth aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage Media storage has computer program, and the unblock side as described in above-mentioned first aspect is realized when the computer program is executed by processor The step of method.
Existing beneficial effect is the embodiment of the present invention compared with prior art:The embodiment of the present invention is in mobile terminal During screen lock state, if detecting the triggering information of unblock, the CPU core number that the mobile terminal works is increased by current quantity To predetermined number, at least one big core is included in the increased CPU core of institute, and by each in the CPU core of the predetermined number The working frequency of CPU core switches to its highest frequency that can reach, after the highest frequency is switched to, by the thread of unblock Switch on any big core and run, to be unlocked processing to the mobile terminal in the state of the operation.This hair Bright embodiment switches to its most high frequency that can reach by the working frequency of each CPU core in the CPU core by predetermined number Rate, and unlocking thread is switched on big core and run, so as to improve unblock speed, the time-consuming of releasing process is shortened, is improved Unblock efficiency.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description be only the present invention some Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the implementation process schematic diagram for the unlocking method that the embodiment of the present invention one provides;
Fig. 2 is the implementation process schematic diagram for the unlocking method that the embodiment of the present invention two provides;
Fig. 3 is the schematic diagram for the mobile terminal that the embodiment of the present invention three provides;
Fig. 4 is the schematic diagram for the mobile terminal that the embodiment of the present invention four provides;
Fig. 5 is the schematic diagram for the mobile terminal that the embodiment of the present invention five provides.
Embodiment
In describing below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc Body details, thoroughly to understand the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity Road and the detailed description of method, in case unnecessary details hinders description of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, special described by the instruction of term " comprising " Sign, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, entirety, step, Operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and appended claims is Refer to any combinations of one or more of the associated item listed and be possible to combine, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the mobile terminal described in the embodiment of the present invention is including but not limited to such as with the sensitive table of touch Mobile phone, laptop computer or the tablet PC in face (for example, touch-screen display and/or touch pad) etc it is other Portable set.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but is had The desktop computer of touch sensitive surface (for example, touch-screen display and/or touch pad).
In discussion below, the mobile terminal including display and touch sensitive surface is described.However, it should manage Solution, one or more of the other physical User that mobile terminal can include such as physical keyboard, mouse and/or control-rod connect Jaws equipment.
Mobile terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application Program, word-processing application, website establishment application program, disk imprinting application program, spreadsheet applications, game are answered With program, telephony application, videoconference application, email application, instant messaging applications, forging Refining supports application program, photo management application program, digital camera application program, digital camera application program, web-browsing should With program, digital music player application and/or video frequency player application program.
The various application programs that can be performed on mobile terminals can use at least one of such as touch sensitive surface Public physical user-interface device.It can be adjusted among applications and/or in corresponding application programs and/or change touch is quick Feel the corresponding information shown in the one or more functions and mobile terminal on surface.So, the public physics frame of mobile terminal Structure (for example, touch sensitive surface) can be supported to apply journey with the various of user interface directly perceived and transparent for a user Sequence.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence in the present embodiment, each process Execution sequence should determine that the implementation process without tackling the embodiment of the present invention forms any restriction with its function and internal logic.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
It is the implementation process figure for the unlocking method that the embodiment of the present invention one provides referring to Fig. 1, the unlocking method is applied to move Terminal is moved, the unlocking method may comprise steps of as shown in the figure:
Step S101, when mobile terminal is in screen lock state, if the triggering information of unblock is detected, by the movement The CPU core number of terminal works increases to predetermined number by current quantity, includes at least one big core in the increased CPU core of institute, institute State big core and refer to that maximum operating frequency is more than the CPU core of threshold value.
In embodiments of the present invention, when mobile terminal is in screen lock state, if detecting the screen to the mobile terminal The triggering information of the unblock of curtain, then wake up all CPU cores of the mobile terminal, will the mobile terminal work CPU core Number increases to predetermined number by current quantity.Because when mobile terminal is in screen lock state, in generally only all CPU core numbers Start earliest CPU core and be in opening, other CPU cores are in closed mode.For example, the CPU of mobile terminal shares eight Individual core, above-mentioned eight core generally is opened according to CPU0, CPU1, CPU2, CPU3, CPU4, CPU5, CPU6, CPU7 order, is being moved When dynamic terminal is in holding state, generally only CPU0 is in opening (i.e. the CPU core number of mobile terminal work is 1), moves During dynamic terminal standby, the CPU of mobile terminal pass core strategy is closed always since CPU7 to CPU1.Wherein, it is described default Quantity refers to the CPU of the mobile terminal total check figure.
Wherein, the triggering information of the unblock can be due to the information that user's input unlocking information is triggered, such as The operation information for the user that the release region of mobile terminal detects.Exemplary, it is described when unlocking manner is unlocked by fingerprint The triggering information for detecting unblock can be that the finger for detecting user is placed on finger print acquisition module;It is nine in unlocking manner During the lattice of palace, the triggering information for detecting unblock can detect the character clicked in nine spaces;It is cunning in unlocking manner During dynamic rail mark, the triggering information for detecting unblock can detect slide in track detection zone.
When the CPU of mobile terminal is multi-core CPU, the multi-core CPU can be generally divided into big core and small nut.Big core is high property The core of energy, is operated under higher voltage and frequency.Small nut is the core of low performance, is operated in relatively low voltage and frequency Under.When dividing big core and small nut, can generally be divided according to its highest frequency that can reach, the highest that can reach The CPU core that frequency is more than threshold value is big core, and the CPU core that the highest frequency that can reach is less than or equal to threshold value is small nut.Example Such as, in eight core CPU, CPU0, CPU1, CPU2 and CPU3 are generally small nut, and CPU4, CPU5, CPU6 and CPU7 are generally big core.Can Choosing, the threshold value can be set based on experience value, be not limited thereto.
Step S102, the working frequency of each CPU core in the CPU core of the predetermined number is switched into it to reach The highest frequency arrived.
Exemplary, for eight core CPU (i.e. predetermined number is eight), by the work of each CPU core in eight CPU cores Frequency switches to its highest frequency that can reach respectively.Specifically, CPU0 working frequency is switched into CPU0 to reach Highest frequency, CPU1 working frequency is switched into the highest frequency that CPU1 can reach, CPU2 working frequency is switched The highest frequency that can reach to CPU2, by that analogy, it can reach most until CPU7 working frequency is switched into CPU7 High-frequency.System due to when detecting the triggering information of unblock, mobile terminal can be waken up, and just waking up mobile terminal During system, only CPU0 is being run, therefore CPU0 working frequency is improved to the highest frequency that can reach to it, can be accelerated CPU0 operation, improve the speed of the system wake-up of mobile terminal.
Step S103, after the highest frequency is switched to, the thread of unblock is switched on any big core and run, To be unlocked processing to the mobile terminal in the state of the operation.
In embodiments of the present invention, switch by the working frequency of each CPU core in the CPU core of the predetermined number After the highest frequency that can reach to it, the thread of the unblock to the screen of mobile terminal is switched on any big core and transported OK, will be on big core to movement so that mobile terminal is unlocked processing on the big core to the mobile terminal Terminal is unlocked processing, because the working frequency of big core is higher, has higher process performance, so as to improve to mobile whole The unblock speed at end.
Exemplary, the working frequency of the CPU0 to CPU7 in eight CPU cores is switched into it respectively can reach most After high-frequency, because CPU4, CPU5, CPU6 and CPU7 are big core, then it is big the thread of unblock can be switched to aforementioned four Any big core in core.
Optionally, after being run on the thread of unblock to be switched to any big core, in addition to:
If detecting, the big core is closed, and the thread of unblock is switched in small nut to the CPU started the latest Run on core, the small nut refers to that maximum operating frequency is less than or equal to the CPU core of the threshold value.
In embodiments of the present invention, after being run on the thread of unblock to be switched to any big core, it is understood that there may be The less scene of resource needed for the thread of unblock, i.e. small nut can meet resource needed for the thread of unblock, it is now mobile eventually End can close the big core, be run so as to which the thread of unblock is switched on small nut.When the quantity of small nut is multiple, institute is detected State whether the CPU core started in multiple small nuts the latest is in opening, if the processing frequency is less than or equal to threshold value The CPU core started in CPU core the latest is in opening, then switches in the multiple small nut the thread of unblock and start the latest CPU core on run;If the CPU core started in the multiple small nut the latest is closed, will detect the multiple small Start whether the CPU core only earlier than CPU core the latest is in opening in core, if starting in the multiple small nut only earlier than most The CPU core of the CPU core in evening is in opening, then switches in the multiple small nut the thread of unblock and start only earlier than the latest CPU core CPU core on run;If starting the CPU core only earlier than CPU core the latest in the multiple small nut is in closing shape State, then by that analogy, until having traveled through the multiple small nut.
By taking eight core CPU as an example, if big core CPU4, CPU5, CPU6 and CPU7 are in closed mode, detection CPU3 is It is no to be in opening, if CPU3 is in opening, the thread of unblock is switched on CPU3 and run;Closed if CPU3 is in Closed state, then detect whether CPU2 is in opening, if CPU2 is in opening, the thread of unblock is switched into CPU2 Upper operation;If CPU2 is closed, whether detection CPU1 is in opening, will if CPU1 is in opening The thread of unblock is switched on CPU1 and run;If CPU1 is closed, the thread of unblock is switched on CPU0 and run, Because CPU0 is typically each in opening.
The embodiment of the present invention switches to its energy by the working frequency of each CPU core in the CPU core by predetermined number The highest frequency reached, and unlocking thread is switched on big core and run, so as to improve unblock speed, shorten releasing process It is time-consuming, improve unblock efficiency.
It is the implementation process figure for the unlocking method that the embodiment of the present invention two provides referring to Fig. 2, the unlocking method is applied to move Terminal is moved, the unlocking method may comprise steps of as shown in the figure:
Step S201, when mobile terminal is in screen lock state, if the triggering information of unblock is detected, by the movement The CPU core number of terminal works increases to predetermined number by current quantity, includes at least one big core in the increased CPU core of institute, institute State big core and refer to that maximum operating frequency is more than the CPU core of threshold value.
The step is identical with step S101, for details, reference can be made to step S101 associated description, will not be repeated here.
Step S202, the working frequency of each CPU core in the CPU core of the predetermined number is switched into it to reach The highest frequency arrived.
The step is identical with step S102, for details, reference can be made to step S102 associated description, will not be repeated here.
Step S203, after the highest frequency is switched to, the thread of unblock is switched in the big core and started earliest CPU core on run, to be unlocked processing to the mobile terminal in the state of the operation.
In embodiments of the present invention, switch by the working frequency of each CPU core in the CPU core of the predetermined number After the highest frequency that can reach to it, the thread of the unblock to the screen of mobile terminal is switched in the big core and started most Run on early CPU core, so that mobile terminal not only can be unlocked place on the big core to the mobile terminal Reason, the CPU core started in the big core the latest can also be reduced and switch frequent institute to the switching for starting earliest CPU core, elimination The problem of system of caused mobile terminal is unstable.By taking eight core CPU as an example, because the CPU of mobile terminal pass core strategy is Closed always to CPU1 since CPU7, if the working frequency of eight CPU cores to be respectively increased to the most high frequency that can reach to it After rate, the thread of unblock is directly switched into CPU4, it is possible to reduce the switching between CPU7 to CPU4.
Optionally, it is described processing is unlocked to the mobile terminal in the state of the operation to include;
The unlocking information of user's input is obtained in the state of the operation;
If the unlocking information of user's input matches with the unlocking information prestored, in the state of the operation Under the mobile terminal is unlocked.
Wherein, the unlocking information of user's input includes but is not limited to finger print information, character information and/or trace information etc.. The quantity of the unlocking information prestored can be one or more, in the quantity of the unlocking information prestored For it is multiple when, if any one unlocking information phase in the unlocking information and multiple unlocking informations for prestoring of user input Matching, then be unlocked to the mobile terminal.
It should be noted that the mobile terminal may also detect unblock in screen lock state and when putting out screen state Triggering information (such as unlocked by fingerprint generally be exactly mobile terminal be in put out screen state when input finger print information), then the shifting Dynamic terminal can obtain the unlocking information of user's input in the state of the operation again, and the unlocking information of user input with When the unlocking information prestored matches, the mobile terminal is unlocked in the state of the operation, and controls institute State mobile terminal bright screen.
Optionally, after being unlocked processing to the mobile terminal in the state of the operation, in addition to:
The working frequency of each CPU core in the CPU core of the predetermined number is recovered into the frequency to switching.
In embodiments of the present invention, can be by the CPU core of the predetermined number after successfully being unlocked to the mobile terminal In the working frequency of each CPU core recover the frequency to switching, to reduce the utilization of the system resource of the mobile terminal.
The embodiment of the present invention is further limited on the basis of embodiment one and " switched to the thread of unblock in the big core Start and run on earliest CPU core " so that mobile terminal can not only be carried out on the big core to the mobile terminal Unblock is handled, and can also be reduced the CPU core started in the big core the latest and be switched to the switching for starting earliest CPU core, elimination The problem of system of mobile terminal caused by frequently is unstable.
Referring to Fig. 3, it is the schematic diagram for the mobile terminal that the embodiment of the present invention three provides, for convenience of description, illustrate only The part related to the embodiment of the present invention.
The mobile terminal includes:
Check figure increases module 31, for when mobile terminal is in screen lock state, if detecting the triggering information of unblock, The CPU core number that the mobile terminal works is increased into predetermined number by current quantity, at least one is included in the increased CPU core of institute Individual big core, the big core refer to that maximum operating frequency is more than the CPU core of threshold value;
Frequency error factor module 32, for the working frequency of each CPU core in the CPU core of the predetermined number to be switched The highest frequency that can reach to it;
First thread handover module 33, for after the highest frequency is switched to, the thread of unblock being switched to any Run on the big core, to be unlocked processing to the mobile terminal in the state of the operation.
Optionally, the first thread handover module 33 is specifically used for:
The thread of unblock is switched in the big core to start and run on earliest CPU core.
Optionally, the mobile terminal also includes:
Second thread handover module 34, if for detecting that the big core is closed, the thread of unblock is cut Shift in small nut to start and run on CPU core the latest, the small nut refers to that maximum operating frequency is less than or equal to the threshold value CPU core.
Optionally, the first thread handover module 33 includes:
Information acquisition unit 331, for obtaining the unlocking information of user's input in the state of the operation;
Unlocking unit 332, if the unlocking information for user input matches with the unlocking information prestored, The mobile terminal is unlocked in the state of the operation.
The mobile terminal also includes:
Recovery module 35, after being unlocked processing to the mobile terminal in the state of the operation, by institute The working frequency for stating each CPU core in the CPU core of predetermined number recovers the frequency to switching.
Mobile terminal provided in an embodiment of the present invention can be used in foregoing corresponding embodiment of the method one and embodiment two In, details will not be repeated here referring to the description of above-described embodiment one and embodiment two.
It is the structured flowchart for the mobile terminal that the embodiment of the present invention four provides referring to Fig. 4.The mobile terminal as depicted It can include:One or more processors 401 (only show one) in figure;One or more input equipments 402 (are only shown in figure One), one or more output equipments 403 (one is only shown in figure) and memory 404.Above-mentioned processor 401, input equipment 402nd, output equipment 403 and memory 404 are connected by bus 405.Memory 404 is used for store instruction, and processor 401 is used for Perform the instruction that memory 404 stores.Wherein:
The processor 401, for when mobile terminal is in screen lock state, if detecting the triggering information of unblock, The CPU core number that the mobile terminal works is increased into predetermined number by current quantity, at least one is included in the increased CPU core of institute Individual big core, the big core refer to that maximum operating frequency is more than the CPU core of threshold value;Will be each in the CPU core of the predetermined number The working frequency of individual CPU core switches to its highest frequency that can reach;After the highest frequency is switched to, by the line of unblock Journey is switched on any big core and run, to be unlocked processing to the mobile terminal in the state of the operation.
Optionally, the processor 401, start earliest specifically for the thread of unblock is switched in the big core Run on CPU core.
Optionally, the processor 401, if being additionally operable to detect that the big core is closed, by the line of unblock Journey is switched in small nut on the CPU core started the latest and run, and the small nut refers to that maximum operating frequency is less than or equal to the threshold The CPU core of value.
Optionally, the processor 401, believe specifically for the unblock that user's input is obtained in the state of the operation Breath;If the unlocking information of user's input matches with the unlocking information prestored, right in the state of the operation The mobile terminal is unlocked.
The memory 404, for storing software program and module.The processor 401 is stored in institute by operation The software program and module of memory 404 are stated, so as to perform various function application and data processing, to improve unblock effect Rate.
It should be appreciated that in embodiments of the present invention, the processor 401 can be CPU (Central Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 402 can include Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and fingerprint Directional information), microphone, data receiver interface etc..Output equipment 403 can include display (LCD etc.), loudspeaker, data Transmission interface etc..
The memory 404 can include read-only storage and random access memory, and to processor 401 provide instruction and Data.The a part of of memory 404 can also include nonvolatile RAM.For example, memory 404 can also be deposited Store up the information of device type.
In the specific implementation, processor 401, input equipment 402, the and of output equipment 403 described in the embodiment of the present invention Memory 404 can perform the implementation described in the embodiment one and two of unlocking method provided in an embodiment of the present invention, Implementation described in mobile terminal described in executable embodiment three, will not be repeated here.
Fig. 5 is the schematic diagram for the mobile terminal that the embodiment of the present invention five provides.As shown in figure 5, the mobile end of the embodiment End 5 includes:Processor 50, memory 51 and it is stored in the meter that can be run in the memory 51 and on the processor 50 Calculation machine program 52.The processor 50 realizes the step in above-mentioned each unlocking method embodiment when performing the computer program 52 Suddenly, the step S101 to S103 such as shown in Fig. 1.Or the processor 50 is realized when performing the computer program 52 State the function of each module/unit in each mobile terminal embodiment, such as the function of module 31 to 35 shown in Fig. 3.
Exemplary, the computer program 52 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 51, and are performed by the processor 50, to complete the present invention.Described one Individual or multiple module/units can be the series of computation machine programmed instruction section that can complete specific function, and the instruction segment is used for Implementation procedure of the computer program 52 in the mobile terminal 5 is described.For example, the computer program 52 can be divided Check figure increase module, frequency error factor module, first thread handover module, the second thread handover module and recovery module are cut into, Each module concrete function is as follows:
Check figure increases module, for when mobile terminal is in screen lock state, if detecting the triggering information of unblock, inciting somebody to action The CPU core number of the mobile terminal work increases to predetermined number by current quantity, is included in the increased CPU core of institute at least one Big core, the big core refer to that maximum operating frequency is more than the CPU core of threshold value;
Frequency error factor module, for the working frequency of each CPU core in the CPU core of the predetermined number to be switched to Its highest frequency that can reach;
First thread handover module, for after the highest frequency is switched to, the thread of unblock to be switched into any institute State and run on big core, to be unlocked processing to the mobile terminal in the state of the operation.
Optionally, the first thread handover module is specifically used for:
The thread of unblock is switched in the big core to start and run on earliest CPU core.
Optionally, the mobile terminal also includes:
Second thread handover module, if for detecting that the big core is closed, the thread of unblock is switched Start into small nut and run on CPU core the latest, the small nut refers to that maximum operating frequency is less than or equal to the CPU of the threshold value Core.
Optionally, the first thread handover module includes:
Information acquisition unit, for obtaining the unlocking information of user's input in the state of the operation;
Unlocking unit, if the unlocking information for user input matches with the unlocking information prestored, The mobile terminal is unlocked in the state of the operation.
Optionally, the mobile terminal also includes:
Recovery module, after being unlocked processing to the mobile terminal in the state of the operation, by described in The working frequency of each CPU core in the CPU core of predetermined number recovers the frequency to switching.
The mobile terminal 5 can be that the calculating such as desktop PC, notebook, palm PC and cloud server are set It is standby.The mobile terminal may include, but be not limited only to, processor 50, memory 51.It will be understood by those skilled in the art that Fig. 5 The only example of mobile terminal 5, the restriction to mobile terminal 5 is not formed, can included than illustrating more or less portions Part, some parts or different parts are either combined, such as the mobile terminal can also include input-output equipment, net Network access device, bus etc..
Alleged processor 50 can be CPU (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
The memory 51 can be the internal storage unit of the mobile terminal 5, such as the hard disk of mobile terminal 5 or interior Deposit.The memory 51 can also be the External memory equipment of the mobile terminal 5, such as be equipped with the mobile terminal 5 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, dodge Deposit card (Flash Card) etc..Further, the memory 51 can also both include the storage inside list of the mobile terminal 5 Member also includes External memory equipment.The memory 51 is used to store needed for the computer program and the mobile terminal Other programs and data.The memory 51 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work( Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different Functional unit, module are completed, will the internal structure of the mobile terminal be divided into different functional units or module, to complete All or part of function described above.Each functional unit, module in embodiment can be integrated in a processing unit, Can also be that unit is individually physically present, can also two or more units it is integrated in a unit, above-mentioned collection Into unit can both have been realized in the form of hardware, can also be realized in the form of SFU software functional unit.In addition, each function Unit, the specific name of module are not limited to the protection domain of the application also only to facilitate mutually distinguish.Above-mentioned system Unit, the specific work process of module, may be referred to the corresponding process in preceding method embodiment, will not be repeated here in system.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in detail or remembers in some embodiment The part of load, it may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed mobile terminal and method, it can be passed through Its mode is realized.For example, mobile terminal embodiment described above is only schematical, for example, the module or list The division of member, only a kind of division of logic function can have an other dividing mode when actually realizing, for example, multiple units or Component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, show Show or the mutual coupling discussed or direct-coupling or communication connection can be by some interfaces, between device or unit Coupling or communication connection are connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated module/unit realized in the form of SFU software functional unit and as independent production marketing or In use, it can be stored in a computer read/write memory medium.Based on such understanding, the present invention realizes above-mentioned implementation All or part of flow in example method, by computer program the hardware of correlation can also be instructed to complete, described meter Calculation machine program can be stored in a computer-readable recording medium, and the computer program can be achieved when being executed by processor The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or some intermediate forms etc..The computer-readable medium It can include:Any entity or device, recording medium, USB flash disk, mobile hard disk, the magnetic of the computer program code can be carried Dish, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It is it should be noted that described The content that computer-readable medium includes can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice Subtract, such as in some jurisdictions, electric carrier signal and electricity are not included according to legislation and patent practice, computer-readable medium Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality Example is applied the present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme, all should Within protection scope of the present invention.

Claims (10)

1. a kind of unlocking method, it is characterised in that the unlocking method includes:
When mobile terminal is in screen lock state, if detecting the triggering information of unblock, the CPU that the mobile terminal is worked Check figure increases to predetermined number by current quantity, includes at least one big core in the increased CPU core of institute, the big core refers to highest Working frequency is more than the CPU core of threshold value;
The working frequency of each CPU core in the CPU core of the predetermined number is switched into its highest frequency that can reach;
After the highest frequency is switched to, the thread of unblock is switched on any big core and run, with the operation In the state of processing is unlocked to the mobile terminal.
2. unlocking method as claimed in claim 1, it is characterised in that described that the thread of unblock is switched into any big core Upper operation includes:
The thread of unblock is switched in the big core to start and run on earliest CPU core.
3. unlocking method as claimed in claim 1, it is characterised in that on the thread of unblock to be switched to any big core After operation, in addition to:
If detecting, the big core is closed, and the thread of unblock is switched in small nut on the CPU core started the latest Operation, the small nut refer to that maximum operating frequency is less than or equal to the CPU core of the threshold value.
4. unlocking method as claimed in claim 1, it is characterised in that described whole to the movement in the state of the operation End, which is unlocked processing, to be included:
The unlocking information of user's input is obtained in the state of the operation;
If the unlocking information of user's input matches with the unlocking information prestored, right in the state of the operation The mobile terminal is unlocked.
5. the unlocking method as described in any one of Claims 1-4, it is characterised in that to described in the state of the operation Mobile terminal is unlocked after processing, in addition to:
The working frequency of each CPU core in the CPU core of the predetermined number is recovered into the frequency to switching.
6. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
Check figure increases module, for when mobile terminal be in screen lock state, if detecting the triggering information of unblock, described in general The CPU core number of mobile terminal work increases to predetermined number by current quantity, is included in the increased CPU core of institute at least one big Core, the big core refer to that maximum operating frequency is more than the CPU core of threshold value;
Frequency error factor module, for the working frequency of each CPU core in the CPU core of the predetermined number to be switched into its institute The highest frequency that can reach;
First thread handover module, for after the highest frequency is switched to, the thread of unblock being switched to any described big Run on core, to be unlocked processing to the mobile terminal in the state of the operation.
7. mobile terminal as claimed in claim 6, it is characterised in that the first thread handover module is specifically used for:
The thread of unblock is switched in the big core to start and run on earliest CPU core;
The mobile terminal also includes:
Second thread handover module, if for detecting that the big core is closed, the thread of unblock is switched to small Start in core and run on CPU core the latest, the small nut refers to that maximum operating frequency is less than or equal to the CPU core of the threshold value;
The first thread handover module includes:
Information acquisition unit, for obtaining the unlocking information of user's input in the state of the operation;
Unlocking unit, if the unlocking information for user input matches with the unlocking information prestored, described The mobile terminal is unlocked in the state of operation.
8. mobile terminal as claimed in claim 6, it is characterised in that the mobile terminal also includes:
Recovery module, will be described default after being unlocked processing to the mobile terminal in the state of the operation The working frequency of each CPU core in the CPU core of quantity recovers the frequency to switching.
9. a kind of mobile terminal, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, it is characterised in that realize such as claim 1 to 5 described in the computing device during computer program The step of any one unlocking method.
10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, and its feature exists In being realized when the computer program is executed by processor as described in any one of claim 1 to 5 the step of unlocking method.
CN201710611794.9A 2017-07-25 2017-07-25 Unlocking method, mobile terminal and computer readable storage medium Expired - Fee Related CN107368255B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710611794.9A CN107368255B (en) 2017-07-25 2017-07-25 Unlocking method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710611794.9A CN107368255B (en) 2017-07-25 2017-07-25 Unlocking method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107368255A true CN107368255A (en) 2017-11-21
CN107368255B CN107368255B (en) 2019-04-12

Family

ID=60307693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710611794.9A Expired - Fee Related CN107368255B (en) 2017-07-25 2017-07-25 Unlocking method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107368255B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109669778A (en) * 2018-12-21 2019-04-23 北京奇虎科技有限公司 It is a kind of for determining the method and system of concurrent process quantity for running unit
CN111124947A (en) * 2018-10-31 2020-05-08 阿里巴巴集团控股有限公司 Data processing method and device
CN113076179A (en) * 2020-01-06 2021-07-06 深圳市万普拉斯科技有限公司 Electrochromic module control method and device, mobile terminal and readable storage medium
CN114690883A (en) * 2020-12-28 2022-07-01 Oppo广东移动通信有限公司 Wearable device control method and device, wearable device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110219211A1 (en) * 2010-03-05 2011-09-08 Asustek Computer Inc. Cpu core unlocking device applied to computer system
CN103631656A (en) * 2012-08-21 2014-03-12 联想(新加坡)私人有限公司 Task scheduling in big and little cores
CN103699207A (en) * 2013-12-27 2014-04-02 贝壳网际(北京)安全技术有限公司 Electronic equipment control method and device
CN104094235A (en) * 2012-01-23 2014-10-08 超威半导体公司 Multithreaded computing
CN105190550A (en) * 2013-03-15 2015-12-23 华为技术有限公司 Booting method for computer system with multiple central processing units
CN106055947A (en) * 2016-05-23 2016-10-26 广东欧珀移动通信有限公司 Method and apparatus for unlocking mobile terminal through fingerprint, and mobile terminal
CN106095544A (en) * 2016-05-31 2016-11-09 北京小米移动软件有限公司 Central processing unit control method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110219211A1 (en) * 2010-03-05 2011-09-08 Asustek Computer Inc. Cpu core unlocking device applied to computer system
CN104094235A (en) * 2012-01-23 2014-10-08 超威半导体公司 Multithreaded computing
CN103631656A (en) * 2012-08-21 2014-03-12 联想(新加坡)私人有限公司 Task scheduling in big and little cores
CN105190550A (en) * 2013-03-15 2015-12-23 华为技术有限公司 Booting method for computer system with multiple central processing units
CN103699207A (en) * 2013-12-27 2014-04-02 贝壳网际(北京)安全技术有限公司 Electronic equipment control method and device
CN106055947A (en) * 2016-05-23 2016-10-26 广东欧珀移动通信有限公司 Method and apparatus for unlocking mobile terminal through fingerprint, and mobile terminal
CN106095544A (en) * 2016-05-31 2016-11-09 北京小米移动软件有限公司 Central processing unit control method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124947A (en) * 2018-10-31 2020-05-08 阿里巴巴集团控股有限公司 Data processing method and device
CN111124947B (en) * 2018-10-31 2023-04-18 阿里巴巴集团控股有限公司 Data processing method and device
CN109669778A (en) * 2018-12-21 2019-04-23 北京奇虎科技有限公司 It is a kind of for determining the method and system of concurrent process quantity for running unit
CN109669778B (en) * 2018-12-21 2023-09-01 北京奇虎科技有限公司 Method and system for determining number of parallel processes for running unit
CN113076179A (en) * 2020-01-06 2021-07-06 深圳市万普拉斯科技有限公司 Electrochromic module control method and device, mobile terminal and readable storage medium
CN113076179B (en) * 2020-01-06 2023-03-31 深圳市万普拉斯科技有限公司 Electrochromic module control method and device, mobile terminal and readable storage medium
CN114690883A (en) * 2020-12-28 2022-07-01 Oppo广东移动通信有限公司 Wearable device control method and device, wearable device and storage medium

Also Published As

Publication number Publication date
CN107368255B (en) 2019-04-12

Similar Documents

Publication Publication Date Title
CN107368255B (en) Unlocking method, mobile terminal and computer readable storage medium
CN108229367A (en) A kind of face identification method and device
CN103189853A (en) Method and apparatus for providing efficient context classification
CN108038112A (en) Document handling method, mobile terminal and computer-readable recording medium
CN107451244A (en) File naming method, mobile terminal and computer-readable recording medium
CN106991179A (en) Data-erasure method, device and mobile terminal
CN109215037A (en) Destination image partition method, device and terminal device
CN107920162A (en) Control method, mobile terminal and the computer-readable recording medium of alarm clock
CN107484190A (en) Method for connecting network, mobile terminal and computer-readable recording medium
CN107656785A (en) Basic input output system sets interface display method and terminal device
CN110113496A (en) Screen display mode switching method, device and terminal device
CN107506494B (en) Document handling method, mobile terminal and computer readable storage medium
CN107479806A (en) The method and terminal of a kind of changing interface
CN108920704A (en) File access pattern method, file restoring device and mobile terminal
CN108509247A (en) A kind of extremely simple mode implementation method, system and terminal device
CN106407847B (en) A kind of unlocking method and device
CN107783932A (en) Information processing method, mobile terminal and the computer-readable recording medium of calculator
CN108520186A (en) Record screen method, mobile terminal and computer readable storage medium
CN109213662A (en) A kind of user's touch-control behavioral data collection method and terminal
CN107292614A (en) Pay class application management method, device and mobile terminal
CN107330058A (en) Application searches method, mobile terminal and computer-readable recording medium
CN107609119A (en) Document handling method, mobile terminal and computer-readable recording medium
CN107292142A (en) Business operation processing method, business operation processing unit and service terminal
CN109492249A (en) Rapid generation, device and the terminal device of design drawing
CN108304135A (en) A kind of method of adjustment and terminal of virtual modifier key

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
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190412

CF01 Termination of patent right due to non-payment of annual fee