CN108809918B - Media stream transmission method and device - Google Patents

Media stream transmission method and device Download PDF

Info

Publication number
CN108809918B
CN108809918B CN201710319214.9A CN201710319214A CN108809918B CN 108809918 B CN108809918 B CN 108809918B CN 201710319214 A CN201710319214 A CN 201710319214A CN 108809918 B CN108809918 B CN 108809918B
Authority
CN
China
Prior art keywords
mgw
supported
user equipment
mode
decoding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710319214.9A
Other languages
Chinese (zh)
Other versions
CN108809918A (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.)
China Mobile Communications Group Co Ltd
China Mobile Group Chongqing Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Chongqing 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 China Mobile Communications Group Co Ltd, China Mobile Group Chongqing Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201710319214.9A priority Critical patent/CN108809918B/en
Publication of CN108809918A publication Critical patent/CN108809918A/en
Application granted granted Critical
Publication of CN108809918B publication Critical patent/CN108809918B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/60Network streaming of media packets
    • 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/60Network streaming of media packets
    • H04L65/70Media network packetisation
    • 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/10Architectures or entities
    • H04L65/1016IP multimedia subsystem [IMS]
    • 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/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1023Media gateways
    • 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/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1043Gateway controllers, e.g. media gateway control protocol [MGCP] controllers

Abstract

The embodiment of the invention discloses a media stream transmission method and a media stream transmission device. The method comprises the following steps: receiving a media stream sent by first user equipment in an IP multimedia subsystem IMS domain or second user equipment in a circuit switching CS domain; and under the condition that the media stream is coded by using a first coding mode or a second coding mode, directly forwarding the media stream to second user equipment or first user equipment, wherein the first coding mode is a coding mode supported by a first media gateway MGW corresponding to the first user equipment and corresponding to a first decoding mode supported by a second MGW corresponding to the second user equipment, and the second coding mode is a coding mode supported by a second MGW corresponding to the second user equipment and corresponding to a second decoding mode supported by the first MGW. The media stream transmission method and the device of the embodiment of the invention can realize the media stream transmission between the IMS domain and the CS domain.

Description

