CN106603614A - File transmission method and device - Google Patents

File transmission method and device Download PDF

Info

Publication number
CN106603614A
CN106603614A CN201510685225.XA CN201510685225A CN106603614A CN 106603614 A CN106603614 A CN 106603614A CN 201510685225 A CN201510685225 A CN 201510685225A CN 106603614 A CN106603614 A CN 106603614A
Authority
CN
China
Prior art keywords
file
transmission
identification information
intermediate equipment
equipment
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
Application number
CN201510685225.XA
Other languages
Chinese (zh)
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.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology 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 Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201510685225.XA priority Critical patent/CN106603614A/en
Publication of CN106603614A publication Critical patent/CN106603614A/en
Pending legal-status Critical Current

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)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a file transmission method and device, and relates to the technical field of information. The method and device can guarantee that a receiving side downloads a complete file, and can improve the file transmission accuracy. The method comprises the steps: obtaining a file list stored in central equipment, wherein the file list comprises the identification information of different files; judging whether the identification information of different files comprises the identification information of a preset identification or not, wherein the preset identification is configured when transmitting equipment confirms that a file is completely transmitted to the central equipment, and the preset identification is the identification of a sign file; transmitting a file transmission request to the central equipment if the identification information of different files comprises the identification information of the preset identification, wherein the file transmission request comprises the identification information of the file; and receiving the file which is transmitted by the central equipment and is corresponding to the identification information. The method is suitable for the file transmission.

Description

