Specific embodiment
Fig. 1 is the flow chart of picture copy process method one embodiment provided by the invention, and the picture of the present embodiment is copiedShellfish processing method, comprising:
S101, the first operational order for receiving user's input, the first operational order are used to sharing picture into the in applicationThe first picture in one photograph album copies in the second photograph album.
The executing subject of the present embodiment can be picture copy process device or include picture copy process deviceNetwork server.
Specifically, when user wants to share the figure present in another photograph album to other users in a photograph albumWhen piece, the first operational order can be sent to picture copy process device.
S102, according to the first operational order, increase the first picture and the second photograph album in the incidence relation of picture and photograph albumIncidence relation, the first picture is copied in the second photograph album.
For example, the picture copy process device in the present embodiment can safeguard table 1A, table 1B and tri- number of table 1CAccording to table, wherein table 1A is user and photograph album incidence relation table, and table 1B is photograph album and picture incidence relation table, and table 1C is that picture is detailedThin information table.
Table 1A
| User UIN | Photograph album ID | Album name |
| 123456 | 1000 | A |
| 123456 | 1001 | B |
| 123456 | 1002 | H |
| 123456 | 1003 | Every one scape of city |
Table 1B
| Photograph album ID | Image ID |
| 1002 | 9001 |
| 1002 | 9002 |
| 1003 | 9003 |
Table 1C
| Image ID | Picture name | Picture URL |
| 9001 | P | http://a.com/p |
| 9002 | P1 | http://a.com/p1 |
| 9003 | P2 | http://a.com/p2 |
As shown in table 1, the photograph album in the present embodiment includes photograph album A, photograph album B, photograph album H and photograph album " every one scape of city ", citingFor, user has the photograph album H of a tourism, which is the photo that the user plays in the city H, while there are one phases by the userVolume is named " every one scape of city ", and user wants that the picture for being 9001 by entitled P, ID also shares to the photograph album " every one scape of city " that ID is 1003In, the present embodiment can increase the photograph album that the picture that ID is 9001 and ID are 1003 in the incidence relation table 1B of picture and photograph albumThe incidence relation (being shown in Table grey parts in 1D) of " every one scape of city ", obtains new table 1D, and the ID picture for being 9001 is copied toIn the photograph album " every one scape of city " that ID is 1003.
Table 1D
Picture copy process method provided in this embodiment, can receive user input, for by picture sharing answerThe first picture in the first photograph album in copies in the second photograph album after the first operational order, according to the first operational order,The incidence relation for increasing by the first picture and the second photograph album in the incidence relation of picture and photograph album copies the first picture toIn two photograph albums, the first picture for realizing that user shares picture in the first photograph album in application is copied in the second photograph album, is only neededThe incidence relation for adding the first picture and the second photograph album does not need user and uploads the first picture again in the second photograph album and createNew picture, and the is copied to when user wants to share picture into the first picture in the first photograph album in application in the prior artWhen in two photograph albums, need to complete the local upload operation an of picture again;Moreover, even if the picture that user is locally stored is lost,It also may be implemented to copy in the first picture in the first photograph album in picture sharing application using the technical solution of the present embodimentIn second photograph album, and the prior art is used, user then needs first to download the first picture from the first photograph album, and complete in the second photograph albumThe local upload operation of Cheng Yici picture, operating process is cumbersome, and is uploaded to after the picture in photograph album downloads again, picture quality oneAs have a degree of decline, using the present embodiment technical solution by picture share application in the first photograph album in firstPicture copies in the second photograph album, will not influence picture quality.
Picture copy process method provided in this embodiment, by receive user input, for by picture sharing answerThe first picture in the first photograph album in copies in the second photograph album after the first operational order, according to the first operational order,The incidence relation for increasing by the first picture and the second photograph album in the incidence relation of picture and photograph album copies the first picture toIn two photograph albums, the first picture for realizing that user shares picture in the first photograph album in application is copied in the second photograph album, is only neededThe incidence relation for adding the first picture and the second photograph album does not need user and uploads the first picture again in the second photograph album and createNew picture, to simplify the operating process of user and save network storage resource, even and if realizing what user was locally storedPicture is lost, and the first picture that also may be implemented to share picture in the first photograph album in application copies in the second photograph album, andAnd do not influence picture quality.
In one embodiment, the first operational order is used to sharing the first picture into first in the first photograph album in applicationPicture copies in the second photograph album that the first picture is shared in application.
For example, the first picture in the first photograph album in QQ space can be copied to second in QQ space by userIn photograph album;Or the first picture in the first photograph album in microblogging is copied in the second photograph album in microblogging;Or by everybodyThe first picture in the first photograph album in net copies in the second photograph album in Renren Network.
In one embodiment, the first operational order is used to sharing the first picture into first in the first photograph album in applicationPicture copies in the second photograph album that second picture is shared in application.
For example, the first picture in the first photograph album in QQ space can be copied in Tencent's microblogging by userIn two photograph albums, due to QQ space and Tencent's microblogging using it is identical or between have the network server of interface, it is possible to it is realNow QQ space and the incidence relation of picture and photograph album in Tencent's microblogging are increased.User can also be by the first phase in QQ spaceThe first picture in volume copies in the second photograph album in Sina weibo, the network server of QQ space and the network of Sina weiboIt needs to connect by interface between server, and maintenance picture shares application and the incidence relation between photograph album respectively, it can be withThe first picture in the first photograph album in QQ space copies to carry out between in the second photograph album in Sina weibo must in userThe authentication process wanted with guarantee picture copy safety, it is to be understood that can also only user use identical userName and the different picture of code entry are shared in application, different pictures, which just may be implemented, shares picture between the photograph album in applyingCopy.
Fig. 2 is the flow chart of another embodiment of picture copy process method provided by the invention, the picture of the present embodimentCopy process method, comprising:
S201, the second operational order for receiving user's input, the second operational order are user for the input of the first pictureOperating function selection instruction.
S202, according to the second operational order, push prompt information to user, prompt information includes at least picture copy promptInformation, picture copy prompt information is for prompting user that can copy the first picture in the first photograph album in the second photograph album to.
Specifically, user's picture copy process device can receive the operational order of user's input by user equipment,The user equipment of the present embodiment can be personal computer, tablet computer, personal digital assistant, smart phone etc., the present embodimentMiddle user can first pass through user equipment and input the second operational order for the first picture, further according to picture copy prompt information choosingThe second photograph album is selected, picture copy prompt information is for prompting user that can copy the first picture in the first photograph album to second photograph albumIn.
Fig. 3 is a kind of user interface schematic diagram that user triggers picture copy process provided by the invention, as shown in figure 3,User interface 300 is that user logins picture sharing using " QQ space ", opens the interface of the picture P310 in photograph album H, works as userCursor control input (such as click, control is clicked, clicked by right key) either touch input or by light is executed to picture P310Mark is placed in picture P310 on or when by voice control input, and user interface 300 is hit by a bullet out operating function option 320, canIt,, can be in the lower right corner picture P310 when user opens picture P310 in alternatively possible user interface with understandingDisplay operation function choosing-item 320.When execution cursor control is defeated on the option " online copy " in operating function option 320 by userEnter (such as click, control click, click by right key) either touch input or by cursor placement on option " copying online "Or when being inputted by voice control, option " online copy " can be shown selected by highlight bar, " be copied online in optionPhotograph album option 330 is popped up in shellfish " side, includes that " photograph album is every for option " photograph album A ", option " photograph album B " and option in photograph album option 330One scape of city ", inputted when user executes cursor control on the option " every one scape of city of photograph album " in photograph album option 330 (such as click,Control is clicked, is clicked by right key) either touch input or by cursor placement on option " every one scape of city of photograph album " or passing throughWhen voice control inputs, option " every one scape of city of photograph album " can be shown selected by highlight bar.
Fig. 4 is another user interface schematic diagram that user triggers picture copy process provided by the invention, such as Fig. 4 instituteShow, the difference of user interface 400 shown in Fig. 4 and user interface 300 shown in Fig. 3 is, when user is in operating function option 420Option " online copy " on execute cursor control input (such as click, control is clicked, clicked by right key) or touch inputEither by cursor placement when inputting on option " online copy " or by voice control, option " online copy " can pass throughHighlight bar is selected to show, in option " online copy " side, pop-up picture shares application option 430, and picture shares application choosingInclude the picture sharing in addition to " QQ space " in item 430 using " Tencent's microblogging ", " Renren Network " and " Sina weibo ", works as userPicture share application option 430 in option " Sina weibo " on execute cursor control input (such as click, control click,Click by right key) either touch input or by cursor placement in option " Sina weibo " or by voice control inputWhen, option " Sina weibo " can be shown by highlight bar it is selected, option " Sina weibo " side pop up photograph album option440, it include option " photograph album A ", option " photograph album B " and option " every one scape of city of photograph album " in photograph album option 440, when user is in photograph albumCursor control input (such as click, control and click, click by right key) is executed on option " every one scape of city of photograph album " in option 440Either touch input or by cursor placement on option " every one scape of city of photograph album " or by voice control input when, option" every one scape of city of photograph album " can be shown selected by highlight bar.
It is understood that in alternatively possible user interface, it, can be in picture when user opens picture P310Side the Show Button " picture is copied to photograph album A online " of P310, " picture is copied to photograph album B online ", " picture is onlineBe copied to every one scape of city of photograph album ", " picture is copied to Tencent's microblogging online ", " picture is copied to Renren Network online ", " will schemePiece is copied to Sina weibo online " inputted so that user controls those buttons execution cursor (such as click, control click, the right sideKey click etc.) either touch input or by voice control input selected, when user selection " picture is copied to onlineWhen the buttons such as Tencent's microblogging ", " picture is copied to Renren Network online ", " picture is copied to Sina weibo online ", Ke YixianShow that corresponding picture shares the photograph album in application for selection by the user, the picture that can also jump to user's selection is shared application and corresponded toWebsite in select the second photograph album.
S203, the first operational order for receiving user's input, the first operational order are used to sharing picture into the in applicationThe first picture in one photograph album copies in the second photograph album.
S204, according to the first operational order, increase the first picture and the second photograph album in the incidence relation of picture and photograph albumIncidence relation, the first picture is copied in the second photograph album.
Specifically, when user's picture copy process device receives user's input copy picture P310 online toOperational order in " every one scape of city of photograph album ", can increase in the tables of data of picture and the incidence relation of photograph album picture P310 withThe incidence relation of " every one scape of city of photograph album ", picture P310 is copied in " every one scape of city of photograph album ".
Picture copy process method provided in this embodiment, by receiving the second operational order of user's input, the second behaviourMaking instruction is the operating function selection instruction that user is directed to the input of the first picture, according to the second operational order, is mentioned to user's pushShow that information, prompt information include at least picture and copies prompt information, picture copy prompt information is used to prompt to select for userThe information of second photograph album, and receiving the first picture that user inputs, for sharing picture in the first photograph album in applicationIt copies in the second photograph album after the first operational order, according to the first operational order, increases in the incidence relation of picture and photograph albumThe incidence relation for adding the first picture and the second photograph album, the first picture is copied in the second photograph album, realizes user by picture pointThe first picture enjoyed in the first photograph album in application copies in the second photograph album, need to only add the pass of the first picture and the second photograph albumConnection relationship does not need user and uploads the first picture again in the second photograph album and create new picture, to simplify the behaviour of userMake process and saves network storage resource, even and if realize that the picture that user is locally stored is lost, it also may be implemented pictureThe first picture shared in the first photograph album in application copies in the second photograph album, and does not influence picture quality.
Fig. 5 is the flow chart of another embodiment of picture copy process method provided by the invention, the picture of the present embodimentCopy process method, the scene that the first picture in the second photograph album is further edited to user are illustrated, comprising:
S501, the first operational order for receiving user's input, the first operational order are used to sharing picture into the in applicationThe first picture in one photograph album copies in the second photograph album.
S502, according to the first operational order, increase the first picture and the second photograph album in the incidence relation of picture and photograph albumIncidence relation, the first picture is copied in the second photograph album.
S503, the edit operation according to user to the first picture generate second picture and save.
S504, picture covering prompt information is pushed to user, picture covering prompt information is for prompting the user whether to useSecond picture covers the first picture.
Specifically, due to creating newly when copying the first picture in the first photograph album in the second photograph album toPicture, so will lead to the first picture and the second photograph album in the first photograph album after user edits and saves to the first pictureIn the first picture change, can user edit the first picture generate second picture after, save second picture itBefore, picture is pushed to user and covers prompt information, chooses whether to need using second picture the first photograph album of covering for userIn the first picture, the picture covering prompt information user can be pushed to by way of dialog box, can wrap in dialog boxInclude option "Yes" and option "No".
S505, the third operational order that user covers prompt information input according to picture is received.
Specifically, the third operational order of user's input is that the operation that user covers prompt information selection based on picture refers toIt enables.
If S506, third operational order are the instruction for covering the first picture using second picture, the first picture is replacedFor second picture;If third operational order is the instruction for not using second picture to cover the first picture, will be wrapped in incidence relationThe incidence relation of the first picture and the second photograph album that contain is revised as the incidence relation of second picture and the second photograph album.
Specifically, if user selects option "No", indicate that user's selection covers in the first photograph album without using second pictureThe first picture, then table 2A(is revised as to the incidence relation table of picture shown in the table 1D in embodiment illustrated in fig. 1 and photograph album and seenGrey parts in table 2A).
Table 2A
The picture that ID is 9001_1 in table 2A is the new picture that user edits that the picture that ID is 9001 obtains, editedThe picture in photograph album that ID is 1002 is still the picture that ID is 9001, and it is 9001_1 that the picture in the photograph album that ID is 1003, which is ID,Picture, since the ID picture for being 9001_1 is newly created picture, thus to shown in the table 1C in embodiment illustrated in fig. 1 schemeThe information that the picture that ID is 9001_1 is added in the tables of data of piece information, obtains table 2B(and is shown in Table grey parts in 2B).
Table 2B
It is understood that user is also an option that the picture for being 9001_1 by ID is separately deposited in the photograph album for being 1003 to ID,And retain the incidence relation of the photograph album that ID is 1003 and the picture that ID is 9001, i.e., table 1D institute in the embodiment shown in fig. 1Increase in the incidence relation table of the picture and photograph album that show picture and the ID photograph album for being 1003 that ID is 9001_1 incidence relation (seeGrey parts in table 2C), obtain table 2C.
Table 2C
If user selects option "Yes", indicate that user's selection covers the first picture in the first photograph album using second picture,The ID picture for being 9001 is then replaced with into the picture that ID is 9001_1, is embodied into the incidence relation of picture and photograph album, can be incited somebody to actionThe picture that ID in the incidence relation table of picture shown in table 1D in embodiment illustrated in fig. 1 and photograph album is 9001 replaces with ID and isThe picture of 9001_1 obtains table 2D(and is shown in Table grey parts in 2D).
Table 2D
The picture that ID is 9001_1 in table 2D is the new picture that user edits that the picture that ID is 9001 obtains, editedThe picture in photograph album that ID is 1002 is revised as the picture that ID is 9001_1, and the picture in photograph album that ID is 1003 is also revised as IDFor the picture of 9001_1, also need to add ID in the tables of data to pictorial information shown in the table 1C in embodiment illustrated in fig. 1It for the information of the picture of 9001_1, obtains table 2B(and is shown in Table grey parts in 2B).
Picture copy process method provided in this embodiment, by receive user input, for by picture sharing answerThe first picture in the first photograph album in copies in the second photograph album after the first operational order, according to the first operational order,The incidence relation for increasing by the first picture and the second photograph album in the incidence relation of picture and photograph album copies the first picture toIn two photograph albums, and the treatment process edited after the first picture to user is illustrated, and realizes that user shares picture in applicationThe first picture in first photograph album copies in the second photograph album, need to only add the incidence relation of the first picture and the second photograph album, noUser is needed to upload the first picture again in the second photograph album and create new picture, to simplify the operating process of user and sectionNetwork storage resource is saved, even and if realize that the picture that user is locally stored is lost, it also may be implemented to share picture in applicationThe first photograph album in the first picture copy in the second photograph album, and do not influence picture quality.
Fig. 6 is the structural schematic diagram of picture copy process device one embodiment provided by the invention, as shown in fig. 6, thisThe picture copy process device of embodiment may include: receiving module 61 and processing module 62, wherein receiving module 61 is for connecingThe first operational order of user's input is received, the first operational order is used to sharing picture into the first figure in the first photograph album in applicationPiece copies in the second photograph album;Processing module 62 is used to be increased in the incidence relation of picture and photograph album according to the first operational orderThe incidence relation for adding the first picture and the second photograph album, the first picture is copied in the second photograph album.
The device of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 1, realization principle and skillArt effect is similar, and details are not described herein again.
In one embodiment, receiving module 61 is also used to before the first operational order for receiving user's input, is receivedSecond operational order of user's input, the second operational order are the operating function selection instruction that user is directed to the input of the first picture;
Processing module 62 is also used to according to the second operational order, pushes prompt information to user, prompt information includes at leastPicture copies prompt information, and picture copy prompt information is for prompting user that the first picture in the first photograph album can be copied to theIn two photograph albums.
In one embodiment, the first operational order is used to sharing the first picture into first in the first photograph album in applicationPicture copies in the second photograph album that the first picture is shared in application.
In one embodiment, the first operational order is used to sharing the first picture into first in the first photograph album in applicationPicture copies in the second photograph album that second picture is shared in application.
The device of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 2, realization principle and skillArt effect is similar, and details are not described herein again.
In one embodiment, processing module 62 is also used to when user edits the first picture in the second photograph album, according toEdit operation of the user to the first picture generates second picture and saves;Picture is pushed to user and covers prompt information, and picture coversLid prompt information covers the first picture using second picture for prompting the user whether;
Receiving module 61 is also used to receive the third operational order that user covers prompt information input according to picture;
If it is the instruction for covering the first picture using second picture that processing module 62, which is also used to third operational order, by theOne picture replaces with second picture;If third operational order is the instruction for not using second picture to cover the first picture, will closeThe incidence relation of the first picture and the second photograph album that include in connection relationship is revised as the incidence relation of second picture and the second photograph album.
The device of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 5, realization principle and skillArt effect is similar, and details are not described herein again.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead toThe relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journeyWhen being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk orThe various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extentPipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according toSo be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features intoRow equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solutionThe range of scheme.