CN101026460A - File publishing method and system utilizing point-to-point technology - Google Patents

File publishing method and system utilizing point-to-point technology Download PDF

Info

Publication number
CN101026460A
CN101026460A CN 200610024033 CN200610024033A CN101026460A CN 101026460 A CN101026460 A CN 101026460A CN 200610024033 CN200610024033 CN 200610024033 CN 200610024033 A CN200610024033 A CN 200610024033A CN 101026460 A CN101026460 A CN 101026460A
Authority
CN
China
Prior art keywords
file
information
receiving terminal
server
tor
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
CN 200610024033
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.)
SHANGHAI SHENYAN DIGITAL SCIENCE AND TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI SHENYAN DIGITAL SCIENCE AND TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHANGHAI SHENYAN DIGITAL SCIENCE AND TECHNOLOGY Co Ltd filed Critical SHANGHAI SHENYAN DIGITAL SCIENCE AND TECHNOLOGY Co Ltd
Priority to CN 200610024033 priority Critical patent/CN101026460A/en
Publication of CN101026460A publication Critical patent/CN101026460A/en
Pending legal-status Critical Current

Links

Images

Abstract

The issuance end up loads files to be issued to seed server, and commits information including file list, terminal etc. needed to issue to point-to-point server. The point-to-point server obtains tor information of file from the seed server. Then, the point-to-point server sends the tor information of file to the receiving end of file. After receiving tor information, the receiving end looks up available subsections of file, and executes downloading on nodes in LAN first based on data provided by tor information. If nodes in LAN have no usable file, then the receiving end connects seed server to download subsections of file till all subsections are downloaded completely so as to assemble a correct file. The invention uploads the file to be issued to seed server in order to guarantee that the file is existed, integrated, and correct on the seed server. The invention ensures reliability and stability of file transmission, i.e. 100% transmission guarantee.

Description

A kind of file publishing method and system that utilizes P-2-P technology
Technical field
The present invention relates to a kind of file publishing method of computer communication field, be specifically related to a kind of file publishing method that utilizes P-2-P technology.
Background technology
In the network multimedia delivery system, the user need be in network the media file of transmission of large capacity.In order to guarantee the quality play, media file to be kept on the advertisement machine and can to accomplish just have only.Transfer files has several method in internet environment: file transfer protocol (FTP) (FTP, File Transfer Protocal), HTML (Hypertext Markup Language) (HTTP, HyperText TransferProtocal) etc., but these transmission meanss can cause server and bandwidth bottleneck, system cost is very big, and energy spread is difficult for; Another kind of file transfer solution is point-to-point (Point to Point, P2P) distribution technology, as BitTorrent, though solved big capacity documents transfer bandwidth bottleneck problem, caused often occurring in the file transfer problems such as file is imperfect, incorrect owing to plant the variation of child node and file.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of file publishing method, can realize high efficiency file distribution and transmission, and can guarantee reliability, stability, the correctness of file transfer.
For solving the problems of the technologies described above, the present invention adopts following technical scheme: a kind of file publishing method that utilizes P-2-P technology may further comprise the steps:
The file loading that step 1, issue end at first will need to issue is to seed server;
Information such as the listed files that step 2, issue end will need to issue simultaneously, terminal are submitted to the ptp services device, and the ptp services device is obtained the tor information of file from seed server simultaneously;
Step 3, ptp services device send to receiving terminal with the tor information of file;
After step 4, receiving terminal were received tor information, the data that provide according to tor information on the node in office's net or search the burst of this file available on the seed server and carry out and download, were finished up to all bursts downloads, are assembled into correct file.
In the technique scheme, the program of described ptp services device adopts the backstage service, does not have the interface requirement, and running environment is linux9.0/windows2000, if server breaks down, the backstage service can be restarted ptp services.Described tor information comprises file verification, information such as burst.
After receiving terminal is received tor information, according to the data that tor information provides, search the burst of this file available earlier on the node in office's net and carry out download, if office's net interior nodes does not have file available, receiving terminal then is connected on the seed server and downloads.Described seed server has the Internet identity, and has upstream and downstream bandwidth faster.Described issue end and receiving terminal can be at any one positions of network.
Downloaded the receiving terminal of file or its burst, other receiving terminals have been carried out file-sharing.Carry out when sharing, file or its burst must be positioned under the share directory of machine.
The present invention simultaneously also provides a kind of file distribution system that utilizes P-2-P technology: system comprises the issue end, receiving terminal, seed server, the ptp services device, the file loading that described issue end will need to issue is to seed server, tabulation with file, information such as terminal are submitted to the ptp services device, simultaneously the ptp services device tor information point that obtains file from seed server sends to receiving terminal to point server with the tor information of file, after receiving terminal is received tor information, the data that provide according to tor information, on the node in the office net or search the burst of this file available on the seed server and carry out download, finish up to all bursts downloads, be assembled into correct file.
The file that the present invention will need to issue has uploaded on the seed server in advance, then the control by the ptp services device as required with the file distribution of appointment on the terminal of appointment.Guarantee that like this file is that exist, complete, correct at least on seed server, can guarantee reliability, stability, the correctness of file transfer, i.e. 100% transmission guarantees, the file that often occurs in the existing Point-to-Point system on difference and the network is imperfect, incorrect, do not exist, and causes transmitting unwarrantable situation.
The present invention simultaneously design by optimized transmission, the most effective host-host protocol of automatic selection, selection office net successively automatically, outer net, the node that the most effective high bandwidth such as seed server provides, that has realized downloading is efficient, and efficient is higher than common interconnection network transmission methods such as FTP.
Description of drawings
Fig. 1 is a network structure of the present invention.
Fig. 2 is the workflow diagram of ptp services device.
Embodiment
The presents delivery system is made up of following each several part:
1) issue end: with media file, play and arrange, send to the terminal of appointment etc. content.Send by seed server, promptly real file content is on seed server.
2) receiving terminal: receive file and message.The file that finishes receiving can be used as seed the service of forwarding is provided.
3) ptp services device: be responsible for providing ptp services, as land, publish, node listing, message transmission, file transfers etc.
The ptp services device is to control the center service point that all issue ends are connected with receiving terminal, also is simultaneously the bridge that connects database, must being undertaken by the ptp services device alternately of all terminals (comprise issue hold, receiving terminal) and database.The ptp services device is a service routine, is the background program that does not have the interface to require, and running environment is linux9.0/windows2000.
The file structure of ptp services device is: configuration file (config), working procedure (server).
The Config file needs three contents: port of monitoring (port) and ip also have the data table name.The ip of Ip=machine, port=80, tables of data name record data structure table name, in program, should not write doomed dead according to table name, relatively good like this expansion and change.
Server program should have the backstage service support, if server failure occurs in other words, the backstage service can be restarted ptp services.
The idiographic flow of ptp services device as shown in Figure 2.
Startup of server reads parameter, connects database, listening port then; In case the login connection request is arranged, just to accept connection, and carry out login process, the words of failure reconnect, and are successful, just are registered as presence; Server receives the packet of line node, carries out respective handling, as publishes and then publish processing, is modified in wire tag, upgrades online node listing etc.; Or obtain the shared file tabulation, or send message packets, etc.
4) seed server: file content is provided, is responsible for, and can content be sent to the terminal of appointment according to publisher's requirement with the media file that the user submits to the management of putting into different categories.
Seed also is a client node in the point to point network, but it must have the Internet identity, and is the machine that has very fast upstream and downstream bandwidth.
Seed has many, and to satisfy the quick propagation of multimachine device, seed number requires with business bigger the contact arranged, and is not to be equipped with on technology realizes, but can makes something perfect even more perfect for technology, realizes the business needs of operation.
According to requirement to seed, our point-to-point module must have sharing functionality, so long as the share directory under the seed machine, when each point-to-point module starts, will come out the file-sharing under the share directory in other words, when the medium issue is done by operator like this, just do not need to have transmitted once to seed specially,, start just passable once more as long as file is put into share directory, also can use increases a refresh button, realizes the file-sharing under the share directory.
Whether seed participates in professional transmission is controlled by program, and control end and issue terminal are in same in-house network, and seed does not participate in transfer of data; In different networks, have to surpass 2 receiving station, seed participates in transfer of data.
Our initialization files should write down the position of seed point, and control end can select different seeds to participate in transmission according to the connection speed of network like this.Such as transmitting in the U.S., just should use the seed of the U.S., if in China, should select the seed of China to participate in transmission.
Characteristics of the present invention are:
100% end of transmission; 100% transmission is correct; 100% arrives.
Efficiency of transmission compares: (suppose that have a few is ADSL, 3 minutes mpeg4 media file, the data content of 15M are example.Transmit this media file from some to a plurality of points, when all points are received the needed time of this media file.)
Figure A20061002403300071
The P-2-P technology of the customization that the present invention will optimize is applied to the network multimedia information delivery system, and the efficiency of transmission of multimedia file is greatly improved.Realized the initiatively function of issue, be different from the mode of point-to-point software general on the network by client search and submission download instruction, native system adopts the mode of issue, file is sent to the client of appointment.
The most effective host-host protocol is selected in optimized transmission design automatically, selection office net successively automatically, and outer net, the node that the most effective high bandwidth such as seed server provides participates in carrying out transfer of data.
The file that native system will need to issue has uploaded on the seed server in advance, then by control end as required with the file distribution of appointment on the terminal of appointment.The benefit of doing like this, guarantee that file is that exist, complete, correct at least on seed server, can guarantee reliability, stability, the correctness of file transfer, i.e. 100% transmission guarantees, the file that often occurs in the existing P 2P system on difference and the network is imperfect, incorrect, do not exist, and causes transmitting unwarrantable situation.
The independent design of seed server, the reliability and the efficient of transmission have been guaranteed, all files on the native system terminal node must correctly exist on seed server, and correct existence is guaranteed in the search of file, and this also is different from existing point to point network service software.

