Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The embodiment of the present invention is sorted out operation by the large figure preview interface at image to image, thereby can in photograph album, directly to image, sort out operation, and can in the process of graphic collection operation, know the photo of checking while sorting out, improve thus convenient degree and the accuracy of operation, promoted user's operating experience.
In embodiments of the present invention, what carries out image classification operated can be for having each electronic product of image preview function, and for example, smart mobile phone, panel computer, palm PC, iPod, mp3, mp4 etc., do not limit one by one at this; Image can be all kinds of figures and image that can preview, and for example, picture, icon, animation, video etc., do not limit one by one at this; Picture format can be BMP, TIFF, EPS, JPEG, GIF, PSD etc., at this, does not limit one by one.
Fig. 1 shows the realization flow of the graphic collection method that the embodiment of the present invention provides, and details are as follows:
In step S101, generate the large figure preview interface of described image.
In embodiments of the present invention, receive and check image instruction, the large figure preview interface of synthetic image.
In step S102, receive graphic collection instruction, in the large figure preview interface of described image, synthetic image is sorted out menu, and described graphic collection menu can be for the classification of graphic collection for showing.
Arranging in menu in the large figure preview interface of image, is provided with graphic collection button, so that user sorts out instruction by this graphic collection button input picture.Receive graphic collection instruction, in the large figure preview interface of image, synthetic image is sorted out menu, enters graphic collection interface.Here, graphic collection interface refers to the large figure preview interface that comprises graphic collection menu.
Fig. 2 shows the exemplary plot at graphic collection interface in the graphic collection method that the embodiment of the present invention provides.
It should be noted that, Fig. 2 is wherein a kind of exemplary plot at graphic collection interface.In practical operation, graphic collection menu can be positioned at upside or the downside at graphic collection interface, and each can be transversely arranged for the classification of graphic collection; Also can be positioned at left side or the right side at graphic collection interface, each can be longitudinal arrangement for the classification of graphic collection.At this, the position of graphic collection menu is not limited.
Preferably, before the large figure preview interface of the described image of described generation, described method also comprises:
Receive and add classification instruction, generate the described classification that can supply graphic collection;
Generate the described absolute path that can supply the classification of graphic collection;
In described graphic collection menu, generate the described operational controls corresponding to classification that can supply graphic collection.
In embodiments of the present invention, once receive, add classification instruction, just call immediately file manager and add classification API(Application Programming Interface, application programming interface).Can add 1 here, and can, for the classification of graphic collection, also can add a plurality of classifications for graphic collection.
In embodiments of the present invention, can automatically generate the absolute path of classification of Gong the graphic collection of new interpolation, also can provide absolute path dialog box is set, with when receiving the instruction of interpolation classification, export this absolute path dialog box is set, make user, by this, input of absolute path dialog box is set absolute path instruction is set, the absolute path of the classification of new interpolation is set.
Alternatively, provide class name dialog box is set, with when receiving the instruction of interpolation classification, export this class name dialog box is set, so that user is by this class name dialog box input class name.For example, the class name of the classification of 3 new Gong graphic collections that add is set to respectively to " file 2 " " file 3 " and " file 4 ".It should be noted that, if do not receive class name instruction is set, automatically with " new folder N ", name the classification of Gong the graphic collection of this new interpolation.The numerical value of N is the classification number of called after " new folder N " decision automatically in the upper level catalogue of the absolute path of the classification of Gong the graphic collection of this new interpolation, and N is that the classification number of called after " new folder N " adds 1.
It should be noted that, classification is corresponding one by one with absolute path.That is, a corresponding absolute path of classification, a corresponding classification of absolute path.
In embodiments of the present invention, in graphic collection menu, the absolute path of Display Category, does not generate the described operational controls corresponding to classification that can supply graphic collection.Here, operational controls can following form show: can supply the class name of the classification of graphic collection as each, also can be for supplying the breviary preview graph of image in the classification of graphic collection, also can for class name and this can be for the combination of image breviary preview graph in the classification of graphic collection, in this no limit.
Alternatively, in graphic collection menu, before other operational controls of primitive class is presented at, then show the operational controls that other can supply the classification of graphic collection.Here, original classification refers to the classification at the current place of present image.
Preferably, described method also comprises:
Receive and delete classification instruction, delete the described absolute path that can supply the classification of graphic collection;
In described graphic collection menu, delete the described operational controls corresponding to classification that can supply graphic collection.
In embodiments of the present invention, alternatively, at each, can provide respectively delete button in the classification of graphic collection, so that user deletes classification instruction by this delete button input.Once receive the instruction of deletion classification, just call immediately file manager and delete classification API, delete absolute path and the operational controls of this classification that can supply graphic collection in graphic collection menu of this classification that can supply graphic collection.
In step S103, detect selected classification, by described graphic collection in described selected classification.
Further, the selected classification of described detection is specially:
Detect the described instruction that can receive for the operational controls of the classification of graphic collection.
In embodiments of the present invention, the mode that can make user pass through clicking operation control is inputted the selected instruction of classification, also can make user to the mode of the operational controls of selected classification, input the selected instruction of classification by drag image, in this no limit.
Alternatively, the operation of the graphic collection in the embodiment of the present invention can be shearing manipulation.That is to say, by this graphic collection, operate, image is moved in selected classification, the absolute path of image is changed into corresponding absolute path under selected classification.
Alternatively, the operation of the graphic collection in the embodiment of the present invention can be replicate run.That is to say, by this graphic collection, operate, by copying image, in selected classification, image has respectively two absolute path in original classification and selected classification.In original classification, this image being carried out to any operation does not affect this image in selected classification, and in selected classification, this image being carried out to any operation does not affect this image in original classification.
Alternatively, the operation of the graphic collection in the embodiment of the present invention can be referencing operation.That is to say, by this graphic collection, operate, image is referred in selected classification, the absolute path invariant position of image.In selected classification, delete this image, do not delete this image in original classification; In original classification, delete this image, this image in selected classification is also deleted.This image of classification inediting selected, for example, carry out cutting, beautify operation, and this image in original classification is also carried out this operation; At original this image of classification inediting, for example carry out cutting, beautify operation, this image in selected classification is also carried out this operation.
Preferably, after the step S103 of described graphic collection method, also comprise:
The large figure preview interface of described image jumps to the large figure preview interface of next image automatically.
In embodiments of the present invention, by graphic collection, to after in selected classification, current interface jumps to the large figure preview interface of next image automatically.It should be noted that, next image refers in this photograph album that, by the next image of the original tactic present image of photograph album, in photograph album, putting in order of image can be arranged by name, also can arrange in chronological order, in this no limit.If present image is last image of this photograph album, can automatically jump to the large figure preview interface of first image of this photograph album, also can point out present image to be last image of this photograph album, in this no limit.
The embodiment of the present invention is sorted out operation by the large figure preview interface at image to image, thereby can in photograph album, directly to image, sort out operation, and can in the process of graphic collection operation, know the photo of checking while sorting out, improve thus convenient degree and the accuracy of operation, promoted user's operating experience.
Fig. 3 shows the structured flowchart of the graphic collection device that the embodiment of the present invention provides, and for convenience of explanation, only shows the part relevant to the present embodiment.
With reference to Fig. 3, this device comprises:
Large figure preview interface generation unit 51, generates the large figure preview interface of described image;
Graphic collection menu generation unit 52, for receiving graphic collection instruction, in the large figure preview interface of described image, synthetic image is sorted out menu, and described graphic collection menu can be for the classification of graphic collection for showing;
Graphic collection unit 53, for detection of selected classification, by described graphic collection in described selected classification.
Preferably, described device also comprises interpolation classification unit, and described interpolation classification unit is used for:
Receive and add classification instruction, generate the described classification that can supply graphic collection;
Generate the described absolute path that can supply the classification of graphic collection;
In described graphic collection menu, generate the described operational controls corresponding to classification that can supply graphic collection.
Preferably, described device also comprises deletes classification unit, and described deletion classification unit is used for:
Receive and delete classification instruction, delete the described absolute path that can supply the classification of graphic collection;
In described graphic collection menu, delete the described operational controls corresponding to classification that can supply graphic collection.
Further, described graphic collection unit specifically for:
Detect the described instruction that can receive for the operational controls of the classification of graphic collection.
Preferably, described device also comprises:
Automatically jump-transfer unit, for described by described graphic collection after described selected classification, the large figure preview interface of described image jumps to the large figure preview interface of next image automatically.
The embodiment of the present invention is sorted out operation by the large figure preview interface at image to image, thereby can in photograph album, directly to image, sort out operation, and can in the process of graphic collection operation, know the photo of checking while sorting out, improve thus convenient degree and the accuracy of operation, promoted user's operating experience.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.