CN106484326B - A kind of data transmission processing method and mobile terminal - Google Patents

A kind of data transmission processing method and mobile terminal Download PDF

Info

Publication number
CN106484326B
CN106484326B CN201610826084.3A CN201610826084A CN106484326B CN 106484326 B CN106484326 B CN 106484326B CN 201610826084 A CN201610826084 A CN 201610826084A CN 106484326 B CN106484326 B CN 106484326B
Authority
CN
China
Prior art keywords
data
backup
byte
mobile terminal
package
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
CN201610826084.3A
Other languages
Chinese (zh)
Other versions
CN106484326A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610826084.3A priority Critical patent/CN106484326B/en
Publication of CN106484326A publication Critical patent/CN106484326A/en
Priority to PCT/CN2017/094239 priority patent/WO2018049921A1/en
Application granted granted Critical
Publication of CN106484326B publication Critical patent/CN106484326B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • G06F3/0631Configuration or reconfiguration of storage systems by allocating resources to storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/0647Migration mechanisms

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Quality & Reliability (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a kind of data transmission processing method and mobile terminals, comprising: when detecting the migration operation instruction for target data, obtains the idle storage space size of mobile terminal;When the size for detecting target data is greater than the size of idle storage space, the reference byte for being used for backup target data is determined according to idle storage space size;When detecting that target data does not complete full backup, data backup is carried out to the data that are not backed up in target data, to generate byte less than or equal to the backup data package with reference to byte, backup data transmitting packet, and the backup data package that deletion mobile terminal stores when backup data package is transmitted.The embodiment of the present invention is conducive to be promoted the efficiency of transmission and success rate of Data Migration.

Description

A kind of data transmission processing method and mobile terminal
Technical field
The present invention relates to technical field of data transmission, and in particular to a kind of data transmission processing method and mobile terminal.
Background technique
The mobile terminals such as smart phone using more and more extensive, modern life people have substantially been one hands of manpower Machine, as the period that mobile phone updates is shorter and shorter, how by the user data in old mobile phone and using turn quickly and efficiently It moves on in new cell-phone and has become hot issue urgently to be resolved.
Summary of the invention
The embodiment of the invention provides a kind of data transmission processing method and mobile terminals, pass through intelligent measurement mobile terminal Residual memory space size, is dynamically adjusted for the reference byte of backup target data, to realize the feelings of memory space inadequate The big data transmission plan of condition promotes the efficiency of transmission and success rate of Data Migration.
The embodiment of the present invention provides a kind of data transmission processing method, comprising:
When detecting the migration operation instruction for target data, the idle storage space for obtaining the mobile terminal is big It is small;
When the size for detecting the target data is greater than the size of the idle storage space, deposited according to the free time Storage space size determines the reference byte for backing up the target data;
When detecting that the target data does not complete full backup, data are carried out to the data that are not backed up in target data Backup transmits the backup data package, and described to generate byte less than or equal to the backup data package with reference to byte The backup data package of the mobile terminal storage is deleted when backup data package is transmitted.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 .1 is the setting up procedure interface schematic diagram of " mobile phone removal of home function " a kind of in existing scheme;
Fig. 1 .2 is the setting up procedure interface schematic diagram of " mobile phone removal of home function " a kind of in existing scheme;
Fig. 1 .3 is the setting up procedure interface schematic diagram of " mobile phone removal of home function " a kind of in existing scheme;
Fig. 1 .4 is the setting up procedure interface schematic diagram of " mobile phone removal of home function " a kind of in existing scheme;
Fig. 2 is a kind of flow diagram of data transmission processing method disclosed by the embodiments of the present invention;
Fig. 3 is the flow diagram of another data transmission processing method disclosed by the embodiments of the present invention;
Fig. 4 is the flow diagram of another data transmission processing method disclosed by the embodiments of the present invention;
Fig. 5 A is a kind of functional unit composition block diagram of mobile terminal disclosed by the embodiments of the present invention;
Fig. 5 B is a kind of structural schematic diagram of mobile terminal disclosed by the embodiments of the present invention;
Fig. 6 is the structural schematic diagram of another mobile terminal disclosed by the embodiments of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Description and claims of this specification and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap Include other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Generally speaking, data transference package in the prior art scheme as shown in Fig. 1 .1 to Fig. 1 .5, is moved with mobile phone For function, specifically, needing to open the application program (Application of corresponding function when user is using mobile phone removal of home function Programe, APP), tool-backup is opened specifically on two mobile phones and is restored, and is clicked " mobile phone removal of home " virtual functions and is pressed Button selects " I is old mobile phone " on old mobile phone (such as R7PLUS) respectively, on new cell-phone (such as R9PLUS) as shown in Fig. 1 .1 It selects " I is new cell-phone ", as shown in Fig. 1 .2 left figure, old mobile phone, which is transferred camera function automatically and entered, scans the two-dimensional code interface, The automatic two-dimensional code display of new cell-phone after scanning successfully, as shown in Fig. 1 .2 right figure, prompts successful connection on new cell-phone.Such as figure Shown in 1.3 left figures, old mobile phone then enters " data of selection transmission " interface (to migrate to the data of new cell-phone), defaults automatic hook Select system data, level of application and storing data (storing data is part default choice, can manually select addition).Click keys " starting to move " starts data removal of home.
In addition, mobile terminal involved by the embodiment of the present invention may include various hand-held with wireless communication function Equipment, wearable device, calculates equipment or is connected to other processing equipments of radio modem mobile unit, and each The user equipment (User Equipment, UE) of kind form, mobile station (Mobile Station, MS), terminal device (terminal device) etc..For convenience of description, apparatus mentioned above is referred to as mobile terminal.
It describes in detail below to the embodiment of the present invention.
Referring to Fig. 2, Fig. 2 is that the embodiment of the invention provides a kind of flow diagrams of data transmission processing method, such as Shown in figure, notebook data method for transmission processing includes:
S201, mobile terminal obtain the mobile terminal when detecting the migration operation instruction for target data Idle storage space size;
Wherein, migration operation instruction for example can be by the Data Migration function button that shows for mobile terminal Selection operation triggering, which specifically can be touch control operation, acoustic control operation etc..
S202, the mobile terminal are greater than the size of the idle storage space in the size for detecting the target data When, the reference byte for backing up the target data is determined according to the idle storage space size;
As an example it is assumed that the size of idle storage space is 1GB, then for backing up the reference byte of the target data Such as can be 500MB, 600MB etc..
S203, the mobile terminal is when detecting that the target data does not complete full backup, in target data It is not backed up data and carries out data backup, to generate byte less than or equal to the backup data package with reference to byte, described in transmission Backup data package, and delete when the backup data package is transmitted the backup data package of the mobile terminal storage.
In one example, the mobile terminal carries out data backup to the data that are not backed up in target data, to generate The specific implementation that byte is less than or equal to the backup data package with reference to byte may is that
If it is described with reference to byte to detect that the byte for being not backed up data in the target data is greater than or equal to, to mesh Part in mark data is not backed up data and carries out data backup, to generate byte as the backup data package with reference to byte;
If it is described with reference to byte to detect that the byte for being not backed up data in the target data is less than, to target data In whole be not backed up data and carry out data backup, to generate byte less than the backup data package with reference to byte.
As it can be seen that mobile terminal can be according to the byte dynamic adjustment backup data package for being not backed up data in target data Size, when the byte for being not backed up data is greater than or equal to reference to byte, adjustment backup data package size is with reference to byte, not When the byte of Backup Data is less than with reference to byte, directly backup is all not backed up data, before without departing from idle storage space It puts, it is ensured that back up data as much as possible every time, be conducive to the total transmission duration for shortening target data, promote data transmission effect Rate.
In one example, the transmission backup data package, comprising:
To with backup data package described in the purpose terminal transmission of the mobile terminal wired connection;Alternatively,
To backup data package described in the purpose terminal transmission being wirelessly connected with the mobile terminal;Alternatively,
The backup data package is transmitted to the data transmitting server connecting with the communication of mobile terminal.
As can be seen that mobile terminal provided in an embodiment of the present invention is detecting the migration operation instruction for target data When, the idle storage space size of mobile terminal is obtained first, is greater than idle storage space in the size for detecting target data Size when, the reference byte for being used for backup target data is determined according to idle storage space size, and is detecting number of targets When according to unfinished full backup, data backup is carried out to the data that are not backed up in target data, is less than or equal to generating byte With reference to the backup data package of byte, backup data transmitting packet, and mobile terminal storage is deleted when backup data package is transmitted Backup data package.As it can be seen that mobile terminal is dynamically adjusted for standby by intelligent measurement mobile terminal residual memory space size The reference byte of part target data, and delete being somebody's turn to do for mobile terminal side storage in time after transferring a backup data package every time Backup data package, it is ensured that have enough residual memory spaces for storing next backup data package, to realize memory space The big data transmission plan of insufficient situation is conducive to the efficiency of transmission and success rate that promote Data Migration.
In one example, the mobile terminal is also held before detecting that the target data does not complete full backup The following operation of row:
When the backup data package for detecting current transmission is damaged, the backup data package of the current transmission is deleted, And marking the corresponding data of the backup data package of the current transmission is to be not backed up data.
As it can be seen that mobile terminal, can be timely when the backup data package for detecting current transmission is damaged in this example The backup data package of current transmission is deleted, and marking the corresponding data of the backup data package of the current transmission is to be not backed up number According to, the case where avoiding with backup data package damage and causing the non-transmission success of Backup Data generation, is conducive to improve data and passes Defeated stability.
In one example, the mobile terminal also executes following operation:
When detecting that the target data completes full backup, output data completes the notification message of transmission, and deletes The target data of the mobile terminal storage.
It is consistent with above-mentioned embodiment shown in Fig. 2, referring to Fig. 3, Fig. 3 is a kind of data provided in an embodiment of the present invention The flow diagram of method for transmission processing.As shown, notebook data method for transmission processing includes:
S301, mobile terminal obtain the mobile terminal when detecting the migration operation instruction for target data Idle storage space size;
S302, the mobile terminal are greater than the size of the idle storage space in the size for detecting the target data When, the reference byte for backing up the target data is determined according to the idle storage space size;
S303, the mobile terminal are deleted described current when the backup data package for detecting current transmission is damaged The backup data package of transmission, and marking the corresponding data of the backup data package of the current transmission is to be not backed up data.
S304, the mobile terminal is when detecting that the target data does not complete full backup, if detecting the mesh The byte for being not backed up data marked in data refers to byte more than or equal to described, then is not backed up number to the part in target data According to data backup is carried out, to generate byte as the backup data package with reference to byte;
S305, the mobile terminal is to Backup Data described in the purpose terminal transmission connecting with the communication of mobile terminal Packet;
S306, the mobile terminal are deleted when the backup data package is transmitted described in the mobile terminal storage Backup data package.
As can be seen that mobile terminal provided in an embodiment of the present invention is detecting the migration operation instruction for target data When, the idle storage space size of mobile terminal is obtained first, is greater than idle storage space in the size for detecting target data Size when, the reference byte for being used for backup target data is determined according to idle storage space size, and is detecting number of targets When according to unfinished full backup, data backup is carried out to the data that are not backed up in target data, is less than or equal to generating byte With reference to the backup data package of byte, backup data transmitting packet, and mobile terminal storage is deleted when backup data package is transmitted Backup data package.As it can be seen that mobile terminal is dynamically adjusted for standby by intelligent measurement mobile terminal residual memory space size The reference byte of part target data, and delete being somebody's turn to do for mobile terminal side storage in time after transferring a backup data package every time Backup data package, it is ensured that have enough residual memory spaces for storing next backup data package, to realize memory space The big data transmission plan of insufficient situation is conducive to the efficiency of transmission and success rate that promote Data Migration.
In addition, mobile terminal when the backup data package for detecting current transmission is damaged, can be deleted currently in time The backup data package of transmission, and mark the corresponding data of the backup data package of the current transmission be not backed up data, avoid with The case where backup data package is damaged and causes the non-transmission success of Backup Data generation, is conducive to the stabilization of improve data transfer Property.
It is consistent with above-mentioned embodiment shown in Fig. 3, referring to Fig. 4, Fig. 4 is another number provided in an embodiment of the present invention According to the flow diagram of method for transmission processing.As shown, notebook data method for transmission processing includes:
S401, mobile terminal obtain the mobile terminal when detecting the migration operation instruction for target data Idle storage space size;
S402, the mobile terminal are greater than the size of the idle storage space in the size for detecting the target data When, the reference byte for backing up the target data is determined according to the idle storage space size;
S403, the mobile terminal are deleted described current when the backup data package for detecting current transmission is damaged The backup data package of transmission, and marking the corresponding data of the backup data package of the current transmission is to be not backed up data.
S404, the mobile terminal is when detecting that the target data does not complete full backup, if detecting the mesh The byte for being not backed up data marked in data refers to byte less than described, then is not backed up data to the whole in target data and carries out Data backup, to generate byte less than the backup data package with reference to byte.
S405, the mobile terminal is to Backup Data described in the purpose terminal transmission connecting with the communication of mobile terminal Packet;
S406, the mobile terminal are deleted when the backup data package is transmitted described in the mobile terminal storage Backup data package.
As can be seen that mobile terminal provided in an embodiment of the present invention is detecting the migration operation instruction for target data When, the idle storage space size of mobile terminal is obtained first, is greater than idle storage space in the size for detecting target data Size when, the reference byte for being used for backup target data is determined according to idle storage space size, and is detecting number of targets When according to unfinished full backup, data backup is carried out to the data that are not backed up in target data, is less than or equal to generating byte With reference to the backup data package of byte, backup data transmitting packet, and mobile terminal storage is deleted when backup data package is transmitted Backup data package.As it can be seen that mobile terminal is dynamically adjusted for standby by intelligent measurement mobile terminal residual memory space size The reference byte of part target data, and delete being somebody's turn to do for mobile terminal side storage in time after transferring a backup data package every time Backup data package, it is ensured that have enough residual memory spaces for storing next backup data package, to realize memory space The big data transmission plan of insufficient situation is conducive to the efficiency of transmission and success rate that promote Data Migration.
In addition, mobile terminal when the backup data package for detecting current transmission is damaged, can be deleted currently in time The backup data package of transmission, and mark the corresponding data of the backup data package of the current transmission be not backed up data, avoid with The case where backup data package is damaged and causes the non-transmission success of Backup Data generation, is conducive to the stabilization of improve data transfer Property.
It is above-mentioned that mainly the scheme of the embodiment of the present invention is described from the angle of method side implementation procedure.It is understood that , in order to realize the above functions, it comprises execute the corresponding hardware configuration of each function and/or software mould for mobile terminal Block.Those skilled in the art should be readily appreciated that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, the present invention can be realized with the combining form of hardware or hardware and computer software.Some function actually with Hardware or computer software drive the mode of hardware to execute, the specific application and design constraint item depending on technical solution Part.Professional technician can specifically realize described function to each using distinct methods, but this reality Now it should not be considered as beyond the scope of the present invention.
The embodiment of the present invention can carry out the division of functional unit according to above method example to mobile terminal, for example, can With each functional unit of each function division of correspondence, two or more functions can also be integrated in a processing unit In.Above-mentioned integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.It needs It is noted that be schematical, only a kind of logical function partition to the division of unit in the embodiment of the present invention, it is practical real It is current that there may be another division manner.
Using integrated unit, Fig. 5 A shows one kind of mobile terminal involved in above-described embodiment Possible structural schematic diagram.Mobile terminal 500 includes: processing unit 502 and communication unit 503.Processing unit 502 is used for shifting The movement of dynamic terminal carries out control management, for example, processing unit 502 is used to support the step S201 in mobile terminal execution Fig. 2 Step S301 to 306 into S203, Fig. 3 and step S401 to S406 in Fig. 4 and/or be used for techniques described herein Other processes.Communication unit 503 is used to supporting the communication of mobile terminal and other equipment, for example, in mobile communications network Communication between base station.Mobile terminal can also include storage unit 501, the program code sum number for memory mobile terminal According to.
Wherein, processing unit 502 can be processor or controller, such as can be central processing unit (Central Processing Unit, CPU), general processor, digital signal processor (Digital Signal Processor, DSP), Specific integrated circuit (Application-Specific Integrated Circuit, ASIC), field programmable gate array It is (Field Programmable Gate Array, FPGA) or other programmable logic device, transistor logic, hard Part component or any combination thereof.It may be implemented or execute to combine and various illustratively patrol described in the disclosure of invention Collect box, module and circuit.The processor is also possible to realize the combination of computing function, such as includes one or more micro- places Manage device combination, DSP and the combination of microprocessor etc..Communication unit 503 can be communication interface, transceiver, transmission circuit etc., Wherein, communication interface is to be referred to as, and may include one or more interfaces.Storage unit 501 can be memory.
When processing unit 502 is processor, communication unit 503 is communication interface, when storage unit 501 is memory, this Mobile terminal involved in inventive embodiments can be mobile terminal shown in Fig. 5 B.
Refering to shown in Fig. 5 B, which includes: processor 512, communication interface 513, memory 511.It is optional , mobile terminal 510 can also include bus 515.Wherein, communication interface 513, processor 512 and memory 511 can lead to Cross the interconnection of bus 515;Bus 515 can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, abbreviation PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, abbreviation EISA) bus etc..The bus 515 can be divided into address bus, data/address bus, control bus etc.. Only to be indicated with a thick line in Fig. 5 B, it is not intended that an only bus or a type of bus convenient for indicating.
Mobile terminal shown in above-mentioned Fig. 5 A or Fig. 5 B is it can be appreciated that a kind of device for mobile terminal, the present invention Embodiment does not limit.
The embodiment of the invention also provides another mobile terminals, as shown in fig. 6, for ease of description, illustrate only with The relevant part of the embodiment of the present invention, it is disclosed by specific technical details, please refer to present invention method part.The movement Terminal can be include mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS Any terminal device such as (Point of Sales, point-of-sale terminal), vehicle-mounted computer, by taking mobile terminal is mobile phone as an example:
Fig. 6 shows the block diagram of the part-structure of mobile phone relevant to mobile terminal provided in an embodiment of the present invention.Ginseng Fig. 6 is examined, mobile phone includes: radio frequency (Radio Frequency, RF) circuit 910, memory 920, input unit 930, display unit 940, sensor 950, voicefrequency circuit 960, Wireless Fidelity (Wireless Fidelity, WiFi) module 970, processor 980, And the equal components of power supply 990.It will be understood by those skilled in the art that handset structure shown in Fig. 6 is not constituted to mobile phone It limits, may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
It is specifically introduced below with reference to each component parts of the Fig. 6 to mobile phone:
RF circuit 910 can be used for sending and receiving for information.In general, RF circuit 910 includes but is not limited to antenna, at least one A amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit 910 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless 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), code it is point more Location (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 920 can be used for storing software program and module, and processor 980 is stored in memory 920 by operation Software program and module, thereby executing the various function application and data processing of mobile phone.Memory 920 can mainly include Storing program area and storage data area, wherein storing program area can application journey needed for storage program area, at least one function Sequence (with reference to the determination etc. of byte) etc.;Storage data area, which can be stored, uses created data (such as backup number according to mobile phone According to packet etc.) etc..In addition, memory 920 may include high-speed random access memory, it can also include nonvolatile memory, A for example, at least disk memory, flush memory device or other volatile solid-state parts.
Input unit 930 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with And the related key signals input of function control.Specifically, input unit 930 may include fingerprint recognition mould group 931 and other are defeated Enter equipment 932.Fingerprint recognition mould group 931 can acquire the finger print data of user on it.In addition to fingerprint recognition mould group 931, input Unit 930 can also include other input equipments 932.Specifically, other input equipments 932 can include but is not limited to touch-control One of screen, physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. Or it is a variety of.
Display unit 940 can be used for showing information input by user or be supplied to user information and mobile phone it is various Menu.Display unit 940 may include display screen 941, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Display screen 941.Although fingerprint recognition mould group 931 and display screen 941 are to realize mobile phone as two independent components in Fig. 6 Input and input function, but it is in some embodiments it is possible to fingerprint recognition mould group 931 and display screen 941 is integrated and real The input and playing function of existing mobile phone.
Mobile phone may also include at least one sensor 950, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjust the brightness of display screen 941, proximity sensor can when mobile phone is moved in one's ear, close display screen 941 and/or Backlight.As a kind of motion sensor, accelerometer sensor can detect all directions on (generally three axis) acceleration it is big It is small, can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (such as horizontal/vertical screen switching, phase Close game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;It can also configure as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 960, loudspeaker 961, microphone 962 can provide the audio interface between user and mobile phone.Audio-frequency electric Electric signal after the audio data received conversion can be transferred to loudspeaker 961, be converted to sound by loudspeaker 961 by road 960 Signal plays;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, is turned after being received by voicefrequency circuit 960 It is changed to audio data, then by after the processing of audio data playback process device 980, such as another mobile phone is sent to through RF circuit 910, Or audio data is played to memory 920 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 970 Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 6 is shown WiFi module 970, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can according to need do not changing completely Become in the range of the essence of invention and omits.
Processor 980 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to It crosses operation or executes the software program and/or module being stored in memory 920, and call and be stored in memory 920 Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 980 can wrap Include one or more processing units;Preferably, processor 980 can integrate application processor and modem processor, wherein answer With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication. It is understood that above-mentioned modem processor can not also be integrated into processor 980.
Mobile phone further includes the power supply 990 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system and processor 980 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system Etc. functions.
Although being not shown, mobile phone can also include camera, bluetooth module etc., and details are not described herein.
In earlier figures 2~embodiment shown in Fig. 3, each step method process can be realized based on the structure of the mobile phone.
In embodiment shown in earlier figures 5A, each unit function can be realized based on the structure of the mobile phone.
The embodiment of the present invention also provides a kind of computer storage medium, wherein the computer storage medium can be stored with journey Sequence, the program include some or all of any data transmission processing method recorded in above method embodiment when executing Step.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer-readable access to memory.Based on this understanding, technical solution of the present invention substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment the method for the present invention Step.And memory above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory May include: flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), disk or CD etc..
The embodiment of the present invention has been described in detail above, specific case used herein to the principle of the present invention and Embodiment is expounded, and the above description of the embodiment is only used to help understand the method for the present invention and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the present invention There is change place, in conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (11)