Document transmission method and device
Technical field
The present invention relates to areas of information technology, more particularly to a kind of document transmission method and device.
Background technology
With the continuous development and popularization of internet, the computer of oneself is linked into net by increasing user In network.Wherein, FTP (File Transfer Protocol, FTP) is that internet is carried earliest For one of service, the transmission of file can be carried out between user and user by FTP.In actual application In, data publication side need by FTP give data receiver transmit file, will files passe to data take Business device, then recipient can be from data server download file.Because recipient can take at any time from data Business device downloads file, it is impossible to know the transmission state of file, and it is upright to issue to cause the file that recipient downloads In the file for uploading, so as to the file for causing recipient to download is imperfect.
At present, complete file is downloaded in order to ensure recipient, the publisher and recipient of data is by mutual The file download time point mutually decided through consultation carries out file transmission.Time i.e. in publisher's estimation needed for transmitting file is simultaneously Inform that recipient downloads the time of file, then before the time decided through consultation, by files passe to data, services Device, so as to recipient can download to complete file.However, when network transfer speeds are slack-off, publisher The file of transmission regulation can completely is not transferred on data server time, cause recipient can not under Complete file is downloaded to, the accuracy rate for causing file to transmit is relatively low.
The content of the invention
In view of this, the present invention provides a kind of document transmission method and device, and main purpose is to ensure that Recipient downloads to complete file such that it is able to lift the accuracy rate of file transmission.
According to one aspect of the present invention, there is provided a kind of document transmission method, including:
The listed files preserved in intermediate equipment is obtained, the mark of different files is preserved in the listed files Information;
Judge with the presence or absence of the identification information for carrying preset identifications in the identification information of the different files, its In, the preset identifications are to configure when transmission equipment confirms file complete transmission to the intermediate equipment, institute State the identification information that preset identifications are logo file;
If existing, file transmission request is sent to intermediate equipment, the file transmission request carries the text The identification information of part;
Receive the file corresponding with the identification information that the intermediate equipment sends.
According to another aspect of the present invention, there is provided another kind of document transmission method, including:
File waiting for transmission is sent to intermediate equipment;
Detect whether to receive the information that the intermediate equipment sends, wherein, the information is used for The file complete transmission is pointed out to the intermediate equipment;
If so, then generate logo file corresponding with the file and be sent to the intermediate equipment, so that The intermediate equipment will add preset identifications, the file row in the identification information of file described in listed files The identification information of different files is preserved in table, the preset identifications are the identification information of logo file.
According to further aspect of the present invention, there is provided a kind of receiving device, including:
Acquiring unit, for obtaining intermediate equipment in preserve listed files, preserve in the listed files The identification information of different files;
Judging unit, for whether there is in the identification information for judging the different files preset identifications are carried Identification information, wherein, the preset identifications be transmission equipment confirm file complete transmission set to the centre Configure when standby;
Transmitting element, if carrying for presence in the identification information of the different files of judging unit judgement pre- The identification information of mark is put, then sends file transmission request, the file transmission request to the intermediate equipment Carry the identification information of the file;
Receiving unit, for receiving the file corresponding with the identification information that the intermediate equipment sends.
According to another aspect of the invention, there is provided a kind of transmission equipment, including:
Transmitting element, for sending file waiting for transmission to intermediate equipment;
Detector unit, for detecting whether the information that the intermediate equipment sends is received, wherein, institute Information is stated for pointing out the file complete transmission to the intermediate equipment;
Signal generating unit, if receiving the information that the intermediate equipment sends for detector unit detection, Generate logo file corresponding with the file and be sent to the intermediate equipment, so that the intermediate equipment Preset identifications will be added in the identification information of file described in listed files, preserved not in the listed files With the identification information of file, the preset identifications are the identification information of logo file.
According to still further aspect of the present invention, there is provided a kind of document transmission system, including:
Transmission equipment, for sending file waiting for transmission to intermediate equipment, detects whether to receive the centre The information that equipment sends, wherein, the information is used to point out the file complete transmission to described Intermediate equipment, if detection receives the information that the intermediate equipment sends, generates and the file pair The logo file answered simultaneously is sent to the intermediate equipment;
Intermediate equipment, it is described for preset identifications will to be added in the identification information of file described in listed files Different identification informations are preserved in listed files, the preset identifications are the identification information of logo file;
Receiving device, for obtaining intermediate equipment in preserve listed files, preserve in the listed files The file identification information of different files;Carry for whether there is in the identification information for judging the different files Have the identification information of preset identifications, wherein, the preset identifications be transmission equipment confirm file complete transmission to Configure during the intermediate equipment;If existing in the identification information of the different files and carrying preset identifications Identification information, then send file transmission request to the intermediate equipment, and the file transmission request carries described The identification information of file.
By above-mentioned technical proposal, technical scheme provided in an embodiment of the present invention at least has following advantages:
The present invention provides a kind of document transmission method and device, and first, transmission equipment sends to intermediate equipment and treats The file of transmission;When detect file it is complete be transferred to intermediate equipment, intermediate equipment can be sent out to the equipment of transmission Information is sent, the file complete transmission is pointed out to intermediate equipment;Then send equipment and detect prompting letter After breath, logo file corresponding with the file can be generated, the intermediate equipment will be literary described in listed files Add preset identifications in the identification information of part, the preset identifications are the identification information of logo file.Work as reception Equipment in advance from middle device downloads file when, first obtain intermediate equipment in preserve listed files, the text The file identification information of different files is preserved in part list;Then, in judging the identification information of different files Whether the identification information of preset identifications is carried, if existing, the corresponding file of description flags file sets for transmission Standby complete transmission now sends file transmission request, the file to the file of intermediate equipment to intermediate equipment Transmission request carries the identification information of the file;Finally, the intermediate equipment is received sending with the mark The corresponding file of knowledge information.
File biography is carried out by the file download time point decided through consultation mutually with the publisher and recipient of current data Defeated to compare, the embodiment of the present invention receives the complete prompting letter for being transferred to intermediate equipment of file when transmission equipment During breath, generate logo file corresponding with the file and be sent to the intermediate equipment, the intermediate equipment Preset identifications will be added in the identification information of file described in listed files.Receiving device is obtaining intermediate equipment After the listed files of middle preservation, if exist in the identification information of the different files of judgement carrying preset identifications, File transmission request is sent to intermediate equipment, the file that the intermediate equipment sends then is received such that it is able to Complete file is downloaded to, and then the accuracy rate of file transmission can be lifted.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technology of the present invention Means, and being practiced according to the content of specification, and in order to allow above and other mesh of the present invention , feature and advantage can become apparent, below especially exemplified by the present invention specific embodiment.
Description of the drawings
By the detailed description for reading hereafter preferred embodiment, various other advantage and benefit are for ability Domain those of ordinary skill will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred embodiment, and and It is not considered as limitation of the present invention.And in whole accompanying drawing, it is denoted by the same reference numerals identical Part.In the accompanying drawings:
Fig. 1 shows a kind of flow chart of document transmission method provided in an embodiment of the present invention;
Fig. 2 shows the flow chart of another kind of document transmission method provided in an embodiment of the present invention;
Fig. 3 shows the flow chart of another document transmission method provided in an embodiment of the present invention;
Fig. 4 shows the flow chart of another document transmission method provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of receiving device provided in an embodiment of the present invention;
Fig. 6 is another kind of receiving device structural representation provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of transmission equipment provided in an embodiment of the present invention;
Fig. 8 is another kind of transmission device structure schematic diagram provided in an embodiment of the present invention;
Fig. 9 is a kind of document transmission system structural representation provided in an embodiment of the present invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing in accompanying drawing The exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and should not be by Embodiments set forth here is limited.On the contrary, there is provided these embodiments are able to be best understood from this It is open, and can by the scope of the present disclosure it is complete convey to those skilled in the art.
A kind of document transmission method is embodiments provided, receiving device is can apply to, such as Fig. 1 institutes Show, methods described includes:
101st, the listed files preserved in intermediate equipment is obtained.
Wherein, the identification information of different files is preserved in the listed files.The intermediate equipment can be Server, is specifically as follows ftp server or Ftp server, and FTP is the association for transmitting file View.In actual application, data publication side needs to transmit file to data receiver by FTP, will Files passe to Ftp server, then recipient can download file from Ftp server.Text The identification information of part can be the title of file, such as " transmission file 1 ", or the identity of file Number (Identity, ID), the embodiment of the present invention is not limited.
102nd, judge in the identification information of the different files with the presence or absence of the mark letter for carrying preset identifications Breath.
Wherein, the preset identifications are to configure when transmission equipment confirms file complete transmission to intermediate equipment. Preset identifications can be the identification information of logo file corresponding with file, be specifically as follows the mark letter of file The combination of breath and flag.For example, if entitled " the transmission file 1- transmission file 1.flag " of transmission file 1, Preset identifications are carried in the title for then confirming transmission file 1, wherein, preset identifications are transmission file 1 pair Entitled " the transmission file 1.flag " of the identification information of the logo file answered, i.e. logo file.The transmission The publisher of equipment list registration evidence.When send equipment it is complete by files passe waiting for transmission to intermediate equipment when, Intermediate equipment can generate the mark that a mark file is transmitted to device prompts information, transmission equipment is sent File cocurrent gives intermediate equipment;Then, intermediate equipment is by the identification information of the file in listed files Middle addition preset identifications, now, can preserve documentary identification information and mark in the listed files of intermediate equipment The identification information of will file.Transmission equipment often uploads a successfully file, will generate one with this document pair The logo file answered, intermediate equipment will will add preset in the identification information of the file in listed files Mark.
For the embodiment of the present invention, send equipment and notify receiving device by preset identifications, in intermediate equipment File is in the state that is transmitted and can be downloaded.Lead to the publisher and recipient of current data Cross the file download time point decided through consultation mutually carry out file transmission compare, the embodiment of the present invention ensure that reception Side downloads to complete file such that it is able to lift the accuracy rate of file transmission.Meanwhile, it is capable to avoid at present The workload that the publisher and recipient of data changes program tape because of the modification time point decided through consultation;And The publisher and recipient that current data can be saved is transmitted separately through message queue and database maintenance documentation State, the Internet resources of consumption and the server resource for taking.
If the 103, judging to exist in the identification information of the different files identification information for carrying preset identifications, Then send file transmission request to the intermediate equipment.
Wherein, the file transmission request carries the identification information of the file.For the embodiment of the present invention, If judging to exist in the identification information of the different files identification information for carrying preset identifications, illustrate to carry The corresponding file of file identification information of preset identifications is file of the transmission equipment complete transmission to intermediate equipment, Now, file transmission request is sent to intermediate equipment, it is ensured that receiving device downloads to complete file.
For example, entitled " the transmission file 1- transmission file 1.flag " of file 1 is transmitted, then confirms transmission text Part 1 is the file in transmission equipment complete transmission to intermediate equipment, now, to intermediate equipment transmission text is sent The transmission request of part 1.
104th, the file corresponding with the identification information that the intermediate equipment sends is received.
For example, if receiving device judges the mark letter that logo file is carried in the identification information for transmit file 1 Breath, the logo file for transmitting file 1 is transmission file 1.flag, illustrates that it is that transmission equipment is complete to transmit file 1 It is transferred to the file of intermediate equipment.Now, the transmission request of transmission file 1 is sent to intermediate equipment, can Download to complete transmission file 1.
Another kind of document transmission method provided in an embodiment of the present invention, first, sends equipment and sends out to intermediate equipment Send file waiting for transmission;When detect file it is complete be transferred to intermediate equipment, intermediate equipment can set to transmission Preparation send information, points out the file complete transmission to intermediate equipment;Then transmission equipment is detected and carried After showing information, logo file corresponding with the file can be generated, the intermediate equipment is by institute in listed files Add preset identifications in the identification information for stating file, the preset identifications are the identification information of logo file.When Receiving device in advance from middle device downloads file when, first obtain intermediate equipment in preserve listed files, institute State the file identification information that different files are preserved in listed files;Then, the mark letter of different files is judged Whether the identification information of preset identifications is carried in breath, if existing, the corresponding file of description flags file is to send out Send equipment complete transmission to the file of intermediate equipment, now send file transmission request to intermediate equipment, it is described File transmission request carries the identification information of the file;Finally, receive that the intermediate equipment sends with institute State file corresponding to identification information.
File biography is carried out by the file download time point decided through consultation mutually with the publisher and recipient of current data Defeated to compare, the embodiment of the present invention receives the complete prompting letter for being transferred to intermediate equipment of file when transmission equipment During breath, generate logo file corresponding with the file and be sent to the intermediate equipment, the intermediate equipment Preset identifications will be added in the identification information of file described in listed files.Receiving device is obtaining intermediate equipment After the listed files of middle preservation, if exist in the identification information of the different files of judgement carrying preset identifications, File transmission request is sent to intermediate equipment, the file that the intermediate equipment sends then is received such that it is able to Complete file is downloaded to, and then the accuracy rate of file transmission can be lifted.
Another kind of document transmission method is embodiments provided, as shown in Fig. 2 methods described includes:
201st, the listed files preserved in intermediate equipment is obtained.
Wherein, the identification information of different files is preserved in the listed files.The intermediate equipment can be Server, is specifically as follows ftp server or Ftp server.The identification information of file can be The title of file, or the ID of file, the embodiment of the present invention is not limited.
202nd, judge in the identification information of the different files with the presence or absence of the mark letter for carrying preset identifications Breath.
Wherein, the preset identifications are to configure when transmission equipment confirms file complete transmission to intermediate equipment. Preset identifications can be the identification information of logo file.It is specifically as follows the identification information of file and the group of flag Close.
For the embodiment of the present invention, send equipment and notify receiving device by preset identifications, in intermediate equipment State of the file in being transmitted can be downloaded.Pass through mutual with the publisher and recipient of current data The file download time point mutually decided through consultation carries out file transmission and compares, and the embodiment of the present invention ensure that under recipient It is downloaded to complete file such that it is able to lift the accuracy rate of file transmission.Meanwhile, it is capable to avoid current data Publisher and recipient because the modification time point decided through consultation and the workload of changing program tape;And can The publisher and recipient for saving current data is separately through message queue and database maintenance documentation transmission shape State, the Internet resources of consumption and the server resource for taking.
If the 203, judging to exist in the identification information of the different files identification information for carrying preset identifications, Then send file transmission request to the intermediate equipment.
Wherein, the file transmission request carries the identification information of the file.For the embodiment of the present invention, If carrying preset identifications in the identification information of file, illustrate that file corresponding to the identification information is transmission equipment Complete transmission now, to intermediate equipment file transmission request is sent to the file of intermediate equipment, it is ensured that Receiving device downloads to complete file.
204th, the file corresponding with the identification information that the intermediate equipment sends and pre- with described is received Put the corresponding logo file of mark.
Wherein, the informative abstract (Message Digest 5, MD5) of the file is carried in the logo file Value.When send equipment it is complete by files passe waiting for transmission to intermediate equipment when, one can be generated and transferred Into logo file, identify the file being transmitted, while the MD5 values for being transmitted file can be calculated, And the MD5 of file is saved in logo file.Then the logo file for preserving documentary MD5 is sent To intermediate equipment, therefore the MD5 values of the file are carried in the logo file of receiving device reception.Tool Body ground, can pass through MD5 algorithms and calculate the MD5 values for being transmitted file.
205th, judge whether the corresponding length of the logo file meets prerequisite.
Wherein, prerequisite can be 32 for the corresponding content-length of logo file.Due in logo file The content of preservation is the MD5 values of file, and the length of MD5 values is 32 fixed 16 system characters, such as “5d41402abc4b2a76b9719d911017c592”.Therefore, if in detecting that the logo file is corresponding Hold length and meet 32, then illustrate that the file that receiving device is downloaded is complete.If the logo file correspondence Content-length be not equal to 32, then judge that the logo file and logo file respective file are incorrect.Now, Again file 1 can be transmitted from middle device downloads, ensure that receiving device downloads to complete file, be entered And further lift the accuracy rate of file transmission.By judging whether the corresponding length of the logo file meets Prerequisite, can verify whether the MD5 values in the logo file that receiving device is downloaded are complete such that it is able to Avoid receiving incomplete logo file, while ensure that receiving device downloads to complete file, enter And further lift the accuracy rate of file transmission.
If the 206, judging, the corresponding length of the logo file meets prerequisite, confirms that the file is correct.
For the embodiment of the present invention, the step of step 206 before can also include:Generate the file MD5 values;Judge the MD5 values of the file for generating whether with the file of carrying in the logo file MD5 values are consistent.Now, if step 206 is the MD5 value and the logo file of the file for judging generation The MD5 values of the file of middle carrying are consistent, then confirm that the file is correct.By judging described in generation Whether the MD5 values of file are consistent with the MD5 values of the file carried in the logo file, can enter one Whether the file that step card receiving device is obtained is distorted by malicious person such that it is able to ensure the safety that file is transmitted Property.
For example, the file that receiving device is received is transmission file 2, then generate transmission file 2 according to MD5 algorithms MD5 values, then compare with the MD5 values preserved in the transmission corresponding logo file of file 2, transmission is literary The corresponding logo file of part 2 for transmission file 2.flag, if generate transmission file 2 MD5 values with it is described The MD5 values preserved in transmission file 2.flag are consistent, then " transmission file 2 " is correct described in confirmation.
For embodiment of the present invention concrete application scene can be with as follows, but not limited to this, including:Therefrom Between the listed files that obtains on equipment, such as table 1.Judge the transmission corresponding title of file 1 " transmission file 1- Transmission file 1.flag ", the transmission corresponding title of file 4 " transmission file 4- transmission file 4.flag " point " transmission file 1.flag ", " transmission file 4.flag " are not carried, illustrates to transmit file 1, transmission file 4 are transmission equipment complete transmission to the file of intermediate equipment, now, to intermediate equipment transmission file 1 are sent Transmission request, the transmission request of transmission file 4, such that it is able to downloading to complete transmission file 1 and passing Defeated file 4.Transmission file 1.flag and transmission file 4.flag can also be downloaded to simultaneously.
It is then possible to judge transmission file 1.flag and the corresponding content-lengths of transmission file 4.flag respectively Whether it is 32.If judging to transmit, the corresponding content-lengths of file 1.flag, for 16, judge what is downloaded File 1.flag is incorrect for transmission.At this point it is possible to transmit file 1, Neng Goubao from middle device downloads again Card receiving device downloads to complete file, and then further lifts the accuracy rate of file transmission.If judging to pass The corresponding content-length of defeated file 4.flag is 32, then judge that the transmission file 4.flag for downloading is correct. At this point it is possible to generate receive transmission file 4 MD5, and with transmission file 4.flag in preserve MD5 Value is compared, if in MD5 values and the transmission file 4.flag of the transmission file 4 for generating preservation MD5 Value is consistent, then " transmission file 4 " is correct described in confirmation.It is by the MD5 values of the file for judging to generate It is no consistent with the MD5 values of the file carried in the logo file, it is able to verify that what receiving device was obtained Whether file is distorted by malicious person such that it is able to ensure the security that file is transmitted.
Table 1
Transmission file 1- transmission file 1.flag
Transmission file 2
Transmission file 3
Transmission file 4- transmission file 4.flag
Another kind of document transmission method provided in an embodiment of the present invention, first, sends equipment and sends out to intermediate equipment Send file waiting for transmission;When detect file it is complete be transferred to intermediate equipment, intermediate equipment can set to transmission Preparation send information, points out the file complete transmission to intermediate equipment;Then transmission equipment is detected and carried After showing information, logo file corresponding with the file can be generated, the intermediate equipment is by institute in listed files Add preset identifications in the identification information for stating file, the preset identifications are the identification information of logo file.When Receiving device in advance from middle device downloads file when, first obtain intermediate equipment in preserve listed files, institute State the file identification information that different files are preserved in listed files;Then, the mark letter of different files is judged Whether the identification information of preset identifications is carried in breath, if existing, the corresponding file of description flags file is to send out Send equipment complete transmission to the file of intermediate equipment, now send file transmission request to intermediate equipment, it is described File transmission request carries the identification information of the file;Finally, receive that the intermediate equipment sends with institute State file corresponding to identification information.
File biography is carried out by the file download time point decided through consultation mutually with the publisher and recipient of current data Defeated to compare, the embodiment of the present invention receives the complete prompting letter for being transferred to intermediate equipment of file when transmission equipment During breath, generate logo file corresponding with the file and be sent to the intermediate equipment, the intermediate equipment Preset identifications will be added in the identification information of file described in listed files.Receiving device is obtaining intermediate equipment After the listed files of middle preservation, if exist in the identification information of the different files of judgement carrying preset identifications, File transmission request is sent to intermediate equipment, the file that the intermediate equipment sends then is received such that it is able to Complete file is downloaded to, and then the accuracy rate of file transmission can be lifted.
Another document transmission method is embodiments provided, transmission equipment, such as Fig. 3 is can apply to Shown, methods described includes:
301st, file waiting for transmission is sent to intermediate equipment.
Wherein, the intermediate equipment can be server, be specifically as follows ftp server or file transmission Server, FTP is the agreement for transmitting file.In actual application, data publication side needs to pass through FTP gives data receiver transmission file, will files passe to Ftp server, then recipient can be with File is downloaded from Ftp server.
302nd, detect whether to receive the information that the intermediate equipment sends.
Wherein, the information is used to point out the file complete transmission to the intermediate equipment.Work as centre When equipment detects the identification information of the file waiting for transmission of transmission equipment transmission, the file waiting for transmission is confirmed Complete transmission, then generates information and is sent to transmission equipment.The information can be carried for audio frequency Show information, text prompt information, can also be visual prompts information, the embodiment of the present invention is not limited.Tool Body ground, can be audio prompt information of the prompting file complete transmission to intermediate equipment, point out the text Text prompt information of the part complete transmission to intermediate equipment, or the prompting file complete transmission is in Between equipment visual prompts information.
If the 303, detection receives the information that the intermediate equipment sends, generate corresponding with the file Logo file and be sent to the intermediate equipment.
Further, so that the intermediate equipment will be added in the identification information of file described in listed files Preset identifications.Wherein, the identification information of different files, the preset identifications are preserved in the listed files For the identification information of logo file.Preset identifications are specifically as follows the identification information of file and the combination of flag. The identification information of file can be the title of file, or the ID of file, the embodiment of the present invention is not limited It is fixed.
For example, send equipment and send file waiting for transmission to transmit file 3 to intermediate equipment, when intermediate equipment inspection When measuring title " the transmission file 3 " of transmission file 3, the transmission complete transmission of file 3 is judged.Now, in Between equipment to send equipment send information.The information is used to point out the transmission file 3 complete It is transferred to intermediate equipment.Transmission equipment is received after information, can generate the transmission corresponding mark of file 3 File:Transmission file 3.flag, is then sent to the intermediate equipment by transmission file 3.flag.Now, Intermediate equipment will transmit the mark of addition transmission file 3.flag in the corresponding identification information of file 3 in listed files Knowledge information.Carry transmission file 3.flag's in receiving device judges the transmission corresponding identification information of file 3 During identification information, the transmission request of transmission file 3 is sent to intermediate equipment, so as to receiving device can be downloaded To complete file, and then the accuracy rate of file transmission can be lifted.
For the embodiment of the present invention, transmission equipment often uploads a successfully file, will generate one and this article The corresponding logo file of part, so as to intermediate equipment will add pre- in the identification information of file described in listed files Put mark.When receiving device detect the file in listed files identification information carry preset identifications, just from Intermediate equipment downloads this document.With the publisher and recipient of current data separately through message queue and data Storehouse maintenance documentation uploads state and compares, and file transmission state is passed to reception by the embodiment of the present invention by direct Equipment, can save Internet resources and server resource.Meanwhile, it is capable to ensure the transmission of single file not shadow Ring the transmission of alternative document.
Another document transmission method provided in an embodiment of the present invention, first, sends equipment and sends out to intermediate equipment Send file waiting for transmission;When detect file it is complete be transferred to intermediate equipment, intermediate equipment can set to transmission Preparation send information, points out the file complete transmission to intermediate equipment;Then transmission equipment is detected and carried After showing information, logo file corresponding with the file can be generated, the intermediate equipment is by institute in listed files Add preset identifications in the identification information for stating file, the preset identifications are the identification information of logo file.When Receiving device in advance from middle device downloads file when, first obtain intermediate equipment in preserve listed files, institute State the file identification information that different files are preserved in listed files;Then, the mark letter of different files is judged Whether the identification information of preset identifications is carried in breath, if existing, the corresponding file of description flags file is to send out Send equipment complete transmission to the file of intermediate equipment, now send file transmission request to intermediate equipment, it is described File transmission request carries the identification information of the file;Finally, receive that the intermediate equipment sends with institute State file corresponding to identification information.
File biography is carried out by the file download time point decided through consultation mutually with the publisher and recipient of current data Defeated to compare, the embodiment of the present invention receives the complete prompting letter for being transferred to intermediate equipment of file when transmission equipment During breath, generate logo file corresponding with the file and be sent to the intermediate equipment, the intermediate equipment Preset identifications will be added in the identification information of file described in listed files.Receiving device is obtaining intermediate equipment After the listed files of middle preservation, if exist in the identification information of the different files of judgement carrying preset identifications, File transmission request is sent to intermediate equipment, the file that the intermediate equipment sends then is received such that it is able to Complete file is downloaded to, and then the accuracy rate of file transmission can be lifted.
Another document transmission method is embodiments provided, as shown in figure 4, methods described includes:
401st, file waiting for transmission is sent to intermediate equipment.
Wherein, the intermediate equipment can be server, be specifically as follows ftp server or file transmission Server, FTP is the agreement for transmitting file.
402nd, detect whether to receive the information that the intermediate equipment sends.
Wherein, the information is used to point out the file complete transmission to the intermediate equipment.Centre sets During the identification information of the standby file waiting for transmission for detecting the transmission of transmission equipment, confirm that the file waiting for transmission is complete Whole transmission, then generates information and is sent to transmission equipment.The information can be audio prompt Information, text prompt information, can also be visual prompts information, the embodiment of the present invention do not limit.
If the 403, detection receives the information that the intermediate equipment sends, the corresponding letter of the file is obtained Breath summary MD5 values.
For the embodiment of the present invention, specifically can include in step 403:If detection receives the centre and sets The information that preparation is sent, obtains the corresponding information of the file and plucks by function GetMD5HashFromFile Want MD5 values.
404th, the corresponding logo file of the file is generated according to the corresponding MD5 values of the file and is sent to institute State intermediate equipment.
Further, so that receiving device confirms that the file of transmission is according to the corresponding MD5 values of the file It is no correct.So that the intermediate equipment will add preset mark in the identification information of file described in listed files Know.Wherein, the identification information of different files is preserved in the listed files, the preset identifications are mark The identification information of file.Preset identifications are specifically as follows the identification information of file and the combination of flag.File Identification information can be the title of file, or the ID of file, the embodiment of the present invention is not limited.
For example, if the corresponding MD5 values of transmission file 4 are 5c41402abc4b2a76b9719d911017c592, Then 5c41402abc4b2a76b9719d911017c592 is saved in into the transmission corresponding logo file of file 4: In transmission file 4.flag, then transmission file 4.flag is sent in intermediate equipment.
For embodiment of the present invention concrete application scene can be with as follows, but not limited to this, including:For example, Transmission equipment to intermediate equipment sends file waiting for transmission to transmit file 4, when intermediate equipment detects transmission text During title " the transmission file 4 " of part 4, the transmission complete transmission of file 4 is judged.Now, intermediate equipment to send out Equipment is sent to send information.The information is used to point out the transmission complete transmission of file 4 to centre Equipment.Transmission equipment is received after information, can be obtained the corresponding MD5 values of transmission file 4 and be generated biography The corresponding logo file of defeated file 4:Transmission file 4.flag;Then will the corresponding MD5 values of transmission file 4 In being saved in transmission file 4.flag;Finally transmission file 4.flag is sent to into the intermediate equipment.This When, intermediate equipment will transmit addition transmission file 4.flag in the corresponding identification information of file 4 in listed files Identification information.
During receiving device pre-download file, the listed files preserved in intermediate equipment, the text can be obtained first The file identification information of different files is preserved in part list;Then it is in the identification information for judging different files The no identification information for carrying preset identifications.In receiving device judges the transmission corresponding identification information of file 4 When carrying the identification information of transmission file 4.flag, the transmission request of transmission file 4 is sent to intermediate equipment, So as to receiving device can download to complete file, and then the accuracy rate of file transmission can be lifted.
Additionally, receiving device can also get transmission file 4.flag.And generate the MD5 of transmission file 4 Value.And contrasted the MD5 values for generating transmission file 4 with the MD5 values of preservation in transmission file 4.flag, If the MD5 values of the transmission file 4 for generating are consistent with the MD5 values preserved in transmission file 4.flag, confirm " the transmission file 4 " is correct.Whether the MD5 values of the file by judging to generate are literary with the mark Whether the MD5 values of the file carried in part are consistent, be able to verify that the file of receiving device acquisition by malice Person distorts such that it is able to ensure the security that file is transmitted.
Another document transmission method provided in an embodiment of the present invention, first, sends equipment and sends out to intermediate equipment Send file waiting for transmission;When detect file it is complete be transferred to intermediate equipment, intermediate equipment can set to transmission Preparation send information, points out the file complete transmission to intermediate equipment;Then transmission equipment is detected and carried After showing information, logo file corresponding with the file can be generated, the intermediate equipment is by institute in listed files Add preset identifications in the identification information for stating file, the preset identifications are the identification information of logo file.When Receiving device in advance from middle device downloads file when, first obtain intermediate equipment in preserve listed files, institute State the file identification information that different files are preserved in listed files;Then, the mark letter of different files is judged Whether the identification information of preset identifications is carried in breath, if existing, the corresponding file of description flags file is to send out Send equipment complete transmission to the file of intermediate equipment, now send file transmission request to intermediate equipment, it is described File transmission request carries the identification information of the file;Finally, receive that the intermediate equipment sends with institute State file corresponding to identification information.
File biography is carried out by the file download time point decided through consultation mutually with the publisher and recipient of current data Defeated to compare, the embodiment of the present invention receives the complete prompting letter for being transferred to intermediate equipment of file when transmission equipment During breath, generate logo file corresponding with the file and be sent to the intermediate equipment, the intermediate equipment Preset identifications will be added in the identification information of file described in listed files.Receiving device is obtaining intermediate equipment After the listed files of middle preservation, if exist in the identification information of the different files of judgement carrying preset identifications, File transmission request is sent to intermediate equipment, the file that the intermediate equipment sends then is received such that it is able to Complete file is downloaded to, and then the accuracy rate of file transmission can be lifted.
Further, implementing as method shown in Fig. 1, embodiments provides a kind of reception Equipment, as shown in figure 5, described device includes:Acquiring unit 51, judging unit 52, transmitting element 53, Receiving unit 54.
The acquiring unit 51, can be used for obtaining the listed files preserved in intermediate equipment, the file row The file identification information of different files is preserved in table.
The judging unit 52, can be used in the identification information for judge the different files with the presence or absence of carrying Have the identification information of preset identifications, wherein, the preset identifications be transmission equipment confirm file complete transmission to Configure during the intermediate equipment.
The transmitting element 53, if in can be used for the identification information that the judging unit 52 judges different files Presence carries the identification information of preset identifications, then send file transmission request, the file to intermediate equipment Transmission request carries the identification information of the file.
The receiving unit 54, can be used for receiving the corresponding with the identification information of the intermediate equipment transmission File.
It should be noted that its of each functional unit involved by a kind of receiving device provided in an embodiment of the present invention He accordingly describes, and may be referred to the correspondence description of Fig. 1, will not be described here.
A kind of receiving device provided in an embodiment of the present invention, first, sends equipment and sends to be passed to intermediate equipment Defeated file;When detect file it is complete be transferred to intermediate equipment, intermediate equipment can send to the equipment of transmission Information, points out the file complete transmission to intermediate equipment;Then send equipment and detect information Afterwards, logo file corresponding with the file can be generated, the intermediate equipment is by file described in listed files Identification information in add preset identifications, the preset identifications for logo file identification information.When reception sets It is standby pre- from middle device downloads file when, the listed files preserved in intermediate equipment, the file are obtained first The file identification information of different files is preserved in list;Then, it is in the identification information for judging different files The no identification information for carrying preset identifications, if existing, the corresponding file of description flags file is transmission equipment Complete transmission now sends file transmission request to the file of intermediate equipment to intermediate equipment, and the file is passed Defeated request carries the identification information of the file;Finally, the intermediate equipment is received sending with the mark The corresponding file of information.
File biography is carried out by the file download time point decided through consultation mutually with the publisher and recipient of current data Defeated to compare, the embodiment of the present invention receives the complete prompting letter for being transferred to intermediate equipment of file when transmission equipment During breath, generate logo file corresponding with the file and be sent to the intermediate equipment, the intermediate equipment Preset identifications will be added in the identification information of file described in listed files.Receiving device is obtaining intermediate equipment After the listed files of middle preservation, if exist in the identification information of the different files of judgement carrying preset identifications, File transmission request is sent to intermediate equipment, the file that the intermediate equipment sends then is received such that it is able to Complete file is downloaded to, and then the accuracy rate of file transmission can be lifted.
Further, implementing as method shown in Fig. 2, embodiments provides another kind and connects Receiving unit, as shown in fig. 6, acquiring unit 61, judging unit 62, transmitting element 63, receiving unit 64.
The acquiring unit 61, can be used for obtaining the listed files preserved in intermediate equipment, the file row The file identification information of different files is preserved in table.
The judging unit 62, can be used in the identification information for judge the different files with the presence or absence of carrying Have the identification information of preset identifications, wherein, the preset identifications be transmission equipment confirm file complete transmission to Configure during the intermediate equipment.
The transmitting element 63, if in can be used for the identification information that the judging unit 62 judges different files Presence carries the identification information of preset identifications, then send file transmission request, the file to intermediate equipment Transmission request carries the identification information of the file.
The receiving unit 64, can be used for receiving the corresponding with the identification information of the intermediate equipment transmission File.
The receiving unit 64, specifically can be used for receiving the intermediate equipment sending with the identification information Corresponding file and logo file corresponding with the preset identifications.
The informative abstract MD5 value of the file is carried in the logo file.
The receiving device also includes:Confirmation unit 65.
The judging unit 62, can be also used for judging whether the corresponding length of the logo file meets preset Condition.
The confirmation unit 65 also includes:Generation module 6501, judge module 6502, confirmation module 6503.
The generation module 6501, for generating the MD5 values of the file;
The judge module 6502, for judge the file that the generation module is generated MD5 values whether It is consistent with the MD5 values of the file carried in the logo file;
It is described confirmation module 6503, if for the judge module judge generate the file MD5 values and The MD5 values of the file carried in the logo file are consistent, then confirm that the file is correct.
It should be noted that each functional unit involved by another kind of receiving device provided in an embodiment of the present invention Other are accordingly described, and may be referred to the correspondence description of Fig. 2, be will not be described here.
Another kind of receiving device provided in an embodiment of the present invention, first, transmission equipment sends to intermediate equipment and treats The file of transmission;When detect file it is complete be transferred to intermediate equipment, intermediate equipment can be sent out to the equipment of transmission Information is sent, the file complete transmission is pointed out to intermediate equipment;Then send equipment and detect prompting letter After breath, logo file corresponding with the file can be generated, the intermediate equipment will be literary described in listed files Add preset identifications in the identification information of part, the preset identifications are the identification information of logo file.Work as reception Equipment in advance from middle device downloads file when, first obtain intermediate equipment in preserve listed files, the text The file identification information of different files is preserved in part list;Then, in judging the identification information of different files Whether the identification information of preset identifications is carried, if existing, the corresponding file of description flags file sets for transmission Standby complete transmission now sends file transmission request, the file to the file of intermediate equipment to intermediate equipment Transmission request carries the identification information of the file;Finally, the intermediate equipment is received sending with the mark The corresponding file of knowledge information.
File biography is carried out by the file download time point decided through consultation mutually with the publisher and recipient of current data Defeated to compare, the embodiment of the present invention receives the complete prompting letter for being transferred to intermediate equipment of file when transmission equipment During breath, generate logo file corresponding with the file and be sent to the intermediate equipment, the intermediate equipment Preset identifications will be added in the identification information of file described in listed files.Receiving device is obtaining intermediate equipment After the listed files of middle preservation, if exist in the identification information of the different files of judgement carrying preset identifications, File transmission request is sent to intermediate equipment, the file that the intermediate equipment sends then is received such that it is able to Complete file is downloaded to, and then the accuracy rate of file transmission can be lifted.
Further, implementing as method shown in Fig. 3, embodiments provides another kind and connects Receiving unit, as shown in fig. 7, transmitting element 71, detector unit 72, signal generating unit 73.
The transmitting element 71, can be used for sending file waiting for transmission to intermediate equipment.
The detector unit 72, can be used for detecting whether to receive the information that the intermediate equipment sends, Wherein, the information is used to point out the file complete transmission to the intermediate equipment.
The signal generating unit 73, sends out if can be used for the detection of the detector unit 72 and receive the intermediate equipment The information sent, then generate logo file corresponding with the file and be sent to the intermediate equipment.
Further, so that the intermediate equipment will be added in the identification information of file described in listed files Preset identifications, preserve the identification information of different files in the listed files, the preset identifications are mark The identification information of file.
It should be noted that its of each functional unit involved by a kind of transmission equipment provided in an embodiment of the present invention He accordingly describes, and may be referred to the correspondence description of Fig. 3, will not be described here.
A kind of transmission equipment provided in an embodiment of the present invention, first, sends equipment and sends to be passed to intermediate equipment Defeated file;When detect file it is complete be transferred to intermediate equipment, intermediate equipment can send to the equipment of transmission Information, points out the file complete transmission to intermediate equipment;Then send equipment and detect information Afterwards, logo file corresponding with the file can be generated, the intermediate equipment is by file described in listed files Identification information in add preset identifications, the preset identifications for logo file identification information.When reception sets It is standby pre- from middle device downloads file when, the listed files preserved in intermediate equipment, the file are obtained first The file identification information of different files is preserved in list;Then, it is in the identification information for judging different files The no identification information for carrying preset identifications, if existing, the corresponding file of description flags file is transmission equipment Complete transmission now sends file transmission request to the file of intermediate equipment to intermediate equipment, and the file is passed Defeated request carries the identification information of the file;Finally, the intermediate equipment is received sending with the mark The corresponding file of information.
File biography is carried out by the file download time point decided through consultation mutually with the publisher and recipient of current data Defeated to compare, the embodiment of the present invention receives the complete prompting letter for being transferred to intermediate equipment of file when transmission equipment During breath, generate logo file corresponding with the file and be sent to the intermediate equipment, the intermediate equipment Preset identifications will be added in the identification information of file described in listed files.Receiving device is obtaining intermediate equipment After the listed files of middle preservation, if exist in the identification information of the different files of judgement carrying preset identifications, File transmission request is sent to intermediate equipment, the file that the intermediate equipment sends then is received such that it is able to Complete file is downloaded to, and then the accuracy rate of file transmission can be lifted.
Further, implementing as method shown in Fig. 4, embodiments provides another kind and connects Receiving unit, as shown in figure 8, transmitting element 81, detector unit 82, signal generating unit 83.
The transmitting element 81, can be used for sending file waiting for transmission to intermediate equipment.
The detector unit 82, can be used for detecting whether to receive the information that the intermediate equipment sends, Wherein, the information is used to point out the file complete transmission to the intermediate equipment.
The signal generating unit 83, sends out if can be used for the detection of the detector unit 82 and receive the intermediate equipment The information sent, then generate logo file corresponding with the file and be sent to the intermediate equipment.
Further, so that the intermediate equipment will be added in the identification information of file described in listed files Preset identifications, preserve the identification information of different files in the listed files, the preset identifications are mark The identification information of file.
The transmission equipment also includes:Acquiring unit 84.
The acquiring unit 84, can be used for obtaining the corresponding informative abstract MD5 value of the file.
The signal generating unit 83, sets if specifically can be used for the detection of the detector unit 82 and receive the centre The information that preparation is sent, then generate the corresponding mark text of the file according to the corresponding MD5 values of the file Part is simultaneously sent to the intermediate equipment, so that receiving device confirms to pass according to the corresponding MD5 values of the file Whether defeated file is correct.
It should be noted that each functional unit involved by another kind of receiving device provided in an embodiment of the present invention Other are accordingly described, and may be referred to the correspondence description of Fig. 4, be will not be described here.
Another kind of transmission equipment provided in an embodiment of the present invention, first, transmission equipment sends to intermediate equipment and treats The file of transmission;When detect file it is complete be transferred to intermediate equipment, intermediate equipment can be sent out to the equipment of transmission Information is sent, the file complete transmission is pointed out to intermediate equipment;Then send equipment and detect prompting letter After breath, logo file corresponding with the file can be generated, the intermediate equipment will be literary described in listed files Add preset identifications in the identification information of part, the preset identifications are the identification information of logo file.Work as reception Equipment in advance from middle device downloads file when, first obtain intermediate equipment in preserve listed files, the text The file identification information of different files is preserved in part list;Then, in judging the identification information of different files Whether the identification information of preset identifications is carried, if existing, the corresponding file of description flags file sets for transmission Standby complete transmission now sends file transmission request, the file to the file of intermediate equipment to intermediate equipment Transmission request carries the identification information of the file;Finally, the intermediate equipment is received sending with the mark The corresponding file of knowledge information.
File biography is carried out by the file download time point decided through consultation mutually with the publisher and recipient of current data Defeated to compare, the embodiment of the present invention receives the complete prompting letter for being transferred to intermediate equipment of file when transmission equipment During breath, generate logo file corresponding with the file and be sent to the intermediate equipment, the intermediate equipment Preset identifications will be added in the identification information of file described in listed files.Receiving device is obtaining intermediate equipment After the listed files of middle preservation, if exist in the identification information of the different files of judgement carrying preset identifications, File transmission request is sent to intermediate equipment, the file that the intermediate equipment sends then is received such that it is able to Complete file is downloaded to, and then the accuracy rate of file transmission can be lifted.
Further, a kind of document transmission system is embodiments provided, as shown in figure 9, including: Transmission equipment 91, intermediate equipment 92, receiving device 93.
The transmission equipment 91, can be used for sending file waiting for transmission to the intermediate equipment 92, and detection is The no information for receiving the transmission of the intermediate equipment 92, wherein, the information is described for pointing out File complete transmission is to the intermediate equipment 92, if detection receives the prompting letter of the transmission of the intermediate equipment 92 Breath, then generate logo file corresponding with the file and be sent to the intermediate equipment 92.
The intermediate equipment 92, can be used for add preset in the identification information of file described in listed files Mark, preserves different identification informations in the listed files, the preset identifications are the mark of logo file Knowledge information.
The receiving device 93, can be used for obtaining the listed files preserved in the intermediate equipment 92, described The file identification information of different files is preserved in listed files;For judging that the mark of the different files is believed With the presence or absence of the identification information for carrying preset identifications in breath, wherein, the preset identifications set for the transmission Configure when standby 91 confirmation file complete transmission is to the intermediate equipment 92;If the mark of the different files There is the identification information for carrying preset identifications in information, then sending file transmission to the intermediate equipment 92 please Ask, the file transmission request carries the identification information of the file.
A kind of document transmission system provided in an embodiment of the present invention, first, sends equipment and sends to intermediate equipment File waiting for transmission;When detect file it is complete be transferred to intermediate equipment, intermediate equipment can be to the equipment of transmission Information is sent, the file complete transmission is pointed out to intermediate equipment;Then send equipment and detect prompting After information, logo file corresponding with the file can be generated, the intermediate equipment is by described in listed files Add preset identifications in the identification information of file, the preset identifications are the identification information of logo file.When connecing Receiving unit in advance from middle device downloads file when, first obtain intermediate equipment in preserve listed files, it is described The file identification information of different files is preserved in listed files;Then, the identification information of different files is judged In whether carry the identification information of preset identifications, if existing, the corresponding file of description flags file is to send Equipment complete transmission now sends file transmission request, the text to the file of intermediate equipment to intermediate equipment Part transmission request carries the identification information of the file;Finally, receive that the intermediate equipment sends with it is described File corresponding to identification information.
File biography is carried out by the file download time point decided through consultation mutually with the publisher and recipient of current data Defeated to compare, the embodiment of the present invention receives the complete prompting letter for being transferred to intermediate equipment of file when transmission equipment During breath, generate logo file corresponding with the file and be sent to the intermediate equipment, the intermediate equipment Preset identifications will be added in the identification information of file described in listed files.Receiving device is obtaining intermediate equipment After the listed files of middle preservation, if exist in the identification information of the different files of judgement carrying preset identifications, File transmission request is sent to intermediate equipment, the file that the intermediate equipment sends then is received such that it is able to Complete file is downloaded to, and then the accuracy rate of file transmission can be lifted.
Through the above description of the embodiments, those skilled in the art can be understood that this It is bright to add the mode of required common hardware to realize by software, naturally it is also possible to by hardware, but a lot In the case of the former be more preferably embodiment.Based on such understanding, technical scheme substantially or Person says that the part contributed to prior art can be embodied in the form of software product, and the computer is soft Part product is stored in the storage medium that can read, such as the floppy disk of computer, hard disk or CD etc., if including Dry instruction is used so that a computer equipment (can be personal computer, server, or the network equipment Deng) perform method described in each embodiment of the invention.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited to This, any those familiar with the art the invention discloses technical scope in, can readily occur in Change or replacement, all should be included within the scope of the present invention.Therefore, protection scope of the present invention should It is defined by the scope of the claims.

