CN101312428A - Voice packet transmitting and receiving method, media gateway and mobile switching center server - Google Patents

Voice packet transmitting and receiving method, media gateway and mobile switching center server Download PDF

Info

Publication number
CN101312428A
CN101312428A CNA2007100996436A CN200710099643A CN101312428A CN 101312428 A CN101312428 A CN 101312428A CN A2007100996436 A CNA2007100996436 A CN A2007100996436A CN 200710099643 A CN200710099643 A CN 200710099643A CN 101312428 A CN101312428 A CN 101312428A
Authority
CN
China
Prior art keywords
media gateway
gateway
mobile switching
switching center
center server
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.)
Pending
Application number
CNA2007100996436A
Other languages
Chinese (zh)
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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CNA2007100996436A priority Critical patent/CN101312428A/en
Publication of CN101312428A publication Critical patent/CN101312428A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method for sending and receiving voice package, a media network gateway and a MSC server thereof. The method comprises steps that: the sender media network gateway combines the common voice packages received at the same time and sent to different users of a receiver media network gateway into a synthesis voice package; and sends the synthesis voice package to the receiver media network gateway. The invention packages a plurality of common voice packages into a synthesis voice package for the transmission between the sender network gateway and the receiver media gateway, wherein the common voice packages share one IP package head, thereby improving the real bandwidth utilization and reducing transmission cost. Further, the invention combines the common voice packages sent to different users of a receiver media network gateway, to eliminate the prolongation of frame length and the waiting time.

Description

