WO2010083773A1 - Coding-decoding negotiation method, communication system, and device for encrypted voice call - Google Patents

Coding-decoding negotiation method, communication system, and device for encrypted voice call Download PDF

Info

Publication number
WO2010083773A1
WO2010083773A1 PCT/CN2010/070328 CN2010070328W WO2010083773A1 WO 2010083773 A1 WO2010083773 A1 WO 2010083773A1 CN 2010070328 W CN2010070328 W CN 2010070328W WO 2010083773 A1 WO2010083773 A1 WO 2010083773A1
Authority
WO
WIPO (PCT)
Prior art keywords
mgw
voice call
msc server
office
encrypted
Prior art date
Application number
PCT/CN2010/070328
Other languages
French (fr)
Chinese (zh)
Inventor
朱浩鹏
李毅
李�杰
罗少华
谢宁
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2010083773A1 publication Critical patent/WO2010083773A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1023Media gateways
    • H04L65/103Media gateways in the network
    • 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/75Media network packet handling
    • H04L65/765Media network packet handling intermediate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/24Negotiation of communication capabilities

Definitions

  • the mobile terminal uses RPE-LTP (Regular Pulse Excitation-Long Term Prediction) to transmit the voice signal at 13 kbps.
  • RPE-LTP Regular Pulse Excitation-Long Term Prediction
  • the BSC After receiving the voice signal of the mobile terminal, the BSC converts the voice content into G.
  • the .711 format code is transmitted over E1 in a time division multiplexed TDM mode with a fixed rate of 64 kbps. In this way, the voice content of the sender and receiver of the voice are consistent and will not be changed.
  • the embodiment of the present invention provides a method, a communication system, and a device for encoding and decoding an encrypted voice call.
  • the encrypted voice call can be implemented in the IP bearer network by using the G.711 format without inserting the IWF resource on the MGW. transmission.
  • the MSC SERVER receives the notification message reported by the local office MGW, and the notification message is that the local office MGW detects the inband signal sent by the encrypted terminal, and recognizes that the current voice call is an encrypted voice call, and then sends the local voice call to the local end office.
  • the MSC SERVER modifies the codec type of the IP endpoint on the local office MGW to the G.711 format, and sends a message to the peer office MSC SERVER to notify the peer office MSC SERVER of the IP endpoint on the opposite MGW.
  • the codec type is modified to the G.711 format, and the local office MGW and the opposite office MGW transmit the voice call through the IP bearer.
  • the encrypted voice call codec negotiation method sents an encrypted voice call detection event to the MGW through the MSC SERVER, so that during the voice call, the MGW can detect the encrypted voice and report it to the MSC SERVER, and the MSC SERVER completes. Modification of the codec type of the IP endpoint on the MGW and notifying the peer MSC SERVER to complete the modification of the codec type of the IP endpoint on the MGW, realizing the reliable transmission of the encrypted voice call, and by this method, the IWF resource does not need to be inserted on the MGW. P is competing for lower communication costs.
  • the encrypted voice call codec negotiation method sents an encrypted voice call detection event or an automatic handover indication event to the MGW through the MSC SERVER in the voice call communication path, so that the MGW detects the encrypted voice and completes the local office.
  • the modification of the IP endpoint codec type on the MGW realizes reliable transmission of the encrypted voice call, and in this way, the IWF resource does not need to be inserted on the MGW, and the communication cost is low.
  • the local office mobile switching server MSC SERVER is configured to receive the signaling message related to the voice call, and determine that the bearer types of the voice call on both sides of the local office media gateway MGW are respectively IP bearer and TDM bearer, and are selected on both sides.
  • the codec type is inconsistent, and when the TDM endpoint is established, the encrypted voice call detection event is sent to the media gateway MGW;
  • the peer MSC SERVER is configured to receive the message sent by the local office MSC SERVER, and modify the codec type of the IP endpoint on the peer MGW to the G.711 format.
  • the embodiment of the present invention further provides a mobile switching server MSC SERVER, comprising: a determining unit, configured to determine, after receiving a signaling message related to a voice call, whether the type of the codec in the selected voice call is consistent;
  • the sending unit is configured to: when the determining unit determines that the bearer type of the voice call on both sides of the local office media gateway MGW is an IP bearer and a TDM bearer, and the codec types selected on the two sides are inconsistent, when the TDM endpoint is established And sending an encrypted voice call detection event to the media gateway MGW; the modifying unit is configured to receive the notification message reported by the MGW, and modify the codec type of the IP endpoint on the local office MGW to the G.711 format, where the notification message is The local station MGW detects the in-band tone transmitted by the encrypted terminal, and recognizes that the current voice call is an encrypted voice call, and then sends the voice call to the MSC SERVER.
  • the codec type modification unit is configured to modify the codec type of the local IP end of the voice call to the G.711 format under the control of the MSC SERVER.
  • FIG. 2B is a flowchart of a method for negotiating an encrypted voice call codec in the networking architecture of FIG. 2A.
  • FIG. 3 is a flow chart of a method for encoding and decoding a coded voice call in the system architecture of FIG. 2A.
  • FIG. 4 is a networking architecture of a cross-T office interconnection according to an embodiment of the present invention.
  • FIG. 8 is a structural diagram of another mobile switching server according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for negotiating an encrypted voice call codec according to an embodiment of the present invention.
  • the encrypted voice call detection event sent by the MSC SERVER to the MGW is a new H.248 event, which is used to instruct the MGW to report the notification message to the MSC SERVER after detecting the encrypted voice call.
  • the voice call is transmitted between the local office MGW and the peer office MGW through an IP bearer.
  • the encrypted voice detection event or the automatic handover indication event is a new H.248 event.
  • the MSC SERVER in the voice call communication path sends an encrypted voice call detection event or an automatic handover indication event to the MGW, thereby implementing the MGW.
  • the encrypted voice is detected, and the modification of the IP endpoint codec type on the MGW of the local office is completed, thereby realizing the reliable transmission of the encrypted voice call.
  • the IWF resource does not need to be inserted on the MGW, and the communication cost is low.
  • 2A is a networking diagram of an application of an encrypted voice call codec negotiation method according to an embodiment of the present invention. As shown in the figure, BSC-0 is an access device on the calling side, and MSC SERVER-S1 is a calling side mobile.
  • the switching server the MGW1 is the calling side media gateway
  • the MSC SERVER-S2 is the called side mobile switching server
  • the MGW2 is the calling side media gateway
  • the BSC-T is the accessing device on the called side, where between the MGW1 and the MGW2
  • TDM bearer between the MGW and the BSC
  • T1, T2, ⁇ 3, and ⁇ 4 are respectively endpoint resources established by the MGW for the voice bearer.
  • FIG. 2 is a flowchart of a method for negotiating a ciphering voice call codec in the network architecture of FIG. 2A.
  • an encrypted voice is sent to the called side MGW through the MSC SERVER of the called end office.
  • the call detection event implements the detection of the encrypted voice call and the modification of the codec type, and the method includes:
  • the called end office MSC SERVER-S2 determines that the incoming call bearer type is IP, the outgoing call bearer is TDM, and the codec type selected by the IP bearer is not in the G.711 format, then the request is made.
  • the MGW2 creates the TDM endpoint T4
  • the encrypted call detection event is carried in the PREPARE_BEARER_REQ message sent to the MGW2.
  • the encrypted telephone detection event is a new H.248 event, which is used to indicate that the MGW is detecting the call.
  • After encrypting the voice call send a notification message to the MSC SERVER;
  • the MGW2 reports the PREPARE-BEARER-RSP message to the MSC SERVER-S2;
  • the called encrypted terminal receives the DTAP_CONNECT message after the response of the MSb, and enters the call state;
  • the MSC SERVER-S2 sends an APM message to the MSC SERVER-S1, requesting the peer office to modify the Codec of the IP endpoint to G.711;
  • the MSC SERVER-SI After receiving the APM message sent by the MSC SERVER-S2, the MSC SERVER-SI sends a MODIFY-CHAR-REQ message to the MGW1, and changes the Codec of the IP endpoint T2 to the G.711 format.
  • the MSC SERVER-SI sends an APM message to the MSC SERVER-S2, indicating that the Codec modification is successful.
  • the foregoing embodiment provides a specific method for cryptographic voice call codec negotiation, which implements the detection and notification of the encrypted voice call by the called side end office, and the embodiment of the present invention further provides the encrypted voice through the calling side end office.
  • the method of detecting and notifying the call is a specific method for cryptographic voice call codec negotiation, which implements the detection and notification of the encrypted voice call by the called side end office, and the embodiment of the present invention further provides the encrypted voice through the calling side end office. The method of detecting and notifying the call.
  • the MGW1 is requested.
  • the TDM endpoint T1 the encrypted call detection event is carried in the PREPARE_BEARER_REQ message sent to the MGW1.
  • the encrypted telephone detection event is a new H.248 event, which is used to indicate that the MGW is detecting the call.
  • Encrypted voice call Afterwards, the notification message is sent to the MSC SERVER;
  • the MGW1 reports the PREPARE-BEARER-RSP message to the MSC SERVER-S1;
  • the calling and encrypting terminal MSa receives the call response message DTAP_CONNECT sent by the MSC SERVER-S1, and reports the DTAP_CONNECT_ACK message to enter the call state;
  • the calling encrypted terminal sends a special in-band signal tone through the in-band signal CNG, such as a band tone similar to Modem/Fax;
  • the MSC SERVER-S1 sends a MODIFY_CHAR_REQ message to the media gateway MGW1, and changes the codec type Codec of the IP endpoint T2 to the G.711 format.
  • the MSC SERVER-SI sends an APM message to the MSC SERVER-S2, requesting the peer office to modify the codec of the IP endpoint to G.711;
  • the MSC SERVER-S2 After receiving the APM message sent by the MSC SERVER-S1, the MSC SERVER-S2 sends a MODIFY-CHAR-REQ message to the MGW2, and changes the Codec of the IP endpoint T3 to the G.711 format.
  • the MSC SERVER-S2 sends an APM message to the MSC SERVER-S 1, indicating that the Codec modification is successful.
  • the encrypted voice call codec negotiation method respectively implements detection and notification of an encrypted voice call at the calling side office and the called side office point, and is notified by the MSC SERVER.
  • the MGW sends an encrypted voice call detection event, so that the MGW can detect the encrypted voice and report it to the MSC SERVER during the voice call.
  • the MSC SERVER completes the modification of the codec type of the IP endpoint on the MGW and notifies the peer office to complete the MGW. Modification of the codec type of the IP endpoint, so that the voice call call can be encoded in the G.711 format on the IP bearer, and the reliable transmission of the encrypted voice call is realized, and the IWF resource does not need to be inserted in the MGW. P is competing for lower communication costs.
  • the current call is identified as an encrypted voice call, and reported to the TMSC SERVER.
  • the TMSC SERVER completes the modification of the Codec type of the IP endpoint T3 on the MGW2, and the T3 codec type is modified to the G.711 format, and the calling side MSC SERVER- S1 sends an APM message, and requests the peer office to modify the Codec of the IP endpoint.
  • the MSC SERVER-SI modifies the codec type in the IP endpoint T2 on the MGW1 to the G.711 format.
  • the specific implementation in this case is similar to the embodiment corresponding to FIG. 2A and will not be described in detail.
  • the detection and notification of the encrypted voice can also be completed through the calling side.
  • the MSC SERVER-S1 can issue an encrypted telephone detection event to the MGW1 when the TDM endpoint T1 is established, so that when the calling encrypted terminal transmits the inband signal through the in-band signal, the MGW1 Receiving the in-band signal tone sent by the calling side encryption terminal, thereby identifying that the current call is an encrypted voice call, and reporting it to the MSC SERVER-SI, and the MSC SERVER-SI completes the modification of the Codec type of the IP endpoint T2 on the MGW1, and the T2 is edited.
  • the decoding type is modified to G.711 format, and an APM message is sent to the sinking and ending TMSC SERVER, requesting the peer office to modify the IP endpoint.
  • Codec, TMSC SERVER changes the codec type in IP endpoint T3 on MGW2 to G.711 format. Since the specific implementation in this case is similar to the embodiment corresponding to FIG. 3, it will not be described in detail.
  • the detection and notification of the encrypted voice call can also be implemented on the calling side in the manner corresponding to the embodiment of FIG. 3, which is different from the network processing of FIG. 2A, the APM sent between the MSC SERVER-S1 and the MSC SERVER-S2. Messages need to be forwarded through the TMSC SERVER.
  • Other processing is the same as the foregoing embodiment, and the description thereof will not be repeated here.
  • the MSC SERVER sends a voice encryption detection indication to the MGW under the following conditions:
  • the voice encryption detection indication is sent to the endpoint on the TDM side.
  • the TDM bearer Since the TDM bearer is encoded in the G.711 format, it is determined whether the codec selected on both sides is consistent or not. The main judgment is whether the codec type selected by the IP bearer is G.711. If not, it is determined that the codecs on both sides are inconsistent.
  • the voice encryption detection indication can be sent to the MGW when the TDM bearer is established, so that the G.711 format transmission is performed on the IP bearer. Need to insert IWF resources.
  • the voice encryption detection indication is sent by each MSC SERVER in the voice call communication path, and the voice encryption detection indication is sent, the encrypted voice is detected, and the IP is detected.
  • the modification of the endpoint codec type, wherein the conditions for the voice cipher detection indication issued by each MSC SERVER are the same as those of the foregoing embodiment.
  • the MSC in the voice call communication path When establishing the TDM endpoint T1, the SERVER-S1 sends a voice encryption detection indication to the MGW1, and the MSC SERVER-S2 sends a voice encryption detection indication to the MGW2 when the TDM endpoint T4 is established, and the MGW1 and the MGW2 respectively perform the detection of the encrypted voice call, and After identifying that the current call is an encrypted voice call, sending a notification message to the corresponding MSC SERVER, and the MSC SERVER-S1 and the MSC SERVER-S2 respectively modify the codec type of the IP endpoint on the MGW1 and the MGW2.
  • this implementation is to combine the implementations corresponding to FIG. 2B and FIG. 3, and delete the related message between the MSC SERVER-S1 and the MSC SERVER-S2 to notify the other party to modify the IP endpoint codec type.
  • the conditions for the MSC SERVER to send the voice encryption detection indication are the same as those of the foregoing embodiment, and are described in detail in the foregoing embodiments, and are not repeatedly described herein.
  • the embodiment of the present invention provides another solution in the manner of performing the detection of the encrypted voice and the modification of the IP endpoint codec type in the voice call communication path.
  • the difference from the above embodiment is that the communication path is different.
  • the automatic handover indication event may be sent to the MGW when the TDM endpoint is established, and the automatic handover indication event is also a new H.248 event, which is used to indicate that the MGW is detecting
  • the codec type of the IP endpoint corresponding to the call is automatically modified to the G.711 format. among them,
  • the manner in which the MGW detects and recognizes a call as an encrypted voice call is the same as that of the foregoing embodiment, and will not be described here.
  • the MGW 64 transmits a voice call through the IP bearer, wherein the local office mobile switching server MSC SERVER 61 is configured to receive a signaling message related to the voice call, and determine that the voice call is on both sides of the local office media gateway MGW.
  • the bearer types of the IP bearer and the TDM bearer are inconsistent, and the encrypted voice call detection event is sent to the media gateway MGW when the TDM endpoint is established.
  • the peer office MSC SERVER 63 is configured to receive the message sent by the local office MSC SERVER 61, and modify the codec type of the IP endpoint on the peer office MGW 64 to the G.711 format.
  • the local office is the calling side office, the called side office or the tandem office.
  • the system embodiment provided by the present invention is applicable to the various network architectures provided in the foregoing FIG. 2A, FIG. 4, and FIG. 5, and the specific implementation is the same as the foregoing method embodiment, and the description is not repeated herein.
  • a mobile switching server MSC SERVER includes:
  • the determining unit 71 is configured to determine, after receiving the signaling message related to the voice call, whether the codec type selected by the voice call is consistent on the side;
  • the instructing the sending unit 72 is configured to establish a TDM endpoint when the determining unit determines that the bearer type of the voice call on both sides of the local office media gateway MGW is an IP bearer and a TDM bearer respectively, and the codec types selected on both sides are inconsistent
  • the cryptographic voice call detection event is sent to the media gateway MGW.
  • the modifying unit 73 is configured to receive the notification message reported by the MGW, and modify the codec type of the IP endpoint on the local office MGW to the G.711 format.
  • the notification message is sent to the MSC SERVER by the local station MGW after detecting the inband signal sent by the encrypted terminal and identifying that the current voice call is an encrypted voice call.
  • the voice call can be transmitted on the IP bearer by using the G.711 format, thereby ensuring the implementation of the encrypted voice call, and Need to insert IWF resources.
  • the sending unit 82 is configured to establish a TDM endpoint when the determining unit determines that the bearer type of the voice call on both sides of the local office media gateway MGW is an IP bearer and a TDM bearer, and the codec types selected on the two sides are inconsistent. And sending an encrypted voice call detection event to the media gateway MGW; the modifying unit 83 is configured to receive the notification message reported by the MGW, and modify the codec type of the IP endpoint on the local office MGW to the G.711 format, where The notification message is sent to the MSC SERVER by the local station MGW after detecting the inband signal sent by the encrypted terminal and identifying that the current voice call is an encrypted voice call;
  • the voice call is transmitted between the local office MGW and the peer office MGW through an IP bearer.
  • the MSC SERVER may be in the calling side office, the called side office, or the tanner office.
  • the specific application scenarios and implementations may also refer to the description in the method embodiment.
  • the peer MSC SERVER when the peer MSC SERVER has the above function, it can notify the local office to change the codec type of the IP endpoint on the MGW to G.711 by sending a message to the MSC SERVER of the local office.
  • the format, the modification unit 83 is further configured to receive the message sent by the peer MSC SERVER, and modify the codec type of the IP endpoint on the local office MGW to the G.711 format, where the peer MSC SERVER sends The message is used to instruct the local office to modify the codec type of the IP endpoint to the G.711 format.
  • the MSC SERVER provided by the embodiment of the present invention delivers an encrypted voice call to the MGW.
  • the IP endpoint codec type on the local MGW is modified to G.711 after receiving the notification message reported by the MGW, and the IP endpoint codec type on the peer MGW is modified to G by notifying the peer MSC SERVER. .711, the transmission of the encrypted voice call through the G.711 format on the IP bearer is realized, and the method does not need to insert the IWF resource, and the P strives to reduce the communication cost.
  • the embodiment of the present invention further provides a media gateway MGW, including: a receiving unit 91, configured to receive an encrypted voice call detection event delivered by the local office mobile switching server MSC SERVER, the encrypted voice
  • the call detection event is that after the MSC SERVER receives the signaling message related to the voice call, it determines that the bearer types of the voice call on both sides of the local office media gateway MGW are respectively IP bearer and TDM bearer, and the codec types selected on both sides are inconsistent.
  • the TDM endpoint is established, it is sent to the media gateway MGW;
  • the detecting and identifying unit 92 is configured to: after receiving the encrypted voice call detecting event, the receiving unit detects the inband signal sent by the encrypted terminal, and after identifying that the current voice call is an encrypted voice call, sending a notification message to the MSC SERVER;
  • the codec type modification unit 93 is configured to modify the codec type of the local IP endpoint of the voice call to the G.711 format under the control of the MSC SERVER.
  • the encrypted voice call detection event is a new H.248 event, and is used to instruct the MGW to send a notification message to the MSC SERVER after detecting that the current voice call is an encrypted voice call.
  • the codec type modification unit 93 is configured to automatically modify the codec type of the IP endpoint corresponding to the call on the MGW to G.711 after receiving the notification sent by the detection and identification unit 92.
  • the present invention can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is a better implementation. the way.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer.
  • a hard disk or optical disk or the like includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention discloses a coding-decoding negotiation method, communication system, and device for encrypted voice call, which are used in the field of communication. In the method of the present invention, after the mobile switch server (MSC SERVER) receives a signaling message related to the voice call, it sends encrypted voice call detection event to the media gateway (MGW) when establishing a time division multiplexing (TDM) endpoint. After the MSC SERVER receives a notification message reported by the MGW, it modifies the coding-decoding type of the IP endpoint, which is at the MGW, to G.711 format, and sends a message to the MSC SERVER on the opposite office side to notify the MSC SERVER to modify the coding-decoding type of the IP endpoint, which is at the opposite MGW, to G.711 format. The method of the present invention enables reliable transmission for the encrypted voice call, without the necessity of inserting any interworking function (IWF) resource.

Description

加密语音呼叫的编解码协商的方法、 通信系统及设备 本申请要求于 2009 年 1 月 24 日提交中国专利局、 申请号为 200910105294.3、发明名称为"加密语音呼叫的编解码协商的方法、通信系统及 设备"的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。  Method, communication system and device for encoding and decoding of encrypted voice call The present application claims to be submitted to the Chinese Patent Office on January 24, 2009, the application number is 200910105294.3, and the invention name is "codec negotiation method for encrypted voice call, communication system" The priority of the Chinese Patent Application, the entire disclosure of which is incorporated herein by reference.
技术领域 Technical field
本发明涉及通信技术领域, 尤其涉及一种加密语音呼叫的编解码协商的方 法、 通信系统及设备。  The present invention relates to the field of communications technologies, and in particular, to a method, a communication system, and a device for encoding and decoding an encrypted voice call.
背景技术 Background technique
2G移动通信中, 移动终端采用 RPE-LTP ( Regular Pulse Excitation-Long Term Prediction 规则脉冲激励-长期预测 )编码方式以 13kbps发送语音信号, BSC收到移动终端的语音信号后, 将语音内容转换为 G.711格式编码, 以时分 复用 TDM方式在 E1上传输, 速率固定为 64kbps。 采用这种方式传输, 语音 的发送端和接收端语音内容一致, 不会被改变。  In 2G mobile communication, the mobile terminal uses RPE-LTP (Regular Pulse Excitation-Long Term Prediction) to transmit the voice signal at 13 kbps. After receiving the voice signal of the mobile terminal, the BSC converts the voice content into G. The .711 format code is transmitted over E1 in a time division multiplexed TDM mode with a fixed rate of 64 kbps. In this way, the voice content of the sender and receiver of the voice are consistent and will not be changed.
然而, 采用上述方式传输存在占用带宽高, 传输效率低, 通信成本较高的 问题。 随着通信技术的发展, 通信网络引入 IP技术, 语音在 IP承载网中传输 时一般采用 AMR等格式编解码, 可以有效的提高带宽利用率。 但 AMR是一 种有损压缩的编解码算法, 语音中的一些信息经过 AMR编码后会丢失, 对语 音质量造成损伤, 当语音经过多次 AMR编解码, 将会严重失真。  However, the transmission in the above manner has a problem of high occupied bandwidth, low transmission efficiency, and high communication cost. With the development of communication technology, the communication network introduces IP technology. When voice is transmitted in the IP bearer network, it is generally encoded and decoded in AMR format, which can effectively improve the bandwidth utilization. However, AMR is a lossy compression codec algorithm. Some information in speech is lost after AMR encoding, which causes damage to the speech quality. When the speech passes through multiple AMR encoding and decoding, it will be seriously distorted.
目前, 现有加密电话的一种实现方式是通过数据业务方式实现互通。 该技 术是终端以数据业务方式发起加密呼叫, MSC SERVER指示在媒体网关 MGW 上插入网络互通功能单元 IWF资源, 由 IWF实现带内的协议转换, 最终实现 加密电话通过采用 G.711编码格式进行传输。 由于这种方式需要在 MGW上插 入 IWF资源, 通信成本较高。 发明内容 Currently, an implementation manner of an existing encrypted telephone is to implement interworking through a data service manner. The technology is that the terminal initiates an encrypted call in a data service manner, and the MSC SERVER instructs to insert a network interworking function unit IWF resource on the media gateway MGW, and implements in-band protocol conversion by the IWF, and finally realizes that the encrypted phone transmits by using the G.711 encoding format. . Since this method requires the insertion of IWF resources on the MGW, the communication cost is high. Summary of the invention
本发明的实施例提供了一种加密语音呼叫的编解码协商的方法、 通信系统 和设备,可以不需要在 MGW上插入 IWF资源,就可以实现加密语音呼叫采用 G.711格式在 IP承载网络中传输。  The embodiment of the present invention provides a method, a communication system, and a device for encoding and decoding an encrypted voice call. The encrypted voice call can be implemented in the IP bearer network by using the G.711 format without inserting the IWF resource on the MGW. transmission.
本发明实施例提供了一种加密语音呼叫的编解码协商的方法, 该方法包 括:  An embodiment of the present invention provides a method for encoding and decoding an encrypted voice call, where the method includes:
移动交换服务器 MSC SERVER接收语音呼叫相关的信令消息后, 确定该 语音呼叫在本端局点媒体网关 MGW两侧的承载类型分别为 IP承载和 TDM承 载且两侧选择的编解码类型不一致,则在建立 TDM端点时,向媒体网关 MGW 下发加密语音呼叫检测事件;  After receiving the signaling message related to the voice call, the mobile switching server MSC SERVER determines that the bearer types of the voice call on both sides of the local office media gateway MGW are IP bearer and TDM bearer respectively, and the codec types selected on both sides are inconsistent. When the TDM endpoint is established, the encrypted voice call detection event is sent to the media gateway MGW;
MSC SERVER接收本端局点 MGW上报的通知消息,所述通知消息为本端 局点 MGW在检测到加密终端发送的带内信号音, 识别出当前语音呼叫为加密 语音呼叫后, 向本端局点 MSC SERVER发送的;  The MSC SERVER receives the notification message reported by the local office MGW, and the notification message is that the local office MGW detects the inband signal sent by the encrypted terminal, and recognizes that the current voice call is an encrypted voice call, and then sends the local voice call to the local end office. Point MSC SERVER sent;
MSC SERVER将本端局点 MGW上的 IP端点的编解码类型修改为 G.711 格式, 并向对端局点 MSC SERVER发送消息, 以通知对端局点 MSC SERVER 将对端 MGW上的 IP端点的编解码类型修改为 G.711格式,所述本端局点 MGW 与对端局点 MGW之间通过 IP承载传输该语音呼叫。  The MSC SERVER modifies the codec type of the IP endpoint on the local office MGW to the G.711 format, and sends a message to the peer office MSC SERVER to notify the peer office MSC SERVER of the IP endpoint on the opposite MGW. The codec type is modified to the G.711 format, and the local office MGW and the opposite office MGW transmit the voice call through the IP bearer.
本发明实施例提供的加密语音呼叫编解码协商方法, 通过 MSC SERVER 向 MGW下发加密语音呼叫检测事件, 使得在语音呼叫过程中, MGW可以检 测到加密语音, 并上报给 MSC SERVER, MSC SERVER完成 MGW上 IP端点 的编解码类型的修改并通知对端 MSC SERVER完成 MGW上 IP端点的编解码 类型的修改,实现了加密语音呼叫的可靠传输,并且通过该方式不需要在 MGW 上插入 IWF资源, P争低了通信成本。  The encrypted voice call codec negotiation method provided by the embodiment of the present invention sends an encrypted voice call detection event to the MGW through the MSC SERVER, so that during the voice call, the MGW can detect the encrypted voice and report it to the MSC SERVER, and the MSC SERVER completes. Modification of the codec type of the IP endpoint on the MGW and notifying the peer MSC SERVER to complete the modification of the codec type of the IP endpoint on the MGW, realizing the reliable transmission of the encrypted voice call, and by this method, the IWF resource does not need to be inserted on the MGW. P is competing for lower communication costs.
本发明实施例还提供了一种加密语音呼叫的编解码协商的方法, 该方法包 括:  The embodiment of the invention further provides a method for encoding and decoding a voice call, the method comprising:
语音呼叫通信路径中的移动交换服务器 MSC SERVER接收语音呼叫相关 的信令消息后, 确定该语音呼叫在媒体网关 MGW 两侧的承载类型分别为 IP 承载和 TDM承载且两侧选择的编解码类型不一致, 则在建立 TDM端点时, 向媒体网关 MGW下发自动切换指示事件或者加密语音呼叫检测事件; The mobile switching server MSC SERVER in the voice call communication path receives the voice call related After the signaling message is determined, the bearer types of the voice call on the two sides of the media gateway MGW are respectively the IP bearer and the TDM bearer, and the codec types selected on the two sides are inconsistent, and the TDM endpoint is automatically sent to the media gateway MGW when the TDM endpoint is established. Switching an indication event or an encrypted voice call detection event;
MGW检测到加密终端上报的带内信号音, 识别出当前呼叫为加密语音呼 叫;  The MGW detects the in-band tone reported by the encrypted terminal, and recognizes that the current call is an encrypted voice call;
如果 MGW收到的是自动切换指示事件, 则自动将 MGW上的 IP端点的 编解码类型修改为 G.711格式;  If the MGW receives an automatic handover indication event, the codec type of the IP endpoint on the MGW is automatically changed to the G.711 format.
如果 MGW收到的是加密语音呼叫检测事件, 则向 MGW发送通知消息, MSC SERVER收到通知消息后, 将 MGW上的 IP端点的编解码类型修改为 G.711格式。  If the MGW receives the encrypted voice call detection event, the MGW sends a notification message to the MGW. After receiving the notification message, the MSC SERVER changes the codec type of the IP endpoint on the MGW to the G.711 format.
本发明实施例提供的加密语音呼叫编解码协商方法, 通过语音呼叫通信路 径中的各 MSC SERVER向 MGW下发加密语音呼叫检测事件或者自动切换指 示事件, 从而使得 MGW检测到加密语音, 并完成本局 MGW上 IP端点编解 码类型的修改, 实现了加密语音呼叫的可靠传输, 并且通过该方式不需要在 MGW上插入 IWF资源, P争低了通信成本。  The encrypted voice call codec negotiation method provided by the embodiment of the present invention sends an encrypted voice call detection event or an automatic handover indication event to the MGW through the MSC SERVER in the voice call communication path, so that the MGW detects the encrypted voice and completes the local office. The modification of the IP endpoint codec type on the MGW realizes reliable transmission of the encrypted voice call, and in this way, the IWF resource does not need to be inserted on the MGW, and the communication cost is low.
本发明实施例还提供了一种实现加密语音呼叫的通信系统, 包括本端局点 移动交换服务器 MSC SERVER, 本端局点媒体网关 MGW, 对端局点移动交换 服务器 MSC SERVER, 对端局点媒体网关 MGW, 本端局点 MGW与对端局点 MGW之间通过 IP承载传输语音呼叫, 其中,  The embodiment of the present invention further provides a communication system for implementing an encrypted voice call, including a local office mobile switching server MSC SERVER, a local office media gateway MGW, a peer office mobile switching server MSC SERVER, and a peer office. The media gateway MGW, the local office MGW and the peer office MGW transmit voice calls through the IP bearer, where
本端局点移动交换服务器 MSC SERVER,用于接收语音呼叫相关的信令消 息, 确定该语音呼叫在本端局点媒体网关 MGW两侧的承载类型分别为 IP承 载和 TDM承载且两侧选择的编解码类型不一致, 并在建立 TDM端点时, 向 媒体网关 MGW下发加密语音呼叫检测事件;  The local office mobile switching server MSC SERVER is configured to receive the signaling message related to the voice call, and determine that the bearer types of the voice call on both sides of the local office media gateway MGW are respectively IP bearer and TDM bearer, and are selected on both sides. The codec type is inconsistent, and when the TDM endpoint is established, the encrypted voice call detection event is sent to the media gateway MGW;
本端局点 MGW,用于接收本端局点移动交换服务器 MSC SERVER下发的 加密语音呼叫检测事件, 检测加密终端发送的带内信号音, 并在识别出当前语 音—曰呼叫为加密语音呼叫后, 向本端局点 MSC SERVER发送通知消息, 本端局点 MSC SERVER还用于接收 MSC SERVER上报的所述通知消息, 将本端局点 MGW上的 IP端点的编解码类型修改为 G.711格式,并向对端局点 MSC SERVER发送消息,以通知对端局点 MSC SERVER将对端 MGW上的 IP 端点的编解码类型修改为 G.711格式; The local office MGW is configured to receive an encrypted voice call detection event sent by the local office mobile switching server MSC SERVER, detect an inband signal sent by the encrypted terminal, and identify the current language. After the voice-to-call is an encrypted voice call, a notification message is sent to the local office MSC SERVER, and the local office MSC SERVER is also used to receive the notification message reported by the MSC SERVER, and the IP endpoint on the local office MGW. The codec type is modified to the G.711 format, and a message is sent to the peer office MSC SERVER to notify the opposite office MSC SERVER to modify the codec type of the IP endpoint on the opposite MGW to the G.711 format;
对端局点 MSC SERVER, 用于接收所述本端局点 MSC SERVER发送的消 息, 将对端 MGW上的 IP端点的编解码类型修改为 G.711格式。  The peer MSC SERVER is configured to receive the message sent by the local office MSC SERVER, and modify the codec type of the IP endpoint on the peer MGW to the G.711 format.
本发明实施例还提供了一种移动交换服务器 MSC SERVER, 包括: 确定单元, 用于在接收语音呼叫相关的信令消息后, 确定该语音呼叫在本 选择的编解码类型是否一致;  The embodiment of the present invention further provides a mobile switching server MSC SERVER, comprising: a determining unit, configured to determine, after receiving a signaling message related to a voice call, whether the type of the codec in the selected voice call is consistent;
指示下发单元, 用于在确定单元确定该语音呼叫在本端局点媒体网关 MGW两侧的承载类型分别为 IP承载和 TDM承载且两侧选择的编解码类型不 一致时,在建立 TDM端点时, 向媒体网关 MGW下发加密语音呼叫检测事件; 修改单元, 用于接收 MGW上报的通知消息, 将本端局点 MGW上的 IP 端点的编解码类型修改为 G.711格式, 所述通知消息为本端局点 MGW在检测 到加密终端发送的带内信号音, 识别出当前语音呼叫为加密语音呼叫后, 向所 述 MSC SERVER发送的。  And the sending unit is configured to: when the determining unit determines that the bearer type of the voice call on both sides of the local office media gateway MGW is an IP bearer and a TDM bearer, and the codec types selected on the two sides are inconsistent, when the TDM endpoint is established And sending an encrypted voice call detection event to the media gateway MGW; the modifying unit is configured to receive the notification message reported by the MGW, and modify the codec type of the IP endpoint on the local office MGW to the G.711 format, where the notification message is The local station MGW detects the in-band tone transmitted by the encrypted terminal, and recognizes that the current voice call is an encrypted voice call, and then sends the voice call to the MSC SERVER.
本发明实施例还提供了一种媒体网关 MGW, 包括:  The embodiment of the invention further provides a media gateway MGW, including:
接收单元, 用于接收本端局点移动交换服务器 MSC SERVER下发的加密 语音呼叫检测事件, 所述加密语音呼叫检测事件为 MSC SERVER在接收语音 呼叫相关的信令消息后, 确定该语音呼叫在本端局点媒体网关 MGW两侧的承 载类型分别为 IP承载和 TDM承载且两侧选择的编解码类型不一致, 在建立 TDM端点时, 向媒体网关 MGW下发的;  The receiving unit is configured to receive an encrypted voice call detection event sent by the local office mobile switching server MSC SERVER, where the encrypted voice call detection event is that the MSC SERVER determines that the voice call is after receiving the signaling message related to the voice call. The bearer types of the two ends of the local media gateway MGW are respectively the IP bearer and the TDM bearer, and the codec types selected by the two sides are inconsistent. When the TDM endpoint is established, the bearer is sent to the media gateway MGW.
检测识别单元, 用于在接收单元接收到加密语音呼叫检测事件后, 检测加 密终端发送的带内信号音, 当识别出当前语音呼叫为加密语音呼叫后, 向 MSC SERVER发送通知消息; a detection and identification unit, configured to detect, after the receiving unit receives the encrypted voice call detection event The inband signal sent by the secret terminal, after identifying that the current voice call is an encrypted voice call, sending a notification message to the MSC SERVER;
编解码类型修改单元, 用于在 MSC SERVER的控制下, 将该语音呼叫的 本端 IP端点的编解码类型修改为 G.711格式。  The codec type modification unit is configured to modify the codec type of the local IP end of the voice call to the G.711 format under the control of the MSC SERVER.
通过本发明实施例提供的通信系统、 移动交换服务器 MSC SERVER以及 媒体网关 MGW, 通过 MSC SERVER向 MGW下发加密语音呼叫检测事件, 使得在语音呼叫过程中, MGW可以检测到加密语音,并上 4艮给 MSC SERVER, MSC SERVER完成 MGW上 IP端点的编解码类型的修改, 实现了加密语音呼 叫的可靠传输,并且通过该方式不需要在 MGW上插入 IWF资源, P争低了通信 成本。  The communication system, the mobile switching server MSC SERVER and the media gateway MGW provided by the embodiment of the present invention deliver an encrypted voice call detection event to the MGW through the MSC SERVER, so that the MGW can detect the encrypted voice during the voice call, and艮 MSC SERVER, MSC SERVER completes the modification of the codec type of the IP endpoint on the MGW, realizing the reliable transmission of the encrypted voice call, and by this way, it is not necessary to insert the IWF resource on the MGW, and P strives to reduce the communication cost.
附图说明 DRAWINGS
图 1 是本发明实施例提供的一种加密语音呼叫编解码协商方法流程图。 图 2A是本发明实施例提供的加密语音呼叫编解码协商方法应用的一个组 网架构图。  FIG. 1 is a flowchart of a method for negotiating an encrypted voice call codec according to an embodiment of the present invention. FIG. 2A is a network architecture diagram of an application of an encrypted voice call codec negotiation method according to an embodiment of the present invention.
图 2B是在图 2A的组网架构下一种加密语音呼叫编解码协商方法流程图。 图 3是为在图 2A的系统架构下一种加密语音呼叫编解码协商方法流程图。 图 4是本发明实施例提供的一种跨 T局互联时的组网架构。  FIG. 2B is a flowchart of a method for negotiating an encrypted voice call codec in the networking architecture of FIG. 2A. FIG. 3 is a flow chart of a method for encoding and decoding a coded voice call in the system architecture of FIG. 2A. FIG. 4 is a networking architecture of a cross-T office interconnection according to an embodiment of the present invention.
图 5是本发明实施例提供的一种启动 CMN情况下的组网架构图。  FIG. 5 is a schematic diagram of a networking architecture in the case of starting a CMN according to an embodiment of the present invention.
图 6是本发明实施例提供的一种实现加密语音呼叫的通信系统示意图。 图 7是本发明实施例提供的一种移动交换服务器的结构图。  FIG. 6 is a schematic diagram of a communication system for implementing an encrypted voice call according to an embodiment of the present invention. FIG. 7 is a structural diagram of a mobile switching server according to an embodiment of the present invention.
图 8是本发明实施例提供的另一种移动交换服务器的结构图。  FIG. 8 is a structural diagram of another mobile switching server according to an embodiment of the present invention.
图 9是本发明实施例提供了一种媒体网关的结构图。  FIG. 9 is a structural diagram of a media gateway according to an embodiment of the present invention.
具体实施方式 图 1 是本发明实施例提供的一种加密语音呼叫编解码协商方法流程图。detailed description FIG. 1 is a flowchart of a method for negotiating an encrypted voice call codec according to an embodiment of the present invention.
11、 移动交换服务器 MSC SERVER接收语音呼叫相关的信令消息后, 确 定该语音呼叫在本端局点媒体网关 MGW 两侧的承载类型分别为 IP承载和 TDM承载且两侧选择的编解码类型不一致, 则在建立 TDM端点时, 向媒体网 关 MGW下发加密语音呼叫检测事件; After receiving the signaling message related to the voice call, the mobile switching server MSC SERVER determines that the bearer type of the voice call on both sides of the local office media gateway MGW is IP bearer and TDM bearer, and the codec types selected on both sides are inconsistent. And sending an encrypted voice call detection event to the media gateway MGW when establishing the TDM endpoint;
其中, TDM承载采用 G.711格式编码, MSC SERVER在判断两侧选择的 编解码类型是否一致时, 主要是确定 IP承载中选择的编解码类型是否为 G.711 格式, 如果是, 则确定 MGW两侧选择的编解码类型一致, 如果不是, 则确定 MGW两侧选择的编解码类型不一致。  The TDM bearer is encoded in the G.711 format. When determining whether the codec types selected on both sides are consistent, the MSC SERVER determines whether the codec type selected in the IP bearer is in the G.711 format. If yes, the MGW is determined. The codec types selected on both sides are the same. If not, it is determined that the codec types selected on both sides of the MGW are inconsistent.
MSC SERVER向 MGW下发的加密语音呼叫检测事件为一个新增的 H.248 事件, 用于指示 MGW在检测到加密语音呼叫后, 向 MSC SERVER上报通知 消息。  The encrypted voice call detection event sent by the MSC SERVER to the MGW is a new H.248 event, which is used to instruct the MGW to report the notification message to the MSC SERVER after detecting the encrypted voice call.
12、 本端局点 MGW检测加密终端发送的带内信号音, 识别出当前语音呼 叫为加密语音呼叫后, 向 MSC SERVER发送通知消息;  12. The local office MGW detects the inband signal sent by the encrypted terminal, and recognizes that the current voice call is an encrypted voice call, and sends a notification message to the MSC SERVER;
所述带内信号音是加密终端通过带内信号发送的, 例如主叫加密终端可以 通过带内信号 CNG发送特殊的带内信号音, 被叫加密终端可以通过带内信号 ANS/ANSAM发送特殊的带内信号音, 该带内信号音可以是类似 Modem/Fax 的带内音。  The in-band signal tone is sent by the encrypted terminal through the in-band signal. For example, the calling encrypted terminal can transmit a special in-band signal tone through the in-band signal CNG, and the called encrypted terminal can transmit the special signal through the in-band signal ANS/ANSAM. In-band tones, the in-band tones can be in-band tones similar to Modem/Fax.
13、 MSC SERVER收到 MGW发送的通知消息后,将本端局点 MGW上的 IP端点的编解码类型修改为 G.711格式, 并向对端局点 MSC SERVER发送消 息, 以通知对端局点 MSC SERVER将对端 MGW上的 IP端点的编解码类型修 改为 G.711格式。  After receiving the notification message sent by the MGW, the MSC SERVER changes the codec type of the IP endpoint on the local office MGW to the G.711 format, and sends a message to the opposite office MSC SERVER to notify the opposite end office. The point MSC SERVER modifies the codec type of the IP endpoint on the peer MGW to the G.711 format.
其中, 所述本端局点 MGW与对端局点 MGW之间通过 IP承载传输该语 音呼叫。  The voice call is transmitted between the local office MGW and the peer office MGW through an IP bearer.
其中本端局点可以是主叫侧局点、 汇接局局点或者被叫侧局点。 本发明实施例提供的加密语音呼叫编解码协商方法, 通过 MSC SERVER 向 MGW下发加密语音呼叫检测事件, 使得在语音呼叫过程中, MGW可以检 测到加密语音, 并上报给 MSC SERVER, MSC SERVER完成 MGW上 IP端点 的编解码类型的修改并通知对端局点修改 IP端点的编解码类型,实现了加密语 音呼叫可以在 IP网络中通过 G.711格式编码传输,保证了加密语音业务的实现, 并且通过该方式不需要在 MGW上插入 IWF资源, P争低了通信成本。 本发明实施例还提供了一种加密语音呼叫编解码协商方法, 该方法包括: 语音呼叫通信路径中的移动交换服务器 MSC SERVER接收语音呼叫相关 的信令消息后, 确定该语音呼叫在媒体网关 MGW 两侧的承载类型分别为 IP 承载和 TDM承载且两侧选择的编解码类型不一致, 则在建立 TDM端点时, 向媒体网关 MGW下发自动切换指示事件或者加密语音呼叫检测事件; The local office can be the calling side office, the tandem office, or the called side office. The encrypted voice call codec negotiation method provided by the embodiment of the present invention sends an encrypted voice call detection event to the MGW through the MSC SERVER, so that during the voice call, the MGW can detect the encrypted voice and report it to the MSC SERVER, and the MSC SERVER completes. Modification of the codec type of the IP endpoint on the MGW and notifying the peer office to modify the codec type of the IP endpoint, so that the encrypted voice call can be encoded and transmitted in the IP network through the G.711 format, thereby ensuring the implementation of the encrypted voice service. In this way, there is no need to insert IWF resources on the MGW, and P strives to reduce communication costs. The embodiment of the present invention further provides an encryption voice call codec negotiation method, the method includes: after the mobile switching server MSC SERVER in the voice call communication path receives the voice call related signaling message, determining that the voice call is at the media gateway MGW The bearer types of the two sides are the IP bearer and the TDM bearer, and the codec types selected on the two sides are inconsistent. When the TDM endpoint is established, the automatic switching indication event or the encrypted voice call detection event is sent to the media gateway MGW.
MGW检测到加密终端上报的带内信号音, 识别出当前呼叫为加密语音呼 叫;  The MGW detects the in-band tone reported by the encrypted terminal, and recognizes that the current call is an encrypted voice call;
如果 MGW收到的是自动切换指示事件, 则自动将 MGW上的 IP端点的 编解码类型修改为 G.711格式;  If the MGW receives an automatic handover indication event, the codec type of the IP endpoint on the MGW is automatically changed to the G.711 format.
如果 MGW收到的是加密语音呼叫检测事件, 则向 MGW发送通知消息, MSC SERVER收到通知消息后, 将 MGW上的 IP端点的编解码类型修改为 G.711格式。  If the MGW receives the encrypted voice call detection event, the MGW sends a notification message to the MGW. After receiving the notification message, the MSC SERVER changes the codec type of the IP endpoint on the MGW to the G.711 format.
其中加密语音检测事件或自动切换指示事件为新增的 H.248事件。  The encrypted voice detection event or the automatic handover indication event is a new H.248 event.
与上一实施例提供的加密语音呼叫编解码协商方法不同的是, 本实施例是 通过语音呼叫通信路径中的各 MSC SERVER向 MGW下发加密语音呼叫检测 事件或者自动切换指示事件, 从而实现 MGW检测到加密语音, 并完成本局 MGW上 IP端点编解码类型的修改, 实现了加密语音呼叫的可靠传输, 通过该 方式也不需要在 MGW上插入 IWF资源, 低了通信成本。 图 2A是本发明实施例提供的加密语音呼叫编解码协商方法应用的一个组 网架构图, 如图所示, BSC-0是主叫侧的接入设备, MSC SERVER-S1是主叫 侧移动交换服务器, MGW1是主叫侧媒体网关, MSC SERVER-S2是被叫侧移 动交换服务器, MGW2被主叫侧媒体网关, BSC-T是被叫侧的接入设备, 其中 在 MGW1和 MGW2之间为 IP承载,在 MGW与 BSC之间为 TDM承载, T1、 T2、 Τ3、 Τ4分别为 MGW为语音承载建立的端点资源。 Different from the encrypted voice call codec negotiation method provided by the previous embodiment, in this embodiment, the MSC SERVER in the voice call communication path sends an encrypted voice call detection event or an automatic handover indication event to the MGW, thereby implementing the MGW. The encrypted voice is detected, and the modification of the IP endpoint codec type on the MGW of the local office is completed, thereby realizing the reliable transmission of the encrypted voice call. In this way, the IWF resource does not need to be inserted on the MGW, and the communication cost is low. 2A is a networking diagram of an application of an encrypted voice call codec negotiation method according to an embodiment of the present invention. As shown in the figure, BSC-0 is an access device on the calling side, and MSC SERVER-S1 is a calling side mobile. The switching server, the MGW1 is the calling side media gateway, the MSC SERVER-S2 is the called side mobile switching server, the MGW2 is the calling side media gateway, and the BSC-T is the accessing device on the called side, where between the MGW1 and the MGW2 For the IP bearer, there is a TDM bearer between the MGW and the BSC, and T1, T2, Τ3, and Τ4 are respectively endpoint resources established by the MGW for the voice bearer.
如图 2B所示,为在图 2A的组网架构下一种加密语音呼叫编解码协商方法 流程图, 该实施例中是通过被叫侧端局的 MSC SERVER向被叫侧 MGW下发 加密语音呼叫检测事件, 实现加密语音呼叫的检测和编解码类型的修改, 该方 法包括:  As shown in FIG. 2B, FIG. 2 is a flowchart of a method for negotiating a ciphering voice call codec in the network architecture of FIG. 2A. In this embodiment, an encrypted voice is sent to the called side MGW through the MSC SERVER of the called end office. The call detection event implements the detection of the encrypted voice call and the modification of the codec type, and the method includes:
21、 在语音呼叫建立过程中, 当被叫端局 MSC SERVER-S2判断出入局呼 叫承载类型为 IP, 出局呼叫承载为 TDM, 且 IP承载选择的编解码类型不是 G.711 格式, 则在请求 MGW2创建 TDM端点 T4 时, 在给 MGW2 下发的 PREPARE— BEARER— REQ 消息中携带加密电话检测事件, 该加密电话检测事 件是一个新增的 H.248事件, 用于指示 MGW在检测到该呼叫是加密语音呼叫 后, 向 MSC SERVER上^艮通知消息;  21. In the process of establishing a voice call, when the called end office MSC SERVER-S2 determines that the incoming call bearer type is IP, the outgoing call bearer is TDM, and the codec type selected by the IP bearer is not in the G.711 format, then the request is made. When the MGW2 creates the TDM endpoint T4, the encrypted call detection event is carried in the PREPARE_BEARER_REQ message sent to the MGW2. The encrypted telephone detection event is a new H.248 event, which is used to indicate that the MGW is detecting the call. After encrypting the voice call, send a notification message to the MSC SERVER;
22、 MGW2完成资源分配后, 上报 PREPARE— BEARER— RSP消息给 MSC SERVER-S2;  22. After completing the resource allocation, the MGW2 reports the PREPARE-BEARER-RSP message to the MSC SERVER-S2;
在分配完资源后, MSC SERVER-S2呼叫被叫终端, 执行鉴权等流程, 将 呼叫接续到被叫终端, 至步骤 23之间的中间过程均为现有技术, 在此不再赘 述。  After allocating the resources, the MSC SERVER-S2 calls the called terminal, performs the authentication and the like, and connects the call to the called terminal. The intermediate process between the two steps is the prior art, and is not described here.
23、 被叫加密终端 MSb应答后上^艮 DTAP— CONNECT消息, 进入通话状 态;  23. The called encrypted terminal receives the DTAP_CONNECT message after the response of the MSb, and enters the call state;
24、被叫加密终端通过带内信号 ANS/ANSAM发送特殊的带内信号音,如 类似 Modem/Fax的带内音; 25、 MGW2检测带内信号音, 识别出本次为加密语音呼叫, 上报 NOTIFY 消息给 MSC SERVER-S2; 24. The called encrypted terminal sends a special in-band signal tone through the in-band signal ANS/ANSAM, such as an in-band tone similar to Modem/Fax; 25, MGW2 detects the in-band signal tone, recognizes that this is an encrypted voice call, and reports a NOTIFY message to the MSC SERVER-S2;
26、 MSC SERVER-S2给媒体网关 MGW2下发 MODIFY— CHAR— REQ消 息, 将 IP端点 T3的编解码类型 Codec修改为 G.711格式;  26, MSC SERVER-S2 sends a MODIFY-CHAR-REQ message to the media gateway MGW2, and changes the codec type Codec of the IP endpoint T3 to the G.711 format;
27、 MGW2修改完成后, 给 MSC SERVER-S2上报 MODIFY— CHAR— RSP 消息;  27. After the modification of the MGW2 is completed, the MODIFY_CHAR_RSP message is reported to the MSC SERVER-S2;
28、 MSC SERVER-S2向前向局 MSC SERVER-S1发送 APM消息,请求对 端局点修改 IP端点的 Codec为 G.711 ;  28. The MSC SERVER-S2 sends an APM message to the MSC SERVER-S1, requesting the peer office to modify the Codec of the IP endpoint to G.711;
29、 MSC SERVER-SI收到 MSC SERVER-S2发送的 APM消息后,向 MGW1 下发 MODIFY— CHAR— REQ消息, 将 IP端点 T2的 Codec修改为 G.711格式; After receiving the APM message sent by the MSC SERVER-S2, the MSC SERVER-SI sends a MODIFY-CHAR-REQ message to the MGW1, and changes the Codec of the IP endpoint T2 to the G.711 format.
210、 MGW1修改完成后,给 MSC SERVER-S1上报 MODIFY— CHAR— RSP 消息; 210. After the modification of the MGW1 is completed, the MODIFY_CHAR_RSP message is reported to the MSC SERVER-S1;
211、 MSC SERVER-SI给 MSC SERVER-S2发送 APM消息, 指示 Codec 修改成功。  211. The MSC SERVER-SI sends an APM message to the MSC SERVER-S2, indicating that the Codec modification is successful.
上述实施例给出了一个具体的加密语音呼叫编解码协商的方法, 通过被叫 侧端局来实现加密语音呼叫的检测和通知, 本发明实施例还提供了通过主叫侧 端局实现加密语音呼叫的检测和通知的方法。  The foregoing embodiment provides a specific method for cryptographic voice call codec negotiation, which implements the detection and notification of the encrypted voice call by the called side end office, and the embodiment of the present invention further provides the encrypted voice through the calling side end office. The method of detecting and notifying the call.
图 3是为在图 2A的系统架构下一种加密语音呼叫编解码协商方法流程图, 该实施例中是通过主叫侧端局的 MSC SERVER向主叫侧 MGW下发加密语音 呼叫检测事件, 实现加密语音呼叫的检测和编解码类型的修改, 该方法包括: FIG. 3 is a flowchart of a method for negotiating a ciphering voice call codec in the system architecture of FIG. 2A. In this embodiment, an encrypted voice call detection event is sent to the calling side MGW through the MSC SERVER of the calling side end office. Implementing detection of encrypted voice calls and modification of codec type, the method includes:
31、 在语音呼叫建立过程中, 当主叫端局 MSC SERVER-S1判断入局呼叫 承载类型为 TDM, 出局呼叫承载类型为 IP, 且 IP承载选择的编解码类型不是 G.711 , 则在请求 MGW1 创建 TDM 端点 T1 时, 在给 MGW1 下发的 PREPARE— BEARER— REQ 消息中携带加密电话检测事件, 该加密电话检测事 件是一个新增的 H.248事件, 用于指示 MGW在检测到该呼叫是加密语音呼叫 后, 向 MSC SERVER上^艮通知消息; 31. In the process of establishing a voice call, when the calling end office MSC SERVER-S1 determines that the incoming call bearer type is TDM, the outgoing call bearer type is IP, and the codec type selected by the IP bearer is not G.711, then the MGW1 is requested. When the TDM endpoint T1 is created, the encrypted call detection event is carried in the PREPARE_BEARER_REQ message sent to the MGW1. The encrypted telephone detection event is a new H.248 event, which is used to indicate that the MGW is detecting the call. Encrypted voice call Afterwards, the notification message is sent to the MSC SERVER;
32、 MGW1完成资源分配后, 上报 PREPARE— BEARER— RSP消息给 MSC SERVER-S1 ;  32. After completing the resource allocation, the MGW1 reports the PREPARE-BEARER-RSP message to the MSC SERVER-S1;
后续步骤呼叫继续接续, 32至步骤 33之间的中间过程均为现有技术, 在 此不再赘述。  Subsequent steps are continued, and the intermediate process between 32 and 33 is a prior art and will not be described here.
33、 主叫加密终端 MSa 收到 MSC SERVER-S1 下发的呼叫应答消息 DTAP— CONNECT后, 上报 DTAP— CONNECT— ACK消息, 进入通话状态; 33. The calling and encrypting terminal MSa receives the call response message DTAP_CONNECT sent by the MSC SERVER-S1, and reports the DTAP_CONNECT_ACK message to enter the call state;
34、 主叫加密终端通过带内信号 CNG发送特殊的带内信号音, 如类似 Modem/Fax的带内音; 34. The calling encrypted terminal sends a special in-band signal tone through the in-band signal CNG, such as a band tone similar to Modem/Fax;
35、 MGW1检测带内信号音, 识别出本次为加密语音呼叫, 上报 NOTIFY 消息给 MSC SERVER-S 1;  35, MGW1 detects the in-band signal tone, recognizes that this is an encrypted voice call, and reports a NOTIFY message to the MSC SERVER-S 1;
36、 MSC SERVER-S1给媒体网关 MGW1下发 MODIFY— CHAR— REQ消 息, 将 IP端点 T2的编解码类型 Codec修改为 G.711格式;  36. The MSC SERVER-S1 sends a MODIFY_CHAR_REQ message to the media gateway MGW1, and changes the codec type Codec of the IP endpoint T2 to the G.711 format.
37、 MGW1修改完成后, 给 MSC SERVER-S1上报 MODIFY— CHAR— RSP 消息;  37. After the modification of the MGW1 is completed, the MODIFY_CHAR_RSP message is reported to the MSC SERVER-S1;
38、 MSC SERVER-SI给后向局 MSC SERVER-S2发送 APM消息,请求对 端局点修改 IP端点的 Codec为 G.711 ;  38. The MSC SERVER-SI sends an APM message to the MSC SERVER-S2, requesting the peer office to modify the codec of the IP endpoint to G.711;
39、 MSC SERVER-S2收到 MSC SERVER-S1发送的 APM消息后,向 MGW2 下发 MODIFY— CHAR— REQ消息, 将 IP端点 T3的 Codec修改为 G.711格式; After receiving the APM message sent by the MSC SERVER-S1, the MSC SERVER-S2 sends a MODIFY-CHAR-REQ message to the MGW2, and changes the Codec of the IP endpoint T3 to the G.711 format.
310、 MGW2修改完成后,给 MSC SERVER-S2上报 MODIFY— CHAR— RSP 消息; 310. After the modification of the MGW2 is completed, the MODIFY_CHAR_RSP message is reported to the MSC SERVER-S2;
311、 MSC SERVER-S2给 MSC SERVER-S 1发送 APM消息, 指示 Codec 修改成功。  311. The MSC SERVER-S2 sends an APM message to the MSC SERVER-S 1, indicating that the Codec modification is successful.
以上两个实施例提供的加密语音呼叫编解码协商方法分别实现了在主叫 侧局点和被叫侧局点实现加密语音呼叫的检测和通知, 通过 MSC SERVER向 MGW下发加密语音呼叫检测事件, 使得在语音呼叫过程中, MGW可以检测 到加密语音, 并上报给 MSC SERVER, MSC SERVER完成 MGW上 IP端点的 编解码类型的修改并通知对端局点完成 MGW上 IP端点的编解码类型的修改, 从而使得该语音呼叫呼叫在 IP承载上可以通过 G.711格式编码,实现了加密语 音呼叫的可靠传输,并且通过该方式不需要在 MGW上插入 IWF资源, P争低了 通信成本。 The encrypted voice call codec negotiation method provided by the above two embodiments respectively implements detection and notification of an encrypted voice call at the calling side office and the called side office point, and is notified by the MSC SERVER. The MGW sends an encrypted voice call detection event, so that the MGW can detect the encrypted voice and report it to the MSC SERVER during the voice call. The MSC SERVER completes the modification of the codec type of the IP endpoint on the MGW and notifies the peer office to complete the MGW. Modification of the codec type of the IP endpoint, so that the voice call call can be encoded in the G.711 format on the IP bearer, and the reliable transmission of the encrypted voice call is realized, and the IWF resource does not need to be inserted in the MGW. P is competing for lower communication costs.
图 4提供了另外一种跨 T局互联时的组网架构,其中 TMSC SERVER作为 汇接局的移动交换服务器, MGW2作为汇接局的媒体网关, 两侧分别时主叫侧 设备和被叫侧设备, 其中 MGW2和主叫侧媒体网关 MGW1之间为 IP承载, MGW2与被叫侧媒体网关 MGW3之间为 TDM承载, 在该组网架构下, 参考 前述实施例, 可以在语音呼叫建立过程中, TMSC SERVER在建立 TDM端点 T4时, 向 MGW2下发加密电话检测事件,这样, 当被叫加密终端通过带内信号 发送带内信号音时, MGW2接收从 MGW3透传过来的带内信号音, 从而识别 出当前呼叫为加密语音呼叫, 上报给 TMSC SERVER, TMSC SERVER完成 MGW2上 IP端点 T3的 Codec类型的修改, 将 T3的编解码类型修改为 G.711 格式, 并向主叫侧 MSC SERVER-S1发送 APM消息, 请求对端局点修改 IP端 点的 Codec, MSC SERVER-SI将 MGW1上 IP端点 T2中的编解码类型修改为 G.711格式。因该情况下具体实现均与图 2Β对应的实施例类似,不再详细描述。  Figure 4 provides another networking architecture when interconnecting across T-offices, where TMSC SERVER acts as the mobile switching server of the tandem office, and MGW2 acts as the media gateway of the tandem office, with the calling side device and the called side on both sides. The device, wherein the MGW2 and the calling media gateway MGW1 are IP bearers, and the MGW2 and the called media gateway MGW3 are TDM bearers. In the network architecture, referring to the foregoing embodiment, the voice call can be established. When establishing the TDM endpoint T4, the TMSC SERVER sends an encrypted telephone detection event to the MGW2, so that when the called encrypted terminal transmits the inband signal through the inband signal, the MGW2 receives the inband signal transmitted from the MGW3. Therefore, the current call is identified as an encrypted voice call, and reported to the TMSC SERVER. The TMSC SERVER completes the modification of the Codec type of the IP endpoint T3 on the MGW2, and the T3 codec type is modified to the G.711 format, and the calling side MSC SERVER- S1 sends an APM message, and requests the peer office to modify the Codec of the IP endpoint. The MSC SERVER-SI modifies the codec type in the IP endpoint T2 on the MGW1 to the G.711 format. The specific implementation in this case is similar to the embodiment corresponding to FIG. 2A and will not be described in detail.
在图 4对应的组网结构下,也可以通过主叫侧完成加密语音的检测和通知。 与图 3对应的实施例类似的, MSC SERVER-S1可以在建立 TDM端点 T1时, 向 MGW1 下发加密电话检测事件, 这样, 当主叫加密终端通过带内信号发送 带内信号音时, MGW1接收主叫侧加密终端发送的带内信号音,从而识别出当 前呼叫为加密语音呼叫, 上报给 MSC SERVER - SI , MSC SERVER-SI完成 MGW1上 IP端点 T2的 Codec类型的修改, 将 T2的编解码类型修改为 G.711 格式, 并向汇结局 TMSC SERVER发送 APM消息,请求对端局点修改 IP端点 的 Codec, TMSC SERVER将 MGW2上 IP端点 T3中的编解码类型修改为 G.711 格式。 因该情况下具体实现均与图 3对应的实施例类似, 不再详细描述。 Under the network structure corresponding to FIG. 4, the detection and notification of the encrypted voice can also be completed through the calling side. Similar to the embodiment corresponding to FIG. 3, the MSC SERVER-S1 can issue an encrypted telephone detection event to the MGW1 when the TDM endpoint T1 is established, so that when the calling encrypted terminal transmits the inband signal through the in-band signal, the MGW1 Receiving the in-band signal tone sent by the calling side encryption terminal, thereby identifying that the current call is an encrypted voice call, and reporting it to the MSC SERVER-SI, and the MSC SERVER-SI completes the modification of the Codec type of the IP endpoint T2 on the MGW1, and the T2 is edited. The decoding type is modified to G.711 format, and an APM message is sent to the sinking and ending TMSC SERVER, requesting the peer office to modify the IP endpoint. Codec, TMSC SERVER changes the codec type in IP endpoint T3 on MGW2 to G.711 format. Since the specific implementation in this case is similar to the embodiment corresponding to FIG. 3, it will not be described in detail.
图 5提供了另外一种启动 CMN ( Call Media Node, 呼叫协调节点)情况下 的组网架构图, 在此种组网情况下, 主被叫侧的信令面交互通过汇接局移动交 换服务器 TMSC SERVER, 而承载面实现主被叫侧 MGW之间的点到点互通, 其中主被叫侧 MGW之间采用 IP承载, 而主被叫 MGW与接入侧设备 BSC之 间采用 TDM承载, 这种组网情况下实现本发明实施例的加密语音呼叫的编解 码协商方法与图 2A的组网架构一致,可以如图 2B实施例对应的方式,在被叫 侧实现加密语音呼叫的检测和通知, 也可以如图 3实施例对应的方式, 在主叫 侧实现加密语音呼叫的检测和通知, 与图 2A组网方式处理不同的是, MSC SERVER-S1 与 MSC SERVER-S2 之间发送的 APM 消息需要通过 TMSC SERVER转发。 其他处理均与前述实施例相同, 在此不再重复描述。  FIG. 5 is a schematic diagram of a network architecture in the case of initiating a CMN (Call Coordination Node). In this case, the signaling plane of the calling and called parties interacts through the tandem office mobile switching server. The TMSC SERVER, and the bearer plane implements the point-to-point interworking between the MGW on the calling and the calling side, wherein the MGW is used between the MGW on the calling and the calling side, and the TDM bearer is used between the MGW and the access side device BSC. The codec negotiation method for implementing the encrypted voice call in the embodiment of the present invention is consistent with the networking architecture of FIG. 2A, and the method for detecting and notifying the encrypted voice call can be implemented on the called side in the manner corresponding to the embodiment of FIG. 2B. The detection and notification of the encrypted voice call can also be implemented on the calling side in the manner corresponding to the embodiment of FIG. 3, which is different from the network processing of FIG. 2A, the APM sent between the MSC SERVER-S1 and the MSC SERVER-S2. Messages need to be forwarded through the TMSC SERVER. Other processing is the same as the foregoing embodiment, and the description thereof will not be repeated here.
从以上几个实施例可以看出,在上述实施例中, MSC SERVER在满足如下 条件下对 MGW下发语音加密检测指示:  As can be seen from the above embodiments, in the foregoing embodiment, the MSC SERVER sends a voice encryption detection indication to the MGW under the following conditions:
一、 MSC SERVER对语音呼叫业务下发语音加密检测指示;  1. The MSC SERVER sends a voice encryption detection indication to the voice call service;
二、 MSC SERVER在 MGW两侧分别为 IP承载和 TDM承载且两侧选择 的 Codec不一致时, 对 TDM侧的端点下发语音加密检测指示。  2. When the MSC SERVER is in the IP bearer and the TDM bearer on both sides of the MGW, and the Codec selected on both sides is inconsistent, the voice encryption detection indication is sent to the endpoint on the TDM side.
由于 TDM承载为 G.711格式编码, 因此, 判断两侧选择的 Codec是否一 致主要判断 IP承载选择的编解码类型是否为 G.711 , 如果不是, 则确定两侧的 Codec不一致。  Since the TDM bearer is encoded in the G.711 format, it is determined whether the codec selected on both sides is consistent or not. The main judgment is whether the codec type selected by the IP bearer is G.711. If not, it is determined that the codecs on both sides are inconsistent.
因此, 在其他的组网方式下, 只要 MSC SERVER判断满足上述两个条件, 就可以在建立 TDM承载时向 MGW下发语音加密检测指示,从而实现在 IP承 载上通过 G.711格式传输且不需要插入 IWF资源。  Therefore, in other networking modes, as long as the MSC SERVER determines that the above two conditions are met, the voice encryption detection indication can be sent to the MGW when the TDM bearer is established, so that the G.711 format transmission is performed on the IP bearer. Need to insert IWF resources.
本发明实施例也可以通过语音呼叫通信路径中的各 MSC SERVER分别下 发语音加密检测指示, 进行语音加密检测指示的下发、 加密语音的检测和 IP 端点编解码类型的修改, 其中各 MSC SERVER下发语音加密检测指示的条件 与上述实施例相同。 以图 2A的组网方式为例,并结合图 2B和图 3实施例的描 述, 由于 MSC SERVER-S1和 MSC SERVER-S2均满足下发语音加密检测指示 的条件,语音呼叫通信路径中的 MSC SERVER-S1在建立 TDM端点 T1时, 向 MGW1下发语音加密检测指示, MSC SERVER-S2在建立 TDM端点 T4时向 MGW2下发语音加密检测指示, MGW1和 MGW2分别进行加密语音呼叫的检 测, 并在识别出当前呼叫是加密语音呼叫后, 向各自对应的 MSC SERVER发 送通知消息, MSC SERVER-S1和 MSC SERVER-S2分别完成 MGW1和 MGW2 上 IP端点的编解码类型的修改。 实际上, 这种实现方式就是将图 2B和图 3对 应的实现方式进行组合, 并删除 MSC SERVER-S1与 MSC SERVER-S2之间通 知对方修改 IP端点编解码类型的相关消息。 MSC SERVER下发语音加密检测 指示的条件与上述实施例相同, 因在前述实施例中均有详细说明, 此处不作重 复描述。 In the embodiment of the present invention, the voice encryption detection indication is sent by each MSC SERVER in the voice call communication path, and the voice encryption detection indication is sent, the encrypted voice is detected, and the IP is detected. The modification of the endpoint codec type, wherein the conditions for the voice cipher detection indication issued by each MSC SERVER are the same as those of the foregoing embodiment. Taking the networking mode of FIG. 2A as an example, and in combination with the description of the embodiment of FIG. 2B and FIG. 3, since both MSC SERVER-S1 and MSC SERVER-S2 satisfy the condition for issuing a voice encryption detection indication, the MSC in the voice call communication path When establishing the TDM endpoint T1, the SERVER-S1 sends a voice encryption detection indication to the MGW1, and the MSC SERVER-S2 sends a voice encryption detection indication to the MGW2 when the TDM endpoint T4 is established, and the MGW1 and the MGW2 respectively perform the detection of the encrypted voice call, and After identifying that the current call is an encrypted voice call, sending a notification message to the corresponding MSC SERVER, and the MSC SERVER-S1 and the MSC SERVER-S2 respectively modify the codec type of the IP endpoint on the MGW1 and the MGW2. In fact, this implementation is to combine the implementations corresponding to FIG. 2B and FIG. 3, and delete the related message between the MSC SERVER-S1 and the MSC SERVER-S2 to notify the other party to modify the IP endpoint codec type. The conditions for the MSC SERVER to send the voice encryption detection indication are the same as those of the foregoing embodiment, and are described in detail in the foregoing embodiments, and are not repeatedly described herein.
语音呼叫通信路径中的各局点分别进行语音加密检测指示的下发、 加密语 音的检测和 IP端点编解码类型的修改也同样适用于图 4和图 5组网架构下的方 式, 其具体实现与图 2A对应的组网方式类似, 即在图 4对应的组网架构下, 由 MSC SERVER-S1向 MGW1下发语音加密检测指示, MSC SERVER-S2向 MGW2下发语音加密检测指示, 两端分别完成加密语音呼叫的检测和 IP端点 编解码类型的修改。  The voice transmission detection indication, the detection of the encrypted voice, and the modification of the IP endpoint codec type in the voice call communication path are also applicable to the manners in the network architecture of FIG. 4 and FIG. 5, and the specific implementation thereof Figure 2A is similar to the networking mode. In the network architecture corresponding to Figure 4, the MSC SERVER-S1 sends a voice encryption detection indication to the MGW1, and the MSC SERVER-S2 sends a voice encryption detection indication to the MGW2. The detection of the encrypted voice call and the modification of the IP endpoint codec type are completed.
在语音呼叫通信路径中的局点分别进行加密语音的检测和 IP 端点编解码 类型的修改的方式中, 本发明实施例还提供了另外一种解决方案, 与上面实施 例不同的是, 通信路径中的各 MSC SERVER满足上述下发指示的条件后, 可 以在建立 TDM端点时向 MGW发送自动切换指示事件, 所述自动切换指示事 件也是一个新增的 H.248事件, 用于指示 MGW在检测到当前呼叫是语音加密 呼叫后, 自动将该呼叫对应的 IP端点的编解码类型修改为 G.711格式。 其中, MGW检测和识别呼叫是加密语音呼叫的方式与前述实施例相同, 在此不再赞 述。 The embodiment of the present invention provides another solution in the manner of performing the detection of the encrypted voice and the modification of the IP endpoint codec type in the voice call communication path. The difference from the above embodiment is that the communication path is different. After the MSC SERVER meets the conditions of the foregoing delivery indication, the automatic handover indication event may be sent to the MGW when the TDM endpoint is established, and the automatic handover indication event is also a new H.248 event, which is used to indicate that the MGW is detecting After the current call is a voice encrypted call, the codec type of the IP endpoint corresponding to the call is automatically modified to the G.711 format. among them, The manner in which the MGW detects and recognizes a call as an encrypted voice call is the same as that of the foregoing embodiment, and will not be described here.
上述实施例提供的加密语音呼叫编解码协商方法, 通过语音呼叫通信路径 中的各 MSC SERVER向 MGW下发加密语音呼叫检测事件或者自动切换指示 事件, 从而使得 MGW检测到加密语音, 并完成本局 MGW上 IP端点编解码 类型的修改,实现了加密语音呼叫的可靠传输,并且通过该方式不需要在 MGW 上插入 IWF资源, P争低了通信成本。  The encrypted voice call codec negotiation method provided by the foregoing embodiment sends an encrypted voice call detection event or an automatic handover indication event to the MGW through each MSC SERVER in the voice call communication path, so that the MGW detects the encrypted voice and completes the local MGW. The modification of the IP endpoint codec type realizes reliable transmission of the encrypted voice call, and in this way, the IWF resource does not need to be inserted on the MGW, and the communication cost is low.
如图 6所示, 本发明实施例还提供了一种实现加密语音呼叫的通信系统, 该系统包括:  As shown in FIG. 6, the embodiment of the present invention further provides a communication system for implementing an encrypted voice call, the system comprising:
本端局点移动交换服务器 MSC SERVER 61, 本端局点媒体网关 MGW 62, 对端局点移动交换服务器 MSC SERVER 63, 对端局点媒体网关 MGW 64, 本 端局点 MGW 62与对端局点 MGW 64之间通过 IP承载传输语音呼叫, 其中, 本端局点移动交换服务器 MSC SERVER 61 , 用于接收语音呼叫相关的信 令消息,确定该语音呼叫在本端局点媒体网关 MGW两侧的承载类型分别为 IP 承载和 TDM承载且两侧选择的编解码类型不一致, 并在建立 TDM端点时, 向媒体网关 MGW下发加密语音呼叫检测事件;  The local office mobile switching server MSC SERVER 61, the local office media gateway MGW 62, the peer office mobile switching server MSC SERVER 63, the peer office media gateway MGW 64, the local office MGW 62 and the opposite office The MGW 64 transmits a voice call through the IP bearer, wherein the local office mobile switching server MSC SERVER 61 is configured to receive a signaling message related to the voice call, and determine that the voice call is on both sides of the local office media gateway MGW. The bearer types of the IP bearer and the TDM bearer are inconsistent, and the encrypted voice call detection event is sent to the media gateway MGW when the TDM endpoint is established.
本端局点 MGW 62, 用于接收本端局点移动交换服务器 MSC SERVER下 发的加密语音呼叫检测事件, 检测加密终端发送的带内信号音, 并在识别出当 前语音呼叫为加密语音呼叫后, 向本端局点 MSC SERVER发送通知消息, 本端局点 MSC SERVER 61还用于接收 MSC SERVER上报的所述通知消 息, 将本端局点 MGW上的 IP端点的编解码类型修改为 G.711格式, 并向对端 局点 MSC SERVER发送消息,以通知对端局点 MSC SERVER将对端 MGW上 的 IP端点的编解码类型修改为 G.711格式;  The local office MGW 62 is configured to receive an encrypted voice call detection event sent by the local office mobile switching server MSC SERVER, detect an inband signal sent by the encrypted terminal, and identify that the current voice call is an encrypted voice call. And sending a notification message to the local office MSC SERVER, the local office MSC SERVER 61 is further configured to receive the notification message reported by the MSC SERVER, and modify the codec type of the IP endpoint on the local office MGW to G. 711 format, and send a message to the peer office MSC SERVER to notify the opposite office MSC SERVER to modify the codec type of the IP endpoint on the opposite MGW to the G.711 format;
对端局点 MSC SERVER 63,用于接收所述本端局点 MSC SERVER 61发送 的消息, 将对端局点 MGW 64上的 IP端点的编解码类型修改为 G.711格式。 其中所述本端局点为主叫侧局点、 被叫侧局点或者汇接局局点。 本发明提 供的系统实施例适用于前述图 2A, 图 4, 图 5提供的各种组网架构情况, 其具 体实现与前述方法实施例相同, 在此不重复描述。 The peer office MSC SERVER 63 is configured to receive the message sent by the local office MSC SERVER 61, and modify the codec type of the IP endpoint on the peer office MGW 64 to the G.711 format. The local office is the calling side office, the called side office or the tandem office. The system embodiment provided by the present invention is applicable to the various network architectures provided in the foregoing FIG. 2A, FIG. 4, and FIG. 5, and the specific implementation is the same as the foregoing method embodiment, and the description is not repeated herein.
如图 7所示, 为本发明实施例提供的一种移动交换服务器 MSC SERVER, 包括:  As shown in FIG. 7, a mobile switching server MSC SERVER according to an embodiment of the present invention includes:
确定单元 71, 用于在接收语音呼叫相关的信令消息后, 确定该语音呼叫在 侧选择的编解码类型是否一致;  The determining unit 71 is configured to determine, after receiving the signaling message related to the voice call, whether the codec type selected by the voice call is consistent on the side;
指示下发单元 72, 用于在确定单元确定该语音呼叫在本端局点媒体网关 MGW两侧的承载类型分别为 IP承载和 TDM承载且两侧选择的编解码类型不 一致时,在建立 TDM端点时, 向媒体网关 MGW下发加密语音呼叫检测事件; 修改单元 73,用于接收 MGW上报的通知消息,将本端局点 MGW上的 IP 端点的编解码类型修改为 G.711格式, 所述通知消息为本端局点 MGW在检测 到加密终端发送的带内信号音, 识别出当前语音呼叫为加密语音呼叫后, 向所 述 MSC SERVER发送的。  The instructing the sending unit 72 is configured to establish a TDM endpoint when the determining unit determines that the bearer type of the voice call on both sides of the local office media gateway MGW is an IP bearer and a TDM bearer respectively, and the codec types selected on both sides are inconsistent The cryptographic voice call detection event is sent to the media gateway MGW. The modifying unit 73 is configured to receive the notification message reported by the MGW, and modify the codec type of the IP endpoint on the local office MGW to the G.711 format. The notification message is sent to the MSC SERVER by the local station MGW after detecting the inband signal sent by the encrypted terminal and identifying that the current voice call is an encrypted voice call.
如果语音呼叫通信路径中的各局点的移动交换服务器按照本发明实施例 要求实现, 则可以实现该语音呼叫在 IP承载上使用 G.711格式来传输, 从而保 证了加密语音通话的实现, 并且不需要插入 IWF资源。  If the mobile switching server of each office in the voice call communication path is required to be implemented according to the embodiment of the present invention, the voice call can be transmitted on the IP bearer by using the G.711 format, thereby ensuring the implementation of the encrypted voice call, and Need to insert IWF resources.
在本发明另一实施例中, 移动交换服务器 MSC SERVER还可以只包括确 定单元 71和指示下发单元 72,,其中指示下发单元 72,与指示下发单元 72不同 的是, 它向媒体网关 MGW下发的是自动切换指示事件, 该自动切换指示事件 用于指示 MGW在检测到当前呼叫是语音加密呼叫后, 自动将该呼叫对应的 IP 端点的编解码类型修改为 G.711格式。  In another embodiment of the present invention, the mobile switching server MSC SERVER may further include only the determining unit 71 and the instructing sending unit 72, wherein the sending unit 72 is different from the indicating sending unit 72, and it is to the media gateway. The MGW delivers an automatic handover indication event, which is used to instruct the MGW to automatically modify the codec type of the IP endpoint corresponding to the call to the G.711 format after detecting that the current call is a voice encrypted call.
如图 8所示,为本发明实施例提供的另一种移动交换服务器 MSC SERVER, 其包括 确定单元 81, 用于在接收语音呼叫相关的信令消息后, 确定该语音呼叫在 侧选择的编解码类型是否一致; As shown in FIG. 8, another mobile switching server MSC SERVER according to an embodiment of the present invention includes The determining unit 81 is configured to determine, after receiving the signaling message related to the voice call, whether the codec type selected by the voice call is consistent on the side;
指示下发单元 82, 用于在确定单元确定该语音呼叫在本端局点媒体网关 MGW两侧的承载类型分别为 IP承载和 TDM承载且两侧选择的编解码类型不 一致时,在建立 TDM端点时, 向媒体网关 MGW下发加密语音呼叫检测事件; 修改单元 83,用于接收 MGW上报的通知消息,将本端局点 MGW上的 IP 端点的编解码类型修改为 G.711格式, 所述通知消息为本端局点 MGW在检测 到加密终端发送的带内信号音, 识别出当前语音呼叫为加密语音呼叫后, 向所 述 MSC SERVER发送的;  The sending unit 82 is configured to establish a TDM endpoint when the determining unit determines that the bearer type of the voice call on both sides of the local office media gateway MGW is an IP bearer and a TDM bearer, and the codec types selected on the two sides are inconsistent. And sending an encrypted voice call detection event to the media gateway MGW; the modifying unit 83 is configured to receive the notification message reported by the MGW, and modify the codec type of the IP endpoint on the local office MGW to the G.711 format, where The notification message is sent to the MSC SERVER by the local station MGW after detecting the inband signal sent by the encrypted terminal and identifying that the current voice call is an encrypted voice call;
通知单元 84, 用于在修改单元接收到 MGW上报的通知消息后, 向对端局 点 MSC SERVER发送消息,以通知对端局点 MSC SERVER将对端 MGW上的 IP端点的编解码类型修改为 G.711格式;  The notification unit 84 is configured to: after the modifying unit receives the notification message reported by the MGW, send a message to the opposite office MSC SERVER to notify the opposite office MSC SERVER to modify the codec type of the IP endpoint on the opposite MGW to G.711 format;
其中, 所述本端局点 MGW与对端局点 MGW之间通过 IP承载传输该语 音呼叫。  The voice call is transmitted between the local office MGW and the peer office MGW through an IP bearer.
与上述方法实施例对应的, 该 MSC SERVER可以在主叫侧局点、 被叫侧 局点或者汇接局局点, 其具体应用场景及实现也可以参照方法实施例中的描 述。  Corresponding to the foregoing method embodiment, the MSC SERVER may be in the calling side office, the called side office, or the tanner office. The specific application scenarios and implementations may also refer to the description in the method embodiment.
进一步的, 当对端局点 MSC SERVER具备上述功能时, 其可以通过向本 端局点的 MSC SERVER发送消息, 来通知本端局点将 MGW上的 IP端点的编 解码类型修改为 G.711格式, 那么, 所述修改单元 83, 还用于接收对端 MSC SERVER发送的消息,将本端局点 MGW上的 IP端点的编解码类型修改为 G.711 格式, 所述对端 MSC SERVER发送的消息用于指示本端局点将 IP端点的编解 码类型修改为 G.711格式。  Further, when the peer MSC SERVER has the above function, it can notify the local office to change the codec type of the IP endpoint on the MGW to G.711 by sending a message to the MSC SERVER of the local office. The format, the modification unit 83 is further configured to receive the message sent by the peer MSC SERVER, and modify the codec type of the IP endpoint on the local office MGW to the G.711 format, where the peer MSC SERVER sends The message is used to instruct the local office to modify the codec type of the IP endpoint to the G.711 format.
通过本发明实施例提供的 MSC SERVER,通过向 MGW下发加密语音呼叫 检测事件, 在收到 MGW上报的通知消息后将本端 MGW上的 IP端点编解码 类型修改为 G.711,并且通过通知对端 MSC SERVER将对端 MGW上的 IP端点 编解码类型修改为 G.711 , 实现了在 IP承载上通过 G.711格式传输加密语音呼 叫, 并且该方式不需要插入 IWF资源, P争低了通信成本。 The MSC SERVER provided by the embodiment of the present invention delivers an encrypted voice call to the MGW. After detecting the event, the IP endpoint codec type on the local MGW is modified to G.711 after receiving the notification message reported by the MGW, and the IP endpoint codec type on the peer MGW is modified to G by notifying the peer MSC SERVER. .711, the transmission of the encrypted voice call through the G.711 format on the IP bearer is realized, and the method does not need to insert the IWF resource, and the P strives to reduce the communication cost.
如图 9所示, 本发明实施例还提供了一种媒体网关 MGW, 包括: 接收单元 91, 用于接收本端局点移动交换服务器 MSC SERVER下发的加 密语音呼叫检测事件, 所述加密语音呼叫检测事件为 MSC SERVER在接收语 音呼叫相关的信令消息后, 确定该语音呼叫在本端局点媒体网关 MGW两侧的 承载类型分别为 IP承载和 TDM承载且两侧选择的编解码类型不一致,在建立 TDM端点时, 向媒体网关 MGW下发的;  As shown in FIG. 9, the embodiment of the present invention further provides a media gateway MGW, including: a receiving unit 91, configured to receive an encrypted voice call detection event delivered by the local office mobile switching server MSC SERVER, the encrypted voice The call detection event is that after the MSC SERVER receives the signaling message related to the voice call, it determines that the bearer types of the voice call on both sides of the local office media gateway MGW are respectively IP bearer and TDM bearer, and the codec types selected on both sides are inconsistent. When the TDM endpoint is established, it is sent to the media gateway MGW;
检测识别单元 92, 用于在接收单元接收到加密语音呼叫检测事件后, 检测 加密终端发送的带内信号音, 当识别出当前语音呼叫为加密语音呼叫后, 向 MSC SERVER发送通知消息;  The detecting and identifying unit 92 is configured to: after receiving the encrypted voice call detecting event, the receiving unit detects the inband signal sent by the encrypted terminal, and after identifying that the current voice call is an encrypted voice call, sending a notification message to the MSC SERVER;
编解码类型修改单元 93, 用于在 MSC SERVER的控制下, 将该语音呼叫 的本端 IP端点的编解码类型修改为 G.711格式。  The codec type modification unit 93 is configured to modify the codec type of the local IP endpoint of the voice call to the G.711 format under the control of the MSC SERVER.
其中, 加密语音呼叫检测事件为一个新增的 H.248事件, 用于指示 MGW 在检测出当前语音呼叫为加密语音呼叫后, 向 MSC SERVER发送通知消息。  The encrypted voice call detection event is a new H.248 event, and is used to instruct the MGW to send a notification message to the MSC SERVER after detecting that the current voice call is an encrypted voice call.
在本发明另一个实施例提供的媒体网关中, 也包括接收单元 91,, 检测识 别单元 92,, 以及编解码类型修改单元 93,, 与上述媒体网关不同的是, 接收单 元 91,接收到的是本端局点移动交换服务器 MSC SERVER下发的自动切换指示 事件, 所述自动切换指示事件也是 MSC SERVER在接收语音呼叫相关的信令 消息后,确定该语音呼叫在本端局点媒体网关 MGW两侧的承载类型分别为 IP 承载和 TDM承载且两侧选择的编解码类型不一致, 在建立 TDM端点时, 向 媒体网关 MGW下发的; 该自动切换指示事件用于指示 MGW在检测到当前呼 叫是语音加密呼叫后, 自动将该呼叫对应的 IP端点的编解码类型修改为 G.711 格式; The media gateway provided by another embodiment of the present invention further includes a receiving unit 91, a detecting and identifying unit 92, and a codec type modifying unit 93, which is different from the media gateway in that the receiving unit 91 receives the received It is an automatic handover indication event delivered by the local office mobile switching server MSC SERVER. The automatic handover indication event is also determined by the MSC SERVER after receiving the signaling message related to the voice call, and determines that the voice call is at the local office media gateway MGW. The bearer types on both sides are the IP bearer and the TDM bearer, and the codec types selected on the two sides are inconsistent. When the TDM endpoint is established, the MDM is sent to the media gateway MGW. The automatic handover indication event is used to indicate that the MGW detects the current call. After the voice encrypted call, the codec type of the IP endpoint corresponding to the call is automatically changed to G.711. format;
检测识别单元 92,, 用于在接收单元接收到自动切换指示事件后, 检测加 密终端发送的带内信号音, 当识别出当前语音呼叫为加密语音呼叫后, 通知编 解码类型修改单元 93,;  The detecting and identifying unit 92 is configured to: after receiving the automatic switching indication event, the receiving unit detects the inband signal sent by the encrypted terminal, and after identifying that the current voice call is an encrypted voice call, notifying the codec type modifying unit 93;
编解码类型修改单元 93,, 用于在接收到检测识别单元 92,发送的通知后, 自动将该 MGW上该呼叫对应的 IP端点的编解码类型修改为 G.711。  The codec type modification unit 93 is configured to automatically modify the codec type of the IP endpoint corresponding to the call on the MGW to G.711 after receiving the notification sent by the detection and identification unit 92.
以上公开的系统、 装置实施例均可以参考前述方法实施例的描述, 且均具 有前述方法实施例介绍的有益效果。  The system and device embodiments disclosed above can be referred to the description of the foregoing method embodiments, and all have the beneficial effects described in the foregoing method embodiments.
通过以上的实施方式的描述, 所属领域的技术人员可以清楚地了解到本发 明可借助软件加必需的通用硬件平台的方式来实现, 当然也可以通过硬件, 但 很多情况下前者是更佳的实施方式。 基于这样的理解, 本发明的技术方案本质 上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来, 该计算 机软件产品存储在可读取的存储介质中, 如计算机的软盘, 硬盘或光盘等, 包 括若干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络 设备等)执行本发明各个实施例所述的方法。  Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is a better implementation. the way. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer. A hard disk or optical disk or the like includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
总之, 以上所述仅为本发明技术方案的较佳实施例而已, 并非用于限定本 发明的保护范围。凡在本发明的精神和原则之内, 所作的任何修改、等同替换、 改进等, 均应包含在本发明的保护范围之内。  In summary, the above description is only a preferred embodiment of the technical solution of the present invention, and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要求 书 Claim
1、 一种加密语音呼叫的编解码协商的方法, 其特征在于, 该方法包括: 移动交换服务器 MSC SERVER接收语音呼叫相关的信令消息后, 确定该 语音呼叫在本端局点媒体网关 MGW两侧的承载类型分别为 IP承载和 TDM承 载且两侧选择的编解码类型不一致,则在建立 TDM端点时,向媒体网关 MGW 下发加密语音呼叫检测事件;  A method for encoding and decoding an encrypted voice call, the method comprising: the mobile switching server MSC SERVER receiving the signaling message related to the voice call, determining that the voice call is in the local office media gateway MGW The bearer type of the bearer is the IP bearer and the TDM bearer, and the codec types selected by the two sides are inconsistent. When the TDM endpoint is established, the encrypted voice call detection event is sent to the media gateway MGW.
MSC SERVER接收本端局点 MGW上报的通知消息,所述通知消息为本端 局点 MGW在检测到加密终端发送的带内信号音, 识别出当前语音呼叫为加密 语音呼叫后, 向所述 MSC SERVER发送的;  The MSC SERVER receives the notification message reported by the local office MGW, and the notification message is that the local office MGW detects the inband signal sent by the encrypted terminal, and recognizes that the current voice call is an encrypted voice call, and then sends the MSC SERVER to the MSC. SERVER sent;
MSC SERVER将本端局点 MGW上的 IP端点的编解码类型修改为 G.711 格式, 并向对端局点 MSC SERVER发送消息, 以通知对端局点 MSC SERVER 将对端 MGW上的 IP端点的编解码类型修改为 G.711格式,所述本端局点 MGW 与对端局点 MGW之间通过 IP承载传输该语音呼叫。  The MSC SERVER modifies the codec type of the IP endpoint on the local office MGW to the G.711 format, and sends a message to the peer office MSC SERVER to notify the peer office MSC SERVER of the IP endpoint on the opposite MGW. The codec type is modified to the G.711 format, and the local office MGW and the opposite office MGW transmit the voice call through the IP bearer.
2、 根据权利要求 1 所述的语音加密呼叫的编解码协商的方法, 其特征在 于, 所述确定该语音呼叫在本端局点媒体网关 MGW两侧选择的编解码类型不 一致包括:  The method for encoding and decoding a voice-encrypted call according to claim 1, wherein the determining whether the voice call is selected on the two sides of the local office media gateway MGW is inconsistent:
确定 IP承载中选择的编解码类型是否为 G.711格式,如果是,则确定 MGW 两侧选择的编解码类型一致, 如果不是, 则确定 MGW两侧选择的编解码类型 不一致。  It is determined whether the codec type selected in the IP bearer is in the G.711 format. If yes, it is determined that the codec types selected on both sides of the MGW are the same. If not, it is determined that the codec types selected on both sides of the MGW are inconsistent.
3、 根据权利要求 1 所述的语音加密呼叫的编解码协商的方法, 其特征在 于, 所述加密语音检测事件为新增的 H.248事件, 用于指示 MGW在检测到加 密语音呼叫后, 向 MSC SERVER上^艮通知消息。  The method for encoding and decoding a voice-encrypted call according to claim 1, wherein the encrypted voice detection event is a newly added H.248 event, and is used to indicate that the MGW detects the encrypted voice call. Send a notification message to the MSC SERVER.
4、 根据权利要求 1 所述的语音加密呼叫的编解码协商的方法, 其特征在 于, 所述 MSC SERVER向对端局点 MSC SERVER发送消息, 以通知对端局点 MSC SERVER将对端 MGW上的 IP端点的编解码类型修改为 G.711格式包括: MSC SERVER向对端局点 MSC SERVER发送 APM消息, 以通知对端局 点 MSC SERVER将对端 MGW上的 IP端点的编解码类型修改为 G.711格式。 The method for encoding and decoding a voice-encrypted call according to claim 1, wherein the MSC SERVER sends a message to the opposite office MSC SERVER to notify the opposite office that the MSC SERVER will be on the opposite MGW. Modification of the codec type of the IP endpoint to the G.711 format includes: The MSC SERVER sends an APM message to the peer office MSC SERVER to notify the peer office MSC SERVER to change the codec type of the IP endpoint on the peer MGW to the G.711 format.
5、 根据权利要求 1 所述的语音加密呼叫的编解码协商的方法, 其特征在 于,所述 MSC SERVER为主叫侧局点 MSC SERVER,被叫侧局点 MSC SERVER 或者汇接局局点 MSC SERVER^  The method for encoding and decoding negotiation of a voice-encrypted call according to claim 1, wherein the MSC SERVER is a calling-side office MSC SERVER, a called-side office MSC SERVER, or a tandem office MSC. SERVER^
6、 一种加密语音呼叫的编解码协商的方法, 其特征在于, 该方法包括: 语音呼叫通信路径中的移动交换服务器 MSC SERVER接收语音呼叫相关 的信令消息后, 确定该语音呼叫在媒体网关 MGW 两侧的承载类型分别为 IP 承载和 TDM承载且两侧选择的编解码类型不一致, 则在建立 TDM端点时, 向媒体网关 MGW下发自动切换指示事件或者加密语音呼叫检测事件;  A method for encoding and decoding an encrypted voice call, the method comprising: the mobile switching server MSC SERVER in the voice call communication path receiving the signaling message related to the voice call, determining that the voice call is at the media gateway The bearer types on both sides of the MGW are the IP bearer and the TDM bearer, and the codec types selected on the two sides are inconsistent. When the TDM endpoint is established, the automatic switching indication event or the encrypted voice call detection event is sent to the media gateway MGW.
MGW检测到加密终端上报的带内信号音, 识别出当前呼叫为加密语音呼 叫;  The MGW detects the in-band tone reported by the encrypted terminal, and recognizes that the current call is an encrypted voice call;
如果 MGW收到的是自动切换指示事件, 则自动将 MGW上的 IP端点的 编解码类型修改为 G.711格式;  If the MGW receives an automatic handover indication event, the codec type of the IP endpoint on the MGW is automatically changed to the G.711 format.
如果 MGW收到的是加密语音呼叫检测事件, 则向 MGW发送通知消息, MSC SERVER收到通知消息后, 将 MGW上的 IP端点的编解码类型修改为 G.711格式。  If the MGW receives the encrypted voice call detection event, the MGW sends a notification message to the MGW. After receiving the notification message, the MSC SERVER changes the codec type of the IP endpoint on the MGW to the G.711 format.
7、 根据权利要求 6 所述的语音加密呼叫的编解码协商的方法, 其特征在 于,所述确定该语音呼叫在媒体网关 MGW两侧选择的编解码类型不一致包括: 确定 IP承载中选择的编解码类型是否为 G.711格式,如果是,则确定 MGW 两侧选择的编解码类型一致, 如果不是, 则确定 MGW两侧选择的编解码类型 不一致。  The method for encoding and decoding a voice-encrypted call according to claim 6, wherein the determining the codec type selected by the voice call on both sides of the media gateway MGW includes: determining the selected one of the IP bearers Whether the decoding type is G.711 format. If yes, it determines that the codec types selected on both sides of the MGW are the same. If not, it determines that the codec types selected on both sides of the MGW are inconsistent.
8、 根据权利要求 6 所述的语音加密呼叫的编解码协商的方法, 其特征在 于, 所述加密语音检测事件或自动切换指示事件为新增的 H.248事件。  The method for encoding and decoding a voice-encrypted call according to claim 6, wherein the encrypted voice detection event or the automatic handover indication event is a new H.248 event.
9、 一种实现加密语音呼叫的通信系统, 其特征在于, 该系统包括: 本端局点移动交换服务器 MSC SERVER, 本端局点媒体网关 MGW, 对端 局点移动交换服务器 MSC SERVER,对端局点媒体网关 MGW,本端局点 MGW 与对端局点 MGW之间通过 IP承载传输语音呼叫, 其中, 9. A communication system for implementing an encrypted voice call, the system comprising: The local office mobile switching server MSC SERVER, the local office media gateway MGW, the peer office mobile switching server MSC SERVER, the peer office media gateway MGW, the local office MGW and the peer office MGW pass The IP bearer transmits a voice call, wherein
本端局点移动交换服务器 MSC SERVER,用于接收语音呼叫相关的信令消 息, 确定该语音呼叫在本端局点媒体网关 MGW两侧的承载类型分别为 IP承 载和 TDM承载且两侧选择的编解码类型不一致, 并在建立 TDM端点时, 向 媒体网关 MGW下发加密语音呼叫检测事件;  The local office mobile switching server MSC SERVER is configured to receive the signaling message related to the voice call, and determine that the bearer types of the voice call on both sides of the local office media gateway MGW are respectively IP bearer and TDM bearer, and are selected on both sides. The codec type is inconsistent, and when the TDM endpoint is established, the encrypted voice call detection event is sent to the media gateway MGW;
本端局点 MGW,用于接收本端局点移动交换服务器 MSC SERVER下发的 加密语音呼叫检测事件, 检测加密终端发送的带内信号音, 并在识别出当前语 音 —曰呼叫为加密语音呼叫后, 向本端局点 MSC SERVER发送通知消息,  The local office MGW is configured to receive an encrypted voice call detection event sent by the local office mobile switching server MSC SERVER, detect an inband signal sent by the encrypted terminal, and identify the current voice—the call is an encrypted voice call. After that, send a notification message to the local office MSC SERVER.
本端局点 MSC SERVER还用于接收 MGW上报的所述通知消息, 将本端 局点 MGW上的 IP端点的编解码类型修改为 G.711格式, 并向对端局点 MSC SERVER发送消息, 以通知对端局点 MSC SERVER将对端 MGW上的 IP端点 的编解码类型修改为 G.711格式;  The local office MSC SERVER is further configured to receive the notification message reported by the MGW, modify the codec type of the IP endpoint on the local office MGW to the G.711 format, and send a message to the opposite office MSC SERVER. The MSC SERVER is notified to notify the peer office to change the codec type of the IP endpoint on the peer MGW to the G.711 format.
对端局点 MSC SERVER, 用于接收所述本端局点 MSC SERVER发送的消 息, 将对端 MGW上的 IP端点的编解码类型修改为 G.711格式。  The peer MSC SERVER is configured to receive the message sent by the local office MSC SERVER, and modify the codec type of the IP endpoint on the peer MGW to the G.711 format.
10、 根据权利要求 9所述的实现加密语音呼叫的通信系统, 其特征在于, 所述本端局点为主叫侧局点、 被叫侧局点或者汇接局局点。  The communication system for implementing an encrypted voice call according to claim 9, wherein the local office is a calling side office point, a called side office point, or a tandem office office point.
11、 一种移动交换服务器 MSC SERVER, 其特征在于, 包括:  11. A mobile switching server MSC SERVER, comprising:
确定单元, 用于在接收语音呼叫相关的信令消息后, 确定该语音呼叫在本 选择的编解码类型是否一致;  a determining unit, configured to determine, after receiving a signaling message related to the voice call, whether the voice call is consistent in the selected codec type;
指示下发单元, 用于在确定单元确定该语音呼叫在本端局点媒体网关 MGW两侧的承载类型分别为 IP承载和 TDM承载且两侧选择的编解码类型不 一致时,在建立 TDM端点时, 向媒体网关 MGW下发加密语音呼叫检测事件; 修改单元, 用于接收 MGW上报的通知消息, 将本端局点 MGW上的 IP 端点的编解码类型修改为 G.711格式, 所述通知消息为本端局点 MGW在检测 到加密终端发送的带内信号音, 识别出当前语音呼叫为加密语音呼叫后, 向所 述 MSC SERVER发送的。 And the sending unit is configured to: when the determining unit determines that the bearer type of the voice call on both sides of the local office media gateway MGW is an IP bearer and a TDM bearer, and the codec types selected on the two sides are inconsistent, when the TDM endpoint is established Sending an encrypted voice call detection event to the media gateway MGW; a modifying unit, configured to receive the notification message reported by the MGW, and modify the codec type of the IP endpoint on the local office MGW to the G.711 format, where the notification message is sent by the local office MGW when detecting the encrypted terminal In-band tones, which are sent to the MSC SERVER after the current voice call is an encrypted voice call.
12、 根据权利要求 11 所述的 MSC SERVER, 其特征在于, 所述 MSC SERVER还包括:  The MSC SERVER according to claim 11, wherein the MSC SERVER further includes:
通知单元, 用于在接收到 MGW上报的通知消息或者在修改单元将本端局 点 MGW上的 IP端点的编解码类型修改为 G.711格式后, 向对端局点 MSC SERVER发送消息, 以通知对端局点 MSC SERVER将对端 MGW上的 IP端点 的编解码类型修改为 G.711格式, 所述本端局点 MGW与对端局点 MGW之间 通过 IP 7 载传输该语音呼叫。  a notification unit, configured to send a message to the opposite office MSC SERVER after receiving the notification message reported by the MGW or after modifying the codec type of the IP endpoint on the local office MGW to the G.711 format The peer MSC SERVER is notified to change the codec type of the IP endpoint on the peer MGW to the G.711 format, and the local office MGW and the opposite office MGW transmit the voice call through IP 7.
13、 根据权利要求 11所述的 MSC SERVER, 其特征在于, 所述修改单元 还用于接收对端 MSC SERVER发送的消息, 将本端局点 MGW上的 IP端点的 编解码类型修改为 G.711格式, 所述对端 MSC SERVER发送的消息用于指示 本端局点将 IP端点的编解码类型修改为 G.711格式。  The MSC SERVER according to claim 11, wherein the modifying unit is further configured to receive a message sent by the peer MSC SERVER, and modify the codec type of the IP endpoint on the local office MGW to G. In the 711 format, the message sent by the peer MSC SERVER is used to indicate that the local office changes the codec type of the IP endpoint to the G.711 format.
14、 一种媒体网关 MGW, 其特征在于, 包括:  14. A media gateway MGW, characterized in that:
接收单元, 用于接收本端局点移动交换服务器 MSC SERVER下发的加密 语音呼叫检测事件, 所述加密语音呼叫检测事件为 MSC SERVER在接收语音 呼叫相关的信令消息后, 确定该语音呼叫在本端局点媒体网关 MGW两侧的承 载类型分别为 IP承载和 TDM承载且两侧选择的编解码类型不一致, 在建立 TDM端点时, 向媒体网关 MGW下发的;  The receiving unit is configured to receive an encrypted voice call detection event sent by the local office mobile switching server MSC SERVER, where the encrypted voice call detection event is that the MSC SERVER determines that the voice call is after receiving the signaling message related to the voice call. The bearer types of the two ends of the local media gateway MGW are respectively the IP bearer and the TDM bearer, and the codec types selected by the two sides are inconsistent. When the TDM endpoint is established, the bearer is sent to the media gateway MGW.
检测识别单元, 用于在接收单元接收到加密语音呼叫检测事件后, 检测加 密终端发送的带内信号音, 当识别出当前语音呼叫为加密语音呼叫后, 向 MSC SERVER发送通知消息;  The detecting and identifying unit is configured to: after receiving the encrypted voice call detecting event, the receiving unit detects the inband signal sent by the encrypted terminal, and after identifying that the current voice call is an encrypted voice call, sending a notification message to the MSC SERVER;
编解码类型修改单元, 用于在 MSC SERVER的控制下, 将该语音呼叫的 本端 IP端点的编解码类型修改为 G.711格式。 Codec type modification unit, used to control the voice call under the control of the MSC SERVER The codec type of the local IP endpoint is modified to the G.711 format.
PCT/CN2010/070328 2009-01-24 2010-01-22 Coding-decoding negotiation method, communication system, and device for encrypted voice call WO2010083773A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910105294.3A CN101478621B (en) 2009-01-24 2009-01-24 Encoding and decoding negotiation method for ciphered voice call, communication system and device
CN200910105294.3 2009-01-24

Publications (1)

Publication Number Publication Date
WO2010083773A1 true WO2010083773A1 (en) 2010-07-29

Family

ID=40839249

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/070328 WO2010083773A1 (en) 2009-01-24 2010-01-22 Coding-decoding negotiation method, communication system, and device for encrypted voice call

Country Status (2)

Country Link
CN (1) CN101478621B (en)
WO (1) WO2010083773A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478621B (en) * 2009-01-24 2011-12-07 华为技术有限公司 Encoding and decoding negotiation method for ciphered voice call, communication system and device
CN103731232B (en) * 2012-10-12 2018-06-01 三亚中兴软件有限责任公司 A kind of adaptive method and device of sip terminal encoding and decoding
CN103781030B (en) * 2012-10-23 2017-04-05 北京凯华网联技术有限公司 IP-based color bell business implementation method and CRBT media server
CN105813106B (en) * 2014-12-31 2019-08-27 中国移动通信集团公司 The determination method and device of voice service type

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008003834A1 (en) * 2006-07-07 2008-01-10 Nokia Corporation Method and system for enhancing the discontinuous transmission functionality
CN101119269A (en) * 2006-08-01 2008-02-06 华为技术有限公司 Method for wireless core network to transmit intercommunication service and intercommunication function unit
CN101237620A (en) * 2008-02-27 2008-08-06 中兴通讯股份有限公司 Transmission method and media gateway for impulse coding modulation code stream
CN101478621A (en) * 2009-01-24 2009-07-08 华为技术有限公司 Encoding and decoding negotiation method for ciphered voice call, communication system and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100384201C (en) * 2005-10-20 2008-04-23 华为技术有限公司 Method for transmitting fax from fixed network to mobile network
CN100396117C (en) * 2005-11-10 2008-06-18 华为技术有限公司 Method for realizing speech service switching to circuit type data service
CN101115029B (en) * 2007-03-05 2011-10-26 中兴通讯股份有限公司 Mixed connection method for base station and core network
CN101296205B (en) * 2007-04-24 2011-04-20 华为技术有限公司 Method, equipment and system for implementing transparent transmission in IP network or hybrid network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008003834A1 (en) * 2006-07-07 2008-01-10 Nokia Corporation Method and system for enhancing the discontinuous transmission functionality
CN101119269A (en) * 2006-08-01 2008-02-06 华为技术有限公司 Method for wireless core network to transmit intercommunication service and intercommunication function unit
CN101237620A (en) * 2008-02-27 2008-08-06 中兴通讯股份有限公司 Transmission method and media gateway for impulse coding modulation code stream
CN101478621A (en) * 2009-01-24 2009-07-08 华为技术有限公司 Encoding and decoding negotiation method for ciphered voice call, communication system and device

Also Published As

Publication number Publication date
CN101478621A (en) 2009-07-08
CN101478621B (en) 2011-12-07

Similar Documents

Publication Publication Date Title
US6108560A (en) Wireless communications system
CN100466805C (en) Method for end-to-end enciphoring voice telecommunication
JP2006140989A (en) Method and system for fast session establishment between equipment using h.324 and related telecommunication protocol
US8548460B2 (en) Codec deployment using in-band signals
JP2006510242A (en) H. Method and apparatus for rapidly establishing a session between devices using 324 and related communication protocols
WO2001082640A1 (en) Multi-point communication method and communication control device
RU2430474C1 (en) Method and system for lossless media stream transmission after switching between ordinary connection and secret connection
JP2011176848A (en) Capability negotiation in telecommunication network
WO2012063888A1 (en) Core network and communication system
WO2010083773A1 (en) Coding-decoding negotiation method, communication system, and device for encrypted voice call
CN101160983B (en) Data flow processing method, device and system
WO2009097803A1 (en) Code switching method, system and device
JP2007318451A (en) Voice communication terminal device, voice communication control method and voice communication terminal program
US9172726B2 (en) Impairment reduction for tandem VoIP calls
JP4421187B2 (en) Communications system
CN102055961A (en) Method for monitoring visible terminal of called party and video monitoring system
WO2009079960A1 (en) Method, system and equipment for outband dtmf signaling interworking
KR101121230B1 (en) Sip base voip service protection system and the method
WO2018152772A1 (en) Network telephone processing method and related network device
RU2446605C2 (en) Method, system and device for reconciliation of session initiation protocol signaling data service
CN100366105C (en) Network side playback method of encrypted communication service
CN101296205B (en) Method, equipment and system for implementing transparent transmission in IP network or hybrid network
US8331356B2 (en) Method, apparatus and system for transmitting a global text telephone signal
US9143726B2 (en) Video media server for realizing video intercommunication gateway function and video intercommunication method
EP2359562B1 (en) Digital telecommunications system, program product for, and method of managing such a system

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: 10733246

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10733246

Country of ref document: EP

Kind code of ref document: A1