CN103037341A - Method of playing and converting streaming media, mobile terminal and server - Google Patents

Method of playing and converting streaming media, mobile terminal and server Download PDF

Info

Publication number
CN103037341A
CN103037341A CN2012105248057A CN201210524805A CN103037341A CN 103037341 A CN103037341 A CN 103037341A CN 2012105248057 A CN2012105248057 A CN 2012105248057A CN 201210524805 A CN201210524805 A CN 201210524805A CN 103037341 A CN103037341 A CN 103037341A
Authority
CN
China
Prior art keywords
data access
streaming video
inscribing
clock
portable terminal
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
CN2012105248057A
Other languages
Chinese (zh)
Other versions
CN103037341B (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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201210524805.7A priority Critical patent/CN103037341B/en
Publication of CN103037341A publication Critical patent/CN103037341A/en
Application granted granted Critical
Publication of CN103037341B publication Critical patent/CN103037341B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method of playing streaming media. The method of playing the streaming media comprises the following steps: a mobile terminal sends a link of the streaming media at a first moment to request playing of the streaming media, and a data access method under the first moment is added to a suffix of the link in a parametric form; under a second moment, a data access method under the second moment is acquired through an interface function; judgement of whether the data access method under the second moment is different from the data access method under the first moment is carried out; if the data access method under the second moment is different from the data access method under the first moment, a real time stream transmission control protocol data package is sent to report the data access method under the second moment to a server; and a playing module receives the streaming media converted by the server according to corresponding parameters of the data access method under the second moment and plays the converted streaming media. Therefore, the streaming media played online can be automatically adjusted according to change of data access methods, and the played streaming media is enabled to have a good viewing effect.

Description

The method of broadcast, conversion streaming video and portable terminal, server
Technical field
The present invention relates to the mobile communication technology field, particularly relate to a kind of broadcast, the method for changing streaming video and portable terminal, server.
Background technology
There is multiple different type in the data service access of existing portable terminal, and such as GPRS, EDGE, HSPA, Wi-Fi, EV-DO etc., the type of access is not identical, and the network rate of its acquisition is also different.Portable terminal has extremely strong mobility, if mobile phone users is in the process of watching streaming video to play, enter a zone that covers EDGE from a zone that covers HSPA, because HSPA is the 3.5G network, and EDGE is the 2G network, then portable terminal becomes the lower EDGE data access of network rate by the higher HSPA data access of network rate, and the variable effect user of network rate watches the broadcast of streaming video.
Because the limited coverage area of above-mentioned various mobile communications networks, watching as the user in the process of streaming video broadcast, when come in and go out covering different mobile communications networks regional, portable terminal can not be adjusted self in progress streaming video according to the variation of data access automatically, thereby may cause reducing mobile terminal playing streaming video resolution or do not make the broadcast of streaming video smooth etc., affect viewing effect.
Summary of the invention
The technical problem that the present invention mainly solves provides a kind of broadcast, the method for changing streaming video and portable terminal, server, can make portable terminal better effects if in online broadcast streaming video process.
In order to solve the problems of the technologies described above, the technical scheme that the present invention adopts is: a kind of method of playing streaming video is provided, comprise: portable terminal is play streaming video in the first link that sends streaming video constantly with request, and the suffix of link is added with the parameter of describing the data access of inscribing at first o'clock; Inscribed at second o'clock, the current data access of monitoring obtains the data access of inscribing at second o'clock by reading and resolve interface function in playing the streaming video process; Portable terminal judges whether the data access of inscribing is different from the data access of inscribing at first o'clock at second o'clock; If be different from the data access of inscribing at first o'clock, the data access that then reported inscribe by sending real-time streams transmission control protocol data bag at second o'clock to server, the free time of real-time streams transmission control protocol data bag or reserved field insert coding corresponding to data access of inscribing at second o'clock; Streaming video after reception server is changed according to the parameter corresponding to data access of inscribing in second o'clock is play the streaming video after the conversion.
Wherein, the method also comprises: described second after constantly next constantly, return noted earlier in playing the streaming video process the current data access of monitoring circulate for the step of beginning.
In order to solve the problems of the technologies described above, another technical solution used in the present invention is: a kind of method of changing streaming video is provided, comprise: configure in advance the parameter of streaming video corresponding to the data access of portable terminal at server, the parameter of streaming video comprises coded format, code check, resolution and frame per second; Server receives real-time streams transmission control protocol data bag, resolves the free time of real-time streams transmission control protocol data bag or coding corresponding to data access that reserved field inserts, and obtains data access; The parameter of the streaming video that the data query access way is corresponding according to parameter, use the combination conversion streaming video of transcoding chip or transcoding software or transcoding chip and transcoding software, and the streaming video after will changing sends to portable terminal.
In order to solve the problems of the technologies described above, another technical scheme that the present invention adopts is: a kind of portable terminal is provided, comprise request module, monitoring modular, judge module, reporting module and playing module, wherein, request module is used for portable terminal and plays streaming video in the first link that sends streaming video constantly with request, and the suffix of link is added with the parameter of describing the data access of inscribing at first o'clock; Monitoring modular is used for inscribing at second o'clock, and the current data access of monitoring obtains the data access of inscribing at second o'clock by reading and resolve interface function in playing the streaming video process; Judge module is used for portable terminal and judges whether the data access of inscribing is different from the data access of inscribing at first o'clock at second o'clock; The data access of inscribing when the data access that reporting module is used for inscribing when second is different from first, the data access that then reported inscribe by sending real-time streams transmission control protocol data bag at second o'clock to server, the free time of real-time streams transmission control protocol data bag or reserved field insert coding corresponding to data access of inscribing at second o'clock; Playing module is used for the streaming video after reception server is changed according to the parameter corresponding to data access of inscribing at second o'clock, plays the streaming video after the conversion.
Wherein, this portable terminal also comprises loop module, be used for next after second moment of portable terminal constantly, return foregoing monitoring modular, circulate for beginning to trigger monitoring modular current data access of monitoring in playing the streaming video process.
In order to solve the problems of the technologies described above, another technical scheme that the present invention adopts is: a kind of server is provided, comprise configuration module, acquisition module and modular converter, wherein, configuration module is used in advance configuring at server the parameter of streaming video corresponding to the data access of portable terminal, and the parameter of streaming video comprises coded format, code check, resolution and frame per second; Acquisition module is used for server and receives real-time streams transmission control protocol data bag, resolves the free time of real-time streams transmission control protocol data bag or coding corresponding to data access that reserved field inserts, and obtains data access; Modular converter is used for the parameter of streaming video corresponding to data query access way, according to parameter, use the combination conversion streaming video of transcoding chip or transcoding software or transcoding chip and transcoding software, and the streaming video after will changing sends to portable terminal.
The invention has the beneficial effects as follows: on the one hand, portable terminal sends data access and the request of inscribing in the mode that sends linking request at first o'clock to server and plays streaming video, inscribed by interface function at second o'clock and to obtain the data access of inscribing at second o'clock, and judge whether above-mentioned two kinds of access waies are different, if data access different then that reported inscribe at second o'clock to server, streaming video after reception server is changed according to the parameter corresponding to data access of inscribing in second o'clock is also play, can make portable terminal in playing the streaming video process, according to the automatic streaming video of adjusting in online broadcast of the variation of data access, reach preferably viewing effect.
On the other hand, parameter by streaming video corresponding to the data access of the pre-configured portable terminal of server, and thereby reception real-time streams transmission control protocol data bag obtains data access, inquire about the parameter of streaming video corresponding to this data access, according to this parameter, the conversion streaming video, and the streaming video after will changing sends to portable terminal, in this way, can not need manually to adjust the streaming video that the change because of access way changes, and can make streaming video reach preferably result of broadcast.
Description of drawings
Fig. 1 is the flow chart that the present invention plays method one execution mode of streaming video;
Fig. 2 is the flow chart that the present invention plays another execution mode of method of streaming video;
Fig. 3 is the flow chart that the present invention changes method one execution mode of streaming video;
Fig. 4 is the structural representation of portable terminal one execution mode of the present invention;
Fig. 5 is the structural representation of another execution mode of portable terminal of the present invention;
Fig. 6 is the structural representation of server one execution mode of the present invention.
Embodiment
The present invention is described in detail below in conjunction with drawings and embodiments.
See also Fig. 1, Fig. 1 is the flow chart that the present invention plays method one execution mode of streaming video, comprising:
Step S101: portable terminal is play streaming video in the first link that sends streaming video constantly with request, and the suffix of link is added with the parameter of describing the data access of inscribing at first o'clock;
At a time, portable terminal sends the link of a streaming video to server, and streaming video is play in request, simultaneously acquisition for mobile terminal this time data access inscribed, then this is first constantly constantly;
Portable terminal sends the linking request streaming video content of a streaming video to server, send real time streaming transport protocol to server request streaming video content such as passing through, can add afterwards in the link of the streaming video of asking the data access information in first moment, the form of link is rtsp: //vod.test.com/favor/, be added with the parameter of data of description access way at the suffix of link, its form is rtsp: //vod.test.com/favor Type=EDGE, this link is not only to server request streaming video content, but also make server know portable terminal first data access constantly, so that server offers streaming video content corresponding to portable terminal according to the first constantly data access.
Step S102: inscribed at second o'clock, the current data access of monitoring obtains the data access of inscribing at second o'clock by reading and resolve interface function in playing the streaming video process;
Second constantly is: play streaming video successfully as follow-up moment in playing the streaming video process of starting point take request.The streaming video that the portable terminal reception server provides, and in playing the streaming video process, monitor current data access;
Portable terminal is specifically by reading the interface function of portable terminal, and resolves interface function and obtain data access.Mobile phone such as this portable terminal, what mobile phone adopted is Android (Android) operating system, connection management (Connectivity Manager) the interface fetch interface function that then can provide by Android platform is resolved this interface function, can know current data access.
Step S103: portable terminal judges whether the data access of inscribing is different from the data access of inscribing at first o'clock at second o'clock;
The second data access that constantly obtains and the first data access that constantly obtains are compared, the data access that obtains such as second moment is HSPA, and the first data access that constantly obtains is Wi-Fi, then is judged as the data access of inscribing at second o'clock and is different from the data access of inscribing at first o'clock; If inscribing the data access that obtains at second o'clock and inscribing the data access that obtains at first o'clock all is Wi-Fi, it is identical with the data access of inscribing in first o'clock then to be judged as the data access inscribed at second o'clock, and portable terminal continues to keep playing streaming video.
Step S104: if be different from the data access of inscribing at first o'clock, the data access that then reported inscribe by sending real-time streams transmission control protocol data bag at second o'clock to server, the free time of real-time streams transmission control protocol data bag or reserved field insert coding corresponding to data access of inscribing at second o'clock;
If the data access of inscribing in second o'clock is different from first o'clock data access of inscribing, then send real time streaming transport protocol (Real-Time Streaming Protocol, RTSP) control protocol, the packet that is real-time streams transmission control protocol (RTP Control Protocol, RTCP) reports the second constantly data access to server;
The real-time streams transmission control protocol usually and real time streaming transport protocol be used.The real-time streams transmission control protocol is mainly used in providing transmission quality relevant information, in order to transmission is controlled.Coding corresponding to data inserting access way in the available free or field that keeps in the data packet format of real-time streams transmission control protocol, or the field that keeps idle at these is such as 0001 expression access way EDGE, 0010 expression HSPA.Real-time streams transmission control protocol data bag is according to predetermined time interval or send not according to the time interval.Behind the data access of inscribing when the data access of inscribing when determining second is different from first, transmission with the real-time streams transmission control protocol data bag of the coding of the data access of inscribing in second o'clock to server, the data access that reported inscribe at second o'clock to server.
Step S105: the streaming video after reception server is changed according to the parameter corresponding to data access of inscribing in second o'clock, play the streaming video after the conversion;
Server is known second o'clock data access of inscribing, the parameter conversion streaming video corresponding according to the data access of inscribing in second o'clock, and the streaming video after will changing sends to portable terminal.Portable terminal is the streaming video after the conversion that provides of reception server again, and the streaming video that provides of Play Server, so that the online streaming video of playing adapts to current data access, reaches preferably viewing effect.
Present embodiment sends data access and the request of first o'clock inscribing in the mode that sends linking request to server by portable terminal and plays streaming video, inscribed by interface function at second o'clock and to obtain the data access of inscribing at second o'clock, and judge whether above-mentioned two kinds of access waies are different, if data access different then that reported inscribe at second o'clock to server, streaming video after reception server is changed according to the parameter corresponding to data access of inscribing in second o'clock is also play, can make portable terminal in playing the streaming video process, according to the automatic streaming video of adjusting in online broadcast of the variation of data access, reach preferably viewing effect.
See also Fig. 2, Fig. 2 is the flow chart that the present invention plays another execution mode of method of streaming video, comprising:
Step S201: portable terminal is play streaming video in the first link that sends streaming video constantly with request, and the suffix of link is added with the parameter of describing the data access of inscribing at first o'clock;
First sends the link of a streaming video and the moment of obtaining the data access in this moment for portable terminal to server constantly;
Portable terminal sends the linking request streaming video content of a streaming video to server, send real time streaming transport protocol to server request streaming video content such as passing through, can after the link of the streaming video of asking, add first moment data access information of describing, this link is not only to server request streaming video content, but also make server know portable terminal first data access constantly, so that server offers streaming video content corresponding to portable terminal according to the first constantly data access.
Step S202: inscribed at second o'clock, the current data access of monitoring obtains the data access of inscribing at second o'clock by reading and resolve interface function in playing the streaming video process;
Second constantly successfully is follow-up moment in playing the streaming video process of starting point for play streaming video take request.Portable terminal is specifically by reading the interface function of portable terminal, and resolves interface function and obtain the data access inscribed at second o'clock.
Step S203: portable terminal judges whether the data access of inscribing is different from the data access of inscribing at first o'clock at second o'clock;
The second data access that constantly obtains and the first data access that constantly obtains are compared, if the data access of inscribing in second o'clock changes with respect to the data access in first moment, it is not identical then to be judged as data access, if the data access of inscribing in second o'clock and first data access does not constantly change, it is identical then to be judged as data access.
Step S204: if be different from the data access of inscribing at first o'clock, the data access that then reported inscribe by sending real-time streams transmission control protocol data bag at second o'clock to server, the free time of real-time streams transmission control protocol data bag or reserved field insert coding corresponding to data access of inscribing at second o'clock;
Insert coding corresponding to data access of inscribing at second o'clock in the available free or field that keeps in the data packet format of real-time streams transmission control protocol, or the field that keeps idle at these.The packet of real-time streams transmission control protocol is according to predetermined time interval or send not according to the time interval.Behind the data access of inscribing when the data access of inscribing when determining second is different from first, transmission with the real-time streams transmission control protocol data bag of the coding of the data access of inscribing in second o'clock to server, the data access that reported inscribe at second o'clock to server.
Step S205: the streaming video after reception server is changed according to the parameter corresponding to data access of inscribing in second o'clock, play the streaming video after the conversion;
Portable terminal is the streaming video after the conversion that provides of reception server again, and the streaming video that provides of Play Server, so that the streaming video of playing adapts to current data access, reaches preferably viewing effect.
Step S206: described second after constantly next constantly, return noted earlier in playing the streaming video process the current data access of monitoring circulate for the step of beginning;
The data access in next moment of acquisition for mobile terminal after second moment and the action of judging, processing in this step, with above-mentioned to obtain the second constantly data access and method of judging, processing identical, also be by reading the interface function of portable terminal, and resolve the data access of inscribing when interface function obtains the second after constantly next;
Whether the data access that judgement is inscribed during the second after constantly next in playing the streaming video process is different from second o'clock data access of inscribing, with above-mentioned to judge whether the data access of inscribing is different from the method for the data access of inscribing at first o'clock at second o'clock identical, also being the data access inscribed when contrasting the second after constantly next judges from the data access of inscribing whether these two kinds of data access are different at second o'clock;
If the data access of inscribing during the second after constantly next is different from second o'clock data access of inscribing, the data access of then when server reports the second after constantly next, inscribing, also the method with the above-mentioned data access that reported inscribe at second o'clock to server is identical, also be that packet by sending the real-time streams transmission control protocol reports second next data access constantly after constantly to server, coding corresponding to data access of inscribing when inserting the second after constantly next in the packet of real-time streams transmission control protocol idle or the field that keeps;
In the present embodiment, further, in playing the streaming video process, in the follow-up moment, the data access of inscribing when obtaining this termly, and the follow-up moment is obtained the data access that data access and previous moment obtain to be compared, if it is not identical that the follow-up moment is obtained the data access that data access and previous moment obtain, then report the data access in the follow-up moment to server, so that server is changed streaming video according to the data access in the follow-up moment, and the streaming video after will changing offers portable terminal.In this way, can make portable terminal in playing the streaming video process, automatically adjust the streaming video in playing according to the continuous variation of data access, so that the online streaming video of playing reaches preferably viewing effect.
See also Fig. 3, Fig. 3 is the flow chart that the present invention changes streaming video parameter one execution mode, comprising:
Step S301: configure in advance the parameter of streaming video corresponding to the data access of portable terminal at server, the parameter of streaming video comprises coded format, code check, resolution and frame per second;
Coded format is by specific compress technique, the file conversion of certain video format is become the mode of another kind of video format file; The data bits that the unit interval transmitted when code check was transfer of data; Resolution is the precision of screen picture; Frame per second is to measure to show measuring of frame number.Configure the corresponding relation of the parameter of the data access of portable terminal and streaming video, coded format, code check, resolution and frame per second that each data access is corresponding unique at server.
Step S302: server receives real-time streams transmission control protocol data bag, resolves the free time of real-time streams transmission control protocol data bag or coding corresponding to data access that reserved field inserts, and obtains data access;
Server obtains the real-time streams transmission control protocol data bag that portable terminal sends, the free time of real-time streams transmission control protocol data bag or reserved field are inserted with the coding of the data access after the variation, be encoded to 0001 such as what obtain, resolve this coding, obtaining corresponding data access is EDGE.
Step S303: the parameter of the streaming video that the data query access way is corresponding according to parameter, use the combination conversion streaming video of transcoding chip or transcoding software or transcoding chip and transcoding software, and the streaming video after will changing sends to portable terminal;
Server obtains the data access of portable terminal, and the parameter of the streaming video that the data query access way is corresponding is when being GPRS such as data access, corresponding coded format is 3gp, code check is 128kbps, and resolution is the QCIF(176x144 pixel), frame per second is 30fps; Perhaps, when data access was HSPA, corresponding coded format was for H.264, and code check is 512kbps, and resolution is WVGA(800 * 480 pixels), frame per second is 30fps.Server is according to the parameter of streaming video corresponding to the data access after changing, and the convection type media are changed.Particularly, can use the combination conversion streaming video of transcoding chip or transcoding software or transcoding chip and transcoding software, the transcoding chip is such as being Digital Signal Processing (Digital Signal Process, DSP) transcoding chip or field programmable gate array (Field Programmable Gate Array, FPGA) transcoding chip, after streaming video is changed, the streaming video after the conversion is sent to portable terminal.
Present embodiment is by the parameter of streaming video corresponding to the data access of the pre-configured portable terminal of server, and thereby reception real-time streams transmission control protocol data bag obtains data access, inquire about the parameter of streaming video corresponding to this data access, according to this parameter, the conversion streaming video, and the streaming video after will changing sends to portable terminal, in this way, can not need manually to adjust the streaming video that the change because of access way changes, and can make streaming video reach preferably result of broadcast.
See also Fig. 4, Fig. 4 is the structural representation of portable terminal one execution mode of the present invention, comprises request module 401, monitoring modular 402, judge module 403, reporting module 404 and playing module 405, wherein:
Request module 401 is used for portable terminal and plays streaming video in the first link that sends streaming video constantly with request, and the suffix of link is added with the parameter of describing the data access of inscribing at first o'clock;
First sends the link of a streaming video and the moment of obtaining the data access in this moment for portable terminal to server constantly.The request module 401 concrete linking request streaming video contents that are used for sending to server a streaming video, such as by sending real time streaming transport protocol to server request streaming video content, can after the link of the streaming video of asking, add the first moment data access information.
Monitoring modular 402 is used for inscribing at second o'clock, and the current data access of monitoring obtains the data access of inscribing at second o'clock by reading and resolve interface function in playing the streaming video process;
Second constantly successfully is follow-up moment in playing the streaming video process of starting point for play streaming video take request.Monitoring modular 402 is concrete to be used for by reading the interface function of portable terminal, and resolves interface function and obtain the data access inscribed at second o'clock.
Judge module 403 is used for judging whether the data access of inscribing is different from the data access of inscribing at first o'clock at second o'clock;
Judge module 403 concrete being used for compares the data access that the second data access that constantly obtains and first moment obtain, and judges whether the data access that this two moment obtain is not identical.
The data access that reporting module 404 is used for inscribing at second o'clock is different from first o'clock data access of inscribing, send the data access that real-time streams transmission control protocol data bag reported inscribe at second o'clock to server, the free time of real-time streams transmission control protocol data bag or reserved field insert coding corresponding to data access of inscribing at second o'clock;
Behind the data access of inscribing when the data access of inscribing when determining second is different from first, transmission with the real-time streams transmission control protocol data bag of the coding of the data access of inscribing in second o'clock to server, the data access that reported inscribe at second o'clock to server.
Playing module 405 is used for the streaming video after reception server is changed according to the parameter corresponding to data access of inscribing at second o'clock, plays the streaming video after the conversion;
Playing module 405 is concrete to be used for again the streaming video that reception server provides, and the streaming video after the conversion that provides of Play Server, so that the streaming video of playing adapts to current data access.
See also Fig. 5, Fig. 5 is the structural representation of another execution mode of portable terminal of the present invention, comprise request module 501, monitoring modular 502, judge module 503, reporting module 504, playing module 505 and loop module 506, wherein request module 501, monitoring modular 502, judge module 503, the request module 401 of the execution mode of reporting module 504 and playing module 505 difference correspondences and Fig. 4, monitoring modular 402, judge module 403, reporting module 404 and playing module 405 are basic identical, describe the request module 401 of the execution mode that also sees also Fig. 4 in detail, monitoring modular 402, judge module 403, reporting module 404 and playing module 405 repeat no more herein.
Loop module 506 is used for next after second moment of portable terminal constantly, returns the monitoring modular 502 of front, circulates for beginning to trigger monitoring modular 502 current data access of monitoring in playing the streaming video process;
The execution mode of present embodiment and Fig. 4 is similar, by reading the interface function of portable terminal, and resolves the data access of inscribing when interface function obtains the second after constantly next; The data access of inscribing when contrasting the second after constantly next judges from the data access of inscribing whether these two kinds of data access are different at second o'clock; Packet by sending the real-time streams transmission control protocol reports second next data access constantly after constantly to server, coding corresponding to data access of inscribing when inserting the second after constantly next in the packet of real-time streams transmission control protocol idle or the field that keeps;
Further, loop module 506 also is used for playing the streaming video process, obtain data access in the follow-up moment, and the data access that the data access that the follow-up moment is obtained and previous moment are obtained compares, if it is not identical that the follow-up moment is obtained the data access that data access and previous moment obtain, then report the data access in the follow-up moment to server, so that server is changed streaming video according to the data access in the follow-up moment, and the streaming video after will changing offers portable terminal.
See also Fig. 6, Fig. 6 is the structural representation of server one execution mode of the present invention, comprises configuration module 601, acquisition module 602 and modular converter 603, wherein:
Configuration module 601 is used in advance configuring at server the parameter of streaming video corresponding to the data access of portable terminal, and the parameter of streaming video comprises coded format, code check, resolution and frame per second;
The parameter of streaming video is coded format, code check, resolution and frame per second.Configuration module 601 concrete being used for configures the data access of portable terminal and the corresponding relation of the parameter of streaming video at server, unique coded format, code check, resolution and the frame per second of each data access correspondence.
Acquisition module 602 is used for receiving real-time streams transmission control protocol data bag, resolves the free time of real-time streams transmission control protocol data bag or coding corresponding to data access that reserved field inserts, and obtains data access;
The acquisition module 602 concrete real-time streams transmission control protocol data bags that are used for the mobile terminal receive transmission, the coding that the free time of real-time streams transmission control protocol data bag or reserved field are inserted with data access, resolve this coding, obtain corresponding data access.
Modular converter 603 is used for the parameter of streaming video corresponding to data query access way, according to parameter, use the combination conversion streaming video of transcoding chip or transcoding software or transcoding chip and transcoding software, and the streaming video after will changing sends to portable terminal.
Elaboration by above-mentioned execution mode, the invention has the advantages that: on the one hand, portable terminal sends data access and the request of inscribing in the mode that sends linking request at first o'clock to server and plays streaming video, inscribed by interface function at second o'clock and to obtain the data access of inscribing at second o'clock, and judge whether above-mentioned two kinds of access waies are different, if data access different then that reported inscribe at second o'clock to server, streaming video after reception server is changed according to the parameter corresponding to data access of inscribing in second o'clock is also play, can make portable terminal in playing the streaming video process, according to the automatic streaming video of adjusting in online broadcast of the variation of data access, reach preferably viewing effect.
On the other hand, parameter by streaming video corresponding to the data access of the pre-configured portable terminal of server, and thereby reception real-time streams transmission control protocol data bag obtains data access, inquire about the parameter of streaming video corresponding to this data access, according to this parameter, the conversion streaming video, and the streaming video after will changing sends to portable terminal, in this way, can not need manually to adjust the streaming video that the change because of access way changes, and can make streaming video reach preferably result of broadcast.
The above only is embodiments of the present invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (6)

1. a method of playing streaming video is characterized in that, comprising:
Portable terminal is play streaming video in the first link that sends streaming video constantly with request, and the suffix of described link is added with the parameter of describing the described data access of inscribing at first o'clock;
Inscribed at second o'clock, the current data access of monitoring obtains the described data access of inscribing at second o'clock by reading and resolve interface function in playing the streaming video process;
Described portable terminal judges whether the data access of inscribing is different from the data access of inscribing at first o'clock at second o'clock;
If be different from the data access of inscribing at first o'clock, then report the described data access of inscribing by sending real-time streams transmission control protocol data bag at second o'clock to server, the free time of described real-time streams transmission control protocol data bag or reserved field insert coding corresponding to the described data access of inscribing at second o'clock;
Receive the streaming video after described server is changed according to the parameter corresponding to data access of inscribing at second o'clock, play the streaming video after the described conversion.
2. method according to claim 1 is characterized in that, the method also comprises:
Described second after constantly next constantly, return noted earlier in playing the streaming video process the current data access of monitoring circulate for the step of beginning.
3. a method of changing streaming video is characterized in that, comprising:
Configure in advance the parameter of streaming video corresponding to the data access of portable terminal at server, the parameter of described streaming video comprises coded format, code check, resolution and frame per second;
Server receives real-time streams transmission control protocol data bag, resolves the free time of described real-time streams transmission control protocol data bag or coding corresponding to data access that reserved field inserts, and obtains described data access;
Inquire about the parameter of streaming video corresponding to described data access, according to described parameter, use the described streaming video of combination conversion of transcoding chip or transcoding software or transcoding chip and transcoding software, and the streaming video after will changing sends to portable terminal.
4. a portable terminal is characterized in that, comprises request module, monitoring modular, judge module, reporting module and playing module, wherein,
The described request module is used for portable terminal and plays streaming video in the first link that sends streaming video constantly with request, and the suffix of described link is added with the parameter of describing the described data access of inscribing at first o'clock;
Described monitoring modular is used for inscribing at second o'clock, and the current data access of monitoring obtains the described data access of inscribing at second o'clock by reading and resolve interface function in playing the streaming video process;
Described judge module is used for described portable terminal and judges whether the data access of inscribing is different from the data access of inscribing at first o'clock at second o'clock;
The data access of inscribing when the data access that described reporting module is used for inscribing when second is different from first, then report the described data access of inscribing by sending real-time streams transmission control protocol data bag at second o'clock to server, the free time of described real-time streams transmission control protocol data bag or reserved field insert coding corresponding to the described data access of inscribing at second o'clock;
Described playing module is used for receiving the streaming video after described server is changed according to the parameter corresponding to data access of inscribing at second o'clock, plays the streaming video after the described conversion.
5. portable terminal according to claim 4, it is characterized in that, this portable terminal also comprises loop module, be used for next after described second moment of described portable terminal constantly, return foregoing monitoring modular, circulate for beginning to trigger monitoring modular current data access of monitoring in playing the streaming video process.
6. a server is characterized in that, comprises configuration module, acquisition module and modular converter, wherein,
Described configuration module is used in advance configuring at server the parameter of streaming video corresponding to the data access of portable terminal, and the parameter of described streaming video comprises coded format, code check, resolution and frame per second;
Described acquisition module is used for server and receives real-time streams transmission control protocol data bag, resolves the free time of described real-time streams transmission control protocol data bag or coding corresponding to data access that reserved field inserts, and obtains described data access;
Described modular converter is for the parameter of inquiring about streaming video corresponding to described data access, according to described parameter, use the described streaming video of combination conversion of transcoding chip or transcoding software or transcoding chip and transcoding software, and the streaming video after will changing sends to portable terminal.
CN201210524805.7A 2012-12-06 2012-12-06 Play, the method and mobile terminal, server of conversion streaming video Active CN103037341B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210524805.7A CN103037341B (en) 2012-12-06 2012-12-06 Play, the method and mobile terminal, server of conversion streaming video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210524805.7A CN103037341B (en) 2012-12-06 2012-12-06 Play, the method and mobile terminal, server of conversion streaming video

Publications (2)

Publication Number Publication Date
CN103037341A true CN103037341A (en) 2013-04-10
CN103037341B CN103037341B (en) 2017-12-12

Family

ID=48023736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210524805.7A Active CN103037341B (en) 2012-12-06 2012-12-06 Play, the method and mobile terminal, server of conversion streaming video

Country Status (1)

Country Link
CN (1) CN103037341B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105471817A (en) * 2014-08-15 2016-04-06 华为技术有限公司 Method, device and system for unloading service flow
CN105519058A (en) * 2014-11-10 2016-04-20 华为技术有限公司 Controller, server node and data package forwarding method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009024081A1 (en) * 2007-08-20 2009-02-26 Huawei Technologies Co., Ltd. A method, device and system for processing the continuity of the media stream in a session
CN101695129A (en) * 2009-10-09 2010-04-14 中兴通讯股份有限公司 Method and system for realizing video monitoring by mobile terminal supporting multimodes
CN102014284A (en) * 2010-12-10 2011-04-13 中兴通讯股份有限公司 Method, system and device for acquiring parameter set value of video code stream in transcoding business
CN102123131A (en) * 2010-01-08 2011-07-13 中兴通讯股份有限公司 Method and system for maintaining continuity of stream media service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009024081A1 (en) * 2007-08-20 2009-02-26 Huawei Technologies Co., Ltd. A method, device and system for processing the continuity of the media stream in a session
CN101695129A (en) * 2009-10-09 2010-04-14 中兴通讯股份有限公司 Method and system for realizing video monitoring by mobile terminal supporting multimodes
CN102123131A (en) * 2010-01-08 2011-07-13 中兴通讯股份有限公司 Method and system for maintaining continuity of stream media service
CN102014284A (en) * 2010-12-10 2011-04-13 中兴通讯股份有限公司 Method, system and device for acquiring parameter set value of video code stream in transcoding business

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105471817A (en) * 2014-08-15 2016-04-06 华为技术有限公司 Method, device and system for unloading service flow
CN105471817B (en) * 2014-08-15 2019-02-12 华为技术有限公司 The discharging method of Business Stream, device and system
CN105519058A (en) * 2014-11-10 2016-04-20 华为技术有限公司 Controller, server node and data package forwarding method
WO2016074126A1 (en) * 2014-11-10 2016-05-19 华为技术有限公司 Controller, serving node and data packet forwarding method

Also Published As

Publication number Publication date
CN103037341B (en) 2017-12-12

Similar Documents

Publication Publication Date Title
CN101695129B (en) Method and system for realizing video monitoring by mobile terminal supporting multimodes
CN102946570B (en) Transmission system and method for multi-stream streaming media of self-adaption network bandwidth
CN105472477B (en) A kind of data transmission method, device and equipment
CN1993928B (en) Multicast and broadcast streaming method and system
US8625443B2 (en) System for measuring transmission bandwidth for media streaming and method for same
CN105072506B (en) The transmission method and system of live teaching broadcast video
US8514824B2 (en) Methods and apparatus for broadcast and multicast/unicast transition
US9313553B2 (en) Apparatus and method for simulcast over a variable bandwidth channel
CN102014284B (en) Method, system and device for acquiring parameter set value of video code stream in transcoding business
CN103875225A (en) Feedback channel for wireless display devices
CN102202210B (en) Method for mobile phone to play real-time monitoring video and mobile phone to play real-time monitoring video
CN102202229B (en) Method and device for real-time video gateway
CN104602044A (en) RTMP stream media public network live broadcast system and design method thereof
CN104604286A (en) Energy-aware multimedia adaptation for streaming and conversational services
CN102625150A (en) Media playing system and method
CN103647954A (en) Mobile video monitoring system based on 3G channel and intelligent terminal
CN101247286B (en) Method and system for service quality detection of video distribution system
CN101945096A (en) Video live broadcast system facing to set-top box and PC of mobile phone and working method thereof
CN106375790A (en) QoE-driven adaptive scheduling method of multichannel HAS code rate
CN111107382A (en) Data flow control method, device and system
CN104427354A (en) Broadcast media sharing method and node subsystem, and streaming media server
CN111629283B (en) Multi-stream media gateway service system and method
CN102984546A (en) Transcoding service system for distributed video transcoding
CN104581385A (en) Multi-screen interactive self-adaptive playback method and system
CN103037341A (en) Method of playing and converting streaming media, mobile terminal and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant