CN104301344A - File transfer method, terminal and system - Google Patents

File transfer method, terminal and system Download PDF

Info

Publication number
CN104301344A
CN104301344A CN201310300634.4A CN201310300634A CN104301344A CN 104301344 A CN104301344 A CN 104301344A CN 201310300634 A CN201310300634 A CN 201310300634A CN 104301344 A CN104301344 A CN 104301344A
Authority
CN
China
Prior art keywords
transmitting terminal
file
terminal
receiving terminal
quick response
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310300634.4A
Other languages
Chinese (zh)
Inventor
董宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310300634.4A priority Critical patent/CN104301344A/en
Publication of CN104301344A publication Critical patent/CN104301344A/en
Pending legal-status Critical Current

Links

Classifications

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

Abstract

The invention discloses a file transfer method, a terminal and a system, and belongs to the technical field of communication. The method comprises the following steps: a sending terminal starting a portable hot spot after receiving file information selected by a user; the sending terminal generating a two-dimension code according to portable hot spot information and representing the 2D code for the scanning of a receiving terminal, thus enabling the receiving terminal to establish connection with the sending terminal according to the portable hot spot information in the 2D code scanned by the receiving terminal; after establishing the connection with the receiving terminal, the sending terminal sending the file selected by the user to the receiving terminal. According to the method, terminal and system disclosed by the invention, the file transfer between handheld equipment can be conveniently and fast realized, and the external interference can be effectively eliminated.

Description