Media stream transmission method and device
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to a method and an apparatus for transmitting a media stream.
Background
Currently, the media stream adopts RTP (Real-time Transport Protocol), wherein RTP is a Transport layer Protocol for multimedia data stream on the internet.
In an existing network, an RTP in a BICC (bearer independent Call Control Protocol) in a CS (Circuit Switching) domain generally adopts an AMR (Adaptive Multi Rate, Adaptive Multi-Rate speech coding and decoding algorithm) II coding and decoding manner, and an RTP in an SIP (Session Initiation Protocol) in an IMS (IP Multimedia Subsystem) domain generally adopts an AMR II, an AMR-WB and a g.711 coding and decoding manner, where the AMR-WB is a novel variable Rate Multi-mode wideband speech coding and decoding manner, and the g.711 is an audio coding and decoding manner established by the international telecommunication union. The different encoding and decoding modes are independent of each other in two domains.
In the prior art, when a user equipment in an IMS domain performs Media stream transmission with a user equipment in a CS domain, a MGCF (Media Gateway Control Function) performs codec negotiation with the user equipment in the IMS domain and the user equipment in the CS domain, respectively. Regardless of whether the codec modes negotiated at the two sides are consistent, an IM-MGW (IP Multimedia Gateway) under MGCF decodes the Media stream received from the user equipment at one side by using the codec mode negotiated with the user equipment to be tested, and then encodes the decoded Media stream by using the codec mode negotiated with the user equipment at the other side; and sending the coded media stream to the user equipment on the other side.
In the prior art, an IM-MGW needs to perform coding and decoding processing on a media stream, and media stream transparent transmission between an IMS domain and a CS domain cannot be realized, wherein the media stream transparent transmission means that the IM-MGW does not need to perform coding and decoding processing on the media stream.
Disclosure of Invention
The embodiment of the invention provides a media stream transmission method and a device, which can realize media stream transparent transmission between an IMS domain and a CS domain.
In a first aspect, an embodiment of the present invention provides a media streaming method, where the method includes:
receiving a media stream sent by first user equipment in an IMS domain or second user equipment in a CS domain;
when the Media stream is a Media stream encoded by using a first encoding mode or a second encoding mode, the Media stream is directly forwarded to a second user equipment or the first user equipment, wherein the first encoding mode is a encoding mode supported by a first MGW (Media Gateway) corresponding to the first user equipment and corresponding to a first decoding mode supported by a second MGW corresponding to the second user equipment, and the second encoding mode is a encoding mode supported by the second MGW and corresponding to a second decoding mode supported by the first MGW.
In a second aspect, an embodiment of the present invention provides a media streaming method, where the method includes:
acquiring a decoding mode supported by a second MGW corresponding to second user equipment in the CS domain and corresponding to a coding mode supported by a first MGW corresponding to the equipment per se and a coding mode supported by the second MGW and corresponding to a decoding mode supported by the first MGW;
or the like, or, alternatively,
obtaining a coding mode and a decoding mode supported by the second MGW;
based on the obtained coding mode and decoding mode, a first coding mode used by the self equipment for coding the media stream and a second coding mode used by the second user equipment for coding the media stream are agreed with the second user equipment, wherein the first coding mode is a coding mode supported by the first MGW and corresponding to the first decoding mode supported by the second MGW, and the second coding mode is a coding mode supported by the second MGW and corresponding to the second decoding mode supported by the first MGW;
and transmitting the media stream coded by the first coding mode or the second coding mode.
In a third aspect, an embodiment of the present invention provides a media streaming method, where the method includes:
acquiring a coding mode and a decoding mode supported by a first MGW corresponding to first user equipment in an IMS domain;
or the like, or, alternatively,
acquiring a decoding mode supported by the first MGW and corresponding to a coding mode supported by the second MGW corresponding to the self equipment and a coding mode supported by the first MGW and corresponding to a decoding mode supported by the second MGW;
based on the obtained coding mode and decoding mode, a first coding mode used by the first user equipment for coding the media stream and a second coding mode used by the self equipment for coding the media stream are appointed to the first user equipment, wherein the first coding mode is a coding mode supported by the first MGW and corresponding to the first decoding mode supported by the second MGW, and the second coding mode is a coding mode supported by the second MGW and corresponding to the second decoding mode supported by the first MGW;
and transmitting the media stream coded by the first coding mode or the second coding mode.
In a fourth aspect, an embodiment of the present invention provides a media stream transmission apparatus, where the apparatus includes: a receiving module and a transmitting module, wherein,
a receiving module, configured to receive a media stream sent by a first user equipment in an IMS domain or a second user equipment in a CS domain;
the transmission module is configured to, when the media stream is a media stream encoded by using a first encoding manner or a second encoding manner, directly forward the media stream to a second user equipment or a first user equipment, where the first encoding manner is a encoding manner supported by a first MGW corresponding to the first user equipment and corresponding to a first decoding manner supported by a second MGW corresponding to the second user equipment, and the second encoding manner is a encoding manner supported by the second MGW and corresponding to a second decoding manner supported by the first MGW.
In a fifth aspect, an embodiment of the present invention provides a media stream transmission apparatus, where the apparatus includes: a first obtaining module, a first provisioning module, and a first transmitting module, wherein,
a first obtaining module, configured to obtain a decoding mode that is supported by a second MGW corresponding to a second user equipment in the CS domain and corresponds to a coding mode that is supported by a first MGW corresponding to the own device, and a coding mode that is supported by the second MGW and corresponds to a decoding mode that is supported by the first MGW; or, the encoding mode and the decoding mode supported by the second MGW are obtained;
a first agreement module, configured to agree, with a second user equipment, a first coding mode used by the second user equipment for media stream coding and a second coding mode used by the second user equipment for media stream coding based on the coding mode and the decoding mode obtained by the first obtaining module, where the first coding mode is a coding mode supported by the first MGW and corresponding to the first decoding mode supported by the second MGW, and the second coding mode is a coding mode supported by the second MGW and corresponding to the second decoding mode supported by the first MGW;
and the first transmission module is used for transmitting the media stream coded by the first coding mode or the second coding mode.
In a sixth aspect, an embodiment of the present invention provides a media stream transmission apparatus, where the apparatus includes: a second obtaining module, a second provisioning module, and a second transmitting module, wherein,
a second obtaining module, configured to obtain a coding mode and a decoding mode supported by a first MGW corresponding to a first user equipment in an IMS domain; or, the decoding method is used for obtaining a decoding method supported by the first MGW and corresponding to a coding method supported by the second MGW corresponding to the own device and a coding method supported by the first MGW and corresponding to a decoding method supported by the second MGW;
a second stipulating module, configured to stipulate, with the first user equipment, a first coding mode used by the first user equipment for media stream coding and a second coding mode used by the own equipment for media stream coding based on the coding mode and the decoding mode obtained by the second obtaining module, where the first coding mode is a coding mode supported by the first MGW and corresponding to the first decoding mode supported by the second MGW, and the second coding mode is a coding mode supported by the second MGW and corresponding to the second decoding mode supported by the first MGW;
and the second transmission module is used for transmitting the media stream coded by the first coding mode or the second coding mode.
The media stream transmission method and the media stream transmission device can realize the media stream transmission between the IMS domain and the CS domain.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart illustrating a first media streaming method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a second media streaming method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a third media streaming method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a first media streaming apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a second media streaming apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a third media streaming apparatus according to an embodiment of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Example one
It should be noted that this embodiment is preferably applicable to MGCF. As shown in fig. 1, fig. 1 is a schematic flowchart illustrating a first media streaming method according to an embodiment of the present invention. It may include:
s101: receiving a media stream sent by a first user equipment in the IMS domain or a second user equipment in the CS domain, and if the media stream is encoded by using a first encoding method or a second encoding method, performing S102.
The first coding mode is a coding mode supported by a first MGW corresponding to the first user equipment and corresponding to a first decoding mode supported by a second MGW corresponding to the second user equipment, and the second coding mode is a coding mode supported by a second MGW and corresponding to a second decoding mode supported by the first MGW.
S102: and directly forwarding the media stream to the second user equipment or the first user equipment.
For example, suppose the first UE is UE1, the encoding modes supported by the corresponding MGW include a0, B0 and C0, and the decoding modes supported by the corresponding MGW include X1 and Y1; the second user equipment is UE2, and the coding methods supported by the corresponding MGW include Z0 and X0 corresponding to X1, and the decoding methods supported by the second user equipment include Z1 and a1 corresponding to a 0.
When UE1 transmits a media stream to UE2, UE1 encodes the media stream with a0 and transmits the media stream encoded with a0 to MGCF. The MGCF, upon receiving the media stream, forwards the media stream directly to the UE 2. After receiving the media stream, the UE2 may decode the media stream using a 1.
When UE2 transmits a media stream to UE1, UE2 encodes the media stream with X0 and transmits the media stream encoded with X0 to MGCF. The MGCF, upon receiving the media stream, forwards the encoded stream directly to the UE 1. After receiving the media stream, the UE1 may decode the media stream using X1.
In particular, in practical applications, the direct forwarding of the media stream is realized. Before receiving a media stream sent by a first user equipment in an IMS domain or a second user equipment in a CS domain, an MGCF needs to inform the second user equipment of a coding mode and a decoding mode supported by a first MGW, and informs the first user equipment of a decoding mode supported by the second MGW and corresponding to the coding mode supported by the first MGW and a coding mode supported by the second MGW and corresponding to the decoding mode supported by the first MGW; or informing the first user equipment of the coding mode and the decoding mode supported by the second MGW, and informing the second user equipment of the decoding mode supported by the first MGW and corresponding to the coding mode supported by the second MGW and the coding mode supported by the first MGW and corresponding to the decoding mode supported by the second MGW.
After the first user equipment and the second user equipment know the decoding mode and the encoding mode corresponding to the decoding mode supported by the MGW corresponding to the opposite-end equipment and corresponding to the encoding mode supported by the MGW corresponding to the home-end equipment, the opposite-end equipment may be appointed to encode the media stream by using the encoding mode corresponding to the decoding mode supported by the MGW corresponding to the home-end equipment.
Specifically, informing the second user equipment of the coding mode and the decoding mode supported by the first MGW in the embodiment of the present invention may include:
receiving an INVITE sent by first user equipment, wherein the INVITE includes a first coding mode group, a first decoding mode group, first identification information of the first user equipment, and second identification information of second user equipment, the first coding mode group includes a coding mode supported by the first MGW, and the first decoding mode group includes a decoding mode supported by the first MGW.
After receiving the INVITE sent by the first user equipment, sending an IAM (Initial Address Message) to the second user equipment according to the second identification information, where the IAM includes a first encoding mode group, a first decoding mode group, and the first identification information.
The informing of the decoding method supported by the second MGW and corresponding to the coding method supported by the first MGW and the coding method supported by the second MGW and corresponding to the decoding method supported by the first MGW to the first user equipment in the embodiment of the present invention may include:
receiving an Application transport Message (APM) sent by a second user equipment, where the APM includes a second coding mode group, a second decoding mode group, first identification information, and second identification information, the second coding mode group includes a coding mode supported by a second MGW and corresponding to a decoding mode included in the first decoding mode group, and the second decoding mode group includes a decoding mode supported by the second MGW and corresponding to a coding mode included in the first coding mode group.
And after receiving the APM sent by the second user equipment, sending a session progress message to the first user equipment according to the first identification information, wherein the session progress message comprises a second coding mode group, a second decoding mode group and second identification information.
Specifically, in practical applications, the identification information may be a network address, a physical address, and the like. The embodiment of the present invention does not limit the specific representation form of the identification information.
Illustratively, the UE1 sends a message to the MGCF that includes: an INVITE including coding mode groups of a0, B0, and C0, decoding mode groups including X1 and Y1, a network address of UE1, and a network address of UE 2.
After receiving the INVITE, the MGCF sends a message to the UE2 according to the network address of the UE2, including: IAM including coding mode group of a0, B0, and C0, decoding mode group including X1 and Y1, and network address of UE 1; and informing the second user equipment of the encoding mode and the decoding mode supported by the first MGW.
After receiving the IAM, the UE2 may determine that the MGW corresponding to the own device supports X0 corresponding to X1 and a1 corresponding to a0, and further send a message to the MGCF, where the message includes: APM including coding mode group of X0, decoding mode group of a1, network address of UE1 and network address of UE 2.
After receiving the APM, the MGCF sends a packet to the UE1 according to the network address of the UE1, where the packet includes: a session progress message including the encoding mode group of X0, the decoding mode group of a1, and the network address of UE 2; the decoding mode supported by the second MGW and corresponding to the coding mode supported by the first MGW and the coding mode supported by the second MGW and corresponding to the decoding mode supported by the first MGW are informed to the first user equipment.
After acquiring the decoding method and the encoding method corresponding to the decoding method supported by the MGW corresponding to the peer device and corresponding to the encoding method supported by the MGW corresponding to the peer device, UE1 and UE2 may agree that UE1 encodes the media stream using a0, and UE2 encodes the media stream using X0.
Specifically, informing the first user equipment of the coding mode and the decoding mode supported by the second MGW in the embodiment of the present invention may include:
and receiving an INVITE sent by the first user equipment, wherein the INVITE comprises third identification information of the first user equipment and fourth identification information of the second user equipment.
And after receiving the INVITE sent by the first user equipment, sending an IAM to the second user equipment according to the fourth identification information.
And then, receiving an APM sent by a second user equipment, wherein the APM includes a third coding mode group, a third decoding mode group, third identification information and fourth identification information, the third coding mode group includes a coding mode supported by the second MGW, and the third decoding mode group includes a decoding mode supported by the second MGW.
And after receiving the APM sent by the second user equipment, sending a session progress message to the first user equipment according to the third identification information, wherein the session progress message comprises a third encoding mode group, a third decoding mode group and fourth identification information.
The informing of the decoding method supported by the first MGW and corresponding to the coding method supported by the second MGW and the coding method supported by the first MGW and corresponding to the decoding method supported by the second MGW to the second user equipment in the embodiment of the present invention may include:
receiving a response message sent by the first user equipment, wherein the response message includes a fourth encoding mode group, a fourth decoding mode group, third identification information and fourth identification information, the fourth encoding mode group includes an encoding mode supported by the first MGW and corresponding to a decoding mode included in the third decoding mode group, and the fourth decoding mode group includes a decoding mode supported by the first MGW and corresponding to a decoding mode included in the third encoding mode group.
And after receiving the response message sent by the first user equipment, sending the fourth encoding mode group and the fourth decoding mode group to the second user equipment according to the fourth identification information.
The first identification information and the third identification information may be the same or different, and the second identification information and the fourth identification information may be the same or different.
Illustratively, the UE1 sends a message to the MGCF that includes: INVITE of network address of UE1 and network address of UE 2.
After receiving the INVITE, the MGCF sends a message to the UE2 according to the network address of the UE2, including: IAM of network address of UE 1.
After receiving the IAM, the UE2 sends a packet to the MGCF, where the packet includes: an APM including a coding mode group of X0 and Z0, a decoding mode group of a1 and Z1, a network address of UE1, and a network address of UE 2.
After receiving the APM, the MGCF sends a packet to the UE1 according to the network address of the UE1, where the packet includes: a session progress message including an encoding mode group of X0 and Z0, a decoding mode group of a1 and Z1, and a network address of the UE 2; the encoding mode and the decoding mode supported by the second MGW are informed to the first user equipment;
after receiving the session proceeding message, the UE1 may determine that the MGW corresponding to the own device supports X1 corresponding to X0 and a0 corresponding to a1, and further send a message to the MGCF, where the message includes: a response message including the encoding mode group of a0, the decoding mode group including X1, the network address of UE1, and the network address of UE 2.
The MGCF, after receiving the response message, transmits the encoding mode group including a0 and the decoding mode group including X1 to the UE2 according to the network address of the UE 2; and informing the second user equipment of the decoding mode supported by the first MGW and corresponding to the coding mode supported by the second MGW and the coding mode supported by the first MGW and corresponding to the decoding mode supported by the second MGW.
After acquiring the decoding method and the encoding method corresponding to the decoding method supported by the MGW corresponding to the peer device and corresponding to the encoding method supported by the MGW corresponding to the peer device, UE1 and UE2 may agree that UE1 encodes the media stream using a0, and UE2 encodes the media stream using X0.
Conventionally, an encoding method and a decoding method are generally integrated into a codec method, that is, the codec method includes both an encoding method and a decoding method corresponding to the encoding method, and the codec method can perform both encoding and decoding. Such as: AMR II, AMR-WB, G.711 coding and decoding modes and the like.
Based on the codec mode, it is assumed that the codec mode supported by the MGW corresponding to the UE1 includes AMR II, AMR-WB, and g.711, and the codec mode supported by the MGW corresponding to the UE2 includes AMRII. When UE1 sends a media stream encoded with AMR II to UE2, UE1 sends the media stream encoded with AMR II to MGCF. The MGCF, upon receiving the media stream, forwards the media stream directly to the UE 2. After receiving the media stream, the UE2 may decode the media stream using AMR II.
When UE2 sends a media stream encoded with AMR II to UE1, UE2 sends the media stream encoded with AMR II to MGCF. The MGCF, upon receiving the media stream, forwards the encoded stream directly to the UE 1. After receiving the media stream, the UE1 may decode the media stream using AMR II.
Specifically, in practical applications, the media stream is directly forwarded based on a codec. Before receiving a media stream sent by a first user equipment in an IMS domain or a second user equipment in a CS domain, the MGCF needs to inform the first user equipment or the second user equipment of a coding and decoding manner supported by both the first MGW and the second MGW.
Specifically, the process of informing the encoding and decoding manner is similar to the process of informing the encoding and decoding manner, and is not described herein in detail in the embodiments of the present invention. Specifically, reference may be made to the above process of informing the encoding mode and the decoding mode.
Specifically, in practical applications, when the MGCF receives a media stream sent by one user equipment and not coded by using a coding scheme agreed with another user equipment (that is, the first user equipment sends a media stream that is not coded by using the first coding scheme, and the second user equipment sends a media stream that is not coded by using the second coding scheme), the MGCF may notify the user equipment to code the media stream by using the agreed coding scheme until receiving the media stream coded by using the agreed coding scheme, and directly forward the media stream to the opposite user equipment.
It should be noted that, the above procedure is described by taking a scenario in which the ue initiates a session invitation in the IMS domain as an example. In practical application, the media streaming transmission method of the embodiment of the present invention can also be applied to a scenario in which user equipment initiates a session invitation in a CS domain. The process of initiating the session invitation by the user equipment in the CS domain and then performing media streaming is similar to the above process, and the embodiment of the present invention is not described herein again. In particular, reference may be made to the above-mentioned IMS domain user equipment initiating a session invitation and then performing a media streaming procedure.
The media stream transmission method of the embodiment of the invention can realize the media stream transmission between the IMS domain and the CS domain.
Example two
It should be noted that the present embodiment is preferably applicable to user equipment in the IMS domain. As shown in fig. 2, fig. 2 is a schematic flowchart illustrating a second media streaming method according to an embodiment of the present invention. It may include:
s201: acquiring a decoding mode supported by a second MGW corresponding to second user equipment in the CS domain and corresponding to a coding mode supported by a first MGW corresponding to the equipment per se and a coding mode supported by the second MGW and corresponding to a decoding mode supported by the first MGW; or, the encoding mode and the decoding mode supported by the second MGW are obtained.
S202: and on the basis of the obtained coding mode and decoding mode, the first coding mode used by the self equipment for coding the media stream and the second coding mode used by the second user equipment for coding the media stream are appointed with the second user equipment.
The first coding mode is a coding mode which is supported by the first MGW and corresponds to a first decoding mode supported by the second MGW, and the second coding mode is a coding mode which is supported by the second MGW and corresponds to a second decoding mode supported by the first MGW;
s203: and transmitting the media stream coded by the first coding mode or the second coding mode.
For example, suppose that the user equipment in the IMS domain is UE1, the coding modes supported by the corresponding MGW include a0, B0, and C0, and the decoding modes supported by the corresponding MGW include X1 and Y1; the second user equipment is UE2, and the coding methods supported by the corresponding MGW include Z0 and X0 corresponding to X1, and the decoding methods supported by the second user equipment include Z1 and a1 corresponding to a 0.
Specifically, the UE1 sends a message to the MGCF, where the message includes: an INVITE including coding mode groups of a0, B0, and C0, decoding mode groups including X1 and Y1, a network address of UE1, and a network address of UE 2.
After receiving the INVITE, the MGCF sends a message to the UE2 according to the network address of the UE2, including: an IAM including a coding mode group of a0, B0, and C0, a decoding mode group including X1 and Y1, and a network address of the UE 1.
After receiving the IAM, the UE2 may determine that the MGW corresponding to the own device supports X0 corresponding to X1 and a1 corresponding to a0, and further send a message to the MGCF, where the message includes: APM including coding mode group of X0, decoding mode group of a1, network address of UE1 and network address of UE 2.
After receiving the APM, the MGCF sends a packet to the UE1 according to the network address of the UE1, where the packet includes: a session progress message including the encoding mode group of X0, the decoding mode group of a1, and the network address of UE 2; and obtaining a decoding mode supported by a second MGW corresponding to second user equipment in the CS domain and corresponding to a coding mode supported by a first MGW corresponding to the equipment per se and a coding mode supported by the second MGW and corresponding to a decoding mode supported by the first MGW.
Specifically, the UE1 sends a message to the MGCF, where the message includes: INVITE of network address of UE1 and network address of UE 2.
After receiving the INVITE, the MGCF sends a message to the UE2 according to the network address of the UE2, including: IAM of network address of UE 1.
After receiving the IAM, the UE2 sends a packet to the MGCF, where the packet includes: an APM including a coding mode group of X0 and Z0, a decoding mode group of a1 and Z1, a network address of UE1, and a network address of UE 2.
After receiving the APM, the MGCF sends a packet to the UE1 according to the network address of the UE1, where the packet includes: a session progress message including an encoding mode group of X0 and Z0, a decoding mode group of a1 and Z1, and a network address of the UE 2; and realizing the coding mode and the decoding mode supported by the second MGW.
After obtaining the coding scheme and the decoding scheme, UE1 may agree with UE2 on a first coding scheme for UE1 to use for media stream coding and a second coding scheme for UE2 to use for media stream coding based on the obtained coding scheme and decoding scheme.
Specifically, UE1 and UE2 may invoke resources for media stream coding from corresponding MGWs to negotiate, and negotiate to agree on a coding mode for UE1 to code a media stream and a coding mode for UE2 to code a media stream, where invoking resources to code and negotiate is the prior art, and this is not described herein in detail in the embodiments of the present invention.
Specifically, the UE1 may select one coding method from the coding methods supported by the MGW corresponding to the UE2 and corresponding to the decoding methods supported by the MGW corresponding to the UE 3578, send a message to the UE2 that includes the information to be encoded by using the coding method, and complete the agreement of the coding method for the UE1 to encode the media stream after receiving the confirmation message returned by the UE 2.
UE1 may also select a decoding method from decoding methods supported by the MGW corresponding to its own device and corresponding to the encoding method supported by the MGW corresponding to UE2, and decode the media stream including the decoding method, please send a message to UE2 that UE2 encodes the media stream using the encoding method corresponding to the decoding method, and after receiving the confirmation message returned by UE2, complete the agreement of UE2 on the encoding method for encoding the media stream.
Of course, the UE2 may select one encoding scheme or decoding scheme to send to the UE1 for confirmation, and further agree on the encoding scheme for the UE1 to encode the media stream and the encoding scheme for the UE2 to encode the media stream.
Assume that the UE1 is agreed to encode the media stream with A0 and the UE2 encodes the media stream with X0.
Specifically, the transmitting the media stream encoded by using the first encoding manner may be sending the media stream encoded by using the first encoding manner to the MGCF; and transmitting the media stream coded by the second coding mode to a second user equipment sent by the receiving MGCF.
The media stream transmission method of the embodiment of the invention can realize the media stream transmission between the IMS domain and the CS domain.
EXAMPLE III
It should be noted that the present embodiment is preferably applicable to the user equipment in the CS domain. As shown in fig. 3, fig. 3 is a flowchart illustrating a third media streaming method according to an embodiment of the present invention. It may include:
s301: acquiring a coding mode and a decoding mode supported by a first MGW corresponding to first user equipment in an IMS domain; or, a decoding mode supported by the first MGW and corresponding to a coding mode supported by a second MGW corresponding to the own device and a coding mode supported by the first MGW and corresponding to a decoding mode supported by the second MGW are obtained.
S302: and on the basis of the obtained coding mode and the decoding mode, the first user equipment is appointed to a first coding mode used by the first user equipment for media stream coding and a second coding mode used by the self equipment for media stream coding.
The first coding mode is a coding mode which is supported by the first MGW and corresponds to a first decoding mode supported by the second MGW, and the second coding mode is a coding mode which is supported by the second MGW and corresponds to a second decoding mode supported by the first MGW;
s303: and transmitting the media stream coded by the first coding mode or the second coding mode.
For example, suppose that the first user equipment in the IMS domain is UE1, the coding modes supported by the corresponding MGW include a0, B0, and C0, and the decoding modes supported by the corresponding MGW include X1 and Y1; the user equipment in the CS domain is UE2, the encoding modes supported by the MGW corresponding to the UE are Z0 and X0 corresponding to X1, and the decoding modes supported by the UE are Z1 and A1 corresponding to A0.
Specifically, the UE1 sends a message to the MGCF, where the message includes: an INVITE including coding mode groups of a0, B0, and C0, decoding mode groups including X1 and Y1, a network address of UE1, and a network address of UE 2.
After receiving the INVITE, the MGCF sends a message to the UE2 according to the network address of the UE2, including: IAM including coding mode group of a0, B0, and C0, decoding mode group including X1 and Y1, and network address of UE 1; and realizing the encoding mode and the decoding mode supported by the first MGW corresponding to the first user equipment in the IMS domain.
Specifically, the UE1 sends a message to the MGCF, where the message includes: INVITE of network address of UE1 and network address of UE 2.
After receiving the INVITE, the MGCF sends a message to the UE2 according to the network address of the UE2, including: IAM of network address of UE 1.
After receiving the IAM, the UE2 sends a packet to the MGCF, where the packet includes: an APM including a coding mode group of X0 and Z0, a decoding mode group of a1 and Z1, a network address of UE1, and a network address of UE 2.
After receiving the APM, the MGCF sends a packet to the UE1 according to the network address of the UE1, where the packet includes: a session progress message including the coding mode group of X0 and Z0, the decoding mode group of a1 and Z1, and the network address of the UE 2.
After receiving the session proceeding message, the UE1 may determine that the MGW corresponding to the own device supports X1 corresponding to X0 and a0 corresponding to a1, and further send a message to the MGCF, where the message includes: a response message including the encoding mode group of a0, the decoding mode group including X1, the network address of UE1, and the network address of UE 2.
The MGCF, after receiving the response message, transmits the encoding mode group including a0 and the decoding mode group including X1 to the UE2 according to the network address of the UE 2; and the decoding mode supported by the first MGW and corresponding to the coding mode supported by the second MGW corresponding to the self equipment and the coding mode supported by the first MGW and corresponding to the decoding mode supported by the second MGW are obtained.
After obtaining the coding scheme and the decoding scheme, UE2 may agree with UE1 on a first coding scheme used by UE1 for media stream coding and a second coding scheme used by UE2 for media stream coding based on the obtained coding scheme and decoding scheme.
Specifically, UE1 and UE2 may invoke resources for media stream coding from corresponding MGWs to negotiate, and negotiate to agree on a coding mode for UE1 to code a media stream and a coding mode for UE2 to code a media stream, where invoking resources to code and negotiate is the prior art, and this is not described herein in detail in the embodiments of the present invention.
Specifically, the UE1 may select one coding method from the coding methods supported by the MGW corresponding to the UE2 and corresponding to the decoding methods supported by the MGW corresponding to the UE 3578, send a message to the UE2 that includes the information to be encoded by using the coding method, and complete the agreement of the coding method for the UE1 to encode the media stream after receiving the confirmation message returned by the UE 2.
UE1 may also select a decoding method from decoding methods supported by the MGW corresponding to its own device and corresponding to the encoding method supported by the MGW corresponding to UE2, and decode the media stream including the decoding method, please send a message to UE2 that UE2 encodes the media stream using the encoding method corresponding to the decoding method, and after receiving the confirmation message returned by UE2, complete the agreement of UE2 on the encoding method for encoding the media stream.
Of course, the UE2 may select one encoding scheme or decoding scheme to send to the UE1 for confirmation, and further agree on the encoding scheme for the UE1 to encode the media stream and the encoding scheme for the UE2 to encode the media stream.
Assume that the UE1 is agreed to encode the media stream with A0 and the UE2 encodes the media stream with X0.
Specifically, the transmitting the media stream encoded by using the second encoding method may be sending the media stream encoded by using the second encoding method to the MGCF; the media stream coded by the first coding method can be transmitted to the first user equipment sent by the receiving MGCF.
The media stream transmission method of the embodiment of the invention can realize the media stream transmission between the IMS domain and the CS domain.
Corresponding to the above method embodiments, the embodiment of the present invention further provides a media stream transmission apparatus.
Example four
It should be noted that this embodiment is preferably applicable to MGCF. As shown in fig. 4, fig. 4 is a schematic structural diagram of a first media streaming apparatus according to an embodiment of the present invention. It may include: a receiving module 401 and a transmitting module 402, wherein,
a receiving module 401, configured to receive a media stream sent by a first user equipment in an IMS domain or a second user equipment in a CS domain.
A transmission module 402, configured to, when a media stream is a media stream encoded by using a first encoding manner or a second encoding manner, directly forward the media stream to a second user equipment or a first user equipment, where the first encoding manner is a encoding manner supported by a first MGW corresponding to the first user equipment and corresponding to a first decoding manner supported by a second MGW corresponding to the second user equipment, and the second encoding manner is a encoding manner supported by the second MGW and corresponding to a second decoding manner supported by the first MGW.
Optionally, the media stream transmission apparatus according to the embodiment of the present invention may further include: an informing module (not shown in the figures) which, among other things,
the informing module comprises: a first informing submodule and a second informing submodule (not shown in the figure), wherein,
the first informing submodule is used for informing the second user equipment of the coding mode and the decoding mode supported by the first MGW;
and the second informing submodule is used for informing the decoding mode which is supported by the second MGW and corresponds to the coding mode which is supported by the first MGW and the coding mode which is supported by the second MGW and corresponds to the decoding mode which is supported by the first MGW to the first user equipment.
Or the like, or, alternatively,
the informing module comprises: a third informing submodule and a fourth informing submodule (not shown in the figure), wherein,
a third informing submodule, configured to inform the first user equipment of the encoding mode and the decoding mode supported by the second MGW;
and the fourth informing submodule is used for informing the second user equipment of the decoding mode supported by the first MGW and corresponding to the coding mode supported by the second MGW and the coding mode supported by the first MGW and corresponding to the decoding mode supported by the second MGW.
Optionally, the first notification sub-module in the embodiment of the present invention may be specifically configured to:
receiving an INVITE sent by first user equipment, wherein the INVITE comprises a first coding mode group, a first decoding mode group, first identification information of the first user equipment and second identification information of second user equipment, the first coding mode group comprises a coding mode supported by a first MGW, and the first decoding mode group comprises a decoding mode supported by the first MGW;
and sending the IAM to the second user equipment according to the second identification information, wherein the 1AM comprises a first coding mode group, a first decoding mode group and the first identification information.
The second notification sub-module of the embodiment of the present invention may be specifically configured to:
receiving an APM sent by second user equipment, wherein the APM comprises a second coding mode group, a second decoding mode group, first identification information and second identification information, the second coding mode group comprises a coding mode which is supported by a second MGW and corresponds to a decoding mode which is included in the first decoding mode group, and the second decoding mode group comprises a decoding mode which is supported by the second MGW and corresponds to a coding mode which is included in the first coding mode group;
and sending a session proceeding message to the first user equipment according to the first identification information, wherein the session proceeding message comprises a second coding mode group, a second decoding mode group and second identification information.
Optionally, the third notifying sub-module in the embodiment of the present invention may be specifically configured to:
receiving an INVITE sent by first user equipment, wherein the INVITE comprises third identification information of the first user equipment and fourth identification information of second user equipment;
sending the IAM to the second user equipment according to the fourth identification information;
receiving an APM sent by second user equipment, wherein the APM comprises a third coding mode group, a third decoding mode group, third identification information and fourth identification information, the third coding mode group comprises coding modes supported by a second MGW, and the third decoding mode group comprises decoding modes supported by the second MGW;
and sending a session progress message to the first user equipment according to the third identification information, wherein the session progress message comprises a third encoding mode group, a third decoding mode group and fourth identification information.
The fourth notifying submodule of the embodiment of the present invention may be specifically configured to:
receiving a response message sent by the first user equipment, wherein the response message includes a fourth encoding mode group, a fourth decoding mode group, third identification information and fourth identification information, the fourth encoding mode group includes an encoding mode supported by the first MGW and corresponding to a decoding mode included in the third decoding mode group, and the fourth decoding mode group includes a decoding mode supported by the first MGW and corresponding to a decoding mode included in the third encoding mode group;
and sending the fourth encoding mode group and the fourth decoding mode group to the second user equipment according to the fourth identification information.
The media stream transmission device of the embodiment of the invention can realize the media stream transmission between the IMS domain and the CS domain.
EXAMPLE five
It should be noted that the present embodiment is preferably applied to a user equipment in an IMS domain, as shown in fig. 5, fig. 5 shows a flowchart of a second media streaming apparatus provided in the embodiment of the present invention. It may include: a first obtaining module 501, a first provisioning module 502, and a first transmitting module 503, wherein,
a first obtaining module 501, configured to obtain a decoding manner supported by a second MGW corresponding to a second user equipment in the CS domain and corresponding to a coding manner supported by a first MGW corresponding to the own equipment, and a coding manner supported by the second MGW and corresponding to a decoding manner supported by the first MGW; or, the encoding mode and the decoding mode supported by the second MGW are obtained.
A first stipulating module 502, configured to stipulate, with the second user equipment, a first coding mode used by the own equipment for media stream coding and a second coding mode used by the second user equipment for media stream coding based on the coding mode and the decoding mode obtained by the first obtaining module 501.
The first coding mode is a coding mode supported by the first MGW and corresponding to a first decoding mode supported by the second MGW, and the second coding mode is a coding mode supported by the second MGW and corresponding to a second decoding mode supported by the first MGW.
A first transmission module 503, configured to transmit the media stream encoded by using the first encoding method or the second encoding method.
The media stream transmission device of the embodiment of the invention can realize the media stream transmission between the IMS domain and the CS domain.
EXAMPLE six
It should be noted that, this embodiment is preferably applied to a user equipment in a CS domain, as shown in fig. 6, fig. 6 shows a schematic flow diagram of a third media stream transmission apparatus provided in this embodiment of the present invention. It may include: a second obtaining module 601, a second provisioning module 602, and a second transmitting module 603, wherein,
a second obtaining module 601, configured to obtain a coding mode and a decoding mode supported by a first MGW corresponding to a first user equipment in an IMS domain; or, the decoding method is used for obtaining a decoding method supported by the first MGW and corresponding to a coding method supported by the second MGW corresponding to the own device and a coding method supported by the first MGW and corresponding to a decoding method supported by the second MGW.
A second stipulating module 602, configured to stipulate, with the first user equipment, a first coding mode used by the first user equipment for media stream coding and a second coding mode used by the own equipment for media stream coding based on the coding mode and the decoding mode obtained by the second obtaining module 601.
The first coding mode is a coding mode which is supported by the first MGW and corresponds to a first decoding mode supported by the second MGW, and the second coding mode is a coding mode which is supported by the second MGW and corresponds to a second decoding mode supported by the first MGW;
a second transmission module 603, configured to transmit the media stream encoded by using the first encoding method or the second encoding method.
The media stream transmission device of the embodiment of the invention can realize the media stream transmission between the IMS domain and the CS domain.
In addition, an embodiment of the present invention further provides a first media streaming device, where the device may include: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the apparatus; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the media streaming method according to any one of the first embodiment of the present invention.
In addition, an embodiment of the present invention further provides a second media streaming device, where the device may include: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the apparatus; the memory is used for storing executable program codes; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing a media streaming method corresponding to an embodiment of the present invention.
In addition, an embodiment of the present invention further provides a third media streaming device, where the device may include: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the apparatus; the memory is used for storing executable program codes; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the media stream transmission method corresponding to the third embodiment of the present invention.
It is to be understood that the invention is not limited to the specific arrangements and instrumentality described above and shown in the drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications and additions or change the order between the steps after comprehending the spirit of the present invention.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, Erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
It should also be noted that the exemplary embodiments mentioned in this patent describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed simultaneously.
As described above, only the specific embodiments of the present invention are provided, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present invention, and these modifications or substitutions should be covered within the scope of the present invention.