Voice packet sending, receiving method, media gateway and Mobile Switching Center Server
Technical field
The present invention relates to the transmission and the reception technique of voice packet, relate in particular to and in having the flexible exchanging network of media gateway, realize the technology that voice packet sends and receives, belong to communication technology application.
Background technology
Softswitch technology is one of core technology of network evolution and next-generation packet network, it by software mode realize original switch control, continue and function such as Business Processing, agreement by standard between each entity connects and communicates by letter, be convenient in next generation network (Next GenerationNetwork is called for short NGN), realize the agreement of all kinds of complexity quickly and provide professional more easily.
The media gateway of soft switchcall server (Media Gateway, hereinafter to be referred as: be a unit that connects different type network MGW), be mainly used in and carry out media conversion and Frame Protocol conversion.MGW can support multiple voice encoding and decoding format simultaneously when carrying out speech processes, as, G.711, G.729 wait.
For example, with encoding and decoding G.729 is example, when carrying out speech processes, to time division multiplexing (TimeDivision Multiplex, be called for short: the TDM) pulse code modulation of side (Pulse CodeModulation, be called for short: PCM) code stream, adopt digital signal processor (Digital SignalProcessor, be called for short: DSP) realize the conversion of speech coding, divide frame by fixing 10ms packaging time length, do G.729 encoding and decoding conversion, promptly defer to G.729 standard agreement, simultaneously can do the voice activity detection function by configuration parameter, processing such as silence compression function, according to 10ms, after 20ms or 30ms multiframe are multiplexing, encapsulate RTP (Real Time Transport Protocol then, abbreviation RTP) (User Datagram Protocol is called for short: UDP) packet header sends to IP network then for packet header and User Datagram Protoco (UDP).The voice packet structure that is adopted is as shown in table 1, and G.729 the speed of algorithm is 8Kbit/s, so each voice packet has (20ms * 8Kbit/s)/8=20 byte.RTP packet header is fixed as 12 bytes, and UDP packet header is fixed as 8 bytes, and IP packet header is fixed as 20 bytes.Therefore, each voice packet is packaged into that total length is 60 bytes after the IP packet.
Table 1
20byte 8byte 12byte 20 bytes
The IP head The UDP head The RTP head G.729 speech frame
Because this IP packets need is sent in 20ms, so do not consider 2 layers of link overhead, press G.729 algorithm computation, then every road telephone bandwidth is 60byte * 8/20ms=24kbit/s.
The defective of prior art is: the existing voice pack arrangement needs to increase RTP packet header, UDP packet header, IP packet header, multiprotocol label switching (Multiprotocol Label Switch in the transmission course on link, MPLS) protocol header, (Point to Point Protocol, be called for short: PPP) protocol header, Ethernet (Ethernet), SDH (Synchronous Digital Hierarchy) (Synchronous Digital Hierarchy, be called for short SDH) expense such as optical-fiber network, because the speech frame proportion is very little, therefore the actual bandwidth utilance is very low, thereby causes the huge waste of transfer resource.
Particularly, when transmitting on ethernet link, the existing voice bag need increase the ethernet link layer expense.For example, one G.729 speech frame add that the total length after the Ethernet data link layer expense is 78 bytes.Add that physical layer overhead is 98 bytes.Therefore, the physical layer utilance of existing voice bag payload on Ethernet only is: 20/98=20.4%.When on the SDH optical network link, transmitting, the packet of several 77 bytes is inserted the payload section of SDH, the payload section of a SDH frame is actual can only fill 30 packets, i.e. 77 * 30=2310 byte is so soft switch voice packet payload is about in 155M link physical layer utilance: 20 * 30/ (270 * 9)=24.7%.
In addition, because speech communication is a kind of real time business, time delay there is strict demand.According to the existing standard regulation, the time delay of soft switch side can not surpass 25ms, otherwise will influence speech quality.Adopting the frame length of the speech frame of the encoding and decoding that form G.729 carries out is 20ms, and promptly time delay has been 20ms.Therefore can't improve bandwidth availability ratio by the method that prolongs frame length, because frame length is long more, time delay is long more.
Summary of the invention
The problem to be solved in the present invention is: under the condition that does not increase time delay, improve the bandwidth availability ratio of flexible exchanging network.
In order to address the above problem, one embodiment of the present of invention provide a kind of voice packet sending method, comprising: the normal speech inclusion of the different user that mails to same receiving end media gateway that the media gateway of making a start will receive at synchronization becomes the synthetic speech bag; The synthetic speech bag is sent to described receiving end media gateway.
In order to address the above problem, one embodiment of the present of invention provide a kind of voice packet method of reseptance, comprising: after the receiving end media gateway receives the synthetic speech bag, the synthetic speech bag is split into the normal speech bag; Normal speech bag after splitting is handled or transmitted.
In order to address the above problem, one embodiment of the present of invention provide a kind of media gateway of making a start, and comprising: first communication module is used to receive the normal speech bag that comes from different user; Synthesis module, the normal speech inclusion that is used for the different user that mails to same receiving end media gateway that first communication module is received at synchronization becomes the synthetic speech bag; Second communication module, the synthetic speech bag that is used for being generated by described synthesis module sends to described receiving end media gateway.
In order to address the above problem, one embodiment of the present of invention provide a kind of receiving end media gateway, comprising: split module, the synthetic speech bag that is used for receiving splits into the normal speech bag; Processing module is used for the normal speech bag that splits after module splits is handled or transmitted.
In order to address the above problem, one embodiment of the present of invention provide a kind of generation method of gateway capability list of media gateway, comprise: after the gateway ability information that comes from media gateway that Mobile Switching Center Server receives, with the preservation that is associated with the IP address of this media gateway of this gateway ability information, generate the gateway capability list on this Mobile Switching Center Server; After Mobile Switching Center Server detects all connected media gateway and all finishes the gateway ability information and send, all list item information of the gateway capability list on this moving switching center server are sent to described media gateway; Described media gateway is preserved the list item information that receives, and generates the gateway capability list on this media gateway.
In order to address the above problem, one embodiment of the present of invention provide a kind of update method of gateway capability list of media gateway, comprise: after media gateway detects gateway capability list on this media gateway and is modified, send the capability list update inquiry information that carries the list item information that is modified to coupled Mobile Switching Center Server; Mobile Switching Center Server upgrades the gateway capability list on this Mobile Switching Center Server according to the list item information of carrying in the capability list update inquiry information, and sends the capability list update command message of the list item information after carrying renewal to other media gateway except that the transmit leg media gateway that are connected with this Mobile Switching Center Server; Media gateway is upgraded the gateway capability list on this media gateway according to the list item information of carrying in the capability list update command message.
In order to address the above problem, one embodiment of the present of invention provide a kind of Mobile Switching Center Server, comprise: the capability list generation module, the gateway ability information that comes from media gateway that is used for the receiving preservation that is associated with the IP address of this media gateway generates the gateway capability list on this Mobile Switching Center Server; The first list item sending module, be used for after detecting all media gateway that are connected with this Mobile Switching Center Server and all finishing the gateway ability information and send, all list item information of the gateway capability list that the capability list generation module is generated send to described media gateway.
In order to address the above problem, one embodiment of the present of invention provide another kind of Mobile Switching Center Server, comprise: the capability list update module, be used for the list item information of carrying, the gateway capability list on this Mobile Switching Center Server is upgraded according to the capability list update inquiry information that comes from media gateway; The update command sending module, be used for to other media gateway transmitting capacity table update command message except that the transmit leg media gateway that are connected with this Mobile Switching Center Server, media gateway is upgraded the gateway capability list on this media gateway, wherein, carry the list item information after the renewal in the capability list update module in the described capability list update command message.
By the present invention, because a plurality of normal speech bags are encapsulated as a synthetic speech to wrap in to make a start and transmits between media gateway and the receiving end media gateway, a plurality of normal speech bags are common to use an IP packet header, so has improved the actual bandwidth utilance greatly, has reduced transmission cost.And the normal speech bag of the different user by will sending to same receiving end media gateway merges, and does not need to prolong frame length, does not also need the stand-by period.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
Fig. 1 is the flow chart of the embodiment of the invention 1 described voice packet sending and receiving method;
Fig. 2 is the generation method flow diagram of the embodiment of the invention 2 described gateway capability lists;
Fig. 3 is the update method flow chart of the embodiment of the invention 3 described gateway capability lists;
Fig. 4 is the embodiment of the invention 1 described flow chart that generates and sends the synthetic speech bag;
Fig. 5 is the flow chart of the embodiment of the invention 1 described fractionation synthetic speech bag;
Fig. 6 is the embodiment of the invention 4 described media gateway architectures schematic diagrames of making a start;
Fig. 7 is the structural representation of the embodiment of the invention 5 described receiving end media gateway;
Fig. 8 is the structural representation of the embodiment of the invention 6 described MSC servers;
Fig. 9 is the structural representation of the embodiment of the invention 7 described another kind of MSC servers.
Embodiment
Embodiment 1
Present embodiment provides a kind of voice packet method of sending and receiving, as shown in Figure 1, comprising:
Step 101, after the media gateway of making a start receives the normal speech bag that comes from the user, judge whether the receiving end media gateway that this normal speech bag will mail to supports the synthetic speech packet function, it is execution in step 110 then, otherwise execution in step 120 directly sends to the receiving end media gateway with the normal speech bag that receives.Wherein, the normal speech bag is meant the voice packet without merging that adopts existing frame format.It needs to be noted all have the ability of supporting the synthetic speech bag if can learn all media gateway in this flexible exchanging network in advance herein, then this step is omissible.
Concrete determination methods can have multiple, for example, can set up a gateway capability list in media gateway, and is as shown in table 2,
Table 2
The MGW title MGW IP address Whether support the synthetic speech bag
MGW1 10.0.0.1 Be
MGW2 10.0.0.10 Be
…… …… ……
IP address of preserving each media gateway in the flexible exchanging network and the gateway ability information of whether supporting synthetic speech bag ability are associated in the gateway capability list.The media gateway of making a start is by inquiring about the gateway ability that just can judge corresponding receiving end media gateway to the gateway capability list.Wherein, this gateway capability list can be by manually or automatically realizing the configuration of list item.
Step 110, the normal speech bag of the different user that mails to same receiving end media gateway that the media gateway of making a start will receive at synchronization merges, and sends to this receiving end media gateway then.Particularly, can adopt step as shown in Figure 4 to realize.
Step 110A, the list item information in the gateway capability list of preserving according to the Home Network Central Shanxi Plain in the media gateway of making a start in advance is for the MGW in each list item is provided with a buffer queue.
Step 110B, the media gateway of making a start will join in the corresponding buffer queue at the normal speech bag that mails to same receiving end media gateway that synchronization receives.
Step 110C is encapsulated as the normal speech bag in the buffer queue synthetic speech bag of an IP data packet format.Wherein, the IP address that includes the receiving end media gateway in the IP head of IP packet.The IP data packet format of synthetic speech bag is as shown in table 3.
Table 3
20 bytes, 8 bytes, 12 bytes, 20 bytes, 8 bytes, 12 bytes, 20 bytes
The IP head The UDP head The RTP head Speech frame The UDP head The RTP head Speech frame ……
As shown in table 3, the speech frame length in each normal speech bag is generally 20 bytes, but in the practical application, the speech frame that mails to the different user of same MGW may adopt different code encoding/decoding modes, therefore, the length of speech frame also may be different, but this does not influence the normal speech inclusion is become.
In the Ethernet of reality was used, the maximum of above-mentioned synthetic speech bag allowed length preferably to be no more than MTU (Maximum Transmission Unit, the abbreviation: length MTU) of Ethernet.This be because, MTU is meant the maximum data packet that allows transmission on the Ethernet, the IP packet that the surpasses MTU length transmission of will splitly coming, can produce a lot of packet bursts like this, receiving end need wait for that all bursts reconfigure after here and be reduced into complete IP packet that this can increase the expense and the time delay of network undoubtedly.When the length of MTU was 1500 bytes, for fear of the overhead that the IP packet fragmentation reorganization brings, the length of synthetic speech bag should not surpass 1500 bytes.Suppose that the normal speech that is synthesized to the synthetic speech bag is surrounded by N, UDP head+RTP head+voice frame length=40 bytes, the IP head is 20 bytes, two layers of expense of Ethernet are 18 bytes, then N should satisfy inequality: 40 * N+20<=1500-18, result of calculation is: N<=36, promptly in order to avoid the problem of IP packet fragmentation reorganization, the number that can be synthesized to the normal speech bag of synthetic speech bag is at most 36.The IP payload length of synthetic speech bag is 1440 bytes, can fill 36 of the synthetic speech bags of encoding and decoding 20ms frame length G.729.If encapsulate the speech frame of other encoding and decoding, IP payload length and UDP voice packet number can change, but the IP payload length can not surpass 1482 bytes.
Step 110D sends to the receiving end media gateway with the synthetic speech bag, and empties buffer queue.
Because a plurality of normal speech bags that are synthesized in the synthetic speech bag send to the media gateway of making a start at synchronization, therefore do not need the stand-by period, can not increase the wait time delay yet.In addition, one formation timer can also be set in the media gateway of making a start, in predetermined timing, if the total length of the synthetic speech bag after the encapsulation has reached the length of the MTU of Ethernet, then do not wait timing to arrive, just begin the normal speech bag in the buffer queue is encapsulated.
If in predetermined timing, the total length of the described synthetic speech bag after the encapsulation does not reach the length of the MTU of Ethernet, then when described timing arrives, the normal speech bag in the described buffer queue is encapsulated as the synthetic speech bag of an IP data packet format.
The purpose of doing like this is under the time delay condition that allows, and synthetic normal speech bag as much as possible is to improve network bandwidth utilance as far as possible.But long for fear of delay time, the timing of above-mentioned formation timer can be configured as required, can default setting be 5ms for example.The purpose that this formation timer is set is that the quantity for the normal speech bag that prevents to mail to certain MGW in a period of time causes waits for too long very little, thereby brings the long problem of time-delay.
Step 111 after the receiving end media gateway receives the synthetic speech bag, splits into the normal speech bag, handles by the normal speech bag then.Particularly, as shown in Figure 5, can comprise the steps:
Step 111A after the receiving end media gateway receives the voice packet that comes from the media gateway of making a start, judges whether this voice packet is the synthetic speech bag, is execution in step 111B then, otherwise this voice packet is handled by the normal speech bag.
Concrete determination methods can be: the length field value in the UDP packet header in the total length field value in the IP packet header that receives voice packet and this voice packet is compared, if both differences are greater than the length in IP packet header, for example, the length of supposing the IP packet header of employing is 20 bytes, above-mentioned both difference is greater than 20 bytes, then show to include an above UDP message bag in this voice packet at least, illustrate that this voice packet is the synthetic speech bag; Otherwise,, show that then this voice packet is without synthetic normal speech bag if above-mentioned both difference equals the length in IP packet header.
Step 111B splits into the normal speech bag with the synthetic speech bag, handles by the normal speech bag.
Particularly, can be by in the receiving end media gateway, increasing the functional layer of unpacking, this function is between IP layer and UDP layer, after the receiving end media gateway is judged the voice packet that receives and is the synthetic speech bag, this voice packet is not transmitted to the udp protocol resume module but is transmitted to the functional layer of unpacking and handle.
Particularly, the unpack function of functional layer can realize by following algorithm:
If L1 is the length in IP packet header, L2 is the total length of synthetic speech IP bag, L_ip=L2-L1, the value in the length field in first UDP packet header of L_udp=.
int i,j;
I=L1, j=L1+L_udp; // the fractionation point in the synthetic speech bag is set
L=L_ip-L_udp; The length in //IP packet header and the total length of synthetic speech bag poor
While (L>=0) // be provided with splitting condition
{
With i, the content between the j is issued the udp protocol processing module; // split out the UDP voice packet
If (L=0) break; // judge whether that fractionation finishes
Value in the length field in the next UDP of the L_udp=packet header;
i=j;
J=i+L_udp; // upgrade splitting point
L=L-L_udp;
}
By the described method of present embodiment, because a plurality of normal speech bags are encapsulated as a synthetic speech to wrap in to make a start and transmits between media gateway and the receiving end media gateway, a plurality of normal speech bags are common to use an I P packet header, so has improved the actual bandwidth utilance greatly.The analysis showed that adopt this to implement described synthetic speech and wrap in ethernet link when transmitting, the required bandwidth that takies only is 0.42 of existing method; When transmitting on the SDH link, the required bandwidth that takies only is 0.54 of existing method, promptly saves the bandwidth resources about half approximately, thereby has improved actual bandwidth availability ratio greatly, has reduced transmission cost.
And, the described method of present embodiment is that the normal speech bag that will send to the different user of same receiving end media gateway merges, in actual conditions, because the telephone traffic of carrier class MGW is very big, the media gateway of making a start is very many in the quantity of the normal speech bag that comes from different user that synchronization receives, and these normal speech bags is merged, except the certain generated time of needs, need to prolong frame length hardly, also do not need the stand-by period.And generated time wherein only is the microsecond magnitude, compares almost and can ignore with the speech frame of millisecond magnitude.
Embodiment 2
The concrete generation and the update method of the gateway capability list described in the above-mentioned steps 101 can be by media gateway by (Mobile Switching Center is called for short: MSC) the server realization that matches with mobile switching centre.Wherein, the MSC server is a functional entity among the MSC, and it and MGW realize the function of exchange in the Soft core net jointly, below are specifically described:
The generative process of gateway capability list as shown in Figure 2,
Step 201, MGW sends the gateway ability information of this gateway to connected MSC server, is used to notify this gateway of MSC server whether to have the ability of supporting the synthetic speech bag.
Particularly, can realize according to (Non Standard Data) parameter by the nonstandard numbers in the change request of the server service in the existing protocol (ServerServiceChange.Req) order.For example, can non-standard data parameters be set to " the synthetic speech bag is supported in MGW title, MGW IP address ", show that promptly the MGW with this IP address supports the synthetic speech packet function.
Step 202, the gateway ability information that comes from MGW that the MSC server will receive are associated with the IP address of this MGW and are kept in the gateway capability list on the book server, promptly generate gateway capability list as shown in table 4.
Step 203 after the MSC server detects all connected MGW and all finishes the gateway ability information and send, sends MGW with all list item information of gateway capability list and preserves.
Step 204 if having a plurality of MSC servers in a flexible exchanging network, then after a MSC server is finished the generation of gateway capability list, can also send to the list item information of gateway capability list adjacent MSC server.
Particularly, can be by control (Bearer Independent CallControl Protocol, abbreviation: the BICC) management of the initial address in the agreement (Initial AddressManagement abbreviation, IAM) message realization with the calling of bearer independent.For example, can fill in the office number of receiving end MSC server in the called number of IAM message (CalledNumber is called for short CLD) field, encoding and decoding tabulation (CodecList) field is filled in " the synthetic speech bag is supported in MGW title, MGW IP address ".
Step 205, adjacent MSC server is saved in the list item information that receives on the book server, then by with step 203 similarly mode notify coupled MGW, and preserve by MGW is closed the gateway capability list from this adjacent MSC server replicates to Home Network.
It needs to be noted that herein received that the MSC server of IAM message no longer sends IAM message to other adjacent MSC servers, doing like this is to occur loop or endless loop in the system for avoiding.If receiving end MSC server need send MGW gateway ability information collection in this territory to the MSC server of making a start, can (Application TransportMechanism, be called for short: APM) message realizes by the application transport mechanism in the existing protocol.
It needs to be noted herein, realized h.323-configured gateway capability list on MGW by step 201-205, but not by said method but also be fine by manually the gateway capability list being configured on each MGW, and can realize automatically the configuration of gateway capability list helping improving allocative efficiency by the described method of present embodiment.
By the described method of present embodiment, realized automatic generation gateway capability list, to compare with manual configuration, speed is faster, and efficient is higher, and accuracy is higher, and saves human cost.
Embodiment 3
Present embodiment provides a kind of gateway capability list on the media gateway has been carried out method for updating, as shown in Figure 3, comprises the steps:
Step 301 after MGW detects Home Network and shuts the gateway capability list of preservation and be modified, to MSC server transmitting capacity table update inquiry information, wherein carries the list item information that is modified.Particularly, MGW can report the MSC server by the notification request message in the existing protocol (Notify.reqeust), asks the more relevant information of new gateway capability list.
Wherein, the user goes up the gateway capability list of preserving to MGW and makes amendment, and can realize by the user interface that disposes on MGW, and particularly, the user can open or close the synthetic speech packet function of this gateway by user interface.
After step 302, MSC server receive the capability list update inquiry information that comes from MGW, upgrade according to the corresponding list item of the list item information of wherein carrying to the gateway capability list preserved on the book server.
After step 303, MSC server are finished the renewal of gateway capability list, send the capability list update command message of the list item information after carrying renewal to other MGW that are connected with this MSC server.Particularly, capability list update command message can adopt the modify request messages (Modify.request) in the existing protocol.
In addition, the MSC server can also upgrade the MGW recovery capacity table renewal acknowledge message of list item as required to request, finished renewal to notify this MGW gateway capability list.Particularly, capability list renewal acknowledge message can adopt the notice response message (Notify.reply) in the existing protocol.
Step 304, after MGW received capability list update command message, the gateway capability list of Home Network being shut preservation according to the list item information of wherein carrying upgraded.
Step 305, if there are a plurality of MSC servers in the flexible exchanging network, after then a MSC server is finished the renewal of gateway capability list, list item information after upgrading can also be sent to adjacent MSC server, the gateway capability list on book server and the coupled MGW be upgraded by this adjacent MSC server.Particularly, can realize the list item information transmission by IAM message according to being similar to the described method of step 205.
It needs to be noted herein, if user's modification is that gateway capability list rather than the MGW that preserves on the MSC server goes up the gateway capability list of preserving, then the MSC server can be directly to be connected the capability list update command message that every other MGW sends the list item information after carrying renewal with it; After MGW received capability list update command message, the gateway capability list of Home Network being shut preservation according to the list item information of wherein carrying upgraded.Particularly, capability list update command message can adopt the modify request messages (Modify.request) in the existing protocol.
By the described method of present embodiment, realized the renewal of automatic gateway capability list, compare with manual configuration, speed is faster, and efficient is higher, and accuracy is higher, and when network configuration changes, can realize automatically upgrading, upgrades more timely, the saving human cost.
Embodiment 4
Present embodiment provides a kind of media gateway of making a start, and as shown in Figure 6, the media gateway of making a start 4 comprises: first communication module 41, synthesis module 42 and second communication module 43.
Wherein, first communication module 41 is used to receive the normal speech bag that comes from different user; Synthesis module 42, the normal speech inclusion that is used for the different user that mails to same receiving end media gateway that first communication module 41 is received at synchronization becomes the synthetic speech bag; Second communication module 43 is used for the synthetic speech bag that synthesis module 42 generates is sent to described receiving end media gateway.Particularly, carrying out Ethernet when transmission because the overhead that the burst reorganization brings for fear of the IP packet, therefore, when the total length of synthetic speech bag after the encapsulation in the first communication module 41 had reached the length of MTU of Ethernet, second communication module 43 just can send it.
Particularly, synthesis module 42 can specifically comprise: cache module 42A and package module 42B.Wherein, cache module 42A is used to the receiving end media gateway that buffer queue is set, and the normal speech bag of the different user that mails to same receiving end media gateway that first communication module 41 is received at synchronization joins in the corresponding buffer queue; Package module 42B is used for the normal speech bag in the buffer queue of described cache module 42A is encapsulated as the synthetic speech bag of an IP data packet format, wherein, includes the IP address of described receiving end media gateway in the IP head of this IP packet.
In addition, in the synthesis module 42 time block 42C can also be set: be used to be provided with the formation timer, when the timing of this formation timer arrives, send timing signal to package module 42B; After package module 42B receives this timing signal, do not reach the length of the MTU of Ethernet although the normal speech in the buffer queue among the general cache module 42A is at this moment sealed the total length of the synthetic speech bag behind the dress, but still begin to carry out the step of encapsulation synthetic speech bag.The purpose of doing like this is under the time delay condition that allows, and synthetic normal speech bag as much as possible is to improve network bandwidth utilance as far as possible.But long for fear of delay time, the timing of above-mentioned formation timer can be configured as required, can default setting be 5ms for example.The purpose that this formation timer is set is that the quantity for the normal speech bag that prevents to mail to certain MGW in a period of time causes waits for too long very little, thereby brings the long problem of time-delay.
In addition, can further include ability judge module 44 in this media gateway 4 of making a start, be used to judge whether the receiving end media gateway that the normal speech bag that comes from the user that first communication module 41 receives will mail to supports the synthetic speech packet function, be then to send judged result, make described synthesis module 42 begin to carry out the step of encapsulation synthetic speech bag to synthesis module 42; Otherwise the normal speech bag that first communication module 41 receives is directly sent to described receiving end media gateway.
By the described media gateway of making a start of present embodiment, realized the normal speech bag is encapsulated as the synthetic speech bag, improve the actual bandwidth utilance greatly, and can not produce delay.
Embodiment 5
Present embodiment provides a kind of receiving end media gateway, and as shown in Figure 7, this receiving end media gateway 5 comprises: split module 51 and processing module 52.
Wherein, split the synthetic speech bag that module 51 is used for receiving and split into the normal speech bag; Processing module 52 is used for the normal speech bag that splits after module 51 splits is handled or transmitted.
In addition, this receiving end media gateway 5 can further include voice packet judge module 53, is used to judge whether the voice packet that comes from the media gateway of making a start that receives is the synthetic speech bag, is then this synthetic speech bag to be sent to split module 51.
By the described receiving end media gateway of present embodiment, realized the synthetic speech bag is split into the normal speech bag, finish the reception and the processing of normal speech bag.
Embodiment 6
Present embodiment provides a kind of Mobile Switching Center Server, i.e. MSC server, and as shown in Figure 8, MSC server 6 comprises: the capability list generation module 61 and the first list item sending module 62.
Wherein, the gateway ability information that comes from MGW that capability list generation module 61 is used for the receiving preservation that is associated with the IP address of this MGW generates the gateway capability list on the book server; The first list item sending module 62 is used for after detecting all MGW that are connected with book server and all finishing the gateway ability information and send, and all list item information of the gateway capability list that capability list generation module 61 is generated send to each MGW.
In addition, if having a plurality of MSC servers in a network, then after a MSC server is finished the generation of gateway capability list, the list item information of gateway capability list can also be sent to adjacent MSC server.Therefore, the described MSC server 6 of present embodiment can further include the second list item sending module 63, be used for after detecting all MGW that are connected with book server and all finishing the gateway ability information and send, all list item information of the gateway capability list that capability list generation module 61 is generated send to adjacent MSC server.Correspondingly, the 3rd list item sending module 64 can also be set in the MSC server 6, the list item information that is used for coming from adjacent MSC server sends to all MGW that link to each other with book server, makes these MGW generate the gateway capability list that Home Network is shut.
By the described MSC server of present embodiment, realized automatic generation gateway capability list.Be applicable to network with one or more MSC servers.
Embodiment 7
Present embodiment provides another kind of MSC server 7, as shown in Figure 9, comprising: capability list update module 71 and update command sending module 72.
Wherein, capability list update module 71 is used for the list item information of carrying according to the capability list update inquiry information that comes from MGW, and the gateway capability list on the book server is upgraded; Update command sending module 72 is used for to other MGW transmitting capacity table update command message except that transmit leg MGW that are connected with book server, the gateway capability list that MGW is shut Home Network upgrades, wherein, carry the list item information after the renewal in the capability list update module 71 in the described capability list update command message.
In addition, MSC server 7 can also comprise: lastest imformation sending module 73, be used for the list item information after 71 renewals of capability list update module is sent to adjacent MSC server, adjacent MSC server can be upgraded according to the gateway capability list on this list item information couple MGW that adjacent MSC server with this links to each other.
By the described MSC server of present embodiment, realized automatically more new gateway capability list.Be applicable to network with one or more MSC servers.
It should be noted last that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit and scope of technical solution of the present invention.

