CN104796460A - File transmission method and device - Google Patents

File transmission method and device Download PDF

Info

Publication number
CN104796460A
CN104796460A CN201510137040.5A CN201510137040A CN104796460A CN 104796460 A CN104796460 A CN 104796460A CN 201510137040 A CN201510137040 A CN 201510137040A CN 104796460 A CN104796460 A CN 104796460A
Authority
CN
China
Prior art keywords
file
router
receiving equipment
intranet
transmitting apparatus
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
CN201510137040.5A
Other languages
Chinese (zh)
Other versions
CN104796460B (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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510137040.5A priority Critical patent/CN104796460B/en
Publication of CN104796460A publication Critical patent/CN104796460A/en
Application granted granted Critical
Publication of CN104796460B publication Critical patent/CN104796460B/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)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses and relates to a file transmission method and device, and belongs to the technical field of information transmission. The method includes the steps of receiving a file sent by a sending device in an inner network to a receiving device in the inner network, storing the file, and sending the file to the receiving device when the receiving device has access to the inner network. The problems that in the related art, when files are transmitted between devices through Bluetooth, NFC, ZigBee and other point-to-point short-distance wireless transmission technologies, the transmission efficiency is low, stability is poor, and offline transmission is not supported are solved. On one hand, compared with the types of wireless network connection, the transmission speed and stability of wired network connection or Wi-Fi connection established between the devices and a router are increased; on the other hand, due to the fact that the router has the file storage function, offline transmission is supported in the transmission process, the limit that the file can not be transmitted until the sending device and the receiving device are connected with the router at the same time is eliminated.

Description

