CN107632795A - Method, equipment, mobile terminal and the computer-readable storage medium of mobile data - Google Patents

Method, equipment, mobile terminal and the computer-readable storage medium of mobile data Download PDF

Info

Publication number
CN107632795A
CN107632795A CN201711009177.8A CN201711009177A CN107632795A CN 107632795 A CN107632795 A CN 107632795A CN 201711009177 A CN201711009177 A CN 201711009177A CN 107632795 A CN107632795 A CN 107632795A
Authority
CN
China
Prior art keywords
data
moved
copy
target location
mobile
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.)
Granted
Application number
CN201711009177.8A
Other languages
Chinese (zh)
Other versions
CN107632795B (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.)
Qiku Internet Technology Shenzhen Co Ltd
Original Assignee
Qiku Internet Technology Shenzhen 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 Qiku Internet Technology Shenzhen Co Ltd filed Critical Qiku Internet Technology Shenzhen Co Ltd
Priority to CN201711009177.8A priority Critical patent/CN107632795B/en
Publication of CN107632795A publication Critical patent/CN107632795A/en
Application granted granted Critical
Publication of CN107632795B publication Critical patent/CN107632795B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention proposes method, equipment, mobile terminal and the computer-readable storage medium of mobile data, including:Receive data movement request;Wherein, the corresponding data to be moved of the data movement request and target location;Perform the operation of the data copy to be moved to the target location;When it is determined that the operation of the copy is completed, judge to copy the data of the target location to and whether the data to be moved are consistent;If the determination result is YES, then the data to be moved are deleted to complete data movement.With this, by this programme, when carrying out data movement, first by data copy to target location, then determine that copy is completed and succeeds and then deleted former data again, even if to be gone wrong in this any link in this programme, loss of data will not be also caused, ensure that the safety of data.

Description

