CN102790925A - Method and VOD (Video On Demand) terminal for playing online streaming media - Google Patents

Method and VOD (Video On Demand) terminal for playing online streaming media Download PDF

Info

Publication number
CN102790925A
CN102790925A CN2011101336660A CN201110133666A CN102790925A CN 102790925 A CN102790925 A CN 102790925A CN 2011101336660 A CN2011101336660 A CN 2011101336660A CN 201110133666 A CN201110133666 A CN 201110133666A CN 102790925 A CN102790925 A CN 102790925A
Authority
CN
China
Prior art keywords
data
speed
transmission control
download
control module
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
CN2011101336660A
Other languages
Chinese (zh)
Other versions
CN102790925B (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 QVOD 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 QVOD Technology Co Ltd filed Critical Shenzhen QVOD Technology Co Ltd
Priority to CN201110133666.0A priority Critical patent/CN102790925B/en
Publication of CN102790925A publication Critical patent/CN102790925A/en
Application granted granted Critical
Publication of CN102790925B publication Critical patent/CN102790925B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides a method and a VOD (Video On Demand) terminal for playing an online streaming media. The method comprises the following steps: when the VOD terminal initially plays or a transmission control module judges that a currently downloaded data volume is less than a preset threshold value, carrying out speed limitation on P2P (peer-to-peer) network connection, simultaneously establishing a high-speed downloading channel by an accelerated downloading submodule and a high-speed channel server and carry out accelerated downloading on streaming media data with the data volume which is equal to the preset threshold value; and if the transmission control module judges that the currently downloaded data volume is greater than or equal to the preset threshold value, releasing the speed limitation on the P2P network connection, simultaneously closing the high-speed downloading channel by the accelerated downloading submodule and acquiring the rest of streaming media data at a full speed by a P2P network. The VOD terminal for playing the online streaming media comprises the accelerated downloading submodule and the transmission control module. The technical scheme adopted by the embodiment of the invention has the following beneficial effects that the waiting time of a user can be reduced and streaming media contents are shown to the user for viewing in an accelerated mode.

Description

A kind of method of online streaming media playing and program request terminal
Technical field
The present invention relates to networking technology area, relate in particular to a kind of method and program request terminal of online streaming media playing.
Background technology
Existing player; Such as Storm Player, realplayer, windows media player etc., can onlinely watch video resource, generally use P2P (Peer-to-Peer; Equity; " point-to-point " is otherwise known as) network connects, or HTTP (Hyper Text Transfer Protocol, HTTP) server and other servers.The P2P network is looked the audio resource initial stage in download, can and the server communication, obtain have descend to look the nodal information of audio resource, connect.This process need spend the foundation of certain time length wait P2P network organization, communication and speed of download stable during user's online request, because the resource race to control property that P2P connects is relatively good, other connect, and for example the occupied bandwidth of HTTP connection is just with fewer and feweri.And the data that the player at program request terminal receives disperse, and can not play at once, need could present to the user by user interface after buffering and the ordering, and whole process has increased the stand-by period, and user experience is bad.
Summary of the invention
The embodiment of the invention provides a kind of method and program request terminal of online streaming media playing, watches to quicken that streaming medium content is presented to the user.
On the one hand; The embodiment of the invention provides a kind of method of online streaming media playing; Said method comprises: when the program request terminal initial is play or transmission control module when judging current data downloaded amount less than the threshold value that presets; The P2P network connected carry out speed limit, quicken to download submodule simultaneously and set up the high-speed downloads passage, the stream medium data of the data volume of the said threshold value that presets is quickened download with the high-speed channel server; If transmission control module is judged when current data downloaded amount is greater than or equal to the said threshold value that presets; The speed limit that releasing connects said P2P network; Quicken to download submodule simultaneously and close said high-speed downloads passage, obtain the stream medium data of further part by said P2P network at full speed.
On the other hand; The embodiment of the invention provides a kind of program request terminal of online streaming media playing; Said program request terminal comprises: quicken to download submodule; Be used for when the program request terminal initial is play or transmission control module when judging current data downloaded amount, set up the high-speed downloads passage, the stream medium data of the data volume of the said threshold value that presets is quickened to download with the high-speed channel server less than the threshold value that presets; And be used for during more than or equal to the said threshold value that presets, closing said high-speed downloads passage in the data downloaded amount; Transmission control module is used for when the program request terminal initial is play or when judging current data downloaded amount less than the threshold value that presets, the P2P network is connected carry out speed limit; And be used to judge and remove the speed limit that said P2P network is connected when current data downloaded amount is greater than or equal to the said threshold value that presets, obtain the stream medium data of further part at full speed by said P2P network.
Technique scheme has following beneficial effect: because adopt when the program request terminal initial is play or when detecting buffering data in stream media in the buffering area at said program request terminal and can not satisfy online smooth playing; Speed limit is carried out in connection to the P2P network; Quicken to download submodule simultaneously and open the high-speed channel server and set up the high-speed downloads passage, the stream medium data of setting data amount is quickened to download; When surpassing the threshold value that presets as if the buffering data in stream media in the buffering area that detects said program request terminal; Transmission control module is removed the speed limit that said P2P network is connected; Closing high-speed download channel is simultaneously obtained the stream medium data of further part at full speed by said P2P network.This execution mode is used said high-speed channel server and said P2P network simultaneously; Utilize the advantage of two kinds of transmission meanss to optimize the part stream medium data after the user who downloads initial play or program request terminal drags progress bar; So can reduce user's stand-by period, quicken that streaming medium content is presented to the user and watch.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the method flow diagram of a kind of online streaming media playing of the embodiment of the invention;
Fig. 2 is the program request terminal structure sketch map of a kind of online streaming media playing of the embodiment of the invention;
Fig. 3 is embodiment of the invention transmission control module one structural representation;
Fig. 4 is another structural representation of embodiment of the invention transmission control module;
Fig. 5 is the system configuration sketch map of the online streaming media playing of application example of the present invention;
Fig. 6 is an application example player workflow sketch map of the present invention;
Fig. 7 is kept at the buffering data in stream media structural representation in the buffering area for application example of the present invention temporarily;
Fig. 8 is an application example index information hoist pennants of the present invention;
Fig. 9 is the player workflow B sketch map among application example Fig. 6 of the present invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Need spend certain time length to wait for that the foundation of P2P network organization, communication and speed of download are stablized and the problem of data recombination during to user's online request, as shown in Figure 1, be the method flow diagram of a kind of online streaming media playing of the embodiment of the invention, said method comprises:
101, when the program request terminal initial is play or transmission control module when judging current data downloaded amount less than the threshold value that presets; Speed limit is carried out in connection to the P2P network; Quicken to download submodule simultaneously and set up the high-speed downloads passage, the stream medium data of the data volume of the said threshold value that presets is quickened download with the high-speed channel server.
Transmitting the control end setting or obtaining acceleration from the usertracking server and download parameter, wherein, this acceleration is downloaded parameter and is comprised data volume download parameter.It is corresponding with reproduction time stamp parameter or high-speed downloads time that this data volume is downloaded parameter.This data download amount is set up through index information with the relation between the reproduction time: by the document misregistration amount of the corresponding video/audio of index information table inquiry play time, can the numerical value n (data offset) in the index information be set up unique corresponding relation (as shown in Figure 8) with the video data in the packet.Thereby can obtain corresponding video/audio amount according to reproduction time.This data volume is downloaded the downloading process separated into two parts of parameter with the video-voice frequency flow file, and for the data flow before the setting data amount, the load combined high-speed downloads mode that forms through proprietary protocol or http protocol is accomplished under the speed limit of employing P2P.For the data flow part after the setting data amount, the mode that then adopts P2P to download is at full speed accomplished.When audio file is looked in program request terminal initial broadcast beginning download; This transmission control module is set up the P2P network and is connected; Connect and the back P2P network is connected carry out speed limit; Quicken to download submodule simultaneously and open the high-speed channel server and set up the high-speed downloads passage, the stream medium data of setting data amount is quickened to download.
102, if transmission control module judge when current data downloaded amount is greater than or equal to the said threshold value that presets; The speed limit that releasing connects said P2P network; Quicken to download submodule simultaneously and close said high-speed downloads passage, obtain the stream medium data of further part by said P2P network at full speed.
Optional; Said method can also comprise: after the user at said program request terminal drags progress bar; Said transmission control module detect buffering data in stream media in the buffering area at program request terminal whether satisfy one preset duration broadcast; In this preset duration, said transmission control module was downloaded and buffering data in stream media; The said stream medium data amount that presets duration is 1/3rd to 1/2nd a scope of the said threshold value that presets.
Optional, said method can also comprise: when said program request terminal downloads file header, separation module is not handled the broadcast of directly carrying out said buffering data in stream media to detecting index information.When said program request terminal downloads data division; Index information is transferred to transmission control module by P2P network download index information table; When the user dragged progress bar random access file, transmission control module judged whether to download the index information table, transmission control module speed limit P2P network under the situation of not downloading the index information table; Quicken to download submodule and open the high-speed downloads passage, download the index information table jointly.Existing player; The online video resource of watching; When resolution flow medium video/audio structure division, run into the meeting of index information and search and download the index information table that has key frame information according to index information, during in order to user's random access; Such as pulling progress bar, search present frame according to key frame.But in most cases the user does not drag progress bar, the time of the index information table that but will wait for downloads, influences the experience of user to speed.Optional, said method can also comprise: when said program request terminal downloads file header, separation module is not handled the broadcast of directly carrying out said buffering data in stream media to detecting index information.When said program request terminal downloads data division; Index information is transferred to transmission control module by P2P network download index information table; When the user dragged progress bar random access file, transmission control module judged whether to download the index information table, transmission control module speed limit P2P network under the situation of not downloading the index information table; Quicken to download submodule and open the high-speed downloads passage, download the index information table jointly.Promptly after having file header and video/audio, promptly can directly carry out the broadcast of said buffering data in stream media.
Optional, the said threshold value that presets can be for playing the stream medium data amount of 30 seconds durations.Said high-speed channel server can be http server or proprietary protocol server.
In this execution mode, for 2M, the ADSL bandwidth, code check is the network environment of 600-800KB, the resource data amount of 20-30S duration is approximately 3M.Therefore the data volume of playing with the 20-30S duration can satisfy the download and the buffering of P2P mode initial stage resource data.Present embodiment is through obtaining the code check of looking audio file; Confirm the data message length of broadcast in 30 seconds, such advantage is that the deployment that the data volume of playing in 30 seconds is unlikely to make data downloaded too much avoid high-speed servers is born; Or the data volume of playing below 30 seconds is very few; Can't satisfy the smooth and easy demand that is connected on User Interface real-time play and broadcast and backstage, under the data volume parameter was provided with improperly situation, picture occurred just blocking the P2P that waits for the backstage immediately and has downloaded.To the audio file of looking of different code checks, be change with the data volume of duration calculation, as long as being provided with when satisfying user's smooth playing of this data volume also will be satisfied the download and the buffer memory of transmission control end to stream medium data.
Optional, the said P2P network is connected carried out speed limit, can comprise: limit said P2P network and connect the 20%-30% that institute's dedicated bandwidth accounts for the whole network bandwidth.
Said method embodiment of the present invention, sets up the P2P network earlier and connects when playing at the beginning according to network environment; After setting up the P2P network connected and carries out speed limit, quicken to download submodule simultaneously and open the high-speed channel server and set up the high-speed downloads passage, the stream medium data of setting data amount is quickened to download; This kind downloaded P2P the mode that cooperates high-speed downloads; Guarantee video to be presented to the user with the collocation of various network transmission means item, show immediately, experience smooth with the fastest speed.In addition, do not download index information table (please distinguish index information and index information table) during initial play, when treating user's random access; Such as pulling progress bar; Just download the index information table, reduce the time of resolution flow medium video/audio structure, can present the streaming media video program more fast.
As shown in Figure 2, be the program request terminal structure sketch map of a kind of online streaming media playing of the embodiment of the invention, said program request terminal comprises:
Quicken to download submodule 21; Be used for when the program request terminal initial is play or transmission control module when judging current data downloaded amount less than the threshold value that presets; Set up the high-speed downloads passage with the high-speed channel server, the stream medium data of the data volume of the said threshold value that presets is quickened to download; And be used for during more than or equal to the said threshold value that presets, closing said high-speed downloads passage in the data downloaded amount;
Transmission control module 22 is used for when the program request terminal initial is play or when judging current data downloaded amount less than the threshold value that presets, the P2P network is connected carry out speed limit; And be used to judge and remove the speed limit that said P2P network is connected when current data downloaded amount is greater than or equal to the said threshold value that presets, obtain the stream medium data of further part at full speed by said P2P network.
Optional; As shown in Figure 3, be embodiment of the invention transmission control module one structural representation, said transmission control module 22 can comprise: detecting unit 221; Be used for after the user at said program request terminal drags progress bar; Detect buffering data in stream media in the buffering area at program request terminal whether satisfy one preset duration broadcast, in this preset duration, said transmission control module was downloaded and buffering data in stream media; The said stream medium data amount that presets duration is 1/3rd to 1/2nd a scope of the said threshold value that presets.
Optional, said program request terminal also comprises: separation module, be used for when said program request terminal downloads file header processing and detecting not to index information directly carry out the broadcast of said buffering data in stream media.When said program request terminal downloads data division; Index information is transferred to transmission control module by P2P network download index information table; When the user dragged progress bar random access file, transmission control module judged whether to download the index information table, transmission control module speed limit P2P network under the situation of not downloading the index information table; Quicken to download submodule and open the high-speed downloads passage, download the index information table jointly.
Optional, the said threshold value that presets is for playing the stream medium data amount of 30 seconds durations; Said high-speed channel server comprises http server or proprietary protocol server.
Optional, as shown in Figure 4, be another structural representation of embodiment of the invention transmission control module, said transmission control module can comprise: speed limit unit 211 is used to limit said P2P network and connects the 20%-30% that institute's dedicated bandwidth accounts for the whole network bandwidth.
Said apparatus embodiment of the present invention downloads submodule according to network environment configuration acceleration; When playing media file at the beginning or transmission control module when judging current data downloaded amount less than the threshold value that presets; Open the high-speed channel server and set up the high-speed downloads passage; Stream medium data to the setting data amount quickens to download, and through distributing to the abundant bandwidth of high-speed channel server, makes itself and the collocation of various network transmission means item with the fastest speed video presented to the user; Show immediately, experience smooth.In addition, do not download the index information table during initial play, when treating user's random access,, just download the index information table, reduce the time of resolution flow medium video/audio structure, can present the streaming media video program more fast such as pulling progress bar.
As shown in Figure 5, be the system configuration sketch map of the online streaming media playing of application example of the present invention, this system comprises the program request terminal, usertracking server, http server and can provide some other program request terminals of uploading download service as resource node.Install to play on the local ordering terminal and look the player of audio resource and be used for the transmission control end with network communication.During playing audio-video document; Constantly obtain resource data between separation module and the transmission control end with the mode of asking/replying; Wherein transmit control end and the preservation positional information is provided to data communication interface; Like disk position or internal memory, the file read module of player reads resource data through data communication interface from preserving the position.
This player also comprises the file read module, with separation module, audio decoder module, video decode module, audio playing apparatus, the User Interface of resource data classification except that comprising above-mentioned data communication interface.Wherein, the file read module obtains resource data through data communication interface, when separation module receives the information of relevant index information table, does not do inquiry and downloads, and resolves follow-up audio-visual data but directly read.As shown in Figure 6, for application example player workflow sketch map of the present invention, comprise the steps:
601, beginning;
602, the user sends resource request through user interface to the transmission control end;
603, player carries out flow process B;
604, player carries out flow process A: the transmission control end is pushed to the file read module through data communication interface with the resource data that receives;
605, the file read module sends to separation module with resource data;
606, the file header of separation module resolving resource data;
607, judged whether index information,, then changeed step 608 if exist; If do not exist, then change step 609;
608, do not carry out any processing, promptly do not download the corresponding index information table of this index information immediately, change step 609 then;
609, the data division of separation module resolving resource data;
610, judge whether to drag progress bar random access file, if then change step 612; If, then do not change step 611;
611, index table information is transferred to transmission control module by P2P network download index information table, change step 614 and step 616 then simultaneously;
612, judge whether to download the index information table, if then change step 614 and step 616 simultaneously; If, then do not change step 613;
613, download the index information table together by high-speed channel and P2P network, change step 614 and step 616 then simultaneously;
614, separation module sends to the audio decoder module with voice data;
615, decoded voice data is presented to user voice by audio playing apparatus, and flow process finishes.
616, separation module sends to the video decode module with video data;
617, decoded video data is appeared by User Interface, and flow process finishes.
Above-mentioned transmission control end comprises transmission control module and quickens to download submodule.
In the application example of the present invention; This data download amount is set up through index information with the relation between the reproduction time: by the document misregistration amount of the corresponding video/audio of index information inquiry play time, can the numerical value n (data offset) in the index information be set up unique corresponding relation (as shown in Figure 8) with the video data in the packet.Thereby can obtain corresponding video/audio amount according to reproduction time.This data volume is downloaded the downloading process separated into two parts of parameter with the video-voice frequency flow file, and for the data flow before the setting data amount, the load combined high-speed downloads mode that forms through proprietary protocol or http protocol is accomplished under the speed limit of employing P2P.For the data flow part after the setting data amount, the mode that then adopts P2P to download is at full speed accomplished.
Below introduce resource data structure and index information structure: as shown in Figure 7; For application example of the present invention is kept at the buffering data in stream media structural representation in the buffering area temporarily; Be kept at local data temporarily and comprise three parts altogether; The P1 of first is a file header, and second portion P2 is a video/audio, and third part P3 is an index information.Wherein, as shown in Figure 8, be application example index information hoist pennants of the present invention.Wherein, described index information can form appear, and is a reproduction time t and the correspondence table of representing the numerical value n of byte offsets.Document misregistration amount through the corresponding video/audio of this index information inquiry special time; Can the numerical value n (data offset) in the index information be set up unique corresponding relation with the video/audio in the packet, thereby can obtain corresponding video/audio according to reproduction time.
As shown in Figure 9, the player workflow B sketch map among application example Fig. 6 of the present invention comprises the steps:
901, flow process B begins;
902, the transmission control end sends to the usertracking server with resource request;
903, do you judge whether quicken to download the submodule parameter sets? If, then do not change step 904; If then change step 905 and step 909 simultaneously;
904, obtain acceleration and download parameter, and change step 903;
905, quicken to download submodule according to quickening to download parameter, the P2P network is connected carry out speed limit, utilize http server to obtain the stream medium data of further part simultaneously;
906, transmission control module will be the downloaded resources metadata cache at internal memory;
907, do you judge that data in buffer is less than the threshold value that presets? If then change step 905; If, then do not change step 908;
908, transmission control module is removed said P2P network is connected the speed limit of carrying out, and simultaneously the resource data of downloading is pushed to player, changes step 913;
909, quicken to download submodule according to quickening to download parameter, the P2P network is connected carry out speed limit, utilize the P2P network to connect the stream medium data that obtains further part simultaneously;
910, transmission control module will be the downloaded resources metadata cache at internal memory;
911, do you judge that data in buffer is less than the threshold value that presets? If, then do not change step 912; If then change step 909;
912, transmission control module is removed said P2P network is connected the speed limit of carrying out, and simultaneously the resource data of downloading is pushed to player, changes step 913;
913, flow process B finishes.
Above-mentioned acceleration is downloaded submodule according to quickening the given data download amount of loading parameters from http server downloaded resources data, has downloaded the power cut-off later on of the given data volume of parameter.In initial download, the P2P that transmission control module is kept speed limit downloads, wait quicken to download submodule with the resource data of setting data amount with after the http protocol end of transmission, download with the P2P mode at full speed again and look audio resource.
Such as: to the ADSL bandwidth of 2M, code check is the network environment of 600-800KB, and the resource data amount of 20-30S duration is approximately 3M, can satisfy the download and the buffering of P2P mode resource data.Therefore give the data download amount that download module distributes the 30S duration of quickening, while transmission control module limiting P 2 P speed of download such as the restriction speed of download is: 60KB.
Process prescription: player carries out a program request, at first to usertracking server requests P2P nodal information, and usertracking server return node information, player will connect one by one.Meanwhile behind usertracking server requests P2P nodal information; Ask the server in the high-speed channel to high-speed channel server (http server or proprietary protocol server) immediately; If there is this file HASH (sign of the file that calculates) in the high-speed channel server; Then corresponding server information is returned to player, player connects this high-speed channel server.When player and the successful connection of high-speed channel server, can carry out speed limit this moment to the P2P download network, and the scope of speed limit is at the 20-30% of the whole network bandwidth.The purpose of speed limit be for local sufficient bandwidth usage with high-speed channel in server communication.In this execution mode, obtain 30 seconds data volume of enough broadcasts, and break off connection, decontrol speed limit simultaneously the P2P network with the server successful connection of high-speed channel.
When user people for dragging progress bar to not in the download location time; Accelerator is following: under the situation that keeps original P2P network normal downloading; Separation module is not handled the index information of receiving; Do not skip to and look the audio file afterbody and download the index information table, during file in download, the processing of not downloading the index information table has accelerated to show the speed of video to the user on the player backstage.
Because application example of the present invention is downloaded the post acceleration that finishes and downloaded the submodule power cut-off, transmission control module cancellation speed limit is downloaded, and downloads at full speed with the P2P mode, and what steady and continuous was provided looks the audio resource data flow.During user's random access,, just download the index information table, reduce the time of resolution flow medium video/audio structure, can present video frequency program more fast such as pulling progress bar.Be provided with and quicken to download submodule, download parameter according to the acceleration that the network environment configuration is corresponding; Distribute the data download amount, make itself and the collocation of various network transmission means item video presented to the user, show immediately, experience smooth with the fastest speed.
Because application example of the present invention adopts HTTP and P2P to walk abreast, under pattern, guarantee that HTTP has enough bandwidth to download to the intelligent speed limit of P2P network.This mode advantage is the good P2P network node of initialization faster, after HTTP downloads end, can use reduction P2P download in the shortest time, to guarantee that data can closely be connected, is unlikely to pause midway.
Because it is an integral body that application example P2P network portion of the present invention is downloaded, the HTTP high-speed channel also is an integral body, and in the time of the http server fault, the P2P network portion is moved same as before, can be unaffected fully.When the HTTP high-speed service is recovered, can be connected automatically.
Because application example of the present invention calculates through the code check to file; Learn the data message length of playing in 30 seconds; Such advantage is; Be unlikely to the deployment burden that data downloaded has too much strengthened high-speed servers, or the very few demand that can't satisfy broadcast, just blocking immediately appears in picture waits for that P2P has downloaded.
Because the triggering power that application example of the present invention will speed up is left the user for, when the situation that the user selects to drag goes to quicken.Such advantage is to make full use of P2P to carry out the data download, has practiced thrift actual operation cost.
Because application example of the present invention utilizes the high-speed channel server preferentially to download the initial part data, and combines to play the no index play-back technology of part, can let program request first faster.When dragging, the user needs index information when looking audio frequency; Application example of the present invention can utilize the P2P network preferentially to download index, can after speed limit finish first, be about to index just download silently and return; When the user drags for the first time; Completion downloaded in index probably, only needs to download the current data that drag this moment and get final product, so also played acceleration effect.So whole structure can be more faster than the original design of the other side.
Those skilled in the art can also recognize the various illustrative components, blocks (illustrative logical block) that the embodiment of the invention is listed, and unit and step can be passed through electronic hardware, computer software, or both combinations realize.Be the clear replaceability (interchangeability) of showing hardware and software, above-mentioned various illustrative components (illustrative components), unit and step have been described their function generally.Such function is to realize depending on the designing requirement of certain applications and whole system through hardware or software.Those skilled in the art can be for every kind of certain applications, and can make ins all sorts of ways realizes described function, but this realization should not be understood that to exceed the scope of embodiment of the invention protection.
Various illustrative logical block described in the embodiment of the invention; Or the unit can pass through general processor, digital signal processor, application-specific integrated circuit (ASIC) (ASIC); Field programmable gate array (FPGA) or other programmable logic device; Discrete gate or transistor logic, discrete hardware components, or the design of above-mentioned any combination realizes or operates described function.General processor can be microprocessor, and alternatively, this general processor also can be any traditional processor, controller, microcontroller or state machine.Processor also can realize through the combination of calculation element, for example digital signal processor and microprocessor, a plurality of microprocessors, Digital Signal Processor Core of one or more microprocessors associatings, or any other similarly configuration realize.
The method described in the embodiment of the invention or the step of algorithm can directly embed hardware, the software module of processor execution or the two combination.Software module can be stored in the storage medium of other arbitrary form in RAM memory, flash memory, ROM memory, eprom memory, eeprom memory, register, hard disk, moveable magnetic disc, CD-ROM or this area.Exemplarily, storage medium can be connected with processor, so that processor can read information from storage medium, and can deposit write information to storage medium.Alternatively, storage medium can also be integrated in the processor.Processor and storage medium can be arranged among the ASIC, and ASIC can be arranged in the user terminal.Alternatively, processor and storage medium also can be arranged in the various parts in the user terminal.
In one or more exemplary designs, the described above-mentioned functions of the embodiment of the invention can realize in hardware, software, firmware or this three's combination in any.If in software, realize, these functions can be stored on the media with computer-readable, or are transmitted on the media of computer-readable with one or more instructions or code form.The computer-readable media comprises that the computer storage medium lets computer program transfer to other local communication medium from a place with being convenient to make.Storage medium can be the useable medium that any general or special computer can access.For example; Such computer readable media can include but not limited to RAM, ROM, EEPROM, CD-ROM or other optical disc storage, disk storage or other magnetic storage device, or other any can be used to carry or store with instruction or data structure and other can be read the media of the program code of form by general or special computer or general or special processor.In addition; Any connection can suitably be defined as the computer-readable media; For example, if software is through a coaxial cable, optical fiber computer, twisted-pair feeder, Digital Subscriber Line (DSL) or also being comprised in the defined computer-readable media with wireless mode transmission such as for example infrared, wireless and microwaves from a web-site, server or other remote resource.Described video disc (disk) and disk (disc) comprise Zip disk, radium-shine dish, CD, DVD, floppy disk and Blu-ray Disc, and disk is usually with the magnetic duplication data, and video disc carries out the optical reproduction data with laser usually.Above-mentioned combination also can be included in the computer-readable media.
Above-described embodiment; The object of the invention, technical scheme and beneficial effect have been carried out further explain, and institute it should be understood that the above is merely embodiment of the present invention; And be not used in qualification protection scope of the present invention; All within spirit of the present invention and principle, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the method for an online streaming media playing is characterized in that, said method comprises:
When the program request terminal initial is play or transmission control module when judging current data downloaded amount less than the threshold value that presets; Speed limit is carried out in connection to the P2P network; Quicken to download submodule simultaneously and set up the high-speed downloads passage, the stream medium data of the data volume of the said threshold value that presets is quickened download with the high-speed channel server;
If transmission control module is judged when current data downloaded amount is greater than or equal to the said threshold value that presets; The speed limit that releasing connects said P2P network; Quicken to download submodule simultaneously and close said high-speed downloads passage, obtain the stream medium data of further part by said P2P network at full speed.
2. method according to claim 1 is characterized in that said method also comprises:
After the user at said program request terminal drags progress bar; Said transmission control module detect buffering data in stream media in the buffering area at program request terminal whether satisfy one preset duration broadcast; In this preset duration, said transmission control module was downloaded and buffering data in stream media; The said stream medium data amount that presets duration is 1/3rd to 1/2nd a scope of the said threshold value that presets.
3. method according to claim 1 is characterized in that said method also comprises:
When said program request terminal downloads file header, separation module is not handled the broadcast of directly carrying out said buffering data in stream media to detecting index information.
4. like the said method of claim 3, it is characterized in that, when said program request terminal downloads data division; Index information is transferred to transmission control module by P2P network download index information table; When the user dragged progress bar random access file, transmission control module judged whether to download the index information table, transmission control module speed limit P2P network under the situation of not downloading the index information table; Quicken to download submodule and open the high-speed downloads passage, download the index information table jointly.
5. method according to claim 1 is characterized in that, the said threshold value that presets is for playing the stream medium data amount of 30 seconds durations; Said high-speed channel server comprises http server or proprietary protocol server; The said P2P network is connected carried out speed limit, comprising: limit said P2P network and connect the 20%-30% that institute's dedicated bandwidth accounts for the whole network bandwidth.
6. the program request terminal of an online streaming media playing is characterized in that, said program request terminal comprises:
Quicken to download submodule; Be used for when the program request terminal initial is play or transmission control module when judging current data downloaded amount less than the threshold value that presets; Set up the high-speed downloads passage with the high-speed channel server, the stream medium data of the data volume of the said threshold value that presets is quickened to download; And be used for during more than or equal to the said threshold value that presets, closing said high-speed downloads passage in the data downloaded amount;
Transmission control module is used for when the program request terminal initial is play or when judging current data downloaded amount less than the threshold value that presets, the P2P network is connected carry out speed limit; And be used to judge and remove the speed limit that said P2P network is connected when current data downloaded amount is greater than or equal to the said threshold value that presets, obtain the stream medium data of further part at full speed by said P2P network.
7. like the said program request of claim 6 terminal, it is characterized in that said transmission control module comprises:
Detecting unit; Be used for after the user at said program request terminal drags progress bar; Detect buffering data in stream media in the buffering area at program request terminal whether satisfy one preset duration broadcast, in this preset duration, said transmission control module was downloaded and buffering data in stream media; The said stream medium data amount that presets duration is in 1/3rd to 1/2nd scopes of the said threshold value that presets.
8. like the said program request of claim 6 terminal, it is characterized in that said program request terminal also comprises:
Separation module, be used for when said program request terminal downloads file header processing and detecting not to index information directly carry out the broadcast of said buffering data in stream media.
9. like the said program request of claim 8 terminal, it is characterized in that, when said program request terminal downloads data division; Index information is transferred to transmission control module by P2P network download index information table; When the user dragged progress bar random access file, transmission control module judged whether to download the index information table, transmission control module speed limit P2P network under the situation of not downloading the index information table; Quicken to download submodule and open the high-speed downloads passage, download the index information table jointly.
10. like the said program request of claim 6 terminal, it is characterized in that the said threshold value that presets is for playing the stream medium data amount of 30 seconds durations; Said high-speed channel server comprises http server or proprietary protocol server, and said transmission control module comprises:
The speed limit unit is used to limit said P2P network and connects the 20%-30% that institute's dedicated bandwidth accounts for the whole network bandwidth.
CN201110133666.0A 2011-05-20 2011-05-20 Method and VOD (Video On Demand) terminal for playing online streaming media Expired - Fee Related CN102790925B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110133666.0A CN102790925B (en) 2011-05-20 2011-05-20 Method and VOD (Video On Demand) terminal for playing online streaming media

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110133666.0A CN102790925B (en) 2011-05-20 2011-05-20 Method and VOD (Video On Demand) terminal for playing online streaming media

Publications (2)

Publication Number Publication Date
CN102790925A true CN102790925A (en) 2012-11-21
CN102790925B CN102790925B (en) 2015-04-29

Family

ID=47156208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110133666.0A Expired - Fee Related CN102790925B (en) 2011-05-20 2011-05-20 Method and VOD (Video On Demand) terminal for playing online streaming media

Country Status (1)

Country Link
CN (1) CN102790925B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103001955A (en) * 2012-11-22 2013-03-27 中兴通讯股份有限公司 Method and system for accelerating business downloading and method and device for maintaining business states
CN103024446A (en) * 2012-12-31 2013-04-03 传聚互动(北京)科技有限公司 Loading and buffering method and system for online video
CN103544056A (en) * 2013-10-23 2014-01-29 腾讯科技(武汉)有限公司 Method, device and terminal equipment for controlling task speed
CN103974339A (en) * 2013-01-28 2014-08-06 华为技术有限公司 Data caching method and device
CN104683416A (en) * 2013-12-02 2015-06-03 乐视网信息技术(北京)股份有限公司 Method and device for downloading data in P2P (Peer-to-Peer) network
WO2015089772A1 (en) * 2013-12-18 2015-06-25 华为技术有限公司 Video acceleration method, client and network element
CN105635828A (en) * 2014-10-28 2016-06-01 腾讯科技(深圳)有限公司 Play control method, play control device and electronic equipment comprising play control device
CN105721604A (en) * 2016-03-24 2016-06-29 北京百度网讯科技有限公司 Data sending method and device based on downloading request of user
CN109831679A (en) * 2019-03-12 2019-05-31 北京数码视讯软件技术发展有限公司 A kind of Streaming Media time operated control method, device and computer equipment
CN110012068A (en) * 2019-03-01 2019-07-12 北京奇艺世纪科技有限公司 A kind of download control method, device and storage medium
US10992723B2 (en) 2017-02-09 2021-04-27 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for processing streaming media data and terminal
WO2023169262A1 (en) * 2022-03-08 2023-09-14 北京字节跳动网络技术有限公司 Dynamic video downloading method and apparatus, electronic device and storage medium
CN116916048A (en) * 2023-09-07 2023-10-20 典基网络科技(上海)有限公司 Hybrid architecture, method, device and medium for streaming media transmission optimization
WO2023226757A1 (en) * 2022-05-23 2023-11-30 北京字节跳动网络技术有限公司 Video caching method and apparatus, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863154A (en) * 2005-10-18 2006-11-15 华为技术有限公司 Method for limiting current for point to point application
CN1889475A (en) * 2006-07-31 2007-01-03 南京信风软件有限公司 Method for real-time monitoring P2P application consumed bandwidth
CN101431469A (en) * 2008-10-08 2009-05-13 东南大学 P2P system rate control method based on game theory
CN101577671A (en) * 2008-05-07 2009-11-11 北京启明星辰信息技术股份有限公司 Method and system for automatically controlling flow of peer-to-peer networking service
CN101883001A (en) * 2009-05-08 2010-11-10 北京启明星辰信息技术股份有限公司 Method and system for traffic identification and management of P2P application in small network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863154A (en) * 2005-10-18 2006-11-15 华为技术有限公司 Method for limiting current for point to point application
CN1889475A (en) * 2006-07-31 2007-01-03 南京信风软件有限公司 Method for real-time monitoring P2P application consumed bandwidth
CN101577671A (en) * 2008-05-07 2009-11-11 北京启明星辰信息技术股份有限公司 Method and system for automatically controlling flow of peer-to-peer networking service
CN101431469A (en) * 2008-10-08 2009-05-13 东南大学 P2P system rate control method based on game theory
CN101883001A (en) * 2009-05-08 2010-11-10 北京启明星辰信息技术股份有限公司 Method and system for traffic identification and management of P2P application in small network

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103001955B (en) * 2012-11-22 2017-05-31 南京中兴软件有限责任公司 Method and system, the maintaining method and device of service condition that service downloading accelerates
CN103001955A (en) * 2012-11-22 2013-03-27 中兴通讯股份有限公司 Method and system for accelerating business downloading and method and device for maintaining business states
AU2013350222B2 (en) * 2012-11-22 2016-03-03 Zte Corporation Service download acceleration method and system, service state maintenance method and device
CN103024446A (en) * 2012-12-31 2013-04-03 传聚互动(北京)科技有限公司 Loading and buffering method and system for online video
CN103974339A (en) * 2013-01-28 2014-08-06 华为技术有限公司 Data caching method and device
US9866495B2 (en) 2013-01-28 2018-01-09 Huawei Technologies Co., Ltd. Method and apparatus for buffering data
CN103544056A (en) * 2013-10-23 2014-01-29 腾讯科技(武汉)有限公司 Method, device and terminal equipment for controlling task speed
CN104683416A (en) * 2013-12-02 2015-06-03 乐视网信息技术(北京)股份有限公司 Method and device for downloading data in P2P (Peer-to-Peer) network
WO2015089772A1 (en) * 2013-12-18 2015-06-25 华为技术有限公司 Video acceleration method, client and network element
CN104995923A (en) * 2013-12-18 2015-10-21 华为技术有限公司 Video acceleration method, client and network element
CN104995923B (en) * 2013-12-18 2019-03-08 华为技术有限公司 Video acceleration method, client and network element
CN105635828B (en) * 2014-10-28 2019-12-03 腾讯科技(深圳)有限公司 Control method for playing back, device, electronic equipment and storage medium
CN105635828A (en) * 2014-10-28 2016-06-01 腾讯科技(深圳)有限公司 Play control method, play control device and electronic equipment comprising play control device
CN105721604A (en) * 2016-03-24 2016-06-29 北京百度网讯科技有限公司 Data sending method and device based on downloading request of user
US10992723B2 (en) 2017-02-09 2021-04-27 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for processing streaming media data and terminal
CN110012068A (en) * 2019-03-01 2019-07-12 北京奇艺世纪科技有限公司 A kind of download control method, device and storage medium
CN110012068B (en) * 2019-03-01 2022-02-11 北京奇艺世纪科技有限公司 Download control method, device and storage medium
CN109831679A (en) * 2019-03-12 2019-05-31 北京数码视讯软件技术发展有限公司 A kind of Streaming Media time operated control method, device and computer equipment
CN109831679B (en) * 2019-03-12 2021-10-22 北京数码视讯软件技术发展有限公司 Streaming media source returning control method and device and computer equipment
WO2023169262A1 (en) * 2022-03-08 2023-09-14 北京字节跳动网络技术有限公司 Dynamic video downloading method and apparatus, electronic device and storage medium
WO2023226757A1 (en) * 2022-05-23 2023-11-30 北京字节跳动网络技术有限公司 Video caching method and apparatus, device and storage medium
CN116916048A (en) * 2023-09-07 2023-10-20 典基网络科技(上海)有限公司 Hybrid architecture, method, device and medium for streaming media transmission optimization
CN116916048B (en) * 2023-09-07 2023-11-17 典基网络科技(上海)有限公司 Hybrid architecture, method, device and medium for streaming media transmission optimization

Also Published As

Publication number Publication date
CN102790925B (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN102790925A (en) Method and VOD (Video On Demand) terminal for playing online streaming media
CN105814900B (en) System and method for managing adjacent channel in adaptive streaming environment
KR101737325B1 (en) Method and apparatus for reducing decreasing of qualitly of experience in a multimedia system
CN110636346B (en) Code rate self-adaptive switching method and device, electronic equipment and storage medium
CA2988320C (en) Http live streaming (hls) video client synchronization
CN102739627B (en) Method and system for switching and playing video
WO2019128800A1 (en) Content service implementation method and device, and content delivery network node
EP2850844A1 (en) Enforcement of trick-play disablement in adaptive bit rate video content delivery
CN104202684A (en) Segmental network video seamless playing method and device
CN106165432A (en) For carrying out the system and method for fast channel change in adaptive streaming environment
CN107612912B (en) Method and device for setting playing parameters
CN107920258B (en) Data processing method and device
US11863841B2 (en) Video playing control method and system
US9379990B2 (en) System and method for streaming a media file from a server to a client device
CN113767639B (en) Method, apparatus and non-volatile computer readable medium for receiving media data
CN110198494B (en) Video playing method, device, equipment and storage medium
US11184655B1 (en) System and method for intelligent delivery of segmented media streams
CN102497423A (en) Method, device and system for playing songs in webpage chat room
CN104471947A (en) Content transmission device, content playback device, content delivery system, control method for content transmission device, control method for content playback device, data structure, control program, and recording medium
CN108028963A (en) Sending device, receiving device and data processing method
CN108124169A (en) A kind of P2P Video service accelerated methods of household radio router
CN103491426A (en) Video-on-demand system of IPTV
CN104641655A (en) Terminal cache method, terminal and server
CN106302465B (en) A kind of method and device of playing audio-video data
US20120246269A1 (en) Data processing apparatus, data processing method, and computer program product

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: SHENZHEN YUNFAN CENTURY TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: SHENZHEN KUAIBO TECHNOLOGY CO., LTD.

Effective date: 20141010

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20141010

Address after: 518057 Guangdong, Shenzhen, Futian District, No. 3013 Yitian Road, South Plaza, building A room, room 1605

Applicant after: SHENZHEN YUNFAN CENTURY TECHNOLOGY CO., LTD.

Address before: 518057 Guangdong city of Shenzhen province Nanshan District Gao Xin Road No. 009 China Technology Development Institute Technology Park building three, 22 floor

Applicant before: SHENZHEN QVOD TECHNOLOGY Co.,Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150429

Termination date: 20200520

CF01 Termination of patent right due to non-payment of annual fee