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
voice data
interface
pstn
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
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.)
Gelin Weier Sci-Tech Development Co., Ltd., Beijing
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
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The method thereof comprises: when the client-side transmits the TDM voice data, the TDM voice data is directly packaged into the Ethernet frame and is transmitted to the office side in uncompressed state; when the device at office side receives TDM voice data, it restores the original voice data and line signals from Ethernet frame, and transmits them to the PSTN network.

Description

A kind of voice service is in the method and system of Ethernet transmission
Technical field
The present invention relates to communication technical field, be meant the method and system of a kind of voice service especially in the Ethernet transmission.
Background technology
Voice service mainly is to realize in public switch telephone network (PSTN), along with developing rapidly of broadband connections, realizes that as access network voice service has been a kind of trend by the broadband packet net based on Ethernet (Ethernet).
At present, the main method that realizes voice service in the broadband packet net is VoIP (Voice over IP) mode, its basic principle is: transmit leg carries out compressed encoding by certain voice compression algorithm to the voice signal that will send to be handled, then the voice data behind these compressed encodings is packaged as the IP packet by related protocols such as IP, through IP network the IP data packet transmission is arrived the recipient again, after the recipient extracts voice data behind the compressed encoding from the IP packet that receives, after the decoding decompression processing, revert to original voice signal and offer recipient user.Come as can be seen, this mode transmits speech by IP network.
For the VoIP mode, owing to adopt the protocol dialog tone signal of IP layer to handle, therefore require to transmit, and, voice signal has been carried out compression handled in order to take less bandwidth in IP-based network.But, just because of this, also caused realizing equipment more complicated, the cost height of VoIP; And VoIP causes the speech transmissions time-delay bigger owing to will compress voice signal, is difficult to satisfy the requirement of Access Network to time-delay; In addition, with the PSTN network interworking time, need special-purpose conversion equipment to carry out the protocol conversion of VoIP and pstn signaling, make that the cost of realizing is higher.
Another kind of mode by transporting speech in the broadband packet net is the E1/T1 that the PSTN net uses to be encapsulated in the packet transmit, by E1/T1 voice-over business.But because the speed of E1/T1 is fixed, whether the voice data that no matter carries is effective, all to take fixing bandwidth, for example, even the number of users of a website may have only several roads in the Access Network of broadband packet net, but also need to take a complete E1, cause the Access Network bandwidth availability ratio not high.Also need special circuit to realize the concentrated convergence of speech channel in addition, cause on the cost also higher.
Summary of the invention
In view of this, main purpose of the present invention has been to provide the method and system of a kind of TDM voice service in the Ethernet transmission, with the transmission of realization speech more direct, succinct in the broadband access network based on Ethernet.
Voice service provided by the invention is in the Ethernet system for transmitting, comprise local side apparatus and client device, 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
Wherein, described local side speech access module 101 comprises:
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.
Wherein, 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.
Wherein, described protocol process module 215 comprises:
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.
Wherein, described client speech access module 104 comprises:
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.
TDM voice service provided by the invention is in the method for Ethernet transmission, and 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.
Wherein, 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.
Wherein, 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.
Wherein, 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.
Wherein, 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.
Wherein, described voice data is TDM voice service data.
By said method as can be seen, compare with the voip technology of describing in the background technology, the present invention directly is encapsulated in voice data in the ethernet frame to be transmitted, do not need complicated voice data compression and the protocol processes of VoIP, reduce the time delay of speech business and the complexity of access PSTN, greatly reduced the realization difficulty and the cost of equipment.
Compare with E1/T1 being encapsulated in the Ethernet transmission, voice data of the present invention is to be encapsulated in dynamically in the ethernet frame, and no speech channel does not just produce Frame, therefore only handles the effective voice data of conversing, and has reduced hash taking bandwidth.And the speech channel number of a website is arbitrarily, and unit minimum unlike E1 must be that 30 speech channels take the 2M bandwidth, so the present invention is highly susceptible to realizing the convergence of speech channel at the PSTN interface.
Description of drawings
Fig. 1 is that TDM voice service of the present invention is at Ethernet system for transmitting structure chart.
Fig. 2 is local side speech access module figure.
Fig. 3 is client speech access module figure.
Fig. 4 is the downlink processing flow chart of TDM voice service in the Ethernet transmission.
Fig. 5 is the up process chart of TDM voice service in the Ethernet transmission.
Embodiment
The present invention considers that the broadband packet net based on Ethernet generally adopts ethernet devices such as fiber optical transceiver, EPON, owing to be Optical Fiber Transmission, bandwidth is very big, and the speech channel of every road just only needs the bandwidth of 64K, and therefore, the present invention directly is encapsulated in TDM voice data, subscriber's line signal in the ethernet frame, and do not compress the local side apparatus that sends to of processing, after local side apparatus is received, from ethernet frame, recover original voice data, line signal again, be sent to the PSTN network.And, owing to carry out the processing of voice data at ethernet layer, and do not adopt the processing of upper-layer protocol, reduced the complexity of handling.
It is to be finished jointly by the service access interface (as telephony interface) of client device and the business interface (as the PSTN interface) of local side apparatus that the TDM voice service inserts, these two interfaces can be set up a kind of corresponding relation by configuration, the corresponding different TDM speech channel of different corresponding relations inserts, like this, local side just can dispose easily and connect.Referring to accompanying drawing, the present invention is described in detail.
Show realization TDM voice service of the present invention in the Ethernet system for transmitting as Fig. 1, the local side apparatus of this system comprises local side speech access module 101 and local side ethernet module 102.Local side speech access module 101 is responsible for the framing of ethernet frames, the realization function of separating the converging of frame, speech channel, PSTN interface (as: No. 1/7 signaling/V5/PRI interface etc.); Local side ethernet module 102 is responsible for a plurality of client devices are converged, and voice service and other service detach.
The client device of this system comprises client speech access module 104 and client ethernet module 103.Client speech access module 104 be responsible for speeches and line signalling data to the framing of ethernet frame, separate frame, and the realization of telephony interface; Client ethernet module 103 is responsible for the ethernet frame of voice-over data and other professional ethernet frames are focused on local side apparatus.
Local side apparatus and each client device need be allocated unique MAC Address in advance and identify, and the PSTN interface of local side apparatus identifies speech channel with serial number, and client device also comes the identification telephone interface with serial number.When this system transmissions TDM voice service, can dynamically set up the speech channel of a PSTN interface and the corresponding relation of telephony interface at local side apparatus, it is descending, the basic process of uplink is as follows:
Downlink transfer for the TDM speech business may further comprise the steps: after local side speech access module 101 receives PSTN code stream (as the HDB3 code stream) from certain PSTN interface, extract voice data and be packaged into ethernet frame, source address, destination address are respectively the MAC of local side apparatus, the MAC of client device in this frame, also will comprise the pairing telephony interface numbering of speech channel of the PSTN interface of described reception PSTN code stream; Packaged ethernet frame sends to client ethernet module 103 by local side ethernet module 102; Client speech access module 104 obtains to carry out decapsulation behind the ethernet frame from client ethernet module 103, obtains voice data, according to the numbering of the telephony interface in the frame voice data is sent to corresponding telephony interface again.
Uplink for the TDM speech business, inverse process for downlink transfer, may further comprise the steps: after client speech access module 104 receives voice service stream from certain telephony interface, extract voice data and be packaged into ethernet frame, source address, destination address are respectively the MAC of client device, the MAC of local side apparatus in this frame, also will comprise the telephony interface numbering of the telephony interface of described reception voice service stream; Packaged ethernet frame sends to local side ethernet module 102 by client ethernet module 103; Local side speech access module 101 obtains to carry out decapsulation behind the ethernet frame from local side ethernet module 102, obtains voice data, according to the numbering of the telephony interface in the frame voice data is sent to the speech channel of corresponding PSNT interface again.
Below speech access module structure in the local side apparatus of the present invention is elaborated, general PSTN interface is the HDB3 code stream, and as shown in Figure 2, local side speech access module 101 comprises following submodule:
HDB3/NRZ modular converter 201 is used for the HDB3 sign indicating number input of PSTN interface is converted to the NRZ sign indicating number.
PSTN separates frame module 202, be used to resolve the NRZ data code flow, extract voice data and deposit transmission buffer memory 203 in proper order in, in the present embodiment, PSTN interface and buffer address exist corresponding relation, and the data of handling at the speech channel of different PSTN interfaces deposit in different transmission buffer memory 203 addresses; On the other hand, also will extract the control protocol data sends to protocol process module 215 and carries out protocol processes.
Ethernet becomes frame module 204, according to the speech channel of the PSTN interface of dynamic-configuration and the corresponding relation of telephony interface, the voice data of preserving from transmission buffer memory 203 positions of described PSTN interface correspondence takes out, add that frame head information constitutes ethernet frame, sends to local side ethernet module 102 to send.Source address in the frame head information, destination address are respectively the MAC of local side apparatus, the MAC of client device, also comprise the pairing telephony interface numbering of speech channel of described PSTN interface.
Ethernet is separated frame module 214, determine that according to source MAC in the Ethernet frame head that receives and telephony interface numbering this frame belongs to the voice data of which client, and, the voice data in the frame is taken out in the appropriate address of the pairing reception buffer memory 213 of speech channel that deposits described PSTN interface in according to the speech channel of the PSTN interface of dynamic-configuration and the corresponding relation of telephony interface.
PSTN becomes frame module 212, and order is read the voice data of buffer memory from receive buffer memory 213, adds that the protocol data of frame head and carrying forms PSTN interface transmission data NRZ code stream.
NRZ/HDB3 modular converter 211 is responsible for that PSTN interface transmission data are converted to the HDB3 sign indicating number from the NRZ sign indicating number and is sent to the PSTN interface.
Protocol process module 215 comprises HDLC interface 2151, processor 2152, configuration management interface 2153.HDLC interface 2151 is responsible for the forwarding of protocol data between the PSTN interface ﹠ processor 2152.Processor 2152, be responsible for the hello protocol that the PSTN interface receives is handled (comprising protocol processes such as signaling/V5/PRI No. 1/7), comprise corresponding relation (promptly setting up speech channel), also comprise processing (comprising control ring, dislodging machine testing etc.) the telephony interface subscriber signaling according to hello protocol dynamic-configuration PSTN interface speech channel and telephony interface.Configuration management interface 2153, realize the control and the management of 2152 pairs of hardware circuits of processor, comprise MAC Address, client telephone number of users, the indication dynamic-configuration PSTN speech channel of receiving processor 2152 and the corresponding relation of client speech channel etc. of configuration local side and client.
In Access Network, according to the rule of statistic multiplexing, first line of a couplet speech channel number and total number of users dispose by a certain percentage and can satisfy actual instructions for use, and system need realize the convergence of converging of speech channel.In native system, protocol process module 215 is according to the PSTN agreement that receives, the speech channel of dynamic-configuration PSTN interface and the corresponding relation of telephony interface, the Ethernet framing is conciliate frame module according to the speech channel of the PSTN interface of dynamic-configuration and the corresponding relation of telephony interface, only handle the voice data of the telephony interface that has distributed speech channel, do not send and receive the Frame of the telephony interface of unallocated speech channel, ingenious realization speech channel converge convergence.
Below speech access module structure in the client device of the present invention is elaborated, as shown in Figure 3, comprises with lower module:
Client ethernet is separated frame module 301, takes out voice data and deposit in the reception buffer memory 302 from the ethernet frame that receives.
Clock recovery module 304 recovers the clock of voice data, is used for the input and output of cable voice port data.Wherein, can recover the clock of voice data according to the flow that receives buffer memory 302 inflow data, this can be based on the digital phase-locked loop principle, the state output that receives buffer memory 302 is converted into down the phase demodulation output of row clock and local recovery clock, obtain and the local recovery clock of local side clock, and guarantee that the output jitter characteristic of recovered clock reaches requirement with frequency.Certainly, also can adopt other clock mode to carry out synchronously, for example in ethernet frame, carry time synchronization information and realize that transmit leg and recipient's is synchronous etc.
Voice data output module 303 takes out voice data from receive buffer memory 302, export to the user by telephony interface (as the TDMbus interface).
Voice data input module 313 receives voice data from telephony interface, and deposits transmission buffer memory 312 in.
Client ethernet becomes frame module 311, and the voice data that sends storage in the buffer memory 312 is taken out, and adds that frame head information constitutes ethernet frame.Source address in the frame head information, destination address are respectively the MAC of client device, the MAC of local side apparatus, also comprise the numbering of the telephony interface of described reception voice data in the frame.Need to prove,, therefore only send the speech channel data of conversing herein, reduced hash taking bandwidth because only the data of conversation are stored in the transmission buffer memory 312.
Here need to prove, be with descending above, uplink is respectively example system of the present invention is described, in concrete implementation procedure, the module of up-downgoing correspondence may be realized by a module with two-way function, HDB3/NRZ modular converter for example, the NRZ/HDB3 modular converter is realized by the module of the bi-directional conversion of a NRZ/HDB3, and for example PSTN or Ethernet separates frame module, become frame module to realize by the frame module of separating/become of a bidirectional interface respectively, receive, send buffer memory and realize, the voice data input by a buffer memory, output module is realized or the like by a two-way input/output module.
Referring to Fig. 1~3,, the method for TDM voice service of the present invention in the Ethernet transmission is described in detail respectively with descending, last behavior example.The flow chart of downlink transfer as shown in Figure 4 may further comprise the steps:
In advance, local side apparatus is set up the speech channel of a PSTN interface and the corresponding relation of telephony interface, promptly sets up a speech channel.This speech channel can be set up in calling procedure, carries out the processing of PSTN agreement by protocol process module 215 and parent office, sets up this speech channel according to the annexation of PSTN protocol configuration PSTN interface and telephony interface.The foundation of speech channel is standard, and the present invention does not give unnecessary details.The processing of the downlink transfer of data of the present invention may further comprise the steps:
Step 401:HDB3/NRZ modular converter 201 receives the HDB3 code stream of PSTN interface, is converted to the NRZ code stream; Send to PSTN and separate frame module 202.
Step 402:PSTN separates frame module 202 and resolves the NRZ data code flow of receiving, extract voice data and deposit the address of the transmission buffer memory 203 of described PSTN interface correspondence in proper order in, extract the control protocol data simultaneously and send to protocol process module 215 and carry out protocol processes.
Step 403: Ethernet becomes frame module 204 according to the speech channel of the PSTN interface of processor 2152 configurations of protocol process module 215 and the corresponding relation of telephony interface, from transmission buffer memory 203 addresses of described PSTN interface correspondence, read out the voice data of buffer memory, and the information such as MAC Address, purpose telephony interface that add are packaged into ethernet frame, send to local side ethernet module 102.Wherein, source, target MAC (Media Access Control) address are respectively the MAC Address of local side apparatus, client device, and the purpose telephony interface is the pairing telephony interface of speech channel of the PSTN interface of configuration.
Step 404: local side ethernet module 102 sends to the purpose client device by ethernet network with packaged ethernet frame, is received by the client ethernet module 103 of the client device of purpose.
Step 405: client ethernet module 103 sends to client ethernet with the ethernet frame that receives and separates frame module 301.
Step 406: client ethernet is separated the ethernet frame of 301 pairs of receptions of frame module and is separated the frame processing, takes out packaged voice data and deposits in reception buffer memory 302 addresses corresponding with purpose telephony interface in the frame;
Step 407: clock recovery module 304 deposits the traffic statistics of buffer memory in according to voice data, recovers clock with the down voice data consistent with digital phase-locked loop.
Step 408: voice data output module 303 takes out voice data according to the clock that recovers from reception buffer memory 302 addresses corresponding with the purpose telephony interface, sends to telephone interface circuit (as the TDMbus interface) output.
Flow chart referring to uplink as shown in Figure 5 may further comprise the steps:
Step 501: voice data input module 313 deposits the voice data that receives from telephony interface in and sends buffer memory 312.Adopt the clock that from downlink data, recovers herein, like this upstream data rate with descending be consistent, local side does not need recovered clock from upstream data, directly gets final product with following row clock.
Step 502: client ethernet becomes frame module 311 that the voice data that sends storage in the buffer memory 312 is taken out, and adds frame head information formation ethernet frames such as MAC Address, sends to client ethernet module 103.Wherein, source, target MAC (Media Access Control) address are respectively the MAC Address of client device, local side apparatus, also want the numbering of portable phone interface.
Step 503: client ethernet module 103 sends to the purpose local side apparatus by ethernet network with packaged ethernet frame, by local side ethernet module 102 receptions of purpose local side apparatus.
Step 504: local side ethernet module 102 sends to the local side Ethernet with the ethernet frame that receives and separates frame module 214.
Step 505: the local side Ethernet is separated frame module 214 and is determined that according to information such as source MACs in the Ethernet frame head that receives this frame belongs to the voice data of which telephony interface of that client, and, the voice data in the frame taken out deposit the speech channel corresponding address that receives PSTN interface described in the buffer memory 213 in according to the speech channel of the PSTN interface of dynamic-configuration and the corresponding relation of telephony interface.
Step 506:PSTN becomes frame module 212 orders to read voice data from receive buffer memory 213, adds the protocol data of frame head and carrying, forms the PSTN interface and sends data NRZ code stream, sends to NRZ/HDB3 modular converter 211.
Step 507:NRZ/HDB3 modular converter 211 sends data to the PSTN interface and is converted to the HDB3 sign indicating number from the NRZ sign indicating number, sends to corresponding PSTN interface.
From top embodiment as can be seen, the present invention is when realizing inserting the PSTN network, directly voice data is encapsulated in the ethernet frame and transmits, do not have the protocol processes of complicated voice data compression and VoIP to reduce time delay and the complexity handled, greatly reduce the realization difficulty and the cost of equipment; And, the present invention is because voice data is to be encapsulated in dynamically in the ethernet frame, and no speech channel does not just produce Frame, therefore only handles the effective voice data of conversing, reduce hash to the taking of bandwidth, be highly susceptible to realizing the convergence of speech channel at the PSTN interface.
Above-mentioned is the description of carrying out with based on the TDM speech business, when PSTN has adopted other modes to realize speech business, is equally applicable to the present invention during for example based on the CDM speech business or based on the FDM speech business, repeats no more.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

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 Active 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 Active 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 and device for sealing number of video networking equipment, electronic equipment and readable storage medium
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
CN100484108C (en) Voice packet switching machine and switching system thereof
KR100567707B1 (en) Apparatus and method for a telephony gateway
US7076064B2 (en) Maintaining end-to-end synchronization on telecommunications connection
CN101014017A (en) Switching apparatus having universal transport of data packet frames
US6072794A (en) Digital trunk interface unit for use in remote access system
US20050190756A1 (en) RTP payload for voice band data transmission
AU7610401A (en) VoIP gateway device and digital one-link tandem exchange method
CN1941819B (en) Method and system for transmitting speech service in Ethernet
CN100477649C (en) Audio frequency net gateway apparatus
US7397793B2 (en) V.110 over packet networks
US8102873B2 (en) Communication system, communication apparatus and terminal accommodation apparatus
US20100098052A1 (en) Radio communication system and radio base station apparatus
US7035282B1 (en) Wideband telephones, adapters, gateways, software and methods for wideband telephony over IP network
Cisco Overview
CN101184040A (en) Router and method of implementing circuit simulation applying the router
US20020114321A1 (en) Method and system for translating between circuit and packet identifiers for a communication connection
CN102137112A (en) Method and device for converting media streams
US20020114320A1 (en) Method and system for providing multiple packet connections for a circuit connection across a circuit-to-packet interworking unit
JP3538126B2 (en) Individual line termination method and system for virtual switching function in IP network
US7729332B2 (en) Technique for transferring data from a time division multiplexing network onto a packet network
JP2006067354A (en) Pon system and method for transmitting tdm signal
US8331357B2 (en) Computer telephony using a circuit-switched network
US20050220153A1 (en) Communication device
JP2000349898A (en) Telephone exchange
JPH11239185A (en) Constitution method for multi-media access network

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 Green weir science and Technology Development Co., Ltd.

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

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

Applicant before: Gelin Weier Sci-Tech Development Co., Ltd., Beijing

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: Gelin Weier Sci-Tech Development Co., Ltd., Beijing

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: Gelin Weier Sci-Tech Development Co., Ltd., Beijing

Patentee before: Beijing GW Delight Technology Co., Ltd.

PP01 Preservation of patent right

Effective date of registration: 20170914

Granted publication date: 20110420

PP01 Preservation of patent right
PD01 Discharge of preservation of patent

Date of cancellation: 20171018

Granted publication date: 20110420

PD01 Discharge of preservation of patent