Method, equipment, mobile terminal and the computer-readable storage medium of mobile data
Technical field
The present invention relates to data processing field, the more particularly to method of mobile data, equipment, mobile terminal and computer Storage medium.
Background technology
At present when carrying out data movement, such as shearing photos folder DCIM to new directory, it is possible to can cause to be cut The photo cut is lost.Specifically, in a specific example, such as Android phone is by DCIM (Digital Camera In Memory, store the file of photo) etc. when clipping to comprising photo, the big file of video in external storage card, having can Energy photo only comes several, and other photos do not have entirely.And such case is directed to, photo can not also recover, and cause to use Family experience is excessively poor.
Therefore, it is necessary to which a kind of safe method carries out data movement, to ensure the safety of the migration of data.
The content of the invention
For in the prior art the defects of, the present invention proposes method, equipment, mobile terminal and the calculating of mobile data Machine storage medium, to realize safe mobile data, to ensure the data safety of user.
Specifically, the present invention proposes embodiment in detail below:
Technical solution of the present invention one proposes a kind of method of mobile data, including:
Receive data movement request;Wherein, the corresponding data to be moved of the data movement request and target location;
Perform the operation of the data copy to be moved to the target location;
When it is determined that the operation of the copy is completed, judge to copy the data of the target location and the number to be moved to According to whether consistent;
If the determination result is YES, then the data to be moved are deleted to complete data movement.
Technical solution of the present invention two proposes on the basis of technical scheme one, and the execution is by the data copy to be moved To the operation of the target location, including:
Determine the quantity of the subdata included by the data to be moved;
If quantity is more than preset value, the data to be moved are performed with the operation for copying the target location to.
Technical solution of the present invention three proposes on the basis of technical scheme two, in addition to:
If quantity is less than or equal to preset value, mobile behaviour is performed to the data to be moved according to default mobile scheme Make.
Technical solution of the present invention four proposes that moving operation corresponding to the mobile scheme is on the basis of technical scheme three While mobile data, operation that the data for being performed moving operation are deleted.
Technical solution of the present invention five proposes that the data movement request includes on the basis of technical scheme one:Mobile number According to request, shear data request, compression after delete data request.
Technical solution of the present invention six proposes that the operation for determining the copy is completed on the basis of technical scheme one, Including:
Determine that the data to be moved complete simultaneously operating in physical store corresponding to the target location.
Technical solution of the present invention seven proposes that the judgement copies the target location on the basis of technical scheme one Whether data and the data to be moved are consistent, including:
Judge to copy in the data of the target location with the quantity of the subdata in the data to be moved and each Whether the size of the subdata is consistent;Or
Judge to copy in the data of the target location with the quantity of the subdata in the data to be moved, each described The size of subdata, and it is whether consistent for empty subdata;
If judged result is all yes, it is determined that the data for copying the target location to are consistent with the data to be moved;
If judged result is not all yes, it is determined that the data and the data to be moved for copying the target location to differ Cause.
Technical solution of the present invention eight proposes on the basis of technical scheme one or technical scheme seven, in addition to:
When the data and the inconsistent data to be moved for copying the target location to, inconsistent data portion is obtained Point information and be shown, and generate prompting operation information;Wherein, the prompting operation information includes:For abandoning differing The communication icon of the data division of cause and the communication icon for re-executing copy function to inconsistent data division.
Technical solution of the present invention nine proposes on the basis of technical scheme one, it is described if the determination result is YES, described in deletion Data to be moved are moved with completing data, including:
If the determination result is YES, then generation copies successful message, and generates prompt message;Wherein, the prompt message To prompt whether to delete data to be moved;
When the deletion for getting feedback confirms instruction, the data to be moved are deleted to complete data movement.
Technical solution of the present invention ten proposes a kind of equipment of mobile data, including:
Receiving module, for receiving data movement request;Wherein, the corresponding data to be moved of data movement request and Target location;
Execution module, for performing the operation of the data copy to be moved to the target location;
Judge module, for when it is determined that the operation of the copy is completed, judging to copy the data of the target location to It is whether consistent with the data to be moved;
Removing module, for when judged result is to be, deleting the data to be moved to complete data movement.
Technical solution of the present invention 11 proposes on the basis of technical scheme ten, the execution module, is used for:
Determine the quantity of the subdata included by the data to be moved;
If quantity is more than preset value, the data to be moved are performed with the operation for copying the target location to.
Technical solution of the present invention 12 proposes on the basis of technical scheme 11, in addition to:
Processing module, for being less than or equal to preset value when quantity, then according to default mobile scheme to described to be moved Data perform moving operation.
Technical solution of the present invention 13 proposes on the basis of technical scheme 12, mobile corresponding to the mobile scheme to grasp As operation while mobile data, deleted the data for being performed moving operation.
Technical solution of the present invention 14 proposes that the data movement request includes on the basis of technical scheme ten:It is mobile The request of data is deleted after the request of data, the request for shearing data, compression.
Technical solution of the present invention 15 proposes that the judge module determines the copy on the basis of technical scheme ten Operation is completed, including:
Determine that the data to be moved complete simultaneously operating in physical store corresponding to the target location.
Technical solution of the present invention 16 proposes that the judge module judgement copies to described on the basis of technical scheme ten Whether the data of target location and the data to be moved are consistent, including:
Judge to copy in the data of the target location with the quantity of the subdata in the data to be moved and each Whether the size of the subdata is consistent;Or
Judge to copy in the data of the target location with the quantity of the subdata in the data to be moved, each described The size of subdata, and it is whether consistent for empty subdata;
If judged result is all yes, it is determined that the data for copying the target location to are consistent with the data to be moved;
If judged result is not all yes, it is determined that the data and the data to be moved for copying the target location to differ Cause.
Technical solution of the present invention 17 proposes on the basis of technical scheme ten or technical scheme 16, in addition to:
Operation module is prompted, for when copying the data of the target location to and the data to be moved are inconsistent, Obtain the information of inconsistent data division and be shown, and generate prompting operation information;Wherein, the prompting operation information Including:For abandoning the communication icon of inconsistent data division and being copied for being re-executed to inconsistent data division The communication icon of shellfish operation.
Technical solution of the present invention 18 proposes in the technology of technical scheme ten, the removing module, is used for:
When judged result for when being, generation copies successful message, and generates prompt message;Wherein, the prompt message To prompt whether to delete data to be moved;
When the deletion for getting feedback confirms instruction, the data to be moved are deleted to complete data movement.
Technical solution of the present invention 19 proposes a kind of mobile terminal, including:
Processor;
It is stored with the memory of the executable instruction of the processor;
Wherein, the processor is used for:
Receive data movement request;Wherein, the corresponding data to be moved of the data movement request and target location;
Perform the operation of the data copy to be moved to the target location;
When it is determined that the operation of the copy is completed, judge to copy the data of the target location and the number to be moved to According to whether consistent;
If the determination result is YES, then the data to be moved are deleted to complete data movement.
Technical solution of the present invention 20 proposes a kind of computer-readable storage medium, and meter is stored with the computer-readable storage medium Calculation machine program;The computer program is used to perform below scheme:
Flow A, receive data movement request;Wherein, the corresponding data to be moved of the data movement request and target position Put;
Flow B, perform the operation of the data copy to be moved to the target location;
Flow C, when it is determined that the operation of the copy is completed, judge that copy the data of the target location to treats with described Whether mobile data is consistent;
Flow D, if the determination result is YES, then the data to be moved are deleted to complete data movement.
With this, the present invention proposes method, equipment, mobile terminal and the computer-readable storage medium of mobile data, including: Receive data movement request;Wherein, the corresponding data to be moved of the data movement request and target location;Execution is treated described Mobile data copies the operation of the target location to;When it is determined that the operation of the copy is completed, judgement copies the mesh to Whether the data of cursor position and the data to be moved are consistent;If the determination result is YES, then the data to be moved are deleted with complete Moved into data.With this, by this programme, when carrying out data movement, first by data copy to target location, then determine again Copy is completed and succeeds and then deleted former data, even if to be gone wrong in this any link in this programme, Also loss of data will not be caused, ensure that the safety of data.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by embodiment it is required use it is attached Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore be not construed as pair The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of the method for mobile data that the embodiment of the present invention proposes;
Fig. 2 is a kind of schematic flow sheet of the method for mobile data that the embodiment of the present invention proposes;
Fig. 3 is a kind of schematic flow sheet of the method for mobile data that the embodiment of the present invention proposes;
Fig. 4 is a kind of schematic flow sheet of the method for mobile data that the embodiment of the present invention proposes;
Fig. 5 is a kind of structural representation of the equipment for mobile data that the embodiment of the present invention proposes;
Fig. 6 is a kind of structural representation for mobile terminal that the embodiment of the present invention proposes.
Embodiment
Hereinafter, the various embodiments of the disclosure will be described more fully.The disclosure can have various embodiments, and It can adjust and change wherein.It should be understood, however, that:It is limited to spy disclosed herein in the absence of by the various embodiments of the disclosure Determine the intention of embodiment, but the disclosure should be interpreted as covering in the spirit and scope for the various embodiments for falling into the disclosure All adjustment, equivalent and/or alternatives.
Embodiment 1
The embodiment of the present invention 1 discloses a kind of method of mobile data, as shown in figure 1, comprising the following steps:
Step 101, receive data movement request;Wherein, the corresponding data to be moved of the data movement request and target Position;
Specifically, in one embodiment, the data movement request includes:The request of mobile data, shear data The request of data is deleted after request, compression.
Specifically, handling beyond above-mentioned request, other data movement requests can also be included, as long as specifically relate to And to data transfer to new position, and the request that original after being transmitted is deleted, however it is not limited to above-mentioned several tools The embodiment that body is listed;
Specifically, so that data are file as an example, illustrated exemplified by shearing file, such as user wants shearing magnetic File 1 on disk C arrives disk F, can initiate a data movement request, and data to be moved corresponding to data movement request are For file, target location is disk F.
Step 102, perform the operation of the data copy to be moved to the target location;
Specifically, in one embodiment, the execution in step 102 is by the data copy to be moved to the mesh The operation of cursor position, including:
Determine the quantity of the subdata included by the data to be moved;
If quantity is more than preset value, the data to be moved are performed with the operation for copying the target location to.
Specifically, by taking Fig. 2 and Fig. 3 as an example, it is contemplated that user is during the big file of movement, and usually file is very In the case of more and mixed and disorderly (the inside may have hidden file, the file that can not be deleted), if occur in moving process power down, The inadequate resources such as subsystem is restarted, internal memory or cpu shear situations such as file process is by abnormal ending, cause moving process by exception Terminate, data are not synchronized to physical store, leave dirty data, cause file to lose.Therefore, the quantity of data is more, lead Cause the mobile time longer, and then the probability for the situation of loss of data occur is also corresponding bigger.
Specifically, with this in one embodiment, if quantity is less than or equal to preset value, according to default mobile scheme Moving operation is performed to the data to be moved.
Therefore, the quantity of the subdata of data to be moved is fewer, e.g., less than or equal to 500 (value is not limited to This number, it can be specifically configured or User Defined is set based on the difference of specific environment and needs etc. of user Put) when, then data movement can be carried out according to default mobile flow, specific default mobile flow can include original Mobile data flow or operation;
Specifically in one embodiment, as shown in figure 4, moving operation corresponding to the mobile scheme is in mobile data While, operation that the data for being performed moving operation are deleted.
Can certainly regardless of subdata quantity how many, first carry out copy process without exception.
Step 103, when it is determined that the operation of the copy is completed, judge to copy to the data of the target location with it is described Whether data to be moved are consistent;
Specifically, in one embodiment, the operation of the determination copy in step 103 is completed, including:
Determine that the data to be moved complete simultaneously operating in physical store corresponding to the target location.
Specifically, being related to caching when being transmitted in view of data, and only all transmit to physics and deposit from caching Storage, such as after hard disk etc. is upper, is only real data transfer and completes, therefore it is based on confirming all treat to confirm that copy is completed Mobile data is carried out completing simultaneously operating corresponding to target location in physical store.
And the judgement in step 103 copy to the data of the target location and the data to be moved whether one Cause, including:
Specifically, for example as shown in Fig. 2 judge to copy in the data of the target location with the data to be moved Subdata quantity and each subdata size it is whether consistent;Or
And for example as shown in figure 3, judge to copy in the data of the target location with the data to be moved The size of the quantity of subdata, each subdata, and it is whether consistent for empty subdata;
If judged result is all yes, it is determined that the data for copying the target location to are consistent with the data to be moved;
If judged result is not all yes, it is determined that the data and the data to be moved for copying the target location to differ Cause.
Specifically, whether unanimously need to judge that the above-mentioned all parts listed are all consistent, such as quantity needs unanimously, respectively The size of subdata need it is consistent etc., as long as namely have one it is inconsistent, then it is overall inconsistent.
And when being determined to be inconsistent, this method also includes:
When the data and the inconsistent data to be moved for copying the target location to, inconsistent data portion is obtained Point information and be shown, and generate prompting operation information;Wherein, the prompting operation information includes:For abandoning differing The communication icon of the data division of cause and the communication icon for re-executing copy function to inconsistent data division.
Specifically, after the completion of for example copying, it is found that subfile 102 and subfile 2030 are not present in target location, In this case, this generation prompting operation information can be based on, user's selection is allowed to be to give up both of these documents and still reattempt to copy Shellfish both of these documents continues to judge to target location, then copy after completing.
Step 104, if the determination result is YES, then the data to be moved are deleted to complete data movement.
In a specific embodiment, in step 104 it is described if the determination result is YES, delete the data to be moved To complete data movement, including:
If the determination result is YES, then generation copies successful message, and generates prompt message;Wherein, the prompt message To prompt whether to delete data to be moved;
When the deletion for getting feedback confirms instruction, the data to be moved are deleted to complete data movement.
Specifically confirm copy successfully, namely all subdatas (exception that user abandons) in data to be moved all by It is copied successfully to target location;In this case, it is possible to directly be deleted former data, it can also indicate what is deleted in user In the case of deleted again.
Embodiment 2
The embodiment of the present invention 2 also discloses a kind of equipment of mobile data, as shown in figure 5, including:
Receiving module 201, for receiving data movement request;Wherein, the corresponding data to be moved of data movement request And target location;
Execution module 202, for performing the operation of the data copy to be moved to the target location;
Judge module 203, for when it is determined that the operation of the copy is completed, judging to copy the number of the target location to According to whether consistent with the data to be moved;
Removing module 204, for when judged result is to be, deleting the data to be moved to complete data movement.
In a specific embodiment, the execution module 202, it is used for:
Determine the quantity of the subdata included by the data to be moved;
If quantity is more than preset value, the data to be moved are performed with the operation for copying the target location to.
In a specific embodiment, the equipment also includes:
Processing module, for being less than or equal to preset value when quantity, then according to default mobile scheme to described to be moved Data perform moving operation.
In a specific embodiment, moving operation corresponding to the mobile scheme be while mobile data, it is right It is performed the operation that the data of moving operation are deleted.
In a specific embodiment, the data movement request includes:The request of mobile data, shear asking for data Ask, compress after delete data request.
In a specific embodiment, the judge module 203 determines that the operation of the copy is completed, including:
Determine that the data to be moved complete simultaneously operating in physical store corresponding to the target location.
In a specific embodiment, the judge module 203 judges to copy data and the institute of the target location to Whether consistent state data to be moved, including:
Judge to copy in the data of the target location with the quantity of the subdata in the data to be moved and each Whether the size of the subdata is consistent;Or
Judge to copy in the data of the target location with the quantity of the subdata in the data to be moved, each described The size of subdata, and it is whether consistent for empty subdata;
If judged result is all yes, it is determined that the data for copying the target location to are consistent with the data to be moved;
If judged result is not all yes, it is determined that the data and the data to be moved for copying the target location to differ Cause.
In a specific embodiment, the equipment also includes:
Operation module is prompted, for when copying the data of the target location to and the data to be moved are inconsistent, Obtain the information of inconsistent data division and be shown, and generate prompting operation information;Wherein, the prompting operation information Including:For abandoning the communication icon of inconsistent data division and being copied for being re-executed to inconsistent data division The communication icon of shellfish operation.
In a specific embodiment, the removing module 204, it is used for:
When judged result for when being, generation copies successful message, and generates prompt message;Wherein, the prompt message To prompt whether to delete data to be moved;
When the deletion for getting feedback confirms instruction, the data to be moved are deleted to complete data movement.
Embodiment 3
As shown in fig. 6, for convenience of description, it illustrate only the part related to the embodiment of the present invention, particular technique details Do not disclose, refer to present invention method part.The mobile terminal can be to include mobile phone, tablet personal computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), vehicle mounted electric Any mobile terminal device such as brain, so that mobile terminal is mobile phone as an example:
Fig. 6 is illustrated that the block diagram of the part-structure of the mobile phone related to terminal provided in an embodiment of the present invention.Reference chart 6, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 1510, memory 1520, input block 1530, display unit 1540th, sensor 1550, voicefrequency circuit 1560, Wireless Fidelity (wireless fidelity, WiFi) module 1570, processor The part such as 1580 and power supply 1590.It will be understood by those skilled in the art that the handset structure shown in Fig. 6 is not formed pair The restriction of mobile phone, it can include than illustrating more or less parts, either combine some parts or different part cloth Put.
Fig. 6 is specifically introduced each component parts of mobile phone:
RF circuits 1510 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information receives, handled to BBP 1581;In addition, it is sent to base station by up data are designed.Generally, RF electricity Road 1510 includes but is not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuits 1510 can also be led to by radio communication and network and other equipment Letter.Above-mentioned radio communication can use any communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 1520 can be used for storage software program and module, and processor 1580 is stored in memory by operation 1520 software program and module, so as to perform the various function application of mobile phone and data processing.Memory 1520 can be led To include storing program area and storage data field, wherein, storing program area can storage program area, needed at least one function Application program (such as sound-playing function, image player function etc.) etc.;Storage data field can store uses institute according to mobile phone Data (such as voice data, phone directory etc.) of establishment etc..Stored in addition, memory 1520 can include high random access Device, nonvolatile memory can also be included, a for example, at least disk memory, flush memory device or other volatibility are consolidated State memory device.
Input block 1530 can be used for the numeral or character information for receiving input, and produce with the user of mobile phone set with And the key signals input that function control is relevant.Specifically, input block 1530 may include contact panel 1531 and other inputs Equipment 1532.Contact panel 1531, also referred to as touch-screen, collect touch operation (such as user of the user on or near it Use the behaviour of any suitable object such as finger, stylus or annex on contact panel 1531 or near contact panel 1531 Make), and corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 1531 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 1580, and the order sent of reception processing device 1580 and can be performed.In addition, The polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be used to realize contact panel 1531.Except touch surface Plate 1531, input block 1530 can also include other input equipments 1532.Specifically, other input equipments 1532 can include But it is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. It is one or more.
Display unit 1540 can be used for display by user input information or be supplied to user information and mobile phone it is each Kind menu.Display unit 1540 may include display panel 1541, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) To configure display panel 1541.Further, contact panel 1531 can cover display panel 1541, when contact panel 1531 detects To after the touch operation on or near it, processor 1580 is sent to determine the type of touch event, is followed by subsequent processing device 1580 provide corresponding visual output according to the type of touch event on display panel 1541.Although in figure 6, contact panel 1531 and display panel 1541 are the parts independent as two to realize the input of mobile phone and input function, but in some realities Apply in example, contact panel 1531 and display panel 1541 can be integrated and realize input and the output function of mobile phone.
Mobile phone may also include at least one sensor 1550, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 1541, proximity transducer can close display panel when mobile phone is moved in one's ear 1541 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (generally three axles) and add The size of speed, size and the direction of gravity are can detect that when static, application (such as the horizontal/vertical screen available for identification mobile phone posture Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;As for mobile phone also The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Voicefrequency circuit 1560, loudspeaker 1561, microphone 1562 can provide the COBBAIF between user and mobile phone.Audio Electric signal after the voice data received conversion can be transferred to loudspeaker 1561, is changed by loudspeaker 1561 by circuit 1560 Exported for voice signal;On the other hand, the voice signal of collection is converted to electric signal by microphone 1562, by voicefrequency circuit 1560 Voice data is converted to after reception, then after voice data output processor 1580 is handled, through RF circuits 1510 to be sent to ratio Such as another mobile phone, or voice data is exported to memory 1520 further to handle.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 1570 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 6 is shown WiFi module 1570, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely Become in the essential scope of invention and omit.
Processor 1580 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, By running or performing the software program and/or module that are stored in memory 1520, and call and be stored in memory 1520 Interior data, the various functions and processing data of mobile phone are performed, so as to carry out integral monitoring to mobile phone.Optionally, processor 1580 may include one or more processing units;Preferably, processor 1580 can integrate application processor, and application processor is main Handle operating system, user interface and application program etc..The major function of BBP 1581 is baseband coding/decoding, sound Coding and voice coding etc., BBP 1581 can integrate modem processor, and modem processor can not also It is integrated into BBP 1581.It is understood that BBP 1581 can also be integrated in processor 1580.
Mobile phone also includes the power supply 1590 (such as battery) to all parts power supply, it is preferred that power supply can pass through power supply Management system and processor 1580 are logically contiguous, so as to realize management charging, electric discharge and power consumption pipe by power-supply management system The functions such as reason.
Although being not shown, mobile phone can also include camera, bluetooth module etc., will not be repeated here.Implement in the present invention In example, the processor 1580 included by the terminal is used for:
Receive data movement request;Wherein, the corresponding data to be moved of the data movement request and target location;
Perform the operation of the data copy to be moved to the target location;
When it is determined that the operation of the copy is completed, judge to copy the data of the target location and the number to be moved to According to whether consistent;
If the determination result is YES, then the data to be moved are deleted to complete data movement.
Specifically, the present embodiment 3 also includes other related features, specific feature refers to embodiment 1 and reality Apply the content of example 2.
Embodiment 4
The embodiment of the invention also discloses a kind of computer-readable storage medium, calculating is stored with the computer-readable storage medium Machine program;The computer program is used to perform below scheme:
Flow A, receive data movement request;Wherein, the corresponding data to be moved of the data movement request and target position Put;
Flow B, perform the operation of the data copy to be moved to the target location;
Flow C, when it is determined that the operation of the copy is completed, judge that copy the data of the target location to treats with described Whether mobile data is consistent;
Flow D, if the determination result is YES, then the data to be moved are deleted to complete data movement.
Specifically, the present embodiment 4 also includes other related features, specific feature refers to embodiment 1 and reality Apply the content of example 2.
With this, the present invention proposes method, equipment, mobile terminal and the computer-readable storage medium of mobile data, including: Receive data movement request;Wherein, the corresponding data to be moved of the data movement request and target location;Execution is treated described Mobile data copies the operation of the target location to;When it is determined that the operation of the copy is completed, judgement copies the mesh to Whether the data of cursor position and the data to be moved are consistent;If the determination result is YES, then the data to be moved are deleted with complete Moved into data.With this, by this programme, when carrying out data movement, first by data copy to target location, then determine again Copy is completed and succeeds and then deleted former data, even if to be gone wrong in this any link in this programme, Also loss of data will not be caused, ensure that the safety of data.
It will be appreciated by those skilled in the art that accompanying drawing is a schematic diagram for being preferable to carry out scene, module in accompanying drawing or Flow is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in device in implement scene can be described according to implement scene into Row is distributed in the device of implement scene, can also carry out one or more dresses that respective change is disposed other than this implement scene In putting.The module of above-mentioned implement scene can be merged into a module, can also be further split into multiple submodule.
The invention described above sequence number is for illustration only, does not represent the quality of implement scene.
Disclosed above is only several specific implementation scenes of the present invention, and still, the present invention is not limited to this, Ren Heben What the technical staff in field can think change should all fall into protection scope of the present invention.

