CN106657133A - P2P stream media playing system and method - Google Patents

P2P stream media playing system and method Download PDF

Info

Publication number
CN106657133A
CN106657133A CN201710017709.6A CN201710017709A CN106657133A CN 106657133 A CN106657133 A CN 106657133A CN 201710017709 A CN201710017709 A CN 201710017709A CN 106657133 A CN106657133 A CN 106657133A
Authority
CN
China
Prior art keywords
data
transcoding
node
stationary nodes
medium data
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
CN201710017709.6A
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.)
Hunan Coridi Education Development Co Ltd
Original Assignee
Hunan Coridi Education Development 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 Hunan Coridi Education Development Co Ltd filed Critical Hunan Coridi Education Development Co Ltd
Priority to CN201710017709.6A priority Critical patent/CN106657133A/en
Publication of CN106657133A publication Critical patent/CN106657133A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a P2P stream media playing system and method. The P2P stream media playing system comprises source nodes, transcoding nodes and non-transcoding nodes, wherein the source nodes distribute the raw multimedia data required for media playing; the transcoding nodes perform multimedia transcoding operation on the received raw multimedia data to obtain the transcoded multimedia data, and send the transcoded multimedia data to the non-transcoding nodes according to the data requests of the non-transcoding nodes; and the non-transcoding nodes receive the transcoded multimedia data, and play the corresponding multimedia information according to the transcoded multimedia data. According to the invention, while receiving the data requests of the non-transcoding nodes, the transcoding nodes with the function of transcoding perform transcoding on the received multimedia data and obtain the multimedia data type meeting the need of the data request nodes, so that the non-transcoding nodes do not need to obtain the multimedia data of the type from the source nodes. Therefore, according to the invention, the bandwidth load of the source nodes can be reduced by means of the transcoding service of the transcoding nodes.

Description

A kind of system and method for P2P streaming media playings
Technical field
The present invention relates to internet arena, more particularly to a kind of system and method for P2P streaming media playings.
Background technology
With the progress of Internet technology, the user that knowledge is obtained based on network is more and more, i.e., using network and end End, the user learnt by modes such as online classroom, online exchanges is more and more.Due to the increasing of the user number of online learning Plus, large-scale internet online interaction learning system is arisen at the historic moment.
Large-scale internet online interaction learning system can be based on P2P stream media play systems, to realize on a large scale The system that Internet video is played, it utilizes the multi-medium data needed for network technology transmission user, user to receive based on terminal To multi-medium data play out, to carry out online learning.The terminal capabilities and network environment used due to user is each There are decoding capability and display device of difference, i.e. broadcast nodes etc. that there is diversity, system is needed for different terminal units The multi-medium data of different coding rate is sent, to ensure that user can glibly carry out online learning.
It is based on P2P stream media systems, using the routing technique such as cooperation between hierarchical coding, multichannel in prior art Carry out transmitting multimedia data, allow user to play the multi-medium data for receiving.Its multi-medium data is usually by data source Server distribution, i.e. the multi-medium data great majority of user node come from data source server.But, because user is made Terminal unit and network environment increasingly diversification, required multimedia data type is more and more diversified, increases number According to the load bandwidth consumption of source server, and then have influence on the fluency that user plays multi-medium data.How diversification is met The multiformity of multi-medium data needed for terminal, is this area problem demanding prompt solution to reduce data source nodes load.
The content of the invention
It is an object of the invention to provide a kind of system of board P2P streaming media playings, its object is to solve in prior art The multiformity of the multi-medium data needed for diversification terminal so that the higher problem of load of data source nodes;The present invention's is another One purpose is to provide a kind of method of P2P streaming media playings, and it meets the multiformity of the multi-medium data needed for diversification terminal, So that the load of data source nodes is relatively low.
To solve above-mentioned technical problem, the invention provides the system of P2P streaming media playings, the system includes:
Source node, the original multimedia data needed for for distributing media play;
Can transcoding node, for according to can not transcoding node request of data, by the initial multimedia number for receiving According to multi-media transcoding operation is carried out, obtain transcoding multi-medium data, by the transcoding multi-medium data send it is described can not transcoding Node;
It is described can not transcoding node, for receiving the transcoding multi-medium data, according to the transcoding multi-medium data, broadcast Put corresponding multimedia messages.
Alternatively, it is described can not transcoding node be mobile node, it is described can transcoding node be stationary nodes;
The stationary nodes, will specifically for the request of other stationary nodes according to same layer stationary nodes set The original multimedia data for receiving is sent to described other stationary nodes;
According to the request of the stationary nodes of low layer stationary nodes set, high-quality multi-medium data is carried out into transcoding behaviour Make, obtain low quality multi-medium data, send the low quality multi-medium data to the institute in the low layer stationary nodes set State stationary nodes;
Wherein, the stationary nodes are positioned in net, there is multilamellar stationary nodes set, the fixation in the nerve of a covering Node set is divided into the stationary nodes set of different levels according to the height of required multimedia data quality.
Alternatively, the mobile node, will be received specifically for when the request of other mobile nodes is received The transcoding multi-medium data is sent to described other mobile nodes.
Alternatively, the mobile node is specifically for when the stationary nodes uploading bandwidth is not enough and/or during loading error occurring, The transcoding multi-medium data needed for obtaining from the source node.
Alternatively, also include:
Data dispatch module, for distributing the stationary nodes using deblocking and random network code technical transmission With the multi-medium data needed for the mobile node.
Alternatively, the data dispatch module includes:
Stationary nodes scheduling unit, for according to the bandwidth and flow rate of the stationary nodes, determining the stationary nodes The approach of the multi-medium data needed for obtaining;
Mobile node scheduling unit, for according to the bandwidth and flow rate of the mobile node, determining the mobile node The approach of the transcoding multi-medium data needed for obtaining.
Alternatively, also include:
Big data pushing module, for collecting user data, related content is pushed according to the user data to user.
Alternatively, the big data module includes:
Collector unit, for collecting the user data, the user data includes video information, pictorial information, text Any one or combination of information and voice messaging;
Analytic unit, for the user data collected to be analyzed into excavation, finds out and the user data phase Corresponding push content;
Push unit, for giving the user by the push content push.
Alternatively, also include:
Video playback module, for making currently playing number of videos in predetermined threshold value.
Additionally, present invention also offers a kind of method of P2P streaming media playings, including:
Obtain the original multimedia data that source node is distributed;
According to can not transcoding node request of data, the original multimedia data is carried out into multi-media transcoding operation, obtain To transcoding multi-medium data;
By the transcoding multi-medium data be distributed to it is described can not transcoding node so that it is described can not transcoding node according to institute Transcoding multi-medium data is stated, corresponding multimedia messages are played.
The system and method for a kind of P2P streaming media playings provided by the present invention, needed for source node distribution media play Original multimedia data;Can transcoding node the original multimedia data for receiving is carried out into multi-media transcoding operation, obtain Transcoding multi-medium data, according to can not transcoding node request of data by the transcoding multi-medium data send described in can not transcoding Node;It is described can not transcoding node receive the transcoding multi-medium data, according to the transcoding multi-medium data, play corresponding Multimedia messages.With transcoding function can transcoding node, when receive can not transcoding node request of data, will be received Multi-medium data carry out transcoding, obtain meeting the multimedia data type needed for request of data node, so that can not transcoding section Point need not obtain the multi-medium data of the type from source node.It can be seen that, using can transcoding node transcoding service, be to turn Code node uploads required multi-medium data, can reduce the bandwidth load of source node.
Description of the drawings
For the clearer explanation embodiment of the present invention or the technical scheme of prior art, below will be to embodiment or existing The accompanying drawing to be used needed for technology description is briefly described, it should be apparent that, drawings in the following description are only this Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with root Other accompanying drawings are obtained according to these accompanying drawings.
The structural schematic block diagram of the P2P stream media play systems that Fig. 1 is provided by the embodiment of the present invention;
The system structure schematic block of the large-scale internet online interaction learning system that Fig. 2 is provided by the embodiment of the present invention Figure;
Fig. 3 is that a kind of flow process of specific embodiment of P2P flow media playing methods provided in an embodiment of the present invention is illustrated Figure.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, with reference to the accompanying drawings and detailed description The present invention is described in further detail.Obviously, described embodiment is only a part of embodiment of the invention, rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work premise Lower obtained every other embodiment, belongs to the scope of protection of the invention.
Fig. 1 is referred to, the structural schematic block diagram of the P2P stream media play systems that Fig. 1 is provided by the embodiment of the present invention should System includes:
Source node 101, the original multimedia data needed for for distributing media play;
It is understood that source node is data source server, can be distributed corresponding according to the request of data of user node Multi-medium data, so that user node plays corresponding multimedia messages.Multi-medium data can include voice data, image Any one or combination in any of data, video data and lteral data, for example, when receiving video on-demand request When, data source server can be by corresponding video data transmission to corresponding user node.Certainly, the type of multi-medium data It is not limited to above-mentioned be previously mentioned.
Because the multimedia data quality type needed for user node is had nothing in common with each other, therefore data source server can also will be more Media data carries out transcoding, and the multi-medium data after transcoding is distributed.
Can transcoding node 102, for according to can not transcoding node request of data, by the initial multimedia for receiving Data carry out multi-media transcoding operation, obtain transcoding multi-medium data, will can not turn described in transcoding multi-medium data transmission Code node;
Can transcoding node utilize transcoding function, for can not transcoding node provides upload forwarding service, what is will received is original Multi-medium data carries out transcoding, obtains the multi-medium data needed for the request of data person of sending, then by the multimedia number after transcoding According to carrying out upload forwarding.Its transcoding multimedia data may refer to carry out the coded format and encoding rate of multi-medium data to turn Change, obtain transcoding multi-medium data coded format and encoding rate meet can transcoding node demand.
It should be evident that can transcoding node the original multimedia data for receiving can be played out, i.e., according to can turn The order request of code node users, receives the required original multimedia data of source node transmission, corresponding such that it is able to play Multimedia messages.And can the transcoding of transcoding node to upload be multi-medium data based on received by itself, i.e., when can not transcoding When multi-medium data needed for node is as multi-medium data that can be received by transcoding node, can transcoding node can carry out Transcoding upload, meet can not transcoding node demand data.
It should be noted that can transcoding node may refer to the node with transcoding upload function, it can fix intelligence Energy terminal is stationary nodes, for example, PC;And can not transcoding node may refer to the node without transcoding function, it can Being mobile intelligent terminal i.e. mobile node, for example, mobile phone.Certainly, can transcoding node be not limited to stationary nodes, can not turn Code node is also not limited to mobile node.
Stationary nodes and mobile node are the ingredients of the physical network in P2P stream media systems, and nerve of a covering is to build The virtual network on physical network is stood in, data source server, stationary nodes and mobile node are coupled together.
The quality and type of required multi-medium data can not possibly be identical between stationary nodes, in order to further drop The bandwidth load of low data source server, it is possible to use the transcoding upload function of stationary nodes provides institute for other stationary nodes The multi-medium data for needing.Therefore in some embodiments of the invention, system it is described can not transcoding node be mobile node, it is described can Transcoding node is stationary nodes;The stationary nodes are specifically for other fixed knots according to same layer stationary nodes set The request of point, the original multimedia data for receiving is sent to described other stationary nodes;According to low layer stationary nodes set The stationary nodes request, high-quality multi-medium data is carried out into transcoding operation, obtain low quality multi-medium data, send The stationary nodes in the low quality multi-medium data to the low layer stationary nodes set;Wherein, the stationary nodes It is positioned in net, there is multilamellar stationary nodes set in the nerve of a covering, the stationary nodes set is according to required multimedia The height of the quality of data is divided into the stationary nodes set of different levels.
There are multiple stationary nodes in nerve of a covering in P2P systems, these stationary nodes can be according to required multimedia number According to quality height, be divided into different stationary nodes set, stationary nodes set is referred to as subsystem, i.e. stationary nodes The quality of the multi-medium data needed for stationary nodes in set is the same.It is possible to further by different stationary nodes Gather and the different levels of height are divided into according to the height of the quality of required multi-medium data, i.e., the matter of required multi-medium data Amount highest is top stationary nodes set, the quality time of required multi-medium data it is high for secondary high-rise fixed knot point set Close, the quality of required multi-medium data it is minimum for lowermost layer stationary nodes set.
It is pointed out that the multimedia quality needed for stationary nodes is determined by the playback terminal of stationary nodes, i.e., The network environment that the display device of terminal, software and hardware decoding capability and playback terminal are accessed, all affects the stationary nodes Required multimedia data quality height.Multimedia data quality may refer to the height of the encoding rate of multi-medium data, i.e., The encoding rate of multi-medium data is high, and the quality of its multi-medium data is high.And when multi-media transcoding is carried out, except by multimedia number According to quality conversion outside, the form of multi-medium data can also be changed, to ensure transcoding after multi-medium data be The multi-medium data that user node can be played.
The stationary nodes of the stationary nodes set in same level, can mutually share received multi-medium data, Multi-medium data i.e. needed for certain stationary nodes, can be shared by other stationary nodes in same layer.Certain is solid for correspondence For determining node, its multi-medium data needed for can obtaining from the stationary nodes of other in same layer, for example, when a certain layer is consolidated Determine there are n stationary nodes in node set, n is positive integer, one of stationary nodes can receive n-1 multimedia Data flow, its multimedia data stream comes from other stationary nodes of same layer stationary nodes set.
Between the stationary nodes of different levels can also mutual sharing data, i.e., the stationary nodes between different levels can be with Carry out transcoding multimedia data upload operation.Can only be from high-quality number based on the unipolarity of transcoded data, i.e. multi-medium data It is low-quality data according to transcoding, it is impossible to switch to high-quality data from low-quality data, can only be high-rise fixed knot point set Close carries out transcoding by the high-quality multi-medium data for receiving, and uploads many matchmakers of low quality needed for forwarding low layer stationary nodes set Volume data.It is understood that top stationary nodes set can be the fixed knot different from top many levels Point set provides the upload service of multi-medium data.For example, can set in nerve of a covering has m layer stationary nodes set, and m is just whole Number, ground floor is top, and n-th layer is lowermost layer, and the set of ground floor stationary nodes can be the second layer, third layer ... n-th layer Stationary nodes set provide transcoding multimedia data upload service, the set of second layer stationary nodes can with third layer, the 4th layer ... The set of n-th layer stationary nodes provides transcoding multimedia data upload service, in the same manner, the stationary nodes set of other levels class successively Push away, will not be described here.
Multi-media transcoding technology is applied in P2P stream media play systems, originally separate fixation can be caused Node set is that subsystem is interrelated, and stationary nodes can also may be used with providing transcoding upload service between other stationary nodes Transcoding upload service is provided between as mobile node.Stationary nodes can receive required multi-medium data, multi-media transcoding behaviour Make and transcoding multi-medium data sends, i.e., using the uploading bandwidth and computing resource of stationary nodes, be other stationary nodes And mobile node provides required multi-medium data, can cause the load bandwidth of data source nodes server reduces.
Multiple media types needed for different terminal equipment can be different, i.e. the volume of the multi-medium data needed for terminal unit Code form and encoding rate are different.The variation of transmitted multiple media types is brought up in the variation of terminal, and by multimedia In transcoding technology application P2P stream media play systems, diversity, the software and hardware decoding energy of user node display device can be solved The problems such as power and algorithm diversity, network environment differences, the need of the multi-format multi code Rate of Chinese character of stream media play system are adapted to Ask, and the access network structure of diversification.
It is described can not transcoding node 103, for receiving the transcoding multi-medium data, according to the transcoding multimedia number According to the corresponding multimedia messages of broadcasting.
It is understood that can not transcoding node can be mobile node, mobile node be used for receive transcoding multimedia number According to then playing corresponding multimedia messages.Multimedia messages can include video information, Word message and audio-frequency information Deng.When transcoding multi-medium data is video data, then the video data for receiving is combined, obtains required video counts According to, and then play corresponding video.
The multi-medium data source of mobile node can be stationary nodes, can also be other mobile nodes, that is, move The multi-medium data of gained can mutually be shared between node.Therefore in some embodiments of the invention, the movement of system Node specifically for when the request of other mobile nodes is received, by the received transcoding multi-medium data send to Described other mobile nodes.Mobile node can send data acquisition request, many from needed for obtaining between other mobile nodes Media data.
It is understood that because mobile node does not have transcoded data ability, therefore can not be to received multimedia number According to transcoding is carried out, the transcoding multi-medium data that mobile node can be received shares many to required multi-medium data and transcoding The consistent mobile node of the type of media data.And also can be to carry out transcoding to upload behaviour when mobile node has transcoding function Make, now, the transcoding and upload operation of mobile node can process corresponding with stationary nodes mentioned above be similar to, here Repeat no more.
The data transfer of P2P stream media play systems can be completed by network, and data source nodes, stationary nodes with And the bandwidth of mobile node is all have certain restriction.The bandwidth of stationary nodes set is the profit after self-demand is met Required multi-medium data is uploaded with a width of mobile node with remaining, therefore during data transfer, it is possible that on The not enough situation of bandwidth is passed, it is of course also possible to there is the situation of network error.Therefore in some embodiments of the invention, system The mobile node specifically for when the stationary nodes uploading bandwidth is not enough and/or during loading error occurring, from the source node The transcoding multi-medium data needed for obtaining.Stationary nodes can be the multi-medium data needed for the upload of mobile node transcoding, When the uploading bandwidth of stationary nodes is not enough, it is impossible to provide enough multi-medium datas for mobile node.Similarly, if transmission Multi-medium data it is wrong, also or the factor such as network dynamic, cause mobile node to obtain less than required multimedia number According to.Now, mobile node can be from the multi-medium data needed for data source server, and accordingly, data source server can be carried out Corresponding transcoding operation, will original multimedia data type be converted to multimedia data type needed for mobile node.
Mutually share received multi-medium data between mobile node, can further reduce data source server Load bandwidth;And at some in particular cases, data source server provides transcoding upload service, it is ensured that mobile node can connect Receive required multimedia data type.
In order to the reasonability of the data transfer in guarantee system, and user node play the fluency of multi-medium data, Data dispatch function can be increased for system, i.e., between source node, stationary nodes and mobile node, reasonably regulation and control transmission Multi-medium data.Therefore in some embodiments of the invention, also include:Data dispatch module, for using deblocking with And random network code technical transmission distributes the stationary nodes and the multi-medium data needed for the mobile node.Using data Scheduling causes user node downloading rate not less than the minimum flow rate of normal play, with the fluency that multi-medium data is played.
In P2P stream media play systems, user node obtains the downloading rate of multi-medium data more than or equal to minimum Reception flow rate, user node normally can glibly play multi-medium data, if less than minimum reception flow rate, user node is played During multi-medium data, it may appear that the situation paused or be off.Using data dispatch function, mobile node set can be caused The minimum discharge of media data needed for normal play >=all mobile node * (minimum discharge-average uploading bandwidth), or it is mobile The all mobile node * (minimum discharges-averagely upload band of minimum discharge < of multi-medium data needed for node set normal play It is wide), mobile node normal play multi-medium data will be realized.It is also possible that many matchmakers needed for stationary nodes set normal play The minimum discharge of volume data >=all stationary nodes * (minimum discharge-average uploading bandwidth), or stationary nodes set normally broadcasts All stationary nodes * of minimum discharge < (minimum discharge-average uploading bandwidth) of required multi-medium data are put, will realize fixing Node normal play multi-medium data.
According to the flow rate and bandwidth of stationary nodes, and the flow rate and the relation of bandwidth of mobile node, it may be determined that it is fixed The approach of the multi-medium data needed for node and mobile node acquisition, therefore in some embodiments of the invention, data dispatch Module includes:Stationary nodes scheduling unit, for according to the bandwidth and flow rate of the stationary nodes, determining the stationary nodes The approach of the multi-medium data needed for obtaining;Mobile node scheduling unit, for according to the bandwidth of the mobile node and Flow rate, determines that the mobile node obtains the approach of the required transcoding multi-medium data.
When the minimum flow rate of stationary nodes is more than or equal to the uploading bandwidth of stationary nodes, stationary nodes can get 1 The individual multimedia data stream for coming from data source server, and always stationary nodes number -1 comes from other stationary nodes Multimedia data stream;When the minimum flow rate of stationary nodes is less than the uploading bandwidth of stationary nodes, stationary nodes can get 2 The individual multimedia data stream for coming from data source server, and always stationary nodes number -1 comes from other stationary nodes Multimedia data stream.The acquisition of the multi-medium data needed for mobile node is similar with stationary nodes, will not be described here.
In order to preferably introduce the detailed process of data dispatch, it is introduced below in conjunction with specific formula.Can be first By pre-defined hereafter required symbol, if the fixed knot points in system are nf, movable joint points are nm, useRepresent i-th Individual stationary nodes, useI-th mobile node is represented, r is usedfRepresent and support multi-medium data normal play needed for stationary nodes Minimum flow rate, uses rmRepresent the minimum flow rate for supporting multi-medium data normal play needed for mobile node.WithRepresent i-th and consolidate Determine the uploading bandwidth of node, useRepresent the uploading bandwidth of i-th mobile node.Use ufSource node load design size is represented, WithThe average uploading bandwidth of stationary nodes is represented, is usedThe average uploading bandwidth of mobile node is represented, u is useds' represent meet pf The remaining uploading bandwidth of S after flow rate requirements,Expression meets pfAfter flow rate requirementsRemaining uploading bandwidth, use usminRepresent All node reception flow rates are all not less than required minimum flow rate.
System can allow all movements and stationary nodes all normal play when, source node consume uploading bandwidth lower limit, That is usmin≥MAX.In data dispatch, should try one's best and be close to even up to this lower limit.
Make us=MAX, whenBy theoretical formula method,There are enough uploading bandwidths by gainedOther stationary nodes are transmitted to same flow rate comprising data, soObtain 1 data flow and n from Sf- 1 is come It is from the data flow of other stationary nodes, and total flow rate:ThereforeObtain enough flow rates to support, Ensure that media normal play.
And work asWhen, S is2 multi-medium datas are sent, flow rate size is arranged for the first time (to useRepresent):Flow rate size arranges second (to useRepresent): First time flow rate and second flow rate summation calculating formula are as follows:It can be seen that, S has enough Uploading bandwidth sends more than realizing.And becauseSoThere are enough uploading bandwidths to incite somebody to action GainedOther stationary nodes are transmitted to same flow rate comprising data, soObtain 2 data flows and n from Sf- 1 data flow from other stationary nodes, and total flow rate isThereforeObtain enough Flow rate is supported, it is ensured that media normal play.
In sum, the flow rate distribution for being sent by multi-medium data above, is either existed StillIn the case of, all realize the normal play of all stationary nodes.
And the data dispatch detailed process of stationary nodes can be represented specifically with formula hereafter, represented with f (x → y)=z Node x multi-medium datas as needed for node y transmission with flow rate z, use ft(x → y)=z represents that node x is node y transcodings, and with Flow z multi-medium datas for needed for its transmission.The definition of data transmission can be as follows:
IfMore than 0, then the data transmission of 1,2,3 steps, i.e. stationary nodes are initiatedObtain 1 time and come from The data flow of source node;IfLess than 0, then the data transmission of 4,5 steps, i.e. stationary nodes are carried outObtain 2 times Come from the data flow of source node.
The Path selection of multi-medium data needed for mobile node specifically can be represented with bandwidth allocation with equation below:
IfMore than 0, then the transcoded data and transmission, i.e. mobile node of 6,7,8,9,10 steps is initiatedObtain The data flow of source node must be come from for 1 time;IfLess than 0, then transcoded data and the transmission of 6,7,8 steps is initiated, That is mobile nodeAcquisition comes from the data flow of source node for 2 times.
Data dispatch is implementing for transcoding bandwidth algorithm, its can include multi-medium data segmentation, transmission and most The process for combining eventually, i.e. data dispatch defines and how to store between source node, stationary nodes and mobile node, split, obtain Take and combinational multimedia data.The distribution of data is carried out using deblocking and random network code technology, can be caused The upstream node of user node need to only receive enough multi-medium datas without agreement in advance, user node, you can calculate Go out draw segmentation before data;When carrying out data transmission, shared bandwidth is less, and dependency is not high, moreover, the problems referred to above Solve to realize by increasing a small amount of redundant data.
In order that the experience of user is more preferably, big data push function can be increased for system, therefore in some realities of the present invention In applying example, system can also include big data pushing module, for collecting user data, be pushed away to user according to the user data Send related content.It is that user pushes corresponding multi-medium data based on the historical data of user, the experience of user can be improved.
Big data pushing module can complete collection, analysis and the push operation of big data, correspondingly, big data module Can include:Collector unit, for collecting the user data, the user data includes video information, pictorial information, text Any one or combination of information and voice messaging;Analytic unit, for the user data collected to be analyzed Excavate, find out the push content corresponding with the user data;Push unit, for giving described by the push content push User.The history for collecting user uses data, can collect various structural, unstructuredness data, picture and keyword etc. Big data;After the completion of collection, historical data can be excavated, be analyzed, i.e., system is utilized data base, needed for calculating user Multi-medium data agrees with probability, namely utilizes database function, calculates expected true probability, and then data are entered Row classification, the data point that will have kind attributes is clustered, and finally carries out the excavation of dependency, that is, find various in data Relation between variable, and decoded, so as to the push of follow-up related content.
Multi-medium data can include video data, therefore in some examples of the present invention, can include video playback mould Block, for making currently playing number of videos in predetermined threshold value, its predetermined threshold value can be set to 1, i.e., can only simultaneously play 1 Video.Certainly, predetermined threshold value can also be other numerical value, be not limited thereto.Be able to can be limited by the preposition function of mark The fixed number of videos that can be played simultaneously, specifically can be by a preposition mark on video page is played, if detection is everywhere In mark initial status, show to play video;If detect the number of videos played beyond preset range simultaneously, can be with Prompting beholder retains a number of video, it is of course also possible to directly positive closing video so that while the video counts played Amount is in preset threshold range.
The system of the P2P streaming media playings that the embodiment of the present invention is provided, the system is by turning with transcoding function Code node, when receive can not transcoding node request of data, received multi-medium data is carried out into transcoding, met Multimedia data type needed for request of data node so that can not transcoding node need not obtain many of the type from source node Media data.It can be seen that, the system using can transcoding node transcoding service, for can not transcoding node upload needed for multimedia number According to the bandwidth load of source node can be reduced.
P2P stream media play systems can apply to many network systems, for example, can apply to large-scale internet and exist Line interactive learning system.Large-scale internet online interaction learning system may refer to for providing many for the user of online learning Media data, so that user can glibly play the multimedia data informations such as the video of institute's program request.Below will be to P2P Streaming Medias The concrete application of Play System describes in detail.
Refer to Fig. 2, the system of the large-scale internet online interaction learning system that Fig. 2 is provided by the embodiment of the present invention Structural schematic block diagram, the system includes:
Source node 201, for providing original multimedia data and being distributed to nerve of a covering, there is provided transcoding service and transcoded data Distribution;
Source node is data source server, is mainly responsible for each user node and provides multi-medium data, is each user The flow rate of node provides support.
Stationary nodes 202, for the multi-medium data for receiving to be played accordingly, for the stationary nodes for having demand Transcoding upload service is provided with mobile node;
Stationary nodes have transcoding function, as can transcoding node, it can fix intelligent terminal, for example, PC.It is fixed Between node can mutual sharing data, i.e., can be carried out many by transcoding service between the stationary nodes between different levels Media data is shared, and specific transcoding shares process and may refer to corresponding part above, will not be described here.Stationary nodes are also Transcoding upload service can be provided for mobile node, i.e., when mobile node has a demand data, stationary nodes can will be received Multi-medium data carry out transcoding, the coded format and encoding rate for obtaining multi-medium data all meets many matchmakers of mobile node demand Volume data, and the multi-medium data after transcoding is sent to corresponding mobile node, detailed process can also see above accordingly Part, will not be described here.
Mobile node 203, for the multi-medium data for receiving to be played accordingly, for other movements for having demand Node shares multi-medium data;
Mobile node may refer to mobile intelligent terminal, such as mobile phone.Can mutually share between mobile node and be received The multi-medium data for arriving, detailed process may refer to corresponding part above, will not be described here.
Data dispatch module 204, it is full for using deblocking and random network code technical transmission multi-medium data The flow rate requirements of sufficient stationary nodes and mobile node, so that stationary nodes and mobile node play smooth;
It is understood that multi-media transcoding technology is applied to into big large-scale internet online interaction learning system, can The problems such as to solve user's display device diversity, software and hardware decoding capability and algorithm diversity, network environment differences, and be The skills such as the multi-format multi code Rate of Chinese character personal settings or even seamless switching, Pervasive Service of large-scale internet online interaction learning system Art provides basis.On the one hand, the access network architecture and subscriber terminal equipment of current increasingly diversification have been adapted to, has been met same Heterogeneous network and equipment differentiation, individual demand in P2P stream media systems;On the other hand, client can be more made full use of again The resources such as storage, upload, calculating, reduce data source server load and network bandwidth consumption, save system operation cost.Together When, using multi-media transcoding and data dispatch technology, it is ensured that the playing fluency of system is higher, source node server Load is relatively low.
Big data port is designed with view of existing large-scale internet online interaction learning system is typically no, in order to Make the learning effect of user more preferably, big data push function can be increased.
Big data module 205, for being collected to user data, excavating and Push Service.
In large-scale internet online interaction learning system, user can utilize the system, program request study video, study The multi-medium datas such as data, source node transmits corresponding multi-medium data for point broadcasting user, and user node is more according to what is received Media data is played out, to be learnt accordingly.
Large-scale internet online interaction learning system can possess big data and collect, analyzes and push knowledge point work( Energy.Various dynamic information are collected, is that learner and regulator provide intellectual support.The multidate information of collection can include:Certain Individual learner in learning process, call for Votes degree of participation, call for Votes point, the accuracy of operation, many performance feelings Condition, the degree of representing of multi-level knowledge, the number of times answered a question, the duration answered a question and accuracy and the frequency interactive with teacher The data message such as rate and duration, these specific data can become system and push knowledge point through special collection and arrangement Basis.
Large-scale internet online interaction learning system pushes the process of correlated knowledge point based on the data of user can be with It is embodied in:System by the course information of monitoring students ' reading electronization, submit the job information of electronic edition, online to With classmate's exchange of information and the examination for completing and test information, system can analyze the educational data of each user, can give User provides study level signal, for example, excellent difference etc.;At interval of a period of time, such as 30 seconds, collect that user is currently viewing regards The progress of frequency, if finding user a certain section in video is constantly repeated playing, system records its study vestige, system automatically Learner is allowed to learn corresponding other knowledge points of correlation of pushing video.
Large-scale internet online interaction learning system can also collect user discuss when keyword, and system background with The big data sample retained in system is compared, moderately and at the right moment push correct answer to debater.And by big data platform Analysis, can provide personalized Learning Service to all students for leaving data in platform, provide a user with genuine and believable Learning data, to improve student learning effect and reduce learning cost.
Video playback module in large-scale internet online interaction learning system, can cause currently playing video counts In preset threshold range, it can be embodied in amount only play 1 study video, it is impossible to play 2 and above video.I.e. Beholder in the playout software that large-scale internet online interaction learning system is carried, plays video page when video is watched A preposition mark on face.If " mark " is preposition, wherein, to realize indicating initial status by daemon software, mark is system Play section to carry, together install with playout software.Then prove that student is playing study video;If beholder opens 2 simultaneously Individual and the above video, then " indicate " meeting photos and sending messages to system, and system alert learner leaves behind a video.Certainly, system Backstage can also positive closing operation so that currently playing video only be one.
It should be noted that P2P stream media play systems can not only be embodied in large-scale internet handing over online Mutually learning system, can be also used for other kinds of network system, as long as the P2P streaming media playings system for being provided based on the present invention System belongs to protection scope of the present invention.
The large-scale internet online interaction learning system that the embodiment of the present invention is provided, the system has adapted to current more next More the access network architecture and subscriber terminal equipment of diversification, meets heterogeneous network and equipment in same P2P stream media systems poor Alienation, individual demand;The resources such as client storage, upload, calculating can be more made full use of again, reduce data source server load And network bandwidth consumption, save system operation cost.Meanwhile, using multi-media transcoding and data dispatch technology, it is ensured that The playing fluency of system is higher, and the load of source node server is relatively low
P2P flow media playing methods provided in an embodiment of the present invention are introduced below, P2P Streaming Medias described below Player method can be mutually to should refer to above-described P2P stream media play systems.
Fig. 3 is that a kind of flow process of specific embodiment of P2P flow media playing methods provided in an embodiment of the present invention is illustrated Figure, can include with reference to the P2P flow media playing methods of Fig. 3:
Step 301:Obtain the original multimedia data that source node is distributed;
Step 302:According to can not transcoding node request of data, the original multimedia data is carried out into multi-media transcoding Operation, obtains transcoding multi-medium data;
Step 303:By the transcoding multi-medium data be distributed to it is described can not transcoding node so that described can not transcoding section Point plays corresponding multimedia messages according to the transcoding multi-medium data.
The method of the P2P streaming media playings that the embodiment of the present invention is provided, the method is by turning with transcoding function Code node, when receive can not transcoding node request of data, received multi-medium data is carried out into transcoding, met Multimedia data type needed for request of data node so that can not transcoding node need not obtain many of the type from source node Media data.It can be seen that, the method using can transcoding node transcoding service, for can not transcoding node upload needed for multimedia number According to the bandwidth load of source node can be reduced.
Each embodiment is described by the way of progressive in this specification, and what each embodiment was stressed is and other The difference of embodiment, between each embodiment same or similar part mutually referring to.For dress disclosed in embodiment For putting, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is referring to method part Illustrate.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description And algorithm steps, can with electronic hardware, computer software or the two be implemented in combination in, in order to clearly demonstrate hardware and The interchangeability of software, according to function has generally described the composition and step of each example in the above description.These Function is performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specialty Technical staff can use different methods to realize described function to each specific application, but this realization should not Think beyond the scope of this invention.
The step of method described with reference to the embodiments described herein or algorithm, directly can be held with hardware, processor Capable software module, or the combination of the two is implementing.Software module can be placed in random access memory (RAM), internal memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, depositor, hard disk, moveable magnetic disc, CD-ROM or technology In field in known any other form of storage medium.
P2P stream media play systems provided by the present invention and method are described in detail above.Herein should The principle and embodiment of the present invention are set forth with specific case, the explanation of above example is only intended to help and manages The solution method of the present invention and its core concept.It should be pointed out that for those skilled in the art, without departing from On the premise of the principle of the invention, some improvement and modification can also be carried out to the present invention, these are improved and modification also falls into this In bright scope of the claims.

Claims (10)

1. a kind of system of P2P streaming media playings, it is characterised in that include:
Source node, the original multimedia data needed for for distributing media play;
Can transcoding node, for according to can not transcoding node request of data, the original multimedia data for receiving is entered Row multi-media transcoding is operated, and obtains transcoding multi-medium data, by the transcoding multi-medium data send it is described can not transcoding node;
It is described can not transcoding node, for receiving the transcoding multi-medium data, according to the transcoding multi-medium data, play phase The multimedia messages answered.
2. the system as claimed in claim 1, it is characterised in that it is described can not transcoding node be mobile node, it is described can transcoding Node is stationary nodes;
The stationary nodes will be received specifically for the request of other stationary nodes according to same layer stationary nodes set To original multimedia data send to other stationary nodes;
According to the request of the stationary nodes of low layer stationary nodes set, high-quality multi-medium data is carried out into transcoding operation, Obtain low quality multi-medium data, send the low quality multi-medium data to described solid in the low layer stationary nodes set Determine node;
Wherein, the stationary nodes are positioned in net, there is multilamellar stationary nodes set, the stationary nodes in the nerve of a covering Set is divided into the stationary nodes set of different levels according to the height of required multimedia data quality.
3. system as claimed in claim 2, it is characterised in that the mobile node is specifically for when receiving other movable joints During the request of point, the received transcoding multi-medium data is sent to described other mobile nodes.
4. system as claimed in claim 3, it is characterised in that the mobile node when the stationary nodes specifically for uploading When bandwidth deficiency and/or loading error occurring, the transcoding multi-medium data needed for obtaining from the source node.
5. system as claimed in claim 2, it is characterised in that also include:
Data dispatch module, for distributing the stationary nodes and institute using deblocking and random network code technical transmission State the multi-medium data needed for mobile node.
6. system as claimed in claim 5, it is characterised in that the data dispatch module includes:
Stationary nodes scheduling unit, for according to the bandwidth and flow rate of the stationary nodes, determining that the stationary nodes are obtained The approach of the required multi-medium data;
Mobile node scheduling unit, for according to the bandwidth and flow rate of the mobile node, determining that the mobile node is obtained The approach of the required transcoding multi-medium data.
7. the system as described in any one of claim 1 to 6, it is characterised in that also include:
Big data pushing module, for collecting user data, related content is pushed according to the user data to user.
8. system as claimed in claim 7, it is characterised in that the big data module includes:
Collector unit, for collecting the user data, the user data includes video information, pictorial information, text message And any one or combination of voice messaging;
Analytic unit, for the user data collected to be analyzed into excavation, finds out corresponding with the user data Push content;
Push unit, for giving the user by the push content push.
9. system as claimed in claim 7, it is characterised in that also include:
Video playback module, for making currently playing number of videos in predetermined threshold value.
10. a kind of method of P2P streaming media playings, it is characterised in that include:
Obtain the original multimedia data that source node is distributed;
According to can not transcoding node request of data, the original multimedia data is carried out into multi-media transcoding operation, turned Code multi-medium data;
By the transcoding multi-medium data be distributed to it is described can not transcoding node so that it is described can not transcoding node according to described turn Code multi-medium data, plays corresponding multimedia messages.
CN201710017709.6A 2017-01-11 2017-01-11 P2P stream media playing system and method Pending CN106657133A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710017709.6A CN106657133A (en) 2017-01-11 2017-01-11 P2P stream media playing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710017709.6A CN106657133A (en) 2017-01-11 2017-01-11 P2P stream media playing system and method

Publications (1)

Publication Number Publication Date
CN106657133A true CN106657133A (en) 2017-05-10

Family

ID=58843520

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710017709.6A Pending CN106657133A (en) 2017-01-11 2017-01-11 P2P stream media playing system and method

Country Status (1)

Country Link
CN (1) CN106657133A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108574855A (en) * 2018-03-15 2018-09-25 西安万像电子科技有限公司 Video streaming method, apparatus and system
CN112929756A (en) * 2021-03-05 2021-06-08 深圳市迅雷网络技术有限公司 Video-on-demand method, P2P node and computer-readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120029911A1 (en) * 2010-07-30 2012-02-02 Stanford University Method and system for distributed audio transcoding in peer-to-peer systems
CN105027499A (en) * 2013-04-04 2015-11-04 英特尔Ip公司 Internet protocol (IP) multimedia subsystem (IMS) based peer-to-peer (P2P) content distribution

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120029911A1 (en) * 2010-07-30 2012-02-02 Stanford University Method and system for distributed audio transcoding in peer-to-peer systems
CN105027499A (en) * 2013-04-04 2015-11-04 英特尔Ip公司 Internet protocol (IP) multimedia subsystem (IMS) based peer-to-peer (P2P) content distribution

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
SHUAI ZENG,等: ""Hybrid peer-to-peer streaming system for mobile peers with transcoding"", 《MOBIMEDIA "15 PROCEEDINGS OF THE 8TH INTERNATIONAL CONFERENCE ON MOBILE MULTIMEDIA COMMUNICATIONS》 *
刘金江,等: ""P2P网络移动流媒体转码方法研究"", 《计算机工程与设计 2010年09期》 *
曾帅: ""基于转码策略的点对点流媒体系统研究"", 《中国博士学位论文全文数据库 信息科技辑 2013年第11期》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108574855A (en) * 2018-03-15 2018-09-25 西安万像电子科技有限公司 Video streaming method, apparatus and system
CN112929756A (en) * 2021-03-05 2021-06-08 深圳市迅雷网络技术有限公司 Video-on-demand method, P2P node and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN110213609A (en) The method, apparatus and storage medium of the company of progress wheat live streaming in Web education live streaming
CN102752667B (en) Multi-stream media live broadcast interaction system and live broadcast interaction method
CN101833878A (en) Remote video education system
KR20150020570A (en) System and method for real-time composite broadcast with moderation mechanism for multiple media feeds
CN103384235A (en) Method, server and system used for data presentation during conversation of multiple persons
CN105590491A (en) Learning system and learning method based on APP
CN106899577A (en) A kind of Video service cloud platform for long-distance education
CN102855133A (en) Interactive system of computer processing unit
CN103095708A (en) Self-adaption mass information transmission framework
CN106657133A (en) P2P stream media playing system and method
CN102769666A (en) Cloud storage method and cloud storage system
Li et al. RAV: Learning-based adaptive streaming to coordinate the audio and video bitrate selections
CN112380002B (en) Online education learning implementation method and platform
Bouwman et al. Futures research, communication and the use of information and communication technology in households in 2010: a reassessment
CN105635188A (en) Visualization content distribution method and system
CN203387627U (en) Live broadcast and order system of mobile streaming media
CN108665749A (en) The display device and multimedia education system of multimedia education system under cloud desktop
KR20020073346A (en) Distributed internet broadcasting method and system using camera and screen capture
CN101820424A (en) 3G network-based smart-phone long-distance educational system
CN108259930A (en) The transfer control method and system of a kind of electronics class board
WO2023065893A1 (en) Network scheduling method, system and device
CN101163064A (en) Method of performing network living broadcast interactive teaching on mobile phone and computer using M-P2P software
CN106126754A (en) A kind of teaching information processing system
CN108668140B (en) Audio and video interaction state synchronization method and device
CN107909874A (en) A kind of multimedia interaction tutoring system and its implementation

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: 20170510

WD01 Invention patent application deemed withdrawn after publication