WO2012010035A1 - Media gateway and media resource detection method - Google Patents

Media gateway and media resource detection method Download PDF

Info

Publication number
WO2012010035A1
WO2012010035A1 PCT/CN2011/076139 CN2011076139W WO2012010035A1 WO 2012010035 A1 WO2012010035 A1 WO 2012010035A1 CN 2011076139 W CN2011076139 W CN 2011076139W WO 2012010035 A1 WO2012010035 A1 WO 2012010035A1
Authority
WO
WIPO (PCT)
Prior art keywords
module
media resource
media
channel
idle channel
Prior art date
Application number
PCT/CN2011/076139
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 WO2012010035A1 publication Critical patent/WO2012010035A1/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

Definitions

  • next generation communication networks and in particular to a media gateway and a media resource detecting method.
  • NTN Next Generation Network
  • IP Internet Protocol
  • the next-generation network uses a separate architecture of bearer and control. Combined with the openness of IP networks and the controllability of traditional communication networks, it provides a unified architecture for inter-network convergence and provides customers with quality of service (QoS, Quality of Service) Guaranteed multimedia services.
  • QoS Quality of Service
  • the Media Gateway is mainly responsible for the control and management of media resources and the PSTN (Public Switched Telephone Network) to access the IP core network through trunks to complete the PSTN trunk side. Voice/fax and IP network side voice/fax conversion.
  • the media resource functions include voice playback, MFC/DTMF/MF transceiving number, CID (Calling Index Display), and conferences. These functions mainly rely on the digital signal processor (DSP) for the analysis and processing of frequency signals, and can perform media resource functions for multiple time slots, ie, voice channels, simultaneously after multi-channel processing.
  • DSP digital signal processor
  • FIG. 1 is a schematic structural diagram of a media gateway according to the related art. As can be seen from the figure, in the conventional method, to test each channel of the media resource unit 4, it is necessary to take the path of "media resource module - relay module external tester". The method of using the media gateway shown in FIG. 1 is as follows: Step A.
  • the background 1 provides a human-machine dialog interface to input the media resource that needs to be detected, and the relay module 7 disconnects the service of the existing network, and the relay module 7
  • a special device capable of processing media functions that is, an external tester 8 (such as a frequency analysis function or a recording function) is connected to the trunk; Step B.
  • the control module 2 controls the DSP media to be detected by controlling the switching module 5 in the media gateway.
  • the channel of the resource module 4 is switched to the channel corresponding to the relay module 7; Step C.
  • the media resource has been transmitted to the external tester 8 capable of processing the media function through the relay module 7.
  • the maintenance personnel can read the media resource information on the specific channel on the device. And judge whether the media resource channel is abnormal or not.
  • the present invention is directed to the problem that the related art needs to detect the DSP media resources by using an external device, which affects the operation of the existing network service.
  • the main purpose of the present invention is to provide a media gateway and a media resource detecting method, Solve the above problem.
  • a media gateway including: a control module, configured to open an idle channel of a VoIP (voice over IP) module in a media gateway, and verify a detection signal of the VoIP module; the switching module is configured to exchange the channel of the media resource module in the media gateway to the idle channel; the VoIP module is configured to receive the media resource from the media resource module through the idle channel, and detect the media resource to obtain the detection signal, And send a detection signal to the control module.
  • a control module configured to open an idle channel of a VoIP (voice over IP) module in a media gateway, and verify a detection signal of the VoIP module
  • the switching module is configured to exchange the channel of the media resource module in the media gateway to the idle channel
  • the VoIP module is configured to receive the media resource from the media resource module through the idle channel, and detect the media resource to obtain the detection signal, And send a detection signal to the control module.
  • the media gateway further includes: a background, configured to provide a first interface, configured to receive a first serial number corresponding to the idle channel and a second serial number corresponding to the channel of the media resource module input by the user; and the switching module passes the first serial number And the second serial number exchanges the channel of the media resource module in the media gateway to the idle channel.
  • the switching module includes: a first module, configured to: search a first identifier corresponding to the first serial number in the database, and find a second identifier corresponding to the second serial number; and the second module is configured to connect the first identifier The free channel of the symbol and the channel of the media resource module with the second identifier.
  • the background is further configured to provide a second interface for receiving the original number input by the user and transmitting the original number to the control module, the control module is configured to transmit the original number to the media resource module, the media resource module sends the original number as the media resource, and the control module By comparing whether the original number and the detection signal are the same, to determine whether the media resource is normal.
  • the media resource module has multiple channels, and the switching module is configured to switch the next channel of the media resource module to the idle channel in turn after each detection of the media resource.
  • a media resource detecting method including: a control module opens an idle channel of a VoIP module in a media gateway; and a switching module exchanges a channel of a media resource module in the media gateway.
  • the VoIP module receives the media resource from the media resource module through the idle channel, detects the media resource to obtain the detection signal, and sends a detection signal to the control module; the control module verifies the detection signal.
  • the switching module exchanges the channel of the media resource module in the media gateway to the idle channel, including: a background providing interface, receiving, by the interface, a first serial number corresponding to the idle channel and a second serial number corresponding to the channel of the media resource module input by the user
  • the switching module exchanges the channel of the media resource module in the media gateway to the idle channel by using the first serial number and the second serial number.
  • the switching module exchanges the channel of the media resource module in the media gateway to the idle channel by using the first serial number and the second serial number, including: searching, in the database, the first identifier corresponding to the first serial number, searching and the second serial number Corresponding second identifier; connecting a free channel having the first identifier and a channel of the media resource module having the second identifier.
  • the verification signal of the VoIP module includes: providing a second interface in the background, receiving the original number input by the user through the second interface, and transmitting the original number to the control module; the control module transmitting the original number to the media resource module; the media resource module uses the original number as The media resource is sent out; the control module determines whether the media resource is normal by comparing whether the original number is the same as the detection signal.
  • the media resource module has multiple channels, and the channel of the media resource module in the media gateway is switched to the idle channel. After each detecting the media resource, the next channel of the media resource module is sequentially switched to the idle channel.
  • the invention uses the existing VoIP module in the media gateway to detect the media resource, so the related technology needs to detect the DSP media resource by using the external device, which affects the operation of the existing network service, thereby achieving the uninterrupted network service. There is no need for physical operations to achieve the effect of media resource detection.
  • FIG. 2 is a schematic structural diagram of a media gateway according to a basic embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a media gateway according to a preferred embodiment of the present invention
  • 4 is a flowchart of a method for detecting a media resource according to an embodiment of the present invention
  • FIG. 5 is a flowchart of a method for detecting a media resource according to a preferred embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of a media gateway 100 according to a basic embodiment of the present invention, including: a control module 2 configured to open an idle channel of the VoIP module 6 in the media gateway 100, and verify a detection signal of the VoIP module 6; And being configured to exchange the channel of the media resource module 4 in the media gateway 100 to the idle channel;
  • the VoIP module 6 is configured to receive the media resource from the media resource module 4 through the idle channel, detect the media resource to obtain the detection signal, and send the detection signal to the control module 2.
  • a module with VoIP function is used, which can pack voice of multiple channels into IP packets and transmit voice over Ethernet.
  • the VoIP processing chip used by the media gateway generally has functions such as frequency processing and voice recording, so it can completely replace the external device to complete various DSP media detection functions.
  • the above technical solution used in the embodiment of the present invention uses a unique resource in the NGN network device to replace the external device, and completes the detection of the media resource, specifically, utilizing the existing functions of the VoIP module 6 in the next generation network to construct a "media resource.
  • the detection process of the embodiment does not need to use an external device, and does not need to disconnect the service of the existing network, so it does not affect the existing network service, improves the performance of the network operation, reduces the difficulty of detecting the media resource in the complex environment, and reduces the manpower. cost.
  • 3 is a block diagram showing the structure of a media gateway in accordance with a preferred embodiment of the present invention.
  • the media gateway device 200 as a whole may include the following three parts: a background 1, a control module 2, and various functional units 3.
  • the functional unit 3 includes a media resource module 4 (for example, a DSP media resource module), a switching module 5 (for example, a T network switching module), and a VoIP module 6.
  • the background 1 provides a human-machine dialogue interface, and the user can set the serial number of the detection channel and the detected channel and the test data to complete the data configuration function;
  • the control module 2 can include a database management module, a service management module, etc., and mainly completes control of system resources. And management, control and manage the functional units of the system by receiving and delivering the serial number and test data set by the background 1; various functional modules mainly perform various specific functions.
  • the related data is configured in the background 1 and then transmitted to the foreground, and saved to the control module 2.
  • the control module 2 transmits the corresponding configuration information to the specifically implemented functional unit 3, and the functional unit 3 operates the hardware to perform the corresponding functional operation.
  • the background 1 is configured to provide a first interface, configured to receive a first serial number corresponding to the idle channel and a second serial number corresponding to the channel of the media resource module input by the user; the switching module passes the first serial number and the first serial number The second serial number exchanges the channel of the media resource module in the media gateway to the idle channel.
  • the user can determine the idle channel to use without affecting existing network services.
  • the switching module 5 includes: a first module configured to: search a database for a first identifier corresponding to the first serial number, and find a second identifier corresponding to the second serial number; and the second module is configured to connect A free channel having a first identifier and a channel of a media resource module having a second identifier. ⁇ Use the identifier to represent the channel, which improves the efficiency of establishing the channel.
  • the background 1 is further configured to provide a second interface for receiving the original number input by the user and transmitting the original number to the control module, the control module is configured to transmit the original number to the media resource module, and the media resource module sends the original number as the media resource.
  • control module determines whether the media resource is normal by comparing whether the original number is the same as the detection signal. This embodiment does not require manual judgment of the detection result, which reduces labor costs.
  • the media resource module has multiple channels, and the switching module 5 is arranged to switch the next channel of the media resource module to the idle channel in turn after each detection of the media resource.
  • Step S402 A control module opens an idle channel of a VoIP module in a media gateway; Step S404, a switching module uses a channel of a media resource module in a media gateway Switching to the idle channel; Step S406, the VoIP module receives the media resource from the media resource module through the idle channel, detects the media resource to obtain the detection signal, and sends a detection signal to the control module; Step S408, the control module verifies the detection signal.
  • the embodiment of the present invention uses the idle channel of the existing VoIP module to exchange the media resource into the idle channel to complete the detection process, and the method does not need to disconnect the service of the existing network, and thus does not Will have an impact on network operations.
  • this method does not need to install a specific external device for detecting media resources, which reduces the difficulty in detecting media resources or locating faults in a complex environment.
  • labor costs are saved because no manual judgment is required.
  • the step S404 includes: providing an interface in the background, receiving, by the interface, a first serial number corresponding to the idle channel and a second serial number corresponding to the channel of the media resource module; the switching module passes the first serial number and the second The serial number switches the channel of the media resource module in the media gateway to the free channel.
  • the user can determine the idle channel to use without affecting existing network services.
  • the switching module exchanges the channel of the media resource module in the media gateway to the idle channel by using the first serial number and the second serial number, including: searching, in the database, the first identifier corresponding to the first serial number, searching and a second identifier corresponding to the second serial number; a channel connecting the idle channel having the first identifier and the media resource module having the second identifier. ⁇ Use the identifier to represent the channel, which improves the efficiency of establishing the channel.
  • step S408 includes: providing a second interface in the background, receiving the original number input by the user through the second interface, and transmitting the original number to the control module; the control module transmitting the original number to the media resource module; and the media resource module using the original number as the media resource Is issued; the control module determines whether the media resource is normal by comparing whether the original number and the detection signal are the same.
  • the media resource module has multiple channels, and the channel of the media resource module in the media gateway is switched to the idle channel, including: after each detecting the media resource, sequentially switching the next channel of the media resource module to idle. aisle.
  • Step A In the background database Configure the VoIP module channel, that is, find an idle VoIP channel as the detection channel in the background database interface, and enter the channel serial number on the interface.
  • Step B Enter the MFC DSP resource channel to be detected and the number group to be sent in the background interface. It can be one channel or multiple consecutive channels.
  • Step C In the background database Configure the VoIP module channel, that is, find an idle VoIP channel as the detection channel in the background database interface, and enter the channel serial number on the interface.
  • Step B Enter the MFC DSP resource channel to be detected and the number group to be sent in the background interface. It can be one channel or multiple consecutive channels.
  • the functional unit 3 opens the idle channel of the VoIP module in the media gateway, and exchanges the media resource channel to be detected into the channel of the VoIP module 6 through the switching module 5 in the media gateway.
  • the background operator selects any idle channel in the VoIP module, and the control module opens the channel and performs initialization processing at the same time.
  • the data is sent from the background to the foreground control module, and the foreground control module needs to send the corresponding data to the corresponding modules.
  • the control module sends the command to the subordinate. 3 modules.
  • the VoIP module should send a message such as initializing and opening the corresponding channel.
  • connection message is sent; the media resource module should send a message to test the channel to send data, and if there is internal connection, it should be issued.
  • the continuation message; the final control module also calculates the serial number distribution of the test channel and the tested channel on the switch module, and then sends a connection message to the switch module, and the data sent by the media resource channel enters the VoIP module for processing, this embodiment
  • the media resource has been transmitted to the VoIP module 6 of the designated channel through the switching module, and the VoIP module 6 receives the media resource from the media resource module 4 through the idle channel. If the VoIP module 6 converts and records the audio data for the audio resource, the file is used.
  • the mode outputs the sound format that can be played on the PC, and is used by the maintenance personnel to judge the abnormality. If the media resource is issued, the judgment result display interface of the media resource can be automatically given by the upper program control mode.
  • Step D After all the media resource channel tests are completed, the detection result of each channel output by the VoIP module is automatically compared with the original sending number group after being uploaded to the background interface by the control module to obtain a final detection result.
  • the operations of step A and step B can be performed by the upper layer control module sending a message to manipulate the underlying hardware.
  • the processing of step C may also include other media resource detection such as CID.
  • the present invention achieves the following technical effects: Compared with the prior art, the method for detecting a media resource utilizes some resources inherent in the NGN device, without affecting the existing network without using external devices. The service, when physical operations are not required, completes the detection of the media resources. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices.
  • the computing device may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or they may be Multiple modules or steps are made into a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the media resources include audio, CID, conference, etc., without departing from the spirit and essence of the present invention, those skilled in the art can make various corresponding according to the present invention. Changes and modifications are intended to be included within the scope of the appended claims.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a media gateway including: a control module, for opening an idle channel of a Voice over Internet Protocol (VoIP) module in the media gateway and verifying detection signals of the VoIP module; an exchange module, for exchanging a channel of a media resource module in the media gateway to the idle channel; a VoIP module, for receiving media resources from the media resource module through the idle channel, detecting the media resources to obtain the detection signals and transmitting the detection signals to the control module. The present invention also provides a media resource detection method. The present invention solves the problem in related technologies of the influence on current network service operation due to the necessary of the detection of Digital Signal Processor (DSP) media resources through an outer device, and thus makes effects of neither interrupting the current network services nor needing a physical operation to realize the media resource detection.

