[go: up one dir, main page]

CN1941819B - Method and system for transmitting speech service in Ethernet - Google Patents

Method and system for transmitting speech service in Ethernet Download PDF

Info

Publication number
CN1941819B
CN1941819B CN2005101080589A CN200510108058A CN1941819B CN 1941819 B CN1941819 B CN 1941819B CN 2005101080589 A CN2005101080589 A CN 2005101080589A CN 200510108058 A CN200510108058 A CN 200510108058A CN 1941819 B CN1941819 B CN 1941819B
Authority
CN
China
Prior art keywords
ethernet
module
pstn
interface
voice data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
CN2005101080589A
Other languages
Chinese (zh)
Other versions
CN1941819A (en
Inventor
高卫东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Gw Technologies Co ltd
Gw Delight Technology Co ltd
Original Assignee
BEIJING GW DELIGHT TECHNOLOGY Co Ltd
GELIN WEIER SCI-TECH DEVELOPMENT Co Ltd BEIJING
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 BEIJING GW DELIGHT TECHNOLOGY Co Ltd, GELIN WEIER SCI-TECH DEVELOPMENT Co Ltd BEIJING filed Critical BEIJING GW DELIGHT TECHNOLOGY Co Ltd
Priority to CN2005101080589A priority Critical patent/CN1941819B/en
Publication of CN1941819A publication Critical patent/CN1941819A/en
Application granted granted Critical
Publication of CN1941819B publication Critical patent/CN1941819B/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明提供了一种话音业务在以太网传输的系统,还提供了TDM话音业务在以太网传输的方法,在客户端向局端传输TDM话音数据时,直接封装在以太网帧中,而不进行压缩处理的传送给局端设备,在局端设备收到后,再从以太网帧中恢复出原来的话音数据、线路信号,传送到PSTN网络。使用本发明,可以实现在基于以太网的宽带接入网中更加直接、简洁的实现话音的传送。

The present invention provides a system for transmitting voice services over Ethernet, and also provides a method for transmitting TDM voice services over Ethernet. When the client transmits TDM voice data to the central office, it is directly encapsulated in the Ethernet frame without Compressed data is sent to the central office equipment. After the central office equipment receives it, it restores the original voice data and line signals from the Ethernet frame and transmits it to the PSTN network. By using the invention, it is possible to realize more direct and concise voice transmission in the Ethernet-based broadband access network.

Description

一种话音业务在以太网传输的方法及系统 A method and system for voice service transmission over Ethernet

技术领域technical field

本发明涉及通信技术领域,特别是指一种话音业务在以太网传输的方法及系统。 The present invention relates to the technical field of communication, in particular to a method and system for transmitting voice services in Ethernet. the

背景技术Background technique

话音业务主要是在公共交换电话网(PSTN)中实现,随着宽带通信的迅速发展,由基于以太网(Ethernet)的宽带分组网作为接入网络实现话音业务已经是一种趋势。 Voice services are mainly implemented in the Public Switched Telephone Network (PSTN). With the rapid development of broadband communications, it is already a trend to use Ethernet-based broadband packet networks as access networks to implement voice services. the

目前,在宽带分组网中实现话音业务的主要方法是VoIP(Voice over IP)方式,它的基本原理是:发送方通过某种话音压缩算法对要发送的话音信号进行压缩编码处理,然后把这些压缩编码后的话音数据按IP等相关协议打包为IP数据包,再经过IP网络将IP数据包传输到接收方,接收方从接收的IP数据包提取出压缩编码后的话音数据后,经过解码解压处理后,恢复成原来的话音信号提供给接收方用户。可以看出来,这种方式是通过IP网络传送话音的。 At present, VoIP (Voice over IP) is the main method for implementing voice services in broadband packet networks. Its basic principle is: the sender compresses and encodes the voice signals to be sent through a certain voice compression algorithm, and then converts these The compressed and encoded voice data is packaged into IP data packets according to IP and other related protocols, and then the IP data packets are transmitted to the receiver through the IP network. After the receiver extracts the compressed and encoded voice data from the received IP data packets, after decoding After decompression processing, the restored original voice signal is provided to the receiver user. It can be seen that this method transmits voice through the IP network. the

对于VoIP方式,由于采用IP层的协议对话音信号进行处理,因此要求在基于IP的网络进行传输,并且为了占用较小的带宽,将话音信号进行了压缩处理。但是,正因如此,也导致了实现VoIP的设备比较复杂、成本高;并且VoIP由于要对话音信号进行压缩,导致话音传输延时较大,难以满足接入网对延时的要求;另外,在与PSTN网络互通时,需要专用的转换设备进行VoIP和PSTN信令的协议转换,使得实现的成本较高。 For the VoIP method, since the voice signal is processed using the IP layer protocol, it is required to be transmitted on an IP-based network, and the voice signal is compressed in order to occupy a smaller bandwidth. However, because of this, the equipment for implementing VoIP is relatively complex and costly; and because VoIP needs to compress the voice signal, the voice transmission delay is relatively large, and it is difficult to meet the delay requirements of the access network; in addition, When intercommunicating with the PSTN network, a dedicated conversion device is required to convert the protocol between VoIP and PSTN signaling, which makes the implementation cost relatively high. the

由宽带分组网中传输话音的另一种方式是将PSTN网使用的E1/T1封装到数据包中进行传输,由E1/T1承载话音业务。但由于E1/T1的速率是固定的,无论承载的话音数据是否有效,都要占用固定的带宽,例如,即使在宽带分组网的接入网中一个站点的用户数可能只有几路,但也需要占用一个完整的E1,导致接入网带宽利用率不高。另外还需要专门的电路实现话路的集中收敛,导致成本上也较高。Another way to transmit the voice in the broadband packet network is to encapsulate the E1/T1 used by the PSTN network into data packets for transmission, and the E1/T1 carries the voice service. However, since the rate of E1/T1 is fixed, no matter whether the carried voice data is valid or not, it will occupy a fixed bandwidth. A complete E1 needs to be occupied, resulting in low bandwidth utilization of the access network. In addition, a special circuit is required to realize the centralized convergence of voice channels, resulting in high cost.

发明内容Contents of the invention

有鉴于此,本发明的主要目的在于提供了一种TDM话音业务在以太网传输的方法及系统,以在基于以太网的宽带接入网中更加直接、简洁的实现话音的传送。 In view of this, the main purpose of the present invention is to provide a method and system for transmitting TDM voice services over Ethernet, so as to realize voice transmission more directly and concisely in an Ethernet-based broadband access network. the

本发明提供的话音业务在以太网传输的系统,包括局端设备和客户端设备,所述局端设备包括局端话音接入模块(101)和局端以太网模块(102),所述客户端设备包括客户端话音接入模块(104)和客户端以太网模块(103),在局端设备根据呼叫协议动态配置PSTN接口的话路和电话接口的对应关系, The voice service provided by the present invention is transmitted in an Ethernet system, including a central office device and a client device, and the central office device includes a central office voice access module (101) and a central office Ethernet module (102), and the client End equipment comprises client voice access module (104) and client ethernet module (103), according to call protocol dynamic configuration PSTN interface call channel and the corresponding relationship of telephone interface at central office equipment,

当下行传输时,局端话音接入模块(101)用于从PSTN接口接收PSTN数据码流,解析出话音数据封装为以太网帧并发送给局端以太网模块(102),该以太网帧源地址、目的地址分别为局端设备的MAC、客户端设备的MAC,还包括所述PSTN接口的话路所对应的电话接口标识;局端以太网模块(102)用于将封装好的以太网帧发送给客户端以太网模块(103);客户端话音接入模块(104)用于从客户端以太网模块(103)获得以太网帧后进行解封装,获得话音数据,并根据帧中的电话接口标识将话音数据发送到对应的电话接口, During downlink transmission, the central office voice access module (101) is used to receive the PSTN data code stream from the PSTN interface, parse out the voice data and encapsulate it as an Ethernet frame and send it to the central office Ethernet module (102), the Ethernet frame The source address and the destination address are respectively the MAC of the central office equipment and the MAC of the client equipment, and also include the corresponding telephone interface identification of the voice path of the PSTN interface; the central office Ethernet module (102) is used to encapsulate the Ethernet The frame is sent to the client Ethernet module (103); the client voice access module (104) is used to decapsulate after obtaining the Ethernet frame from the client Ethernet module (103), obtain voice data, and according to the The telephone interface identifier sends the voice data to the corresponding telephone interface,

当上行传输时,客户端话音接入模块(104)用于从电话接口接收话音业务流,提取出话音数据封装成以太网帧并发送给客户端以太网模块(103),该以太网帧中源地址、目的地址分别为客户端设备的MAC、局端设备的MAC,还包括所述接收话音业务流的电话接口的电话接口标识;客户端以太网模块(103)用于将封装好的以太网帧发送给局端以太网模块(102);局端话音接入模块(101)用于从局端以太网模块(102)接收以太网帧,解 析出话音数据,并根据帧中的电话接口标识将话音数据发送到对应的PSTN接口 When uplink transmission, client voice access module (104) is used for receiving voice service flow from telephone interface, extracts voice data and encapsulates into Ethernet frame and sends to client Ethernet module (103), in this Ethernet frame The source address and the destination address are respectively the MAC of the client equipment and the MAC of the central office equipment, and also include the telephone interface identification of the telephone interface receiving the voice service flow; the client Ethernet module (103) is used for encapsulating the Ethernet The network frame is sent to the local end Ethernet module (102); the local end voice access module (101) is used to receive the Ethernet frame from the central office Ethernet module (102), resolves the voice data, and according to the telephone interface in the frame Identifies sending voice data to the corresponding PSTN interface

其中,所述局端话音接入模块101包括: Wherein, the central office voice access module 101 includes:

PSTN解帧模块202,用于解析PSTN数据码流,提取出话音数据存入发送缓存、提取出控制协议数据发送给协议处理模块215; PSTN deframing module 202, used for parsing PSTN data code stream, extracting voice data and storing in sending buffer, extracting control protocol data and sending to protocol processing module 215;

局端以太网成帧模块204,用于根据协议处理模块215动态配置的PSTN接口的话路与电话接口的对应关系,把发送缓存中存储的相应话音数据取出构成含有所述电话接口标识的以太网帧,发送给局端以太网模块102; The central office Ethernet framing module 204 is used to take out the corresponding voice data stored in the sending buffer according to the corresponding relationship between the PSTN interface voice channel and the telephone interface dynamically configured by the protocol processing module 215 to form an Ethernet network containing the telephone interface identifier. frame, sent to the central office Ethernet module 102;

局端以太网解帧模块214,用于根据协议处理模块215动态配置的PSTN接口的话路与电话接口的对应关系,解析接收到的以太网帧,提取出话音数据存入接收缓存; The central office Ethernet deframing module 214 is used to analyze the received Ethernet frame according to the corresponding relationship between the PSTN interface voice channel and the telephone interface dynamically configured by the protocol processing module 215, and extract the voice data and store it in the receiving cache;

PSTN成帧模块212,用于从接收缓存中读出话音数据封装为PSTN数据码流; PSTN framing module 212, is used for reading voice data and encapsulating as PSTN data stream from receiving cache;

协议处理模块215,用于对PSTN协议进行解析以配置PSTN接口话路和电话接口的对应关系。 The protocol processing module 215 is configured to analyze the PSTN protocol to configure the corresponding relationship between the PSTN interface voice channel and the telephone interface. the

其中,所述局端话音接入模块101进一步包括:HDB3/NRZ转换模块201,用于将从PSTN接口输入的HDB3码数据转换为NRZ码数据发送给PSTN解帧模块202;NRZ/HDB3转换模块211,用于将由PSTN解帧模块202发送过来的NRZ码数据转换为HDB3码数据输出到PSTN接口。 Wherein, the central office voice access module 101 further includes: HDB3/NRZ conversion module 201, which is used to convert the HDB3 code data input from the PSTN interface into NRZ code data and send it to the PSTN deframing module 202; NRZ/HDB3 conversion module 211 , configured to convert the NRZ code data sent by the PSTN deframing module 202 into HDB3 code data and output it to the PSTN interface. the

其中,所述协议处理模块215包括: Wherein, the protocol processing module 215 includes:

处理器2152,用于实现对PSTN协议的解析以配置所述PSTN接口的话路和电话接口的对应关系; The processor 2152 is used to implement the parsing of the PSTN protocol to configure the corresponding relationship between the voice channel of the PSTN interface and the telephone interface;

配置管理接口2153,用于根据处理器2152的指示将配置的所述PSTN接口的话路和电话接口的对应关系提供给局端以太网成帧模块204和局端以太网解帧模块214; The configuration management interface 2153 is used to provide the corresponding relationship between the voice channel of the configured PSTN interface and the telephone interface to the central office Ethernet framing module 204 and the central office Ethernet deframing module 214 according to the instruction of the processor 2152;

HDLC接口2151,用于PSTN解帧模块202、PSTN成帧模块212和处理器2152之间协议数据的转发。 The HDLC interface 2151 is used for forwarding protocol data between the PSTN deframing module 202 , the PSTN framing module 212 and the processor 2152 . the

其中,所述客户端话音接入模块104包括: Wherein, the client voice access module 104 includes:

客户端以太网解帧模块301,用于解析接收的以太网帧,取出话音数据存入接收缓存中; The client Ethernet deframing module 301 is used to parse the received Ethernet frame, and take out the voice data and store it in the receiving cache;

时钟恢复模块304,用于恢复出话音数据的时钟; Clock recovery module 304, for recovering the clock of voice data;

话音数据输出模块303,用于根据时钟恢复模块304的时钟从接收缓存中取出话音数据,输出到电话接口; Voice data output module 303, for taking out voice data from receiving cache according to the clock of clock recovery module 304, output to telephone interface;

话音数据输入模块313,用于将从电话接口接收的话音数据存入发送缓存。 The voice data input module 313 is used for storing the voice data received from the telephone interface into the sending buffer. the

客户端以太网成帧模块311,用于将发送缓存中存储的话音数据取出构成以太网帧发送给客户端以太网模块103。 The client Ethernet framing module 311 is configured to take out voice data stored in the sending buffer to form an Ethernet frame and send it to the client Ethernet module 103 . the

本发明提供的TDM话音业务在以太网传输的方法,在呼叫过程中局端设备根据呼叫建立PSTN接口的话路和电话接口的对应关系,该方法包括下行传输和上行传输;下行传输包括以下步骤: The TDM voice service provided by the present invention transmits the method in Ethernet, and in the call process, the central office equipment establishes the corresponding relationship between the voice path of the PSTN interface and the telephone interface according to the call, and the method includes downlink transmission and uplink transmission; the downlink transmission includes the following steps:

A、局端设备从PSTN接口接收PSTN数据码流,解析出话音数据并封装成以太网帧;其中该以太网帧源地址、目的地址分别为局端设备的MAC、客户端设备的MAC,还包括所述PSTN接口的话路所对应的电话接口标识; A. The central office equipment receives the PSTN data code stream from the PSTN interface, parses the voice data and encapsulates it into an Ethernet frame; the source address and destination address of the Ethernet frame are the MAC of the central office equipment and the MAC of the client equipment, respectively. Including the telephone interface identifier corresponding to the voice path of the PSTN interface;

B、封装好的以太网帧由局端设备发送给客户端设备; B. The encapsulated Ethernet frame is sent from the central office device to the client device;

C、客户端设备获得所述以太网帧后进行解封装,获得话音数据,并根据帧中的电话接口标识将话音数据发送到对应的电话接口; C. The client device decapsulates the Ethernet frame after obtaining the Ethernet frame, obtains the voice data, and sends the voice data to the corresponding telephone interface according to the telephone interface identifier in the frame;

上行传输包括以下步骤: Uplink transmission includes the following steps:

A’、客户端设备从电话接口接收话音数据,将话音数据封装成以太网帧;其中该帧源地址、目的地址分别为客户端设备的MAC、局端设备的MAC,还包括所述电话接口的标识; A', the client device receives voice data from the telephone interface, and encapsulates the voice data into an Ethernet frame; wherein the frame source address and destination address are respectively the MAC of the client device and the MAC of the central office device, and also include the telephone interface logo;

B’、封装好的以太网帧由客户端设备发送给局端设备; B', the encapsulated Ethernet frame is sent by the client device to the central office device;

C’、局端设备获得所述以太网帧后进行解封装,获得话音数据,并根据帧中的电话接口标识将话音数据发送到对应的PSTN接口。 C', the central office device decapsulates the Ethernet frame after obtaining the Ethernet frame, obtains the voice data, and sends the voice data to the corresponding PSTN interface according to the telephone interface identifier in the frame. the

其中,所述步骤A包括子步骤: Wherein, the step A includes sub-steps:

局端设备从PSTN接口接收PSTN数据码流,解析出话音数据存入PSTN 接口对应的缓存; The central office device receives the PSTN data code stream from the PSTN interface, parses out the voice data and stores it in the buffer corresponding to the PSTN interface;

根据配置PSTN接口的话路和电话接口的对应关系,从缓存中读取出缓存的话音数据封装成以太网帧。 According to the corresponding relationship between the telephone channel and the telephone interface configured on the PSTN interface, the buffered voice data is read from the buffer and encapsulated into an Ethernet frame. the

其中,所述步骤C包括子步骤: Wherein, the step C includes sub-steps:

客户端设备将接收的以太网帧进行解帧处理,取出所封装的话音数据存入与帧中目的电话接口标识对应的接收缓存中; The client device deframes the received Ethernet frame, takes out the encapsulated voice data and stores it in the receiving buffer corresponding to the destination telephone interface identifier in the frame;

恢复出与下行话音数据一致的时钟; Recover the clock consistent with the downlink voice data;

用恢复出的时钟从接收缓存中取出话音数据,发送到对应的电话接口。 Use the recovered clock to take out the voice data from the receiving buffer and send it to the corresponding telephone interface. the

其中,所述步骤A’包括子步骤: Wherein, described step A ' comprises sub-steps:

客户端设备从电话接口接收话音数据,存入电话接口对应的缓存; The client device receives voice data from the telephone interface and stores it in the buffer corresponding to the telephone interface;

从缓存取出所述话音数据封装成以太网帧。 The voice data is taken out from the cache and encapsulated into an Ethernet frame. the

其中,所述步骤C’包括子步骤: Wherein, described step C ' comprises substep:

局端设备将接收的以太网帧进行解封装,获得话音数据及电话接口标识,根据配置的PSTN接口的话路与电话接口的对应关系,将所述话音数据存入所述PSTN接口的话路对应的缓存中; The central office device decapsulates the received Ethernet frame, obtains the voice data and the telephone interface identifier, and stores the voice data into the voice channel corresponding to the PSTN interface according to the configured corresponding relationship between the voice channel of the PSTN interface and the telephone interface. in cache;

从缓存中读出话音数据,封装为PSTN数据码流发送到对应的PSTN接口。 Read the voice data from the cache, encapsulate it as a PSTN data stream and send it to the corresponding PSTN interface. the

其中,所述话音数据为TDM话音业务数据。 Wherein, the voice data is TDM voice service data. the

由上述方法可以看出,与背景技术中描述的VoIP技术相比,本发明直接将话音数据封装在以太网帧中传输,不需要复杂的话音数据压缩和VoIP的协议处理,减少了语音业务的时延和接入PSTN的复杂性,大大降低了设备的实现难度和成本。 As can be seen from the above method, compared with the VoIP technology described in the background technology, the present invention directly encapsulates the voice data in the Ethernet frame for transmission, does not need complex voice data compression and VoIP protocol processing, and reduces the voice traffic. The time delay and the complexity of accessing PSTN greatly reduce the difficulty and cost of equipment implementation. the

与将E1/T1封装在以太网中传输相比,本发明话音数据是动态的封装在以太网帧中,不用的话路就不产生数据帧,因此只处理正在通话的有效的话音数据,减少了无用数据对带宽的占用。并且,一个站点的话路数是任意的,不像E1那样最小的单位必须是30个话路占用2M带宽,因此本发明在PSTN接口非常易于实现话路的收敛。 Compared with E1/T1 encapsulated in Ethernet for transmission, the voice data of the present invention is dynamically encapsulated in the Ethernet frame, and the unused channel does not generate a data frame, so only the effective voice data in the conversation is processed, reducing the Useless data occupies bandwidth. Moreover, the number of voice channels at a site is arbitrary, unlike E1, where the minimum unit must be 30 voice channels occupying 2M bandwidth, so the present invention is very easy to realize the convergence of voice channels at the PSTN interface. the

附图说明Description of drawings

图1为本发明TDM话音业务在以太网传输的系统结构图。 Fig. 1 is a system structure diagram of TDM voice service transmission in Ethernet according to the present invention. the

图2为局端话音接入模块图。 Figure 2 is a block diagram of voice access at the central office. the

图3为客户端话音接入模块图。 Fig. 3 is a diagram of the client voice access module. the

图4为TDM话音业务在以太网传输的下行处理流程图。 Fig. 4 is a flow chart of downlink processing of TDM voice service transmission in Ethernet. the

图5为TDM话音业务在以太网传输的上行处理流程图。 Fig. 5 is a flow chart of uplink processing of TDM voice service transmission in Ethernet. the

具体实施方式Detailed ways

本发明考虑到基于以太网的宽带分组网一般采用光纤收发器、EPON等以太网设备,由于是光纤传输,带宽非常大,而每路话路才仅需要64K的带宽,因此,本发明直接把TDM话音数据、用户线路信号封装在以太网帧中,而不进行压缩处理的传送给局端设备,在局端设备收到后,再从以太网帧中恢复出原来的话音数据、线路信号,传送到PSTN网络。并且,由于在以太网层进行话音数据的处理,而不采用高层协议的处理,降低了处理的复杂性。 The present invention considers that the Ethernet-based broadband packet network generally adopts Ethernet devices such as optical fiber transceivers and EPONs. Because it is optical fiber transmission, the bandwidth is very large, and each voice path only needs a bandwidth of 64K. Therefore, the present invention directly uses TDM voice data and user line signals are encapsulated in Ethernet frames, and transmitted to the central office equipment without compression processing. After receiving them, the central office equipment recovers the original voice data and line signals from the Ethernet frames. transmitted to the PSTN network. Moreover, since the voice data is processed at the Ethernet layer instead of the high-layer protocol, the complexity of the processing is reduced. the

TDM话音业务接入是由客户端设备的业务接入接口(如电话接口)和局端设备的业务接口(如PSTN接口)共同完成的,这两个接口可以通过配置建立一种对应关系,不同的对应关系对应不同的TDM话路接入,这样,局端就可以方便地配置连接了。下面参见附图,对本发明进行详细说明。 The TDM voice service access is jointly completed by the service access interface of the client equipment (such as the telephone interface) and the service interface of the central office equipment (such as the PSTN interface). The two interfaces can establish a corresponding relationship through configuration. The corresponding relationship corresponds to the access of different TDM voice channels, so that the central office can configure the connection conveniently. Referring to the accompanying drawings, the present invention will be described in detail below. the

如图1示出了本发明的实现TDM话音业务在以太网传输的系统,该系统的局端设备包括局端话音接入模块101和局端以太网模块102。局端话音接入模块101负责以太网帧的成帧、解帧、话路的汇聚、PSTN接口(如:1/7号信令/V5/PRI接口等)的实现功能;局端以太网模块102负责把多个客户端设备汇聚,并把话音业务与其他业务分离。 FIG. 1 shows the system for realizing the transmission of TDM voice services on Ethernet according to the present invention. The central office equipment of the system includes a central office voice access module 101 and an central office Ethernet module 102 . The central office voice access module 101 is responsible for the framing, deframing, convergence of voice channels, and the realization of PSTN interfaces (such as: No. 1/7 signaling/V5/PRI interfaces, etc.) of Ethernet frames; the central office Ethernet module 102 is responsible for converging multiple client devices and separating voice services from other services. the

该系统的客户端设备包括客户端话音接入模块104和客户端以太网模块103。客户端话音接入模块104负责话音和线路信令数据到以太网帧的成帧、解帧,以及电话接口的实现;客户端以太网模块103负责把承载话音数 据的以太网帧和其他业务的以太网帧集中到局端设备。 The client device of the system includes a client voice access module 104 and a client Ethernet module 103 . The client voice access module 104 is responsible for the framing and deframing of voice and line signaling data to the Ethernet frame, and the realization of the telephone interface; the client Ethernet module 103 is responsible for transferring the Ethernet frame of the voice data and other business The Ethernet frames are concentrated to the central office equipment. the

局端设备和每个客户端设备需要预先分配唯一的MAC地址进行标识,并且局端设备的PSTN接口用顺序编号来标识话路,客户端设备也用顺序编号来标识电话接口。在该系统传输TDM话音业务时,会在局端设备动态建立一个PSTN接口的话路和电话接口的对应关系,其下行、上行传输的基本过程如下: The central office equipment and each client equipment need to be pre-assigned a unique MAC address for identification, and the PSTN interface of the central office equipment uses sequence numbers to identify voice channels, and the client equipment also uses sequence numbers to identify telephone interfaces. When the system transmits TDM voice services, a corresponding relationship between the voice channel of the PSTN interface and the telephone interface will be dynamically established in the central office equipment. The basic process of the downlink and uplink transmission is as follows:

对于TDM语音业务的下行传输包括以下步骤:局端话音接入模块101从某PSTN接口接收PSTN码流(如HDB3码流)后,提取出话音数据并封装成以太网帧,该帧中源地址、目的地址分别为局端设备的MAC、客户端设备的MAC,还要包括所述接收PSTN码流的PSTN接口的话路所对应的电话接口编号;封装好的以太网帧由局端以太网模块102发送给客户端以太网模块103;客户端话音接入模块104从客户端以太网模块103获得以太网帧后进行解封装,获得话音数据,再根据帧中的电话接口编号将话音数据发送到对应的电话接口。 The downlink transmission of the TDM voice service includes the following steps: After receiving the PSTN code stream (such as the HDB3 code stream) from a certain PSTN interface, the central office voice access module 101 extracts the voice data and encapsulates it into an Ethernet frame, and the source address in the frame , the destination address are respectively the MAC of the central office equipment and the MAC of the client equipment, and also include the corresponding telephone interface number of the PSTN interface that receives the PSTN code stream; 102 sends to the client Ethernet module 103; The client voice access module 104 decapsulates after obtaining the Ethernet frame from the client Ethernet module 103, obtains voice data, and then sends the voice data to Corresponding telephone interface. the

对于TDM语音业务的上行传输,为下行传输的逆过程,包括以下步骤:客户端话音接入模块104从某电话接口接收话音业务流后,提取出话音数据并封装成以太网帧,该帧中源地址、目的地址分别为客户端设备的MAC、局端设备的MAC,还要包括所述接收话音业务流的电话接口的电话接口编号;封装好的以太网帧由客户端以太网模块103发送给局端以太网模块102;局端话音接入模块101从局端以太网模块102获得以太网帧后进行解封装,获得话音数据,再根据帧中的电话接口编号将话音数据发送到对应的PSNT接口的话路。 For the uplink transmission of the TDM voice service, it is the inverse process of the downlink transmission, including the following steps: After receiving the voice service flow from a certain telephone interface, the client voice access module 104 extracts the voice data and encapsulates it into an Ethernet frame. The source address and the destination address are respectively the MAC of the client equipment and the MAC of the central office equipment, and also include the telephone interface number of the telephone interface receiving the voice service flow; the encapsulated Ethernet frame is sent by the client Ethernet module 103 To the central office Ethernet module 102; The central office voice access module 101 decapsulates after obtaining the Ethernet frame from the central office Ethernet module 102, obtains voice data, and then sends the voice data to the corresponding Voice channel of the PSNT interface. the

下面对本发明局端设备中话音接入模块结构进行详细说明,一般PSTN接口是HDB3码流,如图2所示,局端话音接入模块101包括以下子模块: The structure of the voice access module in the central office equipment of the present invention is described in detail below. The general PSTN interface is an HDB3 code stream. As shown in Figure 2, the central office voice access module 101 includes the following submodules:

HDB3/NRZ转换模块201,用于将PSTN接口的HDB3码输入转换为NRZ码。 The HDB3/NRZ conversion module 201 is used to convert the HDB3 code input of the PSTN interface into NRZ code. the

PSTN解帧模块202,用于解析NRZ数据码流,提取出话音数据顺序存入发送缓存203,本实施例中,PSTN接口与缓存地址存在着对应关系,针对不同的PSTN接口的话路处理的数据存入不同的发送缓存203地址中;另一方面,还要提取出控制协议数据发送给协议处理模块215进行协议处理。 PSTN deframing module 202, for parsing the NRZ data stream, extracting the voice data and storing it in the transmission cache 203 in sequence, in this embodiment, there is a corresponding relationship between the PSTN interface and the cache address, and the data processed for the voice channel of different PSTN interfaces Store them in different addresses of the sending buffer 203; on the other hand, extract the control protocol data and send them to the protocol processing module 215 for protocol processing. the

以太网成帧模块204,根据动态配置的PSTN接口的话路与电话接口的对应关系,从所述PSTN接口对应的发送缓存203位置保存的话音数据取出,加上帧头信息构成以太网帧,发送给局端以太网模块102以发送出去。帧头信息中的源地址、目的地址分别为局端设备的MAC、客户端设备的MAC,还包括所述PSTN接口的话路所对应的电话接口编号。 Ethernet framing module 204, according to the corresponding relationship between the voice path of the PSTN interface of dynamic configuration and the telephone interface, the voice data stored in the sending cache 203 position corresponding to the PSTN interface is taken out, and the frame header information is added to form an Ethernet frame, and the Ethernet frame is sent. Send it to the central office Ethernet module 102. The source address and destination address in the frame header information are the MAC of the central office device and the MAC of the client device respectively, and also include the telephone interface number corresponding to the voice path of the PSTN interface. the

以太网解帧模块214,根据接收的以太网帧头中的源MAC地址和电话接口编号确定该帧属于哪个客户端的话音数据,并根据动态配置的PSTN接口的话路与电话接口的对应关系,把帧中的话音数据取出存入所述PSTN接口的话路所对应的接收缓存213的相应地址中。 Ethernet deframing module 214 determines the voice data of which client the frame belongs to according to the source MAC address and the telephone interface number in the received Ethernet frame header, and according to the corresponding relationship between the voice path and the telephone interface of the PSTN interface of dynamic configuration, the The voice data in the frame is taken out and stored in the corresponding address of the receive buffer 213 corresponding to the voice channel of the PSTN interface. the

PSTN成帧模块212,顺序从接收缓存213中读出缓存的话音数据,加上帧头和承载的协议数据形成PSTN接口发送数据NRZ码流。 The PSTN framing module 212 sequentially reads out the buffered voice data from the receiving buffer 213, adds the frame header and the carried protocol data to form the NRZ code stream of the PSTN interface transmission data. the

NRZ/HDB3转换模块211,负责把PSTN接口发送数据从NRZ码转换为HDB3码发送给PSTN接口。 The NRZ/HDB3 conversion module 211 is responsible for converting the data sent by the PSTN interface from NRZ codes to HDB3 codes and sending them to the PSTN interface. the

协议处理模块215,包括HDLC接口2151、处理器2152、配置管理接口2153。HDLC接口2151,负责PSTN接口和处理器2152之间协议数据的转发。处理器2152,负责对PSTN接口接收的呼叫协议进行处理(包括1/7号信令/V5/PRI等协议处理),包括根据呼叫协议动态配置PSTN接口话路和电话接口的对应关系(即建立话路)、还包括对电话接口用户信令的处理(包括控制振铃、摘挂机检测等)。配置管理接口2153,实现处理器2152对硬件电路的控制和管理,包括配置局端和客户端的MAC地址、客户端电话用户数目、接收处理器2152的指示动态配置PSTN话路和客户端话路的对应关系等。 The protocol processing module 215 includes an HDLC interface 2151 , a processor 2152 , and a configuration management interface 2153 . The HDLC interface 2151 is responsible for forwarding protocol data between the PSTN interface and the processor 2152 . Processor 2152 is responsible for processing the call protocol received by the PSTN interface (including protocol processing such as Signaling No. 1/7/V5/PRI), including dynamically configuring the corresponding relationship between the voice channel of the PSTN interface and the telephone interface according to the call protocol (that is, establishing voice channel), and also includes the processing of user signaling on the telephone interface (including ring control, on-hook detection, etc.). Configure the management interface 2153 to realize the control and management of the hardware circuit by the processor 2152, including configuring the MAC addresses of the central office and the client, the number of telephone users of the client, and receiving instructions from the processor 2152 to dynamically configure PSTN calls and client calls. correspondence etc. the

在接入网中,根据统计复用的规律,上联话路数与用户总数按一定比例 配置即可满足实际使用要求,系统需要实现话路的汇聚收敛。在本系统中,协议处理模块215根据接收的PSTN协议,动态配置PSTN接口的话路与电话接口的对应关系,以太网成帧和解帧模块根据动态配置的PSTN接口的话路与电话接口的对应关系,只处理已分配话路的电话接口的话音数据,不发送和接收未分配话路的电话接口的数据帧,巧妙实现话路的汇聚收敛。 In the access network, according to the law of statistical multiplexing, the number of uplink calls and the total number of users can be configured according to a certain ratio to meet the actual use requirements, and the system needs to realize the convergence of the calls. In this system, the protocol processing module 215 dynamically configures the corresponding relationship between the voice channel of the PSTN interface and the telephone interface according to the received PSTN protocol, and the Ethernet framing and deframing module according to the corresponding relationship between the voice channel and the telephone interface of the dynamically configured PSTN interface, It only processes the voice data of the telephone interface that has been assigned a voice channel, and does not send and receive the data frame of the telephone interface that has not been allocated a voice channel, so as to realize the convergence and convergence of voice channels ingeniously. the

下面对本发明客户端设备中话音接入模块结构进行详细说明,如图3所示,包括以下模块: The structure of the voice access module in the client device of the present invention is described in detail below, as shown in Figure 3, including the following modules:

客户端以太网解帧模块301,从接收的以太网帧中取出话音数据存入接收缓存302中。 The client Ethernet deframing module 301 takes out the voice data from the received Ethernet frame and stores it in the receiving buffer 302 . the

时钟恢复模块304,恢复出话音数据的时钟,用于话音接口数据的输入输出。其中,可以根据接收缓存302流入数据的流量来恢复话音数据的时钟,这可以基于数字锁相环原理,将接收缓存302的状态输出转化为下行时钟和本地恢复时钟的鉴相输出,得到与局端时钟同频的本地恢复时钟,并且保证恢复时钟的输出抖动特性达到要求。当然,也可以采用其他的时钟方式进行同步,例如在以太网帧中携带时间同步信息实现发送方和接收方的同步等。 The clock recovery module 304 recovers the clock of voice data, which is used for input and output of voice interface data. Among them, the clock of the voice data can be recovered according to the flow of incoming data in the receiving buffer 302. This can be based on the principle of a digital phase-locked loop, and the state output of the receiving buffer 302 can be converted into the phase detection output of the downlink clock and the local recovered clock, and the local clock can be obtained. The local recovered clock with the same frequency as the terminal clock, and ensure that the output jitter characteristics of the recovered clock meet the requirements. Of course, other clock methods may also be used for synchronization, for example, carrying time synchronization information in Ethernet frames to achieve synchronization between the sender and the receiver. the

话音数据输出模块303,从接收缓存302中取出话音数据,通过电话接口(如TDMbus接口)输出给用户。 The voice data output module 303 takes out the voice data from the receiving buffer 302, and outputs it to the user through a telephone interface (such as a TDMbus interface). the

话音数据输入模块313,从电话接口接收话音数据,并存入发送缓存312。 The voice data input module 313 receives the voice data from the telephone interface and stores it in the transmission buffer 312 . the

客户端以太网成帧模块311,把发送缓存312中存储的话音数据取出,加上帧头信息构成以太网帧。帧头信息中的源地址、目的地址分别为客户端设备的MAC、局端设备的MAC,帧中还包括所述接收话音数据的电话接口的编号。需要说明的是,由于仅通话的数据存于发送缓存312中,因此此处只发送正在通话的话路数据,减少了无用数据对带宽的占用。 The client Ethernet framing module 311 takes out the voice data stored in the sending buffer 312 and adds frame header information to form an Ethernet frame. The source address and destination address in the frame header information are respectively the MAC of the client device and the MAC of the central office device, and the frame also includes the serial number of the telephone interface for receiving voice data. It should be noted that since only call data is stored in the sending buffer 312, only the data of the ongoing call is sent here, reducing bandwidth occupation by useless data. the

这里需要说明的是,上面是以下行、上行传输分别为例对本发明系统进 行描述,在具体的实现过程中,上下行对应的模块可能由一个具有双向功能的模块实现,例如HDB3/NRZ转换模块、NRZ/HDB3转换模块由一个NRZ/HDB3的双向转换的模块实现,又如PSTN或以太网的解帧模块、成帧模块分别由一个双向接口的解/成帧模块实现,接收、发送缓存由一个缓存实现,话音数据输入、输出模块由一个双向的输入/输出模块实现等等。 What needs to be explained here is that the above describes the system of the present invention by taking the downlink and uplink transmissions as examples respectively. In the specific implementation process, the module corresponding to the uplink and downlink may be realized by a module with bidirectional functions, such as HDB3/NRZ conversion Module, NRZ/HDB3 conversion module is realized by a NRZ/HDB3 bidirectional conversion module, and PSTN or Ethernet deframing module and framing module are respectively realized by a bidirectional interface decomposing/framing module, receiving and sending buffer It is implemented by a buffer, and the voice data input and output modules are implemented by a bidirectional input/output module and so on. the

下面参见图1~3,分别以下行、上行为例,对本发明的TDM话音业务在以太网传输的方法进行详细的介绍。如图4示出的下行传输的流程图,包括以下步骤: Referring to Figs. 1-3 below, the method for transmitting TDM voice service in Ethernet of the present invention will be described in detail for the downlink and uplink respectively as examples. The flowchart of the downlink transmission shown in Figure 4 includes the following steps:

预先,局端设备建立一PSTN接口的话路和电话接口的对应关系,即建立一话路。该话路可在呼叫过程中建立,由协议处理模块215和上级局进行PSTN协议的处理,根据PSTN协议配置PSTN接口和电话接口的连接关系建立该话路。话路的建立是标准的,本发明不进行赘述。本发明数据的下行传输的处理包括以下步骤: In advance, the central office equipment establishes a corresponding relationship between a PSTN interface voice channel and a telephone interface, that is, establishes a voice channel. The voice path can be established during the call process, and the protocol processing module 215 and the superior bureau perform PSTN protocol processing, and configure the connection relationship between the PSTN interface and the telephone interface according to the PSTN protocol to establish the voice path. The establishment of the voice channel is standard, and will not be described in detail in the present invention. The processing of the downlink transmission of the data of the present invention comprises the following steps:

步骤401:HDB3/NRZ转换模块201接收PSTN接口的HDB3码流,转换为NRZ码流;发送给PSTN解帧模块202。 Step 401: The HDB3/NRZ conversion module 201 receives the HDB3 code stream of the PSTN interface, converts it into an NRZ code stream, and sends it to the PSTN deframing module 202 . the

步骤402:PSTN解帧模块202解析收到的NRZ数据码流,提取出话音数据顺序存入所述PSTN接口对应的发送缓存203的地址,同时提取出控制协议数据发送给协议处理模块215进行协议处理。 Step 402: The PSTN deframing module 202 parses the received NRZ data code stream, extracts the voice data and stores them in sequence in the address of the sending buffer 203 corresponding to the PSTN interface, and simultaneously extracts the control protocol data and sends it to the protocol processing module 215 for protocol processing. deal with. the

步骤403:以太网成帧模块204根据协议处理模块215的处理器2152配置的PSTN接口的话路和电话接口的对应关系,从所述PSTN接口对应的发送缓存203地址中读取出缓存的话音数据,并加上MAC地址、目的电话接口等信息封装成以太网帧,发送给局端以太网模块102。其中,源、目的MAC地址分别为局端设备、客户端设备的MAC地址,目的电话接口是配置的PSTN接口的话路所对应的电话接口。 Step 403: Ethernet framing module 204 reads out the buffered voice data from the sending buffer 203 address corresponding to the PSTN interface according to the corresponding relationship between the channel of the PSTN interface configured by the processor 2152 of the protocol processing module 215 and the telephone interface , and add information such as the MAC address and the destination telephone interface to encapsulate into an Ethernet frame and send it to the Ethernet module 102 at the central office. Wherein, the source and destination MAC addresses are the MAC addresses of the central office equipment and the client equipment respectively, and the destination telephone interface is the telephone interface corresponding to the voice path of the configured PSTN interface. the

步骤404:局端以太网模块102通过以太网网络将封装好的以太网帧发送到目的客户端设备,由目的的客户端设备的客户端以太网模块103接收。 Step 404: The central office Ethernet module 102 sends the encapsulated Ethernet frame to the destination client device through the Ethernet network, and is received by the client Ethernet module 103 of the destination client device. the

步骤405:客户端以太网模块103将接收的以太网帧发送给客户端以太网解帧模块301。 Step 405 : the client Ethernet module 103 sends the received Ethernet frame to the client Ethernet deframing module 301 . the

步骤406:客户端以太网解帧模块301对接收的以太网帧进行解帧处理,取出所封装的话音数据存入与帧中目的电话接口对应的接收缓存302地址中; Step 406: The client Ethernet deframing module 301 deframes the received Ethernet frame, takes out the encapsulated voice data and stores it in the receiving buffer 302 address corresponding to the destination telephone interface in the frame;

步骤407:时钟恢复模块304根据话音数据存入缓存的流量统计,用数字锁相环恢复出与下行话音数据一致的时钟。 Step 407: The clock recovery module 304 uses a digital phase-locked loop to recover a clock consistent with the downlink voice data according to the traffic statistics of the voice data stored in the cache. the

步骤408:话音数据输出模块303根据恢复出的时钟从与目的电话接口对应的接收缓存302地址中取出话音数据,发送给电话接口电路(如TDMbus接口)输出。 Step 408: The voice data output module 303 takes out the voice data from the receiving buffer 302 address corresponding to the destination telephone interface according to the recovered clock, and sends it to the telephone interface circuit (eg, TDMbus interface) for output. the

参见如图5示出的上行传输的流程图,包括以下步骤: See the flowchart of uplink transmission shown in Figure 5, including the following steps:

步骤501:话音数据输入模块313把从电话接口接收的话音数据存入发送缓存312。此处采用从下行数据中恢复出的时钟,这样上行数据速率与下行是一致的,局端不需要从上行数据中恢复时钟,直接用下行时钟即可。 Step 501: The voice data input module 313 stores the voice data received from the telephone interface into the transmission buffer 312 . The clock recovered from the downlink data is used here, so that the uplink data rate is consistent with the downlink, and the central office does not need to recover the clock from the uplink data, and can directly use the downlink clock. the

步骤502:客户端以太网成帧模块311把发送缓存312中存储的话音数据取出,加上MAC地址等帧头信息构成以太网帧,发送给客户端以太网模块103。其中,源、目的MAC地址分别为客户端设备、局端设备的MAC地址,还要携带电话接口的编号。 Step 502 : The client Ethernet framing module 311 takes out the voice data stored in the transmission buffer 312 , adds frame header information such as MAC address to form an Ethernet frame, and sends it to the client Ethernet module 103 . Wherein, the source and destination MAC addresses are respectively the MAC addresses of the client device and the central office device, and also carry the serial number of the telephone interface. the

步骤503:客户端以太网模块103通过以太网网络将封装好的以太网帧发送到目的局端设备,由目的局端设备的局端以太网模块102接收。 Step 503: The client Ethernet module 103 sends the encapsulated Ethernet frame to the destination central office device through the Ethernet network, and the central office Ethernet module 102 of the destination central office device receives it. the

步骤504:局端以太网模块102将接收的以太网帧发送给局端以太网解帧模块214。 Step 504 : the central office Ethernet module 102 sends the received Ethernet frame to the central office Ethernet deframing module 214 . the

步骤505:局端以太网解帧模块214根据接收的以太网帧头中源MAC地址等信息确定该帧属于那个客户端哪个电话接口的话音数据,并根据动态配置的PSTN接口的话路与电话接口的对应关系,把帧中的话音数据取出存入接收缓存213中所述PSTN接口的话路对应的地址。 Step 505: The central office Ethernet deframing module 214 determines the voice data of the client and which telephone interface the frame belongs to according to information such as the source MAC address in the received Ethernet frame header, and according to the dynamically configured PSTN interface voice path and telephone interface The corresponding relationship, the voice data in the frame is taken out and stored in the address corresponding to the channel of the PSTN interface in the receiving buffer 213 . the

步骤506:PSTN成帧模块212顺序从接收缓存213中读出话音数据,加上帧头和承载的协议数据,形成PSTN接口发送数据NRZ码流,发送给NRZ/HDB3转换模块211。 Step 506: The PSTN framing module 212 sequentially reads the voice data from the receiving buffer 213, adds the frame header and the carried protocol data, forms the NRZ code stream of the PSTN interface transmission data, and sends it to the NRZ/HDB3 conversion module 211. the

步骤507:NRZ/HDB3转换模块211把PSTN接口发送数据从NRZ码转换为HDB3码,发送到对应的PSTN接口。 Step 507: The NRZ/HDB3 conversion module 211 converts the data sent by the PSTN interface from NRZ code to HDB3 code, and sends it to the corresponding PSTN interface. the

从上面实施例可以看出,本发明在实现接入PSTN网络时,直接把话音数据封装在以太网帧中传输,没有复杂的话音数据压缩和VoIP的协议处理减少了处理的时延和复杂性,大大降低了设备的实现难度和成本;并且,本发明由于话音数据是动态的封装在以太网帧中,不用的话路就不产生数据帧,因此只处理正在通话的有效的话音数据,减少了无用数据对带宽的占用,在PSTN接口非常易于实现话路的收敛。 As can be seen from the above embodiments, the present invention directly encapsulates the voice data in the Ethernet frame for transmission when realizing access to the PSTN network, without complex voice data compression and VoIP protocol processing, reducing the time delay and complexity of processing , greatly reducing the implementation difficulty and cost of the device; and, because the voice data is dynamically encapsulated in the Ethernet frame, the present invention does not generate a data frame for the unused channel, so only the effective voice data in the conversation is processed, reducing the Useless data occupies the bandwidth, and it is very easy to realize the convergence of the voice channel on the PSTN interface. the

上述是以基于TDM语音业务进行的描述,当PSTN采用了其他方式实现语音业务时,例如基于CDM语音业务、或基于FDM语音业务时同样适用于本发明,不再赘述。 The above description is based on the TDM voice service. When the PSTN adopts other methods to realize the voice service, such as the CDM voice service or the FDM voice service, it is also applicable to the present invention and will not be repeated here. the

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the scope of the present invention. within the scope of protection. the

Claims (11)

1. a voice service is in the Ethernet system for transmitting, comprise local side apparatus and client device, it is characterized in that, described local side apparatus comprises local side speech access module (101) and local side ethernet module (102), described client device comprises client speech access module (104) and client ethernet module (103), at local side apparatus according to the speech channel of hello protocol dynamic-configuration PSTN interface and the corresponding relation of telephony interface
When descending transmission, local side speech access module (101) is used for receiving the PSTN data code flow from the PSTN interface, parsing voice data is encapsulated as ethernet frame and sends to local side ethernet module (102), this ethernet frame source address, destination address are respectively the MAC of local side apparatus, the MAC of client device, also comprise the pairing telephony interface sign of speech channel of described PSTN interface; Local side ethernet module (102) is used for packaged ethernet frame is sent to client ethernet module (103); Client speech access module (104) is used for obtaining to carry out decapsulation behind the ethernet frame from client ethernet module (103), obtains voice data, and according to the sign of the telephony interface in the frame voice data is sent to corresponding telephony interface,
When uplink, client speech access module (104) is used for receiving voice service stream from telephony interface, extracting voice data is packaged into ethernet frame and sends to client ethernet module (103), source address, destination address are respectively the MAC of client device, the MAC of local side apparatus in this ethernet frame, also comprise the telephony interface sign of the telephony interface of described reception voice service stream; Client ethernet module (103) is used for packaged ethernet frame is sent to local side ethernet module (102); Local side speech access module (101) is used for receiving ethernet frame from local side ethernet module (102), parses voice data, and according to the sign of the telephony interface in the frame voice data is sent to corresponding PSTN interface.
2. system according to claim 1 is characterized in that, described local side speech access module (101) comprising:
PSTN separates frame module (202), is used to resolve the PSTN data code flow, extracts voice data and deposits in and send buffer memory, extract the control protocol data and send to protocol process module (215);
The local side Ethernet becomes frame module (204), be used for according to the speech channel of the PSTN interface of protocol process module (215) dynamic-configuration and the corresponding relation of telephony interface, take out the ethernet frame that formation contains described telephony interface sign sending the corresponding voice data of storing in the buffer memory, send to local side ethernet module (102);
The local side Ethernet is separated frame module (214), is used for resolving the ethernet frame that receives according to the speech channel of the PSTN interface of protocol process module (215) dynamic-configuration and the corresponding relation of telephony interface, extracts voice data and deposits the reception buffer memory in;
PSTN becomes frame module (212), is used for reading voice data from the reception buffer memory and is encapsulated as the PSTN data code flow;
Protocol process module (215) is used for the PSTN agreement is resolved to dispose the corresponding relation of PSTN interface speech channel and telephony interface.
3. system according to claim 1 is characterized in that, described local side speech access module (101) further comprises:
HDB3/NRZ modular converter (201) is used for being converted to from the HDB3 code data of PSTN interface input the NRZ code data and sends to PSTN and separate frame module (202);
NRZ/HDB3 modular converter (211) is used for being converted to the HDB3 code data and outputing to the PSTN interface separated NRZ code data that frame module (202) sends over by PSTN.
4. system according to claim 2 is characterized in that, described protocol process module (215) comprising:
Processor (2152) is used to realize to the parsing of PSTN agreement with the speech channel of disposing described PSTN interface and the corresponding relation of telephony interface;
Configuration management interface (2153), the corresponding relation that is used for the speech channel of the described PSTN interface that will dispose according to the indication of processor (2152) and telephony interface offers the local side Ethernet and becomes frame module (204) and local side Ethernet to separate frame module (214);
HDLC interface (2151) is used for the forwarding that PSTN separates protocol data between frame module (202), PSTN one-tenth frame module (212) and the processor (2152).
5. system according to claim 1 is characterized in that, described client speech access module (104) comprising:
Client ethernet is separated frame module (301), is used to resolve the ethernet frame of reception, takes out voice data and deposits in the reception buffer memory;
Clock recovery module (304) is used to recover the clock of voice data;
Voice data output module (303) is used for taking out voice data according to the clock of clock recovery module (304) from receiving buffer memory, outputs to telephony interface;
Voice data input module (313), the voice data that is used for receiving from telephony interface deposits the transmission buffer memory in.
Client ethernet becomes frame module (311), is used for that the voice data that the transmission buffer memory is stored is taken out the formation ethernet frame and sends to client ethernet module (103).
6. a TDM voice service is characterized in that in the method that Ethernet transmits local side apparatus is according to the speech channel of call setup PSTN interface and the corresponding relation of telephony interface in calling procedure, and this method comprises downlink transfer and uplink;
Downlink transfer may further comprise the steps:
A, local side apparatus receive the PSTN data code flow from the PSTN interface, parse voice data and are packaged into ethernet frame; Wherein this ethernet frame source address, destination address are respectively the MAC of local side apparatus, the MAC of client device, also comprise the pairing telephony interface sign of speech channel of described PSTN interface;
B, packaged ethernet frame send to client device by local side apparatus;
C, client device obtain to carry out decapsulation behind the described ethernet frame, obtain voice data, and according to the sign of the telephony interface in the frame voice data are sent to corresponding telephony interface;
Uplink may further comprise the steps:
A ', client device receive voice data from telephony interface, and voice data is packaged into ethernet frame; Wherein this frame source address, destination address are respectively the MAC of client device, the MAC of local side apparatus, also comprise the sign of described telephony interface;
B ', packaged ethernet frame send to local side apparatus by client device;
C ', local side apparatus obtain to carry out decapsulation behind the described ethernet frame, obtain voice data, and according to the sign of the telephony interface in the frame voice data are sent to corresponding PSTN interface.
7. method according to claim 6 is characterized in that, described steps A comprises substep:
Local side apparatus receives the PSTN data code flow from the PSTN interface, parses voice data and deposits PSTN interface corresponding cache in;
According to the speech channel of configuration PSTN interface and the corresponding relation of telephony interface, the voice data that reads out buffer memory from buffer memory is packaged into ethernet frame.
8. method according to claim 6 is characterized in that, described step C comprises substep:
Client device is separated frame with the ethernet frame that receives and is handled, and takes out packaged voice data and deposits in the reception buffer memory corresponding with purpose telephony interface sign in the frame;
Recover clock with the down voice data consistent;
From receive buffer memory, take out voice data with the clock that recovers, send to corresponding telephony interface.
9. method according to claim 6 is characterized in that, described steps A ' comprise substep:
Client device receives voice data from telephony interface, deposits the telephony interface corresponding cache in;
The access of postponing goes out described voice data and is packaged into ethernet frame.
10. method according to claim 6 is characterized in that, described step C ' comprises substep:
Local side apparatus carries out decapsulation with the ethernet frame that receives, and obtains voice data and telephony interface sign, according to the speech channel of the PSTN interface that disposes and the corresponding relation of telephony interface, described voice data is deposited in the speech channel corresponding cache of described PSTN interface;
From buffer memory, read voice data, be encapsulated as the PSTN data code flow and send to corresponding PSTN interface.
11. method according to claim 6 is characterized in that, described voice data is TDM voice service data.
CN2005101080589A 2005-09-29 2005-09-29 Method and system for transmitting speech service in Ethernet Expired - Lifetime CN1941819B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2005101080589A CN1941819B (en) 2005-09-29 2005-09-29 Method and system for transmitting speech service in Ethernet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2005101080589A CN1941819B (en) 2005-09-29 2005-09-29 Method and system for transmitting speech service in Ethernet

Publications (2)

Publication Number Publication Date
CN1941819A CN1941819A (en) 2007-04-04
CN1941819B true CN1941819B (en) 2011-04-20

Family

ID=37959576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2005101080589A Expired - Lifetime CN1941819B (en) 2005-09-29 2005-09-29 Method and system for transmitting speech service in Ethernet

Country Status (1)

Country Link
CN (1) CN1941819B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101087310B (en) * 2007-07-12 2011-07-13 烽火通信科技股份有限公司 A method and device for voice multi-protocol upper link in Ethernet passive optical network
CN101888336B (en) * 2010-06-29 2016-02-10 中兴通讯股份有限公司 Access device realizes method and the access device of TDM business relaying
CN110474956B (en) * 2019-07-10 2023-06-09 视联动力信息技术股份有限公司 Method, device, electronic device, and readable storage medium for video network device sealing
CN113949718B (en) * 2021-10-13 2023-06-27 国网福建省电力有限公司 E1 and IP hybrid bearer-based power private network scheduling and number-placing system and method
CN117614514B (en) * 2023-11-27 2024-05-17 中国人民解放军军事科学院系统工程研究院 IP multiplexing compression method and device based on satellite communication

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2421781Y (en) * 1999-12-03 2001-02-28 杭州南望电力科技有限公司 Receiver-transmitter for ether net-E1 signal
JP2001167022A (en) * 1999-12-09 2001-06-22 Nec Eng Ltd Data transfer system
CN1400804A (en) * 2001-07-27 2003-03-05 深圳市中兴通讯股份有限公司上海第二研究所 Speech transmission method of Ethernet port
CN1407834A (en) * 2001-08-24 2003-04-02 深圳市中兴通讯股份有限公司上海第二研究所 Method for realizing transmission of time division multichannel pulse modified signals in ether network
KR20030073546A (en) * 2002-03-12 2003-09-19 (주) 시스폴 VoIP(Voice over Internet Protocol) gateway having a PSTN(Public Switched Telephone Network) change over function
CN1571348A (en) * 2003-07-21 2005-01-26 中兴通讯股份有限公司 An apparatus and method for implementing data dynamic alignment bandwidth in transmission equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2421781Y (en) * 1999-12-03 2001-02-28 杭州南望电力科技有限公司 Receiver-transmitter for ether net-E1 signal
JP2001167022A (en) * 1999-12-09 2001-06-22 Nec Eng Ltd Data transfer system
CN1400804A (en) * 2001-07-27 2003-03-05 深圳市中兴通讯股份有限公司上海第二研究所 Speech transmission method of Ethernet port
CN1407834A (en) * 2001-08-24 2003-04-02 深圳市中兴通讯股份有限公司上海第二研究所 Method for realizing transmission of time division multichannel pulse modified signals in ether network
KR20030073546A (en) * 2002-03-12 2003-09-19 (주) 시스폴 VoIP(Voice over Internet Protocol) gateway having a PSTN(Public Switched Telephone Network) change over function
CN1571348A (en) * 2003-07-21 2005-01-26 中兴通讯股份有限公司 An apparatus and method for implementing data dynamic alignment bandwidth in transmission equipment

Also Published As

Publication number Publication date
CN1941819A (en) 2007-04-04

Similar Documents

Publication Publication Date Title
CA2364979C (en) Interworking of dissimilar packet networks for telephony communications
US6847632B1 (en) Method and apparatus for digital cellular internet voice communications
JP2010273370A (en) Method and apparatus for providing an interconnection device between an ATM network and an IP network
JPH10210182A (en) Modem and communication method
KR100705568B1 (en) Apparatus and Method for Processing S Eye Signaling in Integrated Voice / Data Exchange System
JP2002112370A (en) Voip gateway and digital 1 link relay switching method
CN1941819B (en) Method and system for transmitting speech service in Ethernet
US10389588B2 (en) Method and system for processing uplink and downlink network data, and electronic device
CN102377888B (en) Realize the system of the online official telephone of microwave communication, device and method
US7397793B2 (en) V.110 over packet networks
CN102801497A (en) Method, device and system for bearing transmission of baseband radio frequency interface
KR20010105042A (en) Multiple telecommunication coupling device
US6512790B1 (en) Method, system and apparatus for transmitting coded telecommunication signals
US7035282B1 (en) Wideband telephones, adapters, gateways, software and methods for wideband telephony over IP network
CN101087198A (en) A router for transferring multiple data and voice service
US20100098052A1 (en) Radio communication system and radio base station apparatus
CN100490434C (en) A wireless access apparatus and data transmission method thereof
JP2010124456A (en) Communication system, communication apparatus and terminal accommodation apparatus
US20030048772A1 (en) System for converting GR303 signals to NCS signals
KR100281421B1 (en) Interworking system and method between internet and next generation intelligent network
JP3538126B2 (en) Individual line termination method and system for virtual switching function in IP network
JP2006067354A (en) PON system and TDM signal transmission method
JP3795371B2 (en) Signal multiplexing transmission apparatus, signal multiplexing transmission apparatus, signal multiplexing reception apparatus, and transmission method
JP2010199794A (en) System and device for packet communication
US20050220153A1 (en) Communication device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: BEIJING GELINWEIER SCIENCE & TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: BEIJING GELINWEIER SCIENCE + TECHNOLOGY CO., LTD.

Effective date: 20080905

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20080905

Address after: Postal code 38, West Road, information industry base, Beijing, Haidian District: 100085

Applicant after: BEIJING GW TECHNOLOGIES Co.,Ltd.

Co-applicant after: GW Delight Technology Co.,Ltd.

Address before: Postal code 38, West Road, information industry base, Beijing, Haidian District: 100085

Applicant before: BEIJING GW TECHNOLOGIES Co.,Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: 100085 Beijing, Haidian District on the basis of information industry on the West Road, No. 38

Patentee after: BEIJING GW TECHNOLOGIES Co.,Ltd.

Patentee after: GW DELIGHT TECHNOLOGY Co.,Ltd.

Address before: 100085 Beijing, Haidian District on the basis of information industry on the West Road, No. 38

Patentee before: BEIJING GW TECHNOLOGIES Co.,Ltd.

Patentee before: GW Delight Technology Co.,Ltd.

PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20170914

Granted publication date: 20110420

PD01 Discharge of preservation of patent
PD01 Discharge of preservation of patent

Date of cancellation: 20171018

Granted publication date: 20110420

CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20110420