CN101282339B - Capability negotiation method for flow medium system, data transmission method as well as related equipment - Google Patents

Capability negotiation method for flow medium system, data transmission method as well as related equipment Download PDF

Info

Publication number
CN101282339B
CN101282339B CN 200810094796 CN200810094796A CN101282339B CN 101282339 B CN101282339 B CN 101282339B CN 200810094796 CN200810094796 CN 200810094796 CN 200810094796 A CN200810094796 A CN 200810094796A CN 101282339 B CN101282339 B CN 101282339B
Authority
CN
China
Prior art keywords
property parameters
target identification
client terminal
ability
unit
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.)
Active
Application number
CN 200810094796
Other languages
Chinese (zh)
Other versions
CN101282339A (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.)
XFusion Digital Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 200810094796 priority Critical patent/CN101282339B/en
Publication of CN101282339A publication Critical patent/CN101282339A/en
Application granted granted Critical
Publication of CN101282339B publication Critical patent/CN101282339B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a capability negotiation method, a data transmission method and associated equipment of a stream media system, which is applied to the technical filed of stream media communication. The capability negotiation method of the stream media system adopted by the embodiment of the invention uses the program target mark as a carrier and performs the capability negotiation of the capability attribute parameters of the client with a corresponding server via the capability notice requirements. As the client transmits the program target mark to the corresponding server in the stream media system of different protocols, the carrier using the program target mark as the capability attribute parameters shields the difference among different protocols and performs the adaptation of the client and the server so as to improve the compatibility of both terminals of the system communication.

Description

