CN106572177A - Data transmission method and mobile terminal - Google Patents
Data transmission method and mobile terminal Download PDFInfo
- Publication number
- CN106572177A CN106572177A CN201610977294.2A CN201610977294A CN106572177A CN 106572177 A CN106572177 A CN 106572177A CN 201610977294 A CN201610977294 A CN 201610977294A CN 106572177 A CN106572177 A CN 106572177A
- Authority
- CN
- China
- Prior art keywords
- data
- backup data
- terminal
- reception
- prestored
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1471—Saving, restoring, recovering or retrying involving logging of persistent data for recovery
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a data transmission method and a mobile terminal; the method comprises the following steps: sending a first backup data obtaining request to a server communicating with the terminal; receiving the first backup data formed by the server responding to the request; comparing the received first backup data with the data pre-stored in the terminal; if the received first backup data is different from the data pre-stored in the terminal, updating the data pre-stored in the terminal with the received first backup data. The embodiment also discloses the corresponding mobile terminal; the method and terminal can prevent resource waste caused by multi-time backups, thus improving data backup efficiency.
Description
Technical field
The present invention relates to technical field of mobile terminals, and in particular to a kind of data transmission method and mobile terminal.
Background technology
With the continuous development of cloud service technology, user in order to reduce terminal unit storage pressure and data maintenance,
The cost of management, often by some important personal data, such as side of the data such as address list, note, picture by cloud storage
Formula is backed up on Cloud Server.When needing to carry out data syn-chronization, then from cloud service downloading data.Cloud backup is with following excellent
Point:Backup Data is safer, supports that multi-platform management, data transfer encryption are more trusted, not by space and equipment limit, also not
With data wire, it also avoid backuping to the risk of loss of data present on storage card, while, it is possible to achieve server, notes
The data syn-chronization of this computer, individual between PC and mobile terminal.
But in prior art, terminal, often directly will be pre- in terminal when the Backup Data that Cloud Server sends is received
The data for first storing directly replace with the Backup Data of reception, therefore, when the Backup Data and the terminal inner of terminal reception
When the data that prestore are identical, identical Data duplication can be caused to back up, in turn result in the wasting of resources, waste user time.
The content of the invention
A kind of data transmission method and mobile terminal are embodiments provided, is conducive to avoiding identical data repeatedly standby
The wasting of resources caused by part, is conducive to lifting data backup efficiency.
In a first aspect, the embodiment of the present invention provides a kind of data transmission method, including:
The request for the first Backup Data of acquisition request is sent to the server that communication connection is set up with terminal;
Receive the first Backup Data that the server response request is generated;
The data that first Backup Data of the reception is prestored with the terminal inner are compared;
If the data that the first Backup Data of the reception is prestored with the terminal inner are differed, by the terminal
The data that inside prestores are updated to the first Backup Data of the reception.
Second aspect, the embodiment of the present invention provide a kind of mobile terminal, including:
Transmitting element, for sending for the first Backup Data of acquisition request to the server that communication connection is set up with terminal
Request;
Receiving unit, for receiving the first Backup Data that the server response request is generated;
Comparing unit, for the data that the first Backup Data of the reception and the terminal inner are prestored are carried out
Relatively;
Updating block, if for the data that prestore with the terminal inner of the first Backup Data not phase of the reception
Together, the data that the terminal inner is prestored are updated to the first Backup Data of the reception.
The third aspect, the embodiment of the present invention provide a kind of mobile terminal, including:
Processor, memorizer, communication interface and communication bus, the processor, the memorizer and the communication interface
Connect and complete mutual communication by the communication bus;
The memory storage has executable program code, and the communication interface is used for radio communication;
The processor is used to call the executable program code in the memorizer, performs the embodiment of the present invention the
Part or all of step described in one side either method.
As can be seen that data transmission method provided in an embodiment of the present invention, terminal is to the clothes that communication connection is set up with terminal
Business device sends the request for the first Backup Data of acquisition request, and receive the server response request generation first is standby
Number evidence, the data that the first Backup Data of the reception is prestored with the terminal inner are compared, if the reception
The data that prestore with the terminal inner of the first Backup Data differ, the data that the terminal inner is prestored
It is updated to the first Backup Data of the reception.It can be seen that, mobile terminal will can be received before the data of storage are updated in advance
Backup Data is compared with the data for prestoring, and is only differed with the data for prestoring in the Backup Data for receiving
When, just it is updated for the data that terminal inner is prestored, and then realizes selectively carrying out data backup, it is to avoid is identical
The data wasting of resources repeatedly caused by backup, so as to be conducive to lifting data backup efficiency.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of structural representation of network architecture disclosed in the embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet of data transmission method disclosed in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another kind of data transmission method disclosed in the embodiment of the present invention;
Fig. 4 is a kind of unit composition frame chart of mobile terminal disclosed in the embodiment of the present invention;
Fig. 5 is a kind of structural representation of mobile terminal disclosed in the embodiment of the present invention;
Fig. 6 is the structural representation of another kind of mobile terminal disclosed in the embodiment of the present invention.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only
The a part of embodiment of the present invention, rather than the embodiment of whole.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Term " first ", " second " in description and claims of this specification and above-mentioned accompanying drawing etc. are for distinguishing
Different objects, rather than for describing particular order.Additionally, term " comprising " and " having " and their any deformations, it is intended that
It is to cover non-exclusive including.Process, method, system, product or the equipment for for example containing series of steps or unit does not have
The step of listing or unit are defined in, but alternatively also include the step of not listing or unit, or alternatively also wrapped
Include other steps intrinsic for these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can be wrapped in conjunction with the embodiments
It is contained 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 it is understood by, embodiment described herein can be combined with other embodiments.
In order to be best understood from a kind of data transmission method and mobile terminal disclosed in the embodiment of the present invention, below to the present invention
Embodiment describes in detail.
In order to be best understood from a kind of data transmission method and mobile terminal disclosed in the embodiment of the present invention, below first to this
The network architecture that bright embodiment is suitable for is described.Fig. 1 is referred to, Fig. 1 is a kind of network architecture disclosed in the embodiment of the present invention
Structural representation.As shown in figure 1, the network architecture schematic diagram can include service equipment and terminal, wherein, service equipment can
With including server, service host, service system and service platform etc., and terminal can include but is not limited to mobile phone,
Removable computer, panel computer, personal digital assistant (Personal Digital Assistant, PDA), media player, intelligence
The user equipmenies such as energy TV, intelligent watch, intelligent glasses, Intelligent bracelet.Wherein, service equipment can pass through the Internet and client
End is communicatively coupled.
Based on the network architecture shown in Fig. 1, the embodiment of the invention discloses a kind of data transmission method.Refer to Fig. 2,
Fig. 2 is to embodiments provide a kind of schematic flow sheet of data transmission method, as shown in Fig. 2 notebook data transmission method
Comprise the following steps:
S201, terminal send asking for the first Backup Data of acquisition request to the server that communication connection is set up with terminal
Ask.
Wherein, terminal can be sent for asking to server every preset time period (for example, every 7 days or every 30 days)
Ask the request for obtaining the first Backup Data, or terminal send for acquisition request to server under the triggering of user
The request of the first Backup Data.
Specifically, the terminal sends terminal iidentification and password corresponding with the terminal iidentification to the server in advance
Information, to complete registration of the terminal in the server, the communication link set up between the terminal and the server.
S202, terminal receive the first Backup Data that the server response request is generated.
Wherein, the Backup Data is the Backup Data that the terminal is sent to the server in advance.
The data that first Backup Data of the reception is prestored with the terminal inner are compared by S203, terminal
Compared with.
If the data that S204, the first Backup Data of the reception are prestored with the terminal inner are differed, terminal
The data that the terminal inner is prestored are updated to into the first Backup Data of the reception.
Wherein, if the first Backup Data of the reception is identical with the data that the terminal inner is prestored, delete institute
State the first Backup Data of reception.
If there are the data that target Backup Data is prestored in the terminal inner in the first Backup Data of the reception
In do not exist, store the target Backup Data.
Specifically, if the data that the first Backup Data of the reception is prestored with the terminal inner are differed,
Illustrate, in this period of time of the terminal between the upper moment once backed up and current moment, to modify data, and led
The data that the first Backup Data of the reception is prestored with the terminal inner are caused to differ, therefore, now terminal is by institute
State the first Backup Data that the data that terminal inner prestores are updated to the reception.If the first Backup Data of the reception
It is identical with the data that the terminal inner is prestored, then illustrate the terminal the upper moment once backed up and current moment it
Between this period of time in, data are not modified and are not added yet, therefore, now receive described in terminal deletion
First Backup Data, without the need for being updated to the data that terminal inner is prestored.If the first Backup Data of the reception is deposited
Do not exist in the data that the terminal inner is prestored in target Backup Data, then illustrate that the terminal is once backed up upper
In this period of time between moment and current moment, data are added, cause the first backup number that server sends
Do not exist in the data that the terminal inner is prestored according to there is target Backup Data, therefore, now described in terminal storage
Target Backup Data.
Optionally, it is described to send for the first Backup Data of acquisition request to the server that communication connection is set up with terminal
Before request, the terminal can also carry out following operation:
When the terminal receives restarting instruction, the data is activation that the terminal inner is prestored is to described
Server;
When the terminal restarts, perform the server to terminal foundation communication connection and send for asking
The step of obtaining the request of the first Backup Data.
Optionally, the mobile terminal can also carry out following operation:
Obtain the selection operation for the second Backup Data;
Second Backup Data is sent to the server, so that the server backs up number by the second of the reception
It is compared according to the data prestored with the server internal, and to there is target standby when the second Backup Data of the reception
When number is differed according to the data prestored with the terminal inner, the data that the server internal is prestored update
For the second Backup Data of the reception.
As can be seen that data transmission method provided in an embodiment of the present invention, terminal is to the clothes that communication connection is set up with terminal
Business device sends the request for the first Backup Data of acquisition request, and receive the server response request generation first is standby
Number evidence, the data that the first Backup Data of the reception is prestored with the terminal inner are compared, if the reception
The data that prestore with the terminal inner of the first Backup Data differ, the data that the terminal inner is prestored
It is updated to the first Backup Data of the reception.It can be seen that, mobile terminal will can be received before the data of storage are updated in advance
Backup Data is compared with the data for prestoring, and is only differed with the data for prestoring in the Backup Data for receiving
When, just it is updated for the data that terminal inner is prestored, and then realizes selectively carrying out data backup, it is to avoid is identical
The data wasting of resources repeatedly caused by backup, so as to be conducive to lifting data backup efficiency.
It is consistent with the embodiment shown in above-mentioned Fig. 2, Fig. 3 is referred to, Fig. 3 is another kind of number provided in an embodiment of the present invention
According to the schematic flow sheet of transmission method.As illustrated, notebook data transmission method is comprised the following steps:
S301, the terminal receive restarting instruction when, the data is activation that the terminal inner is prestored
To the server.
S302, when the terminal restarts, to terminal set up communication connection server send for request obtain
Take the request of the first Backup Data.
S303, the first Backup Data for receiving the server response request generation.
S304, the data that the first Backup Data of the reception is prestored with the terminal inner are compared.
Wherein, if the data that the first Backup Data of the reception is prestored with the terminal inner are differed, perform
Step S305;If the first Backup Data of the reception is identical with the data that the terminal inner is prestored, execution step
S306;If there is target Backup Data in the data that the terminal inner is prestored not in the first Backup Data of the reception
Exist, execution step S307.
If the data that S305, the first Backup Data of the reception are prestored with the terminal inner are differed, by institute
State the first Backup Data that the data that terminal inner prestores are updated to the reception.
If S306, the first Backup Data of the reception are identical with the data that the terminal inner is prestored, institute is deleted
State the first Backup Data of reception.
If S307, the first Backup Data of the reception have what target Backup Data was prestored in the terminal inner
Do not exist in data, store the target Backup Data.
S308, acquisition are directed to the selection operation of the second Backup Data.
S309, second Backup Data is sent to the server, so that the server is by the second of the reception
The data that Backup Data is prestored with the server internal are compared, and when the second Backup Data of the reception is present
When the data that target Backup Data is prestored with the terminal inner are differed, the number that the server internal is prestored
According to the second Backup Data for being updated to the reception.
As can be seen that data transmission method provided in an embodiment of the present invention, terminal is to the clothes that communication connection is set up with terminal
Business device sends the request for the first Backup Data of acquisition request, and receive the server response request generation first is standby
Number evidence, the data that the first Backup Data of the reception is prestored with the terminal inner are compared, if the reception
The data that prestore with the terminal inner of the first Backup Data differ, the data that the terminal inner is prestored
It is updated to the first Backup Data of the reception.It can be seen that, mobile terminal will can be received before the data of storage are updated in advance
Backup Data is compared with the data for prestoring, and is only differed with the data for prestoring in the Backup Data for receiving
When, just it is updated for the data that terminal inner is prestored, and then realizes selectively carrying out data backup, it is to avoid is identical
The data wasting of resources repeatedly caused by backup, so as to be conducive to lifting data backup efficiency.
It is apparatus of the present invention embodiment below, apparatus of the present invention embodiment is realized for performing the inventive method embodiment
Method.As shown in figure 4, the mobile terminal can include transmitting element 401, receiving unit 402, comparing unit 403 and more
New unit 404, wherein:
The transmitting element 401, for sending for acquisition request first to the server that communication connection is set up with terminal
The request of Backup Data;
The receiving unit 402, for receiving the first Backup Data that the server response request is generated;
The comparing unit 403, for what is prestored the first Backup Data of the reception and the terminal inner
Data are compared;
The updating block 404, if the first Backup Data and the terminal inner for the reception is prestored
Data are differed, and the data that the terminal inner is prestored are updated to the first Backup Data of the reception.
Wherein, optionally, the mobile terminal also includes:
Unit 405 is deleted, will be the first Backup Data of the reception pre- with the terminal inner in the comparing unit 403
After the data for first storing are compared, if the first Backup Data and the terminal inner for the reception is prestored
Data are identical, delete the first Backup Data of the reception.
Optionally, the mobile terminal also includes:
Backup units 406, are sent for asking to the server that communication connection is set up with terminal in the transmitting element 401
Before obtaining the request of the first Backup Data, for when the terminal receives restarting instruction, by the terminal inner
The data is activation for prestoring is to the server;
Trigger element 407, for when the terminal restarts, trigger the transmitting element 401 perform it is described to
Terminal sets up the operation that the server of communication connection sends the request for the first Backup Data of acquisition request.
Optionally, the mobile terminal also includes:
Memory element 408, will be the first Backup Data of the reception pre- with the terminal inner in the comparing unit 403
After the data for first storing are compared, if there is target Backup Data at the end in the first Backup Data for the reception
Do not exist in the internal data for prestoring in end, store the target Backup Data.
Optionally, the mobile terminal also includes:
Acquiring unit 409, for obtaining the selection operation for the second Backup Data;
The transmitting element 401, is additionally operable to send second Backup Data to the server, so that the server
The data that second Backup Data of the reception is prestored with the server internal are compared, and when the reception
When second Backup Data has the data that target Backup Data prestored with the terminal inner and differs, by the server
The data that inside prestores are updated to the second Backup Data of the reception.
It should be noted that the mobile terminal described by apparatus of the present invention embodiment is presented in the form of functional unit.
Term " unit " used herein above should be understood to implication as most wide as possible, for realizing each function described by " unit "
Object can for example be integrated circuit ASIC, single circuit, for performing the process of one or more softwares or firmware program
Device (shared, special or chipset) and memorizer, combinational logic circuit, and/or other conjunctions for realizing above-mentioned functions are provided
Suitable component.
For example, above-mentioned transmitting element 401 is sent for acquisition request to the server that communication connection is set up with terminal
The function of the request of the first Backup Data can be as shown in Figure 5 mobile terminal realizing, specifically can be logical by processor 101
The executable program code called in memorizer 102 is crossed, is sent to the server that communication connection is set up with terminal and is obtained for request
Take the request of the first Backup Data.
As can be seen that data transmission method provided in an embodiment of the present invention, terminal is to the clothes that communication connection is set up with terminal
Business device sends the request for the first Backup Data of acquisition request, and receive the server response request generation first is standby
Number evidence, the data that the first Backup Data of the reception is prestored with the terminal inner are compared, if the reception
The data that prestore with the terminal inner of the first Backup Data differ, the data that the terminal inner is prestored
It is updated to the first Backup Data of the reception.It can be seen that, mobile terminal will can be received before the data of storage are updated in advance
Backup Data is compared with the data for prestoring, and is only differed with the data for prestoring in the Backup Data for receiving
When, just it is updated for the data that terminal inner is prestored, and then realizes selectively carrying out data backup, it is to avoid is identical
The data wasting of resources repeatedly caused by backup, so as to be conducive to lifting data backup efficiency.
The embodiment of the present invention additionally provides another kind of mobile terminal, as shown in figure 5, including:Processor 101, memorizer
102, communication interface 103 and communication bus 104;Wherein, processor 101, memorizer 102 and communication interface 103 are total by communication
Line 104 connects and completes mutual communication;Processor 101 is by the control of communication interface 103 and the channel radio of External cell net
Letter;Communication interface 103 includes but is not limited to antenna, amplifier, transceiver, bonder, LNA (Low Noise
Amplifier, low-noise amplifier), duplexer etc..Memorizer 102 includes following at least one:It is random access memory (RAM), non-
Volatile memory and external memory storage, be stored with memorizer 102 executable program code, the executable program code energy
Enough bootstrap processors 101 perform the concrete audio stream processing method for disclosing in the inventive method embodiment, comprise the following steps:
The processor 101 is sent for the first Backup Data of acquisition request to the server that communication connection is set up with terminal
Request;
The processor 101 receives the first Backup Data that the server response request is generated;
The data that first Backup Data of the reception and the terminal inner are prestored are carried out by the processor 101
Relatively;
If the data that the first Backup Data of 101 reception of the processor is prestored with the terminal inner not phase
Together, the data that the terminal inner is prestored are updated to the first Backup Data of the reception.
Optionally, the first Backup Data of the reception and the terminal inner are prestored by the processor 101
After data are compared, following steps are can also carry out:
If the first Backup Data of the reception is identical with the data that the terminal inner is prestored, the reception is deleted
The first Backup Data.
Optionally, the processor 101 is sent for acquisition request first to the server that communication connection is set up with terminal
Before the request of Backup Data, following steps are can also carry out:
When the terminal receives restarting instruction, the data is activation that the terminal inner is prestored is to described
Server;
When the terminal restarts, perform the server to terminal foundation communication connection and send for asking
The step of obtaining the request of the first Backup Data.
Optionally, the first Backup Data of the reception and the terminal inner are prestored by the processor 101
After data are compared, following steps are can also carry out:
If there are the data that target Backup Data is prestored in the terminal inner in the first Backup Data of the reception
In do not exist, store the target Backup Data.
Optionally, the processor 101 can also carry out following steps:
Obtain the selection operation for the second Backup Data;
Second Backup Data is sent to the server, so that the server backs up number by the second of the reception
It is compared according to the data prestored with the server internal, and to there is target standby when the second Backup Data of the reception
When number is differed according to the data prestored with the terminal inner, the data that the server internal is prestored update
For the second Backup Data of the reception.
As can be seen that data transmission method provided in an embodiment of the present invention, terminal is to the clothes that communication connection is set up with terminal
Business device sends the request for the first Backup Data of acquisition request, and receive the server response request generation first is standby
Number evidence, the data that the first Backup Data of the reception is prestored with the terminal inner are compared, if the reception
The data that prestore with the terminal inner of the first Backup Data differ, the data that the terminal inner is prestored
It is updated to the first Backup Data of the reception.It can be seen that, mobile terminal will can be received before the data of storage are updated in advance
Backup Data is compared with the data for prestoring, and is only differed with the data for prestoring in the Backup Data for receiving
When, just it is updated for the data that terminal inner is prestored, and then realizes selectively carrying out data backup, it is to avoid is identical
The data wasting of resources repeatedly caused by backup, so as to be conducive to lifting data backup efficiency.
The embodiment of the present invention additionally provides another kind of mobile terminal, as shown in fig. 6, for convenience of description, illustrate only with
The related part of the embodiment of the present invention, particular technique details are not disclosed, and refer to present invention method part.The movement
Terminal can be to include mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant), POS
The arbitrarily terminal unit such as (Point of Sales, point-of-sale terminal), vehicle-mounted computer, so that mobile terminal is as mobile phone as an example:
Fig. 6 is illustrated that the block diagram of the part-structure of the mobile phone related 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, memorizer 920, input block 930, display unit
940th, sensor 950, voicefrequency circuit 960, Wireless Fidelity (wireless fidelity, WiFi) module 970, processor 980,
And the part such as power supply 990.It will be understood by those skilled in the art that the handset structure illustrated in Fig. 6 is not constituted to mobile phone
Limit, can include than illustrating more or less of part, or combine some parts, or different part arrangements.
Each component parts of mobile phone are specifically introduced with reference to Fig. 6:
RF circuits 910 can be used for the reception and transmission of information.Generally, RF circuits 910 include but is not limited to antenna, at least one
Individual amplifier, transceiver, bonder, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally,
RF circuits 910 can also be communicated with network and other equipment by radio communication.Above-mentioned radio communication can use arbitrary 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 division it is many
Location (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..
Memorizer 920 can be used to store software program and module, and processor 980 is stored in memorizer 920 by operation
Software program and module, so as to perform various function application and the data processing of mobile phone.Memorizer 920 mainly can include
Storing program area and storage data field, wherein, storing program area can storage program area, the application journey needed at least one function
Sequence etc.;Storage data field can be stored and use created data etc. according to mobile phone.Additionally, memorizer 920 can be included at a high speed
Random access memory, can also include nonvolatile memory, for example, at least one disk memory, flush memory device or
Other volatile solid-state parts.
Input block 930 can be used for the numeral or character information of receives input, and generate with the user of mobile phone arrange with
And the key signals input that function control is relevant.Specifically, input block 930 may include fingerprint recognition module 931 and other are defeated
Enter equipment 932.Fingerprint recognition module 931, can gather user's finger print data thereon.Optionally, fingerprint recognition module 931 can
Including optical fingerprint module, capacitance type fingerprint module and RF-type fingerprint module.With fingerprint recognition module 931 as condenser type
As a example by fingerprint recognition module, specifically include induction electrode (abnormal induction electrode and normal induction electrode) and with the induction electrode
The signal processing circuit (such as amplifying circuit, noise suppression circuit, analog-to-digital conversion circuit, etc.) of connection.Except fingerprint recognition mould
Group 931, input block 930 can also include other input equipments 932.Specifically, other input equipments 932 can include but not
The one kind being limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
Or it is various.
Display unit 940 can be used for show by user input information or be supplied to user information and mobile phone it is various
Menu.Display unit 940 may include display screen 941, optionally, can adopt liquid crystal display (Liquid Crystal
Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure
Display screen 941.Although in figure 6, fingerprint recognition module 931 and display screen 941 are realizing mobile phone as two independent parts
Input and input function, but in some embodiments it is possible to will be fingerprint recognition module 931 integrated and real with display screen 941
The input of existing mobile phone and output function.
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 transducer, wherein, ambient light sensor can be according to ambient light
Light and shade adjusting the brightness of display screen 941, proximity transducer can when mobile phone is moved in one's ear, close display screen 941 and/or
Backlight.Used as one kind of motion sensor, in the detectable all directions of accelerometer sensor, (generally three axles) acceleration is big
It is little, size and the direction of gravity is can detect that when static, can be used to recognize application (such as horizontal/vertical screen switching, the phase of mobile phone attitude
Close game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Can also configure as mobile phone
The other sensors such as gyroscope, barometer, drimeter, thermometer, infrared ray sensor, will not be described here.
Voicefrequency circuit 960, speaker 961, microphone 962 can provide the audio interface between user and mobile phone.Audio-frequency electric
The signal of telecommunication after the voice data for receiving conversion can be transferred to speaker 961, is converted to sound by speaker 961 by road 960
Signal output;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone 962, is turned after being received by voicefrequency circuit 960
Be changed to voice data, then after voice data output processor 980 is processed, Jing RF circuits 910 to be sent to such as another mobile phone,
Or voice data is exported to memorizer 920 further to process.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 970
Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 6 shows
WiFi module 970, but it is understood that, which is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely
Omit in the scope of the essence for becoming invention.
Processor 980 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to
Cross operation or perform the software program and/or module that are stored in memorizer 920, and call and be stored in memorizer 920
Data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 980 can be wrapped
Include one or more processing units;Preferably, processor 980 can integrated application processor and modem processor, wherein, should
Operating system, user interface and application program etc. are processed mainly with processor, modem processor mainly processes radio communication.
It is understood that above-mentioned modem processor can not also be integrated in processor 980.
Mobile phone also 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 is logically contiguous with processor 980, so as to realize management charging, electric discharge and power managed by power-supply management system
Etc. function.
Although not shown, mobile phone can also include photographic head, bluetooth module etc., will not be described here.
In embodiment shown in aforementioned Fig. 2 and Fig. 3, each step method flow process can be realized based on the structure of the mobile phone.
In embodiment shown in aforementioned Fig. 4, 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-readable storage medium, wherein, the computer-readable storage medium can be stored with journey
Sequence, includes the part or all of step of any audio stream processing method described in said method embodiment during the program performing
Suddenly.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore which is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention do not limited by described sequence of movement because
According to the present invention, some steps can adopt other orders or while carry out.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, involved action and module are not necessarily of the invention
It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment
Point, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way
Realize.For example, device embodiment described above is only schematic, such as division of described unit, is only one kind
Division of logic function, can have when actually realizing other dividing mode, such as multiple units or component can with reference to or can
To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each other
Coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication connection by some interfaces, device or unit,
Can be electrical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can local to be located at one, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list
Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unit
When, can be stored in a computer-readable access to memory.Based on such understanding, technical scheme substantially or
Person say the part or technical scheme contributed by prior art all or part can in the form of software product body
Reveal and, the computer software product is stored in a memorizer, use so that a computer equipment including some instructions
(can be personal computer, server or network equipment etc.) performs all or part of each embodiment methods described of the invention
Step.And aforesaid memorizer includes:USB flash disk, read only memory (ROM, Read-Only Memory), random access memory
(RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. are various can be with the medium of store program codes.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
Instruct related hardware to complete with by program, the program can be stored in a computer-readable memory, memorizer
Can 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..
Above the embodiment of the present invention is described in detail, specific case used herein to the principle of the present invention and
Embodiment is set forth, and the explanation of above example is only intended to help and understands the method for the present invention and its core concept;
Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, can in specific embodiments and applications
There is change part, in sum, this specification content should not be construed as limiting the invention.
Claims (10)
1. a kind of data transmission method, it is characterised in that include:
The request for the first Backup Data of acquisition request is sent to the server that communication connection is set up with terminal;
Receive the first Backup Data that the server response request is generated;
The data that first Backup Data of the reception is prestored with the terminal inner are compared;
If the data that the first Backup Data of the reception is prestored with the terminal inner are differed, by the terminal inner
The data for prestoring are updated to the first Backup Data of the reception.
2. the method for claim 1, it is characterised in that first Backup Data by the reception and the terminal
After the data that inside prestores are compared, methods described also includes:
If the first Backup Data of the reception is identical with the data that the terminal inner is prestored, the of the reception is deleted
One Backup Data.
3. the method for claim 1, it is characterised in that first Backup Data by the reception and the terminal
After the data that inside prestores are compared, methods described also includes:
If there is target Backup Data in the data that the terminal inner is prestored not in the first Backup Data of the reception
Exist, store the target Backup Data.
4. the method for claim 1, it is characterised in that described transmission to the server that communication connection is set up with terminal is used
Before the request of the first Backup Data of acquisition request, methods described also includes:
When the terminal receives restarting instruction, the data is activation that the terminal inner is prestored is to the service
Device;
When the terminal restarts, perform the server to terminal foundation communication connection and send for acquisition request
The step of request of the first Backup Data.
5. the method as described in any one of Claims 1-4, it is characterised in that methods described also includes:
Obtain the selection operation for the second Backup Data;
Second Backup Data is sent to the server so that the server by the second Backup Data of the reception with
The data that the server internal is prestored are compared, and when the second Backup Data of the reception has target backup number
When differing according to the data prestored with the terminal inner, the data that the server internal is prestored are updated to into institute
State the second Backup Data of reception.
6. a kind of mobile terminal, it is characterised in that include:
Transmitting element, for asking for the first Backup Data of acquisition request is sent to the server that communication connection is set up with terminal
Ask;
Receiving unit, for receiving the first Backup Data that the server response request is generated;
Comparing unit, for the data that the first Backup Data of the reception is prestored with the terminal inner are compared
Compared with;
Updating block, if the data that prestored with the terminal inner of the first Backup Data for the reception are differed,
The data that the terminal inner is prestored are updated to into the first Backup Data of the reception.
7. mobile terminal as claimed in claim 6, it is characterised in that the mobile terminal also includes:
Unit is deleted, in the number that the first Backup Data of the reception is prestored by the comparing unit with the terminal inner
After being compared, if the first Backup Data for the reception is identical with the data that the terminal inner is prestored,
Delete the first Backup Data of the reception.
8. mobile terminal as claimed in claim 6, it is characterised in that the mobile terminal also includes:
Memory element, in the number that the first Backup Data of the reception is prestored by the comparing unit with the terminal inner
After being compared, if to there is target Backup Data advance in the terminal inner for the first Backup Data of the reception
Do not exist in the data of storage, store the target Backup Data.
9. mobile terminal as claimed in claim 6, it is characterised in that the mobile terminal also includes:
Backup units, send for acquisition request first standby to the server that communication connection is set up with terminal in the transmitting element
Before the request of number evidence, for when the terminal receives restarting instruction, the terminal inner being prestored
Data is activation is to the server;
Trigger element, for when the terminal restarts, triggering, the transmitting element execution is described to set up logical to terminal
The server of letter connection sends the operation of the request for the first Backup Data of acquisition request.
10. the mobile terminal as described in any one of claim 6 to 9, it is characterised in that the mobile terminal also includes:
Acquiring unit, for obtaining the selection operation for the second Backup Data;
The transmitting element, is additionally operable to send second Backup Data to the server, so that the server will be described
The data that the second Backup Data for receiving is prestored with the server internal are compared, and when the reception second standby
Number, will be the server internal pre- according to when there are the data that target Backup Data prestored with the terminal inner and differing
The data for first storing are updated to the second Backup Data of the reception.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610977294.2A CN106572177A (en) | 2016-11-07 | 2016-11-07 | Data transmission method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610977294.2A CN106572177A (en) | 2016-11-07 | 2016-11-07 | Data transmission method and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106572177A true CN106572177A (en) | 2017-04-19 |
Family
ID=58540025
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610977294.2A Pending CN106572177A (en) | 2016-11-07 | 2016-11-07 | Data transmission method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106572177A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020132842A1 (en) * | 2018-12-24 | 2020-07-02 | 深圳市柔宇科技有限公司 | Note synchronization method and system and related apparatus |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8176015B1 (en) * | 2004-06-14 | 2012-05-08 | Symantec Operating Corporation | Method and apparatus for reducing redundant storing of blocks of data on a server |
CN102523290A (en) * | 2011-12-19 | 2012-06-27 | 成都市华为赛门铁克科技有限公司 | Data processing method, device and system |
CN103561324A (en) * | 2013-10-30 | 2014-02-05 | 乐视致新电子科技(天津)有限公司 | Method and device for conducting cloud packing-up on application program of cloud television |
CN103713964A (en) * | 2012-09-29 | 2014-04-09 | 联想(北京)有限公司 | Data backup and recovery method and electronic equipment |
CN104079610A (en) * | 2013-03-29 | 2014-10-01 | 青岛海尔电子有限公司 | Cloud server, and method and system for cloud synchronization of application software |
CN104156284A (en) * | 2014-08-27 | 2014-11-19 | 小米科技有限责任公司 | File backup method and device |
-
2016
- 2016-11-07 CN CN201610977294.2A patent/CN106572177A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8176015B1 (en) * | 2004-06-14 | 2012-05-08 | Symantec Operating Corporation | Method and apparatus for reducing redundant storing of blocks of data on a server |
CN102523290A (en) * | 2011-12-19 | 2012-06-27 | 成都市华为赛门铁克科技有限公司 | Data processing method, device and system |
CN103713964A (en) * | 2012-09-29 | 2014-04-09 | 联想(北京)有限公司 | Data backup and recovery method and electronic equipment |
CN104079610A (en) * | 2013-03-29 | 2014-10-01 | 青岛海尔电子有限公司 | Cloud server, and method and system for cloud synchronization of application software |
CN103561324A (en) * | 2013-10-30 | 2014-02-05 | 乐视致新电子科技(天津)有限公司 | Method and device for conducting cloud packing-up on application program of cloud television |
CN104156284A (en) * | 2014-08-27 | 2014-11-19 | 小米科技有限责任公司 | File backup method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020132842A1 (en) * | 2018-12-24 | 2020-07-02 | 深圳市柔宇科技有限公司 | Note synchronization method and system and related apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106681860B (en) | A kind of data back up method and data backup device | |
CN106302808A (en) | Data transmission method and mobile terminal | |
CN104765591A (en) | Method and system for updating software configuration parameter, and terminal server | |
CN106454805A (en) | Data migration method and mobile terminal | |
CN106534288A (en) | Data transmission method and mobile terminal | |
CN106507289A (en) | A kind of cut-in method of wireless network and mobile terminal | |
CN106055408A (en) | Application control method and mobile terminal | |
CN106502826A (en) | Data backup and transmission method and mobile terminal | |
CN106506862A (en) | A kind of working mode of mobile terminal changing method and mobile terminal | |
CN106445743A (en) | Data backup transmission method and mobile terminal | |
CN106412033A (en) | Data migration method and terminal | |
CN106469028A (en) | A kind of data migration method and mobile terminal | |
CN106446111A (en) | Data migration method and terminal | |
CN106569916A (en) | Data backup method and mobile terminal | |
CN106569910A (en) | Data backup and transmission method, and mobile terminal | |
CN106714333A (en) | Data migration method and terminal | |
CN106502824A (en) | Data back up method and Cloud Server | |
CN103713943A (en) | Native terminal operating system based application function realization method and device | |
CN107066324A (en) | A kind of control method and equipment of finger prints processing resource | |
CN106569815A (en) | Message display method and terminal | |
CN106980554B (en) | Process processing method and device | |
CN105187944A (en) | Status bar display method and device | |
CN106453571A (en) | Data migration method and terminal | |
CN106529256A (en) | Terminal unlocking method and mobile terminal | |
CN106954211B (en) | A kind of key wiring method and mobile terminal |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170419 |