Summary of the invention
In order to provide a kind of picture uploading mode of intelligence, reducing the number of times that user selects network album, thus promoting Consumer's Experience, embodiments providing a kind of method and device of picture uploading.Described technical scheme is as follows:
On the one hand, provide a kind of method of picture uploading, described method comprises:
Determine the network album given tacit consent to, the network album of described acquiescence is the network album of customer acceptance;
Obtain the picture to be uploaded that user selects at every turn;
Show the information of the information of the picture to be uploaded that described user selects at every turn and the network album of described acquiescence;
The picture uploading to be uploaded described user at every turn selected is to the network album of described acquiescence;
Particularly, the described picture uploading to be uploaded described user at every turn selected, to the network album of described acquiescence, specifically comprises:
Whether the network album detecting described acquiescence can load current picture to be uploaded;
If so, then by the network album of described current picture uploading to be uploaded to described acquiescence;
If not, then create new network album of the same name, by described current picture uploading to be uploaded to described network album of the same name newly, and described network album of the same name is newly defined as the network album of acquiescence.
Wherein, the network album of described acquiescence is the network album of last successful uploading pictures, or the preassigned network album of user.
Alternatively, the described picture uploading to be uploaded that described user is selected at every turn to described acquiescence network album before, also comprise:
The picture to be uploaded described user at every turn selected converts the picture meeting and upload requirement to.
On the other hand, additionally provide a kind of device of picture uploading, described device comprises:
Determination module, for determining the network album given tacit consent to, the network album of described acquiescence is the network album of customer acceptance;
Acquisition module, for obtaining the picture to be uploaded that user selects at every turn;
Display module, the information of the information of the picture to be uploaded that the user got for showing described acquisition module selects at every turn and the network album of described acquiescence;
Upper transmission module, the network album of the acquiescence that the picture uploading to be uploaded that the described user for being got by described acquisition module selects at every turn is determined to described determination module;
Particularly, described upper transmission module, specifically comprises:
Whether detecting unit, can load current picture to be uploaded for the network album detecting the acquiescence that described determination module is determined;
First uploading unit, during for detecting that the network album of the acquiescence that described determination module is determined can load current picture to be uploaded at described detecting unit, by the network album of the acquiescence that described current picture uploading to be uploaded is determined to described determination module;
Second uploading unit, during for detecting that the network album of the acquiescence that described determination module is determined can not load current picture to be uploaded at described detecting unit, create new network album of the same name, by described current picture uploading to be uploaded to described network album of the same name newly, and described network album of the same name is newly defined as the network album of acquiescence.
Wherein, the network album of the acquiescence that described determination module is determined is the network album of last successful uploading pictures, or the preassigned network album of user.
Alternatively, described device, also comprises:
Modular converter, the picture to be uploaded that the user for being got by described acquisition module selects at every turn converts the picture meeting and upload requirement to.
The beneficial effect of the technical scheme that the embodiment of the present invention provides is:
By determining the network album given tacit consent to, and the picture uploading to be uploaded user selected is to the network album of acquiescence at every turn, thus avoid user when repeatedly uploading pictures, need the step repeatedly selecting network album, reduce the number of times that user selects network album, and then promote Consumer's Experience; In addition, by picture to be uploaded being converted to the picture meeting and upload requirement, can improve and upload success rate, and when the network album given tacit consent to can not load current picture to be uploaded, by automatically creating new network album, and by current picture uploading to be uploaded to new network album, not only achieve the intellectuality of picture uploading, also can reduce the number of times that user selects network album further, promote Consumer's Experience.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment one
See Fig. 1, present embodiments provide a kind of method of picture uploading, the method flow process is specific as follows:
101: determine the network album given tacit consent to;
102: obtain the picture to be uploaded that user selects at every turn;
103: the picture uploading to be uploaded this user at every turn selected is to the network album of acquiescence.
The method that the present embodiment provides, by determining the network album given tacit consent to, and the picture uploading to be uploaded user selected is to the network album of acquiescence at every turn, thus avoid user when repeatedly uploading pictures, need the step repeatedly selecting network album, reduce the number of times that user selects network album, and then promote Consumer's Experience.
Embodiment two
Present embodiments provide a kind of method of picture uploading, the method is by determining the network album given tacit consent to, and the picture uploading to be uploaded user at every turn selected is to the network album of acquiescence, thus reaches the object that reduction user selects network album number of times.See Fig. 2, method flow is specific as follows:
201: determine the network album given tacit consent to;
Wherein, the network album of acquiescence can be the network album of last successful uploading pictures, also can be the preassigned network album of user.In order to meet the demand of user's uploading pictures, the network album of acquiescence need be the network album of customer acceptance.After determining the network album given tacit consent to, the method that the present embodiment provides can also allow user again to select other network album network album by default, and the present embodiment is to determining that the mode of default network photograph album specifically limits.Such as, after the network album A of last time success uploading pictures is defined as the network album given tacit consent to, user performs again selection operation, the result selected is network album B, therefore, in order to meet the demand of user's uploading pictures, network album B is defined as the network album given tacit consent to.
202: obtain the picture to be uploaded that user selects at every turn;
For this step, obtain the mode extensive use in the prior art of picture, therefore, about the picture to be uploaded how obtaining user's selection, the present embodiment does not do concrete restriction, during specific implementation, can take technological means same as the prior art.
203: the information of the information of picture to be uploaded that display user selects at every turn and the network album of acquiescence;
This step is optional step, and why showing the information of the information of picture to be uploaded that user selects at every turn and the network album of acquiescence, is the operation transparence more in order to make picture uploading, the situation before allowing user understand to upload.Wherein, the information of picture to be uploaded includes but not limited to size and the number of picture to be uploaded, and the information of the network album of acquiescence includes but not limited to the gross space value of the network album given tacit consent to, uses spatial value and usage rate etc.Concrete display mode and displaying contents the present embodiment do not do concrete restriction, as shown in Figure 3, the network album that operation interface is given tacit consent to except display is " icon liked ", outside the information such as existing 51 pictures of this photograph album, also show the size 27K of picture to be uploaded, photograph album uses the information such as 0.06%:12.4M/20G, by this operation interface, situation before user can be made to understand uploading pictures, so that user confirms, as, after user confirms the information shown, click " uploading " button, thus when user confirms uploading pictures, concrete upload procedure refers to subsequent step.
204: the picture uploading to be uploaded user at every turn selected is to the network album of acquiescence;
Particularly, the present embodiment does not limit the mode of picture uploading.Generally, the capacity of network album has certain restriction, when the network album given tacit consent to can not load picture to be uploaded, the present embodiment takes the mode automatically creating new network album, thus avoid user again manually to select network album, reduce the number of times that user selects network album, then the picture uploading to be uploaded user at every turn selected is as follows to the detailed process of the network album of acquiescence:
Whether the network album detecting acquiescence can load current picture to be uploaded;
If so, then by the network album of current picture uploading to be uploaded to acquiescence;
If not, then create new network album, by current picture uploading to be uploaded to new network album, and new network album is defined as the network album of acquiescence.
Wherein, before automatically creating new network album, the method that the present embodiment provides also comprises the step whether prompting user sets up new network album, if user agrees to, then set up new network album, and by current picture uploading to be uploaded to new network album; If user does not agree to, then abandon setting up new network album, thus the operation completing picture uploading when user confirms can be ensured, and reduce the number of times that user selects network album.
Such as, 512 pictures can be held for the network album A of acquiescence, if user selects to upload N pictures to network album A, if picture number N to be uploaded adds this network album A original picture number, M is greater than 512, user then can be pointed out whether automatically to create network album of the same name, if user agrees to, then automatically create network album B of the same name, and front 512-M pictures is uploaded to network album A, N+M-255 pictures is below uploaded in network album B.After having uploaded, change the network album of the acquiescence of uploading pictures next time into newly-built network album B of the same name, thus conveniently complete and upload task next time.
It should be noted that, the network album for acquiescence can not load the situation of current picture to be uploaded, and the present embodiment selects the number of times of network album in order to reduce user, be only described to create new network album.In this step, new network album is the network album originally do not had, and in practical application, again network album is selected by user, by current picture uploading to be uploaded to setting up and there are other network albums of idle capacity, the method that the present embodiment provides is supported equally, and does not do concrete restriction to this.
Such as, when current picture P to be uploaded is uploaded to the network album A of acquiescence, if detect that the network album of acquiescence can not load current picture P to be uploaded, the method that the present embodiment provides, both a new network album B can have been created, be used for continuing to upload current picture P to be uploaded and follow-up picture to be uploaded, also can when user initiatively selects, in the existing network album C current picture P to be uploaded and follow-up picture uploading to be uploaded selected to user, the present embodiment does not do concrete restriction to this.
Alternatively, form or size etc. is had to upload requirement if the network album of acquiescence treats the picture uploaded to wherein, the method that then the present embodiment provides also is supported to change picture, namely need after the picture to be uploaded user at every turn selected converts the picture meeting and upload requirement to, upload to the network album of acquiescence again, avoid requiring because not meeting to upload and causing picture uploading failure, thus ensure the success rate of picture uploading.Wherein, the present embodiment does not limit concrete requirement of uploading, such as, the form of picture to be uploaded is GIF (Graphics Interchange Format, graphic interchange format), and upload and require that the form defining picture is JPEG (Joint Photographic Experts Group, joint image expert group), after then this step needs that picture to be uploaded is converted to jpeg format, then upload to the network album of acquiescence; Again such as, the size of picture to be uploaded is 1M, and upload the size requiring to define picture can not more than 256K, then this step needs first by within picture compression to be uploaded to 256K size, then is uploaded to the network album of acquiescence.
For the situation needing before uploading to compress picture, requirement is uploaded in order to what fully meet user, also can determine whether compress by user, still for the operation interface shown in Fig. 3, before uploading pictures, whether prompting user compresses it, and prompting is without the defect of compression, as: upload slower etc., thus select without after compressing the option uploaded user, what meet that user wishes uploads requirement without compression.
The method that the present embodiment provides, by determining the network album given tacit consent to, the picture uploading to be uploaded user at every turn selected is to the network album of acquiescence, thus avoid user when repeatedly uploading pictures, need the step repeatedly selecting network album, reduce the number of times that user selects network album, and then promote Consumer's Experience; In addition, by picture to be uploaded being converted to the picture meeting and upload requirement, the success rate of picture uploading can be ensured, and when the network album given tacit consent to can not load current picture to be uploaded, by automatically creating new network album, and by current picture uploading to be uploaded to new network album, not only achieve the intellectuality of picture uploading, also can reduce the number of times that user selects network album further, promote Consumer's Experience.
Embodiment three
See Fig. 4, present embodiments provide a kind of device of picture uploading, this device comprises:
Determination module 401, for determining the network album given tacit consent to;
Acquisition module 402, for obtaining the picture to be uploaded that user selects at every turn;
Upper transmission module 403, the network album of the acquiescence that the picture uploading to be uploaded that the user for being got by acquisition module 402 selects at every turn is determined to determination module 401.
Wherein, the network album of the acquiescence that determination module 401 is determined is the network album of last successful uploading pictures, or the preassigned network album of user.
Alternatively, see Fig. 5, the device of this picture uploading, also comprises:
Display module 404, the information of the information of picture to be uploaded that the user got for showing acquisition module 402 selects at every turn and the network album of acquiescence.
See Fig. 6, the device of this picture uploading, also comprises:
Modular converter 405, the picture to be uploaded that the user for being got by acquisition module 402 selects at every turn converts the picture meeting and upload requirement to.
It should be noted that, modular converter 405 can carry out conversion operations after display module 404 performs display operation, also conversion operations can be performed before display module 404 performs display operation, the present embodiment does not do concrete restriction to this, performs conversion operations be again described after only performing display operation for display module 404 herein by modular converter 405.
Particularly, see Fig. 7, upper transmission module 403, specifically comprises:
Whether detecting unit 403a, can load current picture to be uploaded for the network album detecting the acquiescence that determination module 401 is determined;
First uploading unit 403b, during for detecting that the network album of the acquiescence that determination module 401 is determined can load current picture to be uploaded at detecting unit 403a, by the network album of the acquiescence that current picture uploading to be uploaded is determined to determination module 401;
Second uploading unit 403c, during for detecting that the network album of the acquiescence that determination module 401 is determined can not load current picture to be uploaded at detecting unit 403a, create new network album, by current picture uploading to be uploaded to new network album, and this new network album is defined as the network album of acquiescence.
In sum, the device that the present embodiment provides, by determining the network album given tacit consent to, and the picture uploading to be uploaded user selected is to the network album of acquiescence at every turn, thus avoid user when repeatedly uploading pictures, need the step repeatedly selecting network album, reduce the number of times that user selects network album, and then promote Consumer's Experience; In addition, by picture to be uploaded being converted to the picture meeting and upload requirement, the success rate of picture uploading can be ensured, and when the network album given tacit consent to can not load picture to be uploaded, by automatically creating new network album, and by picture uploading to be uploaded for residue to new network album, not only achieve the intellectuality of picture uploading, also can reduce the number of times that user selects network album further, promote Consumer's Experience.
It should be noted that: the device of the picture uploading that above-described embodiment provides is when uploading pictures, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by device is divided into different functional modules, to complete all or part of function described above.In addition, the device of the picture uploading that above-described embodiment provides and the embodiment of the method for picture uploading belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
All or part of step in the embodiment of the present invention, can utilize software simulating, and corresponding software program can be stored in the storage medium that can read, as CD or hard disk etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.