Method and apparatus for generating unlocking interface, and electronic device
First Claim
1. A method for generating an unlocking interface, comprising:
- receiving an unlocking request from a user of an electronic device for an application locked by an application locker;
determining an application to be unlocked and a first icon file of the application to be unlocked according to the unlocking request received from the user;
extracting a first color value of the first icon file of the application to be unlocked and forming a first display layer of an unlocking interface corresponding to the application to be unlocked according to the first color value after the application to be unlocked is determined;
acquiring a pre-generated special-effects picture corresponding to the first icon file of the application to be unlocked and forming a second display layer of the unlocking interface corresponding to the application to be unlocked according to the pre-generated special-effects picture;
forming a third display layer of the unlocking interface corresponding to the application to be unlocked according to unlocking interactive information of the application locker;
superimposing the first display layer, the second display layer and the third display layer with respective specified transparenciesto generate the unlocking interface;
displaying the unlocking interface on the display of the electronic device after the unlocking interface is generated;
unlocking the locked application based upon the unlocking request received from the user on the displayed unlocking interface;
wherein the pre-generated special-effects picture is generated prior to receiving the unlocking request;
wherein the pre-generated special-effects picture corresponding to the first icon file of the application to be unlocked is a pre-generated picture with blurred transparent effects; and
the pre-generated special-effects picture with the blurred transparent effects is generated by performing steps comprising;
performing a size zooming on the first icon file of the application to be unlocked to acquire a second icon file with a preset image size;
enlarging the second icon file by adding transparent edges with preset length values surrounding the second icon file to acquire a picture with the transparent edges,such that edges of the second icon file are not cut when the picture with the transparent edges are processed by a blurring algorithm;
performing a Gaussian blur and an alpha blending on the picture with the transparent edges to generate the special-effects picture with the blurred transparent effects.
0 Assignments
0 Petitions
Accused Products
Abstract
The present disclosure provides a method, apparatus, and device for generating an unlocking interface, including: receiving an unlocking request; determining an application to be unlocked and a first icon file of the application according to the unlocking request; extracting a first color value according to the first icon file of the application and forming a first display layer of an unlocking interface corresponding to the application according to the first color value; acquiring a pre-generated special-effects picture corresponding to the first icon file of the application and forming a second display layer of the unlocking interface corresponding to the application according to the special-effects picture; forming a third display layer of the unlocking interface corresponding to the application according to unlocking interactive information of the application locker; superimposing the first display layer, the second display layer and the third display layer with respective specified transparencies to generate the unlocking interface.
16 Citations
18 Claims
-
1. A method for generating an unlocking interface, comprising:
-
receiving an unlocking request from a user of an electronic device for an application locked by an application locker; determining an application to be unlocked and a first icon file of the application to be unlocked according to the unlocking request received from the user; extracting a first color value of the first icon file of the application to be unlocked and forming a first display layer of an unlocking interface corresponding to the application to be unlocked according to the first color value after the application to be unlocked is determined; acquiring a pre-generated special-effects picture corresponding to the first icon file of the application to be unlocked and forming a second display layer of the unlocking interface corresponding to the application to be unlocked according to the pre-generated special-effects picture; forming a third display layer of the unlocking interface corresponding to the application to be unlocked according to unlocking interactive information of the application locker; superimposing the first display layer, the second display layer and the third display layer with respective specified transparencies to generate the unlocking interface; displaying the unlocking interface on the display of the electronic device after the unlocking interface is generated; unlocking the locked application based upon the unlocking request received from the user on the displayed unlocking interface; wherein the pre-generated special-effects picture is generated prior to receiving the unlocking request; wherein the pre-generated special-effects picture corresponding to the first icon file of the application to be unlocked is a pre-generated picture with blurred transparent effects; and the pre-generated special-effects picture with the blurred transparent effects is generated by performing steps comprising; performing a size zooming on the first icon file of the application to be unlocked to acquire a second icon file with a preset image size; enlarging the second icon file by adding transparent edges with preset length values surrounding the second icon file to acquire a picture with the transparent edges, such that edges of the second icon file are not cut when the picture with the transparent edges are processed by a blurring algorithm; performing a Gaussian blur and an alpha blending on the picture with the transparent edges to generate the special-effects picture with the blurred transparent effects. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. An electronic device, comprising:
-
a housing, a processor, a memory, a displayer, a circuit board and a power circuit, wherein the circuit board is arranged inside a space enclosed by the housing; the processor and the memory are disposed on the circuit board;
the power circuit is configured to provide power for individual circuit or component of the electronic device; andan executable program code stored in the memory;
wherein the processor is configured to execute the executable program code stored in the memory that perform the following;receiving an unlocking request from a user for an application locked by an application locker; determining an application to be unlocked and an a first icon file of the application to be unlocked according to the unlocking request received from the user; extracting a first color value according to the first icon file of the application to be unlocked and forming a first display layer of an unlocking interface corresponding to the application to be unlocked according to the first color value after the application to be unlocked is determined; acquiring a pre-generated special-effects picture corresponding to the first icon file of the application to be unlocked and forming a second display layer of the unlocking interface corresponding to the application to be unlocked according to the special-effects picture; forming a third display layer of the unlocking interface corresponding to the application to be unlocked according to unlocking interactive information of the application locker; superimposing the first display layer, the second display layer and the third display layer with respective specified transparencies to generate the unlocking interface; displaying the unlocking interface on the display of the electronic device after the unlocking interface is generated; unlocking the locked application based upon the unlocking request received from the user on the displayed unlocking interface; wherein the pre-generated special-effects picture is generated prior to receiving the unlocking request; wherein the pre-generated special-effects picture corresponding to the first icon file of the application to be unlocked is a pre-generated picture with blurred transparent effects; and the pre-generated special-effects picture with the blurred transparent effects is generated by performing steps comprising; performing a size zooming on the first icon file of the application to be unlocked to acquire a second icon file with a preset image size; enlarging the second icon file by adding transparent edges with preset length values surrounding the second icon file to acquire a picture with the transparent edges, such that edges of the second icon file are not cut when the picture with the transparent edges are processed by a blur algorithm; performing a Gaussian blur and an alpha blending on the picture with the transparent edges to generate the special-effects picture with the blurred transparent effects.
-
-
11. An apparatus for generating an unlocking interface, comprising:
-
one or more processors; a non-transitory computer readable memory; one or more software modules stored in the non-transitory computer readable memory and executable by the one or more processors, and comprising; a request receiving module, configured to receive an unlocking request from a user of an electronic device for an application locked by an application locker; an application determining module, configured to determine an application to be unlocked and a first icon file of the application to be unlocked according to the unlocking request received from the user by the request receiving module; a first display layer generating module, configured to extract a first color value of the first icon file of the application to be unlocked and to form a first display layer of an unlocking interface corresponding to the application to be unlocked according to the first color value after the application to be unlocked is determined; a second display layer generating module, configured to acquire a pre-generated special-effects picture corresponding to the first icon file of the application to be unlocked and to form a second display layer of the unlocking interface corresponding to the application to be unlocked according to the pre-generated special-effects picture; a third display layer generating module, configured to form a third display layer of the unlocking interface corresponding to the application to be unlocked according to unlocking interactive information of the application locker; an unlocking interface generating module, configured to superimpose the first display layer generated by the first display layer generating module, the second display layer generated by the second display layer generating module and the third display layer generated by the third display layer generating module with respective specified transparencies to generate the unlocking interface; a display module, configured to display the unlocking interface on the display of the electronic device after the unlocking interface is generated; an unlocking module, configured to unlock the locked application based upon the unlocking request received from the user on the displayed unlocking interface; wherein the pre-generated special-effects picture is generated prior to receiving the unlocking request; wherein the special-effects picture corresponding to the first icon file of the application to be unlocked is a pre-generated picture with blurred transparent effects; the apparatus further comprises a special-effects picture generating module; and the special-effects picture generating module configured generate the pre-generated special-effects picture with the blurred transparent effects comprises; a first picture processing sub module, configured to perform a size zooming on the first icon file of the application to be unlocked to acquire a second icon file with a preset image size; a second picture processing sub module, configured to enlarge the second icon file by adding transparent edges with preset length values to the second icon file acquired by the first picture processing sub module surrounding acquire a picture with the transparent edges, such that edges of the second icon file are not cut when the picture with the transparent edges are processed by a blur algorithm; a third picture processing sub module, configured to perform a Gaussian blur and an alpha blending on the picture with the transparent edges acquired by the second picture processing sub module to generate the special-effects picture with the blurred transparent effects. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18)
-
Specification