Description

媒体网关及媒体资源检测方法 技术领域 本发明涉及下一代通信网络领域, 具体而言, 涉及一种媒体网关及媒体资 源检测方法。 背景技术 下一代通信网络( Next Generation Network,简称 NGN )是一种以 IP( Internet Protocol )为核心、 支持多媒体业务、 智能的、 融合的、 可管理可运营的全业务 网络。 下一代网络釆用承载与控制相分离的架构, 结合 IP网络的开放性和传统 通信网络的可控性, 提供一种网络间融合的统一架构, 并为客户提供具有服务 质量 (QoS , Quality of Service ) 保障的多媒体业务。 媒体网关 ( Media Gateway , 简称为 MG ) 作为 NGN的一部分, 主要负责 媒体资源的控制和管理以及 PSTN ( Public Switched Telephone Network , 公共 交换电话网络 ) 通过中继线接入 IP核心网, 完成 PSTN中继侧的语音 /传真与 IP 网侧语音 /传真的转换等功能。 其中媒体资源功能包括语音播放、 MFC/DTMF/MF收发号、 CID ( Calling Index Display, 主叫号码显示;)、会议等。 这些功能主要依靠数字信号处理器 ( Digital Signal Processor, 简称为 DSP )对 频率信号的分析处理实现, 并且在多通道处理后能同时对多个时隙即话路进行 媒体资源功能。 但当用户察觉媒体功能异常时 (如播报语音失真或收发号错误 等)或对媒体资源进行自检时, 维护人员一般会在媒体资源的源头进行媒体功 能检测。 图 1是根据相关技术的媒体网关的结构示意图。 由图可知, 在传统的 方法中,要对媒体资源单元 4的各个通道进行测试, 需要走"媒体资源模块—— 中继模块 外接测试仪"的路。 如图 1 所示的媒体网关的使用的方法步骤如 下: 步骤 A. 后台 1提供人机对话界面输入需要进行检测的媒体资源, 中继模 块 7断开现网的业务, 并在中继模块 7的中继线中接入能处理媒体功能的特殊 设备, 即外界测试仪 8 (比如具有频率分析功能或录音功能); 步骤 B.控制模块 2通过控制媒体网关中的交换模块 5把待检测的 DSP媒 体资源模块 4的通道交换到中继模块 7对应的通道中; 步骤 C. 通过步骤 B的操作, 媒体资源已经通过中继模块 7传到了能处理 媒体功能的外界测试仪 8中, 此时, 维护人员可以在该设备上读取特定通道上 的媒体资源信息, 而对该媒体资源通道异常与否进行判断。 这种传统的方法检测媒体资源在 PSTN网络中是必须的, 但其存在一些不 便。 在检测媒体资源的过程中, 需要断开现网的业务 (至少需要暂时断开), 这会对网络运营带来一定的影响。 同时这种方法来检测媒体资源还需要在特定 的位置 (中继线附近)安装特定的设备, 这在环境复杂的现场检测媒体资源或 定位故障将带来困难。 并且无论在检测何种媒体资源, 这种方法的最后阶段都 需要进行人工判断。 针对相关技术需要借助外部设备对 DSP媒体资源进行检测,导致影响现网 业务运营的问题, 目前尚未提出有效的解决方案。 发明内容 针对相关技术需要借助外部设备对 DSP媒体资源进行检测,导致影响现网 业务运营的问题而提出本发明, 为此, 本发明的主要目的在于提供一种媒体网 关及媒体资源检测方法, 以解决上述问题。 为了实现上述目的, 根据本发明的一个方面, 提供了一种媒体网关, 包括: 控制模块,设置为打开媒体网关中的 VoIP ( Voice over IP, 简称为 IP语音传输) 模块的空闲通道, 校验 VoIP模块的检测信号; 交换模块, 设置为将媒体网关 中的媒体资源模块的通道交换到空闲通道; VoIP模块, 设置为通过空闲通道接 收来自媒体资源模块的媒体资源, 检测媒体资源得到检测信号, 并向控制模块 发送检测信号。 媒体网关还包括: 后台, 设置为提供第一界面, 用于接收用户输入的对应 于空闲通道的第一序列号和对应于媒体资源模块的通道的第二序列号; 交换模 块通过第一序列号和第二序列号将媒体网关中的媒体资源模块的通道交换到 空闲通道。 交换模块包括: 第一模块, 设置为在数据库中查找与第一序列号对应的第 一标识符, 查找与第二序列号对应的第二标识符; 第二模块, 设置为连接具有 第一标识符的空闲通道和具有第二标识符的媒体资源模块的通道。 后台还设置为提供第二界面, 用于接收用户输入的原始号码并传送给控制 模块, 控制模块用于将原始号码传送给媒体资源模块, 媒体资源模块将原始号 码作为媒体资源发出, 以及控制模块通过比较原始号码与检测信号是否相同, 以确定媒体资源是否正常。 媒体资源模块具有多个通道, 交换模块设置为在每次检测媒体资源之后, 依次将媒体资源模块的下一个通道交换到空闲通道。 为了实现上述目的, 根据本发明的另一方面, 提供了一种媒体资源检测方 法, 包括: 控制模块打开媒体网关中的 VoIP模块的空闲通道; 交换模块将媒 体网关中的媒体资源模块的通道交换到空闲通道; VoIP模块通过空闲通道接收 来自媒体资源模块的媒体资源, 检测媒体资源得到检测信号, 并向控制模块发 送检测信号; 控制模块校验检测信号。 交换模块将媒体网关中的媒体资源模块的通道交换到空闲通道包括: 后台 提供界面, 通过界面接收用户输入的对应于空闲通道的第一序列号和对应于媒 体资源模块的通道的第二序列号; 交换模块通过第一序列号和第二序列号将媒 体网关中的媒体资源模块的通道交换到空闲通道。 交换模块通过第一序列号和第二序列号将媒体网关中的媒体资源模块的 通道交换到空闲通道包括: 在数据库中查找与第一序列号对应的第一标识符, 查找与第二序列号对应的第二标识符; 连接具有第一标识符的空闲通道和具有 第二标识符的媒体资源模块的通道。 校验 VoIP模块的检测信号包括: 后台提供第二界面, 通过第二界面接收 用户输入的原始号码, 并传送给控制模块; 控制模块将原始号码传送给媒体资 源模块; 媒体资源模块将原始号码作为媒体资源发出; 控制模块通过比较原始 号码与检测信号是否相同, 以确定媒体资源是否正常。 媒体资源模块具有多个通道, 将媒体网关中的媒体资源模块的通道交换到 空闲通道包括: 在每次检测媒体资源之后, 依次将媒体资源模块的下一个通道 交换到空闲通道。 本发明釆用媒体网关中已有的 VoIP模块来检测媒体资源, 所以解决了相 关技术需要借助外部设备对 DSP媒体资源进行检测,导致影响现网业务运营的 问题,进而达到了不中断现网业务,不需要物理操作实现媒体资源检测的效果。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不 当限定。 在附图中: 图 1是根据相关技术的媒体网关的结构示意图; 图 2是根据本发明基本实施例的媒体网关的结构示意图; 图 3是根据本发明优选实施例的媒体网关的结构示意图; 图 4是根据本发明实施例的媒体资源检测方法的流程图; 图 5是根据本发明优选实施例的媒体资源检测方法的流程图。 具体实施方式 需要说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中的特征 可以相互组合。 下面将参考附图并结合实施例来详细说明本发明。 图 2是根据本发明基本实施例的媒体网关 100的结构示意图, 包括: 控制模块 2 , 设置为打开媒体网关 100中的 VoIP模块 6的空闲通道, 校验 VoIP模块 6的检测信号; 交换模块 5, 设置为将媒体网关 100中的媒体资源模块 4的通道交换到空 闲通道; TECHNICAL FIELD The present invention relates to the field of next generation communication networks, and in particular to a media gateway and a media resource detecting method. BACKGROUND OF THE INVENTION Next Generation Network (NGN) is a full-service network that supports IP services, intelligent, converged, manageable and operable, with IP (Internet Protocol) as the core. The next-generation network uses a separate architecture of bearer and control. Combined with the openness of IP networks and the controllability of traditional communication networks, it provides a unified architecture for inter-network convergence and provides customers with quality of service (QoS, Quality of Service) Guaranteed multimedia services. As a part of the NGN, the Media Gateway (MG) is mainly responsible for the control and management of media resources and the PSTN (Public Switched Telephone Network) to access the IP core network through trunks to complete the PSTN trunk side. Voice/fax and IP network side voice/fax conversion. The media resource functions include voice playback, MFC/DTMF/MF transceiving number, CID (Calling Index Display), and conferences. These functions mainly rely on the digital signal processor (DSP) for the analysis and processing of frequency signals, and can perform media resource functions for multiple time slots, ie, voice channels, simultaneously after multi-channel processing. However, when the user perceives that the media function is abnormal (such as broadcast voice distortion or error in sending and receiving errors) or self-checking the media resources, the maintenance personnel generally perform media function detection at the source of the media resource. FIG. 1 is a schematic structural diagram of a media gateway according to the related art. As can be seen from the figure, in the conventional method, to test each channel of the media resource unit 4, it is necessary to take the path of "media resource module - relay module external tester". The method of using the media gateway shown in FIG. 1 is as follows: Step A. The background 1 provides a human-machine dialog interface to input the media resource that needs to be detected, and the relay module 7 disconnects the service of the existing network, and the relay module 7 A special device capable of processing media functions, that is, an external tester 8 (such as a frequency analysis function or a recording function) is connected to the trunk; Step B. The control module 2 controls the DSP media to be detected by controlling the switching module 5 in the media gateway. The channel of the resource module 4 is switched to the channel corresponding to the relay module 7; Step C. Through the operation of step B, the media resource has been transmitted to the external tester 8 capable of processing the media function through the relay module 7. At this time, the maintenance personnel can read the media resource information on the specific channel on the device. And judge whether the media resource channel is abnormal or not. This traditional method of detecting media resources is necessary in the PSTN network, but it is somewhat inconvenient. In the process of detecting media resources, you need to disconnect the services of the existing network (at least temporarily disconnected), which will have certain impact on network operations. At the same time, this method to detect media resources also requires the installation of specific devices at specific locations (near the trunk), which can be difficult to detect media resources or locate faults in a complex environment. And no matter what media resources are being tested, the final stage of this method requires manual judgment. In view of the related technology, it is necessary to use external devices to detect DSP media resources, which affects the operation of the existing network services. Currently, no effective solution has been proposed. SUMMARY OF THE INVENTION The present invention is directed to the problem that the related art needs to detect the DSP media resources by using an external device, which affects the operation of the existing network service. To this end, the main purpose of the present invention is to provide a media gateway and a media resource detecting method, Solve the above problem. In order to achieve the above object, according to an aspect of the present invention, a media gateway is provided, including: a control module, configured to open an idle channel of a VoIP (voice over IP) module in a media gateway, and verify a detection signal of the VoIP module; the switching module is configured to exchange the channel of the media resource module in the media gateway to the idle channel; the VoIP module is configured to receive the media resource from the media resource module through the idle channel, and detect the media resource to obtain the detection signal, And send a detection signal to the control module. The media gateway further includes: a background, configured to provide a first interface, configured to receive a first serial number corresponding to the idle channel and a second serial number corresponding to the channel of the media resource module input by the user; and the switching module passes the first serial number And the second serial number exchanges the channel of the media resource module in the media gateway to the idle channel. The switching module includes: a first module, configured to: search a first identifier corresponding to the first serial number in the database, and find a second identifier corresponding to the second serial number; and the second module is configured to connect the first identifier The free channel of the symbol and the channel of the media resource module with the second identifier. The background is further configured to provide a second interface for receiving the original number input by the user and transmitting the original number to the control module, the control module is configured to transmit the original number to the media resource module, the media resource module sends the original number as the media resource, and the control module By comparing whether the original number and the detection signal are the same, to determine whether the media resource is normal. The media resource module has multiple channels, and the switching module is configured to switch the next channel of the media resource module to the idle channel in turn after each detection of the media resource. In order to achieve the above object, according to another aspect of the present invention, a media resource detecting method is provided, including: a control module opens an idle channel of a VoIP module in a media gateway; and a switching module exchanges a channel of a media resource module in the media gateway The VoIP module receives the media resource from the media resource module through the idle channel, detects the media resource to obtain the detection signal, and sends a detection signal to the control module; the control module verifies the detection signal. The switching module exchanges the channel of the media resource module in the media gateway to the idle channel, including: a background providing interface, receiving, by the interface, a first serial number corresponding to the idle channel and a second serial number corresponding to the channel of the media resource module input by the user The switching module exchanges the channel of the media resource module in the media gateway to the idle channel by using the first serial number and the second serial number. The switching module exchanges the channel of the media resource module in the media gateway to the idle channel by using the first serial number and the second serial number, including: searching, in the database, the first identifier corresponding to the first serial number, searching and the second serial number Corresponding second identifier; connecting a free channel having the first identifier and a channel of the media resource module having the second identifier. The verification signal of the VoIP module includes: providing a second interface in the background, receiving the original number input by the user through the second interface, and transmitting the original number to the control module; the control module transmitting the original number to the media resource module; the media resource module uses the original number as The media resource is sent out; the control module determines whether the media resource is normal by comparing whether the original number is the same as the detection signal. The media resource module has multiple channels, and the channel of the media resource module in the media gateway is switched to the idle channel. After each detecting the media resource, the next channel of the media resource module is sequentially switched to the idle channel. The invention uses the existing VoIP module in the media gateway to detect the media resource, so the related technology needs to detect the DSP media resource by using the external device, which affects the operation of the existing network service, thereby achieving the uninterrupted network service. There is no need for physical operations to achieve the effect of media resource detection. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 1 is a schematic structural diagram of a media gateway according to a related art; FIG. 2 is a schematic structural diagram of a media gateway according to a basic embodiment of the present invention; FIG. 3 is a schematic structural diagram of a media gateway according to a preferred embodiment of the present invention; 4 is a flowchart of a method for detecting a media resource according to an embodiment of the present invention. FIG. 5 is a flowchart of a method for detecting a media resource according to a preferred embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. 2 is a schematic structural diagram of a media gateway 100 according to a basic embodiment of the present invention, including: a control module 2 configured to open an idle channel of the VoIP module 6 in the media gateway 100, and verify a detection signal of the VoIP module 6; And being configured to exchange the channel of the media resource module 4 in the media gateway 100 to the idle channel;
VoIP模块 6, 设置为通过空闲通道接收来自媒体资源模块 4的媒体资源, 检测媒体资源得到检测信号, 并向控制模块 2发送检测信号。 本实施例中釆用了有 VoIP 功能的模块, 这种模块能把多个通道的语音打 包成 IP包而使语音在以太网上传输。 同时, 媒体网关使用的 VoIP处理芯片一 般都带有频率处理及语音记录等功能, 因此完全可以替代外部的设备完成各种 DSP媒体检测的功能。 本发明实施例釆用的上述技术方案利用 NGN 网络设备中特有的资源来替 代外接的设备, 完成媒体资源的检测, 具体的是利用下一代网络中 VoIP模块 6 现有的功能, 构建"媒体资源模块 4—— VoIP模块 6"路径来完成媒体资源的检 测。 该实施例的检测过程不用借助外部设备, 由于不需要断开现网的业务故不 对现网业务造成影响, 提高了网络运营的工作性能, 降低复杂环境下检测媒体 资源的困难, 并且降低了人力成本。 图 3是根据本发明优选实施例的媒体网关的结构示意图。媒体网关设备 200 整体可以包括以下三部分: 后台 1、 控制模块 2、 各种功能单元 3。 其中, 功能 单元 3 包括媒体资源模块 4 (例如 DSP媒体资源模块)、 交换模块 5 (例如 T 网交换模块) 和 VoIP模块 6。 后台 1提供人机对话界面, 用户可以设置检测通道和被检测通道的序列号 以及测试数据以完成数据配置功能; 控制模块 2可以包括数据库管理模块、 业 务管理模块等, 主要完成对系统资源的控制和管理, 通过接收并下发后台 1设 置的序列号和测试数据对系统的功能单元进行控制和管理; 各种功能模块主要 完成各种特定的功能。 该实施例通过后台 1配置相关的数据后传送到前台, 保 存到控制模块 2 , 控制模块 2把相应的配置信息传送到具体实施的功能单元 3 , 由功能单元 3操作硬件完成相应的功能操作。 优选地, 后台 1设置为提供第一界面, 用于接收用户输入的对应于空闲通 道的第一序列号和对应于媒体资源模块的通道的第二序列号; 交换模块通过第 一序列号和第二序列号将媒体网关中的媒体资源模块的通道交换到空闲通道。 通过提供交互功能, 可以由用户确定要使用的空闲通道, 不影响已有的网络业 务。 优选地, 交换模块 5包括: 第一模块, 设置为在数据库中查找与第一序列 号对应的第一标识符, 查找与第二序列号对应的第二标识符; 第二模块, 设置 为连接具有第一标识符的空闲通道和具有第二标识符的媒体资源模块的通道。 釆用标识符表示通道, 提高了建立通道的效率。 优选地, 后台 1还设置为提供第二界面, 用于接收用户输入的原始号码并 传送给控制模块, 控制模块用于将原始号码传送给媒体资源模块, 媒体资源模 块将原始号码作为媒体资源发出, 以及控制模块通过比较原始号码与检测信号 是否相同, 以确定媒体资源是否正常。该实施例不需要人工进行判断检测结果, 降低了人力成本。 优选地, 媒体资源模块具有多个通道, 交换模块 5设置为在每次检测媒体 资源之后, 依次将媒体资源模块的下一个通道交换到空闲通道。 图 4是根据本发明实施例的媒体资源检测方法的流程图, 包括: 步骤 S402, 控制模块打开媒体网关中的 VoIP模块的空闲通道; 步骤 S404, 交换模块将媒体网关中的媒体资源模块的通道交换到空闲通 道; 步骤 S406, VoIP模块通过空闲通道接收来自媒体资源模块的媒体资源, 检测媒体资源得到检测信号, 并向控制模块发送检测信号; 步骤 S408 , 控制模块校验检测信号。 本发明实施例在检测媒体资源的过程中, 通过利用系统已有的 VoIP模块 的空闲通道, 将媒体资源交换到该空闲通道中完成检测过程, 该方法不需要断 开现网的业务, 因而不会对网络运营带来影响。 同时这种方法不需要安装特定 的外置设备进行媒体资源的检测, 降低了在环境复杂的现场检测媒体资源或定 位故障带来困难。 同时由于不需要人工判断检测结果节省了人力成本。 优选地, 步骤 S404 包括: 后台提供界面, 通过界面接收用户输入的对应 于空闲通道的第一序列号和对应于媒体资源模块的通道的第二序列号; 交换模 块通过第一序列号和第二序列号将媒体网关中的媒体资源模块的通道交换到 空闲通道。 通过提供交互功能, 可以由用户确定要使用的空闲通道, 不影响已 有的网络业务。 优选地, 交换模块通过第一序列号和第二序列号将媒体网关中的媒体资源 模块的通道交换到空闲通道包括: 在数据库中查找与第一序列号对应的第一标 识符, 查找与第二序列号对应的第二标识符; 连接具有第一标识符的空闲通道 和具有第二标识符的媒体资源模块的通道。 釆用标识符表示通道, 提高了建立 通道的效率。 优选地, 步骤 S408 包括: 后台提供第二界面, 通过第二界面接收用户输 入的原始号码,并传送给控制模块;控制模块将原始号码传送给媒体资源模块; 媒体资源模块将原始号码作为媒体资源发出; 控制模块通过比较原始号码与检 测信号是否相同, 以确定媒体资源是否正常。 该实施例不需要人工进行判断检 测结果, 降低了人力成本。 其中本实施例中, 媒体资源模块具有多个通道, 将媒体网关中的媒体资源 模块的通道交换到空闲通道包括: 在每次检测媒体资源之后, 依次将媒体资源 模块的下一个通道交换到空闲通道。 图 5是根据本发明优选实施例的媒体资源检测方法的流程图。如图 5所示, 具体完成过程以 MFC发号 DSP资源检测为例, 结合图 3和图 5 , 在下一代网 络中实现媒体资源检测的具体方法的步 4聚如下: 步骤 A. 在后台数据库配置 VoIP模块通道, 即在后台数据库界面找一空 闲的 VoIP通道作为检测通道, 在界面上输入该通道序列号。 步骤 B. 在后台界面输入要检测的 MFC DSP资源通道及需发送的号码组, 可以为一个通道, 也可以为连续多个通道。 步骤 C. 功能单元 3在后台 1 完成数据配置之后打开媒体网关中的 VoIP 模块的空闲通道, 并通过媒体网关中的交换模块 5把待检测的媒体资源通道交 换到 VoIP模块 6的通道中。 本实施例中后台操作人员选择 VoIP模块中任一空 闲通道, 由控制模块打开该通道, 同时作初始化处理。 本实施例中在测试通道和被测试通道都确定后, 数据从后台传入前台控制 模块, 前台控制模块需要把对应数据下发到对应的各个模块, 本实施例中控制 模块下发指令到下属的 3个模块。 其中, 对 VoIP模块应该下发对应通道初始 化及打开等消息, 如果模块内部有接续则在下发接续消息; 对媒体资源模块应 该下发需测试通道发送数据的消息, 如果有内部接续也应下发接续消息; 最后 控制模块还要计算出测试通道和被测试通道在交换模块上序列号分布, 然后对 交换模块下发接续消息, 此时媒体资源通道发送的数据则进入 VoIP模块处理, 本实施例中媒体资源已经通过交换模块传到了指定通道的 VoIP模块 6中, VoIP 模块 6通过空闲通道接收来自媒体资源模块 4的媒体资源, 如果对于音资源, VoIP模块 6通过转换和记录音数据, 使用文件的方式输出能在 PC机上播放的 音格式, 供维护人员判断异常, 如果为发号媒体资源, 则可以通过上层程序控 制的方式自动给出媒体资源的判断结果显示界面。 步骤 D. 当所有媒体资源通道测试完成后, VoIP模块输出各个通道的检测 结果通过控制模块上传到后台界面后自动与原始发送号码组比较得出最终检 测结果。 优选地,步骤 A和步骤 B的操作可以通过上层控制模块发送消息操纵底层 硬件完成。 步骤 C的处理也可以包括 CID等其他媒体资源检测。 从以上的描述中, 可以看出, 本发明实现了如下技术效果: 与现有技术相 比较, 这种媒体资源的检测方法利用 NGN设备固有的一些资源, 在不借助外 部设备, 不影响现网业务, 不需要物理操作的同时, 完成了媒体资源的检测。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以 用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多 个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码 来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 或者将它们 分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制作成单个集 成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软件结合。 当然本发明还有其他多种实施例, 并且媒体资源包括音、 CID、 会议等, 在不违背本发明精神及实质的情况下, 熟悉本领域的技术人员当可根据本发明 做出各种相应的改变和变形, 但这些改变和变形都应属于本发明所附的权利要 求的保护范围。 The VoIP module 6 is configured to receive the media resource from the media resource module 4 through the idle channel, detect the media resource to obtain the detection signal, and send the detection signal to the control module 2. In this embodiment, a module with VoIP function is used, which can pack voice of multiple channels into IP packets and transmit voice over Ethernet. At the same time, the VoIP processing chip used by the media gateway generally has functions such as frequency processing and voice recording, so it can completely replace the external device to complete various DSP media detection functions. The above technical solution used in the embodiment of the present invention uses a unique resource in the NGN network device to replace the external device, and completes the detection of the media resource, specifically, utilizing the existing functions of the VoIP module 6 in the next generation network to construct a "media resource. Module 4 - VoIP Module 6" path to complete the inspection of media resources Measurement. The detection process of the embodiment does not need to use an external device, and does not need to disconnect the service of the existing network, so it does not affect the existing network service, improves the performance of the network operation, reduces the difficulty of detecting the media resource in the complex environment, and reduces the manpower. cost. 3 is a block diagram showing the structure of a media gateway in accordance with a preferred embodiment of the present invention. The media gateway device 200 as a whole may include the following three parts: a background 1, a control module 2, and various functional units 3. The functional unit 3 includes a media resource module 4 (for example, a DSP media resource module), a switching module 5 (for example, a T network switching module), and a VoIP module 6. The background 1 provides a human-machine dialogue interface, and the user can set the serial number of the detection channel and the detected channel and the test data to complete the data configuration function; the control module 2 can include a database management module, a service management module, etc., and mainly completes control of system resources. And management, control and manage the functional units of the system by receiving and delivering the serial number and test data set by the background 1; various functional modules mainly perform various specific functions. In this embodiment, the related data is configured in the background 1 and then transmitted to the foreground, and saved to the control module 2. The control module 2 transmits the corresponding configuration information to the specifically implemented functional unit 3, and the functional unit 3 operates the hardware to perform the corresponding functional operation. Preferably, the background 1 is configured to provide a first interface, configured to receive a first serial number corresponding to the idle channel and a second serial number corresponding to the channel of the media resource module input by the user; the switching module passes the first serial number and the first serial number The second serial number exchanges the channel of the media resource module in the media gateway to the idle channel. By providing interactive functions, the user can determine the idle channel to use without affecting existing network services. Preferably, the switching module 5 includes: a first module configured to: search a database for a first identifier corresponding to the first serial number, and find a second identifier corresponding to the second serial number; and the second module is configured to connect A free channel having a first identifier and a channel of a media resource module having a second identifier.标识符Use the identifier to represent the channel, which improves the efficiency of establishing the channel. Preferably, the background 1 is further configured to provide a second interface for receiving the original number input by the user and transmitting the original number to the control module, the control module is configured to transmit the original number to the media resource module, and the media resource module sends the original number as the media resource. And the control module determines whether the media resource is normal by comparing whether the original number is the same as the detection signal. This embodiment does not require manual judgment of the detection result, which reduces labor costs. Preferably, the media resource module has multiple channels, and the switching module 5 is arranged to switch the next channel of the media resource module to the idle channel in turn after each detection of the media resource. 4 is a flowchart of a method for detecting a media resource according to an embodiment of the present invention, including: Step S402: A control module opens an idle channel of a VoIP module in a media gateway; Step S404, a switching module uses a channel of a media resource module in a media gateway Switching to the idle channel; Step S406, the VoIP module receives the media resource from the media resource module through the idle channel, detects the media resource to obtain the detection signal, and sends a detection signal to the control module; Step S408, the control module verifies the detection signal. In the process of detecting the media resource, the embodiment of the present invention uses the idle channel of the existing VoIP module to exchange the media resource into the idle channel to complete the detection process, and the method does not need to disconnect the service of the existing network, and thus does not Will have an impact on network operations. At the same time, this method does not need to install a specific external device for detecting media resources, which reduces the difficulty in detecting media resources or locating faults in a complex environment. At the same time, labor costs are saved because no manual judgment is required. Preferably, the step S404 includes: providing an interface in the background, receiving, by the interface, a first serial number corresponding to the idle channel and a second serial number corresponding to the channel of the media resource module; the switching module passes the first serial number and the second The serial number switches the channel of the media resource module in the media gateway to the free channel. By providing interactive functions, the user can determine the idle channel to use without affecting existing network services. Preferably, the switching module exchanges the channel of the media resource module in the media gateway to the idle channel by using the first serial number and the second serial number, including: searching, in the database, the first identifier corresponding to the first serial number, searching and a second identifier corresponding to the second serial number; a channel connecting the idle channel having the first identifier and the media resource module having the second identifier.标识符Use the identifier to represent the channel, which improves the efficiency of establishing the channel. Preferably, step S408 includes: providing a second interface in the background, receiving the original number input by the user through the second interface, and transmitting the original number to the control module; the control module transmitting the original number to the media resource module; and the media resource module using the original number as the media resource Is issued; the control module determines whether the media resource is normal by comparing whether the original number and the detection signal are the same. This embodiment does not require manual judgment of the detection result, which reduces labor costs. In this embodiment, the media resource module has multiple channels, and the channel of the media resource module in the media gateway is switched to the idle channel, including: after each detecting the media resource, sequentially switching the next channel of the media resource module to idle. aisle. 5 is a flow chart of a method of detecting a media resource in accordance with a preferred embodiment of the present invention. As shown in FIG. 5, the specific completion process takes the MFC signaling DSP resource detection as an example. Referring to FIG. 3 and FIG. 5, the specific method for implementing the media resource detection in the next generation network is as follows: Step A. In the background database Configure the VoIP module channel, that is, find an idle VoIP channel as the detection channel in the background database interface, and enter the channel serial number on the interface. Step B. Enter the MFC DSP resource channel to be detected and the number group to be sent in the background interface. It can be one channel or multiple consecutive channels. Step C. After the data configuration is completed in the background 1, the functional unit 3 opens the idle channel of the VoIP module in the media gateway, and exchanges the media resource channel to be detected into the channel of the VoIP module 6 through the switching module 5 in the media gateway. In this embodiment, the background operator selects any idle channel in the VoIP module, and the control module opens the channel and performs initialization processing at the same time. In this embodiment, after the test channel and the tested channel are determined, the data is sent from the background to the foreground control module, and the foreground control module needs to send the corresponding data to the corresponding modules. In this embodiment, the control module sends the command to the subordinate. 3 modules. The VoIP module should send a message such as initializing and opening the corresponding channel. If there is a connection inside the module, the connection message is sent; the media resource module should send a message to test the channel to send data, and if there is internal connection, it should be issued. The continuation message; the final control module also calculates the serial number distribution of the test channel and the tested channel on the switch module, and then sends a connection message to the switch module, and the data sent by the media resource channel enters the VoIP module for processing, this embodiment The media resource has been transmitted to the VoIP module 6 of the designated channel through the switching module, and the VoIP module 6 receives the media resource from the media resource module 4 through the idle channel. If the VoIP module 6 converts and records the audio data for the audio resource, the file is used. The mode outputs the sound format that can be played on the PC, and is used by the maintenance personnel to judge the abnormality. If the media resource is issued, the judgment result display interface of the media resource can be automatically given by the upper program control mode. Step D. After all the media resource channel tests are completed, the detection result of each channel output by the VoIP module is automatically compared with the original sending number group after being uploaded to the background interface by the control module to obtain a final detection result. Preferably, the operations of step A and step B can be performed by the upper layer control module sending a message to manipulate the underlying hardware. The processing of step C may also include other media resource detection such as CID. From the above description, it can be seen that the present invention achieves the following technical effects: Compared with the prior art, the method for detecting a media resource utilizes some resources inherent in the NGN device, without affecting the existing network without using external devices. The service, when physical operations are not required, completes the detection of the media resources. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or they may be Multiple modules or steps are made into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. Of course, there are other various embodiments of the present invention, and the media resources include audio, CID, conference, etc., without departing from the spirit and essence of the present invention, those skilled in the art can make various corresponding according to the present invention. Changes and modifications are intended to be included within the scope of the appended claims.

Claims

权 利 要 求 书 Claim
1. 一种媒体网关, 包括: 1. A media gateway, including:
控制模块,设置为打开媒体网关中的 VoIP模块的空闲通道, 校验所 述 VoIP模块的检测信号;  a control module, configured to open an idle channel of the VoIP module in the media gateway, and verify a detection signal of the VoIP module;
交换模块, 设置为将所述媒体网关中的媒体资源模块的通道交换到 所述空闲通道;  a switching module, configured to exchange a channel of the media resource module in the media gateway to the idle channel;
所述 VoIP模块,设置为通过所述空闲通道接收来自所述媒体资源模 块的媒体资源, 检测所述媒体资源得到检测信号, 并向所述控制模块发 送所述检测信号。  The VoIP module is configured to receive media resources from the media resource module through the idle channel, detect the media resource to obtain a detection signal, and send the detection signal to the control module.
2. 根据权利要求 1所述的媒体网关, 其中, 还包括: 后台, 设置为提供第 一界面, 用于接收用户输入的对应于所述空闲通道的第一序列号和对应 于所述媒体资源模块的通道的第二序列号; 所述交换模块通过所述第一 序列号和所述第二序列号将所述媒体网关中的媒体资源模块的通道交换 到所述空闲通道。 The media gateway according to claim 1, further comprising: a background, configured to provide a first interface, configured to receive a first serial number corresponding to the idle channel and corresponding to the media resource input by a user a second serial number of the channel of the module; the switching module exchanges a channel of the media resource module in the media gateway to the idle channel by using the first serial number and the second serial number.
3. 根据权利要求 2所述的媒体网关, 其中, 所述交换模块包括: The media gateway according to claim 2, wherein the switching module comprises:
第一模块, 设置为在数据库中查找与所述第一序列号对应的第一标 识符, 查找与所述第二序列号对应的第二标识符;  a first module, configured to search a first identifier corresponding to the first serial number in a database, and search for a second identifier corresponding to the second serial number;
第二模块, 设置为连接具有所述第一标识符的所述空闲通道和具有 第二标识符的所述媒体资源模块的通道。  And a second module, configured to connect the idle channel having the first identifier and the channel of the media resource module having the second identifier.
4. 根据权利要求 2所述的媒体网关, 其中, 所述后台还设置为提供第二界 面, 用于接收用户输入的原始号码并传送给所述控制模块, 所述控制模 块用于将所述原始号码传送给所述媒体资源模块, 所述媒体资源模块将 所述原始号码作为所述媒体资源发出, 以及所述控制模块通过比较所述 原始号码与所述检测信号是否相同, 以确定所述媒体资源是否正常。 The media gateway according to claim 2, wherein the background is further configured to provide a second interface, configured to receive an original number input by a user and transmit the original number to the control module, where the control module is configured to: The original number is transmitted to the media resource module, the media resource module sends the original number as the media resource, and the control module determines whether the original number is the same as the detection signal to determine the Whether the media resources are normal.
5. 根据权利要求 1所述的媒体网关, 其中, 所述媒体资源模块具有多个所 述通道, 所述交换模块设置为在每次检测所述媒体资源之后,依次将所述 媒体资源模块的下一个所述通道交换到所述空闲通道。 一种媒体资源检测方法, 包括: 控制模块打开媒体网关中的 VoIP模块的空闲通道; The media gateway of claim 1 , wherein the media resource module has a plurality of the channels, and the switching module is configured to sequentially perform the media resource module after each detecting the media resource. The next channel is switched to the free channel. A media resource detecting method includes: the control module opens an idle channel of a VoIP module in a media gateway;
交换模块将所述媒体网关中的媒体资源模块的通道交换到所述空闲 通道;  The switching module exchanges a channel of the media resource module in the media gateway to the idle channel;
所述 VoIP 模块通过所述空闲通道接收来自所述媒体资源模块的媒 体资源, 检测所述媒体资源得到检测信号, 并向所述控制模块发送所述 检测信号;  Receiving, by the VoIP module, the media resource from the media resource module, detecting the media resource to obtain a detection signal, and sending the detection signal to the control module;
所述控制模块校验所述检测信号。 根据权利要求 6所述的方法, 其中, 交换模块将所述媒体网关中的媒体 资源模块的通道交换到所述空闲通道包括:  The control module verifies the detection signal. The method of claim 6, wherein the switching module exchanges the channel of the media resource module in the media gateway to the idle channel comprises:
后台提供界面, 通过所述界面接收用户输入的对应于所述空闲通道 的第一序列号和对应于所述媒体资源模块的通道的第二序列号;  An interface is provided in the background, and the first sequence number corresponding to the idle channel and the second serial number corresponding to the channel of the media resource module input by the user are received through the interface;
所述交换模块通过所述第一序列号和所述第二序列号将所述媒体网 关中的媒体资源模块的通道交换到所述空闲通道。 根据权利要求 7所述的方法, 其中, 所述交换模块通过所述第一序列号 和所述第二序列号将所述媒体网关中的媒体资源模块的通道交换到所述 空闲通道包括:  The switching module exchanges channels of the media resource module in the media gateway to the idle channel by using the first sequence number and the second sequence number. The method according to claim 7, wherein the switching module exchanges the channel of the media resource module in the media gateway to the idle channel by using the first sequence number and the second sequence number, including:
在数据库中查找与所述第一序列号对应的第一标识符, 查找与所述 第二序列号对应的第二标识符;  Finding a first identifier corresponding to the first serial number in a database, and searching for a second identifier corresponding to the second serial number;
连接具有所述第一标识符的所述空闲通道和具有第二标识符的所述 媒体资源模块的通道。 根据权利要求 7所述的方法,其中,校验所述 VoIP模块的检测信号包括: 所述后台提供第二界面, 通过所述第二界面接收用户输入的原始号 码, 并传送给所述控制模块;  A channel having the idle channel of the first identifier and the media resource module having a second identifier is connected. The method of claim 7, wherein the verifying the detection signal of the VoIP module comprises: providing a second interface in the background, receiving an original number input by a user through the second interface, and transmitting the original number to the control module ;
所述控制模块将所述原始号码传送给所述媒体资源模块;  The control module transmits the original number to the media resource module;
所述媒体资源模块将所述原始号码作为所述媒体资源发出; 所述控制模块通过比较所述原始号码与所述检测信号是否相同, 以 确定所述媒体资源是否正常。 The media resource module sends the original number as the media resource; the control module determines whether the media resource is normal by comparing whether the original number is the same as the detection signal.
0. 根据权利要求 6所述的方法, 其中, 所述媒体资源模块具有多个所述通 道,将所述媒体网关中的媒体资源模块的通道交换到所述空闲通道包括: 在每次检测所述媒体资源之后, 依次将所述媒体资源模块的下一个 所述通道交换到所述空闲通道。 0. The method according to claim 6, wherein the media resource module has a plurality of the channels, and the channel of the media resource module in the media gateway is switched to the idle channel, including: After the media resource is described, the next channel of the media resource module is sequentially switched to the idle channel.
PCT/CN2011/076139 2010-07-23 2011-06-22 Media gateway and media resource detection method WO2012010035A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010238050.5 2010-07-23
CN201010238050.5A CN101895443B (en) 2010-07-23 2010-07-23 Media gateway and media resource detection method

Publications (1)

Publication Number Publication Date
WO2012010035A1 true WO2012010035A1 (en) 2012-01-26

Family

ID=43104520

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/076139 WO2012010035A1 (en) 2010-07-23 2011-06-22 Media gateway and media resource detection method

Country Status (2)

Country Link
CN (1) CN101895443B (en)
WO (1) WO2012010035A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895443B (en) * 2010-07-23 2015-08-12 中兴通讯股份有限公司 Media gateway and media resource detection method
CN102546476A (en) * 2010-12-14 2012-07-04 中兴通讯股份有限公司 Media gateway and method for detecting highway resources
CN107493401A (en) * 2016-06-12 2017-12-19 中兴通讯股份有限公司 Line status processing method and processing device
CN110995947B (en) * 2019-11-05 2021-04-20 深圳震有科技股份有限公司 Channel density detection method and device and computer equipment
CN111314563B (en) * 2020-02-24 2022-08-19 深圳震有科技股份有限公司 Method for detecting state of media resource board, storage medium and voice gateway

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020016645A (en) * 2002-01-11 2002-03-04 (주)링스텍 System of internet-phone gateway with containing pstn and voip ciruit
CN1558613A (en) * 2004-02-05 2004-12-29 中兴通讯股份有限公司 Method for self-detecting speech coding/decoding channel conducting capability for media gateway equipment
CN101895443A (en) * 2010-07-23 2010-11-24 中兴通讯股份有限公司 Media gateway and media resource detection method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100499693C (en) * 2006-08-01 2009-06-10 华为技术有限公司 System and method for detecting channels of resources
CN101399768B (en) * 2007-09-30 2011-04-20 华为技术有限公司 Policy control method, device and system
CN101778006B (en) * 2009-01-09 2012-01-25 华为技术有限公司 Method and system for reporting media instant message and a media gateway

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020016645A (en) * 2002-01-11 2002-03-04 (주)링스텍 System of internet-phone gateway with containing pstn and voip ciruit
CN1558613A (en) * 2004-02-05 2004-12-29 中兴通讯股份有限公司 Method for self-detecting speech coding/decoding channel conducting capability for media gateway equipment
CN101895443A (en) * 2010-07-23 2010-11-24 中兴通讯股份有限公司 Media gateway and media resource detection method

