CN106534288B - A kind of data transmission method and mobile terminal - Google Patents
A kind of data transmission method and mobile terminal Download PDFInfo
- Publication number
- CN106534288B CN106534288B CN201610957444.3A CN201610957444A CN106534288B CN 106534288 B CN106534288 B CN 106534288B CN 201610957444 A CN201610957444 A CN 201610957444A CN 106534288 B CN106534288 B CN 106534288B
- Authority
- CN
- China
- Prior art keywords
- server
- test data
- terminal
- feedback information
- data
- 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.)
- Expired - Fee Related
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 68
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000012360 testing method Methods 0.000 claims abstract description 179
- 238000004891 communication Methods 0.000 claims abstract description 47
- 238000012790 confirmation Methods 0.000 claims description 12
- 230000001960 triggered effect Effects 0.000 abstract 1
- 230000006870 function Effects 0.000 description 14
- 238000010586 diagram Methods 0.000 description 13
- 238000012545 processing Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 4
- 230000006698 induction Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000033001 locomotion Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000012905 input function Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 241001269238 Data Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000007717 exclusion Effects 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
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/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
- H04L43/0894—Packet rate
-
- 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
Abstract
The embodiment of the invention discloses a kind of data transmission method and mobile terminals, comprising: receives the test data that the server for establishing communication connection with terminal generates;When having received the test data, Xiang Suoshu server sends feedback information, and the feedback information is for indicating that the terminal has received the test data;Obtain the first Backup Data that the server is sent, wherein, first Backup Data is the generation time of receiving time and the test data of the server based on the feedback information to detect that the network speed of the terminal is sent more than or equal to when presetting network speed threshold value.The embodiment of the invention also discloses corresponding mobile terminals.The embodiment of the present invention is conducive to promote the validity triggered when terminal carries out data transmission with server.
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 technique
With the continuous development of cloud service technology, user in order to reduce terminal device storage pressure and data maintenance,
The cost of management, the side that the data such as some important personal data, such as address list, short message, picture are often passed through into cloud storage
Formula backs up on Cloud Server.Need to carry out data it is synchronous when, then from cloud service downloading data.Cloud backup has following excellent
Point: Backup Data is safer, not by space and equipment limit, without data line, avoid and backup to present on storage card
The risk of loss of data, it is also possible to realize that server, laptop, the data between individual PC and mobile terminal are same
Step.
But in the prior art, terminal with Cloud Server when carrying out data transmission, it is only necessary to which by user, actively triggering is held
The transmission of row data, does not fully consider the network environment of terminal, it is thus possible to cause data transmission invalid.
Summary of the invention
The embodiment of the invention provides a kind of data transmission method and mobile terminal, be conducive to be promoted terminal and server into
The validity of row data transmission triggering.
In a first aspect, the embodiment of the present invention provides a kind of data transmission method, comprising:
Receive the test data that the server for establishing communication connection with terminal generates;
When having received the test data, Xiang Suoshu server sends feedback information, and the feedback information is for indicating
The terminal has received the test data;
Obtain the first Backup Data that the server is sent, wherein first Backup Data is the server base
Detect that the network speed of the terminal is greater than in the receiving time of the feedback information and the generation time of the test data
Or sent when equal to default network speed threshold value.
Second aspect, the embodiment of the present invention provide a kind of mobile terminal, comprising:
Receiving unit, the test data generated for receiving the server for establishing communication connection with terminal;
Transmission unit, for when having received the test data, Xiang Suoshu server to send feedback information, the feedback
Information is for indicating that the terminal has received the test data;
Acquiring unit, the first Backup Data sent for obtaining the server, wherein first Backup Data is
The generation time of receiving time and the test data of the server based on the feedback information detects the terminal
It is sent when network speed is more than or equal to default network speed threshold value.
The third aspect, the embodiment of the present invention provide a kind of mobile terminal, comprising:
Processor, memory, communication interface and communication bus, the processor, the memory and the communication interface
It is connected by the communication bus and completes mutual communication;
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 the embodiment of the present invention the
Step some or all of described in one side either method.
It can be seen that data transmission method provided in an embodiment of the present invention, terminal, which is received, establishes communication connection with terminal
The test data that server generates, when having received the test data, Xiang Suoshu server sends feedback information, the feedback
Information obtains the first Backup Data that the server is sent for indicating that the terminal has received the test data, wherein
When first Backup Data is the generation of receiving time and the test data of the server based on the feedback information
Between detect that the network speed of the terminal is greater than or equal to and sent when default network speed threshold value.As it can be seen that by implementing this
Just available server transmission when inventive embodiments make the network speed of terminal be greater than or equal to default network speed threshold value
The first Backup Data, and then be conducive to promoted data transmission triggering validity.
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 is a kind of structural schematic diagram of network architecture disclosed by the embodiments of the present invention;
Fig. 2 is a kind of flow diagram of data transmission method disclosed by the embodiments of the present invention;
Fig. 3 is the flow diagram of another data transmission method disclosed by the embodiments of the present invention;
Fig. 4 is the flow diagram of another data transmission method disclosed by the embodiments of the present invention
Fig. 5 is a kind of unit composition block diagram of mobile terminal disclosed by the embodiments of the present invention;
Fig. 6 is a kind of structural schematic diagram of mobile terminal disclosed by the embodiments of the present invention;
Fig. 7 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.
In order to be best understood from a kind of data transmission method and mobile terminal disclosed by the embodiments 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 by the embodiments of the present invention, below first to this hair
The applicable network architecture of bright embodiment is described.Referring to Fig. 1, Fig. 1 is a kind of network architecture disclosed by the embodiments of the present invention
Structural schematic diagram.As shown in Figure 1, the network architecture schematic diagram may include service equipment and terminal, wherein service equipment can
To include server, service host, service system and service platform etc., and terminal can include but is not limited to mobile phone,
Removable computer, tablet computer, personal digital assistant (Personal Digital Assistant, PDA), media player, intelligence
The user equipmenies such as energy TV, smartwatch, intelligent glasses, Intelligent bracelet.Wherein, service equipment can pass through internet and client
End is communicatively coupled.
Based on network architecture shown in FIG. 1, the embodiment of the invention discloses a kind of data transmission method.Referring to Fig. 2,
Fig. 2 is the embodiment of the invention provides a kind of flow diagram of data transmission method, as shown in Fig. 2, notebook data transmission method
The following steps are included:
S201, terminal receive the test data that the server for establishing communication connection with terminal generates.
Wherein, the test data can be the picture etc. of the fixed size for test.
When having received the test data, Xiang Suoshu server sends feedback information, the feedback information for S202, terminal
For indicating that the terminal has received the test data.
S203, terminal obtain the first Backup Data that the server is sent, wherein first Backup Data is described
The generation time of receiving time and the test data of the server based on the feedback information detects the network of the terminal
It is sent when speed is more than or equal to default network speed threshold value.
Wherein, the time that server receives the feedback information is considered as having received the test data for the terminal
Time, the generation time of receiving time and the test data of the server based on the feedback information can calculate
The terminal downloads complete the download time of the test data, since the test data is the fixation that the server is sent
The data of size, therefore, the server can receiving time and the test data based on the feedback information generation
Time detects the network speed of the terminal.When the network speed for detecting the terminal is greater than or equal to default network speed
When threshold value, illustrate that the network state of the terminal reaches certain requirement, therefore the first Backup Data can be sent.
It can be seen that data transmission method provided in an embodiment of the present invention, terminal, which is received, establishes communication connection with terminal
The test data that server generates, when having received the test data, Xiang Suoshu server sends feedback information, the feedback
Information obtains the first Backup Data that the server is sent for indicating that the terminal has received the test data, wherein
When first Backup Data is the generation of receiving time and the test data of the server based on the feedback information
Between detect that the network speed of the terminal is greater than or equal to and sent when default network speed threshold value.As it can be seen that by implementing this
Just available server transmission when inventive embodiments make the network speed of terminal be greater than or equal to default network speed threshold value
The first Backup Data, and then be conducive to promoted data transmission triggering validity.
Optionally, before the terminal receives the test data that the server for establishing communication connection with terminal generates, may be used also
To execute following operation:
The first Backup Data acquisition request is sent to the server, wherein the first Backup Data acquisition request is used
In to the first Backup Data described in the server request.
Optionally, the terminal is when having received the test data, after Xiang Suoshu server sends feedback information, also
Operation can be executed:
The updated test data that the server is sent is received, and is receiving the updated test data
When, Xiang Suoshu server sends updated feedback information, and the updated feedback information is for indicating that the terminal receives
The complete updated test data, wherein the updated test data is that the server is based on current feedback information
Receiving time and current test data the generation time detect the terminal network speed be less than pre-set velocity threshold value when
It sends, the current feedback information is the previous feedback information of the updated feedback information, the current test number
According to the previous test data for being the updated test data;
The updated test data for receiving the server and sending is repeated, and after having received the update
Test data when, the step of Xiang Suoshu server sends updated feedback information, sent until getting the server
The first Backup Data until.
Optionally, the terminal is when having received the test data, after Xiang Suoshu server sends feedback information, also
Following operation can be executed:
The confirmation message that the server is sent is received, the confirmation message is that the server is based on the feedback information
Receiving time and the test data the generation time detect the terminal network speed be greater than or equal to pre-set velocity
It is sent when threshold value;
It determines the second Backup Data of the terminal, and sends second Backup Data to the server.
Optionally, it before the test data that the server that the reception establishes communication connection with terminal generates, can also hold
The following operation of row:
Obtain the current network state of the terminal, wherein the network state includes the residual stream magnitude of the terminal
And/or the wi-fi connection status of the terminal;
When detecting that the network state of the terminal meets data transmission conditions, executes the reception and established with terminal and led to
The step of test data that the server of letter connection generates.
It is consistent with above-mentioned embodiment shown in Fig. 2, referring to Fig. 3, Fig. 3 is another number provided in an embodiment of the present invention
According to the flow diagram of transmission method.As shown in figure 3, notebook data transmission method the following steps are included:
S301, the current network state of terminal is obtained, wherein the network state includes the residual stream magnitude of the terminal
And/or the wi-fi connection status of the terminal.
S302, detecting that the network state of the terminal meets data transmission conditions and send the to the server
After one Backup Data acquisition request, the test data that the server for establishing communication connection with terminal generates is received.
The residual stream magnitude that wherein above-mentioned data transmission conditions can be the terminal is greater than or equal to preset flow threshold value,
And/or the wi-fi connection status of the terminal is wi-fi connection.
S303, when having received the test data, Xiang Suoshu server sends feedback information, and the feedback information is used for
Indicate that the terminal has received the test data.
S304, the first Backup Data that the server is sent is obtained, wherein first Backup Data is the service
The generation time of receiving time and the test data of the device based on the feedback information detects the network speed of the terminal
It is sent when more than or equal to default network speed threshold value.
S305, the updated test data that the server is sent is received, and is receiving the updated test
When data, Xiang Suoshu server sends updated feedback information, and the updated feedback information is for indicating the terminal
The updated test data is received, wherein the updated test data is that the server is based on current feedback
The generation time of the receiving time of information and current test data detects that the network speed of the terminal is less than pre-set velocity threshold
It is sent when value, the current feedback information is the previous feedback information of the updated feedback information, the current survey
Examination data are the previous test datas of the updated test data;
S306, the updated test data for receiving the server and sending is repeated, and described having received
When updated test data, the step of Xiang Suoshu server sends updated feedback information, until get the service
Until the first Backup Data that device is sent.
It can be seen that data transmission method provided in an embodiment of the present invention, terminal, which is received, establishes communication connection with terminal
The test data that server generates, when having received the test data, Xiang Suoshu server sends feedback information, the feedback
Information obtains the first Backup Data that the server is sent for indicating that the terminal has received the test data, wherein
When first Backup Data is the generation of receiving time and the test data of the server based on the feedback information
Between detect that the network speed of the terminal is greater than or equal to and sent when default network speed threshold value.As it can be seen that by implementing this
Just available server transmission when inventive embodiments make the network speed of terminal be greater than or equal to default network speed threshold value
The first Backup Data, and then be conducive to promoted data transmission triggering validity.
It is consistent with above-mentioned embodiment shown in Fig. 2, referring to Fig. 4, Fig. 4 is another number provided in an embodiment of the present invention
According to the flow diagram of transmission method.As shown, notebook data transmission method the following steps are included:
S401, the current network state of terminal is obtained, wherein the network state includes the residual stream magnitude of the terminal
And/or the wi-fi connection status of the terminal.
S402, when detecting that the network state of the terminal meets data transmission conditions, receive with terminal establish communicate
The test data that the server of connection generates.
S403, when having received the test data, Xiang Suoshu server sends feedback information, and the feedback information is used for
Indicate that the terminal has received the test data.
S404, the confirmation message that the server is sent is received, the confirmation message is the server based on described anti-
It is pre- that the generation time of the receiving time of feedforward information and the test data detects that the network speed of the terminal is greater than or equal to
If being sent when threshold speed.
S405, the second Backup Data for determining the terminal, and second Backup Data is sent to the server.
It can be seen that data transmission method provided in an embodiment of the present invention, terminal, which is received, establishes communication connection with terminal
The test data that server generates, when having received the test data, Xiang Suoshu server sends feedback information, the feedback
Information obtains the first Backup Data that the server is sent for indicating that the terminal has received the test data, wherein
When first Backup Data is the generation of receiving time and the test data of the server based on the feedback information
Between detect that the network speed of the terminal is greater than or equal to and sent when default network speed threshold value.As it can be seen that by implementing this
Just available server transmission when inventive embodiments make the network speed of terminal be greater than or equal to default network speed threshold value
The first Backup Data, and then be conducive to promoted data transmission triggering validity.
The following is an embodiment of the apparatus of the present invention, and apparatus of the present invention embodiment is realized for executing embodiment of the present invention method
Method.As shown in figure 5, the mobile terminal may include instruction receiving unit 501, transmission unit 502, acquiring unit 503,
In:
The receiving unit 501, the test data generated for receiving the server for establishing communication connection with terminal;
The transmission unit 502 is used for when having received the test data, and Xiang Suoshu server sends feedback information,
The feedback information is for indicating that the terminal has received the test data;
The acquiring unit 503, the first Backup Data sent for obtaining the server, wherein described first is standby
Part data are the generation time of receiving time and the test data of the server based on the feedback information to detect institute
It is sent when stating the network speed of terminal more than or equal to default network speed threshold value.
Optionally, the transmission unit 502 receives the service that communication connection is established with terminal in the receiving unit 501
Before the test data that device generates, it is also used to send the first Backup Data acquisition request to the server, wherein described first
Backup Data acquisition request is used for the first Backup Data described in the server request.
Optionally, the mobile terminal further include:
Test cell 504, for the transmission unit 502 when having received the test data, Xiang Suoshu server hair
After sending feedback information, the updated test data sent for receiving the server, and after having received the update
Test data when, Xiang Suoshu server sends updated feedback information, and the updated feedback information is for indicating institute
It states terminal and has received the updated test data, wherein the updated test data is that the server is based on working as
It is default that the generation time of the receiving time of preceding feedback information and current test data detects that the network speed of the terminal is less than
It is sent when threshold speed, the current feedback information is the previous feedback information of the updated feedback information, described
Current test data is the previous test data of the updated test data;
Loop control unit 505 repeats what the reception server was sent for controlling the test cell
Updated test data, and when having received the updated test data, Xiang Suoshu server sends updated anti-
The operation of feedforward information, until the acquiring unit 503 gets the first Backup Data that the server is sent.
Optionally, the receiving unit 501 is used in the transmission unit 502 when having received the test data, to
After the server sends feedback information, it is also used to receive the confirmation message that the server is sent, the confirmation message is
The generation time of receiving time and the test data of the server based on the feedback information detects the terminal
It is sent when network speed is more than or equal to pre-set velocity threshold value;
The transmission unit 502 is also used to determine the second Backup Data of the terminal, and sends institute to the server
State the second Backup Data.
Optionally, the mobile terminal further include:
Trigger unit 506 receives the test that the server for establishing communication connection with terminal generates in the receiving unit 501
Before data, for obtaining the current network state of the terminal, wherein the network state includes the residual stream of the terminal
The wi-fi connection status of magnitude and/or the terminal;Meet data transmission conditions in the network state for detecting the terminal
When, it triggers the receiving unit 501 and executes the reception and the test data of the server generation of terminal foundation communication connection
Operation.
It should be noted that mobile terminal described in apparatus of the present invention embodiment is presented in the form of functional unit.
Term " unit " used herein above should be understood as meaning as widest as possible, for realizing function described by each " unit "
Object for example can be integrated circuit ASIC, single circuit, for executing the processing of one or more softwares or firmware program
Device (shared, dedicated or chipset) and memory, combinational logic circuit, and/or other conjunctions for realizing above-mentioned function are provided
Suitable component.
For example, for above-mentioned transmission unit 502 when having received the test data, Xiang Suoshu server sends feedback letter
Function can mobile terminal as shown in Figure 5 realize, specifically can be by processor 101 by calling in memory 102
Executable program code, when having received the test data, Xiang Suoshu server send feedback information.
It can be seen that data transmission method provided in an embodiment of the present invention, terminal, which is received, establishes communication connection with terminal
The test data that server generates, when having received the test data, Xiang Suoshu server sends feedback information, the feedback
Information obtains the first Backup Data that the server is sent for indicating that the terminal has received the test data, wherein
When first Backup Data is the generation of receiving time and the test data of the server based on the feedback information
Between detect that the network speed of the terminal is greater than or equal to and sent when default network speed threshold value.As it can be seen that by implementing this
Just available server transmission when inventive embodiments make the network speed of terminal be greater than or equal to default network speed threshold value
The first Backup Data, and then be conducive to promoted data transmission triggering validity.
The embodiment of the invention also provides another mobile terminals, as shown in Figure 6, comprising: processor 101, memory
102, communication interface 103 and communication bus 104;Wherein, processor 101, memory 102 and communication interface 103 are total by communication
Line 104 connects and completes mutual communication;The channel radio that processor 101 passes through communication interface 103 control and External cell net
Letter;Communication interface 103 includes but is not limited to antenna, amplifier, transceiver, coupler, LNA (Low Noise
Amplifier, low-noise amplifier), duplexer etc..Memory 102 comprises at least one of the following: random access memory, non-
Volatile memory and external memory are stored with executable program code in memory 102, the executable program code energy
Enough bootstrap processors 101 execute the data transmission method specifically disclosed in embodiment of the present invention method, comprising the following steps:
The processor 101 receives the test data that the server for establishing communication connection with terminal generates;
For the processor 101 when having received the test data, Xiang Suoshu server sends feedback information, the feedback
Information is for indicating that the terminal has received the test data;
The processor 101 obtains the first Backup Data that the server is sent, wherein first Backup Data is
The generation time of receiving time and the test data of the server based on the feedback information detects the terminal
It is sent when network speed is more than or equal to default network speed threshold value.
Optionally, before the processor 101 receives the test data that the server for establishing communication connection with terminal generates,
Following operation can also be performed:
The first Backup Data acquisition request is sent to the server, wherein the first Backup Data acquisition request is used
In to the first Backup Data described in the server request.
Optionally, the processor 101 has been when having received the test data, Xiang Suoshu server send feedback information it
Afterwards, following operation can also be performed:
The updated test data that the server is sent is received, and is receiving the updated test data
When, Xiang Suoshu server sends updated feedback information, and the updated feedback information is for indicating that the terminal receives
The complete updated test data, wherein the updated test data is that the server is based on current feedback information
Receiving time and current test data the generation time detect the terminal network speed be less than pre-set velocity threshold value when
It sends, the current feedback information is the previous feedback information of the updated feedback information, the current test number
According to the previous test data for being the updated test data;
The updated test data for receiving the server and sending is repeated, and after having received the update
Test data when, the step of Xiang Suoshu server sends updated feedback information, sent until getting the server
The first Backup Data until.
Optionally, the processor 101 has been when having received the test data, Xiang Suoshu server send feedback information it
Afterwards, following operation can also be performed:
The confirmation message that the server is sent is received, the confirmation message is that the server is based on the feedback information
Receiving time and the test data the generation time detect the terminal network speed be greater than or equal to pre-set velocity
It is sent when threshold value;
It determines the second Backup Data of the terminal, and sends second Backup Data to the server.
Optionally, before the processor 101 receives the test data that the server for establishing communication connection with terminal generates,
Following operation can also be performed:
Obtain the current network state of the terminal, wherein the network state includes the residual stream magnitude of the terminal
And/or the wi-fi connection status of the terminal;
When detecting that the network state of the terminal meets data transmission conditions, executes the reception and established with terminal and led to
The operation for the test data that the server of letter connection generates.
It can be seen that data transmission method provided in an embodiment of the present invention, terminal, which is received, establishes communication connection with terminal
The test data that server generates, when having received the test data, Xiang Suoshu server sends feedback information, the feedback
Information obtains the first Backup Data that the server is sent for indicating that the terminal has received the test data, wherein
When first Backup Data is the generation of receiving time and the test data of the server based on the feedback information
Between detect that the network speed of the terminal is greater than or equal to and sent when default network speed threshold value.As it can be seen that by implementing this
Just available server transmission when inventive embodiments make the network speed of terminal be greater than or equal to default network speed threshold value
The first Backup Data, and then be conducive to promoted data transmission triggering validity.
The embodiment of the invention also provides another mobile terminals, as shown in fig. 7, 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. 7 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. 7 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. 7 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. 7 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 (test data obtains function, feedback information sending function etc.) etc.;Storage data area can be stored is created according to using for mobile phone
The data etc. built.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.Optionally, fingerprint recognition mould group 931 can
Including optical fingerprint module, capacitance type fingerprint module and RF type fingerprint module.It is condenser type with fingerprint recognition mould group 931
For fingerprint recognition mould group, 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.In addition to fingerprint recognition mould
Group 931, input unit 930 can also include other input equipments 932.Specifically, other input equipments 932 may include but not
It is limited to one of 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
Existing mobile phone outputs and inputs 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 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 output;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 output processor 980, such as another mobile phone is sent to through RF circuit 910,
Or audio data is exported 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. 7 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, Fig. 3 and embodiment shown in Fig. 4, each step method process can be based on the structure reality of the mobile phone
It is existing.
In aforementioned embodiment shown in fig. 5, 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 method recorded in above method embodiment step when executing
Suddenly.
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 (6)
1. a kind of data transmission method characterized by comprising
Receive the test data that the server for establishing communication connection with terminal generates;
When having received the test data, Xiang Suoshu server sends feedback information, and the feedback information is for indicating described
Terminal has received the test data;
Obtain the first Backup Data that the server is sent, wherein first Backup Data is that the server is based on institute
The generation time of the receiving time and the test data of stating feedback information detects that the network speed of the terminal is greater than or waits
It is sent when default network speed threshold value;
Wherein, the time of the feedback information is the time that the terminal has received the test data, and the server is based on
The generation time of the receiving time of the feedback information and the test data calculates the terminal downloads and completes the test
The download time of data, the test data are the data of the fixed size for test, and the server is based on test data
The network speed of terminal is detected with the download time of the test data;
It is described when having received the test data, Xiang Suoshu server send feedback information after, the method also includes:
The updated test data that the server is sent is received, and when having received the updated test data, to
The server sends updated feedback information, and the updated feedback information is for indicating that it is described that the terminal has received
Updated test data, wherein the updated test data is reception of the server based on current feedback information
Time and the generation time of current test data detect hair when the network speed of the terminal is less than the pre-set velocity threshold value
It send, the current feedback information is the previous feedback information of the updated feedback information, the current test data
It is the previous test data of the updated test data;
The updated test data for receiving the server and sending is repeated, and is receiving the updated survey
When trying data, the step of Xiang Suoshu server sends updated feedback information, until get that the server sends the
Until one Backup Data;
The confirmation message that the server is sent is received, the confirmation message is the server connecing based on the feedback information
Between time receiving and the generation time of the test data detects that the network speed of the terminal is greater than or equal to pre-set velocity threshold value
When send;
It determines the second Backup Data of the terminal, and sends second Backup Data to the server.
2. the method as described in claim 1, which is characterized in that the server that the reception establishes communication connection with terminal generates
Test data before, the method also includes:
To the server send the first Backup Data acquisition request, wherein the first Backup Data acquisition request be used for
First Backup Data described in the server request.
3. such as the described in any item methods of claim 1 to 2, which is characterized in that the reception establishes communication connection with terminal
Before the test data that server generates, the method also includes:
Obtain the current network state of the terminal, wherein the network state include the terminal residual stream magnitude and/or
The wi-fi connection status of the terminal;
When detecting that the network state of the terminal meets data transmission conditions, the reception is executed with terminal and establishes communication link
The step of test data that the server connect generates.
4. a kind of mobile terminal characterized by comprising
Receiving unit, the test data generated for receiving the server for establishing communication connection with terminal;
Transmission unit, for when having received the test data, Xiang Suoshu server to send feedback information, the feedback information
For indicating that the terminal has received the test data;
Acquiring unit, the first Backup Data sent for obtaining the server, wherein first Backup Data is described
The generation time of receiving time and the test data of the server based on the feedback information detects the network of the terminal
It is sent when speed is more than or equal to default network speed threshold value;
Wherein, the time of the feedback information is the time that the terminal has received the test data, and the server is based on
The generation time of the receiving time of the feedback information and the test data calculates the terminal downloads and completes the test
The download time of data, the test data are the data of the fixed size for test, and the server is based on test data
The network speed of terminal is detected with the download time of the test data;
Test cell, for the transmission unit when having received the test data, Xiang Suoshu server sends feedback information
Later, the updated test data sent for receiving the server, and receiving the updated test data
When, Xiang Suoshu server sends updated feedback information, and the updated feedback information is for indicating that the terminal receives
The complete updated test data, wherein the updated test data is that the server is based on current feedback information
Receiving time and current test data the generation time detect the terminal network speed be less than pre-set velocity threshold value when
It sends, the current feedback information is the previous feedback information of the updated feedback information, the current test number
According to the previous test data for being the updated test data;
Loop control unit repeats the updated of the reception server transmission for controlling the test cell
Test data, and when having received the updated test data, Xiang Suoshu server sends updated feedback information
Operation, until the first Backup Data that the acquiring unit gets the server transmission is;
The receiving unit is used in the transmission unit when having received the test data, and Xiang Suoshu server sends anti-
After feedforward information, it is also used to receive the confirmation message that the server is sent, the confirmation message is that the server is based on institute
The generation time of the receiving time and the test data of stating feedback information detects that the network speed of the terminal is greater than or waits
It is sent when pre-set velocity threshold value;
The transmission unit is also used to determine the second Backup Data of the terminal, and sends described second to the server
Backup Data.
5. mobile terminal as claimed in claim 4, which is characterized in that
The transmission unit, the receiving unit receive with terminal establish communication connection server generate test data it
Before, it is also used to send the first Backup Data acquisition request to the server, wherein the first Backup Data acquisition request is used
In to the first Backup Data described in the server request.
6. such as the described in any item mobile terminals of claim 4 to 5, which is characterized in that the mobile terminal further include:
Trigger unit, before the test data that the receiving unit receives that the server for establishing communication connection with terminal generates,
For obtaining the current network state of the terminal, wherein the network state include the terminal residual stream magnitude and/or
The wi-fi connection status of the terminal;When detecting that the network state of the terminal meets data transmission conditions, described in triggering
Receiving unit executes the operation for the test data that the server that the reception establishes communication connection with terminal generates.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610957444.3A CN106534288B (en) | 2016-11-02 | 2016-11-02 | A kind of data transmission method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610957444.3A CN106534288B (en) | 2016-11-02 | 2016-11-02 | A kind of data transmission method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106534288A CN106534288A (en) | 2017-03-22 |
CN106534288B true CN106534288B (en) | 2019-08-20 |
Family
ID=58325828
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610957444.3A Expired - Fee Related CN106534288B (en) | 2016-11-02 | 2016-11-02 | A kind of data transmission method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106534288B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109408280A (en) * | 2017-08-17 | 2019-03-01 | 北京金山云网络技术有限公司 | Data back up method, apparatus and system |
CN107979876B (en) * | 2017-11-16 | 2022-01-07 | 广州市百果园网络科技有限公司 | Data transmission method and terminal |
CN111294256B (en) * | 2020-02-21 | 2022-05-20 | 宁波海大物联科技有限公司 | On-line detection method for performance of communication module |
CN115080073A (en) * | 2022-07-21 | 2022-09-20 | 中国长江三峡集团有限公司 | Intelligent power inspection equipment application management method and system |
CN115333685B (en) * | 2022-10-10 | 2023-02-28 | 永鼎行远(南京)信息科技有限公司 | Intelligent information allocation system based on big data |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101090486B (en) * | 2007-06-25 | 2012-12-19 | 中国联合网络通信集团有限公司 | Monitoring device for multimedium monitoring information and its monitoring method |
US8126496B2 (en) * | 2008-05-07 | 2012-02-28 | At&T Mobility Ii Llc | Signaling-triggered power adjustment in a femto cell |
CN111246302B (en) * | 2014-01-02 | 2021-12-24 | 腾讯科技(深圳)有限公司 | Method, device and terminal for downloading data by browser |
CN104410665B (en) * | 2014-10-28 | 2016-02-17 | 腾讯科技(深圳)有限公司 | A kind of method for down loading and equipment upgrading bag |
CN105045636A (en) * | 2015-08-11 | 2015-11-11 | 广东欧珀移动通信有限公司 | Method and apparatus for updating software |
CN105511985A (en) * | 2015-12-01 | 2016-04-20 | 魅族科技(中国)有限公司 | Data backup method and terminal |
CN105490886A (en) * | 2015-12-31 | 2016-04-13 | 北京金山安全软件有限公司 | Method and device for testing network speed and electronic equipment |
CN105577836B (en) * | 2016-02-17 | 2019-04-30 | 中山大学 | A kind of data processing method and wearable device of wearable device |
-
2016
- 2016-11-02 CN CN201610957444.3A patent/CN106534288B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN106534288A (en) | 2017-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106055962B (en) | A kind of solution lock control method and mobile terminal | |
CN106534288B (en) | A kind of data transmission method and mobile terminal | |
CN106681860B (en) | A kind of data back up method and data backup device | |
CN106549451B (en) | A kind of wireless charging method and device | |
CN104093123B (en) | The information-pushing method of application program, device and system, mobile terminal | |
CN106502826B (en) | Data backup and transmission method and mobile terminal | |
CN107146616A (en) | Apparatus control method and Related product | |
AU2018273505B2 (en) | Method for capturing fingerprint and associated products | |
CN106446841B (en) | A kind of fingerprint template matching order update method and terminal | |
CN106507482B (en) | A kind of network locating method and terminal device | |
CN106484326B (en) | A kind of data transmission processing method and mobile terminal | |
CN106446111B (en) | Data migration method and terminal | |
CN106413070B (en) | A kind of power regulating method, mobile terminal and computer readable storage medium | |
CN106502824B (en) | Data back up method and Cloud Server | |
CN106469028B (en) | A kind of data migration method and mobile terminal | |
CN106454805A (en) | Data migration method and mobile terminal | |
CN110430592A (en) | Network control method and Related product | |
CN107800585A (en) | The method and apparatus of network service, the method and apparatus of PUSH message | |
CN109922539A (en) | Method for connecting network and Related product | |
CN106569916A (en) | Data backup method and mobile terminal | |
CN106453909B (en) | A kind of power regulating method and mobile terminal | |
CN106022066B (en) | A kind of unlocking method and terminal of terminal | |
CN106713648B (en) | A kind of communication means and mobile terminal | |
CN109688611A (en) | A kind of configuration method, device, terminal and the storage medium of frequency range parameter | |
WO2018214745A1 (en) | Application control method and related product |
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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190820 |