Claims (31)

1, a kind of voice packet sending method is characterized in that, comprising:
The normal speech inclusion of the different user that mails to same receiving end media gateway that the media gateway of making a start will receive at synchronization becomes the synthetic speech bag;
The synthetic speech bag is sent to described receiving end media gateway.
2, voice packet processing method according to claim 1 is characterized in that, the described media gateway of making a start becomes the synthetic speech bag with described normal speech inclusion and specifically comprises:
For described receiving end media gateway a buffer queue is set in advance;
The normal speech bag of the different user that mails to same receiving end media gateway that will receive at synchronization joins in the corresponding buffer queue;
Normal speech bag in the buffer queue is encapsulated as the synthetic speech bag of an IP data packet format, wherein, includes the IP address of described receiving end media gateway in the IP head of this IP packet.
3, voice packet processing method according to claim 2 is characterized in that, the described media gateway of making a start is the executive condition that the normal speech bag in the buffer queue is encapsulated as the synthetic speech bag of an IP data packet format:
In predetermined timing, the total length of the described synthetic speech bag after the encapsulation has reached the length of the MTU of Ethernet.
4, voice packet processing method according to claim 3 is characterized in that, the described media gateway of making a start specifically comprises the synthetic speech bag that the normal speech bag in the buffer queue is encapsulated as an IP data packet format:
If in predetermined timing, the total length of the described synthetic speech bag after the encapsulation does not reach the length of the MTU of Ethernet, then when described timing arrives, the normal speech bag in the described buffer queue is encapsulated as the synthetic speech bag of an IP data packet format.
According to claim 2 or 3 or 4 described voice packet processing methods, it is characterized in that 5, the described media gateway of making a start also comprises after the synthetic speech bag is sent to described receiving end media gateway: empty described buffer queue.
6, voice packet processing method according to claim 1 is characterized in that, the described media gateway of making a start also comprises before described normal speech inclusion is become the synthetic speech bag:
After receiving the normal speech bag that comes from the user, judge whether the receiving end media gateway that this normal speech bag will mail to supports the synthetic speech packet function, and being then becomes the synthetic speech bag with described normal speech inclusion.
7, voice packet processing method according to claim 6 is characterized in that, the described media gateway of making a start judges whether described receiving end media gateway supports the synthetic speech packet function also to comprise:
If do not support, the described normal speech bag that then will receive directly sends to described receiving end media gateway.
8, voice packet processing method according to claim 6 is characterized in that, the described media gateway of making a start judges whether described receiving end media gateway supports the synthetic speech packet function specifically to comprise:
Carry out described judgement according to the gateway capability list of setting up in the described media gateway of making a start in advance, wherein, IP address of preserving media gateway and the gateway ability information of whether supporting synthetic speech bag ability are associated in the described gateway capability list.
9, a kind of voice packet method of reseptance is characterized in that, comprising:
After the receiving end media gateway receives the synthetic speech bag, the synthetic speech bag is split into the normal speech bag;
Normal speech bag after splitting is handled or transmitted.
10, voice packet method of reseptance according to claim 9 is characterized in that, described receiving end media gateway also comprises before described synthetic speech bag is split into the normal speech bag:
After described receiving end media gateway receives the voice packet that comes from the media gateway of making a start, judge whether this voice packet is the synthetic speech bag, is then this synthetic speech bag to be split into the normal speech bag.
11, voice packet method of reseptance according to claim 10 is characterized in that, described receiving end media gateway judges whether described voice packet is that the synthetic speech bag also comprises:
If not the synthetic speech bag, then this voice packet is handled or transmitted by the normal speech bag.
12, voice packet method of reseptance according to claim 10 is characterized in that, described receiving end media gateway judges whether described voice packet is that the synthetic speech bag specifically comprises:
Length field value in the UDP packet header in total length field value in the IP packet header in the described voice packet and this voice packet is compared, and is the synthetic speech bag if the difference of the two, is then judged described voice packet greater than the length in this IP packet header.
13, voice packet method of reseptance according to claim 9 is characterized in that, the normal speech bag after described will the fractionation is handled or transmitted specifically and comprises:
The normal speech bag of the UDP message packet format after splitting is sent to the udp protocol module.
14, a kind of media gateway of making a start is characterized in that, comprising:
First communication module is used to receive the normal speech bag that comes from different user;
Synthesis module, the normal speech inclusion that is used for the different user that mails to same receiving end media gateway that first communication module is received at synchronization becomes the synthetic speech bag;
Second communication module, the synthetic speech bag that is used for being generated by described synthesis module sends to described receiving end media gateway.
15, the media gateway of making a start according to claim 14 is characterized in that, described synthesis module comprises:
Cache module is used to described receiving end media gateway that buffer queue is set, and the normal speech bag of the different user that mails to same receiving end media gateway that described first communication module is received at synchronization joins in the corresponding buffer queue;
Package module is used for the normal speech bag in the buffer queue of described cache module is encapsulated as the synthetic speech bag of an IP data packet format, wherein, includes the IP address of described receiving end media gateway in the IP head of this IP packet.
16, the media gateway of making a start according to claim 14 is characterized in that, described synthesis module comprises:
Time block is used to be provided with the formation timer, when the timing of this formation timer arrives, sends timing signal to described package module, after the indication package module is received this timing signal, begins to carry out the step of the described synthetic speech bag of encapsulation.
17, the media gateway of making a start according to claim 14 is characterized in that, also comprises:
The ability judge module, be used to judge whether the receiving end media gateway that the normal speech bag that comes from the user that first communication module receives will mail to supports the synthetic speech packet function, be then to send judged result, make described synthesis module begin to carry out the step of the described synthetic speech bag of encapsulation to described synthesis module; Otherwise the normal speech bag that first communication module receives is directly sent to described receiving end media gateway.
18, a kind of receiving end media gateway is characterized in that, comprising:
Split module, the synthetic speech bag that is used for receiving splits into the normal speech bag;
Processing module is used for the normal speech bag that splits after module splits is handled or transmitted.
19, receiving end media gateway according to claim 18 is characterized in that, also comprises:
The voice packet judge module is used to judge whether the voice packet that comes from the media gateway of making a start that receives is the synthetic speech bag, is then this synthetic speech bag to be sent to described fractionation module.
20, a kind of generation method of gateway capability list of media gateway is characterized in that, comprising:
After the gateway ability information that comes from media gateway that Mobile Switching Center Server receives,, generate the gateway capability list on this Mobile Switching Center Server with the preservation that is associated with the IP address of this media gateway of this gateway ability information;
After Mobile Switching Center Server detects all connected media gateway and all finishes the gateway ability information and send, all list item information of the gateway capability list on this Mobile Switching Center Server are sent to described media gateway;
Described media gateway is preserved the list item information that receives, and generates the gateway capability list on this media gateway.
21, the generation method of the gateway capability list of media gateway according to claim 20 is characterized in that, the gateway capability list that described Mobile Switching Center Server generates on this Mobile Switching Center Server also comprises afterwards:
Described Mobile Switching Center Server sends to adjacent Mobile Switching Center Server with all list item information of the gateway capability list on this Mobile Switching Center Server.
22, the generation method of the gateway capability list of media gateway according to claim 21 is characterized in that, described receiving also comprises after the described list item information:
The list item information that receives is preserved, generate the gateway capability list on this adjacent Mobile Switching Center Server;
All list item information of the described gateway capability list that generates are sent to all media gateway that adjacent Mobile Switching Center Server with this links to each other preserve, and generate gateway capability list on this media gateway.
23, the generation method of the gateway capability list of media gateway according to claim 21 is characterized in that, described Mobile Switching Center Server sends to described adjacent Mobile Switching Center Server with described list item information and is specially:
Described Mobile Switching Center Server is carried on described list item information in the initial address administrative messag in the call control protocol with bearer independent and sends to described adjacent Mobile Switching Center Server.
24, the generation method of the gateway capability list of media gateway according to claim 23 is characterized in that, described adjacent Mobile Switching Center Server also comprises after receiving described initial address administrative messag:
All list item information of gateway capability list on this adjacent Mobile Switching Center Server are carried on the described Mobile Switching Center Server that replies to transmit leg in the application transport mechanism message.
25, a kind of update method of gateway capability list of media gateway is characterized in that, comprising:
After media gateway detects gateway capability list on this media gateway and is modified, send the capability list update inquiry information that carries the list item information that is modified to coupled Mobile Switching Center Server;
Mobile Switching Center Server upgrades the gateway capability list on this Mobile Switching Center Server according to the list item information of carrying in the capability list update inquiry information, and sends the capability list update command message of the list item information after carrying renewal to other media gateway except that the transmit leg media gateway that are connected with this Mobile Switching Center Server;
Media gateway is upgraded the gateway capability list on this media gateway according to the list item information of carrying in the capability list update command message.
26, the update method of the gateway capability list of media gateway according to claim 25 is characterized in that, described Mobile Switching Center Server also comprises after described gateway capability list is upgraded:
List item information after upgrading is sent to adjacent Mobile Switching Center Server;
Device upgrades according to the gateway capability list on this list item information pair media gateway that the service of adjacent mobile switching centre with this links to each other.
27, a kind of Mobile Switching Center Server is characterized in that, comprising:
The preservation that is associated with the IP address of this media gateway of capability list generation module, the gateway ability information that comes from media gateway that is used for receiving generates the gateway capability list on this Mobile Switching Center Server;
The first list item sending module, be used for after detecting all media gateway that are connected with this Mobile Switching Center Server and all finishing the gateway ability information and send, all list item information of the gateway capability list that the capability list generation module is generated send to described media gateway.
28, Mobile Switching Center Server according to claim 27 is characterized in that, also comprises:
The second list item sending module, be used for after detecting all media gateway that are connected with this Mobile Switching Center Server and all finishing the gateway ability information and send, all list item information of the gateway capability list that will be generated by described capability list generation module send to adjacent Mobile Switching Center Server.
29, Mobile Switching Center Server according to claim 28 is characterized in that, also comprises:
The 3rd list item sending module, the list item information that is used for coming from adjacent Mobile Switching Center Server sends to all media gateway that adjacent Mobile Switching Center Server with this links to each other, and makes described media gateway generate gateway capability list on this media gateway.
30, a kind of Mobile Switching Center Server is characterized in that, also comprises:
The capability list update module is used for the list item information of carrying according to the capability list update inquiry information that comes from media gateway, and the gateway capability list on this Mobile Switching Center Server is upgraded;
The update command sending module, be used for to other media gateway transmitting capacity table update command message except that the transmit leg media gateway that are connected with this Mobile Switching Center Server, media gateway is upgraded the gateway capability list on this mobile switching centre's gateway, wherein, carry the list item information after the renewal in the capability list update module in the described capability list update command message.
31, Mobile Switching Center Server according to claim 30 is characterized in that, also comprises:
The lastest imformation sending module, be used for the list item information after the renewal of capability list update module is sent to adjacent Mobile Switching Center Server, adjacent Mobile Switching Center Server is upgraded the gateway capability list on the corresponding media gateway according to this list item information.
CNA2007100996436A 2007-05-25 2007-05-25 Voice packet transmitting and receiving method, media gateway and mobile switching center server Pending CN101312428A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007100996436A CN101312428A (en) 2007-05-25 2007-05-25 Voice packet transmitting and receiving method, media gateway and mobile switching center server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007100996436A CN101312428A (en) 2007-05-25 2007-05-25 Voice packet transmitting and receiving method, media gateway and mobile switching center server

Publications (1)

Publication Number Publication Date
CN101312428A true CN101312428A (en) 2008-11-26

Family

ID=40100856

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007100996436A Pending CN101312428A (en) 2007-05-25 2007-05-25 Voice packet transmitting and receiving method, media gateway and mobile switching center server

Country Status (1)

Country Link
CN (1) CN101312428A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102916880A (en) * 2011-08-01 2013-02-06 中兴通讯股份有限公司 Method and device for sending and receiving data packet in packet switched network
CN103581457A (en) * 2012-07-23 2014-02-12 腾讯科技(深圳)有限公司 Communication method, equipment and system
CN103746945A (en) * 2013-12-30 2014-04-23 上海华为技术有限公司 Data transmission device and method
CN103957135A (en) * 2014-04-24 2014-07-30 北京佳讯飞鸿电气股份有限公司 Method for no-break conversation in IP address switching process
CN104486794A (en) * 2014-12-08 2015-04-01 上海华为技术有限公司 Method, device and system for transmitting voice IP (Internet Protocol) message
CN106375063A (en) * 2016-08-30 2017-02-01 上海华为技术有限公司 Data transmission method and equipment
WO2017147824A1 (en) * 2016-03-02 2017-09-08 臧利 Data processing method and system for base station
CN108965345A (en) * 2018-09-30 2018-12-07 武汉斗鱼网络科技有限公司 A kind of optimization method and device of small signaling network data packet
CN109873912A (en) * 2019-02-21 2019-06-11 广州维实信息科技有限公司 Sound control method based on soft switch
CN113015149A (en) * 2021-02-23 2021-06-22 深圳市鼎元智能科技有限公司 Near field communication method and system

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013016971A1 (en) * 2011-08-01 2013-02-07 中兴通讯股份有限公司 Method and device for sending and receiving data packet in packet switched network
CN102916880A (en) * 2011-08-01 2013-02-06 中兴通讯股份有限公司 Method and device for sending and receiving data packet in packet switched network
CN102916880B (en) * 2011-08-01 2017-08-11 深圳市中兴微电子技术有限公司 The method and device that packet sends and receives in a kind of packet switching network
CN103581457A (en) * 2012-07-23 2014-02-12 腾讯科技(深圳)有限公司 Communication method, equipment and system
CN103746945B (en) * 2013-12-30 2017-06-27 上海华为技术有限公司 A kind of data transmission device and method
CN103746945A (en) * 2013-12-30 2014-04-23 上海华为技术有限公司 Data transmission device and method
CN103957135A (en) * 2014-04-24 2014-07-30 北京佳讯飞鸿电气股份有限公司 Method for no-break conversation in IP address switching process
CN104486794A (en) * 2014-12-08 2015-04-01 上海华为技术有限公司 Method, device and system for transmitting voice IP (Internet Protocol) message
CN104486794B (en) * 2014-12-08 2018-03-09 上海华为技术有限公司 Transmit the method, apparatus and system of voice IP messages
WO2017147824A1 (en) * 2016-03-02 2017-09-08 臧利 Data processing method and system for base station
CN106375063A (en) * 2016-08-30 2017-02-01 上海华为技术有限公司 Data transmission method and equipment
CN108965345A (en) * 2018-09-30 2018-12-07 武汉斗鱼网络科技有限公司 A kind of optimization method and device of small signaling network data packet
CN108965345B (en) * 2018-09-30 2021-09-07 武汉斗鱼网络科技有限公司 Method and device for optimizing small signaling network data packet
CN109873912A (en) * 2019-02-21 2019-06-11 广州维实信息科技有限公司 Sound control method based on soft switch
CN113015149A (en) * 2021-02-23 2021-06-22 深圳市鼎元智能科技有限公司 Near field communication method and system
CN113015149B (en) * 2021-02-23 2021-12-14 深圳市鼎元智能科技有限公司 Communication method and system

Similar Documents

Publication Publication Date Title
CN101312428A (en) Voice packet transmitting and receiving method, media gateway and mobile switching center server
US7558247B2 (en) Optimized radio bearer configuration for voice over IP
RU2187205C2 (en) Device and method for transmitting voice data bursts in mobile communication system
CN1316797C (en) Method and apparatus for creating a packet using a digital signal processor
US6879599B1 (en) Mapping of transcoder/rate adaptor unit protocols onto user datagram protocols
US8401029B2 (en) Method, device and system for establishing a bearer for a GSM network
JP2010273370A (en) Method and apparatus for providing interworking unit between atm network and ip network
FI103456B (en) Speech transmission over packet network
US7110388B2 (en) Handling of circuit-switched data services in IP-based GSM networks
CN101237603B (en) A method and system for realizing IP interface between GSM wireless network and core network
WO2006086691A2 (en) A network for providing a streaming service
JP4856251B2 (en) Header suppression in wireless communication networks
CN101094162A (en) Method for transferring media stream by using mode of removing out head part
WO2011114323A1 (en) Method and apparatus for reducing delays in a packets switched network
CN100454906C (en) Method and gateway for transmitting voice stream based on network load in wireless packet network
EP2195975B1 (en) Errorless and hitless variable data rate communications
CN101557386A (en) Method and device for sending data and method and device for receiving data
CN113301668B (en) E1 point-to-point communication method, terminal and system by means of wireless network
CN101026545B (en) Real-time multimedia transmitting system and method
EP1709773A2 (en) Optimized radio bearer configuration for voice over ip
CN101136720A (en) Forward error correction information transmission implementing method
CN102137112A (en) Method and device for converting media streams
CN101562898B (en) High-efficiency wireless access system RTP agent technology
KR20010083223A (en) System and method for enhancing inter-site reverse traffic capacity for a soft hand-off
CN101394579A (en) Method and system for processing uploading downloading data in radio communication 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
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20081126