Document transmission method and device
Technical field
The disclosure relates to technical field of information transmission, particularly a kind of document transmission method and device.
Background technology
Along with the development of the communication technology, such as bluetooth, NFC (Near Field Communication, near-field communication), this kind of point-to-point short range wireless transmission technology of ZigBee (purple honeybee) are there is.
Equipment directly can be set up point-to-point wireless network with equipment room by above-mentioned short range wireless transmission technology and be connected.Equipment and equipment room are connected by above-mentioned wireless network and carry out file transfer.But, there is following defect when transfer files in above-mentioned point-to-point short range wireless transmission technology: on the one hand, be limited by the impact of proper property of bluetooth, this kind of point-to-point short range wireless transmission technology of NFC, ZigBee, the transmission speed of file is quite limited, and the less stable that the wireless network that equipment and equipment room are set up is connected; On the other hand, the wireless network could must set up in two simultaneous situations of equipment between the two connects, and then connects transfer files by this wireless network.Therefore, equipment and equipment room, when by above-mentioned correlation technique transfer files, exist that efficiency of transmission is low, poor stability and do not support the problem that off-line transmits.
Summary of the invention
Disclosure embodiment provides a kind of document transmission method and device.Described technical scheme is as follows:
According to the first aspect of disclosure embodiment, provide a kind of document transmission method, described method comprises:
Receive the file that the transmitting apparatus in Intranet sends to the receiving equipment in described Intranet;
Store described file;
When described receiving equipment accesses described Intranet, send described file to described receiving equipment.
Alternatively, the file that the transmitting apparatus in described reception Intranet sends to the receiving equipment in described Intranet, comprising:
The file section sent by the transmitting apparatus in Intranet described at least two receiving thread parallel receives, described file section is that described transmitting apparatus is cut into slices to the file that the described file of the receiving equipment transmission in described Intranet is corresponding;
Wherein, each receiving thread is for receiving a file section.
Alternatively, described method also comprises:
Receive the reception inquiry request carrying file identification that described transmitting apparatus sends;
The positional information that the file inquiring about complete reception in the file corresponding with described file identification is cut into slices;
Described positional information is sent to described transmitting apparatus;
Receive the file section of not complete reception in the described file that described transmitting apparatus sends according to described positional information.
Alternatively, when described receiving equipment accesses described Intranet, send described file to described receiving equipment, comprising:
When described receiving equipment accesses described Intranet, send file reception notice to described receiving equipment;
Receive the file reception response corresponding to described file reception notice that described receiving equipment sends;
Described file is sent to described receiving equipment according to described file reception response.
Alternatively, described method also comprises:
Send the list of devices including at least one device identification to described transmitting apparatus, at least one device identification described comprise device identification corresponding to the current equipment just connecting described router, at least one item connected in device identification corresponding to the equipment of described router;
Receive the target device mark that described transmitting apparatus sends, and equipment corresponding for described target device mark is defined as described receiving equipment;
Wherein, described target device mark is selected from least one device identification described.
According to the second aspect of disclosure embodiment, provide a kind of document transmission method, described method comprises:
After in router access Intranet, send file via described Intranet to router;
Indicate to described router the receiving equipment that described file is corresponding, described router is used for when described receiving equipment accesses described Intranet, sends described file to described receiving equipment.
Alternatively, described by router access Intranet in after, send file via described Intranet to router, comprising:
Described file is carried out section and obtain at least two file sections;
Thread parallel is sent at least two files sections described in described router transmission by least two;
Wherein, each sends thread for sending a file section.
Alternatively, described method also comprises:
The reception inquiry request carrying file identification corresponding to described file is sent to described router;
Receive the positional information that described router sends, described positional information is by the positional information of the file of described router complete reception section in described file;
To send in described file to described router according to described positional information and do not cut into slices by the file of the complete reception of described router.
Alternatively, indicate to described router the receiving equipment that described file is corresponding, comprising:
Receive the list of devices including at least one device identification that described router sends, at least one device identification described comprise device identification corresponding to the current equipment just connecting described router, at least one item connected in device identification corresponding to the equipment of described router;
Described list of devices is shown;
Obtain the selection signal of the target device mark corresponded in described list of devices;
Send described target device mark to described router, described target device mark is used to indicate receiving equipment corresponding to described file.
According to the third aspect of disclosure embodiment, provide a kind of file transfer means, in router, described device comprises:
File receive module, is configured to receive the file of the transmitting apparatus in Intranet to the receiving equipment transmission in described Intranet;
File storage module, is configured to store described file;
File send module, is configured to, when described receiving equipment accesses described Intranet, send described file to described receiving equipment.
Alternatively, described file receive module, also be configured to the file section sent by the transmitting apparatus in Intranet described at least two receiving thread parallel receives, described file section is that described transmitting apparatus is cut into slices to the file that the described file of the receiving equipment transmission in described Intranet is corresponding; Wherein, each receiving thread is for receiving a file section.
Alternatively, described device also comprises:
Request receiving module, is configured to the reception inquiry request carrying file identification receiving the transmission of described transmitting apparatus;
Information inquiry module, the positional information that the file being configured to inquire about complete reception in the file corresponding with described file identification is cut into slices;
Information sending module, is configured to send described positional information to described transmitting apparatus;
Section receiver module, is configured to receive the file section of not complete reception in the described file that described transmitting apparatus sends according to described positional information.
Alternatively, described file send module, comprising: notice sends submodule, response receives submodule and file sends submodule;
Described notice sends submodule, is configured to when described receiving equipment accesses described Intranet, sends file reception notice to described receiving equipment;
Described response receives submodule, is configured to the file reception response corresponding to described file reception notice receiving the transmission of described receiving equipment;
Described file sends submodule, is configured to send described file according to described file reception response to described receiving equipment.
Alternatively, described device also comprises:
List sending module, be configured to send to described transmitting apparatus the list of devices including at least one device identification, at least one device identification described comprise device identification corresponding to the current equipment just connecting described router, at least one item connected in device identification corresponding to the equipment of described router;
Mark receiver module, is configured to the target device mark receiving the transmission of described transmitting apparatus, and equipment corresponding for described target device mark is defined as described receiving equipment;
Wherein, described target device mark is selected from least one device identification described.
According to the fourth aspect of disclosure embodiment, provide a kind of file transfer means, in transmitting apparatus, described device comprises:
Sending module, is configured to be accessed after in Intranet by router, sends file via described Intranet to router;
Indicating module, is configured to indicate to described router the receiving equipment that described file is corresponding, and described router is used for when described receiving equipment accesses described Intranet, sends described file to described receiving equipment.
Alternatively, described sending module, comprising: section submodule and transmission submodule;
Described section submodule, is configured to described file to be carried out section and obtains at least two file sections;
Described transmission submodule, is configured to send thread parallel at least two files sections described in described router transmission by least two;
Wherein, each sends thread for sending a file section.
Alternatively, described device also comprises:
Request sending module, is configured to send to described router the reception inquiry request carrying file identification corresponding to described file;
Information receiving module, is configured to the positional information receiving the transmission of described router, and described positional information is by the positional information of the file of described router complete reception section in described file;
Section sending module, is configured to send in described file to described router according to described positional information do not cut into slices by the file of the complete reception of described router.
Alternatively, described indicating module, comprising: list reception submodule, list display sub-module, signal acquisition submodule and mark send submodule;
Described list reception submodule, be configured to receive the list of devices including at least one device identification that described router sends, at least one device identification described comprise device identification corresponding to the current equipment just connecting described router, at least one item connected in device identification corresponding to the equipment of described router;
Described list display sub-module, is configured to described list of devices to show;
Described signal acquisition submodule, is configured to obtain the selection signal of the target device mark corresponded in described list of devices;
Described mark sends submodule, is configured to send described target device mark to described router, and described target device mark is used to indicate receiving equipment corresponding to described file.
According to the 5th aspect of disclosure embodiment, provide a kind of file transfer means, in router, comprising:
Processor;
For storing the memory of the executable instruction of described processor;
Wherein, described processor is configured to:
Receive the file that the transmitting apparatus in Intranet sends to the receiving equipment in described Intranet;
Store described file;
When described receiving equipment accesses described Intranet, send described file to described receiving equipment.
According to the 6th aspect of disclosure embodiment, provide a kind of file transfer means, in transmitting apparatus, comprising:
Processor;
For storing the memory of the executable instruction of described processor;
Wherein, described processor is configured to:
After in router access Intranet, send file via described Intranet to router;
Indicate to described router the receiving equipment that described file is corresponding, described router is used for when described receiving equipment accesses described Intranet, sends described file to described receiving equipment.
The technical scheme that disclosure embodiment provides can comprise following beneficial effect:
By the file that the transmitting apparatus in router reception also storing intranet sends to the receiving equipment in Intranet, and when above-mentioned receiving equipment access Intranet, send above-mentioned file to this receiving equipment; When to solve in correlation technique equipment and equipment room point-to-point short range wireless transmission technical transmission file this kind of by bluetooth, NFC, ZigBee, the efficiency of transmission of existence is low, poor stability and do not support the problem that off-line transmits; On the one hand, connect compared to above-mentioned several wireless network, the transmission speed that the cable network set up between equipment with router is connected or Wi-Fi connects and stability promote all to some extent; On the other hand, router is in the process forwarding the file that the transmitting apparatus in Intranet sends to the receiving equipment in Intranet, because router possesses the function storing this file, therefore this transmitting procedure supports off-line transmission, need not limit transmitting apparatus and receiving equipment connection route device ability transfer files simultaneously.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows and meets embodiment of the present disclosure, and is used from specification one and explains principle of the present disclosure.
Fig. 1 is the schematic diagram of a kind of implementation environment involved by each embodiment of the disclosure;
Fig. 2 is the flow chart of a kind of document transmission method according to an exemplary embodiment;
Fig. 3 is the flow chart of a kind of document transmission method according to another exemplary embodiment;
Fig. 4 A is the flow chart of a kind of document transmission method according to another exemplary embodiment;
Fig. 4 B is the flow chart of step 403 in the document transmission method shown in another exemplary embodiment;
Fig. 4 C is the flow chart of step 404 in the document transmission method shown in another exemplary embodiment;
Fig. 5 is the flow chart of a kind of document transmission method according to another exemplary embodiment;
Fig. 6 is the block diagram of a kind of file transfer means according to an exemplary embodiment;
Fig. 7 is the block diagram of a kind of file transfer means according to another exemplary embodiment;
Fig. 8 is the block diagram of a kind of file transfer means according to another exemplary embodiment;
Fig. 9 is the block diagram of a kind of file transfer means according to another exemplary embodiment;
Figure 10 is the block diagram of a kind of device according to an exemplary embodiment;
Figure 11 is the block diagram of a kind of device according to another exemplary embodiment;
Figure 12 is the block diagram of a kind of document transmission system according to an exemplary embodiment.
By above-mentioned accompanying drawing, illustrate the embodiment that the disclosure is clear and definite more detailed description will be had hereinafter.These accompanying drawings and text description be not in order to limited by any mode the disclosure design scope, but by reference to specific embodiment for those skilled in the art illustrate concept of the present disclosure.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Fig. 1 is the schematic diagram of a kind of implementation environment involved by each embodiment of the disclosure, and this implementation environment comprises: router one 20, transmitting apparatus 140 and receiving equipment 160.Wherein:
The external memory for storage file can be provided with in router one 20.This external memory can be hard disk, floppy disk, CD, USB flash disk etc.
Router one 20 is connected with transmitting apparatus 140 by wireless network or cable network.Wherein, wireless network is Wi-Fi (Wireless Fidelity, Wireless Fidelity) network.Transmitting apparatus 140 can be the electronic equipments such as mobile phone, panel computer, E-book reader, personal digital assistant, pocket computer on knee, desktop computer, intelligent television, Intelligent bracelet, intelligent watch.
Router one 20 is connected with receiving equipment 160 by wireless network or cable network.Wherein, wireless network is Wi-Fi network.Similarly, receiving equipment 160 can be the electronic equipments such as mobile phone, panel computer, E-book reader, personal digital assistant, pocket computer on knee, desktop computer, intelligent television, Intelligent bracelet, intelligent watch.
Fig. 2 is the flow chart of a kind of document transmission method according to an exemplary embodiment, and the present embodiment is applied to this document transmission method in the router one 20 in implementation environment shown in Fig. 1 and is illustrated.This document transmission method can comprise following several step:
In step 202., the file that the transmitting apparatus in Intranet sends to the receiving equipment in Intranet is received.
In step 204, this file is stored.
In step 206, when receiving equipment access Intranet, this file is sent to receiving equipment.
Alternatively, receive the file that the transmitting apparatus in Intranet sends to the receiving equipment in Intranet, comprise: the file section sent by the transmitting apparatus at least two receiving thread parallel receive Intranets, the section of this file is that transmitting apparatus is cut into slices to the file that the file of the receiving equipment transmission in Intranet is corresponding; Wherein, each receiving thread is for receiving a file section.
Alternatively, the method also comprises:
Receive the reception inquiry request carrying file identification that transmitting apparatus sends;
Inquire about the positional information of the file section of complete reception in the file corresponding with file identification;
This positional information is sent to transmitting apparatus;
Receive the file section of not complete reception in the file that transmitting apparatus sends according to this positional information.
Alternatively, when receiving equipment access Intranet, send this file to receiving equipment, comprising:
When receiving equipment access Intranet, send file reception notice to receiving equipment;
Receive the file reception response corresponding to file reception notice that receiving equipment sends;
File is sent to receiving equipment according to file reception response.
Alternatively, the method also comprises:
Send to transmitting apparatus and include the list of devices of at least one device identification, this at least one device identification comprises device identification corresponding to the equipment of current positive connection route device, at least one item connected in device identification corresponding to the equipment of router; Receive the target device mark that transmitting apparatus sends, and equipment corresponding for target device mark is defined as receiving equipment; Wherein, target device mark is selected from least one device identification.
In sum, the document transmission method that the present embodiment provides, the file sent to the receiving equipment in Intranet by the transmitting apparatus in router reception also storing intranet, and when above-mentioned receiving equipment access Intranet, send above-mentioned file to this receiving equipment; When to solve in correlation technique equipment and equipment room point-to-point short range wireless transmission technical transmission file this kind of by bluetooth, NFC, ZigBee, the efficiency of transmission of existence is low, poor stability and do not support the problem that off-line transmits; On the one hand, connect compared to above-mentioned several wireless network, the transmission speed that the cable network set up between equipment with router is connected or Wi-Fi connects and stability promote all to some extent; On the other hand, router is in the process forwarding the file that the transmitting apparatus in Intranet sends to the receiving equipment in Intranet, because router possesses the function storing this file, therefore this transmitting procedure supports off-line transmission, need not limit transmitting apparatus and receiving equipment connection route device ability transfer files simultaneously.
Fig. 3 is the flow chart of a kind of document transmission method according to another exemplary embodiment, and the present embodiment is applied to this document transmission method in the transmitting apparatus 140 in implementation environment shown in Fig. 1 and is illustrated.This document transmission method can comprise following several step:
In step 302, after in router access Intranet, file is sent via Intranet to router.
In step 304, indicate to router the receiving equipment that this file is corresponding, this router is used for, when receiving equipment access Intranet, sending this file to receiving equipment.
Alternatively, after in router access Intranet, send file via Intranet to router, comprising:
File is carried out section and obtain at least two file sections;
Send thread parallel by least two and send at least two file sections to router;
Wherein, each sends thread for sending a file section.
Alternatively, the method also comprises:
The reception inquiry request carrying file identification corresponding to this file is sent to router;
The positional information that receiving router sends, this positional information is the positional information of the file section being routed the complete reception of device in above-mentioned file;
Send in above-mentioned file the file section not being routed the complete reception of device to router according to this positional information.
Alternatively, indicate to router the receiving equipment that this file is corresponding, comprising:
The list of devices including at least one device identification that receiving router sends, this at least one device identification comprises device identification corresponding to the equipment of current positive connection route device, at least one item connected in device identification corresponding to the equipment of router;
List of devices is shown;
Obtain the selection signal of the target device mark corresponded in list of devices;
Send target device mark to router, this target device mark is used to indicate receiving equipment corresponding to file.
In sum, the document transmission method that the present embodiment provides, transmitting apparatus, when to receiving equipment transfer files in Intranet, by sending file to router, and sends above-mentioned file to this receiving equipment by this router when above-mentioned receiving equipment access Intranet; When to solve in correlation technique equipment and equipment room point-to-point short range wireless transmission technical transmission file this kind of by bluetooth, NFC, ZigBee, the efficiency of transmission of existence is low, poor stability and do not support the problem that off-line transmits; On the one hand, connect compared to above-mentioned several wireless network, the transmission speed that the cable network set up between equipment with router is connected or Wi-Fi connects and stability promote all to some extent; On the other hand, router is in the process forwarding the file that the transmitting apparatus in Intranet sends to the receiving equipment in Intranet, because router possesses the function storing this file, therefore this transmitting procedure supports off-line transmission, need not limit transmitting apparatus and receiving equipment connection route device ability transfer files simultaneously.
Fig. 4 A is the flow chart of a kind of document transmission method according to another exemplary embodiment, and the present embodiment is applied in implementation environment shown in Fig. 1 with this document transmission method and is illustrated.This document transmission method can comprise following several step:
In step 401, transmitting apparatus sends file to router, and this transmitting apparatus is by router access Intranet.
Transmitting apparatus is connected with router by wireless network or cable network.In the present embodiment, be connected by setting up wireless network between Wi-Fi network with router for transmitting apparatus.When transmitting apparatus needs to receiving equipment transfer files in Intranet, transmitting apparatus is connected by above-mentioned Wi-Fi network and sends the required file transmitted to router.
Compared to bluetooth, this kind of point-to-point short range wireless transmission technology of NFC, ZigBee, it is even higher that the transmission speed that Wi-Fi network connects can reach 54Mbps, and therefore the transmission speed of file will significantly improve.In addition, the stability of Wi-Fi network connection is also than the good stability that above-mentioned several wireless network connects.Therefore, the document transmission method that the present embodiment provides, can realize carrying out efficient, stable file transfer in Intranet.
Alternatively, the client corresponding with router can be run in transmitting apparatus.Set up after network is connected between transmitting apparatus with router, transmit leg to router, and sends file by this client to router by this client logs after logining successfully.
Correspondingly, router receives the file that the transmitting apparatus in Intranet sends to the receiving equipment in Intranet.
In step 402, router stores this file.
Be provided with external memory in router, this external memory is used for storage file.Alternatively, the type of external memory includes but not limited to hard disk, floppy disk, CD, USB flash disk etc.To be provided with hard disk in router, the type of this hard disk includes but not limited to solid state hard disc, mechanical hard disk, hybrid hard disk etc.
Router receives the transmitting apparatus in Intranet after the file of the receiving equipment transmission in Intranet, is stored in external memory by this file.Because file is stored in external memory by router, even if therefore router power-off, this file still can be stored in router can not be lost.
In addition, except the memory of the above-mentioned several types exemplified, in router, also can be provided with the memory of other type, this present embodiment is not construed as limiting.
In step 403, transmitting apparatus indicates to router the receiving equipment that this file is corresponding.
As shown in Figure 4 B, in a kind of possible execution mode, this step can comprise following a few sub-steps:
In step 403a, router sends the list of devices including at least one device identification to transmitting apparatus.
Wherein, this at least one device identification comprise device identification corresponding to the equipment of current positive connection route device, at least one item connected in device identification corresponding to the equipment of router.Also namely, the device identification of online equipment and/or off-line device is sent to transmitting apparatus by router.Device identification is for distinguishing different equipment.Alternatively, device identification can be MAC (Media Access Control, medium access control) address.
Certainly, in the execution mode that other is possible, device identification can also in the information such as MAC Address, user account number that equipment is corresponding, user's pet name that equipment is corresponding one or more be combined into line display.To this, the present embodiment is not construed as limiting.
Correspondingly, the list of devices of transmitting apparatus receiving router transmission.
In step 403b, list of devices shows by transmitting apparatus.
List of devices shows by transmitting apparatus, so that user therefrom chooses the receiving equipment of one or more equipment as file.
In step 403c, transmitting apparatus obtains the selection signal of the target device mark corresponded in list of devices.
Wherein, the quantity of target device mark can be one, also can be two or more, be not construed as limiting this present embodiment.Target device mark is used to indicate receiving equipment corresponding to file.
In step 403d, transmitting apparatus sends target device mark to router.
Correspondingly, router receives the target device mark that transmitting apparatus sends, and equipment corresponding for this target device mark is defined as receiving equipment.
Certainly, the above-mentioned transmitting apparatus provided indicates the mode of the receiving equipment that file is corresponding to be only exemplary to router, and transmitting apparatus also can adopt other possible execution mode to indicate to router the receiving equipment that file is corresponding.Such as, transmitting apparatus, when sending file to router, sends the device identification of receiving equipment corresponding to this file simultaneously.To this, the present embodiment is not construed as limiting.
Above-mentioned steps 403 can be carried out before step 401 and step 402, also can carry out after step 401 and step 402, or carried out with step 401 and step 402 simultaneously.To this, the present embodiment is also not construed as limiting.
In addition, alternatively, also can store fileinfo corresponding to each file in router, this file packets of information draws together file file path in the router and transmission path corresponding to file.This transmission path comprises the corresponding relation between the device identification of transmitting apparatus and the device identification of receiving equipment.
In step 404, router, when receiving equipment access Intranet, sends this file to receiving equipment.
The receiving equipment of router indicated by transmitting apparatus, set up between this receiving equipment with router cable network be connected or Wi-Fi network connect time, send above-mentioned file to this receiving equipment.
As shown in Figure 4 C, in a kind of possible execution mode, this step can comprise following a few sub-steps:
In step 404a, router, when receiving equipment access Intranet, sends file reception notice to receiving equipment.
Alternatively, the information such as device identification of documentary filename, transmitting apparatus can be carried in file reception notice.After recipient views this file reception notification, decision-making whether can receive this file.
Correspondingly, the file reception that receiving equipment receiving router sends notifies.
In step 404b, receiving equipment sends the file reception response corresponding to file reception notice to router.
When recipient's decision-making receives this file, receiving equipment sends file reception response to router, and the response of this file reception is used to indicate router and sends file to receiving equipment.
Correspondingly, router receives the file reception response corresponding to file reception notice that receiving equipment sends.
In step 404c, router sends file according to file reception response to receiving equipment.
After router receives file reception response, show that recipient user agrees to receive file, router by be connected with the cable network set up between receiving equipment or Wi-Fi network connects, to receiving equipment transmission file.
Certainly, in the execution mode that other is possible, when receiving equipment access Intranet, router also can send file directly to receiving equipment.To this, the present embodiment is not construed as limiting.
Alternatively, in receiving equipment, also can run the client corresponding with router, set up after network is connected between receiving equipment with router, recipient by this client logs to router.Correspondingly, the client Successful login of router in receiving equipment, to router, sends above-mentioned file to client.
In the present embodiment, transmitting apparatus, when sending to router the file being used for sending to the receiving equipment in Intranet, only needs to guarantee to set up between this transmitting apparatus with router have network to be connected, and receiving equipment corresponding to this file can be online, also can off-line; Similarly, router, when transmitting a document to the receiving equipment in Intranet, only needs to guarantee to set up between this receiving equipment with router have network to be connected, and transmitting apparatus corresponding to this file can be online, also can off-line.Therefore, the document transmission method that the present embodiment provides supports off-line transmission, need not limit transmitting apparatus and receiving equipment connection route device ability transfer files simultaneously.
In sum, the document transmission method that the present embodiment provides, the file sent to the receiving equipment in Intranet by the transmitting apparatus in router reception also storing intranet, and when above-mentioned receiving equipment access Intranet, send above-mentioned file to this receiving equipment; When to solve in correlation technique equipment and equipment room point-to-point short range wireless transmission technical transmission file this kind of by bluetooth, NFC, ZigBee, the efficiency of transmission of existence is low, poor stability and do not support the problem that off-line transmits; On the one hand, connect compared to above-mentioned several wireless network, the transmission speed that the cable network set up between equipment with router is connected or Wi-Fi connects and stability promote all to some extent; On the other hand, router is in the process forwarding the file that the transmitting apparatus in Intranet sends to the receiving equipment in Intranet, because router possesses the function storing this file, therefore this transmitting procedure supports off-line transmission, need not limit transmitting apparatus and receiving equipment connection route device ability transfer files simultaneously.
In addition, the document transmission method that this enforcement provides, both can support man-to-man transmission mode, also can support the transmission mode of one-to-many.When transmit leg user needs to transmit identical file to multiple recipient user, transmit leg user only need to router and uploads a file, and without the need to performing the operation such as device pairing, file transfer repeated, fully improves Consumer's Experience.
Fig. 5 is the flow chart of a kind of document transmission method according to another exemplary embodiment, and the present embodiment is applied in implementation environment shown in Fig. 1 with this document transmission method and is illustrated.This document transmission method can comprise following several step:
In step 501, file is carried out section and obtains the section of at least two files by transmitting apparatus.
In the present embodiment, transmitting apparatus, before send the file being used for sending to the receiving equipment in Intranet to router, can be cut into slices to this file.File to be sent is carried out section and obtains at least two file sections by transmitting apparatus.File can be divided into the identical file section of several sizes by transmitting apparatus, also file can be carried out non-decile.Such as, when the size of file is 120KB, transmitting apparatus this file can be divided into a size be 50KB file section and another size be 70KB file section.
In step 502, transmitting apparatus sends thread parallel by least two and sends this at least two file sections to router.
Wherein, each sends thread for sending a file section.Transmit whole file compared to the single-threaded mode of employing, transmitting apparatus, by adopting the multiple file section of the mode parallel transmission of multithreading, can improve the efficiency of transmission of file.Such as, be respectively the file section of 50KB and 70KB for above-mentioned two sizes, transmitting apparatus sends this two file sections by two thread parallels to router.
In addition, cut into slices for each file, transmitting apparatus simultaneously sends file identification corresponding to file belonging to the section of this file to router.Alternatively, this file identification can be the cryptographic Hash of file.
Correspondingly, the file that router is sent by the transmitting apparatus at least two receiving thread parallel receive Intranets is cut into slices; Wherein, each receiving thread is for receiving a file section.
In step 503, the file section that the transmitting apparatus in router storing intranet sends.
The file received section is stored in the external memory of such as hard disk and so on by router.
In the present embodiment, due to transmitting apparatus file is cut into slices after be transferred to router, make this transmitting procedure support breakpoint transmission.In the process that transmitting apparatus is cut into slices to router transfer files, the factor such as not good or user's interrupt transfer may cause midway Transmission because of network condition.And the positional information that router side can record the file section of each complete reception cut into slices with this file belonging to file identification corresponding to file between corresponding relation.Upper once transmit this identical file time, transmitting apparatus performs following step 504:
In step 504, transmitting apparatus sends the reception inquiry request carrying file identification corresponding to file to router.
This reception inquiry request is used for the positional information of the file section being routed the complete reception of device in inquiry file.
Correspondingly, router receives the reception inquiry request carrying file identification that transmitting apparatus sends.
In step 505, the positional information of the file section of complete reception in the file that query router is corresponding with file identification.
Router is according to the above-mentioned corresponding relation prestored, and inquiry obtains the positional information of the file section of complete reception in the file corresponding with file identification.
In step 506, router sends this positional information to transmitting apparatus.
Correspondingly, the positional information of transmitting apparatus receiving router transmission.
In step 507, transmitting apparatus sends the file section not being routed the complete reception of device in file to router according to positional information.
Transmitting apparatus receive router feedback positional information after, according to this positional information to router resend in file be not routed device complete reception file section.And for being routed the file section of the complete reception of device in file, transmitting apparatus is without the need to retransmitting the section of this partial document.
Correspondingly, the file that router receives not complete reception in the file that transmitting apparatus sends according to positional information is cut into slices.
Such as, suppose transmitting apparatus to router send above-mentioned two sizes be respectively 50KB and 70KB file section process in there is Transmission, wherein size be 50KB file section complete transmission, and size be 70KB file section do not complete transmission.Then router feeds back the positional information of the file section correspondence of above-mentioned 50KB to transmitting apparatus according to reception inquiry request.Correspondingly, transmitting apparatus resends to router the file section that above-mentioned size is 70KB according to this positional information, and size is that the file section of 50KB is without the need to again sending.
In step 508, router stores the file section of not complete reception in this file.
When router receives the file section of not complete reception in this file, the section of this partial document is cut into slices with the file of complete reception before and stores in the lump.
In the execution mode that other is possible, router also can feed back the positional information of the file section be not completely received in the file corresponding with file identification to transmitting apparatus, transmitting apparatus can send according to this positional information the file section not being routed the complete reception of device in file equally to router.To this, the present embodiment is not construed as limiting.
In step 509, transmitting apparatus indicates to router the receiving equipment that this file is corresponding.
In step 510, router, when receiving equipment access Intranet, sends this file to receiving equipment.
Above-mentioned steps 509 is identical with step 404 with the step 403 in Fig. 4 A illustrated embodiment with step 510, and see the introduction in Fig. 4 A illustrated embodiment and explanation, this enforcement repeats no more this.
Alternatively, router is sending in the process of file to receiving equipment, the mode of multithreading also can be adopted to walk abreast to receiving equipment and send the section of multiple file, thus improve the file transmission efficiency between router and receiving equipment.This partial content be those skilled in the art on the basis of the present embodiment easy full of beard and content, this enforcement does not describe in detail to this.
In actual applications, whether transmitting apparatus can adopt multithreading to transmit according to actual conditions decision-making.Such as, whether transmitting apparatus can adopt multithreading to transmit according to the size decision-making of file to be sent.When the size of file to be sent is greater than predetermined threshold value, this file is carried out section and obtains the section of multiple file by transmitting apparatus, and adopts multi-threaded parallel to transmit the section of the plurality of file to router; When the size of file to be sent is less than predetermined threshold value, transmitting apparatus sends whole file directly to router.
In sum, the document transmission method that the present embodiment provides, the file sent to the receiving equipment in Intranet by the transmitting apparatus in router reception also storing intranet, and when above-mentioned receiving equipment access Intranet, send above-mentioned file to this receiving equipment; When to solve in correlation technique equipment and equipment room point-to-point short range wireless transmission technical transmission file this kind of by bluetooth, NFC, ZigBee, the efficiency of transmission of existence is low, poor stability and do not support the problem that off-line transmits; On the one hand, connect compared to above-mentioned several wireless network, the transmission speed that the cable network set up between equipment with router is connected or Wi-Fi connects and stability promote all to some extent; On the other hand, router is in the process forwarding the file that the transmitting apparatus in Intranet sends to the receiving equipment in Intranet, because router possesses the function storing this file, therefore this transmitting procedure supports off-line transmission, need not limit transmitting apparatus and receiving equipment connection route device ability transfer files simultaneously.
In addition, the document transmission method that the present embodiment provides, transmitting apparatus obtains the section of multiple file by this file being carried out section, and adopts multi-threaded parallel to transmit the section of the plurality of file to router, improves the file transmission efficiency between transmitting apparatus and router.In addition, when file transfer midway occurs to interrupt, transmitting apparatus only needs to retransmit the file section not being routed the complete reception of device next time, achieves breakpoint transmission.
Following is disclosure device embodiment, may be used for performing disclosure embodiment of the method.For the details do not disclosed in disclosure device embodiment, please refer to disclosure embodiment of the method.
Fig. 6 is the block diagram of a kind of file transfer means according to an exemplary embodiment, and this file transfer means can realize becoming the some or all of of router by software, hardware or both combinations.This file transfer means can comprise: file receive module 610, file storage module 620 and file send module 630.
File receive module 610, is configured to receive the file of the transmitting apparatus in Intranet to the receiving equipment transmission in described Intranet.
File storage module 620, is configured to store described file.
File send module 630, is configured to, when described receiving equipment accesses described Intranet, send described file to described receiving equipment.
In sum, the file transfer means that the present embodiment provides, the file sent to the receiving equipment in Intranet by the transmitting apparatus in router reception also storing intranet, and when above-mentioned receiving equipment access Intranet, send above-mentioned file to this receiving equipment; When to solve in correlation technique equipment and equipment room point-to-point short range wireless transmission technical transmission file this kind of by bluetooth, NFC, ZigBee, the efficiency of transmission of existence is low, poor stability and do not support the problem that off-line transmits; On the one hand, connect compared to above-mentioned several wireless network, the transmission speed that the cable network set up between equipment with router is connected or Wi-Fi connects and stability promote all to some extent; On the other hand, router is in the process forwarding the file that the transmitting apparatus in Intranet sends to the receiving equipment in Intranet, because router possesses the function storing this file, therefore this transmitting procedure supports off-line transmission, need not limit transmitting apparatus and receiving equipment connection route device ability transfer files simultaneously.
Fig. 7 is the block diagram of a kind of file transfer means according to another exemplary embodiment, and this file transfer means can realize becoming the some or all of of router by software, hardware or both combinations.This file transfer means can comprise: file receive module 610, file storage module 620 and file send module 630.
File receive module 610, is configured to receive the file of the transmitting apparatus in Intranet to the receiving equipment transmission in described Intranet.
File storage module 620, is configured to store described file.
File send module 630, is configured to, when described receiving equipment accesses described Intranet, send described file to described receiving equipment.
Alternatively, described file receive module 610, also be configured to the file section sent by the transmitting apparatus in Intranet described at least two receiving thread parallel receives, described file section is that described transmitting apparatus is cut into slices to the file that the described file of the receiving equipment transmission in described Intranet is corresponding; Wherein, each receiving thread is for receiving a file section.
Alternatively, described device also comprises: request receiving module 642, information inquiry module 644, information sending module 646 and section receiver module 648.
Request receiving module 642, is configured to the reception inquiry request carrying file identification receiving the transmission of described transmitting apparatus.
Information inquiry module 644, the positional information that the file being configured to inquire about complete reception in the file corresponding with described file identification is cut into slices.
Information sending module 646, is configured to send described positional information to described transmitting apparatus.
Section receiver module 648, is configured to receive the file section of not complete reception in the described file that described transmitting apparatus sends according to described positional information.
Alternatively, described file send module 630, comprising: notice sends submodule 630a, response receives submodule 630b and file sends submodule 630c.
Described notice sends submodule 630a, is configured to when described receiving equipment accesses described Intranet, sends file reception notice to described receiving equipment.
Described response receives submodule 630b, is configured to the file reception response corresponding to described file reception notice receiving the transmission of described receiving equipment.
Described file sends submodule 630c, is configured to send described file according to described file reception response to described receiving equipment.
Alternatively, described device also comprises: list sending module 652 and mark receiver module 654.
List sending module 652, be configured to send to described transmitting apparatus the list of devices including at least one device identification, at least one device identification described comprise device identification corresponding to the current equipment just connecting described router, at least one item connected in device identification corresponding to the equipment of described router.
Mark receiver module 654, is configured to the target device mark receiving the transmission of described transmitting apparatus, and equipment corresponding for described target device mark is defined as described receiving equipment;
Wherein, described target device mark is selected from least one device identification described.
In sum, the file transfer means that the present embodiment provides, the file sent to the receiving equipment in Intranet by the transmitting apparatus in router reception also storing intranet, and when above-mentioned receiving equipment access Intranet, send above-mentioned file to this receiving equipment; When to solve in correlation technique equipment and equipment room point-to-point short range wireless transmission technical transmission file this kind of by bluetooth, NFC, ZigBee, the efficiency of transmission of existence is low, poor stability and do not support the problem that off-line transmits; On the one hand, connect compared to above-mentioned several wireless network, the transmission speed that the cable network set up between equipment with router is connected or Wi-Fi connects and stability promote all to some extent; On the other hand, router is in the process forwarding the file that the transmitting apparatus in Intranet sends to the receiving equipment in Intranet, because router possesses the function storing this file, therefore this transmitting procedure supports off-line transmission, need not limit transmitting apparatus and receiving equipment connection route device ability transfer files simultaneously.
In addition, the file transfer means that the present embodiment provides, also adopts multi-threaded parallel to receive multiple file sections of transmitting apparatus transmission by router, improves the file transmission efficiency between transmitting apparatus and router.In addition, the function of breakpoint transmission is also achieved.
Fig. 8 is the block diagram of a kind of file transfer means according to another exemplary embodiment, and this file transfer means can realize becoming the some or all of of transmitting apparatus by software, hardware or both combinations.This file transfer means can comprise: sending module 810 and indicating module 820.
Sending module 810, is configured to send file to router, and described transmitting apparatus is by described router access Intranet.
Indicating module 820, is configured to indicate to described router the receiving equipment that described file is corresponding, and described router is used for when described receiving equipment accesses described Intranet, sends described file to described receiving equipment.
In sum, the file transfer means that the present embodiment provides, transmitting apparatus, when to receiving equipment transfer files in Intranet, by sending file to router, and sends above-mentioned file to this receiving equipment by this router when above-mentioned receiving equipment access Intranet; When to solve in correlation technique equipment and equipment room point-to-point short range wireless transmission technical transmission file this kind of by bluetooth, NFC, ZigBee, the efficiency of transmission of existence is low, poor stability and do not support the problem that off-line transmits; On the one hand, connect compared to above-mentioned several wireless network, the transmission speed that the cable network set up between equipment with router is connected or Wi-Fi connects and stability promote all to some extent; On the other hand, router is in the process forwarding the file that the transmitting apparatus in Intranet sends to the receiving equipment in Intranet, because router possesses the function storing this file, therefore this transmitting procedure supports off-line transmission, need not limit transmitting apparatus and receiving equipment connection route device ability transfer files simultaneously.
Fig. 9 is the block diagram of a kind of file transfer means according to another exemplary embodiment, and this file transfer means can realize becoming the some or all of of transmitting apparatus by software, hardware or both combinations.This file transfer means can comprise: sending module 810 and indicating module 820.
Sending module 810, is configured to send file to router, and described transmitting apparatus is by described router access Intranet.
Indicating module 820, is configured to indicate to described router the receiving equipment that described file is corresponding, and described router is used for when described receiving equipment accesses described Intranet, sends described file to described receiving equipment.
Alternatively, described sending module 810, comprising: section submodule 810a and transmission submodule 810b.
Described section submodule 810a, is configured to described file to be carried out section and obtains at least two file sections.
Described transmission submodule 810b, is configured to send thread parallel at least two files sections described in described router transmission by least two;
Wherein, each sends thread for sending a file section.
Alternatively, described device also comprises: request sending module 832, information receiving module 834 and section sending module 836.
Request sending module 832, is configured to send to described router the reception inquiry request carrying file identification corresponding to described file.
Information receiving module 834, is configured to the positional information receiving the transmission of described router, and described positional information is by the positional information of the file of described router complete reception section in described file.
Section sending module 836, is configured to send in described file to described router according to described positional information do not cut into slices by the file of the complete reception of described router.
Alternatively, described indicating module 820, comprising: list reception submodule 820a, list display sub-module 820b, signal acquisition submodule 820c and mark send submodule 820d.
Described list reception submodule 820a, be configured to receive the list of devices including at least one device identification that described router sends, at least one device identification described comprise device identification corresponding to the current equipment just connecting described router, at least one item connected in device identification corresponding to the equipment of described router.
Described list display sub-module 820b, is configured to described list of devices to show.
Described signal acquisition submodule 820c, is configured to obtain the selection signal of the target device mark corresponded in described list of devices.
Described mark sends submodule 820d, is configured to send described target device mark to described router, and described target device mark is used to indicate receiving equipment corresponding to described file.
In sum, the file transfer means that the present embodiment provides, transmitting apparatus, when to receiving equipment transfer files in Intranet, by sending file to router, and sends above-mentioned file to this receiving equipment by this router when above-mentioned receiving equipment access Intranet; When to solve in correlation technique equipment and equipment room point-to-point short range wireless transmission technical transmission file this kind of by bluetooth, NFC, ZigBee, the efficiency of transmission of existence is low, poor stability and do not support the problem that off-line transmits; On the one hand, connect compared to above-mentioned several wireless network, the transmission speed that the cable network set up between equipment with router is connected or Wi-Fi connects and stability promote all to some extent; On the other hand, router is in the process forwarding the file that the transmitting apparatus in Intranet sends to the receiving equipment in Intranet, because router possesses the function storing this file, therefore this transmitting procedure supports off-line transmission, need not limit transmitting apparatus and receiving equipment connection route device ability transfer files simultaneously.
In addition, the file transfer means that the present embodiment provides, transmitting apparatus also obtains the section of multiple file by this file being carried out section, and adopts multi-threaded parallel to transmit the section of the plurality of file to router, improves the file transmission efficiency between transmitting apparatus and router.In addition, the function of breakpoint transmission is also achieved.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Figure 10 is the block diagram of a kind of device according to an exemplary embodiment.Such as, device 1000 can be router.
With reference to Figure 10, device 1000 can comprise following one or more assembly: processing components 1002, memory 1004, power supply module 1006, I/O (I/O) interface 1008 and communications component 1016.
The integrated operation of the usual control device 1000 of processing components 1002, the operations such as address resolution, data transmit-receive and flow control.Processing components 1002 can comprise one or more processor 1018 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1002 can comprise one or more module, and what be convenient between processing components 1002 and other assemblies is mutual.
Memory 1004 is configured to store various types of data to be supported in the operation of device 1000.The example of these data comprises for any application program of operation on device 1000 or the instruction of method, user data etc.Memory 1004 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 1006 is device 1000 provide electric power.Power supply module 1006 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1000 and be associated.
I/O interface 1008 is for providing interface between processing components 1002 and peripheral interface module.
Communications component 1016 is configured to the communication being convenient to wired or wireless mode between device 1000 and other equipment.Device 1000 can set up the wireless network based on communication standard, as WiFi network.In one exemplary embodiment, communications component 1016 externally sends broadcast singal or broadcast related information via broadcast channel.
In the exemplary embodiment, device 1000 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 1004 of instruction, above-mentioned instruction can perform said method by the processor 1018 of device 1000.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor 1018 of device 1000, makes device 1000 can perform the document transmission method of above-mentioned Fig. 2, Fig. 4 A or middle router side embodiment illustrated in fig. 5.
Figure 11 is the block diagram of a kind of device according to another exemplary embodiment.Such as, device 1100 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 11, device 1100 can comprise following one or more assembly: processing components 1102, memory 1104, power supply module 1106, multimedia groupware 1108, audio-frequency assembly 1110, the interface 1112 of I/O (I/O), sensor cluster 1114, and communications component 1116.
The integrated operation of the usual control device 1100 of processing components 1102, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 1102 can comprise one or more processor 1120 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1102 can comprise one or more module, and what be convenient between processing components 1102 and other assemblies is mutual.Such as, processing components 1102 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1108 and processing components 1102.
Memory 1104 is configured to store various types of data to be supported in the operation of device 1100.The example of these data comprises for any application program of operation on device 1100 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 1104 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 1106 is device 1100 provide electric power.Power supply module 1106 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1100 and be associated.
Multimedia groupware 1108 is included in the screen providing an output interface between described device 1100 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 1108 comprises a front-facing camera and/or post-positioned pick-up head.When device 1100 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1110 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1110 comprises a microphone (MIC), and when device 1100 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 1104 further or be sent via communications component 1116.In certain embodiments, audio-frequency assembly 1110 also comprises a loud speaker, for output audio signal.
I/O interface 1112 is for providing interface between processing components 1102 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 1114 comprises one or more transducer, for providing the state estimation of various aspects for device 1100.Such as, sensor cluster 1114 can detect the opening/closing state of device 1100, the relative positioning of assembly, such as described assembly is display and the keypad of device 1100, the position of all right checkout gear 1100 of sensor cluster 1114 or device 1100 assemblies changes, the presence or absence that user contacts with device 1100, the variations in temperature of device 1100 orientation or acceleration/deceleration and device 1100.Sensor cluster 1114 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 1114 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 1114 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 1116 is configured to the communication being convenient to wired or wireless mode between device 1100 and other equipment.Device 1100 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 1116 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 1116 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1100 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 1104 of instruction, above-mentioned instruction can perform said method by the processor 1120 of device 1100.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of device 1100, makes device 1100 can perform document transmission method as above-mentioned Fig. 3, Fig. 4 A or middle transmitting apparatus side embodiment illustrated in fig. 5.
Figure 12 is the block diagram of a kind of document transmission system according to an exemplary embodiment.This document transmission system can comprise router one 220, transmitting apparatus 1240 and receiving equipment 1260.Wherein, router one 220 is connected with receiving equipment 1260 with transmitting apparatus 1240 respectively by wireless network or cable network.Wherein, wireless network is Wi-Fi network.
Router one 220 can comprise the file transfer means that embodiment as is seen in fig. 6 or fig. 7 provides; Transmitting apparatus 1240 can comprise as Fig. 8 or the file transfer means provided embodiment illustrated in fig. 9.Or,
Router one 220 can comprise the device that embodiment as shown in Figure 10 provides; Transmitting apparatus 1240 can comprise the device that embodiment as shown in figure 11 provides.
Those skilled in the art, at consideration specification and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (20)

