Summary of the invention
The object of the present invention is to provide a kind of note broadcasting method and system, can be after accepting note automatic search contact person, and when reporting significant associated person information and the short message content distinguished, and can, according to the Sex-linked marker intelligent selection male voice female voice of associated person information, make to report style hommization and variation.
For addressing the above problem, the invention provides a kind of note broadcasting method, comprising:
Obtain new note, analyze and obtain source numbers and the short message content of new note;
Contact number in the described source numbers contact database default with is mated to generate corresponding associated person information;
Sex character record in the described associated person information sex character database default with is mated to the Sex-linked marker of generic connection people information;
Obtain report instruction;
According to described report instruction and Sex-linked marker, generate male voice or the female voice audio data stream that comprises described associated person information and short message content; And
Report described male voice or female voice audio data stream.
Further, in said method, described report instruction comprises reports wall scroll, many or all instructions of unread short messages.
Further, in said method, before the male voice that generation comprises described associated person information and short message content or the step of female voice audio data stream, also comprise:
The additional information of distinguishing the boundary between associated person information and short message content is set.
Further, in said method, male voice or female voice audio data stream also comprise described additional information.
Further, in said method, the step of the contact number in the described source numbers contact database default with being mated to generate to corresponding associated person information comprises:
When described source numbers is the contact number having existed in contact database, from described contact database, obtain the contact name corresponding with this contact number;
When described source numbers is in contact database during non-existent contact number, associated person information corresponding to this contact number is recorded as to the combination of unknown contacts and this contact number.
Further, in said method, the step of reporting described male voice or female voice audio data stream also comprises before:
Obtain the background noise of report, when described background noise surpasses a default noise threshold, judge whether to be circumscribed with ear speaker device,
If have, described male voice or female voice audio data stream are promoted to the first default volume amplitude;
If nothing, promotes the second default volume amplitude to described male voice or female voice audio data stream.
Further, in said method, when reporting the step of described male voice or female voice audio data stream, also comprise:
Show the information that comprises described associated person information and short message content.
Further, in said method, report described male voice or female voice audio data stream step after also comprise:
Obtain the modification information of the Sex-linked marker of associated person information;
Described modification information is preserved in described sex character database;
Repetition generates male voice or the female voice audio data stream that comprises described associated person information and short message content and reports described male voice or the step of female voice audio data stream according to described report instruction and Sex-linked marker.
Further, in said method, after described modification information is preserved to the step in described sex character database, also comprise:
Described modification information is preserved in the sex character database in a high in the clouds.
Further, in said method, in the male voice that generation comprises described associated person information and short message content or the step of female voice audio data stream, adopt the parameter change mechanism of sex to generate corresponding male voice or female voice audio data stream.
According to another side of the present invention, a kind of note broadcasting system is provided, comprising:
Note detecting module, for obtaining new note, analyze and obtain source numbers and the short message content of new note, contact number in the described source numbers contact database default with is mated to generate corresponding associated person information, the sex character record in the described associated person information sex character database default with is mated to the Sex-linked marker of generic connection people information;
Front end interactive module, for receiving report instruction;
Speech synthesis engine, for generating according to described report instruction and Sex-linked marker male voice or the female voice audio data stream that comprises described associated person information and short message content; And
Report module, for reporting described male voice or female voice audio data stream.
Further, in said system, described note detecting module, speech synthesis engine and report module are arranged on user terminal.
Further, in said system, described report instruction comprises reports wall scroll, many or all instructions of unread short messages.
Further, in said system, described note detecting module, also for arranging the additional information of distinguishing the boundary between associated person information and short message content.
Further, in said system, male voice or female voice audio data stream also comprise described additional information.
Further, in said system, described note detecting module, for when described source numbers be contact database existed contact number time, from described contact database, obtain the contact name corresponding with this contact number, when described source numbers is in contact database during non-existent contact number, associated person information corresponding to this contact number is recorded as to the combination of unknown contacts and this contact number.
Further, in said system, also comprise a volume control module, for obtaining the background noise of report, when described background noise surpasses a default noise threshold, judge whether to be circumscribed with ear speaker device, if having, described male voice or female voice audio data stream are promoted to the first default volume amplitude; If nothing, promotes the second default volume amplitude to described male voice or female voice audio data stream.
Further, in said system, described front end interactive module, also for showing the information that comprises described associated person information and short message content and/or obtaining the modification information of the Sex-linked marker of associated person information.
Further, in said system, described note detecting module, also for preserving described modification information into described sex character database.
Further, in said system, described note detecting module, also for preserving the sex character database into a high in the clouds by described modification information.
Further, in said system, described speech synthesis engine adopts the parameter change mechanism of sex to generate corresponding male voice or female voice audio data stream.
Compared with prior art, tool of the present invention has the following advantages:
1, the present invention is by obtaining new note, analyze and obtain source numbers and the short message content of new note, described source numbers is mated to generate corresponding associated person information with the contact number in default contact database, described associated person information is mated to the Sex-linked marker of generic connection people information with the sex character record in default sex character database, obtain report instruction, according to described report instruction and Sex-linked marker, generate male voice or the female voice audio data stream that comprises described associated person information and short message content, and report described male voice or female voice audio data stream, can be after accepting note automatic search contact person, and can be according to the Sex-linked marker intelligent selection male voice female voice of associated person information, make to report style hommization and variation,
2,, by the additional information of distinguishing the boundary between associated person information and short message content is set, can when reporting, distinguish significantly associated person information and short message content;
3, by speech synthesis engine is arranged on user terminal, the speech synthesis engine of realizing based on local carries out the conversion of Text To Speech, can save user network flow, improves response speed, and is applicable to more occasions;
4, by obtaining the modification information of the Sex-linked marker of associated person information, described modification information is preserved in described sex character database, repetition generates male voice or the female voice audio data stream that comprises described associated person information and short message content and reports described male voice or the step of female voice audio data stream according to described report instruction and Sex-linked marker, realize and do not need to specify in advance male voice or female voice database, can carry out the real-time change of voice according to the modification information of the Sex-linked marker of contact information of customer, convenient, flexible;
5,, by described modification information being preserved in the sex character database in a high in the clouds, the sex character database update to high in the clouds, for other user's inquiries, improves the accuracy of sex judgement at any time;
6, described report instruction comprises report wall scroll, many or all instructions of unread short messages, user can arrange the note of whether reading aloud all arrivals, can once read aloud all unread short messages functions, to reduce user's operation, when non-selected report instruction, can forbid note and report, to protect privacy of user;
7, by obtaining the background noise of report, when described background noise surpasses a default noise threshold, judge whether to be circumscribed with ear speaker device, if have, described male voice or female voice audio data stream are promoted to the first default volume amplitude, if nothing, promotes the second default volume amplitude to described male voice or female voice audio data stream, realize Based Intelligent Control volume.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
Embodiment mono-
As shown in Figure 1, the invention provides a kind of note broadcasting method, comprising:
Step S11, obtains new note, analyzes and obtain source numbers and the short message content of new note;
Step S12, mates to generate corresponding associated person information by the contact number in the described source numbers contact database default with;
Wherein, step S12 comprises two kinds of situations: a kind of situation is that described source numbers is the contact number having existed in contact database, from described contact database, obtain the contact name corresponding with this contact number, described contact database can be that user's intelligent terminal is as the address list on mobile phone (referring to step S121); Another kind of situation is that described source numbers is non-existent contact number in contact database, associated person information corresponding to this contact number is recorded as to the combination (referring to step S122) of unknown contacts and this contact number;
Step S13, mates the Sex-linked marker of generic connection people information by the sex character record in the described associated person information sex character database default with;
Concrete, in step S13, can calculate according to the combination combination algorithm of Chinese character the sex of maximum probability, sex information and name are kept in sex character database as a sex record, can also be by some sex character word or Feature Words as " beautiful ", the obvious Chinese characters of sex character such as " girls " or Chinese character combination are kept in sex character database, then the sex character record in the described associated person information sex character database default with is mated, if already present sex record in the associated person information in contact database and sex character database, tagged word or Feature Words coupling, the Sex-linked marker of generic connection people information, preserve the combined information of this Sex-linked marker and associated person information,
Step S14, obtains report instruction;
Preferably, described report instruction comprises report wall scroll, many or all instructions of unread short messages, concrete, can on the operation interface of intelligent terminal, arrange for user and select to report wall scroll, many or whole options of the instruction of unread short messages, user can select to report all unread short messages according to actual needs like this, in addition, the option that the report of selecting to end current note for user jumps to next automatically can also be set on the operation interface of intelligent terminal, reach the object of skipping Poor information note or refuse messages, in addition, user includes but not limited to click to the selection operation of variety of option certain button occurring on screen, mobile phone key or certain default gesture operation,
Step S15, generates according to described report instruction and Sex-linked marker male voice or the female voice audio data stream that comprises described associated person information and short message content; Concrete, when described source numbers is the contact number having existed in contact database, described male voice or female voice audio data stream comprise contact name and short message content, for example, " Zhang San "+" short message content ", when described source numbers is in contact database during non-existent contact number, combination and short message content that described male voice or female voice audio data stream comprise unknown contacts and this contact number, for example, " unknown contacts "+" contact number "+" short message content "; Preferably, in step S15, can adopt the parameter change mechanism of sex to generate corresponding male voice or female voice audio data stream, thereby not need to prepare the speech database of different sexes;
Step S16, reports described male voice or female voice audio data stream, specifically can report described male voice or female voice audio data stream by the media play software on user's intelligent terminal;
Preferably, in the time of execution step S16, also can show the information that comprises described associated person information and short message content, for example current information of reading aloud is carried out to highlighted demonstration on the display screen of user's intelligent terminal, to realize when reporting note, to user, show described associated person information and short message content, in addition, on display interface, can also arrange for user simultaneously and click screen to stop reporting the option of note, realization is not suitable for reporting the object of selecting to protect privacy of user under the occasion of note for user, in addition, upset mobile phone can be provided on as mobile phone on some intelligent terminals or rock the various gestures operations such as mobile phone and for user, send the order that stops reporting note.
Preferably, after step S16, obtain the modification information of the Sex-linked marker of associated person information, and described modification information is preserved to (referring to step S17 and S18) in described sex character database;
Next, repeating step S15 and step S16, according to described report instruction and Sex-linked marker, generate male voice or the female voice audio data stream that comprises described associated person information and short message content and report described male voice or female voice audio data stream, to realize the modification of male voice or female voice, switch, concrete, in the step of the male voice that generation comprises described associated person information and short message content or female voice audio data stream, can adopt queue mechanism, when the sound of Shang Yige chronomere is played, the sound of next unit is synthesized simultaneously, if user has carried out the modification switching of men and women's sound during this period, after the voice of current time unit have been played, the voice of next chronomere are according to Sex-linked marker generation respective change, the object of switching in real time to reach male voice female voice,
Preferably, after step S18, also can comprise: described modification information is preserved in the sex character database in a high in the clouds, concrete, sex character database can be safeguarded by high in the clouds, because user revises Sex-linked marker, to switch the operation of man or female voice relevant to the associated person information in user's contact database, the Sex-linked marker being upgraded by user generally can be thought Sex-linked marker accurately, the modification information of this Sex-linked marker not only can be saved in the local sex property data base of user's intelligent terminal, can also in being uploaded to a high in the clouds sex character database automatically, preserve the suitable time, if this associated person information occurs in a plurality of other users' contact database, other user is can be from high in the clouds synchronous or download these modification information of Sex-linked marker accurately, Sex-linked marker is by Sex-linked marker wrong in former sex property data base on other users' of replacement intelligent terminal accurately, like this when this contact person's note is when other users' intelligent terminal occurs on as mobile phone, male voice or female voice are reported this contact person's note accurately.
The method of the present embodiment can pure software form be arranged on the intelligent terminal of any report note as smart mobile phone, not only can automatically report associated person information and the short message content of note, can also, according to contact person's the Sex-linked marker judgement sex intelligence change of voice, make to report style hommization and variation.
Embodiment bis-
As shown in Figure 2, the invention provides another kind of note broadcasting method, the difference of the present embodiment and embodiment mono-is, increased the step that the additional information of distinguishing the boundary between associated person information and short message content is set, can when reporting, distinguish significantly associated person information and short message content, described method comprises:
Step S21, obtains new note, analyzes and obtain source numbers and the short message content of new note.
Step S22, mates to generate corresponding associated person information by the contact number in the described source numbers contact database default with.
Preferably, step S22 comprises:
Step S221, when described source numbers is the contact number having existed in contact database, from described contact database, obtain the contact name corresponding with this contact number, concrete, described contact database can be that user's intelligent terminal is as the address list on mobile phone;
Step S222, when described source numbers is in contact database during non-existent contact number, is recorded as associated person information corresponding to this contact number the combination of unknown contacts and this contact number.
Step S23, mates the Sex-linked marker of generic connection people information by the sex character record in the described associated person information sex character database default with.
Concrete, can calculate according to the combination combination algorithm of Chinese character the sex of maximum probability, sex information and name are kept in sex character database as a sex record, can also be by some sex character word or Feature Words as " beautiful ", the obvious Chinese characters of sex character such as " girls " or Chinese character combination are kept in sex character database, then the sex character record in the described associated person information sex character database default with is mated, if already present sex record in the associated person information in contact database and sex character database, tagged word or Feature Words coupling, the Sex-linked marker of generic connection people information, preserve the combined information of this Sex-linked marker and associated person information.
Step S24, obtains report instruction.
Preferably, described report instruction comprises report wall scroll, many or all instructions of unread short messages, concrete, can on the operation interface of intelligent terminal, arrange for user and select to report wall scroll, many or whole options of the instruction of unread short messages, user can select to report all unread short messages according to actual needs like this, in addition, the option that the report of selecting to end current note for user jumps to next automatically can also be set on the operation interface of intelligent terminal, reach the object of skipping Poor information note or refuse messages, in addition, user includes but not limited to click to the selection operation of variety of option certain button occurring on screen, mobile phone key or certain default gesture operation.
Step S25, arranges the additional information of distinguishing the boundary between associated person information and short message content.
Step S26, according to described report instruction and Sex-linked marker generation, comprise described associated person information, the male voice of additional information and short message content or female voice audio data stream, concrete, described additional information can be " note transmitting " and suitable pause information, to reach the object of distinguishing note source and short message content, when described source numbers is the contact number having existed in contact database, described male voice or female voice audio data stream comprise contact name, additional information and short message content, for example, " Zhang San "+" note transmitting "+" pause information "+" short message content ", when described source numbers is in contact database during non-existent contact number, the combination that described male voice or female voice audio data stream comprise unknown contacts and this contact number, additional information and short message content, for example, " unknown contacts "+" contact number "+" note transmitting "+" pause information "+" short message content ".
Preferably, in step S26, can adopt the parameter change mechanism of sex to generate corresponding male voice or female voice audio data stream, thereby not need to prepare the speech database of different sexes.
Step S27, reports described male voice or female voice audio data stream, specifically can report described male voice or female voice audio data stream by the media play software on user's intelligent terminal.
When preferably, performing step S27, also can comprise:
Show the information that comprises described associated person information and short message content, for example current information of reading aloud is carried out to highlighted demonstration on the display screen of user's intelligent terminal, to realize when reporting note, to user, show described associated person information and short message content, in addition, on display interface, can also arrange for user simultaneously and click screen to stop reporting the option of note, realization is not suitable for reporting the object of selecting to protect privacy of user under the occasion of note for user, in addition, upset mobile phone can be provided on as mobile phone on some intelligent terminals or rock the various gestures operations such as mobile phone and for user, send the order that stops reporting note.
Preferably, after step S27, also can comprise:
Step S28, obtains the modification information of the Sex-linked marker of associated person information;
Step S29, preserves described modification information in described sex character database;
Repeating step S26 and step S27, according to described report instruction and Sex-linked marker, generate male voice or the female voice audio data stream that comprises described associated person information and short message content and report described male voice or female voice audio data stream, to realize the modification of male voice or female voice, switch, concrete, in the step of the male voice that generation comprises described associated person information and short message content or female voice audio data stream, can adopt queue mechanism, when the sound of Shang Yige chronomere is played, the sound of next unit is synthesized simultaneously, if user has carried out the modification switching of men and women's sound during this period, after the voice of current time unit have been played, the voice of next chronomere are according to Sex-linked marker generation respective change, the object of switching in real time to reach male voice female voice.
Preferably, after step S29, also can comprise:
Described modification information is preserved in the sex character database in a high in the clouds, concrete, sex character database can be safeguarded by high in the clouds, because user revises Sex-linked marker, to switch the operation of man or female voice relevant to the associated person information in user's contact database, the Sex-linked marker being upgraded by user generally can be thought Sex-linked marker accurately, the modification information of this Sex-linked marker not only can be saved in the local sex property data base of user's intelligent terminal, can also in being uploaded to a high in the clouds sex character database automatically, preserve the suitable time, if this associated person information occurs in a plurality of other users' contact database, other user is can be from high in the clouds synchronous or download these modification information of Sex-linked marker accurately, Sex-linked marker is by Sex-linked marker wrong in former sex property data base on other users' of replacement intelligent terminal accurately, like this when this contact person's note is when other users' intelligent terminal occurs on as mobile phone, male voice or female voice are reported this contact person's note accurately.
The method of the present embodiment can pure software form be arranged on the intelligent terminal of any report note as smart mobile phone, not only can automatically report associated person information and the short message content of note, according to contact person's the Sex-linked marker judgement sex intelligence change of voice, can also, by additional information significant associated person information and short message content distinguished when reporting, make to report style hommization and variation.
Embodiment tri-
As shown in Figure 3, the invention provides another kind of note broadcasting method, the difference of the present embodiment and embodiment bis-is, increased the background noise that obtains report, judge that whether described background noise surpasses a default noise threshold, when described background noise surpasses a default noise threshold, judge whether to be circumscribed with the step of ear speaker device, thereby can Based Intelligent Control volume, described method comprises:
Step S31, obtains new note, analyzes and obtain source numbers and the short message content of new note.
Step S32, mates to generate corresponding associated person information by the contact number in the described source numbers contact database default with.
Preferably, step S32 comprises:
Step S321, when described source numbers is the contact number having existed in contact database, from described contact database, obtain the contact name corresponding with this contact number, concrete, described contact database can be that user's intelligent terminal is as the address list on mobile phone;
Step S322, when described source numbers is in contact database during non-existent contact number, is recorded as associated person information corresponding to this contact number the combination of unknown contacts and this contact number.
Step S33, mates the Sex-linked marker of generic connection people information by the sex character record in the described associated person information sex character database default with.
Concrete, can calculate according to the combination combination algorithm of Chinese character the sex of maximum probability, sex information and name are kept in sex character database as a sex record, can also be by some sex character word or Feature Words as " beautiful ", the obvious Chinese characters of sex character such as " girls " or Chinese character combination are kept in sex character database, then the sex character record in the described associated person information sex character database default with is mated, if already present sex record in the associated person information in contact database and sex character database, tagged word or Feature Words coupling, the Sex-linked marker of generic connection people information, preserve the combined information of this Sex-linked marker and associated person information.
Step S34, obtains report instruction.
Preferably, described report instruction comprises report wall scroll, many or all instructions of unread short messages, concrete, can on the operation interface of intelligent terminal, arrange for user and select to report wall scroll, many or whole options of the instruction of unread short messages, user can select to report all unread short messages according to actual needs like this, in addition, the option that the report of selecting to end current note for user jumps to next automatically can also be set on the operation interface of intelligent terminal, reach the object of skipping Poor information note or refuse messages, in addition, user includes but not limited to click to the selection operation of variety of option certain button occurring on screen, mobile phone key or certain default gesture operation.
Step S35, arranges the additional information of distinguishing the boundary between associated person information and short message content.
Step S36, according to described report instruction and Sex-linked marker generation, comprise described associated person information, the male voice of additional information and short message content or female voice audio data stream, concrete, described additional information can be " note transmitting " and suitable pause information, to reach the object of distinguishing note source and short message content, when described source numbers is the contact number having existed in contact database, described male voice or female voice audio data stream comprise contact name, additional information and short message content, for example, " Zhang San "+" note transmitting "+" pause information "+" short message content ", when described source numbers is in contact database during non-existent contact number, the combination that described male voice or female voice audio data stream comprise unknown contacts and this contact number, additional information and short message content, for example, " unknown contacts "+" contact number "+" note transmitting "+" pause information "+" short message content ".
Preferably, in step S36, can adopt the parameter change mechanism of sex to generate corresponding male voice or female voice audio data stream, thereby not need to prepare the speech database of different sexes.
Step S37, obtains the background noise of report, judges that whether described background noise surpasses a default noise threshold, when described background noise surpasses a default noise threshold, execution step 38, judges whether to be circumscribed with ear speaker device, if having, perform step S381, if nothing, step S382; When described background noise does not surpass a default noise threshold, perform step S39,
Step S381, promotes the first default volume amplitude to described male voice or female voice audio data stream, if user can promote volume with a set of volume amplitude boosting algorithm when earphone inserts state, reaches the object that promotes volume but do not stimulate user's sense of hearing;
Step S382, described male voice or female voice audio data stream are promoted to the second default volume amplitude, concrete, the first default volume amplitude or the second default volume amplitude be all an empirical value to reach the object that promotes volume, the second default volume amplitude is higher than the first default volume amplitude.
Step S39, reports described male voice or female voice audio data stream, specifically can report described male voice or female voice audio data stream by the media play software on user's intelligent terminal.
When preferably, performing step S39, also can comprise:
Show the information that comprises described associated person information and short message content, for example current information of reading aloud is carried out to highlighted demonstration on the display screen of user's intelligent terminal, to realize when reporting note, to user, show described associated person information and short message content, in addition, on display interface, can also arrange for user simultaneously and click screen to stop reporting the option of note, realization is not suitable for reporting the object of selecting to protect privacy of user under the occasion of note for user, in addition, upset mobile phone can be provided on as mobile phone on some intelligent terminals or rock the various gestures operations such as mobile phone and for user, send the order that stops reporting note.
Preferably, after step S39, also can comprise:
Step S40, obtains the modification information of the Sex-linked marker of associated person information;
Step S41, preserves described modification information in described sex character database;
Repeating step S36 is to step S39, according to described report instruction and Sex-linked marker, generate male voice or the female voice audio data stream that comprises described associated person information and short message content, report described male voice or female voice audio data stream, to realize the modification of male voice or female voice, switch, concrete, in the step of the male voice that generation comprises described associated person information and short message content or female voice audio data stream, can adopt queue mechanism, when the sound of Shang Yige chronomere is played, the sound of next unit is synthesized simultaneously, if user has carried out the modification switching of men and women's sound during this period, after the voice of current time unit have been played, the voice of next chronomere are according to Sex-linked marker generation respective change, the object of switching in real time to reach male voice female voice.
Preferably, after step S41, also can comprise:
Described modification information is preserved in the sex character database in a high in the clouds, concrete, sex character database can be safeguarded by high in the clouds, because user revises Sex-linked marker, to switch the operation of man or female voice relevant to the associated person information in user's contact database, the Sex-linked marker being upgraded by user generally can be thought Sex-linked marker accurately, the modification information of this Sex-linked marker not only can be saved in the local sex property data base of user's intelligent terminal, can also in being uploaded to a high in the clouds sex character database automatically, preserve the suitable time, if this associated person information occurs in a plurality of other users' contact database, other user is can be from high in the clouds synchronous or download these modification information of Sex-linked marker accurately, Sex-linked marker is by Sex-linked marker wrong in former sex property data base on other users' of replacement intelligent terminal accurately, like this when this contact person's note is when other users' intelligent terminal occurs on as mobile phone, male voice or female voice are reported this contact person's note accurately.
The method of the present embodiment can pure software form be arranged on the intelligent terminal of any report note as smart mobile phone, not only can automatically report associated person information and the short message content of note, according to contact person's the Sex-linked marker judgement sex intelligence change of voice, by additional information significant associated person information and short message content distinguished when reporting, can also be by obtaining the background noise of report, judge whether described background noise surpasses a default noise threshold, when described background noise surpasses a default noise threshold, judge whether to be circumscribed with ear speaker device and carry out Based Intelligent Control volume.
Embodiment tetra-
As shown in Fig. 4 to 7, the invention provides another kind of note broadcasting system, comprise note detecting module 1, speech synthesis engine 2, report module 3 and front end interactive module 4.Native system can hardware or the form of software be arranged on any smart mobile phone.Except can automatically reporting the contact person and content of note, still can judge the change of voice of sex intelligence according to contact person, according to environmental volume intelligence, change volume.
Introduce the working method of note broadcasting system below, when user installs native system for the first time, software can point out user to arrange.Content is set and comprises the monitoring of whether opening short message state.If user selects to open, note detecting module 1 operates in all the time on subscription client with the form of service together with speech synthesis engine 2, otherwise can arrange, only have speech synthesis engine 2 to operate on subscription client with service form, this service can guarantee the real-time startup to the real-time grasp of short message state and speech-sound synthesizing function.
Note detecting module 1 is for obtaining new note, analyze and obtain source numbers and the short message content of new note, contact number in the described source numbers contact database default with is mated to generate corresponding associated person information, the sex character record in the described associated person information sex character database default with is mated to the Sex-linked marker of generic connection people information.Concrete, described contact database can be that user's intelligent terminal is as the address list on mobile phone, in addition, can calculate according to the combination combination algorithm of Chinese character the sex of maximum probability, sex information and name are kept in sex character database as a sex record, can also be by some sex character word or Feature Words as " beautiful ", the obvious Chinese characters of sex character such as " girls " or Chinese character combination are kept in sex character database, then the sex character record in the described associated person information sex character database default with is mated, if already present sex record in the associated person information in contact database and sex character database, tagged word or Feature Words coupling, the Sex-linked marker of generic connection people information, preserve the combined information of this Sex-linked marker and associated person information, when new message arrives, first note detecting module 1 can be triggered, by the analysis to note, obtain the source numbers of this note, the information such as short message content.
Preferably, described note detecting module 1 is also for arranging the additional information of distinguishing the boundary between associated person information and short message content, described additional information can be " note transmitting " and suitable pause information, to reach the object of distinguishing note source and short message content, so that report style hommization.
Preferably, described note detecting module 1 for when described source numbers, be contact database existed contact number time, from described contact database, obtain the contact name corresponding with this contact number, when described source numbers is in contact database during non-existent contact number, associated person information corresponding to this contact number is recorded as to the combination of unknown contacts and this contact number, concrete, described contact database can be that user's intelligent terminal is as the contact database on mobile phone, obtain after the source numbers of this note, next need source numbers to process, local communication record that can search subscriber, when described source numbers is the contact number having existed in contact database, described male voice or female voice audio data stream comprise contact name and short message content, for example, " Zhang San "+" short message content ", when described source numbers is in contact database during non-existent contact number, combination and short message content that described male voice or female voice audio data stream comprise unknown contacts and this contact number, for example, " unknown contacts "+" contact number "+" short message content ".
Preferably, described note detecting module 1 is also for preserving the sex character database into a high in the clouds by described modification information, concrete, sex character database can be safeguarded by high in the clouds, because user revises Sex-linked marker, to switch the operation of man or female voice relevant to the associated person information in user's contact database, the Sex-linked marker being upgraded by user generally can be thought Sex-linked marker accurately, the modification information of this Sex-linked marker not only can be saved in the local sex property data base of user's intelligent terminal, can also in being uploaded to a high in the clouds sex character database automatically, preserve the suitable time, if this associated person information occurs in a plurality of other users' contact database, other user is can be from high in the clouds synchronous or download these modification information of Sex-linked marker accurately, Sex-linked marker is by Sex-linked marker wrong in former sex property data base on other users' of replacement intelligent terminal accurately, like this when this contact person's note is when other users' intelligent terminal occurs on as mobile phone, male voice or female voice are reported this contact person's note accurately.
Front end interactive module 4 is for receiving report instruction.Concrete, described report instruction comprises reports wall scroll, many or all instructions of unread short messages.
Speech synthesis engine 2 generates according to described report instruction and Sex-linked marker male voice or the female voice audio data stream that comprises described associated person information and short message content, concrete, can generate content that voice report generates character string and imports speech synthesis engine 2 into, speech synthesis engine 2 is according to Sex-linked marker, character string information is directly converted to corresponding male voice or female voice audio data stream, sends into buffer memory and wait for report.Speech synthesis engine 2 specifically can adopt the TTS chip of Hardware.In addition, speech synthesis engine 2 also can be used for arranging initial volume, frequency and tone color.
Preferably, male voice or female voice audio data stream also comprise described additional information.
Preferably, described note detecting module 1 is also for obtaining the modification information of the Sex-linked marker of associated person information, described modification information is preserved in described sex character database, concrete, if the sound sex information of reporting makes a mistake, user can be by carrying out the switching of male voice or female voice to intelligent terminal as mobile phone do simple operations so, the action command switching includes but not limited to click mobile phone screen or button, or the operation such as slip on mobile phone screen, note detecting module 1 receives after user is switched the order of male voice or female voice can upgrade the Sex-linked marker in sex character database, described speech synthesis engine 2 adopts the parameter change mechanism of sex to generate corresponding male voice or female voice audio data stream, accordingly, speech synthesis engine 2 is because the variation of Sex-linked marker can change oneself running parameter, by the variation of parameter, generate the audio data stream of different sexes feature, due to the mechanism that adopts parameter to change, native system does not need to prepare the speech database of different sexes.Speech synthesis engine 2 adopts queue mechanism when producing synthetic speech, when the sound of Shang Yige chronomere is played, the sound of next unit is synthesized simultaneously, if user has carried out the switching of men and women's sound during this period, after the voice of current time unit have been played, having there is variation in the sex character of the voice of next time unit, has reached like this object that male voice female voice switches in real time.
As shown in Figure 6, the operation principle of note detecting module 1 is as follows:
Step S61, is carved with note and arrives when a certain;
Step S62, user arranges whether report note;
Step S63, analyzes short message content;
Step S64, whether the user who sends note according to a default note data storehouse judgement is stranger, if perform step S67, if not, performs step S65;
Step S65, according to the sex character record in a default sex character database, carry out sex judgement, sex character in wherein said sex character database record can be modified by the modification information of the Sex-linked marker of contact information of customer, sex character database can sex character record also can synchronously upload to a high in the clouds and preserve, corresponding sex character database can sex character record also can synchronously upgrade according to the sex character record in institute high in the clouds;
Step S66, according to the Sex-linked marker of the result generic connection people information of sex judgement;
Step S67, adds the additional information of distinguishing the boundary between associated person information and short message content, and associated person information, Sex-linked marker, additional information and short message content are connected generation character string the most at last.
Report module 3 for reporting described male voice or female voice audio data stream.In addition, can provide the option that stops report when note is reported for user, can also in this system, add a sound identification module, user can be by reading out order word, as the mode of " stopping " stopping reporting.In addition, can also in this system, add a sensor assembly, user can stop reporting operation or jump to the operation that next is executed the task by the mode of rocking mobile phone, for user, does personalized selection.In addition, for fear of with call reminding, the conflict of alarm clock etc., the tone channel of reporting module 3 audio frequency outputs can be used media tone channel.
Preferably, described note detecting module 1, speech synthesis engine 2 and report module 3 are arranged at user terminal as on mobile phone.Certainly, also speech synthesis engine 2 can be arranged to the server in a high in the clouds, by server, male voice or female voice audio data stream after synthetic be dealt on user terminal.
Preferably, described front end interactive module 4 is also for showing the information that comprises described associated person information and short message content and/or obtaining the modification information of the Sex-linked marker of associated person information.Concrete, male voice after processing or female voice audio data stream input media player can be play, now front end interactive module 4 can show note source and content simultaneously, as current information of reading aloud is carried out to highlighted demonstration, to realize when reporting note, to user, show described associated person information and short message content, in addition, on display interface, can also arrange for user simultaneously and click screen to stop reporting the option of note, realization is not suitable for reporting the object of selecting to protect privacy of user under the occasion of note for user, in addition, upset mobile phone can be provided on as mobile phone on some intelligent terminals or rock the various gestures operations such as mobile phone and for user, send the order that stops reporting note, front end interactive module 4 is the short message content after processing can be presented on terminal screen on the one hand like this, on the other hand when men and women's sound of reporting makes a mistake, can accept user's feedback, if the modification information of acceptance being passed to user in 1 broadcasting of note detecting module selects to stop again, it will be accepted this information and input to speech synthesis engine 2 again, in addition, some of user settings need to be inputted by interactive module 4, for example report a note, many notes or whole unread short messages.
Preferably, described report instruction comprises report wall scroll, many or all instructions of unread short messages.Described front end interactive module 4 also can provide user to select to report wall scroll, many or whole options of the instruction of unread short messages, user can click the report of carrying out whole unread short messages, described note detecting module 1 is processed these note itemizes, according to above similarly method to every note, inquiry obtains associated person information, the Sex-linked marker of regeneration thing associated person information, then speech synthesis engine 2 obtains report instruction, according to described report instruction and Sex-linked marker, generate male voice or the female voice audio data stream that comprises described associated person information and short message content, and the responsible queue of safeguarding all unread short messages, then report module 3 and can report successively all notes of not reading in short message inbox according to time sequencing.In addition, also the option of the report of ending current note can be provided to user, to reach the object of skipping Poor information note or refuse messages.
Preferably, said system also comprises that a volume control module 5 is also for obtaining the background noise of report, when described background noise surpasses a default noise threshold, judges whether to be circumscribed with ear speaker device, if have, described male voice or female voice audio data stream are promoted to the first default volume amplitude; If nothing, promotes the second default volume amplitude to described male voice or female voice audio data stream.Concrete, can judge whether to need bright reading short message according to reporting instruction, if needed, volume control module 5 carries out pickup to obtain the background noise of report, for example can carry out pickup by the built-in microphone of intelligent terminal, if be checked through background noise, surpassed certain threshold values, can automatically improve the signal amplitude of audio data stream, reach the object of Based Intelligent Control volume.
As shown in Figure 5, the operation principle of note broadcasting system is specific as follows:
Step S51, when the intelligent terminal start that note broadcasting system is installed is in holding state;
Step S52, the ensuing note that is carved with when a certain arrives intelligent terminal;
Step S53, now note detecting module 1 monitors this note;
Step S54, note detecting module 1 is connected associated person information, Sex-linked marker, additional information and short message content to generate character string;
Step S55, the character string synthetic speech that speech synthesis engine 2 generates note detecting module 1;
Step S56,5 pairs of synthetic speechs of volume control module carry out Intelligent volume control;
Step S57, reports module 3 and reports synthetic speech;
Step S58, front end interactive module 4 is carried out front end demonstration by associated person information and short message content, when user carries out after male voice or female voice switching, can forward step S57 to and report the synthetic speech that module 3 is reported after switching, after report finishes, the new message of step S53 note detecting module 1 other arrival of monitoring can be forwarded to, when user selects to report whole unread short messages, step S55 speech synthesis engine 2 can be forwarded to by the character string synthetic speech of other all unread short messages of note detecting module 1 generation.
As shown in Figure 7, the operation principle of volume control module 5 is as follows:
Step S71, obtains male voice or female voice audio data stream from speech synthesis engine 2;
Step S72, to obtain the background noise of report, and judges that whether described background noise surpasses a default noise threshold by microphone pickup, if not, performs step S76, if so, performs step S73;
Step S73, judges whether peripheral earphone, if so, performs step S74, if not, performs step S75;
Step S74, promotes volume more by a small margin, reaches the object that promotes volume but do not stimulate user's sense of hearing;
Step S75, promotes higher amplitude by volume;
Step S76, deposits male voice or female voice audio data stream in buffer memory, waits for and reporting.
The system of the present embodiment not only can be reported associated person information and the short message content of note automatically, according to contact person's the Sex-linked marker judgement sex intelligence change of voice, by additional information significant associated person information and short message content distinguished when reporting, can also be by obtaining the background noise of report, judge whether described background noise surpasses a default noise threshold, when described background noise surpasses a default noise threshold, judge whether to be circumscribed with ear speaker device and carry out Based Intelligent Control volume.
In sum, tool of the present invention has the following advantages:
1, the present invention is by obtaining new note, analyze and obtain source numbers and the short message content of new note, described source numbers is mated to generate corresponding associated person information with the contact number in default contact database, described associated person information is mated to the Sex-linked marker of generic connection people information with the sex character record in default sex character database, obtain report instruction, according to described report instruction and Sex-linked marker, generate male voice or the female voice audio data stream that comprises described associated person information and short message content, and report described male voice or female voice audio data stream, can be after accepting note automatic search contact person, and can be according to the Sex-linked marker intelligent selection male voice female voice of associated person information, make to report style hommization and variation,
2,, by the additional information of distinguishing the boundary between associated person information and short message content is set, can when reporting, distinguish significantly associated person information and short message content;
3, by speech synthesis engine is arranged on user terminal, the speech synthesis engine of realizing based on local carries out the conversion of Text To Speech, can save user network flow, improves response speed, and is applicable to more occasions;
4, by obtaining the modification information of the Sex-linked marker of associated person information, described modification information is preserved in described sex character database, repetition generates male voice or the female voice audio data stream that comprises described associated person information and short message content and reports described male voice or the step of female voice audio data stream according to described report instruction and Sex-linked marker, realize and do not need to specify in advance male voice or female voice database, can carry out the real-time change of voice according to the modification information of the Sex-linked marker of contact information of customer, convenient, flexible;
5,, by described modification information being preserved in the sex character database in a high in the clouds, the sex character database update to high in the clouds, for other user's inquiries, improves the accuracy of sex judgement at any time;
6, described report instruction comprises report wall scroll, many or all instructions of unread short messages, user can arrange the note of whether reading aloud all arrivals, can once read aloud all unread short messages functions, to reduce user's operation, when non-selected report instruction, can forbid note and report, to protect privacy of user;
7, by obtaining the background noise of report, when described background noise surpasses a default noise threshold, judge whether to be circumscribed with ear speaker device, if have, described male voice or female voice audio data stream are promoted to the first default volume amplitude, if nothing, promotes the second default volume amplitude to described male voice or female voice audio data stream, realize Based Intelligent Control volume.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.For the disclosed system of embodiment, owing to corresponding to the method disclosed in Example, so description is fairly simple, relevant part partly illustrates referring to method.
Professional can also further recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software is clearly described, composition and the step of each example described according to function in the above description in general manner.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can specifically should be used for realizing described function with distinct methods to each, but this realization should not thought and exceeds scope of the present invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these change and modification.