×

Method and apparatus for generating unlocking interface, and electronic device

  • US 10,554,803 B2
  • Filed: 09/14/2015
  • Issued: 02/04/2020
  • Est. Priority Date: 06/11/2015
  • Status: Active Grant
First Claim
Patent Images

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.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×