CN108616547A - A kind of method and device of transmission file - Google Patents

A kind of method and device of transmission file Download PDF

Info

Publication number
CN108616547A
CN108616547A CN201611099580.XA CN201611099580A CN108616547A CN 108616547 A CN108616547 A CN 108616547A CN 201611099580 A CN201611099580 A CN 201611099580A CN 108616547 A CN108616547 A CN 108616547A
Authority
CN
China
Prior art keywords
wifi
data
channels
bluetooth
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
Application number
CN201611099580.XA
Other languages
Chinese (zh)
Inventor
丁鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201611099580.XA priority Critical patent/CN108616547A/en
Publication of CN108616547A publication Critical patent/CN108616547A/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
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Abstract

The present invention provides a kind of method and device of transmission file, the method includes:After bluetooth unlatching, Bluetooth channels are established with distant terminal;Wifi hotspot is set, protocol data is generated according to the title of the wifi hotspot and password;The protocol data is sent to the distant terminal using the Bluetooth channels, the channels wifi are established according to the protocol data;Judge whether the channels wifi are successfully established, is data queue by the file declustering if being successfully established;According to preset transmission rule, data queue described in the Bluetooth channels and the channels wifi simultaneous transmission is utilized;In this way, after setting wifi hotspot, the wifi connections between distant terminal are established using Bluetooth channels, simplify the connection procedure of wifi;When transmitting file, the channels wifi and Bluetooth channels can be utilized to transmit simultaneously, improve efficiency of transmission, and then improve the operating efficiency of user.

Description

A kind of method and device of transmission file
Technical field
The present invention relates to field of communication technology more particularly to a kind of method and devices of transmission file.
Background technology
Current Android device user is more and more, and many users are in use, be that can be come using Android terminal Share file, video or picture.But share and have certain limitation, for sharing for mobile phone, wifi can be utilized to send Data, but on condition that need to carry out complicated connection and can just send and receive data after being connected to;Hair can also be utilized The data volume very little sent, but sent, speed are unhappy.
Invention content
In view of the problems of the existing technology, it an embodiment of the present invention provides a kind of method and device of transmission file, uses It when solving to transmit file in the prior art, cannot simply and efficiently be transmitted, the technology for causing user's operation efficiency to decline Problem.
The present invention provides a kind of method of transmission file, the method includes:
After bluetooth unlatching, Bluetooth channels are established with distant terminal;
Wifi hotspot is set, protocol data is generated according to the title of the wifi hotspot and password;
The protocol data is sent to the distant terminal using the Bluetooth channels, is established according to the protocol data The channels wifi;
Judge whether the channels wifi are successfully established, is data queue by the file declustering if being successfully established;
According to preset transmission rule, data team described in the Bluetooth channels and the channels wifi simultaneous transmission is utilized Row.
It is described to send the protocol data to the distant terminal using Bluetooth channels in said program, including:
The protocol data is converted into byte arrays;
The socket connections of the Bluetooth channels are established using communication creation method;
It is connected to the distant terminal by the socket and sends the byte arrays.
In said program, the protocol data specifically includes:Title, password and the local ip address of the wifi hotspot.
It is described to judge whether the channels wifi are successfully established in said program, including:
Receive the data that the distant terminal returns;
Judge the IP address with the presence or absence of the local terminal in the data of the return;
If there are the IP address of the local terminal in the data of the return, it is determined that the wifi Path Setups at Work(.
In said program, it is described by the file declustering be data queue, specifically include:
The file is divided into each data slice using file memory method FileAccess;
Corresponding filename is generated using usual methods, and corresponding filename and each data are carried out pair It answers;
The filename is combined to form the data queue.
In said program, according to preset transmission rule, the Bluetooth channels and the channels wifi simultaneous transmission are utilized The data queue, specifically includes:
Using the channels wifi, the data queue is transmitted according to the first transmission mode;
Using the Bluetooth channels, the data queue is transmitted according to the second transmission mode;Wherein,
First transmission mode is mode from front to back or from back to front, and second transmission mode is from front to back Or mode from back to front, first transmission mode are different from second transmission mode.
The present invention also provides a kind of device of transmission file, described device includes:
Unit is established, for after bluetooth unlatching, Bluetooth channels to be established with distant terminal;
Generation unit generates protocol data for wifi hotspot to be arranged according to the title of the wifi hotspot and password;
First transmission unit, for sending the protocol data to the distant terminal using the Bluetooth channels, according to The protocol data establishes the channels wifi;And transmit the data queue using the Bluetooth channels;
Judging unit, for judging whether the channels wifi are successfully established, if being successfully established, by the file declustering For data queue;
Second transmission unit utilizes data queue described in the wifi channel transfers according to preset transmission rule.
In said program, first transmission unit sends the agreement number using Bluetooth channels to the distant terminal According to specifically including:
The protocol data is converted into byte arrays;
The socket connections of the Bluetooth channels are established using communication creation method;
It is connected to the distant terminal by the socket and sends the byte arrays.
In said program, the protocol data specifically includes:Title, password and the IP of local terminal of the wifi hotspot Address.
In said program, the judging unit judges whether the channels wifi are successfully established, and specifically includes:
Receive the data that the distant terminal returns;
Judge the IP address with the presence or absence of the local terminal in the data of the return;
If there are the IP address of the local terminal in the data of the return, it is determined that the wifi Path Setups at Work(.
The present invention provides a kind of method and device of transmission file, the method includes:After bluetooth unlatching, with opposite end end Bluetooth channels are established at end;Wifi hotspot is set, protocol data is generated according to the title of the wifi hotspot and password;Using described Bluetooth channels send the protocol data to the distant terminal, and the channels wifi are established according to the protocol data;Described in judgement Whether the channels wifi are successfully established, and are data queue by the file declustering if being successfully established;It is advised according to preset transmission Then, data queue described in the Bluetooth channels and the channels wifi simultaneous transmission is utilized;In this way, after setting wifi hotspot, profit The wifi connections between distant terminal are established with Bluetooth channels, simplify the connection procedure of wifi;It, can be with when transmitting file It is transmitted simultaneously using the channels wifi and Bluetooth channels, improves efficiency of transmission, and then improve the operating efficiency of user.
Description of the drawings
Fig. 1 is the method flow schematic diagram for the transmission file that the embodiment of the present invention one provides;
Fig. 2 is the apparatus structure schematic diagram of transmission file provided by Embodiment 2 of the present invention.
Specific implementation mode
In order to when transmitting file, can simply and efficiently transmit, the present invention provides it is a kind of transmission file method and Device, the method include:After bluetooth unlatching, Bluetooth channels are established with distant terminal;Wifi hotspot is set, according to the wifi The title and password of hot spot generate protocol data;The protocol data is sent to the distant terminal using the Bluetooth channels, The channels wifi are established according to the protocol data;Judge whether the channels wifi are successfully established, it, will be described if being successfully established File declustering is data queue;According to preset transmission rule, the Bluetooth channels and the channels wifi simultaneous transmission are utilized The data queue.
Technical scheme of the present invention is described in further detail below by drawings and the specific embodiments.
Embodiment one
The present embodiment provides a kind of methods of transmission file, apply in android terminal equipment, such as:Mobile phone, PAD etc.; As shown in Figure 1, the method includes:
S101 establishes Bluetooth channels after bluetooth unlatching with distant terminal.
In this step, after bluetooth unlatching, before establishing Bluetooth channels with distant terminal, also need to judge bluetooth whether It opens, specifically includes:
IsEnabled parameters are obtained, judge isEnabled's using the BluetoothAdapter methods in Android Whether value is true, however, it is determined that the value of the isEnabled is true, it is determined that bluetooth has already turned on;If it is determined that isEnabled Value be false, it is determined that bluetooth is also not switched on;So then bluetooth is opened using following code:
Intent mIntent=new Intent (BluetoothAdapter.ACTION_REQUEST_ENABLE);
startActivityForResult(mIntent,1);
After bluetooth is opened, is matched with distant terminal according to the bluetooth title of distant terminal, establish Bluetooth channels.
Wifi hotspot is arranged in S102, and protocol data is generated according to the title of the wifi hotspot and password.
In this step, after Bluetooth pairing success, needs that wifi hotspot is arranged, specifically include:Establish the configuration of wifi hotspot Then item WifiConfiguration calls the title of SSID setting wifi hotspots, recycles preSharedKey close to be arranged Code.
Here, in order to avoid title and other wifi titles repeat, can wifi titles be set according to current point in time, For example current time is on November 25th, 2016, then SSID is then character string 20161125.It is of course also possible to utilize other side Formula is arranged, for example, when the name of terminal user is ABB, then SSID is then character string ABB.
Further, it after title is set, needs to carry out password setting, here, in order to ensure the crypticity of password, Utilize international mobile equipment identification number (IMEI, International the Mobile Equipment of current point in time and terminal Identity) password is arranged in the string assemble encoded, with specific reference to preset Password Length and extracting rule from the word Password is extracted in symbol set of strings;For example extract first 10 or 10 or 10 arbitrary latter in the string assemble.Due to every The IMEI of a terminal is different, therefore the password that each terminal is generated is different, it is ensured that the safety of password.
After wifi hotspot is set, wifi hotspot function is opened using WifiManager, wifi hotspot is set.Tool Body, it is got using WifiManager objects using WifiManager, it will be in WifiManage objects SetWifiEnabled is assigned a value of false, to close the networking function of wifi.Here, because wifi networkings and hot spot setting can not It opens simultaneously, therefore when hot spot is arranged, needs the networking function for closing wifi.
Further, after the title of wifi hotspot and password are set, according to the title of the wifi hotspot and close Code generates protocol data;The protocol data is made of json character strings, and the protocol data specifically includes:The wifi heat Title, password and the IP address of local terminal of point.Wherein, agreement data structure can be as follows:
S103 sends the protocol data, according to the protocol data using the Bluetooth channels to the distant terminal Establish the channels wifi.
In this step, after protocol data is generated, need to be sent to the protocol data pair by Bluetooth channels Terminal is held, is specifically included:
Utilize buffer=msg.getBytes ();The protocol data is converted into byte arrays, the msg is then association Discuss the character string of data.
Communication creation method createInsecureRfcommSocketToServiceRecord is recycled to establish the indigo plant The socket connections in tooth channel;After the completion, it is connected to the distant terminal by the socket and sends the byte arrays.
The socket is connected to the distant terminal transmission byte arrays:It utilizes GetOutputStream needs the output stream of transmission data to create, and the data of buffer are sent to opposite end end using write End, and open Bluetooth receiving function.
Wherein, when opening Bluetooth receiving function, a ReceiveDatas is created first with ReceiveDatas Class, and the start methods executed in the ReceiveDatas classes can obtain the number received by getOutputStream According to.
S104, judges whether the channels wifi are successfully established, and is data team by the file declustering if being successfully established Row.
After sending protocol data to the distant terminal, distant terminal utilizes read (buffer);Output circulation is changed For byte arrays, the protocol data of json formats can be got after converting.Wherein, agreement is sent to the distant terminal Data are that the process in the channels wifi is established according to the protocol data.
After the protocol data for getting json formats, wifi titles and code data will be obtained from the data, simultaneously Start the operation that newly-built WifiConfiguration is attached data, and title and password are added WifiConfiguration after the completion of connection, will get the address of the IP of local terminal;And data are back to terminal.
Here, described to judge whether the channels wifi are successfully established, including:Receive the number that the distant terminal returns According to;Judge the IP address with the presence or absence of the local terminal in the data of the return;If there are institutes in the data of the return State the IP address of local terminal, it is determined that the wifi Path Setups success.It is number by the file declustering if being successfully established According to queue.
Specifically, it is data queue by the file declustering, including:It will be described using file memory method FileAccess File is divided into each data slice;Corresponding filename is generated using usual methods, the filename is unique, and by the phase The filename answered carries out corresponding with each data;The filename is combined to form the data queue.Wherein, each Data slice can be 100K bytes.
S105 utilizes number described in the Bluetooth channels and the channels wifi simultaneous transmission according to preset transmission rule According to queue.
In this step, after the success of wifi Path Setups, according to preset transmission rule, using the Bluetooth channels and Data queue described in the simultaneous transmission of the channels wifi.
Specifically, using the channels wifi, the data queue is transmitted according to the first transmission mode;Using institute Bluetooth channels are stated, the data queue is transmitted according to the second transmission mode;Wherein, first transmission mode is in the past To mode rear or from back to front, second transmission mode is mode from front to back or from back to front, first transmission Mode is different from second transmission mode.
When distant terminal receives a data slice, then the data slice is marked to complete to transmit, in this way, can basis It is not that label, which carries out data slice that the is data slice that the do not transmit either transmission failure of inquiry transmission failure or not transmitting, There are labels, so that terminal can be allow to transmit data slice that is transmission failure or not transmitting again.
It after distant terminal receives each data slice, is combined according to above-mentioned transmission rule and filename, by institute Some file data taking-ups are written in a file, and after combination, the confirmation letter of transmission success is returned to the terminal Breath, this end of transmission.
Embodiment two
Corresponding to embodiment one, the present embodiment also provides a kind of device of transmission file, as shown in Fig. 2, described device packet It includes:Establish unit 21, generation unit 22, the first transmission unit 23, judging unit 24, the second transmission unit 25;Wherein,
The unit 21 of establishing is for after bluetooth unlatching, Bluetooth channels to be established with distant terminal;Here, it establishes to list Before opening bluetooth, judging unit 24 also needs to judge whether bluetooth has already turned on member 21, specifically includes:
Judging unit 24 obtains isEnabled parameters, is judged using the BluetoothAdapter methods in Android Whether the value of isEnabled is true, however, it is determined that the value of the isEnabled is true, it is determined that bluetooth has already turned on;If really The value for determining isEnabled is false, it is determined that bluetooth is also not switched on;The so described unit 21 of establishing then is beaten using following code Open bluetooth:
Intent mIntent=new Intent (BluetoothAdapter.ACTION_REQUEST_ENABLE); startActivityForResult(mIntent,1);
It is described to establish after the unlatching bluetooth of unit 21, it is matched with distant terminal according to the bluetooth title of distant terminal, Establish Bluetooth channels.
After Bluetooth pairing success, needs that wifi hotspot is arranged, specifically include:Establish the configuration item of wifi hotspot Then WifiConfiguration calls the title of SSID setting wifi hotspots, recycles preSharedKey close to be arranged Code.
Here, in order to avoid title and other wifi titles repeat, can wifi titles be set according to current point in time, For example current time is on November 25th, 2016, then SSID is then character string 20161125.It is of course also possible to utilize other side Formula is arranged, for example, when the name of terminal user is ABB, then SSID is then character string ABB.
Further, it after title is set, needs to carry out password setting, here, in order to ensure the crypticity of password, Utilize international mobile equipment identification number (IMEI, International the Mobile Equipment of current point in time and terminal Identity) password is arranged in the string assemble encoded, with specific reference to preset Password Length and extracting rule from the word Password is extracted in symbol set of strings;For example extract first 10 or 10 or 10 arbitrary latter in the string assemble.Due to every The IMEI of a terminal is different, therefore the password that each terminal is generated is different, it is ensured that the safety of password.
After wifi hotspot is set, wifi hotspot function is opened using WifiManager, wifi hotspot is set.Tool Body, it is got using WifiManager objects using WifiManager, it will be in WifiManage objects SetWifiEnabled is assigned a value of false, to close the networking function of wifi.Here, because wifi networkings and hot spot setting can not It opens simultaneously, therefore when hot spot is arranged, needs the networking function for closing wifi.
Further, after the title of wifi hotspot and password are set, the generation unit 22 is used for according to The title and password of wifi hotspot generate protocol data;The protocol data is made of json character strings, the protocol data It specifically includes:Title, password and the IP address of local terminal of the wifi hotspot.Wherein, agreement data structure can be as follows:
After protocol data is generated, the first transmission unit 23 using Bluetooth channels to the distant terminal for being sent The protocol data establishes the channels wifi according to the protocol data;It specifically includes:
Utilize buffer=msg.getBytes ();The protocol data is converted into byte arrays, the msg is then association Discuss the character string of data.
Communication creation method createInsecureRfcommSocketToServiceRecord is recycled to establish the indigo plant The socket connections in tooth channel;After the completion, it is connected to the distant terminal by the socket and sends the byte arrays.
The socket is connected to the distant terminal transmission byte arrays:It utilizes GetOutputStream needs the output stream of transmission data to create, and the data of buffer are sent to opposite end end using write End, and open Bluetooth receiving function.
Wherein, when opening Bluetooth receiving function, a ReceiveDatas is created first with ReceiveDatas Class, and the start methods executed in the ReceiveDatas classes can obtain the number received by getOutputStream According to.
After first transmission unit 23 sends protocol data to the distant terminal, distant terminal utilizes read (buffer);Output circulation is changed to byte arrays, the protocol data of json formats can be got after converting.Wherein, It is the process that the channels wifi are established according to the protocol data to send protocol data to the distant terminal.
After the protocol data for getting json formats, wifi titles and code data will be obtained from the data, simultaneously Start the operation that newly-built WifiConfiguration is attached data, and title and password are added WifiConfiguration after the completion of connection, will get the address of the IP of local terminal;And data are back to terminal.
The judging unit 24, if being successfully established, the file is torn open for judging whether the channels wifi are successfully established It is divided into data queue;Here, the judging unit 24 judges whether the channels wifi are successfully established, including:It is described right to receive The data for holding terminal to return;Judge the IP address with the presence or absence of the local terminal in the data of the return;If the return Data in there are the IP address of the local terminal, it is determined that wifi Path Setups success.If being successfully established, by institute It is data queue to state file declustering.
Specifically, it is data queue by the file declustering, including:It will be described using file memory method FileAccess File is divided into each data slice;Corresponding filename is generated using usual methods, the filename is unique, and by the phase The filename answered carries out corresponding with each data;The filename is combined to form the data queue.Wherein, each Data slice can be 100K bytes.
After the success of wifi Path Setups, first transmission unit 23 is used to, according to preset transmission rule, utilize Bluetooth channels transmit the data queue;Second transmission unit 25 is used to, according to preset transmission rule, pass using the channels wifi The defeated data queue.
Specifically, second transmission unit 25 utilizes the channels wifi, by the data queue according to the first transmission Mode is transmitted;First transmission unit utilizes the Bluetooth channels, by the data queue according to the second transmission mode It is transmitted;Wherein, first transmission mode is mode from front to back or from back to front, second transmission mode be from Front to back or mode from back to front, first transmission mode are different from second transmission mode.
When distant terminal receives a data slice, then the data slice is marked to complete to transmit, in this way, can basis It is not that label, which carries out data slice that the is data slice that the do not transmit either transmission failure of inquiry transmission failure or not transmitting, There are labels, so that terminal can be allow to transmit data slice that is transmission failure or not transmitting again.
It after distant terminal receives each data slice, is combined according to above-mentioned transmission rule and filename, by institute Some file data taking-ups are written in a file, and after combination, the confirmation letter of transmission success is returned to the terminal Breath, this end of transmission.
The advantageous effect brought of one or more embodiment provided by the invention is:
The present invention provides a kind of method and device of transmission file, the method includes:After bluetooth unlatching, with opposite end end End carries out Bluetooth pairing;Wifi hotspot is set, protocol data is generated according to the title of the wifi hotspot and password;Utilize bluetooth Channel sends the protocol data to the distant terminal, and the channels wifi are established according to the protocol data;Judge the wifi Whether channel is successfully established, and is data queue by the file declustering if being successfully established;According to preset transmission rule, profit The data queue described in the Bluetooth channels and the channels wifi simultaneous transmission;In this way, after setting wifi hotspot, bluetooth is utilized Wifi connections between Path Setup and distant terminal, simplify the connection procedure of wifi;It, can be sharp simultaneously when transmitting file It is transmitted with the channels wifi and Bluetooth channels, improves efficiency of transmission, and then improve the operating efficiency of user.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention, it is all All any modification, equivalent and improvement made by within the spirit and principles in the present invention etc. should be included in the protection of the present invention Within the scope of.

Claims (10)

1. a kind of method of transmission file, which is characterized in that the method includes:
After bluetooth unlatching, Bluetooth channels are established with distant terminal;
Wifi hotspot is set, protocol data is generated according to the title of the wifi hotspot and password;
The protocol data is sent to the distant terminal using the Bluetooth channels, it is logical to establish wifi according to the protocol data Road;
Judge whether the channels wifi are successfully established, is data queue by the file declustering if being successfully established;
According to preset transmission rule, data queue described in the Bluetooth channels and the channels wifi simultaneous transmission is utilized.
2. the method as described in claim 1, which is characterized in that described to utilize Bluetooth channels to described in distant terminal transmission Protocol data, including:
The protocol data is converted into byte arrays;
The socket connections of the Bluetooth channels are established using communication creation method;
It is connected to the distant terminal by the socket and sends the byte arrays.
3. the method as described in claim 1, which is characterized in that the protocol data specifically includes:The name of the wifi hotspot Claim, the IP address of password and local terminal terminal.
4. method as claimed in claim 3, which is characterized in that it is described to judge whether the channels wifi are successfully established, including:
Receive the data that the distant terminal returns;
Judge the IP address with the presence or absence of the local terminal in the data of the return;
If there are the IP address of the local terminal in the data of the return, it is determined that the wifi Path Setups success.
5. the method as described in claim 1, which is characterized in that it is described by the file declustering be data queue, including:
The file is divided into each data slice using file memory method FileAccess;
Corresponding filename is generated using usual methods, and corresponding filename is carried out with each data corresponding;
The filename is combined to form the data queue.
6. the method as described in claim 1, which is characterized in that according to preset transmission rule, using the Bluetooth channels and Data queue described in the simultaneous transmission of the channels wifi, specifically includes:
Using the channels wifi, the data queue is transmitted according to the first transmission mode;
Using the Bluetooth channels, the data queue is transmitted according to the second transmission mode;Wherein,
First transmission mode is mode from front to back or from back to front, second transmission mode be from front to back or from Forward mode afterwards, first transmission mode are different from second transmission mode.
7. a kind of device of transmission file, which is characterized in that described device includes:
Unit is established, for after bluetooth unlatching, Bluetooth channels to be established with distant terminal;
Generation unit generates protocol data for wifi hotspot to be arranged according to the title of the wifi hotspot and password;
First transmission unit, for sending the protocol data to the distant terminal using the Bluetooth channels, according to described Protocol data establishes the channels wifi;And transmit the data queue using the Bluetooth channels;
The file declustering, if being successfully established, is number for judging whether the channels wifi are successfully established by judging unit According to queue;
Second transmission unit utilizes data queue described in the wifi channel transfers according to preset transmission rule.
8. the device as described in right will go 7, which is characterized in that first transmission unit utilizes Bluetooth channels to the opposite end Terminal sends the protocol data, including:
The protocol data is converted into byte arrays;
The socket connections of the Bluetooth channels are established using communication creation method;
It is connected to the distant terminal by the socket and sends the byte arrays.
9. the device as described in right will go 7, which is characterized in that the protocol data specifically includes:The name of the wifi hotspot Claim, the IP address of password and local terminal terminal.
10. method as claimed in claim 9, which is characterized in that the judging unit judges whether the channels wifi are successfully established, Including:
Receive the data that the distant terminal returns;
Judge the IP address with the presence or absence of the local terminal in the data of the return;
If there are the IP address of the local terminal in the data of the return, it is determined that the wifi Path Setups success.
CN201611099580.XA 2016-12-02 2016-12-02 A kind of method and device of transmission file Pending CN108616547A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611099580.XA CN108616547A (en) 2016-12-02 2016-12-02 A kind of method and device of transmission file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611099580.XA CN108616547A (en) 2016-12-02 2016-12-02 A kind of method and device of transmission file

Publications (1)

Publication Number Publication Date
CN108616547A true CN108616547A (en) 2018-10-02

Family

ID=63643210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611099580.XA Pending CN108616547A (en) 2016-12-02 2016-12-02 A kind of method and device of transmission file

Country Status (1)

Country Link
CN (1) CN108616547A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493765A (en) * 2019-09-04 2019-11-22 广东以诺通讯有限公司 A kind of method and system for transmitting file
CN111466910A (en) * 2020-04-30 2020-07-31 电子科技大学 Sleep monitoring method, system, storage medium, computer program and device
WO2020164476A1 (en) * 2019-02-11 2020-08-20 Oppo广东移动通信有限公司 Data downloading method and related apparatus
CN111818669A (en) * 2020-06-04 2020-10-23 青岛海信移动通信技术股份有限公司 Mobile terminal and data transmission method thereof
CN111970676A (en) * 2019-05-20 2020-11-20 北京小米移动软件有限公司 WiFi hotspot access method, device, equipment and storage medium
US10951243B2 (en) 2019-07-26 2021-03-16 Shure Acquisition Holdings, Inc. Wireless system having diverse transmission protocols
CN112637931A (en) * 2020-12-18 2021-04-09 青岛海尔科技有限公司 Method and device for establishing network connection

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140068020A1 (en) * 2012-08-31 2014-03-06 Samsung Electronics Co., Ltd Method and apparatus for transmitting and/or receiving data
CN104394600A (en) * 2014-10-24 2015-03-04 小米科技有限责任公司 Method and device for transmitting files
CN104519458A (en) * 2014-12-29 2015-04-15 宇龙计算机通信科技(深圳)有限公司 Network connection method, terminal, wireless router and system
CN104702371A (en) * 2015-01-14 2015-06-10 赵树乔 Dual-link data transmission method based on network reliable transmission protocol
CN104935641A (en) * 2015-05-07 2015-09-23 广东欧珀移动通信有限公司 Method and apparatus of accelerating file transmission

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140068020A1 (en) * 2012-08-31 2014-03-06 Samsung Electronics Co., Ltd Method and apparatus for transmitting and/or receiving data
CN104394600A (en) * 2014-10-24 2015-03-04 小米科技有限责任公司 Method and device for transmitting files
CN104519458A (en) * 2014-12-29 2015-04-15 宇龙计算机通信科技(深圳)有限公司 Network connection method, terminal, wireless router and system
CN104702371A (en) * 2015-01-14 2015-06-10 赵树乔 Dual-link data transmission method based on network reliable transmission protocol
CN104935641A (en) * 2015-05-07 2015-09-23 广东欧珀移动通信有限公司 Method and apparatus of accelerating file transmission

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020164476A1 (en) * 2019-02-11 2020-08-20 Oppo广东移动通信有限公司 Data downloading method and related apparatus
CN111970676A (en) * 2019-05-20 2020-11-20 北京小米移动软件有限公司 WiFi hotspot access method, device, equipment and storage medium
US10951243B2 (en) 2019-07-26 2021-03-16 Shure Acquisition Holdings, Inc. Wireless system having diverse transmission protocols
CN110493765A (en) * 2019-09-04 2019-11-22 广东以诺通讯有限公司 A kind of method and system for transmitting file
CN111466910A (en) * 2020-04-30 2020-07-31 电子科技大学 Sleep monitoring method, system, storage medium, computer program and device
CN111818669A (en) * 2020-06-04 2020-10-23 青岛海信移动通信技术股份有限公司 Mobile terminal and data transmission method thereof
CN112637931A (en) * 2020-12-18 2021-04-09 青岛海尔科技有限公司 Method and device for establishing network connection

Similar Documents

Publication Publication Date Title
CN108616547A (en) A kind of method and device of transmission file
CN109413627A (en) A kind of smart home device matches network method and distribution network systems
CN102577462B (en) Methods and apparatus for deriving, communicating and/or verifying ownership of expressions
EP3735787B1 (en) System and method for end-to-end secure communication in device-to-device communication networks
CN101309273B (en) Method and device for generating safety alliance
CN104640060B (en) A kind of method and its system of data sharing
CN108029012A (en) Configuration file processing method, configuration file processing unit, user terminal and eUICC
CN106535288A (en) Method for sending and obtaining wifi networking information and corresponding apparatus
JP2009218845A (en) Communication apparatus, and communication method
CN106254147A (en) A kind of collocation method for Wi Fi network, internet-of-things terminal and control end
CN105472699A (en) Access method and system of smart home device
CN103945369A (en) Internet access configuration method for WIFI device by checking length of WIFI data packets
CN103987038A (en) Radio communication method and system
GB2515859A (en) Network connection in a wireless communication device
CN107211474A (en) The configuration of wireless device
CN105636159A (en) Configuration method and apparatus for connection between electrical appliance and wireless router and mobile communication terminal
CN104735642B (en) Wireless connection device, the clone method of wireless communication setup information and network system
CN110784865A (en) Network distribution method and terminal of Internet of things equipment, Internet of things equipment and network distribution system
KR100864479B1 (en) Method for Pairing between Mobile Communication Terminal and Bluetooth Device, Mobile Communication Terminal and System for the Same
CN108834138A (en) A kind of distribution method and system based on voice print database
CN104301106B (en) Wireless communication system and its authentication method
US10986677B2 (en) Method and apparatus for connecting to access point in WLAN network
CN106375123B (en) A kind of configuration method and device of 802.1X certification
CN107211265A (en) The safety interacting method and device of a kind of terminal room
CN105992162A (en) Method for communication through multicast frame embedded data under unrelated WIFI environment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181002

RJ01 Rejection of invention patent application after publication