Claims (10)

  1. A kind of 1. method of mobile data, it is characterised in that including:
    Receive data movement request;Wherein, the corresponding data to be moved of the data movement request and target location;
    Perform the operation of the data copy to be moved to the target location;
    When it is determined that the operation of the copy is completed, the data for judging to copy the target location to are with the data to be moved It is no consistent;
    If the determination result is YES, then the data to be moved are deleted to complete data movement.
  2. 2. the method as described in claim 1, it is characterised in that the execution is by the data copy to be moved to the target The operation of position, including:
    Determine the quantity of the subdata included by the data to be moved;
    If quantity is more than preset value, the data to be moved are performed with the operation for copying the target location to.
  3. 3. the method as described in claim 1, it is characterised in that the data movement request includes:The request of mobile data, cut Cut data request, compression after delete data request.
  4. 4. the method as described in claim 1, it is characterised in that the operation for determining the copy is completed, including:
    Determine that the data to be moved complete simultaneously operating in physical store corresponding to the target location.
  5. 5. the method as described in claim 1, it is characterised in that it is described judge to copy to the data of the target location with it is described Whether data to be moved are consistent, including:
    Judge to copy in the data of the target location with the quantity of the subdata in the data to be moved and each described Whether the size of subdata is consistent;Or
    Judge to copy to quantity in the data of the target location with the subdata in the data to be moved, each subnumber According to size, it is and whether consistent for empty subdata;
    If judged result is all yes, it is determined that the data for copying the target location to are consistent with the data to be moved;
    If judged result is not all yes, it is determined that data and the data to be moved for copying the target location to are inconsistent.
  6. 6. the method as described in claim 1 or 5, it is characterised in that also include:
    When the data and the inconsistent data to be moved for copying the target location to, inconsistent data division is obtained Information is simultaneously shown, and generates prompting operation information;Wherein, the prompting operation information includes:It is inconsistent for abandoning The communication icon of data division and the communication icon for re-executing copy function to inconsistent data division.
  7. 7. the method as described in claim 1, it is characterised in that it is described if the determination result is YES, delete the data to be moved To complete data movement, including:
    If the determination result is YES, then generation copies successful message, and generates prompt message;Wherein, the prompt message to Whether prompting deletes data to be moved;
    When the deletion for getting feedback confirms instruction, the data to be moved are deleted to complete data movement.
  8. A kind of 8. equipment of mobile data, it is characterised in that including:
    Receiving module, for receiving data movement request;Wherein, the corresponding data to be moved of the data movement request and target Position;
    Execution module, for performing the operation of the data copy to be moved to the target location;
    Judge module, for when it is determined that the operation of the copy is completed, judging to copy data and the institute of the target location to Whether consistent state data to be moved;
    Removing module, for when judged result is to be, deleting the data to be moved to complete data movement.
  9. A kind of 9. mobile terminal, it is characterised in that including:
    Processor;
    It is stored with the memory of the executable instruction of the processor;
    Wherein, the processor is used for:
    Receive data movement request;Wherein, the corresponding data to be moved of the data movement request and target location;
    Perform the operation of the data copy to be moved to the target location;
    When it is determined that the operation of the copy is completed, the data for judging to copy the target location to are with the data to be moved It is no consistent;
    If the determination result is YES, then the data to be moved are deleted to complete data movement.
  10. 10. a kind of computer-readable storage medium, it is characterised in that be stored with computer program in the computer-readable storage medium;Institute Computer program is stated to be used to perform below scheme:
    Flow A, receive data movement request;Wherein, the corresponding data to be moved of the data movement request and target location;
    Flow B, perform the operation of the data copy to be moved to the target location;
    Flow C, when it is determined that the operation of the copy is completed, judge to copy to the data of the target location with it is described to be moved Whether data are consistent;
    Flow D, if the determination result is YES, then the data to be moved are deleted to complete data movement.