Capability negotiation method, data transmission method and the relevant device of stream media system
Technical field
The present invention relates to the streaming media communication technical field, be specifically related to capability negotiation method, data transmission method and the relevant device of stream media system.
Background technology
In existing download, video request program, streaming media communication technical application such as live; Traditional client-server (Client/Serve:C/S) pattern or point-to-point (the peer to peer:P2P) mode of main employing, the structural representation of the two is respectively like Fig. 1, shown in Figure 2.In traditional C/S framework, client terminal obtains desired data through scheduling from media server.In practical application, media server need be to the terminal transmission mass data.In order to alleviate the burden that transferring large number of data brings for media server and bearer network, can use the P2P technology, promptly utilize the terminal that has obtained data to be other terminal transmission data, alleviate the pressure of media server and bearer network.
In these systems because the implementation of server is different, so the professional ability that they can be supported also just has nothing in common with each other, the different server of multiple ability will appear in these systems like this.And for client terminal, not only the implementation of client terminal has determined its ability, and the running environment of client terminal also can have influence on its ability, promptly in these systems, also has the different client terminal of function.In addition in these systems; Different service providers (SP) may provide various service; The SP user who for example has possibly hope that its some programs only externally provide the service of P2P mode, and the another one program then only provides the service of traditional C/S mode.Just because of the existence of these differences, just cause existing in the system the adaptive problem of server and client terminal.
The adaptation technique of existing server and client terminal is the extendible framework that utilizes the real-time streaming protocol (Real-Time Streaming Protocol:RTSP) in the Streaming Media transportation protocol; Through expansion RTSP agreement; In the protocol extension field of RTSP request, increase the ability property parameters of server or client terminal, thus the capability negotiation of the system of completion.
In research and practice process to prior art; Inventor of the present invention finds; Prior art is only just carried out the capability negotiation of system in the stream media system of RTSP agreement; And be that private information with the RTSP agreement carries the ability property parameters of consulting an end when holding consultation, hold consultation, cause client terminal and server compatible bad of system for the private information that the system of other agreement can't compatible RTSP be write.
Summary of the invention
The embodiment of the invention provides capability negotiation method, data transmission method and the relevant device of stream media system.Improved the compatibility of system.
The capability negotiation method of a kind of stream media system that the embodiment of the invention provides comprises:
Generative capacity announcement request, said capability advertisement request comprises the program target identification that carries client terminal ability property parameters;
Said capability advertisement request is sent to said program target identification corresponding server carry out capability negotiation.
The capability negotiation method of a kind of stream media system that the embodiment of the invention provides comprises:
Receive the capability advertisement request that client terminal sends, said capability advertisement request comprises the program target identification that carries client terminal ability property parameters;
Resolve the program target identification in the said capability advertisement request, obtain the ability property parameters of client terminal;
In conjunction with the ability property parameters of said client terminal, detect the corresponding ability attribute of server, and to said client terminal resettability response message.
The data transmission method of a kind of stream media system that the embodiment of the invention provides comprises:
The request message that sends http protocol carries out capability negotiation to corresponding server, and in the described request message, the private information of http protocol carries the ability property parameters of client terminal;
Receive the capabilities response information that said server returns according to the ability property parameters of said client terminal, and initiate the data transfer request of Streaming Media to said server according to said capabilities response information.
A kind of client terminal that the embodiment of the invention provides comprises: request generation unit and capability negotiation unit;
The request generation unit is used for generative capacity announcement request, and said capability advertisement request comprises the program target identification that carries this capabilities property parameters;
The capability negotiation unit is used for that the capability advertisement request that the described request generation unit generates is sent to said program target identification corresponding server and carries out capability negotiation.
A kind of server that the embodiment of the invention provides comprises: request receiving element, request analysis unit and response unit;
The request receiving element is used to receive the capability advertisement request that client terminal sends, and said capability advertisement request comprises the program target identification that carries client terminal ability property parameters;
The request analysis unit is used for resolving the program target identification of the capability advertisement request that the described request receiving element receives, and obtains the ability property parameters of client terminal;
Response unit is used to detect the corresponding self-ability attribute of ability property parameters of resolving the client terminal that obtains with the described request resolution unit, and to said client terminal resettability response message.
The capability negotiation method of the stream media system that the embodiment of the invention adopts is to be carrier with the program target identification, and the ability property parameters handling capacity announcement request of client terminal is carried out capability negotiation with corresponding server.Because in the stream media system under the different agreement; Client terminal all will send to corresponding server with the program target identification; Therefore with the carrier of program target identification as the ability property parameters; Shield the difference of different agreement, accomplished the adaptive of client terminal and server, thereby improved the compatibility of system.
Description of drawings
Fig. 1 is traditional C/S framework sketch map;
Fig. 2 is an existing P 2P transmission sketch map;
Fig. 3 is the flow chart of the capability negotiation method of the embodiment of the invention one stream media system;
Fig. 4 is the flow chart of the capability negotiation method of the embodiment of the invention two stream media systems;
Fig. 5 is the flow chart of the capability negotiation method of the embodiment of the invention three stream media systems;
Fig. 6 is the signaling process figure of the capability negotiation method of the embodiment of the invention four stream media systems;
Fig. 7 is the flow chart of the data transmission method of the embodiment of the invention five stream media systems;
Fig. 8 is the structural representation of the embodiment of the invention six client terminals;
Fig. 9 is the structural representation of the embodiment of the invention seven client terminals;
Figure 10 is the structural representation of the embodiment of the invention eight client terminals;
Figure 11 is the structural representation of the embodiment of the invention nine client terminals;
Figure 12 is the structural representation of the embodiment of the invention ten servers.
Embodiment
The embodiment of the invention provides the capability negotiation method of stream media system.The embodiment of the invention also provides the data transmission method and the relevant device of corresponding stream media system, is applied to the streaming media communication technical field.
At general stream media system; In using like: download, video request program, live etc.; Possibly have polytype client terminal, the implementation of these client terminals and the running environment of client terminal have nothing in common with each other, and cause the ability of client terminal to have nothing in common with each other; And the ability of the server of disposing in these systems also possibly there are differences, and how to let server and the client terminal can be adaptive, and this just needs both sides to carry out capability negotiation.In this ability of mentioning is a kind of generalized concept, and it had both comprised server and client side's ability attribute, also comprises the ability attribute of concrete program, and can expand according to actual needs, specifically can be divided into following several types:
1, media delivery ability: the data transfer mode of support, as: transmission control protocol TCP (Transmission Control Protocol) mode is transmitted, UDP UDP (UserDatagram Protocol) mode transmission etc.;
2, agreement tenability: the protocol type of support, as: http protocol, RTSP agreement, P2P agreement etc.;
3, medium tenability: the file format kind of support, as: WMV, TS etc.; The program range of code rates of supporting etc.;
4, system's tenability: whether support transfer of data to quicken, whether support active/standby server etc.
Client terminal and server carry out capability negotiation, just are meant that the capability negotiation both sides need the ability of circular oneself each other.
The present invention is in order to solve the compatible defect of bad of only in the stream media system of RTSP agreement, doing capability negotiation in the prior art and causing; The present invention is with in the stream media system, and the total information that transmit under different agreement at the communication two ends is that carrier carries out capability negotiation.As: in download, video request program, stream media system such as live; Client terminal and server all will carry out the transmission of program uniform resource position mark URL (Uniform Resource Locator) under different agreement; The present invention is a carrier with program URL exactly; One square tube of capability negotiation is crossed the ability attribute that on URL, carries oneself, then through transmitting the announcement that URL accomplishes ability to the opposite end.For example the initial URL of some programs is:
http://www.vod.huawei.com/vod/hero.asf
The client terminal of this program of program request is only supported P2P; And this program also allows P2P; Client terminal is supported P2P to quicken and is suspended; Then when this program of client program request, client terminal handling capacity announcement request passes to server (field value is that 1 expression has this ability in this example) with following URL: http://www.vod.huawei.com/vod/hero.asf .sustain-p2p=1&p2p-accelerate=1&sustain-pause=1
After server is received request message, can resolve this URL, thereby know the ability situation of client, according to the ability attribute of oneself, give client terminal resettability response message then.Below respectively capability negotiation method, data transmission method and the relevant device of stream media system is elaborated.
The capability negotiation method of embodiment one, a kind of stream media system, flow chart is as shown in Figure 3, comprising:
Step 101, client terminal generative capacity announcement request, said capability advertisement request comprises the program target identification that carries this capabilities property parameters;
Said program target identification includes but not limited to program URL, is the unique address of sign program.
Step 102, client terminal send to said program target identification corresponding server with said capability advertisement request and carry out capability negotiation.
The capability negotiation method of the stream media system that present embodiment adopts is to be carrier with the program target identification, and the ability property parameters handling capacity announcement request of client terminal is carried out capability negotiation with corresponding server.Because in the stream media system under the different agreement; Client terminal all will send to corresponding server with the program target identification; Therefore with the carrier of program target identification, accomplish the adaptive of client terminal and server, thereby improved the compatibility of system as the ability property parameters.
The capability negotiation method of embodiment two, a kind of stream media system, flow chart is as shown in Figure 4, comprising:
Step 201, client terminal obtain the program target identification;
The acquiring way that is appreciated that the program target identification has: the reception Web server issues, or copy etc.
Step 202, client terminal judge whether said program target identification comprises client terminal ability property parameters, if comprise, then execution in step 2021, and structure comprises the capability advertisement request of the program target identification that has carried said client terminal ability property parameters; If do not comprise, then execution in step 2020, detect the ability attribute of this machine, add said capabilities property parameters to the program target identification after, execution in step 2021.
Be appreciated that; The ability property parameters that client terminal detects oneself is to detect according to the program target identification that obtains; At first client terminal will check in the program target identification that obtains whether comprise the programme attribute parameter; If comprise, then client terminal only detect this machine with the corresponding ability property parameters of programme attribute parameter.As: the programme attribute parameter of in program URL, carrying is for allowing P2P, and then client terminal is as long as whether this machine of detection can support P2P.So just need not detect, save the processing time, alleviate the burden of client terminal all ability property parameters of client terminal.
Step 203, client terminal send to said program target identification corresponding server with said capability advertisement request and carry out capability negotiation, and preferably, client terminal can be realized through following method:
Client terminal sends said capability advertisement request and gives said program target identification corresponding server;
Client terminal receives the capabilities response information that said server returns, and initiates the data transfer request of Streaming Media according to the content of said capabilities response information.If this capabilities response information comprises ability and occurs simultaneously, the ability is here occured simultaneously, and to be server mate the ability attribute and the client terminal ability parameter of own detection, the ability property parameters of the server that is complementary with client terminal ability property parameters that obtains.For example the ability attribute of client terminal is to support P2P and support the WMV form, and the ability attribute of server is to support P2P, and then the ability that in the capabilities response information of returning, comprises of server is occured simultaneously to be and supported P2P.Client terminal judges whether said ability is occured simultaneously is empty set; If empty set, to other server initiating capacity announcement request, the address of other server here can obtain through scheduling; As in the capabilities response information of returning, carrying other server address, also can obtain through alternate manner; If not empty set is then initiated the data transfer request of Streaming Media to said server.
If said capabilities response information comprises the ability property parameters with the corresponding server of this machine property parameters; Then the ability property parameters of this server and the ability property parameters of this machine are mated; If be complementary, then initiate the data transfer request of Streaming Media to said server; If be not complementary, then to other server initiating capacity announcement request.
Present embodiment is capability negotiation method embodiment in concrete application of embodiment one described stream media system.
The capability negotiation method of embodiment three, a kind of stream media system, flow chart is as shown in Figure 5, comprising:
Step 301, server receive the capability advertisement request that client terminal sends, and said capability advertisement request comprises the program target identification that carries client terminal ability property parameters;
Program target identification in step 302, the said capability advertisement request of server parses obtains the ability property parameters of client terminal;
Step 303, server combine the ability property parameters of client terminal, detect own corresponding ability attribute, and to said client terminal resettability response message.
Present embodiment is the method for the capability negotiation that server one side adopts among the embodiment one, reaches same effect with embodiment one.
The capability negotiation method of embodiment four, a kind of stream media system, present embodiment are the negotiations that is applied to live broadcast system, and signaling process figure is as shown in Figure 6, comprising:
Step 401, user be through landing portal website's request program, the live client of portal website's pull-up, and the ability attribute that detects client terminal is for supporting the WMV formatted file and supporting active/standby server;
Portal website is an application framework; It is integrated into various application systems, data resource and Internet resources on the information management platform; And offering the user with unified user interface, the transmission of present most of Streaming Media all will be carried out through this interface of portal website.
Step 402, portal website combine the ability attribute of program, generate the program URL that carries client terminal ability property parameters;
The program URL that step 403, portal website issue generation gives client terminal;
Step 404, client terminal are judged the program URL that receives, and find that said program URL has carried the ability property parameters of client terminal, and then structure comprises the capability advertisement request of said program URL, and this capability advertisement request is sent to server;
Step 405, server receive the capability advertisement request that client terminal sends, and whether the resource of check system is sufficient, if sufficient, then resolves the program URL in this capability advertisement request, obtains the ability property parameters of client terminal;
Step 406, server combine the ability property parameters of said client terminal, detect own corresponding ability property parameters for supporting the WMV formatted file and supporting active/standby server;
Step 407, server be to client terminal resettability response message, this capabilities response information comprise occur simultaneously with the ability of the ability property parameters of client terminal and with the address of a plurality of servers;
Step 408, client terminal receive said capabilities response information; Judge whether the ability common factor in this capabilities response information is empty set, finds it is not empty set, and then client terminal and server are adaptive; Choose the main server of using according to strategy, initiate live request with server to main.When client terminal detects mainly when using server exception, client terminal cut-in stand-by server is initiated live request.
The data transmission method of embodiment five, a kind of stream media system, present embodiment are under http protocol, the data transmission method of stream media system, and flow chart is as shown in Figure 7, comprising:
The request message that step 501, client terminal send http protocol carries out capability negotiation to corresponding server, and in the described request message, the private information of http protocol carries the ability property parameters of client terminal;
Be appreciated that the Pragma field allows to expand in http protocol, can expand as required in actual use.Present embodiment can be accomplished capability negotiation through the ability parameter that the attribute that increases client terminal in the Pragma field carries in the system through expanding the Pragma field.Intrasystem server and client then through the HTTP interacting message, thereby have been announced ability separately through ability parameter separately being filled in the Pragma field of http protocol each other, accomplish the capability negotiation of system.
Step 502, client terminal receive the capabilities response information that said server returns according to the ability property parameters of client terminal, and initiate the data transfer request of Streaming Media to said server according to said capabilities response information.
Because in download, video request program, live etc. used, it is more extensive that http protocol uses with respect to the RTSP agreement, and http protocol is the agreement of a public use, and it has good expandability.Therefore the ability property parameters that in the private information of HTTP, carries communication one side can be more convenient, and use more extensive.
Embodiment six, please with reference to Fig. 8, the embodiment of the invention provides a kind of client terminal 100, comprising: request generation unit 60 and capability negotiation unit 61, wherein:
Request generation unit 60 is to be used for generative capacity announcement request, and said capability advertisement request comprises the program target identification that carries this capabilities property parameters; Capability negotiation unit 61 is to be used for that the capability advertisement request that request generation unit 60 generates is sent to said program target identification corresponding server to carry out capability negotiation.
Adopt the client terminal of present embodiment, can be carried in the program target identification, carry out capability negotiation with corresponding server through the ability property parameters of request generation unit 60 with client terminal.Make that under any agreement the both sides that communicate know ability each other, improved the compatibility of system.
Embodiment seven, please with reference to Fig. 9, the embodiment of the invention provides a kind of client terminal 200, comprising: acquiring unit 71, judging unit 72, sign generation unit 73, request generation unit 74 and capability negotiation unit 75, wherein:
Acquiring unit 71 is to be used to obtain the program target identification;
Judging unit 72 is to be used to judge whether program target identification that acquiring unit 71 obtains comprises the ability property parameters of this machine; If comprised the ability property parameters of this machine; The program target identification that then acquiring unit 71 is obtained imports request generation unit 74 into; If do not comprise the ability property parameters of this machine, the program target identification that then acquiring unit 71 is obtained imports sign generation unit 73 into;
Sign generation unit 73 is to be used for when judging unit 71 imports the program target identification into; The ability attribute of this machine of detection; Said capabilities property parameters added in the program target identification, and import the said program target identification that has added this capabilities property parameters into request generation unit 74;
Request generation unit 74 is connected with judging unit 72 with sign generation unit 73; Be used for when sign generation unit 73 or judging unit 72 import the program target identification that carries this capabilities property parameters into, structure has comprised the capability advertisement request of the program target identification that carries this capabilities property parameters;
Capability negotiation unit 75 is to be used for that the capability advertisement request that request generation unit 74 generates is sent to the program target identification corresponding server that acquiring unit 71 obtains to carry out capability negotiation.
Present embodiment is on the basis of embodiment six, to have increased acquiring unit 71, judging unit 72 and sign generation unit 73; Adopt present embodiment to generate the capability advertisement request according to the different program target identifications that obtain; Avoided no matter whether comprising this capabilities property parameters in the program target identification, client terminal adds this capabilities property parameters and situation that the duplicate detection that causes is added the ability property parameters.
Embodiment eight, please with reference to Figure 10, the embodiment of the invention provides a kind of client terminal 300, comprising: acquiring unit 81, judging unit 82, sign generation unit 83, request generation unit 84 and capability negotiation unit 85, wherein:
Acquiring unit 81 is used to obtain the program target identification;
Judging unit 82; Be used to judge whether program target identification that acquiring unit 81 obtains comprises the ability property parameters of this machine; If comprised the ability property parameters of this machine; The program target identification that then acquiring unit 81 is obtained imports request generation unit 84 into, if do not comprise the ability property parameters of this machine, then imports the program target identification that acquiring unit 81 obtains into recognition unit 830;
Sign generation unit 83; Be used to detect the ability attribute of this machine; The ability property parameters of said machine is added in the program target identification; And import the said program target identification that has added this capabilities property parameters into request generation unit 84, be appreciated that sign generation unit 83 can comprise: recognition unit 830 is revised unit 831 with detecting;
Recognition unit 830 is connected with judging unit 82, is used to check whether the program target identification that judging unit 81 imports into comprises the programme attribute parameter, if then said programme attribute parameter is imported into to detect and revise unit 831; Detecting modification unit 831 is connected with request generation unit 84; Be used to detect corresponding this capabilities attribute of the programme attribute parameter of importing into recognition unit 831; Said capabilities property parameters added in the program target identification, and import the said program target identification that has added this capabilities property parameters into request generation unit 84;
Request generation unit 84 is revised unit 831 with detection and is connected with judging unit 82; Be used for when detect revising unit 831 or judging unit 82 and import the program target identification that carries this capabilities property parameters into, structure has comprised the capability advertisement request of the program target identification that carries this capabilities property parameters;
Capability negotiation unit 85 is used for that the capability advertisement request that request generation unit 84 generates is sent to the program target identification corresponding server that acquiring unit 81 obtains and carries out capability negotiation.
Present embodiment is on the basis of embodiment seven, sign generation unit 83 to be carried out refinement, is divided into recognition unit 830 and revises unit 831 with detecting, and makes that client terminal can detect according to the program ability attribute in the program target identification, generative capacity announcement request.Described in preceding embodiment two, saved the processing time like this, can alleviate the burden of client terminal.
Embodiment nine, please with reference to Figure 11, the embodiment of the invention provides a kind of client terminal 400, comprising: acquiring unit 91, judging unit 92, sign generation unit 94, request generation unit 93 and capability negotiation unit 95, wherein:
Acquiring unit 91 is used to obtain the program target identification;
Judging unit 92; Be used to judge whether program target identification that acquiring unit 91 obtains comprises the ability property parameters of this machine; If comprise the ability property parameters of this machine; The program target identification that then acquiring unit 91 is obtained imports request generation unit 93 into, if do not comprise this capabilities property parameters, the program target identification that then acquiring unit 91 is obtained imports sign generation unit 94 into;
Sign generation unit 94 is to be used for when judging unit 92 imports the program target identification into; The ability attribute of this machine of detection; Said capabilities property parameters added in the program target identification, and import the said program target identification that has added this capabilities property parameters into request generation unit 93;
Request generation unit 93 is connected with sign generation unit 94 and judging unit 92; Be used for when sign generation unit 93 or judging unit 92 import the program target identification that carries this capabilities property parameters into, structure has comprised the capability advertisement request of the program target identification that carries this capabilities property parameters;
Capability negotiation unit 95 is used for that the capability advertisement request is sent to the program target identification corresponding server 500 that acquiring unit 91 obtains and carries out capability negotiation.
Be appreciated that capability negotiation unit 95 can comprise: request transmitting unit 950, response receiving element 951, response process unit 952, judgment processing unit 954 and matching treatment unit 953, the qualification that this and not enough cost are invented, wherein:
Request transmitting unit 950 is connected with request generation unit 93, is used to send the program target identification corresponding server 500 that capability advertisement request that request generation unit 93 generates obtains for acquiring unit 91;
Response receiving element 951 is used for the capabilities response information that reception server 500 returns;
Response process unit 952; Be used for when confirming that capabilities response information that response receiving element 951 receives comprises this machine and occurs simultaneously with the ability of the ability property parameters of server 500; Import said capabilities response information into common factor judgment processing unit 954; When confirming that capabilities response information that response receiving element 951 receives comprises the ability property parameters with the corresponding server 500 of this capabilities property parameters, import said capabilities response information into matching treatment unit 953;
Judgment processing unit 954 is used for judging whether the ability common factor of the capabilities response information of importing into response process unit 952 is empty set, if not empty set is then initiated the data transfer request of Streaming Medias to server 500;
Matching treatment unit 953, the ability property parameters and this capabilities attribute that are used for the response process unit is passed the server 500 of the 952 capabilities response information of going into mate, if be complementary, then to the data transfer request of server 500 initiation Streaming Medias.
Present embodiment be on the basis of previous embodiment seven refinement capability negotiation unit 95, make client terminal can initiate the data transfer request of Streaming Media according to application server different ability response message.
Embodiment ten, please with reference to Figure 12, the embodiment of the invention provides a kind of server 600, comprising: the request receiving element 101, request analysis unit 102 and response unit 103, wherein:
Request receiving element 101 is used to receive the capability advertisement request that client terminal sends, and said capability advertisement request comprises the program target identification that carries client terminal ability property parameters;
Resolution unit 102 is used for the program target identification of the capability advertisement request that analysis request receiving element 101 receives, and obtains the ability property parameters of client terminal;
Response unit 103 is used to detect the corresponding self-ability attribute of ability property parameters of resolving the client terminal that obtains with resolution unit 102, and to said client terminal resettability response message.
The capability negotiation method of the stream media system that the embodiment of the invention adopts is to be carrier with the program target identification, and the ability property parameters handling capacity announcement request of client terminal is carried out capability negotiation with corresponding server.Because in the stream media system under the different agreement; Client terminal all will send to corresponding server with the program target identification; Therefore with the carrier of program target identification as the ability property parameters; Shield the difference of different agreement, accomplished the adaptive of client terminal and server, thereby improved the compatibility of system.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to accomplish through program; This program can be stored in the computer-readable recording medium, and storage medium can comprise: ROM, RAM, disk or CD etc.
More than capability negotiation method, data transmission method and the relevant device of the stream media system that the embodiment of the invention provided carried out detailed introduction; Used concrete 10 examples among this paper principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that on embodiment and range of application, all can change, in sum, this description should not be construed as limitation of the present invention.

Claims (12)

1. the capability negotiation method of a stream media system is characterized in that, comprising:
Generative capacity announcement request, said capability advertisement request comprises the program target identification that carries client terminal ability property parameters; Said program target identification is the carrier of ability property parameters;
Said capability advertisement request is sent to said program target identification corresponding server carry out capability negotiation; So that the said program target identification of said server parses obtains the ability property parameters of client terminal; And, return response message to said client terminal according to the ability attribute of server.
2. method according to claim 1 is characterized in that, also comprises before the step of said generative capacity announcement request:
Obtain the program target identification;
Judge whether said program target identification comprises the ability property parameters of client terminal;
If the step of then said generative capacity announcement request is: structure comprises the capability advertisement request of the said program target identification that obtains;
If not; The step of then said generative capacity announcement request is: the ability property parameters that detects client terminal; The ability property parameters of said client terminal is added in the program target identification that obtains, and structure comprises the said capability advertisement request of having added the program target identification of client terminal ability property parameters.
3. method according to claim 2 is characterized in that, the step of the ability property parameters of said detection client terminal comprises:
Check whether the said program target identification that obtains comprises the programme attribute parameter;
If then detect and said programme attribute parameter corresponding client terminal ability property parameters.
4. according to each described method of claim 1 to 3, it is characterized in that, saidly the capability advertisement request is sent to program target identification corresponding server carry out the step of capability negotiation and comprise:
Send said capability advertisement request and give said program target identification corresponding server;
Receive the capabilities response information that said server returns;
Confirm that said capabilities response information comprises the ability common factor of the ability property parameters of said client terminal and server, judge whether said ability is occured simultaneously is empty set, if not, then initiate the data transfer request of Streaming Media to said server.
5. according to each described method of claim 1 to 3, it is characterized in that, saidly the capability advertisement request is sent to program target identification corresponding server carry out the step of capability negotiation and comprise:
Send said capability advertisement request and give said program target identification corresponding server;
Receive the capabilities response information that said server returns;
Confirm that said capabilities response information comprises the ability property parameters with the corresponding server of said client terminal ability property parameters; The ability property parameters of said server and the ability property parameters of client terminal are mated; If be complementary, then initiate the data transfer request of Streaming Media to this server.
6. the capability negotiation method of a stream media system is characterized in that, comprising:
Receive the capability advertisement request that client terminal sends, said capability advertisement request comprises the program target identification that carries client terminal ability property parameters; Said program target identification is the carrier of ability property parameters;
Resolve the program target identification in the said capability advertisement request, obtain the ability property parameters of client terminal;
In conjunction with the ability property parameters of said client terminal, detect the corresponding ability attribute of server, and to said client terminal resettability response message.
7. method according to claim 6; It is characterized in that; Said capabilities response information comprises the ability of the ability property parameters of server and said client terminal and occurs simultaneously, or comprises the ability property parameters with the corresponding server of ability property parameters of said client terminal.
8. a client terminal is characterized in that, comprising: request generation unit and capability negotiation unit;
The described request generation unit is used for generative capacity announcement request, and said capability advertisement request comprises the program target identification that carries this capabilities property parameters; Said program target identification is the carrier of ability property parameters;
Said capability negotiation unit; Be used for that the capability advertisement request that the described request generation unit generates is sent to said program target identification corresponding server and carry out capability negotiation; So that the said program target identification of said server parses obtains the ability property parameters of client terminal; And, return response message to said client terminal according to the ability attribute of server.
9. client terminal according to claim 8 is characterized in that, also comprises: acquiring unit, judging unit and sign generation unit;
Said acquiring unit is used to obtain the program target identification;
Said judging unit; Be used to judge whether the program target identification that said acquiring unit obtains comprises this capabilities property parameters; If; The program target identification that then said acquiring unit is obtained imports the request generation unit into, if not, the program target identification that then said acquiring unit is obtained imports the sign generation unit into;
Said sign generation unit; Be used for when said judging unit imports the program target identification into; The ability property parameters of this machine of detection; Said capabilities property parameters added in the program target identification, and import the said program target identification that has added this capabilities property parameters into the request generation unit;
The described request generation unit is used to construct the capability advertisement request that has comprised the program target identification that carries this capabilities property parameters.
10. client terminal according to claim 9 is characterized in that, said sign generation unit comprises: recognition unit is revised the unit with detecting, and the program target identification that said judging unit obtains acquiring unit imports in the recognition unit of sign generation unit;
Said recognition unit is used to check whether the program target identification that said judging unit imports into comprises the programme attribute parameter, if then said programme attribute parameter is imported into to detect and revise the unit;
The unit is revised in said detection; Be used to detect corresponding this capabilities property parameters of the programme attribute parameter of importing into said recognition unit; Add this capabilities property parameters in the program target identification new program target identification of generation, and import said new program target identification into the request generation unit.
11. to 10 each described client terminals, it is characterized in that according to Claim 8 said capability negotiation unit comprises: request transmitting unit, response receiving element, response process unit, judgment processing unit and matching treatment unit;
The described request transmitting element, the capability advertisement request that is used to send the generation of described request generation unit is to said program target identification corresponding server;
Said response receiving element is used to receive the capabilities response information that said server returns;
Said response process unit; Be used for when confirming that capabilities response information that said response receiving element receives comprises this machine and occurs simultaneously with the ability of the ability property parameters of server; Import said capabilities response information into the judgment processing unit; When confirming that capabilities response information that said response receiving element receives comprises the ability property parameters with said the corresponding server of capabilities property parameters, import said capabilities response information into the matching treatment unit;
Said judgment processing unit, whether the ability of the capabilities response information that is used for judging that said response process unit imports into is occured simultaneously is empty set, if not empty set is then initiated the data transfer request of Streaming Media to said server;
Said matching treatment unit, ability property parameters and this capabilities property parameters of the server of the capabilities response information that is used for said response process unit is imported into mate, if be complementary, then initiate the data transfer request of Streaming Media to said server.
12. a server is characterized in that, comprising: request receiving element, request analysis unit and response unit;
The described request receiving element is used to receive the capability advertisement request that client terminal sends, and said capability advertisement request comprises the program target identification that carries client terminal ability property parameters; Said program target identification is the carrier of ability property parameters;
The described request resolution unit is used for resolving the program target identification of the capability advertisement request that the described request receiving element receives, and obtains the ability property parameters of client terminal;
Said response unit is used to detect the corresponding self-ability attribute of ability property parameters of resolving the client terminal that obtains with the described request resolution unit, and to said client terminal resettability response message.
CN 200810094796 2008-05-16 2008-05-16 Capability negotiation method for flow medium system, data transmission method as well as related equipment Active CN101282339B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810094796 CN101282339B (en) 2008-05-16 2008-05-16 Capability negotiation method for flow medium system, data transmission method as well as related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810094796 CN101282339B (en) 2008-05-16 2008-05-16 Capability negotiation method for flow medium system, data transmission method as well as related equipment

Publications (2)

Publication Number Publication Date
CN101282339A CN101282339A (en) 2008-10-08
CN101282339B true CN101282339B (en) 2012-12-12

Family

ID=40014614

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810094796 Active CN101282339B (en) 2008-05-16 2008-05-16 Capability negotiation method for flow medium system, data transmission method as well as related equipment

Country Status (1)

Country Link
CN (1) CN101282339B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101437027B (en) * 2008-12-11 2011-11-23 华为技术有限公司 Method and system for detecting terminal compatibility, and access gateway control function entity
CN102025760B (en) * 2009-09-21 2015-11-25 华为技术有限公司 The media transmission method of HTTP and device
CN102546803B (en) * 2012-01-13 2014-08-20 浙江工商大学 Remote desktop communication method based on capability set
WO2016000127A1 (en) * 2014-06-30 2016-01-07 北京新媒传信科技有限公司 Communication method and signalling server
CN104539596A (en) * 2014-12-18 2015-04-22 华为技术有限公司 Method, device and system for streaming media transmission
CN104883626A (en) * 2015-05-22 2015-09-02 深圳市九洲电器有限公司 Method and system for streaming media management
CN105704509A (en) * 2016-01-18 2016-06-22 腾讯科技(深圳)有限公司 Processing method and system in played program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1331785A1 (en) * 2002-01-23 2003-07-30 Sony International (Europe) GmbH A method for enabling the negotiation of end-to-end QoS by using the end-to-end negotiation protocol (E2ENP)
US20040196849A1 (en) * 2003-02-13 2004-10-07 Nokia Corporation Method for signaling streaming quality adaptation and control mechanisms in multimedia streaming
WO2007031028A1 (en) * 2005-09-17 2007-03-22 Huawei Technologies Co., Ltd. A method for negotiating about the media stream packet time length
CN1946087A (en) * 2006-09-30 2007-04-11 华为技术有限公司 Data transmission method and system between movable terminal and server end
CN1992888A (en) * 2005-12-28 2007-07-04 中兴通讯股份有限公司 Mobile terminal adapting system of streaming media

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1331785A1 (en) * 2002-01-23 2003-07-30 Sony International (Europe) GmbH A method for enabling the negotiation of end-to-end QoS by using the end-to-end negotiation protocol (E2ENP)
US20040196849A1 (en) * 2003-02-13 2004-10-07 Nokia Corporation Method for signaling streaming quality adaptation and control mechanisms in multimedia streaming
WO2007031028A1 (en) * 2005-09-17 2007-03-22 Huawei Technologies Co., Ltd. A method for negotiating about the media stream packet time length
CN1992888A (en) * 2005-12-28 2007-07-04 中兴通讯股份有限公司 Mobile terminal adapting system of streaming media
CN1946087A (en) * 2006-09-30 2007-04-11 华为技术有限公司 Data transmission method and system between movable terminal and server end

Also Published As

Publication number Publication date
CN101282339A (en) 2008-10-08

Similar Documents

Publication Publication Date Title
CN101282339B (en) Capability negotiation method for flow medium system, data transmission method as well as related equipment
US7634564B2 (en) Systems and methods for invoking a service from a plurality of event servers in a network
EP3319330B1 (en) Multicast transmission method, apparatus, and system for ott media
CN102055718B (en) Method, device and system for layering request content in http streaming system
JP2010522367A (en) Content usage information collection method and system, and content usage information collection recording medium
EP1964358A1 (en) Virtual universal plug and play control point
CN102347947B (en) Streaming media adaptor, streaming media network interaction system and method
EP2438714A1 (en) Method and arrangement for obtaining a media object for a device in a local network
US8903972B2 (en) Method and apparatus for sharing contents using information of group change in content oriented network environment
CN103944994A (en) Distributed resource obtaining method and device
CN102630378A (en) Individualized data communication on the basis of a descriptive file
CN101222418A (en) Method, system and signaling gateway for RTSP client terminal access to SIP media resource
CN101183946B (en) Method and system of obtaining resource listing of download file
CN101997759A (en) Service implementation method and service system
TW200644525A (en) Method and apparatus for efficiently expanding a P2P network
CN105991689A (en) HTTP message processing method, system, HTTP client and server
CN101997822A (en) Streaming media content delivery method, system and equipment
RU2004118708A (en) METHOD FOR CONNECTING WITH A WIRELESS INTERNET NETWORK SERVICE
CN102694864A (en) Method for achieving streaming media function by utilizing HTTP, streaming media server and system
CN103826139A (en) CDN system, watching server and streaming media data transmission method
CN102404616B (en) Method and system for pushing data cloud based on digital television network
CN104735400A (en) Method and gateway equipment for SIP client side in video monitoring system to have access to RTSP media equipment
CN104125145A (en) Web browser based communication method, web browser based communication equipment and web browser based communication system
CN102170456A (en) Method, device and system for acquiring content in PPN (peer-to-peer network)
CN106330833A (en) Communication method based on ICAP (Internet Content Adaptation Protocol), client 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
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20211227

Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province

Patentee after: Super fusion Digital Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right