Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present inventionIn accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment isThe a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the artThe every other embodiment obtained under not making creative work premise, broadly falls into the scope of protection of the invention.
Technical scheme is mainly used in electronic equipment, and electronic equipment may refer to mobile phone, panel computer etc.Portable mobile apparatus, electronic equipment includes Touch Screen, and user can pass through touch control operation in Touch Screen, it is achieved to electricityThe control of subset.
Desktop wallpaper in the embodiment of the present invention, for showing as other background images showing contents in desktopShow.Other display contents can be such as the application icon etc. of each application.
Desktop wallpaper can be the locally stored picture of electronic equipment or picture etc. that network provides.
In order to solve the troublesome operation of prior art desktop wallpaper switching, inventor researchs and proposes the present invention through a series ofTechnical scheme, in embodiments of the present invention, the desktop at described electronic equipment is under editing mode, detects what user performedDuring the first predetermined registration operation, generate wallpaper switching command;Respond described wallpaper switching command, obtain and update wallpaper;By described desktopCurrent desktop wallpaper switch to described renewal wallpaper.The embodiment of the present invention i.e. can realize the quick of wallpaper in current desktopSwitching, it is not necessary to enter and perform in wallpaper application loaded down with trivial details to arrange action, therefore simplify wallpaper handover operation, improve wallpaper and cutChange efficiency.
Fig. 1 is the flow chart of a kind of one embodiment of desktop wallpaper changing method that the embodiment of the present invention provides, the methodCan include following step:
101: the desktop at electronic equipment is under editing mode, when the first predetermined registration operation that user performs being detected, rawBecome wallpaper switching command.
Wherein, electronic equipment can include detector unit, and this detector unit can be such as the sensing parts such as sensor, logicalCross detector unit and i.e. can detect the first predetermined registration operation that user performs in the electronic device.This first predetermined registration operation is the most permissibleIt is slide, touch control operation or the operation etc. of operating physical button.
In the present embodiment, the desktop of electronic equipment has display state and editing mode.Display state and editor's shapeState can switch over according to user operation.When electronic equipment output desktop, desktop may be at display state.
When desktop is in editing mode, when the second predetermined registration operation that user performs being detected, first state that generates is cutChange instruction;By responding described first status switching instruction, the state of described desktop can be switched to from described editing modeDescribed display state.
When desktop at described electronic equipment is in described display state, when the 3rd predetermined registration operation detecting that user performsTime, generate the second status switching instruction;By responding described second status switching instruction, by the state of described desktop from described volumeThe state of collecting switches to described display state.
This second predetermined registration operation can be such as the clicking operation that the touch-control time is more than preset duration within display screen, orPerson's touch-control pressure operates more than heavily pressing of preset pressure, or double click operation etc..It is, of course, also possible to be to operate specific physical buttonOperation etc..
3rd predetermined registration operation can be such as the clicking operation that the touch-control time is more than preset duration within display screen, orPerson's touch-control pressure operates more than heavily pressing of preset pressure, or double click operation etc..It is, of course, also possible to be to operate specific physical buttonOperation etc..
Under display state, may operate in the application icon of display in desktop, to open the application of correspondence, such that it is able toExport the display interface etc. of application within display screen.
When desktop is divided into multiple screen page, under display state, it is also possible to carry out the switching between screen page.
And under editing mode, can be to the content of display in desktop, such as application icon carries out edit operation, such as, moveDynamic, deletion etc..Further, it is also possible under editing mode, by deleting application icon, and unload the application of correspondence.Therefore conductAnother embodiment, at described desktop for showing each application icon applied;It is in described editing mode at described desktopTime, described method also includes:
When user being detected for the deletion action of arbitrary application icon, generate and delete instruction;
Respond described deletion to instruct, described electronic equipment unloads the application that described application icon is corresponding.
102: respond described wallpaper switching command, obtain and update wallpaper.
When desktop is in editing mode, when detecting that user performs the first predetermined registration operation, i.e. can generate wallpaper and cutChange instruction, respond described wallpaper switching command, renewal wallpaper can be obtained.
Wherein, described renewal wallpaper can be to select from wallpaper picture library, or selects from electronic equipment storage picture,Or download from network and obtain.
Certainly, updating wallpaper can be the picture associated with current desktop wallpaper, such as, be stored in current desktop wallpaperTogether, and according to storage order the pictures adjacent with current desktop wallpaper selected.
103: the current desktop wallpaper of described desktop is switched to described renewal wallpaper.
Described renewal wallpaper i.e. as current desktop wallpaper, can continue executing with the operation of step 103.Such that it is able to realizeThe continuous switching etc. of wallpaper.
In the present embodiment, by desktop is switched to editing mode, when the first predetermined registration operation that user performs being detected,Current desktop wallpaper i.e. can switch to renewal wallpaper, renewal wallpaper, i.e. as current desktop wallpaper, continue to detect firstDuring predetermined registration operation, it is possible to achieve the continuous switching of wallpaper.The present embodiment i.e. can realize being switched fast of wallpaper, nothing in desktopNeed to enter in wallpaper application and perform the loaded down with trivial details action that arranges, the renewal wallpaper switched each time all can be can be visually seen by user,Therefore simplify wallpaper handover operation, improve wallpaper switching efficiency, and improve Consumer's Experience.
Wherein, as another embodiment, described response described wallpaper switching command, obtain renewal wallpaper and include:
Respond described wallpaper switching command, call wallpaper application, and from described wallpaper is applied, obtain renewal wallpaper.
Desktop application can be set up with wallpaper application and associate, and desktop application can be called wallpaper by calling interface and apply,Trigger wallpaper application and search the renewal wallpaper different from current desktop wallpaper, thus i.e. can obtain from wallpaper is applied and update wallPaper.
Technical solution of the present invention is illustrated by the example below in conjunction with an actual application.As described in Fig. 2 a, it is onePlanting desktop display schematic diagram, show multiple application icon 201 in desktop 20, desktop wallpaper 202 is as multiple application icons 201Background image (i.e. wallpaper).In Fig. 2 a, desktop is in display state, when three predetermined registration operation that user performs being detected, permissibleBy desktop switching editing mode as described in Figure.In editing mode, each application icon can be provided with editor's mark 30.
When the first predetermined registration operation that user performs being detected, such as specific slide, can be at described desktop 20In, current desktop wallpaper 202 is switched to renewal wallpaper 203, as illustrated in fig. 2 c.
When the second predetermined registration operation that user performs being detected, desktop can be switched back into display state, now desktop wallPaper i.e. switches to renewal wallpaper 203, as shown in Figure 2 d.
Certainly, when the desktop of electronic equipment is in editing mode, current desktop wallpaper 202 switches to renewal wallpaper 203Afterwards, renewal wallpaper 203 is i.e. as current desktop wallpaper 202, and electronic equipment can continue to detect the first of user's execution to be presetOperation, thus proceed wallpaper switching, it is possible to achieve the continuous switching of wallpaper, in Fig. 2 e, current desktop wallpaper switches toUpdate wallpaper 204.
Wherein, as another embodiment, described first predetermined registration operation can be the cunning performed in described display screenDynamic operation, as shown in figure 2b;
Described response described wallpaper switching command, obtains renewal wallpaper and includes:
When the glide direction of described first predetermined registration operation is the first preset direction, obtain adjacent with current desktop wallpaperA rear desktop wallpaper, as updating wallpaper;Concrete can be to call wallpaper application, with current desktop in acquisition wallpaper applicationThe rear desktop wallpaper that wallpaper is adjacent, as updating wallpaper;
When the glide direction of described first predetermined registration operation is the second preset direction, obtain adjacent with current desktop wallpaperPrevious desktop wallpaper, as update wallpaper.Concrete can be to call wallpaper application, with front desktop in acquisition wallpaper applicationPrevious the desktop wallpaper that wallpaper is adjacent, as updating wallpaper.
Wherein, the first preset direction and the second preset direction can be contrary both direction, and such as first presets sideTo and the second preset direction can be respectively left and right two rightabouts, or upper and lower two rightabouts.
When the first preset direction and the second preset direction are contrary, can be at the first preset direction and the second preset directionAngle more than or equal to 90 degree and be less than or equal to 270 degree time, i.e. it is believed that the first preset direction and the second preset direction are contrary.
Wherein said slide can be the slide including multiple sliding trace, namely each of slideSliding position all includes multiple position of touch.In actual applications, the described behaviour that slides can be formed by the way of referring to slip moreMake.
Update wallpaper with current desktop wallpaper in wallpaper is applied, be to store according to certain storage order, or oneSurely put in order and arrange.Such that it is able to according to glide direction, can be with previous of current desktop wallpaper or a rear desktopWallpaper, as updating wallpaper.
As another embodiment, when the described desktop at described electronic equipment is in editing mode, detect that user holdsDuring the first predetermined registration operation gone, generate wallpaper switching command and may include that
Under described editing mode, at the predeterminable area output switching control of described display screen;
When the first predetermined registration operation that user performs being detected for described toggle control, generate wallpaper switching command.
This toggle control can include the first child control and the second child control.As shown in Fig. 2 f, toggle control 30 is wrappedInclude the first child control 31 and the second child control 32.
It is, time user performs for described first child control, to obtain and current desktop wallpaper in described first predetermined registration operationAn adjacent rear desktop wallpaper, as updating wallpaper;Concrete can be to call wallpaper application, obtains in wallpaper application with frontPrevious the desktop wallpaper that desktop wallpaper is adjacent, as updating wallpaper.
It is, time user performs for described second child control, to obtain and current desktop wall in described first predetermined registration operationPrevious the desktop wallpaper that paper is adjacent, as updating wallpaper.Concrete can be to call wallpaper application, obtain in wallpaper application withPrevious the desktop wallpaper that front desktop wallpaper is adjacent, as updating wallpaper.
Wherein, as another embodiment, when the described desktop at described electronic equipment is in editing mode, use is detectedDuring the first predetermined registration operation that family performs, generate wallpaper switching command and may include that
Under described editing mode, detect that user is for first of the predetermined physical button execution in described electronic equipmentDuring predetermined registration operation, generate wallpaper switching command.
This predetermined physical button can include the first sub-button and the second sub-button.This predetermined physical button can be with soundAmount controls key-press sharing, can be i.e. the volume control button in electronic equipment, and the first sub-button can be volume control buttonIn " volume+" button, the second sub-button can be " volume-" button in volume control button.Certainly predetermined physical button is alsoCan be the button being independently arranged at electronic equipment, including the sub-button of first to the left and the second sub-button to the right, orIncluding the sub-button of first upwards or the second downward sub-button.First sub-button and the second sub-button can independently setPut, it is also possible to integrate.
It is, time user performs for described first sub-button, to obtain and current desktop wallpaper in described first predetermined registration operationAn adjacent rear desktop wallpaper, as updating wallpaper;Concrete can be to call wallpaper application, obtains in wallpaper application with frontPrevious the desktop wallpaper that desktop wallpaper is adjacent, as updating wallpaper.
It is, time user performs for described second sub-button, to obtain and current desktop wallpaper in described first predetermined registration operationPrevious adjacent desktop wallpaper, as updating wallpaper.Concrete can be to call wallpaper application, obtains in wallpaper application with frontPrevious the desktop wallpaper that desktop wallpaper is adjacent, as updating wallpaper.
By the embodiment of the present invention, desktop is switched to editing mode, what user performed the first predetermined registration operation detectedTime, i.e. current desktop wallpaper can be switched over, switch to renewal wallpaper, wallpaper will be updated as current desktop wallpaper, useWhen family continues executing with the first predetermined registration operation, when continuing to detect the first predetermined registration operation, current desktop wallpaper can be proceededSwitching, it is achieved thereby that the continuous switching of wallpaper, i.e. can realize being switched fast of wallpaper, it is not necessary to entering wallpaper should in desktopWith middle execution loaded down with trivial details action is set, the renewal wallpaper switched each time all can be can be visually seen by user, therefore simplifies wallPaper handover operation, improves wallpaper switching efficiency, and improves Consumer's Experience.
The structural representation of a kind of one embodiment of desktop wallpaper switching device that Fig. 3 provides for the embodiment of the present invention, shouldDevice may include that
First detection module 301, for when the desktop of described electronic equipment is in editing mode, detects that user performsThe first predetermined registration operation time, generate wallpaper switching command.
In the present embodiment, the desktop of electronic equipment has display state and editing mode.Display state and editor's shapeState can switch over according to user operation.When electronic equipment output desktop, desktop may be at display state.
Accordingly, as another embodiment, this device can also include:
Second detection module, for when the desktop of described electronic equipment is in editing mode, when detecting that user performsThe second predetermined registration operation time, generate the first status switching instruction;
First handover module, for switching to described display state by the state of described desktop from described editing mode;
3rd detection module, for when the desktop of described electronic equipment is in described display state, when user being detectedThe 3rd predetermined registration operation performed, generates the second status switching instruction;
Second handover module, is used for responding described second status switching instruction, by the state of described desktop from described displayState switches to described editing mode.
This second predetermined registration operation can be such as the clicking operation that the touch-control time is more than preset duration within display screen, orPerson's touch-control pressure operates more than heavily pressing of preset pressure, or double click operation etc..It is, of course, also possible to be to operate specific physical buttonOperation etc..
3rd predetermined registration operation can be such as the clicking operation that the touch-control time is more than preset duration within display screen, orPerson's touch-control pressure operates more than heavily pressing of preset pressure, or double click operation etc..It is, of course, also possible to be to operate specific physical buttonOperation etc..
Under editing mode, can be to the content of display in desktop, such as application icon carries out edit operation, such as, movesDynamic, deletion etc..Further, it is also possible under editing mode, by deleting application icon, and unload the application of correspondence.
Therefore as another embodiment, at described desktop for showing each application icon applied;Returning apparatus also may be usedTo include processing module, for when described desktop is in described editing mode, detect that user is for arbitrary application iconDuring deletion action, generate and delete instruction;Respond described deletion to instruct, described electronic equipment unloads described application icon correspondingApplication.
Wallpaper acquisition module 302, is used for responding described wallpaper switching command, obtains and updates wallpaper.
Wallpaper handover module 303, for switching to described renewal wallpaper by the current desktop wallpaper of described desktop.
When desktop is in editing mode, by performing the first predetermined registration operation, wallpaper switching command i.e. can be generated, thusBy responding described wallpaper switching command, renewal wallpaper can be obtained.
Wherein, described renewal wallpaper can be to select from wallpaper picture library, or selects from electronic equipment storage picture,Or download from network and obtain.
Certainly, updating wallpaper can be the picture associated with current desktop wallpaper, such as, be stored in current desktop wallpaperTogether, and according to storage order the pictures adjacent with current desktop wallpaper selected.
After the current desktop wallpaper of described desktop is switched to described renewal wallpaper by wallpaper handover module 302, it is also possible toTriggering first detection module 301 to continue executing with, the most described renewal wallpaper is i.e. as current desktop wallpaper.
In the present embodiment, by desktop is switched to editing mode, when the first predetermined registration operation that user performs being detected,Current desktop wallpaper i.e. can be switched to renewal wallpaper, update wallpaper i.e. as current desktop wallpaper, continue detection first pre-If operation, such that it is able to realize the continuous switching of wallpaper, desktop i.e. can realize being switched fast of wallpaper, it is not necessary to enter wallPerforming the loaded down with trivial details action that arranges in paper application, the renewal wallpaper switched each time all can be can be visually seen by user, therefore simplifiesWallpaper handover operation, improves wallpaper switching efficiency, and improves Consumer's Experience.
Wherein, as another embodiment, described wallpaper acquisition module can be specifically for:
Respond described wallpaper switching command, call wallpaper application, and from described wallpaper is applied, obtain renewal wallpaper.
Namely the application of desktop application and wallpaper can set up and associate, desktop application can call wallpaper by calling interface shouldWith, trigger wallpaper application and search the renewal wallpaper different from current desktop wallpaper, thus i.e. can obtain more from wallpaper is appliedNew wallpaper.
Wherein, as another embodiment, described first predetermined registration operation can be the cunning performed in described display screenDynamic operation;
Described wallpaper acquisition module can be specifically for:
When the glide direction of described first predetermined registration operation is the first preset direction, obtain adjacent with current desktop wallpaperNext desktop wallpaper, as updating wallpaper;
When the glide direction of described first predetermined registration operation is the second preset direction, obtain adjacent with current desktop wallpaperPrevious desktop wallpaper, as updating wallpaper.
Update wallpaper to store according to certain storage order with current desktop wallpaper, or the necessarily row of putting in orderRow.Such that it is able to according to glide direction, can be with previous of current desktop wallpaper or a rear desktop wallpaper, as updating wallPaper.
As another embodiment, described device can also include:
Output module, under described editing mode, at the predeterminable area output switching control of described display screen;
Described first detection module can be specifically for:
When the first predetermined registration operation that user performs being detected for described toggle control, generate wallpaper switching command.
This toggle control can include the first child control and the second child control.
Described wallpaper acquisition module can be specifically for:
It is, time user performs for described first child control, to obtain and current desktop wall in described first predetermined registration operationThe rear desktop wallpaper that paper is adjacent, as updating wallpaper;
It is, time user performs for described second child control, to obtain and current desktop wallpaper in described first predetermined registration operationPrevious adjacent desktop wallpaper, as updating wallpaper.
Wherein, as another embodiment, described first detection module can be specifically for:
Under described editing mode, detect that user is for first of the predetermined physical button execution in described electronic equipmentDuring predetermined registration operation, generate wallpaper switching command.
This predetermined physical button can include the first sub-button and the second sub-button.This predetermined physical button can be i.e.Volume control button etc. in electronic equipment.
The most described wallpaper acquisition module can be specifically for:
It is, time user performs for described first sub-button, to obtain and current desktop wallpaper in described first predetermined registration operationAn adjacent rear desktop wallpaper, as updating wallpaper;
It is, time user performs for described second sub-button, to obtain and current desktop wallpaper in described first predetermined registration operationPrevious adjacent desktop wallpaper, as updating wallpaper.
By the embodiment of the present invention, desktop is switched to editing mode, perform the first predetermined registration operation, i.e. can be by current tableSurface wallpaper switches to renewal wallpaper, renewal wallpaper i.e. as current desktop wallpaper, can continue to detect the first predetermined registration operation, thusThe continuous switching of wallpaper can be realized, desktop i.e. can realize being switched fast of wallpaper, it is not necessary to enter in wallpaper application and holdWhat row was loaded down with trivial details arranges action, and the renewal wallpaper switched each time all can be can be visually seen by user, therefore simplifies wallpaper switchingOperation, improves wallpaper switching efficiency, and improves Consumer's Experience.
Device embodiment described above is only schematically, and the wherein said unit illustrated as separating component canTo be or to may not be physically separate, the parts shown as unit can be or may not be physics listUnit, i.e. may be located at a place, or can also be distributed on multiple NE.Can be selected it according to the actual needsIn some or all of module realize the purpose of the present embodiment scheme.Those of ordinary skill in the art are not paying creativenessWork in the case of, be i.e. appreciated that and implement.
Through the above description of the embodiments, those skilled in the art it can be understood that to each embodiment canThe mode adding required general hardware platform by software realizes, naturally it is also possible to pass through hardware.Based on such understanding, onState the part that prior art contributes by technical scheme the most in other words to embody with the form of software product, shouldComputer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including some fingersMake with so that a computer equipment (can be personal computer, server, or the network equipment etc.) performs each and implementsThe method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, it is not intended to limit;AlthoughWith reference to previous embodiment, the present invention is described in detail, it will be understood by those within the art that: it still may be usedSo that the technical scheme described in foregoing embodiments to be modified, or wherein portion of techniques feature is carried out equivalent;And these amendment or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit andScope.