CN102594926A - Heterogeneous wireless peer-to-peer (P2P) network file sharing system and file transmission acceleration method - Google Patents
Heterogeneous wireless peer-to-peer (P2P) network file sharing system and file transmission acceleration method Download PDFInfo
- Publication number
- CN102594926A CN102594926A CN2012100958825A CN201210095882A CN102594926A CN 102594926 A CN102594926 A CN 102594926A CN 2012100958825 A CN2012100958825 A CN 2012100958825A CN 201210095882 A CN201210095882 A CN 201210095882A CN 102594926 A CN102594926 A CN 102594926A
- Authority
- CN
- China
- Prior art keywords
- node
- network
- client
- seed
- file
- 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.)
- Granted
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a heterogeneous wireless peer-to-peer (P2P) network file sharing system and a file transmission acceleration method. In a heterogeneous wireless fusion network access environment, factors such as an access network type, a terminal node downloading rate, an inter-node network distance and round-trip time are comprehensively combined for the characteristics of a fusion network, and a seed node is selected by utilizing an optimization theory in engineering to provide an acceleration method for a file sharing service of a terminal on the basis of an extended P2P-Bittorrent protocol. A proper seed node is selected, and a network service with high data traffic and a heavy load is transferred into an idle network, so that the load balance of the whole network structure is realized, and the resource efficiency of a plurality of heterogeneous fusion networks is optimized.
Description
Technical field
The present invention relates to multi-module radio terminal carries out shared file system and quickens document transmission method under a plurality of isomery UNE overlay environments; Refer more particularly to agreement, be applicable to WLAN, 3G/LTE, Ad hoc network and following various novel radio access network shared file system and quicken document transmission method based on P2P-Bittorrent.
Background technology
Wireless in recent years mobile access technology development is swift and violent; Be the wireless lan (wlan) of representative, be the technological large-scale application such as 3G/HSPA/LTE of representative with CDMA2000, WCDMA and TD-SCDMA with 802.11 series; And the constantly research and development of self-organizing network Ad hoc technology, following mobile Internet will be with multiple access network and the open heterogeneous wireless network system that deposits.
Main body business based on mobile Internet has been that the main Various types of data that turns to is professional by speech business, and file-sharing is widely used in the Internet as the basic application of distributed system.And the P2P that comes from the Internet is technological; Various, the dynamic characters that accesses terminal of self-organizing, network topology that can adapt to mobile Internet just, therefore the P2P application based on mobile Internet business also is the key technology of carrying out data service under mobile Internet.
Data service characteristics under the mobile Internet comprise data content upgrade fast, size of data distributes extensively, user group's dynamic is strong, switch frequent and under many network integrations of heterogeneous wireless environment; Owing to comprise a plurality of networks; Overlap mode between the network also is diversified; Arbitrarily a plurality of with the overlapping application scenarios of any-mode for the file-sharing model is applicable to, existing P2P shared file system based on the Bittorrent agreement is then because its favorable expandability, distribution of document speed are fast, node is uploaded to download and accepted or rejected balanced and used institute's references and employing by many mobile P 2 Ps.
Traditional Bittorrent comes shared file through the torrent file, and it comprises 4 parts: the peer node that file is obtained in Tracker server, torrent file, the kind child node seed that has complete shared file backup and requirement.Wherein, it is very crucial that the Tracker server is selected effective peer set of node, and particularly the portable terminal access state withdraws from dynamic the adding under mobile Internet, in order to safeguard the state information of dynamic node, can increase the Tracker load of server; If consider that carrying out logical place according to the terminal node network topology structure hives off; The preferential crowd's interior nodes of selecting, but because the meshed network topology is not corresponding with the physical location topology, if the near node apart from each other in physical location of network topology middle distance; The stability of this node also can reduce; To increasing the transfer of data burden of mobile core network, above method all can not well solve the effective screening of Tracker to node simultaneously, makes that sharing speed improves.
Improve file-sharing speed under the applied environment how various, that the node dynamic is strong at above network; And download quality to terminal node; Factor compromise such as RTT is taken all factors into consideration in node downloading rate, neighbor node uploading rate, network distance, access network type, two-way time; Make whole isomery merge the multi-network environment file-sharing performance down very necessity that seems that gets a promotion, and can in the data service of other enhancings, be used widely.
Summary of the invention
Technical problem to be solved by this invention is defective and the deficiency that overcomes the technical method of above description; Insert under the environment at the heterogeneous wireless UNE; Based on the P2P-Bittorrent agreement, a kind of heterogeneous wireless P2P network file shared system is provided and quickens document transmission method.
For solving the problems of the technologies described above, the present invention provides a kind of heterogeneous wireless P2P network file shared system, it is characterized in that, comprises Tracker server, mobile agent node, general portable terminal;
Said Tracker server comprises mutual control module, Peer administration module, optimized choice module and nework analysis module;
Said mutual control module: be used for and said mobile agent node, general mobile node between Signalling exchange, said Signalling exchange is based on the Bittorrent agreement of expansion; The Bittorrent agreement of said expansion comprises extended field nettype, and it is described as " client access network type ", rttime, and it is described as " client is to RTT two-way time of mobile agent node point ";
Said Peer administration module: be used to realize the mobile agent node in the whole distributed P 2 P network, discovery, statistics and the record of general mobile node; Set up the real-time Peer MIB of unified whole network, carry out the Peer information source that kind of child node is selected as the optimized choice module;
Optimized choice module: be used to select to adapt to most the seed node listing of the professional node of current request file-sharing, maximization file-sharing speed;
Said nework analysis module: be used for regularly obtaining the mobile agent node to reporting of network site separately, specifically comprise IP address, network description, particular geographic location descriptor; Regularly obtain general mobile node submitted IP address, gateway address information, with the interior mobile agent node of net between the RTT value; And, analyze the logical topology structure of each distributed P 2 P network to above information, the statistics mobile node is the RTT value end to end, is convenient to the optimized choice module each optimal value with reference to kind of child node is calculated;
Said mobile agent unit comprises location management module and access control module;
Said location management module: the mobile agent unit regularly reports the self networks location status to the Tracker server unit as the Centroid of network cluster collection, comprises IP address, network description, particular geographic location descriptor; Particularly, self network node network site upgrades network cluster collection state when changing.
Said access control module: be responsible for the network insertion and the state of other nodes in the network cluster collection, and when other node occurring network change in location or access way variation, notice location management module is carried out statistical information and upgraded.
Said general mobile terminal unit comprises session management module, Access Management, Peer maintenance of information unit and data transmission module;
Said session management module: be responsible for and Tracker server, mobile agent between carry out Signalling exchange; Signaling is based on the improvement of Bittorrent agreement; Can not only support general Bittorrent software, also increase RTT expansion sign between network insertion type, network site description and mobile agent;
Said Access Management: be responsible for obtaining the mode of current mobile terminal network insertion, and submit session management module to, fill nettype and netdescription extend information; Regularly obtain and mobile agent node RTT two-way time simultaneously, fill the rttime extend information;
Said Peer maintenance of information unit: the information of the seed node listing that is used to safeguard that this terminal node and Tracker return, like peer_id, ip address, port numbers, task status; And be responsible for being connected with the data of various child nodes foundation based on Transmission Control Protocol, be convenient to data transmission module from kind of a child node downloaded resources;
Said data transmission module: be responsible for sharing of concrete resource data, comprise from kind of child node data download and self and upload data as kind of a child node.
Preferably; Signalling exchange between said mobile agent node and the general mobile node; The shared file request message that comprises general mobile node, the position feedback message of mobile agent node and general mobile node and heartbeat feedback message, general mobile node network insertion kind of message.
Further; Said optimized choice module; Realize sharing the nucleus module that quickens as the Tracker server unit, the optimum target constraint function that the kind child node of employing multi-parameter is chosen, selection adapts to the seed node listing of the professional node of current request file-sharing most; The optimum target constraint function is:
I=1,2......N, wherein N is for supplying the kind child node number of optimized choice, P
iBe i the seed node optimization value that reference is chosen, A
iBe i access network type normalized value, S with reference to the kind child node of choosing
iBe i uploading speed normalized value with reference to the kind child node of choosing, RTT
iFor being normalized value two-way time of i the general mobile node of sharing to demand file with reference to the kind child node chosen,
Network insertion type normalized value for the shared general mobile node of demand file.Above normalized value is a reference value according to the international standard parameter of different network type.
Further, when selecting the seed node listing, general internodal two-way time of the RTT value of planting that child node uploading rate S and demand file share is then relevant with concrete network scenario, and specifically consideration is as follows:
When S big; RTT hour, show that reference kind child node access network bandwidth is big this moment, and general mobile node (be designated hereinafter simply as requesting node) the network distance weak point shared with demand file; This optimal value A with reference to kind of child node is big, as preferential selection kind child node;
When S is little, when RTT is big, show this moment with reference to planting child node access network bandwidth little; And it is long with the requesting node network distance; The data flow that forms receives the long-range network environmental impact easily, can't reach the effect that file-sharing is quickened, and this type of kind child node should abandon;
When S is little, RTT hour, show that this category node access network bandwidth is low, but lack, discovery easily with the requesting node network distance.This type of kind child node should be as optional node, looks actual conditions and decides.When preferred seed node number can't reach the number requirement of requesting node, can connect this type of optional node.
When S is big, when RTT is big, show that this category node access network bandwidth is high, but far away with the requesting node network distance.Utilize this moment a kind of new mechanism " to propagate " mode in bunch; Requesting node notice mobile agent node is connected with far-end kind child node, obtains resource information, and is downloaded by the mobile agent node; In the net of requesting node place, distribute then, final requesting node gets access to resource requirement.
The Bittorrent agreement of said expansion also comprises extended field numwant, and it is described as " number of other kinds child node that client hopes to obtain from the Tracker server ", netdescription, and it is described as " client place network is described in detail ".
The present invention also provides a kind of acceleration document transmission method based on above-mentioned heterogeneous wireless P2P network file shared system simultaneously, it is characterized in that, may further comprise the steps:
Step 1, general mobile terminal node are carried out alternately as client and Tracker server, propose the resource downloading request; Bittorrent agreement through expansion; With self access network type, network description information, pass to the Tracker server with parameter such as mobile agent node R TT; As the follow-up foundation of choosing kind of child node, when above parameter changes, regularly feed back to the Tracker server;
Step 2, Tracker server process client-requested; Inquire about the seed nodal information of whole network; The seed nodal information is by Tracker server statistics and with the list directory stores; Preliminary screening goes out the seed node listing that conforms to the client-requested resource, simultaneously this type of seed nodal information is saved in the historical query record, so that share service is provided for the same request of other clients;
Step 3, according to the seed node listing of Preliminary screening; The optimized choice module of Tracker server is tabulated with reference to candidate seed nodes; By the calculated value of nework analysis module to network distance between client and candidate seed nodes; In conjunction with the optimization selection strategy, further filter out to the optimum candidate seed tabulation of client, and send to client;
Step 4, client are received optimum seed node listing, and are connected with these kinds child node, carry out the lasting download of resource requirement;
If step 5 is in downloading process, client can't be connected to this kind child node, and client feedback message is given the Tracker server; The Tracker server is according to step 2, three; Again screen optimum seed node listing, and send to client, upgrade Peer node statistical information simultaneously;
Step 6, client are upgraded the downloading process that optimum seed node listing carries out resource requirement, and are connected with these kinds child node, carry out the lasting download of resource requirement again.
The present invention compared with prior art has following advantage:
(1). the present invention adopts the traditional centralized framework, only need increase the mobile agent node and improve the acceleration function.Keep " thin-client " characteristic under the mobile Internet, mobile terminal performance is not had specific (special) requirements, under the prerequisite of stable raising file-sharing performance, can not bring big resource overhead portable terminal;
(2). the present invention chooses the seed facility strategy for the Tracker server and combines the various features parameter to heterogeneous network, and is configurable flexibly, and independent one-tenth module can change under different application scenes flexibly;
(3). the present invention has improved and backward compatible Bittorrent agreement, be convenient to portable terminal to the network site, the access network type is isoparametric obtains, and can correctly resolve with the Tracker server.
Scene proposed by the invention can exist any a plurality of network with the overlapping fusion of any-mode, and irrelevant with concrete network bottom layer technology, and being applicable to existing is following various novel radio network insertion, has extensibility.
Description of drawings
Below in conjunction with accompanying drawing and embodiment technical scheme of the present invention is further specified.
Fig. 1 is a heterogeneous wireless P2P network file shared system network architecture diagram of the present invention.
Fig. 2 is the functional block diagram of Tracker server, mobile agent node and general mobile node among the present invention.
Fig. 3 chooses the model sketch map for the mobile agent node among the present invention;
Fig. 4 carries out the workflow diagram that file-sharing is quickened for mobile terminal node among the present invention.
Embodiment
Fig. 1 has described the follow-on centralized mobile P 2 P network Organization Chart of the present invention.Heterogeneous network type described in the figure comprises WLAN, 3G/LTE, Ad hoc network, can fully represent the wireless network of current popular to insert form.This centralized P2P network architecture has the distributed P 2 P characteristics simultaneously, through the mobile agent node node in the full distributed P2P network is connected in the centralized architecture.Comprise the Tracker server node in this network, mobile agent node and general mobile node, network cluster collection of the common composition of the general mobile node that the mobile agent node is connected.
Wherein, the Tracker server node be that general mobile node in the centralized P2P network provides the neighbor node index and choose that information, routing iinformation, P2P node are found, the management function of network topology statistics and multicast group.
The mobile agent node in meeting long-term existence and the network of living in, and keeps stable network position and presence, as the reference point of Tracker server node phase-split network topology as the network insertion agency of general mobile node;
General mobile node is connected to separately in the distributed P 2 P network through the mobile agent node; To the Tracker server node regularly feed back the self networks access style and two-way time RTT; Be convenient to the optimization of Tracker server node and choose the seed facility strategy, carry out file-sharing and quicken.
Fig. 2 has described the file-sharing acceleration model among the present invention, relates to the functional block diagram of Tracker server, mobile agent, general portable terminal.Elaborate in the face of each module of each unit down.
The Tracker server unit, mutual control module: be responsible for mobile agent node, general mobile node between Signalling exchange, based on the Bittorrent agreement of expanding; The shared file request message that comprises general mobile node, position feedback message and heartbeat feedback message, the general mobile node network insertion kind of message etc. of mobile agent node and general mobile node.Above message is all expanded encapsulation with HTTP GET message.
Peer administration module: accomplish the mobile agent node in each the distributed P 2 P network under the whole centralized P2P network, discovery, statistics and the record of general mobile node; Set up the real-time Peer MIB of unified whole network, carry out the Peer information source that kind of child node is selected as the optimized choice module.
Optimized choice module: realize sharing the nucleus module that quickens as the Tracker server unit; The optimum target constraint function that the kind child node of employing multi-parameter is chosen; Select to adapt to most the seed node listing of the professional node of current request file-sharing, maximization file-sharing speed.The optimum target constraint function is:
I=1,2......N, wherein N is for supplying the kind child node number of optimized choice, P
iBe i the seed node optimization value that reference is chosen, A
iBe i access network type normalized value, S with reference to the kind child node of choosing
iBe i uploading speed normalized value with reference to the kind child node of choosing, RTT
iFor being normalized value two-way time of i the general mobile node of sharing to demand file with reference to the kind child node chosen,
Network insertion type normalized value for the shared general mobile node of demand file.Above normalized value is a reference value according to the international standard parameter of different network type.
Because there is notable difference in the access network bandwidth of WLAN, 3G/LTE, Ad hoc network, when calculating is in the optimal value of the kind child node under above three types of networks, with access network types value A
i,
As main coefficient index.And plant child node uploading rate S, then relevant with general internodal two-way time of the RTT value that demand file is shared with concrete network scenario, concrete consideration as follows:
When S big; RTT hour, show that reference kind child node access network bandwidth is big this moment, and general mobile node (be designated hereinafter simply as requesting node) the network distance weak point shared with demand file; This optimal value A with reference to kind of child node is big, as preferential selection kind child node;
When S is little, when RTT is big, show this moment with reference to planting child node access network bandwidth little; And it is long with the requesting node network distance; The data flow that forms receives the long-range network environmental impact easily, can't reach the effect that file-sharing is quickened, and this type of kind child node should abandon;
When S is little, RTT hour, show that this category node access network bandwidth is low, but lack, discovery easily with the requesting node network distance.This type of kind child node should be as optional node, looks actual conditions and decides.When preferred seed node number can't reach the number requirement of requesting node, can connect this type of optional node.
When S is big, when RTT is big, show that this category node access network bandwidth is high, but far away with the requesting node network distance.Utilize this moment a kind of new mechanism " to propagate " mode in bunch; Requesting node notice mobile agent node is connected with far-end kind child node, obtains resource information, and is downloaded by the mobile agent node; In the net of requesting node place, distribute then, final requesting node gets access to resource requirement.
Nework analysis module: regularly obtain the mobile agent node to reporting of network site separately, specifically comprise IP address, network description, particular geographic location descriptor; Regularly obtain general mobile node submitted IP address, gateway address information, with the interior mobile agent node of net between the RTT value; And, analyze the logical topology structure of each distributed P 2 P network to above information, the statistics mobile node is the RTT value end to end, is convenient to the optimized choice module each optimal value with reference to kind of child node is calculated.
Fig. 3 has shown that the mobile agent node chooses the model sketch map; Choose the number M (M=6 among Fig. 3 that mainly comprises node; Identify 6 independently wireless networks) and position L; The whole centralized P2P cellular logic structure of sign that suitable M and L ability are correct and the network site of each node help to improve the performance that the Tracker server is chosen kind of child node.The mobile agent node choose three conditions of following: (1) maximum separation: because there is characteristic distributed, overlapping fusion in heterogeneous network; In order effectively to identify a network site; Need overlapping network is logically separated, make M mobile agent node in each network, evenly distribute, its averaging network is apart from minimum; Each network of the unique representative of ability also is convenient to general mobile node and can be found on network distance from own nearest mobile agent node; (2) M bunch of network collection: M mobile agent node representative is exactly M actual network, though general mobile node skewness in network, they are with the form cluster of bunch collection in logic, and each general mobile node all belongs to unique certain bunch collection; (3) bunch collection interior nodes average distance is minimum: distribute corresponding in order to keep logical network topology with real network; Selected mobile agent position should be minimum at other node average distances in bunch collection; When whole bunch of recurring structure variation (when network distance changes between node), the mobile agent node can effectively reflect variation (variation of logical network topology) in bunch collection.When bunch in distance more little, bunch interior nodes is tightr, can well adapt to when S big, choose the resource that mobile agent node in this bunch at first obtains far-end kind child node when RTT is big, then bunch in the mechanism propagated.
The mobile agent unit, the location management module: the mobile agent unit regularly reports the self networks location status to the Tracker server unit as the Centroid of network cluster collection, comprises IP address, network description, particular geographic location descriptor; Particularly, self network node network site upgrades network cluster collection state when changing.
Access control module: be responsible for the network insertion and the state of other nodes in the network cluster collection, and when other node occurring network change in location or access way variation, notice location management module is carried out statistical information and upgraded.
General mobile terminal unit; Session management module: be responsible for and Tracker server, mobile agent between carry out Signalling exchange; Signaling is based on the improvement of Bittorrent agreement; Can not only support general Bittorrent software, also increase RTT expansion sign between network insertion type, network site description and mobile agent.The signaling parameter with the Tracker server interaction after the expansion is as shown in the table:
Access Management: be responsible for obtaining the mode of current mobile terminal network insertion, and submit session management module to, fill nettype and netdescription extend information; Regularly obtain and mobile agent node RTT two-way time simultaneously, fill the rttime extend information;
Peer maintenance of information unit: identical with general P2P software respective modules function, safeguard the information (like peer_id, ip address, port numbers, task status etc.) of the seed node listing that this terminal node and Tracker return; And be responsible for being connected with the data of various child nodes foundation based on Transmission Control Protocol, be convenient to data transmission module from kind of a child node downloaded resources.
Data transmission module: be responsible for sharing of concrete resource data, comprise from kind of child node data download and self and upload data as kind of a child node.
Concrete, as shown in Figure 4, be concrete application of the present invention, general mobile terminal node is carried out the workflow diagram that file-sharing is quickened, and may further comprise the steps:
Step 100: when building this centralized P2P file sharing network; Be the selected unique mobile agent node of each separate network of current heterogeneous network (comprising M Radio Access Network); Confirm RTT value two-way time to each other through icmp packet between M mobile agent node; This M mobile agent node keeps stable state as the network site reference point of whole heterogeneous network;
Step 200: general mobile terminal node is carried out alternately as client and Tracker server, proposes the resource downloading request.Bittorrent agreement through expansion; With self access network type, network description information, pass to the Tracker server with parameter such as mobile agent node R TT; As the follow-up foundation of choosing kind of child node, when above parameter changes, regularly feed back to the Tracker server;
Step 300:Tracker server process client-requested; Inquire about the seed nodal information of whole network; The seed nodal information is by Tracker server statistics and with the list directory stores; Preliminary screening goes out the seed node listing that conforms to the client-requested resource, simultaneously this type of seed nodal information is saved in the historical query record, so that share service is provided for the same request of other clients;
Step 400: according to the seed node listing of Preliminary screening; Candidate seed nodes outnumbers the required maximum seed interstitial content of client in this tabulation; And it is inequality that each plants child node concrete condition, as from the network distance distance of requesting client node, uploading rate, two-way time RTT, network insertion type etc.Therefore; Share the target of quickening for reaching optimal selection; The Tracker server optimization selects module to tabulate with reference to candidate seed nodes, through the calculated value of nework analysis module to network distance between client and candidate seed nodes, in conjunction with the optimization selection strategy; Further filter out to the optimum candidate seed tabulation of client, and send to client;
Step 500: client is received optimum seed node listing, and is connected with these nodes, carries out the lasting download of resource requirement; If in this process; There is node to leave heterogeneous network environment (client can't be connected to this kind child node) in the optimum seed node listing; This situation of client feedback is given the Tracker server, and the Tracker server can be accordinged to 300,400 steps, screens optimum seed node listing again; And send to client, upgrade Peer node statistical information simultaneously; Client is upgraded the downloading process that optimum seed node listing carries out resource requirement, guarantees client downloads speed maximization in the whole process.
In sum; According to centralized P2P network configuration of the present invention and accelerated method; Have reasonably and choose for planting child node in the whole heterogeneous network; Not only can reach the effect of network acceleration, the kind child node for longer with the download client distance, that uploading rate is low more is not easy to be selected more; And the kind child node that uploading rate is high, distance is short, wired being selected, and this also meets the characteristics that information spreads under the mobile Internet in reality scene, the situation of particularly propagating to the expansion type resource.Take all factors into consideration kind of a child node uploading rate; Network distance, two-way time RTT, access network type factor; The whole download time of resource file can reduce, and remote data traffic significantly reduces the increase of short range network flow; Make and the flow distribution equalization of whole P2P network also improved network performance; Simultaneously; The mobile agent node of setting not only can exist as general mobile terminal node, also as the reference node of network site; This mobile agent node is that function is extendible; Follow-up as need expand to the wireless network at its place, can on the mobile agent node, increase other functional unit, can not influence the structure of whole network.
It should be noted last that; Above embodiment is only unrestricted in order to technical scheme of the present invention to be described; Although with reference to preferred embodiment the present invention is specified, those of ordinary skill in the art should be appreciated that and can make amendment or be equal to replacement technical scheme of the present invention; And not breaking away from the spirit and the scope of technical scheme of the present invention, it all should be encompassed in the middle of the claim scope of the present invention.
Claims (6)
1. a heterogeneous wireless P2P network file shared system is characterized in that, comprises Tracker server, mobile agent node, general portable terminal;
Said Tracker server comprises mutual control module, Peer administration module, optimized choice module and nework analysis module;
Said mutual control module: be used for and said mobile agent node, general mobile node between Signalling exchange, said Signalling exchange is based on the Bittorrent agreement of expansion; The Bittorrent agreement of said expansion comprises extended field nettype, and it is described as " client access network type ", rttime, and it is described as " client is to RTT two-way time of mobile agent node ";
Said Peer administration module: be used to realize the mobile agent node in the whole distributed P 2 P network, discovery, statistics and the record of general mobile node; Set up the real-time Peer MIB of unified whole network, carry out the Peer information source that kind of child node is selected as the optimized choice module;
Optimized choice module: be used to select to adapt to most the seed node listing of the professional node of current request file-sharing, maximization file-sharing speed;
Said nework analysis module: be used for regularly obtaining the mobile agent node to reporting of network site separately, specifically comprise IP address, network description, particular geographic location descriptor; Regularly obtain general mobile node submitted IP address, gateway address information, with the interior mobile agent node of net between the RTT value; And, analyze the logical topology structure of each distributed P 2 P network to above information, the statistics mobile node is the RTT value end to end;
Said mobile agent node comprises location management module and access control module;
Said location management module: be used for regularly reporting the self networks location status, comprise IP address, network description, particular geographic location descriptor to said Tracker server; , self network node network site upgrades network cluster collection state when changing;
Said access control module: be used for the network insertion and the state of other nodes in the network cluster collection, and when other node occurring network change in location or access way variation, notify said location management module to carry out statistical information and upgrade;
Said general mobile terminal unit comprises session management module, Access Management, Peer maintenance of information unit and data transmission module;
Said session management module: be used for and said Tracker server, mobile agent node between carry out Signalling exchange, Signalling exchange is based on the Bittorrent agreement of expansion;
Said Access Management: be used to obtain the mode of current mobile terminal network insertion, and submit said session management module to,
Said Peer maintenance of information unit: the information of the seed node listing that is used to safeguard that this node and said Tracker server return; And be responsible for being connected with the data of various child nodes foundation based on Transmission Control Protocol, be convenient to data transmission module from kind of a child node downloaded resources;
Said data transmission module: be responsible for sharing of concrete resource data, comprise from kind of child node data download and self and upload data as kind of a child node.
2. heterogeneous wireless P2P network file shared system according to claim 1; It is characterized in that; Signalling exchange between said mobile agent node and the general mobile node; The shared file request message that comprises general mobile node, the position feedback message of mobile agent node and general mobile node and heartbeat feedback message, general mobile node network insertion kind of message.
3. heterogeneous wireless P2P network file shared system according to claim 1 and 2 is characterized in that, said optimized choice module adopts the optimum target constraint function, sets up the seed node listing; Said optimum target constraint function is:
I=1,2......N, wherein N is for supplying the kind child node number of optimized choice, P
iBe i the seed node optimization value that reference is chosen, A
iBe i access network type normalized value, S with reference to the kind child node of choosing
iBe i uploading speed normalized value with reference to the kind child node of choosing, RTT
iFor being normalized value two-way time of i the general mobile node of sharing to demand file with reference to the kind child node chosen,
Network insertion type normalized value for the shared general mobile node of demand file.
4. heterogeneous wireless P2P network file shared system according to claim 3 is characterized in that, sets up the seed node listing according to said optimum target constraint function, comprises following selection:
When S is big, RTT hour, show that this is big with reference to kind of child node access network bandwidth, and lack that this optimal value A with reference to kind of child node is big, as preferential selection kind child node with the general mobile node network distance that demand file is shared;
When S is little, when RTT is big, show that this is little with reference to kind of child node access network bandwidth; And the network distance of the general mobile node of sharing with demand file is long; The data flow that forms receives the long-range network environmental impact easily, can't reach the effect that file-sharing is quickened, and this type of kind child node should abandon;
When S is little, RTT hour, show that this is low with reference to kind of child node access network bandwidth, but lack, discovery easily with the requesting node network distance; As optional kind of child node;
When S is big, when RTT is big, show that this is high with reference to kind of child node access network bandwidth, but far away with the requesting node network distance, this with reference to kind of child node as special far-end kind child node; The general mobile node notice mobile agent node that demand file is shared is connected with this far-end kind child node; Obtain resource information; And download by the mobile agent node; In the general mobile node place net that demand file is shared, distribute then, the general mobile node that final demand file is shared gets access to resource requirement.
5. heterogeneous wireless P2P network file shared system according to claim 4; It is characterized in that; The Bittorrent agreement of said expansion also comprises extended field numwant; It is described as " number of other kinds child node that client hopes to obtain from the Tracker server ", netdescription, and it is described as " client place network is described in detail ".
6. the acceleration document transmission method based on above-mentioned heterogeneous wireless P2P network file shared system is characterized in that, may further comprise the steps:
Step 1, general mobile terminal node are carried out alternately as client and Tracker server, propose the resource downloading request;
Step 2, Tracker server process client-requested; Inquire about the seed nodal information of whole network; The seed nodal information is by Tracker server statistics and with the list directory stores; Preliminary screening goes out the seed node listing that conforms to the client-requested resource, simultaneously this type of seed nodal information is saved in the historical query record, so that share service is provided for the same request of other clients;
Step 3, according to the seed node listing of Preliminary screening; The optimized choice module of Tracker server is tabulated with reference to candidate seed nodes; By the calculated value of nework analysis module to network distance between client and candidate seed nodes; In conjunction with the optimization selection strategy, further filter out to the optimum candidate seed tabulation of client, and send to client;
Step 4, client are received optimum seed node listing, and are connected with these kinds child node, carry out the lasting download of resource requirement;
If step 5 is in downloading process, client can't be connected to this kind child node, and client feedback message is given the Tracker server; The Tracker server is according to step 2, three; Again screen optimum seed node listing, and send to client, upgrade Peer node statistical information simultaneously;
Step 6, client are upgraded the downloading process that optimum seed node listing carries out resource requirement, and are connected with these kinds child node, carry out the lasting download of resource requirement again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210095882.5A CN102594926B (en) | 2011-12-22 | 2012-04-01 | Heterogeneous wireless peer-to-peer (P2P) network file sharing system and file transmission acceleration method |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011104358093 | 2011-12-22 | ||
CN201110435809.3 | 2011-12-22 | ||
CN201110435809 | 2011-12-22 | ||
CN201210095882.5A CN102594926B (en) | 2011-12-22 | 2012-04-01 | Heterogeneous wireless peer-to-peer (P2P) network file sharing system and file transmission acceleration method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102594926A true CN102594926A (en) | 2012-07-18 |
CN102594926B CN102594926B (en) | 2015-04-22 |
Family
ID=46483120
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210095882.5A Expired - Fee Related CN102594926B (en) | 2011-12-22 | 2012-04-01 | Heterogeneous wireless peer-to-peer (P2P) network file sharing system and file transmission acceleration method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102594926B (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102833845A (en) * | 2012-08-14 | 2012-12-19 | 北京华胜天成信息技术发展有限公司 | System and method for heterogeneous communication |
CN102843365A (en) * | 2012-08-13 | 2012-12-26 | 苏州阔地网络科技有限公司 | Single-process multi-instance communication method and system |
CN103401792A (en) * | 2013-07-04 | 2013-11-20 | 中国科学院声学研究所 | Adaptive upload acceleration apparatus for mobile terminal |
CN104780212A (en) * | 2015-04-14 | 2015-07-15 | 天脉聚源(北京)教育科技有限公司 | Method for selecting server with highest connection speed and terminal |
CN105872077A (en) * | 2016-05-11 | 2016-08-17 | 广西科技大学 | Cross-system file sharing method based on SMB protocol |
WO2018019018A1 (en) * | 2016-07-27 | 2018-02-01 | 华为技术有限公司 | Distribution policy generating method and device, and network optimization system |
CN107920072A (en) * | 2017-11-14 | 2018-04-17 | 深圳市视维科技股份有限公司 | A kind of multimedia sharing method and system based on data characteristics |
CN108462701A (en) * | 2018-02-12 | 2018-08-28 | 武汉卡比特信息有限公司 | A kind of shared cell phone network connecting internet system and method for exempting from hot spot |
CN109417566A (en) * | 2016-06-30 | 2019-03-01 | 微软技术许可有限责任公司 | Controlled seed dispersal based on constraint |
CN111225289A (en) * | 2020-01-15 | 2020-06-02 | 深圳市深海瑞格科技有限公司 | Terminal audio and video sharing system based on mobile internet |
CN111600963A (en) * | 2020-06-03 | 2020-08-28 | 天津卓朗科技发展有限公司 | Document data transmission method and device |
CN112367351A (en) * | 2020-09-29 | 2021-02-12 | 上海商泰汽车信息***有限公司 | File sharing method and device for multiple devices, target server and client |
CN113922968A (en) * | 2021-10-19 | 2022-01-11 | 中国电信股份有限公司 | Access token generation and verification method and device, electronic equipment and storage medium |
CN114285602A (en) * | 2021-11-26 | 2022-04-05 | 成都安恒信息技术有限公司 | Distributed service safety detection method |
CN114896202A (en) * | 2022-07-13 | 2022-08-12 | 江苏中威科技软件***有限公司 | Novel method for rapidly generating fog calculation dynamic knowledge base |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090100128A1 (en) * | 2007-10-15 | 2009-04-16 | General Electric Company | Accelerating peer-to-peer content distribution |
US20090182815A1 (en) * | 2007-10-15 | 2009-07-16 | General Electric Company | Accelerating peer-to-peer content distribution |
CN101640699A (en) * | 2009-08-21 | 2010-02-03 | 深圳创维数字技术股份有限公司 | P2P streaming media system and streaming media downloading method thereof |
CN101651708A (en) * | 2009-07-07 | 2010-02-17 | 北京大学 | Topological construction method of P2P streaming media network |
CN102025782A (en) * | 2010-12-08 | 2011-04-20 | 成都市华为赛门铁克科技有限公司 | Point-to-point communication method, device and system |
-
2012
- 2012-04-01 CN CN201210095882.5A patent/CN102594926B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090100128A1 (en) * | 2007-10-15 | 2009-04-16 | General Electric Company | Accelerating peer-to-peer content distribution |
US20090182815A1 (en) * | 2007-10-15 | 2009-07-16 | General Electric Company | Accelerating peer-to-peer content distribution |
CN101651708A (en) * | 2009-07-07 | 2010-02-17 | 北京大学 | Topological construction method of P2P streaming media network |
CN101640699A (en) * | 2009-08-21 | 2010-02-03 | 深圳创维数字技术股份有限公司 | P2P streaming media system and streaming media downloading method thereof |
CN102025782A (en) * | 2010-12-08 | 2011-04-20 | 成都市华为赛门铁克科技有限公司 | Point-to-point communication method, device and system |
Non-Patent Citations (1)
Title |
---|
刘高嵩等: "一种基于异构的P2P文件共享网络模型", 《计算机测量与控制》, vol. 16, no. 2, 25 February 2008 (2008-02-25) * |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102843365A (en) * | 2012-08-13 | 2012-12-26 | 苏州阔地网络科技有限公司 | Single-process multi-instance communication method and system |
CN102843365B (en) * | 2012-08-13 | 2015-09-30 | 阔地教育科技有限公司 | A kind of one process many instance communications method and system |
CN102833845A (en) * | 2012-08-14 | 2012-12-19 | 北京华胜天成信息技术发展有限公司 | System and method for heterogeneous communication |
CN102833845B (en) * | 2012-08-14 | 2015-12-02 | 北京华胜天成信息技术发展有限公司 | A kind of heterogeneous communication system and method |
CN103401792A (en) * | 2013-07-04 | 2013-11-20 | 中国科学院声学研究所 | Adaptive upload acceleration apparatus for mobile terminal |
CN104780212A (en) * | 2015-04-14 | 2015-07-15 | 天脉聚源(北京)教育科技有限公司 | Method for selecting server with highest connection speed and terminal |
CN105872077A (en) * | 2016-05-11 | 2016-08-17 | 广西科技大学 | Cross-system file sharing method based on SMB protocol |
CN109417566A (en) * | 2016-06-30 | 2019-03-01 | 微软技术许可有限责任公司 | Controlled seed dispersal based on constraint |
CN109417566B (en) * | 2016-06-30 | 2021-08-20 | 微软技术许可有限责任公司 | Constraint-based controlled seed propagation |
WO2018019018A1 (en) * | 2016-07-27 | 2018-02-01 | 华为技术有限公司 | Distribution policy generating method and device, and network optimization system |
CN107920072B (en) * | 2017-11-14 | 2021-02-09 | 深圳市视维科技股份有限公司 | Multimedia sharing method and system based on data characteristics |
CN107920072A (en) * | 2017-11-14 | 2018-04-17 | 深圳市视维科技股份有限公司 | A kind of multimedia sharing method and system based on data characteristics |
CN108462701A (en) * | 2018-02-12 | 2018-08-28 | 武汉卡比特信息有限公司 | A kind of shared cell phone network connecting internet system and method for exempting from hot spot |
CN111225289A (en) * | 2020-01-15 | 2020-06-02 | 深圳市深海瑞格科技有限公司 | Terminal audio and video sharing system based on mobile internet |
CN111600963B (en) * | 2020-06-03 | 2023-04-07 | 天津卓朗科技发展有限公司 | Document data transmission method and device |
CN111600963A (en) * | 2020-06-03 | 2020-08-28 | 天津卓朗科技发展有限公司 | Document data transmission method and device |
CN112367351A (en) * | 2020-09-29 | 2021-02-12 | 上海商泰汽车信息***有限公司 | File sharing method and device for multiple devices, target server and client |
CN113922968A (en) * | 2021-10-19 | 2022-01-11 | 中国电信股份有限公司 | Access token generation and verification method and device, electronic equipment and storage medium |
CN114285602A (en) * | 2021-11-26 | 2022-04-05 | 成都安恒信息技术有限公司 | Distributed service safety detection method |
CN114285602B (en) * | 2021-11-26 | 2024-02-02 | 成都安恒信息技术有限公司 | Distributed service security detection method |
CN114896202A (en) * | 2022-07-13 | 2022-08-12 | 江苏中威科技软件***有限公司 | Novel method for rapidly generating fog calculation dynamic knowledge base |
CN114896202B (en) * | 2022-07-13 | 2022-11-04 | 江苏中威科技软件***有限公司 | Novel method for rapidly generating fog calculation dynamic knowledge base |
Also Published As
Publication number | Publication date |
---|---|
CN102594926B (en) | 2015-04-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102594926A (en) | Heterogeneous wireless peer-to-peer (P2P) network file sharing system and file transmission acceleration method | |
CN100544261C (en) | A kind of data distributing/obtaining method of information Network Based | |
Pantisano et al. | In-network caching and content placement in cooperative small cell networks | |
CN101567796B (en) | Multimedia network with fragmented content and business method thereof | |
CN104618506A (en) | Crowd-sourced content delivery network system, method and device | |
CN102420864B (en) | Massive data-oriented data exchange method | |
CN103581032A (en) | Router and P2P data sharing system and method | |
CN104125081A (en) | Multi-terminal cooperation system and method based on strategy | |
CN103401951B (en) | Based on the elastic cloud distribution method of peer-to-peer architecture | |
CN102740165B (en) | Peer-to-peer streaming media living broadcast system and data transmission method therefor | |
CN101079783A (en) | A method for establishing P2P channel in P2P network | |
CN101741867B (en) | Method for capturing node information in BitTorrent network | |
CN1937553B (en) | Reciprocal network data dispatching method based on flow media data frame | |
CN104935878A (en) | Large-scale network video monitoring hotspot information distribution system and distribution method thereof | |
CN101631141A (en) | P2P system and network resource management method in same | |
CN102083167A (en) | Query-based routing method for multi-sink-node wireless sensor network | |
CN105556927B (en) | Distribute data content in the private network | |
CN102035894B (en) | Distance-based state synchronization method | |
CN107800567B (en) | Method for establishing P2P streaming media network topology model of mixed mode | |
Esposito et al. | On the impact of seed scheduling in peer-to-peer networks | |
CN103036964B (en) | Internet bar server data updating method based on peer-to-peer (P2P) | |
CN114422529B (en) | Data processing method, device and medium | |
Wu et al. | A resource discovery strategy for mobile Peer-to-Peer networks | |
CN202353590U (en) | A network low-load self-configuration router facing to content delivery/subscription | |
CN104901818A (en) | Application layer multicast implementation method with integration of IP multicast in mesh coverage network and system thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150422 Termination date: 20160401 |