CN101668310A - Method for broadcasting stream media and device therefor - Google Patents

Method for broadcasting stream media and device therefor Download PDF

Info

Publication number
CN101668310A
CN101668310A CN200910178409A CN200910178409A CN101668310A CN 101668310 A CN101668310 A CN 101668310A CN 200910178409 A CN200910178409 A CN 200910178409A CN 200910178409 A CN200910178409 A CN 200910178409A CN 101668310 A CN101668310 A CN 101668310A
Authority
CN
China
Prior art keywords
packet loss
module
media data
statistics
network side
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN200910178409A
Other languages
Chinese (zh)
Inventor
王曦
梁王乐文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200910178409A priority Critical patent/CN101668310A/en
Publication of CN101668310A publication Critical patent/CN101668310A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for broadcasting stream media and a device therefor, belonging to the communication field. The method comprises: receiving a stream media data packet sent by a networkside; carrying out statistics on packet loss rate according to the received stream media data packet; sending service quality regulation request to the network side when the packet loss rate obtainedby the statistics is more than the threshold value of the packet loss rate; and broadcasting the stream media data packet according to the response of allowing regulating the service quality sent bythe network side. The device comprises a receiving module, a statistical module, a comparison module, a sending module and a broadcasting module. The technical scheme of the invention can lead a terminal to regulate the broadcasting quality of the stream media in a self-adapting way in the different network environments, ensures the user to watch the satisfactory stream media broadcasting effect and improves the degree of satisfaction of the user.

Description

The method and apparatus of playing stream media
Technical field
The present invention relates to the communications field, particularly a kind of method and apparatus of playing stream media.
Background technology
Streaming Media is the multimedia file of a kind of application stream technology in transmission over networks, be a kind of continuous image and acoustic information to be placed on the Website server after overcompression is handled, allow the user watch while downloading, to listen to, and the network transmission technology that just can watch after need not etc. on the machine that whole compressed file downloads to oneself.Streaming Media utilization bandwidth varying technology is with the transmission means of " stream " media formats by netcast, as multimedia files such as audio frequency, videos.
Streaming media service has been widely used among the 2.5/3G mobile network at present, and the user passes through mobile flow medium, the multimedia programming that can watch streamium TV, streaming media on demand etc. oneself to like at any time in terminals such as mobile phones.Streaming Media has become one of main business of mobile value-added service development.But because mobile network's characteristics, may there be difference in Network Transmission quality such as network transmission speed in moving, phenomenons such as transmission packet loss often take place, cause phenomenons such as the streaming media video flower shields, audio frequency is interrupted, can cause mobile flow medium play quality problem of unstable, reduce user's satisfaction.In addition in 3G network, because transmission rate settings such as downstream rate there are differences, littler if transmission rate is provided with than the code check of playing, also can cause phenomenons such as the streaming media video flower shields, audio frequency is interrupted, cause mobile flow medium play quality instability, reduced user's satisfaction.
Summary of the invention
The problem that the embodiment of the invention will solve provides a kind of method and apparatus of playing stream media, to solve mobile flow medium play quality problem of unstable in the prior art.
In order to address the above problem, the embodiment of the invention provides a kind of method and apparatus of playing stream media, and concrete technical scheme is as follows:
A kind of method of playing stream media comprises:
Receive the flow media data packet that network side sends;
According to the flow media data packet statistics packet loss that receives;
The packet loss threshold value of the packet loss of comparative statistics and setting;
When the packet loss of described statistics during, send service quality to network side and regulate request greater than the packet loss threshold value of described setting;
Play described flow media data packet according to the replying of permission adjusting service quality that described network side sends.
A kind of terminal comprises:
Receiver module is used to receive the flow media data packet that network side sends;
Statistical module is used for according to the flow media data packet statistics packet loss that receives;
Comparison module, whether the packet loss that is used for more described statistical module counts is greater than the packet loss threshold value;
Sending module, be used for when the comparative result of comparison module for greater than the time, send service quality to described network side and regulate request;
What playing module, the permission that is used for sending according to described network side were regulated service quality replys the play stream media data bag.
In embodiments of the present invention, by receiving the flow media data packet that network side sends; According to the flow media data packet statistics packet loss that receives; When the packet loss of statistics during, send service quality to network side and regulate request greater than the packet loss threshold value; Play described flow media data packet according to the replying of permission adjusting service quality that described network side sends, can be under different network environments, make the terminal self adaptation regulate the streaming media playing quality, make the user can both watch satisfied streaming media playing effect, improved user's satisfaction.
Description of drawings
Fig. 1 is the flow chart of the method for a kind of playing stream media of providing of the embodiment of the invention;
Fig. 2 is the structural representation of a kind of terminal of providing of the embodiment of the invention;
Fig. 3 is the method detail flowchart of a kind of playing stream media of providing of the embodiment of the invention.
Embodiment
Core concept of the present invention is: by receiving the flow media data packet that network side sends; According to the flow media data packet statistics packet loss that receives; When the packet loss of statistics during, send service quality to network side and regulate request greater than the packet loss threshold value; Play described flow media data packet according to the replying of permission adjusting service quality that described network side sends, can be under different network environments, make the terminal self adaptation regulate the streaming media playing quality, make the user can both watch satisfied streaming media playing effect, improved user's satisfaction.
Below in conjunction with accompanying drawing and preferred implementation technical solution of the present invention is elaborated.
The embodiment of the invention provides a kind of method of playing stream media, as shown in Figure 1, comprising:
101, receive the flow media data packet that network side sends;
102, according to the flow media data packet statistics packet loss that receives;
103, when the packet loss of statistics during, send service quality to network side and regulate request greater than the packet loss threshold value;
104, play described flow media data packet according to the replying of permission adjusting service quality that described network side sends.
Below in conjunction with concrete example the embodiment of the invention is described in detail, but this example does not constitute limiting the scope of the invention.As shown in Figure 2, terminal comprises in this example: receiver module, statistical module, comparison module, sending module, playing module and notification module.Wherein, this terminal both can be a portable terminal, also can be server.Wherein, set a timer on the terminal, after streaming media playing begins, timer initiation timing, i.e. setting data measurement period; Statistical module is used for the flow media data packet that receives is added up, and comprises the quantity of data packets that has sent, the information such as quantity of data packets of losing, thereby obtains network packet loss rate; Comparison module is used for finishing the packet loss of statistics and the packet loss threshold value of setting is compared, in case network packet loss rate shows then that greater than the packet loss threshold value of setting network quality is poor, needs to start sending module; Sending module, proposes service quality to network side and regulates request during greater than setting threshold in network packet loss rate.What service quality was regulated in the permission that playing module sends according to network side replys the adjustment network transmission parameter, so that the smooth playing Streaming Media guarantees good play quality.Wherein, during less than the packet loss threshold value set, the notice statistical module makes statistical module begin the statistics of packet loss next time to notification module in network packet loss rate.
In conjunction with Fig. 2, the method for the playing stream media that this example provides comprises as shown in Figure 3:
301, after the user entered streaming media playing, terminal can start timer on the backstage, and the setting data measurement period carries out the timing statistics.
302, timer judges whether to reach measurement period, if the starting terminal statistical module is added up the quantity of data packets that has sent, the information such as quantity of data packets of losing, and calculates network packet loss rate; If not, then turn to 301, proceed the timing statistics.
303, whether the network packet loss rate of comparison module comparative statistics module statistics greater than default packet loss threshold value, if greater than, then notify sending module, and carry out 304; If less than, then begin the statistics of packet loss next time by notification module notice statistical module.
Particularly, default packet loss threshold value can be set the perception of various flows medium type according to dissimilar streaming media resources and/or user, and for example, for video stream media, key frame quantity is more, needs to set higher packet loss threshold value; Or the code check of streaming media resource is higher, at this moment, needs to set higher packet loss threshold value; Or the definition that the user has relatively high expectations to a certain streaming media resource is then set than the high packet loss threshold value.If the network packet loss rate of statistics shows that greater than default packet loss threshold value network quality is poor, need to start sending module, if, then begin the statistics of packet loss next time less than the packet loss threshold value of setting.
For example, current transmission rate is 64k, the network packet loss rate of threshold decision module judgment data statistical module counts is greater than default packet loss threshold value, at this moment, show that network quality is relatively poor, it is 384k that terminal needs current transmission rate, could guarantee the Streaming Media smooth playing, so comparison module notice sending module is to network side requesting adjustment transmission rate.
304, sending module sends service quality to network side and regulates request;
Particularly, after sending module receives the notice of comparison module, send service quality to network side and regulate request, request is adjusted into 384k with transmission rate from 64k.
305, the playing stream media of replying of service quality is regulated in the permission that playing module returns according to network side.
Particularly, under the situation that network side allows, network side sends to terminal and allows transmission rate is adjusted into replying of 384k from 64k, and playing module is replied according to this and play current Streaming Media.
In addition, when terminal withdraws from streaming media playing, can revert to normal default value to parameters.
Above process is carried out on the terminal backstage, finishes the automatic adjusting of play quality under the state that does not influence the continuous playing stream media of user.
Based on the inventive concept identical with method, the embodiment of the invention provides a kind of terminal, as shown in Figure 2, comprising:
Receiver module is used to receive the flow media data packet that network side sends;
Statistical module is used for according to the flow media data packet statistics packet loss that receives;
Comparison module, whether the packet loss that is used for this statistical module counts relatively is greater than the packet loss threshold value;
Sending module, be used for when the comparative result of comparison module for greater than the time, send service quality to this network side and regulate request;
What playing module, the permission that is used for sending according to this network side were regulated service quality replys the play stream media data bag.
Further, playing module specifically is used for playing this flow media data packet according to the information that response packet allows to regulate transmission rate.
Wherein, the packet loss threshold value is set the perception of various flows medium type according to dissimilar streaming media resources and/or user.
Further, this terminal also comprises: notification module, be used for when the comparative result of comparison module for less than the time, notify this statistical module, make this statistical module carry out the statistics of packet loss next time.
In embodiments of the present invention, by receiving the flow media data packet that network side sends; According to the flow media data packet statistics packet loss that receives; When the packet loss of statistics during, send service quality to network side and regulate request greater than the packet loss threshold value; Play described flow media data packet according to the replying of permission adjusting service quality that described network side sends, can be under different network environments, make the terminal self adaptation regulate the streaming media playing quality, make the user can both watch satisfied streaming media playing effect, improved user's satisfaction.
Above-mentioned explanation illustrates and has described a preferred embodiment of the present invention, but as previously mentioned, be to be understood that the present invention is not limited to the disclosed form of this paper, should not regard eliminating as to other embodiment, and can be used for various other combinations, modification and environment, and can in invention contemplated scope described herein, change by the technology or the knowledge of above-mentioned instruction or association area.And change that those skilled in the art carried out and variation do not break away from the spirit and scope of the present invention, then all should be in the protection range of the appended claim of the present invention.

