CN103476027A - File transmission method for mobile terminal - Google Patents
File transmission method for mobile terminal Download PDFInfo
- Publication number
- CN103476027A CN103476027A CN2013104493427A CN201310449342A CN103476027A CN 103476027 A CN103476027 A CN 103476027A CN 2013104493427 A CN2013104493427 A CN 2013104493427A CN 201310449342 A CN201310449342 A CN 201310449342A CN 103476027 A CN103476027 A CN 103476027A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- file
- transmission method
- hot spots
- focus
- 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
Abstract
The invention provides a file transmission method for a mobile terminal. The file transmission method comprises the following steps that (1) WIFI hot spots are self-created by a mobile terminal transmitting side, and names of the hot spots are generated to wait for a connecting request; (2) surrounding WIFI hot spots are looked for by a mobile terminal receiving side, the connecting request is transmitted to the target WIFI hot spots after the target WIFI hot spots are found, and an independent service socket message center is started after the mobile terminal transmitting side receives the connecting request; (3) a file receiving server is started by the mobile terminal receiving side; (4) a file transmitting task is started by the mobile terminal transmitting side, files are transmitted to the mobile terminal receiving side, and then file transmission is completed. The file transmission method has the advantages that participation and departure of users can be instantly detected, data transmission is completely isolated from service transmission, under the limitation of WIFI physical permission, transmission of service commands among terminals can not be affected by file transmission tasks, and data transmission processing pressure is effectively diffused.
Description
Technical field
The present invention relates to the technical field of the wifi transfer of data of mobile terminal, particularly for the mobile terminal that uses android operating system.
Background technology
Allow self-built wifi focus on existing mobile terminal device, also allow connection and add the wifi focus, android SDK has also opened the api that the wifi of mobile terminal is contained to the ap operation, opened the read-write operation of picture to mobile terminal, music, video, the read-write operation of program and installation, the read-write operation of address list, note and Netz ocket.This just makes the file transfer between mobile terminal become possibility.
Carry out at present the method for the file transfer between mobile terminal by WIFI, its use be that socket multicast or udp message packet packet mode realize, its shortcoming is, user's off-line breakpoint, user, directly enter in the situations such as journey, can only rely on heartbeat timeout and detect the user of disconnection, detecting to offline user lags behind, and can not immediately detect adding and leaving of user.Simultaneously, business order between mobile terminal transmit leg and recipient, file transfer is all used same socket server to be processed, file sends service and is processed by the hotspot service device, the recipient is not service processes independently, be only that data receive client, increased like this processing pressure of hotspot service device, be unfavorable for that many people receive a plurality of files simultaneously.
Summary of the invention
For this reason, technical problem to be solved by this invention is: provide a kind of document transmission method of mobile terminal, to overcome the shortcoming of above-mentioned prior art.
So, the invention provides following technical scheme:
A kind of document transmission method of mobile terminal comprises the following steps:
A. the mobile terminal transmit leg creates the WIFI focus certainly, and generates hotspot name, waits for connection request;
B. the mobile terminal recipient searches for peripheral WIFI focus, finds to send connection request to target WIFI focus after target WIFI focus, and the mobile terminal transmit leg starts separate traffic socket message center after receiving connection request;
C. the mobile terminal recipient starts the reception file server;
D. mobile terminal transmit leg startup file sends task, to mobile terminal recipient Transmit message, completes file transfer.
Preferably, in described step b, also comprise with the WAP-PSK encryption standard described connection request is encrypted.
Advantage of the present invention is:
1, the mode of the socket message center of use realizes file transfer, instant to the offline user detecting, has avoided off-line heartbeat in most cases to process, and can immediately detect adding and leaving of user;
2, each adds the mobile terminal oneself of focus WIFI can start an independently file reception server, transfer of data and business transmission isolation fully like this, under the limit allowed at wifi physics, can not affect because of file transmission task the transmission of business order between each terminal, and effectively disperse the pressure of data transmission and processing.
3, by using the WAP-PSK encryption standard to be encrypted connection request, acquiescence must be used 8 passwords, and inferior password helps the user automatically to set by program, can prevent that like this focus WIFI from being connected by mistake.Than the null password used in prior art, be not easy to be connected by other equipment mistakes.
The accompanying drawing explanation
Fig. 1 is that embodiment mobile terminal focus WIFI creates and connection diagram.
The schematic diagram that Fig. 2 is data transmission method between the embodiment mobile terminal.
Embodiment
Below, describe the present invention by reference to the accompanying drawings.
A kind of document transmission method of mobile terminal comprises the following steps:
A. the mobile terminal transmit leg creates the WIFI focus certainly, and generates hotspot name, waits for connection request;
B. the mobile terminal recipient searches for peripheral WIFI focus, find to send connection request to target WIFI focus after target WIFI focus, and with the WAP-PSK encryption standard, connection request is encrypted, the mobile terminal transmit leg starts separate traffic socket message center after receiving connection request;
C. the mobile terminal recipient starts the reception file server;
D. mobile terminal transmit leg startup file sends task, to mobile terminal recipient Transmit message, completes file transfer.
In the above-mentioned steps of the present embodiment, mobile terminal focus WIFI establishment and connection diagram are with reference to accompanying drawing 1, focus establishment side is that the mobile terminal transmit leg carries out the focus establishment by A-stage, wait for connection request, continue to wait for as do not connected the user, within as overtime as the stand-by period 2 minutes, return to A-stage.The focus connection side starts to search for focus by A-stage, find to share after focus the Connection Sharing focus and notify to focus establishments side transmission connection request, focus establishment side carries out the white list judgement after receiving connection request, as the user at white list, send response notification, the focus recipient has accepted the WIFI connection after receiving response notification, enters connection status.As focus establishment side judges that the user is not at white list, first determine to accept, refuse or ignore, as accepted to add white list, send response notification, the focus recipient has accepted the WIFI connection after receiving response notification, enters connection status.
In above-mentioned steps, between mobile terminal, the schematic diagram of data transmission method is with reference to accompanying drawing 2, the sender selects several data or the fileinfo of this terminal, comprises terminal applies, the picture in terminal media library, music or video, note and address list etc., by the fileinfo record of selecting, and select to send, generate hotspot name according to the user's name pet name simultaneously, hotspot name is carried out the base64 encryption, generates special focus beginning table label.The recipient, according to special hotspot name prefix search periphery focus, finds that there is the focus of coupling, the suffix base64 of encryption is decoded and is illustrated on mobile terminal.After the WIFI successful connection, the sender starts business order CMDSocket message center, recipient's application adds the message center of becoming owner of focus, sender's startup file sends task, to the user's Transmit message that adds network, simultaneously receiver-in itiated receives file service, by the file that receives according to type, deposit in different native object, complete file transfer.
Problem and advantage that the present embodiment can solve are:
1, the mode of the socket message center of use realizes file transfer, instant to the offline user detecting, has avoided off-line heartbeat in most cases to process, and can immediately detect adding and leaving of user;
2, each adds the mobile terminal oneself of focus WIFI can start an independently file reception server, transfer of data and business transmission isolation fully like this, under the limit allowed at wifi physics, can not affect because of file transmission task the transmission of business order between each terminal, and effectively disperse the pressure of data transmission and processing.
3, by using WAP-PSK encryption standard to be encrypted connection request, acquiescence must be used 8 passwords, and inferior password helps the user automatically to set by program, can prevent that like this focus WIFI from being connected by mistake.Than the null password used in prior art, be not easy to be connected by other equipment mistakes.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (2)
1. the document transmission method of a mobile terminal comprises the following steps:
A. the mobile terminal transmit leg creates the WIFI focus certainly, and generates hotspot name, waits for connection request;
B. the mobile terminal recipient searches for peripheral WIFI focus, finds to send connection request to target WIFI focus after target WIFI focus, and the mobile terminal transmit leg starts separate traffic socket message center after receiving connection request;
C. the mobile terminal recipient starts the reception file server;
D. mobile terminal transmit leg startup file sends task, to mobile terminal recipient Transmit message, completes file transfer.
2. the document transmission method of mobile terminal according to claim 1, is characterized in that: in described step b, also comprise with the WAP-PSK encryption standard described connection request is encrypted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013104493427A CN103476027A (en) | 2013-09-24 | 2013-09-24 | File transmission method for mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013104493427A CN103476027A (en) | 2013-09-24 | 2013-09-24 | File transmission method for mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103476027A true CN103476027A (en) | 2013-12-25 |
Family
ID=49800695
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013104493427A Pending CN103476027A (en) | 2013-09-24 | 2013-09-24 | File transmission method for mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103476027A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104202714A (en) * | 2014-08-05 | 2014-12-10 | 深圳市元征科技股份有限公司 | Mobile terminal near field communication method and system for heterogeneous operating system |
CN104507141A (en) * | 2014-12-26 | 2015-04-08 | 北京奇虎科技有限公司 | File receiving method for client side and receiver client side |
CN104507176A (en) * | 2014-12-26 | 2015-04-08 | 奇智软件(北京)有限公司 | File sending method for client side and sender client side |
CN104967668A (en) * | 2015-05-28 | 2015-10-07 | 百度在线网络技术(北京)有限公司 | Inter-equipment file transmission method, apparatus and system based on WIFI hot spot |
CN104980414A (en) * | 2014-05-15 | 2015-10-14 | 腾讯科技(深圳)有限公司 | File transmission method and terminal |
CN105187493A (en) * | 2015-08-07 | 2015-12-23 | 宁波萨瑞通讯有限公司 | One-to-many transmission method and one-to-many transmission system of mobile terminal |
CN105844888A (en) * | 2016-05-23 | 2016-08-10 | 华能澜沧江水电股份有限公司 | Automatic concrete mixing information acquisition system and method for roller compacted concrete dam |
CN106254348A (en) * | 2016-08-08 | 2016-12-21 | 中国地质大学武汉 | A kind of Wireless LAN communication method based on Android |
CN106413032A (en) * | 2016-09-14 | 2017-02-15 | 广东欧珀移动通信有限公司 | Hotspot establishing method and terminal equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030220121A1 (en) * | 2002-05-13 | 2003-11-27 | Toshiyuki Konishi | Radio communication system for notifying incommunicable state, and device and method used for the system |
CN202624112U (en) * | 2012-03-15 | 2012-12-26 | 延锋伟世通电子科技(上海)有限公司 | Wireless control device of in-car subsystems |
CN102883449A (en) * | 2012-09-21 | 2013-01-16 | 腾讯科技(深圳)有限公司 | Method, related terminals and system for implementing data sharing |
CN103096506A (en) * | 2013-01-07 | 2013-05-08 | 东莞宇龙通信科技有限公司 | Terminal devices, wireless fidelity (WIFI) connection method and system |
CN103248685A (en) * | 2013-04-28 | 2013-08-14 | 福建星网锐捷通讯股份有限公司 | Smart phone-based P2P monitoring method and system |
-
2013
- 2013-09-24 CN CN2013104493427A patent/CN103476027A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030220121A1 (en) * | 2002-05-13 | 2003-11-27 | Toshiyuki Konishi | Radio communication system for notifying incommunicable state, and device and method used for the system |
CN202624112U (en) * | 2012-03-15 | 2012-12-26 | 延锋伟世通电子科技(上海)有限公司 | Wireless control device of in-car subsystems |
CN102883449A (en) * | 2012-09-21 | 2013-01-16 | 腾讯科技(深圳)有限公司 | Method, related terminals and system for implementing data sharing |
CN103096506A (en) * | 2013-01-07 | 2013-05-08 | 东莞宇龙通信科技有限公司 | Terminal devices, wireless fidelity (WIFI) connection method and system |
CN103248685A (en) * | 2013-04-28 | 2013-08-14 | 福建星网锐捷通讯股份有限公司 | Smart phone-based P2P monitoring method and system |
Non-Patent Citations (1)
Title |
---|
马捷等: "基于近场通信的WiFi传输连接方案", 《计算机工程》 * |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104980414A (en) * | 2014-05-15 | 2015-10-14 | 腾讯科技(深圳)有限公司 | File transmission method and terminal |
CN104980414B (en) * | 2014-05-15 | 2020-01-10 | 腾讯科技(深圳)有限公司 | File transmission method and terminal |
CN104202714A (en) * | 2014-08-05 | 2014-12-10 | 深圳市元征科技股份有限公司 | Mobile terminal near field communication method and system for heterogeneous operating system |
CN104507141A (en) * | 2014-12-26 | 2015-04-08 | 北京奇虎科技有限公司 | File receiving method for client side and receiver client side |
CN104507176A (en) * | 2014-12-26 | 2015-04-08 | 奇智软件(北京)有限公司 | File sending method for client side and sender client side |
CN104967668A (en) * | 2015-05-28 | 2015-10-07 | 百度在线网络技术(北京)有限公司 | Inter-equipment file transmission method, apparatus and system based on WIFI hot spot |
CN105187493A (en) * | 2015-08-07 | 2015-12-23 | 宁波萨瑞通讯有限公司 | One-to-many transmission method and one-to-many transmission system of mobile terminal |
CN105844888A (en) * | 2016-05-23 | 2016-08-10 | 华能澜沧江水电股份有限公司 | Automatic concrete mixing information acquisition system and method for roller compacted concrete dam |
CN106254348A (en) * | 2016-08-08 | 2016-12-21 | 中国地质大学武汉 | A kind of Wireless LAN communication method based on Android |
CN106413032A (en) * | 2016-09-14 | 2017-02-15 | 广东欧珀移动通信有限公司 | Hotspot establishing method and terminal equipment |
WO2018049969A1 (en) * | 2016-09-14 | 2018-03-22 | 广东欧珀移动通信有限公司 | Hotspot establishment method and related device |
CN106413032B (en) * | 2016-09-14 | 2020-03-24 | Oppo广东移动通信有限公司 | Hotspot establishing method and terminal equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103476027A (en) | File transmission method for mobile terminal | |
US10616232B2 (en) | Network connection method, hotspot terminal and management terminal | |
EP3484196B1 (en) | Method and apparatus for registering wireless device in wireless communication system | |
KR101954657B1 (en) | Connecting method between terminals in wi-fi p2p network and terminal thereof | |
US20140308898A1 (en) | Communication control method and electronic device implementing the same | |
EP2579475B1 (en) | Method for allowing one device to detect another device | |
CN104158883A (en) | Method, device, equipment and system for carrying out user login through cross-terminal equipment | |
CN103037477A (en) | Method, server side and client side of family media device accessing to wireless fidelity (wifi) hotspot | |
CN102821143B (en) | Terminal cooperation method, equipment and system | |
US20140328285A1 (en) | Method, apparatus and terminal device for data transmission of a wi-fi network | |
US20140302779A1 (en) | Method, device and system for establishing conversation relationship | |
US20090319611A1 (en) | Method and System for Facilitating Exchange of A Data Between Applications Using a Communication Platform | |
US10812572B2 (en) | Cloud-based data sharing | |
US8825096B2 (en) | Method and apparatus for enabling voice discussions among independent and simultaneous users of data content | |
US10420156B2 (en) | Wireless communication terminal, wireless communication system, wireless communication method, and non-transitory medium saving program | |
CN107995247B (en) | File transmission method, server and system | |
CN105227430A (en) | A kind of social Internet of Things implementation method based on micro-letter platform | |
CN106028266B (en) | Information transmission method, device and system | |
KR20140135080A (en) | METHOD FOR COMMUNICATING BETWEEN UEs IN WIRELESS COMMUNICATIN SYSTEMS | |
CN103905579A (en) | Method and system for communication between platform and terminal, platform and relevant devices | |
CN102186029A (en) | Television and network access method and device for same | |
CN109144919B (en) | Interface switching method and device | |
CN106789843B (en) | Method, PORTAL server and system for sharing internet access | |
US20170310736A1 (en) | Method and system for sharing file between mobile terminals | |
CN101035126B (en) | Method of granting control of device and device using the method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
DD01 | Delivery of document by public notice |
Addressee: KKFun Digital (Shenzhen) Co., Ltd. Document name: Notification that Application Deemed to be Withdrawn |
|
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20131225 |