Also Published As

Publication number Publication date
CN101895443A (en) 2010-11-24
CN101895443B (en) 2015-08-12

Similar Documents

Publication Publication Date Title
WO2012068980A1 (en) Method and system for positioning fault of abnormal broadcast of unicast programs
EP2014016B1 (en) System and method of remote testing in loopback mode using mgcp/ncs
US20080031143A1 (en) Voice Over Internet Protocol (Voip) Quality Testing Over Hybrid Fiber/Coax (Hfc) Network
WO2012010035A1 (en) Media gateway and media resource detection method
US20040003070A1 (en) Centrally controlled end-to-end service quality monitoring system and method in a distributed environment
CN101001287A (en) Voice server and voice answer method
CN110022307A (en) A kind of control method of monitoring device and monitoring access server
CN109299013A (en) A kind of automatic test approach and device
US7693141B2 (en) Method and system for switching the state of a termination in a media gateway
CN109587002A (en) A kind of condition detection method and system regarding networking monitoring equipment
CN109561072A (en) A kind of chain circuit detecting method and system
CN109587432A (en) A kind of conference speech terminal switching method and system
WO2012000346A1 (en) Method and device for detecting telephone channel fault
US9647907B1 (en) System, method, and computer-readable medium for diagnosing a conference call
EP2640048A1 (en) Passive optical network terminal, system and method for testing subscriber lines
CN102546966B (en) Method and passive optical network terminal used for realizing subscriber line autonomous testing
US8570855B2 (en) Access gateway management system
KR100725853B1 (en) Device and method for testing multiple protocols
CN110061979A (en) A kind of detection method and device of business object
WO2007093116A1 (en) A method and system for realizing the simulating service and the access signaling adaptive entity
CN101145987A (en) A call testing method for specifying media resources in 3G core network
CN109474604A (en) A kind of view networking audio stream processing method and system
CN109698953A (en) A kind of condition detection method and system regarding networking monitoring equipment
CN109889775A (en) A kind of method and apparatus of data timeout treatment
WO2012142813A1 (en) Method and system for playing narrowband service using broadband

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

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

Country of ref document: EP

Kind code of ref document: A1