Claims (10)

1. A method of media streaming, the method comprising:
receiving a media stream sent by first user equipment in an IP multimedia subsystem IMS domain or second user equipment in a circuit switching CS domain;
when the media stream is a media stream encoded by using a first encoding mode or a second encoding mode, directly forwarding the media stream to the second user equipment or the first user equipment, wherein the first encoding mode is a encoding mode supported by a first Media Gateway (MGW) corresponding to the first user equipment and corresponding to a first decoding mode supported by a second MGW corresponding to the second user equipment, and the second encoding mode is a encoding mode supported by the second MGW and corresponding to a second decoding mode supported by the first MGW;
before the receiving the media stream sent by the first user equipment in the IMS domain or the second user equipment in the CS domain, the method further includes:
informing the second user equipment of the coding mode and the decoding mode supported by the first MGW, and informing the first user equipment of the decoding mode supported by the second MGW and corresponding to the coding mode supported by the first MGW and the coding mode supported by the second MGW and corresponding to the decoding mode supported by the first MGW;
or the like, or, alternatively,
and informing the first user equipment of the coding mode and the decoding mode supported by the second MGW, and informing the second user equipment of the decoding mode supported by the first MGW and corresponding to the coding mode supported by the second MGW and the coding mode supported by the first MGW and corresponding to the decoding mode supported by the second MGW.
2. The method of claim 1, wherein informing the second user equipment of the coding mode and the decoding mode supported by the first MGW comprises:
receiving a session INVITE message sent by the first user equipment, wherein the INVITE message includes a first coding mode group, a first decoding mode group, first identification information of the first user equipment, and second identification information of the second user equipment, the first coding mode group includes a coding mode supported by the first MGW, and the first decoding mode group includes a decoding mode supported by the first MGW;
sending an Initialization Address Message (IAM) to the second user equipment according to the second identification information, wherein the IAM comprises the first coding mode group, the first decoding mode group and the first identification information;
the notifying the first user equipment of the decoding mode supported by the second MGW and corresponding to the coding mode supported by the first MGW and the coding mode supported by the second MGW and corresponding to the decoding mode supported by the first MGW includes:
receiving an application delivery message (APM) sent by the second user equipment, wherein the APM includes a second coding mode group, a second decoding mode group, the first identification information and the second identification information, the second coding mode group includes a coding mode supported by the second MGW and corresponding to a decoding mode included in the first decoding mode group, and the second decoding mode group includes a decoding mode supported by the second MGW and corresponding to a coding mode included in the first coding mode group;
and sending a session progress message to the first user equipment according to the first identification information, wherein the session progress message comprises the second encoding mode group, the second decoding mode group and the second identification information.
3. The method of claim 1, wherein informing the first user equipment of the coding mode and the decoding mode supported by the second MGW comprises:
receiving an INVITE sent by the first user equipment, wherein the INVITE includes third identification information of the first user equipment and fourth identification information of the second user equipment;
sending an IAM to the second user equipment according to the fourth identification information;
receiving an APM sent by the second user equipment, where the APM includes a third coding mode group, a third decoding mode group, the third identification information, and the fourth identification information, the third coding mode group includes a coding mode supported by the second MGW, and the third decoding mode group includes a decoding mode supported by the second MGW;
sending a session proceeding message to the first user equipment according to the third identification information, wherein the session proceeding message includes the third encoding mode group, the third decoding mode group and the fourth identification information;
the notifying the second user equipment of the decoding mode supported by the first MGW and corresponding to the coding mode supported by the second MGW and the coding mode supported by the first MGW and corresponding to the decoding mode supported by the second MGW includes:
receiving a response message sent by the first user equipment, wherein the response message includes a fourth coding mode group, a fourth decoding mode group, the third identification information, and the fourth identification information, the fourth coding mode group includes a coding mode supported by the first MGW and corresponding to a decoding mode included in the third decoding mode group, and the fourth decoding mode group includes a decoding mode supported by the first MGW and corresponding to a coding mode included in the third coding mode group;
and sending the fourth encoding mode group and the fourth decoding mode group to the second user equipment according to the fourth identification information.
4. A method of media streaming, the method comprising:
acquiring a decoding mode which is supported by a second media gateway MGW corresponding to second user equipment in a circuit switching CS domain and corresponds to a coding mode which is supported by a first MGW corresponding to self equipment, and a coding mode which is supported by the second MGW and corresponds to a decoding mode which is supported by the first MGW;
or the like, or, alternatively,
obtaining a coding mode and a decoding mode supported by the second MGW;
based on the obtained encoding mode and decoding mode, a first encoding mode used by the second user equipment for encoding the media stream and a second encoding mode used by the second user equipment for encoding the media stream are agreed with the second user equipment, wherein the first encoding mode is a encoding mode supported by the first MGW and corresponding to a first decoding mode supported by the second MGW, and the second encoding mode is a encoding mode supported by the second MGW and corresponding to a second decoding mode supported by the first MGW;
and transmitting the media stream coded by the first coding mode or the second coding mode.
5. A method of media streaming, the method comprising:
acquiring a coding mode and a decoding mode supported by a first media gateway MGW corresponding to first user equipment in an IP multimedia subsystem IMS domain;
or the like, or, alternatively,
acquiring a decoding mode supported by the first MGW and corresponding to a coding mode supported by a second MGW corresponding to self equipment and a coding mode supported by the first MGW and corresponding to a decoding mode supported by the second MGW;
based on the obtained encoding mode and decoding mode, a first encoding mode used by the first user equipment for encoding a media stream and a second encoding mode used by the first user equipment for encoding the media stream are agreed with the first user equipment, wherein the first encoding mode is a encoding mode supported by the first MGW and corresponding to a first decoding mode supported by the second MGW, and the second encoding mode is a encoding mode supported by the second MGW and corresponding to a second decoding mode supported by the first MGW;
and transmitting the media stream coded by the first coding mode or the second coding mode.
6. An apparatus for media streaming, the apparatus comprising: a receiving module and a transmitting module, wherein,
the receiving module is used for receiving a media stream sent by first user equipment in an IP multimedia subsystem IMS domain or second user equipment in a circuit switching CS domain;
the transmission module is configured to, when the media stream is a media stream encoded by using a first encoding method or a second encoding method, directly forward the media stream to the second user equipment or the first user equipment, where the first encoding method is a encoding method supported by a first media gateway MGW corresponding to the first user equipment and corresponding to a first decoding method supported by a second MGW corresponding to the second user equipment, and the second encoding method is a encoding method supported by the second MGW and corresponding to a second decoding method supported by the first MGW;
the device further comprises: the notification module notifies, among other things,
the informing module comprises: a first notification sub-module and a second notification sub-module, wherein,
the first informing submodule is configured to inform the second user equipment of the encoding mode and the decoding mode supported by the first MGW;
the second informing submodule is configured to inform the first user equipment of a decoding manner supported by the second MGW and corresponding to the coding manner supported by the first MGW and a coding manner supported by the second MGW and corresponding to the decoding manner supported by the first MGW;
or the like, or, alternatively,
the informing module comprises: a third notification sub-module and a fourth notification sub-module, wherein,
the third informing submodule is configured to inform the first user equipment of the encoding mode and the decoding mode supported by the second MGW;
the fourth notifying sub-module is configured to notify the second user equipment of the decoding method supported by the first MGW and corresponding to the coding method supported by the second MGW and the coding method supported by the first MGW and corresponding to the decoding method supported by the second MGW.
7. The apparatus according to claim 6, wherein the first notification submodule is specifically configured to:
receiving a session INVITE message sent by the first user equipment, wherein the INVITE message includes a first coding mode group, a first decoding mode group, first identification information of the first user equipment, and second identification information of the second user equipment, the first coding mode group includes a coding mode supported by the first MGW, and the first decoding mode group includes a decoding mode supported by the first MGW;
sending an Initialization Address Message (IAM) to the second user equipment according to the second identification information, wherein the IAM comprises the first coding mode group, the first decoding mode group and the first identification information;
the second notifying sub-module is specifically configured to:
receiving an application delivery message (APM) sent by the second user equipment, wherein the APM includes a second coding mode group, a second decoding mode group, the first identification information and the second identification information, the second coding mode group includes a coding mode supported by the second MGW and corresponding to a decoding mode included in the first decoding mode group, and the second decoding mode group includes a decoding mode supported by the second MGW and corresponding to a coding mode included in the first coding mode group;
and sending a session progress message to the first user equipment according to the first identification information, wherein the session progress message comprises the second encoding mode group, the second decoding mode group and the second identification information.
8. The apparatus according to claim 6, wherein the third notification submodule is specifically configured to:
receiving an INVITE sent by the first user equipment, wherein the INVITE includes third identification information of the first user equipment and fourth identification information of the second user equipment;
sending an IAM to the second user equipment according to the fourth identification information;
receiving an APM sent by the second user equipment, where the APM includes a third coding mode group, a third decoding mode group, the third identification information, and the fourth identification information, the third coding mode group includes a coding mode supported by the second MGW, and the third decoding mode group includes a decoding mode supported by the second MGW;
sending a session proceeding message to the first user equipment according to the third identification information, wherein the session proceeding message includes the third encoding mode group, the third decoding mode group and the fourth identification information;
the fourth notifying submodule is specifically configured to:
receiving a response message sent by the first user equipment, wherein the response message includes a fourth coding mode group, a fourth decoding mode group, the third identification information, and the fourth identification information, the fourth coding mode group includes a coding mode supported by the first MGW and corresponding to a decoding mode included in the third decoding mode group, and the fourth decoding mode group includes a decoding mode supported by the first MGW and corresponding to a coding mode included in the third coding mode group;
and sending the fourth encoding mode group and the fourth decoding mode group to the second user equipment according to the fourth identification information.
9. An apparatus for media streaming, the apparatus comprising: a first obtaining module, a first provisioning module, and a first transmitting module, wherein,
the first obtaining module is configured to obtain a decoding mode supported by a second media gateway MGW corresponding to a second user equipment in a circuit switched CS domain and corresponding to a coding mode supported by a first MGW corresponding to the first media gateway MGW, and a coding mode supported by the second MGW and corresponding to a decoding mode supported by the first MGW; or, the encoding mode and the decoding mode supported by the second MGW are obtained;
the first stipulating module is configured to stipulate, based on the coding mode and the decoding mode obtained by the first obtaining module, a first coding mode used by the second user equipment for media stream coding and a second coding mode used by the second user equipment for media stream coding with the second user equipment, where the first coding mode is a coding mode supported by the first MGW and corresponding to the first decoding mode supported by the second MGW, and the second coding mode is a coding mode supported by the second MGW and corresponding to the second decoding mode supported by the first MGW;
the first transmission module is configured to transmit the media stream encoded by using the first encoding manner or the second encoding manner.
10. An apparatus for media streaming, the apparatus comprising: a second obtaining module, a second provisioning module, and a second transmitting module, wherein,
the second obtaining module is configured to obtain a coding mode and a decoding mode supported by a first media gateway MGW corresponding to a first user equipment in an IMS domain; or, the decoding method is used for obtaining a decoding method supported by the first MGW and corresponding to a coding method supported by a second MGW corresponding to the own device and a coding method supported by the first MGW and corresponding to a decoding method supported by the second MGW;
the second agreeing module is configured to agree, with the first user equipment, a first coding mode that the first user equipment uses for media stream coding and a second coding mode that the own equipment uses for media stream coding based on the coding mode and the decoding mode obtained by the second obtaining module, where the first coding mode is a coding mode that is supported by the first MGW and corresponds to the first decoding mode that is supported by the second MGW, and the second coding mode is a coding mode that is supported by the second MGW and corresponds to the second decoding mode that is supported by the first MGW;
the second transmission module is configured to transmit the media stream encoded by using the first encoding method or the second encoding method.
CN201710319214.9A 2017-05-04 2017-05-04 Media stream transmission method and device Active CN108809918B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710319214.9A CN108809918B (en) 2017-05-04 2017-05-04 Media stream transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710319214.9A CN108809918B (en) 2017-05-04 2017-05-04 Media stream transmission method and device

Publications (2)

Publication Number Publication Date
CN108809918A CN108809918A (en) 2018-11-13
CN108809918B true CN108809918B (en) 2021-05-25

Family

ID=64094436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710319214.9A Active CN108809918B (en) 2017-05-04 2017-05-04 Media stream transmission method and device

Country Status (1)

Country Link
CN (1) CN108809918B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113079392A (en) * 2021-03-08 2021-07-06 深圳奇迹智慧网络有限公司 Media content playing method and device, computer equipment and storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100563193C (en) * 2006-06-28 2009-11-25 华为技术有限公司 The implementation method of multimedia call intercommunication is carried out in a kind of CS territory and IMS territory
CN101079871B (en) * 2006-09-29 2011-05-11 腾讯科技(深圳)有限公司 Transparent transfer method and system of multimedia information stream
CN100539723C (en) * 2007-05-11 2009-09-09 华为技术有限公司 IP Multimedia System and coding/decoding conversion control method thereof
US9092872B2 (en) * 2010-10-11 2015-07-28 Graphic Security Systems Corporation System and method for creating an animation from a plurality of latent images encoded into a visible image
KR101917174B1 (en) * 2012-02-24 2018-11-09 삼성전자주식회사 Method for transmitting stream between electronic devices and electronic device for the method thereof
CN103491579B (en) * 2013-09-25 2017-06-06 大唐移动通信设备有限公司 IMS service calls method, IMS service implementation methods and device
CN104980395B (en) * 2014-04-04 2018-09-28 中国电信股份有限公司 The method and system and Media Gateway of the first system and second system media intercommunication
CN104158814B (en) * 2014-08-21 2018-01-26 大唐移动通信设备有限公司 The method and device that a kind of media coding mode is changed
US20160234529A1 (en) * 2015-02-05 2016-08-11 Syed Shakir Iqbal Method and apparatus for entropy encoding and decoding
CN105554029A (en) * 2016-01-27 2016-05-04 北京邮电大学 Method for realizing media intercommunication between WebRTC terminal and SIP terminal and media gateway

Also Published As

Publication number Publication date
CN108809918A (en) 2018-11-13

Similar Documents

Publication Publication Date Title
TWI554051B (en) A method, system and apparatus for transmitting and receiving data
CN102308560B (en) Transmission method and device of media stream data in cloud calculative system
RU2011101717A (en) TRANSFER OF SESSION CONTINUITY INFORMATION IN A MULTICOMPONENT COMMUNICATION SESSION
RU2011154613A (en) METHOD AND SYSTEM FOR IMPLEMENTING A SEPARATE CONTINUITY OF VOICE CALL ON THE RADIO INTERFACE
WO2017053154A1 (en) Speech encoding
CN103595978A (en) Negotiation coding resolution method used for video communication and system thereof
CN105227418A (en) Data channel establishing method and communication equipment
CN106921843A (en) Data transmission method and device
RU2014149129A (en) METHOD OF SWITCHING A SESSION OF COMMUNICATION OF A SUBMISSION OF MULTIMEDIA SERVICES ON THE BASIS OF THE FAMILY OF INTERNET PROTOCOLS AND THE OBJECT OF TRANSFER OF EXPRESS CALLS
CN104811251A (en) Information transmission method, device and system
US20190357174A1 (en) Data transmission method, apparatus and system
TWI432007B (en) System and method for joint voice and data transmission
CN108809918B (en) Media stream transmission method and device
CN102647402B (en) A kind of machinery of consultation of Multimedia session, relevant device and system
JP2005512476A (en) System and method for using codecs in mobile phones
CN108260170A (en) A kind of resource reservation control method and MGCF units
WO2016065638A1 (en) Data transmission method and device
CN104917736B (en) A kind of session establishing method, terminal and system
CN113014544B (en) Method and device for establishing centerless media link based on webRtc
CN101296205B (en) Method, equipment and system for implementing transparent transmission in IP network or hybrid network
US9398254B2 (en) Method for implementing telepresence technology and telepresence device
CN103401833A (en) Media cipher/decipher switching method and device
CN113014600A (en) Terminal control method and device and electronic equipment
US9288180B2 (en) Communication system and method
CN104901922A (en) Data service processing method and device based on session initiation protocol (SIP)

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