Claims (10)

1. a kind of document transmission method, it is characterised in that include:
The listed files preserved in intermediate equipment is obtained, the mark of different files is preserved in the listed files Information;
Judge with the presence or absence of the identification information for carrying preset identifications in the identification information of the different files, its In, the preset identifications are to configure when transmission equipment confirms file complete transmission to the intermediate equipment, institute State the identification information that preset identifications are logo file;
If existing, file transmission request is sent to the intermediate equipment, the file transmission request carries institute State the identification information of file;
Receive the file corresponding with the identification information that the intermediate equipment sends.
2. document transmission method according to claim 1, it is characterised in that the reception centre The file corresponding with the identification information that equipment sends includes:
Receive the file corresponding with the identification information that the intermediate equipment sends and with the preset identifications Corresponding logo file.
3. document transmission method according to claim 2, it is characterised in that take in the logo file Informative abstract MD5 value with the file, described to receive the intermediate equipment sending with the identification information After corresponding file and file corresponding with the preset identifications, also include:
Judge whether the corresponding length of the logo file meets prerequisite;
If so, then confirm that the file is correct.
4. document transmission method according to claim 3, it is characterised in that described if so, then to confirm The file correctly includes:
If so, the MD5 values of the file are then generated;
Judge the MD5 values of the file for generating whether with the file of carrying in the logo file MD5 values are consistent;
If so, then confirm that the file is correct.
5. a kind of document transmission method, it is characterised in that include:
File waiting for transmission is sent to intermediate equipment;
Detect whether to receive the information that the intermediate equipment sends, wherein, the information is used for The file complete transmission is pointed out to the intermediate equipment;
If so, then generate logo file corresponding with the file and be sent to the intermediate equipment, so that The intermediate equipment will add preset identifications, the file row in the identification information of file described in listed files The identification information of different files is preserved in table, the preset identifications are the identification information of logo file.
6. document transmission method according to claim 5, it is characterised in that it is described if so, generate with The corresponding logo file of the file is simultaneously sent to before the intermediate equipment, is also included:
Obtain the corresponding informative abstract MD5 value of the file;
It is described if so, then generate the corresponding logo file of the file and be sent to the intermediate equipment include:
If so, then the corresponding logo file of the file generated according to the corresponding MD5 values of the file and is sent To the intermediate equipment, so that receiving device confirms the file of transmission according to the corresponding MD5 values of the file It is whether correct.
7. a kind of receiving device, it is characterised in that include:
Acquiring unit, for obtaining intermediate equipment in preserve listed files, preserve in the listed files The identification information of different files;
Judging unit, for whether there is in the identification information for judging the different files preset identifications are carried Identification information, wherein, the preset identifications be transmission equipment confirm file complete transmission set to the centre Configure when standby, the preset identifications are the identification information of logo file;
Transmitting element, if carrying for presence in the identification information of the different files of judging unit judgement pre- The identification information of mark is put, then sends file transmission request, the file transmission request to the intermediate equipment Carry the identification information of the file;
Receiving unit, for receiving the file corresponding with the identification information that the intermediate equipment sends.
8. receiving device according to claim 7, it is characterised in that
The receiving unit, specifically for receiving the corresponding with the identification information of the intermediate equipment transmission And logo file corresponding with the preset identifications.
9. a kind of transmission equipment, it is characterised in that include:
Transmitting element, for sending file waiting for transmission to intermediate equipment;
Detector unit, for detecting whether the information that the intermediate equipment sends is received, wherein, institute Information is stated for pointing out the file complete transmission to the intermediate equipment;
Signal generating unit, if receiving the information that the intermediate equipment sends for detector unit detection, Then generate logo file corresponding with the file and be sent to the intermediate equipment, so that the centre sets It is standby to add preset identifications in the identification information of file described in listed files, preserve in the listed files The identification information of different files, the preset identifications are the identification information of logo file.
10. transmission equipment according to claim 9, it is characterised in that the transmission equipment also includes: Acquiring unit,
The acquiring unit, for obtaining the corresponding informative abstract MD5 value of the file;
The signal generating unit, if receiving what the intermediate equipment sent specifically for detector unit detection Information, then generate the corresponding logo file of the file and send according to the corresponding MD5 values of the file To the intermediate equipment, so that receiving device confirms the file of transmission according to the corresponding MD5 values of the file It is whether correct.
CN201510685225.XA 2015-10-20 2015-10-20 File transmission method and device Pending CN106603614A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510685225.XA CN106603614A (en) 2015-10-20 2015-10-20 File transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510685225.XA CN106603614A (en) 2015-10-20 2015-10-20 File transmission method and device