1. a document transmission method, is characterized in that, described method comprises:
Receive the file that the transmitting apparatus in Intranet sends to the receiving equipment in described Intranet;
Store described file;
When described receiving equipment accesses described Intranet, send described file to described receiving equipment.
2. method according to claim 1, is characterized in that, the file that the transmitting apparatus in described reception Intranet sends to the receiving equipment in described Intranet, comprising:
The file section sent by the transmitting apparatus in Intranet described at least two receiving thread parallel receives, described file section is that described transmitting apparatus is cut into slices to the file that the described file of the receiving equipment transmission in described Intranet is corresponding;
Wherein, each receiving thread is for receiving a file section.
3. method according to claim 2, is characterized in that, described method also comprises:
Receive the reception inquiry request carrying file identification that described transmitting apparatus sends;
The positional information that the file inquiring about complete reception in the file corresponding with described file identification is cut into slices;
Described positional information is sent to described transmitting apparatus;
Receive the file section of not complete reception in the described file that described transmitting apparatus sends according to described positional information.
4. method according to claim 1, is characterized in that, when described receiving equipment accesses described Intranet, sends described file, comprising to described receiving equipment:
When described receiving equipment accesses described Intranet, send file reception notice to described receiving equipment;
Receive the file reception response corresponding to described file reception notice that described receiving equipment sends;
Described file is sent to described receiving equipment according to described file reception response.
5., according to the arbitrary described method of Claims 1-4, it is characterized in that, described method also comprises:
Send the list of devices including at least one device identification to described transmitting apparatus, at least one device identification described comprise device identification corresponding to the current equipment just connecting described router, at least one item connected in device identification corresponding to the equipment of described router;
Receive the target device mark that described transmitting apparatus sends, and equipment corresponding for described target device mark is defined as described receiving equipment;
Wherein, described target device mark is selected from least one device identification described.
6. a document transmission method, is characterized in that, described method comprises:
After in router access Intranet, send file via described Intranet to described router;
Indicate to described router the receiving equipment that described file is corresponding, described router is used for when described receiving equipment accesses described Intranet, sends described file to described receiving equipment.
7. method according to claim 6, is characterized in that, described by after in router access Intranet, sends file, comprising via described Intranet to described router:
Described file is carried out section and obtain at least two file sections;
Thread parallel is sent at least two files sections described in described router transmission by least two;
Wherein, each sends thread for sending a file section.
8. method according to claim 7, is characterized in that, described method also comprises:
The reception inquiry request carrying file identification corresponding to described file is sent to described router;
Receive the positional information that described router sends, described positional information is by the positional information of the file of described router complete reception section in described file;
To send in described file to described router according to described positional information and do not cut into slices by the file of the complete reception of described router.
9. according to the arbitrary described method of claim 6 to 8, it is characterized in that, describedly indicate to described router the receiving equipment that described file is corresponding, comprising:
Receive the list of devices including at least one device identification that described router sends, at least one device identification described comprise device identification corresponding to the current equipment just connecting described router, at least one item connected in device identification corresponding to the equipment of described router;
Described list of devices is shown;
Obtain the selection signal of the target device mark corresponded in described list of devices;
Send described target device mark to described router, described target device mark is used to indicate receiving equipment corresponding to described file.
10. a file transfer means, is characterized in that, in router, described device comprises:
File receive module, is configured to receive the file of the transmitting apparatus in Intranet to the receiving equipment transmission in described Intranet;
File storage module, is configured to store described file;
File send module, is configured to, when described receiving equipment accesses described Intranet, send described file to described receiving equipment.
11. devices according to claim 10, is characterized in that,
Described file receive module, also be configured to the file section sent by the transmitting apparatus in Intranet described at least two receiving thread parallel receives, described file section is that described transmitting apparatus is cut into slices to the file that the described file of the receiving equipment transmission in described Intranet is corresponding; Wherein, each receiving thread is for receiving a file section.
12. devices according to claim 11, is characterized in that, described device also comprises:
Request receiving module, is configured to the reception inquiry request carrying file identification receiving the transmission of described transmitting apparatus;
Information inquiry module, the positional information that the file being configured to inquire about complete reception in the file corresponding with described file identification is cut into slices;
Information sending module, is configured to send described positional information to described transmitting apparatus;
Section receiver module, is configured to receive the file section of not complete reception in the described file that described transmitting apparatus sends according to described positional information.
13. devices according to claim 10, is characterized in that, described file send module, comprising: notice sends submodule, response receives submodule and file sends submodule;
Described notice sends submodule, is configured to when described receiving equipment accesses described Intranet, sends file reception notice to described receiving equipment;
Described response receives submodule, is configured to the file reception response corresponding to described file reception notice receiving the transmission of described receiving equipment;
Described file sends submodule, is configured to send described file according to described file reception response to described receiving equipment.
14. according to claim 10 to 13 arbitrary described devices, and it is characterized in that, described device also comprises:
List sending module, be configured to send to described transmitting apparatus the list of devices including at least one device identification, at least one device identification described comprise device identification corresponding to the current equipment just connecting described router, at least one item connected in device identification corresponding to the equipment of described router;
Mark receiver module, is configured to the target device mark receiving the transmission of described transmitting apparatus, and equipment corresponding for described target device mark is defined as described receiving equipment;
Wherein, described target device mark is selected from least one device identification described.
15. 1 kinds of file transfer means, is characterized in that, in transmitting apparatus, described device comprises:
Sending module, is configured to be accessed after in Intranet by router, sends file via described Intranet to described router;
Indicating module, is configured to indicate to described router the receiving equipment that described file is corresponding, and described router is used for when described receiving equipment accesses described Intranet, sends described file to described receiving equipment.
16. devices according to claim 15, is characterized in that, described sending module, comprising: section submodule and transmission submodule;
Described section submodule, is configured to described file to be carried out section and obtains at least two file sections;
Described transmission submodule, is configured to send thread parallel at least two files sections described in described router transmission by least two;
Wherein, each sends thread for sending a file section.
17. devices according to claim 16, is characterized in that, described device also comprises:
Request sending module, is configured to send to described router the reception inquiry request carrying file identification corresponding to described file;
Information receiving module, is configured to the positional information receiving the transmission of described router, and described positional information is by the positional information of the file of described router complete reception section in described file;
Section sending module, is configured to send in described file to described router according to described positional information do not cut into slices by the file of the complete reception of described router.
18. according to claim 15 to 17 arbitrary described devices, and it is characterized in that, described indicating module, comprising: list reception submodule, list display sub-module, signal acquisition submodule and mark send submodule;
Described list reception submodule, be configured to receive the list of devices including at least one device identification that described router sends, at least one device identification described comprise device identification corresponding to the current equipment just connecting described router, at least one item connected in device identification corresponding to the equipment of described router;
Described list display sub-module, is configured to described list of devices to show;
Described signal acquisition submodule, is configured to obtain the selection signal of the target device mark corresponded in described list of devices;
Described mark sends submodule, is configured to send described target device mark to described router, and described target device mark is used to indicate receiving equipment corresponding to described file.
19. 1 kinds of file transfer means, is characterized in that, in router, comprising:
Processor;
For storing the memory of the executable instruction of described processor;
Wherein, described processor is configured to:
Receive the file that the transmitting apparatus in Intranet sends to the receiving equipment in described Intranet;
Store described file;
When described receiving equipment accesses described Intranet, send described file to described receiving equipment.
20. 1 kinds of file transfer means, is characterized in that, in transmitting apparatus, comprising:
Processor;
For storing the memory of the executable instruction of described processor;
Wherein, described processor is configured to:
After in router access Intranet, send file via described Intranet to described router;
Indicate to described router the receiving equipment that described file is corresponding, described router is used for when described receiving equipment accesses described Intranet, sends described file to described receiving equipment.
CN201510137040.5A 2015-03-26 2015-03-26 Document transmission method and device Active CN104796460B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510137040.5A CN104796460B (en) 2015-03-26 2015-03-26 Document transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510137040.5A CN104796460B (en) 2015-03-26 2015-03-26 Document transmission method and device

