CN107368255B - Unlocking method, mobile terminal and computer readable storage medium - Google Patents

Unlocking method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN107368255B
CN107368255B CN201710611794.9A CN201710611794A CN107368255B CN 107368255 B CN107368255 B CN 107368255B CN 201710611794 A CN201710611794 A CN 201710611794A CN 107368255 B CN107368255 B CN 107368255B
Authority
CN
China
Prior art keywords
mobile terminal
core
cpu core
unlock
state
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.)
Expired - Fee Related
Application number
CN201710611794.9A
Other languages
Chinese (zh)
Other versions
CN107368255A (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

The present invention is suitable for field of communication technology, provide unlocking method, mobile terminal and computer readable storage medium, the unlocking method includes: when mobile terminal is in screen lock state, if detecting the triggering information of unlock, the CPU core number that the mobile terminal works then is increased into preset quantity by current quantity, it include at least one big core in the increased CPU core of institute, the big core refers to that maximum operating frequency is greater than the CPU core of threshold value;The working frequency of each of CPU core by preset quantity CPU core switches to its attainable highest frequency of institute;After switching to the highest frequency, the thread of unlock is switched on any big core and is run, to be unlocked processing to the mobile terminal in the state of operation.The unlock speed of mobile terminal can be improved through the invention.

Description

Unlocking method, mobile terminal and computer readable storage medium
Technical field
The invention belongs to field of communication technology more particularly to unlocking methods, mobile terminal and computer readable storage medium.
Background technique
Currently, mobile terminal (such as smart phone, tablet computer etc.) all has the function of screen locking, when user is to shifting It needs to carry out unlocking screen to the mobile terminal when dynamic terminal is operated, to achieve the purpose that verify user identity, So as to effectively prevent other people to know the personal information in mobile terminal.However, the unlock of mobile terminal in the prior art Journey takes a long time, and unlock speed is slower.
Therefore, it is necessary to propose a kind of new technical solution, to solve the above technical problems.
Summary of the invention
In view of this, the embodiment of the invention provides unlocking method, mobile terminal and computer readable storage medium, to mention The unlock 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 unlock, the mobile terminal is worked CPU core number preset quantity 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 that maximum operating frequency is greater than the CPU core of threshold value;
The working frequency of each of CPU core by preset quantity CPU core switches to its attainable highest of institute Frequency;
After switching to the highest frequency, the thread of unlock is switched on any big core and is run, 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:
Nucleus number increases module, is used for when mobile terminal is in screen lock state, will if detecting the triggering information of unlock The CPU core number of the mobile terminal work increases to preset quantity by current quantity, includes at least one in the increased CPU core of institute Big core, the big core refer to that maximum operating frequency is greater than the CPU core of threshold value;
Frequency error factor module, for switching to the working frequency of each of the CPU core of preset quantity CPU core Its attainable highest frequency of institute;
First thread switching module, for after switching to the highest frequency, the thread of unlock to be switched to any institute It states and is run on big core, to be unlocked processing to the mobile terminal in the state of 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, when the processor executes the computer program It realizes 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 storage medium, the computer-readable storage Media storage has computer program, and the unlock 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 When screen lock state, if detecting the triggering information of unlock, the CPU core number that the mobile terminal works is increased by current quantity It include at least one big core in the increased CPU core of institute to preset quantity, and by each of the CPU core of the preset quantity The working frequency of CPU core switches to its attainable highest frequency of institute, after switching to the highest frequency, by the thread of unlock It switches on any big core and runs, to be unlocked processing to the mobile terminal in the state of operation.This hair Bright embodiment switches to its attainable most high frequency of institute by the working frequency of each CPU core in the CPU core by preset quantity Rate, and unlocking thread is switched on big core and is run, to improve unlock speed, the time-consuming of unlocking process is shortened, is improved Unlock efficiency.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached 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 of unlocking method provided by Embodiment 2 of the present invention;
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.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly 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 also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " instruction is described special Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step, Operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this description of the invention merely for the sake of description specific embodiment And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singular, "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 the appended claims is Refer to any combination and all possible combinations of one or more of associated item listed, 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 determination " 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, 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 computer in face (for example, touch-screen display and/or touch tablet) etc it is other Portable device.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 tablet).
In following discussion, the mobile terminal including display and touch sensitive surface is described.However, should manage Solution, mobile terminal may include that one or more of the other physical User of such as physical keyboard, mouse and/or control-rod connects Jaws equipment.
Mobile terminal supports various application programs, such as one of the following or multiple: drawing application program, demonstration application Program, word-processing application, website creation 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 to answer With program, digital music player application and/or video frequency player application program.
At least one of such as touch sensitive surface can be used in the various application programs that can be executed on mobile terminals 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.In this way, the public physics frame of mobile terminal Structure (for example, touch sensitive surface) can be supported various using journey with user interface intuitive and transparent for a user Sequence.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in the present embodiment, each process Execution sequence should be determined by its function and internal logic, and the implementation process of the embodiments of the invention shall not be constituted with any limitation.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
It is the implementation flow chart for the unlocking method that the embodiment of the present invention one provides referring to Fig. 1, which is applied to move Dynamic terminal, the unlocking method as shown in the figure may comprise steps of:
Step S101, when mobile terminal is in screen lock state, if the triggering information of unlock is detected, by the movement The CPU core number of terminal works increases to preset quantity by current quantity, includes at least one big core, institute in the increased CPU core of institute It states big core and refers to that maximum operating frequency is greater 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 unlock of curtain, then wake up all CPU cores of the mobile terminal, i.e., the CPU core mobile terminal to work Number increases to preset quantity by current quantity.Because when mobile terminal is in screen lock state, in usually only all CPU core numbers It is in the open state to start earliest CPU core, other CPU cores are in closed state.For example, the CPU of mobile terminal shares eight A core is usually opened above-mentioned eight core according to the sequence of CPU0, CPU1, CPU2, CPU3, CPU4, CPU5, CPU6, CPU7, is being moved When dynamic terminal is in standby, usually only CPU0 (i.e. the CPU core number of mobile terminal work is 1) in the open state is moved When dynamic terminal standby, the pass core strategy of the CPU of mobile terminal is closed always since CPU7 to CPU1.Wherein, described default Quantity refers to total nucleus number of the CPU of the mobile terminal.
Wherein, the triggering information of the unlock can be since user inputs the information that is triggered of unlocking information, such as The operation information for the user that the release region of mobile terminal detects.Illustratively, described when unlocking manner is unlocked by fingerprint It detects that the triggering information of unlock can be and detects that the finger of user is placed on finger print acquisition module;It is nine in unlocking manner When the lattice of palace, the triggering information for detecting unlock can be the character for detecting and clicking in nine spaces;It is to slide in unlocking manner When dynamic rail mark, the triggering information for detecting unlock, which can be, detects slide in track detection zone.
When the CPU of mobile terminal is multi-core CPU, which can be generally divided into big core and small nut.Big core is high property The core of energy works under higher voltage and frequency.Small nut is the core of low performance, is worked in lower voltage and frequency Under.When dividing big core and small nut, can usually be divided according to its attainable highest frequency of institute, the attainable highest of institute Frequency be greater than threshold value CPU core be big core, institute attainable highest frequency be less than or equal to threshold value CPU core be 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.It can Choosing, the threshold value can be set based on experience value, be not limited thereto.
Step S102, the working frequency of each of the CPU core of preset quantity CPU core, which is switched to it, to be reached The highest frequency arrived.
Illustratively, for eight core CPU (i.e. preset quantity is eight), by the work of each of eight CPU cores CPU core Frequency switches to its attainable highest frequency of institute respectively.Specifically, the working frequency of CPU0, which is switched to CPU0, to be reached Highest frequency, the working frequency of CPU1 is switched into the attainable highest frequencies of CPU1 institute, the working frequency of CPU2 is switched To the attainable highest frequencies of CPU2 institute, and so on, it is attainable most until the working frequency of CPU7 is switched to CPU7 institute High-frequency.Due in the triggering information for detecting unlock, the system that mobile terminal can be waken up, and just waking up mobile terminal When system, only CPU0 is being run, therefore the working frequency of CPU0 is improved to its attainable highest frequency of institute, can be accelerated The operation of CPU0 improves the speed of the system wake-up of mobile terminal.
The thread of unlock is switched on any big core and is run after switching to the highest frequency by step S103, To be unlocked processing to the mobile terminal in the state of operation.
In embodiments of the present invention, switch by the working frequency of each of the CPU core of preset quantity CPU core To its attainable highest frequency of institute, the thread of the unlock of the screen to mobile terminal is switched on any big core and is transported Row, so that mobile terminal is unlocked processing to the mobile terminal on the big core, i.e., it will be on big core to movement Terminal is unlocked processing, since the working frequency of big core is higher, process performance with higher, to improve to mobile whole The unlock speed at end.
Illustratively, by the working frequency of the CPU0 to CPU7 in eight CPU cores switch to respectively its institute it is attainable most After high-frequency, since CPU4, CPU5, CPU6 and CPU7 are big core, then the thread of unlock can be switched to aforementioned four big Any big core in core.
Optionally, after being run on the thread of unlock to be switched to any big core, further includes:
If detecting, the big core is in close state, and the thread of unlock is switched in small nut to the CPU started the latest It is 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 unlock to be switched to any big core, it is understood that there may be The less scene of resource needed for the thread of unlock, i.e. small nut can meet resource needed for the thread of unlock, mobile at this time whole End can close the big core, run so that the thread of unlock be 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 the open state, if the processing frequency is less than or equal to threshold value The CPU core started in CPU core the latest is in the open state, then switches in the multiple small nut the thread of unlock and start the latest CPU core on run;If the CPU core started in the multiple small nut the latest is in close state, will test the multiple small Start in core it is only whether in the open state earlier than the CPU core of CPU core the latest, if starting in the multiple small nut only earlier than most The CPU core of the CPU core in evening is in the open state, then switches in the multiple small nut the thread of unlock and start only earlier than the latest CPU core CPU core on run;Shape is closed if starting in the multiple small nut and being only in earlier than the CPU core of CPU core the latest State, then and so on, until having traversed the multiple small nut.
By taking eight core CPU as an example, if big core CPU4, CPU5, CPU6 and CPU7 are in closed state, detecting CPU3 is It is no in the open state, if CPU3 is in the open state, the thread of unlock is switched on CPU3 and is run;It is closed if CPU3 is in Whether in the open state closed state then detects CPU2, if CPU2 is in the open state, the thread of unlock is switched to CPU2 Upper operation;If CPU2 is in close state, whether in the open state CPU1 is detected, it, will if CPU1 is in the open state The thread of unlock is switched on CPU1 and is run;If CPU1 is in close state, the thread of unlock is switched on CPU0 and is run, Because CPU0 is usually in open state.
The embodiment of the present invention switches to its energy by the working frequency of each CPU core in the CPU core by preset quantity The highest frequency reached, and unlocking thread is switched on big core and is run, to improve unlock speed, shorten unlocking process Time-consuming, improve unlock efficiency.
It referring to fig. 2, is the implementation flow chart of unlocking method provided by Embodiment 2 of the present invention, which is applied to move Dynamic terminal, the unlocking method as shown in the figure may comprise steps of:
Step S201, when mobile terminal is in screen lock state, if the triggering information of unlock is detected, by the movement The CPU core number of terminal works increases to preset quantity by current quantity, includes at least one big core, institute in the increased CPU core of institute It states big core and refers to that maximum operating frequency is greater than the CPU core of threshold value.
The step is identical as step S101, and for details, reference can be made to the associated descriptions of step S101, and details are not described herein.
Step S202, the working frequency of each of the CPU core of preset quantity CPU core, which is switched to it, to be reached The highest frequency arrived.
The step is identical as step S102, and for details, reference can be made to the associated descriptions of step S102, and details are not described herein.
The thread of unlock is switched in the big core and is started earliest after switching to the highest frequency by step S203 CPU core on run, to be unlocked processing to the mobile terminal in the state of operation.
In embodiments of the present invention, switch by the working frequency of each of the CPU core of preset quantity CPU core To its attainable highest frequency of institute, the thread of the unlock of the screen to mobile terminal is switched in the big core and is started most It is run on early CPU core, so that mobile terminal not only can be unlocked place to the mobile terminal on the big core Reason can also reduce and start CPU core the latest in the big core to the switching for starting earliest CPU core, eliminate and switch frequent institute The unstable problem of the system of caused mobile terminal.By taking eight core CPU as an example, since the pass core strategy of the CPU of mobile terminal is It is closed to CPU1 always since CPU7, if being respectively increased the working frequency of eight CPU cores to its attainable most high frequency of institute After rate, the thread of unlock is directly switched into CPU4, so that it may reduce the switching between CPU7 to CPU4.
Optionally, described processing is unlocked to the mobile terminal in the state of 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 pre-stored unlocking information, 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 pre-stored unlocking information can be one or more, in the quantity of the pre-stored unlocking information When being multiple, if the unlocking information of user input and any one unlocking information phase in pre-stored multiple unlocking informations Matching, then be unlocked the mobile terminal.
It should be noted that the mobile terminal may also detect unlock when being in screen lock state and putting out screen state Triggering information (such as unlocked by fingerprint usually 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 pre-stored unlocking information matches, the mobile terminal is unlocked in the state of the operation, and controls institute State the bright screen of mobile terminal.
Optionally, after being unlocked processing to the mobile terminal in the state of operation, further includes:
The working frequency of each CPU core in the CPU core of the preset quantity is restored into the frequency to switching.
It in embodiments of the present invention, can be by the CPU core of the preset quantity after successfully being unlocked to the mobile terminal In the working frequency of each CPU core restore the frequency to switching, to reduce the utilization of the system resource of the mobile terminal.
The embodiment of the present invention further limits on the basis of example 1 " to be switched to the thread of unlock in the big core Start and run on earliest CPU core " so that mobile terminal can not only carry out the mobile terminal on the big core Unlock processing can also reduce and start CPU core the latest in the big core to the switching for starting earliest CPU core, eliminate switching The unstable problem of the system of mobile terminal caused by frequently.
It is that the schematic diagram for the mobile terminal that the embodiment of the present invention three provides illustrates only for ease of description referring to Fig. 3 Part related to the embodiment of the present invention.
The mobile terminal includes:
Nucleus number increases module 31, is used for when mobile terminal is in screen lock state, if detecting the triggering information of unlock, The CPU core number that the mobile terminal works is increased into preset quantity by current quantity, includes at least one in the increased CPU core of institute A big core, the big core refer to that maximum operating frequency is greater than the CPU core of threshold value;
Frequency error factor module 32, for switching the working frequency of each of the CPU core of preset quantity CPU core To its attainable highest frequency of institute;
First thread switching module 33, for the thread of unlock being switched to any after switching to the highest frequency It is run on the big core, to be unlocked processing to the mobile terminal in the state of operation.
Optionally, the first thread switching module 33 is specifically used for:
The thread of unlock is switched in the big core to start and is run on earliest CPU core.
Optionally, the mobile terminal further include:
Second thread switching module 34, if cutting the thread of unlock for detecting that the big core is in close state It shifts in small nut on the CPU core started the latest and runs, the small nut refers to that maximum operating frequency is less than or equal to the threshold value CPU core.
Optionally, the first thread switching 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 pre-stored unlocking information, The mobile terminal is unlocked in the state of the operation.
The mobile terminal further include:
Recovery module 35, after being unlocked processing to the mobile terminal in the state of operation, by institute The working frequency for stating each CPU core in the CPU core of preset quantity restores the frequency to switching.
Mobile terminal provided in an embodiment of the present invention can be used in aforementioned corresponding embodiment of the method one and embodiment two In, details are referring to the description of above-described embodiment one and embodiment two, and details are not described herein.
It referring to fig. 4, is the structural block diagram for the mobile terminal that the embodiment of the present invention four provides.The mobile terminal as shown in the figure It may include: one or more processors 401 (one is only shown 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 402, output equipment 403 and memory 404 are connected by bus 405.For storing instruction, processor 401 is used for memory 404 Execute the instruction that memory 404 stores.Wherein:
The processor 401 is used for when mobile terminal is in screen lock state, if detecting the triggering information of unlock, The CPU core number that the mobile terminal works is increased into preset quantity by current quantity, includes at least one in the increased CPU core of institute A big core, the big core refer to that maximum operating frequency is greater than the CPU core of threshold value;It will be each in the CPU core of the preset quantity The working frequency of a CPU core switches to its attainable highest frequency of institute;After switching to the highest frequency, by the line of unlock Journey is switched on any big core and is run, to be unlocked processing to the mobile terminal in the state of operation.
Optionally, the processor 401 starts earliest specifically for switching to the thread of unlock in the big core It is run on CPU core.
Optionally, the processor 401, if being also used to detect, the big core is in close state, by the line of unlock Journey is switched in small nut on the CPU core started the latest and is 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, the unlock specifically for obtaining user's input in the state of the operation are believed Breath;If the unlocking information of user's input matches with pre-stored unlocking information, 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, thereby executing various function application and data processing, to improve unlock effect Rate.
It should be appreciated that in embodiments of the present invention, the processor 401 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at Reason device is also possible to any conventional processor etc..
Input equipment 402 may include that Trackpad, fingerprint adopt sensor (for acquiring the finger print information and fingerprint of user Directional information), microphone, data receiver interface etc..Output equipment 403 may include display (LCD etc.), loudspeaker, data Transmission interface etc..
The memory 404 may include read-only memory 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 described in the embodiment of the present invention, input equipment 402,403 and of output equipment Implementation described in the embodiment one and two of unlocking method provided in an embodiment of the present invention can be performed in memory 404, Implementation described in mobile terminal described in executable embodiment three, details are not described herein.
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 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 executing the computer program 52 Such as step S101 to S103 shown in FIG. 1 suddenly,.Alternatively, the processor 50 is realized when executing 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.
Illustratively, 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 executed by the processor 50, to complete the present invention.Described one A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which 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 It is cut into nucleus number and increases module, frequency error factor module, first thread switching module, the second thread switching module and recovery module, Each module concrete function is as follows:
Nucleus number increases module, is used for when mobile terminal is in screen lock state, will if detecting the triggering information of unlock The CPU core number of the mobile terminal work increases to preset quantity by current quantity, includes at least one in the increased CPU core of institute Big core, the big core refer to that maximum operating frequency is greater than the CPU core of threshold value;
Frequency error factor module, for switching to the working frequency of each of the CPU core of preset quantity CPU core Its attainable highest frequency of institute;
First thread switching module, for after switching to the highest frequency, the thread of unlock to be switched to any institute It states and is run on big core, to be unlocked processing to the mobile terminal in the state of operation.
Optionally, the first thread switching module is specifically used for:
The thread of unlock is switched in the big core to start and is run on earliest CPU core.
Optionally, the mobile terminal further include:
Second thread switching module, if switching the thread of unlock for detecting that the big core is in close state 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 switching 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 pre-stored unlocking information, The mobile terminal is unlocked in the state of the operation.
Optionally, the mobile terminal further include:
Recovery module will be described after being unlocked processing to the mobile terminal in the state of operation The working frequency of each CPU core in the CPU core of preset quantity restores the frequency to switching.
The mobile terminal 5 can be the calculating such as desktop PC, notebook, palm PC and cloud server and 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 does not constitute the restriction to mobile terminal 5, may include than illustrating more or fewer portions Part perhaps combines certain components or different components, such as the mobile terminal can also include input-output equipment, net Network access device, bus etc..
Alleged processor 50 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 51 can be the internal storage unit of the mobile terminal 5, such as the hard disk or interior of mobile terminal 5 It deposits.The memory 51 is also possible to the External memory equipment of the mobile terminal 5, such as be equipped on 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 for storing 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 function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of the mobile terminal is divided into different functional unit or module, to complete All or part of function described above.Each functional unit in embodiment, module can integrate in one processing unit, It is also possible to each unit to physically exist alone, can also be integrated in one unit with two or more units, above-mentioned collection At unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function Unit, module specific name be also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above-mentioned system The specific work process of unit in system, module, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, 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 can pass through it Its mode is realized.For example, mobile terminal embodiment described above is only schematical, for example, the module or list Member division, only a kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or Component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point is shown The mutual coupling or direct-coupling or communication connection shown or discussed can be through some interfaces, between device or unit Coupling or communication connection are connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on 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 certain intermediate forms etc..The computer-readable medium It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (9)

1. a kind of unlocking method, which is characterized in that the unlocking method includes:
When mobile terminal is in screen lock state, if detecting the triggering information of unlock, the CPU that the mobile terminal is worked Nucleus number increases to preset quantity 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 greater than the CPU core of threshold value, and the triggering information of the unlock is to input the information that unlocking information is triggered, institute by user State total nucleus number that preset quantity is the mobile terminal;
The working frequency of each of CPU core by preset quantity CPU core switches to its attainable highest frequency of institute;
After switching to the highest frequency, the thread of unlock is switched on any big core and is run, in the operation In the state of processing is unlocked to the mobile terminal;
After being run on the thread of the unlock to be switched to any big core, if detecting that the big core is in closes shape The thread of unlock is then switched in small nut on the CPU core started the latest and is run by state, and the small nut refers to that maximum operating frequency is small In or equal to the threshold value CPU core.
2. unlocking method as described in claim 1, which is characterized in that described that the thread of unlock is switched to any big core Upper operation includes:
The thread of unlock is switched in the big core to start and is run on earliest CPU core.
3. unlocking method as described in claim 1, which is characterized in that described whole to the movement in the state of operation End is unlocked processing and includes:
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 pre-stored unlocking information, right in the state of the operation The mobile terminal is unlocked.
4. unlocking method as described in any one of claims 1 to 3, which is characterized in that described in the state of the operation Mobile terminal is unlocked after processing, further includes:
The working frequency of each CPU core in the CPU core of the preset quantity is restored into the frequency to switching.
5. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Nucleus number increases module, is used for when mobile terminal is in screen lock state, will be described if detecting the triggering information of unlock The CPU core number of mobile terminal work increases to preset quantity by current quantity, includes that at least one is big in the increased CPU core of institute Core, the big core refer to that maximum operating frequency is greater than the CPU core of threshold value, and the triggering information of the unlock is to be inputted to unlock by user The information that information is triggered, the preset quantity are total nucleus number of the mobile terminal;
Frequency error factor module, for the working frequency of each of the CPU core of preset quantity CPU core to be switched to its institute Attainable highest frequency;
First thread switching module, for the thread of unlock being switched to any described big after switching to the highest frequency It is run on core, to be unlocked processing to the mobile terminal in the state of operation;
Second thread switching module, if being switched to the thread of unlock small for detecting that the big core is in close state 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.
6. mobile terminal as claimed in claim 5, which is characterized in that the first thread switching module is specifically used for:
The thread of unlock is switched in the big core to start and is run on earliest CPU core;
The first thread switching 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 pre-stored unlocking information, described The mobile terminal is unlocked in the state of operation.
7. mobile terminal as claimed in claim 5, which is characterized in that the mobile terminal further include:
Recovery module will be described default after being unlocked processing to the mobile terminal in the state of operation The working frequency of each CPU core in the CPU core of quantity restores the frequency to switching.
8. a kind of mobile terminal, including memory, processor and storage are in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as Claims 1-4 when executing the computer program The step of any one unlocking method.
9. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In realization is as described in any one of Claims 1-4 the step of unlocking method when the computer program is executed by processor.
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 CN107368255A (en) 2017-11-21
CN107368255B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124947B (en) * 2018-10-31 2023-04-18 阿里巴巴集团控股有限公司 Data processing method and device
CN109669778B (en) * 2018-12-21 2023-09-01 北京奇虎科技有限公司 Method and system for determining number of parallel processes for running unit
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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI425359B (en) * 2010-03-05 2014-02-01 Asustek Comp Inc Cpu core unlocking control apparatus applied to computer system
US10235220B2 (en) * 2012-01-23 2019-03-19 Advanced Micro Devices, Inc. Multithreaded computing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN107368255A (en) 2017-11-21

Similar Documents

Publication Publication Date Title
CN107368255B (en) Unlocking method, mobile terminal and computer readable storage medium
CN105740690B (en) A kind of unlocking method and mobile terminal
CN106293914B (en) A kind of method and terminal of task schedule
CN108229367A (en) A kind of face identification method and device
CN107193598A (en) One kind application startup method, mobile terminal and computer-readable recording medium
CN109215037A (en) Destination image partition method, device and terminal device
CN103189853A (en) Method and apparatus for providing efficient context classification
CN110113496A (en) Screen display mode switching method, device and terminal device
CN107506494B (en) Document handling method, mobile terminal and computer readable storage medium
CN110410353A (en) Control method for fan, device and terminal device
CN107920162A (en) Control method, mobile terminal and the computer-readable recording medium of alarm clock
CN109358927A (en) The method, apparatus and terminal device that application program is shown
CN109848052A (en) A kind of method and terminal device of goods sorting
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
CN108986809A (en) A kind of portable device and its awakening method and device
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
CN111857997A (en) Application program body-separating identification display method, device, equipment and medium
CN115328621B (en) Transaction processing method, device, equipment and storage medium based on block chain
CN107292142A (en) Business operation processing method, business operation processing unit and service terminal
US20140145992A1 (en) Information Input Method and Touchscreen Terminal
CN107609119A (en) Document handling method, mobile terminal and computer-readable recording medium
CN106933576A (en) A kind of terminal unlock method, device and computer equipment
CN106682488A (en) Unlocking method and mobile terminal

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
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.

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

Granted publication date: 20190412