CN201711009177.8A 2017-10-25 2017-10-25 Method, device, mobile terminal and computer storage medium for moving data Active CN107632795B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711009177.8A CN107632795B (en) 2017-10-25 2017-10-25 Method, device, mobile terminal and computer storage medium for moving data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711009177.8A CN107632795B (en) 2017-10-25 2017-10-25 Method, device, mobile terminal and computer storage medium for moving data

Publications (2)

Publication Number Publication Date
CN107632795A true CN107632795A (en) 2018-01-26
CN107632795B CN107632795B (en) 2020-11-24

Family

ID=61106366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711009177.8A Active CN107632795B (en) 2017-10-25 2017-10-25 Method, device, mobile terminal and computer storage medium for moving data

Country Status (1)

Country Link
CN (1) CN107632795B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110704174A (en) * 2018-07-09 2020-01-17 中国移动通信有限公司研究院 Memory release method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458632A (en) * 2007-12-12 2009-06-17 国际商业机器公司 Data object copy/paste transfer method and device
KR20110023415A (en) * 2009-08-31 2011-03-08 주식회사 잉카인터넷 Data copying method using an outside storage media
CN102789492A (en) * 2012-07-05 2012-11-21 天津三星通信技术研究有限公司 File mobility management method and device
CN104346452A (en) * 2014-10-28 2015-02-11 腾讯科技(深圳)有限公司 Method and device for software moving
CN105446888A (en) * 2014-05-30 2016-03-30 华为技术有限公司 Data transferring method between storage devices, controller, and storage system
CN106445707A (en) * 2016-10-12 2017-02-22 北京元心科技有限公司 Method and device for sharing data of multisystem clipboard
CN106445421A (en) * 2016-10-14 2017-02-22 郑州云海信息技术有限公司 Storage system data migration method and system
CN106502826A (en) * 2016-10-19 2017-03-15 广东欧珀移动通信有限公司 Data backup and transmission method and mobile terminal
US20170235500A1 (en) * 2016-02-16 2017-08-17 Netapp, Inc. Calculating cutover time in a copy-free transition of storage objects

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458632A (en) * 2007-12-12 2009-06-17 国际商业机器公司 Data object copy/paste transfer method and device
KR20110023415A (en) * 2009-08-31 2011-03-08 주식회사 잉카인터넷 Data copying method using an outside storage media
CN102789492A (en) * 2012-07-05 2012-11-21 天津三星通信技术研究有限公司 File mobility management method and device
CN105446888A (en) * 2014-05-30 2016-03-30 华为技术有限公司 Data transferring method between storage devices, controller, and storage system
CN104346452A (en) * 2014-10-28 2015-02-11 腾讯科技(深圳)有限公司 Method and device for software moving
US20170235500A1 (en) * 2016-02-16 2017-08-17 Netapp, Inc. Calculating cutover time in a copy-free transition of storage objects
CN106445707A (en) * 2016-10-12 2017-02-22 北京元心科技有限公司 Method and device for sharing data of multisystem clipboard
CN106445421A (en) * 2016-10-14 2017-02-22 郑州云海信息技术有限公司 Storage system data migration method and system
CN106502826A (en) * 2016-10-19 2017-03-15 广东欧珀移动通信有限公司 Data backup and transmission method and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110704174A (en) * 2018-07-09 2020-01-17 中国移动通信有限公司研究院 Memory release method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN107632795B (en) 2020-11-24