Publications (2)

Publication Number Publication Date
CN104796460A true CN104796460A (en) 2015-07-22
CN104796460B CN104796460B (en) 2019-03-22

Family

ID=53560968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510137040.5A Active CN104796460B (en) 2015-03-26 2015-03-26 Document transmission method and device

Country Status (1)

Country Link
CN (1) CN104796460B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412001A (en) * 2016-07-26 2017-02-15 北京小米移动软件有限公司 Method and device for transmitting file
CN107528926A (en) * 2017-10-11 2017-12-29 郑州云海信息技术有限公司 A kind of file uploading method and system
WO2018010448A1 (en) * 2016-07-13 2018-01-18 中兴通讯股份有限公司 File transmission method and apparatus
CN108429799A (en) * 2018-03-01 2018-08-21 北京天融信网络安全技术有限公司 Parallel transmission method, device and the storage medium of batch documents
CN112491990A (en) * 2020-11-17 2021-03-12 中科三清科技有限公司 Hybrid cloud network data transmission method and device, electronic equipment and storage medium
CN116192816A (en) * 2022-06-01 2023-05-30 中兴通讯股份有限公司 Data transmission method, transmission server, reception server, and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6085251A (en) * 1998-04-02 2000-07-04 The United States Of America As Represented By The Secretary Of The Air Force Implementing a parallel file transfer protocol
CN101656756A (en) * 2009-09-17 2010-02-24 中国科学院声学研究所 File transferring method with self-adaptive control of transmission speed and system thereof
CN102035720A (en) * 2009-09-24 2011-04-27 华为技术有限公司 Data transmission method and system
CN102088394A (en) * 2009-12-08 2011-06-08 北京大学 Method and device for transmission of message file
CN102945131A (en) * 2012-09-29 2013-02-27 华为技术有限公司 Azimuth-based data transmission method and device
CN103475568A (en) * 2013-08-21 2013-12-25 黄松辉 Network visible dialogue method and system
CN103532854A (en) * 2013-10-22 2014-01-22 迈普通信技术股份有限公司 Storage and forwarding method and device of message

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6085251A (en) * 1998-04-02 2000-07-04 The United States Of America As Represented By The Secretary Of The Air Force Implementing a parallel file transfer protocol
CN101656756A (en) * 2009-09-17 2010-02-24 中国科学院声学研究所 File transferring method with self-adaptive control of transmission speed and system thereof
CN102035720A (en) * 2009-09-24 2011-04-27 华为技术有限公司 Data transmission method and system
CN102088394A (en) * 2009-12-08 2011-06-08 北京大学 Method and device for transmission of message file
CN102945131A (en) * 2012-09-29 2013-02-27 华为技术有限公司 Azimuth-based data transmission method and device
CN103475568A (en) * 2013-08-21 2013-12-25 黄松辉 Network visible dialogue method and system
CN103532854A (en) * 2013-10-22 2014-01-22 迈普通信技术股份有限公司 Storage and forwarding method and device of message

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018010448A1 (en) * 2016-07-13 2018-01-18 中兴通讯股份有限公司 File transmission method and apparatus
CN107623706A (en) * 2016-07-13 2018-01-23 中兴通讯股份有限公司 Document transmission method and device
CN106412001A (en) * 2016-07-26 2017-02-15 北京小米移动软件有限公司 Method and device for transmitting file
CN107528926A (en) * 2017-10-11 2017-12-29 郑州云海信息技术有限公司 A kind of file uploading method and system
CN108429799A (en) * 2018-03-01 2018-08-21 北京天融信网络安全技术有限公司 Parallel transmission method, device and the storage medium of batch documents
CN108429799B (en) * 2018-03-01 2021-11-16 北京天融信网络安全技术有限公司 Parallel transmission method and device for batch files and storage medium
CN112491990A (en) * 2020-11-17 2021-03-12 中科三清科技有限公司 Hybrid cloud network data transmission method and device, electronic equipment and storage medium
CN112491990B (en) * 2020-11-17 2021-08-10 中科三清科技有限公司 Hybrid cloud network data transmission method and device, electronic equipment and storage medium
CN116192816A (en) * 2022-06-01 2023-05-30 中兴通讯股份有限公司 Data transmission method, transmission server, reception server, and storage medium