Document transmission method, terminal and system
Technical field
The present invention relates to the communications field, be specifically related to a kind of document transmission method, terminal and system.
Background technology
After handheld device opens portable focus, network sharing can be possessed the equipment of wlan (Wireless Local Area Networks, WLAN (wireless local area network)) function to other.That is, the handheld device possessing portable focus function can be used as wireless router and uses, and by outwards being broadcasted by wireless network, the equipment then possessing wlan function by other receives.
Portable hot spot technology can be adopted to carry out the file transfer between handheld device, a kind of implementation is: in its handheld device, open portable focus by transmit leg, and hotspot name is identified by certain algorithm, recipient identifies all hotspot name scanned and screens, after finding the hotspot name meeting oneself software identification, carry out connecting thus complete the transmission of file.
At least there is following shortcoming in such scheme:
On the one hand, recipient selects transmit leg by scanning portable hotspot name, uses this to apply if any multiple transmit leg simultaneously, and just need recipient to select a correct transmit leg to carry out file transfer, this scene adds user operation step and understands difficulty;
On the other hand, the transmit leg setting up portable focus can receive the connection request of any recipient in its wireless coverage, exists by the possibility of harassing, adds the puzzlement to user, too increase the risk of Lian Cuoren.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or the document transmission method solved the problem at least in part, terminal and system.
According to one aspect of the present invention, provide a kind of document transmission method, it comprises:
Transmitting terminal opens portable focus after getting the fileinfo of user's selection;
Portable hot information is generated Quick Response Code and represents by transmitting terminal, scans thus receiving terminal is connected according to the portable hot information in scanned Quick Response Code and transmitting terminal for receiving terminal;
After transmitting terminal and receiving terminal connection establishment, the file that user selects is sent to receiving terminal by transmitting terminal
Alternatively, described portable hot information comprises: transmitting terminal IP address and hotspot name.
Alternatively, described fileinfo is the file path of file.
Alternatively, the file that user selects is sent to receiving terminal by transmitting terminal, comprises further:
Set up socket according to receiving terminal IP address with port to be connected;
According to the binary content of file path file reading, the binary content of pre-sizing is written to buffering area at every turn;
Buffer contents is connected by socket and is sent to receiving terminal;
After all binary contents of file are sent, close socket and connect.
According to a further aspect in the invention, provide a kind of document transmission method, it comprises:
The Quick Response Code that receiving terminal scanning transmitting terminal represents, obtains portable hot information from the Quick Response Code of scanning, and wherein, described Quick Response Code is opened portable focus after getting the fileinfo of user's selection by transmitting terminal, generated according to portable hot information;
Receiving terminal connects according to described portable hot information and transmitting terminal;
Receiving terminal receives the file of user's selection that transmitting terminal sends.
Alternatively, receiving terminal receives the file of user's selection that transmitting terminal sends, and comprises further:
Set up service end Socket according to port, and block wait-receiving mode data;
The binary content received is temporarily stored in buffering area;
Buffer contents is write local file;
After all binary contents of file receive, close service end Socket and connect.
According to a further aspect in the invention, provide a kind of transmitting terminal, it comprises:
Portable focus opens unit, after being suitable for getting the fileinfo that user selects, opens portable focus;
Quick Response Code generation unit, is suitable for portable hot information being generated Quick Response Code and representing, scans thus receiving terminal is connected according to the portable hot information in scanned Quick Response Code and transmitting terminal for receiving terminal;
Transmitting element, is suitable for after transmitting terminal and receiving terminal connection establishment, and the file that user selects is sent to receiving terminal.
Alternatively, described portable hot information comprises: transmitting terminal IP address and hotspot name.
Alternatively, described fileinfo is the file path of file.
Alternatively, described transmitting element is further adapted for:
Set up socket according to receiving terminal IP address with port to be connected;
According to the binary content of file path file reading, the binary content of pre-sizing is written to buffering area at every turn;
Buffer contents is connected by socket and is sent to receiving terminal;
After all binary contents of file are sent, close socket and connect.
According to a further aspect in the invention, provide a kind of receiving terminal, it comprises:
Quick Response Code scanning element, be suitable for the Quick Response Code that scanning transmitting terminal represents, from the Quick Response Code of scanning, obtain portable hot information, wherein, described Quick Response Code is opened portable focus after getting the fileinfo of user's selection by transmitting terminal, is generated according to portable hot information;
Linkage unit, is suitable for connecting according to described portable hot information and transmitting terminal;
Receiving element, is suitable for the file receiving user's selection that transmitting terminal sends.
Alternatively, described receiving element is further adapted for:
Set up service end Socket according to port, and block wait-receiving mode data;
The binary content received is temporarily stored in buffering area;
Buffer contents is write local file;
After all binary contents of file receive, close service end Socket and connect.
According to a further aspect in the invention, provide a kind of document transmission system, comprise transmitting terminal and receiving terminal, wherein:
Described transmitting terminal is suitable for, and opens portable focus after getting the fileinfo of user's selection, portable hot information is generated Quick Response Code and represents;
Described receiving terminal is suitable for, the Quick Response Code that scanning transmitting terminal represents, and obtains portable hot information, connect according to described portable hot information and transmitting terminal from the Quick Response Code of scanning;
Described transmitting terminal is also suitable for, with receiving terminal connection establishment after, by user select file send to receiving terminal; Described receiving terminal is also suitable for, and receives the file of user's selection that transmitting terminal sends.
According to technique scheme of the present invention, transmitting terminal is by generating Quick Response Code by portable hot information and representing, recipient can obtain portable hot information by scanning Quick Response Code, like this, manually intervene without the need to user, receive convenient can according to the portable hot information got automatically and transmitting terminal connect, thus the file transfer that can realize easily and fast between handheld device, and, in the process of transmitting-receiving file, effectively can also get rid of other people interference, user can not bother by the connection request that arrives out of the blue.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of specification, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows document transmission method flow chart according to an embodiment of the invention;
Fig. 2 shows the operation interface schematic diagram of transmitting terminal in the document transmission method of the embodiment of the present invention;
Fig. 3 shows the operation interface schematic diagram of receiving terminal in the document transmission method of the embodiment of the present invention;
Fig. 4 shows transmitting terminal in the document transmission method of the embodiment of the present invention and sends the flow chart of file;
Fig. 5 shows transmitting terminal in the document transmission method of the embodiment of the present invention and sends the flow chart of file;
Fig. 6 shows document transmission system structure chart according to an embodiment of the invention.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Quick Response Code (2-dimensional bar code) refers to that on the basis of bar code, to expand another dimension has readable bar code, uses black and white rectangular patterns to represent binary data, can be obtained after device scan wherein the information that comprises.The width of bar code recites data, and its length does not record data, and the advantage of two-dimensional bar code is, its length, width all recite data, and two-dimensional bar code has " anchor point " and " fault tolerant mechanism " that bar code does not have.
Many defects existing when carrying out file transfer between handheld device for solving in prior art, the embodiment of the present invention realizes being certainly dynamically connected between handheld device by introducing Quick Response Code, and automatically carries out file transfer after successful connection.Wherein, described handheld device can be smart mobile phone, mobile phone or personal digital assistant (PDA) etc.
Fig. 1 shows document transmission method flow chart according to an embodiment of the invention.With reference to Fig. 1, described method can comprise:
Step 101, transmitting terminal opens portable focus after getting the fileinfo of user's selection;
Step 102, portable hot information is generated Quick Response Code and represents by transmitting terminal;
Step 103, the Quick Response Code that receiving terminal scanning transmitting terminal represents, obtains portable hot information from the Quick Response Code of scanning;
Step 104, receiving terminal connects according to the portable hot information got and transmitting terminal;
Step 105, after transmitting terminal and receiving terminal connection establishment, the file that user selects is sent to receiving terminal by transmitting terminal.
In a step 101, described fileinfo can be the file path of file.When user needs to send file, select the file that will send from transmitting terminal, the file path of the file that user can select by transmitting terminal is temporarily stored in variable.
Suppose to send two file abc.txt and def.jpg, the path in transmitting terminal (such as mobile phone) is /mnt/sdcard/abc.txt and/mnt/sdcard/def.jpg respectively, and by file path stored in variable list, code snippet is as follows:
ArrayList<String>list=new?ArrayList<String>();
list.add(“/mnt/sdcard/abc.txt”);
list.add(“/mnt/sdcard/def.jpg”);
After the operation of user's select File terminates, transmitting terminal opens portable focus automatically.
In a step 102, the portable hot information obtained after the portable focus of unlatching is generated Quick Response Code by Quick Response Code generating algorithm, be then presented in wait-receiving mode terminal taking on mobile phone and obtain.Described portable hot information comprises transmitting terminal IP address and hotspot name, or described portable hot information comprises transmitting terminal IP address, hotspot name and password.A kind of operation interface after transmitting terminal generates Quick Response Code please refer to shown in Fig. 2.Any method that can generate Quick Response Code known in the art can be adopted for Quick Response Code generating algorithm.
In step 103, recipient opens shooting interface, and camera is aimed at Quick Response Code and carried out taking (scanning), can get portable hot information from the Quick Response Code of scanning.A kind of operation interface of receiving terminal scanning Quick Response Code please refer to shown in Fig. 3.
At step 104, the Wifi network of the machine opened by receiving terminal, the transmitting terminal IP address utilizing Quick Response Code to pass over, hotspot name and password (optional) are connected the portable focus that transmitting terminal is set up, thus complete the connection between transmitting terminal and receiving terminal.
In step 105, after connection establishment completes, the file that user selects can be sent to receiving terminal by socket by transmitting terminal, and after file transfer completes, both sides close respective interface voluntarily, and automatically recovers the original network condition of mobile phone.
Transmitting terminal sends the process of file as shown in Figure 4 by socket, can comprise:
Step 401, sets up socket according to receiving terminal IP address with port and is connected;
Step 402, according to the binary content of file path file reading, is written to buffering area by the binary content of pre-sizing at every turn;
Step 403, is connected buffer contents by socket and is sent to receiving terminal;
Step 404, after all binary contents of file are sent, close socket and connects.
Receiving terminal receives the process of file as shown in Figure 5 by socket, can comprise the steps:
Step 501, sets up service end Socket according to port, and blocks wait-receiving mode data;
Step 502, is temporarily stored in buffering area by the binary content received;
Step 503, writes local file by buffer contents;
Step 504, after all binary contents of file receive, closes service end Socket and connects.
The embodiment of the present invention also provides a kind of document transmission system.
Fig. 6 shows document transmission system structure chart according to an embodiment of the invention.With reference to Fig. 6, described system comprises transmitting terminal 10 and receiving terminal 20, and described transmitting terminal can comprise:
Portable focus opens unit 11, after being suitable for getting the fileinfo that user selects, opens portable focus;
Quick Response Code generation unit 12, is suitable for portable hot information being generated Quick Response Code and representing, scans thus receiving terminal is connected according to the portable hot information in scanned Quick Response Code and transmitting terminal for receiving terminal;
Transmitting element 13, is suitable for after transmitting terminal and receiving terminal connection establishment, and the file that user selects is sent to receiving terminal.
Wherein, described portable hot information comprises transmitting terminal IP address and hotspot name, or described portable hot information comprises transmitting terminal IP address, hotspot name and password.Described fileinfo can be the file path of file.
Transmitting element 13 can send file by socket, and detailed process is shown in Figure 4.
Described receiving terminal 20 can comprise:
Quick Response Code scanning element 21, be suitable for the Quick Response Code that scanning transmitting terminal represents, from the Quick Response Code of scanning, obtain portable hot information, wherein, described Quick Response Code is opened portable focus after getting the fileinfo of user's selection by transmitting terminal, is generated according to portable hot information;
Linkage unit 22, is suitable for connecting according to described portable hot information and transmitting terminal;
Receiving element 23, is suitable for the file receiving user's selection that transmitting terminal sends.
Wherein, receiving element 23 can receive file by socket, and detailed process is shown in Figure 5.
According to the technique scheme of the embodiment of the present invention, transmitting terminal is by generating Quick Response Code by portable hot information and representing, receiving terminal can obtain portable hot information by scanning Quick Response Code, like this, manually intervene without the need to user, receiving terminal just can according to the portable hot information got automatically and transmitting terminal connect, thus the file transfer that can realize easily and fast between handheld device, and, in the process of transmitting-receiving file, effectively can also get rid of other people interference, user can not bother by the connection request that arrives out of the blue.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In specification provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary compound mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the transmitting terminal of the embodiment of the present invention and receiving terminal.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
Disclosed herein is A1, a kind of document transmission method, it comprises:
Transmitting terminal opens portable focus after getting the fileinfo of user's selection;
Portable hot information is generated Quick Response Code and represents by transmitting terminal, scans thus receiving terminal is connected according to the portable hot information in scanned Quick Response Code and transmitting terminal for receiving terminal;
After transmitting terminal and receiving terminal connection establishment, the file that user selects is sent to receiving terminal by transmitting terminal.
A2, document transmission method as described in A1, wherein, described portable hot information comprises: transmitting terminal IP address and hotspot name.
A3, document transmission method as described in A1 or A2, wherein, described fileinfo is the file path of file.
A4, document transmission method as described in A3, wherein, the file that user selects is sent to receiving terminal by transmitting terminal, comprises further:
Set up socket according to receiving terminal IP address with port to be connected;
According to the binary content of file path file reading, the binary content of pre-sizing is written to buffering area at every turn;
Buffer contents is connected by socket and is sent to receiving terminal;
After all binary contents of file are sent, close socket and connect.
Disclosed herein is B5, a kind of document transmission method, it comprises:
The Quick Response Code that receiving terminal scanning transmitting terminal represents, obtains portable hot information from the Quick Response Code of scanning, and wherein, described Quick Response Code is opened portable focus after getting the fileinfo of user's selection by transmitting terminal, generated according to portable hot information;
Receiving terminal connects according to described portable hot information and transmitting terminal;
Receiving terminal receives the file of user's selection that transmitting terminal sends.
B6, document transmission method as described in B5, wherein, receiving terminal receives the file that user that transmitting terminal sends selects, and comprises further:
Set up service end Socket according to port, and block wait-receiving mode data;
The binary content received is temporarily stored in buffering area;
Buffer contents is write local file;
After all binary contents of file receive, close service end Socket and connect.
Disclosed herein is C7, a kind of transmitting terminal, it comprises:
Portable focus opens unit, after being suitable for getting the fileinfo that user selects, opens portable focus;
Quick Response Code generation unit, is suitable for portable hot information being generated Quick Response Code and representing, scans thus receiving terminal is connected according to the portable hot information in scanned Quick Response Code and transmitting terminal for receiving terminal;
Transmitting element, is suitable for after transmitting terminal and receiving terminal connection establishment, and the file that user selects is sent to receiving terminal.
C8, transmitting terminal as described in C7, wherein, described portable hot information comprises: transmitting terminal IP address and hotspot name.
C9, transmitting terminal as described in C7 or C8, wherein, described fileinfo is the file path of file.
C10, transmitting terminal as described in C9, wherein, described transmitting element is further adapted for:
Set up socket according to receiving terminal IP address with port to be connected;
According to the binary content of file path file reading, the binary content of pre-sizing is written to buffering area at every turn;
Buffer contents is connected by socket and is sent to receiving terminal;
After all binary contents of file are sent, close socket and connect.
Disclosed herein is D11, a kind of receiving terminal, it comprises:
Quick Response Code scanning element, be suitable for the Quick Response Code that scanning transmitting terminal represents, from the Quick Response Code of scanning, obtain portable hot information, wherein, described Quick Response Code is opened portable focus after getting the fileinfo of user's selection by transmitting terminal, is generated according to portable hot information;
Linkage unit, is suitable for connecting according to described portable hot information and transmitting terminal;
Receiving element, is suitable for the file receiving user's selection that transmitting terminal sends.
D12, receiving terminal as described in D11, wherein, described receiving element is further adapted for:
Set up service end Socket according to port, and block wait-receiving mode data;
The binary content received is temporarily stored in buffering area;
Buffer contents is write local file;
After all binary contents of file receive, close service end Socket and connect.
Disclosed herein is E13, a kind of document transmission system, comprise transmitting terminal and receiving terminal, wherein:
Described transmitting terminal is suitable for, and opens portable focus after getting the fileinfo of user's selection, portable hot information is generated Quick Response Code and represents;
Described receiving terminal is suitable for, the Quick Response Code that scanning transmitting terminal represents, and obtains portable hot information, connect according to described portable hot information and transmitting terminal from the Quick Response Code of scanning;
Described transmitting terminal is also suitable for, with receiving terminal connection establishment after, by user select file send to receiving terminal; Described receiving terminal is also suitable for, and receives the file of user's selection that transmitting terminal sends.

Claims (10)

1. a document transmission method, it comprises:
Transmitting terminal opens portable focus after getting the fileinfo of user's selection;
Portable hot information is generated Quick Response Code and represents by transmitting terminal, scans thus receiving terminal is connected according to the portable hot information in scanned Quick Response Code and transmitting terminal for receiving terminal;
After transmitting terminal and receiving terminal connection establishment, the file that user selects is sent to receiving terminal by transmitting terminal.
2. document transmission method as claimed in claim 1, wherein, described portable hot information comprises: transmitting terminal IP address and hotspot name.
3. document transmission method as claimed in claim 1 or 2, wherein, described fileinfo is the file path of file.
4. document transmission method as claimed in claim 3, wherein, the file that user selects is sent to receiving terminal by transmitting terminal, comprises further:
Set up socket according to receiving terminal IP address with port to be connected;
According to the binary content of file path file reading, the binary content of pre-sizing is written to buffering area at every turn;
Buffer contents is connected by socket and is sent to receiving terminal;
After all binary contents of file are sent, close socket and connect.
5. a document transmission method, it comprises:
The Quick Response Code that receiving terminal scanning transmitting terminal represents, obtains portable hot information from the Quick Response Code of scanning, and wherein, described Quick Response Code is opened portable focus after getting the fileinfo of user's selection by transmitting terminal, generated according to portable hot information;
Receiving terminal connects according to described portable hot information and transmitting terminal;
Receiving terminal receives the file of user's selection that transmitting terminal sends.
6. document transmission method as claimed in claim 5, wherein, receiving terminal receives the file of user's selection that transmitting terminal sends, and comprises further:
Set up service end Socket according to port, and block wait-receiving mode data;
The binary content received is temporarily stored in buffering area;
Buffer contents is write local file;
After all binary contents of file receive, close service end Socket and connect.
7. a transmitting terminal, it comprises:
Portable focus opens unit, after being suitable for getting the fileinfo that user selects, opens portable focus;
Quick Response Code generation unit, is suitable for portable hot information being generated Quick Response Code and representing, scans thus receiving terminal is connected according to the portable hot information in scanned Quick Response Code and transmitting terminal for receiving terminal;
Transmitting element, is suitable for after transmitting terminal and receiving terminal connection establishment, and the file that user selects is sent to receiving terminal.
8. transmitting terminal as claimed in claim 7, wherein, described portable hot information comprises: transmitting terminal IP address and hotspot name.
9. a receiving terminal, it comprises:
Quick Response Code scanning element, be suitable for the Quick Response Code that scanning transmitting terminal represents, from the Quick Response Code of scanning, obtain portable hot information, wherein, described Quick Response Code is opened portable focus after getting the fileinfo of user's selection by transmitting terminal, is generated according to portable hot information;
Linkage unit, is suitable for connecting according to described portable hot information and transmitting terminal;
Receiving element, is suitable for the file receiving user's selection that transmitting terminal sends.
10. a document transmission system, comprises transmitting terminal and receiving terminal, wherein:
Described transmitting terminal is suitable for, and opens portable focus after getting the fileinfo of user's selection, portable hot information is generated Quick Response Code and represents;
Described receiving terminal is suitable for, the Quick Response Code that scanning transmitting terminal represents, and obtains portable hot information, connect according to described portable hot information and transmitting terminal from the Quick Response Code of scanning;
Described transmitting terminal is also suitable for, with receiving terminal connection establishment after, by user select file send to receiving terminal; Described receiving terminal is also suitable for, and receives the file of user's selection that transmitting terminal sends.
CN201310300634.4A 2013-07-17 2013-07-17 File transfer method, terminal and system Pending CN104301344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310300634.4A CN104301344A (en) 2013-07-17 2013-07-17 File transfer method, terminal and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310300634.4A CN104301344A (en) 2013-07-17 2013-07-17 File transfer method, terminal and system