Publications (1)

Publication Number Publication Date
CN106603614A true CN106603614A (en) 2017-04-26

Family

ID=58555269

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510685225.XA Pending CN106603614A (en) 2015-10-20 2015-10-20 File transmission method and device

Country Status (1)

Country Link
CN (1) CN106603614A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810172A (en) * 2018-07-26 2018-11-13 Oppo(重庆)智能科技有限公司 Judgment method, device and the electronic equipment of file integrality
CN109104481A (en) * 2018-08-07 2018-12-28 Oppo(重庆)智能科技有限公司 file integrity detection method, file integrity detection device and terminal device
CN109309651A (en) * 2017-07-28 2019-02-05 阿里巴巴集团控股有限公司 A kind of document transmission method, device, equipment and storage medium
CN110515991A (en) * 2019-07-16 2019-11-29 上海数据交易中心有限公司 Batch dispenses the collection method and device, storage medium, terminal of file
CN109413186B (en) * 2018-10-31 2021-07-30 Oppo广东移动通信有限公司 Application program updating method, terminal, server and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1764186A (en) * 2004-09-30 2006-04-26 国际商业机器公司 Method and system for FTP transmission
EP2315413A1 (en) * 2009-10-26 2011-04-27 Alcatel Lucent Method and apparatus for communicating an autonomous transfer failure alarm
CN102855236A (en) * 2011-06-27 2013-01-02 北京东方通科技股份有限公司 File transmitting system and file transmitting method
CN103023988A (en) * 2012-11-27 2013-04-03 北京金山云科技有限公司 File synchronization method, file synchronization server, file synchronization client side and terminal device
CN104301438A (en) * 2014-07-25 2015-01-21 武汉传神信息技术有限公司 File uploading method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1764186A (en) * 2004-09-30 2006-04-26 国际商业机器公司 Method and system for FTP transmission
EP2315413A1 (en) * 2009-10-26 2011-04-27 Alcatel Lucent Method and apparatus for communicating an autonomous transfer failure alarm
CN102855236A (en) * 2011-06-27 2013-01-02 北京东方通科技股份有限公司 File transmitting system and file transmitting method
CN103023988A (en) * 2012-11-27 2013-04-03 北京金山云科技有限公司 File synchronization method, file synchronization server, file synchronization client side and terminal device
CN104301438A (en) * 2014-07-25 2015-01-21 武汉传神信息技术有限公司 File uploading method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109309651A (en) * 2017-07-28 2019-02-05 阿里巴巴集团控股有限公司 A kind of document transmission method, device, equipment and storage medium
CN108810172A (en) * 2018-07-26 2018-11-13 Oppo(重庆)智能科技有限公司 Judgment method, device and the electronic equipment of file integrality
CN109104481A (en) * 2018-08-07 2018-12-28 Oppo(重庆)智能科技有限公司 file integrity detection method, file integrity detection device and terminal device
CN109104481B (en) * 2018-08-07 2021-09-21 Oppo(重庆)智能科技有限公司 File integrity detection method, file integrity detection device and terminal equipment
CN109413186B (en) * 2018-10-31 2021-07-30 Oppo广东移动通信有限公司 Application program updating method, terminal, server and system
CN110515991A (en) * 2019-07-16 2019-11-29 上海数据交易中心有限公司 Batch dispenses the collection method and device, storage medium, terminal of file

