CN105117138B - Method and device for shielding screen locking of operating system and mobile terminal - Google Patents
Method and device for shielding screen locking of operating system and mobile terminal Download PDFInfo
- Publication number
- CN105117138B CN105117138B CN201510629566.5A CN201510629566A CN105117138B CN 105117138 B CN105117138 B CN 105117138B CN 201510629566 A CN201510629566 A CN 201510629566A CN 105117138 B CN105117138 B CN 105117138B
- Authority
- CN
- China
- Prior art keywords
- screen locking
- operating system
- application program
- unlocking pin
- screen
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 230000000873 masking effect Effects 0.000 claims description 20
- 230000008859 change Effects 0.000 claims description 5
- 230000006870 function Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 9
- 238000009434 installation Methods 0.000 description 8
- 230000006399 behavior Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000004883 computer application Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
Landscapes
- Stored Programmes (AREA)
- Telephone Function (AREA)
Abstract
The invention provides a method and a device for shielding a screen lock of an operating system and a mobile terminal, wherein the method for shielding the screen lock of the operating system comprises the following steps: when a screen locking application program is installed, acquiring configuration information of an operating system, wherein the configuration information comprises whether the operating system sets an unlocking password or not; if the unlocking password is set, closing the unlocking password through the screen locking application program; and if the unlocking password is not set, configuring the window attribute of the operating system through the screen locking application program, so that the operating system automatically unlocks the screen of the operating system according to the unlocking instruction after receiving the unlocking instruction of the screen locking interface generated by the screen locking application program. According to the method, after the screen locking application program is installed, the system desktop can be accessed through one-time unlocking, and the user operation is simplified.
Description
Technical field
The present invention relates to computer application technology more particularly to a kind of method, apparatus of masking operation system screen locking
And mobile terminal.
Background technology
In Android (android) operating system, primary interface often seem be not it is especially beautiful, user in order to
The experience of more rich vision and function is obtained, the application program of some interface optimization types often can be all installed.For example, screen locking
Application program etc..Since operating system itself has been configured with screen locking function and corresponding locking screen interface, when user installation screen locking
After application program, it may appear that need to carry out the case where unlock could enter system desktop twice.It is cumbersome that this can increase user's operation
Degree.
Invention content
The present invention provides a kind of method, device and mobile terminal of masking operation system screen locking, can solve user's needs
The problem of unlock could enter system desktop twice.
In order to achieve the above objectives, first aspect present invention embodiment proposes a kind of method of masking operation system screen locking,
Including:When installing screen locking application program, the configuration information of operating system is obtained, includes operation system in the configuration information
Whether system is arranged unlocking pin;If being provided with unlocking pin, pass through unlocking pin described in the screen locking closing application program;
If being not provided with unlocking pin, the window attribute of the operating system is configured by the screen locking application program,
So that after operating system receives the unlock instruction of the locking screen interface generated to screen locking application program, according to the unlock instruction from
The screen locking of dynamic unlock operating system.
Optionally, described by unlocking pin described in the screen locking closing application program, including:Pass through the screen locking application
First application programming interface API, the first API of operating system described in routine call is used for the solution of shutoff operation system
Lock cipher.
Optionally, described by unlocking pin described in the screen locking closing application program, further include:If described in calling
After first API, it is not turned off the unlocking pin of operating system, then shows guiding interface to user, and user is guided to be turned off manually
The unlocking pin of operating system.
Optionally, described that the window attribute of the operating system is configured by the screen locking application program, including:
By the 2nd API of the screen locking application call operating system, the 2nd API is used to change the window category of operating system
Property so that operating system automatic unlocking operation system after the unlock instruction for receiving the locking screen interface generated to screen locking application program
The screen locking of system.
Optionally, further include:Screen locking is carried out to mobile terminal using the screen locking application program;It needs to unlock in user
When, show the locking screen interface that screen locking application program generates to user, and receive user's operation and be unlocked to the locking screen interface;
After being unlocked to the locking screen interface, the desktop of display operation system.
In order to achieve the above objectives, second aspect of the present invention embodiment proposes a kind of device of masking operation system screen locking,
Including:Acquisition module obtains the configuration information of operating system for when installing screen locking application program, in the configuration information
Including whether the operating system is arranged unlocking pin;If first shroud module passes through institute for being provided with unlocking pin
State unlocking pin described in screen locking closing application program;If secondary shielding module passes through institute for being not provided with unlocking pin
It states screen locking application program to configure the window attribute of the operating system so that operating system is received to screen locking application journey
After the unlock instruction for the locking screen interface that sequence generates, according to the screen locking of the unlock instruction automatic unlocking operating system.
Optionally, first shroud module includes:First unit, for by described in the screen locking application call
First application programming interface API, the first API of operating system is used for the unlocking pin of shutoff operation system.
Optionally, first shroud module further includes:Second unit does not have if for after calling the first API
There is the unlocking pin of shutoff operation system, then shows guiding interface to user, and guide the solution of user's manual close operation system
Lock cipher.
Optionally, the secondary shielding module is specifically used for:Pass through the of the screen locking application call operating system
Two API, the 2nd API are used to change the window attribute of operating system so that operating system is being received to screen locking application journey
The screen locking of automatic unlocking operating system after the unlock instruction for the locking screen interface that sequence generates.
Optionally, further include:Screen lock module, for carrying out screen locking to mobile terminal using the screen locking application program;Solution
Lock module for when user needs unlock, the locking screen interface that screen locking application program generates to be shown to user, and receives user behaviour
The locking screen interface of opposing is unlocked;Display module, for after being unlocked to the locking screen interface, display operation system
Desktop.
In order to achieve the above objectives, third aspect present invention embodiment proposes a kind of mobile terminal, including:Shell, processing
Device, memory, circuit board and power circuit, wherein circuit board is placed in the space interior that shell surrounds, processor and memory
Setting is on circuit boards;Power circuit, for being each circuit or the device power supply of mobile terminal;Memory is for storing and can hold
Line program code;Processor is run and executable program code pair by reading the executable program code stored in memory
The program answered, for executing following steps:When installing screen locking application program, the configuration information of operating system is obtained, it is described
Whether unlocking pin is set comprising the operating system in configuration information;If being provided with unlocking pin, pass through the screen locking
Unlocking pin described in closing application program;If being not provided with unlocking pin, by the screen locking application program to the behaviour
The window attribute for making system is configured so that operating system receives the unlock of the locking screen interface generated to screen locking application program
After instruction, according to the screen locking of the unlock instruction automatic unlocking operating system.
The method, device and mobile terminal of the masking operation system screen locking proposed in the above embodiment of the present invention, pass through
The unlocking pin of shutoff operation system configures the window attribute of operating system, realizes the lock of masking operation system
Screen is artificially unlocked the screen locking of operating system to not need user in unlock, after screen locking application program is installed, one
Secondary unlock can enter system desktop, simplify user's operation.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description
Obviously, or practice through the invention is recognized.
Description of the drawings
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, wherein:
Fig. 1 is the flow diagram of the method for the masking operation system screen locking that one embodiment of the invention proposes;
Fig. 2 is the flow diagram of the method for the masking operation system screen locking that another embodiment of the present invention proposes;
Fig. 3 is the structural schematic diagram of the device for the masking operation system screen locking that another embodiment of the present invention proposes;
Fig. 4 is the structural schematic diagram of the device for the masking operation system screen locking that another embodiment of the present invention proposes;
Fig. 5 is the structural schematic diagram for the mobile terminal that another embodiment of the present invention proposes.
Specific implementation mode
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar module or module with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, and is only used for explaining the present invention, and is not considered as limiting the invention.On the contrary, this
The embodiment of invention includes all changes fallen within the scope of the spiritual and intension of attached claims, modification and is equal
Object.
Fig. 1 is the flow diagram of the method for the masking operation system screen locking that one embodiment of the invention proposes, this method packet
It includes:
S11:When installing screen locking application program, the configuration information of operating system is obtained, includes institute in the configuration information
State whether operating system is arranged unlocking pin.
Operating system screen locking can be divided into:Unlocking pin is set, alternatively, unlocking pin is not arranged.Whether operating system sets
Having set unlocking pin can be recorded in the configuration information of operating system.
For example, the screen locking application program of installation is known as Locker, user can download and be mounted on the application program
On the mobile phone of android operating systems.When Locker is mounted, Locker can obtain the configuration information of operating system, and
Determine whether operating system is provided with unlocking pin according to the information of the unlocking pin wherein recorded.
S12:If being provided with unlocking pin, pass through unlocking pin described in the screen locking closing application program.
When operating system is provided with unlocking pin, needs to close unlocking pin, to when user is unlocked, not need
The screen locking of operating system is unlocked.
For example, Locker judges that operating system is provided with unlocking pin, then it can be with the first application of call operation system
Program Interfaces (Application Programming Interface, API), the first API are used for shutoff operation system
Unlocking pin, therefore, after Locker calls an API, the first API can execute its function, i.e. shutoff operation system
Unlocking pin, to realize the closing to the unlocking pin of operating system.First API can be specifically referred to
disableKeyguard。
Wherein, disableKeyguard is a kind of existing API in android operating systems, its effect is exactly to close
The included screen locking service of system is shut off unlocking pin when unlocking pin is arranged in system.Therefore, work as disableKeyguard
After being called by screen locking application program (Lock), disableKeyguard carries out the effect of oneself, i.e., in setting unlocking pin
When, unlocking pin is closed, to realize the closing of unlocking pin.
But due to the execution of API it is possible that mistake, for example, behaviour may also can not be closed after calling the first API
Make the unlocking pin of system, then, can be with the unlocking pin of shutoff operation system if after Locker calls the first API, then it can be with
Terminate the closing flow path of unlocking pin, on the other hand, if after Locker calls the first API, the unlock for being unable to shutoff operation is close
Code then can show guiding interface from Locker to user, and guide the unlocking pin of user's manual close operation system, example
Such as, " unlocking pin for asking manual close operation system " is shown on guiding interface, later, user can be with manual close operation system
The unlocking pin of system realizes the closing of the unlocking pin of operating system.
Wherein, Locker call the first API and display guiding interface after, can active search operation system configuration
Information, to judge whether the unlocking pin of operating system is closed, alternatively, unlocking pin can also be closed in operating system
The pent instruction of unlocking pin is sent to Locker afterwards, so that Locker knows that the unlocking pin of operating system is closed.
S13:If being not provided with unlocking pin, by the screen locking application program to the window category of the operating system
Property is modified so that after operating system receives the unlock instruction of the locking screen interface generated to screen locking application program, according to institute
State the screen locking of unlock instruction automatic unlocking operating system.
For example, Locker judges that operating system is not provided with unlocking pin, then it can be with the second of call operation system
API, the 2nd API are used to change the window attribute of operating system so that operating system solves automatically after receiving unlock instruction
Lock the screen locking of operating system.One section of code can specifically be increased in window attribute, which shows that operating system receives
After unlock instruction, the action of execution is unlocked to the screen locking of operating system.
In the present embodiment, the unlocking pin by shutoff operation system or the window attribute to operating system are matched
It sets, realizes the screen locking of masking operation system, artificially the screen locking of operating system is unlocked to not need user in unlock,
After installing screen locking application program, primary unlock can enter system desktop, simplify user's operation.
Fig. 2 is the flow diagram of the method for the masking operation system screen locking that another embodiment of the present invention proposes, this method
Including:
S201:When installing screen locking application program, the configuration information of operating system is obtained, includes institute in the configuration information
State whether operating system is arranged unlocking pin.
Operating system screen locking can be divided into:Unlocking pin is set, alternatively, unlocking pin is not arranged.Whether operating system sets
Having set unlocking pin can be recorded in the configuration information of operating system.
For example, the screen locking application program of installation is known as Locker, user can download and be mounted on the application program
On the mobile phone of android operating systems.When Locker is mounted, Locker can obtain the configuration information of operating system, and
Determine whether operating system is provided with unlocking pin according to the information of the unlocking pin wherein recorded.
S202:Judge whether operating system is provided with unlocking pin according to configuration information, is otherwise held if so, executing S203
Row S206.
Locker may determine that whether operating system is provided with unlocking pin by detecting the configuration information of operating system.
S203:By the first API of operating system described in screen locking application call, the first API is grasped for closing
Make the unlocking pin of system.
First API can specifically refer to disableKeyguard.
For example, after Locker judges that operating system is provided with unlocking pin, then disableKeyguard can be called,
The function of itself, the i.e. unlocking pin of shutoff operation system can be executed after being called due to disableKeyguard, therefore,
Locker can pass through the unlocking pin of calling disableKeyguard shutoff operation systems.
S204:Judge whether to close unlocking pin, if so, executing S207, otherwise, executes S205.
But due to the execution of API it is possible that mistake, for example, behaviour may also can not be closed after calling the first API
Make the unlocking pin of system, then can according to call the first API after whether shutoff operation system unlocking pin carry out corresponding position
Reason.
S205:Guiding interface is shown to user, and guides the unlocking pin of user's manual close operation system.It executes later
S207。
For example, when Locker is by calling disableKeyguard to be not turned off the unlocking pin of operating system, Locker
Guiding interface is shown to user, for example " unlocking pin for asking manual close operation system " is shown on guiding interface, later, is used
Family can realize the closing of the unlocking pin of operating system with the unlocking pin of manual close operation system.
Wherein, Locker call the first API and display guiding interface after, can active search operation system configuration
Information, to judge whether the unlocking pin of operating system is closed, alternatively, unlocking pin can also be closed in operating system
The pent instruction of unlocking pin is sent to Locker afterwards, so that Locker knows that the unlocking pin of operating system is closed.
S206:By the 2nd API of the screen locking application call operating system, the 2nd API is grasped for changing
Make the window attribute of system so that operating system is after the unlock instruction for receiving the locking screen interface generated to screen locking application program
The screen locking of automatic unlocking operating system.
For example, Locker judges that operating system is not provided with unlocking pin, then it can be with the second of call operation system
API, the 2nd API are used to change the window attribute of operating system so that operating system solves automatically after receiving unlock instruction
Lock the screen locking of operating system.One section of code can specifically be increased in window attribute, which shows that operating system receives
After unlock instruction, the action of execution is unlocked to the screen locking of operating system.
S207:Other installation procedures for continuing screen locking application program, on mobile terminals by the installation of screen locking application program.
Later in screen locking and unlock, this method can also include:
S208:Screen locking is carried out to mobile terminal using screen locking application program.
For example, user is more than predetermined threshold value to the time that mobile terminal does not operate, alternatively, user clicks mobile terminal
When the button that shuts down triggers screen locking, screen locking application program carries out screen locking operation to mobile terminal.
S209:When user needs unlock, the locking screen interface that screen locking application program generates is shown to user, and receive user
Operation is unlocked the locking screen interface.
For example, user is when needing unlock, the homepage button etc. that can first click mobile terminal lights the screen of mobile terminal
Curtain shows the locking screen interface that screen locking application program generates on the screen lighted to user, and later, user can be on the surface
It is unlocked by the forms such as slide or input password.
S210:After being unlocked to the locking screen interface, the desktop of display operation system.
Due to when installing screen locking application program, just shielding the screen locking of operating system, so, in unlock, do not need
User is artificially again unlocked the screen locking of operating system, to realize that primary unlock can enter desktop.
It, can be in installation screen locking by the screen locking of the masking operation system when screen locking application program is installed in the present embodiment
After application program, it is only necessary to be unlocked to the locking screen interface of screen locking application, without again to the locking screen interface of operating system
It is unlocked, simplifies user's operation, promote user experience.
Fig. 3 is the structural schematic diagram of the device for the masking operation system screen locking that another embodiment of the present invention proposes, the device
30 include:Acquisition module 31, the first shroud module 32 and secondary shielding module 33.
Acquisition module 31, it is described to match confidence for when installing screen locking application program, obtaining the configuration information of operating system
Whether unlocking pin is set comprising the operating system in breath;
First shroud module 32, if for being provided with unlocking pin, described in the screen locking closing application program
Unlocking pin;
Secondary shielding module 33, if for being not provided with unlocking pin, by the screen locking application program to described
The window attribute of operating system is configured so that operating system receives the solution of the locking screen interface generated to screen locking application program
After lock instruction, according to the screen locking of the unlock instruction automatic unlocking operating system.
Further, shown in Figure 4, the first shroud module 32 may include:First unit 321, for by described
First API of operating system described in screen locking application call, the first API are used for the unlocking pin of shutoff operation system.
Further, shown in Figure 4, the first shroud module 32 can also include:Second unit 322, if be used for
After calling the first API, it is not turned off the unlocking pin of operating system, then shows guiding interface to user, and guide user
The unlocking pin of manual close operation system.
Wherein, the secondary shielding module 33 is specifically used for:
By the 2nd API of the screen locking application call operating system, the 2nd API is for changing operating system
Window attribute so that operating system solves automatically after the unlock instruction for receiving the locking screen interface generated to screen locking application program
Lock the screen locking of operating system.
Further, shown in Figure 4, which can also include:
Screen lock module 34, for carrying out screen locking to mobile terminal using the screen locking application program;
Unlocked state 35, for when user needs unlock, the locking screen interface that screen locking application program generates to be shown to user,
And it receives user's operation and the locking screen interface is unlocked;
Display module 36, for after being unlocked to the locking screen interface, the desktop of display operation system.
The concrete function of above-mentioned module may refer to the associated description in embodiment of the method, and details are not described herein.
It, can be in installation screen locking by the screen locking of the masking operation system when screen locking application program is installed in the present embodiment
After application program, it is only necessary to be unlocked to the locking screen interface of screen locking application, without again to the locking screen interface of operating system
It is unlocked, simplifies user's operation, promote user experience.
Fig. 5 is the structural schematic diagram for the mobile terminal that another embodiment of the present invention proposes, which includes shell
51, processor 52, memory 53, circuit board 54 and power circuit 55, wherein circuit board 54 is placed in the space that shell 51 surrounds
Inside, processor 52 and memory 53 are arranged on circuit board 54;Power circuit 55, for for mobile terminal each circuit or
Device is powered;Memory 53 is for storing executable program code;Processor 52 is held by what is stored in reading memory 53
Line program code runs program corresponding with executable program code, for executing following steps:
When installing screen locking application program, processor 52 obtains the configuration information of operating system, is wrapped in the configuration information
Whether unlocking pin is set containing the operating system;
If being provided with unlocking pin, processor 52 passes through unlocking pin described in the screen locking closing application program;
If being not provided with unlocking pin, processor 52 is by the screen locking application program to the window of the operating system
Mouth attribute is configured so that after operating system receives the unlock instruction of the locking screen interface generated to screen locking application program, place
Manage screen locking of the device 52 according to the unlock instruction automatic unlocking operating system.
It, can be in installation screen locking by the screen locking of the masking operation system when screen locking application program is installed in the present embodiment
After application program, it is only necessary to be unlocked to the locking screen interface of screen locking application, without again to the locking screen interface of operating system
It is unlocked, simplifies user's operation, promote user experience.
It should be noted that in the description of the present invention, term " first ", " second " etc. are used for description purposes only, without
It can be interpreted as indicating or implying relative importance.In addition, in the description of the present invention, unless otherwise indicated, the meaning of " multiple "
Refer at least two.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable
Sequence, include according to involved function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the present invention can be realized with hardware, software, firmware or combination thereof.Above-mentioned
In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be executed with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries
Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium
In matter, which includes the steps that one or a combination set of embodiment of the method when being executed.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, it can also
That each unit physically exists alone, can also two or more units be integrated in a module.Above-mentioned integrated mould
The form that hardware had both may be used in block is realized, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized in the form of software function module and when sold or used as an independent product, can also be stored in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiments or example in can be combined in any suitable manner.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example
Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, changes, replacing and modification.
Claims (10)
1. a kind of method of masking operation system screen locking, which is characterized in that including:
When installing screen locking application program, the configuration information of operating system is obtained, includes operation system in the configuration information
Whether system is arranged unlocking pin;
If being provided with unlocking pin, pass through unlocking pin described in the screen locking closing application program;Wherein, the screen locking is answered
With program by the configuration information of active search operation system, judge whether the unlocking pin of operating system is closed, alternatively,
Operating system is closed after unlocking pin and sends the pent instruction of unlocking pin to the screen locking application program, so that described
Screen locking application program knows that the unlocking pin of operating system is closed;
If being not provided with unlocking pin, the window attribute of the operating system is matched by the screen locking application program
It sets so that after operating system receives the unlock instruction of the locking screen interface generated to screen locking application program, referred to according to the unlock
Enable the screen locking of automatic unlocking operating system.
2. according to the method described in claim 1, it is characterized in that, described by being unlocked described in the screen locking closing application program
Password, including:
Pass through the first application programming interface API, the first API of operating system described in the screen locking application call
Unlocking pin for shutoff operation system.
3. according to the method described in claim 2, it is characterized in that, described by being unlocked described in the screen locking closing application program
Password further includes:
If after calling the first API, it is not turned off the unlocking pin of operating system, then shows guiding interface to user,
And guide the unlocking pin of user's manual close operation system.
4. according to the method described in claim 1, it is characterized in that, described be to the operation by the screen locking application program
The window attribute of system is configured, including:
By the 2nd API of the screen locking application call operating system, the 2nd API is used to change the window of operating system
Mouth attribute so that operating system automatic unlocking after the unlock instruction for receiving the locking screen interface generated to screen locking application program is grasped
Make the screen locking of system.
5. according to claim 1-4 any one of them methods, which is characterized in that further include:
Screen locking is carried out to mobile terminal using the screen locking application program;
When user needs unlock, the locking screen interface that screen locking application program generates is shown to user, and receive user's operation to institute
Locking screen interface is stated to be unlocked;
After being unlocked to the locking screen interface, the desktop of display operation system.
6. a kind of device of masking operation system screen locking, which is characterized in that including:
Acquisition module, for when installing screen locking application program, obtaining the configuration information of operating system, being wrapped in the configuration information
Whether unlocking pin is set containing the operating system;
First shroud module, if for being provided with unlocking pin, it is close by being unlocked described in the screen locking closing application program
Code;Wherein, the screen locking application program judges the unlocking pin of operating system by the configuration information of active search operation system
Whether it is closed, is closed alternatively, sending unlocking pin to the screen locking application program after operating system is closed unlocking pin
The instruction closed, so that the screen locking application program knows that the unlocking pin of operating system is closed;
If secondary shielding module is to the operation by the screen locking application program for being not provided with unlocking pin
The window attribute of system is configured so that operating system receives the unlock instruction of the locking screen interface generated to screen locking application program
Afterwards, according to the screen locking of the unlock instruction automatic unlocking operating system.
7. device according to claim 6, which is characterized in that first shroud module includes:
First unit, for the first application programming interface by operating system described in the screen locking application call
API, the first API are used for the unlocking pin of shutoff operation system.
8. device according to claim 7, which is characterized in that first shroud module further includes:
Second unit is not turned off the unlocking pin of operating system, then to user if for after calling the first API
Display guiding interface, and guide the unlocking pin of user's manual close operation system.
9. according to claim 6-8 any one of them devices, which is characterized in that further include:
Screen lock module, for carrying out screen locking to mobile terminal using the screen locking application program;
Unlocked state, for when user needs unlock, showing the locking screen interface that screen locking application program generates to user, and receive
User's operation is unlocked the locking screen interface;
Display module, for after being unlocked to the locking screen interface, the desktop of display operation system.
10. a kind of mobile terminal, which is characterized in that including:Shell, processor, memory, circuit board and power circuit, wherein
Circuit board is placed in the space interior that shell surrounds, and processor and memory setting are on circuit boards;Power circuit, for being to move
Each circuit of dynamic terminal or device power supply;Memory is for storing executable program code;Processor is by reading memory
The executable program code of middle storage runs program corresponding with executable program code, for executing following steps:
When installing screen locking application program, the configuration information of operating system is obtained, includes operation system in the configuration information
Whether system is arranged unlocking pin;
If being provided with unlocking pin, pass through unlocking pin described in the screen locking closing application program;Wherein, the screen locking is answered
With program by the configuration information of active search operation system, judge whether the unlocking pin of operating system is closed, alternatively,
Operating system is closed after unlocking pin and sends the pent instruction of unlocking pin to the screen locking application program, so that described
Screen locking application program knows that the unlocking pin of operating system is closed;
If being not provided with unlocking pin, the window attribute of the operating system is matched by the screen locking application program
It sets so that after operating system receives the unlock instruction of the locking screen interface generated to screen locking application program, referred to according to the unlock
Enable the screen locking of automatic unlocking operating system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510629566.5A CN105117138B (en) | 2015-09-28 | 2015-09-28 | Method and device for shielding screen locking of operating system and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510629566.5A CN105117138B (en) | 2015-09-28 | 2015-09-28 | Method and device for shielding screen locking of operating system and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105117138A CN105117138A (en) | 2015-12-02 |
CN105117138B true CN105117138B (en) | 2018-09-11 |
Family
ID=54665145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510629566.5A Expired - Fee Related CN105117138B (en) | 2015-09-28 | 2015-09-28 | Method and device for shielding screen locking of operating system and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105117138B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105718786A (en) * | 2016-01-18 | 2016-06-29 | 成都中科创达软件有限公司 | System lock screen protection method and system |
CN106203028B (en) * | 2016-06-28 | 2019-08-06 | 北京金山安全软件有限公司 | Method and device for setting screen locking password and electronic equipment |
CN106383637A (en) * | 2016-11-02 | 2017-02-08 | 青岛海信移动通信技术股份有限公司 | Screen locking method and device, and terminal equipment |
CN108073266B (en) * | 2017-12-15 | 2020-12-04 | 麒麟合盛网络技术股份有限公司 | Screen locking method and device of mobile terminal |
CN110908740A (en) * | 2018-09-18 | 2020-03-24 | 珠海格力电器股份有限公司 | Android system-based intelligent terminal unlocking method and device and intelligent terminal |
CN109819114B (en) * | 2019-02-20 | 2021-11-30 | 北京市商汤科技开发有限公司 | Screen locking processing method and device, electronic equipment and storage medium |
CN113761511B (en) * | 2020-11-17 | 2025-02-21 | 北京沃东天骏信息技术有限公司 | A lock screen management method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102004606A (en) * | 2010-10-29 | 2011-04-06 | 北京播思软件技术有限公司 | Screen locking method and device for handheld terminal |
CN103530178A (en) * | 2013-09-24 | 2014-01-22 | 广东欧珀移动通信有限公司 | Screen locking method and device of Android system intelligent device |
CN103744731A (en) * | 2014-02-14 | 2014-04-23 | 贝壳网际(北京)安全技术有限公司 | Screen locking interface shielding method and device |
CN103744732A (en) * | 2014-02-14 | 2014-04-23 | 贝壳网际(北京)安全技术有限公司 | Method and device for skipping system screen locking |
CN103744685A (en) * | 2014-02-14 | 2014-04-23 | 贝壳网际(北京)安全技术有限公司 | Screen locking position seizing method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101560448B1 (en) * | 2013-07-24 | 2015-10-16 | 한국과학기술원 | Method for invoking application in Screen Lock environment |
-
2015
- 2015-09-28 CN CN201510629566.5A patent/CN105117138B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102004606A (en) * | 2010-10-29 | 2011-04-06 | 北京播思软件技术有限公司 | Screen locking method and device for handheld terminal |
CN103530178A (en) * | 2013-09-24 | 2014-01-22 | 广东欧珀移动通信有限公司 | Screen locking method and device of Android system intelligent device |
CN103744731A (en) * | 2014-02-14 | 2014-04-23 | 贝壳网际(北京)安全技术有限公司 | Screen locking interface shielding method and device |
CN103744732A (en) * | 2014-02-14 | 2014-04-23 | 贝壳网际(北京)安全技术有限公司 | Method and device for skipping system screen locking |
CN103744685A (en) * | 2014-02-14 | 2014-04-23 | 贝壳网际(北京)安全技术有限公司 | Screen locking position seizing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN105117138A (en) | 2015-12-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105117138B (en) | Method and device for shielding screen locking of operating system and mobile terminal | |
EP3532925B1 (en) | Electronic device and method for displaying history of executed application thereof | |
EP3370144A1 (en) | Electronic device for processing user input and method for processing user input | |
US11550468B2 (en) | Electronic device and method for displaying application used therein | |
US9983654B2 (en) | Electronic device and method of controlling power of electronic device | |
US10261683B2 (en) | Electronic apparatus and screen display method thereof | |
EP3057028B1 (en) | Electronic device for installing application and method of controlling same | |
KR102327016B1 (en) | Permission control method and Electronic device operating the same | |
US20170214423A1 (en) | Method of controlling sim card and sd card and electronic device for implementing the same | |
CN106126424B (en) | A kind of visual automated testing method of script, device and mobile terminal | |
WO2016061924A1 (en) | Multi-screen sharing based application management method and device, and storage medium | |
US10884578B2 (en) | Electronic device and method for controlling user interface of electronic device | |
CN106055239B (en) | screen recording method and device | |
KR102781369B1 (en) | Method for determing role of electronic device and electronic device thereof | |
US20150220247A1 (en) | Electronic device and method for providing information thereof | |
CN105512033B (en) | A kind of automated testing method of mobile terminal, device and mobile terminal | |
CN105117320A (en) | Method for managing application in electronic terminal and electronic terminal thereof | |
EP3131267A1 (en) | Electronic device and method for commonly using the same | |
CN110012163A (en) | Suspended window setting method and device and electronic equipment | |
CN106126206A (en) | A kind of information processing method and electronic equipment | |
EP3131031A1 (en) | Content security processing method and electronic device supporting the same | |
CN104750369B (en) | The control method and device of rapid switch in a kind of intelligent terminal | |
US11327872B2 (en) | Test instrument for software communications architecture device testing | |
WO2017020665A1 (en) | Wallpaper switching method and apparatus | |
CN110837663B (en) | Method, terminal and computer storage medium for switching double desktops |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
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: 20180911 |