CN109831679A - A kind of Streaming Media time operated control method, device and computer equipment - Google Patents

A kind of Streaming Media time operated control method, device and computer equipment Download PDF

Info

Publication number
CN109831679A
CN109831679A CN201910185688.8A CN201910185688A CN109831679A CN 109831679 A CN109831679 A CN 109831679A CN 201910185688 A CN201910185688 A CN 201910185688A CN 109831679 A CN109831679 A CN 109831679A
Authority
CN
China
Prior art keywords
streaming media
buffer area
speed
preset
hui yuan
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
CN201910185688.8A
Other languages
Chinese (zh)
Other versions
CN109831679B (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.)
Sumavision Technologies Co Ltd
Original Assignee
Sumavision Technologies 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 Sumavision Technologies Co Ltd filed Critical Sumavision Technologies Co Ltd
Priority to CN201910185688.8A priority Critical patent/CN109831679B/en
Publication of CN109831679A publication Critical patent/CN109831679A/en
Application granted granted Critical
Publication of CN109831679B publication Critical patent/CN109831679B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

This application provides a kind of Streaming Medias to return operated control method, device and computer equipment, is related to field of communication technology, after being firstly received the playing request of terminal transmission, obtains the Streaming Media to be played carried in playing request;Then according to preset First Speed, Hui Yuan is carried out from the corresponding network Source Site of Streaming Media to be played, the Streaming Media of Hui Yuan is filled to preset buffer area, wherein includes at least one cache blocks in buffer area;Streaming Media is sent to terminal with preset second speed by the Streaming Media for obtaining Hui Yuan in a cache blocks in buffer area again;Finally according to the first preset cyclic check buffer area, if the Streaming Media capacity of buffer area caching is filled to the maximum cushioning value of preset buffer area, continued to carry out Hui Yuan from network Source Site according to second speed.The technical issues of solving in the prior art, source speed free switching is returned when Network status is good has reached smooth manner and has controlled the technical effect that buffer area returns source speed to Source Site.

Description