Publications (1)

Publication Number Publication Date
CN104301344A true CN104301344A (en) 2015-01-21

Family

ID=52320912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310300634.4A Pending CN104301344A (en) 2013-07-17 2013-07-17 File transfer method, terminal and system

Country Status (1)

Country Link
CN (1) CN104301344A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104780204A (en) * 2015-03-24 2015-07-15 四川长虹电器股份有限公司 Method and system for rapidly sharing files between terminals
CN105163171A (en) * 2015-07-07 2015-12-16 深圳市美贝壳科技有限公司 File transmission method between set top box and mobile terminal and system
CN105991962A (en) * 2015-02-03 2016-10-05 阿里巴巴集团控股有限公司 Information display method, device and system
CN106060815A (en) * 2016-05-18 2016-10-26 广东欧珀移动通信有限公司 Data transmission method, mobile terminal and data transmission system
CN106331051A (en) * 2015-07-07 2017-01-11 北京神州泰岳软件股份有限公司 File transmission method and system, file receiving device and file transmission device
CN106412907A (en) * 2016-09-14 2017-02-15 广东欧珀移动通信有限公司 Network access methods and system, and related devices
CN106454810A (en) * 2016-09-14 2017-02-22 广东欧珀移动通信有限公司 Hotspot establishing method and terminal equipment
CN106454831A (en) * 2016-10-18 2017-02-22 深圳市译科思数码科技有限公司 Mobile hotspot access method, terminal and peripheral equipment
CN106445739A (en) * 2016-09-14 2017-02-22 广东欧珀移动通信有限公司 Data migration method and terminal device
CN106528017A (en) * 2016-10-31 2017-03-22 努比亚技术有限公司 Information processing method and terminal
CN108390941A (en) * 2018-03-20 2018-08-10 浙江臻善科技股份有限公司 End-to-end real time file transmission method, system and first terminal and second terminal
CN108712482A (en) * 2018-05-06 2018-10-26 深圳市保千里电子有限公司 Based on mobile terminal Quick Response Code rapid file sharing method
CN110300186A (en) * 2019-07-15 2019-10-01 中国科学院计算机网络信息中心 A kind of pp file transmission method based on edge calculations technology
CN110324297A (en) * 2018-03-30 2019-10-11 武汉斗鱼网络科技有限公司 A kind of message treatment method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100197283A1 (en) * 2009-02-02 2010-08-05 Fujifilm Corporation Linguistic content management method and system, and linguistic content transmitting apparatus and linguistic content receiving apparatus
CN102394926A (en) * 2011-10-31 2012-03-28 中科创达软件科技(北京)有限公司 Method for transferring files to terminals
US20120254330A1 (en) * 2011-04-01 2012-10-04 Benq Corporation Operation method applicable to electronic device with operation system
CN102724668A (en) * 2012-06-15 2012-10-10 惠州Tcl移动通信有限公司 Method and system for sharing WIFI (wireless fidelity) network information on basis of two-dimensional code graphs
CN102883449A (en) * 2012-09-21 2013-01-16 腾讯科技(深圳)有限公司 Method, related terminals and system for implementing data sharing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100197283A1 (en) * 2009-02-02 2010-08-05 Fujifilm Corporation Linguistic content management method and system, and linguistic content transmitting apparatus and linguistic content receiving apparatus
US20120254330A1 (en) * 2011-04-01 2012-10-04 Benq Corporation Operation method applicable to electronic device with operation system
CN102394926A (en) * 2011-10-31 2012-03-28 中科创达软件科技(北京)有限公司 Method for transferring files to terminals
CN102724668A (en) * 2012-06-15 2012-10-10 惠州Tcl移动通信有限公司 Method and system for sharing WIFI (wireless fidelity) network information on basis of two-dimensional code graphs
CN102883449A (en) * 2012-09-21 2013-01-16 腾讯科技(深圳)有限公司 Method, related terminals and system for implementing data sharing

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105991962A (en) * 2015-02-03 2016-10-05 阿里巴巴集团控股有限公司 Information display method, device and system
CN104780204A (en) * 2015-03-24 2015-07-15 四川长虹电器股份有限公司 Method and system for rapidly sharing files between terminals
CN105163171A (en) * 2015-07-07 2015-12-16 深圳市美贝壳科技有限公司 File transmission method between set top box and mobile terminal and system
CN106331051A (en) * 2015-07-07 2017-01-11 北京神州泰岳软件股份有限公司 File transmission method and system, file receiving device and file transmission device
CN106331051B (en) * 2015-07-07 2019-09-13 北京神州泰岳软件股份有限公司 Document transmission method and system and reception file device send file device
CN106060815A (en) * 2016-05-18 2016-10-26 广东欧珀移动通信有限公司 Data transmission method, mobile terminal and data transmission system
CN106445739A (en) * 2016-09-14 2017-02-22 广东欧珀移动通信有限公司 Data migration method and terminal device
CN106454810A (en) * 2016-09-14 2017-02-22 广东欧珀移动通信有限公司 Hotspot establishing method and terminal equipment
WO2018049886A1 (en) * 2016-09-14 2018-03-22 广东欧珀移动通信有限公司 Hotspot establishment method and terminal device
WO2018049940A1 (en) * 2016-09-14 2018-03-22 广东欧珀移动通信有限公司 Network access method, related device and system
CN106412907A (en) * 2016-09-14 2017-02-15 广东欧珀移动通信有限公司 Network access methods and system, and related devices
CN106412907B (en) * 2016-09-14 2020-02-14 Oppo广东移动通信有限公司 Network access method, related equipment and system
CN106454831A (en) * 2016-10-18 2017-02-22 深圳市译科思数码科技有限公司 Mobile hotspot access method, terminal and peripheral equipment
CN106528017A (en) * 2016-10-31 2017-03-22 努比亚技术有限公司 Information processing method and terminal
CN108390941A (en) * 2018-03-20 2018-08-10 浙江臻善科技股份有限公司 End-to-end real time file transmission method, system and first terminal and second terminal
CN110324297A (en) * 2018-03-30 2019-10-11 武汉斗鱼网络科技有限公司 A kind of message treatment method and device
CN108712482A (en) * 2018-05-06 2018-10-26 深圳市保千里电子有限公司 Based on mobile terminal Quick Response Code rapid file sharing method
CN110300186A (en) * 2019-07-15 2019-10-01 中国科学院计算机网络信息中心 A kind of pp file transmission method based on edge calculations technology
CN110300186B (en) * 2019-07-15 2022-05-13 中国科学院计算机网络信息中心 Point-to-point file transmission method based on edge computing technology

Similar Documents

Publication Publication Date Title
CN104301344A (en) File transfer method, terminal and system
Su et al. Haggle: Seamless networking for mobile applications
JP4745283B2 (en) Method for routing incoming and outgoing data in an NFC chipset
KR101307909B1 (en) Methods and apparatus for obtaining content with reduced access times
US7779078B2 (en) Method and system for managing multimedia messages in a mobile communication systems
US7921172B2 (en) Apparatus, system, and method for wireless presyncing of data
CN105207867A (en) Equipment connecting method and equipment connecting device
CN103227836B (en) Offline download method and off-line download server
CN104780209A (en) Portable equipment and server for realizing sharing interface scenario
CN104507141A (en) File receiving method for client side and receiver client side
CN102300287A (en) Wireless hotspot connection method and apparatus thereof
US9226131B2 (en) Communication protocol preferences
CN103346896A (en) Method and system for quick data transmission
CN103368977A (en) Network connection method and terminal equipment
Zeidler et al. Mobility support with REBECA
CN104158908A (en) Method and system for transmitting files based on WiFi (Wireless Fidelity) equipment
KR20090091351A (en) System, method, apparatus and computer program product for providing content selection in a network environment
CN102546850A (en) Method, device and server used for providing internet protocol (IP) v4 content and supporting IPv6
KR101121532B1 (en) Method and apparatus for multimedia combination, device for multimedea combination interface
CN102655483A (en) Method, client side and system for obtaining contact information by virtue of emails
CN103237074A (en) Data interactive method and data interactive system between intelligent terminals
CN104244171A (en) Data transmission system and method on basis of NFC (near field communication) connection
CN104243535A (en) Method used for transmitting data between first equipment and second equipment
US10157102B2 (en) Techniques to scan and reorganize media files to remove gaps
CN104507176A (en) File sending method for client side and sender client side

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: 20150121