CN109246308A - A kind of method of speech processing and terminal device - Google Patents

A kind of method of speech processing and terminal device Download PDF

Info

Publication number
CN109246308A
CN109246308A CN201811242031.2A CN201811242031A CN109246308A CN 109246308 A CN109246308 A CN 109246308A CN 201811242031 A CN201811242031 A CN 201811242031A CN 109246308 A CN109246308 A CN 109246308A
Authority
CN
China
Prior art keywords
voice data
input
terminal device
user
speech processes
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
CN201811242031.2A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811242031.2A priority Critical patent/CN109246308A/en
Publication of CN109246308A publication Critical patent/CN109246308A/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

Abstract

The problem of the embodiment of the invention discloses a kind of method of speech processing and terminal devices, are related to field of communication technology, can solve the single effect for the voice messaging that user is sent by terminal device.The specific scheme is that obtaining the voice data of user's input by destination application;Voice data is handled using the first speech processes mode, with the voice data that obtains that treated;Treated voice data is sent by destination application.The embodiment of the present invention is applied to the voice data inputted to user in the process of processing.

Description

A kind of method of speech processing and terminal device
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of method of speech processing and terminal device.
Background technique
In general, user can incite somebody to action by the speech voice input function input voice information of terminal device, and by terminal device The voice messaging is sent to other terminal devices, with the speech exchange between realization and other users.
Currently, the voice messaging after input voice information, can be sent to other terminals in many ways and set by user It is standby, such as the voice messaging is sent to by other terminal devices, or the application journey by class of chatting by short message application program The voice messaging is sent to other terminal devices etc. by sequence.
But since the voice messaging that user is input to terminal device is the input of user's primary sound, not to voice messaging The single effect for the voice messaging for carrying out any processing, therefore user being caused to send by terminal device.
Summary of the invention
The embodiment of the present invention provides a kind of method of speech processing and terminal device, can solve user and passes through terminal device and sends out The problem of single effect of the voice messaging sent.
In order to solve the above-mentioned technical problem, the embodiment of the present invention adopts the following technical scheme that
The embodiment of the present invention in a first aspect, providing a kind of method of speech processing, which may include: logical Cross the voice data that destination application obtains user's input;Voice data is handled using the first speech processes mode, With the voice data that obtains that treated;Treated voice data is sent by destination application.
The second aspect of the embodiment of the present invention provides a kind of terminal device, the terminal device may include: acquiring unit, Processing unit and transmission unit.Wherein, acquiring unit, for obtaining the voice data of user's input by destination application. Processing unit, the voice data for being acquired using the first speech processes mode to acquiring unit is handled, to be handled Voice data afterwards.Transmission unit, for sending the processing unit voice data that obtains that treated by destination application.
The third aspect of the embodiment of the present invention provides a kind of terminal device, the terminal device include processor, memory and The computer program that can be run on a memory and on a processor is stored, is realized such as when which is executed by processor The step of method of speech processing described in first aspect.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage medium Computer program is stored in matter, and method of speech processing as described in relation to the first aspect is realized when which is executed by processor The step of.
In embodiments of the present invention, terminal device can obtain the voice data of user's input by destination application, And voice data is handled using the first speech processes mode, with the voice data that obtains that treated, and pass through target Application program sends treated voice data.Due to terminal device can by first use the first speech processes in a manner of to user input Language data process, treated voice data is then sent by destination application again, and not directly transmit user The voice data of primary sound input, therefore the effect diversification for the voice data that user can be made to send by terminal device, from And the experience of user can be promoted.
Detailed description of the invention
Fig. 1 is a kind of configuration diagram of Android operation system provided in an embodiment of the present invention;
Fig. 2 is a kind of one of schematic diagram of method of speech processing provided in an embodiment of the present invention;
Fig. 3 is the two of a kind of schematic diagram of method of speech processing provided in an embodiment of the present invention;
Fig. 4 is a kind of one of example schematic at interface of mobile phone provided in an embodiment of the present invention;
Fig. 5 is the three of a kind of schematic diagram of method of speech processing provided in an embodiment of the present invention;
Fig. 6 is the four of a kind of schematic diagram of method of speech processing provided in an embodiment of the present invention;
Fig. 7 is the two of a kind of example schematic at the interface of mobile phone provided in an embodiment of the present invention;
Fig. 8 is the three of a kind of example schematic at the interface of mobile phone provided in an embodiment of the present invention;
Fig. 9 is a kind of one of structural schematic diagram of terminal device provided in an embodiment of the present invention;
Figure 10 is a kind of second structural representation of terminal device provided in an embodiment of the present invention;
Figure 11 is a kind of third structural representation of terminal device provided in an embodiment of the present invention;
Figure 12 is a kind of hardware schematic of terminal device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Term " first " and " second " in the specification and claims of the embodiment of the present invention etc. are for distinguishing not Same object, rather than it is used for the particular order of description object.For example, the first input and the second input etc. are for distinguishing difference Input, rather than for describe input particular order.It is unless otherwise indicated, " more in the description of the embodiment of the present invention It is a " meaning refer to two or more.
The terms "and/or" is a kind of incidence relation for describing affiliated partner, indicates may exist three kinds of relationships, For example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.Symbol herein "/" indicates that affiliated partner is relationship such as A/B expression A or B perhaps.
In embodiments of the present invention, " illustrative " or " such as " etc. words for indicate make example, illustration or explanation.This Be described as in inventive embodiments " illustrative " or " such as " any embodiment or design scheme be not necessarily to be construed as comparing Other embodiments or design scheme more preferably or more advantage.Specifically, use " illustrative " or " such as " etc. words purport Related notion is being presented in specific ways.
The embodiment of the present invention, which provides a kind of method of speech processing and terminal device, terminal device, can pass through target application journey Sequence obtains the voice data of user's input, and is handled using the first speech processes mode voice data, to be handled Voice data afterwards, and treated voice data is sent by destination application.Since terminal device can be used first Then the language data process that first speech processes mode inputs user sends treated language by destination application again Sound data, and the voice data of user's primary sound input is not directly transmitted, therefore user can be made to send by terminal device Voice data effect diversification, so as to promote the experience of user.
Method of speech processing and terminal device provided in an embodiment of the present invention can be applied to the voice number inputted to user According in the process of processing.Specifically, can be applied to the voice data inputted using the first speech processes mode to user It is handled, and during sending treated voice data by destination application.
Terminal device in the embodiment of the present invention can be the terminal device with operating system.The operating system can be Android (Android) operating system can be ios operating system, can also be other possible operating systems, and the present invention is implemented Example is not especially limited.
Below by taking Android operation system as an example, introduce applied by method of speech processing provided in an embodiment of the present invention Software environment.
As shown in Figure 1, being a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention.Scheming In 1, the framework of Android operation system includes 4 layers, be respectively as follows: application layer, application framework layer, system Runtime Library layer and Inner nuclear layer (is specifically as follows Linux inner core).
Wherein, application layer includes each application program (including system application and in Android operation system Tripartite's application program).
Application framework layer is the frame of application program, and developer can be in the exploitation for the frame for abiding by application program In the case where principle, some application programs are developed based on application framework layer.
System Runtime Library layer includes library (also referred to as system library) and Android operation system running environment.Library is mainly Android behaviour As system it is provided needed for all kinds of resources.Android operation system running environment is used to provide software loop for Android operation system Border.
Inner nuclear layer is the operating system layer of Android operation system, belongs to the bottom of Android operation system software level.It is interior Stratum nucleare provides core system service and hardware-related driver based on linux kernel for Android operation system.
By taking Android operation system as an example, in the embodiment of the present invention, developer can be based on above-mentioned Android as shown in Figure 1 The software program of method of speech processing provided in an embodiment of the present invention is realized in the system architecture of operating system, exploitation, so that The method of speech processing can be run based on Android operation system as shown in Figure 1.I.e. processor or terminal device can lead to It crosses and runs software program realization method of speech processing provided in an embodiment of the present invention in Android operation system.
With reference to the accompanying drawing, by specific embodiment and its application scenarios to a kind of voice provided in an embodiment of the present invention Processing method and terminal device are described in detail.
Currently, in the prior art, since the voice messaging that user is input to terminal device is the input of user's primary sound, not Any processing, therefore the single effect for the voice messaging for causing user to send by terminal device are carried out to voice messaging.
In order to solve the above-mentioned technical problem, a kind of method of speech processing provided in an embodiment of the present invention, Fig. 2 shows this hairs A kind of flow chart for method of speech processing that bright embodiment provides, this method can be applied to the Android behaviour for having as shown in Figure 1 Make the terminal device of system.As shown in Fig. 2, method of speech processing provided in an embodiment of the present invention may include following step 201 to step 203.
Step 201, terminal device obtain the voice data of user's input by destination application.
Optionally, in the embodiment of the present invention, above-mentioned destination application can be answering with acquisition voice data function Use program.
Illustratively, above-mentioned destination application can be chat class application program.
Optionally, in the embodiment of the present invention, user can be by carrying out voice input, with input in destination application Voice data.
Optionally, in the embodiment of the present invention, in conjunction with Fig. 2, as shown in figure 3, above-mentioned steps 201 specifically can be by following Step 201a and step 201b is realized.
Step 201a, terminal device receives second input of the user on the interface of destination application.
In the embodiment of the present invention, above-mentioned second input is the input that user inputs voice data.
Optionally, in the embodiment of the present invention, user can carry out second on the voice input interface of destination application Input, to input voice data.
Optionally, in the embodiment of the present invention, above-mentioned second input can be for long-pressing input and voice inputs or second is defeated Entering can input to click input and voice.
Step 201b, terminal device obtains voice data in response to the second input.
Illustratively, it is illustrated so that terminal device is mobile phone as an example.As shown in figure 4, user B opens application program 1 After chat interface (such as chat interface with user A), voice input frame is shown on the interface 10 of the application program 1 in mobile phone 11, user B can carry out long-pressing input to voice input frame 11, and input voice data.
In the embodiment of the present invention, terminal device can be inputted by user second on the interface of destination application, Voice data is obtained to realize.
Step 202, terminal device are handled voice data using the first speech processes mode, and to obtain, treated Voice data.
Optionally, in the embodiment of the present invention, terminal device, can be using the after the voice data of acquisition user's input One speech processes mode carries out rendering processing to voice data.
Optionally, in the embodiment of the present invention, above-mentioned first speech processes mode can be terminal device according to voice data The speech processes mode chosen from the multiple speech processes modes saved in terminal device, or may be user from terminal The speech processes mode selected in the multiple speech processes modes saved in equipment.
Optionally, in a kind of possible implementation of the embodiment of the present invention, in conjunction with Fig. 2, as shown in figure 5, above-mentioned Before step 202, method of speech processing provided in an embodiment of the present invention can also include the steps that following 301 and step 302.
Step 301, terminal device obtain the attribute information of voice data.
Optionally, in the embodiment of the present invention, above-mentioned attribute information may include at least one of following: voice data is corresponding The corresponding sound characteristic information of text information, voice data, the semantic information of voice data and keyword of text information etc..
Optionally, in the embodiment of the present invention, terminal device can parse voice data after acquiring voice data, with Obtain the attribute information of voice data.
Optionally, in the embodiment of the present invention, the corresponding sound characteristic information of above-mentioned voice data may include it is following at least One: input the emotional information of the user of voice data, the tone color of the sound of user, the tone of the sound of user, user sound The duration of the sound of the loudness and user of sound and rhythm etc..
Step 302, terminal device determine the first speech processes mode corresponding with attribute information according to attribute information.
Optionally, in the embodiment of the present invention, above-mentioned first speech processes mode may include at least one of following: in voice Background sound, the corresponding sound characteristic information of change voice data, the broadcast sound volume and tune for adjusting keyword are added in data The broadcasting speed etc. of whole keyword.
Optionally, in the embodiment of the present invention, terminal device can according to the corresponding sound characteristic information of voice data (such as The duration and rhythm of the sound of user), background sound is added in voice data.
Optionally, in the embodiment of the present invention, the corresponding sound characteristic information of above-mentioned change voice data may include following At least one of: the emotional information of user of change input voice data, the tone color of the sound of user, user sound tone with And the loudness of the sound of user.
Optionally, in the embodiment of the present invention, terminal device can be turned up the keyword of text information broadcast sound volume and/or Slow down the broadcasting speed of the keyword of text information.
Optionally, in the embodiment of the present invention, if attribute information is the corresponding text information of voice data, at the first voice Reason mode can be the addition background sound in voice data and/or the corresponding sound characteristic information of change voice data.
Illustratively, terminal device can identify the corresponding text information of voice data, and it is corresponding then to change voice data Sound tone color, such as the tone color of the corresponding sound of voice data is changed to preset tone color.
Optionally, in the embodiment of the present invention, if attribute information is the corresponding sound characteristic information of voice data, the first language Sound processing mode can be the addition background sound in voice data and/or the corresponding sound characteristic information of change voice data.
Illustratively, terminal device identifies the emotional information of the corresponding sound of voice data, then changes emotional information Intensity (such as enhancing emotional information), also, terminal device is according to the duration and rhythm of the corresponding sound of voice data, in language Corresponding background music is added in sound data.
Optionally, in the embodiment of the present invention, if attribute information is the semantic information of voice data, the first speech processes side Formula can be special to add background sound corresponding with semantic information and/or the corresponding sound of change voice data in voice data Reference breath.
Illustratively, it is assumed that the semantic information of the voice data of terminal device identification is " happy birthday to you ", and terminal is set It is standby that background sound corresponding with " happy birthday " can be added in voice data, and/or, by the corresponding sound of voice data Emotional information is changed to the sound of cheerful and light-hearted mood.
Optionally, in the embodiment of the present invention, if attribute information is the keyword of text information, the first speech processes mode May include at least one of following: added in voice data background sound, the corresponding sound characteristic information of change voice data, It adjusts the broadcast sound volume of keyword and adjusts the broadcasting speed of keyword.
Illustratively, voice data can be resolved to text information by terminal device, and be identified according to the text information Then the keyword is carried out slow play, while the broadcast sound volume of the keyword is turned up by keyword.
In the embodiment of the present invention, terminal device can be by the attribute information of the voice data of acquisition, to realize at determining Manage the first speech processes mode of voice data.
Optionally, in the alternatively possible implementation of the embodiment of the present invention, in conjunction with Fig. 2, as shown in fig. 6, upper Before stating step 202, method of speech processing provided in an embodiment of the present invention can also be included the steps that following 401 to step 403.
Step 401, terminal device display reminding information on the first interface.
In the embodiment of the present invention, above-mentioned prompt information is used to prompt multiple speech processes modes of processing voice data.
Optionally, in the embodiment of the present invention, terminal device, can be in terminal after the voice data of acquisition user's input Display reminding information on the first interface (i.e. the current interface of terminal device) of equipment, to prompt multiple languages of processing voice data Sound processing mode.
Optionally, in the embodiment of the present invention, terminal device can be shown on the first interface using the form of suspended frame and be mentioned Show information.
Optionally, in the embodiment of the present invention, user can slide the scroll bar in suspended frame, be shown with triggering terminal equipment Multiple speech processes modes.
Illustratively, in conjunction with Fig. 4, as shown in fig. 7, user B carries out long-pressing input in voice input frame 11, and voice is inputted After data, 12 are displayed the prompt box on the interface 10 of the application program 1 of mobile phone, includes multiple speech processes sides in the prompting frame 12 Formula (such as speech processes mode 1, speech processes mode 2, speech processes mode 3).
Step 402, terminal device receive the first input of user.
In the embodiment of the present invention, above-mentioned first input is that user inputs from the selection in multiple speech processes modes.
In the embodiment of the present invention, user can be selected the first speech processes mode from multiple speech processes modes Input.It is appreciated that including the first speech processes mode in multiple speech processes modes.
Step 403, terminal device determine the first speech processes mode in response to the first input.
In the embodiment of the present invention, terminal device can be by user to the selection of the first speech processes mode input (i.e. the One input), in a manner of realizing the first speech processes of determining processing voice data.
Step 203, terminal device send treated voice data by destination application.
Optionally, in the embodiment of the present invention, terminal device can will treated voice data by destination application It is sent to server, and voice data is sent to other terminal devices by treated by server.
Optionally, in the embodiment of the present invention, terminal device can be aobvious with predetermined manner on the interface of destination application The voice data that shows that treated.
Illustratively, in conjunction with Fig. 4, as shown in figure 8, at mobile phone shows on the interface of application program 1 10 with predetermined manner Voice data (such as duration of display treated voice data) after reason, and will treated voice by application program 1 Data are sent to terminal device belonging to user A, then user A can be received by terminal device belonging to user A and be played place Voice data after reason.
The embodiment of the present invention provides a kind of method of speech processing, and terminal device can obtain user by destination application The voice data of input, and voice data being handled using the first speech processes mode, with the voice number that obtains that treated According to, and treated voice data sent by destination application.Since terminal device can be first using at the first voice Then the language data process that reason mode inputs user sends treated voice data by destination application again, and Not directly transmit the voice data of user's primary sound input, therefore the voice data that user can be made to send by terminal device Effect diversification, so as to promote the experience of user.
Fig. 9 shows a kind of possible structural schematic diagram of terminal device involved in the embodiment of the present invention.Such as Fig. 9 institute Show, terminal device 90 may include: acquiring unit 91, processing unit 92 and transmission unit 93.
Wherein, acquiring unit 91, for obtaining the voice data of user's input by destination application.Processing unit 92, the voice data for being obtained using the first speech processes mode to acquiring unit 91 is handled, and to obtain, treated Voice data.Transmission unit 93, for passing through destination application transmission processing unit 92 treated voice data.
In one possible implementation, acquiring unit 91, for using the first speech processes side in processing unit 92 Before formula handles voice data, the attribute information of voice data is obtained.In conjunction with Fig. 9, as shown in Figure 10, the present invention is implemented The terminal device 90 that example provides can also comprise determining that unit 94.Wherein it is determined that unit 94, for being obtained according to acquiring unit 91 The attribute information taken determines the first speech processes mode corresponding with attribute information.
In one possible implementation, above-mentioned attribute information may include at least one of following: voice data is corresponding Text information, the corresponding sound characteristic information of voice data, the semantic information of voice data and text information keyword.
In one possible implementation, above-mentioned first speech processes mode may include at least one of following: in language Added in sound data background sound, the corresponding sound characteristic information of change voice data, the broadcast sound volume for adjusting keyword and Adjust the broadcasting speed of keyword.
In one possible implementation, in conjunction with Fig. 9, as shown in figure 11, terminal device provided in an embodiment of the present invention 90 can also include: display unit 95, receiving unit 96 and determination unit 94.Wherein, display unit 95, in processing unit Before 92 are handled voice data using the first speech processes modes, display reminding information on the first interface, the prompt Information is used to prompt multiple speech processes modes of processing voice data.Receiving unit 96, for receiving the first input of user, First input is that user inputs from the selection in multiple speech processes modes that display unit 95 is shown.Determination unit 94 is used It is inputted in response to receiving unit 96 received first, determines the first speech processes mode.
In one possible implementation, acquiring unit 91, specifically for receiving user on the boundary of destination application The second input on face, second input are the input that user inputs voice data;And in response to the second input, voice number is obtained According to.
Terminal device provided in an embodiment of the present invention can be realized terminal device in above method embodiment realize it is each Process, to avoid repeating, which is not described herein again for detailed description.
The embodiment of the present invention provides a kind of terminal device, and terminal device can obtain user's input by destination application Voice data, and voice data is handled using the first speech processes mode, with the voice data that obtains that treated, with And treated voice data is sent by destination application.Due to terminal device can by first use the first speech processes in a manner of To the language data process of user's input, then again by destination application transmission treated voice data, and and it is non-straight Receive and send the voice data of user's primary sound input, therefore the effect for the voice data that user can be made to send by terminal device Diversification, so as to promote the experience of user.
A kind of hardware schematic of Figure 12 terminal device of each embodiment to realize the present invention.As shown in figure 12, terminal Equipment 100 includes but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensing Device 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110 and power supply 111 Equal components.
It should be noted that it will be understood by those skilled in the art that terminal device structure shown in Figure 12 is not constituted Restriction to terminal device, terminal device may include or the certain components of combination than more or fewer components shown in Figure 12, Or different component layout.In embodiments of the present invention, terminal device includes but is not limited to mobile phone, tablet computer, notebook Computer, palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 110, for obtaining the voice data of user's input by destination application;And use first Speech processes mode handles voice data, with the voice data that obtains that treated;And it is sent out by destination application The voice data that send that treated.
The embodiment of the present invention provides a kind of terminal device, and terminal device can obtain user's input by destination application Voice data, and voice data is handled using the first speech processes mode, with the voice data that obtains that treated, with And treated voice data is sent by destination application.Due to terminal device can by first use the first speech processes in a manner of To the language data process of user's input, then again by destination application transmission treated voice data, and and it is non-straight Receive and send the voice data of user's primary sound input, therefore the effect for the voice data that user can be made to send by terminal device Diversification, so as to promote the experience of user.
It should be understood that the embodiment of the present invention in, radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 110 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 101 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also by wireless communication system and network and other set Standby communication.
Terminal device provides wireless broadband internet by network module 102 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 103 can be received by radio frequency unit 101 or network module 102 or in memory 109 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also provide and end The relevant audio output of specific function that end equipment 100 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 103 includes loudspeaker, buzzer and receiver etc..
Input unit 104 is for receiving audio or video signal.Input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or network module 102.Mike Wind 1042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 101 is converted in the case where telephone calling model.
Terminal device 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when terminal device 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify terminal device posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 105 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with terminal device Family setting and the related key signals input of function control.Specifically, user input unit 107 include touch panel 1071 and Other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation).Touch panel 1071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 110, receiving area It manages the order that device 110 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 1071.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 1071 can be covered on display panel 1061, when touch panel 1071 is detected at it On or near touch operation after, send processor 110 to determine the type of touch event, be followed by subsequent processing device 110 according to touching The type for touching event provides corresponding visual output on display panel 1061.Although in Figure 12, touch panel 1071 and aobvious Show that panel 1061 is the function that outputs and inputs of realizing terminal device as two independent components, but in some embodiments In, can be integrated by touch panel 1071 and display panel 1061 and realize the function that outputs and inputs of terminal device, it is specific this Place is without limitation.
Interface unit 108 is the interface that external device (ED) is connect with terminal device 100.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 108 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in terminal device 100 or can be used in 100 He of terminal device Data are transmitted between external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Terminal device 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, terminal device 100 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal device, including processor 110 as shown in figure 12, storage Device 109, is stored in the computer program that can be run on memory 109 and on the processor 110, which is located It manages when device 110 executes and realizes each process of above method embodiment, and identical technical effect can be reached, to avoid repeating, Which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, realizes each process of above method embodiment when which is executed by processor, and can reach identical Technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk Deng.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (11)

1. a kind of method of speech processing, which is characterized in that the described method includes:
The voice data of user's input is obtained by destination application;
The voice data is handled using the first speech processes mode, with the voice data that obtains that treated;
Treated the voice data is sent by the destination application.
2. the method according to claim 1, wherein described use the first speech processes mode to the voice number According to before being handled, the method also includes:
Obtain the attribute information of the voice data;
According to the attribute information, the first speech processes mode corresponding with the attribute information is determined.
3. according to the method described in claim 2, it is characterized in that, the attribute information includes at least one of the following: institute's predicate The corresponding sound characteristic information of the corresponding text information of sound data, the voice data, the semantic information of the voice data with And the keyword of the text information;
The first speech processes mode is included at least one of the following: adds background sound, change institute in the voice data State the broadcasting of the corresponding sound characteristic information of voice data, the broadcast sound volume of the adjustment keyword and the adjustment keyword Speed.
4. the method according to claim 1, wherein described use the first speech processes mode to the voice number According to before being handled, the method also includes:
Display reminding information on the first interface, the prompt information is for prompting to handle at multiple voices of the voice data Reason mode;
The first input of user is received, first input is that user inputs from the selection in the multiple speech processes mode;
In response to first input, the first speech processes mode is determined.
5. method according to claim 1 to 4, which is characterized in that described to be obtained by destination application The voice data of user's input, comprising:
Second input of the user on the interface of the destination application is received, second input inputs institute's predicate for user The input of sound data;
In response to second input, the voice data is obtained.
6. a kind of terminal device, which is characterized in that the terminal device includes: acquiring unit, processing unit and transmission unit;
The acquiring unit, for obtaining the voice data of user's input by destination application;
The processing unit, for being carried out using the first speech processes mode to the voice data that the acquiring unit obtains Processing, with the voice data that obtains that treated;
The transmission unit, for by the destination application send the processing unit obtain described in treated language Sound data.
7. terminal device according to claim 6, which is characterized in that the acquiring unit is also used to single in the processing Before member is handled the voice data using the first speech processes mode, the attribute information of the voice data is obtained;
The terminal device further include: determination unit;
The determination unit, the attribute information for being obtained according to the acquiring unit, the determining and attribute information pair The the first speech processes mode answered.
8. terminal device according to claim 7, which is characterized in that the attribute information includes at least one of the following: institute State the semantic letter of the corresponding sound characteristic information of the corresponding text information of voice data, the voice data, the voice data The keyword of breath and the text information;
The first speech processes mode is included at least one of the following: adds background sound, change institute in the voice data State the broadcasting of the corresponding sound characteristic information of voice data, the broadcast sound volume of the adjustment keyword and the adjustment keyword Speed.
9. terminal device according to claim 6, which is characterized in that the terminal device further include: display unit, reception Unit and determination unit;
The display unit, for being handled using the first speech processes mode the voice data in the processing unit Before, display reminding information, the prompt information are used to prompt to handle multiple voices of the voice data on the first interface Processing mode;
The receiving unit, for receiving the first input of user, first input is user from the multiple speech processes Selection input in mode;
The determination unit, for determining at first voice in response to received first input of the receiving unit Reason mode.
10. terminal device according to any one of claims 6 to 9, which is characterized in that the acquiring unit is specific to use In receiving second input of the user on the interface of the destination application, second input is that user inputs the voice The input of data;And in response to second input, the voice data is obtained.
11. a kind of terminal device, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor Any one of described in method of speech processing the step of.
CN201811242031.2A 2018-10-24 2018-10-24 A kind of method of speech processing and terminal device Pending CN109246308A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811242031.2A CN109246308A (en) 2018-10-24 2018-10-24 A kind of method of speech processing and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811242031.2A CN109246308A (en) 2018-10-24 2018-10-24 A kind of method of speech processing and terminal device

Publications (1)

Publication Number Publication Date
CN109246308A true CN109246308A (en) 2019-01-18

Family

ID=65081681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811242031.2A Pending CN109246308A (en) 2018-10-24 2018-10-24 A kind of method of speech processing and terminal device

Country Status (1)

Country Link
CN (1) CN109246308A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110830368A (en) * 2019-11-22 2020-02-21 维沃移动通信有限公司 Instant messaging message sending method and electronic equipment
CN113364665A (en) * 2021-05-24 2021-09-07 维沃移动通信有限公司 Information broadcasting method and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102426838A (en) * 2011-08-24 2012-04-25 华为终端有限公司 Voice signal processing method and user equipment
CN103543979A (en) * 2012-07-17 2014-01-29 联想(北京)有限公司 Voice outputting method, voice interaction method and electronic device
CN104144097A (en) * 2013-05-07 2014-11-12 百度在线网络技术(北京)有限公司 Voice message transmission system, sending end, receiving end and voice message transmission method
CN104780091A (en) * 2014-01-13 2015-07-15 北京发现角科技有限公司 Instant messaging method and instant messaging system with speech and audio processing function
US20150255057A1 (en) * 2013-11-21 2015-09-10 Chatfish Ltd. Mapping Audio Effects to Text
CN106506437A (en) * 2015-09-07 2017-03-15 腾讯科技(深圳)有限公司 A kind of audio data processing method, and equipment
CN106531149A (en) * 2016-12-07 2017-03-22 腾讯科技(深圳)有限公司 Information processing method and device
CN107959751A (en) * 2017-11-14 2018-04-24 优酷网络技术(北京)有限公司 Audio frequency playing method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102426838A (en) * 2011-08-24 2012-04-25 华为终端有限公司 Voice signal processing method and user equipment
CN103543979A (en) * 2012-07-17 2014-01-29 联想(北京)有限公司 Voice outputting method, voice interaction method and electronic device
CN104144097A (en) * 2013-05-07 2014-11-12 百度在线网络技术(北京)有限公司 Voice message transmission system, sending end, receiving end and voice message transmission method
US20150255057A1 (en) * 2013-11-21 2015-09-10 Chatfish Ltd. Mapping Audio Effects to Text
CN104780091A (en) * 2014-01-13 2015-07-15 北京发现角科技有限公司 Instant messaging method and instant messaging system with speech and audio processing function
CN106506437A (en) * 2015-09-07 2017-03-15 腾讯科技(深圳)有限公司 A kind of audio data processing method, and equipment
CN106531149A (en) * 2016-12-07 2017-03-22 腾讯科技(深圳)有限公司 Information processing method and device
CN107959751A (en) * 2017-11-14 2018-04-24 优酷网络技术(北京)有限公司 Audio frequency playing method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110830368A (en) * 2019-11-22 2020-02-21 维沃移动通信有限公司 Instant messaging message sending method and electronic equipment
CN113364665A (en) * 2021-05-24 2021-09-07 维沃移动通信有限公司 Information broadcasting method and electronic equipment
WO2022247825A1 (en) * 2021-05-24 2022-12-01 维沃移动通信有限公司 Information broadcasting method and electronic device

