CN104780092A - File transmission method and device as well as server system - Google Patents
File transmission method and device as well as server system Download PDFInfo
- Publication number
- CN104780092A CN104780092A CN201410014644.6A CN201410014644A CN104780092A CN 104780092 A CN104780092 A CN 104780092A CN 201410014644 A CN201410014644 A CN 201410014644A CN 104780092 A CN104780092 A CN 104780092A
- Authority
- CN
- China
- Prior art keywords
- data block
- network speed
- byte
- file
- current network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The execution mode of this application discloses a file transmission method, a file transmission device and a server, wherein the file transmission method comprises the steps as follows: splitting out one or more than one first data block from a file to be transmitted; transmitting one or more than one first data block to a preset address according to a networking protocol; calculating current internet speed according to time used to transmit one or more than one first data block to the preset address; splitting out one or more than one second data block from the rest of the file to be transmitted; determining byte quantity of the second data block according to the current internet speed; and transmitting one or more than one second data block to the preset address according to the networking protocol. Each execution mode of this application can be used for dynamically adjusting size of the data block so as to rationally use network resources.
Description
Technical field
The application relates to network communication technology field, particularly a kind of document transmission method and device and server system.
Background technology
In network communication technology field, between server and user terminal, often carry out the upload and download of file.Such as, picture, audio file, video file or text information are uploaded onto the server by mobile phone or computer by user, or by mobile phone or computer downloaded stored picture in the server, audio file, video file or text information.
Upload between user terminal and server or download file time, breakpoint transmission technology can be utilized.In prior art, Divide File can be become the data block of some fixed sizes by breakpoint transmission technology.In document transmission process, can have multiple thread, a data block is uploaded or downloaded to each thread, and after all data blocks of a file is uploaded or downloaded and terminates, synthesis forms file more again.Carry out at file, in the process uploaded or download, the situation of bust this to be occurred because of network connectivity problem.Such as network connection interruption in transmitting procedure, this can cause the transmission of data blocks failure transmitted, and after network recovery, can continue transmission from the data block of bust this during network interruption, and without the need to all data blocks of file is transmitted again again.
Refer to Fig. 1, be exemplified as user terminal at this and adopt Http agreement to server up transfer file, the name of file is called " Test.jpg ", and file size is 1500 bytes, and using 100 bytes as a data block, such one has 15 data blocks.User terminal sends Request request to server, meeting include file title " Test.jpg " in a Request request, context " 0 ~ 99/1500 " and current data block.Wherein, " 0 ~ 99 " expression " byte initial address ~ byte end address " in context, " 1500 " represent the total bytes of file, and the byte of current data block is the byte of " byte initial address ~ byte end address " correspondence.After received server-side Request request, user terminal Response, i.e. a response message can be returned to.A conditional code can be comprised in Response.If successfully receive the content of Request request, and current data block is not last data block of described file, then conditional code is 206, represents that user terminal can continue transmission; If current data block is last data block of described file, then conditional code is 200, informs that the files passe of user terminal successfully terminates.
Existing breakpoint transmission technology, before beginning transfer of data, according to fixing rule to Divide File data block, the byte quantity that each data block comprises is fixing.For user terminal as mobile phone, there is the network speed difference using Wifi online and use 2G online.Like this, if the byte quantity that described data block comprises is more, then user use 2G to upload or download file time, because network speed is slower, make progress bar need the longer time can occur change, user cannot understand transmission progress in time, causes Consumer's Experience poor.If cater to the needs that user uses 2G to surf the Net, described data block is comprised less byte quantity, then when user uses Wifi to surf the Net and network speed is very fast, Internet resources cannot be fully used again, namely, after user terminal sends a Request request at every turn, the Response of waiting for server end is all needed.The byte number that described data block comprises is fewer, then the data block of a Divide File is more, and accordingly, in transmission file processes, user terminal needs more time at the Response of waiting for server.Moreover owing to using 2G online and using Wifi online, network speed often differs comparatively large, makes to be difficult to determine that suitable data block size can take into account both demands.
Summary of the invention
The object of the application's execution mode is to provide a kind of document transmission method and device and server system, mates with real network speed to make transmitting procedure as far as possible.
For solving the problems of the technologies described above, the application provides a kind of document transmission method, comprising:
One or more the first data blocks are gone out from file division to be transmitted;
According to procotol, one or more first data blocks described are mail to presumptive address;
The current network speed of described presumptive address Time Calculation used is mail to according to one or more first data blocks described;
Be partitioned into one or more the second data blocks from the remainder of file to be transmitted, determine the byte quantity of described second data block according to described current network speed;
According to procotol, one or more second data blocks described are mail to described presumptive address.
The application also provides a kind of file transfer means, comprising:
First deblocking module, for going out one or more the first data blocks from file division to be transmitted;
First sending module, for mailing to presumptive address according to procotol by one or more first data blocks described;
Speed calculation module, for mailing to the current network speed of described presumptive address Time Calculation used according to one or more first data blocks described;
Piecemeal confirms module, for determining the byte quantity of the second data block according to described current network speed;
Second deblocking module, for being partitioned into one or more the second data blocks from the remainder of file to be transmitted;
Second sending module, for mailing to described presumptive address according to procotol by one or more second data blocks described.
The application also provides a kind of server system, comprising:
First deblocking module, for going out one or more the first data blocks from file division to be transmitted;
First sending module, for mailing to presumptive address according to procotol by one or more first data blocks described;
Speed calculation module, for mailing to the current network speed of described presumptive address Time Calculation used according to one or more first data blocks described;
Piecemeal confirms module, for determining the byte quantity of the second data block according to described current network speed;
Second deblocking module, for being partitioned into one or more the second data blocks from the remainder of file to be transmitted;
Second sending module, for mailing to described presumptive address according to procotol by one or more second data blocks described.
The technical scheme provided from above the application's execution mode, the application realizes the size of dynamic adjusting data block, and then can meet the user demand of user.When network speed is very fast, the application can increase the byte quantity that data block comprises, thus decreases the response time waiting for presumptive address, and entirety shortens the transmitting time of file; When network speed is slower, can reduce the byte quantity that data block comprises, the progress bar that file is sent presents to user's continuous print progress status, is supplied to user's preferably experience.To sum up, the technical scheme of the application can take into account network speed, and network is as Wifi network faster, and the slower network of network speed is as the user demand of 2G network.
Accompanying drawing explanation
In order to be illustrated more clearly in the application's execution mode or technical scheme of the prior art, be briefly described to the accompanying drawing used required in execution mode or description of the prior art below, apparently, the accompanying drawing that the following describes is only some execution modes recorded in the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic diagram that the prior art point of interruption resumes technology;
The module map of the file transfer means that Fig. 2 provides for the application's execution mode;
The flow chart of the document transmission method that Fig. 3 provides for the application's execution mode;
The module map of the speed calculation module that Fig. 4 provides for the application's execution mode;
The flow chart of the current network speed of calculating that Fig. 5 provides for the application's execution mode;
The module map of the piecemeal confirmation module that Fig. 6 provides for the application's execution mode;
The flow chart of the byte quantity of confirmation second data block that Fig. 7 provides for the application's execution mode;
The module map of the piecemeal confirmation module that Fig. 8 provides for the application's execution mode;
The module map of the server system that Fig. 9 provides for the application's execution mode;
The flow chart of the server system that Figure 10 provides for the application's execution mode.
Embodiment
The application's execution mode provides a kind of document transmission method and device and server system.
Technical scheme in the application is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the application's execution mode, technical scheme in the application's execution mode is clearly and completely described, obviously, described execution mode is only the application's part execution mode, instead of whole execution modes.Based on the execution mode in the application, those of ordinary skill in the art are not making the every other execution mode obtained under creative work prerequisite, all should belong to the scope of the application's protection.
Refer to Fig. 2, the file transfer means 100 that an execution mode for the application provides.
File transfer means 100 can be arbitrary user terminal, also can be server, can also be server system.User terminal can be the mobile terminal of arbitrary form as mobile phone, panel computer or notebook computer, also can be desktop computer.Server can for realizing the hardware of the application's function, also can for being recorded in the logic body on hardware.Server system can be made up of some servers.
Scene be user by user terminal to server up transfer file time, user terminal is file transfer means 100, and file transfer means 100 sends the process of file to server, is the process to server up transfer file.Scene be user by user terminal from server download file time, server is file transfer means 100, and file transfer means 100 sends the process of file to user terminal, is the process of user terminal downloads file.The byte quantity that file transfer means 100 can comprise according to the data block in current network speed dynamic conditioning file process of transmitting, thus Internet resources shortening file transmitting time relatively can be made full use of when network speed is very fast, can show that transmission progress promotes the sensory experience of user to user preferably when network speed is slower.
File transfer means 100 can comprise: the first deblocking module 10, first sending module 20, speed calculation module 30, piecemeal confirm module 40, second deblocking module 50 and the second sending module 60.
First deblocking module 10 is for going out one or more the first data blocks from file division to be transmitted.
In the present embodiment, file to be transmitted is the file needing file transfer means 100 to send.Concrete, file to be transmitted can be picture, written historical materials or audio/video file etc., no longer enumerates as space is limited at this.When file transfer, Divide File to be transmitted is become one or more pieces, each piece is a data block.First deblocking module 10 for marking off the first data block from file to be transmitted, and the quantity of the first data block can be one or more.First data block piecemeal module 10 can specify the byte quantity that the first data block comprises.More than one the first data block can be more than one data block with identical bytes quantity.
First sending module 20 is for mailing to presumptive address according to procotol by one or more first data blocks.
In the present embodiment, procotol can be File Transfer Protocol or Http agreement.Presumptive address can be the network address of server or user terminal.Concrete, such as scene be user by user terminal to server up transfer file time, presumptive address is the network address of server; Again such as scene user by user terminal from server download file time, presumptive address is the network address of user terminal.If send data block first, then predetermined value can be set, namely more than first or one data block comprises a predetermined value byte, just can calculate current network speed further by sending more than first or one data block, thus can according to the size of current network speed adjustment data block.
Speed calculation module 30 is for mailing to the current network speed of described presumptive address Time Calculation used according to one or more first data blocks described.
In the present embodiment, described speed calculation module 30 can for having the chip of computing function, also can for realizing the logic body of calculation function.When calculating current network speed, can for be sent to described presumptive address Time Calculation used according to first data block, also can for be sent to described presumptive address Time Calculation altogether used according to more than one the first data block.Concrete, be exemplified as, the time sending first data block used is T, then calculate current network speed further according to the byte quantity of described first data block and time T used.For another example, the time sending 10 the first data blocks used is 10T, then calculate current network speed further according to the total byte quantity of these 10 the first data blocks and time 10T used.
Piecemeal confirms module 40, for determining the byte quantity of the second data block according to described current network speed.
Piecemeal confirms that module 40 can adjust size that is next or more than one data block waiting for transmission according to current network speed, namely adjusts the byte quantity included by data block waiting for transmission.Piecemeal confirms that module 40 can more current network speed and predetermined network speed, if current network speed is greater than predetermined network speed, the byte quantity of the second data block is set to the first predetermined bite quantity; If current network speed is less than predetermined network speed, the byte quantity arranging the second data block is the second predetermined bite quantity.Second predetermined bite quantity is less than the first predetermined bite quantity.Concrete, such as current network speed is 300K byte per second, predetermined network speed is 250K byte per second, first predetermined bite quantity is 40K byte, second predetermined bite quantity is 25K byte, piecemeal confirms that module 40 compares and show that current network speed is greater than predetermined network speed, then the byte quantity of data block is defined as 40K; When current network speed is decreased to 200K byte per second, piecemeal confirms that the byte quantity of data block is defined as 25K by module 40.
Piecemeal confirm module 40 can also more current network speed with send last data block time network speed, if current network speed is greater than network speed when sending last data block, the byte quantity arranging the next one waiting for transmission or more than one data block is greater than the byte quantity of last data block.If current network speed is less than network speed when sending last data block, the byte quantity arranging the next one waiting for transmission or more than one data block is less than the byte quantity of last data block.When current network speed is greater than network speed when sending last data block, can be the byte of byte quantity compared to the byte quantity increase predetermined quantity of last data block of the next one or more than one data block waiting for transmission.When current network speed is less than network speed when sending last data block, can be the byte of byte quantity compared to the byte quantity reduction predetermined quantity of last data block of the next one or more than one data block waiting for transmission.Concrete, such as current network speed is 300K byte per second, and network speed when sending last data block is 260K byte per second, and the byte quantity of last data block is 50K, and predetermined quantity is 10K byte, then byte quantity that is next or more than one data block is 60K; Such as current network speed is 200K byte per second, and network speed when sending last data block is 300K byte per second, and the byte quantity of last data block is 60K, and predetermined quantity is 10K byte, then byte quantity that is next or more than one data block is 50K.
Certainly, when network speed is highly stable, namely network speed is constant when not changing, and the byte quantity that can maintain data block does not change.
Second deblocking module 50 is for being partitioned into one or more the second data blocks from the remainder of file to be transmitted.
In the present embodiment, the second deblocking module 50 for after confirming that module 40 confirms the byte quantity that data block comprises at piecemeal, according to the byte quantity dividing data block determined.The part that file can not send by the second deblocking module 50 all according to the byte quantity dividing data block determined, also only can mark off the next one or more than one data block that will send.That is, the size of the next one or more than one data block that will send, network speed when being sent by the upper data block that one or more have sent is determined.Second data block can be the data block that the next one of the first data block will send, and also can be follow-up multiple data block that will send.In terms of content, the byte address of the second data block can be mutually continuous with the byte address of the first data block.
Second sending module 60 is for mailing to presumptive address according to procotol by one or more second data blocks described.Second sending module 60 is substantially identical with the first sending module 20, and difference is, one or more data blocks that the second deblocking module 50 divides are sent to described presumptive address by the second sending module 60.
The modules of the file transfer means 100 provided in present embodiment, can for realizing the electronic device of function of module, also can for be recorded on hardware and to be run the logic body realizing the function of module by hardware.
Refer to Fig. 3, present embodiment also provides a kind of document transmission method of file transfer means 100, and document transmission method comprises the steps.
Step S10: go out one or more the first data blocks from file division to be transmitted.
In the present embodiment, file to be transmitted is the file needing to send.Concrete, file to be transmitted can be picture, written historical materials or audio/video file etc., no longer enumerates as space is limited at this.When file transfer, Divide File to be transmitted is become one or more pieces, each piece is a data block.From file to be transmitted, mark off the first data block, the quantity of the first data block can be one or more.Further, when segmentation the first data block, the byte quantity that the first data block comprises can be specified.More than one the first data block can be more than one data block with identical bytes quantity.
Step S20: one or more first data blocks described are mail to presumptive address according to procotol.
In the present embodiment, procotol can be FTP procotol or http network agreement, and presumptive address is receive the server of file or the network address of user terminal.Concrete, such as scene be user by user terminal to server up transfer file time, presumptive address is the network address of server; Again such as scene user by user terminal from server download file time, presumptive address is the network address of user terminal.If send data block first, then predetermined value can be set, namely more than first or one data block comprises a predetermined value byte, just can calculate current network speed further by sending more than first or one data block, thus can according to the size of current network speed adjustment data block.
Step S30: mail to the current network speed of presumptive address Time Calculation used according to one or more first data blocks described.
In the present embodiment, when calculating current network speed, can for be sent to described presumptive address Time Calculation used according to a data block, also can for be sent to described presumptive address Time Calculation altogether used according to more than one data block.
Step S40: be partitioned into one or more the second data blocks from the remainder of file to be transmitted, determines the byte quantity of described second data block according to described current network speed.
Step S40 realizes the size according to the data block of the follow-up transmission of current network speed dynamic conditioning, realization like this is when network speed is very fast, increase the byte quantity that data block comprises, realization makes full use of network speed, shorten the transmitting time of file, when network speed is slower, adopt less data block piecemeal, make user clear perception can send the renewal of the progress bar of file, be supplied to the good experience of user.
In the present embodiment, size that is next or more than one data block waiting for transmission can be adjusted according to current network speed, namely adjust the byte quantity included by data block waiting for transmission.Concrete, can more current network speed and predetermined network speed, if current network speed is greater than predetermined network speed, the byte quantity of the second data block is set to the first predetermined bite quantity; If current network speed is less than predetermined network speed, the byte quantity arranging the second data block is the second predetermined bite quantity.Second predetermined bite quantity is less than the first predetermined bite quantity.Such as current network speed is 300K byte per second, predetermined network speed is 250K byte per second, and the first predetermined bite quantity is 40K byte, and the second predetermined bite quantity is 25K byte, piecemeal confirms that module 40 compares and show that current network speed is greater than predetermined network speed, then the byte quantity of data block is defined as 40K; When current network speed is decreased to 200K byte per second, piecemeal confirms that the byte quantity of data block is defined as 25K by module 40.
Certainly, more current network speed and network speed during transmission last data block can also be set to, if current network speed is greater than network speed when sending last or previous above data block, the byte quantity arranging the next one waiting for transmission or more than one data block is greater than the byte quantity of last or previous above data block.If current network speed is less than network speed when sending last data block, the byte quantity arranging the next one waiting for transmission or more than one data block is less than the byte quantity of last or previous above data block.When current network speed is greater than network speed when sending last data block, can be the byte of byte quantity compared to the byte quantity increase predetermined quantity of last data block of the next one or more than one data block waiting for transmission.When current network speed is less than network speed when sending last data block, can be the byte of byte quantity compared to the byte quantity reduction predetermined quantity of last data block of the next one or more than one data block waiting for transmission.Concrete, such as current network speed is 300K byte per second, and network speed when sending last data block is 260K byte per second, and the byte quantity of last data block is 50K, and predetermined quantity is 10K byte, then byte quantity that is next or more than one data block is 60K; Such as current network speed is 200K byte per second, and network speed when sending last data block is 300K byte per second, and the byte quantity of last data block is 60K, and predetermined quantity is 10K byte, then byte quantity that is next or more than one data block is 50K.
Certainly, when network speed is highly stable, namely network speed is constant when not changing, and the byte quantity that can maintain data block does not change.
In the present embodiment, after the byte quantity determining the second data block, further according to the byte quantity dividing data block determined.By the remainder of file to be transmitted all according to the byte quantity dividing data block determined, also can only can mark off the next one or more than one data block that will send.That is, the size of the next one or more than one data block that will send, network speed when being sent by the upper data block that one or more have sent is determined.Second data block can be the data block that the next one of the first data block will send, and also can be follow-up multiple data block that will send.In terms of content, the byte address of the second data block can be mutually continuous with the byte address of the first data block.
Step S50: one or more second data blocks described are mail to presumptive address according to procotol.
In the present embodiment, procotol can be File Transfer Protocol or Http agreement.Presumptive address can be the network address of server or user terminal.
The file transfer means that present embodiment provides and document transmission method, can according to the size of the data block in current network speed dynamic conditioning file process of transmitting, at network speed by when accelerating slowly, the byte quantity that the data block that can increase transmission comprises, thus realize making full use of network speed, shorten the delivery time of file; When network speed is from fast to slow, the byte quantity that data block can be comprised controls in suitable quantity, and the progress bar that file is sent upgrades timely, enables user understand the transmission progress of file timely, improves the operating experience of user.
Refer to Fig. 4, in one embodiment, the speed calculation module 30 of file transfer means 100 can comprise: logging modle 31, receiver module 33 and processing module 35.
Described logging modle 31 sends the time T of one or more the first data blocks described for recording
1.
In the present embodiment, logging modle 31 can be a memory with memory function, and preferably logging modle 31 is buffer memory, thus has data record and reading speed very fast.The time T1 of sending can for starting the time sending data block to presumptive address.Logging modle 31 also can will send time T
1record forms file, and that records each data block sends the time, is convenient to follow-up consulting.
Receiver module 33 is for receiving the response message beamed back from described presumptive address, and response message attaches time T
2.
Whether response message can represent presumptive address and receive the state of data block, such as whether successful data reception block, so just clearly can continue to send next or more than one data block, or resend current data block.When the data block that success receives is not last non-transmission data block of wanted transfer files, response message also shows that file transfer means 100 can continue the next one to server up transfer file or more than one data block.Concrete, such as, conditional code can be comprised in response message, the data block that presumptive address successfully receives sending module 10 and sends is shown when conditional code is " 206 ", show that when conditional code is " 200 " presumptive address successfully receives all data blocks of file, when conditional code is for showing time " 300 " that presumptive address receives data block failure.
The time T that response message is subsidiary
2the timestamp of one or more the first data blocks can be received for presumptive address, when presumptive address sends response message, in the lump timestamp be sent to file transfer means 100.The time T that response message is subsidiary
2can also for timestamp when receiver module 33 receives response message.Time T
2can be recorded on the buffer memory of server or user terminal, so save and store and allocating time, be convenient to follow-up use.Certainly, time T
2also can with send time T
1corresponding stored, record each data block from being issued to the concrete time situation receiving response message, be convenient to follow-up consulting.
Processing module 35 is for calculating current network speed V, V=M/(T
2-T
1).
In the present embodiment, processing module 35 can be one section and perform the process chip of specifying computing, also can be the logic body of one section of program composition.Formula V=M/(T
2-T
1) in, (T
2-T
1) can represent that file transfer means 100 is from transmission data block to the time interval that can send between next data block.Within this time interval, the byte quantity that File transmitting device 100 sends altogether is M, therefore current network speed V is M/(T
2-T
1).When sending more than one data block corresponding to file transfer means 100, concrete, can there is a concrete quantity, (T in this more than one data block
2-T
1) can represent that file transfer means 100 starts to send concrete number of data blocks to the time interval that can send concrete number of data blocks next time, the byte quantity that this concrete number of data blocks comprises adds up to M, therefore current network speed V is M/(T
2-T
1).
Refer to Fig. 5, in present embodiment, the step S30 of document transmission method: mail to the current network speed of presumptive address Time Calculation used according to one or more first data blocks described.Also comprise following sub-step.
Step S31: the time that the sends T of record one or more the first data blocks described
1.
In the present embodiment, sending time T1 can for starting to send to presumptive address the time of data block.The time T1 of sending can be recorded in the buffer memory of server or user terminal, so saves and stores and allocating time, be convenient to follow-up use.Certainly, time T is sent
1also can be recorded on other memory of server or user terminal, also can record formation file, that records each data block sends the time, is convenient to follow-up consulting
Step S33: receive the response message beamed back from described presumptive address, the subsidiary time T of described response message
2.
Whether in the present embodiment, response message can represent presumptive address and receive the state of data block, such as whether successful data reception block, so just clearly can continue to send next or more than one data block, or resend current data block.When the data block that success receives is not last non-transmission data block of wanted transfer files, response message also shows to continue the next one to server up transfer file or more than one data block.Concrete, such as, conditional code can be comprised in response message, the data block that presumptive address successfully receives sending module 10 and sends is shown when conditional code is " 206 ", show that when conditional code is " 200 " presumptive address successfully receives all data blocks of file, when conditional code is for showing time " 300 " that presumptive address receives data block failure.
The time T that response message is subsidiary
2the timestamp of one or more the first data blocks can be received, when presumptive address sends response message, in the lump by a part for the timestamp responsively information content for presumptive address.The time T that response message is subsidiary
2can also for timestamp when receiver module 33 receives response message.Time T
2can be recorded on the buffer memory of server or user terminal, so save and store and allocating time, be convenient to follow-up use.Certainly, time T
2also can with send time T
1corresponding stored, record each data block from being issued to the concrete time situation receiving response message, be convenient to follow-up consulting.
Step S35: calculate current network speed V, V=M/(T
2-T
1), wherein, M is the byte quantity that one or more first data blocks described comprise.
In the present embodiment, formula V=M/(T
2-T
1) in, (T
2-T
1) can represent from transmission data block to the time interval that can send between next data block.Within this time interval, the byte quantity sent altogether is M, therefore current network speed V is M/(T
2-T
1).Corresponding to when sending more than one data block, concrete, can there is a concrete quantity, (T in this more than one data block
2-T
1) can represent and start to send concrete number of data blocks to the time interval that can send concrete number of data blocks next time, the byte quantity that this concrete number of data blocks comprises adds up to M, therefore current network speed V is M/(T
2-T
1).
Refer to Fig. 6, in one embodiment, piecemeal confirms that module 40 comprises computing module 41 and comparison module 43.Computing module 41 and comparison module 43 realize determining the byte quantity that data block comprises.
Computing module 41 draws dynamic byte quantity for being multiplied with predefined parameter by current network speed.The value of predefined parameter is less than or equal to 1.The unit of current network speed is byte per second, and predefined parameter can be the retentivity time of eye, makes the product of current network speed and predefined parameter be byte quantity.There is the persistence of vision in the vision of people, namely after human eye retina is subject to light or pictorial stimulus, can nerve stimulation be produced and pass to brain, after the effect of light or figure terminates, the visual image produced in the brain can not disappear and certain time immediately, and this residual vision is the persistence of vision.When the time that the speed of image update is less than or continues close to the persistence of vision, the image that people sees is continuous print or close to continuous print.File transfer means 100 is in transmission file processes, the progress of file transmission can be represented to user by the mode of progress bar, file transfer means 100 is when determining the byte quantity of data block, introduce predefined parameter, make file transfer means 100 in the process sending file, if the byte quantity using dynamic byte quantity as data block, then progress bar can show user one comparatively continuous print file process of transmitting, and long period progress bar just updates the situation of progress to there will not be user to wait for.In the present embodiment, the unit of current network speed is byte per second, the unit of predefined parameter is second, then the product of current network speed and predefined parameter is the byte quantity sent after the time of predefined parameter according to current network speed, namely sends the time that a dynamic byte quantity byte needs to spend predefined parameter representative.Further, the span of predefined parameter is 0 < predefined parameter≤1, and preferably, the span of predefined parameter is 0 < predefined parameter≤0.4, and now the renewal continuity of progress bar reaches best.
Comparison module 43 compares dynamic byte quantity and the 3rd predetermined bite quantity, and the large value in the two is as the byte quantity of data block.Comparison module 43 internal preset has the 3rd predetermined bite quantity, and when file transfer means 100 sends first data block of file, data block can comprise a 3rd predetermined bite quantity byte.
Send in the process of file in file transfer means 100, dynamic byte quantity can change along with the change of current network speed.If when current network speed is very fast, then dynamic byte quantity can be larger, if when dynamic byte quantity is greater than the 3rd predetermined bite quantity, then adopt dynamic byte quantity as the byte quantity of data block, when current network speed increases further, dynamic byte quantity can increase further, thus realizes reducing file transfer means 100 and wait for that presumptive address beams back the time of response message, thus shorten the transmitting time of file, take full advantage of Internet resources.When current network speed reduces, dynamic byte quantity can corresponding reduction, and the progress bar realizing representing file transmission progress can show transmission progress timely, is supplied to user's preferably experience.
In some cases, current network speed slowly, if then now do not have predetermined bite quantity to make comparisons, then dynamic byte quantity can be very little, so can cause the piecemeal of file too much, the response message of the presumptive address to be subjected such as so can cause that the file transfer means 100 too much time spends in, causes the transmitting time of whole file long.By arranging the 3rd predetermined bite quantity, realization defines the lower limit that data block comprises byte quantity, namely when current network speed is slower, the numerical value of corresponding dynamic byte quantity is also very little, by dynamic byte quantity is compared with the 3rd predetermined bite quantity, if dynamic byte quantity is less than the 3rd predetermined bite quantity all the time, then byte quantity data block comprised is limited to the 3rd predetermined bite quantity.In the present embodiment, the span of the 3rd predetermined bite quantity be 5K byte to 30K byte, preferably, the 3rd predetermined bite quantity is 20K byte.
Be appreciated that, file transfer means 100 also can not comprise comparison module 43, using the byte quantity of dynamic byte quantity as the second data block, so can realize data block byte quantity can according to the speed of current network speed dynamic conditioning, realize make full use of Internet resources.
The file transfer means 100 that present embodiment provides can provide dynamic byte quantity according to current network speed by computing module 41, the data block size realizing file can change according to the change of current network speed, when network speed is very fast, network speed can be made full use of, when network speed reduces, also progress bar can be made to upgrade continuously, be supplied to user's preferably experience, by comparison module 43 when network speed is too low, the byte that data block comprises can be maintained a fixed value, avoid occurring that data block piecemeal is too much, there is the situation that file transmitting time is long.
Refer to Fig. 7, in one embodiment, in the step S40 of document transmission method: according to the byte quantity of current network speed determination data block.Also comprise following sub-step.
Step S41: current network speed is multiplied with predefined parameter and draws dynamic byte quantity.
The value of predefined parameter is less than or equal to 1.The unit of current network speed is byte per second, and predefined parameter can be the retentivity time of eye, makes the product of current network speed and predefined parameter be byte quantity.File transfer means 100 is in transmission file processes, the progress of file transmission can be represented to user by the mode of progress bar, file transfer means 100 is when determining the byte quantity of data block, introduce predefined parameter, make file transfer means 100 in the process sending file, if the byte quantity using dynamic byte quantity as data block, then progress bar can show user one comparatively continuous print file process of transmitting, and long period progress bar just updates the situation of progress to there will not be user to wait for.
In the present embodiment, the unit of current network speed is byte per second, the unit of predefined parameter is second, then the product of current network speed and predefined parameter is the byte quantity sent after the time of predefined parameter according to current network speed, namely sends the time that a dynamic byte quantity byte needs to spend predefined parameter representative.Further, the span of predefined parameter is 0 < predefined parameter≤1, and preferably, the span of predefined parameter is 0 < predefined parameter≤0.4, and now the renewal continuity of progress bar reaches best.
Step S43: compare dynamic byte quantity and the 3rd predetermined bite quantity, the large value in the two is as the byte quantity of data block.
By dynamic byte quantity and the 3rd predetermined bite quantity are compared, realize the minimum value that restricting data block comprises byte quantity, namely when current network speed makes dynamic byte quantity less more slowly, the byte quantity that data block comprises can maintain the 3rd predetermined bite quantity, so avoids the problem that the file block that causes when dynamic byte quantity is too small is too much.In the present embodiment, the span of the 3rd predetermined bite quantity be 5K byte to 30K byte, preferably, the 3rd predetermined bite quantity is 20K byte.
When current network speed is relatively very fast, dynamic byte quantity can maintain the state being greater than the 3rd predetermined bite quantity, and the byte quantity that now data block comprises can change along with dynamic byte number change.When current network speed increases, dynamic byte quantity can increase, and the byte quantity that data block is comprised increases, the piecemeal quantity of corresponding file reduces, thus decrease the time of file transfer means 100 wait-for-response information, shorten the transmitting time of file, take full advantage of Internet resources.When current network speed reduces, dynamic byte quantity can corresponding reduction, and the progress bar realizing representing file transmission progress can show transmission progress timely, is supplied to user's preferably experience.
Be appreciated that, document transmission method also can not comprise step S43, using the byte quantity of dynamic byte quantity as the second data block, so can realize data block byte quantity can according to the speed of current network speed dynamic conditioning, realize make full use of Internet resources.
In a concrete execution mode, user uses mobile phone to server up transfer file, and file comprises 1000K byte altogether, mobile phone is connected with Wifi network, when not using Wifi network, mobile phone can use 2G network to surf the Net, and supposes that the network speed that 2G network is surfed the Net is 10K.Under Wifi network, sending module 10 sends first data block, and the size giving tacit consent to the first data block is 20K byte, and record sends the time point T of the first data block
1, the time that record receives the response message of presumptive address is T
2, time difference T
2-T
1=0.06 second, then current network speed is V=20K ÷ 0.06 ≈ 333K byte per second, the value of predefined parameter is 0.2, then dynamic byte quantity is 66.6K byte, 3rd predetermined bite quantity is 20K, then using byte quantity that dynamic byte quantity 66.6K byte comprises as second data block, suppose in transmission second data block process, there is change in network speed, then share 0.16 second from sending second data block to receiving response message, then current network speed increases to 416K byte per second, corresponding dynamic byte quantity increases to 83.2K byte, the byte quantity that now the 3rd data block comprises is 83.2K byte, so realize the byte quantity that dynamic adjusting data block comprises, when network speed increases, network speed can be made full use of.In the process that data block sends one by one, network speed is slack-off, 0.55 second is shared to reception response message from transmission data block, current network speed is 151K byte per second, corresponding dynamic byte quantity is 30.2K byte per second, then the byte quantity that next data block comprises is 30.2K byte, and the size that so can realize data block mates current network speed, enable progress bar continuous print renewal relatively, user is provided preferably experience.Now, suppose that the mobile phone of user leaves Wifi network, when adopting 2G to continue upload file, data block sends 5.5 seconds used times, and further current network speed is 15K byte per second, and corresponding dynamic byte quantity is 3K, obvious dynamic byte quantity is less than the 3rd predetermined bite quantity, the byte quantity that next data block comprises is the 3rd predetermined bite quantity, avoids the too small file block that makes of dynamic byte quantity too much, makes the time of file transfer means 100 overspending wait for acceptance response information.
Refer to Fig. 8, in one embodiment, piecemeal confirms that module 40 comprises predetermined piecemeal table 45, and table look-up module 47.
There is in predetermined piecemeal table 45 network speed and the byte quantity corresponding with network speed.Piecemeal confirms that module 40 by searching the byte quantity corresponding with current network speed in predetermined piecemeal table 45, and using the byte quantity of byte quantity as data block.
In predetermined piecemeal table 45, can all provide corresponding byte quantity for each network speed, also can provide a byte quantity for a network speed scope.Corresponding byte quantity is all provided for each network speed, the byte quantity that data block is comprised constantly follows the change of current network speed, when network speed constantly increases, the byte quantity that data block comprises also increases along with network speed, can utilize Internet resources fully.A byte quantity is provided for a network speed scope, namely several network speed scopes are divided, the corresponding byte quantity of each network speed scope, when current network speed is comparatively stablized, the byte quantity that then data block comprises can maintain a fixed value, the full content of file, just without the need to changing a point block size at every turn, can be completed data block and divide by deblocking module 60 like this.
In the present embodiment, predetermined piecemeal table 45 for provide a byte quantity for a network speed scope, can refer to following table 1.
Table 1
Network speed (K byte per second) | Byte quantity (byte) |
<10 | 5K |
10~100 | 20K |
100~150 | 50K |
150~200 | 80K |
Table look-up module 47 for searching the byte quantity corresponding with current network speed in predetermined piecemeal table 45.The byte quantity that byte quantity can comprise as data block in deblocking module 60.
Predetermined piecemeal table 45 can for being stored in the file on memory, and table look-up module 47 can read predetermined piecemeal table 45 from memory, and corresponding current network speed searches corresponding byte quantity.Predetermined piecemeal table 45 and table look-up module 47 also can be realized by the logic body of program code writing by one.Certainly; under the enlightenment of present techniques marrow; those skilled in the art also may change above-mentioned table 1; or realize by other technological means the function that network table 55 corresponding to data block and table look-up module 47 realize; as long as but its function and effect and the application same or similar, all should be covered by the application's protection range.
In one embodiment, the step S40 of document transmission method comprises: search according to current network speed the byte quantity that predetermined piecemeal table obtains data block, and the corresponding network speed of predetermined piecemeal table records corresponding byte quantity.
Document transmission method by searching byte quantity corresponding to current network speed, using the byte quantity that byte quantity comprises as data block in predetermined piecemeal table.There is the byte quantity of corresponding network speed in predetermined piecemeal table, thus realize when network speed changes, can adjust the byte quantity that data block comprises according to the byte quantity in predetermined piecemeal table, thus the byte quantity that the data block realizing dynamically changing transmission comprises.
In predetermined piecemeal table, can all provide corresponding byte quantity for each network speed, also can provide a byte quantity for a network speed scope.Corresponding byte quantity is all provided for each network speed, the byte quantity that data block is comprised constantly follows the change of current network speed, when network speed constantly increases, the byte quantity that data block comprises also increases along with network speed, can utilize Internet resources fully.Provide a byte quantity for a network speed scope, namely divide several network speed scopes, the corresponding byte quantity of each network speed scope, when current network speed is comparatively stablized, then the byte quantity that data block comprises can maintain a fixed value.Concrete, can be following table 2 for predetermined piecemeal table citing.
Table 2
Network speed (K byte per second) | Byte quantity (byte) |
<10 | 5K |
10~100 | 20K |
100~150 | 50K |
150~200 | 80K |
Refer to Fig. 9, provide a kind of server system 400 in another embodiment, server system 400 comprises service server 410, caching server 420 and file server 430.Service server 410 comprises receiver 411 and synthesizer 413.
Data block, for after receiving the data block that file transfer means sends, is supplied to caching server 420 by receiver 411.File transfer means can send file to server system 400, such as file transfer means by files passe to server.As aforementioned embodiments introduction, in the process that file sends, file division can be become several data blocks send, receiver 411 can receive data block.Receiver 411 can pass through data bus transmission or socket(socket) mode the data block received is supplied to caching server 420.
In data block, there is identity information, the file name namely residing for data block, the total bytes of the bytes range that data block comprises and file.File name comprises " the original title " and " transmitting time " of file.Primitive name be called file send before title in file transfer means, can add after original title that when file transfer means sends file transmitting time forms file name, so avoid in server 430, there is the file name identical with " original title " and cause data block chaotic.Bytes range is that in the file content that comprises of data block, first character joint and last byte are in the arrangement sequence number in the whole byte of whole file, so just can know by bytes range and total bytes the position of content in whole file that data block comprises.
File after synthesis, for data block being merged into file after receiving all data blocks, is supplied to file server 430 by synthesizer 413.The data block of file can be sent to service server 410 by file transfer means respectively, and receiver 411 constantly receives data block, and is supplied to caching server 420 and stores, until receive last data block of file, namely file completes transmission.Synthesizer 413 obtains data block from caching server 420, according to the bytes range information in data block, data block synthesis is formed file.
Caching server 420 is for being stored in buffer memory by data block.The quantity of buffer memory can be one or several, can certainly for the array be made up of multiple buffer memory.Each buffer memory can be semiconductor memory.Data block can only exist in a buffer memory, also can disperse to be stored in multiple buffer memory.In the present embodiment, buffer memory is the array be made up of multiple buffer memory, and data block dispersion is stored in buffer memory.
In caching server 420, respective file is provided with storage index, namely the memory address recording each data block in index is stored, when data block is supplied to synthesizer 413, data block can be obtained according to the memory address stored in index, thus avoid data block storage to cause confusion.
The file that file server 430 synthesizes for preserving synthesizer 413.File server 430 is for storing file in memory, and memory can be magnetic disc store.After synthesizer 413 is by data block composite document, file is supplied to file server 430, after file server 430 receives file, file is stored in memory.
In prior art, file is sent to server by file transfer means, after server receives data block, directly data block is stored in magnetic disc store, after data block is all transmitted, data block is read out merging from magnetic disc store, because the addressing data reading speed in magnetic disc store is comparatively slow, makes the building-up process of picture in prior art slower.Such as, a user A uploads a photo, and server needs the data block in magnetic disc store to read photomontage one by one, this process need long period, then user B needs to wait for that the long period can have access to photo.Obviously, the file after user wishes to upload, can be seen by other user as early as possible, and prior art does not meet instructions for use.In the application, by by data-block cache in caching server, because the reading speed of caching server to data is far longer than magnetic disc store, thus shorten the generated time of whole picture, bring preferably experience to user.
Referring to Figure 10, is the method for work of server system 400.Receiver 411 receives the data block that file transfer means sends, and data block is supplied to caching server 420, and data block is stored in buffer memory by caching server 420, and is storing the memory address of recording data blocks in buffer memory in index.After receiver 411 receives last data block of file transfer means transmission, caching server 420 is according to the record stored in index, from buffer memory, read block is supplied to synthesizer 413, data block is merged the file forming file transfer means and send by synthesizer 413, and file is supplied to file server 430, file is preserved by file server 430.
The application can be used in numerous general or special purpose computing system environment or configuration.Such as: personal computer, server computer, handheld device or portable set, laptop device, multicomputer system, system, set top box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer, the distributed computing environment (DCE) comprising above any system or equipment etc. based on microprocessor.
The application can describe in the general context of computer executable instructions, such as program module.Usually, program module comprises the routine, program, object, assembly, data structure etc. that perform particular task or realize particular abstract data type.Also can put into practice the application in a distributed computing environment, in these distributed computing environment (DCE), be executed the task by the remote processing devices be connected by communication network.In a distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium comprising memory device.
Although depict the application by execution mode, those of ordinary skill in the art know, the application has many distortion and change and do not depart from the spirit of the application, and the claim appended by wishing comprises these distortion and change and do not depart from the spirit of the application.
Claims (25)
1. a document transmission method, is characterized in that, comprising:
One or more the first data blocks are gone out from file division to be transmitted;
According to procotol, one or more first data blocks described are mail to presumptive address;
The current network speed of described presumptive address Time Calculation used is mail to according to one or more first data blocks described;
Be partitioned into one or more the second data blocks from the remainder of file to be transmitted, determine the byte quantity of described second data block according to described current network speed;
According to procotol, one or more second data blocks described are mail to described presumptive address.
2. the method for claim 1, is characterized in that, the step calculating current network speed comprises:
The time that the sends T of record one or more the first data blocks described
1;
Receive the response message beamed back from described presumptive address, the subsidiary time T of described response message
2;
Calculate current network speed V, V=M/(T
2-T
1), wherein, M is the byte quantity that one or more first data blocks described comprise.
3. the method for claim 1, it is characterized in that, determine that the step of the byte quantity of described second data block comprises: compared with predetermined network speed by described current network speed, if described current network speed is greater than described predetermined network speed, the byte quantity of described second data block is set to the first predetermined bite quantity.
4. method as claimed in claim 3, it is characterized in that, determine that the step of the byte quantity of described second data block comprises: more described current network speed and described predetermined network speed, if described current network speed is less than described predetermined network speed, determine that the byte quantity of described second data block is the second predetermined bite quantity, described second predetermined bite quantity is less than described first predetermined bite quantity.
5. the method for claim 1, it is characterized in that, determine that the step of the byte quantity of described second data block comprises: network speed when more described current network speed and transmission last data block, if described current network speed is greater than network speed when sending last data block, the byte quantity arranging described second data block is greater than the byte quantity of described last data block.
6. the method for claim 1, it is characterized in that, determine that the step of the byte quantity of described second data block comprises: network speed when more described current network speed and transmission last data block, if described current network speed is less than network speed when sending last data block, the byte quantity arranging described second data block is less than the byte quantity of described last data block.
7. the method for claim 1, it is characterized in that, determine that the step of the byte quantity of described second data block comprises: being multiplied with predefined parameter by current network speed draws dynamic byte quantity, using the byte quantity of described dynamic byte quantity as described second data block.
8. the method for claim 1, is characterized in that, determines that the step of the byte quantity of described second data block comprises:
Current network speed is multiplied with predefined parameter and draws dynamic byte quantity;
More described dynamic byte quantity and the 3rd predetermined bite quantity, the large value in the two is as the byte quantity of the second data block.
9. method as claimed in claim 7 or 8, it is characterized in that, the span of described predefined parameter is: 0 < predefined parameter≤1.
10. method as claimed in claim 8, it is characterized in that, the span of described 3rd predetermined bite quantity is that 5K byte is to 30K byte.
11. the method for claim 1, is characterized in that, determine that the step of the byte quantity of described second data block comprises:
Search according to described current network speed the byte quantity that predetermined piecemeal table obtains data block, the corresponding network speed of described predetermined piecemeal table records corresponding byte quantity.
12. 1 kinds of file transfer means, is characterized in that, comprising:
First deblocking module, for going out one or more the first data blocks from file division to be transmitted;
First sending module, for mailing to presumptive address according to procotol by one or more first data blocks described;
Speed calculation module, for mailing to the current network speed of described presumptive address Time Calculation used according to one or more first data blocks described;
Piecemeal confirms module, for determining the byte quantity of the second data block according to described current network speed;
Second deblocking module, for being partitioned into one or more the second data blocks from the remainder of file to be transmitted;
Second sending module, for mailing to described presumptive address according to procotol by one or more second data blocks described.
13. devices as claimed in claim 12, it is characterized in that, described speed calculation module comprises:
Logging modle, for recording the time T sending one or more the first data blocks described
1;
Receiver module, for receiving the response message beamed back from described presumptive address, the subsidiary time T of described response message
2;
Processing module, for calculating current network speed V, V=M/(T
2-T
1).
14. devices as claimed in claim 12, it is characterized in that, described piecemeal confirms the more described current network speed of module and predetermined network speed, if described current network speed is greater than described predetermined network speed, the byte quantity of described second data block is set to the first predetermined bite quantity.
15. devices as claimed in claim 14, it is characterized in that, described piecemeal confirms the more described current network speed of module and predetermined network speed, if described current network speed is less than described predetermined network speed, determine that the byte quantity of described second data block is the second predetermined bite quantity, described second predetermined bite quantity is less than described first predetermined bite quantity.
16. devices as claimed in claim 12, it is characterized in that, described piecemeal confirms network speed when the more described current network speed of module and transmission last data block, if described current network speed is greater than network speed when sending last data block, the byte quantity arranging described second data block is greater than the byte quantity of described last data block.
17. devices as claimed in claim 12, it is characterized in that, described piecemeal confirms network speed when the more described current network speed of module and transmission last data block, if described current network speed is less than network speed when sending last data block, the byte quantity arranging described second data block is less than the byte quantity of described last data block.
18. devices as claimed in claim 12, is characterized in that, described piecemeal confirms that module also comprises:
Computing module, draws dynamic byte quantity for being multiplied with predefined parameter by current network speed, using the byte quantity of described dynamic byte quantity as described second data block.
19. devices as claimed in claim 12, is characterized in that, described piecemeal confirms that module also comprises:
Computing module, draws dynamic byte quantity for being multiplied with predefined parameter by current network speed;
Comparison module, more described dynamic byte quantity and the 3rd predetermined bite quantity, the large value in the two is as the byte quantity of data block.
20. devices as described in claim 18 or 19, it is characterized in that, the span of described predefined parameter is: 0 < predefined parameter≤1.
21. devices as claimed in claim 19, is characterized in that, the span of described 3rd predetermined bite quantity is that 5K byte is to 30K byte.
22. devices as claimed in claim 12, is characterized in that, described piecemeal confirms that module comprises:
Predetermined piecemeal table, comprises network speed and the byte quantity corresponding with described network speed;
Table look-up module, for searching the byte quantity corresponding with described current network speed in described predetermined piecemeal table.
23. 1 kinds of server systems, is characterized in that, comprising:
First deblocking module, for going out one or more the first data blocks from file division to be transmitted;
First sending module, for mailing to presumptive address according to procotol by one or more first data blocks described;
Speed calculation module, for mailing to the current network speed of described presumptive address Time Calculation used according to one or more first data blocks described;
Piecemeal confirms module, for determining the byte quantity of the second data block according to described current network speed;
Second deblocking module, for being partitioned into one or more the second data blocks from the remainder of file to be transmitted;
Second sending module, for mailing to described presumptive address according to procotol by one or more second data blocks described.
24. server systems as claimed in claim 23, it is characterized in that, described server system also comprises: service server, caching server and file server,
Described service server comprises: receiver, for after receiving the data block that file transfer means sends, described data block is supplied to described caching server; Synthesizer, for described data block being merged into file after receiving all data blocks, is supplied to file server by the file after synthesis;
Described caching server, for being stored in buffer memory by described data block;
Described file server, for preserving the file of described synthesizer synthesis.
25. server systems as claimed in claim 24, it is characterized in that, described buffer memory is cache memory array, is provided with storage index in described caching server, records the memory address of each data block in described storage index.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410014644.6A CN104780092A (en) | 2014-01-13 | 2014-01-13 | File transmission method and device as well as server system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410014644.6A CN104780092A (en) | 2014-01-13 | 2014-01-13 | File transmission method and device as well as server system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104780092A true CN104780092A (en) | 2015-07-15 |
Family
ID=53621347
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410014644.6A Pending CN104780092A (en) | 2014-01-13 | 2014-01-13 | File transmission method and device as well as server system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104780092A (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106790445A (en) * | 2016-12-02 | 2017-05-31 | 乐视控股(北京)有限公司 | Data transmission method, device and electronic equipment based on Samba agreements |
CN108875035A (en) * | 2018-06-25 | 2018-11-23 | 郑州云海信息技术有限公司 | The date storage method and relevant device of distributed file system |
CN109150935A (en) * | 2017-06-19 | 2019-01-04 | 深圳联友科技有限公司 | A kind of document transmission method, device and mobile terminal |
CN109831316A (en) * | 2018-12-17 | 2019-05-31 | 国网浙江省电力有限公司 | Massive logs real-time analyzer, real-time analysis method and readable storage medium storing program for executing |
CN110868275A (en) * | 2019-11-22 | 2020-03-06 | 珠海豹趣科技有限公司 | Communication control method and device between electronic whiteboards and electronic equipment |
CN111147332A (en) * | 2019-12-29 | 2020-05-12 | 北京浪潮数据技术有限公司 | Method, system and related device for determining uploading progress of cloud backup of storage system |
CN112153681A (en) * | 2020-09-22 | 2020-12-29 | 北京达佳互联信息技术有限公司 | Resource segmentation method and device, electronic equipment and storage medium |
CN112233273A (en) * | 2020-10-10 | 2021-01-15 | 苏州智加科技有限公司 | Data transmission method and device, vehicle-mounted equipment and storage medium |
CN113595685A (en) * | 2021-07-15 | 2021-11-02 | 上海晶赞融宣科技有限公司 | Data transmission method and device, storage medium and terminal |
CN113852563A (en) * | 2021-09-22 | 2021-12-28 | 深圳市元征科技股份有限公司 | Message data transmission method and device, terminal equipment and readable storage medium |
CN113965466A (en) * | 2021-09-30 | 2022-01-21 | 广西中科曙光云计算有限公司 | Data transmission system adaptive to network bandwidth |
CN114285838A (en) * | 2021-12-22 | 2022-04-05 | 中国农业银行股份有限公司 | File uploading method, device, system, storage medium and electronic equipment |
CN115333685A (en) * | 2022-10-10 | 2022-11-11 | 永鼎行远(南京)信息科技有限公司 | Intelligent information allocation system based on big data |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5764893A (en) * | 1994-08-03 | 1998-06-09 | Matsushita Electrical Co. Ltd. | Video-on-demand system uses adjusting positions of slots in a slot table to address additional image data distribution request from terminal devices |
CN101562635A (en) * | 2009-05-15 | 2009-10-21 | 中兴通讯股份有限公司 | Method and player for mobile streaming media on demand |
CN101616378A (en) * | 2009-07-24 | 2009-12-30 | 中兴通讯股份有限公司 | A kind of terminal and utilize device management protocol to carry out the method for transmission of messages |
CN102164317A (en) * | 2011-02-14 | 2011-08-24 | 上海高智科技发展有限公司 | Internet protocol (IP) set-top box-oriented multi-server segmented downloading system |
CN102611945A (en) * | 2011-12-19 | 2012-07-25 | 北京蓝汛通信技术有限责任公司 | Streaming media slicing method, slicing server and streaming media demand system |
CN103457973A (en) * | 2012-06-01 | 2013-12-18 | 深圳市腾讯计算机系统有限公司 | Image uploading method and system, image uploading client terminal and network server |
-
2014
- 2014-01-13 CN CN201410014644.6A patent/CN104780092A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5764893A (en) * | 1994-08-03 | 1998-06-09 | Matsushita Electrical Co. Ltd. | Video-on-demand system uses adjusting positions of slots in a slot table to address additional image data distribution request from terminal devices |
CN101562635A (en) * | 2009-05-15 | 2009-10-21 | 中兴通讯股份有限公司 | Method and player for mobile streaming media on demand |
CN101616378A (en) * | 2009-07-24 | 2009-12-30 | 中兴通讯股份有限公司 | A kind of terminal and utilize device management protocol to carry out the method for transmission of messages |
CN102164317A (en) * | 2011-02-14 | 2011-08-24 | 上海高智科技发展有限公司 | Internet protocol (IP) set-top box-oriented multi-server segmented downloading system |
CN102611945A (en) * | 2011-12-19 | 2012-07-25 | 北京蓝汛通信技术有限责任公司 | Streaming media slicing method, slicing server and streaming media demand system |
CN103457973A (en) * | 2012-06-01 | 2013-12-18 | 深圳市腾讯计算机系统有限公司 | Image uploading method and system, image uploading client terminal and network server |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106790445A (en) * | 2016-12-02 | 2017-05-31 | 乐视控股(北京)有限公司 | Data transmission method, device and electronic equipment based on Samba agreements |
CN109150935B (en) * | 2017-06-19 | 2021-09-10 | 深圳联友科技有限公司 | File transmission method and device and mobile terminal |
CN109150935A (en) * | 2017-06-19 | 2019-01-04 | 深圳联友科技有限公司 | A kind of document transmission method, device and mobile terminal |
CN108875035B (en) * | 2018-06-25 | 2022-02-18 | 郑州云海信息技术有限公司 | Data storage method of distributed file system and related equipment |
CN108875035A (en) * | 2018-06-25 | 2018-11-23 | 郑州云海信息技术有限公司 | The date storage method and relevant device of distributed file system |
CN109831316A (en) * | 2018-12-17 | 2019-05-31 | 国网浙江省电力有限公司 | Massive logs real-time analyzer, real-time analysis method and readable storage medium storing program for executing |
CN110868275A (en) * | 2019-11-22 | 2020-03-06 | 珠海豹趣科技有限公司 | Communication control method and device between electronic whiteboards and electronic equipment |
CN111147332B (en) * | 2019-12-29 | 2022-04-29 | 北京浪潮数据技术有限公司 | Method, system and related device for determining uploading progress of cloud backup of storage system |
CN111147332A (en) * | 2019-12-29 | 2020-05-12 | 北京浪潮数据技术有限公司 | Method, system and related device for determining uploading progress of cloud backup of storage system |
CN112153681A (en) * | 2020-09-22 | 2020-12-29 | 北京达佳互联信息技术有限公司 | Resource segmentation method and device, electronic equipment and storage medium |
CN112153681B (en) * | 2020-09-22 | 2024-02-23 | 北京达佳互联信息技术有限公司 | Resource segmentation method, device, electronic equipment and storage medium |
CN112233273A (en) * | 2020-10-10 | 2021-01-15 | 苏州智加科技有限公司 | Data transmission method and device, vehicle-mounted equipment and storage medium |
CN113595685A (en) * | 2021-07-15 | 2021-11-02 | 上海晶赞融宣科技有限公司 | Data transmission method and device, storage medium and terminal |
CN113852563A (en) * | 2021-09-22 | 2021-12-28 | 深圳市元征科技股份有限公司 | Message data transmission method and device, terminal equipment and readable storage medium |
CN113852563B (en) * | 2021-09-22 | 2023-10-31 | 深圳市元征科技股份有限公司 | Message data transmission method and device, terminal equipment and readable storage medium |
CN113965466A (en) * | 2021-09-30 | 2022-01-21 | 广西中科曙光云计算有限公司 | Data transmission system adaptive to network bandwidth |
CN114285838A (en) * | 2021-12-22 | 2022-04-05 | 中国农业银行股份有限公司 | File uploading method, device, system, storage medium and electronic equipment |
CN115333685A (en) * | 2022-10-10 | 2022-11-11 | 永鼎行远(南京)信息科技有限公司 | Intelligent information allocation system based on big data |
CN115333685B (en) * | 2022-10-10 | 2023-02-28 | 永鼎行远(南京)信息科技有限公司 | Intelligent information allocation system based on big data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104780092A (en) | File transmission method and device as well as server system | |
CN107943594B (en) | Data acquisition method and device | |
US8527610B2 (en) | Cache server control device, content distribution system, method of distributing content, and program | |
JP3812727B2 (en) | Information processing system | |
US20060195507A1 (en) | Method and system for providing users a lower fidelity alternative until a higher fidelity experience is available | |
CN108023953B (en) | High-availability implementation method and device for FTP service | |
US9900167B2 (en) | Document sharing method, system, and device | |
US7970881B2 (en) | Bypassing uploading of data from a wireless device using outbound attachment caching | |
CN110096660A (en) | Method, apparatus and electronic equipment for loading page picture | |
US20110246721A1 (en) | Method and apparatus for providing automatic synchronization appliance | |
US9917915B2 (en) | Information processing system, information processing apparatus, terminal apparatus and information transmission method for ordered transmission of stored information to be synchronously displayed at terminal apparatuses | |
CN110493350A (en) | File uploading method and device, electronic equipment and computer-readable medium | |
CN104410660A (en) | Method and device of downloading multimedia resources as well as router and server | |
US20170195384A1 (en) | Video Playing Method and Electronic Device | |
US20200320154A1 (en) | A webpage loading method, webpage loading system and server | |
CN111246228A (en) | Method, device, medium and electronic equipment for updating gift resources of live broadcast room | |
CN114610679A (en) | Storage device, data storage method thereof and cloud storage system | |
CN106250455A (en) | Mobile terminal document management method and system | |
US7660877B2 (en) | Systems and methods in which a provider is selected to service content requested by a client device | |
US20150326686A1 (en) | Method, Apparatus and System for Processing User Generated Content | |
US20040236857A1 (en) | Systems and methods for selecting a provider to service content requested by a client device | |
CN105721604A (en) | Data sending method and device based on downloading request of user | |
CN112203158B (en) | Image display method, device, system, equipment and medium | |
CN107171820B (en) | Information transmission, sending and acquisition method and device | |
US20100268794A1 (en) | Network transmission system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150715 |
|
RJ01 | Rejection of invention patent application after publication |