A kind of Streaming Media time operated control method, device and computer equipment
Technical field
This application involves fields of communication technology, return operated control method, device and computer more particularly, to a kind of Streaming Media Equipment.
Background technique
Currently, stream media technology is by increasing by one layer of new network architecture in existing network, by the Source Site of website Content is published to the terminal of user after network edge site is cached, so that user obtains required content, improves and uses The response speed of family access website.Streaming Media can play in real time, can be responded during broadcasting user F.F. or after The operation such as move back.But when network congestion or shake, broadcasting will appear the phenomenon that even pausing intermittently.
In the prior art, the fluency that streaming media playing is generally solved the problems, such as using caching technology, by being taken in Streaming Media Business device setting buffer area is cached, and velocity variations of the buffer area to Source Site Hui Yuan are controlled, and it is enough slow to guarantee that buffer area has It deposits and is sent for content.But in the prior art, returning source speed is the free switching under three kinds of not speed limit, low speed, pause states, When Network status is good, the phenomenon that also will appear back source speed free switching, goes out after leading to buffer area content transmission to terminal Existing frequent fluctuation situation, influences play quality.
Summary of the invention
In view of this, the application's is designed to provide a kind of Streaming Media time operated control method, device and computer equipment, Speed of the buffer area to Source Site Hui Yuan is controlled by smooth manner to reach.
In a first aspect, the embodiment of the present application provides a kind of Streaming Media time operated control method, wherein include:
After the playing request for receiving terminal transmission, the Streaming Media to be played carried in the playing request is obtained;
According to preset First Speed, Hui Yuan is carried out from the corresponding network Source Site of the Streaming Media to be played, by Hui Yuan Streaming Media fill to preset buffer area, wherein in the buffer area include at least one cache blocks;
The Streaming Media for obtaining Hui Yuan in a cache blocks in the buffer area, by the Streaming Media with preset Two speed are sent to terminal;
According to buffer area described in the first preset cyclic check, if the Streaming Media capacity filling of buffer area caching To the maximum cushioning value of preset buffer area, then continued to carry out Hui Yuan, institute from the network Source Site according to the second speed Second speed is stated less than the First Speed.
Optionally, the method also includes:
If the Streaming Media capacity of the buffer area caching is greater than the maximum cushioning value, suspend from the network source Website Hui Yuan.
Optionally, the pause is after the network Source Site Hui Yuan, comprising:
According to buffer area described in the second preset cyclic check, if the Streaming Media capacity of buffer area caching is greater than The minimal buffering value of preset buffer area and when being less than the maximum cushioning value, then continue according to the second speed from described Network Source Site carries out Hui Yuan.
Optionally, the method, further includes:
If the Streaming Media capacity of the buffer area caching is not more than the minimal buffering value, according to first speed Degree carries out Hui Yuan from the network Source Site.
Second aspect, the embodiment of the present application also provide a kind of Streaming Media time source control device, wherein include:
Receiving module, for receive terminal transmission playing request after, obtain carried in the playing request wait broadcast Streaming media;
Return source module, for according to preset First Speed, from the corresponding network Source Site of the Streaming Media to be played into Row Hui Yuan fills the Streaming Media of Hui Yuan to preset buffer area, wherein includes at least one cache blocks in the buffer area;
Sending module, for obtaining the Streaming Media of a cache blocks Hui Yuan in the buffer area, by the stream matchmaker Body is sent to terminal with preset second speed;
It checks module, is used for the buffer area according to the first preset cyclic check, if buffer area caching is described Streaming Media capacity is filled to the maximum cushioning value of preset buffer area, then is continued according to the second speed from the network source station Point carries out Hui Yuan, and the second speed is less than the First Speed.
Optionally, described device is also used to:
Suspend module, if the Streaming Media capacity for buffer area caching is greater than the maximum cushioning value, temporarily Stop from the network Source Site Hui Yuan.
Optionally, the pause module, is used for:
According to buffer area described in the second preset cyclic check, if the Streaming Media capacity of buffer area caching is greater than The minimal buffering value of preset buffer area and when being less than the maximum cushioning value, then continue according to the second speed from described Network Source Site carries out Hui Yuan.
Optionally, the inspection module, is also used to:
If the Streaming Media capacity of the buffer area caching is not more than the minimal buffering value, according to first speed Degree carries out Hui Yuan from the network Source Site.
The third aspect, the embodiment of the present application provide a kind of computer equipment, including memory, processor and are stored in institute The computer program that can be run on memory and on the processor is stated, the processor executes real when the computer program The step of existing above method.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, the computer-readable storage The step of being stored with computer program on medium, the above method executed when the computer program is run by processor.
The embodiment of the present application provides a kind of Streaming Media time operated control method, is firstly received the playing request of terminal transmission Afterwards, the Streaming Media to be played carried in the playing request is obtained;Then according to preset First Speed, from the stream to be played The corresponding network Source Site of media carries out Hui Yuan, the Streaming Media of Hui Yuan is filled to preset buffer area, wherein the buffer area In include at least one cache blocks;The Streaming Media of Hui Yuan in a cache blocks in the buffer area is obtained again, it will be described Streaming Media is sent to terminal with preset second speed;The finally buffer area according to the first preset cyclic check, if described The Streaming Media capacity of buffer area caching is filled to the maximum cushioning value of preset buffer area, then according to the second speed after It is continuous to carry out Hui Yuan from the network Source Site, speed of the buffer area to Source Site Hui Yuan is controlled by smooth manner to reach.
Other feature and advantage of the application will illustrate in the following description, also, partly become from specification It obtains it is clear that being understood and implementing the application.The purpose of the application and other advantages are in specification, claims And specifically noted structure is achieved and obtained in attached drawing.
To enable the above objects, features, and advantages of the application to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the application specific embodiment or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below Attached drawing is some embodiments of the application, for those of ordinary skill in the art, before not making the creative labor It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is the flow diagram that a kind of Streaming Media provided by the embodiments of the present application returns operated control method;
Fig. 2 is the flow diagram that another Streaming Media provided by the embodiments of the present application returns operated control method;
Fig. 3 is the structural schematic diagram that a kind of Streaming Media provided by the embodiments of the present application returns source control device;
Fig. 4 is a kind of structural schematic diagram of computer equipment provided by the embodiments of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with attached drawing to the application Technical solution be clearly and completely described, it is clear that described embodiment is some embodiments of the present application, rather than Whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making creative work premise Under every other embodiment obtained, shall fall in the protection scope of this application.
In the prior art, returning source speed is the free switching under three kinds of not speed limit, low speed, pause states, works as Network status When good, the phenomenon that also will appear back source speed free switching, fluctuation is frequent after leading to buffer area content transmission to terminal Situation influences play quality, is based on this, a kind of Streaming Media time operated control method, device and calculating provided by the embodiments of the present application Machine equipment can control speed of the buffer area to Source Site Hui Yuan with smooth manner.
To return source control to a kind of Streaming Media disclosed in the embodiment of the present application first convenient for understanding the present embodiment Method describes in detail, and Fig. 1 is the flow diagram that a kind of Streaming Media provided by the embodiments of the present application returns operated control method, such as Shown in Fig. 1, this method comprises the following steps:
Step 101, after the playing request for receiving terminal transmission, the stream matchmaker to be played carried in the playing request is obtained Body.
Specifically, mainly being adopted in broadcasting and TV digital video broadcast system and major operator's interactive Web TV system Streaming media, distribution are provided with content distributing network (CDN, Content Delivery Network) system and play clothes Business.Streaming Media to be played is distributed to buffer area from network Source Site by the buffer area being arranged by CDN streaming media server, is protected Card buffer area has enough cachings for sending Streaming Media to be played to user terminal.
Wherein, CDN streaming media server receive terminal transmission playing request after, obtain playing request in carry to Playing stream media is filled the Streaming Media of Hui Yuan to pre- by carrying out Hui Yuan from the corresponding network Source Site of Streaming Media to be played If buffer area after, user terminal is sent for Streaming Media by buffer area.
Step 102, it according to preset First Speed, is returned from the corresponding network Source Site of the Streaming Media to be played Source is filled to preset buffer area by the Streaming Media of Hui Yuan, wherein include at least one cache blocks in the buffer area.
Specifically, preset First Speed can be defined as rapid pace, indicated with PreBitrate, due to buffer area packet A certain number of cache blocks are included, therefore carry out Hui Yuan according to cache blocks, are passed through from the corresponding network Source Site of Streaming Media to be played Rapid pace carries out Hui Yuan, and the Streaming Media of Hui Yuan is filled to preset buffer area.
Step 103, the Streaming Media for obtaining Hui Yuan in a cache blocks in the buffer area, by the Streaming Media with Preset second speed is sent to terminal.
Specifically, preset second speed can be defined as normal speed, indicated with Bitrate, wherein above-mentioned to hasten fastly The relationship of degree PreBitrate and normal speed Bitrate is PreBitrate=q*Bitrate, and q is quick time source coefficient, and Q is greater than 1.Therefore q can be 2, can be 3, etc., not limit the specific value of q herein.
Here, the Streaming Media for the buffer area Hui Yuan that will acquire is sent to terminal with normal speed.
Step 104, the buffer area according to the first preset cyclic check, if the Streaming Media of buffer area caching Capacity is filled to the maximum cushioning value of preset buffer area, then continues to carry out from the network Source Site according to the second speed Hui Yuan, the second speed are less than the First Speed.
Specifically, the first preset cycle time was inspection buffer size after the above-mentioned cache blocks in one, every time source.Root The Streaming Media to be played carried in playing request according to above-mentioned acquisition, cache-time needed for obtaining Streaming Media to be played are used PreBufferTime indicates that above-mentioned cache blocks are indicated with BlockSize.For example, according to cache-time PreBufferTime, delaying Counterfoil BlockSize and normal speed Bitrate calculates preset maximum cushioning value and preset minimal buffering value, maximum Buffer value indicates that minimal buffering value is indicated with MinBuffer with MaxBuffer.Wherein, calculation formula are as follows: MaxBuffer= PreBufferTime*Bitrate/8/BlockSize.And maximum cushioning value is not less than the minimum number value of cache blocks, and caches The minimum number value of block indicates that MIN_BLOCK_NUM is set greater than equal to 2 with MIN_BLOCK_NUM.Minimal buffering value is gentle Depositing depth has relationship, calculation formula are as follows: MinBuffer=ceil (MaxBuffer-k*MaxBuffer), wherein k is that buffering is deep Coefficient is spent, for k less than 1, preferred k value is 0.5.(ceil is to seek the smallest positive integral for being greater than certain number).
For example, it is assumed that buffer size is 10M, then the largest buffered value in the user cache area can be 10M, minimal cache Value can be 5M, after terminal sends playing request, the Streaming Media to be played carried in playing request be obtained, according to rapid pace v2 Buffer area can be filled from network Source Site to maximum cushioning value, when detecting that in buffer area cache blocks is to be filled up completely After state, the Streaming Media of cache blocks Hui Yuan is obtained, Streaming Media is sent to terminal, every Hui Yuanyi from buffer area with normal speed v1 After a cache blocks, buffer size is checked, when the Streaming Media capacity for detecting buffer area caching is filled to preset maximum cushioning When value 10M, then continued to carry out Hui Yuan from network Source Site according to normal speed v1.Wherein, spatial cache, which can be, is always maintained at The size internal memory of 10M is constant, is also possible to keep a certain fixed value within the scope of 5M-10M constant, after every time one, source cache blocks, Check spatial cache size.
Fig. 2 is the flow diagram that another Streaming Media provided by the embodiments of the present application returns operated control method;Such as Fig. 2 institute Show, this method further includes following steps:
Step 201: if the Streaming Media capacity of buffer area caching is greater than the maximum cushioning value, suspending from institute State network Source Site Hui Yuan.
Specifically, if when network becomes occurring shaking or blocking from kilter, delaying during buffer area to terminal transmission The normal speed for depositing area to terminal transmission becomes smaller, and in blocking, the positive constant speed of source transmission is returned in network Source Site to buffer area Spend it is constant, after every time one, source cache blocks, check spatial cache size, if detect spatial cache be more than largest buffered value, from The normal speed of network Source Site to buffer area becomes suspending at once, suspends the Hui Yuan from network Source Site.
Step 202: according to buffer area described in the second preset cyclic check, if the Streaming Media of buffer area caching Capacity be greater than preset buffer area minimal buffering value and also be less than the maximum cushioning value when, then according to the second speed after It is continuous to carry out Hui Yuan from the network Source Site.
Specifically, the second preset cycle time was to inspect periodically, wherein periodic review times and buffer size and It is related to return the factors such as source speed, does not limit the specific time inspected periodically herein.
Assuming that buffer size is 10M, when Network status is good, after terminal sends playing request, by rapid pace into Go back source filling buffer area after, from Source Site to buffer area, the equilibrium state that buffer area to terminal is reached respectively with normal speed Transmitted, buffer area can be always maintained at 10M size internal memory it is constant, when Network status is shaken, detect slow Space is deposited more than largest buffered value, suspends the Hui Yuan from network Source Site to buffer area.Buffer area become smaller to terminal after just Constant velocity continues to transmit, and buffer area can be reduced, and inspects periodically buffer space size, detects and drop within 10M, it is assumed that caching Area drops to 7M, and the halted state from network Source Site to buffer area becomes normal speed at once, then buffer area keeps 7M at this time Memory is constant, terminal is supplied to after can returning source cache content from network Source Site with normal speed, so that buffer area is protected always Hold the caching equilibrium state of 7M.
Wherein, this method further include: if the Streaming Media capacity of buffer area caching is not more than the minimal buffering Value then carries out Hui Yuan from the network Source Site according to the First Speed.
Specifically, if network Source Site is returned in source procedure to buffer area, when network becomes blocking from kilter, this When network Source Site become smaller to the normal speed that buffer area transmits, in blocking, after every time one, source cache blocks, check slow Deposit space size.After network becomes good from blocked state, if detecting, the Streaming Media capacity of buffer area caching is less than minimum Cache size, it is assumed that minimal buffering value is 5M, and the Streaming Media capacity of buffer area caching drops to 4M at this time, then from network Source Site to slow The normal speed for depositing area becomes rapid pace at once.
The embodiment of the present application provides a kind of Streaming Media time operated control method, is firstly received the playing request of terminal transmission Afterwards, the Streaming Media to be played carried in the playing request is obtained;Then according to preset First Speed, from the stream to be played The corresponding network Source Site of media carries out Hui Yuan, the Streaming Media of Hui Yuan is filled to preset buffer area, wherein the buffer area In include at least one cache blocks;The Streaming Media of Hui Yuan in a cache blocks in the buffer area is obtained again, it will be described Streaming Media is sent to terminal with preset second speed;The finally buffer area according to the first preset cyclic check, if described The Streaming Media capacity of buffer area caching is filled to the maximum cushioning value of preset buffer area, then according to the second speed after It is continuous to carry out Hui Yuan from the network Source Site, speed of the buffer area to Source Site Hui Yuan is controlled by smooth manner to reach.
The embodiment of the present application provides a kind of Streaming Media time source control device, as shown in figure 3, the device includes with lower die Block:
Receiving module 301, for receive terminal transmission playing request after, obtain carried in the playing request to Playing stream media.
Source module 302 is returned, for according to preset First Speed, from the corresponding network Source Site of the Streaming Media to be played Hui Yuan is carried out, the Streaming Media of Hui Yuan is filled to preset buffer area, wherein includes at least one caching in the buffer area Block.
Sending module 303, for obtaining the Streaming Media of a cache blocks Hui Yuan in the buffer area, by the stream Media are sent to terminal with preset second speed.
It checks module 304, is used for the buffer area according to the first preset cyclic check, if the institute of buffer area caching It states Streaming Media capacity to fill to the maximum cushioning value of preset buffer area, is then continued according to the second speed from the network source Website carries out Hui Yuan, and the second speed is less than the First Speed.
Optionally, the device further include:
Suspend module, if the Streaming Media capacity for buffer area caching is greater than the maximum cushioning value, temporarily Stop from the network Source Site Hui Yuan.
Optionally, suspend module, be also used to:
According to buffer area described in the second preset cyclic check, if the Streaming Media capacity of buffer area caching is greater than The minimal buffering value of preset buffer area and when being less than the maximum cushioning value, then continue according to the second speed from described Network Source Site carries out Hui Yuan.
Optionally, it checks module 304, is also used to:
If the Streaming Media capacity of the buffer area caching is not more than the minimal buffering value, according to first speed Degree carries out Hui Yuan from the network Source Site.
Operated control method is returned corresponding to the Streaming Media in Fig. 1, the embodiment of the present application also provides a kind of computer equipments 400, as shown in figure 4, the equipment includes memory 401, processor 402 and is stored on the memory 401 and can be in the processing The computer program run on device 402, wherein above-mentioned processor 402 realizes above-mentioned data point when executing above-mentioned computer program Class method.
Specifically, above-mentioned memory 401 and processor 402 can be general memory and processor, do not do have here Body limits, and when the computer program of 402 run memory 401 of processor storage, is able to carry out above-mentioned Streaming Media and returns source control Method solves the problem of to return source speed free switching when Network status is good in the prior art, wherein the application passes through reception After the playing request sent to terminal, the Streaming Media to be played carried in playing request is obtained;Then according to preset first speed Degree carries out Hui Yuan, filling to preset buffer area from the corresponding network Source Site of Streaming Media to be played;Again by Streaming Media with default Second speed be sent to terminal from buffer area;Finally according to the first preset cyclic check buffer area, if what buffer area cached Streaming Media capacity is filled to the maximum cushioning value of preset buffer area, then continues to be returned from network Source Site according to second speed Source controls speed of the buffer area to Source Site Hui Yuan by smooth manner to reach.
Operated control method is returned corresponding to the Streaming Media in Fig. 1, computer-readable is deposited the embodiment of the present application also provides a kind of Storage media is stored with computer program on the computer readable storage medium, execution when which is run by processor Above-mentioned Streaming Media returns the step of operated control method.
Specifically, which can be general storage medium, such as mobile disk, hard disk, on the storage medium Computer program when being run, be able to carry out above-mentioned Streaming Media and return operated control method, it is good to solve Network status in the prior art When good, return source speed free switching the problem of, wherein the application by receive terminal transmission playing request after, acquisition is broadcast Put the Streaming Media to be played carried in request;Then according to preset First Speed, from the corresponding network source of Streaming Media to be played Website carries out Hui Yuan, filling to preset buffer area;Streaming Media is sent to terminal from buffer area with preset second speed again; Finally according to the first preset cyclic check buffer area, if the Streaming Media capacity of buffer area caching is filled to preset buffer area Maximum cushioning value then continues to carry out Hui Yuan from network Source Site according to second speed, is cached with reaching to control by smooth manner Speed of the area to Source Site Hui Yuan.
In embodiment provided by the present invention, it should be understood that disclosed device and method, it can be by others side Formula is realized.The apparatus embodiments described above are merely exemplary, for example, the division of the unit, only one kind are patrolled Function division is collected, there may be another division manner in actual implementation, in another example, multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some communication interfaces, device or unit It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in embodiment provided by the invention can integrate in one processing unit, it can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing, in addition, term " the One ", " second ", " third " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention.Should all it cover in protection of the invention Within the scope of.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. a kind of Streaming Media returns operated control method characterized by comprising
After the playing request for receiving terminal transmission, the Streaming Media to be played carried in the playing request is obtained;
According to preset First Speed, Hui Yuan is carried out from the corresponding network Source Site of the Streaming Media to be played, by the stream of Hui Yuan Media are filled to preset buffer area, wherein include at least one cache blocks in the buffer area;
The Streaming Media for obtaining Hui Yuan in a cache blocks in the buffer area, by the Streaming Media with preset second speed Degree is sent to terminal;
According to buffer area described in the first preset cyclic check, if the Streaming Media capacity of buffer area caching is filled to pre- If buffer area maximum cushioning value, then continued to carry out Hui Yuan from the network Source Site according to the second speed, described the Two speed are less than the First Speed.
2. Streaming Media according to claim 1 returns operated control method, which is characterized in that the Streaming Media returns operated control method Further include:
If the Streaming Media capacity of the buffer area caching is greater than the maximum cushioning value, suspend from the network Source Site Hui Yuan.
3. Streaming Media according to claim 2 returns operated control method, which is characterized in that described to suspend from the network source station After point Hui Yuan, the Streaming Media returns operated control method further include:
According to buffer area described in the second preset cyclic check, preset if the Streaming Media capacity of buffer area caching is greater than Buffer area minimal buffering value and also when being less than the maximum cushioning value, then continued according to the second speed from the network Source Site carries out Hui Yuan.
4. Streaming Media according to claim 3 returns operated control method, which is characterized in that the Streaming Media returns source controlling party Method, further includes:
If the Streaming Media capacity of buffer area caching is not more than the minimal buffering value, according to the First Speed from The network Source Site carries out Hui Yuan.
5. a kind of Streaming Media returns source control device characterized by comprising
Receiving module obtains the stream to be played carried in the playing request after receiving the playing request that terminal is sent Media;
Source module is returned, for according to preset First Speed, is returned from the corresponding network Source Site of the Streaming Media to be played Source is filled to preset buffer area by the Streaming Media of Hui Yuan, wherein include at least one cache blocks in the buffer area;
Sending module, for obtaining the Streaming Media of a cache blocks Hui Yuan in the buffer area, by the Streaming Media with Preset second speed is sent to terminal;
It checks module, is used for the buffer area according to the first preset cyclic check, if the stream matchmaker of buffer area caching Body capacity is filled to the maximum cushioning value of preset buffer area, then according to the second speed continue from the network Source Site into Row Hui Yuan, the second speed are less than the First Speed.
6. Streaming Media according to claim 5 returns source control device, which is characterized in that the Streaming Media returns source control device Further include:
Suspend module, if for the buffer area caching the Streaming Media capacity be greater than the maximum cushioning value, pause from The network Source Site Hui Yuan.
7. Streaming Media according to claim 6 returns source control device, which is characterized in that the pause module is also used to:
According to buffer area described in the second preset cyclic check, preset if the Streaming Media capacity of buffer area caching is greater than Buffer area minimal buffering value and also when being less than the maximum cushioning value, then continued according to the second speed from the network Source Site carries out Hui Yuan.
8. Streaming Media according to claim 7 returns source control device, which is characterized in that the inspection module is also used to:
If the Streaming Media capacity of buffer area caching is not more than the minimal buffering value, according to the First Speed from The network Source Site carries out Hui Yuan.
9. a kind of computer equipment, including memory, processor and it is stored on the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes the claims 1-4 when executing the computer program Any one of described in Streaming Media return operated control method the step of.
10. a kind of computer readable storage medium, computer program, feature are stored on the computer readable storage medium It is, Streaming Media Hui Yuan described in any one of the claims 1-4 is executed when the computer program is run by processor The step of control method.
CN201910185688.8A 2019-03-12 2019-03-12 Streaming media source returning control method and device and computer equipment Active CN109831679B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910185688.8A CN109831679B (en) 2019-03-12 2019-03-12 Streaming media source returning control method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910185688.8A CN109831679B (en) 2019-03-12 2019-03-12 Streaming media source returning control method and device and computer equipment

Publications (2)

Publication Number Publication Date
CN109831679A true CN109831679A (en) 2019-05-31
CN109831679B CN109831679B (en) 2021-10-22

Family

ID=66869196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910185688.8A Active CN109831679B (en) 2019-03-12 2019-03-12 Streaming media source returning control method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN109831679B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030131191A1 (en) * 2001-11-26 2003-07-10 Broadlogic Network Technologies, Inc. Multi-stream access scheme for high speed access and recording using a hard disk drive
US20050062772A1 (en) * 1998-11-09 2005-03-24 Paul Lapstun Printer controller for a MEMS-based page width inkjet printer
US20100146082A1 (en) * 2008-12-10 2010-06-10 Hitachi, Ltd. Data distribution communication apparatus and data distribution system
CN102571894A (en) * 2010-12-07 2012-07-11 中国电信股份有限公司 Transmission control method and player of online streaming media
US8301776B2 (en) * 2007-11-19 2012-10-30 Arris Solutions, Inc. Switched stream server architecture
CN102790925A (en) * 2011-05-20 2012-11-21 深圳市快播科技有限公司 Method and VOD (Video On Demand) terminal for playing online streaming media
CN103139188A (en) * 2011-12-05 2013-06-05 中国电信股份有限公司 Method and system of streaming media transmission
CN104010010A (en) * 2013-02-25 2014-08-27 中国移动通信集团北京有限公司 Internet resource acquisition method, device and cache system
CN105472659A (en) * 2014-08-07 2016-04-06 中国电信股份有限公司 Method and system for allocating wireless resource between nodes
CN107222560A (en) * 2017-06-29 2017-09-29 珠海市魅族科技有限公司 A kind of multinode Hui Yuan method, device and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050062772A1 (en) * 1998-11-09 2005-03-24 Paul Lapstun Printer controller for a MEMS-based page width inkjet printer
US20030131191A1 (en) * 2001-11-26 2003-07-10 Broadlogic Network Technologies, Inc. Multi-stream access scheme for high speed access and recording using a hard disk drive
US8301776B2 (en) * 2007-11-19 2012-10-30 Arris Solutions, Inc. Switched stream server architecture
US20100146082A1 (en) * 2008-12-10 2010-06-10 Hitachi, Ltd. Data distribution communication apparatus and data distribution system
CN102571894A (en) * 2010-12-07 2012-07-11 中国电信股份有限公司 Transmission control method and player of online streaming media
CN102790925A (en) * 2011-05-20 2012-11-21 深圳市快播科技有限公司 Method and VOD (Video On Demand) terminal for playing online streaming media
CN103139188A (en) * 2011-12-05 2013-06-05 中国电信股份有限公司 Method and system of streaming media transmission
CN104010010A (en) * 2013-02-25 2014-08-27 中国移动通信集团北京有限公司 Internet resource acquisition method, device and cache system
CN105472659A (en) * 2014-08-07 2016-04-06 中国电信股份有限公司 Method and system for allocating wireless resource between nodes
CN107222560A (en) * 2017-06-29 2017-09-29 珠海市魅族科技有限公司 A kind of multinode Hui Yuan method, device and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JACOB CHAKARESKI: "《Informative State-Based Video Communication》", 《IEEE TRANSACTIONS ON IMAGE PROCESSING》 *
张杰飞: "《流媒体传输协议的IP核设计》", 《中国优秀硕士学位论文全文数据库》 *

Also Published As

Publication number Publication date
CN109831679B (en) 2021-10-22

Similar Documents

Publication Publication Date Title
US10231014B2 (en) Virtual reality (VR) video distribution using edge resources
US10298969B2 (en) Architecture and method for high performance on demand video transcoding
US20180241988A1 (en) Multi-View Video Transmission Method and Apparatus
US9167007B2 (en) Stream complexity mapping
US8745262B2 (en) Adaptive network content delivery system
CN104488231B (en) Method, apparatus and system for selectively monitoring flow
US9521178B1 (en) Dynamic bandwidth thresholds
US9660922B2 (en) Network assisted rate shifting for adaptive bit rate streaming
CN106688239B (en) Method for downloading video, apparatus and system
CN102611945B (en) Streaming media slicing method, slicing server and streaming media demand system
CN112870711B (en) Cloud game processing method, device, equipment and storage medium
Veillon et al. F-FDN: Federation of fog computing systems for low latency video streaming
CN105578211B (en) Live streaming based on unlimited service node accelerates network interim card optimization method and system
CN104506950A (en) Multithread download method and download device in network streaming media play, and download equipment
CN105376176B (en) Ensure the methods, devices and systems of mobile Internet video traffic service quality
CN109600610A (en) A kind of data-encoding scheme and terminal
CN110121100A (en) Method for down loading, device, terminal and the computer readable storage medium of media file
CN110087109A (en) Video code rate adaptive approach and device
CN107846371A (en) A kind of multimedia service QoE resource allocation methods
CN107920108A (en) A kind of method for pushing of media resource, client and server
CN103986763A (en) Vector data stream transmission method and system oriented to Web visualization
CN106658113B (en) Multimedia data processing method and device
CN114640870B (en) QoE-driven wireless VR video self-adaptive transmission optimization method and system
CN105392023A (en) Video live broadcasting method and device in network jitter environment
CN109729396A (en) Video slicing data transmission method and device

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
GR01 Patent grant
GR01 Patent grant