Summary of the invention
In view of this, the invention provides the generation method and device of a kind of locking screen interface, in order to solve existing screen locking
Interface cannot meet the demand that user is attractive in appearance for locking screen interface, personalized etc., the problem that Consumer's Experience is bad, its technical scheme
As follows:
A kind of generation method of locking screen interface, is applied to a terminal, and described method includes:
Obtain from the template base pre-set the To Template for generating target locking screen interface and with described target
The configuration information file that template is corresponding, described configuration information file includes that in described To Template, the main interface of screen locking and screen locking are close
The configuration information of picture in code interface;
When the triggering command making described target locking screen interface being detected, receive based on described To Template in picture library
Target Photo choose instruction;
The described Target Photo chosen and described To Template are generated described target lock based on described configuration information file
Screen interface, and when receiving screen locking instruction, load described target locking screen interface.
Wherein, described configuration information includes: the configuration parameter of background map, the configuration parameter of foreground picture, the road of shade picture
The picture path of footpath and password figure;
The most described by described based on the generation of described configuration information file to the described Target Photo chosen and described To Template
Target locking screen interface, including:
The configuration parameter utilizing described background map configures at the main interface of screen locking of described To Template and screen locking cryptographic interface
Described Target Photo, generates background map and the background of screen locking cryptographic interface at the main interface of screen locking of described target locking screen interface
Figure;
Utilize the configuration parameter of described foreground picture and the path of described shade picture the screen locking master of described To Template
Target Photo described in interface configurations, generates the foreground picture at the main interface of screen locking of described target locking screen interface;
Picture path based on described password figure loads described password figure picture at described screen locking cryptographic interface, generates
The foreground picture of the screen locking cryptographic interface of described target locking screen interface.
Wherein, the configuration parameter of described background map includes first size parameter and primary importance parameter, and, the second size
Parameter and second position parameter, wherein, described first size parameter and primary importance parameter are background in the main interface of described screen locking
The configuration parameter of figure, described second dimensional parameters and second position parameter are the configuration ginseng of background map in described screen locking cryptographic interface
Number;
The most described utilize the configuration parameter of described background map at the main interface of screen locking of described To Template and screen locking cryptography community
Face configures described Target Photo, generates the background map at the main interface of screen locking of described target locking screen interface and screen locking cryptographic interface
Background map, including:
Based on described first size parameter, described Target Photo is processed into the picture of a size of first size, and by described
The picture of first size is laid out in the main interface of screen locking of described To Template by described primary importance parameter, generates described
The background map at the main interface of screen locking of target locking screen interface;
Based on described second dimensional parameters, described Target Photo is processed into the picture of a size of second size, and by described
The picture of the second size carries out Fuzzy Processing, by the picture of the second size after Fuzzy Processing by described second position parameter in institute
State in the screen locking cryptographic interface of To Template and be laid out, after generating the described screen locking cryptographic interface of described target locking screen interface
Jing Tu.
Wherein, the configuration information of picture, described mesh during described configuration information includes the main interface of screen locking of described To Template
Mark configuration information and the picture path of password figure of background map in the screen locking cryptographic interface of template;
The most described the described Target Photo chosen and described To Template are generated screen locking based on described configuration information file
Interface, including:
In the main interface of screen locking of described To Template, institute is configured based on the configuration information of picture in the main interface of described screen locking
State Target Photo, generate the main interface of screen locking of described target locking screen interface;
Configuration information based on Background configures described Target Photo in the screen locking cryptographic interface of described To Template, raw
Become the background map of the screen locking cryptographic interface of described target locking screen interface;
Picture path based on described password figure loads described password figure picture at described screen locking cryptographic interface, generates
The foreground picture of the screen locking cryptographic interface of described target locking screen interface, it is thus achieved that the screen locking cryptographic interface of described target locking screen interface.
Wherein, the main interface of screen locking of described To Template includes the configuration information of multiple picture, accordingly, described target
Picture is multiple, and the configuration information of the plurality of picture includes each picture size at the main interface of screen locking of described To Template
Parameter and location parameter;
In the main interface of screen locking based on To Template described in then, the configuration information of picture is the screen locking master of described To Template
Interface configures described Target Photo, generates the main interface of screen locking of described target locking screen interface, including:
Each Target Photo is processed into the picture of correspondingly-sized by dimensional parameters based on each picture, and process is obtained
Each picture be laid out in described To Template by corresponding location parameter, form the screen locking of described target locking screen interface
Main interface.
Wherein, corresponding two pictures of each password figure in described screen locking cryptographic interface, the respectively first state picture
And the second state picture different from described first state picture;
Then picture path based on described password figure loads described password figure picture, tool at described screen locking cryptographic interface
Body is:
Picture path based on described password figure loads corresponding with each password figure at described screen locking cryptographic interface
First state picture;
Described method also includes:
When the operational order of target password numeral during user is to described target screen locking cryptographic interface being detected, based on described
The picture path of target password numeral loads second state corresponding with described target password numeral at described screen locking cryptographic interface
Picture.
Preferably, described method also includes:
When receiving the user's the first operation at described target locking screen interface, show presupposed information;
When receiving the user's the second operation at described target locking screen interface, the icon of the intended application that display is preset,
Described first operation is different from the second operation.
The generating means of a kind of locking screen interface, is applied to a terminal, and described device includes: acquisition module, receiver module, join
Put module and load-on module;
Described acquisition module, for obtaining the target mould for generating target locking screen interface from the template base pre-set
Plate and the configuration information file corresponding with described To Template, described configuration information file includes locking in described To Template
Shield the configuration information of picture in main interface and screen locking cryptographic interface;
Described receiver module, for when described terminal detects the triggering command making described target locking screen interface, connects
Receive, based on described To Template, Target Photo in picture library is chosen instruction;
Described configuration module, for by civilian based on described configuration information to the described Target Photo chosen and described To Template
Part generates described target locking screen interface;
Described load-on module, for when receiving screen locking instruction, loading described target locking screen interface.
Wherein, described configuration information includes: the configuration parameter of background map, the configuration parameter of foreground picture, the road of shade picture
The picture path of footpath and password figure;
The most described configuration module includes: background map configuration module, foreground picture configuration module and password figure picture configuration mould
Block;
Described background map configuration module, for utilizing the configuration parameter screen locking master at described To Template of described background map
Interface and screen locking cryptographic interface configure described Target Photo, generate described target locking screen interface the main interface of screen locking background map with
And the background map of screen locking cryptographic interface;
Described foreground picture configuration module, for utilizing configuration parameter and the path of described shade picture of described foreground picture
At Target Photo described in the main interface configurations of screen locking of described To Template, generate the main interface of screen locking of described target locking screen interface
Foreground picture;
Described password figure picture configuration module, for picture path based on described password figure at described screen locking password
Interface loads described password figure picture, generates the foreground picture of the screen locking cryptographic interface of described target locking screen interface.
Wherein, the configuration parameter of described background map includes first size parameter and primary importance parameter, and, the second size
Parameter and second position parameter, wherein, described first size parameter and primary importance parameter are background in the main interface of described screen locking
The configuration parameter of figure, described second dimensional parameters and second position parameter are the configuration ginseng of background map in described screen locking cryptographic interface
Number;
The most described background map configuration module, including: the first configuration submodule and the second configuration submodule;
Described first configuration submodule, for being processed into described Target Photo a size of based on described first size parameter
The picture of first size, and the picture of described first size is pressed the described primary importance parameter screen locking master at described To Template
Interface is laid out, generates the background map at the main interface of screen locking of described target locking screen interface;
Described second configuration submodule, for being processed into described Target Photo a size of based on described second dimensional parameters
The picture of the second size, and the picture of described second size is carried out Fuzzy Processing, by the figure of the second size after Fuzzy Processing
Sheet is laid out in the screen locking cryptographic interface of described To Template by described second position parameter, generates screen locking circle of described target
The background map of the described screen locking cryptographic interface in face.
Wherein, the configuration information of picture, described mesh during described configuration information includes the main interface of screen locking of described To Template
Mark configuration information and the picture path of password figure of background map in the screen locking cryptographic interface of template;
The most described configuration module includes: screen locking main interface configurations module, background map configuration module and password figure picture are joined
Put module;
Described screen locking main interface configurations module, is used for based on the configuration information of picture in the main interface of described screen locking at described mesh
The main interface of screen locking of mark template configures described Target Photo, generates the main interface of screen locking of described target locking screen interface;
Described background map configuration module, is used for the configuration information based on the Background screen locking cryptography community at described To Template
Face configures described Target Photo, generates the background map of the screen locking cryptographic interface of described target locking screen interface;
Described password figure picture configuration module, for picture path based on described password figure at described screen locking password
Interface loads described password figure picture, generates the foreground picture of the screen locking cryptographic interface of described target locking screen interface, it is thus achieved that described
The screen locking cryptographic interface of target locking screen interface.
Wherein, the main interface of screen locking of described To Template includes the configuration information of multiple picture, accordingly, described target
Picture is multiple, and the configuration information of the plurality of picture includes each picture size at the main interface of screen locking of described To Template
Parameter and location parameter;
The most described screen locking main interface configurations module, specifically for dimensional parameters based on each picture by each Target Photo
It is processed into the picture of correspondingly-sized, and each picture process obtained is entered by corresponding location parameter in described To Template
Row layout, forms the main interface of screen locking of described target locking screen interface.
Wherein, corresponding two pictures of each password figure in described screen locking cryptographic interface, the respectively first state picture
And the second state picture different from described first state picture;
The most described password figure picture configuration module, specifically for picture path based on described password figure at described lock
Screen cryptographic interface loads the first state picture corresponding with each password figure;
Described password figure picture configuration module, is additionally operable to when described terminal detects that user is to described target screen locking password
During the operational order that in interface, target password is digital, picture path based on described target password numeral is at described screen locking cryptography community
Face loads the second state picture corresponding with described target password numeral.
Preferably, described device also includes: display module;
Described display module, is used for when described terminal receives the user's the first operation at described target locking screen interface,
Display presupposed information, is additionally operable to when described terminal receives the user's the second operation at described target locking screen interface, and display is pre-
If the icon of intended application, described first operation operates different with second.
Technique scheme has the advantages that
The generation method and device of the locking screen interface that the present invention provides, can obtain the mesh that user chooses according to the hobby of oneself
Mark template and Target Photo, then utilize the configuration information file configuration target figure corresponding with To Template in To Template
Sheet, thus generate target locking screen interface and at this target locking screen interface of terminal loads.As can be seen here, screen locking circle that the present invention provides
Screen locking circle that the template generation of picture that the generation method and device in face can be chosen based on user and locking screen interface is personalized
Face (such as locking screen interface, the locking screen interface of magazine effect of picture-in-picture effect), i.e. user can be chosen oneself from template base and like
Template, from picture library, then choose the locking screen interface that the picture making oneself liked is personalized, attractive in appearance, Consumer's Experience is relatively
Good.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise
Embodiment, broadly falls into the scope of protection of the invention.
Embodiments provide a kind of generation method of locking screen interface, be applied to a terminal, this terminal can but not
Being defined to mobile phone, PAD etc., refer to Fig. 1, it is shown that the schematic flow sheet of the method, the method may include that
Step S101: obtain from the template base pre-set the To Template for generating target locking screen interface and with
The configuration information file that To Template is corresponding.
Wherein, To Template includes the main interface of screen locking and screen locking cryptographic interface, and configuration information file includes To Template
The main interface of screen locking in the configuration information of picture in the configuration information of picture and screen locking cryptographic interface.
Step S102: when the triggering command making locking screen interface being detected, receives based on To Template mesh in picture library
That marks sheet on a map chooses instruction.
Concrete, the quantity of the picture chosen from picture library is relevant with template, if To Template needs a pictures, then
In picture library, choose a pictures, if To Template needs plurality of pictures, then in picture library, choose plurality of pictures.
Step S103: the Target Photo chosen and To Template are generated target locking screen interface based on configuration information file.
That is, utilize configuration information file to be configured in To Template by the Target Photo chosen, thus generate personalization
Locking screen interface.
Step S104: when receiving screen locking instruction, at the target locking screen interface that terminal loads generates.
For the terminal of android system, when the screen locking receiving android system instructs, load generation
Target locking screen interface, i.e. loads the main interface of screen locking and cryptographic interface.
The generation method of the locking screen interface that the embodiment of the present invention provides, can obtain the mesh that user chooses according to the hobby of oneself
Mark template and Target Photo, then utilize the configuration information file configuration target figure corresponding with To Template in To Template
Sheet, thus generate and loaded targets locking screen interface.As can be seen here, the generation method energy of the locking screen interface that the embodiment of the present invention provides
The locking screen interface of the template generation personalization of enough pictures chosen based on user and locking screen interface, i.e. user can be from template base
Choose the template oneself liked, from picture library, then choose the locking screen interface that the picture making oneself liked is personalized, attractive in appearance,
Better user experience.
Refer to Fig. 2, it is shown that embodiments provide locking screen interface generation method one implement process
Schematic flow sheet, be applied to a terminal, this terminal can but be not limited to mobile phone, PAD etc., the method may include that
Step S201: obtain from the template base pre-set the To Template for generating target locking screen interface and with
The configuration information file that To Template is corresponding.
Wherein, To Template can be the locking screen interface template with picture-in-picture effect.Configuration information file includes mesh
Mark the configuration information of picture in the main interface of screen locking in template and screen locking cryptographic interface.Concrete, configuration information includes: background map
The picture path of configuration parameter, the configuration parameter of foreground picture, the path of shade picture and password figure.
Step S202: when the triggering command making locking screen interface being detected, receives based on To Template mesh in picture library
That marks sheet on a map chooses instruction.
Step S203: utilize the configuration parameter of background map to configure at the main interface of screen locking of To Template and screen locking cryptographic interface
Target Photo, generates background map and the background map of screen locking cryptographic interface at the main interface of screen locking of target locking screen interface.
Concrete, the configuration parameter of background map includes first size parameter and primary importance parameter, and, the second size ginseng
Number and second position parameter.Wherein, the configuration ginseng of background map during first size parameter and primary importance parameter are the main interface of screen locking
Number, the second dimensional parameters and second position parameter are the configuration parameter of background map in screen locking cryptographic interface.
Then, the configuration parameter utilizing background map configures target figure at the main interface of screen locking of To Template and screen locking cryptographic interface
Sheet, generates the background map at the main interface of screen locking and the background map of screen locking cryptographic interface of target locking screen interface, including for: based on the
Target Photo is processed into the picture of a size of first size (the widest 720 pixels, high 1080 pixels) by one dimensional parameters, and will
The picture of first size is laid out in the main interface of screen locking of To Template by primary importance parameter, generates target locking screen interface
The background map at the main interface of screen locking;Based on the second dimensional parameters, Target Photo is processed into a size of second size (the widest by 320
Pixel, high 540 pixels) picture, and the picture of the second size is carried out Fuzzy Processing, by the second size after Fuzzy Processing
Picture is laid out in the screen locking cryptographic interface of To Template by second position parameter, and the screen locking generating target locking screen interface is close
The background map at code interface.
Wherein, when the picture of the second size is carried out Fuzzy Processing, Gaussian Blur processing method can be used the second chi
Very little picture carries out Fuzzy Processing.
Step S204: the configuration parameter of Utilization prospects figure and the path of shade picture are at the main interface of screen locking of To Template
Configuration Target Photo, generates the foreground picture at the main interface of screen locking of target locking screen interface.
In a kind of possible implementation, shade picture is Mask shade picture.Then, before the configuration main interface of screen locking
During scape figure, the path being primarily based on Mask shade picture obtains Mask shade picture, then utilizes Mask shade picture processing mesh
Mark on a map sheet, i.e. utilize Mask shade that Target Photo is processed into the picture mated with foreground area in To Template, be finally based on
The picture that process is obtained by the configuration parameter of foreground picture is loaded in the main interface of screen locking of To Template, forms the main interface of screen locking
Foreground picture.
Step S205: picture path based on password figure, at screen locking cryptographic interface loading pin digital picture, generates mesh
The foreground picture of the screen locking cryptographic interface of mark locking screen interface.
In a kind of preferred implementation, corresponding two pictures of each password figure in screen locking cryptographic interface, it is respectively
First state picture and the second state picture different from the first state picture.
Then picture path based on password figure is at screen locking cryptographic interface loading pin digital picture, particularly as follows: based on close
The picture path of yardage word loads the first state picture corresponding with each password figure at screen locking cryptographic interface.And when detecting
During the operational order that in user's screen locking cryptographic interface to generating, target password is digital, picture path based on target password numeral
The second state picture corresponding with target password numeral is loaded at screen locking cryptographic interface.Exemplary, under normal condition, screen locking is close
Password figure picture in code interface shows the first state picture, when user unlocks at screen locking cryptographic interface input password,
When clicking on a certain password figure, this password figure picture just switches to the second state picture.
It addition, the present embodiment does not limit the execution sequence of step S203-S205, these three step can be held in any order
OK, it is possible to perform, as long as comprising these three step to broadly fall into the protection domain of the embodiment of the present invention simultaneously.
Step S206: when receiving screen locking instruction, at the target locking screen interface that terminal loads generates.
For the terminal of android system, when the screen locking receiving android system instructs, load generation
Target locking screen interface, i.e. loads the main interface of screen locking and cryptographic interface.
The generation method of the locking screen interface that the embodiment of the present invention provides, can obtain the tool that user chooses according to the hobby of oneself
There are To Template and the Target Photo of picture-in-picture effect, in To Template, then utilize the configuration letter corresponding with To Template
Breath file configuration Target Photo, thus generate the target locking screen interface with picture-in-picture effect.As can be seen here, the embodiment of the present invention
Picture that the generation method of locking screen interface provided can be chosen based on user and the template generation of locking screen interface are personalized
There is the locking screen interface of picture-in-picture effect, i.e. user and can choose the template oneself liked from template base, then select from picture library
Take from the locking screen interface that picture making that oneself likes is personalized, attractive in appearance, better user experience.
Refer to Fig. 3, it is shown that another of generation method embodiments providing locking screen interface implements stream
Journey schematic diagram, is applied to a terminal, and the method may include that
Step S301: obtain from the template base pre-set the To Template for generating target locking screen interface and with
The configuration information file that To Template is corresponding.
Wherein, To Template can be the locking screen interface template with magazine effect.Configuration information file includes target
The configuration information of picture in the main interface of screen locking in template and screen locking cryptographic interface.Concrete, configuration information includes: To Template
The main interface of screen locking in the configuration information of picture, To Template screen locking cryptographic interface in the configuration information of background map and password number
The picture path of word.
Step S302: when the triggering command making locking screen interface being detected, receives based on To Template mesh in picture library
That marks sheet on a map chooses instruction.
Step S303: configure mesh in the main interface of screen locking of To Template based on the configuration information of picture in the main interface of screen locking
Mark on a map sheet, generate the main interface of screen locking of target locking screen interface.
Step S304: configuration information based on Background configures Target Photo in the screen locking cryptographic interface of To Template,
Generate the background map of the screen locking cryptographic interface of target locking screen interface.
Concrete, in the main interface of screen locking of To Template, the configuration information of picture includes: first size parameter and first
Putting parameter, in the screen locking cryptographic interface of To Template, the configuration information of background map includes the second dimensional parameters and second position ginseng
Number.
So, in the main interface of screen locking of To Template, target figure is configured based on the configuration information of picture in the main interface of screen locking
The detailed process of sheet is: is primarily based on first size parameter and Target Photo is processed into the picture of a size of first size, then
The picture of first size is laid out in To Template by primary importance parameter, the main interface of screen locking of target locking screen interface.
Configuration information based on Background configures the detailed process of Target Photo in the screen locking cryptographic interface of To Template
For: based on the second dimensional parameters, Target Photo is processed into the picture of a size of second size, and the picture of the second size is entered
Row Fuzzy Processing, is laid out the picture of the second size after Fuzzy Processing by second position parameter in To Template, raw
Become the background map of the screen locking cryptographic interface of target locking screen interface.
In a kind of possible implementation, the main interface of screen locking of To Template is spliced by multiple pictures, accordingly,
Configuration information file includes that the configuration information of multiple picture, the configuration information of multiple pictures include that each picture is at To Template
The dimensional parameters at the main interface of screen locking and location parameter.Owing to the main interface of the screen locking of To Template is spliced by multiple pictures,
Therefore, when choosing Target Photo from picture library, also need to choose the picture of respective amount.
Then in the main interface of screen locking based on To Template, the configuration information of picture is joined in the main interface of screen locking of To Template
Put Target Photo, generate the main interface of screen locking of target locking screen interface, including: based on the size of each picture in configuration information file
Each Target Photo chosen is processed into the picture of correspondingly-sized by parameter, and each picture process obtained is by corresponding position
Put parameter to be laid out in To Template, thus the main interface of screen locking forming target locking screen interface.
If it is understood that Target Photo is one, then Target Photo is being processed and layout based on configuration parameter
When forming the background map of screen locking cryptographic interface, directly this Target Photo is processed into based on dimensional parameters the figure of correspondingly-sized
Sheet Fuzzy Processing, be then laid out the picture after Fuzzy Processing by corresponding location parameter in To Template, thus
Generate the background map of the screen locking cryptographic interface of target locking screen interface.If target patch is multiple, then by Target Photo based on joining
When putting the background map of parameter processing layout formation screen locking cryptographic interface, multiple Target Photos can be carried out spliced spliced map
It is configured to the background map of screen locking cryptographic interface, concrete, can first multiple Target Photos be joined by its size at the main interface of screen locking
Number and location parameter splice, it is thus achieved that splicing picture, then by spliced map sheet based on the size of picture in screen locking cryptographic interface
Parameter and location parameter, be first processed into picture the Fuzzy Processing of correspondingly-sized, then by the picture after Fuzzy Processing by right
The location parameter answered is laid out in To Template, thus generates the background map of the screen locking cryptographic interface of target locking screen interface,
Certainly, when Target Photo is multiple, it is possible to the most optional pictures, it is configured to the screen locking password of target locking screen interface
The background map at interface.
Step S305: picture path based on password figure, at screen locking cryptographic interface loading pin digital picture, generates mesh
The foreground picture of the screen locking cryptographic interface of mark locking screen interface, it is thus achieved that the screen locking cryptographic interface of target locking screen interface.
In a kind of preferred implementation, corresponding two pictures of each password figure in screen locking cryptographic interface, it is respectively
First state picture and the second state picture different from the first state picture.
Then picture path based on password figure is at screen locking cryptographic interface loading pin digital picture, particularly as follows: based on close
The picture path of yardage word loads the first state picture corresponding with each password figure at screen locking cryptographic interface.And when detecting
During the operational order that in user's screen locking cryptographic interface to generating, target password is digital, picture path based on target password numeral
The second state picture corresponding with target password numeral is loaded at screen locking cryptographic interface.
It addition, the present embodiment does not limit the execution sequence of step S303-S305, these three step can be held in any order
OK, it is possible to perform, as long as comprising these three step to broadly fall into the protection domain of the embodiment of the present invention simultaneously.
Step S306: when receiving screen locking instruction, at the target locking screen interface that terminal loads generates.
For the terminal of android system, when the screen locking receiving android system instructs, load generation
Target locking screen interface, i.e. loads the main interface of screen locking and cryptographic interface.
The generation method of the locking screen interface that the embodiment of the present invention provides, can obtain the tool that user chooses according to the hobby of oneself
There are To Template and the Target Photo of magazine effect, in To Template, then utilize the configuration information corresponding with To Template
File configuration Target Photo, thus generate the target locking screen interface with magazine effect.As can be seen here, the embodiment of the present invention provides
The picture that can choose based on user of the generation method of locking screen interface and the personalized screen locking of the template generation of locking screen interface
Interface, i.e. user can choose the template oneself liked from template base, then choose the picture making oneself liked from picture library
Personalized, attractive in appearance locking screen interface, better user experience.
It should be noted that when applying above-mentioned target locking screen interface, the main interface of screen locking of target locking screen interface and screen locking
Cryptographic interface can switch in operation based on user, exemplary, and what mobile phone was currently displaying is the main interface of screen locking, when user uses
When finger slides to the left, target locking screen interface can be screen locking cryptographic interface by the main changing interface of screen locking, same, if user uses
Finger slides to the right, then target locking screen interface can be switched back into the main interface of screen locking by screen locking cryptographic interface.
In a kind of possible implementation, the broadcast of screen locking key on an off can be monitored by the service of LockService
Event, when listening to the broadcast event that screen locking key is opened, adds the screen locking page by forms manager (WindowManager),
Realize screen locking.
Preferably, the generation method of the locking screen interface that any of the above-described embodiment provides can also include: when receiving user
When the first operation of target locking screen interface, show presupposed information;When receiving the user's the second operation at target locking screen interface
Time, the icon of the intended application that display is preset, wherein, the first operation is different from the second operation.
Wherein, the first operation can but be not limited in target locking screen interface to slidably input behaviour along the first preset direction
Make (such as right cunning), presupposed information can but be not limited to weather forecast information, wherein, weather forecast information can be from terminal
Weather forecast application in obtain information, it is possible to for the information obtained from webpage by network.As can be seen here, want as user
When checking weather forecast information, need not go specially to open weather forecast application, also difference goes site search to inquire about, but in target
Can be obtained by a shirtsleeve operation in locking screen interface, the mode of acquisition of information is fast, better user experience.
Wherein, the second operation can but be not limited in target locking screen interface the cunning along the second preset direction (as above sliding)
Dynamic input operation, intended application can be common tool, such as computer, pocket lamp, alarm clock, camera etc..As can be seen here, Yong Hu
Target locking screen interface can be obtained by a shirtsleeve operation icon of conventional application, and then quickly trigger corresponding application
Start.
Corresponding with said method, the embodiment of the present invention additionally provides the generating means of a kind of locking screen interface, is applied to one
Terminal, refers to Fig. 4, it is shown that the structural representation of this device, may include that acquisition module 401, receiver module 402, configuration
Module 403 and record module 404.
Acquisition module 401, for obtaining the target mould for generating target locking screen interface from the template base pre-set
Plate and the configuration information file corresponding with To Template.
Wherein, the configuration of picture in the main interface of screen locking and screen locking cryptographic interface during configuration information file includes To Template
Information.
Receiver module 402, for when terminal detects the triggering command making target locking screen interface, receiving based on target
Target Photo in picture library is chosen instruction by template.
Configuration module 403, for generating target lock by the Target Photo chosen and To Template based on configuration information file
Screen interface.
Load-on module 404, for when receiving screen locking instruction, loads the target locking screen interface that configuration module 403 generates.
The generating means of the locking screen interface that the embodiment of the present invention provides, can obtain the mesh that user chooses according to the hobby of oneself
Mark template and Target Photo, then utilize the configuration information file configuration target figure corresponding with To Template in To Template
Sheet, thus generate and loaded targets locking screen interface.As can be seen here, the generating means energy of the locking screen interface that the embodiment of the present invention provides
The locking screen interface of the template generation personalization of enough pictures chosen based on user and locking screen interface, i.e. user can be from template base
Choose the template oneself liked, from picture library, then choose the locking screen interface that the picture making oneself liked is personalized, attractive in appearance,
Better user experience.
In the generating means of the locking screen interface provided at above-described embodiment, configuration information includes: the configuration parameter of background map,
The picture path of the configuration parameter of foreground picture, the path of shade picture and password figure.
Then configuration module includes: background map configuration module, foreground picture configuration module and password figure picture configuration module.Its
In:
Background map configuration module, close at the main interface of screen locking of To Template and screen locking for the configuration parameter utilizing background map
Code interface configurations Target Photo, generates background map and the background of screen locking cryptographic interface at the main interface of screen locking of target locking screen interface
Figure.
Foreground picture configuration module, for the configuration parameter of Utilization prospects figure and the path of shade picture at To Template
Screen locking main interface configurations Target Photo, generates the foreground picture at the main interface of screen locking of target locking screen interface.
Password figure picture configuration module, for picture path based on password figure at screen locking cryptographic interface loading pin
Digital picture, generates the foreground picture of the screen locking cryptographic interface of target locking screen interface.
In the above-described embodiments, the configuration parameter of background map includes first size parameter and primary importance parameter, and, the
Two dimensional parameters and second position parameter, wherein, first size parameter and primary importance parameter are background map in the main interface of screen locking
Configuration parameter, the second dimensional parameters and second position parameter are the configuration parameter of background map in screen locking cryptographic interface.
Then background map configuration module, including: the first configuration submodule and the second configuration submodule.
First configuration submodule, for being processed into the figure of a size of first size based on first size parameter by Target Photo
Sheet, and the picture of first size is laid out in the main interface of screen locking of To Template by primary importance parameter, generate target
The background map at the main interface of screen locking of locking screen interface.
Second configuration submodule, for being processed into a size of second size based on the second dimensional parameters by described Target Photo
Picture, and the picture of described second size is carried out Fuzzy Processing, by the picture of the second size after Fuzzy Processing by described
Second position parameter is laid out in the screen locking cryptographic interface of described To Template, generates the described of described target locking screen interface
The background map of screen locking cryptographic interface.
The configuration information of picture during in the above-described embodiments, configuration information includes the main interface of screen locking of described To Template,
The configuration information of background map and the picture path of password figure in the screen locking cryptographic interface of described To Template.
Configuration module includes: screen locking main interface configurations module, background map configuration module and password figure picture configuration module.
Screen locking main interface configurations module, is used for based on the configuration information of picture in the main interface of described screen locking at described target mould
The main interface of screen locking of plate configures described Target Photo, generates the main interface of screen locking of described target locking screen interface.
Background map configuration module, for configuration information based on Background in the screen locking cryptographic interface of described To Template
Configure described Target Photo, generate the background map of the screen locking cryptographic interface of described target locking screen interface.
Password figure picture configuration module, for picture path based on password figure at screen locking cryptographic interface loading pin
Digital picture, generates the foreground picture of the screen locking cryptographic interface of target locking screen interface, it is thus achieved that the screen locking cryptography community of target locking screen interface
Face.
In a kind of possible implementation, the main interface of screen locking of To Template includes the configuration information of multiple picture,
Accordingly, Target Photo is multiple, and the configuration information of multiple pictures includes each picture main boundary of screen locking at described To Template
The dimensional parameters in face and location parameter.
Then screen locking main interface configurations module, processes each Target Photo specifically for dimensional parameters based on each picture
Become the picture of correspondingly-sized, and each picture process obtained carries out cloth by corresponding location parameter in described To Template
Office, forms the main interface of screen locking of described target locking screen interface.
In the preferred implementation of one, corresponding two pictures of each password figure in screen locking cryptographic interface, respectively
It is the first state picture and the second state picture different from described first state picture;
Then password figure picture configuration module, specifically for picture path based on password figure at described screen locking cryptography community
Face loads the first state picture corresponding with each password figure.
Password figure picture configuration module, is additionally operable to when terminal detects that target is close during user is to target screen locking cryptographic interface
During the operational order of yardage word, picture path based on target password numeral loads and described target password at screen locking cryptographic interface
The second state picture that numeral is corresponding.
Generating means at the locking screen interface of above-described embodiment offer also includes: display module.
Display module, for when terminal receives the user's the first operation at target locking screen interface, showing presupposed information,
It is additionally operable to when terminal receives the user's the second operation at target locking screen interface, the icon of the intended application that display is preset, the
One operation is different from the second operation.
In this specification, each embodiment uses the mode gone forward one by one to describe, and what each embodiment stressed is and other
The difference of embodiment, between each embodiment, identical similar portion sees mutually.
In several embodiments provided herein, it should be understood that disclosed method, device and equipment, permissible
Realize by another way.Such as, device embodiment described above is only schematically, such as, and described unit
Dividing, be only a kind of logic function and divide, actual can have other dividing mode, the most multiple unit or assembly when realizing
Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not performs.Another point, shown or
The coupling each other discussed or direct-coupling or communication connection can be by between some communication interfaces, device or unit
Connect coupling or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit
The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme
's.It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to be each
Unit is individually physically present, it is also possible to two or more unit are integrated in a unit.
If described function is using the form realization of SFU software functional unit and as independent production marketing or use, permissible
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is the most in other words
The part contributing prior art or the part of this technical scheme can embody with the form of software product, this meter
Calculation machine software product is stored in a storage medium, including some instructions with so that a computer equipment (can be individual
People's computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.
And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses the present invention.
Multiple amendment to these embodiments will be apparent from for those skilled in the art, as defined herein
General Principle can realize without departing from the spirit or scope of the present invention in other embodiments.Therefore, the present invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and principles disclosed herein and features of novelty phase one
The widest scope caused.