CN106534288A - Data transmission method and mobile terminal - Google Patents

Data transmission method and mobile terminal Download PDF

Info

Publication number
CN106534288A
CN106534288A CN201610957444.3A CN201610957444A CN106534288A CN 106534288 A CN106534288 A CN 106534288A CN 201610957444 A CN201610957444 A CN 201610957444A CN 106534288 A CN106534288 A CN 106534288A
Authority
CN
China
Prior art keywords
server
terminal
test data
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.)
Granted
Application number
CN201610957444.3A
Other languages
Chinese (zh)
Other versions
CN106534288B (en
Inventor
周德海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610957444.3A priority Critical patent/CN106534288B/en
Publication of CN106534288A publication Critical patent/CN106534288A/en
Application granted granted Critical
Publication of CN106534288B publication Critical patent/CN106534288B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Embodiments of the invention disclose a data transmission method and a mobile terminal. The method comprises steps of receiving test data generated by a server which establishes communication connection with a terminal; when the test data is received, sending feedback information to the server, wherein the feedback information is used for indicating that the terminal has received the test data; and obtaining first backup data sent by the server, wherein the first backup data is sent when the server detects that the network speed of the terminal is faster than or equal to the preset network speed threshold based on the reception time of the feedback information and the generation time of the test data. The embodiment of the invention also discloses the corresponding mobile terminal. The embodiments of the invention are beneficial for improving the trigger effectiveness of data transmission between the terminal and the server.

Description

A kind of data transmission method and mobile terminal
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, do not receive space and equipment limit, without data wire, avoid and backup to present on storage card The risk of loss of data, it is also possible to realize that the data of server, notebook computer, individual between PC and mobile terminal are same Step.
But in prior art, terminal is when carrying out data transmission with Cloud Server, it is only necessary to which by user, actively triggering is held Row data transfer, does not take into full account the network environment of terminal, it is thus possible to cause data transfer invalid.
The content of the invention
A kind of data transmission method and mobile terminal are embodiments provided, is conducive to lifting terminal to enter with server The effectiveness of row data transfer triggering.
In a first aspect, the embodiment of the present invention provides a kind of data transmission method, including:
Receive the test data that the server for communication connection being set up with terminal is generated;
When the test data has been received, to the server send feedback information, the feedback information is used to represent The terminal has received the test data;
The first Backup Data that the server sends is obtained, wherein, first Backup Data is the server base It is more than to the network speed of the terminal in the reception time of the feedback information and the generation time detecting of the test data Or send during equal to default network speed threshold value.
Second aspect, the embodiment of the present invention provide a kind of mobile terminal, including:
Receiving unit, for receiving the test data that the server for setting up communication connection with terminal is generated;
Transmitting element, for when the test data has been received, to the server send feedback information, the feedback Information is used to represent that the terminal has received the test data;
Acquiring unit, for obtaining the first Backup Data that the server sends, wherein, first Backup Data is The generation time detecting of reception time and the test data of the server based on the feedback information is to the terminal Send 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, 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 received sets up communication connection with terminal The test data that server is generated, when the test data has been received, to the server send feedback information, the feedback Information has received the test data for representing the terminal, obtains the first Backup Data that the server sends, wherein, When first Backup Data is the generation of reception time and the test data of the server based on the feedback information Between send when detecting the network speed of the terminal more than or equal to default network speed threshold value.It can be seen that, by implementing this Inventive embodiments can just obtain server transmission when causing the network speed of terminal more than or equal to default network speed threshold value The first Backup Data, and then be conducive to lifted data transfer triggering effectiveness.
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 the schematic flow sheet of another kind of data transmission method disclosed in the embodiment of the present invention
Fig. 5 is a kind of unit composition frame chart of mobile terminal disclosed in the embodiment of the present invention;
Fig. 6 is a kind of structural representation of mobile terminal disclosed in the embodiment of the present invention;
Fig. 7 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 receive the test data that the server for setting up communication connection with terminal is generated.
Wherein, the test data could be for picture of fixed size tested etc..
S202, terminal when the test data has been received, to the server send feedback information, the feedback information For representing that the terminal has received the test data.
S203, terminal obtain the first Backup Data that the server sends, wherein, first Backup Data is described Network of the generation time detecting of reception time and the test data of the server based on the feedback information to the terminal Send when speed is more than or equal to default network speed threshold value.
Wherein, server receives time of the feedback information and is considered as having received the test data for the terminal Time, the generation time of reception 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, as the test data is the fixation that the server sends The data of size, therefore, the server can be based on the generation for receiving time and the test data of the feedback information Network speed of the time detecting to the terminal.When the network speed for detecting the terminal is more than or equal to default network speed During threshold value, illustrate that the network state of the terminal reaches certain requirement, therefore the first Backup Data can be sent.
As can be seen that data transmission method provided in an embodiment of the present invention, terminal is received sets up communication connection with terminal The test data that server is generated, when the test data has been received, to the server send feedback information, the feedback Information has received the test data for representing the terminal, obtains the first Backup Data that the server sends, wherein, When first Backup Data is the generation of reception time and the test data of the server based on the feedback information Between send when detecting the network speed of the terminal more than or equal to default network speed threshold value.It can be seen that, by implementing this Inventive embodiments can just obtain server transmission when causing the network speed of terminal more than or equal to default network speed threshold value The first Backup Data, and then be conducive to lifted data transfer triggering effectiveness.
Optionally, before the terminal receives the test data that the server for setting up communication connection with terminal is generated, may be used also To perform following operation:
The first Backup Data is sent to the server and obtains request, wherein, first Backup Data obtains request and uses In to server request acquisition first Backup Data.
Optionally, the terminal, is gone back when the test data has been received to after the server send feedback information Operation can be performed:
Receive the test data after the renewal that the server sends, and the test data after the renewal has been received When, the feedback information after updating is sent to the server, the feedback information after the renewal is used to represent that the terminal is received Test data after the complete renewal, wherein, the test data after the renewal is that the server is based on current feedback information The generations time detecting for receiving time and current test data to the terminal network speed less than pre-set velocity threshold value when Send, the current feedback information is the previous feedback information of the feedback information after the renewal, the current test number According to the previous test data for being test data after the renewal;
The test data after the renewal for receiving the server transmission is repeated, and after the renewal has been received Test data when, the step of send the feedback information after updating to the server, until get the server sending The first Backup Data till.
Optionally, the terminal, is gone back when the test data has been received to after the server send feedback information Following operation can be performed:
The confirmation message that the server sends is received, the confirmation message is that the server is based on the feedback information The generations time detecting for receiving time and the test data to the terminal network speed more than or equal to pre-set velocity Send during threshold value;
Determine the second Backup Data of the terminal, and second Backup Data is sent to the server.
Optionally, before the test data that the server that the reception sets up communication connection with terminal is generated, can also hold Row is following to be operated:
The current network state of the terminal is obtained, wherein, the network state includes the residual stream value of the terminal And/or the wi-fi connection status of the terminal;
When the network state for detecting the terminal meets data transmission conditions, perform the reception and set up logical with terminal The step of test data that the server of letter connection is generated.
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 shown in figure 3, notebook data transmission method is comprised the following steps:
The current network state of S301, acquisition terminal, wherein, the network state includes the residual stream value of the terminal And/or the wi-fi connection status of the terminal.
S302, data transmission conditions are met in the network state for detecting the terminal and send the to the server After one Backup Data obtains request, receive the test data that the server for communication connection being set up with terminal is generated.
Wherein above-mentioned data transmission conditions can be that the residual stream value of the terminal is more than or equal to preset flow threshold value, And/or, the wi-fi connection status of the terminal connects for wi-fi.
S303, when the test data has been received, to the server send feedback information, the feedback information is used for Represent that the terminal has received the test data.
S304, the first Backup Data for obtaining the server transmission, wherein, first Backup Data is the service Network speed of the generation time detecting of reception time and the test data of the device based on the feedback information to the terminal Send during more than or equal to default network speed threshold value.
Test data after the renewal that S305, the reception server send, and the test after the renewal has been received During data, the feedback information after updating is sent to the server, the feedback information after the renewal is used to represent the terminal The test data after the renewal has been received, wherein, the test data after the renewal is that the server is based on current feedback The reception time of information and the generation time detecting of current test data are less than pre-set velocity threshold to the network speed of the terminal Send during value, the current feedback information is the previous feedback information of the feedback information after the renewal, the current survey Examination data are the previous test datas of the test data after the renewal;
S306, the test data received after the renewal that the server sends is repeated, and described in has received During test data after renewal, the step of send the feedback information after updating to the server, until getting the service Till the first Backup Data that device sends.
As can be seen that data transmission method provided in an embodiment of the present invention, terminal is received sets up communication connection with terminal The test data that server is generated, when the test data has been received, to the server send feedback information, the feedback Information has received the test data for representing the terminal, obtains the first Backup Data that the server sends, wherein, When first Backup Data is the generation of reception time and the test data of the server based on the feedback information Between send when detecting the network speed of the terminal more than or equal to default network speed threshold value.It can be seen that, by implementing this Inventive embodiments can just obtain server transmission when causing the network speed of terminal more than or equal to default network speed threshold value The first Backup Data, and then be conducive to lifted data transfer triggering effectiveness.
It is consistent with the embodiment shown in above-mentioned Fig. 2, Fig. 4 is referred to, Fig. 4 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:
The current network state of S401, acquisition terminal, wherein, the network state includes the residual stream value of the terminal And/or the wi-fi connection status of the terminal.
S402, when the network state for detecting the terminal meets data transmission conditions, receive with terminal foundation communicate The test data that the server of connection is generated.
S403, when the test data has been received, to the server send feedback information, the feedback information is used for Represent that the terminal has received the test data.
S404, the confirmation message for receiving the server transmission, the confirmation message is the server based on described anti- The reception time of feedforward information and the generation time detecting of the test data are more than or equal to pre- to the network speed of the terminal If sending during threshold speed.
S405, the second Backup Data for determining the terminal, and second Backup Data is sent to the server.
As can be seen that data transmission method provided in an embodiment of the present invention, terminal is received sets up communication connection with terminal The test data that server is generated, when the test data has been received, to the server send feedback information, the feedback Information has received the test data for representing the terminal, obtains the first Backup Data that the server sends, wherein, When first Backup Data is the generation of reception time and the test data of the server based on the feedback information Between send when detecting the network speed of the terminal more than or equal to default network speed threshold value.It can be seen that, by implementing this Inventive embodiments can just obtain server transmission when causing the network speed of terminal more than or equal to default network speed threshold value The first Backup Data, and then be conducive to lifted data transfer triggering effectiveness.
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 5, the mobile terminal can include instruction reception unit 501, transmitting element 502, acquiring unit 503, its In:
The receiving unit 501, for receiving the test data that the server for setting up communication connection with terminal is generated;
The transmitting element 502, for when the test data has been received, to the server send feedback information, The feedback information is used to represent that the terminal has received the test data;
The acquiring unit 503, for obtaining the first Backup Data that the server sends, wherein, described first is standby Number evidence is the generation time detecting of reception time and the test data of the server based on the feedback information to institute Send when stating the network speed of terminal more than or equal to default network speed threshold value.
Optionally, the transmitting element 502, receives the service that communication connection is set up with terminal in the receiving unit 501 Before the test data that device is generated, it is additionally operable to send the acquisition request of the first Backup Data to the server, wherein, described first Backup Data obtains request for obtaining first Backup Data to the server request.
Optionally, the mobile terminal also includes:
Test cell 504, for the transmitting element 502 when the test data has been received, sends out to the server After sending feedback information, for receiving the test data after the renewal that the server sends, and after the renewal has been received Test data when, to the server send update after feedback information, the feedback information after the renewal be used for represent institute The test data after terminal has received the renewal is stated, wherein, the test data after the renewal is the server based on working as The reception time of front feedback information and the generation time detecting of current test data are less than default to the network speed of the terminal Send during threshold speed, the current feedback information is the previous feedback information of the feedback information after the renewal, described Current test data is the previous test data of the test data after the renewal;
Loop control unit 505, repeats what the reception server sent for controlling the test cell Test data after renewal, and during test data after the renewal has been received, send anti-after updating to the server The operation of feedforward information, till the acquiring unit 503 gets the first Backup Data that the server sends.
Optionally, the receiving unit 501, in the transmitting element 502 for when the test data has been received, to After the server send feedback information, it is additionally operable to receive the confirmation message that the server sends, the confirmation message is The generation time detecting of reception time and the test data of the server based on the feedback information is to the terminal Network speed is more than or equal to what is sent during pre-set velocity threshold value;
The transmitting element 502, is additionally operable to determine the second Backup Data of the terminal, and sends institute to the server State the second Backup Data.
Optionally, the mobile terminal also includes:
Trigger element 506, receives the test of the server generation that communication connection is set up with terminal in the receiving unit 501 Before data, the network state current for obtaining the terminal, wherein, the network state includes the residual stream of the terminal The wi-fi connection status of value and/or the terminal;Data transmission conditions are met in the network state for detecting the terminal When, trigger the receiving unit 501 and perform the test data for receiving and setting up that with terminal the server for communicating to connect is generated Operation.
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 502 sends feedback letter to the server when the test data has been received Function can be as shown in Figure 5 mobile terminal realizing, specifically can be by processor 101 by calling in memorizer 102 Executable program code, when the test data has been received, to the server send feedback information.
As can be seen that data transmission method provided in an embodiment of the present invention, terminal is received sets up communication connection with terminal The test data that server is generated, when the test data has been received, to the server send feedback information, the feedback Information has received the test data for representing the terminal, obtains the first Backup Data that the server sends, wherein, When first Backup Data is the generation of reception time and the test data of the server based on the feedback information Between send when detecting the network speed of the terminal more than or equal to default network speed threshold value.It can be seen that, by implementing this Inventive embodiments can just obtain server transmission when causing the network speed of terminal more than or equal to default network speed threshold value The first Backup Data, and then be conducive to lifted data transfer triggering effectiveness.
The embodiment of the present invention additionally provides another kind of mobile terminal, as shown in fig. 6, 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 data transmission method for disclosing in the inventive method embodiment, comprise the following steps:
The processor 101 receives the test data that the server for setting up communication connection with terminal is generated;
The processor 101 when the test data has been received, to the server send feedback information, the feedback Information is used to represent that the terminal has received the test data;
The processor 101 obtains the first Backup Data that the server sends, wherein, first Backup Data is The generation time detecting of reception time and the test data of the server based on the feedback information is to the terminal Send 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 setting up communication connection with terminal is generated, Can also carry out following operation:
The first Backup Data is sent to the server and obtains request, wherein, first Backup Data obtains request and uses In to server request acquisition first Backup Data.
Optionally, the processor 101 has been when the test data has been received, to the server send feedback information it Afterwards, can also carry out following operation:
Receive the test data after the renewal that the server sends, and the test data after the renewal has been received When, the feedback information after updating is sent to the server, the feedback information after the renewal is used to represent that the terminal is received Test data after the complete renewal, wherein, the test data after the renewal is that the server is based on current feedback information The generations time detecting for receiving time and current test data to the terminal network speed less than pre-set velocity threshold value when Send, the current feedback information is the previous feedback information of the feedback information after the renewal, the current test number According to the previous test data for being test data after the renewal;
The test data after the renewal for receiving the server transmission is repeated, and after the renewal has been received Test data when, the step of send the feedback information after updating to the server, until get the server sending The first Backup Data till.
Optionally, the processor 101 has been when the test data has been received, to the server send feedback information it Afterwards, can also carry out following operation:
The confirmation message that the server sends is received, the confirmation message is that the server is based on the feedback information The generations time detecting for receiving time and the test data to the terminal network speed more than or equal to pre-set velocity Send during threshold value;
Determine the second Backup Data of the terminal, and second Backup Data is sent to the server.
Optionally, before the processor 101 receives the test data that the server for setting up communication connection with terminal is generated, Can also carry out following operation:
The current network state of the terminal is obtained, wherein, the network state includes the residual stream value of the terminal And/or the wi-fi connection status of the terminal;
When the network state for detecting the terminal meets data transmission conditions, perform the reception and set up logical with terminal The operation of the test data that the server of letter connection is generated.
As can be seen that data transmission method provided in an embodiment of the present invention, terminal is received sets up communication connection with terminal The test data that server is generated, when the test data has been received, to the server send feedback information, the feedback Information has received the test data for representing the terminal, obtains the first Backup Data that the server sends, wherein, When first Backup Data is the generation of reception time and the test data of the server based on the feedback information Between send when detecting the network speed of the terminal more than or equal to default network speed threshold value.It can be seen that, by implementing this Inventive embodiments can just obtain server transmission when causing the network speed of terminal more than or equal to default network speed threshold value The first Backup Data, and then be conducive to lifted data transfer triggering effectiveness.
The embodiment of the present invention additionally provides another kind of mobile terminal, as shown in fig. 7, 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. 7 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. 7 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. 7 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. 7:
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 (test data obtains function, feedback information sending function etc.) etc.;Storage data field can be stored to be created according to using for mobile phone Data built etc..Additionally, memorizer 920 can include high-speed random access memory, nonvolatile memory can also be included, 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. 7 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, Fig. 3 and Fig. 4, each step method flow process can be based on the structure reality of the mobile phone It is existing.
In embodiment shown in aforementioned 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-readable storage medium, wherein, the computer-readable storage medium can be stored with journey Sequence, includes the part or all of step of any data transmission 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:
Receive the test data that the server for communication connection being set up with terminal is generated;
When the test data has been received, to the server send feedback information, the feedback information is used to represent described Terminal has received the test data;
The first Backup Data that the server sends is obtained, wherein, first Backup Data is that the server is based on institute State the reception time of feedback information and the generation time detecting of the test data to be more than or wait to the network speed of the terminal Send when default network speed threshold value.
2. the method for claim 1, it is characterised in that the server that the reception sets up communication connection with terminal is generated Test data before, methods described also includes:
The first Backup Data is sent to the server and obtains request, wherein, first Backup Data obtain request for The server request obtains first Backup Data.
3. the method for claim 1, it is characterised in that described when the test data has been received, to the service After device send feedback information, methods described also includes:
Receive the test data after the renewal that the server sends, and during test data after the renewal has been received, to The server sends the feedback information after updating, described in the feedback information after the renewal is used to representing that the terminal to have received Test data after renewal, wherein, the test data after the renewal is reception of the server based on current feedback information The generation time detecting of time and current test data is sent out when being less than the pre-set velocity threshold value to the network speed of the terminal Send, the current feedback information is the previous feedback information of the feedback information after the renewal, the current test data It is the previous test data of the test data after the renewal;
Repeat the test data after the renewal for receiving the server transmission, and the survey after the renewal has been received During examination data, the step of send the feedback information after updating to the server, until get that the server sends the Till one Backup Data.
4. the method for claim 1, it is characterised in that described when the test data has been received, to the service After device send feedback information, methods described also includes:
The confirmation message that the server sends is received, the confirmation message is the server connecing based on the feedback information It is more than or equal to pre-set velocity threshold value to the network speed of the terminal with the generation time detecting of the test data between the time receiving When send;
Determine the second Backup Data of the terminal, and second Backup Data is sent to the server.
5. the method as described in any one of Claims 1-4, it is characterised in that the reception sets up communication connection with terminal Before the test data that server is generated, methods described also includes:
Obtain the current network state of the terminal, wherein, the network state include the residual stream value of the terminal and/or The wi-fi connection status of the terminal;
When the network state for detecting the terminal meets data transmission conditions, perform the reception and communication link is set up with terminal The step of test data that the server for connecing is generated.
6. a kind of mobile terminal, it is characterised in that include:
Receiving unit, for receiving the test data that the server for setting up communication connection with terminal is generated;
Transmitting element, for when the test data has been received, to the server send feedback information, the feedback information For representing that the terminal has received the test data;
Acquiring unit, for obtaining the first Backup Data that the server sends, wherein, first Backup Data is described Network of the generation time detecting of reception time and the test data of the server based on the feedback information to the terminal Send when speed is more than or equal to default network speed threshold value.
7. mobile terminal as claimed in claim 6, it is characterised in that
The transmitting element, the receiving unit receive with terminal set up communication connection server generate test data it Before, it is additionally operable to send the acquisition request of the first Backup Data to the server, wherein, first Backup Data obtains request and uses In to server request acquisition first Backup Data.
8. mobile terminal as claimed in claim 6, it is characterised in that the mobile terminal also includes:
Test cell, for the transmitting element when the test data has been received, to the server send feedback information Afterwards, for receiving the test data after the renewal that the server sends, and the test data after the renewal has been received When, the feedback information after updating is sent to the server, the feedback information after the renewal is used to represent that the terminal is received Test data after the complete renewal, wherein, the test data after the renewal is that the server is based on current feedback information The generations time detecting for receiving time and current test data to the terminal network speed less than pre-set velocity threshold value when Send, the current feedback information is the previous feedback information of the feedback information after the renewal, the current test number According to the previous test data for being test data after the renewal;
Loop control unit, repeats described reception after the renewal that the server sends for controlling the test cell Test data, and during test data after the renewal has been received, the feedback information after updating is sent to the server Operation, till the acquiring unit gets the first Backup Data that the server sends.
9. mobile terminal as claimed in claim 6, it is characterised in that
The receiving unit, it is in the transmitting element for when the test data has been received, anti-to server transmission After feedforward information, it is additionally operable to receive the confirmation message that the server sends, the confirmation message is that the server is based on institute State the reception time of feedback information and the generation time detecting of the test data to be more than or wait to the network speed of the terminal Send when pre-set velocity threshold value;
The transmitting element, is additionally operable to determine the second Backup Data of the terminal, and sends described second to the server Backup Data.
10. the mobile terminal as described in any one of claim 6 to 9, it is characterised in that the mobile terminal also includes:
Trigger element, before the receiving unit is received and sets up the test data of server generation of communication connection with terminal, The network state current for obtaining the terminal, wherein, the network state include the residual stream value of the terminal and/or The wi-fi connection status of the terminal;When the network state for detecting the terminal meets data transmission conditions, triggering is described Receiving unit performs the operation that the test data that the server for communicating to connect is generated is set up in the reception with terminal.
CN201610957444.3A 2016-11-02 2016-11-02 A kind of data transmission method and mobile terminal Expired - Fee Related CN106534288B (en)

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 true CN106534288A (en) 2017-03-22
CN106534288B 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107979876A (en) * 2017-11-16 2018-05-01 广州市百果园网络科技有限公司 Data transmission method and terminal
CN109408280A (en) * 2017-08-17 2019-03-01 北京金山云网络技术有限公司 Data back up method, apparatus and system
CN111294256A (en) * 2020-02-21 2020-06-16 宁波海大物联科技有限公司 On-line detection method for performance of communication module
CN114816193A (en) * 2022-04-29 2022-07-29 阿里巴巴(中国)有限公司 Drawing display method and device and terminal equipment
CN115080073A (en) * 2022-07-21 2022-09-20 中国长江三峡集团有限公司 Intelligent power inspection equipment application management method and system
CN115333685A (en) * 2022-10-10 2022-11-11 永鼎行远(南京)信息科技有限公司 Intelligent information allocation system based on big data

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090486A (en) * 2007-06-25 2007-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
CN104410665A (en) * 2014-10-28 2015-03-11 腾讯科技(深圳)有限公司 A method and apparatus for downloading update package
CN104768066A (en) * 2014-01-02 2015-07-08 腾讯科技(深圳)有限公司 Data downloading method and device and terminal
CN105045636A (en) * 2015-08-11 2015-11-11 广东欧珀移动通信有限公司 Method and apparatus for updating software
CN105490886A (en) * 2015-12-31 2016-04-13 北京金山安全软件有限公司 Method and device for testing network speed and electronic equipment
CN105511985A (en) * 2015-12-01 2016-04-20 魅族科技(中国)有限公司 Data backup method and terminal
CN105577836A (en) * 2016-02-17 2016-05-11 中山大学 Data processing method of wearable device and wearable device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090486A (en) * 2007-06-25 2007-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
CN104768066A (en) * 2014-01-02 2015-07-08 腾讯科技(深圳)有限公司 Data downloading method and device and terminal
CN104410665A (en) * 2014-10-28 2015-03-11 腾讯科技(深圳)有限公司 A method and apparatus for downloading update package
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
CN105577836A (en) * 2016-02-17 2016-05-11 中山大学 Data processing method of wearable device and wearable device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109408280A (en) * 2017-08-17 2019-03-01 北京金山云网络技术有限公司 Data back up method, apparatus and system
CN107979876A (en) * 2017-11-16 2018-05-01 广州市百果园网络科技有限公司 Data transmission method and terminal
CN111294256A (en) * 2020-02-21 2020-06-16 宁波海大物联科技有限公司 On-line detection method for performance of communication module
CN111294256B (en) * 2020-02-21 2022-05-20 宁波海大物联科技有限公司 On-line detection method for performance of communication module
CN114816193A (en) * 2022-04-29 2022-07-29 阿里巴巴(中国)有限公司 Drawing display method and device and terminal equipment
CN115080073A (en) * 2022-07-21 2022-09-20 中国长江三峡集团有限公司 Intelligent power inspection equipment application management method and system
CN115333685A (en) * 2022-10-10 2022-11-11 永鼎行远(南京)信息科技有限公司 Intelligent information allocation system based on big data

Also Published As

Publication number Publication date
CN106534288B (en) 2019-08-20

Similar Documents

Publication Publication Date Title
CN106534288A (en) Data transmission method and mobile terminal
CN106055408B (en) A kind of application control method and mobile terminal
CN107146616A (en) Apparatus control method and Related product
CN106484283A (en) A kind of display control method and mobile terminal
CN104765591A (en) Method and system for updating software configuration parameter, and terminal server
CN106681860B (en) A kind of data back up method and data backup device
CN106302808A (en) Data transmission method and mobile terminal
CN106454805A (en) Data migration method and mobile terminal
CN106845422A (en) A kind of fingerprint recognition module, fingerprint identification method and mobile terminal
CN106708633B (en) The method and mobile terminal of increasing terminal WiFi workstation mode closing velocities
CN106569916A (en) Data backup method and mobile terminal
CN107800585A (en) The method and apparatus of network service, the method and apparatus of PUSH message
CN106792819A (en) A kind of method and device of the power consumption for reducing mobile terminal
CN106469028A (en) A kind of data migration method and mobile terminal
CN107066324A (en) A kind of control method and equipment of finger prints processing resource
CN106249992A (en) A kind of webpage control method and mobile terminal
CN106980554A (en) A kind of process handling method and device
CN106529256A (en) Terminal unlocking method and mobile terminal
CN107679870A (en) Brush amount resource determining method and device
CN107205082A (en) A kind of short message method for cleaning and mobile terminal
CN107423150A (en) A kind of fingerprint module control method and equipment
CN106815078A (en) A kind of internal memory control method and equipment
CN106487878A (en) A kind of method of Data Migration and terminal
CN106792583B (en) Multimedia message sending method, terminal and computer readable storage medium
CN106686704A (en) Terminal monitoring method and mobile terminal

Legal Events

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

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

Applicant after: 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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190820

CF01 Termination of patent right due to non-payment of annual fee