Claims (8)

1, a kind of method of playing stream media is characterized in that, comprising:
Receive the flow media data packet that network side sends;
According to the flow media data packet statistics packet loss that receives;
The packet loss threshold value of the packet loss of comparative statistics and setting;
When the packet loss of described statistics during, send service quality to network side and regulate request greater than the packet loss threshold value of described setting;
Play described flow media data packet according to the replying of permission adjusting service quality that described network side sends.
2, the method for claim 1 is characterized in that, described information according to permission adjusting transmission rate in the response packet is play described flow media data packet.
3, the method for claim 1 is characterized in that, described packet loss threshold value is set the perception of various flows medium type according to dissimilar streaming media resources and/or user.
4, the method for claim 1 is characterized in that, judges the packet loss threshold value of the packet loss of described statistics less than described setting, then carries out the statistics of packet loss next time.
5, a kind of terminal is characterized in that, comprising:
Receiver module is used to receive the flow media data packet that network side sends;
Statistical module is used for according to the flow media data packet statistics packet loss that receives;
Comparison module, whether the packet loss that is used for more described statistical module counts is greater than the packet loss threshold value;
Sending module, be used for when the comparative result of comparison module for greater than the time, send service quality to described network side and regulate request;
What playing module, the permission that is used for sending according to described network side were regulated service quality replys the play stream media data bag.
6, terminal as claimed in claim 5 is characterized in that, described playing module specifically is used for playing described flow media data packet according to the information that response packet allows to regulate transmission rate.
7, terminal as claimed in claim 5 is characterized in that, described packet loss threshold value is set the perception of various flows medium type according to dissimilar streaming media resources and/or user.
8, terminal as claimed in claim 5 is characterized in that, also comprises: notification module, be used for when the comparative result of comparison module for less than the time, notify described statistical module, make described statistical module carry out the statistics of packet loss next time.
CN200910178409A 2009-09-24 2009-09-24 Method for broadcasting stream media and device therefor Pending CN101668310A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910178409A CN101668310A (en) 2009-09-24 2009-09-24 Method for broadcasting stream media and device therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910178409A CN101668310A (en) 2009-09-24 2009-09-24 Method for broadcasting stream media and device therefor

Publications (1)

Publication Number Publication Date
CN101668310A true CN101668310A (en) 2010-03-10

Family

ID=41804687

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910178409A Pending CN101668310A (en) 2009-09-24 2009-09-24 Method for broadcasting stream media and device therefor

Country Status (1)

Country Link
CN (1) CN101668310A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103250409A (en) * 2010-12-06 2013-08-14 深圳市同洲软件有限公司 Method, device and system for interaction between mobile terminal and digital television reception terminal
CN105306424A (en) * 2014-07-08 2016-02-03 腾讯科技(深圳)有限公司 Stream media transmission method, stream media sending device and stream media transmission system
CN106162260A (en) * 2016-07-27 2016-11-23 王晓光 The method of adjustment of the video ads transmission of different delay and system
WO2017185995A1 (en) * 2016-04-28 2017-11-02 中兴通讯股份有限公司 Audio and video conversion method and device
CN107404454A (en) * 2016-05-18 2017-11-28 中国移动通信集团广东有限公司 Speech quality method of adjustment and device
WO2018018446A1 (en) * 2016-07-27 2018-02-01 王晓光 Adjustment method and system for video advertisement sending with different time delays
CN107734360A (en) * 2017-09-15 2018-02-23 深圳英飞拓科技股份有限公司 The control method and device of streaming media server
CN107734282A (en) * 2017-08-25 2018-02-23 北京元心科技有限公司 Video communication method and device
CN108809339A (en) * 2018-05-08 2018-11-13 北京诺亦腾科技有限公司 A kind of communication control method and transceiver of motion capture gloves
CN110445579A (en) * 2019-07-31 2019-11-12 广州小鹏汽车科技有限公司 Data processing method, data processing equipment, car-mounted terminal, vehicle and medium

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103250409A (en) * 2010-12-06 2013-08-14 深圳市同洲软件有限公司 Method, device and system for interaction between mobile terminal and digital television reception terminal
CN105306424A (en) * 2014-07-08 2016-02-03 腾讯科技(深圳)有限公司 Stream media transmission method, stream media sending device and stream media transmission system
CN105306424B (en) * 2014-07-08 2019-05-03 腾讯科技(深圳)有限公司 A kind of flow-medium transmission method, Streaming Media sending device and stream media transmission system
WO2017185995A1 (en) * 2016-04-28 2017-11-02 中兴通讯股份有限公司 Audio and video conversion method and device
CN107404454A (en) * 2016-05-18 2017-11-28 中国移动通信集团广东有限公司 Speech quality method of adjustment and device
CN107404454B (en) * 2016-05-18 2021-08-03 中国移动通信集团广东有限公司 Call quality adjusting method and device
WO2018018446A1 (en) * 2016-07-27 2018-02-01 王晓光 Adjustment method and system for video advertisement sending with different time delays
CN106162260A (en) * 2016-07-27 2016-11-23 王晓光 The method of adjustment of the video ads transmission of different delay and system
CN107734282A (en) * 2017-08-25 2018-02-23 北京元心科技有限公司 Video communication method and device
CN107734360A (en) * 2017-09-15 2018-02-23 深圳英飞拓科技股份有限公司 The control method and device of streaming media server
CN107734360B (en) * 2017-09-15 2020-04-21 深圳英飞拓科技股份有限公司 Control method and device of streaming media server
CN108809339A (en) * 2018-05-08 2018-11-13 北京诺亦腾科技有限公司 A kind of communication control method and transceiver of motion capture gloves
CN108809339B (en) * 2018-05-08 2019-10-18 北京诺亦腾科技有限公司 A kind of communication control method and transceiver of motion capture gloves
CN110445579A (en) * 2019-07-31 2019-11-12 广州小鹏汽车科技有限公司 Data processing method, data processing equipment, car-mounted terminal, vehicle and medium

Similar Documents

Publication Publication Date Title
CN101668310A (en) Method for broadcasting stream media and device therefor
RU2533291C2 (en) Method, apparatus and system for executing multimedia service in wireless local area network
US20190174360A1 (en) Service transmission control method, related device, and communications system
EP3541020A1 (en) Enhanced packet inspection module
CN101383959B (en) Method, system and customer equipment obtaining key frame in stream media service
US20120281536A1 (en) Systems and methods for detection for prioritizing and scheduling packets in a communication network
CN102752212B (en) A kind of transmission rate control
WO2023035894A1 (en) Data processing method, device, readable storage medium, and program product
CN103167320A (en) Audio and video synchronization method and audio and video synchronization system and mobile phone live broadcast client-side
CN101588595A (en) Method for dynamically regulating data transfer rate in wireless application service system
CN102739548B (en) A kind of method of rate control of transfer of data
WO2023035895A1 (en) Data processing method, device, readable storage medium, and program product
JP4511548B2 (en) System and method for content storage control
US9826283B2 (en) Apparatus and method for inserting advertisement in a broadcasting system
US20220295127A1 (en) Consolidating content streams to conserve bandwidth
US8159946B2 (en) Resource management method in wireless communication system
CN101193268A (en) Stream media pause method
CN105208595B (en) It is a kind of to control the method and base station that data are transmitted
CN101090369B (en) Method for controlling data packet sending speed in flow medium system
JP2005339130A (en) Content download system, and server device and client device therefor
CN109565615B (en) Mobile video optimization
CN102739547B (en) A kind of method of rate control
JP2021527351A (en) Network-controlled uplink media transmission for collaborative media production in scenarios with limited network capacity
US20110276801A1 (en) Communicating admission decisions and status information to a client
JP2013141138A (en) Distribution device, distribution method, and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100310