Similar Documents

Publication Publication Date Title
CN106603614A (en) File transmission method and device
US11489801B2 (en) Systems and methods for controlling email access
US9137662B2 (en) Method and apparatus for access credential provisioning
CN105228153B (en) Network access method, system and wireless routing equipment
CN103929411B (en) Information displaying method, terminal, safety server and system
CN107784552A (en) Information push task executing method, device, computer equipment and storage medium
US20140165153A1 (en) Systems and Methods for Controlling Email Access
CN107135195A (en) The detection method and device of abnormal user account
CN105229655A (en) For the system of secure log, method and equipment thereof
US8131278B2 (en) Method, apparatus, and computer program product for application-based communications
WO2004105332A3 (en) Method and apparatus for filtering email spam based on similarity measures
CN106850225B (en) Identifying code transfer approach and system
US9350551B2 (en) Validity determination method and validity determination apparatus
CN104618853B (en) A kind of information push method, apparatus and system
WO2017054307A1 (en) Recognition method and apparatus for user information
CN104980420A (en) Business processing method, device, terminal and server
CN108599961A (en) A kind of communication means, car-mounted terminal, automobile services platform and system
CN107241449A (en) Method of data synchronization and device, hand-held mobile terminal and storage medium
CN104851139A (en) Unpacking method and device based on wifi network
WO2016050078A1 (en) Authentication method, mobile communication authentication platform and device
CN108062690A (en) Method, apparatus, electronic equipment and the storage medium of advertisement pushing
US20160057250A1 (en) Information terminal, access system, information processing method, and program
CN103823702A (en) Application installation method and electronic equipment
CN104112201A (en) Electronic bill data transmitting and receiving methods and apparatuses
CN111177536A (en) Method and device for transmitting customized information to unregistered user based on device fingerprint and electronic device

Legal Events

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

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Applicant after: Beijing Guoshuang Technology Co.,Ltd.

Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing

Applicant before: Beijing Guoshuang Technology Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20170426

RJ01 Rejection of invention patent application after publication