CN105450785A - File transmission method and device - Google Patents

File transmission method and device Download PDF

Info

Publication number
CN105450785A
CN105450785A CN201610050733.5A CN201610050733A CN105450785A CN 105450785 A CN105450785 A CN 105450785A CN 201610050733 A CN201610050733 A CN 201610050733A CN 105450785 A CN105450785 A CN 105450785A
Authority
CN
China
Prior art keywords
file
transmitted
subfile
priority
transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610050733.5A
Other languages
Chinese (zh)
Other versions
CN105450785B (en
Inventor
孙昭全
周全
李晓峰
金鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Visual Technology Co Ltd
Original Assignee
Qingdao Hisense Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201610050733.5A priority Critical patent/CN105450785B/en
Publication of CN105450785A publication Critical patent/CN105450785A/en
Application granted granted Critical
Publication of CN105450785B publication Critical patent/CN105450785B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a file transmission method and device. After a file to be transmitted is obtained, the file is split into at least one subfile, each subfile has a priority same as that of the corresponding file to be transmitted, the subfiles are transmitted according to the priority descending sequence, and when the priority of the file to be transmitted just obtained is higher than that of the currently transmitted subfile during transmission, transmission of the current file to be transmitted is suspended and transmitted subfiles of the currently transmitted file are recorded; then subfile transmission is conducted according to a new priority sequence. When the subfiles with higher priorities are transmitted, the suspended transmission process is recovered. Even if the currently transmitted file is large, response to transmission of files with higher priorities can be achieved in time; besides, no matter how well the current file to be transmitted is transmitted, the transmission process can be recovered after the files with higher priorities are transmitted, and increase of total transmission time is avoided.

Description

A kind of document transmission method and device
Technical field
The present invention relates to communication technical field, particularly relate to a kind of document transmission method and device.
Background technology
File transfer is carried out between two equipment, such as an equipment sends a pictures or one section of advertisement video, or a control information is to another equipment, the transmission opportunity of different documentation requirements i.e. priority different, be generally determine order of transmission according to priority order from high to low.
When finding, than the file of current transmission, there is the file of higher priority in transmitting procedure, need to adjust order of transmission, common way is after the file transfer of wait current transmission, transmission has the file of higher priority again, such as, the priority of file 1-5 arranges from high to low, transmit according to this order, if there be the file 6 higher than the priority of file 3 to need transmission when transfer files 3, after now first waiting file 3 all to transfer, again according to file 6, file 4, the sequential delivery of file 5, cause priority real-time response rapid not like this, particularly when the file of current transmission is excessive, the file of higher priority can not be processed in time.If but it is just simple in order to ensure that real time response speed abandons the file transmitted, then prioritised transmission has the file of higher priority, total transmission time can be made again to increase, such as size is that the file X of the current transmission of 10Mbytes transmits 9Mbytes, at this moment the file Y of higher priority is had to need transmission, if the transmitting procedure of execute file Y immediately, then after its end of transmission, file X still needs again to transmit, and is equivalent to add total transmission time.
Summary of the invention
The invention provides a kind of document transmission method and device, to solve when ensureing priority real time response speed, not affecting the problem in total transmission time.
In order to solve the problem, the invention discloses a kind of document transmission method, comprising the following steps:
Obtain at least one file to be transmitted;
Be at least one subfile by described file declustering to be transmitted, each subfile carries the identical priority of the to be transmitted file corresponding with it;
According to priority sequential delivery subfile from high to low; If the priority of the file to be transmitted of the priority ratio current transmission of the new file to be transmitted obtained is high, then suspends the transmitting procedure of current file to be transmitted, record the subfile transmitted in described current file to be transmitted; And according to new priority orders transmission subfile;
When after the whole end of transmission of all subfiles that there is higher priority than described current file to be transmitted, the subfile do not transmitted is proceeded transmission in described current file to be transmitted.
Compared with prior art, the present invention includes following advantage:
After obtaining file to be transmitted in the present invention, be at least one subfile by file declustering to be transmitted, each subfile carries the identical priority of the to be transmitted file corresponding with it, according to priority sequential delivery subfile from high to low, if the priority that there is the subfile of the priority ratio current transmission of the new file to be transmitted obtained in transmitting procedure is high, then suspend the transmitting procedure of current file to be transmitted, and record the subfile transmitted in described current file to be transmitted; Then according to new priority orders transmission subfile, can accomplish that the file of real-time selection higher priority preferentially transmits like this in the transmitting procedure of file.When after the subfile end of transmission with higher priority, recover the transmitting procedure of original non-end of transmission, proceed transmission by the subfile do not transmitted in original file current to be transmitted.Relative to prior art, even if current file to be transmitted is very large, the transmitting procedure of higher priority file also can be responded in time, and, no matter current file to be transmitted transmits how many, can recover after higher priority file transfer is complete, total avoid the transmission time increased.
Accompanying drawing explanation
Fig. 1 be the embodiment of the present invention two equipment between the schematic diagram of transfer files;
Fig. 2 is the step schematic diagram of the document transmission method of one embodiment of the invention;
Fig. 3 is the schematic diagram of the file interpolation File header information to be transmitted of one embodiment of the invention;
Fig. 4 is the schematic diagram that the file declustering to be transmitted of one embodiment of the invention becomes N number of subfile;
Fig. 5 is the step schematic diagram of the document transmission method of another embodiment of the present invention;
Fig. 6 is the sending end structure schematic diagram of the file transfer means of another embodiment of the present invention;
Fig. 7 is the receiving terminal structural representation of the file transfer means of another embodiment of the present invention.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
The present invention relates to transfer files between two equipment, the equipment of indication of the present invention can be comprise the equipment that mobile phone, PC, TV, flat board etc. can realize communication connection, also can be two modules in equipment.As shown in Figure 1, show the schematic diagram of transfer files between the present invention's two equipment, mark 11 describes the direction of file transfer, wherein real segment represents from device A and is sent to equipment B, phantom line segments represents from equipment B and is sent to device A, and mark 12 describes the device role determined according to paper conveyance direction, when file is sent to equipment B from device A, device A is as transmitting terminal, and equipment B is as receiving terminal; When file is sent to device A from equipment B, equipment B is as transmitting terminal, and device A is as receiving terminal.No matter be device A or equipment B, in the application of reality, all possibility, also can as a side of passive reception file data as the side initiatively sending file.In the following description, the equipment sending file is also referred to as transmitting terminal, and the equipment receiving file is also referred to as receiving terminal.
embodiment one:
With reference to Fig. 2, show a kind of document transmission method of the embodiment of the present invention one, the method specifically can comprise the following steps:
Step 201, obtains at least one file to be transmitted.
In the embodiment of the present invention, file to be transmitted comprises word, picture, video or control information.For the file that each is determined, if equipment B will be passed to from device A, application person will pre-set the priority attribute of file to be transmitted before transmitting, the present invention proposes the concept of File header information for this reason, File header information is relied on to identify the association attributes of this file to be transmitted, comprise file size to be transmitted and precedence information, by this File header information, make the priority set can be informed to the split cells (can describe in detail) of lower one deck below.File to be transmitted adds the schematic diagram of File header information as shown in Figure 3.Can see that the data of file to be transmitted remain unchanged, only in the original position of file to be transmitted, the field of the description document size that affix is extra and File Privilege, can comprise file in addition the need of information such as verifications.
Particularly, to the setting of priority, according to the actual demand of user, 1 ~ P(P>1 can be preset) individual rank, the priority setting 1 correspondence is the highest, and numerical value is larger, and its priority is lower.
Described file declustering to be transmitted is at least one subfile by step 202, and each subfile carries the identical priority of the to be transmitted file corresponding with it.
For convenience of splitting, the maximum transfer size M of setting subfile, maximum transfer size M is equivalent to a data unit, for each file to be transmitted, all repartitions file based on this data unit.Each new data generated based on data unit is referred to as subfile.
Suppose that file size to be transmitted is K, rounding up to K/M obtains the number N that file division to be transmitted is subfile.Particularly, if K can be divided exactly by M, then n=K/M; If K can not be divided exactly by M, then n=K/M+1, the size of last subfile is decided by the remainder of whole file size to be transmitted divided by the maximum transfer size of subfile.
The numerical value of maximum transfer size M can be determined according to the performance of platform reality, in actual mechanical process, in conjunction with the size of expection file to be transmitted, and the different numerical value of testing setup is on the impact of transmission speed, the present embodiment adopts 1Mbytes, but does not limit, also 64Kbytes can be adopted, the numerical value such as 256Kbytes, 512Kbytes, 2Mbytes.
In order to the information making each subfile can both carry priority, now need the subfile header extra to subfile affix, comprise mark, the number of subfile, the sequence number of subfile of corresponding file to be transmitted, and the precedence information of subfile, as Fig. 4, show the schematic diagram that file declustering to be transmitted becomes N number of subfile.In figure, the mark of the file to be transmitted in the subfile header of subfile 1, for representing which file declustering to be transmitted is subfile 1 be by.The number of subfile for representing that transfer files is split as total number N of subfile, the sequence number of subfile for represent subfile 1 be in subfile sequence which, the precedence information of subfile 1 inherits the priority of file to be transmitted.
Step 203, according to priority sequential delivery subfile from high to low; If the priority of the file to be transmitted of the priority ratio current transmission of the new file to be transmitted obtained is high, then suspends the transmitting procedure of current file to be transmitted, record the subfile transmitted in described current file to be transmitted; And according to new priority orders transmission subfile.
For example, 3 file D1, D2, D3 to be transmitted are obtained in step 201.Priority is according to sorting from high to low: D2, D1, D3.In step 202, file D1 to be transmitted is split as 2 subfile Z11, Z12, and file D2 to be transmitted is split as 2 subfile Z21, Z22, and file D3 to be transmitted is split as 4 subfile Z31, Z32, Z33, Z34.So, according to priority sequential delivery subfile from high to low, its order is: Z21, Z22, Z11, Z12, Z31, Z32, Z33, Z34.The transmitting procedure defining file to be transmitted is herein by the process of whole for subfile corresponding for this file to be transmitted end of transmission, for file D3 to be transmitted, only have and subfile Z31, Z32, Z33, Z34 are all sent, the transmitting procedure of file D3 to be transmitted is just finished.
For the transmitting procedure of a file to be transmitted, the subfile of its transmission correspondence can be transmitted according to the numeric order of subfile, also can opportunistic transmission.Such as, the transmitting procedure of file D3 to be transmitted can according to the order of Z31, Z32, Z33, Z34, also can according to the order of Z33, Z32, Z31, Z34.The present embodiment preferably transmits according to the numeric order of subfile, to be combined in order when receiving file.
Suppose the current subfile Z12 transmitting file D1 to be transmitted, subfile Z11 is end of transmission, if now there is the new file D4 to be transmitted obtained, its priority is higher than the priority of D1, namely, in remaining file D1, D3, D4 to be transmitted of not transferring, priority is according to sorting from high to low: D4, D1, D3.Now suspend the transmitting procedure of file D1 to be transmitted, record the subfile Z11 transmitted, preferentially send the file with higher priority according to the order of D4, D1, D3.Because subfile header comprises the content such as the number of subfile, the sequence number of subfile, therefore be easy to record the subfile transmitted, in practical operation, if transmit according to the numeric order of subfile, then only need record the subfile number transmitted.
Step 204, when all than described current file to be transmitted, there is the subfile end of transmission of higher priority after, the subfile do not transmitted in described current file to be transmitted is proceeded transmission.
Using above-mentioned given example as explanation, transmitting terminal sends file with the order of D4, D1, D3, after the transmitting procedure of the new file D4 to be transmitted obtained terminates, when sending file D1 to be transmitted, owing to recording the subfile Z11 transmitted, only send the subfile Z12 remaining and do not transfer.
The embodiment of the present invention introduces the mechanism of fractionation, file to be transmitted is divided into less data unit, even if whole file to be transmitted is very large, when the file transfer of real-time response higher priority, also can not therefore affect the subfile transferred, only need transmit in the complete rear recovery of the file transfer of higher priority.
embodiment two:
Consult Fig. 5, show the step schematic diagram of the document transmission method of the embodiment of the present invention two, method comprises the following steps.
Step 501, transmitting terminal obtains at least one file to be transmitted.
Step 502, judges whether the size of file to be transmitted is less than or equal to the maximum transfer size of subfile, if then perform step 503, otherwise performs step 504.
Step 503, using file to be transmitted as an independent subfile.
When determining that described file size to be transmitted is less than or equal to the maximum transfer size of described subfile, illustrate that file to be transmitted is without the need to splitting, using itself as a subfile.In the subfile header of this subfile, subfile number is 1, and the sequence number of subfile is 1.
Step 504, be at least two subfiles by described file declustering to be transmitted, each subfile carries the priority identical with corresponding file to be transmitted.
Step 505, deposits described subfile to internal storage data unit, and described internal storage data unit comprises the information area and data field, and the described information area is used for depositing described File header information and subfile header, and described data field is used for depositing sub-file data.
In order to manage each subfile more easily, find the subfile that priority is higher faster, the present embodiment sets a kind of internal memory form described below, all memory headrooms are divided into multiple identical internal fragmentation structure, each burst is called an internal storage data unit, and its number is determined by " memory headroom/(size+File header information+subfile header of subfile) ".In a particular application, the assignable memory headroom size of platform be taken into consideration, and the time of each internal storage data unit of poll from the beginning to the end, and then it is more reasonable to determine to there are how many internal storage data unit.Each internal storage data unit comprises the information area and data field, and the information area is used for depositing the whether occupied occupied mark of expression internal storage data unit, File header information, subfile header.Data field is used for depositing real sub-file data.Particularly, occupied identification value can be set to 0 or 1, if subfile has been filled into certain internal storage data unit by transmitting terminal, then putting it is 1, from then on priority judging unit (will be described in detail later) just can obtain precedence information in internal storage data unit, thus for judging priority height, if the data of this internal storage data unit remove by data transmission blocks, then putting it is 0, represents that internal memory filler cells (will be described in detail later) can be reloaded in this position new subfile.
Preferably, step 505 is further comprising the steps of:
Step 505a, when defining the new file to be transmitted obtained, judges whether to there is unappropriated internal storage data unit according to occupied mark, if exist, performs step 505b, otherwise performs step 505c.
Step 505b, if there is unappropriated internal storage data unit, then deposits subfile corresponding for the file to be transmitted newly obtained to this unappropriated internal storage data unit.
Step 505c, if there is not unappropriated internal storage data unit, and during the priority height of the file to be transmitted of the priority ratio current transmission of the file to be transmitted of described new acquisition, according to the number of subfile corresponding to the file to be transmitted of described new acquisition, releasing memory data cell; And subfile corresponding for the file to be transmitted of described new acquisition is deposited the internal storage data unit to having discharged.
It should be noted that, when internal memory is occupied full, when the priority of the subfile of the priority ratio current transmission of the new file to be transmitted obtained is high, then the file to be transmitted of this new acquisition needs preferentially to be sent, become the number of subfile to discharge the internal storage data unit of corresponding number (being appreciated that all internal storage data unit are likely all discharged) according to the new file declustering to be transmitted obtained, thus vacating space fill the subfile of high priority.
Be understandable that, if the priority of the subfile of the priority ratio current transmission of the new file to be transmitted obtained is low or equal, then continue a clock cycle of wait.
Step 506, all internal storage data unit of poll, according to the precedence information determination transmission sequence of the described information area.
Particularly, first the internal storage data unit that first available internal storage data unit will send as the next one can be taken out, then search a to the last internal storage data unit downwards, if there is the internal storage data unit of higher priority, just change it for the next internal storage data unit that will send.
Step 507, defines new subfile and deposits to internal storage data unit, and during the priority height of the subfile of the priority ratio current transmission of described new subfile, adjustment transmission sequence, is defined as the highest subfile of priority by described new subfile.
When detecting that in internal storage data unit the file File2 to be transmitted of higher priority exists, suppose that file File1 to be transmitted now have sent 10 subfiles, then can be suspended, start first subfile sending File2, if do not have the file of higher priority to enter during transmission File2, then after all receiving File2 file, proceed the transmission of the 11st subfile of File1.
Step 508, after determining the whole end of transmission of subfile that file to be transmitted is corresponding, according to the sequence number of described subfile, after abandoning described File header information and subfile header, order merges sub-file data.
Particularly, availablely judge the whether whole end of transmission of subfile by the number of subfile and the sequence number of subfile.After abandoning described File header information and subfile header, order merges sub-file data, and obtaining is exactly the data division of whole file to be transmitted.
Preferably, the sub-file data after receiving terminal is combined verifies, if variant with former file to be transmitted, then receiving terminal can notify that transmitting terminal resends.
embodiment three:
The file transfer means of the embodiment of the present invention comprises transmitting terminal and receiving terminal, consults Fig. 6, shows the sending end structure schematic diagram of the file transfer means of another embodiment of the present invention.Transmitting terminal comprises following content.
Acquiring unit 601, for obtaining at least one file to be transmitted.
Split cells 602, for being at least one subfile by file declustering to be transmitted, each subfile carries the identical priority of the to be transmitted file corresponding with it.
Transmission unit 603, for according to priority sequential delivery subfile from high to low; Described transmission unit comprises.
Whether priority judging unit 604 is higher than the priority of the subfile of current transmission for judging the priority of the new file to be transmitted obtained.
Described transmission unit 603 also for when determining the priority height of file to be transmitted of priority ratio current transmission of the new file to be transmitted obtained, suspending the transmitting procedure of current file to be transmitted, and recording the subfile transmitted in described current file to be transmitted; According to new priority orders transmission subfile.
Described transmission unit 603 also for when all than described current file to be transmitted, there is the subfile end of transmission of higher priority after, the subfile do not transmitted in described current file to be transmitted is proceeded transmission.
Preferably, transmitting terminal also comprises internal memory filler cells, during for defining the new file to be transmitted obtained, judges whether to there is unappropriated internal storage data unit according to described occupied mark; If there is unappropriated internal storage data unit, then subfile corresponding for the file to be transmitted newly obtained is deposited to described unappropriated internal storage data unit; If there is not unappropriated internal storage data unit, and during the priority height of the file to be transmitted of the priority ratio current transmission of the file to be transmitted of described new acquisition, the subfile number corresponding according to the file to be transmitted of described new acquisition, releasing memory data cell; And subfile corresponding for the file to be transmitted of described new acquisition is deposited the internal storage data unit to having discharged.
Preferably, described priority judging unit, also for all internal storage data unit of poll, according to the precedence information determination transmission sequence of the described information area; Define new subfile to deposit to internal storage data unit, and during the priority height of the subfile of the priority ratio current transmission of described new subfile, adjustment transmission sequence, is defined as the highest subfile of priority by described new subfile.
Consult Fig. 7, show the receiving terminal structural representation of the file transfer means of another embodiment of the present invention, receiving terminal comprises following content.
Receiving element 701, for the subfile of receiving end/sending end transmission.
Whether all subfile judging unit 702, for judging all subfiles end of transmission that a file to be transmitted is corresponding.
Merge cells 703, for after the equal end of transmission of all subfiles that file to be transmitted is corresponding, abandons File header information and subfile header, and order merges all subfiles.
Preferably, receiving terminal also comprises data check module, carries out completeness check for the sub-file data be combined, if variant with former file to be transmitted, then notifies that transmitting terminal resends.
For convenience of understanding, the complete file transmitting procedure of transmitting terminal and receiving terminal is described at this.
First be that transmitting terminal will set corresponding priority level to each file that will send, then all file datas are comprised additional File header information and be sent to split cells, carry out the fractured operation of file here, if file to be transmitted is very little, do not exceed the maximum transfer size of default subfile, so this file does not just split but after adding and going up subfile header, directly sends as a subfile.Otherwise just treat transfer files cutting with the size preset for base unit, and each subfile contains subfile header in original position.After completing the fractionation of file, the subfile obtained can be written in concrete internal storage data unit by internal memory filler cells, and the internal storage data unit of each new write data is made marks, to represent occupied, thereafter priority judging unit can all internal storage data unit of the poll of order again, after the internal storage data unit finding priority the highest, content is wherein submitted to transmission unit, the receiving element of transmission unit notice receiving terminal goes to obtain data, so far, what receiving element was complete receives a subfile.Again then get back to priority judging unit, the internal storage data unit that continuation poll is sequentially all, find a data cell that priority is the highest again, mutual through transmission unit and receiving element, receiving terminal receives second subfile, circulation like this, until can not find the subfile of higher priority, or receiving terminal detects that the subfile number received equals the sum of all subfiles, this means that all subfiles have all been transmitted complete, after abandoning File header information and point header packet information, other data that order merges are exactly the authentic and valid data of file.Sending into data check module again after obtaining the data of whole file, checking whether data are transmitted complete without losing, if variant with former file to be transmitted, receiving terminal can notify that transmitting terminal resends.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Above to invention has been detailed introduction, applying specific case herein and setting forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a document transmission method, is characterized in that, comprises the following steps: obtain at least one file to be transmitted; Be at least one subfile by described file declustering to be transmitted, each subfile carries the identical priority of the to be transmitted file corresponding with it; According to priority sequential delivery subfile from high to low; If the priority of the file to be transmitted of the priority ratio current transmission of the new file to be transmitted obtained is high, then suspends the transmitting procedure of current file to be transmitted, record the subfile transmitted in described current file to be transmitted; And according to new priority orders transmission subfile; When after the whole end of transmission of all subfiles that there is higher priority than described current file to be transmitted, the subfile do not transmitted is proceeded transmission in described current file to be transmitted.
2. method according to claim 1, is characterized in that, at least one file to be transmitted of described acquisition comprises: described file to be transmitted comprises File header information, and described File header information comprises file size to be transmitted and precedence information.
3. method according to claim 2, it is characterized in that, described is at least one subfile by file division to be transmitted, the priority that each subfile carries the to be transmitted file corresponding with it identical comprises: described subfile comprises subfile header, described subfile header comprises mark, the number of subfile, the sequence number of subfile of the to be transmitted file corresponding with it, and the precedence information of subfile, the precedence information of described subfile is corresponding with the precedence information of described file to be transmitted.
4. method according to claim 3, it is characterized in that, described is at least one subfile by file division to be transmitted, each subfile comprises after carrying the identical priority of the file to be transmitted corresponding with it: described subfile deposited to internal storage data unit, described internal storage data unit comprises the information area and data field, the described information area is used for depositing described File header information and described subfile header, and described data field is used for depositing described sub-file data.
5. method according to claim 4, it is characterized in that, described internal storage data unit also comprises for representing the whether occupied occupied mark of described internal storage data unit, described described subfile being deposited to internal storage data unit comprises: when defining the new file to be transmitted obtained, judge whether to there is unappropriated internal storage data unit according to described occupied mark; If there is unappropriated internal storage data unit, then subfile corresponding for the file to be transmitted of described new acquisition is deposited to described unappropriated internal storage data unit; If there is not unappropriated internal storage data unit, and during the priority height of the file to be transmitted of the priority ratio current transmission of the file to be transmitted of described new acquisition, according to the number of subfile corresponding to the file to be transmitted of described new acquisition, releasing memory data cell; And subfile corresponding for the file to be transmitted of described new acquisition is deposited the internal storage data unit to having discharged.
6. method according to claim 4, is characterized in that, described according to priority sequential delivery subfile from high to low; If the priority of the file to be transmitted of the priority ratio current transmission of the new file to be transmitted obtained is high, then suspends the transmitting procedure of current file to be transmitted, record the subfile number transmitted in described current file to be transmitted; And comprise according to new priority orders transmission subfile: all internal storage data unit of poll, according to the precedence information determination transmission sequence of the described information area; Define new subfile to deposit to internal storage data unit, and during the priority height of the file to be transmitted of the priority ratio current transmission of described new subfile, adjustment transmission sequence, is defined as the highest subfile of priority by described new subfile.
7. method according to claim 3, it is characterized in that, described method also comprises: after determining the whole end of transmission of subfile that file to be transmitted is corresponding, according to the sequence number of described subfile, after abandoning described File header information and subfile header, order merges each subfile.
8. method according to claim 1, it is characterized in that, described is at least one subfile by file division to be transmitted, the priority that each subfile carries the to be transmitted file corresponding with it identical comprises: when determining that described file size to be transmitted is less than or equal to the maximum transfer size of described subfile, using described file to be transmitted as an independent subfile.
9. a file transfer means, comprises transmitting terminal and receiving terminal, and described transmitting terminal comprises: acquiring unit, for obtaining at least one file to be transmitted; Split cells, for being at least one subfile by file declustering to be transmitted, each subfile carries the identical priority of the to be transmitted file corresponding with it; Transmission unit, for according to priority sequential delivery subfile from high to low; Whether described transmission unit comprises: priority judging unit, higher than the priority of the file to be transmitted of current transmission for judging the priority of the new file to be transmitted obtained; Described transmission unit also for when determining the priority height of subfile of priority ratio current transmission of the new file to be transmitted obtained, suspending the transmitting procedure of current file to be transmitted, recording the subfile transmitted in described current file to be transmitted; And according to new priority orders transmission subfile; The subfile do not transmitted in described current file to be transmitted also for when after the whole end of transmission of all subfiles having higher priority than described current file to be transmitted, is proceeded transmission by described transmission unit.
10. a file transfer means, comprise transmitting terminal and receiving terminal, described receiving terminal comprises: receiving element, for the subfile of receiving end/sending end transmission, the file declustering to be transmitted that described subfile is obtained by transmitting terminal obtains, and each subfile carries the identical priority of the to be transmitted file corresponding with it; Whether all subfile judging unit, for judging all subfiles end of transmission that a file to be transmitted is corresponding; Merge cells, for after the equal end of transmission of all subfiles that file to be transmitted is corresponding, order merges all subfiles.
CN201610050733.5A 2016-01-26 2016-01-26 File transmission method and device Active CN105450785B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610050733.5A CN105450785B (en) 2016-01-26 2016-01-26 File transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610050733.5A CN105450785B (en) 2016-01-26 2016-01-26 File transmission method and device

Publications (2)

Publication Number Publication Date
CN105450785A true CN105450785A (en) 2016-03-30
CN105450785B CN105450785B (en) 2019-12-06

Family

ID=55560551

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610050733.5A Active CN105450785B (en) 2016-01-26 2016-01-26 File transmission method and device

Country Status (1)

Country Link
CN (1) CN105450785B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106686078A (en) * 2016-12-26 2017-05-17 北汽福田汽车股份有限公司 Data transmission method and device
CN106790633A (en) * 2017-01-03 2017-05-31 北京电子工程总体研究所 A kind of long-range multifile transmission method dynamically adjusted based on priority
CN109818710A (en) * 2017-11-21 2019-05-28 中移(杭州)信息技术有限公司 A kind of data transmission method and corresponding intrument
CN109905392A (en) * 2019-02-27 2019-06-18 苏州浪潮智能科技有限公司 A kind of data transmission security verification method and system
CN110266814A (en) * 2019-07-09 2019-09-20 联想(北京)有限公司 Transmission method and transmitting device
CN112565109A (en) * 2020-12-28 2021-03-26 常州信息职业技术学院 Industrial data transmission method and system
CN113326124A (en) * 2021-05-20 2021-08-31 深圳证券通信有限公司 Method for presetting priority of file transmission task
CN113852563A (en) * 2021-09-22 2021-12-28 深圳市元征科技股份有限公司 Message data transmission method and device, terminal equipment and readable storage medium
WO2022151480A1 (en) * 2021-01-18 2022-07-21 华为技术有限公司 Data transmission method and apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1705295A (en) * 2004-05-29 2005-12-07 华为技术有限公司 Packet transmission system having priority and method therefor
CN102611760A (en) * 2012-04-16 2012-07-25 苏州阔地网络科技有限公司 File transmission method and system
CN102790771A (en) * 2012-07-25 2012-11-21 山东中创软件商用中间件股份有限公司 File transmission method and system
US20130191447A1 (en) * 2007-09-28 2013-07-25 Hitachi, Ltd. File transmission system
CN103237300A (en) * 2013-04-28 2013-08-07 北京小米科技有限责任公司 Method, device and system for downloading file
CN104519090A (en) * 2013-09-27 2015-04-15 深圳市腾讯计算机系统有限公司 Method and device for file transfer

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1705295A (en) * 2004-05-29 2005-12-07 华为技术有限公司 Packet transmission system having priority and method therefor
US20130191447A1 (en) * 2007-09-28 2013-07-25 Hitachi, Ltd. File transmission system
CN102611760A (en) * 2012-04-16 2012-07-25 苏州阔地网络科技有限公司 File transmission method and system
CN102790771A (en) * 2012-07-25 2012-11-21 山东中创软件商用中间件股份有限公司 File transmission method and system
CN103237300A (en) * 2013-04-28 2013-08-07 北京小米科技有限责任公司 Method, device and system for downloading file
CN104519090A (en) * 2013-09-27 2015-04-15 深圳市腾讯计算机系统有限公司 Method and device for file transfer

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106686078A (en) * 2016-12-26 2017-05-17 北汽福田汽车股份有限公司 Data transmission method and device
CN106686078B (en) * 2016-12-26 2020-03-24 北汽福田汽车股份有限公司 Data transmission method and device
CN106790633B (en) * 2017-01-03 2019-11-08 北京电子工程总体研究所 A kind of long-range multifile transmission method based on priority dynamic adjustment
CN106790633A (en) * 2017-01-03 2017-05-31 北京电子工程总体研究所 A kind of long-range multifile transmission method dynamically adjusted based on priority
CN109818710A (en) * 2017-11-21 2019-05-28 中移(杭州)信息技术有限公司 A kind of data transmission method and corresponding intrument
CN109905392A (en) * 2019-02-27 2019-06-18 苏州浪潮智能科技有限公司 A kind of data transmission security verification method and system
CN110266814A (en) * 2019-07-09 2019-09-20 联想(北京)有限公司 Transmission method and transmitting device
CN110266814B (en) * 2019-07-09 2021-08-17 联想(北京)有限公司 Transmission method and transmission device
CN112565109A (en) * 2020-12-28 2021-03-26 常州信息职业技术学院 Industrial data transmission method and system
WO2022151480A1 (en) * 2021-01-18 2022-07-21 华为技术有限公司 Data transmission method and apparatus
CN113326124A (en) * 2021-05-20 2021-08-31 深圳证券通信有限公司 Method for presetting priority of file transmission task
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

Also Published As

Publication number Publication date
CN105450785B (en) 2019-12-06

Similar Documents

Publication Publication Date Title
CN105450785A (en) File transmission method and device
CN104135741A (en) Method of Bluetooth low energy communication, Bluetooth devices and system
US7760665B2 (en) Selective node tracking
CN105306424B (en) A kind of flow-medium transmission method, Streaming Media sending device and stream media transmission system
CN106664290A (en) Data transmission method and device for photoelectric hybrid network
WO2014169860A1 (en) Data transmission method and device
EP2887583A1 (en) Service processing method and device
KR20090053791A (en) A method for transmitting and analyzing data in the wireless communication network and the apparatus thereof
CN102711192B (en) Method and device for processing network service quality and communication system
CN103389945B (en) Memory management method and device
CN108737296A (en) A kind of data transmission method, device and the network equipment
CN110912805B (en) Message reading state synchronization method, terminal, server and system
CN108920339A (en) A kind of system exception report method and device
CN103856558B (en) A kind of data processing method and device for terminal applies
CN105760134A (en) Data processing method and electronic equipment
CN105007310A (en) Information synchronization method, device and system
CN108243396A (en) A kind of time synchronizing method and device
CN104079371A (en) Method, equipment and system of data communication
CN109302456A (en) A kind of document transmission method and device based on aerial downloading OTA technology
CN105356980A (en) Response message sending method and device
CN101989896B (en) Feedback method and device for ARQ connection
CN109041026A (en) Antenna accounting setting method, device, user equipment and storage medium
CN107360594A (en) A kind of information processing method and device
CN110166368A (en) A kind of cloud storage network bandwidth control system and method
CN113992609A (en) Method and system for processing multilink service data disorder

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Patentee after: Hisense Video Technology Co.,Ltd.

Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Patentee before: HISENSE ELECTRIC Co.,Ltd.