Claims (16)

1. file publishing method that utilizes P-2-P technology is characterized in that may further comprise the steps:
The file loading that step 1, issue end at first will need to issue is to seed server;
Information such as the listed files that step 2, issue end will need to issue simultaneously, terminal are submitted to the ptp services device, and the ptp services device is obtained the tor information of file from seed server simultaneously;
Step 3, ptp services device send to receiving terminal with the tor information of file;
After step 4, receiving terminal were received tor information, the data that provide according to tor information on the node in office's net or search the burst of this file available on the seed server and carry out and download, were finished up to all bursts downloads, are assembled into correct file.
2. file publishing method according to claim 1, it is characterized in that: the program of described ptp services device adopts the backstage service, does not have the interface requirement, and running environment is linux9.0/windows2000, if server breaks down, the backstage service can be restarted ptp services.
3. file publishing method according to claim 1 is characterized in that: described tor information comprises file verification, information such as burst.
4. file publishing method according to claim 1, it is characterized in that: after receiving terminal is received tor information, the data that provide according to tor information, search the burst of this file available earlier on the node in local area network (LAN) and carry out download, if the local area network (LAN) interior nodes does not have file available, receiving terminal then is connected on the seed server and downloads.
5. file publishing method according to claim 1 is characterized in that: described seed server has the Internet identity, and has upstream and downstream bandwidth faster.
6. file publishing method according to claim 1 is characterized in that: described issue end and receiving terminal can be at any one positions of network.
7. file publishing method according to claim 1 is characterized in that: downloaded the receiving terminal of file or its burst, other receiving terminals are carried out file-sharing.
8. file publishing method according to claim 7 is characterized in that: when a receiving terminal was shared other receiving terminals implementations, file or its burst must be positioned under the share directory of machine.
9. file distribution system that utilizes P-2-P technology, it is characterized in that: system comprises the issue end, receiving terminal, seed server, the ptp services device, the file loading that described issue end will need to issue is to seed server, tabulation with file, information such as terminal are submitted to the ptp services device, simultaneously the ptp services device tor information point that obtains file from seed server sends to receiving terminal to point server with the tor information of file, after receiving terminal is received tor information, the data that provide according to tor information, on the node in the office net or search the burst of this file available on the seed server and carry out download, finish up to all bursts downloads, be assembled into correct file.
10. file distribution according to claim 9 system, it is characterized in that: the program of described ptp services device adopts the backstage service, does not have the interface requirement, and running environment is linux9.0/windows2000, if server breaks down, the backstage service can be restarted ptp services.
11. file distribution according to claim 9 system, it is characterized in that: described tor information comprises file verification, information such as burst.
12. file distribution according to claim 9 system, it is characterized in that: after receiving terminal is received tor information, the data that provide according to tor information, search the burst of this file available earlier on the node in local area network (LAN) and carry out download, if the local area network (LAN) interior nodes does not have file available, receiving terminal then is connected on the seed server and downloads.
13. file distribution according to claim 9 system, it is characterized in that: described seed server has the Internet identity, and has upstream and downstream bandwidth faster.
14. file distribution according to claim 9 system, it is characterized in that: described issue end and receiving terminal can be at any one positions of network.
15. file distribution according to claim 9 system is characterized in that: downloaded the receiving terminal of file or its burst, other receiving terminals are carried out file-sharing.
16. file publishing method according to claim 15 is characterized in that: when a receiving terminal was shared other receiving terminals implementations, file or its burst must be positioned under the share directory of machine.
CN 200610024033 2006-02-21 2006-02-21 File publishing method and system utilizing point-to-point technology Pending CN101026460A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200610024033 CN101026460A (en) 2006-02-21 2006-02-21 File publishing method and system utilizing point-to-point technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200610024033 CN101026460A (en) 2006-02-21 2006-02-21 File publishing method and system utilizing point-to-point technology

