CN103297522A - Method for resource sharing by peer-to-peer technology based on wireless local area network - Google Patents
Method for resource sharing by peer-to-peer technology based on wireless local area network Download PDFInfo
- Publication number
- CN103297522A CN103297522A CN2013102108548A CN201310210854A CN103297522A CN 103297522 A CN103297522 A CN 103297522A CN 2013102108548 A CN2013102108548 A CN 2013102108548A CN 201310210854 A CN201310210854 A CN 201310210854A CN 103297522 A CN103297522 A CN 103297522A
- Authority
- CN
- China
- Prior art keywords
- intelligent terminal
- resource
- download
- source
- request
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
The invention relates to the field of communication and discloses a method for resource sharing by a peer-to-peer technology based on a wireless local area network. The method for resource sharing includes: firstly, installing a source intelligent terminal and branch intelligent terminals; secondly, opening applications of the source intelligent terminal and applications of the branch intelligent terminals; thirdly, opening resources to be shared and downloaded and generating a unique resource ID (identity) by the source intelligent terminal; fourthly, sending a peer-to-peer downloading request to the source intelligent terminal by one branch intelligent terminal in a triggering mode; fifthly, sending the resource ID to the branch intelligent terminal requesting for downloading by the source intelligent terminal after the source intelligent terminal receives the downloading request; sixthly, sending the source ID to all other intelligent terminals in an interval broadcasting mode by the branch intelligent terminal after the branch intelligent terminal receives the resource ID sent by the source intelligent terminal; and seventhly, judging whether the resources are included locally or not after all the intelligent terminals receive the source ID sent by broadcasting. The method does not depend on third-party equipment, and is simple to operate and high in file sharing speed.
Description
Technical field:
The present invention relates to the communications field, be specifically related to a kind of method of using the peer-to-peer network technical resource to share based on WLAN (wireless local area network).
Background technology:
Assembled a large amount of intelligent terminals in the WLAN (wireless local area network) scope, one of them intelligent terminal is want existing resource is shared with all interior intelligent terminals of WLAN (wireless local area network) scope quickly and efficiently, requires efficiently to share fast to finish.Such as indoor in convention, the speaker wants the speech data is shared with all audiences in the meeting room fast.Solving this type of problem at present mainly is by following three kinds of approach: method one, speaker provide download address, and all clients visit download address by intelligent terminal; Method two, speaker can not provide download address, need the client to copy by third party device (such as computer) plug wire; Method three, copy mutually by Bluetooth technology.Though three kinds of approach that use can reach the purpose that resource is shared at present, all have defective:
A, method one be based on the single-point technology, if customer volume is crossed conference and caused that large number quipments is concurrent to be connected to an equipment in the scope, this causes the service overload probably, directly cause device transmission slow, do not have response even phenomenon such as stuck, greatly influenced efficiency of transmission, wasted a large amount of quality time.
B, method two rely on third party device, a large number of users can not carry out simultaneously, use third party device often to need as the different intelligent terminal different drivings (such as mobile phone plug-in brain) to be installed, the installation driving time is grown even can not successfully be installed, because the method can not be carried out by a large number of users simultaneously, this is with the significant wastage time; And this plug wire mode also has the another one defective to be, if wherein a smart machine has infected virus this is easy to cause cross-infection, causes system crash even secret to leak.
C, using method three, at first user's smart machine must have Bluetooth function, the user must have the resource that will share then, secondly the user wants the file that hand switch bluetooth discovery equipment and selection will be shared, this mode is not only lost time, and operation is more loaded down with trivial details, and some people even can not operate bluetooth, this causes great inconvenience to the user, influences operating efficiency.
Summary of the invention:
The purpose of this invention is to provide a kind of method of using the peer-to-peer network technical resource to share based on WLAN (wireless local area network), it is in WLAN (wireless local area network), prop up intelligent terminal and can share file to source intelligent terminal request download, intelligent terminal can also provide download service for other intelligent terminal after downloading and sharing file, increase along with an available intelligent terminal, sharing speed in WLAN (wireless local area network) will rapidly increase, just can share resource easily and fast and come, share file by this kind method, need not to rely on third party device, simple to operate, it is very fast that file is shared speed.
In order to solve the existing problem of background technology, the present invention adopts following technical scheme: the method that its resource is shared is:
One, the source intelligent terminal of initiatively sharing file that the intelligent movable system is installed is shared an intelligent terminal of file with the request that at least one is equipped with the intelligent movable system;
Two, open the application program of source intelligent terminal and the application program of an intelligent terminal;
Three, the source intelligent terminal is opened the resource that will share download and is generated unique resource ID; The maximum service number that each intelligent terminal in the WLAN (wireless local area network) is set is N, and namely intelligent terminal provides download service for the intelligent terminal of an other N quantity;
Four, prop up intelligent terminal and send point-to-point download request to the source intelligent terminal by the mode that triggers:
Five, the source intelligent terminal sends the intelligent terminal that resource ID is downloaded to request after receiving download request;
Six, prop up that the mode with broadcasting at interval sends to other all intelligent terminal to resource ID behind the resource ID that intelligent terminal receives that the source intelligent terminal sends, up to receiving available download address or overtime just going off the air;
Seven, all intelligent terminals judge whether this locality has existed this resource after receiving and broadcasting the resource ID of sending, (a), if there is the resource of resource ID correspondence, then this intelligent terminal judges whether the current download number that provides for other intelligent terminal counts N above maximum service; If surpass, ignore request this time; If be no more than, then generate the download address of local resource, and download address is sent to an intelligent terminal of request download in point-to-point mode;
(b), if there is not the resource of resource ID correspondence, then directly ignore this download request;
Eight, propping up intelligent terminal receives and downloads immediately after the available download address and ignore the download address that other intelligent terminal is after this sent; Download the two kinds of situations that whether successfully are divided into according to intelligent terminal: (I), if download successfully, then described intelligent terminal preserved described resource ID; Receive after the download request of other-end and provide download service for other-end;
(II), if failed download, then described terminal do not preserved resource ID; Receive ignored request after the download request of other-end.
The present invention has following beneficial effect: in WLAN (wireless local area network), prop up intelligent terminal and can share file to source intelligent terminal request download, intelligent terminal can also provide download service for other intelligent terminal after downloading and sharing file, along with the increase of an available intelligent terminal, sharing speed in WLAN (wireless local area network) will rapidly increase, and just can share resource easily and fast and come, share file by this kind method, need not to rely on third party device, simple to operate, it is very fast that file is shared speed.
Description of drawings:
Fig. 1 is flow chart of the present invention.
Embodiment:
Referring to Fig. 1, this embodiment adopts following technical scheme: the method that its resource is shared is:
One, the source intelligent terminal of initiatively sharing file that the intelligent movable system is installed is shared an intelligent terminal of file with the request that at least one is equipped with the intelligent movable system;
Two, open the application program of source intelligent terminal and the application program of an intelligent terminal;
Three, the source intelligent terminal is opened the resource that will share download and is generated unique resource ID; The maximum service number that each intelligent terminal in the WLAN (wireless local area network) is set is N, and namely intelligent terminal provides download service for the intelligent terminal of an other N quantity; Described intelligent terminal comprises source intelligent terminal and an intelligent terminal; Concrete triggering mode has multiple, namely adopts the mode of rocking intelligent terminal and getting rid of intelligent terminal, namely " shakes " " getting rid of ";
Four, prop up intelligent terminal and send point-to-point download request to the source intelligent terminal by the mode that triggers;
Five, the source intelligent terminal sends the intelligent terminal that resource ID is downloaded to request after receiving download request;
Six, prop up that the mode with broadcasting at interval sends to other all intelligent terminal to resource ID behind the resource ID that intelligent terminal receives that the source intelligent terminal sends, broadcasting referring to certain interval of time broadcasting once at interval, such as broadcasting in 5 seconds at interval once; Up to receiving available download address or overtime just going off the air; Broadcasting being provided with a time period, surpass this time period will go off the air, such as time of broadcasting be 10 minutes; Broadcast mode is to broadcast away in the mode of udp broadcast, and " transmission " method that an intelligent terminal calls in the udp protocol sends resource ID with broadcast mode; Intelligent terminal application program acquiescence one starts broadcasting and accepts program, supervises the broadcast of sending in hearer's local area network (LAN) all the time, will call " receptions " method reception broadcast in the udp protocol in case listen to broadcast;
Seven, all intelligent terminals judge whether this locality has existed this resource after receiving and broadcasting the resource ID of sending, (a), if there is the resource of resource ID correspondence, then this intelligent terminal judges whether the current download number that provides for other intelligent terminal counts N above maximum service; If surpass, ignore request this time; If be no more than, then generate the download address of local resource, and download address is sent to an intelligent terminal of request download in point-to-point mode;
(b), if there is not the resource of resource ID correspondence, then directly ignore this download request;
Eight, propping up intelligent terminal receives and downloads immediately after the available download address and ignore the download address that other intelligent terminal is after this sent; Download the two kinds of situations that whether successfully are divided into according to intelligent terminal: (I), if download successfully, then described intelligent terminal preserved described resource ID; Receive after the download request of other-end and provide download service for other-end;
(II), if failed download, then described terminal do not preserved resource ID; Receive ignored request after the download request of other-end.
This embodiment has following beneficial effect: in WLAN (wireless local area network), prop up intelligent terminal and can share file to source intelligent terminal request download, intelligent terminal can also provide download service for other intelligent terminal after downloading and sharing file, increase along with an available intelligent terminal, sharing speed in WLAN (wireless local area network) will rapidly increase, just can share resource easily and fast and come, share file by this kind method, need not to rely on third party device, simple to operate, it is very fast that file is shared speed.
Obviously, the above embodiment of the present invention only is for example of the present invention clearly is described, and is not to be restriction to embodiments of the present invention.For those of ordinary skill in the field, can also make other multi-form variation and changes on the basis of the above description.Here can't give exhaustive to all execution modes.Everyly belong to the row that apparent variation that technical scheme of the present invention amplifies out or change still are in protection scope of the present invention.
Claims (1)
1. the method for using the peer-to-peer network technical resource to share based on WLAN (wireless local area network) is characterized in that the method that its resource is shared is:
(1), the source intelligent terminal of initiatively sharing file that the intelligent movable system is installed is shared an intelligent terminal of file with the request that at least one is equipped with the intelligent movable system;
(2), open the application program of source intelligent terminal and the application program of an intelligent terminal;
(3), the source intelligent terminal is opened the resource that will share download and is generated unique resource ID; The maximum service number that each intelligent terminal in the WLAN (wireless local area network) is set is N, and namely intelligent terminal provides download service for the intelligent terminal of an other N quantity;
(4), prop up intelligent terminal and send point-to-point download request to the source intelligent terminal by the mode that triggers;
(5), the source intelligent terminal sends the intelligent terminal that resource ID is downloaded to request after receiving download request;
(6), intelligent terminal receives that the mode with broadcasting at interval sends to other all intelligent terminal to resource ID behind the resource ID that the source intelligent terminal sends, up to receiving available download address or overtime just going off the air;
(7), all intelligent terminals judge whether this locality has existed this resource after receiving and broadcasting the resource ID of sending, (a), if there is the resource of resource ID correspondence, then this intelligent terminal judges whether the current download number that provides for other intelligent terminal counts N above maximum service; If surpass, ignore request this time; If be no more than, then generate the download address of local resource, and download address is sent to an intelligent terminal of request download in point-to-point mode;
(b), if there is not the resource of resource ID correspondence, then directly ignore this download request;
(8), propping up intelligent terminal receives and downloads immediately after the available download address and ignore the download address that other intelligent terminal is after this sent; Download the two kinds of situations that whether successfully are divided into according to intelligent terminal: (I), if download successfully, then described intelligent terminal preserved described resource ID; Receive after the download request of other-end and provide download service for other-end;
(II), if failed download, then described terminal do not preserved resource ID; Receive ignored request after the download request of other-end.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013102108548A CN103297522A (en) | 2013-05-31 | 2013-05-31 | Method for resource sharing by peer-to-peer technology based on wireless local area network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013102108548A CN103297522A (en) | 2013-05-31 | 2013-05-31 | Method for resource sharing by peer-to-peer technology based on wireless local area network |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103297522A true CN103297522A (en) | 2013-09-11 |
Family
ID=49097825
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013102108548A Pending CN103297522A (en) | 2013-05-31 | 2013-05-31 | Method for resource sharing by peer-to-peer technology based on wireless local area network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103297522A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103634176A (en) * | 2013-12-05 | 2014-03-12 | 青岛海尔软件有限公司 | Haier Internet of Things household appliance configuration sharing method capable of improving user experience |
CN104333842A (en) * | 2014-10-22 | 2015-02-04 | 深圳创维-Rgb电子有限公司 | Intelligent device program resource sharing method and system based on WIFI |
CN104869162A (en) * | 2015-05-20 | 2015-08-26 | 广东欧珀移动通信有限公司 | Method of resource downloading and apparatus thereof |
CN105357590A (en) * | 2014-08-22 | 2016-02-24 | 中兴通讯股份有限公司 | Method and device for achieving terminal multimedia broadcast |
CN105812452A (en) * | 2016-03-01 | 2016-07-27 | 深圳前海勇艺达机器人有限公司 | Household local area network resource sharing system solution scheme based on intelligent robot platform |
CN105871997A (en) * | 2015-12-15 | 2016-08-17 | 乐视致新电子科技(天津)有限公司 | Synchronous attention method and system, intelligent terminal in support of synchronous attention, synchronous attention methods executed by intelligent terminal and attention center server, attention center server |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859105A (en) * | 2005-10-25 | 2006-11-08 | 华为技术有限公司 | Method for sharing digital content in point-to-point network |
CN101043345A (en) * | 2006-03-20 | 2007-09-26 | 腾讯科技(深圳)有限公司 | Point-to-point technique based picture sharing system and method |
CN101510899A (en) * | 2009-04-08 | 2009-08-19 | 华为技术有限公司 | Method, system and equipment for implementing content source selection |
US20110080869A1 (en) * | 2009-10-07 | 2011-04-07 | Qualcomm Incorporated | Methods and systems for exploitation of well-connected nodes in peer-to-peer wireless networks |
-
2013
- 2013-05-31 CN CN2013102108548A patent/CN103297522A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859105A (en) * | 2005-10-25 | 2006-11-08 | 华为技术有限公司 | Method for sharing digital content in point-to-point network |
CN101043345A (en) * | 2006-03-20 | 2007-09-26 | 腾讯科技(深圳)有限公司 | Point-to-point technique based picture sharing system and method |
CN101510899A (en) * | 2009-04-08 | 2009-08-19 | 华为技术有限公司 | Method, system and equipment for implementing content source selection |
US20110080869A1 (en) * | 2009-10-07 | 2011-04-07 | Qualcomm Incorporated | Methods and systems for exploitation of well-connected nodes in peer-to-peer wireless networks |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103634176A (en) * | 2013-12-05 | 2014-03-12 | 青岛海尔软件有限公司 | Haier Internet of Things household appliance configuration sharing method capable of improving user experience |
CN105357590A (en) * | 2014-08-22 | 2016-02-24 | 中兴通讯股份有限公司 | Method and device for achieving terminal multimedia broadcast |
CN104333842A (en) * | 2014-10-22 | 2015-02-04 | 深圳创维-Rgb电子有限公司 | Intelligent device program resource sharing method and system based on WIFI |
CN104869162A (en) * | 2015-05-20 | 2015-08-26 | 广东欧珀移动通信有限公司 | Method of resource downloading and apparatus thereof |
CN105871997A (en) * | 2015-12-15 | 2016-08-17 | 乐视致新电子科技(天津)有限公司 | Synchronous attention method and system, intelligent terminal in support of synchronous attention, synchronous attention methods executed by intelligent terminal and attention center server, attention center server |
CN105812452A (en) * | 2016-03-01 | 2016-07-27 | 深圳前海勇艺达机器人有限公司 | Household local area network resource sharing system solution scheme based on intelligent robot platform |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103297522A (en) | Method for resource sharing by peer-to-peer technology based on wireless local area network | |
JP6929390B2 (en) | Wireless local area network configuration method and device | |
TWI244295B (en) | Method and system for simulating multiple independent client devices in a wired or wireless network | |
US20110250842A1 (en) | Bluetooth radio device and management application for integration with a telecommunications network | |
WO2019015428A1 (en) | Data transmission method, device, terminal, and computer-readable storage medium | |
JP2002536928A5 (en) | ||
CN103442045B (en) | A kind of smart machine accesses the method for wireless router | |
US9503868B2 (en) | Sending text messages to multiple devices using a joint services account | |
CN111490916B (en) | Method, system, device and medium for binding ZigBee sub-devices of ZigBee | |
WO2013166787A1 (en) | Mobile terminal parameter configuration method and system | |
CN105516961A (en) | Perception-free authentication method and system, control method and system based on same | |
WO2018049823A1 (en) | Automatic network distribution method, apparatus and device, and repeater | |
CN110121902A (en) | A kind of method and terminal of connection setup | |
JP2017102627A (en) | IoT device network | |
CN104333643A (en) | Method and system for adding contacts, and terminal | |
CN102685025A (en) | Multi-terminal service switching method, terminal and system | |
WO2012174722A1 (en) | Method and apparatus for providing a virtual sim for mobile communications | |
CN105451368B (en) | Communication method and device | |
US8369355B2 (en) | Communication control device, communication control method, program and communication system | |
CN102158810B (en) | The methods, devices and systems of application are downloaded based on multicast mode | |
CN104113620A (en) | Contact list updating method, updating device and user terminal | |
CN104486819A (en) | Wireless network access method and system | |
CN102546667A (en) | Data transmission method and system of video conference and data access server | |
CN105407452A (en) | Method and system for controlling data flow in Bluetooth sharing network | |
WO2020164522A1 (en) | Data transmission control method and related product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20170419 |
|
AD01 | Patent right deemed abandoned |