Similar Documents

Publication Publication Date Title
CN106484562B (en) A kind of data transmission processing method and terminal device
CN103530040B (en) Object element moving method, device and electronic equipment
CN104618217B (en) Share method, terminal, server and the system of resource
CN106203290B (en) A kind of fingerprint image acquisition method and terminal
CN105490919A (en) Message withdrawal method and device
CN105243638B (en) A kind of method and apparatus uploading image
CN103365419B (en) A kind of method and apparatus triggering alarm clock control command
CN106502826B (en) Data backup and transmission method and mobile terminal
CN104915091B (en) A kind of method and apparatus for the prompt information that Shows Status Bar
CN108834132B (en) Data transmission method and equipment and related medium product
CN106022075B (en) A kind of unlocked by fingerprint method and terminal
CN104519262B (en) Obtain the method, apparatus and terminal of video data
CN105912919B (en) A kind of unlocked by fingerprint method and terminal
CN104636047A (en) Method and device for operating objects in list and touch screen terminal
WO2015131768A1 (en) Video processing method, apparatus and system
CN107220132B (en) Method, equipment and storage medium for monitoring file creation information
CN106658354B (en) A kind of data transmission method and equipment
CN104901806B (en) A kind of virtual resource processing method, device and system
CN103631625B (en) A kind of method of data acquisition, user terminal, server and system
CN106484326A (en) A kind of data transmission processing method and mobile terminal
CN106445743A (en) Data backup transmission method and mobile terminal
CN107817988A (en) The management method and Related product of PUSH message
CN107977261A (en) Method, equipment, mobile terminal and the computer-readable storage medium of limiting process
CN104573437A (en) Information authentication method, device and terminal
CN106484563B (en) Data migration method and terminal equipment

Legal Events

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