Publications (1)

Publication Number Publication Date
CN101026460A true CN101026460A (en) 2007-08-29

Family

ID=38744406

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610024033 Pending CN101026460A (en) 2006-02-21 2006-02-21 File publishing method and system utilizing point-to-point technology

Country Status (1)

Country Link
CN (1) CN101026460A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025444A (en) * 2009-09-09 2011-04-20 腾讯科技(深圳)有限公司 Resource publishing method, resource downloading method and data verification system
CN102164115A (en) * 2010-02-22 2011-08-24 中国电信股份有限公司 Method and system for multisource mixing file transmission
CN102377735A (en) * 2010-08-12 2012-03-14 汉王科技股份有限公司 Multimedia advertisement system and method for controlling playing of multimedia advertisement
CN101771690B (en) * 2008-12-29 2014-05-07 汤姆森许可贸易公司 Method for generating multimedia files intended to be transmitted by packets in a peer-to-peer network
CN108769247A (en) * 2018-06-17 2018-11-06 刘兴丹 A kind of method, apparatus that distributed networking is stored, transmitted

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101771690B (en) * 2008-12-29 2014-05-07 汤姆森许可贸易公司 Method for generating multimedia files intended to be transmitted by packets in a peer-to-peer network
CN102025444A (en) * 2009-09-09 2011-04-20 腾讯科技(深圳)有限公司 Resource publishing method, resource downloading method and data verification system
CN102164115A (en) * 2010-02-22 2011-08-24 中国电信股份有限公司 Method and system for multisource mixing file transmission
CN102377735A (en) * 2010-08-12 2012-03-14 汉王科技股份有限公司 Multimedia advertisement system and method for controlling playing of multimedia advertisement
CN108769247A (en) * 2018-06-17 2018-11-06 刘兴丹 A kind of method, apparatus that distributed networking is stored, transmitted
CN108769247B (en) * 2018-06-17 2021-09-21 湖南融链科技有限公司 Distributed networked storage and transmission method and device applied to monitoring camera equipment

Similar Documents

Publication Publication Date Title
CN102037678B (en) System and method for distributing a map of content available at multiple receivers
TWI253262B (en) Remote dynamic configuration of a web server to facilitate capacity on demand
KR101366364B1 (en) Content management in peer-to-peer content distribution clouds
US7155487B2 (en) Method, system and article of manufacture for data distribution over a network
CN102546794B (en) Method for directly communicating browser client with back-end server as well as gateway and communication system
US7493413B2 (en) APIS to build peer to peer messaging applications
CN100407627C (en) Method and system for realizing end-to-end data sharing
EP3439239B1 (en) Data transmission method and system based on peer-to-peer network
US20070061282A1 (en) Data network information distribution
US7970856B2 (en) System and method for managing and distributing assets over a network
EP2773080A1 (en) Sharing control system and method for network resources download information
KR100978336B1 (en) Remote access
US20100235433A1 (en) Subscription management of applications and services provided through user premises gateway devices
US20090157829A1 (en) Peer-to-peer service system and method using e-mail service
CN101159645A (en) Design method and network structure of mutual server facing to P2P application
CN102202102A (en) Network service polymerization system and polymerization method thereof based on cloud computing configuration
CN101352002A (en) Optimizing communication using scaleable peer groups
KR20020045865A (en) Method for Distributing of application software using by Mobile Communication System
JP4233328B2 (en) File download method and system using peer-to-peer technology
CN101026460A (en) File publishing method and system utilizing point-to-point technology
CN116319732A (en) Message queue centralized configuration management system and method based on RabbitMQ
CN102025782A (en) Point-to-point communication method, device and system
CN100446567C (en) Apparatus and method for realizing P2P stream broadcasting in information family appliances
CN101227335A (en) Method for upgrading software version of network cell device
US20030093491A1 (en) Data communications networks, systems, methods and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication