Summary of the invention
The technical matters that the present invention will solve is in order to lack picture tag management method defective effectively in the portable terminal that overcomes prior art, a kind of picture tag management method to be provided, realizing effective management of picture tag through the mode of operation of touch-screen.
The present invention solves above-mentioned technical matters through following technical proposals:
The invention provides a kind of picture tag management method, be used to have the portable terminal of touch-screen, be characterized in that said picture tag management method may further comprise the steps:
S
11, from picture database, read a picture and be shown in the said touch-screen;
S
12, detect contacting of user and said touch-screen, be the label image in the label area preset that shows in the said touch-screen if detect the contact position of user on touch-screen, then get into step S
13,, then get into step S if detecting the contact position of user on touch-screen is said picture
15, otherwise repeating step S
12
S
13, continue to use the mobile route of family on said touch-screen, on said touch-screen, show moving of said label image, and detect the user and whether also contact with said touch-screen, if not, then get into step S
14, otherwise repeating step S
13
S
14, detect said label image in the position of the demonstration of said touch-screen, if when the position of said demonstration is arranged in a label receiving area that is shown on the said touch-screen, said label image is shown in the said label receiving area, get into step S
16, otherwise return step S
12
S
15, detect the mobile route of user on said touch-screen, if said mobile route is identical with preset gesture, then from picture database, reads an other pictures, and be shown on the said display screen, return step S then
12,, then return step S if said mobile route and preset gesture are inequality
12
S
16, the pairing label data of said label image is added in the image data of said picture.
Preferably, show a plurality of label images in the said preset label area.
Preferably, said label receiving area display label image, the number of the label data in the number of the label image in the wherein said label receiving area and the view data of said image is identical.
Preferably, said step S
11For:
S
101, the user is through touch-screen display interface input key word;
S
102, in said picture database, seek the picture have with the label data of said keyword matching, and be presented on the said touch-screen;
S
103, the user selects to need the picture of editor's label data, from picture database, read said picture then and be shown in the said touch-screen.
Preferably, said step S
102For: in said picture database, seek the picture have with the label data of said keyword matching, and the mode of all pictures that search out according to grid is shown on the said touch-screen.
Preferably, said step S
11For:
S
111, the user is through touch-screen display interface input keyword string;
S
112, according to preset blank character said keyword string is split and to obtain at least one key word;
S
113, in said picture database, seek and comprise the picture of the label data that all matees with all key words, and be presented on the said touch-screen;
S
114, the user selects to need the picture of editor's label data, from picture database, read said picture then and be shown in the said touch-screen.
Preferably, said step S
113For: in said picture database, seek the picture have with the label data of said keyword matching, and the mode of all pictures that search out according to grid is shown on the said touch-screen.
The present invention also provides a kind of picture tag management method, is used to have the portable terminal of touch-screen, is characterized in that said picture tag management method may further comprise the steps:
S
21, from picture database, read a picture and be shown in the said touch-screen;
S
22, detect contacting of user and said touch-screen, be in the label receiving area that is shown on the said touch-screen during label image as if detecting the contact position of user on touch-screen, then get into step S
23,, then get into step S if detecting the contact position of user on touch-screen is said picture
25, otherwise repeating step S
22
S
23, continue to use the mobile route of family on said touch-screen, on said touch-screen, show moving of said label image, and detect the user and whether also contact with said touch-screen, if not, then get into step S
24, otherwise repeating step S
23
S
24, detect said label image in the position of the demonstration of said touch-screen, if when the position of said demonstration is arranged in a preset label area that is shown on the said touch-screen, from the label receiving area, remove said label image, get into step S
26, otherwise return step S
22
S
25, detect the mobile route of user on said touch-screen, if said mobile route is identical with preset gesture, then from picture database, reads an other pictures, and be shown on the said display screen, return step S then
22,, then return step S if said mobile route and preset gesture are inequality
22
S
26, in the image data of said picture, remove the pairing label data of removed said label image.
Preferably, show a plurality of label images in the said preset label area.
Preferably, said label receiving area display label image, the number of the label data in the number of the label image in the wherein said label receiving area and the view data of said image is identical.
Preferably, said step S
11For:
S
201, the user is through touch-screen display interface input key word;
S
202, in said picture database, seek the picture have with the label data of said keyword matching, and be presented on the said touch-screen;
S
203, the user selects to need the picture of editor's label data, from picture database, read said picture then and be shown in the said touch-screen.
Preferably, said step S
202For: in said picture database, seek the picture have with the label data of said keyword matching, and the mode of all pictures that search out according to grid is shown on the said touch-screen.
Preferably, said step S
21For:
S
211, the user is through touch-screen display interface input keyword string;
S
212, according to preset blank character said keyword string is split and to obtain at least one key word;
S
213, in said picture database, seek and comprise the picture of the label data that all matees with all key words, and be presented on the said touch-screen;
S
214, the user selects to need the picture of editor's label data, from picture database, read said picture then and be shown in the said touch-screen.
Preferably, said step S
213For: in said picture database, seek the picture have with the label data of said keyword matching, and the mode of all pictures that search out according to grid is shown on the said touch-screen.
Preferably, said label Hu Ju for sleeping in comprises shooting time data, spot for photography data, people tag data, a weather label data, a diet label data, an amusement label data and a life label data.
Positive progressive effect of the present invention is:
Picture tag management method of the present invention is mutual through user interface in user and the touch-screen, can let faster, the search pictures exactly of user, but also passes through the management of the mutual realization picture tag of user interface in user and the touch-screen.
Embodiment
Provide preferred embodiment of the present invention below in conjunction with accompanying drawing, to specify technical scheme of the present invention.
First embodiment:
The display interface of the tag control of the touch-screen of portable terminal described in the present embodiment is as shown in Figure 1; Comprise a label area 2 and a label receiving area 3 that an image display area 1, is preset in the wherein said display interface; Show in the wherein said image display area 1 and be used for from the picture database picture selected; Comprise the pairing label image of label data that preset user possibly adopt in the said preset label area 2, for example shooting time data, spot for photography data, people tag data, weather label data, diet label data, amusement label data and life label data or the like label data.Said label receiving area 3 is used for receiving the pairing label image of label data that the user increases at image data.
The display interface of the label search of the touch-screen of portable terminal described in the present embodiment is as shown in Figure 2, and wherein said display interface comprises a retrieval input area 4 and a figure chip arrays viewing area 5.Wherein said retrieval input area 4 receives the key word or the keyword string of user's input; Thereby in the label data of said picture, seek with said key word or keyword string is identical or the label data of coupling, thus in picture database the picture of definite user search.All pictures that the explicit user retrieval obtains in the said picture viewing area 5 are with thumbnail.
As shown in Figure 3, the picture tag management method through display interface illustrated in figures 1 and 2 in the present embodiment may further comprise the steps:
Step 101, the user is through the display interface input keyword string of touch-screen.Be that the user imports keyword string in retrieval input area 4 shown in Figure 2.
Step 102 obtains at least one key word according to preset blank character with said keyword string fractionation.In addition when if the user only imports single key word, owing to split the single key word that the key word that obtains remains user's input, so can no longer split said key word this moment.
Step 103, searching comprises the picture of the label data that all matees with all key words in said picture database, and is presented on the said touch-screen.Wherein as shown in Figure 2, the thumbnail of all pictures that the search out mode according to grid is shown in the figure chip arrays viewing area 5 of said touch-screen.
Step 104,, the user selects to need the picture of editor's label data, from picture database, read said picture then and be shown in the said touch-screen.Be used for need carrying out from all picture that retrieves selections one picture of tag processes this moment, after this user interface switches to user interface as shown in Figure 1 from user interface shown in Figure 2.
Step 105; The detection user contacts with said touch-screen; If detect the contact position of user on touch-screen and be the label image in the preset label area that shows in the said touch-screen, then get into step 106, be said picture if detect the contact position of user on touch-screen; Then get into step 108, otherwise repeating step 105; Show a plurality of label images in the wherein said preset label area.
Whether step 106 is continued to use the mobile route of family on said touch-screen, on said touch-screen, shows moving of said label image, and detect the user and also contact with said touch-screen, if not, then gets into step 107, otherwise repeating step 106.
Step 107; Detect the position of said label image,, said label image is shown in the said label receiving area if when the position of said demonstration is arranged in a label receiving area that is shown on the said touch-screen in the demonstration of said touch-screen; Get into step 109, otherwise return step 105.The number of the label data in the wherein said label receiving area display label image, the number of the label image in the wherein said label receiving area and the view data of said image is identical.Promptly as shown in Figure 4; The user moves into the label image in the said preset label area 2 in the said label receiving area 3; At this moment; In said label receiving area 3, show also the pairing label data of said label image to be added in the image data of picture in the said label image, thereby accomplished the process that in picture, increases label.
Step 108 detects the mobile route of user on said touch-screen, if said mobile route is identical with preset gesture; Then from picture database, read an other pictures, and be shown on the said display screen, for example; Shown in Fig. 5 a and Fig. 5 b; When the gesture of user preset when being moved to the left, the index sequence according to picture database from the image data database reads last one picture, perhaps; When the gesture of user preset when moving right, the index sequence according to picture database from the image data database reads picture of next etc.; Return step 105 then,, then return step 105 if said mobile route and preset gesture are inequality.
Step 109 adds the pairing label data of said label image in the image data of said picture.
Label data described in the present embodiment comprises shooting time data, spot for photography data, people tag data, weather label data, diet label data, amusement label data and life label data or the like, and the user can adopt the kind or the self-defining label data kind of the label data of other kinds according to the actual design needs.
Method of operating when the user adopts the method for present embodiment to carry out the tag control of picture through display interface illustrated in figures 1 and 2 is following in addition:
At first, as shown in Figure 2, the user when the character string that a plurality of key words of retrieval input area 4 input constitute, with the comma of half-angle as the blank character district at a distance from each key word, and form character string.Then the image data library searching all comprise the picture of all key words, and be shown in the figure chip arrays viewing area 5.
The user chooses the label image that need be added in the picture in preset label area 2 then; When finger is pinned screen; Through detecting the coordinate of contact, if when coordinate figure drops in the scope of any label image, this moment, said label image was in selected state; Wherein can adopt the background colour of the said label image of random replacing, with the selected state of outstanding display label image.
After this in the process that moves of label image, do not lift at finger (promptly finger remains the state of pinning touch-screen all the time), and when on touch-screen, sliding; Calculating through touch-screen driving etc.; Can get access to the centre coordinate that moves to arbitrary position on the touch-screen, if said centre coordinate does not fall into target zone yet, promptly the label receiving area 3; Then can pass through clear screen, the moving of display label image.
If after this user is in the process of mobile tag image; After finger lifts; If point when the centre coordinate of last contact does not fall into the effective range of label receiving area 3 on touch-screen, then user's operation is invalid, through clear screen; With label image move refresh shielding, move and also be in the state in the said preset label area 2 thereby recover original label image.
If the user is in the process of mobile tag image; After finger lifts; If point when the centre coordinate of last contact falls into the effective range of label receiving area 3 on touch-screen; Then in the white space of label receiving area 3, add said label image, and, in said label receiving area 3, show said label image through clear screen.In background program, in the image data of said picture, added the pairing label data of label image this moment.
If after this user need be switched picture; Then the user need carry out touch operation according to predefined gesture in image display area 1; For example shown in Fig. 5 a and Fig. 5 b, in image display area 1, when the gesture of user preset when being moved to the left; Index sequence according to picture database from the image data database reads last one picture; Perhaps, when the gesture of user preset when moving right, from the image data database, read the picture of next according to the index sequence of picture database.After this user can carry out the operation of tag control to the picture after switching again.
Second embodiment:
The display interface of the tag control of the touch-screen of portable terminal described in the present embodiment and the display interface of label search are also as depicted in figs. 1 and 2; And the function of said display interface carried out at length setting forth in first embodiment, so repeat no more here.
The difference of first embodiment of present embodiment is, in the present embodiment through in the display interface of tag control, the operation of preset label area 2 and label receiving area 3 being realized the deletion of label in the picture.
As shown in Figure 6, the picture tag management method through display interface illustrated in figures 1 and 2 in the present embodiment may further comprise the steps:
Step 201, the user is through the display interface input keyword string of touch-screen.Be that the user imports keyword string in retrieval input area 4 shown in Figure 2.
Step 202 obtains at least one key word according to preset blank character with said keyword string fractionation.In addition when if the user only imports single key word, owing to split the single key word that the key word that obtains remains user's input, so can no longer split said key word this moment.
Step 203, searching comprises the picture of the label data that all matees with all key words in said picture database, and is presented on the said touch-screen.Wherein as shown in Figure 2, the thumbnail of all pictures that the search out mode according to grid is shown in the figure chip arrays viewing area 5 of said touch-screen.
Step 204,, the user selects to need the picture of editor's label data, from picture database, read said picture then and be shown in the said touch-screen.Be used for need carrying out from all picture that retrieves selections one picture of tag processes this moment, after this user interface switches to user interface as shown in Figure 1 from user interface shown in Figure 2.
Step 205; The detection user contacts with said touch-screen; If detecting the contact position of user on touch-screen is the label image in the label receiving area that shows in the said touch-screen, then get into step 206, be said picture if detect the contact position of user on touch-screen; Then get into step 208, otherwise repeating step 205; The number of the label data in the wherein said label receiving area display label image, the number of the label image in the wherein said label receiving area and the view data of said image is identical.The pairing label image of label data that is about in the picture of pre-treatment, comprised is shown in the said label receiving area.
Whether step 206 is continued to use the mobile route of family on said touch-screen, on said touch-screen, shows moving of said label image, and detect the user and also contact with said touch-screen, if not, then gets into step 207, otherwise repeating step 206.
Step 207; Detect the position of said label image,, from the label receiving area, remove said label image if when the position of said demonstration is arranged in a preset label area that is shown on the said touch-screen in the demonstration of said touch-screen; Get into step 209, otherwise return step 205.Show a plurality of label images in the wherein said preset label area.Promptly as shown in Figure 7; The user moves into the label image in the said preset label area 2 in the said label receiving area 3; At this moment; In said label receiving area 3, in the said label image of shielding, also the pairing label data of said label image is deleted from the image data of picture, thereby accomplished the process of in picture, deleting label.
Step 208 detects the mobile route of user on said touch-screen, if said mobile route is identical with preset gesture; Then from picture database, read an other pictures, and be shown on the said display screen, for example; Shown in Fig. 5 a and Fig. 5 b; When the gesture of user preset when being moved to the left, the index sequence according to picture database from the image data database reads last one picture, perhaps; When the gesture of user preset when moving right, the index sequence according to picture database from the image data database reads picture of next etc.; Return step 205 then,, then return step 205 if said mobile route and preset gesture are inequality.
Step 209 removes the pairing label data of removed said label image in the image data of said picture.
Method of operating when the user adopts the method for present embodiment to carry out the tag control of picture through display interface illustrated in figures 1 and 2 is following in addition:
At first, as shown in Figure 2, the user when the character string that a plurality of key words of retrieval input area 4 input constitute, with the comma of half-angle as the blank character district at a distance from each key word, and form character string.Then the image data library searching all comprise the picture of all key words, and be shown in the figure chip arrays viewing area 5.
The user chooses the label image that need from picture, delete in label receiving area 3 then; When finger is pinned screen; Through detecting the coordinate of contact, if when coordinate figure drops in the scope of any label image, this moment, said label image was in selected state; Wherein can adopt the background colour of the said label image of random replacing, with the selected state of outstanding display label image.
After this in the process that moves of label image, do not lift at finger (promptly finger remains the state of pinning touch-screen all the time), and when on touch-screen, sliding; Calculating through touch-screen driving etc.; Can get access to the centre coordinate that moves to arbitrary position on the touch-screen, if said centre coordinate does not fall into target zone yet, promptly preset label area 2; Then can pass through clear screen, the moving of display label image.
If after this user is in the process of mobile tag image; After finger lifts; If point when the centre coordinate of last contact does not fall into the effective range of preset label area 2 on touch-screen, then user's operation is invalid, through clear screen; With label image move refresh shielding, move and also be in the state in the said label receiving area 3 thereby recover original label image.
If the user is in the process of mobile tag image; After finger lifts; If point when the centre coordinate of last contact falls into the effective range of preset label area 2 on touch-screen; Then at the said label image of middle deletion of label receiving area 3, and through clear screen, the said label image of shielding in said label receiving area 3.In background program, in the image data of said picture, delete the pairing label data of said label image this moment.
If after this user need be switched picture; Then the user need carry out touch operation according to predefined gesture in image display area 1; For example shown in Fig. 5 a and Fig. 5 b, in image display area 1, when the gesture of user preset when being moved to the left; Index sequence according to picture database from the image data database reads last one picture; Perhaps, when the gesture of user preset when moving right, from the image data database, read the picture of next according to the index sequence of picture database.After this user can carry out the operation of tag control to the picture after switching again.
Though more than described embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, protection scope of the present invention is limited appended claims.Those skilled in the art can make numerous variations or modification to these embodiments under the prerequisite that does not deviate from principle of the present invention and essence, but these changes and modification all fall into protection scope of the present invention.