Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, be clearly and completely described the technical scheme in the embodiment of the present application, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, the every other embodiment that those of ordinary skill in the art obtain, all belongs to the scope of the application's protection.
First it should be noted that, the technical scheme that the embodiment of the present application provides, is the improvement that the specific implementation aspect being applied in wallpaper replacing to existing screen locking is carried out.In the embodiment of the present application, for the ease of user operation, improve the efficiency of the wallpaper changing screen locking application, another interface can be created, under screen lock state in the main interface lower floor of screen locking application, just can according to the operational order of user, demonstrate this another interface, and the preview to optional picture is provided in this interface, and when user selectes certain picture, can directly switch go back to main interface again, and picture user selected changes to the wallpaper of screen locking application.Efficient wallpaper replacement operation can be realized like this, in terms of existing technologies, more convenient.Below concrete implementation is introduced in detail.
See Fig. 1, the embodiment of the present application provide firstly a kind of method changing screen locking application wallpaper, and the method can comprise the following steps:
S101 a: user interface is provided, described user interface has preset wallpaper picture, and described user interface comprises the screen locking layer being positioned at upper strata, and layer selected by the wallpaper being positioned at lower floor; Described screen locking layer is for showing the information provided under screen locking is applied in screen lock state;
During specific implementation, the user interface provided can be show when screen locking application is activated and provides.The mode be activated is applied in screen locking can be had multiple, such as, wherein a kind of modal mode can be, under the state that the screen of mobile terminal device is closed, user manually presses the mode of the physical button (such as power key or home key etc.) on mobile terminal, activate the screen (screen be also namely commonly called as is lit) of mobile terminal device, now, screen locking application just can be activated.Or under another kind of mode, the information being applied as user providing due to screen locking can comprise some latest news got from server etc. (such as, the latest news etc. received in social networks), when server active push latest news, mobile terminal device is when receiving the message of server push, screen can be lit automatically, and now, screen locking application also can be activated.
In the embodiment of the present application, after screen locking application is activated, what be first presented to user can be main interface under a screen locking is applied in screen lock state, it is identical that main interface is applied in the screen locking that this interface and user in routine operation flow process see, wherein may show screen locking and be applied as the various information that user provides, specifically the time can be comprised, date, at least one in the information such as real-time weather forecast information, and general also can background picture, the wallpaper of this background picture i.e. screen locking application, may be that screen locking application model is arranged, also may be that user selects according to the hobby of oneself.But with routine operation flow process unlike, the embodiment of the present application when showing main interface, layering has been carried out to main interface, to be that follow-up wallpaper switching flow is ready.For convenience of description, in the embodiment of the present application, be called screen locking layer by what be positioned at upper strata, be called that layer selected by wallpaper by what be positioned at lower floor.Certainly, because wallpaper selects layer in the lower floor of screen locking layer, therefore, when screen locking application is activated, when showing user interface, the information of screen locking layer can be positioned at the top that layer selected by wallpaper.
Wherein, during specific implementation, the background of screen locking layer can be transparent, and that is, screen locking layer can only define needs the various information that show under screen lock state, and does not need the concrete background information of definition or definition background to be transparent etc.; And layer selected by the wallpaper being positioned at screen locking layer lower floor, the picture of the wallpaper as screen locking application directly can be shown.Also be, owing to being provided with wallpaper in screen locking application, therefore, for the wallpaper selection layer of user interface, after screen locking application is activated, just can directly show this wallpaper, like this, because the background of the screen locking layer being positioned at upper strata is transparent, user can see the picture that the wallpaper being arranged in lower floor selects layer to demonstrate, therefore, just wallpaper can be selected the picture shown in layer directly as wallpaper.In other words, under this implementation, select layer jointly to coordinate by screen locking layer and wallpaper, demonstrate screen locking and the various information and wallpaper picture that provide are provided.
Or, under another kind of implementation, the background of screen locking layer may not be transparent, but be directly set to the wallpaper picture of screen locking application, now, be equivalent to demonstrate screen locking by means of only screen locking layer and apply the various information and wallpaper picture that provide, wallpaper selects layer to be positioned at lower floor, now, user temporarily cannot see that layer is selected in screen locking.
S102: when receiving the first operational order, hides described screen locking layer, shows described wallpaper and selects layer;
Under the state demonstrating screen locking layer, can receive the operational order that user sends, if meet preset rule, then screen locking layer can be hidden, the wallpaper being positioned at its lower floor like this selects layer to be completely demonstrated out.Wherein, about the first operational order, can input in a variety of forms, such as, can be perform double click operation in the optional position of touch screen user interface, or, click the operation entries such as the button that user interface provides, or can also be under the state demonstrating screen locking layer, rock the instruction that mobile terminal is inputted by gravity sensor, can also be the instruction of other sensors input, as the instruction of the signal such as light sensor, magnetic force induction input.In a word, after receiving the first operational order meeting presetting rule, just the display properties of screen locking layer can be set to hide, like this, because wallpaper selects layer by the lower floor be pre-created at screen locking layer, therefore, after screen locking layer is hidden, wallpaper selects layer just can show.Certainly, when the background of aforementioned screen locking layer is transparent, hides the process of screen locking layer and in fact exactly the various information provided are applied in screen locking and first hide, now, wallpaper selection layer is from being at least partially obscured to become and all showing before.Under the background of screen locking layer is opaque situation, hiding the process of screen locking layer is screen locking apply the background picture Hide All in the various information and screen locking layer that provide, and now wallpaper selection layer is blocked to become from before whole and all shows.
S103: the preview provided in layer optional picture being provided at described wallpaper, when receiving the second operational order, optional picture being switched;
The object of layer selected by display wallpaper, is can select to provide the preview to optional picture in layer at wallpaper.Wherein, so-called optional picture is exactly the picture that can be used as screen locking application wallpaper.Which picture concrete is optional picture, can pre-set.Such as, can be all pictures in certain file preassigned, when showing second contact surface, read concrete image data in the file just can specified to this and be presented in second contact surface, so just can provide the preview of picture for user, certainly, can also arrange by other means.Certainly, optional picture generally has several, in order to user can be allowed also all to carry out preview to other optional pictures, by selecting at wallpaper the second operational order receiving user in layer, can also carry out the switching of optional picture.Wherein, concrete specified folder can be screen locking application default setting, or also can be specified by user, about the picture in specified folder, it can be the photo etc. that mobile terminal device this locality is preserved, or can also be the picture that external connection of storage card is preserved, can also be the picture be saved in after the picture that network is downloaded on this locality or external connection of storage card in addition, etc.Wherein, select files in the configuration interface that user can apply in screen locking folder and concrete picture file.After selected picture file, screen locking application can also carry out pre-service to picture, such as, according to the requirement of wallpaper picture, carries out cutting etc. to the picture that user selectes, or can also increase some other display effect etc.
During specific implementation, for the ease of realizing above-mentioned process of carrying out switching between different optional pictures, can screen locking application when being activated in step S101, first the information (storing path, title etc. as picture) of preset optional picture file is loaded in array, and in array, optional picture is sorted, like this, when receiving second operational order of user, just can according to the order of each the optional picture preserved in array, control the position of array pointed, to realize the switching to optional picture.Wherein, stating the second operational order can be that user passes through left and right or slides up and down the instruction that the modes such as touch screen input, can also be rock the instruction that mobile terminal inputted by gravity sensor, can also be the instruction of other sensors input, as the instruction by the input such as light sensor, magnetic force induction device.
It should be noted that, when the background of screen locking layer is transparent, before hiding at screen locking layer, wallpaper is selected to have shown the wallpaper picture before screen locking application in layer, therefore, after screen locking layer is hidden, the wallpaper picture that what acquiescence display in layer selected by wallpaper is before screen locking application, accordingly, also can directly carry out from this picture the preview of optional picture.
And in the opaque situation of the background of screen locking layer, when entering wallpaper selection layer and providing the preview to optional picture, can be from being arranged in primary optional picture, that is, demonstrate wallpaper and select after layer being hidden by screen locking layer, user is first it is seen that sequence is primary optional picture.Afterwards, user can by modes such as slip screens to the right, indicates successively to be switched to next Zhang Kexuan picture and to carry out preview.But in actual applications, when entering wallpaper selection layer and providing the preview to optional picture, still can first select show current wallpaper picture in layer at wallpaper, that is, preview can be provided from current wallpaper picture.Like this, when can make to be switched to wallpaper selection layer display from screen locking layer, interface display effect is more smooth, allows user obtain better experience.
S104: receive the 3rd operational order selecting the current alternative picture in layer for described wallpaper, wallpaper picture is replaced by described current alternative picture.
When wallpaper is selected to show certain optional picture in layer, if receive the 3rd operational order, then show that user needs this optional picture to be set to the wallpaper of screen locking application, therefore, wallpaper picture can be replaced by current alternative picture.
Preferably, also after complete wallpaper is changed, screen locking layer can again be demonstrated.Wherein, if the background of screen locking layer is transparent, then demonstrating screen locking layer is exactly demonstrate screen locking to apply the various information provided, simultaneously, wallpaper selects the current alternative picture shown in layer just directly as the wallpaper picture of screen locking application, can realize the effect that wallpaper is changed.If the background of screen locking layer is not transparent, then while demonstrating the various information in screen locking layer, also need notice screen locking layer that background picture is replaced by current alternative picture, the background picture that such user sees in screen locking layer is exactly the wallpaper picture after changing, thus completes the replacing to screen locking application wallpaper.Obviously, in terms of existing technologies, the process of replacing is more convenient.
It should be noted that, can be change the wallpaper of screen locking application when the screen locking wallpaper in the embodiment of the present application changes, also can be change the wallpaper that operating system carries.In actual applications, if need synchronously to change the wallpaper that operating system carries, screen locking application can when getting user right, and the interface of call operation system, realizes the synchronous change to operating system wallpaper.
In order to understand the technical scheme that the embodiment of the present application provides better, below by the example in a practical application and in conjunction with concrete interface display effect, to the introduction that the embodiment of the present application is carried out specifically.
See Fig. 2, this example is opaque for the background of screen locking layer, and the method for concrete change screen locking application wallpaper can comprise the following steps:
S201: during screen locking application start, is loaded in array by the information of the picture under specified folder, forms wallpaper page layer (corresponding aforementioned second contact surface);
S202: control wallpaper and select layer default hidden under screen locking layer (corresponding aforementioned first interface);
See Fig. 3-1, its for screen locking application be activated time, the screen locking layer first shown, visible, wherein show time, date, Weather information etc., also use a wallpaper picture simultaneously, the background picture also namely in Fig. 3-1 after above-mentioned information.
S203: receive the first operational order (such as, by user's double click operation, the first operational order by touch-screen input) at screen locking layer, hides screen locking layer, represents wallpaper and selects layer;
S204: wallpaper selects layer by knowing the wallpaper picture used at that time of screen locking layer, and by array pointer mode, selected by wallpaper the acquiescence exhibiting pictures of layer to keep consistent with the wallpaper picture that screen locking layer used at that time;
If user performs the operations such as double-click on screen locking layer, then can demonstrate wallpaper and select layer, see Fig. 3-2, visible, the picture wherein giving tacit consent to display is identical with the wallpaper picture in Fig. 3-1, certainly, wherein no longer comprises the information such as time, date.
S205: select layer receives the second operational order (such as at wallpaper, user to be horizontally slipped gesture by touch screen or light sensor etc., or rock mobile phone etc., the second operational order inputted as touch screen or light sensor, gravity sensor etc. by the input media of correspondence), by controlling the position of array pointer, realize the effect of level and smooth other optional pictures of mobile preview;
Under the state of Fig. 3-2, if user performs gesture of sliding to the right, then can be switched to next Zhang Kexuan picture.See Fig. 3-3 and Fig. 3-4, visible, the first picture that the picture selecting layer to show wallpaper shows from Fig. 3-2, is switched to the second picture that Fig. 3-4 shows, and in Fig. 3-3, display is certain state from the process that second picture switches thought by the first picture.
S206: select layer receives the 3rd operational order (such as at wallpaper, user is by double-clicking touch screen etc., or rock mobile phone etc., the 3rd operational order is inputted) by input media such as touch screen, the gravity sensor etc. of correspondence, notice screen locking layer needs the picture of use pointed by current pointer as wallpaper, again screen locking layer is shown again, cover wallpaper and select on layer.
Suppose that user needs using this picture as wallpaper picture, then can again perform the operations such as double-click, and like this, screen locking layer will show again, and wallpaper is replaced by above-mentioned second picture after the second picture being switched to above-mentioned Fig. 3-4 display.See Fig. 3-5, owing to again showing the information such as time, date, therefore prove the screen locking layer shown, but contrast visible with Fig. 3-1, wallpaper picture is transformed to second picture by the first picture.
In a word, in the embodiment of the present application, directly under screen lock state, just can complete the change to screen locking application wallpaper, facilitate the operation of user.
The method of the replacing screen locking application wallpaper provided with the embodiment of the present application relative to, the embodiment of the present application additionally provides a kind of device changing screen locking application wallpaper, and see Fig. 4, this device can comprise:
User interface display unit 401, for providing a display user interface, described user interface has preset wallpaper picture, and described user interface comprises the screen locking layer being positioned at upper strata, and layer selected by the wallpaper being positioned at lower floor; Described screen locking layer is for showing the information provided under screen locking is applied in screen lock state;
Switching display unit 402, during for receiving the first operational order, hides described screen locking layer, shows described wallpaper and selects layer;
Preview switch unit 403, for providing the preview to optional picture at described wallpaper selection layer, when receiving the second operational order, switches optional picture;
Change unit 404, for receive select layer to demonstrate the 3rd operational order of current alternative picture for described wallpaper time, wallpaper picture is replaced by described current alternative picture.
Wherein, the background of described screen locking layer can be transparent, when screen locking application is activated, selects the described preset wallpaper picture of layer display at described wallpaper;
Described switching display unit 402 specifically for:
When receiving the first operational order, hide the information provided under the screen locking shown in described screen locking layer is applied in screen lock state.
Described replacing unit 404 specifically for:
Receive select layer to demonstrate the 3rd operational order of current alternative picture for described wallpaper time, demonstrate the information provided under screen locking that screen locking layer need show is applied in screen lock state, the current alternative picture selecting layer to demonstrate described wallpaper is as the wallpaper picture after changing.
Or the background of described screen locking layer is the wallpaper picture of described user interface;
Described switching display unit 402 specifically for:
When receiving the first operational order, the information provided under the screen locking shown in hiding described screen locking layer is applied in screen lock state and wallpaper picture as a setting.
Described replacing unit 404 specifically for:
Receiving the 3rd operational order demonstrating current alternative picture for described wallpaper selection layer, the information provided under screen locking that screen locking layer need show is applied in screen lock state is then provided, and the background picture of described screen locking layer is replaced by described current alternative picture.
In addition, in order to make to have more smooth effect when selecting layer to switch from screen locking layer to wallpaper, this device can also comprise:
Current wallpaper acquiring unit, for described receive the first operational order time, obtain the wallpaper picture of current use in described screen locking layer, the described current wallpaper picture used is one of described optional picture;
Described preview switch unit 403 specifically may be used for:
When screen locking layer being hidden afterwards and demonstrate wallpaper selection layer, select from the described current wallpaper picture used, to provide preview in layer at wallpaper.
During specific implementation, this device can also comprise:
Array loading unit, for described when screen locking application is activated, be loaded into the information of preset optional picture file in array, and in described array, sorted by described optional picture;
Now, described preview switch unit 403 specifically may be used for:
When receiving the second operational order, according to the order of each the optional picture preserved in described array, control the position of array pointed, to realize the switching to optional picture.
Wherein, described array loading unit specifically may be used for:
The information of the picture file in mobile terminal device specified folder is loaded in array.
Described specified folder comprises the file that the file of acquiescence or user specify.
In a word, in the embodiment of the present application, double-layer structure can be provided in the main interface of screen locking application, comprise the screen locking layer being positioned at upper strata, and layer selected by the wallpaper being positioned at lower floor, under screen lock state, just according to the operational order of user, this wallpaper can be demonstrated and selects layer, and the preview to optional picture is provided in this wallpaper selection layer, and when user selectes certain picture, can directly switch back screen locking layer, and picture user selected changes to the wallpaper of screen locking application.Efficient wallpaper replacement operation can be realized like this, in terms of existing technologies, more convenient.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that the application can add required general hardware platform by software and realizes.Based on such understanding, the technical scheme of the application can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the application or embodiment.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for system or system embodiment, because it is substantially similar to embodiment of the method, so describe fairly simple, relevant part illustrates see the part of embodiment of the method.System described above and system embodiment are only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
Above to method and the device of the replacing screen locking application wallpaper that the application provides, be described in detail, apply specific case herein to set forth the principle of the application and embodiment, the explanation of above embodiment is just for helping method and the core concept thereof of understanding the application; Meanwhile, for one of ordinary skill in the art, according to the thought of the application, all will change in specific embodiments and applications.In sum, this description should not be construed as the restriction to the application.