CN103188330A - Method and system of file transfer - Google Patents
Method and system of file transfer Download PDFInfo
- Publication number
- CN103188330A CN103188330A CN2011104602213A CN201110460221A CN103188330A CN 103188330 A CN103188330 A CN 103188330A CN 2011104602213 A CN2011104602213 A CN 2011104602213A CN 201110460221 A CN201110460221 A CN 201110460221A CN 103188330 A CN103188330 A CN 103188330A
- Authority
- CN
- China
- Prior art keywords
- equipment
- file
- request
- network
- document transmission
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to a method of file transfer. The method of the file transfer comprises the following steps that firstly, an A device searches other devices on a network; when the A device finds the other devices, the A device selects a device to send a connecting request, and the device serves as a B device; then the B device and the A device are connected, and the A device requests for a shared file listing of the B device; the B device generates the shared file listing and returns the shared file listing to the A device, and the A device sends a download request for a specific file to the B device; and finally, the A device downloads the file from the B device, and connection between the A device and the B device is disconnected after download of the file is finished. The invention further relates to a system of the file transfer, wherein the system of the file transfer corresponds to the method of the file transfer. The method and the system of the file transfer achieve file sharing between devices, the devices can be identical, and can also be different, the file sharing breaks limits of platforms, and efficiency of the file transfer between the devices is improved.
Description
Technical field
The present invention relates to a kind of document transmission method and system, be applicable between iPad and iPad, iPad and iPhone, iPad and PC, iPhone and iPhone, iPhone and PC, PC and the PC.
Background technology
The fashionable whole world of iPad/iPhone becomes the most popular at present consumption electronic product at present.Application program on iPad/iPhone is to run in the structure with fail safe, namely in the sandbox (sandbox), though sandbox has fail safe, be inconvenient to use and distinct device between shared file mutually.The Socket communication technology is the mechanics of communication of a maturation, can realize file-sharing between distinct device by this technology.
Summary of the invention
At the defective that exists in the prior art, technical problem to be solved by this invention provides a kind of cross-platform document transmission method and system.
For solving the problems of the technologies described above, the technical solution used in the present invention is as follows:
A kind of document transmission method may further comprise the steps:
(1) A equipment is at other equipment of network search;
(2) when searching other equipment, select an equipment to send connection request, be designated as B equipment;
(3) B equipment and A equipment connect, the shared file tabulation of A device request B equipment;
(4) B equipment generates the shared file tabulation and returns to A equipment, and A equipment sends the download request of concrete file to B equipment;
(5) A equipment connects up to finishing to disconnect from B device downloads file.
A kind of document transmission system comprises at least two by the equipment of network connection, and described every equipment includes as lower device:
Be used for the searcher at other equipment of network search;
Be used for when searching other equipment, select an equipment to send first request unit of connection request;
Be used for setting up the jockey that connects between two equipment;
Second request unit that is used for the shared file tabulation of other equipment of request;
Be used for generating the shared file tabulation, and return to the return mechanism of the equipment of its request;
Be used for sending to other equipment the 3rd request unit of concrete file download request;
Be used for downloading the download apparatus of file;
For the disconnecting apparatus that connects between two equipment of disconnection.
The method of the invention and system realized the file-sharing between (movement) equipment and (movement) equipment, and equipment can be identical, also can be different, and make file-sharing cross over the restriction of platform, improved the efficient of transfer files between the equipment.
Description of drawings
Fig. 1 is the structured flowchart of document transmission system in the embodiment;
Fig. 2 is the flow chart of document transmission method in the embodiment.
Embodiment
Below in conjunction with accompanying drawing the specific embodiment of the present invention is described in detail.
As shown in Figure 1, document transmission system in the present embodiment comprises at least two equipment, be designated as device A and equipment B respectively, described every equipment includes searcher 11, first request unit 12, authenticate device 13, jockey 14, second request unit 15, return mechanism 16, the 3rd request unit 17, download apparatus 18 and disconnecting apparatus 19.Described equipment can be mobile devices such as iPad, iPhone, also can be computer equipments such as PC.
Searcher 11 is used for by socket at other equipment of network search.First request unit 12 is used for when searching other equipment, selects an equipment to send connection request.Authenticate device 13 is used for asking connected equipment to authenticate.Jockey 14 is used for setting up the connection between two equipment.Second request unit 15 is used for the shared file tabulation of other equipment of request.Return mechanism 16 is used for generating the shared file tabulation, and returns to the equipment to its request.The 3rd request unit 17 is used for sending to other equipment the download request of concrete file.Download apparatus 18 is used for from other device downloads files.Disconnecting apparatus 19 is used for disconnecting the connection between two equipment after download finishes.
As shown in Figure 2, adopt system shown in Figure 1 to realize that the method for file transfer may further comprise the steps:
(1) searcher 11 of A equipment is searched for other equipment by socket at network.
Search is broadcasted at A equipment place network by the forms of broadcasting, and broadcasted content comprises the network shared address of A equipment on network.Simultaneously, A equipment is monitored Web broadcast at network.When receiving broadcast message, resolve broadcasted content, obtain on the network other shared device address.
(2) when searching other equipment, first request unit 12 of A equipment selects an equipment to send connection request, is designated as B equipment.
(3) 13 pairs of A equipment of the authenticate device of B equipment authenticate.If by authentication, then B equipment allows to connect with A equipment, enters next step; If by authentication, then B equipment does not allow to connect with A equipment, finish.
Verification process is by ejecting an authentication window at B equipment, and the B equipment user is by manual authorisation, and " permission " or " not allowing " button of namely clicking above the authentication window is authorized.
(4) jockey 14 of B equipment connects with A equipment, the shared file tabulation of second request unit, the 15 request B equipment of A equipment.
(5) return mechanism 16 of B equipment generates the shared file tabulation and returns to A equipment, and the 3rd request unit 17 of A equipment sends the download request of concrete file to B equipment.
The shared file tabulation xml that namely filename of file is formed under share directory.Shared file tabulation Xml file format is as follows:
The process that generates the shared file tabulation is: the traversal share directory writes the file under the share directory in the listed files according to the xml form successively.
On every equipment, create the web website of a lightweight, share (upload or download) file by the web website.Consider the problem that access rights are arranged on mobile device, the file on the mobile device is uploaded/downloaded is to go the mode of an other download/upload above the equipment to realize by an equipment.Be that A equipment will be to file of B device transmission, A equipment is put into this document the share directory of oneself earlier, and the share directory of notifying B equipment to remove A equipment is then downloaded; A equipment wants to obtain a file above the B equipment, and A equipment just sends a notice of uploading this document to B equipment, after B equipment is received the upload notifications that A equipment sends, just to the file of the share directory upload request of A equipment.Just do not had this problem between PC and the PC, they can directly upload or download shared file by browser.
(6) download apparatus 18 of A equipment is from B device downloads file, up to disconnecting apparatus 19 disconnections of end back A equipment and being connected of B equipment.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technology thereof, then the present invention also is intended to comprise these changes and modification interior.
Claims (9)
1. document transmission method is characterized in that: may further comprise the steps:
(1) A equipment is at other equipment of network search;
(2) when searching other equipment, select an equipment to send connection request, be designated as B equipment;
(3) B equipment and A equipment connect, the shared file tabulation of A device request B equipment;
(4) B equipment generates the shared file tabulation and returns to A equipment, and A equipment sends the download request of concrete file to B equipment;
(5) A equipment disconnects connection from B device downloads file up to finishing the back.
2. document transmission method as claimed in claim 1, it is characterized in that: described equipment is mobile device or PC.
3. document transmission method as claimed in claim 1 is characterized in that: A equipment is as follows in the method for other equipment of network search in the step (1):
A equipment is broadcasted at A equipment place network by the forms of broadcasting, and the content of broadcasting comprises the network shared address of A equipment on network; Simultaneously A equipment is monitored Web broadcast at network, when receiving broadcast message, resolves broadcasted content, obtains on the network other shared device address.
4. document transmission method as claimed in claim 1 is characterized in that, the process that B equipment described in the step (4) generates the shared file tabulation is as follows: the traversal share directory writes the file under the share directory in the listed files according to the xml form successively.
5. as each described document transmission method in the claim 1~4, it is characterized in that: before B equipment and A equipment connect, also comprise the step that B equipment authenticates A equipment in the step (3); If by authentication, then B equipment and A equipment connect; If by authentication, then B equipment does not connect with A equipment.
6. as each described document transmission method in the claim 1~4, it is characterized in that A equipment is as follows from the process of B device downloads file in the step (5):
B equipment is stored in the file of A device request the share directory of oneself earlier, notifies A equipment to download to the share directory of B equipment then.
7. a document transmission system comprises that at least two is characterized in that by the equipment of network connection, and described every equipment includes as lower device:
Be used for the searcher (11) at other equipment of network search;
Be used for when searching other equipment, select an equipment to send first request unit (12) of connection request;
Be used for setting up the jockey (14) that connects between two equipment;
Second request unit (15) that is used for the shared file tabulation of other equipment of request;
Be used for generating the shared file tabulation, and return to the return mechanism (16) to the equipment of its request;
Be used for sending to other equipment the 3rd request unit (17) of concrete file download request;
Be used for downloading the download apparatus (18) of file;
For the disconnecting apparatus (19) that connects between two equipment of disconnection.
8. document transmission method as claimed in claim 7, it is characterized in that: described equipment is mobile device or PC.
9. document transmission system as claimed in claim 7, it is characterized in that: described every equipment also comprises for the authenticate device that other equipment are authenticated (13).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011104602213A CN103188330A (en) | 2011-12-31 | 2011-12-31 | Method and system of file transfer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011104602213A CN103188330A (en) | 2011-12-31 | 2011-12-31 | Method and system of file transfer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103188330A true CN103188330A (en) | 2013-07-03 |
Family
ID=48679295
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011104602213A Pending CN103188330A (en) | 2011-12-31 | 2011-12-31 | Method and system of file transfer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103188330A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103475929A (en) * | 2013-09-06 | 2013-12-25 | 深圳Tcl新技术有限公司 | Method and system for reading multi-media file thumbnails |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1893356A (en) * | 2005-07-01 | 2007-01-10 | 萧学文 | Method and system for accessing computer resource through mobile terminal |
CN101217563A (en) * | 2008-01-10 | 2008-07-09 | 中山大学 | A document transmission remote control method intelligent mobile telephone |
CN101364226A (en) * | 2007-08-08 | 2009-02-11 | 索尼株式会社 | Information processing apparatus and method and information processing system |
CN1722731B (en) * | 2004-05-03 | 2010-05-12 | 微软公司 | Systems and methods for the implementation of a peer-to-peer rule-based pull autonomous synchronization system |
CN102025784A (en) * | 2010-12-21 | 2011-04-20 | 中兴通讯股份有限公司 | Method, device and system for downloading streaming media file |
CN102077581A (en) * | 2008-06-30 | 2011-05-25 | 佳能株式会社 | Data receiving apparatus, data transmitting apparatus, method for controlling the same and program |
-
2011
- 2011-12-31 CN CN2011104602213A patent/CN103188330A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1722731B (en) * | 2004-05-03 | 2010-05-12 | 微软公司 | Systems and methods for the implementation of a peer-to-peer rule-based pull autonomous synchronization system |
CN1893356A (en) * | 2005-07-01 | 2007-01-10 | 萧学文 | Method and system for accessing computer resource through mobile terminal |
CN101364226A (en) * | 2007-08-08 | 2009-02-11 | 索尼株式会社 | Information processing apparatus and method and information processing system |
CN101217563A (en) * | 2008-01-10 | 2008-07-09 | 中山大学 | A document transmission remote control method intelligent mobile telephone |
CN102077581A (en) * | 2008-06-30 | 2011-05-25 | 佳能株式会社 | Data receiving apparatus, data transmitting apparatus, method for controlling the same and program |
CN102025784A (en) * | 2010-12-21 | 2011-04-20 | 中兴通讯股份有限公司 | Method, device and system for downloading streaming media file |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103475929A (en) * | 2013-09-06 | 2013-12-25 | 深圳Tcl新技术有限公司 | Method and system for reading multi-media file thumbnails |
CN103475929B (en) * | 2013-09-06 | 2017-09-05 | 深圳Tcl新技术有限公司 | Multimedia file thumbnail read method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101217563B (en) | A document transmission remote control method intelligent mobile telephone | |
CN101958914A (en) | File sharing method, shared server and mobile communication terminal | |
WO2014161266A1 (en) | Method, terminal and system for transmitting application software | |
US20120192263A1 (en) | Access gateway and method for providing cloud storage service | |
CN102523282A (en) | Mobile terminal data sharing method, apparatus thereof and network server | |
US20110013775A1 (en) | System and method of mobile content sharing and delivery in an integrated network environment | |
US9146937B2 (en) | Client-based data replication | |
CN104767767A (en) | Method, device and system for sharing Internet access data and network equipment | |
WO2018107593A1 (en) | Method and device for sharing file between different terminals | |
CN103517448A (en) | Software upgrading method and system based on WiFiDirect | |
CN105227430A (en) | A kind of social Internet of Things implementation method based on micro-letter platform | |
CN104243429B (en) | A kind of method, apparatus and system for realizing that browser bookmark is synchronous | |
CN103929742A (en) | Method for mobile terminal to share web camera through WiFi and intelligent control device | |
CN101719151A (en) | Bluetooth-based information retrieval and acquisition method and Bluetooth-based information retrieval and acquisition device | |
CN104834534A (en) | Application program function extension method, device and system | |
TW201310947A (en) | File download system | |
CN103179201B (en) | A kind of method and system of file synchronization | |
EP2814222B1 (en) | Method, device, and system for pushing network content | |
CN103516707B (en) | The implementation method of control, system and terminal is accessed between DLNA device | |
KR100676052B1 (en) | System and method for jointing contents using sync server | |
CN103188330A (en) | Method and system of file transfer | |
CN105323630A (en) | Method for remotely sharing picture and performing comment interaction based on set top boxes | |
CN101170576A (en) | A method, system and device for file upload | |
CN104602047A (en) | Share method of EPG (error pattern generator) data, server, terminal and system | |
CN113055884B (en) | Network access method, network access device and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130703 |