Movatterモバイル変換


[0]ホーム

URL:


CN109802932A - A kind of method and apparatus of cast communication - Google Patents

A kind of method and apparatus of cast communication
Download PDF

Info

Publication number
CN109802932A
CN109802932ACN201711148296.1ACN201711148296ACN109802932ACN 109802932 ACN109802932 ACN 109802932ACN 201711148296 ACN201711148296 ACN 201711148296ACN 109802932 ACN109802932 ACN 109802932A
Authority
CN
China
Prior art keywords
terminal device
live
media stream
destination terminal
application server
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
CN201711148296.1A
Other languages
Chinese (zh)
Other versions
CN109802932B (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.)
Huawei 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 LtdfiledCriticalHuawei Technologies Co Ltd
Priority to CN201711148296.1ApriorityCriticalpatent/CN109802932B/en
Priority to PCT/CN2018/114761prioritypatent/WO2019096063A1/en
Publication of CN109802932ApublicationCriticalpatent/CN109802932A/en
Application grantedgrantedCritical
Publication of CN109802932BpublicationCriticalpatent/CN109802932B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

This application discloses a kind of method of cast communication and relevant apparatus, it include: that application server indicates that media resource function network element is pushed to content distributing network CDN system according to by the Media Stream of live session, application server receives the Media Stream addresses from the CDN system, Media Stream addresses are sent to purpose terminal device by application server, the communication pattern of purpose terminal device is a reception pattern, pulls the Media Stream of live session from CDN system to realize purpose terminal device using Media Stream addresses.Using the embodiment of the present invention, the interface of intercommunication is provided between application server and CDN system, application server can distribute the Media Stream of live session by CDN system, a reception pattern is set by the purpose terminal device in live session simultaneously, large number of terminal device can be supported to participate in live streaming in this way, while reducing the time delay for obtaining Media Stream.

Description

A kind of method and apparatus of cast communication
Technical field
The present invention relates to the communications field more particularly to a kind of method and apparatus of cast communication.
Background technique
With the development of network technology, the bandwidth of network obtains rapid growth accordingly, and current communication network supports enoughThe ability of live video or audio.Such as: it is being based on IMS (IP multimedia subsystem, IP multimedia subsystem)In distributed conference system, Conference, the primary professional ability based on IMS are supported, it may be convenient to provide small-scaleLive broadcast service, such as: the push of Content of Communication may be implemented, based on message, group, present class business information series business hand overMutually, it may be implemented to interact.Current IMS communication system is all two-way for UE (user equipment, user equipment)Letter, UE it is large number of when, expense is very big.The all-calls participant of same session all connects the call manager of a logicCenter causes there are center resources bottleneck, can not the huge UE of supported amount.
Summary of the invention
The technical problem to be solved by the embodiment of the invention is that the communication means and relevant device of a kind of live streaming, using clothesThe interface of intercommunication is provided between business device and CDN system, application server can distribute the media of live session by CDN systemStream, while a reception pattern is set by the purpose terminal device in live session, large number of terminal can be supported to set in this wayIt is standby to participate in live streaming, while reducing the time delay for obtaining Media Stream.
In a first aspect, this application provides a kind of communication means of live streaming, comprising: application server indicates media resource functionEnergy network element is pushed to CDN system according to by the Media Stream of live session, and application server is with receiving the Media Stream from CDN systemLocation, Media Stream addresses are that the Media Stream of live session is mapped to the address in CDN system;Application server sends out Media Stream addressesPurpose terminal device is given, the communication pattern of purpose terminal device is a reception pattern.
Wherein, application server sends push instruction to media resource function network element, and push instruction carries live sessionMark, the mark of live session is for uniquely indicating that the identity of live session, the mark of live session can be built in live sessionThe distribution of other network elements is obtained by application server immediately.Reception pattern indicates that terminal device only receives Media Stream, does not send matchmakerBody stream, it is of course possible to send control information.Terminal device has different roles, including live streaming side and spectators in live sessionSide, the terminal device that live streaming side uses are source terminal equipment, and the terminal device that spectators side uses is purpose terminal device.
According to the description above, in the case that the communication pattern of purpose terminal device is a reception pattern, purpose terminal is setThe standby Media Stream addresses for receiving application server and sending, Media Stream addresses are that the Media Stream of live session is mapped in CDN systemAddress, purpose terminal device can reduce the acquisition of purpose terminal device using Media Stream addresses from CDN system pull media streamThe time delay of Media Stream, while reducing the load of equipment of the core network.
In a kind of possible design, it includes: application that Media Stream addresses are sent to purpose terminal device by application serverServer receives the live streaming call request from the source terminal equipment being located in live session, and live streaming call request is for calling meshTerminal device, application server obtain purpose terminal device media capability information, media capability information indicate purpose terminalThe communication capacity that equipment has, if determining that terminal device supports connectionless live streaming ability, application service according to media capability informationDevice sends re-direction applications server to purpose terminal device and sends carrying Media Stream addresses and warrant to purpose terminal deviceThe message message of board.The connectionless live streaming ability of the application, which indicates to have, obtains live session by connectionless modeMedia Stream addresses of the Media Stream in CDN system, and by connectionless mode according to Media Stream addresses from CDN system pull-upThe ability of Media Stream, connectionless mode indicate not needing to establish session.
In a kind of possible design, Media Stream addresses are sent to purpose terminal device and include: by application server
Application server receives the live streaming call request from purpose terminal device, and live streaming call request user calls live streamingSource terminal equipment in session;Application server obtains the media capability information of purpose terminal device, if being believed according to media capabilityIt ceases and determines that purpose terminal device supports connectionless live streaming ability, application server sends to source terminal equipment and asks for live streaming callingThe redirection message asked redirects the live streaming call request that message is used to terminate source terminal equipment initiation, and application server is to meshTerminal device send carry Media Stream addresses and authorization token message message.
Wherein, media capability information indicates the expression for the ability that terminal device is supported, such as: connection type, the branch of supportThe coding mode etc. of the medium type, support held.Application server can in the registration request of terminal device or call request orOther domestic middle media capability informations for obtaining purpose terminal device.Connectionless live streaming ability expression does not need to establish acquisition conversationThe ability of Media Stream addresses, and do not need to establish the ability of session pull media stream.
In a kind of possible design, it includes: application that Media Stream addresses are sent to purpose terminal device by application serverServer receives the live streaming call request from purpose terminal device, which is used to call the source in live sessionTerminal device, application server obtains the media capability information of purpose terminal device, if determining purpose according to media capability informationTerminal device supports connectionless live streaming ability, and application server sends resetting for live streaming call request to purpose terminal deviceTo message, redirects message and carry Media Stream addresses and authorization token.
In a kind of possible design, it includes: application that Media Stream addresses are sent to purpose terminal device by application serverServer receives the live streaming call request from purpose terminal device, and the source that live streaming call request is used to call in live session is wholeEnd equipment, application server send the redirection message for live streaming call request to purpose terminal device, and application server obtainsThe media capability information of purpose terminal device is taken, if determining that purpose terminal device supports connectionless live streaming according to media capability informationAbility, application server send the message message for carrying Media Stream addresses and authorization token to purpose terminal device.
In a kind of possible design, it includes: application that Media Stream addresses are sent to purpose terminal device by application serverServer receives the live streaming call request from purpose terminal device, and the source that live streaming call request is used to call in live session is wholeEnd equipment, live streaming call request carry the mark of live session, and the mark of live session is answered for uniquely indicating the identity of sessionThe media capability information that purpose terminal device is obtained with server, if determining purpose terminal device portion branch according to media capability informationConnectionless live streaming ability is held, application server sends the successful sound for carrying Media Stream addresses and authorization token to purpose terminal deviceMessage is answered, success message message is used to indicate to be successfully established the live session of purpose terminal device initiation.
In a kind of possible design, it includes: application that Media Stream addresses are sent to purpose terminal device by application serverServer receives the live streaming call request from purpose terminal device, and the source that live streaming call request is used to call in live session is wholeEnd equipment, application server obtain the media capability information of purpose terminal device, if determining purpose end according to media capability informationEnd equipment does not support connectionless live streaming ability but supports live streaming ability, and application server sends to purpose terminal device and carries mediaFlow the success response message of address and authorization token.
In a kind of possible design, the media capability information that application server obtains purpose terminal device includes: applicationServer obtains the media capability information of purpose terminal device, example during purpose terminal device initiates registration or callingSuch as: purpose terminal device carries the media capability information of itself in registration request or call request.
In a kind of possible design, further includes:
Application server determines the communication pattern of purpose terminal device according to the corresponding idling-resource size of live broadcast service;Or
Application server determines the logical of purpose terminal device according to the communication pattern instruction information from purpose terminal deviceLetter mode;Or
Application server is according to group service data, address list business datum, call authority business datum or signing informationDetermine the communication pattern of purpose terminal device;Or
Application server determines terminal device according to the identity information of purpose terminal device and the multiplexing number of live sessionCommunication pattern.
In a kind of possible design, further includes:
Application server receives the communication pattern switching request from purpose terminal device, and communication pattern switching request carriesAuthorization token switches over the communication pattern of purpose terminal device after the application server verifying authorization token is legal, byA current reception pattern is switched to interactive model, answers server instruction media resource function network element (MRF) acquisition interactive modelPurpose terminal device generate Media Stream, collected Media Stream is added in the Media Stream of live session.
Second aspect, this application provides a kind of methods of cast communication, comprising: the reception of media resource function network element comes fromThe plug-flow instruction message of application server, plug-flow instruction message carry the mark of live session;Media resource function network element according toThe standard of live session obtains the Media Stream of live session, and obtains the associated CDN system of mark with live session, mediaThe Media Stream of live session is pushed to CDN system by resource function network element.
In a kind of possible design, the Media Stream of live session is pushed to CDN system packet by media resource function network elementInclude: whether the Media Stream of media resource function network element identification live session meets the coded format of CND system support, if it has not,The Media Stream of live session is converted according to the coded format that CND system is supported, the live session after format is convertedMedia Stream is pushed to CDN system.
The third aspect, this application provides a kind of methods of cast communication, comprising: purpose terminal device obtains live sessionMedia Stream addresses, Media Stream addresses are that the Media Stream of live session is mapped to the address in CDN system, and purpose terminal is to CDNSystem sends the drawing stream request for carrying the Media Stream addresses of live session, and purpose terminal device receives the basis from CDN systemThe Media Stream for the live session that Media Stream addresses are sent.
In a kind of possible design, purpose terminal device is obtained before the Media Stream addresses of live session, further includes:
Purpose terminal device sends live streaming call request to application server, and live streaming call request is for calling live sessionIn source terminal equipment, live streaming call request carry live session mark, the mark of source terminal equipment and media capability informationAt least one of.
In a kind of possible design, the Media Stream addresses that purpose terminal device obtains live session include:
When the purpose terminal device supports connectionless live streaming ability, the purpose terminal device, which receives, carrys out self-application clothesThe message message of the carrying Media Stream addresses and authorization token of business device;Or
Purpose terminal device sends live streaming call request to application server;Wherein, the live streaming call request carries instituteThe media capability information of purpose terminal device is stated, it is connectionless straight that the media capability information indicates that the purpose terminal device is supportedBroadcast ability;
The purpose terminal device receives the redirection for the live streaming call request from the application serverMessage;Wherein, the Media Stream addresses and authorization token for redirecting message and carrying the live session;Or
The purpose terminal device sends live streaming call request to the application server;Wherein, the live streaming calling is askedThe media capability information for carrying the purpose terminal device is sought, the media capability information indicates that the purpose terminal device is supportedConnectionless live streaming ability;
The purpose terminal device receives the redirection for the live streaming call request from the application serverMessage;
The purpose terminal device receives the Media Stream addresses of the carrying live session from application server and awardsWeigh the message message of token;Or
The purpose terminal device sends live streaming call request to the application server;Wherein, the live streaming calling is askedIt asks and carries the mark of the live session and the media capability information of the purpose terminal device, the media capability information indicatesThe purpose terminal device does not support connectionless live streaming ability;
The purpose terminal device receives the Media Stream addresses of the carrying live session from the application serverWith the success response message of authorization token;Or
The purpose terminal device sends live streaming call request to the application server;Wherein, the live streaming calling is askedIt asks for calling the source terminal equipment in the live session, the live streaming call request carries the matchmaker of the purpose terminal devicePhysical efficiency force information, the media capability information indicate that the purpose terminal device does not support connectionless live streaming ability;
The purpose terminal device receives the Media Stream addresses of the carrying live session from the application serverWith the success response message of authorization token.
In a kind of possible design, further includes:
Purpose terminal device sends communication pattern switching request to application server;Wherein, in communication pattern switching requestCarry the authorization token of live session;
Purpose terminal device receives the communication pattern handoff response from application server.Communication pattern handoff response is used forThe communication pattern for notifying purpose terminal device successful switch current, the current switch mode of purpose terminal device are only to receive mouldFormula is changed to interactive model after carrying out communication pattern switching, then application server needs to indicate that MRF acquires purpose terminal deviceThe Media Stream of acquisition is added in live session by the Media Stream of generation.
Fourth aspect, this application provides a kind of methods of cast communication, comprising: application server obtains live sessionMedia Stream addresses, the Media Stream addresses of live session are that the Media Stream of live session is mapped to the address in CDN system, using clothesBusiness device receives the live streaming call request from purpose terminal device, and live streaming call request carries the network site of purpose terminal deviceInformation and media capability information, if determining that purpose terminal device does not support connectionless live streaming ability and not according to media capability informationSupport live streaming ability, application server is with sending the Media Stream for carrying live session to the associated transfer gateway of network location informationThe drawing stream instruction message of location.
Wherein, connectionless live streaming ability indicates that there is connectionless mode to obtain Media Stream addresses, and with connectionlessMode obtains the ability of Media Stream from CDN system;Live streaming ability indicates to have obtains Media Stream addresses by way of session, withAnd the ability of Media Stream is obtained from CDN system by way of session.
In a kind of possible design, if determining that purpose terminal device does not support connectionless live streaming according to media capability informationAbility and do not support live streaming ability, application server sends to the associated transfer gateway of network location information and carries live sessionBefore the drawing stream instruction message of Media Stream addresses, further includes:
Application server sends deployment request to transfer gateway, and deployment request can carry specifications parameter, make transfer gateway rootVirtual NE is disposed according to the parameter of regularity, parameter of regularity may include hardware parameter and functional parameter.
Application server receives the deployment from transfer gateway and completes message, and deployment completes message for indicating transfer gatewayComplete deployment.
In a kind of possible design, further includes:
Application server receives the drawing stream success message from transfer gateway, and stream success message is drawn to indicate transfer gateway successThe Media Stream to live session is pulled from CDN system, stream success message is drawn to carry port numbers, port numbers are transfer gateway for pushing awayThe port address of the Media Stream of live session is sent, application server sends the success response for carrying port numbers to purpose terminal deviceMessage.
In a kind of possible design, after application server receives the live streaming call request from purpose terminal device,Further include:
Application server sends success response message to purpose terminal device;Application server indicates media resource function netMedia Stream of the member to purpose terminal device push live session.
In a kind of possible design, further includes:
Application server receives the drawing stream success message from transfer gateway;Wherein, stream success message is drawn to indicate transition netIt closes and successfully pulls Media Stream to live session from CDN system, stream success message is drawn to carry port numbers;Application server is to purposeTerminal device sends the Media Stream handover request for carrying port numbers;Wherein, Media Stream handover request carries port numbers, and Media Stream is cutIt changes message and is used to indicate purpose terminal device according to Media Stream of the port numbers reception from transfer gateway.
5th aspect, this application provides a kind of communication means of live session, comprising: transfer gateway, which receives, carrys out self-applicationThe drawing stream instruction message of server, draws stream instruction message to carry Media Stream addresses, and Media Stream addresses are that live session is mapped to CDNAddress in system;Transfer gateway sends the drawing stream request for carrying Media Stream addresses to CDN system, and transfer gateway is to application serviceDevice sends the drawing stream success message for carrying port numbers, and transfer gateway sends the matchmaker of live session in port numbers to purpose terminal deviceBody stream.
In a kind of possible design, further includes: transfer gateway receives the deployment request from application server;Deployment is askedSeek the network location information and mark for carrying purpose terminal device;It is taken when transfer gateway requests to complete deployment according to deployment to applicationBusiness device sends deployment and completes message.
In a kind of possible design, the authorization token that live session is carried in stream instruction message is drawn.
6th aspect, this application provides a kind of methods of cast communication, comprising:
The Media Stream addresses of the corresponding SBC Session Border Controller acquisition live session of purpose terminal device, Media StreamLocation is that live session is mapped in the address in CDN system, and the corresponding SBC of purpose terminal device sends to CDN system and carries mediaThe drawing stream request of address is flowed, the corresponding SBC of purpose terminal device receives the live streaming sent from CDN system according to Media Stream addressesThe Media Stream of session;Media Stream of the corresponding SBC of purpose terminal device to purpose terminal device push live session.
In a kind of possible design, before the corresponding SBC of purpose terminal device obtains the Media Stream addresses of live session,Further include: the corresponding SBC of purpose terminal device receives the live streaming call request from purpose terminal device, and live streaming call request is usedSource terminal equipment in calling live session;The corresponding SBC of source terminal equipment obtains the multiplexing number of live session, is being broadcast liveIn the case that the multiplexing number of session is greater than preset quantity, the corresponding SBC of source terminal equipment pushes the Media Stream of live sessionTo the CDN system.
In a kind of possible design, the Media Stream addresses that the corresponding SBC of purpose terminal device obtains live session include:The corresponding SBC of purpose terminal device receives the success response message sent from the corresponding SBC of source terminal equipment, and success response disappearsBreath carries the Media Stream addresses of live session.
It further include when the multiplexing number of live session is equal to 0, source terminal equipment is corresponding in a kind of possible designSBC discharges the live session.The multiplexing number of live session indicates the quantity of purpose terminal device in live session, is being broadcast liveWhen the quantity of purpose terminal device is 0 in session, application server notice source terminal equipment exits live session, and discharges live streamingThe resource of session.
7th aspect, this application provides a kind of device of cast communication, which has the method for realizing first aspectThe function of middle application server behavior.The function can also execute corresponding software by hardware realization by hardwareIt realizes.The hardware or software include one or more modules corresponding with above-mentioned function.
In a kind of possible implementation, described device includes: processing unit, is used to indicate media resource function network element rootContent distributing network CDN system is pushed to according to by the Media Stream of live session;
Receiving unit, for receiving the Media Stream addresses from the CDN system;Wherein, the Media Stream addresses are instituteThe Media Stream for stating live session is mapped in address in the CDN system;
Transmission unit, for the Media Stream addresses to be sent to purpose terminal device;Wherein, the purpose terminal deviceCommunication pattern be a reception pattern.
In alternatively possible implementation, described device includes: receiver, transmitter, memory and processor;ItsIn, batch processing code is stored in the memory, and the processor is for calling the program generation stored in the memoryCode executes following operation:
Indicate that media resource function network element is pushed to content distributing network CDN system according to by the Media Stream of live session;
Receiver, for receiving the Media Stream addresses from the CDN system;Wherein, the Media Stream addresses are describedThe Media Stream of live session is mapped in the address in the CDN system;
Transmitter, for the Media Stream addresses to be sent to purpose terminal device;Wherein, the purpose terminal deviceCommunication pattern is a reception pattern.
Based on the same inventive concept, the principle and beneficial effect solved the problems, such as due to the device may refer to above-mentioned respectively may be usedThe method implementation and brought beneficial effect of the application server of energy, therefore the implementation of the device may refer to methodImplementation, overlaps will not be repeated.
Eighth aspect, this application provides a kind of device of cast communication, which has the method for realizing second aspectThe function of middle media resource function network element behavior.The function can also be executed corresponding by hardware realization by hardwareSoftware realization.The hardware or software include one or more modules corresponding with above-mentioned function.
In a kind of possible implementation, the network element includes: receiving unit, for receiving pushing away from application serverFlow instruction message;Wherein, the plug-flow instruction message carries the mark of live session;
Processing unit obtains the Media Stream of the live session for the mark according to the live session, and obtainsWith the associated CDN system of mark of the live session;
Transmission unit, for the Media Stream of the live session to be pushed to the CDN system.
In alternatively possible implementation, described device includes: receiver, transmitter, memory and processor;ItsIn, receiver is for receiving the plug-flow instruction message from application server;Wherein, the plug-flow instruction message carries live streaming meetingThe mark of words;Batch processing code is stored in the memory, and the processor is used to call to store in the memoryProgram code executes following operation:
The Media Stream of the live session is obtained according to the mark of the live session, and is obtained and the live sessionThe associated CDN system of mark;
Transmitter, for the Media Stream of the live session to be pushed to the CDN system.
Based on the same inventive concept, the principle and beneficial effect solved the problems, such as due to the device may refer to above-mentioned respectively may be usedThe method implementation and brought beneficial effect of the media resource function network element of energy, therefore the implementation of the device can be joinedThe implementation of square method, overlaps will not be repeated.
9th aspect, this application provides a kind of device of cast communication, which has the method for realizing the third aspectThe function of middle purpose terminal device behavior.The function can also be executed corresponding soft by hardware realization by hardwarePart is realized.The hardware or software include one or more modules corresponding with above-mentioned function.
In a kind of possible implementation, described device includes: processing unit, for obtaining the Media Stream of live sessionLocation;Wherein, the Media Stream addresses are that the Media Stream of the live session is mapped in the address in CDN system;
Transmission unit, for sending the drawing stream request for carrying the Media Stream addresses to the CDN system;
Receiving unit, for receiving the live streaming meeting sent according to the Media Stream addresses from the CDN systemThe Media Stream of words.
In alternatively possible implementation, described device includes: receiver, transmitter, memory and processor;ItsIn, receiver is for receiving the plug-flow instruction message from application server;Wherein, batch processing generation is stored in the memoryCode, and the processor, for calling the program code stored in the memory, execution is following to be operated:
Obtain the Media Stream addresses of live session;Wherein, the Media Stream addresses are that the Media Stream of the live session reflectsPenetrate the address in CDN system.
Transmitter, for sending the drawing stream request for carrying the Media Stream addresses to the CDN system;
Receiver, for receiving the live session sent according to the Media Stream addresses from the CDN systemMedia Stream.
Based on the same inventive concept, the principle and beneficial effect solved the problems, such as due to the device may refer to above-mentioned respectively may be usedThe method implementation and brought beneficial effect of the terminal device of energy, therefore the implementation of the device may refer to methodImplement, overlaps will not be repeated.
Tenth aspect, this application provides a kind of device of cast communication, which has the method for realizing fourth aspectThe function of middle application server behavior.The function can also execute corresponding software by hardware realization by hardwareIt realizes.The hardware or software include one or more modules corresponding with above-mentioned function.
In a kind of possible implementation, described device includes: processing unit, for obtaining the Media Stream of live sessionLocation;Wherein, the Media Stream addresses of the live session are that the Media Stream of the live session is mapped to the ground in the CDN systemLocation;
Receiving unit, for receiving the live streaming call request from purpose terminal device;Wherein, the live streaming call requestCarry the network location information and media capability information of the purpose terminal device;
Transmission unit, if determining the purpose terminal device not according to the media capability information for the processing unitIt supports connectionless live streaming ability and does not support live streaming ability, the associated transfer gateway of Xiang Suoshu network location information, which is sent, carries instituteState the drawing stream instruction message of the Media Stream addresses of live session.
In alternatively possible implementation, described device includes: receiver, transmitter, memory and processor;ItsIn, batch processing code is stored in the memory, and the processor is for calling the program generation stored in the memoryCode executes following operation:
Obtain the Media Stream addresses of live session;Wherein, the Media Stream addresses of the live session are the live sessionMedia Stream be mapped to the address in the CDN system;
Receiver, for receiving the live streaming call request from purpose terminal device;Wherein, the live streaming call request is takenNetwork location information and media capability information with the purpose terminal device;
Transmitter, if determining that the purpose terminal device is not supported according to the media capability information for the processorConnectionless live streaming ability, the associated transfer gateway of Xiang Suoshu network location information is with sending the Media Stream for carrying the live sessionThe drawing stream instruction message of location.
Based on the same inventive concept, the principle and beneficial effect solved the problems, such as due to the device may refer to above-mentioned respectively may be usedThe method implementation and brought beneficial effect of the application server of energy, therefore the implementation of the device may refer to methodImplementation, overlaps will not be repeated.
Tenth on the one hand, and this application provides a kind of device of cast communication, which has the side for realizing the 5th aspectThe function of transfer gateway behavior in method.The function can also execute corresponding software by hardware realization by hardwareIt realizes.The hardware or software include one or more modules corresponding with above-mentioned function.
In a kind of possible implementation, described device includes: receiving unit, for receiving the drawing from application serverFlow instruction message;Wherein, the drawing stream instruction message carries the Media Stream addresses, and the Media Stream addresses are live sessionMedia Stream is mapped to the address in CDN system;
Transmission unit, for sending the drawing stream request for carrying the Media Stream addresses to the CDN system;
Transmission unit, is also used to determine in processing unit and is successfully pulled from CDN system to institute according to the Media Stream addressesWhen stating the Media Stream of live session, Xiang Suoshu application server sends the drawing stream success message for carrying port numbers;
The transmission unit is also used to send the media of the live session to purpose terminal device in the port numbersStream.
In alternatively possible implementation, described device includes: receiver, transmitter, memory and processor;ItsIn, batch processing code is stored in the memory, and the processor is for calling the program generation stored in the memoryCode, executes relevant operation.
Receiver, for receiving the drawing stream instruction message from application server;Wherein, the drawing stream instruction message carriesThe Media Stream addresses, the Media Stream addresses are that the Media Stream of live session is mapped to the address in CDN system;
Transmitter, for sending the drawing stream request for carrying the Media Stream addresses to the CDN system;
Transmitter, is also used to determine in processor and is successfully pulled from CDN system to described straight according to the Media Stream addressesWhen broadcasting the Media Stream of session, Xiang Suoshu application server sends the drawing stream success message for carrying port numbers;
Transmitter is also used to send the Media Stream of the live session to purpose terminal device in the port numbers.
Based on the same inventive concept, the principle and beneficial effect solved the problems, such as due to the device may refer to above-mentioned respectively may be usedThe method implementation and brought beneficial effect of the transfer gateway of energy, therefore the implementation of the device may refer to methodImplement, overlaps will not be repeated.
12nd aspect, this application provides a kind of device of cast communication, which has the side for realizing the 6th aspectThe function of the corresponding SBC of purpose terminal device (session boarder controller, Session Border Controller) behavior in methodEnergy.The function can also execute corresponding software realization by hardware realization by hardware.The hardware or software packageInclude one or more modules corresponding with above-mentioned function.
In a kind of possible implementation, described device includes: processing unit, for obtaining the Media Stream of live sessionLocation, Media Stream addresses are that live session is mapped in the address in CDN system, and transmission unit carries matchmaker for sending to CDN systemThe drawing stream of body stream address is requested, receiving unit, for receiving the live session sent from CDN system according to Media Stream addressesMedia Stream;Transmission unit is also used to push the Media Stream of live session to purpose terminal device.
In alternatively possible implementation, the SBC includes: receiver, transmitter, memory and processor;Wherein,Batch processing code is stored in the memory, and the processor is used to call the program code stored in the memory,Execute relevant operation.
Processor, for obtaining the Media Stream addresses of live session, Media Stream addresses are that live session is mapped in CDN systemIn address, transmitter, for CDN system send carry Media Stream addresses drawing stream request, receiver, for receive come fromThe Media Stream for the live session that CDN system is sent according to Media Stream addresses;Transmitter is also used to push to purpose terminal device straightBroadcast the Media Stream of session.
Based on the same inventive concept, the principle and beneficial effect solved the problems, such as due to the device may refer to above-mentioned respectively may be usedThe method implementation and brought beneficial effect of the SBC of energy, therefore the implementation of the device may refer to the implementation of method,Overlaps will not be repeated.
The another aspect of the application has been mentioned for a kind of computer readable storage medium, in the computer readable storage mediumIt is stored with instruction, when run on a computer, so that computer executes method described in above-mentioned various aspects.
The another aspect of the application provides a kind of computer program product comprising instruction, when it runs on computersWhen, so that computer executes method described in above-mentioned various aspects.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly or in background technique below will be implemented the present inventionAttached drawing needed in example or background technique is illustrated.
Fig. 1 a is the existing network architecture diagram based on IMS meeting;
Fig. 1 b is a kind of network architecture diagram based on live streaming provided in an embodiment of the present invention;
Fig. 1 c is a kind of another network architecture diagram based on live streaming provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of the communication means of live streaming provided in an embodiment of the present invention;
Fig. 3 is a kind of another flow diagram of the communication means of live streaming provided in an embodiment of the present invention;
Fig. 4 is a kind of another flow diagram of the communication means of live streaming provided in an embodiment of the present invention;
Fig. 5 is a kind of another flow diagram of the communication means of live streaming provided in an embodiment of the present invention;
Fig. 6 is a kind of another flow diagram of the communication means of live streaming provided in an embodiment of the present invention;
Fig. 7 is a kind of another flow diagram of the communication means of live streaming provided in an embodiment of the present invention;
Fig. 8 is a kind of another flow diagram of the communication means of live streaming provided in an embodiment of the present invention;
Fig. 9 is a kind of another flow diagram of the communication means of live streaming provided in an embodiment of the present invention;
Figure 10 is the flow diagram of creation live session provided in an embodiment of the present invention;
Figure 11 is a kind of another flow diagram of the communication means of live streaming provided in an embodiment of the present invention;
Figure 12 is a kind of structural schematic diagram of the device of cast communication of the embodiment of the present invention;
Figure 13 is a kind of another structural schematic diagram of the device of cast communication of the embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is described with reference to the attached drawing in the embodiment of the present invention.
Fig. 1 b be the present embodiments relate to a kind of communication system system architecture schematic diagram, the communication system includesSource terminal equipment, purpose terminal device, call session control function (Call Session Control Function, CSCF)Network element, media resource function (Media Resource Function, MRF) network element and application server (ApplicationServer, AS).
Wherein, source terminal equipment is the supplier of media content, and media content can be audio frequency media or video media, exampleSuch as: source terminal equipment can acquire audio frequency media or video media by camera or microphone.Purpose terminal device is in mediaThe recipient of appearance, the communication pattern of purpose terminal device are divided into interactive model (interactive mode) and reception pattern(receive only mode), interactive model indicate that purpose terminal device both receives live media content, also send live mediaContent;Reception pattern indicates that purpose terminal device only receives live media content, does not send live media content.CSCF network elementFor the network element in IMS (IP Multimedia Subsystem, IP multimedia subsystem), CSCF network element is mainly responsible for and userFunctions, the CSCF network element such as the relevant registration of business, authentication, session control, routing management, network management and charging are divided into generation according to functionManage CSCF (Proxy CSCF, P-CSCF), inquiry CSCF (Interrogating CSCF, I-CSCF), serving CSCF(Serving CSCF, S-CSCF) and urgent CSCF (Emergency CSCF, E-CSCF), substantially they are all based on SIPThe server of (Session Initiation Protocol, session initiation protocol) can execute the relevant Dialog processing of callingAnd control function;The multiple CSCF of deployment in IMS, each CSCF have different compasss of competency.MRF network element is the function in IMSEntity is mainly responsible for the processing to media content and provides media content, such as: mixed-media stream, code conversion and statistics moneySource information etc., MRF network element are divided into media resource function controller (Multimedia Resource FunctionController, MRFC) and Media Resource Function Processor (Multimedia Resource Function Processor,MRFP).AS is the application layer equipment of top layer in IMS, is interacted between AS and CSCF by the Session Initiation Protocol of standard, in turnRealize that the triggering and execution of various network services, network service include but is not limited to basic business, supplementary service, multimedia conferencingWith converged communication etc..Content distributing network (Content Delivery Network, CDN) system includes central node and edgeNode, CDN system can be in real time according to the load states of each fringe node, to information such as distance, the response times of userThe request of user is redirected on the fringe node of user, to reduce the congestion and time delay of user's access process.Multiple accessEdge calculations (Multi-access Edge Computing, MEC) are the calculate node of distributed deployment, the base of calculate nodeInfrastructure provides virtualization, the different types of network element of the various virtualizations of the infrastructure deployment of each calculate node, at thisIn application, AS and MRF network element is disposed in the calculate node close to purpose terminal device, as not supporting directly from CDN systemDraw the transfer gateway of the purpose terminal device of stream.
It should be noted that the MRF network element and AS in the embodiment of the present invention can be deployed as two independent network elements respectively,Being also possible to MRF network element can also be built in AS, and the application is with no restriction.
Communication system in Fig. 1 b include: purpose terminal device 10, purpose terminal device 11, source terminal equipment 12,CSCF13, CSCF14, CDN system 15, MEC16, MRF network element 17 and AS18.CSCF13 administers purpose terminal device 10 and purposeTerminal device 11, CSCF14 administer source terminal equipment 12.Connection relationship between above-mentioned each network element device referring to shown in Fig. 1 b, thisPlace repeats no more.Purpose terminal device 10 do not support to be directly deployed with from CDN system pull media stream, MEC16 AS161 andMRF network element 160, as a purpose terminal device 10 for from the transfer gateway of 15 pull media stream of CDN system;Purpose terminal is setStandby 11 support from 15 pull media stream of CDN system.It should be noted that in Fig. 1 b the network equipment and base station equipment quantity and shapeThe exemplary only explanation of state does not constitute the embodiment of the present invention and limits.
It is a kind of another structural schematic diagram of communication system provided in an embodiment of the present invention, communication system packet referring to Fig. 1 cIt includes: purpose terminal device, source terminal equipment, Session Border Controller (Session Border Controller, SBC), CSCFAnd CDN system.
Wherein, SBC is the network element between two different types of networks, is mainly responsible for address conversion, network security controlFunctions such as (quality of service, Qos) are controlled with service quality.Multiple SBC can be disposed in communication system, it is differentSBC has different compasss of competency.The function of purpose terminal device, source terminal equipment, CSCF and CDN system in communication systemIt can refer to the description in Fig. 1 b, details are not described herein again.
The communication system of Fig. 1 c include: purpose terminal device 11, purpose terminal device 12, source terminal equipment 13, SBC14,CSCF15, SBC16, CSCF17, AS18 and CDN system 19.Wherein, purpose terminal device 11 and purpose terminal device 12 are located atIn the compass of competency of SBC, source terminal equipment 13 is located in the compass of competency of SBC16.It should be noted that the network equipment in Fig. 1 bWith the exemplary only explanation of quantity and form of base station equipment, the embodiment of the present invention is not constituted and limited.
Wherein, the communication system in the application can be global system for mobile communications (Global System forMobile Communication, GSM), CDMA (Code Division Multiple Access, CDMA) system, widthBand CDMA (Wideband Code Division Multiple Access, WCDMA) system, worldwide interoperability for microwave accesses(Worldwide Interoperability for Microwave Access, WiMAX) system, long term evolution (longTerm evolution, LTE) system, 5G communication system (such as (new radio, NR) system, a variety of communication technologys of newly eating dishes without rice or wineThe communication system (such as communication system of LTE technology and NR technological incorporation) of fusion or subsequent evolution communication systems.
Wherein, the terminal device in the application is a kind of equipment with wireless communication function, be can be with channel radioThe handheld device of telecommunication function, wearable device, calculates equipment or is connected to other processing of radio modem mobile unitEquipment etc..Terminal device can be called different titles in different networks, such as: user equipment, access terminal, Yong HudanMember, subscriber station, movement station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless telecom equipment,User agent or user apparatus, cellular phone, wireless phone, session initiation protocol (Session InitiationProtocol, SIP) phone, wireless local loop (Wireless Local Loop, WLL) stand, personal digital assistantTerminal device etc. in (Personal Digital Assistant, PDA), 5G network or future evolution network.
Fig. 2 is referred to, Fig. 2 is a kind of flow diagram of cast communication method provided in an embodiment of the present invention, the reality of Fig. 2Framework of the example based on Fig. 1 b is applied, this method includes but is not limited to following steps:
S201, AS18 send plug-flow request to CDN system 15, and CDN system 15 receives the plug-flow request from AS18.
Specifically, AS18 is pre-established with live session, includes source terminal equipment 12 and at least one mesh in live sessionTerminal device.Plug-flow request can carry in plug-flow request for requesting the Media Stream to the push live session of CDN system 15The parameters such as port numbers, IP address, the coded format of Media Stream and the media type information of MRF network element 17.CDN system 15 receivesAfter plug-flow request, CDN system 15 distributes one and distributes a Media Stream addresses for live session, and Media Stream addresses are live sessionMedia Stream be mapped to the address in CDN system, Media Stream addresses can be URL (uniform resource locator, systemOne resource localizer) address.
S202, CDN system 15 send Media Stream addresses to AS18, and AS18 receives the Media Stream addresses from CDN system 15.
S203, AS18 send plug-flow instruction message to MRF network element 17, and MRF network element 17 receives the plug-flow instruction from AS18Message.
Wherein, plug-flow instruction message is used to indicate MRF network element and the Media Stream of live session is pushed to CDN system 15, directlyBroadcast the purpose terminal device of source terminal equipment and interactive model of the Media Stream of session in live session.Plug-flow instruction messageIn can also carry live session Media Stream encoding format information and media type information.
For S204, MRF network element 17 by the media stream of live session to CDN system 15, CDN system 15, which receives, comes from MRFThe Media Stream of the live session of network element 17.
Wherein, the Media Stream of live session is pushed to CDN system 15 according to the instruction of AS18 by MRF network element 17, if MRFThe coded format of the Media Stream of live session is unsatisfactory for the requirement of CDN system on network element 17, and MRF network element 17 is by collected live streamingThe Media Stream of session is pushed to CDN system 15 after formatting again.
Media Stream addresses are sent to purpose terminal device 11 by S205, AS18, and purpose terminal device 11, which receives, comes from AS18Media Stream addresses.
Wherein, the communication pattern of purpose terminal device 11 is a reception pattern, and the needs of purpose terminal device 11, which are added to, works asIn the case where preceding live session, such as: purpose terminal device 11, which passes through caller or is called, is added to current live sessionIn.AS18 determines that purpose terminal device 11 supports that, directly from 15 pull media stream of CDN system, live session is mapped in by AS18Media Stream addresses in CDN system 15 are sent to purpose terminal device 11.
S206, purpose terminal device 11 are sent to CDN system 15 draws stream request, and CDN system 15, which receives, comes from purpose terminalThe drawing stream of equipment 11 is requested.
Wherein, it draws and carries the Media Stream addresses that S205 is obtained in stream request.
S207, CDN system 15 send Media Stream to purpose terminal device 11, and purpose terminal device 11, which receives, comes from CDN systemThe Media Stream of system 15.
In the method depicted in fig. 2, the Media Stream of live session is pushed to CDN system by AS, subsequent to have terminal deviceWhen live session is added, the Media Stream of live session is mapped to the Media Stream addresses in CDN system and is notified to terminal device, eventuallyEnd equipment is according to Media Stream addresses from CDN system pull media stream, and thus the application can support the use of live scene downlink magnanimityFamily avoids the problem that the framework overload in the prior art centered on AS.In addition, terminal can be straight for terminal sideThe mode for connecting calling is added in live session, is avoided in the prior art through APP (application, application software)It is broadcast live, the complexity for not needing the difficulty for reducing exploitation for different types of terminal adaptation APP and reducing Signalling exchangeDegree.
In each embodiment below, MRF network element 17 is built in AS18, and physically the two is a network element.
It is a kind of another flow diagram of the communication means of live session provided in an embodiment of the present invention referring to Fig. 3,Framework of the embodiment of the present invention based on Fig. 1 b, the method but is not limited to following steps:
S301, MRF network element 17 pushes the Media Stream of live session to live streaming CDN system 15, and the reception of CDN system 15 comes fromThe Media Stream of the live session of MRF network element 17.
Wherein, AS18 is pre-established with live session, includes source terminal equipment 12 and at least one purpose in live sessionThe Media Stream of terminal device, live session is acquired from the purpose terminal device of source terminal equipment 12 and interactive model by MRF17?.AS18 indicates that MRF network element 17 carries out plug-flow, and the Media Stream of the collected live session of MRF network element 17 is pushed to CDN system15。
S302, source terminal equipment 12 send live streaming call request to AS18, and AS18 is received from the straight of source terminal equipment 12Broadcast call request.
Wherein, live streaming call request is used for call intent terminal device 11, purpose terminal device 11 is added current straightIt broadcasts in session, the mark of purpose terminal device 11 can be carried by being broadcast live in call request, such as: the phone number of purpose terminal deviceCode, SIP number or IMSI number etc..Live streaming call request also carries call type, and call type is used to indicate thisSecondary calling is live streaming calling.
S303, AS18 determine that purpose terminal device 11 supports connectionless live streaming ability.
Wherein, AS obtains the media capability information of purpose terminal device 11, and media capability information indicates the logical of terminal deviceLetter ability, AS can obtain its media capability information in the registration process of purpose terminal device 11.Such as: purpose terminal device11 when initiating to AS18 registration request, and the support header field of registration request carries parameter bc_call and connect_less_bc_Call, parameter bc_call indicate that purpose terminal device 11 supports live streaming ability, and parameter connect_less_bc_call indicates meshTerminal device 11 support connectionless live streaming ability.Live streaming ability indicates that terminal device has the energy initiated or live session is addedPower, connectionless live streaming ability indicates that terminal device has the initiation under connectionless state or the ability of live session is added, i.e., sharpThe ability of live session is initiated or is added with the mode of packet switch.In addition, media energy of the AS18 according to purpose terminal device 11Force information knows that purpose terminal device 11 has the ability that stream is directly drawn from CDN system.
S304, AS18 send 380 message to source terminal equipment 12, and source terminal equipment 12 receives 380 message from AS18.
Wherein, 380 message are attached most importance to directed message,
S305, AS18 send message message to purpose terminal device 11, and purpose terminal device 11 is received from AS18'sMessage message.
Specifically, message message carries Media Stream addresses, Media Stream addresses are that the Media Stream of live session is mapped toAddress in CDN system.Further, can also carry authorization token token in message message, authorization token for pairThe certification and authentication of terminal device.
S306, purpose terminal device 11 send 200 message to AS18, and AS18 receives 200 from purpose terminal device 11Message.
Wherein, after purpose terminal device 11 is properly received and parses message message, 200 message, AS18 are sent to AS18It receives 200 message and knows that purpose terminal device 11 is properly received and parses the Media Stream addresses in message message and authorizationToken.
S307, purpose terminal device 11 are sent to CDN system 15 draws stream request, and CDN system 15, which receives, comes from purpose terminalThe drawing stream of equipment 11 is requested.
Wherein, draw stream request for drawing in stream request and carrying Media Stream addresses and warrant to CDN system pull media streamBoard.
S308, CDN system 15 send the Media Stream of live session to purpose terminal device 11, and purpose terminal device 11 receivesThe Media Stream of live session from CDN system 15.
Wherein, Media Stream addresses and authorization token that CDN system parsing draws stream request to be carried, CDN system is according to nextThe authorization token obtained from the authorization token of AS18 to parsing is verified, after being verified, according to the instruction of Media Stream addressesThe Media Stream of live session is sent to purpose terminal device.
S309, communication pattern switching flow.
Wherein, purpose terminal device 11 can send communication pattern switching request to AS18, take in communication pattern switching requestBand authorization token switches over the communication pattern of purpose terminal device 11 after AS18 verifying authorization token is legal, such as:In the case that the current communication pattern of purpose terminal device 11 is a reception pattern, AS18 is by the communication pattern of purpose terminal deviceInteractive model is switched to by only reception pattern;Or the case where the current communication pattern of purpose terminal device 11 is interactive modelUnder, the communication pattern of purpose terminal device 11 is switched to a reception pattern by interactive model by AS18.
According to the description of Fig. 3, the embodiment of the present invention calls purpose terminal device by source terminal equipment, and purpose is wholeTo CDN system pull media stream, the purpose terminal device under reception pattern adds the Media Stream addresses that end equipment is notified according to ASEnter into live session, be multiplexed the Media Stream of live session, reduces the occupancy to live streaming resource, can support large number of useFamily.
It referring to fig. 4, is a kind of another flow diagram of the method for cast communication provided in an embodiment of the present invention, in this hairFramework of the bright embodiment based on Fig. 1 b, the method includes but be not limited to following steps:
S401, MRF network element 17 pushes the Media Stream of live session to CDN system 15, and CDN system 15, which receives, comes from MRF netThe Media Stream of the live session of member.
Wherein, AS18 is pre-established with live session, includes source terminal equipment in live session, MRF network element 17 acquires directlyThe Media Stream of live session is pushed to CDN system 15 by the Media Stream for broadcasting session.
S402, purpose terminal device 11 send live streaming call request to AS18, and AS18, which is received, comes from purpose terminal device 11Live streaming call request.
Wherein, purpose terminal device 11 is added to current live streaming for calling source terminal equipment by live streaming call requestIn session, the mark of media capability information and source terminal equipment that purpose terminal device 11 is carried in call request is broadcast live, source is wholeThe mark of end equipment includes but is not limited to telephone number, SIP number or IMSI number.Media capability information indicates that purpose terminal is setThe standby communication capacity supported, such as: the support header field that call request is broadcast live carries bc_call and connect_less_bc_Call, bc_call indicate that terminal device supports live streaming ability, and connect_less_bc_call indicates that terminal device is supported without evenConnect live streaming ability.
S403, AS18 determine that purpose terminal device 11 supports connectionless live streaming ability.
Wherein, AS18 media capability information determines that purpose terminal device 11 supports connectionless live streaming ability, is otherwise determined that meshTerminal device 11 support directly from CDN system draw stream ability.It should be noted that terminal device 11 supports live streaming ability.Wherein, connectionless live streaming ability indicates to have connectionless mode to obtain Media Stream addresses, and in connectionless mode from CDNThe ability of system acquisition Media Stream;Live streaming ability indicates to have obtains Media Stream addresses by way of session, and passes through meetingThe mode of words obtains the ability of Media Stream from CDN system.
S404, AS18 send 380 message to purpose terminal device 11, and purpose terminal device 11 receives 380 that AS18 is sentMessage.
Wherein, 380 message (redirecting message) indicate the live streaming call request of AS18 refusal purpose terminal device 11, instructionPurpose terminal device 11 uses alternative service, and Media Stream addresses and authorization token are carried in 380 message, and Media Stream addresses are live streamingThe Media Stream of session is mapped to the address in CDN system 15.In addition, the authorization token can be also sent to CDN system 15 by AS18.
S405, purpose terminal device 11 are sent to CDN system 15 draws stream request, and CDN system 15, which receives, comes from purpose terminalThe drawing stream of equipment 11 is requested.
Wherein, draw stream request for drawing stream request to carry the Media Stream obtained in S405 from 15 pull media stream of CDN systemAddress and authorization token.Authorization token is for being authenticated and being authorized to terminal device.
S406, CDN system 15 send the Media Stream of live session to purpose terminal device 11, and purpose terminal device 11 receivesThe Media Stream of live session from CDN system 15.
Wherein, Media Stream addresses and authorization token that the parsing of CDN system 15 draws stream request to be carried, CDN system 15It is verified according to the authorization token that the authorization token from AS18 obtains parsing, after being verified, according to Media Stream addressesIndicate the Media Stream that live session is sent to purpose terminal device.
According to the description of Fig. 4, the embodiment of the present invention calls source terminal equipment by purpose terminal device, and purpose is wholeTo CDN system pull media stream, the purpose terminal device under reception pattern adds the Media Stream addresses that end equipment is notified according to ASEnter into live session, be multiplexed the Media Stream of live session, reduces the occupancy to live streaming resource, can support large number of useFamily.
It is a kind of another flow diagram of the method for cast communication provided in an embodiment of the present invention, in this hair referring to Fig. 5Framework of the bright embodiment based on Fig. 1 b, which comprises
S501, MRF network element 17 sends the Media Stream of live session to CDN system 15, and CDN system 15 receives to come from MRFThe Media Stream of the live session of network element 17.
Wherein, AS is pre-established with live session, and MRF network element 17 pushes the Media Stream of collected live session aCDN system 15.
S502, purpose terminal device 11 send live streaming call request to AS18, and AS18, which is received, comes from purpose terminal device 11Live streaming call request.
Wherein, purpose terminal device 11 is added to current live streaming for calling source terminal equipment by live streaming call requestIn session, the mark of media capability information and source terminal equipment that purpose terminal device 11 is carried in call request is broadcast live, source is wholeThe mark of end equipment includes but is not limited to telephone number, SIP number or IMSI number.Media capability information indicates that purpose terminal is setThe standby communication capacity supported, such as: the support header field that call request is broadcast live carries bc_call and connect_less_bc_Call, bc_call indicate that terminal device supports live streaming ability, and connect_less_bc_call indicates that terminal device is supported without evenConnect live streaming ability.
S503, AS18 send 380 message to purpose terminal device 11, and purpose terminal device 11 receives 380 from AS18Message.
Wherein, 380 message (redirecting message) indicate the live streaming call request of AS18 refusal purpose terminal device 11, instructionPurpose terminal device 11 uses alternative service.
S504, AS18 determine that purpose terminal device 11 supports connectionless live streaming ability.
Wherein, AS18 determines that purpose terminal device 11 supports connectionless live streaming according to the media capability information that S502 is gotAbility, and support that CDN system draws the ability flowed in directly.
S505, AS18 send message message to purpose terminal device, and purpose terminal device 11 is received from AS18'sMessage message.
Wherein, Media Stream addresses and authorization token are carried in message message.Media Stream addresses are current live sessionMedia Stream is mapped in address in CDN system 15, and authorization token is for authenticating and authenticating to user.In addition, AS18 can also be incited somebody to actionThe authorization token is sent to CDN system 15.
S506, purpose terminal device 11 send 200 message to AS18, and AS18 receives 200 from purpose terminal device 11Message.
Wherein, 200 message indicate that purpose terminal device 11 is properly received message message and parsing obtains message and disappearsThe information carried in breath.
S507, purpose terminal device are sent to CDN system draws stream request, and CDN system is received from purpose terminal deviceDraw stream request.
Wherein, draw stream request for drawing stream request to carry the Media Stream obtained in S505 from 15 pull media stream of CDN systemAddress and authorization token.Authorization token is for being authenticated and being authorized to terminal device.
S508, CDN system send the Media Stream of live session to purpose terminal device, and the reception of purpose terminal device comes fromThe Media Stream of the live session of CDN system.
Wherein, Media Stream addresses and authorization token that the parsing of CDN system 15 draws stream request to be carried, CDN system 15It is verified according to the authorization token that the authorization token from AS18 obtains parsing, after being verified, according to Media Stream addressesIndicate the Media Stream that live session is sent to purpose terminal device.
According to the description of Fig. 5, the embodiment of the present invention calls source terminal equipment by purpose terminal device, and purpose is wholeTo CDN system pull media stream, the purpose terminal device under reception pattern adds the Media Stream addresses that end equipment is notified according to ASEnter into live session, be multiplexed the Media Stream of live session, reduces the occupancy to live streaming resource, can support large number of useFamily.
It is a kind of another flow diagram of the method for cast communication provided in an embodiment of the present invention, in this hair referring to Fig. 6Framework of the bright embodiment based on Fig. 1 b, which comprises
S601, MRF17 push the Media Stream of live session to CDN system 15, and CDN system 15 is received from the straight of MRF17Broadcast the Media Stream of session.
Description in the embodiment of detailed process reference Fig. 3 to Fig. 5, details are not described herein again.
S602, purpose terminal device 11 send live streaming call request to AS18, and AS18, which is received, comes from purpose terminal device 11Live streaming call request.
Specifically, purpose terminal device 11 for being added in current live session by live streaming call request, live streaming is exhaledThe mark for making request carry media ability information and live session, the mark of live session is for indicating the body of live sessionPart, different live sessions has different marks, and the mark of live session can be issued in social platform or webpage.Media energyForce information indicates that the communication capacity that purpose terminal device is supported, such as the support header field of live streaming call request carry bc_callAnd connect_less_bc_call, bc_call indicate that terminal device supports live streaming ability, connect_less_bc_call tableShow that terminal device supports connectionless live streaming ability.
S603, AS18 determine that purpose terminal device 11 does not support connectionless live streaming ability.
Wherein, AS18 determines that purpose terminal device 11 supports connectionless live streaming energy according to the media capability information that S602 is obtainedPower, and the ability of stream is directly drawn from CDN system.The support of terminal device 11 has connection live streaming ability.Wherein, connectionless live streaming energyPower indicates that there is connectionless mode to obtain Media Stream addresses, and obtains Media Stream from CDN system in connectionless modeAbility;Live streaming ability indicates to have obtains Media Stream addresses by way of session, and from CDN system by way of sessionObtain the ability of Media Stream.
S604, AS18 send 200 message to purpose terminal device 11, and purpose terminal device 11 receives 200 from AS18Message.
Wherein, 200 message are success response message, indicate that purpose terminal device 11 is successfully joined current live sessionIn, Media Stream addresses and authorization token are carried in 200 message, Media Stream addresses are that the Media Stream of live session is mapped in CDN systemAddress in system, authorization token is for authenticating and authenticating to user.In addition, AS18 can notify authorization token to give CDN systemSystem 15.
S605, purpose terminal device 11 are sent to CDN system 15 draws stream request, and CDN system 15, which receives, comes from purpose terminalThe drawing stream of equipment 11 is requested.
S606, CDN system 15 send the Media Stream of live session to purpose terminal device 11, and purpose terminal device 11 receivesThe Media Stream of live session from CDN system 15.
Wherein, the detailed process of S605 and S605 is referring to the description of Fig. 3 to Fig. 5, and details are not described herein again.
According to the description of Fig. 6, live session is added by the mark of live session in purpose terminal device of the embodiment of the present invention,Purpose terminal of the Media Stream addresses that purpose terminal device is notified according to AS to CDN system pull media stream, under reception patternEquipment is added in live session, is multiplexed the Media Stream of live session, reduces the occupancy to live streaming resource, can support that quantity is manyMore users.
It is a kind of another flow diagram of the communication means of live session provided in an embodiment of the present invention referring to Fig. 7,Framework of the embodiment of the present invention based on Fig. 1 b, which comprises
S701, MRF network element 17 sends the Media Stream of live session to CDN system 15, and CDN system 15, which receives, comes from MRF15Media Stream.
Wherein, referring to the description of Fig. 3 to Fig. 5, this is repeated no more the detailed process of S701.
S702, purpose terminal device send live streaming call request to control network element, and control network element, which receives, comes from purpose terminalThe live streaming call request of equipment.
Wherein, the detailed process of S702 is referring to the description of S502, and details are not described herein again.
S703, AS18 determine that purpose terminal device 11 supports live streaming ability but do not support connectionless live streaming ability.
Specifically, AS18 according to the media capability information that S702 is obtained determine purpose terminal device 11 support live streaming ability butConnectionless live streaming ability is not supported, such as: the field in live streaming call request in support header field is bc_call, indicates purpose11 support live streaming abilities of terminal device.In addition, AS18 determines that purpose terminal device 11 is supported directly according to media capability informationThe ability of stream is drawn from CDN system.Wherein, connectionless live streaming ability indicates that there is connectionless mode to obtain Media Stream addresses, withAnd the ability of Media Stream is obtained from CDN system in connectionless mode;Live streaming ability is indicated to have and be obtained by way of sessionMedia Stream addresses, and from the ability of CDN system acquisition Media Stream by way of session.
S704, AS send 200 message to purpose terminal device 11, and purpose terminal device 11 receives 200 disappearing from AS18Breath.
Wherein, AS18 carries Media Stream addresses, authorization token and duration in success response message (200 message),Duration indicates the effective time of live session, and the Media Stream of Media Stream addresses mark live session is mapped to CDN system 15In address, authorization token is for authenticating and authenticate to user.200 message indicate that purpose terminal device 11 is successfully joinedIn live session.
S705, purpose terminal device 11 are sent to CDN system 15 draws stream request, and CDN system 15, which receives, comes from purpose terminalThe drawing stream of equipment 11 is requested.
S706, CDN system 15 send the Media Stream of live session to purpose terminal device 11, and purpose terminal device 11 receivesThe Media Stream of live session from CDN system 15.
The detailed process of S706 and S707 is referring to the description of Fig. 3 to Fig. 5, and details are not described herein again.
According to the description of Fig. 7, application server is sent the Media Stream addresses of live session by way of establishing sessionPurpose terminal device is given, purpose terminal device passes through Media Stream of the Media Stream addresses from CDN system pull-up live session, realization pairThe multiplexing of already present live session does not need to establish new live session, reduces the consumption to resource, can support that quantity is manyMore terminal devices.
It is a kind of another flow diagram of the communication means of live session provided in an embodiment of the present invention referring to Fig. 8,Framework of the embodiment of the present invention based on Fig. 1 b, which comprises
S801, MRF network element 17 sends the Media Stream of live session to CDN system 15, and CDN system 15, which receives, comes from MRF netThe Media Stream of the live session of member 17.
Wherein, the Media Stream of current live session is pushed to CDN system 15 according to the instruction of AS18 by MRF17, currentlyIt include source terminal equipment 12 in established live session.The description of detailed process reference Fig. 3 to Fig. 5 of S801, herein no longerIt repeats.
S802, purpose terminal device 10 send live streaming call request to AS18, and AS18, which is received, comes from purpose terminal device 10Live streaming call request.
Wherein, live streaming call request is used to call source terminal equipment 12, such as: the called party identification in live streaming call requestFor the mark of source terminal equipment 12, call request is broadcast live and is used to for purpose terminal device 10 being added to 12 place of source terminal equipmentIn live session.Be broadcast live carried in call request the media capability information of purpose terminal device 10, source terminal equipment 12 mark,At least one of the mark of live session and network location information, network location information indicate purpose terminal device in imsPosition, such as: network location information includes PANI (private access network information, privately owned accessThe network information).It is connectionless that AS18 according to the media capability information of purpose terminal device 10 determines that purpose terminal device 10 is not supportedLive streaming ability does not support live streaming ability and does not support the ability for directly drawing stream from CDN system, i.e. purpose terminal device 10 does not prop upIt holds and obtains Media Stream addresses in the case where not establishing session, and do not support the energy directly from CDN system pull media streamPower needs to dispose a transfer gateway for purpose terminal device 10, substitutes purpose terminal device 10 from CDN system pull mediaStream, the transfer gateway are that AS18 and MRF17 is disposed in the mode that the position close to purpose terminal device 10 sinks in a distributed mannerEquipment.
S803, AS18 send deployment request to MEC16, and MEC16 receives the deployment request from AS18.
Wherein, the network location information that AS18 is got according to S802, into MEC16 close to the meter of purpose terminal device 10Operator node sends deployment request, hsrdware requirements information and functional information needed for carrying transfer gateway in deployment request, hardwareHardware parameter needed for demand information indicates transfer gateway, functional information indicate that transfer gateway realizes the letter of the software of correlation functionBreath.
Transfer gateway is disposed on S804, MEC16.
Specifically, MEC16 is virtualized according to the instruction of deployment request, a transfer gateway is disposed, transfer gateway canTo regard virtualization of function of the AS18 and MRF network element 17 on MEC16 as.
S805, MEC16 send deployment success message to AS18, and AS18 receives the deployment success message from MEC16.
Wherein, deployment success message indicates that MEC16 completes the deployment process to transfer gateway.
S806, AS18 send the drawing stream instruction message for carrying Media Stream addresses and authorization token, transition net to transfer gatewayIt closes and receives the drawing stream instruction message from AS18.
Wherein, stream instruction message is drawn to be used to indicate the transfer gateway disposed on MEC16 from CDN system pull media stream, matchmakerBody stream address indicates that the Media Stream of live session is mapped in the address in CDN system 15, and authorization token is for recognizing userCard and authentication.In addition, AS18 is also required to notify authorization token to CDN system 15.
S807, transfer gateway are sent to CDN system 15 draws stream request, and CDN system 15 receives the drawing stream from transfer gatewayRequest.
Wherein, draw stream request for drawing stream request with carrying the Media Stream of AS18 notice to 15 pull media stream of CDN systemLocation and authorization token.
S808, CDN system 15 send the Media Stream of live session to transfer gateway, and transfer gateway, which receives, comes from CDN systemThe Media Stream of 15 live session.
Wherein, CDN system 15 verifies authorization token, will be broadcast live after being verified according to the instruction of Media Stream addressesThe media stream of session is to transfer gateway.
S809, transfer gateway are sent to AS18 draws stream success message, and AS18 receives the drawing stream from transfer gateway and successfully disappearsBreath.
Wherein, draw in stream success message and carry port numbers: m=video port1, the port numbers are that transfer gateway push is straightThe port address of the Media Stream of session is broadcast, stream success message is drawn to indicate that transfer gateway success pulls live session from CDN system 15Media Stream.
S810, AS18 send 200 message to purpose terminal device 10.
Wherein, 200 message are success response message, indicate that purpose terminal device 10 is successfully joined where source terminal equipment 12Live session, carry port numbers in 200 message, which is the port of the Media Stream that transfer gateway pushes live sessionLocation.
S811, transfer gateway send the Media Stream of live session to purpose terminal device 10, and purpose terminal device 10 receivesThe Media Stream of live session from transfer gateway.
Wherein, by the forwarding media stream pulled from CDN system 15 to purpose terminal device 10, purpose terminal is set transfer gatewayThe standby port numbers obtained according to S810 receive the Media Stream from transfer gateway.
In embodiments of the present invention, when terminal device does not support CDN to draw the ability of stream, in the position close to terminal deviceTransfer gateway is disposed, carries out drawing stream from CDN system by transfer gateway, and by the media stream pulled to terminal device, in this wayTerminal device is supported to reduce the time delay that terminal device obtains Media Stream from CDN system pull media stream by transfer gateway.
It is a kind of another flow diagram of the communication means of live session provided in an embodiment of the present invention referring to Fig. 9,Framework of the embodiment of the present invention based on Fig. 1 b, which comprises
S901, MRF network element 17 sends the Media Stream of live session to CDN system 15, and CDN system 15, which receives, comes from MRF netThe Media Stream of member 17.
Wherein, the Media Stream of current live session is pushed to CDN system 15 according to the instruction of AS18 by MRF17, currentlyIt include source terminal equipment 12 in established live session.The description of detailed process reference Fig. 3 to Fig. 5 of S901, herein no longerIt repeats.
In a kind of possible embodiment, AS18 is interacted with MRF network element 17, obtains whether MRF network element 17 has broadcastAnd multicast capability, such as: fixed network IGMP (Internet Group Management Protocol, Internet Group Management Protocol)Or wireless MBMS (Multimedia Broadcast Multicast Service, multimedia broadcast multi-broadcasting business), control willThe live media port assignment of downlink is negotiating Media Stream addresses with the purpose terminal device of only reception pattern on multicast addressWhen use.
S902, purpose terminal device 10 send live streaming call request to AS18, and AS18, which is received, comes from purpose terminal device 10Live streaming call request.
Wherein, the detailed process of S902 is referring to the description of S802 in Fig. 8, and details are not described herein again.It is taken in live streaming call requestNetwork location information with purpose terminal device 10, such as: PANI.
S903, AS18 send 200 message to purpose terminal device 10, and purpose terminal device 10 receives 200 from AS18Message.
Wherein, 200 message are expressed as function response message, indicate that purpose terminal device 10 is successfully joined 12 institute of source terminal equipmentLive session in.Port numbers can be carried in 200 message, indicative purpose terminal device receives MRF network element according to the port numbersThe Media Stream of 17 live sessions sent.
S904, MRF network element 17 sends the Media Stream of live session to purpose terminal device 10, and purpose terminal device 10 receivesMedia Stream from MRF network element 17.
Wherein, purpose terminal device receives the live session from MRF network element 17 according to the port numbers carried in 200 messageMedia Stream greatly reduce then purpose terminal device 10 can quickly get the Media Stream of live session from MRF network element 17Terminal device 10 pulls the time delay of the Media Stream of live session.
S905, AS18 send deployment request to MEC16, and MEC16 receives the deployment request from AS18.
Wherein, AS18 according to live session request in the network location information that carries in the network location information that carries, toDeployment request is sent close to the calculate node of purpose terminal device 10 in MEC16, is carried needed for transfer gateway in deployment requestHsrdware requirements information and functional information.
Transfer gateway is disposed on S906, MEC16.
Wherein, MEC16 is virtualized according to the instruction of deployment request, disposes one in the container or virtual machine of virtualizationA transfer gateway, transfer gateway are the equipment that AS18 and MRC17 are disposed in a distributed way on MEC16.It is set in purpose terminalIt is standby not support that transfer gateway is used to replace purpose terminal device from CDN system directly in the case where the CDN system pull media streamPull media stream, and the Media Stream pulled is pushed to purpose terminal device.
S907, MEC16 send deployment success message to AS18, and AS18 receives the deployment success message from MEC16.
Wherein, deployment success message indicates to complete the deployment process of transfer gateway.
S908, AS18 send the drawing stream instruction message for carrying Media Stream addresses and authorization token, transition net to transfer gatewayIt closes and receives the drawing stream instruction message from AS18.
Wherein, stream instruction message is drawn to be used to indicate transfer gateway from 15 pull media stream of CDN system, media address indicates straightThe Media Stream for broadcasting session is mapped in address in CDN system 15, authorization token for user to be authenticated and is authorized, in addition,AS18 is also required to notify the authorization token of live session to CDN system 15.
S909, transfer gateway are sent to CDN system 15 draws stream request, and CDN system 15 receives the drawing stream from transfer gatewayRequest.
S910, CDN system 15 send the Media Stream of live session to transfer gateway, and transfer gateway, which receives, comes from CDN systemThe Media Stream of 15 live session.
S911, transfer gateway are sent to AS18 draws stream success message, and AS18 receives the drawing stream from transfer gateway and successfully disappearsBreath.
Wherein, it draws stream success message to indicate that transfer gateway success pulls the Media Stream to live session from CDN system 15, drawsPort numbers are carried in stream success message, which is the port address for the Media Stream that transfer gateway pushes live session.
S912, AS18 cut stream request to the transmission of purpose terminal device 10, and purpose terminal device 10 receives cutting from AS18Stream request.
Wherein, stream request is cut to be used to indicate terminal device 10 Media Stream from MRF network element 17 is switched to from CDN systemThe Media Stream of system 15 cuts the port numbers that the Media Stream of transfer gateway push live session is carried in stream request.
S913, transfer gateway send the Media Stream of live session to purpose terminal device 10, and purpose terminal device 10 receivesThe Media Stream of live session from transfer gateway.
In embodiments of the present invention, when terminal device does not support CDN to draw the ability of stream, in the position close to terminal deviceTransfer gateway is disposed, is pulled from CDN system to before Media Stream by transfer gateway success, is led to MRF network element and pushed to terminal deviceMedia Stream, when transfer gateway successfully pulls Media Stream, terminal device is switched to from transfer gateway and obtains Media Stream, such energyReduce the time delay of terminal device pull media stream.
It is a kind of flow diagram of the method for building up of live session provided in an embodiment of the present invention, at this referring to Figure 10Framework of the inventive embodiments based on Fig. 1 b, the establishment process of live session is suitable for the implementation of Fig. 2 to Fig. 9 in the embodiment of the present inventionExample, and executed before the embodiment of Fig. 2 to Fig. 9, which comprises
The resource status of S1001, AS18 acquisition MRF network element 17.
Wherein, AS18 is based on SIP or H.248 interface and MRF network element 17 executes resource management and negotiation functionality, determines MRFIt can be used for the resource status of interactive model and reception pattern on network element 17, such as: resource status includes remaining bandwidth, mutual dynamic modelThe resource of the resource of formula and reception pattern.The resource of interactive model is assigned to only the purpose terminal device of interactive model, only connectsThe resource of receipts mode is assigned to only the purpose terminal device of a reception pattern.
Illustratively, MRF network element 17 is to count remaining bandwidth according to network interface attribute and system configuration in initialization,Such as: remaining bandwidth 1Gbps;MRF network element 17 provides interface bandwidth, processor performance and memory etc. according to the measurement with configurationSource is divided into the resource of a reception pattern and the resource of interactive model, such as: the resource of reception pattern is bandwidth 300Mbps+30 road 1080P video processing capabilities.Wherein, the resource status of AUDIT order acquisition MRF network element 17 can be used in AS18.
S1002, purpose terminal device 13 send live streaming call request to AS18, and AS18, which is received, comes from purpose terminal device 13Live streaming call request.
Wherein, the communication pattern of purpose terminal device 13 can be interactive model or only reception pattern, and call request is broadcast liveFor call intent terminal device 12, the mark of purpose terminal device 12 can be carried by being broadcast live in call request.Call request is broadcast liveIn can also carry the media capability information of equipment 13 in purpose, media capability information includes connectionless live streaming ability and live streaming energyPower, connectionless live streaming ability, which indicates to have, obtains Media Stream addresses by connectionless-mode, and direct according to Media Stream addressesFrom the ability of CDN system pull media stream.The expression of live streaming ability obtains Media Stream addresses, Yi Jitong by way of establishing sessionThe mode of session is crossed from the mode of CDN system pull media stream.
S1003, AS18 determine the communication pattern of purpose terminal device 13.
Wherein, AS18 can determine the communication mould of purpose terminal device 13 according to information such as group, address list, call authoritiesFormula.Such as: in the group service or address book service of source terminal equipment 12, increase the communication pattern for indicating each terminal devicePolicy data.
In a kind of possible embodiment, AS18 determines purpose terminal according to the corresponding idling-resource size of live broadcast serviceThe communication pattern of equipment 13.
For example, AS18 obtains the corresponding idling-resource size of live broadcast service on MRF17, in the live broadcast service corresponding free timeWhen resource size is greater than preset value, interactive model is set by the communication pattern of purpose terminal device, otherwise sets purpose terminalStandby communication pattern is set as a reception pattern.Wherein, preset value can be configured as needed, and embodiment is not with no restriction.
In alternatively possible embodiment, AS18 indicates to determine according to the communication pattern from purpose terminal device 13The communication pattern of purpose terminal device 13.
Such as: communication pattern is carried in the live streaming call request that purpose terminal device 13 is sent indicates information, communication patternIndicate that information is used to indicate the communication pattern of purpose terminal device 13, it is assumed that when communication pattern indicates that information is " 1 ", indicate meshThe communication pattern of terminal device 13 be interactive model, when communication pattern indicates that information is " 0 ", indicate purpose terminal device 13Communication pattern is a reception pattern.
In alternatively possible embodiment, AS18 is according to group service data, address book service data, call authorityBusiness datum or signing information determine the communication pattern of purpose terminal device 13.
Such as: instruction is specified in group service data, address book service data, call authority business datum or signing informationThe communication pattern of one purpose terminal device is interactive model, and the communication pattern of remaining purpose terminal device is a reception pattern.
In alternatively possible embodiment, AS18 according to call time, calling place, region, in user name extremelyA kind of communication pattern of few determining purpose terminal device 18.
Such as: the communication pattern for the purpose terminal device that live session is added in preset duration after live session creation is setInteractive model is set, sets the communication pattern of purpose terminal device otherwise as live-mode.
Another example is: the communication pattern of purpose terminal device is arranged when the geographical location where purpose terminal device is urban districtFor interactive model;Purpose terminal device element address location be suburb when, setting purpose terminal device communication pattern be onlyReception pattern.
It is appreciated that the settable multiple rules of AS18 are arranged the communication pattern of purpose terminal device, multiple rules can be withIt is call time, the one or more combinations for calling place, region and user name.
In alternatively possible embodiment, AS18 can also be according to the identity of purpose terminal device or live sessionMultiplexing number carrys out the communication pattern of configuration purpose terminal device.
Such as: when the identity of purpose terminal device is signed up as " relay center " or " call center ", which is setThe communication pattern of equipment is interactive model;Otherwise the communication pattern that the purpose terminal device is arranged is a reception pattern.
Another example is: the multiplexing number of live session indicates the quantity of purpose terminal device in live session, in live sessionMultiplexing number be greater than preset quantity when, set a reception pattern for the communication pattern of purpose terminal device;In live sessionMultiplexing number be not more than preset quantity when, set interactive model for the communication pattern of purpose terminal device.
S1004, AS18 indicate that MRF network element 17 acquires the Media Stream of live session.
Specifically, MRF network element 17 from source terminal equipment 12 acquire live session Media Stream, Media Stream include audio stream orVideo flowing.
S1005, AS18 allocation medium resource.
Wherein, AS18 is live session allocation medium resource, and media resource includes but is not limited to bandwidth resources, cpu resourceAt least one of with memory source.
S1006, AS18 and source terminal equipment 12 mutually send out 200 message.
Wherein, 200 message are expressed as function and establish live session.
S1007, AS18 and purpose terminal device 13 mutually send out 200 message.
Wherein, 200 message are expressed as function and establish live session.
S1008, MRF network element 17 sends the Media Stream of live session to source terminal equipment 12.
S1009, MRF network element 17 sends the Media Stream of live session to purpose terminal device.
S1010, AS18 determination need to distribute Media Stream by CDN system.
Wherein, in order to meet the delay requirement of live broadcast service, equal connecing of being in communication with each other of extension between AS18 and CDN system 15Mouthful, AS18 indicates that CDN system distributes the Media Stream of live session by the interface of extension, reduces terminal device and obtains Media StreamTime delay.
The plug-flow request that S1011, AS18 are sent to CDN system 15, CDN system 15 receive the plug-flow request from AS18.
Wherein, Media Stream of the plug-flow request for requesting to push live session to CDN system 15.
S1012, CDN system 15 send CDN response to AS18, and AS18 receives the CDN response from CDN system 15.
Wherein, the Media Stream addresses of live session are carried in CDN response, Media Stream addresses are that the Media Stream of live session reflectsPenetrate the address in CDN system 15.
S1013, AS18 send Media Stream addresses to MRF network element 17, and MRF network element 17 is with receiving the Media Stream from AS18Location.
S1014, MRF network element 17 carries out coded format conversion to the Media Stream of live session.
Wherein, when MRF network element 17 identifies that the coded format of the Media Stream of live session is unsatisfactory for the requirement of CDN system 15,It formats.
The Media Stream of live session is pushed to CDN system 15 by S1015, MRF network element 17.
It is a kind of flow diagram of the communication means of live streaming provided in an embodiment of the present invention referring to Figure 11, the present invention is realThe process of example is applied based on the framework of Fig. 1 c, the embodiment of the present invention includes but be not limited to following steps:
S1101, purpose terminal device 12 send live streaming call request to SBC14, and SBC14, which is received, comes from purpose terminal device12 live streaming call request.
Wherein, purpose terminal device 12 is located at the compass of competency 1 of SBC14, and live streaming call request is set for calling source terminalStandby 13, the mark of source terminal equipment can be carried by being broadcast live in call request, such as: the mark of source terminal equipment include telephone number,The other identifiers such as SIP number or IMSI.SBC14 determines the corresponding SBC16 of source terminal equipment, and the compass of competency 2 of SBC16 includes sourceTerminal device.
S1102, SBC14 send live streaming call request to SBC16, and SBC16 receives the live streaming call request from SBC14.
S1103, SBC16 will be broadcast live call request and be transmitted to source terminal equipment, and source terminal equipment is received from the straight of SBC16Broadcast call request.
S1104, source terminal equipment send 200 message to SBC16, and SBC16 receives 200 message from source terminal equipment.
Wherein, 200 message are session success response message, i.e. purpose terminal device 12 is successfully established live session.
S1105, SBC16 send 200 message to SBC14, and SBC14 receives 200 message from SBC16.
Wherein, 200 message are expressed as function response message, i.e. purpose terminal device 12 is successfully established live session
S1106, SBC14 send 200 message to purpose terminal device 1102, and the reception of purpose terminal device 1102 comes from200 message of SBC1104.
Wherein, live session is successfully established, and live session includes purpose terminal device 1102 and source terminal equipment, MRF netMember acquires the Media Stream of live session from the terminal device of source terminal equipment and interactive model.
S1107, source terminal equipment, which receive the media stream of live session to SBC16, SBC16, comes from source terminal equipmentMedia Stream.
Wherein, the Media Stream of the push live session of source terminal equipment is to SBC16, it should be noted that if live streaming meetingThe communication pattern of purpose terminal device 1102 in words is interactive model, the source packet of the Media Stream of the live session of SBC acquisitionInclude source terminal equipment and purpose terminal device.
S1108, SBC16 send Media Stream to SBC14, and SBC14 receives the Media Stream from SBC16.
S1109, SBC14 send Media Stream to purpose terminal device.
S1110, purpose terminal device 1101 send live streaming call request to SBC14, and SBC14 is received to be set from purpose terminalStandby live streaming call request.
Wherein, in the compass of competency of SBC14, live streaming call request is set purpose terminal device 1101 for calling source terminalIt is standby, live session is established, the mark of source terminal equipment and/or the mark of live session can be carried by being broadcast live in call request, andMedia capability information.
S1111, SBC14 send live streaming call request to SBC16, and SBC16 receives the live streaming call request from SBC14.
Wherein, live streaming call request user calls the called party identification in source terminal equipment 13, such as live streaming call requestFor the mark of source terminal equipment 13.
S1112, SBC16 send plug-flow request to the central node of CDN system, and the central node reception of CDN system comes fromThe plug-flow of CDN system is requested.
Wherein, live session, the mark or live streaming that SBC16 is set according to source terminal are pre-established with by purpose terminal device 12The mark of session judges that live session has existed, and does not need to re-establish new live session again, SBC16 sets purpose terminalStandby 11 are added in the live session pre-established.SBC16 obtains the multiplexing number of live session, and multiplexing number indicates live streaming meetingThe quantity of purpose terminal device in words sends plug-flow to the central node of CDN system and asks if multiplexing number is greater than preset quantityIt asks, to mitigate the pressure of SBC distribution Media Stream.
It is understood that discharging live session, release live streaming when SBC16 determines that the multiplexing number of live session is equal to 0The process of session includes: whether the resource that live session occupies, and sends conversation end message to source terminal equipment 13, instruction source is wholeEnd equipment 13 exits live session.
S1113, SBC16 send the Media Stream of live session, the central node of CDN system to the central node of CDN systemReceive the Media Stream of the live session from SBC16.
S1214, CDN system central node to SBC16 send response message, SBC16 receive the response from CDN systemMessage.
Wherein, the Media Stream addresses of live session are carried in response message, the Media Stream addresses of the live session are live streamingThe Media Stream of session is mapped in the address in CDN system, such as: it is mapped in the address in central node.
S1115, SBC16 send 200 message to SBC14, and SBC14 receives 200 message from SBC16.
Wherein, 200 message are success response message, indicate that purpose terminal device 11 is successfully joined in live session, 200The Media Stream addresses of live session are carried in message.
S1116, SBC14 are sent to the fringe node of CDN system draws stream request, and the fringe node reception of CDN system comes fromThe drawing stream of SBC14 is requested.
Wherein, it draws stream to request the Media Stream for pulling live session to CDN system, draws in stream request and carry live sessionMedia Stream addresses.
S1117, CDN system fringe node to the central node of CDN system send draw stream request, the center of CDN systemNode receives the drawing stream request of the fringe node from CDN system.
Wherein, the Media Stream addresses for carrying live session in stream request are drawn, draw stream request for requesting CDN system according to matchmakerThe Media Stream of body stream address push live session.
S1118, CDN system central node to the fringe node of CDN system send Media Stream, the edge section of CDN systemPoint receives the Media Stream that the central node from CDN system is sent.
S1119, CDN system fringe node to SBC14 send Media Stream, SBC14 receive the edge section from CDN systemThe Media Stream of point.
S1120, SBC14 send 200 message to purpose terminal device 11, and purpose terminal device 11 is received from SBC14's200 message.
Wherein, in the case that SBC14 success pulls the Media Stream to live session from CDN system, to purpose terminal device11 send 200 message for carrying port numbers, which indicates the port address of the Media Stream of SBC14 push live session.
S1121, SBC14 send Media Stream to purpose terminal device 11, and purpose terminal device 11 receives the matchmaker from SBC14Body stream.
Wherein, purpose terminal device 11 receives the Media Stream of the live session from SBC14 according to port numbers.
In embodiments of the present invention, when terminal device does not support CDN to draw the ability of stream, in the position close to terminal deviceSBC carry out drawing stream from CDN system by the SBC as transfer gateway, and by the media stream pulled to terminal device, thisSample terminal device is supported to reduce the time delay that terminal device obtains Media Stream from CDN system pull media stream by corresponding SBC.
It is above-mentioned to illustrate the method for the embodiment of the present invention, the device of the embodiment of the present invention is provided below.
2, Figure 12 is a kind of structural schematic diagram of device provided in an embodiment of the present invention referring to Figure 1, which is applicationServer, the application server may include receiving unit 1201, processing unit 1202 and transmission unit 1203, wherein eachUnit is described in detail as follows.
Processing unit 1202 is used to indicate media resource function network element according to by the Media Stream of live session and is pushed to contentDistribution network CDN system;
Receiving unit 1201, for receiving the Media Stream addresses from the CDN system;Wherein, the Media Stream addressesThe address in the CDN system is mapped in for the Media Stream of the live session;
Transmission unit 1203, for the Media Stream addresses to be sent to purpose terminal device;Wherein, the purpose terminalThe communication pattern of equipment is a reception pattern.
Optionally, transmission unit 1203, for the Media Stream addresses to be sent to purpose terminal device, specifically:
Indicate that receiving unit 1201 receives the live streaming call request from the source terminal equipment being located in the live session;Wherein, the live streaming call request is for calling the purpose terminal device;
Indicate that processing unit 1202 obtains the media capability information of the purpose terminal device;
If processing unit 1202 determines that the purpose terminal device supports connectionless live streaming according to the media capability informationAbility,
The redirection message for the live streaming call request is sent to the source terminal equipment, and whole to the purposeEnd equipment sends the message message for carrying the Media Stream addresses and authorization token.
Optionally, transmission unit 1203, for the Media Stream addresses to be sent to purpose terminal device, specifically:
Indicate that receiving unit 1201 receives the live streaming call request from the purpose terminal device;Wherein, the live streamingCall request is used to call the source terminal equipment in the live session;
Indicate that processing unit 1202 obtains the media capability information of the purpose terminal device;
If processing unit 1202 determines that the purpose terminal device supports connectionless live streaming according to the media capability informationAbility, Xiang Suoshu purpose terminal device send the redirection message for the live streaming call request;Wherein, the redirection disappearsBreath carries the Media Stream addresses and authorization token.
Optionally, transmission unit 1203, for the Media Stream addresses to be sent to purpose terminal device, specifically:
Indicate that receiving unit 1201 receives the live streaming call request from the purpose terminal device;Wherein, the live streamingCall request is used to call the source terminal equipment in the live session;
The redirection message for the live streaming call request is sent to the purpose terminal device;
Indicate that processing unit 1202 obtains the media capability information of the purpose terminal device;
If processing unit 1202 determines that the purpose terminal device supports connectionless live streaming according to the media capability informationAbility, Xiang Suoshu purpose terminal device send the message message for carrying the Media Stream addresses and authorization token.
Optionally, transmission unit 1203, for the Media Stream addresses to be sent to purpose terminal device, specifically:
Indicate that receiving unit 1201 receives the live streaming call request from the purpose terminal device;Wherein, the live streamingCall request is used to call the source terminal equipment in the live session, and the live streaming call request carries the live sessionMark;
Indicate that processing unit 1202 obtains the media capability information of the purpose terminal device;
If it is connectionless straight that processing unit 1202 according to the media capability information determines that the purpose terminal device is not supportedAbility is broadcast, Xiang Suoshu purpose terminal device sends the success response message for carrying the Media Stream addresses and authorization token.
Optionally, the Media Stream addresses are sent to purpose terminal device by transmission unit 1203, specifically:
Indicate that receiving unit 1201 receives the live streaming call request from the purpose terminal device;Wherein, the live streamingCall request is used to call the source terminal equipment in the live session;
Indicate that processing unit 1202 obtains the media capability information of the purpose terminal device;
If it is connectionless straight that processing unit 1202 according to the media capability information determines that the purpose terminal device is not supportedAbility is broadcast, Xiang Suoshu purpose terminal device sends the success response message for carrying the Media Stream addresses and authorization token.
Optionally, processing unit 1202 obtains the media capability information of the purpose terminal device, specifically:
The processing unit obtains the purpose terminal during purpose terminal device initiates registration or callingThe media capability information of equipment.
Optionally, processing unit 1202 are also used to:
The communication pattern of the purpose terminal device is determined according to the corresponding idling-resource size of live broadcast service;Or
The communication of the purpose terminal device is determined according to the communication pattern instruction information from the purpose terminal deviceMode;Or
The mesh is determined according to group service data, address book service data, call authority business datum or signing informationTerminal device communication pattern;Or
The logical of the purpose terminal device is determined according at least one of call time, calling place, region, user nameLetter mode;Or
The purpose terminal is determined according to the multiplexing number of the identity information of purpose terminal device and/or the live sessionThe communication pattern of equipment.
Optionally, receiving unit 1201 are also used to receive the communication pattern switching request from the purpose terminal device;Wherein, the communication pattern switching request carries authorization token;
Processing unit 1202, be also used to verify the authorization token it is legal after, by the communication mould of the purpose terminal deviceFormula switches over.
It should be noted that the realization process and beneficial effect of each unit can also be to should refer to shown in Fig. 2 to Fig. 7Embodiment of the method corresponding description, details are not described herein again.
3, Figure 13 is a kind of structural schematic diagram of device provided in an embodiment of the present invention referring to Figure 1, which is applicationServer, application server include processor 1301, memory 1302, receiver 1303 and transmitter 1304, the processor1301, memory 1302, receiver 1303 and transmitter 1304 are connected with each other by bus.
Memory 1302 include but is not limited to be random access memory (Random Access Memory, RAM), it is read-onlyMemory (Read-Only Memory, ROM), Erasable Programmable Read Only Memory EPROM (Erasable ProgrammableRead Only Memory) or portable read-only memory (Compact Disc Read-Only Memory, CD-ROM),The memory 1302 is used for dependent instruction and data.Transceiver 1303 is for sending and receiving data.
Processor 1301 can be one or more central processing units (Central Processing Unit, CPU),In the case that processor 1301 is a CPU, which can be monokaryon CPU, be also possible to multi-core CPU.
Processor 1301 in the application server is executed for reading the program code stored in the memory 1302Corresponding operation.
Processor 1301 is used to indicate media resource function network element according to by the Media Stream of live session and is pushed to content pointHairnet network CDN system;
Receiver 1303, for receiving the Media Stream addresses from the CDN system;Wherein, the Media Stream addresses areThe Media Stream of the live session is mapped in the address in the CDN system;
Transmitter 1304, for the Media Stream addresses to be sent to purpose terminal device;Wherein, the purpose terminal is setStandby communication pattern is a reception pattern.
Optionally, transmitter 1303, for the Media Stream addresses to be sent to purpose terminal device, specifically:
Indicate that receiver 1301 receives the live streaming call request from the source terminal equipment being located in the live session;ItsIn, the live streaming call request is for calling the purpose terminal device;
Indicate that processor 1302 obtains the media capability information of the purpose terminal device;
If processor 1302 determines that the purpose terminal device supports connectionless live streaming energy according to the media capability informationPower,
The redirection message for the live streaming call request is sent to the source terminal equipment, and whole to the purposeEnd equipment sends the message message for carrying the Media Stream addresses and authorization token.
Optionally, transmitter 1303, for the Media Stream addresses to be sent to purpose terminal device, specifically:
Indicate that receiver 1301 receives the live streaming call request from the purpose terminal device;Wherein, the live streaming is exhaledCry request for calling the source terminal equipment in the live session;
Indicate that processor 1302 obtains the media capability information of the purpose terminal device;
If processor 1302 determines that the purpose terminal device supports connectionless live streaming energy according to the media capability informationPower, Xiang Suoshu purpose terminal device send the redirection message for the live streaming call request;Wherein, the redirection messageCarry the Media Stream addresses and authorization token.
Optionally, transmitter 1303, for the Media Stream addresses to be sent to purpose terminal device, specifically:
Indicate that receiver 1301 receives the live streaming call request from the purpose terminal device;Wherein, the live streaming is exhaledCry request for calling the source terminal equipment in the live session;
The redirection message for the live streaming call request is sent to the purpose terminal device;
Indicate that processor 1302 obtains the media capability information of the purpose terminal device;
If processor 1302 determines that the purpose terminal device supports connectionless live streaming energy according to the media capability informationPower, Xiang Suoshu purpose terminal device send the message message for carrying the Media Stream addresses and authorization token.
Optionally, transmitter 1303, for the Media Stream addresses to be sent to purpose terminal device, specifically:
Indicate that receiver 1301 receives the live streaming call request from the purpose terminal device;Wherein, the live streaming is exhaledRequest is made to carry the mark of the live session for calling the source terminal equipment in the live session, the live streaming call requestKnow;
Indicate that processor 1302 obtains the media capability information of the purpose terminal device;
If processor 1302 determines that the purpose terminal device does not support connectionless live streaming according to the media capability informationAbility, Xiang Suoshu purpose terminal device send the success response message for carrying the Media Stream addresses and authorization token.
Optionally, the Media Stream addresses are sent to purpose terminal device by transmitter 1303, specifically:
Indicate that receiver 1301 receives the live streaming call request from the purpose terminal device;Wherein, the live streaming is exhaledCry request for calling the source terminal equipment in the live session;
Indicate that processor 1302 obtains the media capability information of the purpose terminal device;
If processor 1302 determines that the purpose terminal device does not support connectionless live streaming according to the media capability informationAbility, Xiang Suoshu purpose terminal device send the success response message for carrying the Media Stream addresses and authorization token.
Optionally, processor 1302 obtains the media capability information of the purpose terminal device, specifically:
The processor obtains the purpose terminal during purpose terminal device initiates registration or calling and setsStandby media capability information.
Optionally, processor 1302 are also used to:
The communication pattern of the purpose terminal device is determined according to the corresponding idling-resource size of live broadcast service;Or
The communication of the purpose terminal device is determined according to the communication pattern instruction information from the purpose terminal deviceMode;Or
The mesh is determined according to group service data, address book service data, call authority business datum or signing informationTerminal device communication pattern;Or
The logical of the purpose terminal device is determined according at least one of call time, calling place, region, user nameLetter mode;Or
The purpose terminal is determined according to the multiplexing number of the identity information of purpose terminal device and/or the live sessionThe communication pattern of equipment.
Optionally, receiver 1301 are also used to receive the communication pattern switching request from the purpose terminal device;ItsIn, the communication pattern switching request carries authorization token;
Processor 1302, be also used to verify the authorization token it is legal after, by the communication pattern of the purpose terminal deviceIt switches over.
It should be noted that realizing for each operation can also be to should refer to phase of the Fig. 2 to embodiment of the method shown in Fig. 7It should describe.
In the application server described in Figure 13, the Media Stream of live session is pushed to CDN system by AS, subsequent to have endWhen live session is added in end equipment, the Media Stream of live session is mapped to the Media Stream addresses in CDN system and is notified to terminalEquipment, terminal device is according to Media Stream addresses from CDN system pull media stream, and thus the application can support that live scene downlink is extra largeThe user of amount avoids the problem that the framework overload in the prior art centered on AS.In addition, for terminal side, eventuallyEnd can be directly added in live session by way of calling, be avoided in the prior art through APP (application, applicationSoftware) it is broadcast live, it does not need the difficulty for reducing exploitation for different types of terminal adaptation APP and reduces Signalling exchangeComplexity.
2, Figure 12 can indicate that a kind of structural schematic diagram of device, device are media resource function management again referring to Figure 1Network element, the media resource function network element may include receiving unit 1201, processing unit 1202 and transmission unit 1203, whereinEach unit is described in detail as follows.
Receiving unit 1201, for receiving the plug-flow instruction message from application server;Wherein, the plug-flow instruction disappearsBreath carries the mark of live session;
Processing unit 1202 obtains the Media Stream of the live session for the mark according to the live session, andObtain the associated CDN system of mark with the live session;
Transmission unit 1203, for the Media Stream of the live session to be pushed to the CDN system.
Optionally, transmission unit 1203, for the Media Stream of the live session to be pushed to the CDN system, specificallyAre as follows:
Indicate that processing unit 1202 identifies whether the Media Stream of the live session meets the coding that the CDN system is supportedFormat;
If it has not, instruction processing unit 1202 is formatted according to the coded format that the CDN system is supported, according toThe Media Stream of the live session after the Media Stream addresses convert format is pushed to the CDN system.
It should be noted that realizing for each unit can also be to should refer to phase of the Fig. 2 to embodiment of the method shown in Fig. 7It should describe.
3, Figure 13 can indicate that a kind of structural schematic diagram of device, the device are media resource function net again referring to Figure 1Member, media resource function network element include processor 1301, memory 1302, receiver 1303 and transmitter 1304, the processingDevice 1301, memory 1302, receiver 1303 and transmitter 1304 are connected with each other by bus.
Memory 1302 include but is not limited to be random access memory (Random Access Memory, RAM), it is read-onlyMemory (Read-Only Memory, ROM), Erasable Programmable Read Only Memory EPROM (Erasable ProgrammableRead Only Memory, EPROM) or portable read-only memory (Compact Disc Read-Only Memory, CD-ROM), which is used for dependent instruction and data.Transceiver 1303 is for sending and receiving data.
Processor 1301 can be one or more central processing units (Central Processing Unit, CPU),In the case that processor 1301 is a CPU, which can be monokaryon CPU, be also possible to multi-core CPU.
Processor 1301 in the media resource function network element is for reading the program generation stored in the memory 1302Code executes corresponding operation.
Receiver 1303, for receiving the plug-flow instruction message from application server;Wherein, the plug-flow instruction messageCarry the mark of live session;
Processor 1301, the Media Stream of the live session is obtained for the mark according to the live session, and is obtainedIt takes and the associated CDN system of the mark of the live session;
Transmitter 1304, for the Media Stream of the live session to be pushed to the CDN system.
Optionally, transmitter 1303, for the Media Stream of the live session to be pushed to the CDN system, specifically:
Indicate that processor 1301 identifies whether the Media Stream of the live session meets the coding lattice that the CDN system is supportedFormula;
If it has not, instruction processor 1301 is formatted according to the coded format that the CDN system is supported, according to instituteThe Media Stream for stating the live session after Media Stream addresses convert format is pushed to the CDN system.
It should be noted that realizing for each operation can also be to should refer to phase of the Fig. 2 to embodiment of the method shown in Fig. 7It should describe.
2, Figure 12 can indicate that a kind of structural schematic diagram of device, the device are purpose terminal device again referring to Figure 1, shouldPurpose terminal device may include receiving unit 1201, processing unit 1202 and transmission unit 1203, wherein each unit it is detailedCarefully it is described as follows.
Processing unit 1202, for obtaining the Media Stream addresses of live session;Wherein, the Media Stream addresses are described straightThe Media Stream for broadcasting session is mapped in address in CDN system;
Transmission unit 1203, for sending the drawing stream request for carrying the Media Stream addresses to the CDN system;
Receiving unit 1201, for receive from the CDN system sent according to the Media Stream addresses it is described straightBroadcast the Media Stream of session.
Optionally, transmission unit 1203 are also used to
Live streaming call request is sent to application server;Wherein, the live streaming call request is for calling the live streaming meetingSource terminal equipment in words carries the mark of the live session, the mark of the source terminal equipment in the live streaming call requestAt least one of knowledge and media capability information.
Optionally, processing unit 1202, the Media Stream for obtaining live session is with being mapped to the Media Stream in CDN systemLocation, specifically:
When the purpose terminal device supports connectionless live streaming ability, instruction receiving unit 1201, which receives, carrys out self-application clothesThe message message of the carrying Media Stream addresses and authorization token of business device;Or
Indicate that transmission unit 1203 sends live streaming call request to application server;Wherein, the live streaming call request is takenMedia capability information with the purpose terminal device, the media capability information indicate that the purpose terminal device is supported without evenConnect live streaming ability;
Indicate that receiving unit 1201 receives the redirection for the live streaming call request from the application serverMessage;Wherein, the Media Stream addresses and authorization token for redirecting message and carrying the live session;Or
Indicate that transmission unit 1203 sends live streaming call request to the application server;Wherein, the live streaming calling is askedThe media capability information for carrying the purpose terminal device is sought, the media capability information indicates that the purpose terminal device is supportedConnectionless live streaming ability;
Indicate that receiving unit 1201 receives the redirection for the live streaming call request from the application serverMessage;
Indicate that receiving unit 1201 receives the Media Stream addresses of the carrying live session from application server and awardsWeigh the message message of voucher;Or
Indicate that transmission unit 1203 sends live streaming call request to the application server;Wherein, the live streaming calling is askedIt asks and carries the mark of the live session and the media capability information of the purpose terminal device, the media capability information indicatesThe purpose terminal device does not support connectionless live streaming ability;
Indicate that receiving unit 1201 receives the Media Stream addresses of the carrying live session from the application serverWith the success response message of authorization token;Or
Indicate that transmission unit 1203 sends live streaming call request to the application server;Wherein, the live streaming calling is askedIt asks for calling the source terminal equipment in the live session, the live streaming call request carries the matchmaker of the purpose terminal devicePhysical efficiency force information, the media capability information indicate that the purpose terminal device does not support connectionless live streaming ability;
Indicate that receiving unit 1201 receives the Media Stream addresses of the carrying live session from the application serverWith the success response message of authorization token.
Optionally, transmission unit 1203 are also used to send communication pattern switching request to application server;Wherein, describedCommunication pattern switching request carries the authorization token of the live session;
Receiving unit 1201 is also used to receive the communication pattern handoff response from application server.
It should be noted that realizing for each unit can also be to should refer to phase of the Fig. 2 to embodiment of the method shown in Fig. 7It should describe.
3, Figure 13 can indicate that a kind of structural schematic diagram of device, the device are purpose terminal device, mesh again referring to Figure 1Terminal device include processor 1301, memory 1302, receiver 1303 and transmitter 1304, the processor 1301 is depositedReservoir 1302, receiver 1303 and transmitter 1304 are connected with each other by bus.
Memory 1302 include but is not limited to be random access memory (Random Access Memory, RAM), it is read-onlyMemory (Read-Only Memory, ROM), Erasable Programmable Read Only Memory EPROM (Erasable ProgrammableRead Only Memory, EPROM) or portable read-only memory (Compact Disc Read-Only Memory, CD-ROM), which is used for dependent instruction and data.Transceiver 1303 is for sending and receiving data.
Processor 1201, for obtaining the Media Stream addresses of live session;Wherein, the Media Stream addresses are the live streamingThe Media Stream of session is mapped in the address in CDN system;
Transmitter 1204, for sending the drawing stream request for carrying the Media Stream addresses to the CDN system;
Receiver 1203, for receiving the live streaming sent according to the Media Stream addresses from the CDN systemThe Media Stream of session.
Optionally, transmitter 1204 are also used to
Live streaming call request is sent to application server;Wherein, the live streaming call request is for calling the live streaming meetingSource terminal equipment in words carries the mark of the live session, the mark of the source terminal equipment in the live streaming call requestAt least one of knowledge and media capability information.
Optionally, processor 1201, the Media Stream for obtaining live session is with being mapped to the Media Stream in CDN systemLocation, specifically:
When the purpose terminal device supports connectionless live streaming ability, instruction receiver 1303, which receives, comes from application serviceThe message message of the carrying Media Stream addresses and authorization token of device;Or
Indicator -transmitter 1304 sends live streaming call request to application server;Wherein, the live streaming call request carriesThe media capability information of the purpose terminal device, it is connectionless that the media capability information indicates that the purpose terminal device is supportedLive streaming ability;
Indicate that receiver 1303 receives the redirection for the live streaming call request from the application server and disappearsBreath;Wherein, the Media Stream addresses and authorization token for redirecting message and carrying the live session;Or
Indicator -transmitter 1304 sends live streaming call request to the application server;Wherein, the live streaming call requestThe media capability information of the purpose terminal device is carried, the media capability information indicates that the purpose terminal device supports nothingConnect live streaming ability;
Indicate that receiver 1303 receives the redirection for the live streaming call request from the application server and disappearsBreath;
Indicate that receiver 1303 receives Media Stream addresses and the authorization of the carrying live session from application serverThe message message of voucher;Or
Indicator -transmitter 1304 sends live streaming call request to the application server;Wherein, the live streaming call requestThe mark of the live session and the media capability information of the purpose terminal device are carried, the media capability information indicates instituteIt states purpose terminal device and does not support connectionless live streaming ability;
Indicate receiver 1303 receive the carrying live session from the application server Media Stream addresses andThe success response message of authorization token;Or
Indicator -transmitter 1304 sends live streaming call request to the application server;Wherein, the live streaming call requestFor calling the source terminal equipment in the live session, the live streaming call request carries the media of the purpose terminal deviceAbility information, the media capability information indicate that the purpose terminal device does not support connectionless live streaming ability;
Indicate receiver 1303 receive the carrying live session from the application server Media Stream addresses andThe success response message of authorization token.
Optionally, transmitter 1304 are also used to send communication pattern switching request to application server;Wherein, described logicalLetter mode switch request carries the authorization token of the live session;
Receiver 1303 is also used to receive the communication pattern handoff response from application server.
It should be noted that realizing for each operation can also be to should refer to phase of the Fig. 2 to embodiment of the method shown in Fig. 7It should describe.
2, Figure 12 can indicate that a kind of structural schematic diagram of device, the device are application server, application again referring to Figure 1Server may include receiving unit 1201, processing unit 1202 and transmission unit 1203, wherein the detailed description of each unitIt is as follows.
Processing unit 1202, for obtaining the Media Stream addresses of live session;Wherein, the Media Stream of the live sessionLocation is that the Media Stream of the live session is mapped to the address in the CDN system;
Receiving unit 1201, for receiving the live streaming call request from purpose terminal device;Wherein, the live streaming callingRequest carries the network location information and media capability information of the purpose terminal device;
Transmission unit 1203, if determining that the purpose terminal is set according to the media capability information for the processing unitStandby not support connectionless live streaming ability, the associated transfer gateway of Xiang Suoshu network location information, which is sent, carries the live sessionThe drawing stream instruction message of Media Stream addresses.
Optionally, the transmission unit 1203 is also used to send deployment request to the transfer gateway;
The receiving unit 1201 is also used to receive the deployment from the transfer gateway and completes message.
Optionally, the receiving unit is also used to receive the drawing stream success message from transfer gateway;Wherein, the drawingStream success message indicates that the transfer gateway success pulls the Media Stream to the live session, the drawing from the CDN systemIt flows success message and carries port numbers;
The transmission unit is also used to send the success response for carrying the port numbers to the purpose terminal device and disappearsBreath.
Optionally, the transmission unit is also used to send success response message to the purpose terminal device;
The processing unit is also used to indicate that media resource function network element pushes the live streaming to the purpose terminal deviceThe Media Stream of session.
Optionally, the receiving unit is also used to receive the drawing stream success message from transfer gateway;Wherein, draw stream atFunction message indicates that transfer gateway success pulls the Media Stream to the live session from CDN system, and the drawing stream success message is takenBand edge slogan;
The transmission unit is also used to send the Media Stream handover request for carrying the port numbers to purpose terminal device;Wherein, the Media Stream handover request carries the port numbers, and the Media Stream handover request is used to indicate the purpose terminalEquipment receives the Media Stream from the transfer gateway according to port numbers.
It should be noted that the realization of each unit can also be to the phase that should refer to Fig. 8 and embodiment of the method shown in Fig. 9It should describe.
3, Figure 13 can indicate that a kind of structural schematic diagram of device, the device are application server, application again referring to Figure 1Server purpose terminal device includes processor 1301, memory 1302, receiver 1303 and transmitter 1304, the processor1301, memory 1302, receiver 1303 and transmitter 1304 are connected with each other by bus.
Memory 1302 include but is not limited to be random access memory (Random Access Memory, RAM), it is read-onlyMemory (Read-Only Memory, ROM), Erasable Programmable Read Only Memory EPROM (Erasable ProgrammableRead Only Memory, EPROM) or portable read-only memory (Compact Disc Read-Only Memory, CD-ROM), which is used for dependent instruction and data.Transceiver 1303 is for sending and receiving data.
Processor 1301, for obtaining the Media Stream addresses of live session;Wherein, the Media Stream addresses of the live sessionThe address in the CDN system is mapped to for the Media Stream of the live session;
Receiver 1303, for receiving the live streaming call request from purpose terminal device;Wherein, the live streaming calling is askedSeek the network location information and media capability information for carrying the purpose terminal device;
Transmitter 1304, if determining the purpose terminal device according to the media capability information for the processing unitConnectionless live streaming ability is not supported, and the associated transfer gateway of Xiang Suoshu network location information sends the matchmaker for carrying the live sessionThe drawing stream instruction message of body stream address.
Optionally, the transmitter is also used to send deployment request to the transfer gateway;
The receiver is also used to receive the deployment from the transfer gateway and completes message.
Optionally, the receiver is also used to receive the drawing stream success message from transfer gateway;Wherein, the drawing streamSuccess message indicates that the transfer gateway success pulls the Media Stream to the live session, the drawing stream from the CDN systemSuccess message carries port numbers;
The transmitter is also used to send the success response message for carrying the port numbers to the purpose terminal device.
Optionally, the transmitter is also used to send success response message to the purpose terminal device;
The processor is also used to indicate that media resource function network element pushes the live streaming meeting to the purpose terminal deviceThe Media Stream of words.
Optionally, the receiver is also used to receive the drawing stream success message from transfer gateway;Wherein, it draws and flows successfullyMessage indicates that transfer gateway success pulls the Media Stream to the live session from CDN system, and the drawing stream success message carriesPort numbers;
The transmitter is also used to send the Media Stream handover request for carrying the port numbers to purpose terminal device;ItsIn, the Media Stream handover request carries the port numbers, and the Media Stream handover request is used to indicate the purpose terminal and setsIt is standby to receive the Media Stream from the transfer gateway according to port numbers.
It should be noted that realizing for each operation can also be to should refer to phase of the Fig. 8 to embodiment of the method shown in Fig. 9It should describe.
2, Figure 12 can indicate that a kind of structural schematic diagram of device, the device are transfer gateway, transition net again referring to Figure 1Pass may include receiving unit 1201, processing unit 1202 and transmission unit 1203, wherein the detailed description of each unit is such asUnder.
Receiving unit 1201, for receiving the drawing stream instruction message from application server;Wherein, the drawing stream instruction disappearsBreath carries the Media Stream addresses, and the Media Stream addresses are that the Media Stream of live session is mapped to the address in CDN system;
Transmission unit 1203, for sending the drawing stream request for carrying the Media Stream addresses to the CDN system;
The transmission unit 1203 is also used to determine in processing unit 1202 successfully according to the Media Stream addresses from CDNWhen system pulls the Media Stream of the live session, the drawing stream that Xiang Suoshu application server sends carrying port numbers successfully disappearsBreath;
The transmission unit 1203 is also used to send the matchmaker of the live session to purpose terminal device in the port numbersBody stream.
Optionally, the receiving unit is also used to receive and request from the deployment for answering server;Wherein, the portionAdministration's request carries the network location information and mark of the purpose terminal device;
The transmission unit, when being also used to the processing unit determination according to deployment request completion deployment, Xiang SuoshuApplication server sends deployment and completes message.
Optionally, the authorization token for drawing stream instruction message also to carry the live session.
It is retouched it should be noted that the realization of each unit can also correspond to the corresponding of embodiment of the method shown in 1 referring to Fig.1It states.
3, Figure 13 can indicate that a kind of structural schematic diagram of device, the device are transfer gateway, transition net again referring to Figure 1Close include processor 1301, memory 1302, receiver 1303 and transmitter 1304, the processor 1301, memory 1302,Receiver 1303 and transmitter 1304 are connected with each other by bus.
Memory 1302 include but is not limited to be random access memory (Random Access Memory, RAM), it is read-onlyMemory (Read-Only Memory, ROM), Erasable Programmable Read Only Memory EPROM (Erasable ProgrammableRead Only Memory, EPROM) or portable read-only memory (Compact Disc Read-Only Memory, CD-ROM), which is used for dependent instruction and data.Transceiver 1303 is for sending and receiving data.
Receiver 1303, for receiving the drawing stream instruction message from application server;Wherein, instruction message is flowed in the drawingThe Media Stream addresses are carried, the Media Stream addresses are that the Media Stream of live session is mapped to the address in CDN system;
Transmitter 1304, for sending the drawing stream request for carrying the Media Stream addresses to the CDN system;
Transmitter 1304, is also used to determine in processor 1301 and is successfully pulled according to the Media Stream addresses from CDN systemTo the live session Media Stream when, Xiang Suoshu application server send carry port numbers drawing stream success message;
Transmitter 1304 is also used to send the Media Stream of the live session to purpose terminal device in the port numbers.
Optionally, receiver 1303 are also used to receive and request from the deployment for answering server;Wherein, the deploymentRequest carries the network location information and mark of the purpose terminal device;
Transmitter 1304 is answered when being also used to the processing unit determination according to deployment request completion deployment to describedIt is affixed one's name to server sending department and completes message.
Optionally, the authorization token for drawing stream instruction message also to carry the live session.
It is retouched it should be noted that the realization of each operation can also correspond to the corresponding of embodiment of the method shown in 1 referring to Fig.1It states.
Wherein, in above embodiment, transmission unit or transmitter execute the step of above-mentioned each embodiment of the method is sent,Receiving unit or receiver execute the step of above-mentioned each embodiment of the method receives, and other steps are held by processing unit or processorRow.Transmission unit and receiving unit can form Transmit-Receive Unit, and receiver and transmitter can form transceiver.
Wherein, in above embodiment, described device may be to realize the field programmable gate array of correlation function(field-programmable gate array, FPGA), special integrated chip, System on Chip/SoC (system on chip,SoC), central processing unit (central processor unit, CPU), network processing unit (network processor, NP),Digital signal processing circuit, microcontroller (micro controller unit, MCU), can also use programmable controller(programmable logic device, PLD) or other integrated chips.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosureMember and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actuallyIt is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technicianEach specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceedScope of the present application.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be withIt realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unitIt divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or componentsIt can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown orThe mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unitIt closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unitThe component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multipleIn network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unitIt is that each unit physically exists alone, can also be integrated in one unit with two or more units.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof realIt is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer programProduct includes one or more computer instructions.When loading on computers and executing the computer program instructions, all orIt partly generates according to process or function described in the embodiment of the present invention.The computer can be general purpose computer, dedicated meterCalculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage mediumIn, or transmitted by the computer readable storage medium.The computer instruction can be from a web-site, meterCalculation machine, server or data center are (such as red by wired (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wirelessOutside, wirelessly, microwave etc.) mode transmitted to another web-site, computer, server or data center.The calculatingMachine readable storage medium storing program for executing can be any usable medium or include one or more usable mediums that computer can accessThe data storage devices such as integrated server, data center.The usable medium can be magnetic medium, (for example, floppy disk, hardDisk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk Solid State Disk (SSD))Deng.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, the processRelevant hardware can be instructed to complete by computer program, which can be stored in computer-readable storage medium, shouldProgram is when being executed, it may include such as the process of above-mentioned each method embodiment.And storage medium above-mentioned includes: ROM or deposits at randomStore up the medium of the various program storage codes such as memory body RAM, magnetic or disk.

Claims (46)

Translated fromChinese
1.一种直播通信的方法,其特征在于,包括:1. a method for live communication, is characterized in that, comprises:应用服务器指示媒体资源功能网元根据将直播会话的媒体流推送到内容分发网络CDN系统;The application server instructs the media resource function network element to push the media stream of the live session to the CDN system of the content distribution network;所述应用服务器接收来自所述CDN系统的媒体流地址;其中,所述媒体流地址为所述直播会话的媒体流映射在所述CDN系统中的地址;The application server receives a media stream address from the CDN system; wherein, the media stream address is an address mapped in the CDN system by the media stream of the live session;所述应用服务器将所述媒体流地址发送给目的终端设备;其中,所述目的终端设备的通信模式为只接收模式。The application server sends the media stream address to the destination terminal device; wherein, the communication mode of the destination terminal device is a reception-only mode.2.如权利要求1所述的方法,其特征在于,所述应用服务器将所述媒体流地址发送给目的终端设备包括:2. The method according to claim 1, wherein the sending, by the application server, the media stream address to the destination terminal device comprises:所述应用服务器接收来自位于所述直播会话中的源终端设备的直播呼叫请求;其中,所述直播呼叫请求用于呼叫所述目的终端设备;receiving, by the application server, a live call request from a source terminal device in the live session; wherein the live call request is used to call the destination terminal device;所述应用服务器获取所述目的终端设备的媒体能力信息;obtaining, by the application server, the media capability information of the destination terminal device;若根据所述媒体能力信息确定所述目的终端设备支持无连接直播能力,If it is determined according to the media capability information that the destination terminal device supports the connectionless live broadcast capability,所述应用服务器向所述源终端设备发送针对所述直播呼叫请求的重定向消息;sending, by the application server, a redirection message for the live call request to the source terminal device;所述应用服务器向所述目的终端设备发送携带所述媒体流地址和授权令牌的message消息。The application server sends a message message carrying the media stream address and the authorization token to the destination terminal device.3.如权利要求1所述的方法,其特征在于,所述应用服务器将所述媒体流地址发送给目的终端设备包括:3. The method according to claim 1, wherein the sending, by the application server, the address of the media stream to the destination terminal device comprises:所述应用服务器接收来自所述目的终端设备的直播呼叫请求;其中,所述直播呼叫请求用于呼叫所述直播会话内的源终端设备;receiving, by the application server, a live call request from the destination terminal device; wherein the live call request is used to call the source terminal device in the live session;所述应用服务器获取所述目的终端设备的媒体能力信息;obtaining, by the application server, the media capability information of the destination terminal device;若根据所述媒体能力信息确定所述目的终端设备支持无连接直播能力,If it is determined according to the media capability information that the destination terminal device supports the connectionless live broadcast capability,所述应用服务器向所述目的终端设备发送针对所述直播呼叫请求的重定向消息;其中,所述重定向消息携带所述媒体流地址和授权令牌。The application server sends a redirection message for the live call request to the destination terminal device, wherein the redirection message carries the media stream address and an authorization token.4.如权利要求1所述的方法,其特征在于,所述应用服务器将所述媒体流地址发送给目的终端设备包括:4. The method according to claim 1, wherein the sending, by the application server, the address of the media stream to the destination terminal device comprises:所述应用服务器接收来自所述目的终端设备的直播呼叫请求;其中,所述直播呼叫请求用于呼叫所述直播会话中的源终端设备;receiving, by the application server, a live call request from the destination terminal device; wherein the live call request is used to call the source terminal device in the live session;所述应用服务器向所述目的终端设备发送针对所述直播呼叫请求的重定向消息;sending, by the application server, a redirection message for the live call request to the destination terminal device;所述应用服务器获取所述目的终端设备的媒体能力信息;obtaining, by the application server, the media capability information of the destination terminal device;若根据所述媒体能力信息确定所述目的终端设备支持无连接直播能力,所述应用服务器向所述目的终端设备发送携带所述媒体流地址和授权令牌的message消息。If it is determined according to the media capability information that the destination terminal device supports a connectionless live broadcast capability, the application server sends a message message carrying the media stream address and an authorization token to the destination terminal device.5.如权利要求1所述的方法,其特征在于,所述应用服务器将所述媒体流地址发送给目的终端设备包括:5. The method according to claim 1, wherein the sending, by the application server, the address of the media stream to the destination terminal device comprises:所述应用服务器接收来自所述目的终端设备的直播呼叫请求;其中,所述直播呼叫请求用于呼叫所述直播会话内的源终端设备,所述直播呼叫请求携带所述直播会话的标识;receiving, by the application server, a live call request from the destination terminal device; wherein the live call request is used to call a source terminal device in the live session, and the live call request carries an identifier of the live session;所述应用服务器获取所述目的终端设备的媒体能力信息;obtaining, by the application server, the media capability information of the destination terminal device;若根据所述媒体能力信息确定所述目的终端设备不支持无连接直播能力,所述应用服务器向所述目的终端设备发送携带所述媒体流地址和授权令牌的成功响应消息。If it is determined according to the media capability information that the destination terminal device does not support a connectionless live broadcast capability, the application server sends a success response message carrying the media stream address and an authorization token to the destination terminal device.6.如权利要求1所述的方法,其特征在于,所述应用服务器将所述媒体流地址发送给目的终端设备包括:6. The method according to claim 1, wherein the sending, by the application server, the address of the media stream to the destination terminal device comprises:所述应用服务器接收来自所述目的终端设备的直播呼叫请求;其中,所述直播呼叫请求用于呼叫所述直播会话内的源终端设备;receiving, by the application server, a live call request from the destination terminal device; wherein the live call request is used to call the source terminal device in the live session;所述应用服务器获取所述目的终端设备的媒体能力信息;obtaining, by the application server, the media capability information of the destination terminal device;若根据所述媒体能力信息确定所述目的终端设备不支持无连接直播能力,所述应用服务器向所述目的终端设备发送携带所述媒体流地址和授权令牌的成功响应消息。If it is determined according to the media capability information that the destination terminal device does not support a connectionless live broadcast capability, the application server sends a success response message carrying the media stream address and an authorization token to the destination terminal device.7.如权利要求2-6任意一项所述的方法,其特征在于,所述应用服务器获取所述目的终端设备的媒体能力信息包括:7. The method according to any one of claims 2-6, wherein the obtaining, by the application server, the media capability information of the destination terminal device comprises:所述应用服务器在所述目的终端设备发起注册或呼叫的过程中获取所述目的终端设备的媒体能力信息。The application server acquires the media capability information of the destination terminal device in the process that the destination terminal device initiates a registration or a call.8.如权利要求7所述的方法,其特征在于,还包括:8. The method of claim 7, further comprising:所述应用服务器根据直播业务对应的空闲资源大小确定所述目的终端设备的通信模式;或The application server determines the communication mode of the destination terminal device according to the size of the idle resources corresponding to the live broadcast service; or所述应用服务器根据来自所述目的终端设备的通信模式指示信息确定所述目的终端设备的通信模式;或The application server determines the communication mode of the destination terminal device according to the communication mode indication information from the destination terminal device; or所述应用服务器根据群组业务数据、通讯录业务数据、呼叫权限业务数据或签约信息确定所述目的终端设备的通信模式;或The application server determines the communication mode of the destination terminal device according to group service data, address book service data, call authority service data or subscription information; or所述应用服务器根据呼叫时间、呼叫地点、区域、用户名中的至少一种确定所述目的终端设备的通信模式;或The application server determines the communication mode of the destination terminal device according to at least one of call time, call location, area, and user name; or所述应用服务器根据目的终端设备的身份信息和/或所述直播会话的复用次数确定所述目的终端设备的通信模式。The application server determines the communication mode of the destination terminal device according to the identity information of the destination terminal device and/or the multiplexing times of the live session.9.如权利要求7或8的方法,其特征在于,还包括:9. The method of claim 7 or 8, further comprising:所述应用服务器接收来自所述目的终端设备的通信模式切换请求;其中,所述通信模式切换请求携带授权令牌;receiving, by the application server, a communication mode switching request from the destination terminal device; wherein the communication mode switching request carries an authorization token;所述应用服务器验证所述授权令牌合法后,将所述目的终端设备的通信模式进行切换。After verifying that the authorization token is legal, the application server switches the communication mode of the destination terminal device.10.一种直播通信的方法,其特征在于,包括:10. A method for live communication, comprising:媒体资源功能网元接收来自应用服务器的推流指示消息;其中,所述推流指示消息携带直播会话的标识;The media resource function network element receives the stream push instruction message from the application server; wherein, the stream push instruction message carries the identifier of the live session;所述媒体资源功能网元根据所述直播会话的标识获取所述直播会话的媒体流,以及获取与所述直播会话的标识关联的CDN系统;The media resource function network element acquires the media stream of the live session according to the identifier of the live session, and acquires the CDN system associated with the identifier of the live session;所述媒体资源功能网元将所述直播会话的媒体流推送给所述CDN系统。The media resource function network element pushes the media stream of the live session to the CDN system.11.如权利要求10所述的方法,其特征在于,所述媒体资源功能网元将所述直播会话的媒体流推送给所述CDN系统包括:11. The method of claim 10, wherein the media resource function network element pushing the media stream of the live session to the CDN system comprises:所述媒体资源功能网元识别所述直播会话的媒体流是否满足所述CDN系统支持的编码格式;The media resource function network element identifies whether the media stream of the live session satisfies the encoding format supported by the CDN system;若为否,根据所述CDN系统支持的编码格式进行格式转换,根据所述媒体流地址将格式转换后的所述直播会话的媒体流推送给所述CDN系统。If no, format conversion is performed according to the encoding format supported by the CDN system, and the format-converted media stream of the live session is pushed to the CDN system according to the media stream address.12.一种直播通信的方法,其特征在于,包括:12. A method for live communication, comprising:目的终端设备获取直播会话的媒体流地址;其中,所述媒体流地址为所述直播会话的媒体流映射在CDN系统中的地址;The destination terminal device obtains the media stream address of the live session; wherein, the media stream address is the address of the media stream of the live session mapped in the CDN system;所述目的终端设备向所述CDN系统发送携带所述媒体流地址的拉流请求;sending, by the destination terminal device, a pull request carrying the media stream address to the CDN system;所述目的终端设备接收来自所述CDN系统的根据所述媒体流地址发送的所述直播会话的媒体流。The destination terminal device receives the media stream of the live session sent according to the media stream address from the CDN system.13.如权利要求12所述的方法,其特征在于,所述目的终端设备获取直播会话的媒体流地址之前,还包括:13. The method according to claim 12, wherein before the destination terminal device acquires the media stream address of the live session, the method further comprises:所述目的终端设备向应用服务器发送直播呼叫请求;其中,所述直播呼叫请求用于呼叫所述直播会话中的源终端设备,所述直播呼叫请求中携带所述直播会话的标识、所述源终端设备的标识和媒体能力信息中至少一种。The destination terminal device sends a live call request to the application server; wherein, the live call request is used to call the source terminal device in the live session, and the live call request carries the identifier of the live session, the source At least one of the identity of the terminal device and media capability information.14.如权利要求12或13所述的方法,其特征在于,所述目的终端设备获取直播会话的媒体流映射到CDN系统中的媒体流地址包括:14. The method according to claim 12 or 13, wherein the destination terminal device obtains the media stream address of the live session and maps the media stream address in the CDN system, comprising:在所述目的终端设备支持无连接直播能力时,所述目的终端设备接收来自应用服务器的携带所述媒体流地址和授权令牌的message消息;或When the destination terminal device supports the connectionless live broadcast capability, the destination terminal device receives a message from the application server that carries the media stream address and the authorization token; or目的终端设备向应用服务器发送直播呼叫请求;其中,所述直播呼叫请求携带所述目的终端设备的媒体能力信息,所述媒体能力信息表示所述目的终端设备支持无连接直播能力;The destination terminal device sends a live call request to the application server; wherein the live call request carries media capability information of the destination terminal device, and the media capability information indicates that the destination terminal device supports a connectionless live broadcast capability;所述目的终端设备接收来自所述应用服务器的针对所述直播呼叫请求的重定向消息;其中,所述重定向消息携带所述直播会话的媒体流地址和授权令牌;或The destination terminal device receives a redirection message for the live call request from the application server; wherein the redirection message carries the media stream address and authorization token of the live session; or所述目的终端设备向所述应用服务器发送直播呼叫请求;其中,所述直播呼叫请求携带所述目的终端设备的媒体能力信息,所述媒体能力信息表示所述目的终端设备支持无连接直播能力;The destination terminal device sends a live call request to the application server; wherein the live call request carries media capability information of the destination terminal device, and the media capability information indicates that the destination terminal device supports a connectionless live broadcast capability;所述目的终端设备接收来自所述应用服务器的针对所述直播呼叫请求的重定向消息;receiving, by the destination terminal device, a redirection message for the live call request from the application server;所述目的终端设备接收来自应用服务器的携带所述直播会话的媒体流地址和授权凭证的message消息;或The destination terminal device receives a message from the application server that carries the media stream address and authorization credential of the live session; or所述目的终端设备向所述应用服务器发送直播呼叫请求;其中,所述直播呼叫请求携带所述直播会话的标识和所述目的终端设备的媒体能力信息,所述媒体能力信息表示所述目的终端设备不支持无连接直播能力;The destination terminal device sends a live call request to the application server; wherein the live call request carries an identifier of the live session and media capability information of the destination terminal device, and the media capability information indicates that the destination terminal The device does not support connectionless live broadcast capability;所述目的终端设备接收来自所述应用服务器的携带所述直播会话的媒体流地址和授权令牌的成功响应消息;或The destination terminal device receives a success response message from the application server that carries the media stream address of the live session and the authorization token; or所述目的终端设备向所述应用服务器发送直播呼叫请求;其中,所述直播呼叫请求用于呼叫所述直播会话中的源终端设备,所述直播呼叫请求携带所述目的终端设备的媒体能力信息,所述媒体能力信息表示所述目的终端设备不支持无连接直播能力;The destination terminal device sends a live call request to the application server; wherein the live call request is used to call the source terminal device in the live session, and the live call request carries the media capability information of the destination terminal device , the media capability information indicates that the destination terminal device does not support the connectionless live broadcast capability;所述目的终端设备接收来自所述应用服务器的携带所述直播会话的媒体流地址和授权令牌的成功响应消息。The destination terminal device receives a success response message from the application server that carries the media stream address of the live session and the authorization token.15.如权利要求12或13所述的方法,其特征在于,还包括:15. The method of claim 12 or 13, further comprising:所述目的终端设备向应用服务器发送通信模式切换请求;其中,所述通信模式切换请求携带所述直播会话的授权令牌;The destination terminal device sends a communication mode switching request to the application server; wherein, the communication mode switching request carries the authorization token of the live session;所述目的终端设备接收来自应用服务器的通信模式切换响应。The destination terminal device receives the communication mode switching response from the application server.16.一种直播通信的方法,其特征在于,包括:16. A method for live communication, comprising:应用服务器获取直播会话的媒体流地址;其中,所述直播会话的媒体流地址为所述直播会话的媒体流映射到所述内容分发网络CDN系统中的地址;The application server obtains the media stream address of the live session; wherein, the media stream address of the live session is the address where the media stream of the live session is mapped to the CDN system of the content distribution network;所述应用服务器接收来自目的终端设备的直播呼叫请求;其中,所述直播呼叫请求携带所述目的终端设备的网络位置信息和媒体能力信息;The application server receives a live call request from a destination terminal device; wherein, the live call request carries the network location information and media capability information of the destination terminal device;若根据所述媒体能力信息确定所述目的终端设备不支持无连接直播能力且不支持直播能力,所述应用服务器向所述网络位置信息关联的转换网关发送携带所述直播会话的媒体流地址的拉流指示消息。If it is determined according to the media capability information that the destination terminal device does not support the connectionless live broadcast capability and does not support the live broadcast capability, the application server sends a message carrying the media stream address of the live broadcast session to the conversion gateway associated with the network location information. Pull stream indication message.17.如权利要求16所述的方法,其特征在于,所述若根据所述媒体能力信息确定所述目的终端设备不支持无连接直播能力且不支持直播能力,所述应用服务器向所述网络位置信息关联的转换网关发送携带所述直播会话的媒体流地址的拉流指示消息之前,还包括:17. The method according to claim 16, wherein, if it is determined according to the media capability information that the destination terminal device does not support a connectionless live broadcast capability and does not support a live broadcast capability, the application server sends the network to the network. Before the conversion gateway associated with the location information sends the stream pull instruction message carrying the media stream address of the live session, the method further includes:所述应用服务器向所述转换网关发送部署请求;sending, by the application server, a deployment request to the conversion gateway;所述应用服务器接收来自所述转换网关的部署完成消息。The application server receives a deployment complete message from the translation gateway.18.如权利要求16或17所述的方法,其特征在于,还包括:18. The method of claim 16 or 17, further comprising:所述应用服务器接收来自转换网关的拉流成功消息;其中,所述拉流成功消息表示所述转换网关成功从所述CDN系统拉取到所述直播会话的媒体流,所述拉流成功消息携带端口号;The application server receives a stream pull success message from the conversion gateway; wherein the stream pull success message indicates that the conversion gateway successfully pulls the media stream of the live session from the CDN system, and the stream pull success message carry the port number;所述应用服务器向所述目的终端设备发送携带所述端口号的成功响应消息。The application server sends a success response message carrying the port number to the destination terminal device.19.如权利要求16或17所述的方法,其特征在于,所述应用服务器接收来自目的终端设备的直播呼叫请求之后,还包括:19. The method according to claim 16 or 17, wherein after the application server receives the live call request from the destination terminal device, the method further comprises:所述应用服务器向所述目的终端设备发送成功响应消息;The application server sends a success response message to the destination terminal device;所述应用服务器指示媒体资源功能网元向所述目的终端设备推送所述直播会话的媒体流。The application server instructs the media resource function network element to push the media stream of the live session to the destination terminal device.20.如权利要求19所述的方法,其特征在于,还包括:20. The method of claim 19, further comprising:所述应用服务器接收来自转换网关的拉流成功消息;其中,拉流成功消息表示转换网关成功从CDN系统拉取到所述直播会话的媒体流,所述拉流成功消息携带端口号;The application server receives a stream pull success message from the conversion gateway; wherein the stream pull success message indicates that the conversion gateway successfully pulls the media stream of the live session from the CDN system, and the stream pull success message carries a port number;所述应用服务器向目的终端设备发送携带所述端口号的媒体流切换消息;其中,所述媒体流切换消息携带所述端口号,所述媒体流切换消息用于指示所述目的终端设备根据端口号接收来自所述转换网关的媒体流。The application server sends a media stream switching message carrying the port number to the destination terminal device; wherein, the media stream switching message carries the port number, and the media stream switching message is used to instruct the destination terminal device according to the port number. number to receive the media stream from the transformation gateway.21.一种直播通信的方法,其特征在于,包括:21. A method for live communication, comprising:转换网关接收来自应用服务器的拉流指示消息;其中,所述拉流指示消息携带所述媒体流地址,所述媒体流地址为直播会话的媒体流映射到CDN系统中的地址;The conversion gateway receives the stream pull instruction message from the application server; wherein, the stream pull instruction message carries the media stream address, and the media stream address is the address in the CDN system mapped from the media stream of the live session;所述转换网关向所述CDN系统发送携带所述媒体流地址的拉流请求;sending, by the conversion gateway, a pull request carrying the media stream address to the CDN system;所述转换网关确定成功根据所述媒体流地址从CDN系统拉取到所述直播会话的媒体流时,向所述应用服务器发送携带端口号的拉流成功消息;When the conversion gateway determines that the media stream of the live session is successfully pulled from the CDN system according to the media stream address, it sends a stream pull success message carrying the port number to the application server;所述转换网关在所述端口号向目的终端设备发送所述直播会话的媒体流。The conversion gateway sends the media stream of the live session to the destination terminal device at the port number.22.如权利要求21所述的方法,其特征在于,还包括:22. The method of claim 21, further comprising:所述转换网关接收来自所述应服务器的部署请求;其中,所述部署请求携带所述目的终端设备的网络位置信息和标识;The conversion gateway receives a deployment request from the application server; wherein, the deployment request carries the network location information and identifier of the destination terminal device;所述转换网关根据所述部署请求完成部署时向所述应用服务器发送部署完成消息。The conversion gateway sends a deployment completion message to the application server when the deployment is completed according to the deployment request.23.如权利要求21或22所述的方法,其特征在于,所述拉流指示消息还携带所述直播会话的授权令牌。23. The method according to claim 21 or 22, wherein the streaming instruction message further carries an authorization token of the live broadcast session.24.一种直播通信的装置,其特征在于,包括:24. A device for live communication, comprising:处理单元,用于指示媒体资源功能网元根据将直播会话的媒体流推送到内容分发网络CDN系统;a processing unit, configured to instruct the media resource function network element to push the media stream of the live session to the CDN system of the content distribution network;接收单元,用于接收来自所述CDN系统的媒体流地址;其中,所述媒体流地址为所述直播会话的媒体流映射在所述CDN系统中的地址;a receiving unit, configured to receive a media stream address from the CDN system; wherein, the media stream address is an address mapped in the CDN system by the media stream of the live session;发送单元,用于将所述媒体流地址发送给目的终端设备;其中,所述目的终端设备的通信模式为只接收模式。A sending unit, configured to send the media stream address to a destination terminal device; wherein, the communication mode of the destination terminal device is a reception-only mode.25.如权利要求24所述的装置,其特征在于,所述发送单元,用于将所述媒体流地址发送给目的终端设备,具体为:25. The apparatus according to claim 24, wherein the sending unit is configured to send the media stream address to a destination terminal device, specifically:指示所述接收单元接收来自位于所述直播会话中的源终端设备的直播呼叫请求;其中,所述直播呼叫请求用于呼叫所述目的终端设备;instructing the receiving unit to receive a live call request from a source terminal device located in the live session; wherein the live call request is used to call the destination terminal device;指示所述处理单元获取所述目的终端设备的媒体能力信息;instructing the processing unit to acquire the media capability information of the destination terminal device;若所述处理单元根据所述媒体能力信息确定所述目的终端设备支持无连接直播能力,If the processing unit determines, according to the media capability information, that the destination terminal device supports the connectionless live broadcast capability,向所述源终端设备发送针对所述直播呼叫请求的重定向消息,以及向所述目的终端设备发送携带所述媒体流地址和授权令牌的message消息。A redirection message for the live call request is sent to the source terminal device, and a message message carrying the media stream address and an authorization token is sent to the destination terminal device.26.如权利要求24所述的装置,其特征在于,所述发送单元,用于将所述媒体流地址发送给目的终端设备,具体为:26. The apparatus of claim 24, wherein the sending unit is configured to send the media stream address to a destination terminal device, specifically:指示所述接收单元接收来自所述目的终端设备的直播呼叫请求;其中,所述直播呼叫请求用于呼叫所述直播会话内的源终端设备;instructing the receiving unit to receive a live call request from the destination terminal device; wherein the live call request is used to call the source terminal device in the live session;指示所述处理单元获取所述目的终端设备的媒体能力信息;instructing the processing unit to acquire the media capability information of the destination terminal device;若所述处理单元根据所述媒体能力信息确定所述目的终端设备支持无连接直播能力,向所述目的终端设备发送针对所述直播呼叫请求的重定向消息;其中,所述重定向消息携带所述媒体流地址和授权令牌。If the processing unit determines according to the media capability information that the destination terminal device supports a connectionless live broadcast capability, it sends a redirection message for the live call request to the destination terminal device; wherein the redirection message carries all the media stream address and authorization token.27.如权利要求24所述的装置,其特征在于,所述发送单元,用于将所述媒体流地址发送给目的终端设备,具体为:27. The apparatus of claim 24, wherein the sending unit is configured to send the media stream address to a destination terminal device, specifically:指示所述接收单元接收来自所述目的终端设备的直播呼叫请求;其中,所述直播呼叫请求用于呼叫所述直播会话中的源终端设备;instructing the receiving unit to receive a live call request from the destination terminal device; wherein the live call request is used to call the source terminal device in the live session;向所述目的终端设备发送针对所述直播呼叫请求的重定向消息;sending a redirection message for the live call request to the destination terminal device;指示所述处理单元获取所述目的终端设备的媒体能力信息;instructing the processing unit to acquire the media capability information of the destination terminal device;若所述处理单元根据所述媒体能力信息确定所述目的终端设备支持无连接直播能力,向所述目的终端设备发送携带所述媒体流地址和授权令牌的message消息。If the processing unit determines that the destination terminal device supports a connectionless live broadcast capability according to the media capability information, it sends a message message carrying the media stream address and an authorization token to the destination terminal device.28.如权利要求24所述的装置,其特征在于,所述发送单元,用于将所述媒体流地址发送给目的终端设备,具体为:28. The apparatus of claim 24, wherein the sending unit is configured to send the media stream address to a destination terminal device, specifically:指示所述接收单元接收来自所述目的终端设备的直播呼叫请求;其中,所述直播呼叫请求用于呼叫所述直播会话内的源终端设备,所述直播呼叫请求携带所述直播会话的标识;instructing the receiving unit to receive a live call request from the destination terminal device; wherein the live call request is used to call a source terminal device in the live session, and the live call request carries an identifier of the live session;指示所述处理单元获取所述目的终端设备的媒体能力信息;instructing the processing unit to acquire the media capability information of the destination terminal device;若所述处理单元根据所述媒体能力信息确定所述目的终端设备不支持无连接直播能力,向所述目的终端设备发送携带所述媒体流地址和授权令牌的成功响应消息。If the processing unit determines according to the media capability information that the destination terminal device does not support a connectionless live broadcast capability, it sends a success response message carrying the media stream address and an authorization token to the destination terminal device.29.如权利要求24所述的装置,其特征在于,所述发送单元,将所述媒体流地址发送给目的终端设备,具体为:29. The apparatus according to claim 24, wherein the sending unit sends the media stream address to the destination terminal device, specifically:指示所述接收单元接收来自所述目的终端设备的直播呼叫请求;其中,所述直播呼叫请求用于呼叫所述直播会话内的源终端设备;instructing the receiving unit to receive a live call request from the destination terminal device; wherein the live call request is used to call the source terminal device in the live session;指示所述处理单元获取所述目的终端设备的媒体能力信息;instructing the processing unit to acquire the media capability information of the destination terminal device;若所述处理单元根据所述媒体能力信息确定所述目的终端设备不支持无连接直播能力,向所述目的终端设备发送携带所述媒体流地址和授权令牌的成功响应消息。If the processing unit determines according to the media capability information that the destination terminal device does not support a connectionless live broadcast capability, it sends a success response message carrying the media stream address and an authorization token to the destination terminal device.30.如权利要求25-29任意一项所述的装置,其特征在于,所述处理单元获取所述目的终端设备的媒体能力信息,具体为:30. The apparatus according to any one of claims 25-29, wherein the processing unit acquires media capability information of the destination terminal device, specifically:所述处理单元在所述目的终端设备发起注册或呼叫的过程中获取所述目的终端设备的媒体能力信息。The processing unit acquires the media capability information of the destination terminal device in the process that the destination terminal device initiates a registration or a call.31.如权利要求30所述的装置,其特征在于,所述处理单元,还用于:31. The apparatus of claim 30, wherein the processing unit is further configured to:根据直播业务对应的空闲资源大小确定所述目的终端设备的通信模式;或Determine the communication mode of the destination terminal device according to the size of the idle resources corresponding to the live service; or根据来自所述目的终端设备的通信模式指示信息确定所述目的终端设备的通信模式;或Determine the communication mode of the destination terminal device according to the communication mode indication information from the destination terminal device; or根据群组业务数据、通讯录业务数据、呼叫权限业务数据或签约信息确定所述目的终端设备的通信模式;或Determine the communication mode of the destination terminal device according to group service data, address book service data, call authority service data or subscription information; or根据呼叫时间、呼叫地点、区域、用户名中的至少一种确定所述目的终端设备的通信模式;或Determine the communication mode of the destination terminal device according to at least one of call time, call place, area, and user name; or根据目的终端设备的身份信息和/或所述直播会话的复用次数确定所述目的终端设备的通信模式。The communication mode of the destination terminal device is determined according to the identity information of the destination terminal device and/or the multiplexing times of the live session.32.如权利要求30或31的装置,其特征在于,32. The apparatus of claim 30 or 31, wherein所述接收单元,还用于接收来自所述目的终端设备的通信模式切换请求;其中,所述通信模式切换请求携带授权令牌;The receiving unit is further configured to receive a communication mode switching request from the destination terminal device; wherein, the communication mode switching request carries an authorization token;所述处理单元,还用于验证所述授权令牌合法后,将所述目的终端设备的通信模式进行切换。The processing unit is further configured to switch the communication mode of the destination terminal device after verifying that the authorization token is legal.33.一种直播通信的装置,其特征在于,包括:33. A device for live communication, comprising:接收单元,用于接收来自应用服务器的推流指示消息;其中,所述推流指示消息携带直播会话的标识;a receiving unit, configured to receive a stream push instruction message from an application server; wherein the stream push instruction message carries the identifier of the live session;处理单元,用于根据所述直播会话的标识获取所述直播会话的媒体流,以及获取与所述直播会话的标识关联的CDN系统;a processing unit, configured to acquire the media stream of the live session according to the identifier of the live session, and acquire the CDN system associated with the identifier of the live session;发送单元,用于将所述直播会话的媒体流推送给所述CDN系统。A sending unit, configured to push the media stream of the live session to the CDN system.34.如权利要求33所述的装置,其特征在于,所述发送单元,用于将所述直播会话的媒体流推送给所述CDN系统,具体为:34. The apparatus according to claim 33, wherein the sending unit is configured to push the media stream of the live session to the CDN system, specifically:指示所述处理单元识别所述直播会话的媒体流是否满足所述CDN系统支持的编码格式;Instructing the processing unit to identify whether the media stream of the live session satisfies the encoding format supported by the CDN system;若为否,指示所述处理单元根据所述CDN系统支持的编码格式进行格式转换,根据所述媒体流地址将格式转换后的所述直播会话的媒体流推送给所述CDN系统。If no, instruct the processing unit to perform format conversion according to the encoding format supported by the CDN system, and push the format-converted media stream of the live session to the CDN system according to the media stream address.35.一种直播通信的装置,其特征在于,包括:35. A device for live communication, comprising:处理单元,用于获取直播会话的媒体流地址;其中,所述媒体流地址为所述直播会话的媒体流映射在CDN系统中的地址;a processing unit, configured to obtain the media stream address of the live session; wherein, the media stream address is the address of the media stream of the live session mapped in the CDN system;发送单元,用于向所述CDN系统发送携带所述媒体流地址的拉流请求;a sending unit, configured to send a stream pull request carrying the media stream address to the CDN system;接收单元,用于接收来自所述CDN系统的根据所述媒体流地址发送的所述直播会话的媒体流。A receiving unit, configured to receive the media stream of the live session sent according to the media stream address from the CDN system.36.如权利要求12所述的装置,其特征在于,所述发送单元,还用于36. The apparatus of claim 12, wherein the sending unit is further configured to向应用服务器发送直播呼叫请求;其中,所述直播呼叫请求用于呼叫所述直播会话中的源终端设备,所述直播呼叫请求中携带所述直播会话的标识、所述源终端设备的标识和媒体能力信息中至少一种。Send a live call request to the application server; wherein the live call request is used to call the source terminal device in the live session, and the live call request carries the identifier of the live session, the identifier of the source terminal device and the At least one of media capability information.37.如权利要求35或36所述的装置,其特征在于,所述处理单元,用于获取直播会话的媒体流映射到CDN系统中的媒体流地址,具体为:37. The apparatus according to claim 35 or 36, wherein the processing unit is used to obtain the media stream address of the live session that is mapped to the media stream address in the CDN system, specifically:在所述目的终端设备支持无连接直播能力时,指示所述接收单元接收来自应用服务器的携带所述媒体流地址和授权令牌的message消息;或When the destination terminal device supports the connectionless live broadcast capability, instruct the receiving unit to receive a message from the application server that carries the media stream address and the authorization token; or指示所述发送单元向应用服务器发送直播呼叫请求;其中,所述直播呼叫请求携带所述目的终端设备的媒体能力信息,所述媒体能力信息表示所述目的终端设备支持无连接直播能力;Instructing the sending unit to send a live call request to the application server; wherein the live call request carries media capability information of the destination terminal device, and the media capability information indicates that the destination terminal device supports a connectionless live broadcast capability;指示所述接收单元接收来自所述应用服务器的针对所述直播呼叫请求的重定向消息;其中,所述重定向消息携带所述直播会话的媒体流地址和授权令牌;或Instruct the receiving unit to receive a redirection message for the live call request from the application server; wherein the redirection message carries the media stream address and authorization token of the live session; or指示所述发送单元向所述应用服务器发送直播呼叫请求;其中,所述直播呼叫请求携带所述目的终端设备的媒体能力信息,所述媒体能力信息表示所述目的终端设备支持无连接直播能力;instructing the sending unit to send a live call request to the application server; wherein the live call request carries media capability information of the destination terminal device, and the media capability information indicates that the destination terminal device supports a connectionless live broadcast capability;指示所述接收单元接收来自所述应用服务器的针对所述直播呼叫请求的重定向消息;instructing the receiving unit to receive a redirection message for the live call request from the application server;指示所述接收单元接收来自应用服务器的携带所述直播会话的媒体流地址和授权凭证的message消息;或Instruct the receiving unit to receive a message from the application server that carries the media stream address and authorization credential of the live session; or指示所述发送单元向所述应用服务器发送直播呼叫请求;其中,所述直播呼叫请求携带所述直播会话的标识和所述目的终端设备的媒体能力信息,所述媒体能力信息表示所述目的终端设备不支持无连接直播能力;Instructing the sending unit to send a live call request to the application server; wherein the live call request carries the identifier of the live session and media capability information of the destination terminal device, where the media capability information indicates the destination terminal The device does not support connectionless live broadcast capability;指示所述接收单元接收来自所述应用服务器的携带所述直播会话的媒体流地址和授权令牌的成功响应消息;或Instruct the receiving unit to receive a success response message from the application server that carries the media stream address and authorization token of the live session; or指示所述发送单元向所述应用服务器发送直播呼叫请求;其中,所述直播呼叫请求用于呼叫所述直播会话中的源终端设备,所述直播呼叫请求携带所述目的终端设备的媒体能力信息,所述媒体能力信息表示所述目的终端设备不支持无连接直播能力;Instructing the sending unit to send a live call request to the application server; wherein the live call request is used to call the source terminal device in the live session, and the live call request carries the media capability information of the destination terminal device , the media capability information indicates that the destination terminal device does not support the connectionless live broadcast capability;指示所述接收单元接收来自所述应用服务器的携带所述直播会话的媒体流地址和授权令牌的成功响应消息。The receiving unit is instructed to receive a success response message from the application server that carries the media stream address of the live session and the authorization token.38.如权利要求36或37所述的装置,其特征在于,38. The apparatus of claim 36 or 37, wherein所述发送单元,还用于向应用服务器发送通信模式切换请求;其中,所述通信模式切换请求携带所述直播会话的授权令牌;The sending unit is further configured to send a communication mode switching request to the application server; wherein, the communication mode switching request carries the authorization token of the live session;所述接收单元,还用于接收来自应用服务器的通信模式切换响应。The receiving unit is further configured to receive a communication mode switching response from the application server.39.一种直播通信的装置,其特征在于,包括:39. A device for live communication, comprising:处理单元,用于获取直播会话的媒体流地址;其中,所述直播会话的媒体流地址为所述直播会话的媒体流映射到所述CDN系统中的地址;a processing unit, configured to obtain a media stream address of a live session; wherein, the media stream address of the live session is an address where the media stream of the live session is mapped to the CDN system;接收单元,用于接收来自目的终端设备的直播呼叫请求;其中,所述直播呼叫请求携带所述目的终端设备的网络位置信息和媒体能力信息;a receiving unit, configured to receive a live call request from a destination terminal device; wherein, the live call request carries network location information and media capability information of the destination terminal device;发送单元,用于若所述处理单元根据所述媒体能力信息确定所述目的终端设备不支持无连接直播能力且不支持直播能力,向所述网络位置信息关联的转换网关发送携带所述直播会话的媒体流地址的拉流指示消息。A sending unit, configured to send a message carrying the live session to the conversion gateway associated with the network location information if the processing unit determines according to the media capability information that the destination terminal device does not support the connectionless live broadcast capability and does not support the live broadcast capability The pull stream indication message of the media stream address.40.如权利要求39所述的装置,其特征在于40. The apparatus of claim 39, wherein所述发送单元,还用于向所述转换网关发送部署请求;The sending unit is further configured to send a deployment request to the conversion gateway;所述接收单元,还用于接收来自所述转换网关的部署完成消息。The receiving unit is further configured to receive a deployment completion message from the conversion gateway.41.如权利要求39或40所述的装置,其特征在于,41. The device of claim 39 or 40, wherein所述接收单元,还用于接收来自转换网关的拉流成功消息;其中,所述拉流成功消息表示所述转换网关成功从所述CDN系统拉取到所述直播会话的媒体流,所述拉流成功消息携带端口号;The receiving unit is further configured to receive a stream pull success message from the conversion gateway; wherein the stream pull success message indicates that the conversion gateway successfully pulls the media stream of the live session from the CDN system, and the The pull success message carries the port number;所述发送单元,还用于向所述目的终端设备发送携带所述端口号的成功响应消息。The sending unit is further configured to send a success response message carrying the port number to the destination terminal device.42.如权利要求39或40所述的装置,其特征在于,42. The device of claim 39 or 40, wherein所述发送单元,还用于向所述目的终端设备发送成功响应消息;The sending unit is further configured to send a success response message to the destination terminal device;所述处理单元,还用于指示媒体资源功能网元向所述目的终端设备推送所述直播会话的媒体流。The processing unit is further configured to instruct the media resource function network element to push the media stream of the live session to the destination terminal device.43.如权利要求42所述的装置,其特征在于,43. The apparatus of claim 42, wherein所述接收单元,还用于接收来自转换网关的拉流成功消息;其中,拉流成功消息表示转换网关成功从CDN系统拉取到所述直播会话的媒体流,所述拉流成功消息携带端口号;The receiving unit is further configured to receive a stream pull success message from the conversion gateway; wherein the stream pull success message indicates that the conversion gateway successfully pulls the media stream of the live session from the CDN system, and the stream pull success message carries the port No;所述发送单元,还用于向目的终端设备发送携带所述端口号的媒体流切换消息;其中,所述媒体流切换消息携带所述端口号,所述媒体流切换消息用于指示所述目的终端设备根据端口号接收来自所述转换网关的媒体流。The sending unit is further configured to send a media stream switching message carrying the port number to the destination terminal device; wherein the media stream switching message carries the port number, and the media stream switching message is used to indicate the destination The terminal device receives the media stream from the conversion gateway according to the port number.44.一种直播通信的装置,其特征在于,包括:44. A device for live communication, comprising:接收单元,用于接收来自应用服务器的拉流指示消息;其中,所述拉流指示消息携带所述媒体流地址,所述媒体流地址为直播会话的媒体流映射到CDN系统中的地址;a receiving unit, configured to receive a stream pull instruction message from an application server; wherein, the stream pull instruction message carries the media stream address, and the media stream address is the address in the CDN system mapped from the media stream of the live session;发送单元,用于向所述CDN系统发送携带所述媒体流地址的拉流请求;a sending unit, configured to send a stream pull request carrying the media stream address to the CDN system;所述发送单元,还用于在处理单元确定成功根据所述媒体流地址从CDN系统拉取到所述直播会话的媒体流时,向所述应用服务器发送携带端口号的拉流成功消息;The sending unit is further configured to send a stream pulling success message carrying a port number to the application server when the processing unit determines that the media stream of the live session is successfully pulled from the CDN system according to the media stream address;所述发送单元,还用于在所述端口号向目的终端设备发送所述直播会话的媒体流。The sending unit is further configured to send the media stream of the live session to the destination terminal device at the port number.45.如权利要求44所述的装置,其特征在于,45. The apparatus of claim 44, wherein所述接收单元,还用于接收来自所述应服务器的部署请求;其中,所述部署请求携带所述目的终端设备的网络位置信息和标识;The receiving unit is further configured to receive a deployment request from the application server; wherein the deployment request carries the network location information and identifier of the destination terminal device;所述发送单元,还用于所述处理单元确定根据所述部署请求完成部署时,向所述应用服务器发送部署完成消息。The sending unit is further configured to send a deployment completion message to the application server when the processing unit determines that the deployment is completed according to the deployment request.46.如权利要求44或45所述的装置,其特征在于,所述拉流指示消息还携带所述直播会话的授权令牌。46. The apparatus according to claim 44 or 45, wherein the streaming instruction message further carries an authorization token of the live broadcast session.
CN201711148296.1A2017-11-172017-11-17 A method and device for live communicationActiveCN109802932B (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN201711148296.1ACN109802932B (en)2017-11-172017-11-17 A method and device for live communication
PCT/CN2018/114761WO2019096063A1 (en)2017-11-172018-11-09Method and device for live broadcast communication

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201711148296.1ACN109802932B (en)2017-11-172017-11-17 A method and device for live communication

Publications (2)

Publication NumberPublication Date
CN109802932Atrue CN109802932A (en)2019-05-24
CN109802932B CN109802932B (en)2022-04-12

Family

ID=66538446

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201711148296.1AActiveCN109802932B (en)2017-11-172017-11-17 A method and device for live communication

Country Status (2)

CountryLink
CN (1)CN109802932B (en)
WO (1)WO2019096063A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112788348A (en)*2020-12-302021-05-11北京飞讯数码科技有限公司On-demand method, device, equipment, system and storage medium
CN112887258A (en)*2019-11-292021-06-01华为技术有限公司Communication method and device based on augmented reality
WO2021169962A1 (en)*2020-02-242021-09-02北京字节跳动网络技术有限公司Interaction method and apparatus, and electronic device
CN113538024A (en)*2020-04-142021-10-22中国移动通信集团浙江有限公司Advertisement management method, system and content transmission network equipment

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110536146B (en)*2019-08-192021-12-31广州点云科技有限公司Live broadcast method and device based on cloud game and storage medium
CN112929874A (en)*2019-11-212021-06-08中兴通讯股份有限公司Base station, terminal, communication system, information transmission method, and storage medium
CN114513698B (en)*2020-11-162023-08-22中国联合网络通信集团有限公司Panoramic sound playing system and method
US20230300860A1 (en)*2022-02-082023-09-21Qualcomm IncorporatedUniform resource locator indicating parameters for reception of a service announcement for a receive only mode service
CN114553839B (en)*2022-02-252024-03-15阿里巴巴(中国)有限公司RTC data processing method and device
CN115002081B (en)*2022-05-302023-12-26重庆紫光华山智安科技有限公司Media stream transmission method and related device
CN115412737B (en)*2022-08-302024-03-08上海哔哩哔哩科技有限公司Live broadcast return source relay node determining method and device
CN115190328B (en)*2022-09-132023-01-20北京达佳互联信息技术有限公司Method and device for issuing and checking electronic resources, electronic equipment and storage medium
CN115550323A (en)*2022-09-202022-12-30共道网络科技有限公司 A method and device for accessing external network streaming media data

Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101026615A (en)*2006-02-182007-08-29华为技术有限公司IMS-based flow media network system
US20090183211A1 (en)*2006-09-252009-07-16Huawei Technologies Co., Ltd.System, method and device for enabling ims terminals to access existing iptv services
CN102469347A (en)*2010-11-042012-05-23中兴通讯股份有限公司content playing method and system
US20120209952A1 (en)*2011-02-112012-08-16Interdigital Patent Holdings, Inc.Method and apparatus for distribution and reception of content
EP2785012A1 (en)*2013-03-282014-10-01Alcatel LucentA mediator for optimizing the transmission of media contents between a multimedia resource function and a plurality of terminals
CN105516748A (en)*2015-11-272016-04-20北京奇虎科技有限公司 A method and server for realizing webcast
CN105872614A (en)*2016-04-122016-08-17乐视控股(北京)有限公司Live stream switching method and device
US20170163706A1 (en)*2015-12-072017-06-08Le Holdings (Beijing) Co., Ltd.Method, electronic device and system for controlling pull stream

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101030961B (en)*2006-03-022010-08-25华为技术有限公司Method and system for realizing time-transferring TV-set service based on NGN network
CN105451096B (en)*2015-12-022018-08-10北京暴风云科技有限公司Network direct broadcasting system and live broadcasting method
CN106954079B (en)*2017-03-142020-03-17北京潘达互娱科技有限公司Live broadcast record statistical method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101026615A (en)*2006-02-182007-08-29华为技术有限公司IMS-based flow media network system
US20090183211A1 (en)*2006-09-252009-07-16Huawei Technologies Co., Ltd.System, method and device for enabling ims terminals to access existing iptv services
CN102469347A (en)*2010-11-042012-05-23中兴通讯股份有限公司content playing method and system
US20120209952A1 (en)*2011-02-112012-08-16Interdigital Patent Holdings, Inc.Method and apparatus for distribution and reception of content
EP2785012A1 (en)*2013-03-282014-10-01Alcatel LucentA mediator for optimizing the transmission of media contents between a multimedia resource function and a plurality of terminals
CN105516748A (en)*2015-11-272016-04-20北京奇虎科技有限公司 A method and server for realizing webcast
US20170163706A1 (en)*2015-12-072017-06-08Le Holdings (Beijing) Co., Ltd.Method, electronic device and system for controlling pull stream
CN105872614A (en)*2016-04-122016-08-17乐视控股(北京)有限公司Live stream switching method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
BELLA: "互动直播的技术细节和解决方案实践经验谈", 《HTTPS://WWW.SOHU.COM/A/128072897_464005》*
张发财: "互动直播的技术细节和解决方案实践经验谈", 《HTTPS://WWW.CNBLOGS.COM/ZHANGXIAOLIU/P/6586575.HTML》*
邢怀飞: "百度云互动直播的技术细节和解决方案实践经验谈", 《HTTPS://WWW.INFOQ.CN/ARTICLE/PRACTICAL-EXPERIENCE-OF-BAIDU-CLOUD-INTERACTIVE-LIVE》*

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112887258A (en)*2019-11-292021-06-01华为技术有限公司Communication method and device based on augmented reality
WO2021169962A1 (en)*2020-02-242021-09-02北京字节跳动网络技术有限公司Interaction method and apparatus, and electronic device
US12425257B2 (en)2020-02-242025-09-23Beijing Bytedance Network Technology Co., Ltd.Interaction method and apparatus, and electronic device
CN113538024A (en)*2020-04-142021-10-22中国移动通信集团浙江有限公司Advertisement management method, system and content transmission network equipment
CN113538024B (en)*2020-04-142023-12-26中国移动通信集团浙江有限公司Advertisement management method, system and content transmission network equipment
CN112788348A (en)*2020-12-302021-05-11北京飞讯数码科技有限公司On-demand method, device, equipment, system and storage medium

Also Published As

Publication numberPublication date
CN109802932B (en)2022-04-12
WO2019096063A1 (en)2019-05-23

Similar Documents

PublicationPublication DateTitle
CN109802932A (en)A kind of method and apparatus of cast communication
EP2830337B1 (en)Broadband digital trunking service implementation method and trunking scheduling management centre
EP2493248A1 (en)Evolved packet system and method for processing emergency call attachment thereof
CN101420432B (en) A method, system and device for implementing IMS monitoring
CN110401972A (en)Method, equipment and the system of route messages in the network of Multi net voting slice
KR20210055546A (en)Apparatus and method for establishing an mbs service session for providing an mbs service in a wireless communication system
CN113811025A (en) A method, device and system for releasing relay connection
CN101835135B (en)System and method for realizing voice call video service
CN115884177A (en)Communication method, device and system
CN113747604B (en)Communication method, device and system
KR101779867B1 (en)Method, apparatus and system for group session
CN103428893B (en)Carrying path establishment method, multi-link server and communication system
CN102355653B (en)Inter-terminal communication method, control equipment, user equipment, base station and network system
KR20170068106A (en)Apparatus and method for multiple services in a wireless communication system
CN113412679B (en) Communication method and device
CN108464034B (en) Voice service processing method and device
CN111031528A (en) A kind of connection establishment method and device of private network
JP6087343B2 (en) Personal network merge method and apparatus, and personal network division method and apparatus
WO2011029862A1 (en)Method and system for converting text messages into voice over ip calls from a web interface
EP2119183B1 (en)Communication system
KR20150028624A (en)Method and apparatus for processing concurrent call
KR102108247B1 (en)Method and apparatus for accounting of group video telephony
CN100461878C (en) Method for Realizing Media Gateway Control Protocol Announcement
WO2024208115A1 (en)Communication method and apparatus
WO2014180409A1 (en)User bridging call-connection processing method, device and media server

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp