A kind of voice mail system and recording playback sound method
Technical field
The present invention relates to the voicemail service of communication system, relate in particular to a kind of voice mail system and recording playback sound method.
Background technology
Voice mail is the voice mail business of widespread use in the communication system, and different with the mailbox in the life at ordinary times is that voice mail is used for storing the voice that others stays for the mailbox user.When user applies and after having a voice mail, if other people dial mailbox user's phone and meet busy or do not connect then send a telegram here and can be transferred to mailbox user's voice mailbox automatically, the other side can converse as usual message is recorded in the voice mail and store, and extracts message to oneself and the mailbox user can enter the mailbox of oneself at any time.User's voice message be with the digital mode centralized stores in the voice mail system of telecom operators, the capacity of system and performance have determined voice mail that the number of users of service can be provided.Along with being showing improvement or progress day by day of the communication technology, voice mail is widely applied in systems such as landline telephone, mobile communication, customer service.
Existing application is in the voice mail system of communication system, and most of scheme is to adopt sound card ripe on the market to realize as Audio Processing Unit.This sound card is based on computer architecture, and according to the sound card of channel capacity preparation some, and the voice mail server of preparation respective performances is inserted in sound card in the bus duct of server (major part is a pci bus) during use.Sound card and switch adopt E1 link interaction data and signaling, and speech data leaves in the local hard drive of server.
The shortcoming of this scheme is, all sound cards are inserted in the amoyese sound server, server will be realized speech processes and storage and speech business logic simultaneously, server must be real-time operation, therefore it is heavier to load, in the time need expanding outside data-interface on server or increase extra additional function, the real-time of server work just can not be guaranteed.On the other hand, the bus duct quantity of server is limited, and therefore installable sound card also is limited, thereby power system capacity is restricted, when the jumbo voice data of needs, (for example go up the data of TB), owing to limited by system performance, effective extension storage capacity.
Summary of the invention
Exist at existing voice mail system, over-burden for server, real-time can not be guaranteed and power system capacity limited, the shortcoming that can not effectively expand, the method that the purpose of this invention is to provide a kind of voice mail system and recording playback sound, can effectively guarantee the real-time of speech processes, also increase the extensibility of system.
For achieving the above object, the present invention has adopted following technical scheme:
The mode that the present invention adopts speech processes to separate with storage administration, and realize voice mail system changing into based on the voice processing card of digital SPC exchange member based on the sound card of computer architecture, comprise (as shown in Figure 2):
The speech processes part: digital SPC exchange, a plurality of sound card,
The storage administration part: voice background storage server, mass-memory unit,
Described digital SPC exchange is the carrier of sound card, and the access and the management service of speech path is provided for sound card;
Described sound card is installed on the described digital SPC exchange;
Described voice background server is stablized real-time speech data storage and read functions for described sound card provides;
Described mass-memory unit is used for the centralized stores speech data.
According to different capacity requirements, a plurality of described sound cards of preparation on described digital SPC exchange simultaneously, promptly a plurality of described sound cards can be by network simultaneously from reading of data on the described voice background storage server or storage data on described voice background storage server.
The recording playback sound method of voice mail system of the present invention comprises: during recording,
1) the speech time slot is connected on the described sound card after exchanging through described digital SPC exchange;
2) described sound card is given described voice background storage server data transmission by network real-time ground by the communications protocol of drafting after the speech data Real Time Compression of 64Kbps being become the data of 32Kbps;
3) described voice background storage server realizes the buffering and the storage of data automatically.
The audio playback method of voice mail system of the present invention comprises: during playback,
1) described digital SPC exchange is routed to the speech time slot on the described sound card;
2) described sound card proposes the data read application and provides the mail phonetic symbol to show to described voice background storage server;
3) described voice background storage server inquires behind the corresponding mail sound to provide to sound card by the agreement of drafting and stablizes real-time speech data;
4) described sound card receives after the data decompressed data automatically and realizes the real-time play of voice.
Owing to adopted such scheme, the present invention changes the mode of traditional speech processes and storage administration unification into mode that speech processes is separated with storage administration, effectively guarantees the real-time of speech processes, has also increased the extensibility of systemic-function; And the sound card based on computer architecture is changed into voice processing card based on the digital SPC exchange member, because extendible various cards can reach tens or hundreds of on the digital SPC exchange, can largely improve the telephone path capacity of voice mail, satisfy the demand of high-end system.
Description of drawings
Fig. 1 is the synoptic diagram of traditional voice mailbox system.
Fig. 2 is the synoptic diagram of voice mail system of the present invention.
Embodiment
Be described in further detail below in conjunction with the enforcement of accompanying drawing technical scheme.
Fig. 1 is the synoptic diagram of traditional voice mailbox system, because the capacity of every sound card is limited, the bus slot quantity that can be used to of server installed sound card is limited, thereby power system capacity is restricted, effectively the extension storage capacity.
Fig. 2 is the realization synoptic diagram of the voice mail system among the present invention.The system of voice mail of the present invention comprises:
The speech processes part: digital SPC exchange, a plurality of sound card,
The storage administration part: voice background storage server, mass-memory unit,
Described digital SPC exchange is the carrier of sound card, and the access and the management service of speech path is provided for sound card;
Described sound card is based on the special exploitation of described digital SPC exchange, and every card processing power is i.e. 120 tunnel voice pathway of 4*E1;
Described voice background server and software thereof are stablized real-time speech data storage and read functions for described sound card provides;
Described mass-memory unit is used for the centralized stores speech data.
According to different capacity requirements, a plurality of described sound cards of preparation on described digital SPC exchange simultaneously, promptly a plurality of described sound cards can be by network simultaneously from reading of data on the described voice background storage server or storage data on described voice background storage server.
The mode that the present invention adopts language data process to separate with storage administration, and realize high capacity high scalability voice mail system changing into based on the voice processing card of digital SPC exchange member based on the sound card of computer architecture.Handle and after storage administration separated, the partly only collection or the broadcast of responsible speech data of speech processes, storage administration partly were responsible for providing stable data to flow and are stored and read, connect by network between the two.Described language data process partly realizes the function of traditional voice card, but do not adopt sound card based on computer architecture, but employing is based on the sound card of described digital SPC exchange framework, the various cards that described digital SPC exchange can be assigned can reach dozens or even hundreds of, each sound card is handled 4 E1,120 road speech datas just, so N piece sound card just can make the telephone path capacity of voice mail reach 120*N.The reading and storing of described voice background storage server special disposal speech data by the network interaction data, effectively like this realized the processing of speech data and separating of storage between described sound card and the described voice background storage server.
When recording, the speech time slot is connected on the described sound card after exchanging through described digital SPC exchange, described sound card is given described voice background storage server data transmission by network real-time ground by the communication protocol of drafting after the speech data Real Time Compression of 64Kbps being become the data of 32Kbps, and described voice background storage server realizes the buffering and the storage of data automatically.
Then opposite during playback, described digital SPC exchange is routed to the speech time slot on the described sound card, described sound card proposes the data read application and provides the mail phonetic symbol to show to described voice background storage server, described voice background storage server inquires behind the corresponding mail sound to provide to sound card by the agreement of drafting stablizes real-time speech data, and described sound card receives after the data decompressed data automatically and realizes the real-time play of voice.
One of specific embodiment, each described voice background storage server maximum can with 20 described sound card interaction datas, and can satisfy 2400 road voice channels simultaneously and record simultaneously or playback.The PCM data stream of a speech path is that 64Kbps is 8KBps, the data traffic of such 2400 road speeches is exactly 2400*8K=19200KBps, because G.726 the PCM speech data through almost not having influence by 2: 1 compression backs to speech quality, so on described sound card, speech data carried out 2: 1 compression and decompress(ion) by compression algorithm G.726, to reduce data space and network load, it is 76.8Mbps that the data traffic of such 2400 road speeches just has only 9600KBps, thereby can adopt 100M Ethernet or 1000M Ethernet.Like this language data process with the storage separate after, on the one hand because the high scalability of described digital SPC exchange can be by increasing the telephone path capacity that sound card improve voice mail, on the other hand can by use on the described voice background storage server special purpose memory devices (as SAN or NAS etc.) increase memory capacity and as described in increase partly external interface and additional function thereof on the voice background storage server.
One of specific embodiment, with the data on the described sound card on 20 described digital SPC exchanges of a described voice background storage server processing is unit, many such systems of expansion can walk abreast, form N such system, because such system can satisfy 2400 tunnel speech path, N such system just can satisfy N*2400 road speech path.Make the described voice background storage server of this N system share storage space by memory technologies such as SAN and NAS, memory capacity can reach the voice memory capacity of several TB even tens TB like this, efficiently solves the contradiction of memory capacity and speech channel capacity.
Owing to realized storage and separating of handling, on described voice background storage server,, can realize and external system interactive voice data, and not influence the real-time processing of speech data by increasing extra interface, thus the expansion of the system of realization.