Also Published As

Publication number Publication date
CN104796460B (en) 2019-03-22

Similar Documents

Publication Publication Date Title
CN104796460A (en) File transmission method and device
CN104657099A (en) Method, device and system for screen projection
CN104010222A (en) Method, device and system for displaying comment information
US20130260672A1 (en) Method and Apparatus for Relaying Data Communications in a Bluetooth Network
CN105554687A (en) Networking working method of intelligent equipment, device and intelligent equipment
CN106713418B (en) Reset result confirmation method, device, server and mobile terminal
CN104834665A (en) Target picture acquiring method and device
CN105159672A (en) Remote assistance method and client
CN104702762A (en) Incoming call reminding method and incoming call reminding device
CN105430761A (en) Method, device and system used for establishing wireless network connection
CN104394600A (en) Method and device for transmitting files
CN105163366A (en) Wireless network connection method and device
CN103973900B (en) The method of transmission information and device
CN105472698A (en) Wireless network access method and device
CN105704655A (en) Media data sharing method and media data sharing device between terminals
CN105515831A (en) Network state information display method and device
CN104270806A (en) Transmitting power adjusting method and device
CN105120505A (en) Method, apparatus and system for making intelligent equipment accessed to router
CN104468971A (en) Method and device for connecting playing source
CN104168605A (en) Data transmission control method and apparatus
CN105376144A (en) Information processing method and device
CN105491518A (en) Method and device for social reminding based on wearable devices
CN104881342A (en) Terminal testing method and device
CN105389225A (en) Touch screen reporting point processing method and apparatus
CN105100199A (en) Method and device for transmitting cloud card

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant