CN106973168A - Speech playing method, device and computer equipment - Google Patents

Speech playing method, device and computer equipment Download PDF

Info

Publication number
CN106973168A
CN106973168A CN201710307405.3A CN201710307405A CN106973168A CN 106973168 A CN106973168 A CN 106973168A CN 201710307405 A CN201710307405 A CN 201710307405A CN 106973168 A CN106973168 A CN 106973168A
Authority
CN
China
Prior art keywords
played
voice messaging
voice
sensitive
speech
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710307405.3A
Other languages
Chinese (zh)
Inventor
张烨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710307405.3A priority Critical patent/CN106973168A/en
Publication of CN106973168A publication Critical patent/CN106973168A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72433User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for voice messaging, e.g. dictaphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the present invention provides a kind of speech playing method, device and computer equipment, and methods described includes:Obtain voice messaging to be played;The sensitive kind of voice messaging to be played according to the voice attributes parameter detecting of the voice messaging to be played;The voice messaging to be played is played out according to the corresponding broadcast mode of the sensitive kind.Above-mentioned speech playing method, device and computer equipment, voice messaging to be played is played out, improve the security of voice messaging according to the corresponding broadcast mode of sensitive kind.

Description

Speech playing method, device and computer equipment
Technical field
The present invention relates to field of computer technology, more particularly to a kind of speech playing method, device and computer equipment.
Background technology
With the popularization of intelligent terminal, the propagation of information becomes more and more rapidly and extensively, the security requirement of information Increasingly it is taken seriously.In instant traffic scene, user can receive the information from another user, can also send out information Deliver to another user.
Communication information directly can be stored in database by traditional intelligent terminal after communication information is received, When user needs to check or play communication information, terminal is directly obtained in database, and on terminal interface Shown or played out by terminal plays device.But in face of complicated external environment, so show or play letter The method of breath can cause some to be exposed than more sensitive information, it is impossible to ensure the safety of information.
The content of the invention
The embodiment of the present invention provides a kind of speech playing method, device and computer equipment, can improve voice messaging Security.
A kind of speech playing method, including:
Obtain voice messaging to be played;
The sensitive kind of voice messaging to be played according to the voice attributes parameter detecting of the voice messaging to be played;
The voice messaging to be played is played out according to the corresponding broadcast mode of the sensitive kind.
A kind of voice playing device, including:
Data obtaining module, for obtaining voice messaging to be played;
Type detection module, for language to be played described in the voice attributes parameter detecting according to the voice messaging to be played The sensitive kind of message breath;
Information playing module, for being entered the voice messaging to be played according to the corresponding broadcast mode of the sensitive kind Row is played.
A kind of computer equipment, including memory, processor and storage can be run on a memory and on a processor Computer program, following steps are realized during the computing device described program:
Obtain voice messaging to be played;
The sensitive kind of voice messaging to be played according to the voice attributes parameter detecting of the voice messaging to be played;
The voice messaging to be played is played out according to the corresponding broadcast mode of the sensitive kind.
Speech playing method provided in an embodiment of the present invention, device and computer equipment, are obtained according to voice messaging to be played Voice attributes parameter is taken, according to the sensitive kind of voice attributes parameter detecting voice messaging to be played, and according to sensitive kind pair The broadcast mode answered plays out voice messaging to be played, improves the security of voice messaging.
Brief description of the drawings
Fig. 1 is the application environment schematic diagram of speech playing method in one embodiment;
Fig. 2 is the flow chart of speech playing method in one embodiment;
Fig. 3 is the flow chart of speech playing method in another embodiment;
Fig. 4 is the terminal interface figure of input broadcasting password in one embodiment;
Fig. 5 is the flow chart of speech playing method in another embodiment;
Fig. 6 is the structural representation of voice playing device in one embodiment;
Fig. 7 is the structural representation of voice playing device in another embodiment;
Fig. 8 is the internal structure schematic diagram of server in one embodiment;
Fig. 9 is the block diagram of the part-structure of the mobile terminal related to computer equipment provided in an embodiment of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Fig. 1 is the application environment schematic diagram of speech playing method in one embodiment.As shown in figure 1, the application environment bag Include user terminal 102 and server 104.User terminal 102 is used to input speech play instruction, is instructed and generated according to speech play Speech play is asked, and speech play request is sent to server 104.After server 104 receives speech play request, Obtain voice messaging to be played, and the voice letter to be played according to the voice attributes parameter detecting of the voice messaging to be played The sensitive kind of breath, then obtain and send the corresponding broadcast mode of sensitive kind to user terminal 102.User terminal 102 is received To after the corresponding broadcast mode of the sensitive kind, according to the corresponding broadcast mode of the sensitive kind by the voice to be played Information is played out.Wherein, application terminal 102 be in computer network outermost, be mainly used in input user profile and The electronic equipment of result is exported, for example, can be that PC, mobile terminal, personal digital assistant, wearable electronic are set It is standby etc..Server 104 is to be used to respond service request, while providing the equipment of the service of calculating, for example, can be one or many Platform computer.
Fig. 2 is the flow chart of speech playing method in one embodiment, as shown in Fig. 2 the speech playing method includes step Rapid S202 to step S206, wherein:
Step S202, obtains voice messaging to be played.
In the embodiment that the present invention is provided, voice messaging refers to the information propagated with speech form, language to be played Message breath refers to the voice messaging for needing to play out.The voice messaging can include instant telecommunication speech information, voice broadcast Information, news voice messaging etc..
For example, when sending information by the social class application software of instant communication terminal, an application account is to another One application account sends voice messaging, and after voice messaging is received, voice messaging can be numbered using account for this, And the voice messaging after numbering is stored in database.When terminal receives speech play instruction, according to the speech play The voice messaging that reference numeral is searched in database is instructed, and is played out on instant communication terminal.
Step S204, according to the sensitive kinds of the voice attributes parameter detecting voice messaging to be played of voice messaging to be played Type.
In the embodiment that the present invention is provided, voice attributes parameter refers to the parameter for representing voice messaging association attributes.It is quick The voice messaging of sense refers to the voice messaging for including private information, and sensitive kind refers to the private information included in voice messaging Type.
In one embodiment, voice attributes parameter can include speech characteristic parameter and voice content.Wherein, voice is special The parameter that parameter refers to the essential characteristic for describing voice messaging is levied, such as speech characteristic parameter refers to be used to describe voice letter The parameter of the essential characteristic of breath, speech characteristic parameter can include the voice identifier of voice messaging, the vocal print feature of voice messaging, One or more in tone color, tone of voice messaging etc..Voice content refers to the substantive content included in voice messaging, example As terminal receives voice messaging that certain user sends for " hello, and there is the time this afternoon", then the language of the voice messaging Sound content is just " you have the time good this afternoon ".
In the embodiment that the present invention is provided, sensitive kind can include identity sensitive kind and content erotic type, body Part sensitive kind refers to the identity sensitivity to the speaker in the voice messaging, and content erotic type refers to the language to voice messaging Sound content erotic.
Step S206, plays out voice messaging to be played according to the corresponding broadcast mode of sensitive kind.
In the embodiment that the present invention is provided, broadcast mode refers to the mode of terminal plays voice messaging, usually, terminal Broadcast mode include earphone broadcast mode, loudspeaker broadcast mode, receiver broadcast mode etc..System has preset sensitive kinds The corresponding broadcast mode of type, after detection obtains voice messaging corresponding sensitive mode, can be obtained pair according to the sensitive mode The broadcast mode answered.
Above-mentioned speech playing method, obtains voice attributes parameter, according to voice attributes parameter according to voice messaging to be played The sensitive kind of voice messaging to be played is detected, and is carried out voice messaging to be played according to the corresponding broadcast mode of sensitive kind Play, improve the security of voice messaging.
Fig. 3 is the flow chart of speech playing method in another embodiment, as shown in figure 3, the speech playing method includes Step S302 to step S308, wherein:
Step S302, obtains voice messaging to be played.
In the embodiment that the present invention is provided, after voice messaging is received, voice messaging can be stored in database In, can be with the corresponding voice numbering of stored voice message, voiced name, storage address, voice duration, voice identifier in database Etc. information.
When terminal receives speech play instruction, the voice carried in being instructed according to speech play is numbered in data Voice messaging to be played is obtained in storehouse.Wherein, speech play instruction can be touch control operation, the pressing operation of physical button, language Sound control operation rocks the trigger actions such as operation to mobile terminal.Touch control operation has touch clicking operation, touches long-press behaviour Make, touch slide, multi-point touch operation etc., it is the touch pressing operation more than preset duration to touch long-press operation.
Step S304, according to the sensitive kinds of the voice attributes parameter detecting voice messaging to be played of voice messaging to be played Type.
In one embodiment, the speech characteristic parameter of the voice messaging to be played is obtained, if detecting the voice Characteristic parameter is default characteristic parameter, then the voice messaging to be played is identity sensitive kind;And/or obtain described to be played The voice content of voice messaging, if detecting comprising default sensitive content in the voice content, the voice letter to be played Cease for content erotic type.
Wherein, speech characteristic parameter refers to the parameter of the essential characteristic for describing voice messaging, and such as phonetic feature is joined Number can include one kind in voice identifier, the vocal print feature of voice messaging, the tone color of voice messaging, tone of voice messaging etc. Or it is a variety of.
Specifically, the voice identifier of voice messaging to be played is obtained, if it is default voice identifier to detect voice identifier, Voice messaging to be played is identity sensitive kind.Voice identifier refers to the unique mark of the voice messaging, such as in instant messaging In system, when a user to another user send voice messaging when, the voice identifier can refer to the user terminal identification, Using the one or more in account identification, voice messaging mark etc..
In the other embodiment that the present invention is provided, the vocal print feature of voice messaging to be played is obtained, if detecting vocal print Feature matches with default sound-groove model, then judges the voice messaging to be played as identity sensitive kind.Wherein, vocal print feature is Refer to the sound wave spectrum for the verbal information that voice messaging is carried.
For example, identity can be recorded by terminal than the sound of more sensitive user, set up quick according to the sound recorded Feel sound-groove model storehouse.When terminal receives voice messaging to be played, the vocal print feature of voice messaging to be played is extracted, by the sound Line feature is matched with sensitive sound-groove model storehouse.If in the presence of the sensitive sound-groove model matched with the vocal print feature, judging The voice messaging to be played is identity sensitive kind.
It is understood that voice content refers to the substantive content included in voice messaging.Specifically, system is pre-established Sensitive dictionary, terminal is received after voice messaging to be played, extracts the keyword in voice messaging to be played.By the key of extraction Word is compared with the keyword in sensitive dictionary, if there is occurrence, judges the voice messaging to be played as content erotic Type.
Step S306, according to the sensitive grade of voice attributes parameter acquiring voice messaging to be played.
In the embodiment that the present invention is provided, sensitive grade is used for representing the sensitivity of voice messaging.Usually, it is sensitive Higher grade, it is believed that the voice messaging to be played is more important, i.e., voice messaging is more sensitive;Opposite sensitivity lower grade, it is believed that should Voice messaging to be played is more inessential, i.e., voice messaging is more insensitive.
Specifically, voice letter to be played can be determined according to the sensitive keys word quantity included in voice messaging to be played The sensitive grade of breath.The keyword in voice messaging to be played is extracted, the keyword is matched with sensitive dictionary, matched into The keyword of work(is sensitive keys word, and system pre-sets the corresponding relation of sensitive keys word quantity and sensitive grade.Statistics Sensitive keys word quantity, and according to the sensitive keys word quantity and the sensitive grade of corresponding relation acquisition voice messaging to be played. Sensitive keys word quantity is more, it is believed that the voice messaging to be played is more sensitive, i.e. the sensitive grade of the voice messaging to be played is got over It is high;Conversely, then it is assumed that the sensitive lower grade of the voice messaging to be played.
In the other embodiment that the present invention is provided, sensitive dictionary is set up according to the sensitive keys word pre-set, and build Vertical sensitive keys word and the corresponding relation of sensitive grade.For example, " password ", " card number ", " identity card can be included in sensitive dictionary Number " etc., then it is respectively 5 grades, 4 grades and 3 grades that can set " password ", " card number ", " identification card number " corresponding sensitive grade.
Extract the keyword included in voice messaging to be played, and by the keyword and the sensitive keys word in sensitive dictionary Contrasted, if in the presence of the sensitive keys word that the match is successful, basis is somebody's turn to do the sensitive keys word and sensitive grade that the match is successful Corresponding relation, obtains the sensitive grade of the voice messaging to be played.If detect in the voice messaging to be played exist two or More than two sensitive keys words, then be used as voice to be played using the corresponding sensitive grade of sensitive grade highest sensitive keys word The sensitive grade of information.
In one embodiment, voice identifier storehouse is pre-established according to voice identifier, and pre-set in voice identifier storehouse Voice identifier and sensitive grade corresponding relation.If the voice identifier of voice messaging to be played and the voice in voice identifier storehouse The match is successful for mark, then be used as sensitivity of the voice messaging to be played etc. using the corresponding sensitive grade of voice identifier that the match is successful Level.
For example, voice identifier can be that account is applied in social networking application program, and user can select in address list Identity is than more sensitive application account, and terminal obtains the application account of user's selection and sets up voice identifier storehouse.When user needs When playing voice messaging, terminal is contrasted the voice identifier of the voice messaging with the voice identifier in the voice identifier storehouse.
In one embodiment, vocal print feature storehouse can also be pre-established, and pre-sets the vocal print in vocal print feature storehouse Model and the corresponding relation of sensitive grade.If the vocal print feature of voice messaging to be played and the sound-groove model in vocal print feature storehouse With success, then the sensitive grade of the voice messaging to be played is used as using the corresponding sensitive grade of sound-groove model that the match is successful.
Step S308, obtains the broadcast mode of voice messaging to be played according to sensitive kind and sensitive grade, and according to broadcasting Mode is put to play out voice messaging to be played.
In one embodiment, if detecting the voice messaging to be played for identity sensitive kind, wait to broadcast by described Put voice messaging and carry out voice change process, and the voice messaging to be played after voice change process is played out;If and/or detecting institute Voice messaging to be played is stated for content erotic type, then is played out the voice messaging to be played with secret play mode.
Wherein, voice change process refers to a series of processing of the sound characteristic progress to voice messaging, reaches no legal person To recognize the purpose of speaker's identity in voice messaging.Secret play mode refers to the comparison that system or user pre-set The broadcasting form of secret, for example, be set to earphone play mode, or amount of bass play mode by the secret play mode.
In the other embodiment that the present invention is provided, if detecting the voice messaging to be played for content erotic type, Then the voice messaging to be played is played out with default volume.Default volume is usually smaller volume, when detecting When the voice messaging to be played is content erotic type, illustrate that the voice content in the voice messaging to be played is more sensitive, Then the voice messaging to be played is played out with less volume, the security of the voice messaging to be played can be improved.
Further, if detecting the voice messaging to be played for content erotic type, detection terminal is current Speech play pattern;If the current speech play pattern of the terminal is secret play mode, the voice to be played is believed Breath is played out.
In one embodiment, the broadcast mode of the voice messaging to be played is obtained according to sensitive grade, and according to institute Broadcast mode is stated to play out the voice messaging to be played.For example, sensitive grade has corresponded to different default broadcasting times, Corresponding default broadcasting time is obtained according to sensitive grade, if the broadcasting time of the voice messaging to be played is in the default broadcasting In number of times, then the voice messaging to be played is played.
In another embodiment, sensitive grade has corresponded to different preset play times, according to the acquisition pair of sensitive grade The preset play time answered, if the reproduction time of the voice messaging to be played is in the preset play time, plays this and waits to broadcast Put voice messaging.
Password is played it is understood that can also be set to voice messaging to be played, when user terminal detects broadcasting During instruction, voice messaging to be played is obtained according to the play instruction.If according to voice attributes parameter detecting to the voice to be played Information is sensitive voice messaging, then receives the broadcasting password of user terminal input, if play password plays password to be default, is broadcast Put the voice messaging to be played.
In the other embodiment that the present invention is provided, when user terminal receives voice messaging to be played, according to described The sensitive kind of voice messaging to be played described in the voice attributes parameter detecting of voice messaging to be played, and obtained according to sensitive kind Take corresponding broadcast mode.Voice messaging to be played is stored in database, and voice messaging to be played is marked with flag bit Corresponding broadcast mode, if voice messaging to be played is not sensitive voice messaging, corresponding broadcasting side is marked also by flag bit Formula.When terminal input speech play instruction, voice messaging to be played and mark are obtained in database according to speech play instruction Will position, and played out voice messaging to be played with the corresponding broadcast mode of flag bit.
Fig. 4 is the terminal interface figure of input broadcasting password in one embodiment.As shown in figure 4, referring to when user sends broadcasting After order, backstage obtains voice messaging to be played according to the play instruction.If according to voice attributes parameter detecting to the language to be played Message breath is sensitive voice messaging, then shows that the interface of password is played in input on the user terminal interface.If user's input Play password and play password to be default, then play the voice messaging to be played.
Above-mentioned speech playing method, obtains voice attributes parameter, according to voice attributes parameter according to voice messaging to be played The sensitive kind and sensitive grade of voice messaging to be played are detected, and according to sensitive kind broadcast mode corresponding with sensitive grade Voice messaging to be played is played out, the security of voice messaging is improved.
Fig. 5 is the flow chart of speech playing method in another embodiment, as shown in figure 5, the speech playing method includes Step S502 to step S510, wherein:
Step S502, the speech play instruction of detection user's input.
In one embodiment, user selects the voice messaging for needing to play in terminal interface, and defeated by user terminal Enter speech play instruction.
Step S504, voice messaging to be played and its corresponding broadcast mode are obtained according to speech play instruction.
In the embodiment that the present invention is provided, voice messaging to be played has two types, i.e., sensitive voice messaging and Fei Min Feel voice messaging, voice messaging to be played is stored in database, and stores corresponding broadcast mode.User terminal is detected After speech play instruction, voice messaging to be played and corresponding broadcasting can just be obtained in database according to speech play instruction Mode.
Step S506, obtains the currently playing mode of terminal.
Whether step S508, the corresponding broadcast mode of voice messaging to be played is identical with the currently playing mode of terminal, if so, Step S510 is then performed, if it is not, then performing step S508.
In one embodiment, the currently playing mode of terminal refers to the mode of the currently playing voice messaging of user terminal.Obtain Get after the currently playing mode of terminal, detect that the corresponding broadcast mode of voice messaging to be played is with the currently playing mode of terminal No identical, by user's terminal plays voice messaging to be played if identical, cycle detection terminal is currently broadcast if differing Put mode.
Step S510, plays the voice messaging to be played.
User terminal is played out by the corresponding broadcast mode of voice messaging to be played to the voice messaging to be played. If voice messaging to be played is sensitive voice messaging, user terminal is played out with sensitive broadcast mode, if language to be played Message breath is non-sensitive voice messaging, then user terminal is played out with non-sensitive broadcast mode, improves voice messaging Security.
Fig. 6 is the structural representation of voice playing device in one embodiment, and the voice playing device 600 is obtained including information Modulus block 602, type detection module 604 and information playing module 606, wherein:
Data obtaining module 602, for obtaining voice messaging to be played.
Type detection module 604, for waiting to broadcast described in the voice attributes parameter detecting according to the voice messaging to be played Put the sensitive kind of voice messaging.
Information playing module 606, for being believed the voice to be played according to the corresponding broadcast mode of the sensitive kind Breath is played out.
Above-mentioned voice playing device, obtains voice attributes parameter, according to voice attributes parameter according to voice messaging to be played The sensitive kind of voice messaging to be played is detected, and is carried out voice messaging to be played according to the corresponding broadcast mode of sensitive kind Play, improve the security of voice messaging.
Fig. 7 is the structural representation of voice playing device in another embodiment, and the voice playing device 700 includes information Acquisition module 702, type detection module 704, grade acquisition module 706 and information playing module 708, wherein:
Data obtaining module 702, for obtaining voice messaging to be played.
Type detection module 704, for waiting to broadcast described in the voice attributes parameter detecting according to the voice messaging to be played Put the sensitive kind of voice messaging.
Grade acquisition module 706, the sensitivity for the voice messaging to be played according to institute's speech attribute parameter acquiring Grade.
Information playing module 708, for obtaining the voice messaging to be played according to the sensitive kind and sensitive grade Broadcast mode, and the voice messaging to be played is played out according to the broadcast mode.
Above-mentioned voice playing device, obtains voice attributes parameter, according to voice attributes parameter according to voice messaging to be played The sensitive kind and sensitive grade of voice messaging to be played are detected, and according to sensitive kind broadcast mode corresponding with sensitive grade Voice messaging to be played is played out, the security of voice messaging is improved.
In the embodiment that the present invention is provided, type detection module 704 is additionally operable to obtain the voice messaging to be played Speech characteristic parameter, if it is default characteristic parameter to detect the speech characteristic parameter, the voice messaging to be played is body Part sensitive kind;And/or the voice content of the voice messaging to be played is obtained, if detecting in the voice content comprising pre- If sensitive content, then the voice messaging to be played is content erotic type.
In another embodiment, if information playing module 708 is additionally operable to detect the voice messaging to be played for body Part sensitive kind, then will the voice messaging progress voice change process to be played, and by the voice messaging to be played after voice change process Play out;If and/or it is content erotic type to detect the voice messaging to be played, by the voice messaging to be played Played out with secret play mode.
In one embodiment, information playing module 708 is additionally operable to be incited somebody to action according to the corresponding broadcast mode of the sensitive kind The voice messaging to be played is played out.
In the other embodiment that the present invention is provided, if information playing module 708 is additionally operable to detect the language to be played Message breath is content erotic type, then detects the current speech play pattern of terminal;If the current speech play mould of the terminal Formula is secret play mode, then plays out the voice messaging to be played.
The division of modules is only used for for example, in other embodiments in above-mentioned voice playing device, can be by language Sound playing device is divided into different modules as required, to complete all or part of function of above-mentioned voice playing device.
Fig. 8 is the internal structure schematic diagram of server in one embodiment.As shown in figure 8, the server is included by being Processor, non-volatile memory medium, built-in storage and the network interface of bus of uniting connection.Wherein, the server is non-volatile Property storage medium is stored with operating system, database and voice playing device, and be stored with voice messaging in database, and the voice is broadcast Put device be used for realize be applied to server a kind of speech playing method.The processor of the server, which is used to provide, to be calculated and controls Ability processed, supports the operation of whole server.The built-in storage of the server is the speech play in non-volatile memory medium The operation of device, which is provided in environment, the built-in storage, can store computer-readable instruction, and the computer-readable instruction is described During computing device, a kind of speech playing method of the computing device may be such that.The network interface of the server is used for according to this Communicated with outside terminal by network connection, such as receiving terminal is sent speech play request and return to broadcasting to terminal Method etc..Server can with independent server either multiple server groups into server cluster realize.This area Technical staff is appreciated that the structure shown in Fig. 8, is only the block diagram of the part-structure related to application scheme, not The restriction for the server being applied thereon to application scheme is constituted, specific server can include more more than shown in figure Or less part, either combine some parts or arranged with different parts.
The embodiment of the present invention provides a kind of computer-readable recording medium, is stored thereon with computer program, the program quilt Following steps are realized during computing device:
Obtain voice messaging to be played;
The sensitive kind of voice messaging to be played according to the voice attributes parameter detecting of the voice messaging to be played;
The voice messaging to be played is played out according to the corresponding broadcast mode of the sensitive kind.
The embodiment of the present invention additionally provides a kind of computer equipment.As shown in figure 9, for convenience of description, illustrate only with The related part of the embodiment of the present invention, particular technique details is not disclosed, refer to present invention method part.The calculating Machine equipment can be include mobile phone, tablet personal computer, PDA (Personal Digital Assistant, personal digital assistant), Any terminal device such as POS (Point of Sales, point-of-sale terminal), vehicle-mounted computer, Wearable, using computer equipment as Exemplified by mobile terminal:
Fig. 9 is the block diagram of the part-structure of the mobile terminal related to computer equipment provided in an embodiment of the present invention.Ginseng Fig. 9 is examined, mobile terminal includes:Radio frequency (Radio Frequency, RF) circuit 910, memory 920, input block 930, display Unit 940, sensor 950, voicefrequency circuit 960, Wireless Fidelity (wireless fidelity, WiFi) module 970, processor The part such as 980 and power supply 990.It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 9 is not constituted pair The restriction of mobile terminal, can include than illustrating more or less parts, either combine some parts or different parts Arrangement.
Wherein, RF circuits 910 can be used for receive and send messages or communication process in, the reception and transmission of signal can be by base stations After downlink information is received, handled to processor 980;Up data can also be sent to base station.Generally, RF circuits include but Be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuits 910 can also be communicated by radio communication with network and other equipment.Above-mentioned channel radio Letter can use any communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE)), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 920 can be used for storage software program and module, and processor 980 is stored in memory 920 by operation Software program and module, so as to perform various function application and the data processing of mobile terminal.Memory 920 can be main Including program storage area and data storage area, wherein, what program storage area can be needed for storage program area, at least one function should With program (application program of such as sound-playing function, application program of image player function etc.) etc.;Data storage area can be deposited Storage uses created data (such as voice data, address list etc.) etc. according to mobile terminal.In addition, memory 920 can be with Including high-speed random access memory, nonvolatile memory, for example, at least one disk memory, flash memory can also be included Device or other volatile solid-state parts.
Input block 930 can be used for the numeral or character information for receiving input, and produce the user with mobile terminal 900 Set and the relevant key signals of function control are inputted.Specifically, input block 930 may include contact panel 931 and other Input equipment 932.Contact panel 931, alternatively referred to as touch-screen, collect touch operation of the user on or near it (such as User uses the behaviour of any suitable object or annex on contact panel 931 or near contact panel 931 such as finger, stylus Make), and corresponding attachment means are driven according to formula set in advance.In one embodiment, contact panel 931 may include to touch Touch two parts of detection means and touch controller.Wherein, touch detecting apparatus detects the touch orientation of user, and detects touch The signal brought is operated, touch controller is transmitted a signal to;Touch controller receives touch information from touch detecting apparatus, And it is converted into contact coordinate, then give processor 980, and the order sent of reception processing device 980 and can be performed.This Outside, contact panel 931 can be realized using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except touch-control Panel 931, input block 930 can also include other input equipments 932.Specifically, other input equipments 932 can include but It is not limited to the one or more in physical keyboard, function key (such as volume control button, switch key etc.) etc..
Display unit 940 can be used for the information that is inputted by user of display or the information for being supplied to user and mobile terminal Various menus.Display unit 940 may include display panel 941.In one embodiment, liquid crystal display can be used (Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-Emitting Diode, ) etc. OLED form configures display panel 941.In one embodiment, contact panel 931 can cover display panel 941, when tactile Control panel 931 is detected after the touch operation on or near it, sends processor 980 to determine the type of touch event, Corresponding visual output is provided on display panel 941 according to the type of touch event with preprocessor 980.Although in fig .9, Contact panel 931 and display panel 941 are input and the input function that mobile terminal is realized as two independent parts, but It is in some embodiments it is possible to by contact panel 931 and display panel 941 input and output integrated and that realize mobile terminal Function.
Mobile terminal 900 may also include at least one sensor 950, such as optical sensor, motion sensor and other Sensor.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can basis The light and shade of ambient light adjusts the brightness of display panel 941, and proximity transducer can close when mobile terminal is moved in one's ear Display panel 941 and/or backlight.Motion sensor may include acceleration transducer, and each is can detect by acceleration transducer The size of acceleration on direction, can detect that size and the direction of gravity when static, available for answering for identification mobile terminal posture With (such as horizontal/vertical screen switching), Vibration identification correlation function (such as pedometer, percussion) etc.;In addition, mobile terminal can also configure Other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor etc..
Voicefrequency circuit 960, loudspeaker 961 and microphone 962 can provide the COBBAIF between user and mobile terminal.Sound Electric signal after the voice data received conversion can be transferred to loudspeaker 961, is converted to by loudspeaker 961 by frequency circuit 960 Voice signal is exported;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, is received by voicefrequency circuit 960 After be converted to voice data, then after voice data output processor 980 is handled, another shifting can be sent to through RF circuits 910 Dynamic terminal, or voice data is exported to memory 920 so as to subsequent treatment.
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user's transmitting-receiving electricity by WiFi module 970 Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 9 shows Go out WiFi module 970, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal 900, can be as needed And omit.
Processor 980 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by operation or performs and is stored in software program and/or module in memory 920, and calls and be stored in storage Data in device 920, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal. In one embodiment, processor 980 may include one or more processing units.In one embodiment, processor 980 can be integrated Application processor and modem processor, wherein, application processor mainly handles operating system, user interface and application program Deng;Modem processor mainly handles radio communication.It is understood that above-mentioned modem processor can not also be integrated Into processor 980.
Mobile terminal 900 also includes the power supply 990 (such as battery) powered to all parts, it is preferred that power supply can lead to Cross power-supply management system and processor 980 be logically contiguous, thus by power-supply management system realize management charging, electric discharge and The functions such as power managed.
In one embodiment, mobile terminal 900 can also include camera, bluetooth module etc..
In embodiments of the present invention, the processor 980 included by the mobile terminal also has following functions:
Obtain voice messaging to be played;
The sensitive kind of voice messaging to be played according to the voice attributes parameter detecting of the voice messaging to be played;
The voice messaging to be played is played out according to the corresponding broadcast mode of the sensitive kind.
In the embodiment that the present invention is provided, the voice attributes parameter detecting institute according to the voice messaging to be played Stating the sensitive kind of voice messaging to be played includes:
The speech characteristic parameter of the voice messaging to be played is obtained, if it is default spy to detect the speech characteristic parameter Parameter is levied, then the voice messaging to be played is identity sensitive kind;And/or
The voice content of the voice messaging to be played is obtained, if detecting in the voice content comprising default sensitive interior Hold, then the voice messaging to be played is content erotic type.
It is described to be treated according to the corresponding broadcast mode of the sensitive kind by described in the other embodiment that the present invention is provided Play voice messaging play out including:
If detecting the voice messaging to be played for identity sensitive kind, the voice messaging to be played is become Sonication, and the voice messaging to be played after voice change process is played out;And/or
If the voice messaging to be played is detected for content erotic type, by the voice messaging to be played with secret Play mode is played out.
In one embodiment, will be described if described detect the voice messaging to be played for content erotic type Voice messaging to be played with secret play mode play out including:
If detecting the voice messaging to be played for content erotic type, the current speech play mould of detection terminal Formula;
If the current speech play pattern of the terminal is secret play mode, the voice messaging to be played is carried out Play.
In another embodiment, the speech playing method also includes:
The sensitive grade of voice messaging to be played according to institute's speech attribute parameter acquiring;
According to the corresponding broadcast mode of the sensitive kind by the voice messaging to be played play out including:
The broadcast mode of the voice messaging to be played is obtained according to the sensitive kind and sensitive grade, and according to described Broadcast mode plays out the voice messaging to be played.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a non-volatile computer and can be read In storage medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage is situated between Matter can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) etc..
Embodiment described above only expresses the several embodiments of the present invention, and it describes more specific and detailed, but simultaneously Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention Protect scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (11)

1. a kind of speech playing method, it is characterised in that including:
Obtain voice messaging to be played;
The sensitive kind of voice messaging to be played according to the voice attributes parameter detecting of the voice messaging to be played;
The voice messaging to be played is played out according to the corresponding broadcast mode of the sensitive kind.
2. speech playing method according to claim 1, it is characterised in that described according to the voice messaging to be played The sensitive kind of voice messaging to be played includes described in voice attributes parameter detecting:
The speech characteristic parameter of the voice messaging to be played is obtained, if it is default feature ginseng to detect the speech characteristic parameter Number, then the voice messaging to be played is identity sensitive kind;And/or
The voice content of the voice messaging to be played is obtained, if detecting comprising default sensitive content in the voice content, Then the voice messaging to be played is content erotic type.
3. speech playing method according to claim 1 or 2, it is characterised in that described according to sensitive kind correspondence Broadcast mode by the voice messaging to be played play out including:
If detecting the voice messaging to be played for identity sensitive kind, the voice messaging to be played is carried out at the change of voice Reason, and the voice messaging to be played after voice change process is played out;And/or
If detecting the voice messaging to be played for content erotic type, the voice messaging to be played is played with secret Pattern is played out.
4. speech playing method according to claim 3, it is characterised in that if described detect the voice letter to be played Cease for content erotic type, then by the voice messaging to be played with secret play mode play out including:
If detecting the voice messaging to be played for content erotic type, the current speech play pattern of detection terminal;
If the current speech play pattern of the terminal is secret play mode, the voice messaging to be played is broadcast Put.
5. speech playing method according to claim 1, it is characterised in that methods described also includes:
The sensitive grade of voice messaging to be played according to institute's speech attribute parameter acquiring;
According to the corresponding broadcast mode of the sensitive kind by the voice messaging to be played play out including:
The broadcast mode of the voice messaging to be played is obtained according to the sensitive kind and sensitive grade, and is played according to described Mode plays out the voice messaging to be played.
6. a kind of voice playing device, it is characterised in that including:
Data obtaining module, for obtaining voice messaging to be played;
Type detection module, for voice letter to be played described in the voice attributes parameter detecting according to the voice messaging to be played The sensitive kind of breath;
Information playing module, for being broadcast the voice messaging to be played according to the corresponding broadcast mode of the sensitive kind Put.
7. voice playing device according to claim 6, it is characterised in that the type detection module is additionally operable to obtain institute The speech characteristic parameter of voice messaging to be played is stated, it is described if it is default characteristic parameter to detect the speech characteristic parameter Voice messaging to be played is identity sensitive kind;And/or the voice content of the voice messaging to be played is obtained, if detecting institute State comprising default sensitive content in voice content, then the voice messaging to be played is content erotic type.
8. the voice playing device according to claim 6 or 7, it is characterised in that if described information playing module is additionally operable to The voice messaging to be played is detected for identity sensitive kind, then the voice messaging to be played is subjected to voice change process, and Voice messaging to be played after voice change process is played out;If and/or it is that content is quick to detect the voice messaging to be played Feel type, then play out the voice messaging to be played with secret play mode.
9. voice playing device according to claim 8, it is characterised in that if described information playing module is additionally operable to detection It is content erotic type to the voice messaging to be played, then detects the current speech play pattern of terminal;If the terminal is worked as Preceding speech play pattern is secret play mode, then plays out the voice messaging to be played.
10. voice playing device according to claim 6, it is characterised in that described device also includes:
Grade acquisition module, the sensitive grade for the voice messaging to be played according to institute's speech attribute parameter acquiring;
Described information playing module is additionally operable to obtain the voice messaging to be played according to the sensitive kind and sensitive grade Broadcast mode, and played out the voice messaging to be played according to the broadcast mode.
11. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, following steps are realized during the computing device described program:
Obtain voice messaging to be played;
The sensitive kind of voice messaging to be played according to the voice attributes parameter detecting of the voice messaging to be played;
The voice messaging to be played is played out according to the corresponding broadcast mode of the sensitive kind.
CN201710307405.3A 2017-05-04 2017-05-04 Speech playing method, device and computer equipment Pending CN106973168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710307405.3A CN106973168A (en) 2017-05-04 2017-05-04 Speech playing method, device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710307405.3A CN106973168A (en) 2017-05-04 2017-05-04 Speech playing method, device and computer equipment

Publications (1)

Publication Number Publication Date
CN106973168A true CN106973168A (en) 2017-07-21

Family

ID=59331190

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710307405.3A Pending CN106973168A (en) 2017-05-04 2017-05-04 Speech playing method, device and computer equipment

Country Status (1)

Country Link
CN (1) CN106973168A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107205095A (en) * 2017-07-25 2017-09-26 广东欧珀移动通信有限公司 Player method, device and the terminal of voice messaging
CN109213468A (en) * 2018-08-23 2019-01-15 阿里巴巴集团控股有限公司 A kind of speech playing method and device
CN109582271A (en) * 2018-10-26 2019-04-05 北京蓦然认知科技有限公司 A kind of method, device and equipment that TTS play parameter is set dynamically
CN109981904A (en) * 2019-03-28 2019-07-05 维沃移动通信有限公司 A kind of method for controlling volume and terminal device
CN110380856A (en) * 2019-08-15 2019-10-25 Oppo(重庆)智能科技有限公司 Terminal device and its voice information processing method, device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572839A (en) * 2010-12-14 2012-07-11 中国移动通信集团四川有限公司 Method and system for controlling voice communication
CN105635479A (en) * 2016-01-15 2016-06-01 广东小天才科技有限公司 Method and system for switching call mode of smart watch through motion sensing
CN105763698A (en) * 2016-03-31 2016-07-13 深圳市金立通信设备有限公司 Voice processing method and terminal
CN105827844A (en) * 2016-03-29 2016-08-03 乐视控股(北京)有限公司 Incoming call conversation processing method and device
CN106131325A (en) * 2016-06-30 2016-11-16 宇龙计算机通信科技(深圳)有限公司 Vehicle mounted communication control method and system
CN106357877A (en) * 2015-07-16 2017-01-25 宇龙计算机通信科技(深圳)有限公司 Information prompting method, device and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572839A (en) * 2010-12-14 2012-07-11 中国移动通信集团四川有限公司 Method and system for controlling voice communication
CN106357877A (en) * 2015-07-16 2017-01-25 宇龙计算机通信科技(深圳)有限公司 Information prompting method, device and terminal
CN105635479A (en) * 2016-01-15 2016-06-01 广东小天才科技有限公司 Method and system for switching call mode of smart watch through motion sensing
CN105827844A (en) * 2016-03-29 2016-08-03 乐视控股(北京)有限公司 Incoming call conversation processing method and device
CN105763698A (en) * 2016-03-31 2016-07-13 深圳市金立通信设备有限公司 Voice processing method and terminal
CN106131325A (en) * 2016-06-30 2016-11-16 宇龙计算机通信科技(深圳)有限公司 Vehicle mounted communication control method and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107205095A (en) * 2017-07-25 2017-09-26 广东欧珀移动通信有限公司 Player method, device and the terminal of voice messaging
CN109213468A (en) * 2018-08-23 2019-01-15 阿里巴巴集团控股有限公司 A kind of speech playing method and device
CN109582271A (en) * 2018-10-26 2019-04-05 北京蓦然认知科技有限公司 A kind of method, device and equipment that TTS play parameter is set dynamically
CN109981904A (en) * 2019-03-28 2019-07-05 维沃移动通信有限公司 A kind of method for controlling volume and terminal device
CN110380856A (en) * 2019-08-15 2019-10-25 Oppo(重庆)智能科技有限公司 Terminal device and its voice information processing method, device and storage medium
CN110380856B (en) * 2019-08-15 2023-04-18 Oppo(重庆)智能科技有限公司 Terminal device and voice information processing method and device thereof, and storage medium

Similar Documents

Publication Publication Date Title
CN107863095A (en) Acoustic signal processing method, device and storage medium
CN108364644A (en) A kind of voice interactive method, terminal and computer-readable medium
CN106973168A (en) Speech playing method, device and computer equipment
CN108289244A (en) Video caption processing method, mobile terminal and computer readable storage medium
CN106126174B (en) A kind of control method and electronic equipment of scene audio
CN106331826A (en) Method, device and system for setting live broadcast template and video mode
CN106161749B (en) Malicious telephone identification method and device
CN104618223B (en) A kind of management method of information recommendation, device and system
CN105912919B (en) A kind of unlocked by fingerprint method and terminal
CN106210755A (en) A kind of methods, devices and systems playing live video
CN105959482B (en) A kind of control method and electronic equipment of scene audio
CN107818786A (en) A kind of call voice processing method, mobile terminal
CN108418948A (en) A kind of based reminding method, mobile terminal and computer storage media
CN107547704A (en) Call MIC switching method, device and mobile terminal
CN107370670A (en) Unread message extracts methods of exhibiting and device
CN107770478A (en) video call method and related product
CN107731241A (en) Handle the method, apparatus and storage medium of audio signal
CN107715449A (en) A kind of account login method and relevant device
CN109243488A (en) Audio-frequency detection, device and storage medium
CN106611152A (en) User identity determination method and apparatus
CN104573437B (en) Information authentication method, device and terminal
CN107800879A (en) A kind of audio regulation method, terminal and computer-readable recording medium
CN107622137A (en) The method and apparatus for searching speech message
CN108549681A (en) Data processing method and device, electronic equipment, computer readable storage medium
CN107743108A (en) A kind of Media Access Control address recognition methods and device

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170721