A kind of background voice playing method of tone information and deviceTechnical field
The present invention relates to mechanics of communication, specifically, relate to a kind of realization that the tone information background sound is play.
Background technology
In today of mechanics of communication fast development, high efficiency, low cost, high profit, high quality service are the targets that each big operator is pursued, and the user is more and more higher to the demand of personalization, be customized to the customization of present business from initial CRBT, high quality, the personalized service of operator are had higher requirement.Can the product that operator releases satisfy the changeable individual demand of user, concerning the survival activity of this product.It is a kind of example of users ' individualized requirement that background sound in the tone information is play.
In traditional Voice Mail Service, after system was transferred to voice mail system, message mode dullness, and the adding of background sound had been enriched the function of tone information.At present, the broadcast mode of the background sound of tone information mainly contains dual mode, and a kind of is the voice document synthesis mode; Another is the mode that adopts the multimedia tripartite talks.
A kind of is the voice document synthesis mode, the Chinese invention patent ublic specification of application 200410059187.9 disclosed a kind of system and methods thereof of tone information fusion background music of realizing adopt this kind mode, and its system is made up of message control module, phonetic synthesis module and file storage module and database module.Its method is, in the Voice Mail Service, when the client enters voice mail, when needing message, he can select a background sound earlier, again message.Professional control control module is passed through the phonetic synthesis module with the overlapping synthetic voice of these two voice.The tone information of receiving like this is exactly voice that synthesized by system, and its effect is the message that the client is arranged on the background sound.
Another is the mode that adopts the multimedia tripartite talks, Chinese invention patent ublic specification of application 200810068252.2 is disclosed a kind ofly to have adopted the side of multimedia tripartite talks for both call sides provides the system and method for multimedia background music, its system is by message control module, multi-media module, database module is formed, its method is in Voice Mail Service, system can be kept at message in the multi-media module, when owner listens to message, multimedia adopts the pattern of tripartite talks, with background sound, message is put to owner simultaneously and is listened to, and its effect also is the message that the guest is arranged on the background sound.
All there is shortcoming in two kinds of above-mentioned methods, adopt first kind of mode, and at first system all will carry out file with background sound and synthesize each user's message, and efficient is lower, if the user concurrent amount is bigger, the burden of system is bigger; Secondly, every voice are incorporated into the background sound storage, reusable background sound will repeated storage repeatedly, increased the burden of storing.
Adopt the second way, need to introduce a set of equipment multimedia software is installed, the cost height, and only be applicable to broadband services, range of application is narrower; Simultaneously, background sound is all provided by system, and the user can't the self-defined background sound.
Summary of the invention
The invention provides a kind of background voice playing method of tone information, soft, hsrdware requirements are simple, conserve storage.
In order to solve the problems of the technologies described above, the present invention has adopted following technical scheme:
A kind of background voice playing method of tone information comprises following treatment step:
A, gate system set up the tone information to be played and the corresponding relation of background sound according to the demand of tone information transmit leg;
File Read Controller in B, the described gate system reads described tone information to be played and pairing described background sound according to the corresponding relation of described tone information and background sound;
Playing controller in C, the described gate system is play described tone information and pairing described background sound simultaneously to the tone information recipient.
In a kind of embodiment of the background voice playing method of above-mentioned tone information, described gate system is to described tone information and described background sound numbering, by setting up the corresponding relation between the described numbering, set up the corresponding relation between described tone information and the described background sound.
In a kind of embodiment of the background voice playing method of above-mentioned tone information, described step B carries out as follows:
When described file Read Controller is received tone information recipient's playing request, in data-storage system, inquire about the store path of described tone information according to described playing request, and, inquire about the store path of the pairing background sound of described tone information according to the corresponding relation of described tone information and background sound;
Described file Read Controller reads described tone information to be played and described background sound according to the store path of described tone information and described background sound in document storage system;
Described file Read Controller is sent to described playing controller with described tone information and described background sound.
In a kind of embodiment of the background voice playing method of above-mentioned tone information, described playing controller is play described tone information and pairing described background sound in the following way: open two windows simultaneously, a window shows, play described tone information, another window is hidden, the described background sound of loop play; And after described tone information is play end,, close described hide window according to the notice of described display window.
In a kind of embodiment of the background voice playing method of above-mentioned tone information, the tone information transmit leg is selected described background sound by gate system, or the described background sound of gate system Random assignment.
The invention also discloses a kind of background sound playing device of tone information, comprise gate system, described gate system comprises corresponding relation building module, file Read Controller and playing controller, wherein, described corresponding relation building module, be used for demand, set up the tone information to be played and the corresponding relation of background sound according to the tone information transmit leg;
Described file Read Controller is used for the corresponding relation according to described tone information and background sound, reads described tone information to be played and pairing described background sound;
Described playing controller is used for playing described tone information and the pairing described background sound of described tone information simultaneously to the tone information recipient.
In the background sound playing device of a kind of tone information disclosed by the invention, corresponding relation building module in the described gate system is to described tone information and described background sound numbering, by setting up the corresponding relation between the described numbering, set up the corresponding relation between described tone information and the described background sound.
In the background sound playing device of a kind of tone information disclosed by the invention, described file Read Controller comprises enquiry module, read module and sending module, wherein, when described enquiry module is received tone information recipient's playing request, in described data-storage system, inquire about the memory address of described tone information according to described playing request, and, inquire about the store path of the pairing background sound of described tone information according to the corresponding relation of described tone information and background sound;
Described read module reads described tone information to be played and described background sound according to the store path of described tone information and described background sound in described document storage system;
Described sending module is sent to described playing controller with described tone information and described background sound.
In the background sound playing device of a kind of tone information disclosed by the invention, described playing controller comprises playing module and window relating module, and play described tone information and pairing described background sound in the following way: playing module is opened two windows simultaneously, a window shows, play described tone information, another window is hidden, the described background sound of loop play; After described tone information was play end, the window relating module was closed described hide window according to the notice of described display window.
In the background sound playing device of a kind of tone information disclosed by the invention, also comprise background sound in the described gate system and select module, be used for the sender-selected described background sound of tone information, or the described background sound of Random assignment.
Compared with prior art, beneficial effect of the present invention is:
Among the present invention, at first the file Read Controller in the gate system reads described tone information and the pairing background sound of described tone information, and is sent to playing controller; Then, the playing controller in the gate system is play tone information and the pairing described background sound of described tone information.So, do not need to introduce complicated multimedia software and special equipment, simple to demand soft, hardware, do not need voice are incorporated into the background sound storage yet, saved memory space.
Description of drawings
The description that Fig. 1 is exemplary in the tone information transmit leg send the process of tone information and background sound;
The description that Fig. 2 is exemplary in the tone information recipient listen to the process of tone information and background sound;
The description that Fig. 3 is exemplary the formation of tone information background sound playing device.
Embodiment
Contrast accompanying drawing and the present invention is further elaborated below in conjunction with embodiment.
As shown in Figure 1, among the figure exemplary description in the tone information transmit leg send the process of tone information and background sound, at first transmit leg is by gate system, the recorded speech message is filled in recipient's number.Gate system by setting up the corresponding relation between the described numbering, is set up the corresponding relation between described tone information and the described background sound to tone information and background sound numbering.
The tone information transmit leg can be selected background sound by gate system, if transmit leg is not selected background sound, then by background sound of gate system Random assignment.The background sound that the tone information transmit leg is selected by gate system can be the background sound that system provides, but the also self-defined background sound uploaded of user.The user selects different background sounds according to hobby, perhaps uploads the self-defined background sound, has satisfied user's individual demand.
Service control system stores tone information and background sound in the document storage system into, and sender's number, recipient's number, tone information numbering, background sound information stores such as are numbered, whether play in data-storage system.
As shown in Figure 2, when tone information recipient need listen to tone information, at first by gate system, the tone information that selection need be listened to.Read Controller in the gate system receive the user listen to request after, store path according to the request of listening to voice inquirement message in data-storage system, according to the corresponding relation of tone information and background sound, the store path of inquiry background sound in data-storage system; The file Read Controller reads tone information to be played and background sound according to the store path of tone information and background sound in document storage system; At last, the file Read Controller is sent to playing controller with tone information and background sound.
As shown in Figure 2, the playing controller in the gate system is received after tone information and the background sound, opens two windows simultaneously, and a window shows, plays described tone information, and another window is hidden, the described background sound of loop play; And after described tone information is play end,, close described hide window according to the notice of described display window.Display window temporarily keeps, if the recipient selects to listen to once more this tone information subsequently, then only need open hide window after, play tone information and background sound simultaneously, can suitably reduce and listen to step, conserve system resources.
Play tone information and background sound with two windows simultaneously, do not need tone information and the synthetic voice storage of background sound, the problem of having avoided reusable background sound to be repeated to store has been saved memory space; Playing controller loop play background sound, the recipient can both hear background sound before tone information finishes like this.
After tone information was broadcast and finished, whether service control system did not change to " playing " with the broadcast information in the data-storage system by " playing ", and feeds back to gate system.The recipient does not select to listen to once more this tone information, then closes display window, and tone information and background sound playing program finish.
As shown in Figure 3, the background sound playing device of a kind of tone information of example of the present invention, comprise gate system, described gate system comprises corresponding relation building module, file Read Controller and playing controller, wherein, described corresponding relation building module is used for the demand according to the tone information transmit leg, sets up the tone information to be played and the corresponding relation of background sound; Described file Read Controller is used for the corresponding relation according to described tone information and background sound, reads described tone information to be played and pairing described background sound; Described playing controller is used for playing described tone information and the pairing described background sound of described tone information simultaneously to the tone information recipient.
In the background sound playing device of a kind of tone information of example of the present invention, comprise gate system, described gate system comprises corresponding relation building module, file Read Controller and playing controller, wherein, described corresponding relation building module, be used for demand, set up the tone information to be played and the corresponding relation of background sound according to the tone information transmit leg;
Described file Read Controller is used for the corresponding relation according to described tone information and background sound, reads described tone information to be played and pairing described background sound;
Described playing controller is used for playing described tone information and the pairing described background sound of described tone information simultaneously to the tone information recipient.
In the background sound playing device of a kind of tone information of example of the present invention, corresponding relation building module in the described gate system is to described tone information and described background sound numbering, by setting up the corresponding relation between the described numbering, set up the corresponding relation between described tone information and the described background sound.
In the background sound playing device of a kind of tone information of example of the present invention, described file Read Controller comprises enquiry module, read module and sending module, wherein, when described enquiry module is received tone information recipient's playing request, in described data-storage system, inquire about the memory address of described tone information according to described playing request, and, inquire about the store path of the pairing background sound of described tone information according to the corresponding relation of described tone information and background sound;
Described read module reads described tone information to be played and described background sound according to the store path of described tone information and described background sound in described document storage system;
Described sending module is sent to described playing controller with described tone information and described background sound.
In the background sound playing device of a kind of tone information of example of the present invention, described playing controller comprises playing module and window relating module, and play described tone information and pairing described background sound in the following way: playing module is opened two windows simultaneously, a window shows, play described tone information, another window is hidden, the described background sound of loop play; After described tone information was play end, the window relating module was closed described hide window according to the notice of described display window.
In the background sound playing device of a kind of tone information of example of the present invention, also comprise background sound in the described gate system and select module, be used for the sender-selected described background sound of tone information, or the described background sound of Random assignment.
The background voice playing method of a kind of tone information of the present invention adopts gate system earlier according to the demand of tone information transmit leg, sets up the tone information to be played and the corresponding relation of background sound; File Read Controller in the gate system reads described tone information to be played and pairing described background sound according to the corresponding relation of tone information and background sound then; Playing controller in the described gate system is play described tone information and pairing described background sound simultaneously to the tone information recipient.Adopt above method, avoided repeated storage, saved memory space, system constitutes simple, also reduces requirement soft, hardware.
Above content be in conjunction with concrete preferred implementation to further describing that the present invention did, but this example of just lifting for ease of understanding should not think that concrete enforcement of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can make various possible being equal to and change or replacement, these changes or replacement all should belong to protection scope of the present invention.