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.
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.