WO2019228534A1 - Procédé de transmission multimédia et passerelle h323-sip - Google Patents
Procédé de transmission multimédia et passerelle h323-sip Download PDFInfo
- Publication number
- WO2019228534A1 WO2019228534A1 PCT/CN2019/089692 CN2019089692W WO2019228534A1 WO 2019228534 A1 WO2019228534 A1 WO 2019228534A1 CN 2019089692 W CN2019089692 W CN 2019089692W WO 2019228534 A1 WO2019228534 A1 WO 2019228534A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- media
- terminal
- sip gateway
- called terminal
- calling terminal
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/102—Gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1101—Session protocols
- H04L65/1104—Session initiation protocol [SIP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1101—Session protocols
- H04L65/1106—Call signalling protocols; H.323 and related
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/141—Systems for two-way working between two video terminals, e.g. videophone
- H04N7/147—Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/15—Conference systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W80/00—Wireless network protocols or protocol adaptations to wireless operation
- H04W80/08—Upper layer protocols
- H04W80/10—Upper layer protocols adapted for application session management, e.g. SIP [Session Initiation Protocol]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/16—Gateway arrangements
Definitions
- the embodiments of the present application relate to, but are not limited to, the field of media transmission.
- H323 terminals have become mature by calling SIP terminals or joining SIP video conferences through H323-SIP gateways.
- the H323-SIP gateway still uses transcoding technology, that is, one media format is converted to the other media format for transmission.
- the H323-SIP gateway has relatively high requirements on hardware resources such as the kernel and memory. In this way, the hardware performance requirements of the H323-SIP gateway are too high, thereby increasing the commercial cost of H323-SIP products.
- an embodiment of the present application provides a media transmission method, which includes:
- the H323-SIP gateway After receiving the call access request from the calling terminal, the H323-SIP gateway sends an empty capability call message to the called terminal.
- the empty capability call message is used to request the capability set information of the called terminal, and the call access The request carries the capability set information of the calling terminal;
- the H323-SIP gateway After the H323-SIP gateway receives the capability set information sent by the called terminal, when it is determined that the calling terminal, the called terminal, and the H323-SIP gateway have a first common capability set, it will receive The received media stream is directly forwarded to the calling terminal or the called terminal.
- An embodiment of the present application further provides an H323-SIP gateway, including: a protocol stack module, a main control module, and a media module;
- the protocol stack module is configured to send an empty capability call message to the called terminal after receiving a call access request from the calling terminal, where the empty capability call message is used to request the capability set information of the called terminal.
- the call access request carries the capability set information of the calling terminal;
- the main control module is configured to, after receiving the capability set information sent by the called terminal, when determining that the calling terminal, the called terminal, and the H323-SIP gateway have a first common capability set, Notifying the media module to directly forward the received media code stream to the calling terminal or the called terminal;
- the media module is configured to directly forward the received media code stream to the calling terminal or the called terminal after receiving the notification.
- An embodiment of the present application further provides a H323-SIP gateway, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor.
- a H323-SIP gateway which includes a memory, a processor, and a computer program stored on the memory and executable on the processor.
- An embodiment of the present application further provides a computer-readable storage medium.
- a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the foregoing media transmission method are implemented.
- an embodiment of the present application discloses a media transmission method and an H323-SIP gateway.
- the media transmission method includes: The H323-SIP gateway sends a null capability call message after receiving a call access request from a calling terminal. To the called terminal, the empty capability call message is used to request the capability set information of the called terminal, and the call access request carries the capability set information of the calling terminal; the H323-SIP gateway receives After receiving the capability set information sent by the called terminal, when it is determined that the calling terminal, the called terminal, and the H323-SIP gateway have a first common capability set, the received media code stream is directly forwarded To the calling terminal or the called terminal. In this way, the H323-SIP gateway no longer uses the transcoding mode, but uses the automatic stream forwarding mode, which reduces the requirements for system hardware performance and reduces the commercial cost of H323-SIP gateway products.
- FIG. 1 is a schematic flowchart of a media transmission method according to Embodiment 1 of the present application
- FIG. 2 is a schematic networking diagram of a media transmission system provided in Embodiment 2 of the present application.
- FIG. 3 is a schematic flowchart of a media transmission method provided in Embodiment 2 of the present application.
- FIG. 4 is a schematic structural diagram of an H323-SIP gateway provided in Embodiment 3 of the present application.
- FIG. 5 is a schematic flowchart of a media transmission method performed by an H323-SIP gateway provided in Implementation 3 of this application;
- FIG. 6 is a schematic flowchart of another media transmission method performed by an H323-SIP gateway provided in Implementation 3 of this application;
- FIG. 7 is a schematic flowchart of a media resource management method provided by an H323-SIP gateway provided in Implementation 3 of this application.
- the H.323 protocol is a standard for multimedia communications formulated by the International Telecommunication Union Telecommunication Standardization Sector (ITU-T).
- the Session Initiation Protocol (SIP) is developed by the Internet Engineering Task Force (Internet Engineering).
- Task Open Force (IETF) is an open IP telephone signaling protocol.
- Both H.323 protocol and SIP can use real-time transmission protocol (RTP) to transmit real-time audio and video transmission.
- RTP real-time transmission protocol
- the complexity of communication between the two is not high.
- the H323-SIP gateway uses media transcoding technology for media transmission, that is, the media format of one party is converted to the media format of the other party for transmission.
- the H323-SIP gateway has relatively high requirements on hardware resources such as the kernel and memory. In this way, the hardware performance requirements of the H323-SIP gateway are too high, thereby increasing the commercial cost of H323-SIP products.
- the embodiments of the present application provide a media transmission method and an H323-SIP gateway.
- the H323-SIP gateway After receiving a call access request from a calling terminal, the H323-SIP gateway sends an empty capability call message to the called terminal, and the empty capability The call message is used to request the capability set information of the called terminal, and the call access request carries the capability set information of the calling terminal; the H323-SIP gateway receives the capability sent by the called terminal After collecting the information, when it is determined that the calling terminal, the called terminal, and the H323-SIP gateway have a first common capability set, the received media code stream is directly forwarded to the calling terminal or the Called terminal.
- the H323-SIP gateway no longer uses the transcoding mode, but uses the automatic stream forwarding mode, which reduces the requirements for system hardware performance and reduces the commercial cost of H323-SIP gateway products.
- FIG. 1 is a schematic flowchart of a media transmission method according to Embodiment 1 of the present application. As shown in FIG. 1, the method includes:
- Step 101 After receiving the call access request from the calling terminal, the H323-SIP gateway sends a null capability call message to the called terminal, where the null capability call message is used to request the capability set information of the called terminal.
- the call access request carries the capability set information of the calling terminal;
- Step 102 After receiving the capability set information sent by the called terminal, the H323-SIP gateway determines that the calling terminal, the called terminal, and the H323-SIP gateway have a first common capability set. , Directly forwarding the received media code stream to the calling terminal or the called terminal.
- the method further includes:
- the received media code stream is transcoded and sent to the calling terminal or all The called terminal is described.
- the method may further include:
- the H323-SIP gateway sends a first codec message to the calling terminal and the called terminal, and the first codec message is used to notify the calling terminal and the called terminal to use the same
- a dynamic payload type, an encryption key, and an encryption algorithm are used for encoding and decoding.
- the first dynamic payload type is used to indicate a single capability optimized from the first common capability set.
- the method may further include:
- the H323-SIP gateway sends a second codec message to the calling terminal, and the second codec message is used for notification A second dynamic load type used by the calling terminal, where the second dynamic load type is used to indicate a single capability selected from the second common capability set;
- the H323-SIP gateway and the called terminal have a third common capability set
- the H323-SIP gateway sends a third codec message to the called terminal, and the third codec message is used for notification
- the third dynamic load type used by the terminal, the third dynamic load type is used to indicate a single capability that is optimized from the third common capability set.
- the transcoding processing of the received media code stream to the calling terminal or the called terminal includes at least one of the following:
- the H323-SIP gateway receives the first media code stream from the calling terminal, decodes the first media code stream according to the second dynamic load type, and then restarts according to the three dynamic load types. Encode the decoded first media stream and send it to the called terminal;
- the H323-SIP gateway After the H323-SIP gateway receives the second media stream from the called terminal, decodes the second media stream according to the third dynamic load type, and then restarts the process according to the two dynamic load types. Encode the decoded second media stream and send it to the calling terminal.
- the method may further include:
- the H323-SIP gateway calculates the total number of available media resources, and optimizes a single capability from the first common capability set according to the total number of media resources.
- the method may further include:
- the method includes:
- the H323-SIP gateway calculates the total number of available media resources, and optimizes a single capability from the third common capability set according to the total number of media resources.
- the H323-SIP gateway after receiving a call access request from a calling terminal, the H323-SIP gateway sends a null capability call message to the called terminal, and the null capability call message is used to request the called terminal.
- Capability set information the call access request carries the capability set information of the calling terminal; after receiving the capability set information sent by the called terminal, the H323-SIP gateway determines the calling party When the terminal, the called terminal, and the H323-SIP gateway have a first common capability set, the received media code stream is directly forwarded to the calling terminal or the called terminal.
- the H323-SIP gateway implements an automatic media forwarding method, avoiding transcoding methods as much as possible, reducing media energy consumption, thereby reducing the product's requirements for hardware performance and reducing the deployment cost of the gateway product.
- FIG. 2 is a schematic networking diagram of a media transmission system provided in Embodiment 2 of the present application
- FIG. 3 is a schematic flowchart of a media transmission method provided in Embodiment 2 of the present application.
- the media transmission system includes: H323 terminal, SIP terminal, and H323-SIP gateway, and H323 terminal and SIP terminal perform video conference interaction through the H323-SIP gateway.
- H323 terminal the media capabilities of H323 terminals and SIP terminals are the same in many scenarios.
- the H323-SIP gateway uses the automatic media forwarding method, which reduces the cost of H323-SIP deployment.
- this media transmission method is applied to an H323-SIP gateway and includes:
- Step 301 Calculate and save the total number of media resources.
- the H323-SIP gateway can convert the host CPU's CPU frequency, CPU cores, and memory into media resources.
- the CPU cores and memory can be converted into audio and video forwarding channels and audio and video transcoding channels.
- the host's CPU has 8 cores, and one CPU core can forward 5000 G711A code streams or transcode 200 G711A code streams, then 1, G711A forwards a total of 5000 * 8 channels of proxy; 2, G711A transcodes a total of The number of proxy channels is 200 * 8; the H323-SIP gateway saves the total number of resources converted, that is, the correspondence between the audio and video format, the number of forwarding channels, and the number of transcoding channels.
- step 302 it is determined whether a call access request from the calling terminal is received, and if it is received, execution is performed downward, that is, step 303 is performed, otherwise step 302 is continued;
- Step 303 Analyze the information of the calling terminal and the called terminal, and determine whether the calling terminal and the called terminal have access through the same protocol. If the access is through the same protocol, the process ends; otherwise, continue to execute, that is, step 304 is performed. ;
- the calling terminal and the called terminal are H323 terminal or SIP terminal, respectively, but the calling terminal and the called terminal respectively access the H323-SIP gateway through different protocols, namely H323 protocol or SIP protocol, that is, the calling terminal and When the called terminal accesses the H323-SIP gateway through different protocols, the following process continues.
- the call access request sent by the calling terminal carries the capability set information of the calling terminal;
- Step 304 Send a null capability call message to the called terminal
- the empty capability call message is used to request capability set information of the called terminal.
- Step 305 Receive a response message from the called terminal
- the response message carries the capability set information of the called terminal.
- Step 306 Judge the capability set of the calling terminal, the called terminal, and itself, and determine whether the calling terminal, the called terminal, and the H323-SIP gateway have a first common capability set;
- the above capability set refers to the audio and video formats supported by the calling terminal, called terminal, or H323-SIP gateway.
- the capability set of the H323-SIP gateway is G711A, G711U, H264, and H264HP.
- the capability set of the called terminal SIP terminal is G711A and H264 capabilities.
- Step 307 When it is determined that the calling terminal, the called terminal, and the H323-SIP gateway have a first common capability set, a single capability is selected from the first common capability set; Go to step 310;
- the intersection of audio and video capabilities of the H323-SIP gateway, calling terminal, and called terminal is G711A and H264, so that the calling terminal, called terminal, and H323-SIP can be determined.
- the gateway has a first common capability set, and the first common capability set is G711A and H264.
- the capabilities of the SIP terminal are G711U and H264HP, then the audio and video capabilities of the H323-SIP gateway, the calling terminal, and the called terminal intersect, and the intersection does not hold. In this way, it can be determined that the calling terminal, called terminal, and H323-SIP gateway are not Have the first common ability set.
- the preferred single capability can be determined according to factors such as audio and video quality requirements. This is the existing technology and will not be repeated here. .
- Step 308 Send a message to the calling terminal and the called terminal to encode and decode using the same dynamic load type and key, and request the calling terminal and the called terminal to update the encoder and decoder;
- a first codec message may be sent to the calling terminal and the called terminal through private signaling, and the first codec message is used to notify the calling terminal and the called terminal to use the same
- a first dynamic payload type, an encryption key, and an encryption algorithm are used for encoding and decoding, and the first dynamic payload type is used to indicate a single capability that is optimized from the first common capability set.
- step 309 after receiving the first media stream from the calling terminal, no transcoding is required, and it is directly forwarded to the called terminal; after receiving the second media stream from the called terminal, transcoding is not required. Forward directly to the calling terminal; the process ends;
- transcoding decoding and re-encoding
- the transcoding is not performed anymore, but it is directly forwarded.
- Step 310 judge the capability sets of the calling terminal and the H323-SIP gateway, and determine whether the calling terminal and the H323-SIP gateway have a second common capability set; judge the capability sets of the called terminal and the H323-SIP gateway, Determining whether the called terminal and the H323-SIP gateway have a third common capability set;
- the capability set of the H323-SIP gateway is G711A, G711U, H264 and H264HP
- the capability set of the calling terminal H323 terminal is G711A and H264 capability
- the capability set of the called terminal SIP terminal is G711U and H264HP.
- the calling terminal, the called terminal, and the H323-SIP gateway do not have a first common capability set.
- Step 311 when the calling terminal and the H323-SIP gateway have a second common capability set, a single capability is selected from the second common capability set, and when the called terminal and the H323-SIP gateway have a third common capability set, Then a single capability is optimized from the third common capability set; if the single capability is not preferred, the call is hung up and the process ends;
- the second common capability set is G711A and H264
- the third common capability set is G711U and H264HP.
- the single capability that can be supported is selected as the preferred single capability. If there are multiple sets of audio and video formats in the first common capability set, and all of them have sufficient media resources to support them, the single preferred capability can be determined according to factors such as audio and video quality requirements. This is a related technology and will not be repeated here.
- Step 312 if the H323-SIP gateway and the calling terminal have a second common capability set, send a second codec message to the calling terminal; if the H323-SIP gateway and the called terminal Having a third common capability set, sending a third codec message to the called terminal;
- the second codec message is used to notify the calling terminal of a second dynamic load type, and the second dynamic load type is used to indicate a single capability selected from the second common capability set;
- the third codec message is used to notify the third dynamic load type used by the terminal, and the third dynamic load type is used to indicate a single capability selected from the third common capability set.
- Step 313 After receiving the first media stream from the calling terminal, decode the first media stream according to the second dynamic load type, and then decode again according to the three dynamic load types.
- the first media stream after encoding is sent to the called terminal; and / or, after receiving the second media stream from the called terminal, the first media stream is After the two media streams are decoded, the decoded second media stream is re-encoded according to the two dynamic load types and sent to the calling terminal.
- the H323-SIP gateway implements an automatic media forwarding method, avoiding transcoding methods as much as possible, reducing media energy consumption, thereby reducing the product's requirements for hardware performance, and achieving the maximum
- the reasonable allocation of media resources of the H323-SIP gateway ensures optimal use of media resources, improves picture and sound quality, and reduces product deployment costs.
- the H323-SIP gateway includes: a protocol stack module, a main control module, and a media module connected to each other;
- the protocol stack module is configured to send an empty capability call message to the called terminal after receiving a call access request from the calling terminal, where the empty capability call message is used to request the capability set information of the called terminal.
- the call access request carries the capability set information of the calling terminal;
- the main control module is configured to, after receiving the capability set information sent by the called terminal, when determining that the calling terminal, the called terminal, and the H323-SIP gateway have a first common capability set, Notifying the media module to directly forward the received media code stream to the calling terminal or the called terminal;
- the media module is configured to forward the received media stream directly to the calling terminal or the called terminal after receiving the notification from the main control module.
- the main control module is further configured to notify the media module to receive media when it is determined that the calling terminal, the called terminal and the H323-SIP gateway do not have a first common capability set.
- the code stream is transcoded and sent to the calling terminal or the called terminal.
- the main control module is further configured to, when it is determined that the calling terminal, the called terminal and the H323-SIP gateway have a common capability set, notify the protocol stack module to the calling terminal and The called terminal sends a first codec message, and the first codec message is used to notify the calling terminal and the called terminal to use the same first dynamic load type, encryption key, and encryption algorithm for encoding And decoding, the first dynamic load type is used to indicate a single capability optimized from the first common capability set.
- the main control module is further configured to, when it is determined that the calling terminal, the called terminal, and the H323-SIP gateway do not have a first common capability set, if the H323-SIP gateway and the H323-SIP gateway
- the calling terminal has a second common capability set, and notifies the protocol stack module to send a second codec message to the calling terminal, where the second codec message is used to notify the second dynamic load used by the calling terminal Type, the second dynamic load type is used to indicate a single capability selected from the second common capability set; if the H323-SIP gateway and the called terminal have a third common capability set, notify the protocol
- the stack module sends a third codec message to the called terminal, where the third codec message is used to notify the third dynamic load type used by the terminal, and the third dynamic load type is used to indicate that the third dynamic load type
- the third common ability focuses on the optimized single ability.
- the media module is configured to perform at least one of the following operations:
- the media stream After receiving the first media stream from the calling terminal, decoding the first media stream according to the second dynamic load type, and then re-decoding the first decoded first stream according to the three dynamic load types.
- the media stream is encoded and sent to the called terminal;
- the media stream After receiving the second media code stream from the called terminal, decoding the second media code stream according to the third dynamic load type, and then re-decoding the second decoded second stream according to the two dynamic load types.
- the media stream is encoded and sent to the calling terminal.
- the media module is configured to calculate and save the total number of available media resources before the protocol stack module sends the first codec message to the calling terminal and the called terminal;
- the main control module is further configured to optimize a single capability from the first common capability set according to the total number of the media resources.
- the media module is configured to calculate and save the total number of available media resources before the protocol stack module sends a second codec message to the calling terminal;
- the main control module is further configured to optimize a single capability from the second common capability set according to the total number of the media resources;
- the media module is further configured to calculate and save the total number of available media resources before the protocol stack module sends a third codec message to the called terminal;
- the main control module is further configured to optimize a single capability from the third common capability set according to the total number of media resources.
- the H323-SIP gateway implements an automatic media forwarding method, avoids transcoding methods as much as possible, reduces media energy consumption, thereby reducing the product's requirements for hardware performance, and reducing the deployment of gateway products. cost.
- FIG. 5 is a schematic flowchart of a media transmission method performed by an H323-SIP gateway provided in Implementation 3 of this application.
- the H323-SIP gateway includes: an interconnected protocol stack module, a main control module and a media module; the protocol stack module is a unit module accessed by the H323 terminal and the SIP terminal, and can handle H323 signaling and SIP signaling; the main control module controls The H323 protocol and SIP signaling are converted to each other and media policies and media resources are managed.
- the media module calculates the total number of media resources, receives media streams, encodes and decodes them, and forwards media streams.
- the media transmission method includes:
- the media module is converted into media resources (that is, the number of audio and video forwarding paths and the number of audio and video transcoding paths) reported to the main control module according to the host's CPU frequency, CPU core number, and memory.
- Step 502 The main control module records the total number of media resources (including: the total number of forwarded audio and video channels and the total number of transcoded audio and video channels);
- step 503 the protocol stack module determines whether a call from the calling terminal is received, and if it is received, executes downward, that is, performs step 504, otherwise proceeds to 503;
- Step 504 The protocol stack module analyzes the information of the calling terminal and the called terminal, and reports the information to the main control module.
- Step S505 The main control module judges whether the calling terminal and the called terminal have access through the same protocol. If the access is through the same protocol, skip to step 515 to execute, and then end the process.
- Step 506 The main control module sends a null capability call message to the protocol stack module, and the protocol stack module forwards the message to the called terminal;
- Step 507 After receiving the capability set response from the other party, the protocol stack module reports it to the main control module.
- the main control module performs a common capability calculation on the local capability sets of the calling terminal, the called terminal, and the gateway. A single capability is preferred in the set (first common capability set). If no single capability is preferred, skip to step 512 for execution;
- Step 508 The main control module sends a message to the protocol stack module, requiring the calling terminal and the called terminal to use the same dynamic load type and key for encoding and decoding;
- Step 509 the protocol stack module sends a message encoded and decoded using the same dynamic load type and key to the calling terminal and the called terminal through a private signaling message, and requires the calling terminal and the called terminal to update the encoder and decode.
- Step 510 The main control module sends a message to the media module, requesting the media module to directly forward the media code stream of the calling terminal and the called terminal;
- the media module receives the code stream, and does not need to decode and re-encode, but directly forwards it to the peer end, and ends the process;
- Step 512 The main control module calculates the common capabilities (the second common capability set and the third common capability set) of the calling terminal and the local capabilities and the called terminal and the local capabilities respectively. If the common capabilities cannot be calculated, skip to step 515 is executed; if common capabilities can be calculated, the main control module selects a single capability from the common capability set, and if no single capability is preferred, skips to step 515 for execution;
- Step 513 The main control module sends a message to the media module, requesting the media module to decode the received code stream, re-encode it, and then forward it to the peer;
- Step 514 After receiving the terminal code stream, the media module decodes it, re-encodes it, and then forwards it to the peer, and ends the process.
- Step 515 Hang up the call and end the process.
- the H323-SIP gateway implements an automatic media forwarding method, avoiding transcoding methods as much as possible, reducing media energy consumption, thereby reducing the product's requirements for hardware performance, and achieving the maximum
- the reasonable allocation of media resources of the H323-SIP gateway ensures optimal use of media resources, improves picture and sound quality, and reduces product deployment costs.
- FIG. 6 is a schematic flowchart of another media transmission method performed by the H323-SIP gateway provided by Implementation 3 of this application.
- the H323-SIP gateway includes: an interconnected protocol stack module, a main control module and a media module; the protocol stack module is a unit module accessed by the H323 terminal and the SIP terminal, and can handle H323 signaling and SIP signaling; the main control module controls The H323 protocol and SIP signaling are converted to each other and media policies and media resources are managed.
- the media module calculates the total number of media resources, receives media streams, encodes and decodes them, and forwards media streams.
- the media transmission method includes:
- Step 601 The main control module records the total number of transcoding resources and the total number of forwarding resources of the audio and video reported by the media module, and then determines whether a call access is received. If a call access is received, the next step is performed, otherwise step 601 is continued;
- Step 602 The main control module collects audio and video capabilities of the calling terminal and the called terminal;
- Step 603 The main control module calculates the intersection of the local audio and video capabilities of the calling terminal, the called terminal, and the gateway, and then determines whether there is an intersection set. If there is an intersection set, skip to step 608.
- Step 604 The main control module performs an intersection calculation on the calling terminal and the local capability, and determines whether there is an intersection. If not, skip to step 611.
- Step 605 The main control module performs an optimal audio and video capability on the intersection set, and requires the media module to encode and send the code stream to the calling terminal if it receives the code stream.
- Step 606 The main control module performs an intersection calculation on the local capabilities of the called terminal and the gateway, and determines whether there is an intersection. If not, skip to step 611.
- Step 607 The main control module performs an optimal audio and video capability on the intersection set, and requires the media module to encode and send the code stream to the called terminal if the code stream is received, and the process ends;
- Step 608 The main control module performs an optimal audio and video capability on the intersection set.
- Step 609 The main control module requires the calling terminal box and the called terminal to use the same load type and encryption key and encryption algorithm for encoding and decoding;
- Step 610 The main control module requires the media module to directly forward the code streams of the calling terminal and the called terminal, and the process ends;
- Step 611 The main control module requests the protocol stack module to reject the call and ends the process.
- the H323-SIP gateway implements an automatic media forwarding method, which avoids transcoding methods as much as possible, reduces media energy consumption, thereby reducing product requirements for hardware performance, and reducing gateway product deployment cost.
- the following uses a specific embodiment 6 to describe in detail how the H323-SIP gateway performs media resource management, so as to implement calculation and storage of the total number of available media resources.
- FIG. 7 is a schematic flowchart of a media resource management method provided by an H323-SIP gateway provided in Implementation 3 of this application.
- the H323-SIP gateway includes: an interconnected protocol stack module, a main control module and a media module; the protocol stack module is a unit module accessed by the H323 terminal and the SIP terminal, and can handle H323 signaling and SIP signaling; the main control module controls The H323 protocol and SIP signaling are converted to each other and media policies and media resources are managed.
- the media module calculates the total number of media resources, receives media streams, encodes and decodes them, and forwards media streams.
- the method includes:
- Step 701 The media module calculates the total number of transcoded and forwarded media resources for each audio and video capability according to the number of CPU cores and memory, and then reports it to the main control module;
- step 702 whether the media module has received the main control module request to directly forward the code stream, and if it has not received it, skip to step 704;
- Step 703 Recalculate the total number of resources that are directly forwarded by the media, and report to the main control module the total number of available media resources that forward the codestream synchronously, and end the process.
- step 704 the media module determines whether a transcoding request is received from the main control module, and if it is not received, skips to step 702;
- Step 705 recalculate the total number of media transcoding resources, report to the main control module the total number of media resources that forward the code stream synchronously, and end the process.
- the media resource calculation method is specifically illustrated as follows:
- the host CPU has 8 cores, and one CPU core can forward 5000 G711A code streams or 200 G711A code streams, then
- G711A forwards a total of 5000 * 8 routes
- the total number of G711A transcoding agents is 200 * 8.
- the media module receives the transcoding required by the main control module for the specific capability G711A, and reports to the main control module (200 * 8-1) on the road, the main control module updates the total number of resources, and the total number of resources in the forwarding code stream method is also calculated.
- the H323-SIP gateway implements an automatic media forwarding method by calculating and saving the total number of media resources available for direct forwarding of code streams or transcoding, which avoids transcoding methods as much as possible and reduces media Energy consumption reduces the product's requirements for hardware performance and reduces the deployment costs of gateway products.
- An embodiment of the present application further provides a H323-SIP gateway, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor.
- a H323-SIP gateway which includes a memory, a processor, and a computer program stored on the memory and executable on the processor.
- An embodiment of the present application further provides a computer-readable storage medium.
- a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the foregoing media transmission method are implemented.
- computer storage medium includes volatile and non-volatile implemented in any method or technology configured to store information, such as computer-readable instructions, data structures, program modules, or other data.
- Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or may Any other medium configured to store the desired information and accessible by the computer.
- a communication medium typically contains computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information delivery medium .
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Les modes de réalisation de la présente invention concernent un procédé de transmission multimédia et une passerelle H323-SIP. Le procédé de transmission multimédia comprend les étapes suivantes : après réception d'une demande d'accès d'appel d'un terminal appelant, une passerelle H323-SIP envoie un message d'appel de capacité vide à un terminal appelé, le message d'appel de capacité vide étant utilisé pour demander des informations d'ensemble de capacités du terminal appelé, et la demande d'accès d'appel transportant des informations d'ensemble de capacités du terminal appelant ; et après réception des informations d'ensemble de capacités envoyées par le terminal appelé, la passerelle H323-SIP transmet directement un flux binaire multimédia reçu au terminal appelant ou au terminal appelé sur détermination du fait que le terminal appelant, le terminal appelé et la passerelle H323-SIP possèdent un premier ensemble de capacités communes.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810559119.0A CN110557593A (zh) | 2018-06-01 | 2018-06-01 | 一种媒体传输方法及h323-sip网关 |
| CN201810559119.0 | 2018-06-01 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2019228534A1 true WO2019228534A1 (fr) | 2019-12-05 |
Family
ID=68697855
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2019/089692 Ceased WO2019228534A1 (fr) | 2018-06-01 | 2019-05-31 | Procédé de transmission multimédia et passerelle h323-sip |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN110557593A (fr) |
| WO (1) | WO2019228534A1 (fr) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113079357A (zh) * | 2021-04-08 | 2021-07-06 | 天地伟业技术有限公司 | 一种实现音视频交互的编码器及系统 |
| CN113301025A (zh) * | 2021-05-07 | 2021-08-24 | 中国人民解放军陆军工程大学 | 一种ims音视频转码及传输控制系统及实现方法 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1801925A (zh) * | 2004-12-31 | 2006-07-12 | 华为技术有限公司 | 一种实现ngn网络与移动网络视频互通的方法 |
| CN1881869A (zh) * | 2005-11-01 | 2006-12-20 | 华为技术有限公司 | 一种实现加密通信的方法 |
| WO2008046245A1 (fr) * | 2006-10-17 | 2008-04-24 | Huawei Technologies Co., Ltd. | Procédé et système de configuration d'une session multimédia dans des systèmes multimédia interconnectés |
| US20080186952A1 (en) * | 2006-08-11 | 2008-08-07 | Huawei Technologies Co., Ltd. | Method and system for setting up a multimedia session in multimedia internetworking systems |
| CN102439924A (zh) * | 2009-06-04 | 2012-05-02 | 日本电气株式会社 | 网关装置、方法和系统 |
| CN107181723A (zh) * | 2016-03-11 | 2017-09-19 | 中兴通讯股份有限公司 | 一种媒体编解码协商方法及终端设备 |
Family Cites Families (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8155109B2 (en) * | 2006-04-04 | 2012-04-10 | Telecommunication Systems, Inc. | SS7 ISUP to SIP based call signaling conversion gateway for wireless VoIP E911 |
| CN1996970A (zh) * | 2006-12-19 | 2007-07-11 | 中兴通讯股份有限公司 | 一种3g视频网关多媒体编解码能力协商方法 |
| CN101056466B (zh) * | 2007-02-12 | 2010-09-08 | 华为技术有限公司 | 一种呼叫过程中调整语音编解码方式的方法及装置 |
| CN101483930A (zh) * | 2008-12-30 | 2009-07-15 | 华为技术有限公司 | 一种媒体网关资源的利用方法、设备及系统 |
| CN102196106B (zh) * | 2010-03-11 | 2013-12-04 | 华为软件技术有限公司 | 实现主被叫通话的方法和相关设备 |
| CN102025715B (zh) * | 2010-05-17 | 2014-01-01 | 华中科技大学 | 一种基于sip协议的多媒体网络通信方法 |
| WO2014169930A1 (fr) * | 2013-04-18 | 2014-10-23 | Unify Gmbh & Co. Kg | Procédé de commande de négociation de codec d'une passerelle, programme informatique pour l'exécution du procédé et système de communication permettant de commander la négociation de codec |
| CN103929420A (zh) * | 2014-04-01 | 2014-07-16 | 中国人民解放军91655部队 | 一种多媒体呼叫控制方法和系统 |
| CN104158814B (zh) * | 2014-08-21 | 2018-01-26 | 大唐移动通信设备有限公司 | 一种媒体编码方式转换的方法及装置 |
| CN104486293B (zh) * | 2014-11-25 | 2018-09-28 | 中国电子科技集团公司第三十研究所 | 无线VoIP环境下基于网络和终端能力的媒体协商方法和系统 |
-
2018
- 2018-06-01 CN CN201810559119.0A patent/CN110557593A/zh active Pending
-
2019
- 2019-05-31 WO PCT/CN2019/089692 patent/WO2019228534A1/fr not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1801925A (zh) * | 2004-12-31 | 2006-07-12 | 华为技术有限公司 | 一种实现ngn网络与移动网络视频互通的方法 |
| CN1881869A (zh) * | 2005-11-01 | 2006-12-20 | 华为技术有限公司 | 一种实现加密通信的方法 |
| US20080186952A1 (en) * | 2006-08-11 | 2008-08-07 | Huawei Technologies Co., Ltd. | Method and system for setting up a multimedia session in multimedia internetworking systems |
| WO2008046245A1 (fr) * | 2006-10-17 | 2008-04-24 | Huawei Technologies Co., Ltd. | Procédé et système de configuration d'une session multimédia dans des systèmes multimédia interconnectés |
| CN102439924A (zh) * | 2009-06-04 | 2012-05-02 | 日本电气株式会社 | 网关装置、方法和系统 |
| CN107181723A (zh) * | 2016-03-11 | 2017-09-19 | 中兴通讯股份有限公司 | 一种媒体编解码协商方法及终端设备 |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113079357A (zh) * | 2021-04-08 | 2021-07-06 | 天地伟业技术有限公司 | 一种实现音视频交互的编码器及系统 |
| CN113301025A (zh) * | 2021-05-07 | 2021-08-24 | 中国人民解放军陆军工程大学 | 一种ims音视频转码及传输控制系统及实现方法 |
| CN113301025B (zh) * | 2021-05-07 | 2022-10-25 | 中国人民解放军陆军工程大学 | 一种ims音视频转码及传输控制系统及实现方法 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110557593A (zh) | 2019-12-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| AU2022209216B2 (en) | Methods and apparatus for use of compact concurrent codecs in multimedia communications | |
| CN100496018C (zh) | 通信控制装置、通信终端装置、服务器装置和通信控制方法 | |
| CN109600617B (zh) | 视频数据的编码、转发方法、装置、设备及存储介质 | |
| CN108293000B (zh) | 用于使用单源多单播的多媒体会议的方法 | |
| CN101895569B (zh) | 视频浏览的实现方法、ims视频监控系统及监控前端 | |
| JP2001203726A (ja) | 通信システム、通信方法および通信装置 | |
| JP2011508546A (ja) | オーディオ処理の方法、システム、及び制御サーバ | |
| CN112637545B (zh) | 统一会议平台系统、网关及会议管理和创建会议的方法 | |
| CN108965776A (zh) | 一种通信方法以及通信系统 | |
| CN102223201A (zh) | 一种编解码器能力协商方法及终端 | |
| CN111327580A (zh) | 一种报文传输方法及装置 | |
| WO2017003768A1 (fr) | Procédés et appareil pour négociation de codec dans des conférences multimédia décentralisées | |
| WO2023016177A1 (fr) | Système, appareil et procédé de traitement d'appel | |
| CN100536475C (zh) | 一种3g视频网关多媒体编解码能力协商方法 | |
| WO2019228534A1 (fr) | Procédé de transmission multimédia et passerelle h323-sip | |
| WO2012075966A1 (fr) | Procédé de traitement pour flux de données de média, et passerelle de média | |
| WO2009121284A1 (fr) | Procédé, système et passerelle de fourniture de service intelligent | |
| CN101394568B (zh) | 视频数据的更新方法及其装置和系统 | |
| WO2008040186A1 (fr) | Procédé, système et passerelle destinés à négocier la capacité d'un détecteur de signal des données | |
| CN111278082A (zh) | 终端通信装置、方法、系统、设备及存储介质 | |
| CN101415249B (zh) | 会话初始化协议数据业务信令协商的方法、系统及装置 | |
| CN101160983A (zh) | 一种数据流处理的方法、装置和系统 | |
| CN100396095C (zh) | 速率适配方法 | |
| CN103401833A (zh) | 媒体编解码切换方法和装置 | |
| CN115334059A (zh) | 一种音视频互通方法、装置、设备及存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19811536 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC ( EPO FORM 1205A DATED 20/04/2021 ) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 19811536 Country of ref document: EP Kind code of ref document: A1 |