1. a kind of data transmission processing method characterized by comprising
When detecting the migration operation instruction for target data, the idle storage space size of mobile terminal is obtained;
It is empty according to the idle storage when the size for detecting the target data is greater than the size of the idle storage space Between size determine the reference byte for backing up the target data;
Detect the target data do not complete full backup when, in target data be not backed up data carry out data it is standby Part, to generate byte less than or equal to the backup data package with reference to byte, the backup data package is transmitted, and described standby Part data packet deletes the backup data package of the mobile terminal storage when being transmitted, to ensure to have enough remaining storages Space is for storing next backup data package.
2. the method according to claim 1, wherein the data that are not backed up in target data carry out data Backup, to generate byte less than or equal to the backup data package with reference to byte, comprising:
If it is described with reference to byte to detect that the byte for being not backed up data in the target data is greater than or equal to, to number of targets Part in is not backed up data and carries out data backup, to generate byte as the backup data package with reference to byte;
If it is described with reference to byte to detect that the byte for being not backed up data in the target data is less than, in target data It is all not backed up data and carries out data backup, to generate byte less than the backup data package with reference to byte.
3. the method according to claim 1, wherein the transmission backup data package, comprising:
To with backup data package described in the purpose terminal transmission of the mobile terminal wired connection;Alternatively,
To backup data package described in the purpose terminal transmission being wirelessly connected with the mobile terminal;Alternatively,
The backup data package is transmitted to the data transmitting server connecting with the communication of mobile terminal.
4. according to the method described in claim 3, it is characterized in that, described detecting that it is all standby that the target data does not complete Before part, the method also includes:
When the backup data package for detecting current transmission is damaged, the backup data package of the current transmission is deleted, and is marked Remember that the corresponding data of the backup data package of the current transmission are to be not backed up data.
5. the method according to claim 1, wherein the method also includes:
When detecting that the target data completes full backup, output data completes the notification message of transmission, and described in deletion The target data of mobile terminal storage.
6. a kind of mobile terminal characterized by comprising processing unit and communication unit,
The processing unit is used to obtain the sky of the mobile terminal when detecting the migration operation instruction for target data Not busy storage size;And the size for being greater than the idle storage space in the size for detecting the target data When, the reference byte for backing up the target data is determined according to the idle storage space size;And for detecting When not completing full backup to the target data, data backup is carried out to the data that are not backed up in target data, to generate word Section is less than or equal to the backup data package with reference to byte, by the communication unit transmission backup data package, and The backup data package deletes the backup data package of the mobile terminal storage when being transmitted, enough surplus to ensure to have Remaining memory space is for storing next backup data package.
7. mobile terminal according to claim 6, which is characterized in that it is described in target data be not backed up data into Row data backup is less than or equal to the backup data package aspect with reference to byte to generate byte, and the processing unit is specific For: if detecting, the byte for being not backed up data in the target data refers to byte more than or equal to described, to target Part in data is not backed up data and carries out data backup, to generate byte as the backup data package with reference to byte;And If it is described with reference to byte to detect that the byte for being not backed up data in the target data is less than, to the whole in target data It is not backed up data and carries out data backup, to generate byte less than the backup data package with reference to byte.
8. mobile terminal according to claim 6, which is characterized in that in terms of the transmission backup data package, institute Processing unit is stated to be specifically used for:
By the communication unit to backup data package described in the purpose terminal transmission of the mobile terminal wired connection;Or Person,
By the communication unit to backup data package described in the purpose terminal transmission being wirelessly connected with the mobile terminal;Or Person,
The Backup Data is transmitted to the data transmitting server connecting with the communication of mobile terminal by the communication unit Packet.
9. mobile terminal according to claim 8, which is characterized in that the processing unit is also used to detecting the mesh Before marking the unfinished full backup of data, when the backup data package for detecting current transmission is damaged, delete described current The backup data package of transmission, and marking the corresponding data of the backup data package of the current transmission is to be not backed up data.
10. mobile terminal according to claim 6, which is characterized in that the processing unit is also used to: described detecting When target data completes full backup, output data completes the notification message of transmission, and deletes the institute of the mobile terminal storage State target data.
11. a kind of mobile terminal characterized by comprising
Processor, memory, communication interface, the processor are connect with the memory and the communication interface;
The memory is stored with executable program code, and the communication interface is for wirelessly communicating;
The processor is used to call the executable program code in the memory, executes as claim 1-5 is any Method described in.
CN201610826084.3A 2016-09-14 2016-09-14 A kind of data transmission processing method and mobile terminal Active CN106484326B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610826084.3A CN106484326B (en) 2016-09-14 2016-09-14 A kind of data transmission processing method and mobile terminal
PCT/CN2017/094239 WO2018049921A1 (en) 2016-09-14 2017-07-25 Data transmission processing method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610826084.3A CN106484326B (en) 2016-09-14 2016-09-14 A kind of data transmission processing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106484326A CN106484326A (en) 2017-03-08
CN106484326B true CN106484326B (en) 2019-08-27

Family

ID=58267244

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610826084.3A Active CN106484326B (en) 2016-09-14 2016-09-14 A kind of data transmission processing method and mobile terminal

Country Status (2)

Country Link
CN (1) CN106484326B (en)
WO (1) WO2018049921A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484326B (en) * 2016-09-14 2019-08-27 Oppo广东移动通信有限公司 A kind of data transmission processing method and mobile terminal
CN106484562B (en) * 2016-09-14 2019-08-23 Oppo广东移动通信有限公司 A kind of data transmission processing method and terminal device
CN107688513A (en) * 2017-09-02 2018-02-13 长沙曙通信息科技有限公司 A kind of disaster tolerant backup system data recovery prejudges implementation method
CN108875421A (en) * 2018-04-28 2018-11-23 置富科技(深圳)股份有限公司 Copying apparatus, data managing method, storage medium and data destroying, alternate device
CN109388629B (en) * 2018-09-29 2021-04-27 武汉斗鱼网络科技有限公司 Group regulation method, device, terminal and readable medium
CN111258821B (en) * 2020-03-23 2023-08-18 重庆忽米网络科技有限公司 Cloud computing-based backup data rapid extraction method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166621A (en) * 2014-08-12 2014-11-26 联想(北京)有限公司 Data processing method and device
CN105786399A (en) * 2014-12-24 2016-07-20 阿里巴巴集团控股有限公司 Data transfer method, device and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103577280A (en) * 2012-07-30 2014-02-12 北京网秦天下科技有限公司 Method and system for duplicating data
EP2940594A4 (en) * 2012-12-25 2016-09-21 Nec Corp Computation device and computation method
US20140274207A1 (en) * 2013-03-14 2014-09-18 Sheng-Yuan SHIH Data transfer device for mobile terminal
CN104657043A (en) * 2013-11-19 2015-05-27 中兴通讯股份有限公司 Multimedia data backup method, user terminal and synchronous device
CN106484326B (en) * 2016-09-14 2019-08-27 Oppo广东移动通信有限公司 A kind of data transmission processing method and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166621A (en) * 2014-08-12 2014-11-26 联想(北京)有限公司 Data processing method and device
CN105786399A (en) * 2014-12-24 2016-07-20 阿里巴巴集团控股有限公司 Data transfer method, device and system

Also Published As

Publication number Publication date
WO2018049921A1 (en) 2018-03-22
CN106484326A (en) 2017-03-08

Similar Documents

Publication Publication Date Title
CN106484326B (en) A kind of data transmission processing method and mobile terminal
CN106484562B (en) A kind of data transmission processing method and terminal device
CN106502826B (en) Data backup and transmission method and mobile terminal
CN106502834B (en) Backup method, the apparatus and system of data
CN106357897B (en) The acquisition methods and device of drop information
CN106453511B (en) A kind of data back up method and equipment
CN104252341B (en) The client device of the skin change method of application program, device and application program
CN106066686B (en) A kind of information processing method and terminal device
CN103634717B (en) A kind of method, device and the terminal device of the control of utilization earphone
CN106507482B (en) A kind of network locating method and terminal device
CN106681860B (en) A kind of data back up method and data backup device
CN103559731B (en) Method and terminal for displaying lyrics under screen locking state
CN106302808A (en) Data transmission method and mobile terminal
CN106534288B (en) A kind of data transmission method and mobile terminal
CN106502824B (en) Data back up method and Cloud Server
CN106453597B (en) The method of adjustment of data synchronizing cycles, apparatus and system
CN103475914A (en) Video playing method, video playing device, terminal equipment and server
CN106708633B (en) The method and mobile terminal of increasing terminal WiFi workstation mode closing velocities
CN110430592A (en) Network control method and Related product
CN103561400A (en) Method for initiating communication, device thereof and mobile terminal
CN107678989A (en) UART and USB multiplex circuits and mobile terminal
CN106020962B (en) A kind of course control method and terminal device
CN105357657B (en) The construction method and device of Mesh network
CN106454979B (en) A kind of network formats switching method and mobile terminal
CN109669662A (en) A kind of pronunciation inputting method, device, storage medium and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant