CN105338022A - P2P (peer-to-peer) based data transmission method and P2P based data transmission system - Google Patents

P2P (peer-to-peer) based data transmission method and P2P based data transmission system Download PDF

Info

Publication number
CN105338022A
CN105338022A CN201410320544.6A CN201410320544A CN105338022A CN 105338022 A CN105338022 A CN 105338022A CN 201410320544 A CN201410320544 A CN 201410320544A CN 105338022 A CN105338022 A CN 105338022A
Authority
CN
China
Prior art keywords
data
client
transmission mode
transmission
progress position
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410320544.6A
Other languages
Chinese (zh)
Other versions
CN105338022B (en
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.)
SHENZHEN YUNFAN CENTURY TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN YUNFAN CENTURY 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 SHENZHEN YUNFAN CENTURY TECHNOLOGY Co Ltd filed Critical SHENZHEN YUNFAN CENTURY TECHNOLOGY Co Ltd
Priority to CN201410320544.6A priority Critical patent/CN105338022B/en
Publication of CN105338022A publication Critical patent/CN105338022A/en
Application granted granted Critical
Publication of CN105338022B publication Critical patent/CN105338022B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a P2P (peer-to-peer) based data transmission method and a P2P based data transmission system. The P2P based data transmission method comprises the steps of acquiring a data transmission request instruction of a client, and transmitting data to the client according to the request instruction of the client. A mode of data transmission is dispatched based on a second progress position of the current download data of the client and a first progress position of the current processing data of the client, thereby being capable of dispatching data transmission, uniformly planning the processing fluency of the client for data and improving the sharing rate of network data while giving consideration to the data processing fluency of the client.

Description

