CN106302589A - Document transmission method and terminal - Google Patents
Document transmission method and terminal Download PDFInfo
- Publication number
- CN106302589A CN106302589A CN201510278012.5A CN201510278012A CN106302589A CN 106302589 A CN106302589 A CN 106302589A CN 201510278012 A CN201510278012 A CN 201510278012A CN 106302589 A CN106302589 A CN 106302589A
- Authority
- CN
- China
- Prior art keywords
- transmission
- terminal
- burst
- file
- transmitted
- 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
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention relates to a kind of document transmission method and terminal, its method includes: sets up bluetooth communication with reception terminal and is connected;According to default stripping strategy, dynamically adjust the burst size next time transmitting burst in the remaining data of file to be transmitted, and according to described burst size transmission transmission burst next time to receiving terminal, until file end of transmission to be transmitted.The present invention is by dynamically adjusting burst size, it is possible to reduce data transmission is time-consuming, especially when transmitting larger data, improves data transmission capabilities and the efficiency of terminal room.
Description
Technical field
The present invention relates to file transfer technology field, particularly relate to a kind of document transmission method and end
End.
Background technology
In the application of smart machine, Wearable generally plays the role from machine, and it is big
Partial service is required for by bluetooth with communication host (such as smart mobile phone) exchange data complete to lead to
Letter.Generally, Bluetooth transmission is affected by the factor such as wireless environment, transmission range, transmission
Speed has larger difference.And the most generally use the data transfer mode of fixing burst size, this
Kind use the transmission means of fixing burst size, bigger etc. in unstable networks and transmission range
Under the influence of factor, causing efficiency of transmission the highest, transmission is time-consuming to increase, therefore, and existing data
Transmission means cannot provide preferably experience in changeable Bluetooth transmission environment.
Summary of the invention
The embodiment of the present invention provides a kind of document transmission method and terminal, it is intended to improve smart machine
Between file data transfer ability and efficiency.
A kind of document transmission method that the embodiment of the present invention proposes, including:
Set up bluetooth communication with reception terminal to be connected;
According to default stripping strategy, dynamically adjust in the remaining data of file to be transmitted next time
The burst size of transmission burst, and according to described burst size transmission transmission burst next time to connecing
Receive terminal, until described file end of transmission to be transmitted.
A kind of file transmission terminal that the embodiment of the present invention also proposes, including:
Connection establishment module, is connected for setting up bluetooth communication with reception terminal;
Sliced transmission module, for according to presetting stripping strategy, dynamically adjusting file to be transmitted
Remaining data in transmit the burst size of burst next time, and send according to described burst size
Transmission burst is to receiving terminal next time, until described file end of transmission to be transmitted.
A kind of document transmission method of embodiment of the present invention proposition and terminal, send terminal and reception
Terminal is set up bluetooth and is connected;According to default stripping strategy, dynamically adjust the surplus of file to be transmitted
Remainder evidence is transmitted the burst size of burst next time, and sends next according to described burst size
Secondary transmission burst is to receiving terminal, until described file end of transmission to be transmitted, from there through dynamic
State adjusts burst size, it is possible to reduce data transmission is time-consuming, especially when transmitting larger data,
Improve data transmission capabilities and the efficiency of terminal room;In addition the present invention program can also support breakpoint
Resume, improve data transmission capabilities further.
Accompanying drawing explanation
Fig. 1 is the hardware architecture diagram of the mobile terminal that embodiment of the present invention scheme relates to;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the schematic flow sheet of document transmission method first embodiment of the present invention;
Fig. 4 is the schematic flow sheet of document transmission method the second embodiment of the present invention;
Fig. 5 be the embodiment of the present invention according to default stripping strategy, dynamically adjust file to be transmitted
Remaining data in transmit the burst size of burst next time, and send according to described burst size
Transmission burst is to receiving terminal next time, until described file end of transmission to be transmitted is a kind of thin
Change schematic flow sheet;
Fig. 6 be the embodiment of the present invention according to default stripping strategy, dynamically adjust file to be transmitted
Remaining data in transmit the burst size of burst next time, and send according to described burst size
Transmission burst is to receiving terminal next time, until the another kind of described file end of transmission to be transmitted
Refinement schematic flow sheet;
Fig. 7 is the schematic flow sheet of document transmission method the 3rd embodiment of the present invention;
Fig. 8 is the mutual sequential signal in the embodiment of the present invention between mobile phone and Wearable
Figure;
Fig. 9 is the schematic flow sheet of document transmission method the 4th embodiment of the present invention;
Figure 10 is the high-level schematic functional block diagram of file transfer means first embodiment of the present invention;
Figure 11 is the high-level schematic functional block diagram of file transfer means the second embodiment of the present invention;
Figure 12 is the high-level schematic functional block diagram of file transfer means the 3rd embodiment of the present invention.
In order to make technical scheme clearer, understand, below in conjunction with accompanying drawing make into
One step describes in detail.
Detailed description of the invention
Should be appreciated that specific embodiment described herein only in order to explain the present invention, not
For limiting the present invention.
The main thought of embodiment of the present invention scheme is: first sends terminal and sets up with receiving terminal
Bluetooth communication connects;Then according to presetting stripping strategy, the surplus of file to be transmitted is dynamically adjusted
Remainder evidence is transmitted the burst size of burst next time, and sends next according to described burst size
Secondary transmission burst is to receiving terminal, until described file end of transmission to be transmitted, from there through dynamic
State adjusts burst size, reduces data transmission time-consuming, especially when transmitting larger data, carries
The data transmission capabilities of high terminal room and efficiency.
The embodiment of the present invention is it is considered that use the transmission side of fixing burst size in prior art
Formula, under the influence of the factors such as unstable networks and transmission range are bigger, causes efficiency of transmission not
Height, transmission is time-consuming to increase so that existing data transfer mode cannot be in changeable Bluetooth transmission
Environment provides and preferably experiences.
Embodiment of the present invention scheme can reduce data transmission consumption by dynamically adjusting burst size
Time, especially when transmitting larger data, improve data transmission capabilities and the efficiency of terminal room,
Promote Consumer's Experience.
Specifically, embodiment of the present invention scheme relates to the transmission of data between intelligent terminal, this intelligence
Can terminal can be two terminals by wireless communication mode such as bluetooths, this intelligent terminal be permissible
For mobile terminals such as mobile phone, Wearable, notebook computer, panel computers, it is also possible to for
Other bluetooth equipments etc., the present embodiment scheme is with the Bluetooth communication between mobile phone and Wearable
Illustrate.Wherein, Wearable refers to apply wearable technology that daily wearing is carried out intelligence
Energyization design, the general name of the equipment that can dress developed, such as intelligent glasses, wrist-watch, hands
Ring etc..
First, will be described with reference to the drawings and realize the mobile terminal of each embodiment of the present invention.Rear
In continuous description, use such as " module ", " parts " or " unit " for representing element
Suffix only for the explanation of the beneficially present invention, itself do not have specific meaning.Therefore,
" module " can mixedly use with " parts ".
Above-mentioned mobile terminal can be implemented in a variety of manners.Such as, the end described in the present invention
End can include such as mobile phone, smart phone, notebook computer, digit broadcasting receiver,
PDA (personal digital assistant), PAD (panel computer), PMP (portable media player),
The mobile end of Wearable (such as Intelligent bracelet, intelligent watch etc.), guider etc.
End.
Below, it is that mobile terminal is illustrated with terminal.But, those skilled in the art will manage
Solve, in addition to being used in particular for the element of mobile purpose, according to the embodiment of the present invention
Structure can also apply to the terminal of fixed type.
As it is shown in figure 1, the hardware configuration that Fig. 1 is the mobile terminal realizing each embodiment of the present invention
Signal.
It is single that mobile terminal 100 can include that wireless communication unit 110, A/V (audio/video) input
Unit 120, user input unit 130, sensing unit 140, output unit 150, memorizer 160,
Interface unit 170, controller 180 and power subsystem 190 etc..
Fig. 1 shows the mobile terminal with various assembly, it should be understood that and not
Realistic execute all assemblies illustrated.Can alternatively implement more or less of assembly.Will under
Face describes the element of mobile terminal in detail.
Wireless communication unit 110 generally includes one or more assembly, and it allows mobile terminal
Radio communication between 100 and wireless communication system or network.Such as, wireless communication unit
Can include broadcast reception module 111, mobile communication module 112, wireless Internet module 113,
At least one in short range communication module 114 and positional information module 115.
Broadcast reception module 111 receives wide via broadcast channel from external broadcasting management server
Broadcast signal and/or broadcast related information.Broadcast channel can include satellite channel and/or ground letter
Road.Broadcast management server can be to generate and send broadcast singal and/or broadcast related information
Server or the broadcast singal generated before receiving and/or broadcast related information and by it
It is sent to the server of terminal.Broadcast singal can include TV broadcast singal, radiobroadcasting
Signal, data broadcasting signal etc..And, broadcast singal may further include with TV or
The broadcast singal of radio signals combination.Broadcast related information can also be via mobile communication
Network provides, and in this case, broadcast related information can be by mobile communication module 112
Receive.Broadcast singal can exist in a variety of manners, and such as, it can be with digital multimedia
The broadcast electronic program guides (EPG) of (DMB), the electricity of digital video broadcast-handheld (DVB-H)
The form of sub-services guide (ESG) etc. and exist.Broadcast reception module 111 can be by using
Various types of broadcast systems receive signal broadcast.Especially, broadcast reception module 111 is permissible
By using such as multimedia broadcasting-ground (DMB-T), DMB-satellite
(DMB-S), DVB-hand-held (DVB-H), forward link media (MediaFLO@)
Radio Data System, the digital broadcasting system of received terrestrial digital broadcasting integrated service (ISDB-T) etc.
System receives digital broadcasting.Broadcast reception module 111 may be constructed such that and is adapted to provide for broadcast singal
Various broadcast systems and above-mentioned digit broadcasting system.Receive via broadcast reception module 111
Broadcast singal and/or broadcast related information can be stored in memorizer 160 (or other type
Storage medium) in.
Mobile communication module 112 sends radio signals to base station (such as, access point, node
B etc.), in exterior terminal and server at least one and/or receive from it aerogram
Number.Such radio signal can include voice call signal, video calling signal or
The various types of data sending according to text and/or Multimedia Message and/or receiving.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can
To be internally or externally couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can
To include WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax, (whole world is micro-
Ripple interconnection accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Short-range communication technology
Some examples include bluetoothTM, RF identification (RFID), Infrared Data Association (I rDA), ultra-wide
Band (UWB), purple honeybeeTMEtc..
Positional information module 115 is the mould of positional information for checking or obtain mobile terminal
Block.The typical case of positional information module is GPS (global positioning system).According to current skill
Art, GPS module 115 calculate from three or more satellites range information and accurately time
Between information and for the Information application triangulation calculated, thus according to longitude, latitude and
Highly accurately calculate three-dimensional current location information.Currently, it is used for calculating position and temporal information
Method use three satellites and by using an other satellite to correct the position calculated
Put the error with temporal information.Additionally, GPS module 115 can be by Continuous plus in real time
Current location information calculates velocity information.
A/V input block 120 is used for receiving audio or video signal.A/V input block 120
Can include camera 121 and mike 1220, camera 121 is at Video Capture pattern or image
The static images obtained by image capture apparatus in acquisition mode or the view data of video are carried out
Process.Picture frame after process may be displayed on display unit 151.After camera 121 processes
Picture frame can be stored in memorizer 160 (or other storage medium) or via channel radio
Letter unit 110 is transmitted, and can provide two or more cameras according to the structure of mobile terminal
1210.Mike 122 can be at telephone calling model, logging mode, speech recognition mode etc.
Sound (voice data) is received via mike etc. in operational mode, and can be by such sound
Sound is processed as voice data.Audio frequency (voice) data after process can be at telephone calling model
In the case of be converted to be sent to the form of mobile communication base station via mobile communication module 112
Output.Mike 122 can be implemented various types of noise and eliminate (or suppression) algorithm to eliminate
(or suppression) is in the noise received and produce during transmission audio signal or interference.
User input unit 130 can according to user input order generate key input data with
Control the various operations of mobile terminal.User input unit 130 allows user to input all kinds
Information, and can include keyboard, metal dome, touch pad (such as, detection owing to being connect
The resistance that touches and cause, pressure, the sensitive component of change of electric capacity etc.), roller, rocking bar
Etc..Especially, when touch pad is superimposed upon on display unit 151 as a layer, permissible
Form touch screen.
Sensing unit 140 detects the current state of mobile terminal 100, (such as, mobile terminal
100 open or close state), the position of mobile terminal 100, user is for mobile terminal
The presence or absence of contact (that is, touch input) of 100, the orientation of mobile terminal 100, mobile terminal
The acceleration or deceleration of 100 moves and direction etc., and generation is used for controlling mobile terminal 100
The order of operation or signal.Such as, it is embodied as sliding-type mobile phone when mobile terminal 100
Time, sensing unit 140 can sense this sliding-type phone and open or close.It addition, sense
Survey unit 140 and can detect whether power subsystem 190 provides electric power or interface unit 170
Whether couple with external device (ED).Sensing unit 140 can include that proximity transducer 1410 will be
Below in conjunction with touch screen, this is described.
Interface unit 170 is used as at least one external device (ED) and is connected permissible with mobile terminal 100
The interface passed through.Such as, external device (ED) can include wired or wireless head-band earphone port,
External power source (or battery charger) port, wired or wireless FPDP, memory card port,
There is the port of device of identification module, audio frequency input/output (I/O) port for connection, regard
Frequently I/O port, ear port etc..Identification module can be that storage is for verifying that user uses
The various information of mobile terminal 100 and subscriber identification module (UIM), Ke Hushi can be included
Other module (SIM), Universal Subscriber identification module (USIM) etc..It addition, have identification module
Device (hereinafter referred to as " identify device ") can be to take the form of smart card, therefore, identify dress
Put and can be connected with mobile terminal 100 via port or other attachment means.Interface unit 170
May be used for receive from external device (ED) input (such as, data message, electric power etc.) and
One or more elements that the input received is transferred in mobile terminal 100 or permissible
For transmitting data between mobile terminal and external device (ED).
It addition, when mobile terminal 100 is connected with external base, interface unit 170 can be used
It is used as to allow to provide the path of mobile terminal 100 or permissible by electric power from base by it
Allow to pass through its path being transferred to mobile terminal from the various command signals of base input.From
The various command signals of base input or electric power may serve as identifying that mobile terminal is the most accurate
Really it is arranged on the signal on base.Output unit 150 be configured to vision, audio frequency and/
Or tactile manner provide output signal (such as, audio signal, video signal, alarm signal,
Vibration signal etc.).Output unit 150 can include that display unit 151, audio frequency export mould
Block 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 100.Such as, when
When mobile terminal 100 is in telephone calling model, display unit 151 can show with call or
User circle that other communication (such as, text messaging, multimedia file download etc.) is relevant
Face (U I) or graphic user interface (GU I).When mobile terminal 100 be in video calling pattern or
During person's image capture mode, display unit 151 can show the image of capture and/or reception
Image, UI or GUI illustrating video or image and correlation function etc..
Meanwhile, the most superposed on one another to form touch when display unit 151 and touch pad
During screen, display unit 151 can serve as input equipment and output device.Display unit 151 can
To include liquid crystal display (LCD), thin film transistor (TFT) LCD (TFT-LCD), organic light emission
In diode (OLED) display, flexible display, three-dimensional (3D) display etc. extremely
Few one.Some in these display may be constructed such that transparence is to allow user from outside
Watching, this is properly termed as transparent display, and typical transparent display can for example, TOLED
(transparent organic light emitting diode) display etc..According to the specific embodiment wanted, mobile
Terminal 100 can include two or more display units (or other display device), such as, moves
Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch
Touch screen to can be used for detecting touch input pressure and touch input position and touch input area.
Dio Output Modules 152 can be in call signal at mobile terminal and receive pattern, call
Time under the isotypes such as pattern, logging mode, speech recognition mode, broadcast reception mode, by nothing
That line communication unit 110 receives or storage in memorizer 160 voice data conversion sound
Frequently signal and be output as sound.And, dio Output Modules 152 can provide whole with mobile
Audio frequency output that the specific functions of end 100 execution are relevant (such as, call signal receive sound,
Message sink sound etc.).Dio Output Modules 152 can include speaker, buzzer etc.
Deng.
Alarm unit 153 can provide output to notify event to mobile terminal
100.Typical event can include calling reception, message sink, key signals input, touching
Input etc..In addition to audio or video exports, alarm unit 153 can be with different sides
Formula provides output with the generation of notification event.Such as, alarm unit 153 can be with the shape of vibration
Formula provides output, when receiving calling, message or some other entrance communication (incoming
Communication), time, alarm unit 153 can provide sense of touch output (that is, vibration) to incite somebody to action
Its notice is to user.By providing such sense of touch to export, even if at the mobile phone of user
Time in the pocket of user, user also is able to identify the generation of various event.Alarm unit 153
The generation of notification event can also be provided via display unit 151 or dio Output Modules 152
Output.
Memorizer 160 can store the process performed by controller 180 and control the soft of operation
Part program etc., or can temporarily store oneself through exporting the data that maybe will export (such as,
Telephone directory, message, still image, video etc.).And, memorizer 160 can store
Vibration and the number of audio signal about the various modes exported when touching and being applied to touch screen
According to.
Memorizer 160 can include the storage medium of at least one type, described storage medium bag
Include flash memory, hard disk, multimedia card, card-type memorizer (such as, SD or DX memorizer etc.),
Random access storage device (RAM), static random-access memory (SRAM), read-only storage
Device (ROM), Electrically Erasable Read Only Memory (EEPROM), able to programme read-only deposit
Reservoir (PROM), magnetic storage, disk, CD etc..And, mobile terminal 100 can
To be connected the network storage device cooperation of the storage function performing memorizer 160 with by network.
Controller 180 generally controls the overall operation of mobile terminal.Such as, controller 180 is held
The row control relevant to voice call, data communication, video calling etc. and process.It addition,
Controller 180 can include the multi-media module for reproducing (or playback) multi-medium data
1810, multi-media module 1810 can construct in controller 180, or it is so structured that
Separate with controller 180.Controller 180 can perform pattern recognition process, touching
The handwriting input performed on screen or picture are drawn input and are identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180
And the suitable electric power operated needed for each element and assembly is provided.
Various embodiment described herein can with use such as computer software, hardware or its
Any combination of computer-readable medium is implemented.Hardware is implemented, enforcement described herein
Mode can be by using application-specific IC (ASIC), digital signal processor
(DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene
Programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, quilt
It is designed as performing at least one in the electronic unit of function described herein to implement, at some
In the case of, such embodiment can be implemented in controller 180.Software is implemented,
The embodiment of such as process or function can with allow to perform at least one function or operation
Individually software module is implemented.Software code can be write by with any suitable programming language
Software application (or program) implement, software code can be stored in memorizer 160
And performed by controller 180.
So far, oneself is through describing mobile terminal according to its function.
Below, for the sake of brevity, such as folded form, board-type, oscillating-type, cunning will be described
Slide type mobile terminal conduct in various types of mobile terminals of ejector half mobile terminal etc.
Example.Therefore, the present invention can be applied to any kind of mobile terminal, and is not limited to sliding
Ejector half mobile terminal.
Mobile terminal 100 may be constructed such that utilization is sent out via frame or packet as shown in Figure 1
The the most wired of data and wireless communication system and satellite-based communication system is sent to operate.
Describe wherein according to leading to that the mobile terminal of the present invention is operable to referring now to Fig. 2
Communication system.
Such communication system can use different air interfaces and/or physical layer.Such as,
The air interface used by communication system includes such as frequency division multiple access (FDMA), time division multiple acess
(TDMA), CDMA (CDMA) and UMTS (UMTS) are (especially,
Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..Show as non-limiting
Example, explained below relates to cdma communication system, but such teaching is equally applicable to
Other type of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 100, many
Individual base station (BS) 270, base station controller (BSC) 275 and mobile switching centre
(MSC) 2800MSC 280 is configured to be formed with Public Switched Telephony Network (PSTN) 290
Interface.MSC 280 is also structured to and can be couple to base station 270 via back haul link
BSC 275 forms interface.If back haul link can come according to any one in the interface that Ganji knows
Structure, described interface includes such as E 1/T1, ATM, IP, PPP, frame relay, HDSL,
ADSL or xDSL.It will be appreciated that system as shown in Figure 2 can include multiple
BSC2750。
Each BS 270 can service one or more subregion (or region), by multidirectional antenna or refer to
To each subregion of the antenna covering of specific direction radially away from BS 270.Or, each
Subregion can be covered by two or more antennas for diversity reception.Each BS 270 is permissible
It is configured to support that multiple frequency is distributed, and (such as, the distribution of each frequency has specific frequency spectrum
1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS 270 can also
It is referred to as base station transceiver subsystem (BTS) or other equivalent terms.In such situation
Under, term " base station " may be used for broadly representing single BSC 275 and at least one BS
270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS270 is permissible
It is referred to as multiple cellular station.
As shown in Figure 2, broadcast singal is sent in system by broadcsting transmitter (BT) 295
The mobile terminal 100 of interior operation.Broadcast reception module 111 is arranged on as shown in Figure 1
Mobile terminal 100 is sentenced and is received the broadcast singal sent by BT 295.In fig. 2 it is shown that
Several global positioning systems (GPS) satellite 300.Satellite 300 helps to position multiple mobile terminals
At least one in 100.
In fig. 2, depict multiple satellite 300, it is understood that be, it is possible to use any
The satellite of number obtains useful location information.GPS module 115 is led to as shown in Figure 1
Often it is configured to coordinate the location information wanted with acquisition with satellite 300.Substitute GPS to follow the tracks of
Technology or outside GPS tracking technique, it is possible to use the position of mobile terminal can be followed the tracks of
Other technology.It addition, at least one gps satellite 300 can optionally or additionally
Ground processes satellite dmb transmission.
As a typical operation of wireless communication system, BS 270 receives from various movements
The reverse link signal of terminal 100.Mobile terminal 100 generally participate in call, information receiving and transmitting and
Other type of communication.Each reverse link signal that certain base station 270 receives is by specific
Process in BS 270.The data obtained are forwarded to the BSC 275 being correlated with.BSC provides
Call resource distribution and the mobile management merit of the coordination of soft switching process included between BS 270
Energy.The data received also are routed to MSC 280 by BSC 275, its provide for
PSTN 290 forms the extra route service of interface.Similarly, PSTN 290 and MSC
280 form interface, MSC Yu BSC 275 forms interface, and BSC 275 is correspondingly
Control BS270 forward link signals to be sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, file of the present invention transmission is proposed
Embodiment of the method.
As it is shown on figure 3, first embodiment of the invention proposes a kind of document transmission method, including:
Step S101, sets up bluetooth communication with reception terminal and is connected;
The present embodiment method relate to send terminal and receive terminal, wherein, send terminal for
Receive terminal transmission file, receive terminal for from sending terminal reception file.In the present embodiment
Transmission terminal and receive terminal function can exchange.The present embodiment is to send terminal as hands
Machine, receiving terminal is that Wearable is illustrated;In other embodiments, terminal is sent also
Can be Wearable, reception terminal be mobile phone, or, send terminal and receive terminal all
For Wearable, or, receiving terminal is all mobile phone.
Being connected for wireless network between terminal additionally, send terminal with receiving, its wireless network passes
Defeated mode includes but not limited to bluetooth etc..
As a example by mobile phone and Wearable, bluetooth between mobile phone and Wearable, can be passed through
Communication realizes data interaction.
First, transmission terminal is set up bluetooth with reception terminal and is connected, and sends terminal with reception eventually
After end sets up bluetooth connection, obtain file to be transmitted.
Wherein, the data in file to be transmitted can before be not transmitted across, it is also possible to be pass
The defeated situation of part data, such as makes file Transmission because network signal interrupts, this
Whether file to be transmitted is transmitted across by embodiment scheme is not defined.
Step S102, according to default stripping strategy, dynamically adjusts the residue of file to be transmitted
Data are transmitted the burst size of burst next time, and sends next time according to described burst size
Transmission burst is to receiving terminal, until described file end of transmission to be transmitted.
Time-consuming in order to reduce data transmission, especially when transmitting larger data, improve terminal room
Data transmission capabilities and efficiency, the present embodiment use Dynamic Program Slicing data transmission strategy.
Specifically, can be according to sending terminal and the current network state (ratio received between terminal
Such as current Bluetooth communication signal intensity, disturbed condition etc.), remaining data size, and upper one
Secondary sliced transmission situation (transfer rate of such as last burst, transmission size), dynamically adjusts
The remaining data of whole file to be transmitted transmits the burst size of burst next time (such as
16~256KB), and with this principle, the remaining data of file to be transmitted is carried out burst, and depends on
According to described burst size transmission transmission burst next time to receiving terminal, until All Files data
End of transmission.
The present embodiment passes through such scheme, and transmission terminal is set up bluetooth with reception terminal and is connected, it
Afterwards according to presetting stripping strategy, dynamically adjust in the remaining data of file to be transmitted and pass next time
The burst size of defeated burst, and send transmission burst extremely reception next time according to described burst size
Terminal is until file end of transmission to be transmitted, from there through dynamically adjusting burst size, permissible
Reducing data transmission time-consuming, especially when transmitting larger data, the data improving terminal room pass
Movement Capabilities and efficiency
As shown in Figure 4, second embodiment of the invention proposes a kind of document transmission method, including:
Step S101, sets up bluetooth communication with reception terminal and is connected;
The present embodiment method relate to send terminal and receive terminal, wherein, send terminal for
Receive terminal transmission file, receive terminal for from sending terminal reception file.In the present embodiment
Transmission terminal and receive terminal function can exchange.The present embodiment is to send terminal as hands
Machine, receiving terminal is that Wearable is illustrated;In other embodiments, terminal is sent also
Can be Wearable, reception terminal be mobile phone, or, send terminal and receive terminal all
For Wearable, or, receiving terminal is all mobile phone.
Being connected for wireless network between terminal additionally, send terminal with receiving, its wireless network passes
Defeated mode includes but not limited to bluetooth etc..
As a example by mobile phone and Wearable, bluetooth between mobile phone and Wearable, can be passed through
Communication realizes data interaction.
First, transmission terminal is set up bluetooth with reception terminal and is connected, and sends terminal with reception eventually
After end sets up bluetooth connection, obtain file to be transmitted.
Wherein, the data in file to be transmitted can before be not transmitted across, it is also possible to be pass
The defeated situation of part data, such as makes file Transmission because network signal interrupts, this
Embodiment scheme was not transmitted across before the data in file to be transmitted and illustrates.
Step S103, extracts the initial burst presetting size from described file to be transmitted, sends out
Deliver to receive terminal;
Step S102, according to default stripping strategy, dynamically adjusts the residue of file to be transmitted
Data are transmitted the burst size of burst next time, and sends next time according to described burst size
Transmission burst is to receiving terminal, until described file end of transmission to be transmitted.
Time-consuming in order to reduce data transmission, especially when transmitting larger data, improve terminal room
Data transmission capabilities and efficiency, the present embodiment use Dynamic Program Slicing data transmission strategy.
Specifically, first, send terminal acquisition and treat file to be transmitted, carry from file to be transmitted
Take the initial burst of default size, send to receiving terminal.
Wherein, the size of initial burst can be arranged the most flexibly, such as can give tacit consent to setting
It is set to 16~64KB, preferably 32KB.
Certainly, it will be appreciated by those skilled in the art that it is that the size of initial burst can also basis
Currently transmitted terminal and the current Bluetooth communication signal intensity received between terminal are arranged.
After completing the transmission of initial burst, transmission terminal is according to default stripping strategy, dynamically
Adjust the burst size next time transmitting burst in the remaining data of described file to be transmitted, and depend on
According to described burst size transmission transmission burst next time to receiving terminal, until file to be transmitted passes
It is totally lost complete.
Specifically, can be according to sending terminal and the current network state (ratio received between terminal
Such as current Bluetooth communication signal intensity, disturbed condition etc.), remaining data size, and upper one
Secondary sliced transmission situation (transfer rate of such as last burst, transmission size), dynamically adjusts
The remaining data of whole file to be transmitted transmits the size of burst (such as next time
16~256KB), and with this principle, the remaining data of file to be transmitted is carried out burst, until
All Files data end of transmission.
The present embodiment passes through such scheme, and transmission terminal is set up bluetooth with reception terminal and is connected, and obtains
Take file to be transmitted;From file to be transmitted, extract the initial burst presetting size, send to connecing
Receive terminal;According to default stripping strategy, under dynamically adjusting in the remaining data of file to be transmitted
Once transmit the burst size of burst, and transmit burst according to the transmission of described burst size next time
To receiving terminal, until described file end of transmission to be transmitted, from there through dynamically adjusting burst
Size, it is possible to reduce data transmission is time-consuming, especially when transmitting larger data, improves terminal
Between data transmission capabilities and efficiency.
Further, based on above-described embodiment, as a kind of embodiment, as it is shown in figure 5,
Above-mentioned steps S103: according to default stripping strategy, dynamically adjust the residue of file to be transmitted
Data are transmitted the burst size of burst next time, and sends next time according to described burst size
Transmission burst is to receiving terminal, until the process of described file end of transmission to be transmitted can be wrapped
Include:
Step S1031, obtain and described reception terminal between current Bluetooth communication signal intensity,
The transfer rate of last transmission burst and size, and remaining data size;
Step S1032, according to the current Bluetooth communication signal intensity between described reception terminal,
The transfer rate of last transmission burst and size, and remaining data size, obtain next time
The burst size of transmission burst;
Step S1033, extracts described burst size from the remaining data of described file to be transmitted
Transmission burst next time, send to receiving terminal.
Repeat said process, until described file end of transmission to be transmitted.
In the present embodiment, relate to affecting the correlative factor of fragment data transmission, including but not
Be limited to the most several: send terminal and the current Bluetooth communication signal intensity received between terminal,
The transfer rate of last transmission burst and size, and remaining data size.Wherein, also may be used
To consider the connection distance etc. sending terminal and receiving between terminal.
In the present embodiment mode, by sending terminal according to sending terminal and receiving working as between terminal
Front bluetooth communication signal intensity, the transfer rate of last transmission burst and size, and to be passed
The remaining data size of defeated file, calculates the burst size next time transmitting burst.
It will be appreciated by persons skilled in the art that at the remainder dynamically adjusting file to be transmitted
When transmitting the size of burst according to, a calculating can be designed based on above-mentioned correlative factor next time
Formula, can be such as a linear function, in this linear function, can introduce correction factor,
This correction factor is calculated by above-mentioned correlative factor.
Further, based on above-described embodiment, as another embodiment, as shown in Figure 6,
Above-mentioned steps S103: according to default stripping strategy, dynamically adjust described file to be transmitted
Remaining data transmits the burst size of burst next time, and according under the transmission of described burst size
Once transmission burst is to receiving terminal, until the process of described file end of transmission to be transmitted is permissible
Including:
Step S1034, receives the size next time transmitting burst that described reception terminal sends;
The described size next time transmitting burst and is sent out according to described reception terminal by described reception terminal
Current Bluetooth communication signal intensity between sending end, the transfer rate of last transmission burst and big
Little, and remaining data size and acquire;
Step S1035, extracts described burst size from the remaining data of described file to be transmitted
Transmission burst next time, send to receiving terminal.
Repeat said process, until described file end of transmission to be transmitted.
Compare above-mentioned embodiment, in the present embodiment mode, by receiving terminal according to sending eventually
End and the current Bluetooth communication signal intensity received between terminal, the transmission of last transmission burst
Speed and size, and the remaining data size of file to be transmitted, calculate and transmit burst next time
Burst size, and be uploaded to send terminal, by send terminal according to this burst size transmit under
One burst.
The present embodiment passes through such scheme, by dynamically adjusting burst size, it is possible to reduce data
Transmission is time-consuming, especially when transmitting larger data, improve terminal room data transmission capabilities and
Efficiency.
As it is shown in fig. 7, third embodiment of the invention proposes a kind of document transmission method, based on upper
State the embodiment shown in Fig. 4, in above-mentioned steps S101: set up bluetooth communication with receiving terminal
Can also include before connection:
Step S100, according to the current Bluetooth communication signal intensity received between terminal, if
Put initial burst size;Or, receive the initial burst size that described reception terminal sends, institute
State initial burst size to be believed according to the current Bluetooth communication sending terminal by described reception terminal
Number intensity and arrange.
Comparing the embodiment shown in above-mentioned Fig. 4, the present embodiment also includes arranging initial burst size
Scheme.
As a kind of embodiment, can be by sending terminal according to described transmission terminal with reception eventually
Current Bluetooth communication signal intensity between end, arranges initial burst size;
Or, as another embodiment, can be by receiving terminal according to described transmission terminal
And the current Bluetooth communication signal intensity received between terminal arranges initial burst size.Then,
Receive terminal to be sent to send terminal by the initial burst size arranged.
The present embodiment passes through such scheme, by arranging initial burst size, sends terminal and connects
Receive terminal and set up bluetooth connection, when transmitting file, send terminal and extract from file to be transmitted
Preset the initial burst of size, send to receiving terminal;According to default stripping strategy, dynamically
Adjust the burst size next time transmitting burst in the remaining data of file to be transmitted, and according to institute
State burst size send next time transmission burst to receiving terminal, until described file to be transmitted pass
It is totally lost complete, from there through dynamically adjusting burst size, it is possible to reduce data transmission is time-consuming, especially
It is when transmitting larger data, improves data transmission capabilities and the efficiency of terminal room;In addition this
Bright scheme can also support breakpoint transmission, improves data transmission capabilities further.
Below in conjunction with Fig. 8, to send terminal as mobile phone, receiving terminal is that Wearable is carried out
Citing, is described in detail embodiment of the present invention scheme.
1, mobile phone starts to send file to Wearable;
2, Wearable is according to signal intensity, arranges initial burst size, and sends to hands
Machine;
3, mobile phone is according to the burst size obtained, and sends fragment data;
4, Wearable is according to the size of a upper burst and receiving velocity, mobile phone and Wearable
Signal intensitys between equipment etc. calculate next burst size, and send to mobile phone;
5, mobile phone sends data according to new burst size.
From there through dynamically adjusting burst size, can ensure that data pass according to bluetooth actual environment
Defeated, reduce data transmission time-consuming, especially when transmitting larger data, improve the number of terminal room
According to transmittability and efficiency;In addition the present invention program can also support breakpoint transmission, carries further
High data transmission capabilities.
As it is shown in figure 9, fourth embodiment of the invention proposes a kind of document transmission method, based on upper
Stating the embodiment shown in Fig. 7, after above-mentioned steps S102, described method also includes:
Step S104, in data transmission procedure, and if the bluetooth communication that receives between terminal
After disconnecting and recovery, obtain the transmission breakpoint of described file to be transmitted;
Step S105, based on described transmission breakpoint, resumes the remainder of described file to be transmitted
According to described reception terminal.
Comparing above-described embodiment, the present embodiment scheme can also be supported breakpoint transmission, carry further
High data transmission capabilities.
Specifically, in data transmission procedure, if blue between described transmission terminal and reception terminal
After tooth communication disconnecting and recovery, the transmission sending the terminal described file to be transmitted of acquisition is broken
Point.
As one embodiment, send terminal and actively can resume dividing of correspondence to reception terminal
Sheet is to described reception terminal, it is also possible to resumed dividing of correspondence by receiving terminal request transmission terminal
Sheet, the burst that the present embodiment resumes correspondence with reception terminal request transmission terminal is illustrated.
When sending initial burst, burst original position is 0, and for resuming original position
Determine, can determine according to the transmission breakpoint of file to be transmitted.Specifically can use such as lower section
Case:
As a kind of embodiment, described in send terminal to described reception terminal and send file and resume
Request, by described reception terminal according to the file transfer data received, determines transmission breakpoint
Information, and the echo message of described transmission breakpoint information is carried to described transmission terminal feedback;Send out
End of making arrangements for his funeral receives the echo message that described reception terminal sends, and obtains institute from described echo message
State the transmission breakpoint of file to be transmitted.
Or, as another embodiment, described transmission terminal receives described reception terminal and sends out
The file carrying transmission breakpoint information sent resumes request, and described reception terminal is according to receiving
File transfer data determine described transmission breakpoint information;Send terminal to resume from described file
Request obtains described transmission breakpoint.
Afterwards, based on described transmission breakpoint, resume the remaining data burst of file to be transmitted to institute
State reception terminal.
The present embodiment passes through such scheme, by arranging initial burst size, sends terminal and connects
Receive terminal and set up bluetooth connection, when transmitting file, send terminal and extract from file to be transmitted
Preset the initial burst of size, send to receiving terminal;According to default stripping strategy, dynamically
Adjust the burst size next time transmitting burst in the remaining data of file to be transmitted, and according to institute
State burst size send next time transmission burst to receiving terminal, until described file to be transmitted pass
It is totally lost complete, from there through dynamically adjusting burst size, number can be ensured according to bluetooth actual environment
According to transmission, reduce data transmission time-consuming, especially when transmitting larger data, improve terminal room
Data transmission capabilities and efficiency;In addition the present invention program can also support breakpoint transmission, enters one
Step improves data transmission capabilities.
Additionally it should be noted that network is had no progeny between terminal and reception terminal sending,
Send terminal and can also attempt to retransmission mechanism, retransmit current slice in the given time, until working as
Front burst retransmits successfully, or stops when the time reaches retransmitting.Thus improve having of data transmission
Effect property.
Accordingly, file transmission terminal embodiment of the present invention is proposed.
As shown in Figure 10, first embodiment of the invention proposes a kind of file transmission terminal, including:
Connection establishment module 201 and sliced transmission module 202, wherein:
Connection establishment module 201, is connected for setting up bluetooth communication with reception terminal;
Sliced transmission module 202, for according to presetting stripping strategy, dynamically adjusting to be transmitted
The remaining data of file transmits the burst size of burst next time, and according to described burst size
Transmission transmission burst next time is to receiving terminal, until described file end of transmission to be transmitted.
The present embodiment scheme relate to send terminal and receive terminal, wherein, send terminal for
Receive terminal transmission file, receive terminal for from sending terminal reception file.In the present embodiment
Transmission terminal and receive terminal function can exchange.The present embodiment is to send terminal as hands
Machine, receiving terminal is that Wearable is illustrated;In other embodiments, terminal is sent also
Can be Wearable, reception terminal be mobile phone, or, send terminal and receive terminal all
For Wearable, or, receiving terminal is all mobile phone.
Being connected for wireless network between terminal additionally, send terminal with receiving, its wireless network passes
Defeated mode includes but not limited to bluetooth etc..
As a example by mobile phone and Wearable, bluetooth between mobile phone and Wearable, can be passed through
Communication realizes data interaction.
First, transmission terminal is set up bluetooth with reception terminal and is connected, and sends terminal with reception eventually
After end sets up bluetooth connection, obtain file to be transmitted.
Wherein, the data in file to be transmitted can before be not transmitted across, it is also possible to be pass
The defeated situation of part data, such as makes file Transmission because network signal interrupts, this
Whether file to be transmitted is transmitted across by embodiment scheme is not defined.
Time-consuming in order to reduce data transmission, especially when transmitting larger data, improve terminal room
Data transmission capabilities and efficiency, the present embodiment use Dynamic Program Slicing data transmission strategy.
Specifically, can be according to sending terminal and the current network state (ratio received between terminal
Such as current Bluetooth communication signal intensity, disturbed condition etc.), remaining data size, and upper one
Secondary sliced transmission situation (transfer rate of such as last burst, transmission size), dynamically adjusts
The remaining data of whole file to be transmitted transmits the burst size of burst next time (such as
16~256KB), and with this principle, the remaining data of file to be transmitted is carried out burst, and depends on
According to described burst size transmission transmission burst next time to receiving terminal, until All Files data
End of transmission.
The present embodiment passes through such scheme, and transmission terminal is set up bluetooth with reception terminal and is connected, it
Afterwards according to presetting stripping strategy, dynamically adjust in the remaining data of file to be transmitted and pass next time
The burst size of defeated burst, and send transmission burst extremely reception next time according to described burst size
Terminal is until file end of transmission to be transmitted, from there through dynamically adjusting burst size, permissible
Reducing data transmission time-consuming, especially when transmitting larger data, the data improving terminal room pass
Movement Capabilities and efficiency.
As shown in figure 11, second embodiment of the invention proposes a kind of file transmission terminal, including:
Connection establishment module 201, initial transmission module 203 and sliced transmission module 202, wherein:
Connection establishment module 201, is connected for setting up bluetooth communication with reception terminal;
Initial transmission module 203, presets at the beginning of size for extracting from described file to be transmitted
Beginning burst, sends to receiving terminal;
Sliced transmission module 202, for according to presetting stripping strategy, dynamically adjusting to be transmitted
The remaining data of file transmits the burst size of burst next time, and according to described burst size
Transmission transmission burst next time is to receiving terminal, until described file end of transmission to be transmitted.
The present embodiment scheme relate to send terminal and receive terminal, wherein, send terminal for
Receive terminal transmission file, receive terminal for from sending terminal reception file.In the present embodiment
Transmission terminal and receive terminal function can exchange.The present embodiment is to send terminal as hands
Machine, receiving terminal is that Wearable is illustrated;In other embodiments, terminal is sent also
Can be Wearable, reception terminal be mobile phone, or, send terminal and receive terminal all
For Wearable, or, receiving terminal is all mobile phone.
Being connected for wireless network between terminal additionally, send terminal with receiving, its wireless network passes
Defeated mode includes but not limited to bluetooth etc..
As a example by mobile phone and Wearable, bluetooth between mobile phone and Wearable, can be passed through
Communication realizes data interaction.
First, transmission terminal is set up bluetooth with reception terminal and is connected, and sends terminal with reception eventually
After end sets up bluetooth connection, obtain file to be transmitted.
Wherein, the data in file to be transmitted can before be not transmitted across, it is also possible to be pass
The defeated situation of part data, such as makes file Transmission because network signal interrupts, this
Embodiment scheme was not transmitted across before the data in file to be transmitted and illustrates.
Time-consuming in order to reduce data transmission, especially when transmitting larger data, improve terminal room
Data transmission capabilities and efficiency, the present embodiment use Dynamic Program Slicing data transmission strategy.
Specifically, first, send terminal acquisition and treat file to be transmitted, carry from file to be transmitted
Take the initial burst of default size, send to receiving terminal.
Wherein, the size of initial burst can be arranged the most flexibly, such as can give tacit consent to setting
It is set to 16~64KB, preferably 32KB.
Certainly, it will be appreciated by those skilled in the art that it is that the size of initial burst can also basis
Currently transmitted terminal and the current Bluetooth communication signal intensity received between terminal are arranged.
After completing the transmission of initial burst, transmission terminal is according to default stripping strategy, dynamically
Adjust the burst size next time transmitting burst in the remaining data of described file to be transmitted, and depend on
According to described burst size transmission transmission burst next time to receiving terminal, until file to be transmitted passes
It is totally lost complete.
Specifically, can be according to sending terminal and the current network state (ratio received between terminal
Such as current Bluetooth communication signal intensity, disturbed condition etc.), remaining data size, and upper one
Secondary sliced transmission situation (transfer rate of such as last burst, transmission size), dynamically adjusts
The remaining data of whole file to be transmitted transmits the size of burst (such as next time
16~256KB), and with this principle, the remaining data of file to be transmitted is carried out burst, until
All Files data end of transmission.
More specifically, as a kind of embodiment, above-mentioned basis presets stripping strategy, dynamically
The remaining data of ground adjustment file to be transmitted transmits the burst size of burst, and foundation next time
Described burst size transmission transmission burst next time is to receiving terminal, until described file to be transmitted
The process of end of transmission may include that
By sending terminal according to sending terminal and the current Bluetooth communication signal received between terminal
Intensity, the transfer rate of last transmission burst and size, and the remainder of file to be transmitted
According to size, calculate the burst size next time transmitting burst.
It will be appreciated by persons skilled in the art that at the remainder dynamically adjusting file to be transmitted
When transmitting the size of burst according to, a calculating can be designed based on above-mentioned correlative factor next time
Formula, can be such as a linear function, in this linear function, can introduce correction factor,
This correction factor is calculated by above-mentioned correlative factor.
As another embodiment, above-mentioned basis presets stripping strategy, dynamically adjusts to be passed
The remaining data of defeated file transmits the burst size of burst next time, and big according to described burst
Little transmission transmits burst to receiving terminal next time, until described file end of transmission to be transmitted
Process may include that
By receiving terminal according to sending terminal and the current Bluetooth communication signal received between terminal
Intensity, the transfer rate of last transmission burst and size, and the remainder of file to be transmitted
According to size, calculate the burst size next time transmitting burst, and be uploaded to send terminal, by sending out
End of making arrangements for his funeral transmits next burst according to this burst size.
The present embodiment passes through such scheme, by dynamically adjusting burst size, it is possible to reduce data
Transmission is time-consuming, especially when transmitting larger data, improve terminal room data transmission capabilities and
Efficiency.
It follows that the present embodiment is by such scheme, sends terminal with receiving terminal and set up indigo plant
Tooth connects, and obtains file to be transmitted;The initial burst presetting size is extracted from file to be transmitted,
Send to receiving terminal;According to default stripping strategy, dynamically adjust the residue of file to be transmitted
Data are transmitted the burst size of burst next time, and sends next time according to described burst size
Transmission burst is to receiving terminal, until described file end of transmission to be transmitted, from there through dynamically
Adjust burst size, it is possible to reduce data transmission is time-consuming, especially when transmitting larger data,
Improve data transmission capabilities and the efficiency of terminal room.
As shown in figure 12, third embodiment of the invention proposes a kind of file transmission terminal, based on
Embodiment shown in above-mentioned Figure 11, this terminal also includes:
Module 200 is set, the most blue for basis and the current Bluetooth communication received between terminal
Tooth communication signal intensity, arranges initial burst size;Or, receive described reception terminal and send
Initial burst size, described initial burst size by described reception terminal according to described file
The current Bluetooth communication current Bluetooth communication signal intensity of transmission terminal and arrange.
Comparing the embodiment shown in above-mentioned Figure 11, it is big that the present embodiment also includes arranging initial burst
Little scheme.
As a kind of embodiment, can be by sending terminal according to described transmission terminal with reception eventually
Current Bluetooth communication signal intensity between end, arranges initial burst size;
Or, as another embodiment, can be by receiving terminal according to described transmission terminal
And the current Bluetooth communication signal intensity received between terminal arranges initial burst size.Then,
Receive terminal to be sent to send terminal by the initial burst size arranged.
The present embodiment passes through such scheme, by arranging initial burst size, sends terminal and connects
Receive terminal and set up bluetooth connection, when transmitting file, send terminal and extract from file to be transmitted
Preset the initial burst of size, send to receiving terminal;According to default stripping strategy, dynamically
Adjust the burst size next time transmitting burst in the remaining data of file to be transmitted, and according to institute
State burst size send next time transmission burst to receiving terminal, until described file to be transmitted pass
It is totally lost complete, from there through dynamically adjusting burst size, it is possible to reduce data transmission is time-consuming, especially
It is when transmitting larger data, improves data transmission capabilities and the efficiency of terminal room;In addition this
Bright scheme can also support breakpoint transmission, improves data transmission capabilities further.
Further, described sliced transmission module 202, it is additionally operable in data transmission procedure,
And if after receiving between terminal bluetooth communication disconnecting and recovering, obtaining described file to be transmitted
Transmission breakpoint;Based on described transmission breakpoint, resume the remaining data pair of described file to be transmitted
The burst answered is to described reception terminal
The present embodiment scheme can also support breakpoint transmission, improves data transmission capabilities further.
Specifically, in data transmission procedure, if blue between described transmission terminal and reception terminal
After tooth communication disconnecting and recovery, the transmission sending the terminal described file to be transmitted of acquisition is broken
Point.
As one embodiment, send terminal and actively can resume dividing of correspondence to reception terminal
Sheet is to described reception terminal, it is also possible to resumed dividing of correspondence by receiving terminal request transmission terminal
Sheet, the burst that the present embodiment resumes correspondence with reception terminal request transmission terminal is illustrated.
When sending initial burst, burst original position is 0, and for resuming original position
Determine, can determine according to the transmission breakpoint of file to be transmitted.Specifically can use such as lower section
Case:
As a kind of embodiment, described in send terminal to described reception terminal and send file and resume
Request, by described reception terminal according to the file transfer data received, determines transmission breakpoint
Information, and the echo message of described transmission breakpoint information is carried to described transmission terminal feedback;Send out
End of making arrangements for his funeral receives the echo message that described reception terminal sends, and obtains institute from described echo message
State the transmission breakpoint of file to be transmitted.
Or, as another embodiment, described transmission terminal receives described reception terminal and sends out
The file carrying transmission breakpoint information sent resumes request, and described reception terminal is according to receiving
File transfer data determine described transmission breakpoint information;Send terminal to resume from described file
Request obtains described transmission breakpoint.
Afterwards, based on described transmission breakpoint, resume the remaining data burst of file to be transmitted to institute
State reception terminal.
The present embodiment passes through such scheme, by arranging initial burst size, sends terminal and connects
Receive terminal and set up bluetooth connection, when transmitting file, send terminal and extract from file to be transmitted
Preset the initial burst of size, send to receiving terminal;According to default stripping strategy, dynamically
Adjust the burst size next time transmitting burst in the remaining data of file to be transmitted, and according to institute
State burst size send next time transmission burst to receiving terminal, until described file to be transmitted pass
It is totally lost complete, from there through dynamically adjusting burst size, number can be ensured according to bluetooth actual environment
According to transmission, reduce data transmission time-consuming, especially when transmitting larger data, improve terminal room
Data transmission capabilities and efficiency;In addition the present invention program can also support breakpoint transmission, enters one
Step improves data transmission capabilities.
Additionally it should be noted that network is had no progeny between terminal and reception terminal sending,
Send terminal and can also attempt to retransmission mechanism, retransmit current slice in the given time, until working as
Front burst retransmits successfully, or stops when the time reaches retransmitting.Thus improve having of data transmission
Effect property.
Also, it should be noted in this article, term " include ", " comprising " or it is any
Other variants are intended to comprising of nonexcludability, so that include the mistake of a series of key element
Journey, method, article or device not only include those key elements, but also include the most clearly arranging
Other key elements gone out, or also include being consolidated by this process, method, article or device
Some key elements.In the case of there is no more restriction, statement " including ... " limit
Key element, it is not excluded that also deposit in including the process of this key element, method, article or device
In other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art it can be understood that
The mode of required general hardware platform can be added by software to above-described embodiment method to realize,
Can certainly pass through hardware, but a lot of in the case of the former is more preferably embodiment.Based on this
The understanding of sample, the portion that prior art is contributed by technical scheme the most in other words
Dividing and can embody with the form of software product, this computer software product is stored in one and deposits
In storage media (such as ROM/RAM, magnetic disc, CD), including some instructions with so that one
Station terminal equipment (can be mobile phone, computer, server, or the network equipment etc.) performs
Method described in each embodiment of the present invention.
The foregoing is only the preferred embodiments of the present invention, not thereby limit the patent of the present invention
Scope, every equivalent structure utilizing description of the invention and accompanying drawing content to be made or flow process become
Change, or be directly or indirectly used in other relevant technical field, be the most in like manner included in the present invention
Scope of patent protection in.
Claims (15)
1. a document transmission method, it is characterised in that including:
Set up bluetooth communication with reception terminal to be connected;
According to default stripping strategy, dynamically adjust transmission point next time in the remaining data of file to be transmitted
The burst size of sheet, and according to described burst size transmission transmission burst next time to receiving terminal, until
Described file end of transmission to be transmitted.
Method the most according to claim 1, it is characterised in that described blue with reception terminal foundation
After tooth connects, also include:
From described file to be transmitted, extract the initial burst presetting size, send to receiving terminal.
Method the most according to claim 2, it is characterised in that described and reception terminal sets up bluetooth
Also include after connection:
According to the current Bluetooth communication signal intensity received between terminal, initial burst size is set;
Or, receiving the initial burst size that described reception terminal sends, described initial burst size is by institute
State reception terminal to arrange according to the current Bluetooth communication signal intensity with transmission terminal.
Method the most according to claim 1, it is characterised in that described basis presets stripping strategy,
Dynamically adjust the burst size next time transmitting burst in the remaining data of described file to be transmitted, and depend on
According to described burst size transmission transmission burst next time to receiving terminal, until the transmission of described file to be transmitted
Complete step includes:
Obtain and described reception terminal between current Bluetooth communication current Bluetooth communication signal intensity, upper one
The transfer rate of secondary transmission burst and size, and remaining data size;
According to the current Bluetooth communication current Bluetooth communication signal intensity between described reception terminal, upper one
The transfer rate of secondary transmission burst and size, and remaining data size, obtain and transmit burst next time
Burst size;
The transmission burst next time of described burst size is extracted from the remaining data of described file to be transmitted,
Send to receiving terminal;
Repeat said process, until described file end of transmission to be transmitted.
Method the most according to claim 1, it is characterised in that described basis presets stripping strategy,
Dynamically adjust the size next time transmitting burst in the remaining data of described file to be transmitted, and according to institute
State burst size and send next time that transmission burst is to receiving terminal, until described file end of transmission to be transmitted
Step include:
Receive the size next time transmitting burst that described reception terminal sends;Described transmit burst next time
Size current according to the current Bluetooth communication between described reception terminal and transmitting terminal by described reception terminal
Bluetooth communication signal intensity, the transfer rate of last transmission burst and size, and remaining data size
And acquire;
The transmission burst next time of described burst size is extracted from the remaining data of described file to be transmitted,
Send to receiving terminal;
Repeat said process, until described file end of transmission to be transmitted.
6. according to the method according to any one of claim 1-5, it is characterised in that described method is also wrapped
Include:
In data transmission procedure, and if the bluetooth communication disconnecting that receives between terminal and after recovering,
Obtain the transmission breakpoint of described file to be transmitted;
Based on described transmission breakpoint, resume the remaining data of described file to be transmitted to described reception terminal.
Method the most according to claim 6, it is characterised in that the described file to be transmitted of described acquisition
Transmission breakpoint step include:
Sending file to described reception terminal and resume request, described reception terminal passes according to the file received
Transmission of data determines transmission breakpoint information, and feeds back the echo message carrying described transmission breakpoint information;
Receive described echo message, and the transmission obtaining described file to be transmitted from described echo message is broken
Point;
Or,
Receive described reception terminal send carry transmission breakpoint information file resume request, described in connect
Receive terminal and determine described transmission breakpoint information according to the file transfer data received;
Resume from described file and request obtains described transmission breakpoint.
Method the most according to claim 7, it is characterised in that described transmission terminal is mobile phone, institute
Stating reception terminal is Wearable;Or, described transmission terminal is Wearable, and described reception is eventually
End is mobile phone.
9. a file transmission terminal, it is characterised in that including:
Connection establishment module, is connected for setting up bluetooth communication with reception terminal;
Sliced transmission module, for according to presetting stripping strategy, dynamically adjusting the residue of file to be transmitted
Data are transmitted the burst size of burst next time, and sends transmission point next time according to described burst size
Sheet is to receiving terminal, until described file end of transmission to be transmitted.
Terminal the most according to claim 9, it is characterised in that described terminal also includes:
Initial transmission module, for receive terminal and set up after bluetooth is connected, from described file to be transmitted
The initial burst of size is preset in middle extraction, sends to receiving terminal.
11. terminals according to claim 10, it is characterised in that described terminal also includes:
Module is set, the current Bluetooth communication current Bluetooth communication signal between basis and reception terminal
Intensity, arranges initial burst size;Or, receive the initial burst size that described reception terminal sends,
Described initial burst size by described reception terminal according to the current Bluetooth communication with described file transmission terminal
Current Bluetooth communication signal intensity and arrange.
12. terminals according to claim 9, it is characterised in that
Described sliced transmission module, the current Bluetooth communication being additionally operable to obtain between described reception terminal is worked as
Front bluetooth communication signal intensity, the transfer rate of last transmission burst and size, and remaining data is big
Little;According to and described reception terminal between current Bluetooth communication current Bluetooth communication signal intensity, on
Once transmit transfer rate and the size of burst, and remaining data size, obtain and transmit burst next time
Burst size;The biography next time of described burst size is extracted from the remaining data of described file to be transmitted
Defeated burst, sends to receiving terminal;Repeat said process, until described file end of transmission to be transmitted.
13. terminals according to claim 9, it is characterised in that
Described sliced transmission module, is additionally operable to receive the burst of transmission next time that described reception terminal sends
Size;The described size next time transmitting burst by described reception terminal according to described reception terminal with described
Current Bluetooth communication current Bluetooth communication signal intensity between file transmission terminal, last transmission burst
Transfer rate and size, and remaining data size and acquire;Remaining from described file to be transmitted
Described in remaining extracting data, the transmission burst next time of burst size, sends to receiving terminal;Repeat above-mentioned
Process, until described file end of transmission to be transmitted.
14. according to the terminal according to any one of claim 9-13, it is characterised in that
Described sliced transmission module, is additionally operable in data transmission procedure, and if receiving bluetooth between terminal
After communication disconnecting and recovery, obtain the transmission breakpoint of described file to be transmitted;Break based on described transmission
Point, resumes the burst extremely described reception terminal that the remaining data of described file to be transmitted is corresponding.
15. terminals according to claim 14, it is characterised in that
Described sliced transmission module, is additionally operable to send file to described receiving terminal and resumes request, described reception
Terminal, according to existing file transfer data, determines transmission breakpoint information, and feedback carries described transmission
The echo message of breakpoint information;
Described sliced transmission module, is additionally operable to receive described echo message, and obtains from described echo message
Take the transmission breakpoint of described file to be transmitted;Or, receive the transmission of described reception terminal carries transmission
The file of breakpoint information resumes request, and described reception terminal is determined according to the file transfer data received
Described transmission breakpoint information;Described sliced transmission module, is additionally operable to resume request from described file obtain
Described transmission breakpoint.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510278012.5A CN106302589B (en) | 2015-05-27 | 2015-05-27 | File transmission method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510278012.5A CN106302589B (en) | 2015-05-27 | 2015-05-27 | File transmission method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106302589A true CN106302589A (en) | 2017-01-04 |
CN106302589B CN106302589B (en) | 2020-07-28 |
Family
ID=57635173
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510278012.5A Active CN106302589B (en) | 2015-05-27 | 2015-05-27 | File transmission method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106302589B (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106993050A (en) * | 2017-04-28 | 2017-07-28 | 湖南中车时代通信信号有限公司 | It is a kind of that accelerating method is transmitted with changing the outfit data car based on Locomotive Running Monitor System |
CN107360191A (en) * | 2017-08-28 | 2017-11-17 | 腾讯科技(深圳)有限公司 | A kind of file acquisition method, device and storage device |
CN108075875A (en) * | 2018-01-15 | 2018-05-25 | 海信集团有限公司 | A kind of data transmission method and device based on NB-IoT |
CN108574735A (en) * | 2018-04-11 | 2018-09-25 | 努比亚技术有限公司 | Data processing method, terminal and computer readable storage medium |
WO2018184536A1 (en) * | 2017-04-07 | 2018-10-11 | Oppo广东移动通信有限公司 | Data transmission method, and sending end device |
CN109150935A (en) * | 2017-06-19 | 2019-01-04 | 深圳联友科技有限公司 | A kind of document transmission method, device and mobile terminal |
CN110139180A (en) * | 2019-04-08 | 2019-08-16 | 努比亚技术有限公司 | Progress control method, device and computer readable storage medium |
CN110611644A (en) * | 2018-06-15 | 2019-12-24 | 视联动力信息技术股份有限公司 | Data transmission method and device |
CN111245949A (en) * | 2020-01-19 | 2020-06-05 | 中国建设银行股份有限公司 | File filing and transmission method, device and equipment |
CN111343098A (en) * | 2020-02-13 | 2020-06-26 | 腾讯科技(深圳)有限公司 | Data interaction method and device, computer equipment and storage medium |
CN112256297A (en) * | 2020-09-24 | 2021-01-22 | 苏宁智能终端有限公司 | Bluetooth peripheral firmware upgrading method and system and mobile phone terminal |
CN113483827A (en) * | 2021-07-26 | 2021-10-08 | 西安芯海微电子科技有限公司 | Wearable device, and data processing method and device of wearable device |
CN113518108A (en) * | 2021-04-23 | 2021-10-19 | 北京奇艺世纪科技有限公司 | Fragment uploading method, device, equipment and storage medium |
CN113765945A (en) * | 2020-06-01 | 2021-12-07 | 深圳兆日科技股份有限公司 | File dynamic fragmentation transmission method, device, equipment and storage medium |
CN115242782A (en) * | 2022-09-21 | 2022-10-25 | 之江实验室 | Large file fragment transmission method and transmission architecture between super-computing centers |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112423297A (en) * | 2020-11-16 | 2021-02-26 | 重庆满集网络科技有限公司 | Cross-border e-commerce and mobile terminal interaction method, system and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001054370A2 (en) * | 2000-01-24 | 2001-07-26 | The University Of Manitoba | Method and system for segmented file transfer |
CN101217295A (en) * | 2007-12-29 | 2008-07-09 | 深圳华为通信技术有限公司 | File transmitting method, receiving method and device based on Bluetooth technique |
CN101557464A (en) * | 2009-04-01 | 2009-10-14 | 深圳市融创天下科技发展有限公司 | Method for dynamically embedding other media segments in video program playback |
CN102571966A (en) * | 2012-01-16 | 2012-07-11 | 上海方正数字出版技术有限公司 | Network transmission method for large extensible markup language (XML) document |
CN104022852A (en) * | 2014-06-25 | 2014-09-03 | 北京奇艺世纪科技有限公司 | Document transmission method and device |
CN104185216A (en) * | 2013-05-28 | 2014-12-03 | 腾讯科技(深圳)有限公司 | File transferring method and apparatus |
-
2015
- 2015-05-27 CN CN201510278012.5A patent/CN106302589B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001054370A2 (en) * | 2000-01-24 | 2001-07-26 | The University Of Manitoba | Method and system for segmented file transfer |
CN101217295A (en) * | 2007-12-29 | 2008-07-09 | 深圳华为通信技术有限公司 | File transmitting method, receiving method and device based on Bluetooth technique |
CN101557464A (en) * | 2009-04-01 | 2009-10-14 | 深圳市融创天下科技发展有限公司 | Method for dynamically embedding other media segments in video program playback |
CN102571966A (en) * | 2012-01-16 | 2012-07-11 | 上海方正数字出版技术有限公司 | Network transmission method for large extensible markup language (XML) document |
CN104185216A (en) * | 2013-05-28 | 2014-12-03 | 腾讯科技(深圳)有限公司 | File transferring method and apparatus |
CN104022852A (en) * | 2014-06-25 | 2014-09-03 | 北京奇艺世纪科技有限公司 | Document transmission method and device |
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110089040A (en) * | 2017-04-07 | 2019-08-02 | Oppo广东移动通信有限公司 | The method and sending ending equipment of data transmission |
US11345467B2 (en) * | 2017-04-07 | 2022-05-31 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Data transmission method, and sending end device |
CN110089040B (en) * | 2017-04-07 | 2022-04-15 | Oppo广东移动通信有限公司 | Data transmission method and sending end equipment |
EP3591854A4 (en) * | 2017-04-07 | 2020-03-11 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Data transmission method, and sending end device |
WO2018184536A1 (en) * | 2017-04-07 | 2018-10-11 | Oppo广东移动通信有限公司 | Data transmission method, and sending end device |
CN108695998A (en) * | 2017-04-07 | 2018-10-23 | Oppo广东移动通信有限公司 | Data transmission method, device, storage medium and electronic equipment |
WO2019192586A1 (en) * | 2017-04-07 | 2019-10-10 | Oppo广东移动通信有限公司 | Data transmission method and apparatus, storage medium, and electronic device |
CN106993050A (en) * | 2017-04-28 | 2017-07-28 | 湖南中车时代通信信号有限公司 | It is a kind of that accelerating method is transmitted with changing the outfit data car based on Locomotive Running Monitor System |
CN109150935A (en) * | 2017-06-19 | 2019-01-04 | 深圳联友科技有限公司 | A kind of document transmission method, device and mobile terminal |
CN109150935B (en) * | 2017-06-19 | 2021-09-10 | 深圳联友科技有限公司 | File transmission method and device and mobile terminal |
CN107360191A (en) * | 2017-08-28 | 2017-11-17 | 腾讯科技(深圳)有限公司 | A kind of file acquisition method, device and storage device |
CN107360191B (en) * | 2017-08-28 | 2021-02-02 | 腾讯科技(深圳)有限公司 | File acquisition method and device and storage equipment |
CN108075875A (en) * | 2018-01-15 | 2018-05-25 | 海信集团有限公司 | A kind of data transmission method and device based on NB-IoT |
CN108574735A (en) * | 2018-04-11 | 2018-09-25 | 努比亚技术有限公司 | Data processing method, terminal and computer readable storage medium |
CN108574735B (en) * | 2018-04-11 | 2022-07-12 | 柴森森 | Data processing method, terminal and computer readable storage medium |
CN110611644A (en) * | 2018-06-15 | 2019-12-24 | 视联动力信息技术股份有限公司 | Data transmission method and device |
CN110139180A (en) * | 2019-04-08 | 2019-08-16 | 努比亚技术有限公司 | Progress control method, device and computer readable storage medium |
CN111245949A (en) * | 2020-01-19 | 2020-06-05 | 中国建设银行股份有限公司 | File filing and transmission method, device and equipment |
CN111343098A (en) * | 2020-02-13 | 2020-06-26 | 腾讯科技(深圳)有限公司 | Data interaction method and device, computer equipment and storage medium |
CN113765945A (en) * | 2020-06-01 | 2021-12-07 | 深圳兆日科技股份有限公司 | File dynamic fragmentation transmission method, device, equipment and storage medium |
CN112256297A (en) * | 2020-09-24 | 2021-01-22 | 苏宁智能终端有限公司 | Bluetooth peripheral firmware upgrading method and system and mobile phone terminal |
CN113518108A (en) * | 2021-04-23 | 2021-10-19 | 北京奇艺世纪科技有限公司 | Fragment uploading method, device, equipment and storage medium |
CN113483827A (en) * | 2021-07-26 | 2021-10-08 | 西安芯海微电子科技有限公司 | Wearable device, and data processing method and device of wearable device |
CN115242782A (en) * | 2022-09-21 | 2022-10-25 | 之江实验室 | Large file fragment transmission method and transmission architecture between super-computing centers |
Also Published As
Publication number | Publication date |
---|---|
CN106302589B (en) | 2020-07-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106302589A (en) | Document transmission method and terminal | |
CN106354023A (en) | Method for controlling terminal device by mobile terminal, mobile terminal and system | |
CN104808912B (en) | Inputting interface method of adjustment and device | |
CN104731512B (en) | The method, apparatus and terminal that picture is shared | |
CN106453538A (en) | Screen sharing apparatus and method | |
CN106130734A (en) | The control method of mobile terminal and control device | |
CN104965665B (en) | A kind of information processing method and device, terminal | |
CN106303088A (en) | Prompting control method and mobile terminal | |
CN105100673B (en) | Desktop sharing method and device based on VoLTE | |
CN106155695A (en) | The removing control device and method of background application | |
CN106488420A (en) | Call processing method, apparatus and system | |
CN105323341B (en) | A kind of interactive device and exchange method of mobile terminal | |
CN106775372A (en) | A kind of display adjusting method of suspension procedure disk, device and terminal | |
CN106658159A (en) | Control method and first electronic equipment, and target equipment | |
CN107104970A (en) | A kind of regular and synchronized processing method, system, rule server and gray scale server | |
CN105764085A (en) | Abnormal electricity consumption detection method and terminal | |
CN106873936A (en) | Electronic equipment and information processing method | |
CN106302086A (en) | A kind of different mobile terminal carries out the method for content synchronization, Apparatus and system | |
CN106101455A (en) | Page jump management method, device and terminal | |
CN105739873A (en) | Screen capturing method and terminal | |
CN106249989A (en) | Social networking application program icon aligning method during a kind of sharing contents and mobile terminal | |
CN106302992A (en) | A kind of mobile terminal and screen lighting method | |
CN104735254B (en) | terminal screen locking method and system | |
CN105049610B (en) | A kind of input method and terminal | |
CN105100463B (en) | Terminal SIM switching device and method |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |