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

A kind of method and apparatus of cast communication Download PDF

Info

Publication number
CN109802932A
CN109802932A CN201711148296.1A CN201711148296A CN109802932A CN 109802932 A CN109802932 A CN 109802932A CN 201711148296 A CN201711148296 A CN 201711148296A CN 109802932 A CN109802932 A CN 109802932A
Authority
CN
China
Prior art keywords
terminal device
purpose terminal
media stream
live
application server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711148296.1A
Other languages
Chinese (zh)
Other versions
CN109802932B (en
Inventor
谢潜
张彪
李拓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201711148296.1A priority Critical patent/CN109802932B/en
Priority to PCT/CN2018/114761 priority patent/WO2019096063A1/en
Publication of CN109802932A publication Critical patent/CN109802932A/en
Application granted granted Critical
Publication of CN109802932B publication Critical patent/CN109802932B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Abstract

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

Description

A kind of method and apparatus of cast communication
Technical field
The present invention relates to the communications field more particularly to a kind of method and apparatus of cast communication.
Background technique
With the development of network technology, the bandwidth of network obtains rapid growth accordingly, and current communication network supports enough The ability of live video or audio.Such as: it is being based on IMS (IP multimedia subsystem, IP multimedia subsystem) In distributed conference system, Conference, the primary professional ability based on IMS are supported, it may be convenient to provide small-scale Live broadcast service, such as: the push of Content of Communication may be implemented, based on message, group, present class business information series business hand over Mutually, it may be implemented to interact.Current IMS communication system is all two-way for UE (user equipment, user equipment) Letter, UE it is large number of when, expense is very big.The all-calls participant of same session all connects the call manager of a logic Center causes there are center resources bottleneck, can not the huge UE of supported amount.
Summary of the invention
The technical problem to be solved by the embodiment of the invention is that the communication means and relevant device of a kind of live streaming, using clothes The interface of intercommunication is provided between business device and CDN system, application server can distribute the media of live session by CDN system Stream, 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 way It 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 function Energy 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 system Location, 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 addresses Purpose 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 session Mark, 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 session The distribution of other network elements is obtained by application server immediately.Reception pattern indicates that terminal device only receives Media Stream, does not send matchmaker Body stream, it is of course possible to send control information.Terminal device has different roles, including live streaming side and spectators in live session Side, 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 set The 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 system Address, purpose terminal device can reduce the acquisition of purpose terminal device using Media Stream addresses from CDN system pull media stream The 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 server Server receives the live streaming call request from the source terminal equipment being located in live session, and live streaming call request is for calling mesh Terminal device, application server obtain purpose terminal device media capability information, media capability information indicate purpose terminal The communication capacity that equipment has, if determining that terminal device supports connectionless live streaming ability, application service according to media capability information Device sends re-direction applications server to purpose terminal device and sends carrying Media Stream addresses and warrant to purpose terminal device The message message of board.The connectionless live streaming ability of the application, which indicates to have, obtains live session by connectionless mode Media Stream addresses of the Media Stream in CDN system, and by connectionless mode according to Media Stream addresses from CDN system pull-up The 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 streaming Source terminal equipment in session;Application server obtains the media capability information of purpose terminal device, if being believed according to media capability It ceases and determines that purpose terminal device supports connectionless live streaming ability, application server sends to source terminal equipment and asks for live streaming calling The redirection message asked redirects the live streaming call request that message is used to terminate source terminal equipment initiation, and application server is to mesh Terminal 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 support The coding mode etc. of the medium type, support held.Application server can in the registration request of terminal device or call request or Other domestic middle media capability informations for obtaining purpose terminal device.Connectionless live streaming ability expression does not need to establish acquisition conversation The 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 server Server receives the live streaming call request from purpose terminal device, which is used to call the source in live session Terminal device, application server obtains the media capability information of purpose terminal device, if determining purpose according to media capability information Terminal device supports connectionless live streaming ability, and application server sends resetting for live streaming call request to purpose terminal device To 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 server Server 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 whole End equipment, application server send the redirection message for live streaming call request to purpose terminal device, and application server obtains The media capability information of purpose terminal device is taken, if determining that purpose terminal device supports connectionless live streaming according to media capability information Ability, 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 server Server 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 whole End 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 session The media capability information that purpose terminal device is obtained with server, if determining purpose terminal device portion branch according to media capability information Connectionless live streaming ability is held, application server sends the successful sound for carrying Media Stream addresses and authorization token to purpose terminal device Message 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 server Server 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 whole End equipment, application server obtain the media capability information of purpose terminal device, if determining purpose end according to media capability information End equipment does not support connectionless live streaming ability but supports live streaming ability, and application server sends to purpose terminal device and carries media Flow 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: application Server obtains the media capability information of purpose terminal device, example during purpose terminal device initiates registration or calling Such 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 device Letter mode;Or
Application server is according to group service data, address list business datum, call authority business datum or signing information Determine 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 session Communication 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 carries Authorization token switches over the communication pattern of purpose terminal device after the application server verifying authorization token is legal, by A current reception pattern is switched to interactive model, answers server instruction media resource function network element (MRF) acquisition interactive model Purpose 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 from The plug-flow instruction message of application server, plug-flow instruction message carry the mark of live session;Media resource function network element according to The standard of live session obtains the Media Stream of live session, and obtains the associated CDN system of mark with live session, media The 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 element Include: 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 converted Media 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 session Media 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 CDN System sends the drawing stream request for carrying the Media Stream addresses of live session, and purpose terminal device receives the basis from CDN system The 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 session In source terminal equipment, live streaming call request carry live session mark, the mark of source terminal equipment and media capability information At 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 clothes The 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 institute The 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 supported Broadcast ability;
The purpose terminal device receives the redirection for the live streaming call request from the application server Message;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 asked The media capability information for carrying the purpose terminal device is sought, the media capability information indicates that the purpose terminal device is supported Connectionless live streaming ability;
The purpose terminal device receives the redirection for the live streaming call request from the application server Message;
The purpose terminal device receives the Media Stream addresses of the carrying live session from application server and awards Weigh 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 asked It asks and carries the mark of the live session and the media capability information of the purpose terminal device, the media capability information indicates 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 server With 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 asked It asks for calling the source terminal equipment in the live session, the live streaming call request carries the matchmaker of the purpose terminal device Physical 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 server With 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 request Carry the authorization token of live session;
Purpose terminal device receives the communication pattern handoff response from application server.Communication pattern handoff response is used for The communication pattern for notifying purpose terminal device successful switch current, the current switch mode of purpose terminal device are only to receive mould Formula is changed to interactive model after carrying out communication pattern switching, then application server needs to indicate that MRF acquires purpose terminal device The 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 session Media 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 clothes Business device receives the live streaming call request from purpose terminal device, and live streaming call request carries the network site of purpose terminal device Information and media capability information, if determining that purpose terminal device does not support connectionless live streaming ability and not according to media capability information Support live streaming ability, application server is with sending the Media Stream for carrying live session to the associated transfer gateway of network location information The drawing stream instruction message of location.
Wherein, connectionless live streaming ability indicates that there is connectionless mode to obtain Media Stream addresses, and with connectionless Mode obtains the ability of Media Stream from CDN system;Live streaming ability indicates to have obtains Media Stream addresses by way of session, with And 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 information Ability and do not support live streaming ability, application server sends to the associated transfer gateway of network location information and carries live session Before 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 root Virtual 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 gateway Complete 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 success The 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 away The port address of the Media Stream of live session is sent, application server sends the success response for carrying port numbers to purpose terminal device Message.
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 net Media 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 net It 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 purpose Terminal device sends the Media Stream handover request for carrying port numbers;Wherein, Media Stream handover request carries port numbers, and Media Stream is cut It 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-application The 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 CDN Address in system;Transfer gateway sends the drawing stream request for carrying Media Stream addresses to CDN system, and transfer gateway is to application service Device 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 device Body stream.
In a kind of possible design, further includes: transfer gateway receives the deployment request from application server;Deployment is asked Seek 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 application Business 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 Stream Location 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 media The 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 addresses The 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 used Source terminal equipment in calling live session;The corresponding SBC of source terminal equipment obtains the multiplexing number of live session, is being broadcast live In 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 session To 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 disappears Breath 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 design SBC discharges the live session.The multiplexing number of live session indicates the quantity of purpose terminal device in live session, is being broadcast live When the quantity of purpose terminal device is 0 in session, application server notice source terminal equipment exits live session, and discharges live streaming The resource of session.
7th aspect, this application provides a kind of device of cast communication, which has the method for realizing first aspect The function of middle application server behavior.The function can also execute corresponding software by hardware realization by hardware It 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 root Content 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 institute The 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 device Communication pattern be a reception pattern.
In alternatively possible implementation, described device includes: receiver, transmitter, memory and processor;Its In, batch processing code is stored in the memory, and the processor is for calling the program generation stored in the memory Code 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 described The 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 device Communication 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 used The method implementation and brought beneficial effect of the application server of energy, therefore the implementation of the device may refer to method Implementation, overlaps will not be repeated.
Eighth aspect, this application provides a kind of device of cast communication, which has the method for realizing second aspect The function of middle media resource function network element behavior.The function can also be executed corresponding by hardware realization by hardware Software 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 server Flow 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 obtains With 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;Its In, receiver is for receiving the plug-flow instruction message from application server;Wherein, the plug-flow instruction message carries live streaming meeting The mark of words;Batch processing code is stored in the memory, and the processor is used to call to store in the memory Program 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 session The 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 used The method implementation and brought beneficial effect of the media resource function network element of energy, therefore the implementation of the device can be joined The 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 aspect The function of middle purpose terminal device behavior.The function can also be executed corresponding soft by hardware realization by hardware Part 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 session Location;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 system The Media Stream of words.
In alternatively possible implementation, described device includes: receiver, transmitter, memory and processor;Its In, receiver is for receiving the plug-flow instruction message from application server;Wherein, batch processing generation is stored in the memory Code, 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 reflects Penetrate 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 system Media 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 used The method implementation and brought beneficial effect of the terminal device of energy, therefore the implementation of the device may refer to method Implement, overlaps will not be repeated.
Tenth aspect, this application provides a kind of device of cast communication, which has the method for realizing fourth aspect The function of middle application server behavior.The function can also execute corresponding software by hardware realization by hardware It 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 session Location;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 system Location;
Receiving unit, for receiving the live streaming call request from purpose terminal device;Wherein, the live streaming call request Carry 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 unit It 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 institute State 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;Its In, batch processing code is stored in the memory, and the processor is for calling the program generation stored in the memory Code executes following operation:
Obtain the Media Stream addresses of live session;Wherein, the Media Stream addresses of the live session are the live session Media 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 taken Network 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 processor Connectionless live streaming ability, the associated transfer gateway of Xiang Suoshu network location information is with sending the Media Stream for carrying the live session The 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 used The method implementation and brought beneficial effect of the application server of energy, therefore the implementation of the device may refer to method Implementation, 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 aspect The function of transfer gateway behavior in method.The function can also execute corresponding software by hardware realization by hardware It 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 server Flow instruction message;Wherein, the drawing stream instruction message carries the Media Stream addresses, and the Media Stream addresses are live session Media 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 addresses When 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 numbers Stream.
In alternatively possible implementation, described device includes: receiver, transmitter, memory and processor;Its In, batch processing code is stored in the memory, and the processor is for calling the program generation stored in the memory Code, executes relevant operation.
Receiver, for receiving the drawing stream instruction message from application server;Wherein, the drawing stream instruction message carries The 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 addresses When 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 used The method implementation and brought beneficial effect of the transfer gateway of energy, therefore the implementation of the device may refer to method Implement, 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 aspect The function of the corresponding SBC of purpose terminal device (session boarder controller, Session Border Controller) behavior in method Energy.The function can also execute corresponding software realization by hardware realization by hardware.The hardware or software package 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 session Location, Media Stream addresses are that live session is mapped in the address in CDN system, and transmission unit carries matchmaker for sending to CDN system The drawing stream of body stream address is requested, receiving unit, for receiving the live session sent from CDN system according to Media Stream addresses Media 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 system In address, transmitter, for CDN system send carry Media Stream addresses drawing stream request, receiver, for receive come from The 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 straight Broadcast 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 used The 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 medium It 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 computers When, so that computer executes method described in above-mentioned various aspects.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly or in background technique below will be implemented the present invention Attached drawing needed in example or background technique is illustrated.
Fig. 1 a is the existing network architecture diagram based on IMS meeting;
Fig. 1 b is a kind of network architecture diagram based on live streaming provided in an embodiment of the present invention;
Fig. 1 c is a kind of another network architecture diagram based on live streaming provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of the communication means of live streaming provided in an embodiment of the present invention;
Fig. 3 is a kind of another flow diagram of the communication means of live streaming provided in an embodiment of the present invention;
Fig. 4 is a kind of another flow diagram of the communication means of live streaming provided in an embodiment of the present invention;
Fig. 5 is a kind of another flow diagram of the communication means of live streaming provided in an embodiment of the present invention;
Fig. 6 is a kind of another flow diagram of the communication means of live streaming provided in an embodiment of the present invention;
Fig. 7 is a kind of another flow diagram of the communication means of live streaming provided in an embodiment of the present invention;
Fig. 8 is a kind of another flow diagram of the communication means of live streaming provided in an embodiment of the present invention;
Fig. 9 is a kind of another flow diagram of the communication means of live streaming provided in an embodiment of the present invention;
Figure 10 is the flow diagram of creation live session provided in an embodiment of the present invention;
Figure 11 is a kind of another flow diagram of the communication means of live streaming provided in an embodiment of the present invention;
Figure 12 is a kind of structural schematic diagram of the device of cast communication of the embodiment of the present invention;
Figure 13 is a kind of another structural schematic diagram of the device of cast communication of the embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is described with reference to the attached drawing in the embodiment of the present invention.
Fig. 1 b be the present embodiments relate to a kind of communication system system architecture schematic diagram, the communication system includes Source 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 (Application Server, AS).
Wherein, source terminal equipment is the supplier of media content, and media content can be audio frequency media or video media, example Such as: source terminal equipment can acquire audio frequency media or video media by camera or microphone.Purpose terminal device is in media The 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 media Content;Reception pattern indicates that purpose terminal device only receives live media content, does not send live media content.CSCF network element For the network element in IMS (IP Multimedia Subsystem, IP multimedia subsystem), CSCF network element is mainly responsible for and user Functions, 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 function Manage 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 SIP The server of (Session Initiation Protocol, session initiation protocol) can execute the relevant Dialog processing of calling And control function;The multiple CSCF of deployment in IMS, each CSCF have different compasss of competency.MRF network element is the function in IMS Entity is mainly responsible for the processing to media content and provides media content, such as: mixed-media stream, code conversion and statistics money Source information etc., MRF network element are divided into media resource function controller (Multimedia Resource Function Controller, 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 turn Realize that the triggering and execution of various network services, network service include but is not limited to basic business, supplementary service, multimedia conferencing With converged communication etc..Content distributing network (Content Delivery Network, CDN) system includes central node and edge Node, 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 user The request of user is redirected on the fringe node of user, to reduce the congestion and time delay of user's access process.Multiple access Edge calculations (Multi-access Edge Computing, MEC) are the calculate node of distributed deployment, the base of calculate node Infrastructure provides virtualization, the different types of network element of the various virtualizations of the infrastructure deployment of each calculate node, at this In application, AS and MRF network element is disposed in the calculate node close to purpose terminal device, as not supporting directly from CDN system Draw 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 purpose Terminal device 11, CSCF14 administer source terminal equipment 12.Connection relationship between above-mentioned each network element device referring to shown in Fig. 1 b, this Place repeats no more.Purpose terminal device 10 do not support to be directly deployed with from CDN system pull media stream, MEC16 AS161 and MRF 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 set Standby 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 shape The 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 c It includes: purpose terminal device, source terminal equipment, Session Border Controller (Session Border Controller, SBC), CSCF And CDN system.
Wherein, SBC is the network element between two different types of networks, is mainly responsible for address conversion, network security control Functions such as (quality of service, Qos) are controlled with service quality.Multiple SBC can be disposed in communication system, it is different SBC has different compasss of competency.The function of purpose terminal device, source terminal equipment, CSCF and CDN system in communication system It 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 at In 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 b With 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 for Mobile Communication, GSM), CDMA (Code Division Multiple Access, CDMA) system, width Band CDMA (Wideband Code Division Multiple Access, WCDMA) system, worldwide interoperability for microwave accesses (Worldwide Interoperability for Microwave Access, WiMAX) system, long term evolution (long Term evolution, LTE) system, 5G communication system (such as (new radio, NR) system, a variety of communication technologys of newly eating dishes without rice or wine The 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 radio The handheld device of telecommunication function, wearable device, calculates equipment or is connected to other processing of radio modem mobile unit Equipment etc..Terminal device can be called different titles in different networks, such as: user equipment, access terminal, Yong Hudan Member, 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 Initiation Protocol, SIP) phone, wireless local loop (Wireless Local Loop, WLL) stand, personal digital assistant Terminal 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. 2 Framework 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 session Terminal device.Plug-flow request can carry in plug-flow request for requesting the Media Stream to the push live session of CDN system 15 The 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 receives After plug-flow request, CDN system 15 distributes one and distributes a Media Stream addresses for live session, and Media Stream addresses are live session Media Stream be mapped to the address in CDN system, Media Stream addresses can be URL (uniform resource locator, system One 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 AS18 Message.
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, directly Broadcast the purpose terminal device of source terminal equipment and interactive model of the Media Stream of session in live session.Plug-flow instruction message In 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 MRF The 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 MRF The 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 streaming The 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 AS18 Media 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 as In the case where preceding live session, such as: purpose terminal device 11, which passes through caller or is called, is added to current live session In.AS18 determines that purpose terminal device 11 supports that, directly from 15 pull media stream of CDN system, live session is mapped in by AS18 Media 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 terminal The 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 system The 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 device When 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, eventually End 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 magnanimity Family avoids the problem that the framework overload in the prior art centered on AS.In addition, terminal can be straight for terminal side The 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 exchange Degree.
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 from The 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 session The 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 system 15。
S302, source terminal equipment 12 send live streaming call request to AS18, and AS18 is received from the straight of source terminal equipment 12 Broadcast call request.
Wherein, live streaming call request is used for call intent terminal device 11, purpose terminal device 11 is added current straight It 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 device Code, SIP number or IMSI number etc..Live streaming call request also carries call type, and call type is used to indicate this Secondary 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 device Letter ability, AS can obtain its media capability information in the registration process of purpose terminal device 11.Such as: purpose terminal device 11 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 mesh Terminal device 11 support connectionless live streaming ability.Live streaming ability indicates that terminal device has the energy initiated or live session is added Power, connectionless live streaming ability indicates that terminal device has the initiation under connectionless state or the ability of live session is added, i.e., sharp The 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 11 Force 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's Message message.
Specifically, message message carries Media Stream addresses, Media Stream addresses are that the Media Stream of live session is mapped to Address in CDN system.Further, can also carry authorization token token in message message, authorization token for pair The certification and authentication of terminal device.
S306, purpose terminal device 11 send 200 message to AS18, and AS18 receives 200 from purpose terminal device 11 Message.
Wherein, after purpose terminal device 11 is properly received and parses message message, 200 message, AS18 are sent to AS18 It receives 200 message and knows that purpose terminal device 11 is properly received and parses the Media Stream addresses in message message and authorization Token.
S307, purpose terminal device 11 are sent to CDN system 15 draws stream request, and CDN system 15, which receives, comes from purpose terminal The 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 stream Board.
S308, CDN system 15 send the Media Stream of live session to purpose terminal device 11, and purpose terminal device 11 receives The 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 next The authorization token obtained from the authorization token of AS18 to parsing is verified, after being verified, according to the instruction of Media Stream addresses The 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 request Band 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 device Interactive model is switched to by only reception pattern;Or the case where the current communication pattern of purpose terminal device 11 is interactive model Under, 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 whole To CDN system pull media stream, the purpose terminal device under reception pattern adds the Media Stream addresses that end equipment is notified according to AS Enter into live session, be multiplexed the Media Stream of live session, reduces the occupancy to live streaming resource, can support large number of use Family.
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 hair Framework 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 net The 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 directly The 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 11 Live streaming call request.
Wherein, purpose terminal device 11 is added to current live streaming for calling source terminal equipment by live streaming call request In 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 whole The 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 set The 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 even Connect 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 mesh Terminal 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 CDN The ability of system acquisition Media Stream;Live streaming ability indicates to have obtains Media Stream addresses by way of session, and passes through meeting The 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 sent Message.
Wherein, 380 message (redirecting message) indicate the live streaming call request of AS18 refusal purpose terminal device 11, instruction Purpose terminal device 11 uses alternative service, and Media Stream addresses and authorization token are carried in 380 message, and Media Stream addresses are live streaming The 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 terminal The 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 system Address 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 receives The 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 15 It is verified according to the authorization token that the authorization token from AS18 obtains parsing, after being verified, according to Media Stream addresses Indicate 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 whole To CDN system pull media stream, the purpose terminal device under reception pattern adds the Media Stream addresses that end equipment is notified according to AS Enter into live session, be multiplexed the Media Stream of live session, reduces the occupancy to live streaming resource, can support large number of use Family.
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. 5 Framework 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 MRF The 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 a CDN system 15.
S502, purpose terminal device 11 send live streaming call request to AS18, and AS18, which is received, comes from purpose terminal device 11 Live streaming call request.
Wherein, purpose terminal device 11 is added to current live streaming for calling source terminal equipment by live streaming call request In 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 whole The 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 set The 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 even Connect live streaming ability.
S503, AS18 send 380 message to purpose terminal device 11, and purpose terminal device 11 receives 380 from AS18 Message.
Wherein, 380 message (redirecting message) indicate the live streaming call request of AS18 refusal purpose terminal device 11, instruction Purpose 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 got Ability, 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's Message message.
Wherein, Media Stream addresses and authorization token are carried in message message.Media Stream addresses are current live session Media 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 action The 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 11 Message.
Wherein, 200 message indicate that purpose terminal device 11 is properly received message message and parsing obtains message and disappears The information carried in breath.
S507, purpose terminal device are sent to CDN system draws stream request, and CDN system is received from purpose terminal device Draw 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 system Address 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 from The 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 15 It is verified according to the authorization token that the authorization token from AS18 obtains parsing, after being verified, according to Media Stream addresses Indicate 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 whole To CDN system pull media stream, the purpose terminal device under reception pattern adds the Media Stream addresses that end equipment is notified according to AS Enter into live session, be multiplexed the Media Stream of live session, reduces the occupancy to live streaming resource, can support large number of use Family.
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. 6 Framework 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 MRF17 Broadcast 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 11 Live streaming call request.
Specifically, purpose terminal device 11 for being added in current live session by live streaming call request, live streaming is exhaled The mark for making request carry media ability information and live session, the mark of live session is for indicating the body of live session Part, different live sessions has different marks, and the mark of live session can be issued in social platform or webpage.Media energy Force 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_call And connect_less_bc_call, bc_call indicate that terminal device supports live streaming ability, connect_less_bc_call table Show 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 obtained Power, 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 energy Power indicates that there is connectionless mode to obtain Media Stream addresses, and obtains Media Stream from CDN system in connectionless mode Ability;Live streaming ability indicates to have obtains Media Stream addresses by way of session, and from CDN system by way of session Obtain the ability of Media Stream.
S604, AS18 send 200 message to purpose terminal device 11, and purpose terminal device 11 receives 200 from AS18 Message.
Wherein, 200 message are success response message, indicate that purpose terminal device 11 is successfully joined current live session In, 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 system Address in system, authorization token is for authenticating and authenticating to user.In addition, AS18 can notify authorization token to give CDN system System 15.
S605, purpose terminal device 11 are sent to CDN system 15 draws stream request, and CDN system 15, which receives, comes from purpose terminal The 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 receives The 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 pattern Equipment 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 many More 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 MRF15 Media 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 terminal The 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 but Connectionless live streaming ability is not supported, such as: the field in live streaming call request in support header field is bc_call, indicates purpose 11 support live streaming abilities of terminal device.In addition, AS18 determines that purpose terminal device 11 is supported directly according to media capability information The ability of stream is drawn from CDN system.Wherein, connectionless live streaming ability indicates that there is connectionless mode to obtain Media Stream addresses, with And 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 session Media 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 AS18 Breath.
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 15 In address, authorization token is for authenticating and authenticate to user.200 message indicate that purpose terminal device 11 is successfully joined In 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 terminal The 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 receives The 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 session Purpose terminal device is given, purpose terminal device passes through Media Stream of the Media Stream addresses from CDN system pull-up live session, realization pair The multiplexing of already present live session does not need to establish new live session, reduces the consumption to resource, can support that quantity is many More 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 net The 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, currently It include source terminal equipment 12 in established live session.The description of detailed process reference Fig. 3 to Fig. 5 of S801, herein no longer It repeats.
S802, purpose terminal device 10 send live streaming call request to AS18, and AS18, which is received, comes from purpose terminal device 10 Live 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 request For 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 equipment In 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 ims Position, such as: network location information includes PANI (private access network information, privately owned access The 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 supported Live 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 up It 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 stream Power needs to dispose a transfer gateway for purpose terminal device 10, substitutes purpose terminal device 10 from CDN system pull media Stream, 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 manner Equipment.
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 10 Operator node sends deployment request, hsrdware requirements information and functional information needed for carrying transfer gateway in deployment request, hardware Hardware parameter needed for demand information indicates transfer gateway, functional information indicate that transfer gateway realizes the letter of the software of correlation function Breath.
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 can To 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 gateway It 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, matchmaker Body 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 user Card 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 gateway Request.
Wherein, draw stream request for drawing stream request with carrying the Media Stream of AS18 notice to 15 pull media stream of CDN system Location 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 system The 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 addresses The 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 disappears Breath.
Wherein, draw in stream success message and carry port numbers: m=video port1, the port numbers are that transfer gateway push is straight The 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 15 Media 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 12 Live session, carry port numbers in 200 message, which is the port of the Media Stream that transfer gateway pushes live session Location.
S811, transfer gateway send the Media Stream of live session to purpose terminal device 10, and purpose terminal device 10 receives The 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 gateway The 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 device Transfer gateway is disposed, carries out drawing stream from CDN system by transfer gateway, and by the media stream pulled to terminal device, in this way Terminal 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 net The 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, currently It include source terminal equipment 12 in established live session.The description of detailed process reference Fig. 3 to Fig. 5 of S901, herein no longer It repeats.
In a kind of possible embodiment, AS18 is interacted with MRF network element 17, obtains whether MRF network element 17 has broadcast And 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 will The live media port assignment of downlink is negotiating Media Stream addresses with the purpose terminal device of only reception pattern on multicast address When use.
S902, purpose terminal device 10 send live streaming call request to AS18, and AS18, which is received, comes from purpose terminal device 10 Live 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 request Network 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 AS18 Message.
Wherein, 200 message are expressed as function response message, indicate that purpose terminal device 10 is successfully joined 12 institute of source terminal equipment Live session in.Port numbers can be carried in 200 message, indicative purpose terminal device receives MRF network element according to the port numbers The 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 receives Media 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 message Media Stream greatly reduce then purpose terminal device 10 can quickly get the Media Stream of live session from MRF network element 17 Terminal 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, to Deployment request is sent close to the calculate node of purpose terminal device 10 in MEC16, is carried needed for transfer gateway in deployment request Hsrdware 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 virtualization A transfer gateway, transfer gateway are the equipment that AS18 and MRC17 are disposed in a distributed way on MEC16.It is set in purpose terminal It 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 stream Pull 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 gateway It 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 straight The 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 gateway Request.
S910, CDN system 15 send the Media Stream of live session to transfer gateway, and transfer gateway, which receives, comes from CDN system The 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 disappears Breath.
Wherein, it draws stream success message to indicate that transfer gateway success pulls the Media Stream to live session from CDN system 15, draws Port 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 AS18 Stream 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 system The 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 receives The 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 device Transfer 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 device Media Stream, when transfer gateway successfully pulls Media Stream, terminal device is switched to from transfer gateway and obtains Media Stream, such energy Reduce 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 10 Framework 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 invention Example, 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 MRF It 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 model The 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 connects The 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 configuration Source 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 13 Live 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 live For 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 live In can also carry the media capability information of equipment 13 in purpose, media capability information includes connectionless live streaming ability and live streaming energy Power, connectionless live streaming ability, which indicates to have, obtains Media Stream addresses by connectionless-mode, and direct according to Media Stream addresses From the ability of CDN system pull media stream.The expression of live streaming ability obtains Media Stream addresses, Yi Jitong by way of establishing session The 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 authorities Formula.Such as: in the group service or address book service of source terminal equipment 12, increase the communication pattern for indicating each terminal device Policy data.
In a kind of possible embodiment, AS18 determines purpose terminal according to the corresponding idling-resource size of live broadcast service The 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 time When resource size is greater than preset value, interactive model is set by the communication pattern of purpose terminal device, otherwise sets purpose terminal Standby 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 13 The 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 pattern Indicate 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 mesh The communication pattern of terminal device 13 be interactive model, when communication pattern indicates that information is " 0 ", indicate purpose terminal device 13 Communication pattern is a reception pattern.
In alternatively possible embodiment, AS18 is according to group service data, address book service data, call authority Business 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 information The 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 extremely A 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 set Interactive 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 district For interactive model;Purpose terminal device element address location be suburb when, setting purpose terminal device communication pattern be only Reception pattern.
It is appreciated that the settable multiple rules of AS18 are arranged the communication pattern of purpose terminal device, multiple rules can be with It 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 session Multiplexing 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 set The 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 session Multiplexing number be greater than preset quantity when, set a reception pattern for the communication pattern of purpose terminal device;In live session Multiplexing 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 or Video 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 resource At 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 15 Mouthful, AS18 indicates that CDN system distributes the Media Stream of live session by the interface of extension, reduces terminal device and obtains Media Stream Time 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 reflects Penetrate 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 AS18 Location.
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 real The 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 device 12 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 terminal Standby 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 source Terminal 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 SBC16 Broadcast 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 from 200 message of SBC1104.
Wherein, live session is successfully established, and live session includes purpose terminal device 1102 and source terminal equipment, MRF net Member 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 equipment Media 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 meeting The 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 acquisition Include 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 terminal Standby 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 terminal It 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, and Media 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 request For 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 from The 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 12 The mark of session judges that live session has existed, and does not need to re-establish new live session again, SBC16 sets purpose terminal Standby 11 are added in the live session pre-established.SBC16 obtains the multiplexing number of live session, and multiplexing number indicates live streaming meeting The 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 quantity It 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 0 The process of session includes: whether the resource that live session occupies, and sends conversation end message to source terminal equipment 13, instruction source is whole End 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 system Receive 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 system Message.
Wherein, the Media Stream addresses of live session are carried in response message, the Media Stream addresses of the live session are live streaming The 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, 200 The 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 from The 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 session Media Stream addresses.
S1117, CDN system fringe node to the central node of CDN system send draw stream request, the center of CDN system Node 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 matchmaker The 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 system Point 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 system The Media Stream of point.
S1120, SBC14 send 200 message to purpose terminal device 11, and purpose terminal device 11 is received from SBC14's 200 message.
Wherein, in the case that SBC14 success pulls the Media Stream to live session from CDN system, to purpose terminal device 11 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 SBC14 Body 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 device SBC carry out drawing stream from CDN system by the SBC as transfer gateway, and by the media stream pulled to terminal device, this Sample 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 application Server, the application server may include receiving unit 1201, processing unit 1202 and transmission unit 1203, wherein each Unit 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 content Distribution network CDN system;
Receiving unit 1201, for receiving the Media Stream addresses from the CDN system;Wherein, the Media Stream addresses The 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 terminal The 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 information Ability,
The redirection message for the live streaming call request is sent to the source terminal equipment, and whole to the purpose End 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 streaming Call 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 information Ability, Xiang Suoshu purpose terminal device send the redirection message for the live streaming call request;Wherein, the redirection disappears Breath 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 streaming Call 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 information Ability, 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 streaming Call request is used to call the source terminal equipment in the live session, and the live streaming call request carries the live session Mark;
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 supported Ability 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 streaming Call 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 supported Ability 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 calling The 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 device Mode;Or
The mesh is determined according to group service data, address book service data, call authority business datum or signing information Terminal device communication pattern;Or
The logical of the purpose terminal device is determined according at least one of call time, calling place, region, user name Letter mode;Or
The purpose terminal is determined according to the multiplexing number of the identity information of purpose terminal device and/or the live session The 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 device Formula 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. 7 Embodiment 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 application Server, application server 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-only Memory (Read-Only Memory, ROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read 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 1302 Corresponding 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 point Hairnet network CDN system;
Receiver 1303, for receiving the Media Stream addresses from the CDN system;Wherein, the Media Stream addresses are The 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 set Standby 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;Its In, 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 information Power,
The redirection message for the live streaming call request is sent to the source terminal equipment, and whole to the purpose End 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 exhaled Cry 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 information Power, Xiang Suoshu purpose terminal device send the redirection message for the live streaming call request;Wherein, the redirection message Carry 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 exhaled Cry 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 information Power, 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 exhaled Request is made to carry the mark of the live session for calling the source terminal equipment in the live session, the live streaming call request Know;
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 information Ability, 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 exhaled Cry 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 information Ability, 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 sets Standby 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 device Mode;Or
The mesh is determined according to group service data, address book service data, call authority business datum or signing information Terminal device communication pattern;Or
The logical of the purpose terminal device is determined according at least one of call time, calling place, region, user name Letter mode;Or
The purpose terminal is determined according to the multiplexing number of the identity information of purpose terminal device and/or the live session The communication pattern of equipment.
Optionally, receiver 1301 are also used to receive the communication pattern switching request from the purpose terminal device;Its In, 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 device It 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. 7 It 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 end When 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 terminal Equipment, 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 large The user of amount avoids the problem that the framework overload in the prior art centered on AS.In addition, for terminal side, eventually End can be directly added in live session by way of calling, be avoided in the prior art through APP (application, application Software) it is broadcast live, it does not need the difficulty for reducing exploitation for different types of terminal adaptation APP and reduces Signalling exchange Complexity.
2, Figure 12 can indicate that a kind of structural schematic diagram of device, device are media resource function management again referring to Figure 1 Network element, the media resource function network element may include receiving unit 1201, processing unit 1202 and transmission unit 1203, wherein Each 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 disappears Breath 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, and Obtain 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, specifically Are as follows:
Indicate that processing unit 1202 identifies whether the Media Stream of the live session meets the coding that the CDN system is supported Format;
If it has not, instruction processing unit 1202 is formatted according to the coded format that the CDN system is supported, according to The 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. 7 It 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 1 Member, media resource function network element include processor 1301, memory 1302, receiver 1303 and transmitter 1304, the processing Device 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-only Memory (Read-Only Memory, ROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read 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 1302 Code executes corresponding operation.
Receiver 1303, for receiving the plug-flow instruction message from application server;Wherein, the plug-flow instruction message Carry 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 obtained It 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 supported Formula;
If it has not, instruction processor 1301 is formatted according to the coded format that the CDN system is supported, according to institute The 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. 7 It 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, should Purpose terminal device may include receiving unit 1201, processing unit 1202 and transmission unit 1203, wherein each unit it is detailed Carefully it is described as follows.
Processing unit 1202, for obtaining the Media Stream addresses of live session;Wherein, the Media Stream addresses are described straight The 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 straight Broadcast 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 meeting Source terminal equipment in words carries the mark of the live session, the mark of the source terminal equipment in the live streaming call request At 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 system Location, specifically:
When the purpose terminal device supports connectionless live streaming ability, instruction receiving unit 1201, which receives, carrys out self-application clothes The 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 taken Media capability information with the purpose terminal device, the media capability information indicate that the purpose terminal device is supported without even Connect live streaming ability;
Indicate that receiving unit 1201 receives the redirection for the live streaming call request from the application server Message;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 asked The media capability information for carrying the purpose terminal device is sought, the media capability information indicates that the purpose terminal device is supported Connectionless live streaming ability;
Indicate that receiving unit 1201 receives the redirection for the live streaming call request from the application server Message;
Indicate that receiving unit 1201 receives the Media Stream addresses of the carrying live session from application server and awards Weigh 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 asked It asks and carries the mark of the live session and the media capability information of the purpose terminal device, the media capability information indicates 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 server With 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 asked It asks for calling the source terminal equipment in the live session, the live streaming call request carries the matchmaker of the purpose terminal device Physical 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 server With the success response message of authorization token.
Optionally, transmission unit 1203 are also used to send communication pattern switching request to application server;Wherein, described Communication 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. 7 It 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 1 Terminal device include processor 1301, memory 1302, receiver 1303 and transmitter 1304, the processor 1301 is deposited Reservoir 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-only Memory (Read-Only Memory, ROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read 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 streaming The 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 system The 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 meeting Source terminal equipment in words carries the mark of the live session, the mark of the source terminal equipment in the live streaming call request At 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 system Location, specifically:
When the purpose terminal device supports connectionless live streaming ability, instruction receiver 1303, which receives, comes from application service The 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 carries The media capability information of the purpose terminal device, it is connectionless that the media capability information indicates that the purpose terminal device is supported Live streaming ability;
Indicate that receiver 1303 receives the redirection for the live streaming call request from the application server and disappears Breath;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 request The media capability information of the purpose terminal device is carried, the media capability information indicates that the purpose terminal device supports nothing Connect live streaming ability;
Indicate that receiver 1303 receives the redirection for the live streaming call request from the application server and disappears Breath;
Indicate that receiver 1303 receives Media Stream addresses and the authorization of the carrying live session from application server The message message of voucher;Or
Indicator -transmitter 1304 sends live streaming call request to the application server;Wherein, the live streaming call request The mark of the live session and the media capability information of the purpose terminal device are carried, the media capability information indicates institute It 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 and The success response message of authorization token;Or
Indicator -transmitter 1304 sends live streaming call request to the application server;Wherein, the live streaming call request For calling the source terminal equipment in the live session, the live streaming call request carries the media of the purpose terminal device Ability 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 and The success response message of authorization token.
Optionally, transmitter 1304 are also used to send communication pattern switching request to application server;Wherein, described logical Letter 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. 7 It 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 1 Server may include receiving unit 1201, processing unit 1202 and transmission unit 1203, wherein the detailed description of each unit It is as follows.
Processing unit 1202, for obtaining the Media Stream addresses of live session;Wherein, the Media Stream of the live session Location 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 calling Request 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 unit Standby not support connectionless live streaming ability, the associated transfer gateway of Xiang Suoshu network location information, which is sent, carries the live session The 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 drawing Stream success message indicates that the transfer gateway success pulls the Media Stream to the live session, the drawing from the CDN system It 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 disappears Breath.
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 device The Media Stream of session.
Optionally, the receiving unit is also used to receive the drawing stream success message from transfer gateway;Wherein, draw stream at Function message indicates that transfer gateway success pulls the Media Stream to the live session from CDN system, and the drawing stream success message is taken Band 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 terminal Equipment 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. 9 It 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 1 Server purpose terminal device includes 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-only Memory (Read-Only Memory, ROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read 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 session The 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 asked Seek 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 unit Connectionless live streaming ability is not supported, and the associated transfer gateway of Xiang Suoshu network location information sends the matchmaker for carrying the live session The 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 stream Success message indicates that the transfer gateway success pulls the Media Stream to the live session, the drawing stream from the CDN system Success 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 device The 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 successfully Message indicates that transfer gateway success pulls the Media Stream to the live session from CDN system, and the drawing stream success message carries Port numbers;
The transmitter is also used to send the Media Stream handover request for carrying the port numbers to purpose terminal device;Its In, the Media Stream handover request carries the port numbers, and the Media Stream handover request is used to indicate the purpose terminal and sets It 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. 9 It 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 1 Pass may include receiving unit 1201, processing unit 1202 and transmission unit 1203, wherein the detailed description of each unit is such as Under.
Receiving unit 1201, for receiving the drawing stream instruction message from application server;Wherein, the drawing stream instruction disappears Breath 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 CDN When system pulls the Media Stream of the live session, the drawing stream that Xiang Suoshu application server sends carrying port numbers successfully disappears Breath;
The transmission unit 1203 is also used to send the matchmaker of the live session to purpose terminal device in the port numbers Body stream.
Optionally, the receiving unit is also used to receive and request from the deployment for answering server;Wherein, the portion Administration'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 Suoshu Application 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.1 It 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 1 Close 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-only Memory (Read-Only Memory, ROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read 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 drawing The 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 system To 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 deployment Request 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 described It 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.1 It 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 processor Row.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 disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed Scope 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 with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It 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 unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In 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 unit It 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 real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or It partly generates according to process or function described in the embodiment of the present invention.The computer can be general purpose computer, dedicated meter Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium In, or transmitted by the computer readable storage medium.The computer instruction can be from a web-site, meter Calculation machine, server or data center are (such as red by wired (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless Outside, wirelessly, microwave etc.) mode transmitted to another web-site, computer, server or data center.The calculating Machine readable storage medium storing program for executing can be any usable medium or include one or more usable mediums that computer can access The data storage devices such as integrated server, data center.The usable medium can be magnetic medium, (for example, floppy disk, hard Disk, 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 process Relevant hardware can be instructed to complete by computer program, which can be stored in computer-readable storage medium, should Program 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 random Store up the medium of the various program storage codes such as memory body RAM, magnetic or disk.

Claims (46)

1. a kind of method of cast communication characterized by comprising
Application server indicates that media resource function network element is pushed to content distributing network CDN according to by the Media Stream of live session System;
The application server receives the Media Stream addresses from the CDN system;Wherein, the Media Stream addresses are described straight The Media Stream for broadcasting session is mapped in address in the CDN system;
The Media Stream addresses are sent to purpose terminal device by the application server;Wherein, the purpose terminal device Communication pattern is a reception pattern.
2. the method as described in claim 1, which is characterized in that the Media Stream addresses are sent to mesh by the application server Terminal device include:
The application server 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;
The application server obtains the media capability information of the purpose terminal device;
If determining that the purpose terminal device supports connectionless live streaming ability according to the media capability information,
The application server sends the redirection message for the live streaming call request to the source terminal equipment;
The application server sends the message for carrying the Media Stream addresses and authorization token to the purpose terminal device Message.
3. the method as described in claim 1, which is characterized in that the Media Stream addresses are sent to mesh by the application server Terminal device include:
The application server receives the live streaming call request from the purpose terminal device;Wherein, the live streaming calling is asked It asks for calling the source terminal equipment in the live session;
The application server obtains the media capability information of the purpose terminal device;
If determining that the purpose terminal device supports connectionless live streaming ability according to the media capability information,
The application server sends the redirection message for the live streaming call request to the purpose terminal device;Its In, the redirection message carries the Media Stream addresses and authorization token.
4. the method as described in claim 1, which is characterized in that the Media Stream addresses are sent to mesh by the application server Terminal device include:
The application server receives the live streaming call request from the purpose terminal device;Wherein, the live streaming calling is asked It asks for calling the source terminal equipment in the live session;
The application server sends the redirection message for the live streaming call request to the purpose terminal device;
The application server obtains the media capability information of the purpose terminal device;
If determining that the purpose terminal device supports connectionless live streaming ability, the application service according to the media capability information Device sends the message message for carrying the Media Stream addresses and authorization token to the purpose terminal device.
5. the method as described in claim 1, which is characterized in that the Media Stream addresses are sent to mesh by the application server Terminal device include:
The application server receives the live streaming call request from the purpose terminal device;Wherein, the live streaming calling is asked It asks for calling the source terminal equipment in the live session, the live streaming call request carries the mark of the live session;
The application server obtains the media capability information of the purpose terminal device;
If determining that the purpose terminal device does not support connectionless live streaming ability, the application clothes according to the media capability information Business device sends the success response message for carrying the Media Stream addresses and authorization token to the purpose terminal device.
6. the method as described in claim 1, which is characterized in that the Media Stream addresses are sent to mesh by the application server Terminal device include:
The application server receives the live streaming call request from the purpose terminal device;Wherein, the live streaming calling is asked It asks for calling the source terminal equipment in the live session;
The application server obtains the media capability information of the purpose terminal device;
If determining that the purpose terminal device does not support connectionless live streaming ability, the application clothes according to the media capability information Business device sends the success response message for carrying the Media Stream addresses and authorization token to the purpose terminal device.
7. the method as described in claim 2-6 any one, which is characterized in that it is whole that the application server obtains the purpose The media capability information of end equipment includes:
The application server obtains the purpose terminal during purpose terminal device initiates registration or calling and sets Standby media capability information.
8. the method for claim 7, which is characterized in that further include:
The application server determines the communication mould of the purpose terminal device according to the corresponding idling-resource size of live broadcast service Formula;Or
The application server determines the purpose terminal according to the communication pattern instruction information from the purpose terminal device The communication pattern of equipment;Or
The application server is according to group service data, address book service data, call authority business datum or signing information Determine the communication pattern of the purpose terminal device;Or
The application server determines that the purpose is whole according at least one of call time, calling place, region, user name The communication pattern of end equipment;Or
The application server determines institute according to the identity information of purpose terminal device and/or the multiplexing number of the live session State the communication pattern of purpose terminal device.
9. such as the method for claim 7 or 8, which is characterized in that further include:
The application server receives the communication pattern switching request from the purpose terminal device;Wherein, the communication mould Formula switching request carries authorization token;
After the application server verifying authorization token is legal, the communication pattern of the purpose terminal device is cut It changes.
10. a kind of method of cast communication characterized by comprising
Media resource function network element receives the plug-flow instruction message from application server;Wherein, the plug-flow instruction message is taken Mark with live session;
The media resource function network element obtains the Media Stream of the live session according to the mark of the live session, and obtains It takes and the associated CDN system of the mark of the live session;
The Media Stream of the live session is pushed to the CDN system by the media resource function network element.
11. method as claimed in claim 10, which is characterized in that the media resource function network element is by the live session Media Stream is pushed to the CDN system
The media resource function network element identifies whether the Media Stream of the live session meets the coding that the CDN system is supported Format;
If it has not, being formatted according to the coded format that the CDN system is supported, according to the Media Stream addresses by format The Media Stream of the live session after conversion is pushed to the CDN system.
12. a kind of method of cast communication characterized by comprising
The Media Stream addresses of purpose terminal device acquisition live session;Wherein, the Media Stream addresses are the live session Media Stream is mapped in the address in CDN system;
The purpose terminal device sends the drawing stream request for carrying the Media Stream addresses to the CDN system;
The purpose terminal device receives the live session sent according to the Media Stream addresses from the CDN system Media Stream.
13. method as claimed in claim 12, which is characterized in that the purpose terminal device obtains the Media Stream of live session Before address, further includes:
The purpose terminal device sends live streaming call request to application server;Wherein, the live streaming call request is for exhaling It is the source terminal equipment in the live session, it is described that the mark that the live session is carried in call request, the source is broadcast live At least one of the mark of terminal device and media capability information.
14. method as described in claim 12 or 13, which is characterized in that the purpose terminal device obtains the matchmaker of live session Body stream is mapped to the Media Stream addresses in CDN system
When the purpose terminal device supports connectionless live streaming ability, the purpose terminal device, which receives, comes from application server The carrying Media Stream addresses and authorization token message message;Or
Purpose terminal device sends live streaming call request to application server;Wherein, the live streaming call request carries the mesh Terminal device media capability information, the media capability information indicates that the purpose terminal device supports connectionless live streaming energy Power;
The purpose terminal device receives the redirection message for the live streaming call request from the application server; 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 call request is taken Media capability information with the purpose terminal device, the media capability information indicate that the purpose terminal device is supported without even Connect live streaming ability;
The purpose terminal device receives the redirection message for the live streaming call request from the application server;
The purpose terminal device receive the carrying live session from application server Media Stream addresses and authorization with The message message of card;Or
The purpose terminal device sends live streaming call request to the application server;Wherein, the live streaming call request is taken The media capability information of mark and the purpose terminal device with the live session, described in media capability information expression 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 server and awards Weigh the success response message of token;Or
The purpose terminal device sends live streaming call request to the application server;Wherein, the live streaming call request is used In calling the source terminal equipment in the live session, the live streaming call request carries the media energy of the purpose terminal device 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 server and awards Weigh the success response message of token.
15. method as described in claim 12 or 13, which is characterized in that further include:
The purpose terminal device sends communication pattern switching request to application server;Wherein, the communication pattern switching is asked Seek the authorization token for carrying the live session;
The purpose terminal device receives the communication pattern handoff response from application server.
16. a kind of method of cast communication characterized by comprising
The Media Stream addresses of application server acquisition live session;Wherein, the Media Stream addresses of the live session are described straight The Media Stream for broadcasting session is mapped to address in the content distributing network CDN system;
The application server receives the live streaming call request from purpose terminal device;Wherein, the live streaming call request is taken Network location information and media capability information with the purpose terminal device;
If determining that the purpose terminal device is not supported connectionless live streaming ability and do not supported straight according to the media capability information Ability is broadcast, the application server sends the matchmaker for carrying the live session to the associated transfer gateway of the network location information The drawing stream instruction message of body stream address.
17. the method described in claim 16, which is characterized in that if described determine the mesh according to the media capability information Terminal device does not support connectionless live streaming ability and does not support live streaming ability, the application server is believed to the network site Before the drawing stream instruction message for ceasing the Media Stream addresses that associated transfer gateway sends the carrying live session, further includes:
The application server sends deployment request to the transfer gateway;
The application server receives the deployment from the transfer gateway and completes message.
18. the method as described in claim 16 or 17, which is characterized in that further include:
The application server receives the drawing stream success message from transfer gateway;Wherein, the drawing stream success message indicates institute It states transfer gateway success and pulls the Media Stream to the live session from the CDN system, the drawing stream success message carries end Slogan;
The application server sends the success response message for carrying the port numbers to the purpose terminal device.
19. the method as described in claim 16 or 17, which is characterized in that the application server is received to be set from purpose terminal After standby live streaming call request, further includes:
The application server sends success response message to the purpose terminal device;
The application server instruction media resource function network element pushes the matchmaker of the live session to the purpose terminal device Body stream.
20. method as claimed in claim 19, which is characterized in that further include:
The application server receives the drawing stream success message from transfer gateway;Wherein, stream success message is drawn to indicate transition net It closes and successfully pulls the Media Stream to the live session from CDN system, the drawing stream success message carries port numbers;
The application server sends the Media Stream handover request for carrying the port numbers to purpose terminal device;Wherein, described Media Stream handover request carries the port numbers, and the Media Stream handover request is used to indicate the purpose terminal device according to end Slogan receives the Media Stream from the transfer gateway.
21. a kind of method of cast communication characterized by comprising
Transfer gateway receives the drawing stream instruction message from application server;Wherein, the drawing stream instruction message carries the matchmaker Body stream address, the Media Stream addresses are that the Media Stream of live session is mapped to the address in CDN system;
The transfer gateway sends the drawing stream request for carrying the Media Stream addresses to the CDN system;
The transfer gateway, which determines, successfully pulls the Media Stream to the live session from CDN system according to the Media Stream addresses When, Xiang Suoshu application server sends the drawing stream success message for carrying port numbers;
The transfer gateway sends the Media Stream of the live session in the port numbers to purpose terminal device.
22. method as claimed in claim 21, which is characterized in that further include:
The transfer gateway reception is requested from the deployment for answering server;Wherein, the deployment request carries the purpose The network location information and mark of terminal device;
Deployment, which is sent, to the application server when transfer gateway requests to complete deployment according to the deployment completes message.
23. the method as described in claim 21 or 22, which is characterized in that the drawing stream instruction message also carries the live streaming meeting The authorization token of words.
24. a kind of device of cast communication characterized by comprising
Processing unit is used to indicate media resource function network element according to by the Media Stream of live session and is pushed to content distributing network CDN system;
Receiving unit, for receiving the Media Stream addresses from the CDN system;Wherein, the Media Stream addresses are described straight The Media Stream for broadcasting 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 device is logical Letter mode is a reception pattern.
25. device as claimed in claim 24, which is characterized in that the transmission unit, for the Media Stream addresses to be sent out Purpose terminal device is given, specifically:
Indicate that the receiving unit receives the live streaming call request from the source terminal equipment being located in the live session;Its In, the live streaming call request is for calling the purpose terminal device;
Indicate that the processing unit obtains the media capability information of the purpose terminal device;
If the processing unit determines that the purpose terminal device supports connectionless live streaming ability according to the media capability information,
The redirection message for the live streaming call request is sent to the source terminal equipment, and is set to the purpose terminal Preparation send the message message for carrying the Media Stream addresses and authorization token.
26. device as claimed in claim 24, which is characterized in that the transmission unit, for the Media Stream addresses to be sent out Purpose terminal device is given, specifically:
Indicate that the receiving unit receives the live streaming call request from the purpose terminal device;Wherein, the live streaming calling Request is for calling the source terminal equipment in the live session;
Indicate that the processing unit obtains the media capability information of the purpose terminal device;
If the processing unit determines that the purpose terminal device supports connectionless live streaming ability according to the media capability information, The redirection message for the live streaming call request is sent to the purpose terminal device;Wherein, the redirection message is taken With the Media Stream addresses and authorization token.
27. device as claimed in claim 24, which is characterized in that the transmission unit, for the Media Stream addresses to be sent out Purpose terminal device is given, specifically:
Indicate that the receiving unit receives the live streaming call request from the purpose terminal device;Wherein, the live streaming calling Request is 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 the processing unit obtains the media capability information of the purpose terminal device;
If the processing unit determines that the purpose terminal device supports connectionless live streaming ability according to the media capability information, The message message for carrying the Media Stream addresses and authorization token is sent to the purpose terminal device.
28. device as claimed in claim 24, which is characterized in that the transmission unit, for the Media Stream addresses to be sent out Purpose terminal device is given, specifically:
Indicate that the receiving unit receives the live streaming call request from the purpose terminal device;Wherein, the live streaming calling Request carries the mark of the live session for calling the source terminal equipment in the live session, the live streaming call request Know;
Indicate that the processing unit obtains the media capability information of the purpose terminal device;
If the processing unit determines that the purpose terminal device does not support connectionless live streaming energy according to the media capability information Power, Xiang Suoshu purpose terminal device send the success response message for carrying the Media Stream addresses and authorization token.
29. device as claimed in claim 24, which is characterized in that the Media Stream addresses are sent to by the transmission unit Purpose terminal device, specifically:
Indicate that the receiving unit receives the live streaming call request from the purpose terminal device;Wherein, the live streaming calling Request is for calling the source terminal equipment in the live session;
Indicate that the processing unit obtains the media capability information of the purpose terminal device;
If the processing unit determines that the purpose terminal device does not support connectionless live streaming energy according to the media capability information Power, Xiang Suoshu purpose terminal device send the success response message for carrying the Media Stream addresses and authorization token.
30. the device as described in claim 25-29 any one, which is characterized in that the processing unit obtains the purpose The media capability information of terminal device, specifically:
The processing unit obtains the purpose terminal device during purpose terminal device initiates registration or calling Media capability information.
31. device as claimed in claim 30, which is characterized in that the processing unit is 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 pattern of the purpose terminal device is determined according to the communication pattern instruction information from the purpose terminal device; Or
Determine that the purpose is whole according to group service data, address book service data, call authority business datum or signing information The communication pattern of end equipment;Or
The communication mould of the purpose terminal device is determined according at least one of call time, calling place, region, user name Formula;Or
The purpose terminal device is determined according to the multiplexing number of the identity information of purpose terminal device and/or the live session Communication pattern.
32. such as the device of claim 30 or 31, which is characterized in that
The receiving unit is also used to receive the communication pattern switching request from the purpose terminal device;Wherein, described logical Believe that mode switch request carries authorization token;
The processing unit, be also used to verify the authorization token it is legal after, by the communication pattern of the purpose terminal device into Row switching.
33. a kind of device of cast communication characterized by comprising
Receiving unit, for receiving the plug-flow instruction message from application server;Wherein, the plug-flow instruction message carries straight Broadcast the mark of session;
Processing unit obtains the Media Stream of the live session, and acquisition and institute for the mark according to the live session State the associated CDN system of mark of live session;
Transmission unit, for the Media Stream of the live session to be pushed to the CDN system.
34. device as claimed in claim 33, which is characterized in that the transmission unit, for by the matchmaker of the live session Body stream is pushed to the CDN system, specifically:
Indicate that the processing unit identifies whether the Media Stream of the live session meets the coding lattice that the CDN system is supported Formula;
If it has not, indicating that the processing unit is formatted according to the coded format that the CDN system is supported, according to described The Media Stream of the live session after Media Stream addresses convert format is pushed to the CDN system.
35. a kind of device of cast communication characterized by comprising
Processing unit, for obtaining the Media Stream addresses of live session;Wherein, the Media Stream addresses are the live session Media Stream 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 session sent according to the Media Stream addresses from the CDN system Media Stream.
36. device as claimed in claim 12, which is characterized in that the transmission unit is also used to
Live streaming call request is sent to application server;Wherein, the live streaming call request is for calling in the live session Source terminal equipment, carry in the live streaming call request mark of the live session, the mark of the source terminal equipment and At least one of media capability information.
37. the device as described in claim 35 or 36, which is characterized in that the processing unit, for obtaining live session Media Stream is mapped to the Media Stream addresses in CDN system, specifically:
When the purpose terminal device supports connectionless live streaming ability, indicate that the receiving unit is received from application server The carrying Media Stream addresses and authorization token message message;Or
Indicate that the transmission unit sends live streaming call request to application server;Wherein, the live streaming call request carries institute The 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 supported Broadcast ability;
Indicate that the receiving unit receives the redirection message for the live streaming call request from the application server; Wherein, the Media Stream addresses and authorization token for redirecting message and carrying the live session;Or
Indicate that the transmission unit sends live streaming call request to the application server;Wherein, the live streaming call request is taken Media capability information with the purpose terminal device, the media capability information indicate that the purpose terminal device is supported without even Connect live streaming ability;
Indicate that the receiving unit receives the redirection message for the live streaming call request from the application server;
Indicate the receiving unit receive the carrying live session from application server Media Stream addresses and authorization with The message message of card;Or
Indicate that the transmission unit sends live streaming call request to the application server;Wherein, the live streaming call request is taken The media capability information of mark and the purpose terminal device with the live session, described in media capability information expression Purpose terminal device does not support connectionless live streaming ability;
Indicate that the receiving unit receives the Media Stream addresses of the carrying live session from the application server and awards Weigh the success response message of token;Or
Indicate that the transmission unit sends live streaming call request to the application server;Wherein, the live streaming call request is used In calling the source terminal equipment in the live session, the live streaming call request carries the media energy of the purpose terminal device Force information, the media capability information indicate that the purpose terminal device does not support connectionless live streaming ability;
Indicate that the receiving unit receives the Media Stream addresses of the carrying live session from the application server and awards Weigh the success response message of token.
38. the device as described in claim 36 or 37, which is characterized in that
The transmission unit is also used to send communication pattern switching request to application server;Wherein, the communication pattern switching Request carries the authorization token of the live session;
The receiving unit is also used to receive the communication pattern handoff response from application server.
39. a kind of device of cast communication characterized by comprising
Processing unit, for obtaining the Media Stream addresses of live session;Wherein, the Media Stream addresses of the live session are described The Media Stream of live session is mapped to the address in the CDN system;
Receiving unit, for receiving the live streaming call request from purpose terminal device;Wherein, the live streaming call request carries The network location information and media capability information of the purpose terminal device;
Transmission unit, if determining that the purpose terminal device is not supported according to the media capability information for the processing unit Connectionless live streaming ability and do not support live streaming ability, the associated transfer gateway of Xiang Suoshu network location information send carry it is described straight Broadcast the drawing stream instruction message of the Media Stream addresses of session.
40. device as claimed in claim 39, it is characterised in that
The transmission unit is also used to send deployment request to the transfer gateway;
The receiving unit is also used to receive the deployment from the transfer gateway and completes message.
41. the device as described in claim 39 or 40, which is characterized in that
The receiving unit is also used to receive the drawing stream success message from transfer gateway;Wherein, success message table is flowed in the drawing Show that the transfer gateway success pulls the Media Stream to the live session from the CDN system, the drawing stream success message is taken Band edge slogan;
The transmission unit is also used to send the success response message for carrying the port numbers to the purpose terminal device.
42. the device as described in claim 39 or 40, which is characterized in that
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 session to the purpose terminal device Media Stream.
43. device as claimed in claim 42, which is characterized in that
The receiving unit is also used to receive the drawing stream success message from transfer gateway;Wherein, stream success message is drawn to indicate to turn Draping, which is closed, successfully pulls the Media Stream to the live session from CDN system, and the drawing stream success message carries port numbers;
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 terminal device root The Media Stream from the transfer gateway is received according to port numbers.
44. a kind of device of cast communication characterized by comprising
Receiving unit, for receiving the drawing stream instruction message from application server;Wherein, the drawing stream instruction message carries institute Media Stream addresses are stated, the Media Stream addresses are that the Media Stream of live session 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;
The transmission unit, is also used to determine in processing unit and is successfully pulled from CDN system to institute according to the Media Stream addresses When 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 Stream of the live session to purpose terminal device in the port numbers.
45. device as claimed in claim 44, which is characterized in that
The receiving unit is also used to receive and request from the deployment for answering server;Wherein, the deployment request carries institute State the network location information and mark of purpose terminal device;
The transmission unit, when being also used to the processing unit determination according to deployment request completion deployment, to the application Server sending department administration completes message.
46. the device as described in claim 44 or 45, which is characterized in that the drawing stream instruction message also carries the live streaming meeting The authorization token of words.
CN201711148296.1A 2017-11-17 2017-11-17 Live broadcast communication method and device Active CN109802932B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711148296.1A CN109802932B (en) 2017-11-17 2017-11-17 Live broadcast communication method and device
PCT/CN2018/114761 WO2019096063A1 (en) 2017-11-17 2018-11-09 Method and device for live broadcast communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711148296.1A CN109802932B (en) 2017-11-17 2017-11-17 Live broadcast communication method and device

Publications (2)

Publication Number Publication Date
CN109802932A true CN109802932A (en) 2019-05-24
CN109802932B CN109802932B (en) 2022-04-12

Family

ID=66538446

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711148296.1A Active CN109802932B (en) 2017-11-17 2017-11-17 Live broadcast communication method and device

Country Status (2)

Country Link
CN (1) CN109802932B (en)
WO (1) WO2019096063A1 (en)

Cited By (4)

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

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110536146B (en) * 2019-08-19 2021-12-31 广州点云科技有限公司 Live broadcast method and device based on cloud game and storage medium
CN114513698B (en) * 2020-11-16 2023-08-22 中国联合网络通信集团有限公司 Panoramic sound playing system and method
US20230300860A1 (en) * 2022-02-08 2023-09-21 Qualcomm Incorporated Uniform resource locator indicating parameters for reception of a service announcement for a receive only mode service
CN114553839B (en) * 2022-02-25 2024-03-15 阿里巴巴(中国)有限公司 RTC data processing method and device
CN115002081B (en) * 2022-05-30 2023-12-26 重庆紫光华山智安科技有限公司 Media stream transmission method and related device
CN115412737B (en) * 2022-08-30 2024-03-08 上海哔哩哔哩科技有限公司 Live broadcast return source relay node determining method and device
CN115190328B (en) * 2022-09-13 2023-01-20 北京达佳互联信息技术有限公司 Method and device for issuing and checking electronic resources, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026615A (en) * 2006-02-18 2007-08-29 华为技术有限公司 IMS-based flow media network system
US20090183211A1 (en) * 2006-09-25 2009-07-16 Huawei Technologies Co., Ltd. System, method and device for enabling ims terminals to access existing iptv services
CN102469347A (en) * 2010-11-04 2012-05-23 中兴通讯股份有限公司 Content play method and system thereof
US20120209952A1 (en) * 2011-02-11 2012-08-16 Interdigital Patent Holdings, Inc. Method and apparatus for distribution and reception of content
EP2785012A1 (en) * 2013-03-28 2014-10-01 Alcatel Lucent A mediator for optimizing the transmission of media contents between a multimedia resource function and a plurality of terminals
CN105516748A (en) * 2015-11-27 2016-04-20 北京奇虎科技有限公司 Method and server for realizing network live broadcasting
CN105872614A (en) * 2016-04-12 2016-08-17 乐视控股(北京)有限公司 Live stream switching method and device
US20170163706A1 (en) * 2015-12-07 2017-06-08 Le Holdings (Beijing) Co., Ltd. Method, electronic device and system for controlling pull stream

Family Cites Families (3)

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

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026615A (en) * 2006-02-18 2007-08-29 华为技术有限公司 IMS-based flow media network system
US20090183211A1 (en) * 2006-09-25 2009-07-16 Huawei Technologies Co., Ltd. System, method and device for enabling ims terminals to access existing iptv services
CN102469347A (en) * 2010-11-04 2012-05-23 中兴通讯股份有限公司 Content play method and system thereof
US20120209952A1 (en) * 2011-02-11 2012-08-16 Interdigital Patent Holdings, Inc. Method and apparatus for distribution and reception of content
EP2785012A1 (en) * 2013-03-28 2014-10-01 Alcatel Lucent A mediator for optimizing the transmission of media contents between a multimedia resource function and a plurality of terminals
CN105516748A (en) * 2015-11-27 2016-04-20 北京奇虎科技有限公司 Method and server for realizing network live broadcasting
US20170163706A1 (en) * 2015-12-07 2017-06-08 Le Holdings (Beijing) Co., Ltd. Method, electronic device and system for controlling pull stream
CN105872614A (en) * 2016-04-12 2016-08-17 乐视控股(北京)有限公司 Live stream switching method and device

Non-Patent Citations (3)

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

Cited By (5)

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

Also Published As

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

Similar Documents

Publication Publication Date Title
CN109802932A (en) A kind of method and apparatus of cast communication
CN110324284B (en) Method and communication device for accessing IMS
CN108882334B (en) A kind of data transmission method, core network user face equipment and source base station
EP2830337B1 (en) Broadband digital trunking service implementation method and trunking scheduling management centre
EP2493248A1 (en) Evolved packet system and method for processing emergency call attachment thereof
CN110401972A (en) Method, equipment and the system of route messages in the network of Multi net voting slice
CN110461027A (en) A kind of network slice selection method and device
CN101895569B (en) Implementation method of video browsing, IMS video monitoring system and front monitoring front-end
CN110049533A (en) A kind of indicating means and device of local data network
WO2017147959A1 (en) Service carrying method, communication terminal, control element s-cscf and system
CN105376194B (en) Real-time communication method, system and platform device
CN102378177A (en) Method and system for combining Internet of things capability with terminal
KR20210055546A (en) Apparatus and method for establishing an mbs service session for providing an mbs service in a wireless communication system
KR20200102474A (en) Network Slicing Recognition in IP Multimedia Subsystem
CN110392448A (en) A kind of session rebuilding methods, devices and systems
CN106332282B (en) A kind of implementation method for the group call that rank groups are off the net
CN113811025A (en) Method, equipment and system for releasing relay connection
CN103108010B (en) The realization method and system of communication service in the terminal operating system of trustship
WO2011120264A1 (en) System and method for implementing voice call visualization service
CN104349108B (en) Communication means, system and radio phone terminal based on radio phone terminal
CN102739609A (en) Method and apparatus of call processing
CN101394588A (en) Method and system for realizing session service in packet domain
KR20170068106A (en) Apparatus and method for multiple services in a wireless communication system
CN109417470A (en) Cryptographic key negotiation method and device
CN108464034B (en) Voice service processing method and device

Legal Events

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