Similar Documents

Publication Publication Date Title
CN109271121A (en) A kind of application display method and mobile terminal
CN109995933A (en) The method and terminal device of the alarm clock of controlling terminal equipment
CN109543099A (en) A kind of content recommendation method and terminal device
CN109085968A (en) A kind of screenshotss method and terminal device
CN110049185A (en) Image processing method and terminal device
CN110046015A (en) Using sharing method and terminal
CN108390998A (en) A kind of method and mobile terminal for sharing file
CN109151176A (en) A kind of information acquisition method and terminal
CN109522278A (en) A kind of file memory method and terminal device
CN110233933A (en) A kind of call method and terminal device
CN108388403A (en) A kind of method and terminal of processing message
CN107862059A (en) A kind of song recommendations method and mobile terminal
CN110471589A (en) Information display method and terminal device
CN109358931A (en) A kind of interface display method and terminal
CN109117054A (en) A kind of display control method and terminal
CN110505340A (en) A kind of message method and terminal device
CN109634550A (en) A kind of voice operating control method and terminal device
CN110191426A (en) A kind of method and terminal of information sharing
CN109949809A (en) A kind of sound control method and terminal device
CN109951373A (en) A kind of document sending method and terminal device
CN109117037A (en) A kind of method and terminal device of image procossing
CN109246308A (en) A kind of method of speech processing and terminal device
CN109166164A (en) A kind of generation method and terminal of expression picture
CN110012152A (en) A kind of interface display method and terminal device
CN110505349A (en) A kind of based reminding method and terminal

Legal Events

Date Code Title Description
PB01 Publication
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

Application publication date: 20190118

RJ01 Rejection of invention patent application after publication