CN107948670A - A kind of small documents playback method and device - Google Patents

A kind of small documents playback method and device Download PDF

Info

Publication number
CN107948670A
CN107948670A CN201610892204.XA CN201610892204A CN107948670A CN 107948670 A CN107948670 A CN 107948670A CN 201610892204 A CN201610892204 A CN 201610892204A CN 107948670 A CN107948670 A CN 107948670A
Authority
CN
China
Prior art keywords
small documents
nodes
file
channel
small
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
CN201610892204.XA
Other languages
Chinese (zh)
Inventor
高静
孔韬
姜慧良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING UNION VOOLE TECHNOLOGY Co Ltd
Original Assignee
BEIJING UNION VOOLE 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 BEIJING UNION VOOLE TECHNOLOGY Co Ltd filed Critical BEIJING UNION VOOLE TECHNOLOGY Co Ltd
Priority to CN201610892204.XA priority Critical patent/CN107948670A/en
Publication of CN107948670A publication Critical patent/CN107948670A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23113Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving housekeeping operations for stored content, e.g. prioritizing content for deletion because of storage space restrictions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26258Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/632Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing using a connection between clients on a wide area network, e.g. setting up a peer-to-peer communication via Internet for retrieving video segments from the hard-disk of other client devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to data storage access field, more particularly to a kind of small documents playback method and device, it is required for re-replacing shared P2P node listings to solve the problems, such as that P2P nodes download small documents every time.This method includes:P2P nodes receive from play the first small documents switch to play the second small documents broadcasting switching command when, to P2P servers send for the second small documents query messages;P2P nodes receive the offset of the second small documents and the channel number of the second small documents subordinate channel of P2P server feedbacks, determine that the second small documents are identical with the channel number of the first small documents difference subordinate channel, and first absolute value of difference of offset of offset and the second small documents of small documents when being less than default bias amount threshold value, without updating shared node information to the request of P2P servers.

Description

A kind of small documents playback method and device
Technical field
The present invention relates to data storage access field, more particularly to a kind of small documents playback method and device.
Background technology
Peer-to-peer network (Peer-to-peer networking), i.e. peer-to-peer computer network are one kind in fellow (Peer) the Distributed Application framework of task and workload is distributed between, the participant of P2P networks shares what they were possessed A part of hardware resource (disposal ability, storage capacity, network-connectivity, printer etc.), these shared resources pass through network Service and content are provided, can directly be accessed by other peer nodes without being subjected to intermediate entities.Participant in this network It is both that the supplier and resource of resource, service and content, service and content obtain taker.
The basic ideas of content distributing network (Content Delivery Network, CDN) are to avoid interconnecting as far as possible The online bottleneck and link for being possible to influence data transmission bauds and stability, make content transmission faster, it is more stable.CDN systems System can be in real time according to the connection of network traffics and each node, load state and comprehensive to the distance of user and response time etc. Information is closed to re-direct the request of user on the service node nearest from user, it is required the purpose is to make user to obtain nearby Content, solves the situation of network congestion, improves the response speed that user accesses website.
In the distribution of media scheme of existing P2P+CDN, reliability manageability and the extension of P2P of CDN are combined Ability and the resource sharing capability of multi-user.Usually, in P2P network task distribution schedulings, big file is taken to carry out stripping and slicing, Different P2P nodes are stored, and small documents are directly stored in the scheme of P2P nodes.Further, a P2P node needs When downloading a certain small documents, need to know a collection of shared P2P node listings that the data can be provided first, then to sharing P2P Each P2P nodes in node listing carry out network and burrow, to establish the communication between each P2P nodes.Due to sharing P2P nodes The P2P nodes that list includes may change at any time, therefore using speed of download during pure P2P modes downloading data and stabilization Property cannot be guaranteed that there is P2P nodes rising for fast and stable to broadcast speed, to have ensured to broadcast speed, a multicast data general at this time can use CDN node server download, rise broadcast after, be downloaded data using P2P modes as far as possible to save the band of CDN node server Wide resource, i.e., from data needed for the selection P2P node downloads of shared P2P node listings.
Especially, P2P nodes download small documents and are required for re-replacing shared P2P node listings every time, re-start net Network burrows, and acts to broadcast small documents and be required for travelling frequently over CDN node server having carried out sowing loads every time, occupancy massive band width provides Source.Increase the management complexity of P2P nodes, it is necessary to the small documents row safeguarded in addition, more small documents are stored in P2P nodes Table is complex and committed memory expense is larger.
The content of the invention
The object of the present invention is to provide a kind of small documents playback method and device, and small text is downloaded every time to solve P2P nodes The problem of part is required for re-replacing shared P2P node listings.
The purpose of the present invention is what is be achieved through the following technical solutions:
In a first aspect, the present invention provides a kind of small documents playback method, including:
P2P nodes receive from play the first small documents switch to play the second small documents broadcasting switching command when, The query messages for the second small documents are sent to P2P servers, first small documents and the second small documents are different Small documents;
The P2P nodes receive the offset of the second small documents of the P2P server feedbacks and second small documents The channel number of subordinate channel;
The P2P nodes determine the channel number phase of second small documents and first small documents difference subordinate channel Together, and the offset of first small documents and the absolute value of the difference of the offset of second small documents are less than default bias When measuring threshold value, without asking renewal shared node information to the P2P servers;
Wherein, the offset of first small documents refers to positional information of first small documents in aggregate file, The aggregate file includes at least two small documents, and the channel number of at least two small documents subordinate channel is identical;It is described common Nodal information is enjoyed to be used to indicate at least one target P2P nodes, the aggregate file of at least two target P2P nodes storage Data segment is of different sizes, and the data segment of each target P2P nodes storage includes the data of first small documents.
Second aspect, the present invention provide a kind of small documents playback method, including:
P2P servers receive the first playing request for small documents that P2P nodes are sent;
The P2P servers release news what is stored with multiple P2P nodes according to the channel of the small documents subordinate channel Data segment determines the shared node information for the small documents;Wherein, the small documents are contained in aggregate file, described poly- Closing file includes at least two small documents, and the channel number of at least two small documents subordinate channel is identical;
The shared node information is fed back to the P2P nodes by the P2P servers;
Wherein, the shared node information is used to indicate at least one target P2P nodes, at least two target P2P nodes The data segment of the aggregate file of storage is of different sizes, and the data segment of each target P2P nodes storage include it is described small The data of file.
Optionally, the channel releases news including channel number, the corresponding files-designated of at least two small documents Knowledge, offset and file size, wherein, the offset of each small documents refers to position of the small documents in the aggregate file Information.
Optionally, before the first playing request for small documents that P2P servers receive that P2P nodes are sent, also wrap Include:
P2P servers release news according to the channel of the small documents subordinate channel, determine the file of the aggregate file Size;
The P2P servers receive the file storage request of multiple P2P nodes transmissions, each file storage request carrying pair Answer the disk remaining space size of P2P nodes;
Performed for i-th of P2P node for sending file storage request, i >=2, the P2P servers:
According to the storage information of the i-th -1 data segment, the described i-th P2P nodes institute for sending file storage request is determined Initial position of i-th of the data segment that need to be stored in the aggregate file, the i-th -1 P2P section for sending file storage request Point stores the i-th -1 data segment;
According to the disk remaining space size of the described i-th P2P node for sending file storage request, described i-th is determined End position of a data segment in the aggregate file;
Determined described i-th according to initial position of i-th of the data segment in the aggregate file and end position The storage information of data segment, described i-th P2P node for sending file storage request of instruction store i-th of data segment.
Optionally, the P2P servers release news and multiple P2P nodes according to the channel of the small documents subordinate channel The data segment of storage determines the shared node information for the small documents, including:
The P2P servers are according to the broadcasting strings of the small documents carried in first playing request, described in inquiry Channel releases news the channel number of the definite small documents subordinate channel, and by the channel number of the small documents subordinate channel, institute State the offset of small documents and file size feeds back to the P2P nodes;
The P2P servers receive the second playing request that the P2P nodes are sent, and second playing request carries institute State the channel number of small documents subordinate channel and the current play position of the small documents;
The data segment and the current play position of the small documents that the P2P servers are stored according to multiple P2P nodes are true Surely the data segment stored includes the P2P nodes of the data of the current play position of the small documents as target P2P nodes, obtains Obtain shared node information.
The third aspect, the present invention provide a kind of small documents playback method, including:
At least two small documents are formed an aggregate file by publisher server, and determine the offset of each small documents;
The aggregate file is released news and notifies to service to P2P by the publisher server as a channel generation channel Device;
Wherein, the channel release news including channel number, the corresponding file identification of at least two small documents, Offset and file size, wherein, the offset of each small documents refers to position letter of the small documents in the aggregate file Breath.
Fourth aspect, the present invention provide a kind of small documents playing device, including:
Transmit-Receive Unit, for receive from play the first small documents switch to play the second small documents broadcasting switching refer to When making, to P2P servers send for the second small documents query messages, first small documents and the second small documents for mutually not Identical small documents;
And receive the offset of the second small documents of the P2P server feedbacks and the second small documents subordinate channel Channel number;
Processing unit, for determining the channel number phase of second small documents and first small documents difference subordinate channel Together, and the offset of first small documents and the absolute value of the difference of the offset of second small documents are less than default bias When measuring threshold value, without asking renewal shared node information to the P2P servers;
Wherein, the offset of first small documents refers to positional information of first small documents in aggregate file, The aggregate file includes at least two small documents, and the channel number of at least two small documents subordinate channel is identical;It is described common Nodal information is enjoyed to be used to indicate at least one target P2P nodes, the aggregate file of at least two target P2P nodes storage Data segment is of different sizes, and the data segment of each target P2P nodes storage includes the data of first small documents.
5th aspect, the present invention provide a kind of small documents playing device, including:
Transmit-Receive Unit, for receiving the first playing request for small documents of P2P nodes transmission;
Processing unit, for releasing news what is stored with multiple P2P nodes according to the channel of the small documents subordinate channel Data segment determines the shared node information for the small documents;Wherein, the small documents are contained in aggregate file, described poly- Closing file includes at least two small documents, and the channel number of at least two small documents subordinate channel is identical;
The Transmit-Receive Unit, is additionally operable to the shared node information feeding back to the P2P nodes;
Wherein, the shared node information is used to indicate at least one target P2P nodes, at least two target P2P nodes The data segment of the aggregate file of storage is of different sizes, and the data segment of each target P2P nodes storage include it is described small The data of file.
Optionally, the channel releases news including channel number, the corresponding files-designated of at least two small documents Knowledge, offset and file size, wherein, the offset of each small documents refers to position of the small documents in the aggregate file Information.
Optionally, the processing unit, is additionally operable to:
Before the first playing request for small documents that P2P nodes are sent is received, the frequency according to belonging to the small documents The channel in road releases news, and determines the file size of the aggregate file;
The file that multiple P2P nodes transmissions are received by the Transmit-Receive Unit stores request, and each file storage request is taken Disk remaining space size with corresponding P2P nodes;
For i-th of P2P node for sending file storage request, i >=2, the processing unit, is additionally operable to:
According to the storage information of the i-th -1 data segment, the described i-th P2P nodes institute for sending file storage request is determined Initial position of i-th of the data segment that need to be stored in the aggregate file, the i-th -1 P2P section for sending file storage request Point stores the i-th -1 data segment;
According to the disk remaining space size of the described i-th P2P node for sending file storage request, described i-th is determined End position of a data segment in the aggregate file;
Determined described i-th according to initial position of i-th of the data segment in the aggregate file and end position The storage information of data segment, indicates that the described i-th P2P node for sending file storage request stores institute by the Transmit-Receive Unit State i-th of data segment.
Optionally, release news the data segment stored with multiple P2P nodes according to the channel of the small documents subordinate channel When determining the shared node information for the small documents, the processing unit, is specifically used for:
According to the broadcasting string of the small documents carried in first playing request, inquire about the channel and release news really The channel number of the fixed small documents subordinate channel, and by the offset of the channel number, the small documents of the small documents subordinate channel Amount and file size feed back to the P2P nodes by the Transmit-Receive Unit;
The Transmit-Receive Unit, is additionally operable to receive the second playing request that the P2P nodes are sent, second playing request Carry the channel number of the small documents subordinate channel and the current play position of the small documents;
The processing unit, is specifically used for:The data segment and the current of the small documents stored according to multiple P2P nodes is broadcast Put location determination storage data segment include the small documents current play position data P2P nodes as target P2P nodes, obtain shared node information.
6th aspect, the present invention provide a kind of small documents playing device, including:
Processing unit, at least two small documents to be formed an aggregate file, and determines the offset of each small documents Amount;
Transmit-Receive Unit, notifies to service to P2P for the aggregate file to be released news as a channel generation channel Device;
Wherein, the channel release news including channel number, the corresponding file identification of at least two small documents, Offset and file size, wherein, the offset of each small documents refers to position letter of the small documents in the aggregate file Breath.
It is a polymerization text by multiple small documents logical aggregates in conclusion using method provided in an embodiment of the present invention Part, the corresponding content of data segment in the aggregate file of each P2P nodes storage may span across several small documents, therefore, when cutting It is that offset differs less two small documents in aggregate file to change two front and rear small documents, and P2P nodes are updated without asking Shared node information, can directly play the file after switching.In compared with the prior art, it is each play small documents be both needed to CDN node server has asked multicast data, saves the bandwidth resources of CDN server, and without asking to update to P2P servers Shared node information, eliminates the node indicated into renewal shared node information and carries out the step of network burrows and and P2P The signalling interactive process of server, enables two small documents before and after switching to realize smooth broadcasting.
Brief description of the drawings
Fig. 1 is in the general introduction flow chart of publisher server side small documents playback method in the embodiment of the present invention;
Fig. 2 is the schematic diagram of aggregate file in the embodiment of the present invention;
Fig. 3 is in the general introduction flow chart of P2P server side small documents playback methods in the embodiment of the present invention;
Fig. 4 is the schematic diagram of the data segment that multiple P2P nodes store aggregate file in the embodiment of the present invention;
Fig. 5 is in the general introduction flow chart of P2P nodes side small documents playback method in the embodiment of the present invention;
Fig. 6 is the particular flow sheet that P2P nodes play video in the embodiment of the present invention;
Fig. 7 is one of general introduction flow chart of small file playing device of the embodiment of the present invention;
Fig. 8 is the two of the general introduction flow chart of small file playing device of the embodiment of the present invention;
Fig. 9 is the three of the general introduction flow chart of small file playing device of the embodiment of the present invention.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, is not whole embodiments.
It should be understood that the embodiment of the present invention is applied to P2P+CDN networks, wherein, P2P networks refer to the P2P of centralization Network, P2P servers can be tracker servers, and usually, tracker servers can save for each P2P managed Point provides the services such as node guiding, node scheduling, task distribution control.Signified P2P nodes can be in the embodiment of the present invention Various client devices, such as set-top box etc..Each P2P nodes have a Universally Unique Identifier (Universally Unique Identifier, UUID).Signified small documents refer to the file less than 50M in the embodiment of the present invention.
As shown in fig.1, the embodiment of the present invention provides a kind of small documents playback method, in publisher server side, this method Including:
Step 100:At least two small documents are formed an aggregate file by publisher server, and determine each small documents Offset.
Wherein, channel release news including channel number, the corresponding file identification of at least two small documents, offset and File size, wherein, the offset of each small documents refers to positional information of the small documents in aggregate file.
It should be clear that it is here logical aggregate by the polymerization methods of at least two small documents composition aggregate file.
For example, the small documents in aggregate file can be same special edition, publisher server is by the difference in a special edition Song forms an aggregate file by the sequencing of list of songs, and a channel is issued as in P2P channel publication databases, And identified using unique channel number, record file identification, offset and the file size of each small documents.
In another example the small documents in aggregate file can be the different songs of same singer, publisher server will be same The time sequencing that the different songs of a singer are issued according to song forms an aggregate file, in P2P channel publication databases A channel is issued as, and is identified with unique channel number, file identification, offset and the file for recording each small documents are big It is small.
In another example the small documents in aggregate file can be the different collection of dramas of same playlet, as shown in fig.2, issue clothes Business device is issued playlet A as a channel, wherein, each collection of drama is arranged to make up an aggregate file by playing sequence.Polymerization File includes multiple collection of dramas by playing sequence arrangement, and the information of each collection of drama includes the file identification of the collection of drama, such as MD5 (Message Digest Algorithm, the 5th edition Message Digest 5), file size, offset, in CDN node server In download address, and the channel number of the collection of drama subordinate channel.Assuming that the first file size integrated is 10M, the file of the second collection Size is 12M, and the 3rd file size integrated is 11M, then the offset of the first collection is 0, and the offset of the second collection is 10, the 3rd collection Offset be 22.
Step 110:Institute's aggregate file is released news and notifies to take to P2P by publisher server as a channel generation channel Business device.
In addition, P2P servers can read the corresponding channel issue letter of each channel from P2P channel publication databases Breath.
As shown in fig.3, the embodiment of the present invention provides a kind of small documents playback method, in P2P server sides, this method bag Include:
Step 300:P2P servers receive the first playing request for small documents that P2P nodes are sent.
Step 310:P2P servers release news what is stored with multiple P2P nodes according to the channel of small documents subordinate channel Data segment determines the shared node information for small documents.
Wherein, small documents are contained in aggregate file, and aggregate file includes at least two small documents, at least two small documents The channel number of subordinate channel is identical.
Step 320:Shared node information is fed back to P2P nodes by P2P servers.
Wherein, shared node information is used to indicate at least one target P2P nodes, the storage of at least two target P2P nodes Aggregate file data segment it is of different sizes, and the data segment of each target P2P nodes storage includes the data of small documents.
Before step 300 is performed, P2P servers release news according to the channel of small documents subordinate channel, determine polymerization The file size of file.Then, the file that P2P servers are sent according to the multiple P2P nodes received stores request, Mei Gewen Part storage request carries the disk remaining space size of corresponding P2P nodes;
For the 1st P2P node for sending file storage request, exist by the 1st data segment of the starting point of aggregate file Initial position in aggregate file, P2P servers determine the 1st data segment according to the disk remaining space size of the P2P nodes End position in aggregate file, wherein, the size of the 1st data segment is less than or equal to the 1st and sends file storage request The disk remaining space size of P2P nodes.P2P servers determine the storage information of the 1st data segment, indicate that the 1st sends text The P2P nodes of part storage request store the 1st data segment.
Further, performed for i-th of P2P node for sending file storage request, i >=2, P2P servers:
According to the storage information of the i-th -1 data segment, deposited needed for the P2P nodes for determining i-th of transmission file storage request Initial position of i-th of data segment in aggregate file of storage, the i-th -1 P2P nodes storage for sending file storage request the I-1 data segment;
According to the disk remaining space size of i-th of P2P node for sending file storage request, i-th of data segment is determined End position in aggregate file;
The storage of i-th of data segment is determined according to initial position of i-th of data segment in aggregate file and end position Information, indicates that i-th of P2P node for sending file storage request stores i-th of data segment.
For example, the size of aggregate file is 100M, the disk of the 1st P2P node for sending file storage request is remaining empty Between size be 20M, then the size of the 1st data segment need to be less than or equal to 20M, it is assumed that the P2P for setting disk remaining space to be less than 20M Remaining disk space size is 2M after node storage data segment, then the size of the 1st data segment is 18M, i.e., by aggregate file Preceding 18M data are as the 1st data segment.P2P servers indicate that the 1st P2P node for sending file storage request stores the 1st data Section.The storage information of 1st data segment is 1~18M, at this time, as shown in figure 4, the corresponding storage content of the 1st data segment includes text A part for part 1, file 2 and file 3.Therefore, the 1st P2P node for sending file storage request no longer preserves multiple respectively Small documents, but a data segment in aggregate file is preserved according to itself disk remaining space size.Then, when the 1st hair After sending the P2P nodes of file storage request to store the 1st data segment, P2P servers according to the storage information of the 1st data segment, It is 19M to determine the 2nd initial position of the data segment in aggregate file, it is assumed that the 2nd P2P section for sending file storage request The disk remaining space size of point is 17M, and the 2nd end position of the data segment in aggregate file can be set to the 33, i.e., the 2nd number It is less than 17M according to the size 15M of section, P2P servers determine the storage information of the 2nd data segment, indicate that the 2nd transmission file storage please The P2P nodes asked store the 2nd data segment.The storage information of 2nd data segment is 19~33M, and so on.As shown in figure 3, the A part for a part of the corresponding storage content of 2 data segments including file 3, file 4 and file 5.
It should be understood that the P2P nodes of different disk remaining space size can be set according to disk remaining space size The remaining disk space size after data segment is stored.For example, P2P node storage data segment of the disk remaining space less than 20M Remaining disk space size is 2M afterwards, and P2P node of the disk remaining space less than 100M stores remaining disk after data segment Space size is 15M etc..
As shown in figure 4, the corresponding storage content of k-th of data segment includes a part, file 2, file 3 and the text of file 1 A part for part 4.Therefore, aggregate file can be divided into according to the disk space surplus of each P2P nodes multiple by P2P servers Data segment, each P2P nodes preserve a corresponding data segment respectively, and aggregate file is stored repeatedly, when the text for reaching setting When part stores redundancy upper limit value, the P2P nodes without indicating to send file storage request again preserve this document.In addition, P2P takes Business device can monitor the corresponding file storage redundancy of each aggregate file in real time, if the corresponding file storage of a certain aggregate file When redundancy reaches the file storage redundancy lower limit of setting, then the P2P nodes of instruction transmission file storage request are protected again Deposit the aggregate file.
Alternatively, it can be used for step 310 but be not limited to following scheme:
Scheme 1:P2P servers are inquired about belonging to small documents according to the broadcasting string of the small documents carried in the first playing request The channel of channel releases news the channel number of definite small documents subordinate channel,.P2P servers are stored according to multiple P2P nodes Data segment, that is, inquire about each data segment storage information that the channel corresponds to aggregate file, the data segment for determining to store includes small The P2P nodes of file data obtain shared node information, or determine that the data segment of storage includes as target P2P nodes Small documents data and distance P2P meshed networks distance are less than the P2P nodes of default network distance threshold value as target P2P nodes, Obtain shared node information.
For example, P2P servers determine that small documents A corresponds to channel 5, P2P according to the first playing request that P2P nodes 1 are sent Server lookup channel 5 corresponds to each data segment storage information of aggregate file, and the offset of small documents A is 12, small documents A's File size is 10M, then P2P server lookups are stored with the P2P nodes of 12~21M data in aggregate file.Assuming that P2P is saved Point 3 is stored with 10~35M in aggregate file, and P2P nodes 7 are stored with 3~22M in aggregate file, and P2P nodes 13 are deposited 5~26M in aggregate file is contained, then P2P servers are using P2P nodes 3, P2P nodes 7, P2P nodes 13 as target P2P Node, obtains shared node information.
Scheme 2:P2P servers are determined after receiving the first playing request that P2P nodes are sent, by shared node information Before feeding back to P2P nodes, P2P servers inquire about small documents according to the broadcasting string of the small documents carried in the first playing request The channel of subordinate channel releases news the channel number of definite small documents subordinate channel, and by the channel number of the channel, small documents Offset and file size feed back to P2P nodes.P2P nodes determine small documents according to the offset and file size of small documents Current play position, to P2P servers send the second playing request.P2P servers receive second that P2P nodes are sent and play Request, the second playing request carry the current play position of channel number and small documents.The P2P server lookups channel corresponds to polymerization Each data segment storage information of file, the data segment for determining storage according to the current play position of small documents include small documents Current play position data P2P nodes as target P2P nodes, obtain shared node information.
From the foregoing, it will be observed that since P2P nodes know the channel number of small documents subordinate channel, and the offset and text of small documents Part size, therefore, P2P nodes are capable of determining that the current play position of small documents, obtain more accurate shared node information.
Alternatively, after shared node information is fed back to P2P nodes by P2P servers, P2P servers receive P2P nodes The query messages for other small documents sent, offset and the small text of the P2P servers to the P2P node feeding backs small documents The channel number of part subordinate channel, while can also feed back the file size of the small documents.
In addition, after shared node information is fed back to P2P nodes by P2P servers, P2P monitoring servers save for P2P Point plays the P2P interstitial contents that small documents provide download service, when determining that P2P interstitial contents are less than preset number, to P2P nodes Send shared node fresh information.Alternatively, when P2P nodes determine that P2P interstitial contents are less than preset number, it is anti-to P2P servers Present the channel number of currently playing small documents subordinate channel and the offset of the currently playing small documents, P2P servers according to These information send shared node fresh information to P2P nodes.
As shown in fig.5, the embodiment of the present invention provides a kind of small documents playback method, in P2P nodes side, this method bag Include:
Step 500:P2P nodes switch to the broadcasting switching of the second small documents of broadcasting receiving from the first small documents of broadcasting During instruction, the query messages for the second small documents, the first small documents and the second small documents are sent as mutual not phase to P2P servers Same small documents.
Step 510:P2P nodes are received belonging to offset and the second small documents of the second small documents of P2P server feedbacks The channel number of channel.
Step 520:P2P nodes determine that the second small documents are identical with the channel number of the first small documents difference subordinate channel, and When the offset of first small documents and the absolute value of the difference of the offset of the second small documents are less than default bias amount threshold value, without Renewal shared node information is asked to P2P servers.
Wherein, the offset of the first small documents refers to positional information of first small documents in aggregate file, aggregate file Including at least two small documents, the channel number of at least two small documents subordinate channels is identical;Shared node information is used to indicate extremely A few target P2P node, the data segment of the aggregate file of at least two target P2P nodes storage is of different sizes, and each mesh The data segment of mark P2P node storages includes the data of the first small documents.
Therefore, when two front and rear small documents of switching are that offset differs less two small documents, P2P in aggregate file Node can directly play the file after switching without asking renewal shared node information.
Alternatively, the channel number and the first small documents of the first small documents subordinate channel are obtained for step 520, P2P nodes Offset method include but not limited to it is following several:
Scheme 1:P2P nodes can receive to switch to from the first small documents of broadcasting in P2P nodes plays the second small documents After playing switching command, the query messages for the first small documents are sent to P2P servers, for the inquiry of the first small documents Message and query messages for the second small documents can be sent together, or be sent respectively.P2P nodes receive P2P servers The offset of the first small documents and the channel number of the first small documents subordinate channel of feedback.
Scheme 2:P2P nodes receive from play the first small documents switch to play the second small documents broadcasting switching refer to Before order, P2P nodes receive the play instruction for the first small documents, and P2P nodes send the first broadcasting to P2P servers please Ask, the first playing request is used to ask the shared node information for the first small documents, and P2P nodes receive P2P server feedbacks Shared node information.Shared node information can also carry the first small documents subordinate channel channel number and the first small documents it is inclined Shifting amount.
Scheme 3:The play instruction for the first small documents is received in P2P nodes, sending the first broadcasting to P2P servers please Before asking, the query messages for the first small documents are sent to P2P servers, P2P nodes receive the first of P2P server feedbacks The channel number of the offset of small documents and the first small documents subordinate channel.
From the foregoing, it will be observed that the channel number of the first small documents subordinate channel and the offset of the first small documents can be in P2P nodes Obtained after sending the first playing request, these message are carried in shared node information, are also individually sent by P2P servers.Or Person, these message can also receive in P2P nodes and the broadcasting switching for playing the second small documents switched to from the first small documents of broadcasting After instruction, by sending the query messages acquisition for the first small documents to P2P servers.
Illustrate that P2P nodes play the idiographic flow of video with reference to Fig. 6.
S601:P2P nodes 1 receive the play instruction that user is directed to small documents 1, parse the broadcasting string of small documents 1, determine bag Include P2P and download mark.
P2P downloads mark and is used to show to download played data using P2P modes when playing small documents 1.
S602:P2P nodes 1 determine the CDN download address of small documents 1, to rising for CDN node server request small documents 1 Multicast data.
S603:CDN node server sends a multicast data for small documents 1 to P2P nodes 1.
S604:P2P nodes 1 send the first playing request to P2P servers, and the first playing request is used to ask to be directed to small text The shared node information of part 1.
S605:P2P servers feed back the channel number of 1 subordinate channel of small documents, the offset of small documents 1 and file size To P2P nodes 1.
S606:P2P nodes 1 determine the current play position of small documents 1 according to the offset and file size of small documents 1, And send the second playing request to P2P servers, wherein, the second playing request carry 1 subordinate channel of small documents channel number and The current play position of small documents 1.
S607:Shared node information is fed back to P2P nodes 1 by P2P servers according to the second playing request.
S608:P2P nodes 1 carry out network to node therein according to shared node information and burrow, and the request of P2P nodes 1 is logical Cross the data that P2P nodes 2 download small documents 1.
P2P nodes 2 are the node of shared node information instruction, in addition, P2P nodes 1 can pass through multiple shared nodes at the same time The node indicated in information downloads the data of small documents 1, omits and is not drawn into herein.
S609:P2P nodes 2 provide the data of small documents 1 to P2P nodes 1.
S610:P2P nodes 1 receive user and the broadcasting switching command for playing small documents 2 are switched to from broadcasting small documents 1.
S611:P2P nodes 1 send the query messages for the second small documents to P2P servers.
S612:P2P nodes 1 receive the frequency of 2 subordinate channel of offset and small documents of the small documents 2 of P2P server feedbacks Taoist monastic name.
S613:P2P nodes determine that small documents 2 are identical with the channel number of 1 corresponding channel of small documents, and small documents 1 The absolute value of difference of offset of offset and small documents 2 when being less than default bias amount threshold value, without being asked to P2P servers Seek renewal shared node information.
S614:The request of P2P nodes 1 continues to download the data of small documents 2 by P2P nodes 2.
S615:P2P nodes 2 provide the data of small documents 2 to P2P nodes 1.
As shown in Figure 4, the corresponding content of data segment in the aggregate file of each P2P nodes storage may span across several small File, therefore, when the small documents 2 of switching are identical with 1 channel number of small documents, and the offset of small documents 1 and the offset of small documents 2 The absolute value of the difference of amount is less than default bias amount threshold value, shows that P2P nodes 1 play continued broadcasting small documents 2 after small documents 1, very may be used The data that the node indicated in shared node information is stored with small documents 2 at the same time, therefore, nothing can be obtained when playing small documents 1 Renewal shared node information need to be asked to P2P servers.In compared with the prior art, each small documents that play are both needed to save to CDN Point server has asked multicast data, saves the bandwidth resources of CDN server, and without shared to the request renewal of P2P servers Nodal information, eliminates the node indicated into renewal shared node information and carries out the step of network burrows and serviced with P2P The signalling interactive process of device, the small documents 1 and small documents 2 for enabling to meet switching condition, which are realized, to be made to switch from playing small documents 1 Smooth broadcasting can be realized during to broadcasting small documents 2.
In addition, the small documents 2 that ought switch are different from 1 channel number of small documents, it is necessary to shared node information be re-replaced, with showing There is processing procedure in technology identical, repeat no more.
As shown in fig.7, the present invention provides a kind of small documents playing device, including:
Transmit-Receive Unit 70, for receiving the broadcasting switching that the second small documents of broadcasting are switched to from the first small documents of broadcasting During instruction, the query messages for the second small documents are sent to P2P servers, first small documents and the second small documents are mutual Different small documents;
And receive the offset of the second small documents of the P2P server feedbacks and the second small documents subordinate channel Channel number;
Processing unit 71, for determining the channel number of second small documents and first small documents difference subordinate channel It is identical, and the offset of first small documents and the absolute value of the difference of the offset of second small documents are inclined less than default During shifting amount threshold value, without asking renewal shared node information to the P2P servers;
Wherein, the offset of first small documents refers to positional information of first small documents in aggregate file, The aggregate file includes at least two small documents, and the channel number of at least two small documents subordinate channel is identical;It is described common Nodal information is enjoyed to be used to indicate at least one target P2P nodes, the aggregate file of at least two target P2P nodes storage Data segment is of different sizes, and the data segment of each target P2P nodes storage includes the data of first small documents.
As shown in fig.8, the present invention provides a kind of small documents playing device, including:
Transmit-Receive Unit 80, for receiving the first playing request for small documents of P2P nodes transmission;
Processing unit 81, stores for being released news according to the channel of the small documents subordinate channel with multiple P2P nodes Data segment determine shared node information for the small documents;Wherein, the small documents are contained in aggregate file, described Aggregate file includes at least two small documents, and the channel number of at least two small documents subordinate channel is identical;
The Transmit-Receive Unit 80, is additionally operable to the shared node information feeding back to the P2P nodes;
Wherein, the shared node information is used to indicate at least one target P2P nodes, at least two target P2P nodes The data segment of the aggregate file of storage is of different sizes, and the data segment of each target P2P nodes storage include it is described small The data of file.
Optionally, the channel releases news including channel number, the corresponding files-designated of at least two small documents Knowledge, offset and file size, wherein, the offset of each small documents refers to position of the small documents in the aggregate file Information.
Optionally, the processing unit 81, is additionally operable to:
Before the first playing request for small documents that P2P nodes are sent is received, the frequency according to belonging to the small documents The channel in road releases news, and determines the file size of the aggregate file;
The file that multiple P2P nodes transmissions are received by the Transmit-Receive Unit 80 stores request, each file storage request Carry the disk remaining space size of corresponding P2P nodes;
For i-th of P2P node for sending file storage request, i >=2, the processing unit 81, is additionally operable to:
According to the storage information of the i-th -1 data segment, the described i-th P2P nodes institute for sending file storage request is determined Initial position of i-th of the data segment that need to be stored in the aggregate file, the i-th -1 P2P section for sending file storage request Point stores the i-th -1 data segment;
According to the disk remaining space size of the described i-th P2P node for sending file storage request, described i-th is determined End position of a data segment in the aggregate file;
Determined described i-th according to initial position of i-th of the data segment in the aggregate file and end position The storage information of data segment, indicates that the described i-th P2P node for sending file storage request stores by the Transmit-Receive Unit 80 I-th of data segment.
Optionally, release news the data segment stored with multiple P2P nodes according to the channel of the small documents subordinate channel When determining the shared node information for the small documents, the processing unit 81, is specifically used for:
According to the broadcasting string of the small documents carried in first playing request, inquire about the channel and release news really The channel number of the fixed small documents subordinate channel, and by the offset of the channel number, the small documents of the small documents subordinate channel Amount and file size feed back to the P2P nodes by the Transmit-Receive Unit;
The Transmit-Receive Unit 80, is additionally operable to receive the second playing request that the P2P nodes are sent, second broadcasting please Ask and carry the channel number of the small documents subordinate channel and the current play position of the small documents;
The processing unit 81, is specifically used for:According to multiple P2P nodes store data segment and the small documents it is current Play position determines that the data segment of storage includes the P2P nodes of the data of the current play position of the small documents as target P2P nodes, obtain shared node information.
As shown in fig.9, the present invention provides a kind of small documents playing device, including:
Processing unit 90, at least two small documents to be formed an aggregate file, and determines the inclined of each small documents Shifting amount;
Transmit-Receive Unit 91, notifies to take to P2P for the aggregate file to be released news as a channel generation channel Business device;
Wherein, the channel release news including channel number, the corresponding file identification of at least two small documents, Offset and file size, wherein, the offset of each small documents refers to position letter of the small documents in the aggregate file Breath.
It is a polymerization text by multiple small documents logical aggregates in conclusion using method provided in an embodiment of the present invention Part, the corresponding content of data segment in the aggregate file of each P2P nodes storage may span across several small documents, therefore, when cutting It is that offset differs less two small documents in aggregate file to change two front and rear small documents, and P2P nodes are updated without asking Shared node information, can directly play the file after switching.In compared with the prior art, it is each play small documents be both needed to CDN node server has asked multicast data, saves the bandwidth resources of CDN server, and without asking to update to P2P servers Shared node information, eliminates the node indicated into renewal shared node information and carries out the step of network burrows and and P2P The signalling interactive process of server, enables two small documents before and after switching to realize smooth broadcasting.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer in one or more which includes computer usable program code The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or square frame in journey and/or square frame and flowchart and/or the block diagram.These computer programs can be provided The processors of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices, which produces, to be used in fact The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided and is used for realization in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a square frame or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then can make these embodiments other change and modification.So appended claims be intended to be construed to include it is excellent Select embodiment and fall into all change and modification of the scope of the invention.
Obviously, those skilled in the art can carry out the embodiment of the present invention various modification and variations without departing from this hair The spirit and scope of bright embodiment.In this way, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention And its within the scope of equivalent technologies, then the present invention is also intended to including these modification and variations.

Claims (12)

  1. A kind of 1. small documents playback method, it is characterised in that including:
    P2P nodes receive from play the first small documents switch to play the second small documents broadcasting switching command when, to P2P Server sends the query messages for the second small documents, and first small documents and the second small documents are mutually different small text Part;
    The P2P nodes are received belonging to offset and second small documents of the second small documents of the P2P server feedbacks The channel number of channel;
    The P2P nodes determine that second small documents are identical with the channel number of first small documents difference subordinate channel, and The offset of first small documents and the absolute value of the difference of the offset of second small documents are less than default bias amount threshold During value, without asking renewal shared node information to the P2P servers;
    Wherein, the offset of first small documents refers to positional information of first small documents in aggregate file, described Aggregate file includes at least two small documents, and the channel number of at least two small documents subordinate channel is identical;The shared section Point information is used to indicate at least one target P2P nodes, the data of the aggregate file of at least two target P2P nodes storage Section is of different sizes, and the data segment of each target P2P nodes storage includes the data of first small documents.
  2. A kind of 2. small documents playback method, it is characterised in that including:
    P2P servers receive the first playing request for small documents that P2P nodes are sent;
    The data that the P2P servers release news with the storage of multiple P2P nodes according to the channel of the small documents subordinate channel Section determines the shared node information for the small documents;Wherein, the small documents are contained in aggregate file, the polymerization text Part includes at least two small documents, and the channel number of at least two small documents subordinate channel is identical;
    The shared node information is fed back to the P2P nodes by the P2P servers;
    Wherein, the shared node information is used to indicate at least one target P2P nodes, the storage of at least two target P2P nodes The aggregate file data segment it is of different sizes, and the data segment of each target P2P nodes storage includes the small documents Data.
  3. 3. method as claimed in claim 2, it is characterised in that the channel releases news including channel number, described at least two A small documents corresponding file identification, offset and file size, wherein, the offset of each small documents refers to the small text Positional information of the part in the aggregate file.
  4. 4. method as claimed in claim 2 or claim 3, it is characterised in that it is small to receive being directed to for P2P nodes transmission in P2P servers Before first playing request of file, further include:
    P2P servers release news according to the channel of the small documents subordinate channel, determine the file size of the aggregate file;
    The P2P servers receive the file storage request that multiple P2P nodes are sent, and each file storage request, which carries, to be corresponded to The disk remaining space size of P2P nodes;
    Performed for i-th of P2P node for sending file storage request, i >=2, the P2P servers:
    According to the storage information of the i-th -1 data segment, determine to deposit needed for the described i-th P2P node for sending file storage request Initial position of i-th of the data segment of storage in the aggregate file, the i-th -1 P2P node for sending file storage request are deposited Store up the i-th -1 data segment;
    According to the disk remaining space size of the described i-th P2P node for sending file storage request, i-th of number is determined According to end position of the section in the aggregate file;
    I-th of data are determined according to initial position of i-th of the data segment in the aggregate file and end position The storage information of section, described i-th P2P node for sending file storage request of instruction store i-th of data segment.
  5. 5. method as claimed in claim 2, it is characterised in that the P2P servers are according to the small documents subordinate channel Channel releases news to be determined to be directed to the shared node information of the small documents with the data segment of multiple P2P nodes storage, including:
    The P2P servers inquire about the channel according to the broadcasting string of the small documents carried in first playing request Release news the channel number of the definite small documents subordinate channel, and by the channel number of the small documents subordinate channel, described small The offset and file size of file feed back to the P2P nodes;
    The P2P servers receive the second playing request that the P2P nodes are sent, and second playing request carries described small The current play position of the channel number of file subordinate channel and the small documents;
    The data segment and the current play position of the small documents that the P2P servers are stored according to multiple P2P nodes determine to deposit The data segment of storage includes the P2P nodes of the data of the current play position of the small documents as target P2P nodes, is total to Enjoy nodal information.
  6. A kind of 6. small documents playback method, it is characterised in that including:
    At least two small documents are formed an aggregate file by publisher server, and determine the offset of each small documents;
    The aggregate file is released news and notifies to give P2P servers by the publisher server as a channel generation channel;
    Wherein, the channel releases news including channel number, the corresponding file identification of at least two small documents, offset Amount and file size, wherein, the offset of each small documents refers to positional information of the small documents in the aggregate file.
  7. A kind of 7. small documents playing device, it is characterised in that including:
    Transmit-Receive Unit, for receiving the broadcasting switching command that the second small documents of broadcasting are switched to from the first small documents of broadcasting When, the query messages for the second small documents are sent to P2P servers, first small documents and the second small documents are mutual not phase Same small documents;
    And receive the offset of the second small documents and the frequency of the second small documents subordinate channel of the P2P server feedbacks Taoist monastic name;
    Processing unit, for determining that second small documents are identical with the channel number of first small documents difference subordinate channel, And the offset of first small documents and the absolute value of the difference of the offset of second small documents are less than default bias amount During threshold value, without asking renewal shared node information to the P2P servers;
    Wherein, the offset of first small documents refers to positional information of first small documents in aggregate file, described Aggregate file includes at least two small documents, and the channel number of at least two small documents subordinate channel is identical;The shared section Point information is used to indicate at least one target P2P nodes, the data of the aggregate file of at least two target P2P nodes storage Section is of different sizes, and the data segment of each target P2P nodes storage includes the data of first small documents.
  8. A kind of 8. small documents playing device, it is characterised in that including:
    Transmit-Receive Unit, for receiving the first playing request for small documents of P2P nodes transmission;
    Processing unit, for the data to be released news according to the channel of the small documents subordinate channel with the storage of multiple P2P nodes Section determines the shared node information for the small documents;Wherein, the small documents are contained in aggregate file, the polymerization text Part includes at least two small documents, and the channel number of at least two small documents subordinate channel is identical;
    The Transmit-Receive Unit, is additionally operable to the shared node information feeding back to the P2P nodes;
    Wherein, the shared node information is used to indicate at least one target P2P nodes, the storage of at least two target P2P nodes The aggregate file data segment it is of different sizes, and the data segment of each target P2P nodes storage includes the small documents Data.
  9. 9. device as claimed in claim 8, it is characterised in that the channel releases news including channel number, described at least two A small documents corresponding file identification, offset and file size, wherein, the offset of each small documents refers to the small text Positional information of the part in the aggregate file.
  10. 10. device as claimed in claim 8 or 9, it is characterised in that the processing unit, is additionally operable to:
    Before the first playing request for small documents that P2P nodes are sent is received, according to the small documents subordinate channel Channel releases news, and determines the file size of the aggregate file;
    The file that multiple P2P nodes transmissions are received by the Transmit-Receive Unit stores request, each file storage request carrying pair Answer the disk remaining space size of P2P nodes;
    For i-th of P2P node for sending file storage request, i >=2, the processing unit, is additionally operable to:
    According to the storage information of the i-th -1 data segment, determine to deposit needed for the described i-th P2P node for sending file storage request Initial position of i-th of the data segment of storage in the aggregate file, the i-th -1 P2P node for sending file storage request are deposited Store up the i-th -1 data segment;
    According to the disk remaining space size of the described i-th P2P node for sending file storage request, i-th of number is determined According to end position of the section in the aggregate file;
    I-th of data are determined according to initial position of i-th of the data segment in the aggregate file and end position The storage information of section, indicates that the described i-th P2P node for sending file storage request stores described the by the Transmit-Receive Unit I data segment.
  11. 11. device as claimed in claim 8, it is characterised in that released news according to the channel of the small documents subordinate channel When determining the shared node information for the small documents with the data segment of multiple P2P nodes storage, the processing unit, specifically For:
    According to the broadcasting string of the small documents carried in first playing request, inquire about the channel and release news definite institute State the channel number of small documents subordinate channel, and by the channel number of the small documents subordinate channel, the offset of the small documents and File size feeds back to the P2P nodes by the Transmit-Receive Unit;
    The Transmit-Receive Unit, is additionally operable to receive the second playing request that the P2P nodes are sent, second playing request carries The channel number of the small documents subordinate channel and the current play position of the small documents;
    The processing unit, is specifically used for:The data segment stored according to multiple P2P nodes and the currently playing position of the small documents Put and determine that the data segment of storage includes the P2P nodes of the data of the current play position of the small documents as target P2P sections Point, obtains shared node information.
  12. A kind of 12. small documents playing device, it is characterised in that including:
    Processing unit, at least two small documents to be formed an aggregate file, and determines the offset of each small documents;
    Transmit-Receive Unit, notifies to give P2P servers for the aggregate file to be released news as a channel generation channel;
    Wherein, the channel releases news including channel number, the corresponding file identification of at least two small documents, offset Amount and file size, wherein, the offset of each small documents refers to positional information of the small documents in the aggregate file.
CN201610892204.XA 2016-10-12 2016-10-12 A kind of small documents playback method and device Pending CN107948670A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610892204.XA CN107948670A (en) 2016-10-12 2016-10-12 A kind of small documents playback method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610892204.XA CN107948670A (en) 2016-10-12 2016-10-12 A kind of small documents playback method and device

Publications (1)

Publication Number Publication Date
CN107948670A true CN107948670A (en) 2018-04-20

Family

ID=61928841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610892204.XA Pending CN107948670A (en) 2016-10-12 2016-10-12 A kind of small documents playback method and device

Country Status (1)

Country Link
CN (1) CN107948670A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112040332A (en) * 2020-08-19 2020-12-04 天津智融创新科技发展有限公司 Method and system for obtaining video content with smooth CDN bandwidth

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141627A (en) * 2007-10-23 2008-03-12 深圳市迅雷网络技术有限公司 Storage system and method of stream media file
CN101286927A (en) * 2008-05-08 2008-10-15 蒋一 Method for realizing P2P stream media system based on node interconnection optimization
CN102244644A (en) * 2010-05-11 2011-11-16 华为技术有限公司 Method and device for releasing multimedia file
CN102622352A (en) * 2011-01-26 2012-08-01 深圳市闪联信息技术有限公司 Method, server and system for achieving shared file
US8762461B2 (en) * 2009-06-17 2014-06-24 China Mobile Communications Corporation Method, system and device for searching active peer in P2P streaming media system
CN104581374A (en) * 2014-12-31 2015-04-29 深圳市同洲电子股份有限公司 Methods for obtaining slicing files and generating sub m3u8 files, node and server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141627A (en) * 2007-10-23 2008-03-12 深圳市迅雷网络技术有限公司 Storage system and method of stream media file
CN101286927A (en) * 2008-05-08 2008-10-15 蒋一 Method for realizing P2P stream media system based on node interconnection optimization
US8762461B2 (en) * 2009-06-17 2014-06-24 China Mobile Communications Corporation Method, system and device for searching active peer in P2P streaming media system
CN102244644A (en) * 2010-05-11 2011-11-16 华为技术有限公司 Method and device for releasing multimedia file
CN102622352A (en) * 2011-01-26 2012-08-01 深圳市闪联信息技术有限公司 Method, server and system for achieving shared file
CN104581374A (en) * 2014-12-31 2015-04-29 深圳市同洲电子股份有限公司 Methods for obtaining slicing files and generating sub m3u8 files, node and server

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112040332A (en) * 2020-08-19 2020-12-04 天津智融创新科技发展有限公司 Method and system for obtaining video content with smooth CDN bandwidth

Similar Documents

Publication Publication Date Title
EP3595268B1 (en) Streaming media resource distribution method, system, edge node and central dispatching system
US9325786B2 (en) Peer-to-peer interactive media-on-demand
US10506062B2 (en) Network-optimized content delivery for high demand non-live contents
EP3439239B1 (en) Data transmission method and system based on peer-to-peer network
EP2572495B1 (en) System and method for managing data delivery in a peer-to-peer network
US20110078230A1 (en) Method and system for providing a cdn with granular quality of service
US7882261B2 (en) Method and apparatus for realizing positioning play of content stream in peer-to-peer network
EP2288085A1 (en) P2p based method, device and system for playing media
WO2009021374A1 (en) An integrating video service peer to peer networks system
JP2008544684A (en) User log information management method and system using location servers belonging to a plurality of groups
CN101841553A (en) Method, user node and server for requesting location information of resources on network
CN101714987A (en) P2P playing method and system
JP5724139B2 (en) P2P Internet live broadcast service system and method for forming a P2P tree structure according to the number of sessions
Roverso et al. Smoothcache 2.0: Cdn-quality adaptive http live streaming on peer-to-peer overlays
JP2012520004A (en) Method and apparatus for prioritization in a peer-to-peer network
US10805028B2 (en) Receiving device, transmitting device, and data processing method
CN108449613B (en) CDN system, method and device for fusing multiple services
CN103179191B (en) P2P network control device and P2P network managing and control system
CN107948670A (en) A kind of small documents playback method and device
US7844685B2 (en) Apparatus and method for performing contents distribution process
KR101257579B1 (en) Peer-to-peer overlay system and method for real time streaming service
Liu et al. A DASH-based peer-to-peer VoD streaming scheme
CN108093003A (en) A kind of data interactive method based on bitmap, apparatus and system
EP2282481A1 (en) Energy saving method and system
Barwar et al. Network performance analysis of startup buffering for live streaming in p2p vod systems for mesh-based topology

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180420

WD01 Invention patent application deemed withdrawn after publication