Based on data transmission method and the system of P2P
Technical field
The application relates to network data transmission and application, refers more particularly to a kind of data transmission method based on P2P and system.
Background technology
Widely, TV is exactly a kind of live video technology be widely used, and live video technical characterstic is ageing in the application of live video technology.Growing along with network technology, and internet electronic end product (computer, panel computer, Web TV, mobile terminal etc.) is constantly updated, particularly mobile terminal, little by geographic location constraint when watching program, there is stronger convenience, therefore, trend is become already by internet viewing programme televised live.
The general integrated flashplayer plug-in unit of web browser on the market, so existing online webcast website adopts Flash direct seeding technique substantially directly from video source server downloading data.Number of site, in order to reduce bandwidth cost, provides the download option of third party P2P (peer-to-peer) plug-in unit, and what realize based on P2P technology is live.In recent years, play a significant role in the interchange of P2P on Strengthens network between user, exchange files, distributed computer etc., especially more and more receive the concern of people based on the net cast technology of P2P.
Although use Flash direct seeding technique can avoid allowing user download third party's plug-in unit, can be friendly a lot of in Consumer's Experience, but the P2P technology live due to Flash is started late, team is rarely had to develop research to Flash program request P2P technology, research for Flash direct-broadcasting P 2 P technology is then less, is therefore difficult to extensive use.And in traditional utility strategies, compared with program request technology, lively more want the synchronous of seeking time, the low volume data to this period of client push needs synchronous, corresponding like this can be just less for sharing with the data uploaded, to share the difficulty in rate just larger.Existing Flash direct-broadcasting P 2 P technological development thinking is such: proxy server pushes a certain period data to different user simultaneously (might as well be set to the video data of 30 seconds, live data code check is 500Kbps), user downloads simultaneously, if one of them user's network speed is faster than another user, so, the fast user download location of network speed is more ahead of the slow user of network speed, the user that the user that then network speed is fast is slower than network speed downloads more data, likely uploading data is supplied to the slow user's download of network speed, but the finite difference distance of such sharing data heavy dependence different user network speed, and download that the issuable data volume gap that can for share of this short time data of 30 seconds can not too obviously (the general speed of download of domestic consumer be 200KB/s, download and only needed 9.3 seconds), therefore P2P shares poor effect.
Summary of the invention
The application provides a kind of data transmission method/system based on P2P, with plan as a whole client to the treatment effeciency of data and improve network data share rate.
According to the first aspect of the application, the application provides a kind of data transmission method based on P2P, comprising:
Instruction obtaining step, obtains the instruction of client-requested transmission data;
Data transmission step, according to the request instruction of client to these client transmissions data;
Transmission mode scheduling steps, based on the second progress position and the pattern of this client when the first progress position schedule data transmission of pre-processing data of the current downloading data of client.
According to the second aspect of the application, the application provides a kind of data transmission system based on P2P, comprising:
Instruction acquisition module, for obtaining the instruction of client-requested transmission data;
Data transmission module, for according to the request instruction of client to these client transmissions data;
Transmission mode scheduler module, works as the pattern of the first progress position schedule data transmission of pre-processing data with this client for the second progress position based on the current downloading data of client.
The beneficial effect of the application is: the data transmission method/system based on P2P provided according to the application, based on the transmission of the state of given client end downloading data with the node state scheduling data of these client process data, thus can the state of client process data taken into account simultaneously, the transmission of data dispatching, so plan as a whole client to the process fluency of data and improve network data share rate.
Accompanying drawing explanation
Fig. 1 is the disclosed data transmission system structure chart based on P2P of the embodiment of the present application;
Fig. 2 is the embodiment of the present application central server structured flowchart;
Fig. 3 is the disclosed data transmission method flow chart based on P2P of the embodiment of the present application;
M-data flow corresponding schematic diagram when Fig. 4 is the embodiment of the present application;
Fig. 5 is the embodiment of the present application transfer of data initial position strategy schematic diagram;
Fig. 6 is the embodiment of the present application schedule data transmission model process figure.
Embodiment
By reference to the accompanying drawings the present invention is described in further detail below by embodiment.
Be described for Flash net cast, first, the term used in the application be described:
Data flow, for by data source by the set of proxy server to the data of client one-way transmission, the data in the application can be the data of the client process that voice data, video data, audio-visual data, symbol data, word or figure etc. can be licensed.
Live, because the present embodiment is described for Flash net cast, therefore, the process of client to data shows as live.Data source, in real time to proxy server propelling data stream, according to the request of client, downloads the data of propelling movement immediately from proxy server, and processes the data downloaded according to the sequencing of download time immediately.Consider that data source may be the factor such as propelling data stream and caching data on client at times, therefore, the time of the client process data in the application can lag behind the time of client downloads data.When not making specified otherwise, also can be other data processing method to data live in the application, as picture and text showing, flash demo etc.
In the present embodiment, be described for Flash net cast, its live principle is: usually first push the live video data stream of coming by setting up proxy server to preserve (buffer memory) live source, connected by the Internet between Flash client and proxy server, proxy server is according to the request of client, push live video data by the Internet to it, so, client just can appreciate live video.In other embodiments, the principle of video request program and live similar, difference is, the time of proxy server memorying data flow is different, and for video request program, the time of proxy server memorying data flow can be more earlier relative to live mode.
Please refer to Fig. 1, a kind of data transmission system based on P2P disclosed in the present embodiment, comprise: the proxy server 11 that signal connects and central server 10, wherein, central server 10 comprises: instruction acquisition module 12, transmission mode scheduler module 13 and data transmission module 14.Wherein:
Proxy server 11 is for storing the data flow for transmitting.
Instruction acquisition module 12 is for obtaining the instruction of client-requested transmission data.Alleged client can be client 21, client 22, client 23 or other be connected to the Internet and possess the client obtaining data qualification.
Data transmission module 14, for according to the request instruction of client to these client transmissions data.
Transmission mode scheduler module 13 works as the transmission of the first progress position data dispatching of pre-processing data with this client for the second progress position based on the current downloading data of client.
In a kind of specific embodiment, proxy server 11 and central server 10 can be integrated in a main control computer, also can be divided the work by multiple stage computer.It should be noted that, when proxy server 11 central server 10 is divided the work operation by multiple stage computer, they each other should be able to be mutual.
In a kind of specific embodiment, please refer to Fig. 2, in figure, the module composition of transmission mode scheduler module 13 is illustrated in dotted line frame, dot-and-dash arrowhead line is signal/instruction trend, solid arrow is data/data flow trend, and transmission mode scheduler module 13 comprises: progress monitoring means 134, first judging unit 131 and transmission mode determining unit 132.Wherein:
Progress monitoring means 134 is for monitoring the first progress position of client (such as client 21) when pre-processing data and the second progress position of the current downloading data of this client.
First judging unit 131 is for judging whether the duration data volume between the first progress position and the second progress position is less than the first preset duration data volume.
Transmission mode determining unit 132, for determining data-transmission mode.
If the judged result that the first judging unit 131 exports is for being less than the first preset duration data volume, then data transmission module 14 is defined as employing first transmission mode to client (such as client 21) transmission data by transmission mode determining unit 132, wherein, the first transmission mode is for the data stream transmitting directly stored by proxy server 11 is to client.Further, if the judged result that the first judging unit 131 exports is for being greater than the first preset duration data volume, then data transmission module 14 changes to and at least comprises the second transmission mode by transmission mode determining unit 132, wherein, the second transmission mode is that the data that other client (such as client 22) is uploaded are transferred to client (such as client 21).
In another kind of specific embodiment, transmission mode scheduler module 13 also comprises: the second judging unit 133, second judging unit 133 is for judging whether the duration data volume between the first progress position and the second progress position is greater than the second preset duration data volume.If the judged result that the second judging unit 133 exports is for being greater than the second preset duration data volume, then data transmission module 14 is changed to the second transmission mode by transmission mode determining unit 132.
Wherein, the second progress position is ahead of the first progress position, and the second preset duration data volume is greater than the first preset duration data volume.
It should be noted that, in other embodiments, this system can further include piecemeal module, and piecemeal module is connected with proxy server 11 signal, is divided into some fritters in advance for the data flow stored by proxy server 11.
It should be noted that, in other embodiments, central server 10 can further include initial position distribution module, initial position distribution module and instruction acquisition module 12 and data transmission module 14 signal connect, for according to the request instruction of the client position to these client Random assignment initial download data.
In a preferred embodiment, central server 10 can further include preset judgment periodic unit corresponding with the first judging unit 131, second judging unit 133 respectively, for arranging the predetermined judgement cycle respectively, start the first judging unit 131 and/or the second judging unit 133 when the predetermined judgement cycle arrives.
Based on said system, the present embodiment also discloses a kind of data transmission method based on P2P, please refer to Fig. 3, and be the present embodiment data transmission method flow chart, it is as follows that concrete grammar comprises step:
Step S100, data acquisition.Obtain the data flow for transmitting, the set of the data that alleged data flow provides for live source, comprises video-audio data, graph data, voice data, lteral data etc.Usually, the data flow that live source provides can push to proxy server and buffer memory.In other embodiment (such as program request), also can memorying data flow in proxy server in advance.
Step S200, instruction obtains.Obtain the instruction of client-requested transmission data.Alleged client is the client possessing the qualification of access live source data, and in a kind of specific embodiment, client can be mobile phone, panel computer, computer, notebook computer or other user terminal.In a kind of specific embodiment, the acquisition of instruction is realized by the Internet, is specially, and client sends request the instruction of downloading data to proxy server by the Internet.
Step S300, transfer of data.According to the request instruction of client to these client transmissions data.For net cast, after the instruction obtaining client-requested transmission data, usually up-to-date for the present period data be buffered in proxy server can be transferred to this client and download for it.It should be noted that, the data of up-to-date buffer memory can lag behind the data of up-to-date propelling movement in time, and therefore, the data of the up-to-date buffer memory of present period are not the data of the up-to-date propelling movement of live source.Such as, the moment of instruction obtaining client-requested transmission data is 10:00, then the data to this client transmissions may data corresponding to 09:58.This delayed time difference (such as 2 minutes) is relevant with the data volume of the buffer memory of Operation system setting, also relevant with the position of the initial download data that system is distributed to client.
Step S400, scheduled transmission mode.Based on the second progress position and the pattern of this client when the first progress position schedule data transmission of pre-processing data of the current downloading data of client.Please refer to Fig. 4, suppose the video data of data flow corresponding to 0 ~ t duration that live source pushes, the video data of client (such as client 21) current download is the data (data namely corresponding to the second progress position) in data flow corresponding to the t2 moment, and the data (data namely first progress position corresponding to) of this client (such as client 21) in the data of pre-treatment (such as live) are for data flow corresponding to the t1 moment, wherein, the t2 moment is ahead of the t1 moment.According to the size of data volume corresponding to this time period of t1 ~ t2, can the transmission means of optimization data.For example, when t1 ~ t2 time period data volume is enough large, then there are enough data for given client end (such as client 21) process (such as live), now, data for customer end (such as client 21) download that other client (such as client 22, client 23 etc.) is uploaded can be dispatched, and the fluency of client (such as client 21) process (such as live) data can not be affected, it should be noted that, the data of other client upload be scheduled should data after instant t 2; When t1 ~ t2 time period, data volume was less, in order to not affect Consumer's Experience (fluency of client process data), now, the data flow that should push directly to client (such as client 21) transmission live source.Thus, achieve plan as a whole client to the fluency of the deal with data of data and improve network data share rate.
In a preferred embodiment, can further include after step sloo:
Step S500, deblocking.The data flow stored by proxy server is divided into some fritters.The data pushed from live source are divided into some data blocks by predetermined length, and preserve/the data block of the up-to-date division of buffer memory, the length of data block can be preset by system.After dividing data block, can block be that unit transmits, client also processes the data obtained in units of block, it should be noted that, the length setting of data block is too much, the transmission of data blocks time can be caused long, thus can lengthen the time of client terminal start-up data block; On the other hand, if the length setting of data block obtains too small, the frequency that client-requested transmits data can be made to increase, thus increase the Internet Transmission that offered load affects data.As an example, be that a data block divides by the sequencing of data obtained with the data of every 8084 byte lengths, and preserve/up-to-date 1200 pieces of buffer memory, now, client can only download 1200 up-to-date blocks of data by continuation requests.
In a preferred embodiment, can further include before step S300:
Step S600, initial position distributes.According to the request instruction of the client position to these client Random assignment initial download data.Please refer to Fig. 5, to be described the some fritters of Data Placement, the data block of current proxy server preservation/buffer memory might as well be set as 1200 pieces, and this 1200 blocks of data block is numbered, first piece is first, last block is last, certainly, also can increase timestamp time to each data block.Suppose that current time is t0x, the data block of the now up-to-date propelling movement of live source not yet reaches predetermined length 8084 byte, data block then corresponding to t0x still in propelling movement process (shown in Fig. 5 dotted line frame), therefore, if now client-requested transmission data, then can and the arbitrary data block (first piece of first is to last block last) corresponding to t01 to t0n time location of up-to-date preservation/buffer memory can only be transmitted.The drawback that useful data is supplied to other client upload cannot be downloaded in advance to be in synchronous download (such as all downloading from first piece of first) under evading different clients most cases, when client-requested transmission data, transmit from the random site of up-to-date buffer memory.Obtain the request instruction of client in step S200 after, system is to the position of client Random assignment initial download data of this request, specific implementation can be distribution random offset position offset, now, the data block of these client initial download data is first+offset, time location corresponding to this data block is toffset, and namely system is first+offset to the data block of this client original transmission.Adopt the method for the position of this Random assignment initial download data, the data that client both can have been made to obtain keep and the data basic synchronization in 1200 pieces of proxy server caches, do not affect the Consumer's Experience that client is live, the position to different clients transmission data can be made again to stagger, the advanced client in download location can upload more data for other client downloads, thus improves P2P and share rate.Such as, the random offset position offset value of client 21 is 300, the random offset position offset value of client 22 is 700, client 22 is when starting the data accepting system transfers, just data upload later for first+700 block can be downloaded for client 21, the client be connected is more, then random number is wider, shares rate higher.It should be noted that, the value of random offset position offset also can set as required, in order to avoid from critical value too close to (guarantee support client scheduled duration smoothness process data volume), affect the fluency of client process data, in the above example, according to client process efficiency such as to the live code check of video, random offset position offset preferably gets the region between 200 ~ 800 pieces in 1200 pieces.
In a kind of specific embodiment, please refer to Fig. 6, step S400 can further include:
Step S450, progress is monitored.Monitoring client is when the first progress position of pre-processing data and the second progress position of the current downloading data of this client.It should be noted that, progress monitoring can be real-time, also can be not timing or periodically.
Step S410, first judges, judges whether the duration data volume between the first progress position and the second progress position is less than the first preset duration data volume.Alleged first preset duration data volume and client to the treatment effeciency (such as live code check) of data and the first preset duration relevant, for example the first preset duration is m1 minute, the treatment effeciency (such as live code check) of client to data is nbit/s, then the first preset duration data volume should be 60*m1*nbit.Please refer to Fig. 4, according to the description of step S400, the video data of client (such as client 21) current download is the data in data flow corresponding to the t2 moment, and the data of this client (such as client 21) in the data of pre-treatment (such as live) are for data flow corresponding to the t1 moment, then the data volume of the duration data volume between client current data process position and this client data download location corresponding to the Δ t=t2-t1 period.Then step S410 judges whether the data volume corresponding to Δ t is less than the first preset duration data volume (as 60*m1*nbit).
If the judged result of step S410 is for being less than the first preset duration data volume, then perform step S421.
Step S421, the first transmission mode transmission.If the first judged result is for being less than the first preset duration data volume, then adopt the first transmission mode to client (such as client 21) transmission data, alleged first transmission mode is for the data stream transmitting directly stored by proxy server is to client (such as client 21).If the data volume corresponding to Δ t is less than the first preset duration data volume, then illustrate that client (such as client 21) the current data downloaded are less, in order to not affect the treatment effeciency (live smoothness) of client (such as client 21) to data, the data stream transmitting that should directly be stored by proxy server gives this client (such as client 21).
Further, if the judged result of step S410 is for being greater than the first preset duration data volume, then perform step S422.
Step S422, changes transmission mode.If the first result judged is as being greater than the first preset duration data volume, then by present data transmission mode altering at least to comprise the second transmission mode, wherein, the second transmission mode is that the data of other client upload are transferred to client.If the data volume corresponding to Δ t is greater than the first preset duration data volume, then illustrate that client (such as client 21) the current data volume downloaded is more, this data volume can meet this client (such as client 21) and process in the first preset duration, therefore, while this given client end of the data flow stored by proxy server (such as client 21) transmission data, also the data of other client upload can be transmitted to this client (such as client 21), the i.e. mixed mode transmissions data of the first transmission mode and the second transmission mode.Like this can while more smooth process (as live) data in guarantee client (such as client 21), also can from other client transmissions data within the scope of reasonable limit, to save the flow of data stream transmitting in proxy server.
In a kind of specific embodiment, in order to realize the data sharing other client upload to a greater extent, step S400 can further include:
Step S430, second judges, judges whether the duration data volume between the first progress position and the second progress position is greater than the second preset duration data volume.This step principle and step S410 similar, specifically see step S410, can not repeat them here.
It should be noted that, the second preset duration should be greater than the first preset duration.
It should be noted that, as preferred embodiment, step S430 should perform after step S422; Certainly, in other embodiments, also before step S422, even can also can perform before step S410 performs.
If the judged result of step S430 is for being greater than the second preset duration data volume, then perform step S442.
Step S442, changes transmission mode again.If the second judged result is for being greater than the second preset duration data volume, be then the second transmission mode by present data transmission mode altering.If the data volume corresponding to Δ t is greater than the second preset duration data volume, then illustrate that client (such as client 21) the current data volume downloaded is abundant, this data volume can meet this client (such as client 21) and process in the second longer preset duration, therefore, can not need again direct from proxy server downloading data, and change by the transfer of data of other client upload, thus save the flow of data stream transmitting in proxy server to greatest extent and make full use of the data sharing of P2P network.
Further, if the judged result of step S430 is for being less than the second preset duration data volume, then perform step S441.
Step S441, keeps transmission mode.If the second judged result is for being less than the second preset duration data volume, then illustrate that client (such as client 21) is although the current data volume downloaded to can meet the smoothness process of the first preset duration, can not meet the treating capacity of the second preset duration.Therefore, current transmission mode should be kept, as adopted the mixed mode transmissions data of the first transmission mode and the second pattern.
In Internet Transmission environment, uncertain factor (as suspension etc.) is a lot, may cause the rate reduction of Transmission or transmission data.Therefore, in a preferred embodiment, answer multiple exercise step S410 and step S430, in a kind of specific embodiment, can be realized by the mode in preset judgment cycle, as performed step S410 or step S430 after the judgement cycle through a certain setting.
Adopt the disclosed data transmission method/system based on P2P of the present embodiment, by judging the second progress position and the relation of this client between the first progress position of pre-processing data of the current downloading data of client, in the mode of schedule data transmission, thus while the fluency that can not affect given client end (such as client 21) process (such as live) data, that improves network data shares rate.Further, by the position of the client Random assignment initial download data to request data transfer, neither affect client to current data process (as live) timeliness, the position of the different clients initial download data that also can stagger, so that the data sharing between different clients, thus improve P2P share rate.
It will be appreciated by those skilled in the art that, in above-mentioned execution mode, all or part of step of various method can be carried out instruction related hardware by program and completes, this program can be stored in a computer-readable recording medium, and storage medium can comprise: read-only memory, random asccess memory, disk or CD etc.
Above content is in conjunction with concrete execution mode further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, some simple deduction or replace can also be made.

Claims (10)

1. based on a data transmission method of P2P, it is characterized in that, comprising:
Instruction obtaining step, obtains the instruction of client-requested transmission data;
Data transmission step, according to the request instruction of client to these client transmissions data;
Transmission mode scheduling steps, based on the second progress position and the pattern of this client when the first progress position schedule data transmission of pre-processing data of the current downloading data of client.
2. data transmission method as claimed in claim 1, it is characterized in that, described scheduling steps comprises:
Progress monitoring step, monitoring client is when the first progress position of pre-processing data and the second progress position of the current downloading data of this client;
First determining step, judges whether the duration data volume between the first progress position and the second progress position is less than the first preset duration data volume;
Transmission mode determining step, if the first judged result is for being less than the first preset duration data volume, then adopts the first transmission mode to client transmissions data, and described first transmission mode is for the data stream transmitting directly stored by proxy server is to client;
If the first result judged is as being greater than the first preset duration data volume, then by present data transmission mode altering at least to comprise the second transmission mode, described second transmission mode is that the data of other client upload are transferred to client.
3. data transmission method as claimed in claim 2, it is characterized in that, described scheduling steps also comprises:
Second determining step, judges whether the duration data volume between the first progress position and the second progress position is greater than the second preset duration data volume;
Transmission mode determining step also comprises: if the second judged result is for being greater than the second preset duration data volume, be then the second transmission mode by present data transmission mode altering;
Wherein, described second progress position is ahead of described first progress position, and described second preset duration data volume is greater than described first preset duration data volume.
4. the data transmission method as described in claim 1-3 any one, is characterized in that, before instruction obtaining step, also comprises:
Blocking step, the data flow stored by proxy server is divided into some fritters.
5. the data transmission method as described in claim 1-3 any one, is characterized in that, also comprises before described data transmission step:
Initial download position allocation step, according to the request instruction of the client position to these client Random assignment initial download data.
6. based on a data transmission system of P2P, it is characterized in that, comprising:
Instruction acquisition module (12), for obtaining the instruction of client-requested transmission data;
Data transmission module (14), for according to the request instruction of client to these client transmissions data;
Transmission mode scheduler module (13), works as the pattern of the first progress position schedule data transmission of pre-processing data with this client for the second progress position based on the current downloading data of client.
7. data transmission system as claimed in claim 6, it is characterized in that, described transmission mode scheduler module (13) comprising:
Progress monitoring means (134), for monitoring client when the first progress position of pre-processing data and the second progress position of the current downloading data of this client;
First judging unit (131), for judging whether the duration data volume between the first progress position and the second progress position is less than the first preset duration data volume;
Transmission mode determining unit (132), for determining data-transmission mode;
If the result of the first judging unit (131) is for being less than the first preset duration data volume, then data transmission module (14) is defined as employing first transmission mode to client transmissions data by transmission mode determining unit (132), and described first transmission mode is for the data stream transmitting directly stored by proxy server is to client;
If the result of the first judging unit (131) is for being greater than the first preset duration data volume, then data transmission module (14) changes to and at least comprises the second transmission mode by transmission mode determining unit (132), and described second transmission mode is that the data of other client upload are transferred to client.
8. data transmission system as claimed in claim 7, it is characterized in that, described transmission mode scheduler module (13) also comprises:
Second judging unit (133), for judging whether the duration data volume between the first progress position and the second progress position is greater than the second preset duration data volume;
If the result of the second judging unit (133) is for being greater than the second preset duration data volume, then data transmission module (14) is changed to the second transmission mode by transmission mode determining unit (132);
Wherein, described second progress position is ahead of described first progress position, and described second preset duration data volume is greater than described first preset duration data volume.
9. the data transmission system as described in claim 6-8 any one, is characterized in that, also comprises:
Piecemeal module, the data flow for being stored by proxy server is divided into some fritters.
10. the data transmission system as described in claim 6-8 any one, is characterized in that, also comprises:
Initial download position distribution module, for according to the request instruction of the client position to these client Random assignment initial download data.
CN201410320544.6A 2014-07-07 2014-07-07 Data transmission method and system based on P2P Expired - Fee Related CN105338022B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410320544.6A CN105338022B (en) 2014-07-07 2014-07-07 Data transmission method and system based on P2P

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410320544.6A CN105338022B (en) 2014-07-07 2014-07-07 Data transmission method and system based on P2P

Publications (2)

Publication Number Publication Date
CN105338022A true CN105338022A (en) 2016-02-17
CN105338022B CN105338022B (en) 2019-04-23

Family

ID=55288300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410320544.6A Expired - Fee Related CN105338022B (en) 2014-07-07 2014-07-07 Data transmission method and system based on P2P

Country Status (1)

Country Link
CN (1) CN105338022B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018132975A1 (en) * 2017-01-18 2018-07-26 华为技术有限公司 Video data processing method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1798097A (en) * 2004-12-24 2006-07-05 腾讯科技(深圳)有限公司 Method for buffering data in stream media
CN101145929A (en) * 2007-08-09 2008-03-19 复旦大学 A P2P stream media VoD system for IPV6 environment
CN101159676A (en) * 2007-11-06 2008-04-09 深圳市迅雷网络技术有限公司 Data transmission method and system
CN101227590A (en) * 2007-01-19 2008-07-23 北京风行在线技术有限公司 P2P protocol-based media file order program control method and apparatus
CN101399691A (en) * 2008-10-21 2009-04-01 北京闪联互动网络科技有限责任公司 Multimedia on-line playing method, device for mobile terminal and mobile terminal thereof
US20090172157A1 (en) * 2006-04-21 2009-07-02 Yongmin Zhang Method and Device for Content Transmission on P2P Network
CN101764831A (en) * 2008-12-24 2010-06-30 中国移动通信集团公司 Method and system for sharing stream media data, and stream media node
CN102547389A (en) * 2012-01-16 2012-07-04 何建亿 Network-adaptive streaming media quality of service (QoS) control method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1798097A (en) * 2004-12-24 2006-07-05 腾讯科技(深圳)有限公司 Method for buffering data in stream media
US20090172157A1 (en) * 2006-04-21 2009-07-02 Yongmin Zhang Method and Device for Content Transmission on P2P Network
CN101227590A (en) * 2007-01-19 2008-07-23 北京风行在线技术有限公司 P2P protocol-based media file order program control method and apparatus
CN101145929A (en) * 2007-08-09 2008-03-19 复旦大学 A P2P stream media VoD system for IPV6 environment
CN101159676A (en) * 2007-11-06 2008-04-09 深圳市迅雷网络技术有限公司 Data transmission method and system
CN101399691A (en) * 2008-10-21 2009-04-01 北京闪联互动网络科技有限责任公司 Multimedia on-line playing method, device for mobile terminal and mobile terminal thereof
CN101764831A (en) * 2008-12-24 2010-06-30 中国移动通信集团公司 Method and system for sharing stream media data, and stream media node
CN102547389A (en) * 2012-01-16 2012-07-04 何建亿 Network-adaptive streaming media quality of service (QoS) control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018132975A1 (en) * 2017-01-18 2018-07-26 华为技术有限公司 Video data processing method and device
US10887639B2 (en) 2017-01-18 2021-01-05 Huawei Technologies Co., Ltd. Video data processing method and device

Also Published As

Publication number Publication date
CN105338022B (en) 2019-04-23

Similar Documents

Publication Publication Date Title
US10872064B2 (en) Utilizing version vectors across server and client changes to determine device usage by type, app, and time of day
CN102439938B (en) Method for controlling download rate of real-time streaming as needed by media player
CN101001362B (en) Method and terminal of on-line playing flow media
US11350139B2 (en) Video live broadcast method and apparatus
CN106576198B (en) The system and method for adaptive bitrate streaming
JP7059509B1 (en) How to deliver streaming content in a peer-to-peer network
CN102130936B (en) Method and device for supporting time shifting and look back in dynamic hyper text transport protocol (HTTP) streaming transmission scheme
JP5947345B2 (en) Streaming data download method and computer-readable recording medium
CN110198495B (en) Method, device, equipment and storage medium for downloading and playing video
Liang et al. Incentivized peer-assisted streaming for on-demand services
CN104506950A (en) Multithread download method and download device in network streaming media play, and download equipment
CN101673298A (en) Video data distributed caching method in video on demand
CN105337901A (en) Router intelligent bandwidth allocation method and device
CN105611328A (en) Video data accelerated downloading method and device based on HLS (HTTP Live Streaming)stream media
CN101742238A (en) Streaming media on-demand method and device combining RTS with P2P
JP2017524280A (en) A method for reducing prefetching of multimedia streaming data with minimal impact on playback user experience
CN111726641A (en) Live video playing processing method and device and server
CN105338022A (en) P2P (peer-to-peer) based data transmission method and P2P based data transmission system
EP4013006A1 (en) Method for playing on a player of a client device a content streamed in a network
CN101883124B (en) Data downloading method, device and system of on-demand system
Liang et al. ipass: Incentivized peer-assisted system for asynchronous streaming
CN109995824A (en) Method for scheduling task and device in a kind of peer-to-peer network
CN102821316A (en) Improved video on demand (VOD) transmission method based on peer-to-peer computing core algorithm
CN101626400B (en) Compensation method of P2P music on-demand system
Liu et al. Investigating redundant Internet video streaming traffic on iOS devices: Causes and solutions

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190423