CN104123200B - Method, system and device for backing up picture in mobile terminal and mobile terminal - Google Patents

Method, system and device for backing up picture in mobile terminal and mobile terminal Download PDF

Info

Publication number
CN104123200B
CN104123200B CN201410345698.0A CN201410345698A CN104123200B CN 104123200 B CN104123200 B CN 104123200B CN 201410345698 A CN201410345698 A CN 201410345698A CN 104123200 B CN104123200 B CN 104123200B
Authority
CN
China
Prior art keywords
data table
local
picture
signed data
signature
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410345698.0A
Other languages
Chinese (zh)
Other versions
CN104123200A (en
Inventor
范路
周琦
江昪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201410345698.0A priority Critical patent/CN104123200B/en
Publication of CN104123200A publication Critical patent/CN104123200A/en
Application granted granted Critical
Publication of CN104123200B publication Critical patent/CN104123200B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method for backing up pictures in a mobile terminal, which comprises the following steps: acquiring local pictures in the mobile terminal, and generating a signature corresponding to each local picture according to the local pictures; generating a local signature data table according to the signature of the local picture; generating a signature data table to be uploaded according to the local signature data table and a cloud signature data table of the cloud server; and uploading the picture corresponding to each signature in the signature data table to be uploaded to the cloud server. According to the method provided by the embodiment of the invention, the local picture in the mobile terminal is backed up in the cloud server, so that the picture is prevented from being lost accidentally, and in the whole backup process, the local picture is uploaded to the cloud server only through the network, so that the usability is improved, and the user experience is improved. The invention also discloses a system and a device for backing up the pictures in the mobile terminal and the mobile terminal.

Description

The backup method of picture, system, device and mobile terminal in mobile terminal
Technical field
The present invention relates to the backup method of picture in mobile device technology field, more particularly to a kind of mobile terminal, system, Device and mobile terminal.
Background technology
As the improvement of people's living standards, the life stress brought is also increasing, travelling of going on a tour has turned into most of The project of body and mind is loosened in the amusement of people's selection, and camera installation (such as camera, it is single instead, the mobile terminal with camera function) Also become people to go on a tour the indispensable instrument of travelling, particular with the mobile terminal of camera function, to have turned into people indispensable Travelling of going on a tour helper.
Due to the camera pixel more and more higher of mobile terminal, the picture taken pictures is increasing, is moved so as to cause to take The storage volume of terminal is also increasing.At present, user mainly copies the picture stored in mobile terminal to other and had To be backed up in the equipment (such as PC (Personal Computer, personal computer)) of large storage capacity, so as to vacate more The memory space of more mobile terminals.But this method also needs to enter mobile terminal and other storage devices by medium Row connection, if user at one's side without with large storage capacity equipment, but now the memory space of mobile terminal expire, thus Occupation proportion of the picture to the memory space of mobile terminal can not be reduced by the above method, in some instances it may even be possible to can cause mobile whole End is unable to normal use, so as to cause Consumer's Experience to be deteriorated.
The content of the invention
The purpose of the present invention is intended at least solve one of above-mentioned technical problem to a certain extent.
Therefore, backup method of first purpose of the present invention in the picture in a kind of mobile terminal is proposed.This method is led to Cross and back up the local picture in mobile terminal in Cloud Server, prevent picture from surprisingly losing, and in whole backup procedure In, local picture is uploaded into Cloud Server simply by network, so as to improve availability, improves Consumer's Experience.
Standby system of the second object of the present invention in the picture in a kind of mobile terminal is proposed.
Back-up device of the third object of the present invention in the picture in a kind of mobile terminal is proposed.
Fourth object of the present invention is to propose a kind of mobile terminal.
To achieve these goals, in the mobile terminal of first aspect present invention embodiment picture backup method, including: Obtain the local picture in mobile terminal, and the signature according to corresponding to local picture generation each local picture;According to institute The signature for stating local picture generates local signed data table;According to the cloud number of signature of the local signed data table and Cloud Server Signed data table to be uploaded is generated according to table;And picture corresponding to each signature in the signed data table to be uploaded is uploaded to Cloud Server.
The backup method of picture in the mobile terminal of the embodiment of the present invention, the local picture in mobile terminal can be obtained, and The signature according to corresponding to local picture generates each local picture, and local signed data is generated according to the signature of local picture Table, and signed data table to be uploaded is generated according to the cloud signed data table of local signed data table and Cloud Server, so that will Picture corresponding to each signature is uploaded to Cloud Server in signed data table to be uploaded, i.e., by by this map in mobile terminal Piece backs up in Cloud Server, prevents picture from surprisingly losing, and in whole backup procedure, without by cable medium (such as Data wire etc.) mobile terminal and other storage devices are attached, local picture is uploaded into cloud service simply by network Device, so as to improve availability, improve Consumer's Experience.
To achieve these goals, in the mobile terminal of second aspect of the present invention embodiment picture standby system, including: Mobile terminal and Cloud Server, wherein, the mobile terminal, for obtaining the local picture in the mobile terminal, and according to Signed corresponding to the local each local picture of picture generation, and local number of signature is generated according to the signature of the local picture Signed data to be uploaded is generated according to table, and according to the cloud signed data table of the local signed data table and the Cloud Server Table, and picture corresponding to each signature in the signed data table to be uploaded is uploaded to the Cloud Server.
The standby system of picture in the mobile terminal of the embodiment of the present invention, can be by acquisition for mobile terminal mobile terminal Local picture, and the signature according to corresponding to local picture generates each local picture, and this is generated according to the signature of local picture Ground signed data table, and signed data to be uploaded is generated according to the cloud signed data table of local signed data table and Cloud Server Table, so as to which in signed data table to be uploaded Cloud Server will be uploaded to by picture corresponding to each signature, i.e., by by mobile terminal In local picture backed up in Cloud Server, prevent picture from surprisingly losing, and in whole backup procedure, without by having Mobile terminal and other storage devices are attached by line medium (such as data wire), upload local picture simply by network To Cloud Server, so as to improve availability, Consumer's Experience is improved.
To achieve these goals, in the mobile terminal of third aspect present invention embodiment picture back-up device, including: First generation module, each local picture is generated for obtaining the local picture in mobile terminal, and according to the local picture Corresponding signature;Second generation module, for generating local signed data table according to the signature of the local picture;3rd generation Module, for generating signed data table to be uploaded according to the cloud signed data table of the local signed data table and Cloud Server; And uploading module, for picture corresponding to each signature in the signed data table to be uploaded to be uploaded into Cloud Server.
The back-up device of picture in the mobile terminal of the embodiment of the present invention, mobile terminal can be obtained by the first generation module In local picture, and the signature according to corresponding to local picture generates each local picture, the second generation module is according to this map The signature of piece generates local signed data table, and the 3rd generation module is according to the cloud number of signature of local signed data table and Cloud Server Signed data table to be uploaded is generated according to table, picture corresponding to each signature in signed data table to be uploaded is uploaded to by uploading module Cloud Server, i.e., by the way that the local picture in mobile terminal is backed up in Cloud Server, prevent picture from surprisingly losing, and In whole backup procedure, without mobile terminal and other storage devices are attached by cable medium (such as data wire), Local picture is uploaded into Cloud Server simply by network, so as to improve availability, improves Consumer's Experience.
To achieve these goals, the mobile terminal of fourth aspect present invention embodiment, including:Housing, processor, storage Device, circuit board and power circuit, wherein, the circuit board is placed in the interior volume that the housing surrounds, the processor and The memory is arranged on the circuit board;The power circuit, for each circuit or device for the mobile terminal Power supply;The memory is used to store executable program code;What the processor was stored by reading in the memory can Configuration processor code runs program corresponding with the executable program code, for performing following steps:Obtain movement Local picture in terminal, and the signature according to corresponding to local picture generation each local picture;According to described map The signature of piece generates local signed data table;Generated according to the cloud signed data table of the local signed data table and Cloud Server Signed data table to be uploaded;And picture corresponding to each signature in the signed data table to be uploaded is uploaded to cloud service Device.
The mobile terminal of the embodiment of the present invention, the local picture in mobile terminal can be obtained, and be generated according to local picture Signed corresponding to each local picture, and local signed data table is generated according to the signature of local picture, and according to local label The cloud signed data table of name tables of data and Cloud Server generates signed data table to be uploaded, so as to by signed data table to be uploaded Picture corresponding to each signature is uploaded to Cloud Server, i.e., by by the local picture in mobile terminal in Cloud Server it is standby Part, prevent picture from surprisingly losing, and in whole backup procedure, without by cable medium (such as data wire) that movement is whole End and other storage devices are attached, and local picture is uploaded into Cloud Server simply by network, available so as to improve Property, improve Consumer's Experience.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description Obtain substantially, or recognized by the practice of the present invention.
Brief description of the drawings
Of the invention above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Substantially and it is readily appreciated that, wherein,
Fig. 1 is the flow chart of the backup method of picture in mobile terminal according to an embodiment of the invention;
Fig. 2 is the flow chart of the backup method of picture in mobile terminal in accordance with another embodiment of the present invention;
Fig. 3 is the flow chart of the backup method of picture in the mobile terminal according to another embodiment of the invention;
Fig. 4 is the flow chart of the backup method of picture in the mobile terminal according to further embodiment of the present invention;
Fig. 5 is the structural representation of the standby system of picture in mobile terminal according to an embodiment of the invention;
Fig. 6 is the structural representation of the back-up device of picture in mobile terminal according to an embodiment of the invention;
Fig. 7 is the structural representation of the back-up device of picture in mobile terminal in accordance with another embodiment of the present invention;
Fig. 8 is the structural representation of the back-up device of picture in the mobile terminal according to another embodiment of the invention;
Fig. 9 is the structural representation of the back-up device of picture in the mobile terminal according to further embodiment of the present invention;With And
Figure 10 is the structural representation according to the back-up device of picture in the present invention again mobile terminal of further embodiment.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached The embodiment of figure description is exemplary, it is intended to for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the backup method of picture, system, device in mobile terminal according to embodiments of the present invention are described And mobile terminal.
Fig. 1 is the flow chart of the backup method of picture in mobile terminal according to an embodiment of the invention.Such as Fig. 1 institutes Show, the backup method of picture can include in the mobile terminal:
S101, obtain the local picture in mobile terminal, and the label according to corresponding to local picture generates each local picture Name.
Wherein, in an embodiment of the present invention, mobile terminal can be the tool such as mobile phone, tablet personal computer, personal digital assistant There is the hardware device of various operating systems.
Specifically, the picture being locally stored in mobile terminal can be first obtained (picture that stores in such as mobile terminal internal memory, to move Picture that SD card stores in dynamic terminal etc.), afterwards, every pictures of local can be calculated corresponding word by hashing algorithm Symbol string, i.e. digital signature, such as 5d41402abc4b2a76b9719d911017c592.Because digital signature can ensure uniquely Property, therefore a digital signature is only corresponded to per pictures.
S102, local signed data table is generated according to the signature of local picture.
Specifically, the signature of each local picture can be merged to form a tables of data, i.e., local number of signature According to table, the local signed data table includes the signature of all local pictures in mobile terminal.
S103, signed data table to be uploaded is generated according to the cloud signed data table of local signed data table and Cloud Server.
Preferably, in an embodiment of the present invention, the identity information of user can be first obtained, and according to the identity information of user Cloud Server is logged in obtain cloud signed data table.Local signed data table can be compared with cloud signed data table afterwards, To generate signed data table to be uploaded.
For example, so that Cloud Server is mounted Dropbox application in mobile terminal as an example, according to local picture , can be to Dropbox client (such as Kingsoft cloud, the thin cloud etc. the installed on mobile terminal after signature generates local signed data table The application of tripartite's Dropbox) request is initiated, ask the signature of user's all pictures in this Dropbox, i.e. cloud signed data table.To institute After some Dropbox have obtained cloud signed data table, local signed data table can be compared with cloud signed data table, found out The not no signature in third party's Dropbox in local picture, and by these compare after do not upload to the signature in Dropbox and extract Come, and save as a tables of data, to form signed data table to be uploaded.
S104, picture corresponding to each signature in signed data table to be uploaded is uploaded to Cloud Server.
For example, after signed data table to be uploaded generation, can first read each in signed data table to be uploaded Signature, the picture to be uploaded according to corresponding to being found each signature.Afterwards, the API (Application of each platform can be passed through Programming Interface, application programming interface) interface, above-mentioned picture to be uploaded is uploaded into Cloud Server In, finished until last picture uploads.Now, the picture library in local picture and Cloud Server is consistent, namely Local picture has backup in Cloud Server.
The backup method of picture in the mobile terminal of the embodiment of the present invention, the local picture in mobile terminal can be obtained, and The signature according to corresponding to local picture generates each local picture, and local signed data is generated according to the signature of local picture Table, and signed data table to be uploaded is generated according to the cloud signed data table of local signed data table and Cloud Server, so that will Picture corresponding to each signature is uploaded to Cloud Server in signed data table to be uploaded, i.e., by by this map in mobile terminal Piece backs up in Cloud Server, prevents picture from surprisingly losing, and in whole backup procedure, without by cable medium (such as Data wire etc.) mobile terminal and other storage devices are attached, local picture is uploaded into cloud service simply by network Device, so as to improve availability, improve Consumer's Experience.
In order to lift Consumer's Experience, the local spatial of mobile terminal is saved, in one embodiment of the invention, such as Fig. 2 Shown, after above-mentioned S104, the backup method of picture can also include in the mobile terminal:
S205, the local picture in mobile terminal is cleared up according to local signed data table.
Optionally, in one embodiment of the invention, can first obtain local corresponding to signature in local signed data table Picture, and obtain the renewal time of local picture corresponding to signature in local signed data table.Afterwards, can be according to renewal time pair Local picture corresponding to signature is cleared up in local signed data table.
That is, after picture corresponding to each signature is uploaded to Cloud Server in signed data table to be uploaded, can Local picture corresponding to signature in local signed data table is first read out, and obtains the renewal time of these local pictures.Afterwards, The picture of renewal time rearward can be cleared up, you can the too long of picture of storage time is deleted in cleaning, or deletes what is be of little use Picture.Thus, it can be achieved to be automatically deleted the picture being of little use, improve Consumer's Experience.
Optionally, in another embodiment of the present invention, can first obtain corresponding to being signed in local signed data table originally Ground picture, and local picture corresponding to signature in local signed data table is provided to user so that user is selected.Afterwards, Local picture corresponding to signature in local signed data table can be cleared up according to the selection result of user.Thus, can basis The selection result of user carries out the cleaning of picture, it then follows the independent desire of user, so as to improve Consumer's Experience.
The backup method of picture in the mobile terminal of the embodiment of the present invention, will each it signed in signed data table to be uploaded Corresponding picture is uploaded to after Cloud Server, the local picture in mobile terminal can be carried out according to local signed data table clear Reason, the local spatial of mobile terminal is saved, by after backup and the picture that is of little use is deleted, vacateed for user and more deposited Space is stored up, so as to improve Consumer's Experience.
Optionally, in another embodiment of the present invention, as shown in figure 3, after above-mentioned S104, scheme in the mobile terminal The backup method of piece can also include:
S306, cloud signed data table is updated according to signed data table to be uploaded.
Specifically, can after picture corresponding to each signature in signed data table to be uploaded is uploaded into Cloud Server All signatures in signed data table to be uploaded are added in cloud signed data table, to complete to cloud signed data table more Newly.
The backup method of picture in the mobile terminal of the embodiment of the present invention, will each it signed in signed data table to be uploaded Corresponding picture is uploaded to after Cloud Server, and cloud signed data table is updated according to signed data table to be uploaded, is expanded And the quantity of the signature in perfect cloud signed data table, while also ensured that each signature is corresponding in signed data table to be uploaded Picture uploaded in Cloud Server.
Optionally, in yet another embodiment of the present invention, as shown in figure 4, will in signed data table to be uploaded it is each Picture corresponding to signature is uploaded to after Cloud Server (i.e. above-mentioned S104), and the backup method of picture can be with the mobile terminal Including:
S407, send backup to user and complete prompting.
The backup method of picture in the mobile terminal of the embodiment of the present invention, will each it signed in signed data table to be uploaded Corresponding picture is uploaded to after Cloud Server, can be sent backup to user and be completed prompting, so as to obtain user more intuitively Solve picture to have completed to back up, improve Consumer's Experience.
In summary, basic thought of the invention is:Whether the local picture that can first detect in mobile terminal uploads to cloud In server, user is reminded to upload or be uploaded directly into Cloud Server in these new pictures if not uploading;If Have been detected by picture has backup in Cloud Server, then deletes the local picture having had backed up, mobile whole to clear up with this Picture in end, increase the free space of mobile terminal.
In addition, the invention also provides a kind of standby system of picture in mobile terminal.
Fig. 5 is the structural representation of the standby system of picture in mobile terminal according to an embodiment of the invention.Such as Fig. 5 Shown, the standby system of picture can include in the mobile terminal:Mobile terminal 100 and Cloud Server 200.Wherein, in this hair In bright embodiment, mobile terminal 100 can be that mobile phone, tablet personal computer, personal digital assistant etc. have various operating systems Hardware device.
Specifically, mobile terminal 100 can be used for obtaining the local picture in mobile terminal 100, and be given birth to according to local picture Into signature corresponding to each local picture, and local signed data table is generated according to the signature of local picture, and according to local label The cloud signed data table of name tables of data and Cloud Server 200 generates signed data table to be uploaded, and by signed data to be uploaded Picture corresponding to each signature is uploaded to Cloud Server 200 in table.
More specifically, mobile terminal 100 can first obtain picture (such as mobile terminal 100 being locally stored in mobile terminal 100 Picture that SD card stores in the picture that is stored in internal memory, mobile terminal 100 etc.), afterwards, every pictures of local can be passed through scattered Row algorithm calculates corresponding character string, i.e. digital signature, such as 5d41402abc4b2a76b9719d911017c592.By It can ensure uniqueness in digital signature, therefore a digital signature is only corresponded to per pictures.Afterwards, can will each local picture Signature merge to form a tables of data, i.e., local signed data table, the local signed data table include it is mobile eventually The signature of all local pictures in end 100.Then, generated according to the cloud signed data table of local signed data table and Cloud Server Signed data table to be uploaded.Finally, after signed data table to be uploaded generation, mobile terminal 100 can first read label to be uploaded Each signature in name tables of data, the picture to be uploaded according to corresponding to being found each signature.Afterwards, each platform can be passed through Api interface, above-mentioned picture to be uploaded is uploaded in Cloud Server 200, finished until last picture uploads.Now, Local picture is consistent with the picture library in Cloud Server 200, namely local picture has in Cloud Server 200 Backup.
Preferably, in an embodiment of the present invention, mobile terminal 100 can obtain the identity information of user, and according to user Identity information log in Cloud Server 200 to obtain cloud signed data table, and by local signed data table and cloud signed data Table is compared, to generate signed data table to be uploaded.
For example, so that Cloud Server 200 is mounted Dropbox application in mobile terminal 100 as an example, according to local , can be to Dropbox client (such as the Kingsoft installed on mobile terminal 100 after the signature of picture generates local signed data table The application of third party's Dropbox such as cloud, thin cloud) request is initiated, ask the signature of user's all pictures in this Dropbox, i.e. cloud number of signature According to table.After cloud signed data table has been obtained to all Dropbox, local signed data table and cloud signed data table can be entered Row compares, and finds out in local picture the not signature in third party's Dropbox, and by these compare after do not upload in Dropbox Signature extract, and a tables of data is saved as, to form signed data table to be uploaded.
Further, in one embodiment of the invention, mobile terminal 100 can be additionally used in by signed data to be uploaded Picture corresponding to each signature is uploaded to after Cloud Server 200 in table, according to local signed data table in mobile terminal 100 Local picture cleared up.
Preferably, in one embodiment of the invention, mobile terminal 100 can be obtained first signs in local signed data table Corresponding local picture, and the renewal time of local picture corresponding to signature in local signed data table is obtained, afterwards can basis Renewal time is cleared up local picture corresponding to signature in local signed data table.
That is, the picture corresponding to each signature in signed data table to be uploaded of mobile terminal 100 is uploaded to cloud clothes It is engaged in after device 200, can first reads out local picture corresponding to signature in local signed data table, and obtain these local pictures Renewal time.Afterwards, the picture of renewal time rearward can be cleared up, you can the too long of picture of storage time is deleted in cleaning, Or delete the picture being of little use.Thus, it can be achieved to be automatically deleted the picture being of little use, improve Consumer's Experience.
Preferably, in another embodiment of the present invention, mobile terminal 100 can be obtained first signs in local signed data table Local picture corresponding to name, and local picture corresponding to signature in local signed data table is provided to user so that user is carried out Selection, local picture corresponding to signature in local signed data table can be cleared up according to the selection result of user afterwards.By This, can carry out the cleaning of picture according to the selection result of user, it then follows the independent desire of user, so as to improve Consumer's Experience.
Thus, the local picture in mobile terminal is cleared up according to local signed data table, saves mobile terminal Local spatial, by after backup and the picture that is of little use is deleted, more memory spaces have been vacateed for user, so as to improve Consumer's Experience.
Optionally, in one embodiment of the invention, Cloud Server 200 can be additionally used on mobile terminal 100 will be treated Pass picture corresponding to each signature in signed data table to be uploaded to after Cloud Server 200, according to signed data table pair to be uploaded Cloud signed data table is updated.More specifically, in mobile terminal 100 by corresponding to each signature in signed data table to be uploaded Picture is uploaded to after Cloud Server 200, and all signatures in signed data table to be uploaded can be added to cloud by Cloud Server 200 In signed data table, to complete the renewal to cloud signed data table.Thus, expand and the signature in perfect cloud signed data table Quantity, while also ensured in signed data table to be uploaded that picture corresponding to each signature has been uploaded in Cloud Server.
Optionally, in one embodiment of the invention, be additionally operable to will be to be uploaded in mobile terminal 100 for Cloud Server 200 Picture corresponding to each signature is uploaded to after Cloud Server 200 in signed data table, and sending backup to user completes prompting.By This, may be such that user is more visually known picture and has completed to back up, improve Consumer's Experience.
The standby system of picture in the mobile terminal of the embodiment of the present invention, can be by acquisition for mobile terminal mobile terminal Local picture, and the signature according to corresponding to local picture generates each local picture, and this is generated according to the signature of local picture Ground signed data table, and signed data to be uploaded is generated according to the cloud signed data table of local signed data table and Cloud Server Table, so as to which in signed data table to be uploaded Cloud Server will be uploaded to by picture corresponding to each signature, i.e., by by mobile terminal In local picture backed up in Cloud Server, prevent picture from surprisingly losing, and in whole backup procedure, without by having Mobile terminal and other storage devices are attached by line medium (such as data wire), upload local picture simply by network To Cloud Server, so as to improve availability, Consumer's Experience is improved.
In addition, the invention also provides a kind of back-up device of picture in mobile terminal.
Fig. 6 is the structural representation of the back-up device of picture in mobile terminal according to an embodiment of the invention.Such as Fig. 6 Shown, the back-up device of picture can include in the mobile terminal:First generation module 110, the second generation module the 120, the 3rd Generation module 130 and uploading module 140.
Specifically, the first generation module 110 can be used for obtaining the local picture in mobile terminal, and be given birth to according to local picture Into signature corresponding to each local picture.Wherein, in an embodiment of the present invention, mobile terminal can be mobile phone, tablet personal computer, Personal digital assistant etc. has the hardware device of various operating systems.
More specifically, the first generation module 110 can first obtain the picture being locally stored in mobile terminal (such as in mobile terminal Picture that SD card stores in the picture of storage, mobile terminal etc.), afterwards, every pictures of local can be passed through to hash calculation Method calculates corresponding character string, i.e. digital signature, such as 5d41402abc4b2a76b9719d911017c592.Due to number Word signature can ensure uniqueness, therefore a digital signature is only corresponded to per pictures.
Second generation module 120 can be used for generating local signed data table according to the signature of local picture.More specifically, the Two generation modules 120 can merge the signature of each local picture to form a tables of data, i.e., local signed data Table, the local signed data table include the signature of all local pictures in mobile terminal.
3rd generation module 130 can be used for being treated according to the generation of the cloud signed data table of local signed data table and Cloud Server Upload signed data table.
Uploading module 140 can be used for picture corresponding to each signature in signed data table to be uploaded being uploaded to cloud service Device.For example, after signed data table to be uploaded generation, uploading module 140 can be first read in signed data table to be uploaded Each signature, the picture to be uploaded according to corresponding to being found each signature.Afterwards, can be by the api interface of each platform, will Above-mentioned picture to be uploaded is uploaded in Cloud Server, is finished until last picture uploads.Now, local picture and cloud Picture library in server is consistent, namely local picture has backup in Cloud Server.
Preferably, in one embodiment of the invention, as shown in fig. 7, the 3rd generation module 130 may include acquiring unit 131 and generation unit 132.Specifically, acquiring unit 131 can be used for the identity information for obtaining user, and according to the identity of user Log Cloud Server is to obtain cloud signed data table.Generation unit 132 can be used for signing in local signed data table and cloud Tables of data is compared, to generate signed data table to be uploaded.
For example, so that Cloud Server is mounted Dropbox application in mobile terminal as an example, in the second generation module 120 After generating local signed data table according to the signature of local picture, acquiring unit 131 can be to the Dropbox installed on mobile terminal Client (such as the application of third party's Dropbox such as Kingsoft cloud, thin cloud) initiates request, asks user's all pictures in this Dropbox Signature, i.e. cloud signed data table.After cloud signed data table has been obtained to all Dropbox, generation unit 132 can be by local Signed data table is compared with cloud signed data table, finds out the not signature in third party's Dropbox, and will in local picture These signatures not uploaded in Dropbox after comparing extract, and save as a tables of data, to form signature to be uploaded Tables of data.
Optionally, in one embodiment of the invention, as shown in figure 8, the back-up device of picture is also in the mobile terminal Cleaning modul 150 can be included.Specifically, cleaning modul 150 can be used in signed data table to be uploaded in uploading module 140 Picture corresponding to each signature is uploaded to after Cloud Server, according to local signed data table to the local picture in mobile terminal Cleared up.Thus, the local spatial of mobile terminal is saved, by after backup and the picture that is of little use is deleted, is risen for user More memory spaces are gone out, so as to improve Consumer's Experience.
Optionally, in an embodiment of the present invention, as shown in figure 9, cleaning modul 150 may include acquiring unit 151 and One cleaning unit 152.Specifically, acquiring unit 151 can be used for obtaining local picture corresponding to signature in local signed data table, And obtain the renewal time of local picture corresponding to signature in local signed data table.First cleaning unit 152 can be used for basis Renewal time is cleared up local picture corresponding to signature in local signed data table.
That is, picture corresponding to each signature in signed data table to be uploaded is uploaded to cloud in uploading module 140 After server, acquiring unit 151 can first read out local picture corresponding to signature in local signed data table, and obtain these The renewal time of local picture.First cleaning unit 152 can be cleared up the picture of renewal time rearward, you can cleaning is deleted The too long of picture of storage time, or delete the picture being of little use.Thus, it can be achieved to be automatically deleted the picture being of little use, improve Consumer's Experience.
Optionally, in an embodiment of the present invention, as shown in Figure 10, cleaning modul 150 may include to provide unit 153 and the Two cleaning units 154.Specifically, there is provided unit 153 can be used for obtaining local picture corresponding to signature in local signed data table, And local picture corresponding to signature in local signed data table is provided to user so that user is selected.Second cleaning unit 154 can be used for clearing up local picture corresponding to signature in local signed data table according to the selection result of user.Thus, The cleaning of picture can be carried out according to the selection result of user, it then follows the independent desire of user, so as to improve Consumer's Experience.
The back-up device of picture in the mobile terminal of the embodiment of the present invention, mobile terminal can be obtained by the first generation module In local picture, and the signature according to corresponding to local picture generates each local picture, the second generation module is according to this map The signature of piece generates local signed data table, and the 3rd generation module is according to the cloud number of signature of local signed data table and Cloud Server Signed data table to be uploaded is generated according to table, picture corresponding to each signature in signed data table to be uploaded is uploaded to by uploading module Cloud Server, i.e., by the way that the local picture in mobile terminal is backed up in Cloud Server, prevent picture from surprisingly losing, and In whole backup procedure, without mobile terminal and other storage devices are attached by cable medium (such as data wire), Local picture is uploaded into Cloud Server simply by network, so as to improve availability, improves Consumer's Experience.
In addition, the invention also provides a kind of mobile terminal, it is necessary to which explanation, in an embodiment of the present invention, mobile Terminal, which can be regarded as mobile phone, tablet personal computer, personal digital assistant etc., has the hardware device of various operating systems.It can be wrapped Include:Housing, processor, memory, circuit board and power circuit, wherein, circuit board is placed in the interior volume that housing surrounds, place Manage device and memory is set on circuit boards;Power circuit, for each circuit or the device power supply for mobile terminal;Memory For storing executable program code;The executable program code that processor is stored by reading in memory is run with that can hold Program corresponding to line program code, for performing following steps:
S101 ', obtain the local picture in mobile terminal, and the label according to corresponding to local picture generates each local picture Name.
S102 ', local signed data table is generated according to the signature of local picture.
S103 ', signed data table to be uploaded is generated according to the cloud signed data table of local signed data table and Cloud Server.
S104 ', picture corresponding to each signature in signed data table to be uploaded is uploaded to Cloud Server.
The mobile terminal of the embodiment of the present invention, the local picture in mobile terminal can be obtained, and be generated according to local picture Signed corresponding to each local picture, and local signed data table is generated according to the signature of local picture, and according to local label The cloud signed data table of name tables of data and Cloud Server generates signed data table to be uploaded, so as to by signed data table to be uploaded Picture corresponding to each signature is uploaded to Cloud Server, i.e., by by the local picture in mobile terminal in Cloud Server it is standby Part, prevent picture from surprisingly losing, and in whole backup procedure, without by cable medium (such as data wire) that movement is whole End and other storage devices are attached, and local picture is uploaded into Cloud Server simply by network, available so as to improve Property, improve Consumer's Experience.
In the description of the invention, it is to be understood that term " first ", " second " are only used for describing purpose, and can not It is interpreted as indicating or implies relative importance or imply the quantity of the technical characteristic indicated by indicating.Thus, define " the One ", at least one this feature can be expressed or be implicitly included to the feature of " second ".In the description of the invention, " multiple " It is meant that at least two, such as two, three etc., unless otherwise specifically defined.
Any process or method described otherwise above description in flow chart or herein is construed as, and represents to include Module, fragment or the portion of the code of the executable instruction of one or more the step of being used to realize specific logical function or process Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system including the system of processor or other can be held from instruction The system of row system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass Defeated program is for instruction execution system, device or equipment or the dress used with reference to these instruction execution systems, device or equipment Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium, which can even is that, to print the paper of described program thereon or other are suitable Medium, because can then enter edlin, interpretation or if necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, software that multiple steps or method can be performed in memory and by suitable instruction execution system with storage Or firmware is realized.If, and in another embodiment, can be with well known in the art for example, realized with hardware Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal Discrete logic, have suitable combinational logic gate circuit application specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method carries Suddenly it is that by program the hardware of correlation can be instructed to complete, described program can be stored in a kind of computer-readable storage medium In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, can also That unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould Block can both be realized in the form of hardware, can also be realized in the form of software function module.The integrated module is such as Fruit is realized in the form of software function module and as independent production marketing or in use, can also be stored in a computer In read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description Point is contained at least one embodiment or example of the present invention.In this manual, to the schematic representation of above-mentioned term not Identical embodiment or example must be directed to.Moreover, specific features, structure, material or the feature of description can be with office Combined in an appropriate manner in one or more embodiments or example.In addition, in the case of not conflicting, the skill of this area Art personnel can be tied the different embodiments or example and the feature of different embodiments or example described in this specification Close and combine.
Although embodiments of the invention have been shown and described above, it is to be understood that above-described embodiment is example Property, it is impossible to limitation of the present invention is interpreted as, one of ordinary skill in the art within the scope of the invention can be to above-mentioned Embodiment is changed, changed, replacing and modification.

Claims (17)

1. the backup method of picture in a kind of mobile terminal, it is characterised in that comprise the following steps:
The local picture in mobile terminal, and the signature according to corresponding to local picture generation each local picture are obtained, its In, the local picture is calculated into corresponding digital signature by hashing algorithm;
Local signed data table is generated according to the signature of the local picture;
Signed data table to be uploaded is generated according to the cloud signed data table of the local signed data table and Cloud Server, wherein, The identity information of user is obtained, and the Cloud Server is logged in obtain the cloud number of signature according to the identity information of the user According to table, the local signed data table is compared with the cloud signed data table, found out in the local signed data table The not signature in the cloud signed data table, and the signature not having in the cloud signed data table is saved as into a data Table, to form signed data table to be uploaded;And
Picture corresponding to each signature in the signed data table to be uploaded is uploaded to Cloud Server.
2. the backup method of picture in mobile terminal as claimed in claim 1, it is characterised in that it is described will be described to be uploaded Picture corresponding to each signature is uploaded to after Cloud Server in signed data table, in addition to:
The local picture in the mobile terminal is cleared up according to the local signed data table.
3. the backup method of picture in mobile terminal as claimed in claim 1, it is characterised in that it is described will be described to be uploaded Picture corresponding to each signature is uploaded to after Cloud Server in signed data table, in addition to:
The cloud signed data table is updated according to the signed data table to be uploaded.
4. the backup method of picture in mobile terminal as claimed in claim 2, it is characterised in that described according to the local label Name tables of data carries out cleaning to the local picture in the mobile terminal and specifically included:
Local picture corresponding to signature in the local signed data table is obtained, and obtains and is signed in the local signed data table The renewal time of corresponding local picture;
Local picture corresponding to signature in the local signed data table is cleared up according to renewal time.
5. the backup method of picture in mobile terminal as claimed in claim 2, it is characterised in that described according to the local label Name tables of data carries out cleaning to the local picture in the mobile terminal and specifically included:
Obtain in the local signed data table local picture corresponding to signature, and will signature pair in the local signed data table The local picture answered is provided to user so that the user is selected;
Local picture corresponding to signature in the local signed data table is cleared up according to the selection result of the user.
6. the backup method of picture in mobile terminal as claimed in claim 1, it is characterised in that it is described will be described to be uploaded Picture corresponding to each signature is uploaded to after Cloud Server in signed data table, in addition to:
Backup, which is sent, to user completes prompting.
A kind of 7. standby system of picture in mobile terminal, it is characterised in that including:Mobile terminal and Cloud Server, wherein,
The mobile terminal, generated each for obtaining the local picture in the mobile terminal, and according to the local picture Signed corresponding to local picture, and local signed data table is generated according to the signature of the local picture, and according to the local The cloud signed data table of signed data table and the Cloud Server generates signed data table to be uploaded, wherein, obtain the body of user Part information, and the Cloud Server is logged in obtain the cloud signed data table according to the identity information of the user, by described in Local signed data table is compared with the cloud signed data table, finds out in the local signed data table not in the cloud Signature in signed data table, and the signature not having in the cloud signed data table is saved as into a tables of data, treated with being formed Signed data table is uploaded, and picture corresponding to each signature in the signed data table to be uploaded is uploaded to the cloud service Device, wherein, the local picture is calculated into corresponding digital signature by hashing algorithm.
8. the standby system of picture in mobile terminal as claimed in claim 7, it is characterised in that the mobile terminal is additionally operable to It is described will be after picture corresponding to each signature be uploaded to the Cloud Server in signed data table to be uploaded, according to described Ground signed data table is cleared up the local picture in the mobile terminal.
9. the standby system of picture in mobile terminal as claimed in claim 7, it is characterised in that the Cloud Server is additionally operable to The mobile terminal will in the signed data table to be uploaded picture corresponding to each signature be uploaded to the Cloud Server it Afterwards, the cloud signed data table is updated according to the signed data table to be uploaded.
10. the standby system of picture in mobile terminal as claimed in claim 8, it is characterised in that the mobile terminal also has Body is used for:Local picture corresponding to signature in the local signed data table is obtained, and is obtained in the local signed data table The renewal time of local picture corresponding to signature, and according to renewal time to corresponding to signature in the local signed data table Local picture is cleared up.
11. the standby system of picture in mobile terminal as claimed in claim 8, it is characterised in that the mobile terminal also has Body is used for:Local picture corresponding to signature in the local signed data table is obtained, and will be signed in the local signed data table Local picture corresponding to name is provided to user so that the user is selected, and according to the selection result of the user to institute Local picture corresponding to signature in local signed data table is stated to be cleared up.
12. the standby system of picture in mobile terminal as claimed in claim 7, it is characterised in that the Cloud Server is also used In in the mobile terminal Cloud Server will be uploaded to by picture corresponding to each signature in the signed data table to be uploaded Afterwards, send backup to user and complete prompting.
A kind of 13. back-up device of picture in mobile terminal, it is characterised in that including:
First generation module, generated each locally for obtaining the local picture in mobile terminal, and according to the local picture Signed corresponding to picture, wherein, the local picture is calculated into corresponding digital signature by hashing algorithm;
Second generation module, for generating local signed data table according to the signature of the local picture;
3rd generation module, it is to be uploaded for being generated according to the cloud signed data table of the local signed data table and Cloud Server Signed data table, the 3rd generation module include:Acquiring unit, for obtaining the identity information of user, and according to the use The identity information at family logs in the Cloud Server to obtain the cloud signed data table;And
Generation unit, for the local signed data table to be compared with the cloud signed data table, find out the local The not signature in the cloud signed data table, and the signature not having in the cloud signed data table is protected in signed data table A tables of data is saved as, to form signed data table to be uploaded;And
Uploading module, for picture corresponding to each signature in the signed data table to be uploaded to be uploaded into Cloud Server.
14. the back-up device of picture in mobile terminal as claimed in claim 13, it is characterised in that also include:
Cleaning modul, for uploading picture corresponding to each signature in the signed data table to be uploaded in the uploading module To Cloud Server, the local picture in the mobile terminal is cleared up according to the local signed data table.
15. the back-up device of picture in mobile terminal as claimed in claim 14, it is characterised in that also described cleaning modul bag Include:
Acquiring unit, for obtaining local picture corresponding to signature in the local signed data table, and obtain the local label The renewal time of local picture corresponding to signature in name tables of data;And
First cleaning unit, for being carried out according to renewal time to local picture corresponding to signature in the local signed data table Cleaning.
16. the back-up device of picture in mobile terminal as claimed in claim 14, it is characterised in that the cleaning modul bag Include:
Unit is provided, locally signed for obtaining local picture corresponding to signature in the local signed data table, and by described Local picture corresponding to signature is provided to user so that the user is selected in tables of data;And
Second cleaning unit, for the selection result according to the user to sheet corresponding to signature in the local signed data table Ground picture is cleared up.
A kind of 17. mobile terminal, it is characterised in that including:Housing, processor, memory, circuit board and power circuit, wherein, The circuit board is placed in the interior volume that the housing surrounds, and the processor and the memory are arranged on the circuit board On;The power circuit, for each circuit or the device power supply for the mobile terminal;The memory is used to store and can hold Line program code;The processor is held by reading the executable program code stored in the memory to run with described Program corresponding to line program code, for performing following steps:
The local picture in mobile terminal, and the signature according to corresponding to local picture generation each local picture are obtained, its In, the local picture is calculated into corresponding digital signature by hashing algorithm;
Local signed data table is generated according to the signature of the local picture;
Signed data table to be uploaded is generated according to the cloud signed data table of the local signed data table and Cloud Server, wherein, The identity information of user is obtained, and the Cloud Server is logged in obtain the cloud number of signature according to the identity information of the user According to table, the local signed data table is compared with the cloud signed data table, found out in the local signed data table The not signature in the cloud signed data table, and the signature not having in the cloud signed data table is saved as into a data Table, to form signed data table to be uploaded;And
Picture corresponding to each signature in the signed data table to be uploaded is uploaded to Cloud Server.
CN201410345698.0A 2014-07-18 2014-07-18 Method, system and device for backing up picture in mobile terminal and mobile terminal Active CN104123200B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410345698.0A CN104123200B (en) 2014-07-18 2014-07-18 Method, system and device for backing up picture in mobile terminal and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410345698.0A CN104123200B (en) 2014-07-18 2014-07-18 Method, system and device for backing up picture in mobile terminal and mobile terminal

Publications (2)

Publication Number Publication Date
CN104123200A CN104123200A (en) 2014-10-29
CN104123200B true CN104123200B (en) 2018-03-30

Family

ID=51768621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410345698.0A Active CN104123200B (en) 2014-07-18 2014-07-18 Method, system and device for backing up picture in mobile terminal and mobile terminal

Country Status (1)

Country Link
CN (1) CN104123200B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104683648A (en) * 2015-03-12 2015-06-03 深圳市美贝壳科技有限公司 Image data automatic transmission method and device for mobile terminal and receiving device
CN105045536B (en) * 2015-07-29 2019-09-20 百度在线网络技术(北京)有限公司 A kind of method, apparatus and system of data storage
CN105262810B (en) * 2015-09-29 2019-04-26 北京金山安全软件有限公司 Cloud backup method and device for picture and electronic equipment
CN105791556A (en) * 2016-02-27 2016-07-20 深圳市美贝壳科技有限公司 Method for quickly releasing storage space of mobile terminal
CN109298971A (en) * 2018-08-28 2019-02-01 维沃移动通信有限公司 A kind of picture backup method and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557551A (en) * 2009-05-11 2009-10-14 成都市华为赛门铁克科技有限公司 Cloud service accessing method, device and communication system thereof for mobile terminal
WO2010148794A1 (en) * 2009-12-11 2010-12-29 中兴通讯股份有限公司 Cloud storage system and method thereof
CN102665039A (en) * 2012-05-17 2012-09-12 北京工业大学 Digital camera and operating method of camera by using cloud computing platform
WO2013044514A1 (en) * 2011-09-30 2013-04-04 宇龙计算机通信科技(深圳)有限公司 Media file processing method and mobile terminal
CN103179153A (en) * 2011-12-22 2013-06-26 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and mobile terminal data backup method based on cloud server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020087552A1 (en) * 2000-04-12 2002-07-04 Samba Holdings, Inc. Methods and systems for providing access to information via query application and output interface application

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557551A (en) * 2009-05-11 2009-10-14 成都市华为赛门铁克科技有限公司 Cloud service accessing method, device and communication system thereof for mobile terminal
WO2010148794A1 (en) * 2009-12-11 2010-12-29 中兴通讯股份有限公司 Cloud storage system and method thereof
WO2013044514A1 (en) * 2011-09-30 2013-04-04 宇龙计算机通信科技(深圳)有限公司 Media file processing method and mobile terminal
CN103179153A (en) * 2011-12-22 2013-06-26 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and mobile terminal data backup method based on cloud server
CN102665039A (en) * 2012-05-17 2012-09-12 北京工业大学 Digital camera and operating method of camera by using cloud computing platform

Also Published As

Publication number Publication date
CN104123200A (en) 2014-10-29

Similar Documents

Publication Publication Date Title
CN104123200B (en) Method, system and device for backing up picture in mobile terminal and mobile terminal
CN105262810B (en) Cloud backup method and device for picture and electronic equipment
CN102132312A (en) Tagging images with labels
CN102132244A (en) Image tagging user interface
WO2015132548A1 (en) Method and apparatus for generating interactive photo mosaic images
CN104469717B (en) Note transmission method and device
CN105868056B (en) Obtain the method, apparatus and secure virtual machine of deleted document in Windows virtual machine
US10958744B2 (en) Identifying and managing redundant digital content transfers
CN102231881B (en) Method, server and system for processing user data of mobile terminal
CN112950738A (en) Rendering engine processing method and device, storage medium and electronic equipment
CN103559098B (en) Smart card test number control, Apparatus and system
CN114418825B (en) Image processing method, image processing device, computer equipment and storage medium
CN104182532B (en) Terminal file cleaning method and device and terminal
CN103314364A (en) Content management device, method for managing content, and program
CN108197323B (en) Map data processing method applied to distributed system
CN105069120B (en) Picture management method and device and mobile terminal
CN108243207A (en) A kind of date storage method of network cloud disk
CN104077053B (en) Terminal information operating method and device and mobile terminal
WO2017143846A1 (en) Picture backup method and apparatus, and electronic device
CN113012031A (en) Image processing method and image processing apparatus
CN105989096A (en) Account information clearing method and apparatus
CN106899630B (en) Thumbnail display method and device for pictures in network disk
CN108319701B (en) Map data comprehensive processing method
CN106331849A (en) Video image processing method and device and electronic equipment
CN111401438A (en) Image sorting method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant