CN103648180A - Method and device for sharing files between terminal devices - Google Patents

Method and device for sharing files between terminal devices Download PDF

Info

Publication number
CN103648180A
CN103648180A CN201310645854.0A CN201310645854A CN103648180A CN 103648180 A CN103648180 A CN 103648180A CN 201310645854 A CN201310645854 A CN 201310645854A CN 103648180 A CN103648180 A CN 103648180A
Authority
CN
China
Prior art keywords
terminal equipment
file
sharing files
hotspot
equipment side
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
CN201310645854.0A
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 CN201310645854.0A priority Critical patent/CN103648180A/en
Publication of CN103648180A publication Critical patent/CN103648180A/en
Priority to PCT/CN2014/093045 priority patent/WO2015081875A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method and device for sharing files between terminal devices. The method includes: establishing a wireless local-area network which uses a first terminal device as a wireless hot spot; receiving a connection request sent by at least one second terminal device to the first terminal device; according to the connection request, establishing long connection between the first terminal device and the at least one second terminal device; and selecting to-be-shared files from the first terminal device and sending to the to-be-shared files to the at least one second terminal device. Through the embodiment of the invention, the first terminal device is capable of sharing pictures, videos, music, documents and applications in the first terminal device with the second terminal devices so that on one hand, demands of file sharing between the first terminal device and the second terminal devices are met through a simple method and on the other hand, flow of any of the terminal devices does not need to be consumed during file sharing between the first terminal device and the second terminal devices.

Description

Method and the device of between a kind of terminal equipment, sharing file
Technical field
The invention belongs to field of computer technology, relate in particular to method and the device of between a kind of terminal equipment, sharing file.
Background technology
At present, the use of terminal equipment is more and more universal, and as the cell phone apparatus of large capacity, large-screen and high-speed CPU emerges in an endless stream, this also provides a kind of mode of new file-sharing for the interchange between people.On mobile phone, the mode of traditional file-sharing has storage card, bluetooth, cell phone mailbox etc.But these sharing modes have inconvenience, such as storage card exchange trouble, bluetooth need to meet certain distance, cell phone mailbox can not real-time response.
Therefore, how in real time the files such as photo, audio frequency, video, installation kit on terminal equipment being sent in time and exactly on other users' terminal equipment is the problem that prior art faces.
Summary of the invention
In view of the above problems, the present invention has been proposed to method and the device of sharing file between a kind of terminal equipment that overcomes the problems referred to above or address the above problem is at least in part provided.
According to one aspect of the present invention, a kind of share file between terminal equipment method is provided, be applied to first terminal equipment side, it comprises: create and take the WLAN (wireless local area network) that described first terminal equipment is hotspot; Receive the connection request that at least one second terminal equipment sends to described first terminal equipment; According to described connection request, set up long connection the between described first terminal equipment and at least one the second terminal equipment; From described first terminal equipment, selecting file to be shared, and file described to be shared is being sent to described at least one second terminal equipment.
Alternatively, described connection request comprises: the title of described hotspot and the access pin of described hotspot;
Before the long step connecting of setting up between described first terminal equipment and at least one the second terminal equipment, described method also comprises:
At described first terminal equipment, the access pin of the hotspot in described connection request is verified;
In the situation that being verified, set up long connection the between described first terminal equipment and at least one the second terminal equipment.
Alternatively, take before the step of the WLAN (wireless local area network) that first terminal equipment is hotspot creating, described method also comprises:
At described first terminal equipment side operating file, share application;
At described first terminal equipment side, by described sharing files application, receive the establishment order that creates WLAN (wireless local area network);
In the situation that receiving described establishment order, create and take the WLAN (wireless local area network) that described first terminal equipment is hotspot.
Alternatively, at described first terminal equipment side, from described first terminal equipment, select the step of file to be shared to comprise:
At described first terminal equipment side, by described sharing files application, receive sharing files order;
In the situation that receiving described sharing files order, at described first terminal equipment side, by described sharing files application spanned file, select interface;
At described first terminal equipment side, by described file, select interface to select file to be shared from described first terminal equipment.
Alternatively, described method also comprises:
At described first terminal equipment side, the installation kit of the described sharing files application in described first terminal equipment is sent to described at least one second terminal equipment, after the installation kit of the described sharing files application receiving in described the second terminal equipment side basis is installed described sharing files application, described the second terminal equipment is by file to be shared described in the described first terminal equipment transmission of described sharing files application reception.
Alternatively, described method also comprises:
The address information of the installation kit of applying at the described sharing files of described first terminal equipment side generation Quick Response Code form;
At described first terminal equipment side, receive the download request that described at least one second terminal equipment sends, described download request comprises the address information of the installation kit of described sharing files application;
At described first terminal equipment side, the installation kit of described sharing files application is sent to described at least one second terminal equipment, after the installation kit of the described sharing files application receiving in described the second terminal equipment side basis is installed described sharing files application, described the second terminal equipment is by file to be shared described in the described first terminal equipment transmission of described sharing files application reception.
Alternatively, described method also comprises:
Described first terminal equipment side is by described sharing files application records sharing information, and described sharing information at least comprises with lower any: the size of the title of file, the time of Transmit message and file.
According to another aspect of the present invention, a kind of share file between terminal equipment method is also provided, be applied to the second terminal equipment side, it comprises:
Search is created by first terminal equipment take the WLAN (wireless local area network) that described first terminal equipment is hotspot;
The described first terminal equipment obtaining to search sends connection request;
According to described connection request, set up long connection the between described the second terminal equipment side and first terminal equipment;
In described the second terminal equipment side, receive the file to be shared that described first terminal equipment sends.
Alternatively, described connection request comprises: the title of hotspot and the access pin of hotspot, by described first terminal equipment side, the access pin of the hotspot in described connection request is verified.
Alternatively, what in search, by first terminal equipment, created take before the step of the WLAN (wireless local area network) that described first terminal equipment is hotspot, and described method also comprises:
At described the second terminal equipment side operating file, share application;
The search command of take the WLAN (wireless local area network) that described first terminal equipment is hotspot that receives by the application of described sharing files that search creates by first terminal equipment in described the second terminal equipment side;
In the situation that receiving described search command, search is created by first terminal equipment take the WLAN (wireless local area network) that described first terminal equipment is hotspot.
Alternatively, the step that receives in described the second terminal equipment side the file to be shared that described first terminal equipment sends comprises:
In described the second terminal equipment side, by described sharing files application, receive file and receive order;
In the situation that receiving described file reception order, in described the second terminal equipment side, by described sharing files application, receive the file to be shared that described first terminal equipment sends.
Alternatively, described method also comprises:
Described the second terminal equipment side receives information by described sharing files application records, and described reception information at least comprises with lower any: the title of file, receive the time of file and the size of file.
According to another aspect of the present invention, the device of sharing file between a kind of terminal equipment is also provided, be applied to first terminal equipment side, it comprises:
WLAN (wireless local area network) creation module, take for creating the WLAN (wireless local area network) that described first terminal equipment is hotspot;
Connection request receiver module, the connection request sending to described first terminal equipment for receiving at least one second terminal equipment;
Long connection set up module, for according to described connection request, sets up long connection the between described first terminal equipment and at least one the second terminal equipment;
Sharing files module, for selecting file to be shared from described first terminal equipment, and sends to described at least one second terminal equipment by file described to be shared.
Alternatively, described connection request comprises: the title of described hotspot and the access pin of described hotspot;
Described long connection is set up module and is comprised:
Authentication unit, for verifying the access pin of the hotspot of described connection request at described first terminal equipment;
Long linkage unit, in the situation that described authentication unit is verified, sets up long connection the between described first terminal equipment and at least one the second terminal equipment.
Alternatively, described device also comprises:
Operation module, shares application for described first terminal equipment side operating file;
Create order receiver module, for receiving by described sharing files application the establishment order that creates WLAN (wireless local area network) at described first terminal equipment side; In the situation that receiving described establishment order, trigger described WLAN (wireless local area network) creation module and create and take the WLAN (wireless local area network) that described first terminal equipment is hotspot.
Alternatively, described sharing files module comprises:
Sharing files order receiving element, for receiving sharing files order at described first terminal equipment side by described sharing files application;
File is selected interface generation unit, in the situation that receiving described sharing files order, at described first terminal equipment side, by described sharing files application spanned file, selects interface;
Document selector, for selecting interface to select file to be shared from described first terminal equipment at described first terminal equipment side by described file, and sends at least one second terminal equipment by file to be shared.
Alternatively, described device also comprises:
The first installation kit sending module, for the installation kit of the described sharing files application of described first terminal equipment being sent to described at least one second terminal equipment at described first terminal equipment side, after the installation kit of the described sharing files application receiving in described the second terminal equipment side basis is installed described sharing files application, described the second terminal equipment is by file to be shared described in the described first terminal equipment transmission of described sharing files application reception.
Alternatively, described device also comprises:
Two-dimensional code generation module, for generating the address information of installation kit of the described sharing files application of Quick Response Code form at described first terminal equipment side;
Address information receiver module, the download request sending for receive described at least one second terminal equipment at described first terminal equipment side, described download request comprises the address information of the installation kit of described sharing files application;
The second installation kit sending module, for the installation kit of described sharing files application being sent to described at least one second terminal equipment at described first terminal equipment side, after the installation kit of the described sharing files application receiving in described the second terminal equipment side basis is installed described sharing files application, described the second terminal equipment is by file to be shared described in the described first terminal equipment transmission of described sharing files application reception.
Alternatively, described device also comprises:
Sharing information logging modle, for recording sharing information at described first terminal equipment side, described sharing information at least comprises with lower any: the size of the title of file, the time of Transmit message and file.
According to another aspect of the present invention, the device of sharing file between a kind of terminal equipment is also provided, be applied to the second terminal equipment side, it comprises:
WLAN (wireless local area network) search module, for searching for the WLAN (wireless local area network) that described first terminal equipment is hotspot of take being created by first terminal equipment;
Connection request sending module, sends connection request for the described first terminal equipment obtaining to search;
Long connection set up module, for according to described connection request, sets up long connection the between described the second terminal equipment side and first terminal equipment;
File receiver module, the file to be shared sending for receive described first terminal equipment in described the second terminal equipment side.
Alternatively, wherein, described connection request comprises: the title of hotspot and the access pin of hotspot, by described first terminal equipment side, the access pin of the hotspot in described connection request is verified.
Alternatively, described device also comprises:
Operation module, for sharing application at described the second terminal equipment side operating file;
Search command receiver module, for the search command of take the WLAN (wireless local area network) that described first terminal equipment is hotspot that receives by the application of described sharing files that search creates by first terminal equipment in described the second terminal equipment side; In the situation that receiving described search command, that triggers that the search of described WLAN (wireless local area network) search module creates by first terminal equipment take the WLAN (wireless local area network) that described first terminal equipment is hotspot.
Alternatively, described file receiver module comprises:
File receives order receiving element, for receiving file in described the second terminal equipment side by described sharing files application, receives order;
File receiving element, in the situation that receiving described file reception order, receives by described sharing files application the file to be shared that described first terminal equipment sends in described the second terminal equipment side.
Alternatively, described device also comprises:
Receive information recording module, for recording reception information in described the second terminal equipment side, described reception information at least comprises with lower any: the title of file, receive the time of file and the size of file.
As shown from the above technical solution, embodiments of the invention have following beneficial effect: in an embodiment of the present invention, by first terminal equipment, create and take the WLAN (wireless local area network) that first terminal equipment is hotspot, after the second terminal equipment can be by WLAN (wireless local area network) and first terminal equipment connection, the second terminal equipment can, in the situation that not expending flow, receive the file of sharing between first terminal equipment.For example first terminal equipment can be shared with the second terminal equipment by the picture in first terminal equipment, video, music, document, application, can meet by easy mode the demand of user's real-time sharing file between first terminal equipment and the second terminal equipment on the one hand, between first terminal equipment and the second terminal equipment, share the flow that file does not need to expend any terminal equipment of both sides on the other hand.
Accompanying drawing explanation
By reading below detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing is only for the object of preferred implementation is shown, and do not think limitation of the present invention.And in whole accompanying drawing, by identical reference symbol, represent identical parts.In the accompanying drawings:
Fig. 1 shows according to sharing the flow chart of the method for file in embodiments of the invention one between terminal equipment;
Fig. 2 shows according to sharing the flow chart of the method for file in embodiments of the invention two between terminal equipment;
Fig. 3 shows according to sharing the block diagram of the device of file in embodiments of the invention three between terminal equipment; And
Fig. 4 shows according to sharing the block diagram of the device of file in embodiments of the invention four between terminal equipment.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in accompanying drawing, yet should be appreciated that and can realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order more thoroughly to understand the disclosure that these embodiment are provided, and can by the scope of the present disclosure complete convey to those skilled in the art.
Embodiment mono-
In embodiments of the invention one, by first terminal equipment, create and take the WLAN (wireless local area network) that first terminal equipment is hotspot (Hotspot), then the file in first terminal equipment is sent at least one second terminal equipment connecting with it.
As shown in Figure 1, embodiments of the invention one provide a kind of share file between terminal equipment method, and the method 100 is applied to first terminal equipment side, and the method 100 comprises:
Step S101, create and take the WLAN (wireless local area network) that first terminal equipment is hotspot.
Particularly, can be by triggering first terminal opening of device hotspot function, realize to create and take the wireless lan (wlan) that first terminal equipment is hotspot, when creating this WLAN (wireless local area network), can generate the title of hotspot and the access pin of hotspot by first terminal equipment.Wherein the title of hotspot can comprise two parts, first is the title of trade name or software, make user to distinguish fast hotspot according to the title of trade name or software, second portion is random number, four random numbers for example, preferably, first is the title of software, this software can be 360 mobile phone assistants, the form of expression of the title of this software can be " 360ZHUSHOU ", the form of expression of the title of this hotspot can be " 360ZHUSHOU8527 ", wherein " 8527 " are random number, what certainly can understand is, do not limit in an embodiment of the present invention the form of expression of the title of hotspot.The access pin of above-mentioned hotspot is mainly used in checking and whether allows this hotspot of other-end equipment access, as long as in the situation that access pin is correct, just allows access.This wireless access password can be six or eight random numbers, conventionally can when creating hotspot, automatically be generated by first terminal equipment.In an embodiment of the present invention, first terminal equipment can be computing equipment or the mobile device with wireless network card, this first terminal equipment can create hotspot by wireless network card, wherein said computing equipment is a kind of can operation according to program, automatically, the intelligent electronic device of high speed processing mass data, as desktop computer, notebook computer etc.; Described mobile device is a kind of computing equipment that can use in movement, as mobile phone.
Alternatively, in an embodiment of the present invention, can trigger in the following ways at first terminal equipment side and create and take the WLAN (wireless local area network) that first terminal equipment is hotspot.Namely, before step S101, first at first terminal equipment side operating file, share application, for example to share application can be 360 mobile phone assistants to this document, is certainly not limited to this.Then at first terminal equipment side, by sharing files, apply the establishment order that receive to create WLAN (wireless local area network), receiving create order in the situation that, create and take the WLAN (wireless local area network) that first terminal equipment is hotspot.For example at first terminal equipment side, move 360 mobile phone assistants, on this 360 mobile phone assistant's operation interface, be provided with sharing files button, if monitor user, click the button click event that this document is shared button, the user who is namely equivalent to first terminal equipment side sends the establishment order that creates WLAN (wireless local area network) to first terminal equipment by the sharing files button on this 360 mobile phone assistant, then first terminal equipment take according to this establishments order establishment the WLAN (wireless local area network) that first terminal equipment is hotspot.
The operating system of this first terminal equipment of take is below Android(Android) operating system is example, introduces how open wireless focus function of first terminal equipment.For Android operation, can call wifimanager interface by Java reflex mechanism and control the unlatching of hotspot switch in first terminal equipment or close.Particularly, as follows by the code of first terminal equipment establishment hotspot:
WifiConfiguration?apConfig=new?WifiConfiguration();
apConfig.SSID=mWifiNode.getSSID();
mWifiNode.setBSSID(mMacString);
ApConfig.BSSID=mMacString; The title of // configuration hotspot
apConfig.allowedAuthAlgorithms.set(WifiConfiguration.AuthAlgorithm.OPE?N);
ApConfig.preSharedKey=null; The access pin of // configuration hotspot
// by reflection, call hotspot is set
tryCfgHtcAP(apConfig);
Method?method=wifiManager.getClass().getMethod(
"setWifiApEnabled",WifiConfiguration.class,Boolean.TYPE);
// return to focus open mode
flag=(Boolean)method.invoke(wifiManager,apConfig,enabled);
Step S103, receive the connection request that at least one second terminal equipment sends to first terminal equipment.
In an embodiment of the present invention, the second terminal equipment can be computing equipment or the mobile device with wireless network card, this second terminal equipment can search hotspot by this wireless network card, and connect with hotspot, wherein, described computing equipment is a kind of can operation according to program, automatically, the intelligent electronic device of high speed processing mass data, and as desktop computer, notebook computer etc.; Described mobile device is a kind of computing equipment that can use in movement, as mobile phone.
Particularly, first terminal equipment can receive more than 1,2 or 3 the second terminal equipments and send connection request to first terminal equipment, and namely this first terminal equipment can receive the connection request of a plurality of the second terminal equipments simultaneously.Alternatively, connection request comprises: the title of hotspot and the access pin of hotspot, the access pin of the hotspot in connection request is that the user by the second terminal equipment side inputs.
Step S105, the length of setting up between first terminal equipment and at least one the second terminal equipment according to connection request connect.
Namely, this first terminal equipment can be connected with 1,2 or 3 above the second terminal equipments foundation length simultaneously, thereby meet first terminal equipment, file is sent to a plurality of the second terminal equipments simultaneously, and share the flow that file does not need to expend any terminal equipment of both sides between first terminal equipment and the second terminal equipment.
Alternatively, in one embodiment of the invention, before step S105, in order to improve the fail safe of WLAN (wireless local area network), can be to verifying from the connection request of the second terminal equipment, for example at first terminal equipment, the access pin of the hotspot in connection request is verified, namely verified that whether the access pin of the second terminal equipment side user input is identical with the access pin that first terminal equipment generates; In the situation that being verified, just long connection the between first terminal equipment and at least one the second terminal equipment set up in operation.
So-called long connection, refers to can send continuously a plurality of packets in a connection, during connecting maintenance, if there is no Packet Generation, needs both sides to send out link detecting bag.This length connection can be TCP(Transmission Control Protocol, transmission control protocol) length connects, Socket length connects or HTTP(HyperText Transfer Protocol, HTML (Hypertext Markup Language)) long connection.
In an embodiment of the present invention, the second terminal equipment can be applied and be received the file to be shared that first terminal equipment sends by sharing files, if do not have installation file to share application in the second terminal equipment, after first terminal equipment and the second terminal equipment are set up long connection, first terminal equipment can invite second installing terminal equipment this document to share application, wherein this document is shared the function that application has file transmission and/or file reception, for example to share application can be 360 mobile phone assistants to this document, is certainly also not limited to this.Concrete mode is as follows:
In one embodiment of the invention, after step S105, method 100 also comprises: at described first terminal equipment side, the installation kit of the described sharing files application in described first terminal equipment is sent to described at least one second terminal equipment, after the installation kit of the described sharing files application receiving in described the second terminal equipment side basis is installed described sharing files application, described the second terminal equipment is by file to be shared described in the described first terminal equipment transmission of described sharing files application reception.Particularly, the operating system of first terminal equipment of take is Android(Android) operating system is example, can build in first terminal equipment this locality server (for example ftp server), and spanned file is shared the address information of the installation kit of application, when receiving the download this document sending from least one the second terminal equipment and share the download request of installation kit of application, this download request comprises the address information of the installation kit of sharing files application, at first terminal equipment side, the installation kit of the sharing files application in first terminal equipment is sent to at least one second terminal equipment.
In another embodiment of the present invention, after step S105, method 100 also comprises: the address information of the installation kit of applying at the described sharing files of described first terminal equipment side generation Quick Response Code form; At described first terminal equipment side, receive the download request that described at least one second terminal equipment sends, described download request comprises the address information of the installation kit of described sharing files application; At described first terminal equipment side, the installation kit of described sharing files application is sent to described at least one second terminal equipment, after described the second terminal equipment side is installed described sharing files application according to the installation kit of the described sharing files application receiving, described the second terminal equipment by sharing files apply receive described first terminal equipment transmission described in file to be shared.
Step S107, at first terminal equipment side, select file to be shared, and file to be shared is sent to at least one second terminal equipment.
Particularly, at first terminal equipment side, by sharing files, apply and receive sharing files order; In the situation that receiving sharing files order, at first terminal equipment side, by sharing files application spanned file, select interface; At first terminal equipment side, by file, select interface from first terminal equipment, to select file to be shared, for example by the file on first terminal equipment, select interface on first terminal, to select the installation kit of " 360 bodyguard " or the installation kit of " 360 optimization great master " as file to be shared, finally the file to be shared of selecting is sent to and long at least one second terminal equipment being connected of its foundation, thereby meet the demand of user's real-time sharing file between first terminal equipment and the second terminal equipment.
In an embodiment of the present invention, file to be shared can be installation kit, video, document or the picture etc. of application program, is certainly also not limited to this.
Step S109, at first terminal equipment side, record sharing information, sharing information at least comprises with lower any: the size of the title of file, the time of Transmit message and file.
Particularly, after first terminal equipment side sends at least one second terminal equipment by file to be shared, the sharing information that sharing files application log file on first terminal equipment is shared, sharing information at least comprises with lower any: the size of the title of file, the time of Transmit message and file.See table:
File name The time of Transmit message The size of file
I see 2013/8/7 16M
360 mobile phone bodyguards 2013/8/7 12M
In an embodiment of the present invention, by first terminal equipment, create and take the WLAN (wireless local area network) that first terminal equipment is hotspot, after the second terminal equipment can be by WLAN (wireless local area network) and first terminal equipment connection, the second terminal equipment can, in the situation that not expending flow, receive the file of sharing between first terminal equipment.For example the user of first terminal equipment can be shared with the second terminal equipment by the picture in first terminal equipment, video, music, document, application, can meet by easy mode the demand of sharing file between first terminal equipment and the second terminal equipment on the one hand, between first terminal equipment and the second terminal equipment, share the flow that file does not need to expend any terminal equipment of both sides on the other hand.
Embodiment bis-
In embodiments of the invention two, between the second terminal equipment and first terminal equipment as hotspot, set up long connection, then in the second terminal equipment side, receive and preserve the file to be shared of first terminal equipment transmission.
As shown in Figure 2, embodiments of the invention two provide a kind of share file between terminal equipment method, and the method 200 is applied to the second terminal equipment side, and the method 200 comprises:
Step S201, search are created by first terminal equipment take the WLAN (wireless local area network) that first terminal equipment is hotspot.
Particularly, in the second terminal equipment side, search for above-mentioned hotspot, in an embodiment of the present invention, first terminal equipment and the second terminal equipment can be computing equipment or the mobile devices with wireless network card, wherein first terminal equipment can create hotspot by wireless network card, the second terminal equipment can be searched for hotspot by wireless network card, and connect with this hotspot, wherein said computing equipment is a kind of can operation according to program, automatically, the intelligent electronic device of high speed processing mass data, as desktop computer, notebook computer etc.; Described mobile device is a kind of computing equipment that can use in movement, as mobile phone.
Particularly, at the second terminal equipment side operating file, share application, then in the second terminal equipment side, by sharing files, apply the search command of take the WLAN (wireless local area network) that first terminal equipment is hotspot that receives that search creates by first terminal equipment; In the situation that receiving search command, search is created by first terminal equipment take the WLAN (wireless local area network) that first terminal equipment is hotspot.Above-mentioned sharing files application refers to the software with file transmission and/or receiving function, 360 mobile phone assistants for example, in the second terminal equipment side, move 360 mobile phone assistants, on this 360 mobile phone assistant's operation interface, be provided with file and receive button, if user detected, click the button click event that this document receives button, the user who is namely equivalent to the second terminal equipment side sends to the second terminal equipment that search creates by first terminal equipment by 360 mobile phone assistants take the search command of the WLAN (wireless local area network) that first terminal equipment is hotspot, then according to this search command, search is created by first terminal equipment the second terminal equipment take the WLAN (wireless local area network) that first terminal equipment is hotspot.
Step S203, the first terminal equipment obtaining to search send connection request.
Particularly, the second more than 1,2 or 3 terminal equipments send connection request to the first terminal equipment searching, and namely this first terminal equipment can receive the connection request of a plurality of the second terminal equipments simultaneously.Alternatively, connection request comprises: the title of hotspot and the access pin of hotspot, and by first terminal equipment side, the access pin of the hotspot in connection request is verified, and in the situation that being verified, entered step S205.The access pin of the hotspot in connection request is that the user by the second terminal equipment side inputs.
Step S205, the length of setting up between the second terminal equipment side and first terminal equipment according to connection request connect.
Namely, it is more than 1,2 or 3 that the second terminal equipments can be set up long connection with first terminal equipment simultaneously, thereby meet first terminal equipment, file is sent to a plurality of the second terminal equipments simultaneously, and share the flow that file does not need to expend any terminal equipment of both sides between first terminal equipment and the second terminal equipment.So-called long connection, refers to can send continuously a plurality of packets in a connection, during connecting maintenance, if there is no Packet Generation, needs both sides to send out link detecting bag.This length connection can be TCP(Transmission Control Protocol, transmission control protocol) length connects, Socket length connects or HTTP(HyperText Transfer Protocol, HTML (Hypertext Markup Language)) long connection.
Step S207, the file to be shared sending at the second terminal equipment side reception first terminal equipment.
Particularly, in the second terminal equipment side, by described sharing files application, receive file and receive order; In the situation that receiving described file reception order, in described the second terminal equipment side, by described sharing files application, receive the file to be shared that described first terminal equipment sends.
Step S209, in the second terminal equipment side, record reception information, reception information at least comprises with lower any: the title of file, receive the time of file and the size of file.
File name Receive the time of file The size of file
I see 2013/8/7 16M
360 mobile phone bodyguards 2013/8/7 12M
Particularly, the second terminal equipment side receives information by sharing files application records, and described reception information at least comprises with lower any: the title of file, receive the time of file and the size of file.
In an embodiment of the present invention, by first terminal equipment, create and take the WLAN (wireless local area network) that first terminal equipment is hotspot, after the second terminal equipment can be by WLAN (wireless local area network) and first terminal equipment connection, the second terminal equipment can, in the situation that not expending flow, receive the file of sharing between first terminal equipment.For example the user of first terminal equipment can be shared with the second terminal equipment by the picture in first terminal equipment, video, music, document, application, can meet by easy mode the demand of sharing file between first terminal equipment and the second terminal equipment on the one hand, between first terminal equipment and the second terminal equipment, share the flow that file does not need to expend any terminal equipment of both sides on the other hand.
Embodiment tri-
Embodiments of the invention three, corresponding with the method for sharing file between the terminal equipment of embodiment mono-as mentioned above, the present invention also provides the device of sharing file between a kind of terminal equipment.
As shown in Figure 3, embodiments of the invention three provide the device of sharing file between a kind of terminal equipment, are applied to first terminal equipment side, and this device 300 comprises:
WLAN (wireless local area network) creation module 301, take for creating the WLAN (wireless local area network) that first terminal equipment is hotspot; The operating system of this first terminal equipment of take is below Android(Android) operating system is example, for Android operation, WLAN (wireless local area network) creation module 301 can be called wifimanager interface by Java reflex mechanism and controls the unlatching of focus switch in first terminal equipment or close.Particularly, as follows by the code of WLAN (wireless local area network) creation module 301 establishment hotspot:
WifiConfiguration?apConfig=new?WifiConfiguration();
apConfig.SSID=mWifiNode.getSSID();
mWifiNode.setBSSID(mMacString);
ApConfig.BSSID=mMacString; The title of // configuration hotspot
apConfig.allowedAuthAlgorithms.set(WifiConfiguration.AuthAlgorithm.OPE?N);
ApConfig.preSharedKey=null; The access pin of // configuration hotspot
// by reflection, call hotspot is set
tryCfgHtcAP(apConfig);
Method?method=wifiManager.getClass().getMethod(
"setWifiApEnabled",WifiConfiguration.class,Boolean.TYPE);
// return to focus open mode
flag=(Boolean)method.invoke(wifiManager,apConfig,enabled);
Connection request receiver module 303, the connection request sending to first terminal equipment for receiving at least one second terminal equipment.Alternatively, connection request comprises: the title of hotspot and the access pin of the hotspot wherein title of hotspot comprise: title and the random number of sharing files application, for example the name of sharing files application is called " 360ZHUSHOU ", random number is " 8527 ",, the name of this hotspot is called " 360ZHUSHOU8527 ", certainly can understand, and does not limit in an embodiment of the present invention the form of expression of the title of hotspot.The access pin of hotspot can be six or eight random numbers, improves the fail safe of WLAN (wireless local area network) by the access pin of this hotspot.
Long connection set up module 305, for set up long connection the between first terminal equipment and at least one the second terminal equipment according to connection request.Alternatively, in one embodiment of the invention, in order to improve the fail safe of WLAN (wireless local area network), can be to verifying from the connection request of the second terminal equipment.This length connection is set up module 305 and is comprised: authentication unit, for the access pin of the hotspot of described connection request being verified at first terminal equipment; Long linkage unit, in the situation that authentication unit is verified, sets up long connection the between described first terminal equipment and at least one the second terminal equipment.So-called long connection, refers to can send continuously a plurality of packets in a connection, during connecting maintenance, if there is no Packet Generation, needs both sides to send out link detecting bag.This length connection can be TCP(Transmission Control Protocol, transmission control protocol) length connects, Socket length connects or HTTP(HyperText Transfer Protocol, HTML (Hypertext Markup Language)) long connection.
Sharing files module 307, for selecting file to be shared from described first terminal equipment, and sends to described at least one second terminal equipment by file described to be shared.Alternatively, this document sharing module 307 comprises: sharing files order receiving element, for receiving sharing files order at described first terminal equipment side by described sharing files application; File is selected interface generation unit, in the situation that receiving described sharing files order, at described first terminal equipment side, by described sharing files application spanned file, selects interface; Document selector, for selecting interface to select file to be shared from described first terminal equipment at described first terminal equipment side by described file, and sends at least one second terminal equipment by file to be shared.
Alternatively, device 300 also comprises: sharing information logging modle 309, for recording sharing information at first terminal equipment side, described sharing information at least comprises with lower any: the size of the title of file, the time of Transmit message and file.
Alternatively, device 300 also comprises: operation module, for sharing application at first terminal equipment side operating file; Create order receiver module, for receiving by described sharing files application the establishment order that creates WLAN (wireless local area network) at described first terminal equipment side; In the situation that receiving described establishment order, trigger described WLAN (wireless local area network) creation module and create and take the WLAN (wireless local area network) that described first terminal equipment is hotspot.
In embodiments of the invention three, the second terminal equipment can be applied and be received the file to be shared that first terminal equipment sends by sharing files, if do not have installation file to share application in the second terminal equipment,, after first terminal equipment and the second terminal equipment are set up long connection, first terminal equipment can invite second installing terminal equipment this document to share application.
Alternatively, in the preferred implementation of embodiments of the invention three, device 300 also comprises:
The first installation kit sending module, for the installation kit of the described sharing files application of described first terminal equipment being sent to described at least one second terminal equipment at described first terminal equipment side, after the installation kit of the described sharing files application receiving in described the second terminal equipment side basis is installed described sharing files application, described the second terminal equipment is by file to be shared described in the described first terminal equipment transmission of described sharing files application reception.
Alternatively, in the preferred implementation of embodiments of the invention three, device 300 also comprises:
Two-dimensional code generation module, for generating the address information of installation kit of the described sharing files application of Quick Response Code form at described first terminal equipment side;
Address information receiver module, the download request sending for receive described at least one second terminal equipment at described first terminal equipment side, described download request comprises the address information of the installation kit of described sharing files application;
The second installation kit sending module, for the installation kit of described sharing files application being sent to described at least one second terminal equipment at described first terminal equipment side, after the installation kit of the described sharing files application receiving in described the second terminal equipment side basis is installed described sharing files application, described the second terminal equipment is by file to be shared described in the described first terminal equipment transmission of described sharing files application reception.
In an embodiment of the present invention, by first terminal equipment, create and take the WLAN (wireless local area network) that first terminal equipment is hotspot, after the second terminal equipment can be by WLAN (wireless local area network) and first terminal equipment connection, the second terminal equipment can, in the situation that not expending flow, receive the file of sharing between first terminal equipment.For example the user of first terminal equipment can be shared with the second terminal equipment by the picture in first terminal equipment, video, music, document, application, can meet by easy mode the demand of sharing file between first terminal equipment and the second terminal equipment on the one hand, between first terminal equipment and the second terminal equipment, share the flow that file does not need to expend any terminal equipment of both sides on the other hand.
Embodiment tetra-
Embodiments of the invention four, corresponding with the method for sharing file between the terminal equipment of embodiment bis-as mentioned above, the present invention also provides the device of sharing file between a kind of terminal equipment.
As shown in Figure 4, embodiments of the invention four provide the device of sharing file between a kind of terminal equipment, are applied to the second terminal equipment side, and this device 400 comprises:
WLAN (wireless local area network) search module 401, for searching for the WLAN (wireless local area network) that described first terminal equipment is hotspot of take being created by first terminal equipment;
Connection request sending module 403, sends connection request for the described first terminal equipment obtaining to search;
Long connection set up module 405, for according to described connection request, sets up long connection the between described the second terminal equipment side and first terminal equipment;
File receiver module 407, the file to be shared sending for receive described first terminal equipment in described the second terminal equipment side.
Alternatively, described connection request comprises: the title of hotspot and the access pin of hotspot, by described first terminal equipment side, the access pin of the hotspot in described connection request is verified.
Alternatively, described device 400 also comprises:
Operation module, for sharing application at described the second terminal equipment side operating file;
Search command receiver module, for the search command of take the WLAN (wireless local area network) that described first terminal equipment is hotspot that receives by the application of described sharing files that search creates by first terminal equipment in described the second terminal equipment side; In the situation that receiving described search command, that triggers that the search of described WLAN (wireless local area network) search module creates by first terminal equipment take the WLAN (wireless local area network) that described first terminal equipment is hotspot.
Alternatively, described file receiver module 407 comprises:
File receives order receiving element, for receiving file in described the second terminal equipment side by described sharing files application, receives order;
File receiving element, in the situation that receiving described file reception order, receives by described sharing files application the file to be shared that described first terminal equipment sends in described the second terminal equipment side.
Alternatively, described device 400 also comprises:
Receive information recording module 409, for recording reception information in described the second terminal equipment side, described reception information at least comprises with lower any: the title of file, receive the time of file and the size of file.
The algorithm providing at this is intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with demonstration.Various general-purpose systems also can with based on using together with this teaching.According to description above, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.It should be understood that and can utilize various programming languages to realize content of the present invention described here, and the description of above language-specific being done is in order to disclose preferred forms of the present invention.
In the specification that provided herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can not put into practice in the situation that there is no 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 one or more in each inventive aspect, in the above in the description of exemplary embodiment of the present invention, each feature of the present invention is grouped together into single embodiment, figure or sometimes in its description.Yet, the method for the disclosure should be construed to the following intention of reflection: the present invention for required protection requires than the more feature of feature of clearly recording in each claim.Or rather, as reflected in claims below, inventive aspect is to be less than all features of disclosed single embodiment above.Therefore, claims of 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 can the module in the equipment in embodiment are adaptively changed 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 can put them into a plurality of submodules or subelement or sub-component in addition.At least some in such feature and/or process or unit are mutually repelling, and can adopt any combination to combine all processes or the unit of disclosed all features in this specification (comprising claim, summary and the accompanying drawing followed) and disclosed any method like this or equipment.Unless clearly statement in addition, in this specification (comprising claim, summary and the accompanying drawing followed) disclosed each feature can be by providing identical, be equal to or similar object alternative features replaces.
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included in other embodiment, the combination of the feature of different embodiment means within scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with compound mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, or realizes with the software module moved on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that and can use in practice microprocessor or digital signal processor (DSP) to realize according to the some or all functions of sharing the some or all parts in the device of file between the terminal equipment of the embodiment of the present invention.The present invention for example can also be embodied as, for carrying out part or all equipment or device program (, computer program and computer program) of method as described herein.Realizing program of the present invention and can be stored on computer-readable medium like this, or can there is the form of one or more signal.Such signal can be downloaded and obtain from internet website, or provides on carrier signal, or provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation that do not depart 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 is not listed as element or step in the claims.Being positioned at word " " before element or " one " does not get rid of and has a plurality of such elements.The present invention can be by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In having enumerated the unit claim of some equipment, several in these equipment can be to carry out imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title by these word explanations.
The invention also discloses a kind of share file between A1, terminal equipment method, be applied to first terminal equipment side, it comprises: create and take the WLAN (wireless local area network) that described first terminal equipment is hotspot; Receive the connection request that at least one second terminal equipment sends to described first terminal equipment; According to described connection request, set up long connection the between described first terminal equipment and at least one the second terminal equipment; From described first terminal equipment, selecting file to be shared, and file described to be shared is being sent to described at least one second terminal equipment.A2, according to the method described in A1, wherein, described connection request comprises: the title of described hotspot and the access pin of described hotspot; Before the long step connecting of setting up between described first terminal equipment and at least one the second terminal equipment, described method also comprises: at described first terminal equipment, the access pin of the hotspot in described connection request is verified; In the situation that being verified, set up long connection the between described first terminal equipment and at least one the second terminal equipment.A3, according to the method described in A1, wherein, take before the step of the WLAN (wireless local area network) that first terminal equipment is hotspot creating, described method also comprises: at described first terminal equipment side operating file, share application; At described first terminal equipment side, by described sharing files application, receive the establishment order that creates WLAN (wireless local area network); In the situation that receiving described establishment order, create and take the WLAN (wireless local area network) that described first terminal equipment is hotspot.A4, according to the method described in A3, wherein, at described first terminal equipment side, from described first terminal equipment, select the step of file to be shared to comprise: at described first terminal equipment side, by the application of described sharing files, to receive sharing files order; In the situation that receiving described sharing files order, at described first terminal equipment side, by described sharing files application spanned file, select interface; At described first terminal equipment side, by described file, select interface to select file to be shared from described first terminal equipment.A5, according to the method described in A3, described method also comprises: at described first terminal equipment side, the installation kit of the described sharing files application in described first terminal equipment is sent to described at least one second terminal equipment, after the installation kit of the described sharing files application receiving in described the second terminal equipment side basis is installed described sharing files application, described the second terminal equipment is by file to be shared described in the described first terminal equipment transmission of described sharing files application reception.A6, according to the method described in A3, described method also comprises: the address information of installation kit that generates the described sharing files application of Quick Response Code form at described first terminal equipment side; At described first terminal equipment side, receive the download request that described at least one second terminal equipment sends, described download request comprises the address information of the installation kit of described sharing files application; At described first terminal equipment side, the installation kit of described sharing files application is sent to described at least one second terminal equipment, after the installation kit of the described sharing files application receiving in described the second terminal equipment side basis is installed described sharing files application, described the second terminal equipment is by file to be shared described in the described first terminal equipment transmission of described sharing files application reception.A7, according to the method described in A1~A6 any one, described method also comprises: described first terminal equipment side is by described sharing files application records sharing information, and described sharing information at least comprises with lower any: the size of the title of file, the time of Transmit message and file.A kind of share file between B8, terminal equipment method, is applied to the second terminal equipment side, and it comprises: search is created by first terminal equipment take the WLAN (wireless local area network) that described first terminal equipment is hotspot; The described first terminal equipment obtaining to search sends connection request; According to described connection request, set up long connection the between described the second terminal equipment side and first terminal equipment; In described the second terminal equipment side, receive the file to be shared that described first terminal equipment sends.B9, according to the method described in B8, wherein, described connection request comprises: the title of hotspot and the access pin of hotspot, by described first terminal equipment side, the access pin of the hotspot in described connection request is verified.B10, according to the method described in B8, wherein, what in search, by first terminal equipment, created take before the step of the WLAN (wireless local area network) that described first terminal equipment is hotspot, described method also comprises: at described the second terminal equipment side operating file, share application; The search command of take the WLAN (wireless local area network) that described first terminal equipment is hotspot that receives by the application of described sharing files that search creates by first terminal equipment in described the second terminal equipment side; In the situation that receiving described search command, search is created by first terminal equipment take the WLAN (wireless local area network) that described first terminal equipment is hotspot.B11, according to the method described in B10, wherein, the step that receives the file to be shared that described first terminal equipment sends in described the second terminal equipment side comprises: in described the second terminal equipment side, by described sharing files application, receive file and receive order; In the situation that receiving described file reception order, in described the second terminal equipment side, by described sharing files application, receive the file to be shared that described first terminal equipment sends.B12, according to the method described in B8~B11 any one, described method also comprises: described the second terminal equipment side receives information by described sharing files application records, and described reception information at least comprises with lower any: the title of file, receive the time of file and the size of file.The device of sharing file between C13, a kind of terminal equipment, is applied to first terminal equipment side, and it comprises: WLAN (wireless local area network) creation module, for creating, take the WLAN (wireless local area network) that described first terminal equipment is hotspot; Connection request receiver module, the connection request sending to described first terminal equipment for receiving at least one second terminal equipment; Long connection set up module, for according to described connection request, sets up long connection the between described first terminal equipment and at least one the second terminal equipment; Sharing files module, for selecting file to be shared from described first terminal equipment, and sends to described at least one second terminal equipment by file described to be shared.C14, according to the device described in C13, wherein, described connection request comprises: the title of described hotspot and the access pin of described hotspot; Described long connection is set up module and is comprised: authentication unit, for the access pin of the hotspot of described connection request being verified at described first terminal equipment; Long linkage unit, in the situation that described authentication unit is verified, sets up long connection the between described first terminal equipment and at least one the second terminal equipment.C15, according to the device described in C13, described device also comprises: operation module, for described first terminal equipment side operating file, share application; Create order receiver module, for receiving by described sharing files application the establishment order that creates WLAN (wireless local area network) at described first terminal equipment side; In the situation that receiving described establishment order, trigger described WLAN (wireless local area network) creation module and create and take the WLAN (wireless local area network) that described first terminal equipment is hotspot.C16, according to the device described in C15, wherein, described sharing files module comprises: sharing files order receiving element, for receiving sharing files order at described first terminal equipment side by the application of described sharing files; File is selected interface generation unit, in the situation that receiving described sharing files order, at described first terminal equipment side, by described sharing files application spanned file, selects interface; Document selector, for selecting interface to select file to be shared from described first terminal equipment at described first terminal equipment side by described file, and sends at least one second terminal equipment by file to be shared.C17, according to the device described in C15, described device also comprises: the first installation kit sending module, for the installation kit of the described sharing files application of described first terminal equipment being sent to described at least one second terminal equipment at described first terminal equipment side, after the installation kit of the described sharing files application receiving in described the second terminal equipment side basis is installed described sharing files application, described the second terminal equipment is by file to be shared described in the described first terminal equipment transmission of described sharing files application reception.C18, according to the device described in C15, described device also comprises: two-dimensional code generation module, for generate the address information of installation kit of the described sharing files application of Quick Response Code form at described first terminal equipment side; Address information receiver module, the download request sending for receive described at least one second terminal equipment at described first terminal equipment side, described download request comprises the address information of the installation kit of described sharing files application; The second installation kit sending module, for the installation kit of described sharing files application being sent to described at least one second terminal equipment at described first terminal equipment side, after the installation kit of the described sharing files application receiving in described the second terminal equipment side basis is installed described sharing files application, described the second terminal equipment is by file to be shared described in the described first terminal equipment transmission of described sharing files application reception.C19, according to the device described in C13~C18 any one, described device also comprises: sharing information logging modle, for recording sharing information at described first terminal equipment side, described sharing information at least comprises with lower any: the size of the title of file, the time of Transmit message and file.The device of sharing file between D20, a kind of terminal equipment, is applied to the second terminal equipment side, and it comprises: WLAN (wireless local area network) search module, for searching for the WLAN (wireless local area network) that described first terminal equipment is hotspot of take being created by first terminal equipment; Connection request sending module, sends connection request for the described first terminal equipment obtaining to search; Long connection set up module, for according to described connection request, sets up long connection the between described the second terminal equipment side and first terminal equipment; File receiver module, the file to be shared sending for receive described first terminal equipment in described the second terminal equipment side.D21, according to the device described in D20, wherein, described connection request comprises: the title of hotspot and the access pin of hotspot, by described first terminal equipment side, the access pin of the hotspot in described connection request is verified.D22, according to the device described in D20, described device also comprises: operation module, for sharing application at described the second terminal equipment side operating file; Search command receiver module, for the search command of take the WLAN (wireless local area network) that described first terminal equipment is hotspot that receives by the application of described sharing files that search creates by first terminal equipment in described the second terminal equipment side; In the situation that receiving described search command, that triggers that the search of described WLAN (wireless local area network) search module creates by first terminal equipment take the WLAN (wireless local area network) that described first terminal equipment is hotspot.D23, according to the device described in D22, wherein, described file receiver module comprises: file receives order receiving element, for receiving file in described the second terminal equipment side by described sharing files application, receives order; File receiving element, in the situation that receiving described file reception order, receives by described sharing files application the file to be shared that described first terminal equipment sends in described the second terminal equipment side.D24, according to the device described in D20~D23 any one, described device also comprises: receive information recording module, for recording reception information in described the second terminal equipment side, described reception information at least comprises with lower any: the title of file, receive the time of file and the size of file.

Claims (10)

1. between terminal equipment, share a method for file, be applied to first terminal equipment side, it comprises:
The WLAN (wireless local area network) that described first terminal equipment is hotspot is take in establishment;
Receive the connection request that at least one second terminal equipment sends to described first terminal equipment;
According to described connection request, set up long connection the between described first terminal equipment and at least one the second terminal equipment;
From described first terminal equipment, selecting file to be shared, and file described to be shared is being sent to described at least one second terminal equipment.
2. method according to claim 1, wherein, described connection request comprises: the title of described hotspot and the access pin of described hotspot;
Before the long step connecting of setting up between described first terminal equipment and at least one the second terminal equipment, described method also comprises:
At described first terminal equipment, the access pin of the hotspot in described connection request is verified;
In the situation that being verified, set up long connection the between described first terminal equipment and at least one the second terminal equipment.
3. method according to claim 1, wherein, take before the step of the WLAN (wireless local area network) that first terminal equipment is hotspot creating, and described method also comprises:
At described first terminal equipment side operating file, share application;
At described first terminal equipment side, by described sharing files application, receive the establishment order that creates WLAN (wireless local area network);
In the situation that receiving described establishment order, create and take the WLAN (wireless local area network) that described first terminal equipment is hotspot.
4. method according to claim 3, wherein, at described first terminal equipment side, from described first terminal equipment, select the step of file to be shared to comprise:
At described first terminal equipment side, by described sharing files application, receive sharing files order;
In the situation that receiving described sharing files order, at described first terminal equipment side, by described sharing files application spanned file, select interface;
At described first terminal equipment side, by described file, select interface to select file to be shared from described first terminal equipment.
5. method according to claim 3, described method also comprises:
At described first terminal equipment side, the installation kit of the described sharing files application in described first terminal equipment is sent to described at least one second terminal equipment, after the installation kit of the described sharing files application receiving in described the second terminal equipment side basis is installed described sharing files application, described the second terminal equipment is by file to be shared described in the described first terminal equipment transmission of described sharing files application reception.
6. method according to claim 3, described method also comprises:
The address information of the installation kit of applying at the described sharing files of described first terminal equipment side generation Quick Response Code form;
At described first terminal equipment side, receive the download request that described at least one second terminal equipment sends, described download request comprises the address information of the installation kit of described sharing files application;
At described first terminal equipment side, the installation kit of described sharing files application is sent to described at least one second terminal equipment, after the installation kit of the described sharing files application receiving in described the second terminal equipment side basis is installed described sharing files application, described the second terminal equipment is by file to be shared described in the described first terminal equipment transmission of described sharing files application reception.
7. according to the method described in claim 1~6 any one, described method also comprises:
Described first terminal equipment side is by described sharing files application records sharing information, and described sharing information at least comprises with lower any: the size of the title of file, the time of Transmit message and file.
8. between terminal equipment, share a method for file, be applied to the second terminal equipment side, it comprises:
Search is created by first terminal equipment take the WLAN (wireless local area network) that described first terminal equipment is hotspot;
The described first terminal equipment obtaining to search sends connection request;
According to described connection request, set up long connection the between described the second terminal equipment side and first terminal equipment;
In described the second terminal equipment side, receive the file to be shared that described first terminal equipment sends.
9. between terminal equipment, share a device for file, be applied to first terminal equipment side, it comprises:
WLAN (wireless local area network) creation module, take for creating the WLAN (wireless local area network) that described first terminal equipment is hotspot;
Connection request receiver module, the connection request sending to described first terminal equipment for receiving at least one second terminal equipment;
Long connection set up module, for according to described connection request, sets up long connection the between described first terminal equipment and at least one the second terminal equipment;
Sharing files module, for selecting file to be shared from described first terminal equipment, and sends to described at least one second terminal equipment by file described to be shared.
10. between terminal equipment, share a device for file, be applied to the second terminal equipment side, it comprises:
WLAN (wireless local area network) search module, for searching for the WLAN (wireless local area network) that described first terminal equipment is hotspot of take being created by first terminal equipment;
Connection request sending module, sends connection request for the described first terminal equipment obtaining to search;
Long connection set up module, for according to described connection request, sets up long connection the between described the second terminal equipment side and first terminal equipment;
File receiver module, the file to be shared sending for receive described first terminal equipment in described the second terminal equipment side.
CN201310645854.0A 2013-12-04 2013-12-04 Method and device for sharing files between terminal devices Pending CN103648180A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310645854.0A CN103648180A (en) 2013-12-04 2013-12-04 Method and device for sharing files between terminal devices
PCT/CN2014/093045 WO2015081875A1 (en) 2013-12-04 2014-12-04 Method and apparatus for sharing files between terminal devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310645854.0A CN103648180A (en) 2013-12-04 2013-12-04 Method and device for sharing files between terminal devices

Publications (1)

Publication Number Publication Date
CN103648180A true CN103648180A (en) 2014-03-19

Family

ID=50253306

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310645854.0A Pending CN103648180A (en) 2013-12-04 2013-12-04 Method and device for sharing files between terminal devices

Country Status (2)

Country Link
CN (1) CN103648180A (en)
WO (1) WO2015081875A1 (en)

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888891A (en) * 2014-04-09 2014-06-25 北京安奇智联科技有限公司 Method and system for achieving data resource sharing on mobile terminal
CN104268189A (en) * 2014-09-17 2015-01-07 广州华多网络科技有限公司 Application evaluation method and device
CN104406600A (en) * 2014-12-02 2015-03-11 百度在线网络技术(北京)有限公司 Method, equipment and system for updating vehicle-mounted offline map data
CN104507176A (en) * 2014-12-26 2015-04-08 奇智软件(北京)有限公司 File sending method for client side and sender client side
WO2015081875A1 (en) * 2013-12-04 2015-06-11 北京奇虎科技有限公司 Method and apparatus for sharing files between terminal devices
CN104780580A (en) * 2015-03-19 2015-07-15 江苏晓山信息产业股份有限公司 Wi-Fi mobile networking method with balanced energy consumption
CN104869162A (en) * 2015-05-20 2015-08-26 广东欧珀移动通信有限公司 Method of resource downloading and apparatus thereof
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
CN104980326A (en) * 2014-04-03 2015-10-14 联想移动通信软件(武汉)有限公司 Method and device for sharing application content between terminal equipment
CN105100893A (en) * 2014-04-21 2015-11-25 联想(北京)有限公司 Video sharing method and device
WO2016000560A1 (en) * 2014-06-30 2016-01-07 Tencent Technology (Shenzhen) Company Limited File transmission method, file transmission apparatus, and file transmission system
CN105281990A (en) * 2014-06-06 2016-01-27 佛山市顺德区美的电热电器制造有限公司 Connection system and method for household electrical appliance and terminal and household electrical appliance
CN105472676A (en) * 2015-12-21 2016-04-06 小米科技有限责任公司 Network connection method and device
CN105516324A (en) * 2015-12-16 2016-04-20 广东欧珀移动通信有限公司 Resource sharing method, system and terminal device
CN105516350A (en) * 2016-01-05 2016-04-20 广州美渠信息科技有限公司 File sharing method and device
CN105656991A (en) * 2015-12-21 2016-06-08 北京金山安全软件有限公司 File sharing method and device
CN105812452A (en) * 2016-03-01 2016-07-27 深圳前海勇艺达机器人有限公司 Household local area network resource sharing system solution scheme based on intelligent robot platform
CN105827715A (en) * 2016-04-01 2016-08-03 乐视控股(北京)有限公司 Information sharing method and apparatus
CN106412055A (en) * 2016-09-27 2017-02-15 武汉启目科技有限公司 Method for multiple terminal devices to share file resources mutually
CN106648782A (en) * 2016-12-27 2017-05-10 宇龙计算机通信科技(深圳)有限公司 Method and apparatus for updating APK file
CN106713976A (en) * 2016-12-29 2017-05-24 上海聚力传媒技术有限公司 Stream media playing method based on android mobile terminal
CN106850862A (en) * 2017-03-31 2017-06-13 青岛海信移动通信技术股份有限公司 Method and device from transmitting terminal to receiving terminal migrating data
CN106888498A (en) * 2017-01-25 2017-06-23 北京奇虎科技有限公司 A kind of inter-terminal data transmission method, device and mobile terminal
CN107018186A (en) * 2017-03-29 2017-08-04 联想(北京)有限公司 A kind of resource data transmission method and electronic equipment
CN107222854A (en) * 2017-06-19 2017-09-29 依偎科技(南昌)有限公司 A kind of method and device for obtaining software
CN108173868A (en) * 2018-01-05 2018-06-15 中国地质大学(武汉) A kind of method, equipment and the storage device of one-to-many file distributing
CN108496197A (en) * 2015-11-24 2018-09-04 脸谱公司 System and method for sharing content
CN109195103A (en) * 2018-08-10 2019-01-11 Oppo广东移动通信有限公司 Multimedia resource sharing method, relevant device and storage medium
CN109246657A (en) * 2017-06-05 2019-01-18 中兴通讯股份有限公司 Data sharing method, first terminal, second terminal and system
CN109309967A (en) * 2018-12-11 2019-02-05 连尚(新昌)网络科技有限公司 Transmit method, equipment and the computer readable storage medium of file
CN113449136A (en) * 2020-03-26 2021-09-28 华为技术有限公司 Data sharing method, electronic equipment and system

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105072611A (en) * 2015-07-08 2015-11-18 广东欧珀移动通信有限公司 Verification method and terminal
CN105451161B (en) * 2015-11-06 2019-09-13 上海斐讯数据通信技术有限公司 File sharing method and system are realized based on Android mobile phone built in base station mode
CN106446110B (en) * 2016-09-14 2020-07-28 Oppo广东移动通信有限公司 Method and device for realizing connection security of terminal moving
CN110070448B (en) * 2019-03-08 2023-10-03 创新先进技术有限公司 Electronic policy processing method and server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102271187A (en) * 2011-07-27 2011-12-07 苏州巴米特信息科技有限公司 Net-surfing method with mobile phone as hot spot
CN102882938A (en) * 2012-09-10 2013-01-16 广东欧珀移动通信有限公司 Data share method and mobile terminal
CN102932958A (en) * 2011-08-12 2013-02-13 中兴通讯股份有限公司 Method, device and system for real-time data sharing
CN103297467A (en) * 2012-02-29 2013-09-11 宇龙计算机通信科技(深圳)有限公司 Information sharing method and system based on wifi network and terminal device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102789463A (en) * 2011-05-16 2012-11-21 洛阳磊石软件科技有限公司 Data sharing method between electronic devices and electronic devices
CN103260256A (en) * 2012-02-21 2013-08-21 宇龙计算机通信科技(深圳)有限公司 Method and system for connecting portable WLAN hotspots
CN103648180A (en) * 2013-12-04 2014-03-19 北京奇虎科技有限公司 Method and device for sharing files between terminal devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102271187A (en) * 2011-07-27 2011-12-07 苏州巴米特信息科技有限公司 Net-surfing method with mobile phone as hot spot
CN102932958A (en) * 2011-08-12 2013-02-13 中兴通讯股份有限公司 Method, device and system for real-time data sharing
CN103297467A (en) * 2012-02-29 2013-09-11 宇龙计算机通信科技(深圳)有限公司 Information sharing method and system based on wifi network and terminal device
CN102882938A (en) * 2012-09-10 2013-01-16 广东欧珀移动通信有限公司 Data share method and mobile terminal

Cited By (40)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015081875A1 (en) * 2013-12-04 2015-06-11 北京奇虎科技有限公司 Method and apparatus for sharing files between terminal devices
CN104980326A (en) * 2014-04-03 2015-10-14 联想移动通信软件(武汉)有限公司 Method and device for sharing application content between terminal equipment
CN103888891A (en) * 2014-04-09 2014-06-25 北京安奇智联科技有限公司 Method and system for achieving data resource sharing on mobile terminal
CN105100893A (en) * 2014-04-21 2015-11-25 联想(北京)有限公司 Video sharing method and device
CN104980414A (en) * 2014-05-15 2015-10-14 腾讯科技(深圳)有限公司 File transmission method and terminal
CN105281990A (en) * 2014-06-06 2016-01-27 佛山市顺德区美的电热电器制造有限公司 Connection system and method for household electrical appliance and terminal and household electrical appliance
WO2016000560A1 (en) * 2014-06-30 2016-01-07 Tencent Technology (Shenzhen) Company Limited File transmission method, file transmission apparatus, and file transmission system
CN104268189A (en) * 2014-09-17 2015-01-07 广州华多网络科技有限公司 Application evaluation method and device
CN104268189B (en) * 2014-09-17 2018-06-22 广州华多网络科技有限公司 Evaluate the method and device of application
CN104406600A (en) * 2014-12-02 2015-03-11 百度在线网络技术(北京)有限公司 Method, equipment and system for updating vehicle-mounted offline map data
CN104507176A (en) * 2014-12-26 2015-04-08 奇智软件(北京)有限公司 File sending method for client side and sender client side
CN104780580B (en) * 2015-03-19 2018-06-12 江苏晓山信息产业股份有限公司 A kind of Wi-Fi mobile networking methods of energy consumption balance
CN104780580A (en) * 2015-03-19 2015-07-15 江苏晓山信息产业股份有限公司 Wi-Fi mobile networking method with balanced energy consumption
CN104869162A (en) * 2015-05-20 2015-08-26 广东欧珀移动通信有限公司 Method of resource downloading and apparatus thereof
CN104967668A (en) * 2015-05-28 2015-10-07 百度在线网络技术(北京)有限公司 Inter-equipment file transmission method, apparatus and system based on WIFI hot spot
CN108496197B (en) * 2015-11-24 2022-06-07 元平台公司 System and method for sharing content
CN108496197A (en) * 2015-11-24 2018-09-04 脸谱公司 System and method for sharing content
CN105516324A (en) * 2015-12-16 2016-04-20 广东欧珀移动通信有限公司 Resource sharing method, system and terminal device
CN105656991A (en) * 2015-12-21 2016-06-08 北京金山安全软件有限公司 File sharing method and device
CN105472676A (en) * 2015-12-21 2016-04-06 小米科技有限责任公司 Network connection method and device
CN105472676B (en) * 2015-12-21 2019-02-12 小米科技有限责任公司 Method for connecting network and device
CN105516350A (en) * 2016-01-05 2016-04-20 广州美渠信息科技有限公司 File sharing method and device
CN105812452A (en) * 2016-03-01 2016-07-27 深圳前海勇艺达机器人有限公司 Household local area network resource sharing system solution scheme based on intelligent robot platform
CN105827715A (en) * 2016-04-01 2016-08-03 乐视控股(北京)有限公司 Information sharing method and apparatus
CN106412055A (en) * 2016-09-27 2017-02-15 武汉启目科技有限公司 Method for multiple terminal devices to share file resources mutually
CN106648782A (en) * 2016-12-27 2017-05-10 宇龙计算机通信科技(深圳)有限公司 Method and apparatus for updating APK file
CN106713976A (en) * 2016-12-29 2017-05-24 上海聚力传媒技术有限公司 Stream media playing method based on android mobile terminal
CN106888498A (en) * 2017-01-25 2017-06-23 北京奇虎科技有限公司 A kind of inter-terminal data transmission method, device and mobile terminal
CN107018186A (en) * 2017-03-29 2017-08-04 联想(北京)有限公司 A kind of resource data transmission method and electronic equipment
CN106850862B (en) * 2017-03-31 2021-05-25 青岛海信移动通信技术股份有限公司 Method and device for migrating data from sending end to receiving end
CN106850862A (en) * 2017-03-31 2017-06-13 青岛海信移动通信技术股份有限公司 Method and device from transmitting terminal to receiving terminal migrating data
CN109246657A (en) * 2017-06-05 2019-01-18 中兴通讯股份有限公司 Data sharing method, first terminal, second terminal and system
CN109246657B (en) * 2017-06-05 2022-07-15 中兴通讯股份有限公司 Data sharing method, first terminal, second terminal and system
CN107222854A (en) * 2017-06-19 2017-09-29 依偎科技(南昌)有限公司 A kind of method and device for obtaining software
CN108173868A (en) * 2018-01-05 2018-06-15 中国地质大学(武汉) A kind of method, equipment and the storage device of one-to-many file distributing
CN109195103A (en) * 2018-08-10 2019-01-11 Oppo广东移动通信有限公司 Multimedia resource sharing method, relevant device and storage medium
CN109195103B (en) * 2018-08-10 2020-12-15 Oppo广东移动通信有限公司 Multimedia resource sharing method, related equipment and storage medium
CN109309967A (en) * 2018-12-11 2019-02-05 连尚(新昌)网络科技有限公司 Transmit method, equipment and the computer readable storage medium of file
CN113449136A (en) * 2020-03-26 2021-09-28 华为技术有限公司 Data sharing method, electronic equipment and system
WO2021190352A1 (en) * 2020-03-26 2021-09-30 华为技术有限公司 Data sharing method, electronic device and system

Also Published As

Publication number Publication date
WO2015081875A1 (en) 2015-06-11

Similar Documents

Publication Publication Date Title
CN103648180A (en) Method and device for sharing files between terminal devices
US20120079043A1 (en) Method, apparatus and system for accessing an application across a plurality of computers
CN107241344B (en) Client is intercepted to the method, apparatus and system of the access of hostile network server
CA2735515C (en) Method, apparatus and system for controlling transmission of an attachment to an email using a plurality of computers
CN102202102A (en) Network service polymerization system and polymerization method thereof based on cloud computing configuration
WO2002077840A1 (en) Instant messaging system and method
CN103812882A (en) Method and system for transferring files
CN101681337A (en) Reciprocity cooperative system with edge routing capabilities
CN110365779B (en) Communication control method and device, electronic equipment and storage medium
CN110351379B (en) Communication control method and device, electronic equipment and storage medium
CN103167031A (en) Communication between Web applications
WO2014034001A1 (en) Web content prefetch control device, web content prefetch control program, and web content prefetch control method
CN103973704A (en) Domain name resolution method, device and system based on WIFI device
Park et al. A dynamic control middleware for cyber physical systems on an IPv6‐based global network
CN103701876A (en) Method and device based on shared network resources
US9160693B2 (en) Method, apparatus and system for accessing applications and content across a plurality of computers
US20120079063A1 (en) Method, apparatus and system for providing event notifications across a plurality of computers
CN102201931B (en) Device management method and system and related apparatus
CN102891851A (en) Access control method, equipment and system of virtual desktop
CN107342929A (en) A kind of sending method of new message notification, apparatus and system
CN107423446B (en) New media automation trusted deployment system and method based on cloud storage
CN110166487B (en) Local area network equipment information transmission method, main equipment, storage medium and intelligent equipment
EP1395006A1 (en) Method and apparatus for data distribution through a network
US8565733B2 (en) Computer-based method and system for processing a file request in response to a message received from a user mobile device
CN103647812A (en) A method and an apparatus for displaying a picture on different terminal devices

Legal Events

Date Code Title Description
PB01 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

Application publication date: 20140319

RJ01 Rejection of invention patent application after publication