CN109614470B - Method and device for processing answer information, terminal and readable storage medium - Google Patents
Method and device for processing answer information, terminal and readable storage medium Download PDFInfo
- Publication number
- CN109614470B CN109614470B CN201811492080.1A CN201811492080A CN109614470B CN 109614470 B CN109614470 B CN 109614470B CN 201811492080 A CN201811492080 A CN 201811492080A CN 109614470 B CN109614470 B CN 109614470B
- Authority
- CN
- China
- Prior art keywords
- voice
- voice packet
- information
- request message
- packet
- 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.)
- Active
Links
- 238000012545 processing Methods 0.000 title claims abstract description 39
- 238000000034 method Methods 0.000 title claims description 30
- 230000004044 response Effects 0.000 claims abstract description 35
- 230000010365 information processing Effects 0.000 claims abstract description 4
- 238000004590 computer program Methods 0.000 claims description 3
- 230000003993 interaction Effects 0.000 abstract description 19
- 238000003672 processing method Methods 0.000 abstract description 9
- 238000004891 communication Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000009877 rendering Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000010420 art technique Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004883 computer application Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/48—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
Landscapes
- Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Telephonic Communication Services (AREA)
Abstract
The disclosure relates to a processing method, a device, a terminal and a readable storage medium for answer information. According to the voice response information processing method and device, the received voice request message is subjected to recognition processing, and the voice response information is played according to the acquired voice package and the voice characteristics corresponding to the voice package, so that when voice interaction is achieved, the response information can be fed back in a personalized mode through the voice characteristics corresponding to different voice packages to respond to the voice request message of the user, the richness of voice interaction of the intelligent sound box is improved, personalized requirements of the user are met, and user experience is improved.
Description
Technical Field
The disclosure relates to the technical field of computer applications, and in particular relates to a processing method, a device, a terminal and a readable storage medium for answer information.
Background
With the continuous perfection and development of modern science and technology, smart home gradually holds a place in the market, and the market share is continuously increasing. For example, intelligent sound box, intelligent electric lamp, intelligent refrigerator, intelligent water heater, intelligent TV etc. all bring huge convenience for people's life. Among them, the intelligent sound box is popular with the majority of users as a new product in recent years. In the related art, the intelligent sound box can play network media resources, can also realize feedback of information such as schedules, weather, road conditions and the like, and is provided with an alarm clock, a voice memo and the like.
Disclosure of Invention
To overcome the problems in the related art, embodiments of the present disclosure provide a method, an apparatus, a terminal, and a readable storage medium for processing answer information.
According to a first aspect of an embodiment of the present disclosure, there is provided a processing method of answer information, including:
receiving a voice request message; and is combined with
Performing recognition processing on the voice request message;
and playing the voice response information according to the acquired voice packet and the voice characteristics corresponding to the voice packet.
Optionally, after the identifying process is performed on the voice request message, the method further includes:
determining answer information matched with the voice request message;
playing voice response information according to the acquired voice packet and the voice characteristics corresponding to the voice packet, wherein the voice response information comprises:
according to the acquired voice packet, voice processing is carried out on the answer information; and is combined with
And playing the voice response information with the voice characteristics corresponding to the voice packet.
Optionally, playing the voice response information according to the acquired voice packet and the voice feature corresponding to the voice packet, including:
and determining voice response information matched with the voice request message and having voice characteristics corresponding to the voice packet according to the acquired voice packet, and playing the voice response information.
Optionally, the voice packet is acquired in the following manner:
receiving a voice packet request message, the voice packet request message including voice packet identification information characterizing voice characteristics of a requested voice packet;
and acquiring the voice packet matched with the voice packet identification information.
Optionally, the voice packet is acquired in the following manner:
receiving a voice packet request message;
determining voice characteristic information of voice adopted by the voice packet request message;
and acquiring a voice packet matched with the voice characteristic information.
Optionally, the method further comprises:
receiving a voice packet replacement request message, wherein the voice packet replacement request message comprises a voice packet identifier to be replaced, which characterizes voice characteristics of the voice packet to be replaced;
acquiring a voice packet to be replaced, which is matched with the voice packet to be replaced identifier, according to the voice packet to be replaced identifier;
playing the voice response information according to the acquired voice packet and the voice characteristics corresponding to the voice packet, including:
and playing voice response information according to the voice characteristics corresponding to the voice packets to be replaced according to the voice packets to be replaced.
Optionally, the method further comprises:
receiving a voice packet replacement request message; determining voice characteristic information of voice adopted by the voice packet replacement request message; acquiring a voice packet matched with the voice characteristic information as a voice packet to be replaced;
playing the voice response information according to the acquired voice packet and the voice characteristics corresponding to the voice packet, including:
and playing voice response information according to the voice characteristics corresponding to the voice packets to be replaced according to the voice packets to be replaced.
According to a second aspect of the embodiments of the present disclosure, there is provided a processing apparatus of answer information, including:
the first receiving module is used for receiving the voice request message;
the processing module is used for carrying out recognition processing on the voice request message;
and the playing module is used for playing the voice response information according to the acquired voice packet and the voice characteristics corresponding to the voice packet.
Optionally, the apparatus further comprises:
the first determining module is used for determining answer information matched with the voice request message;
the playing module is used for carrying out voice processing on the answer information according to the acquired voice packet; and playing the voice response information with the voice characteristics corresponding to the voice packet.
Optionally, the playing module is configured to determine, according to the acquired voice packet, voice response information matched with the voice request message and having a voice feature corresponding to the voice packet, and play the voice response information.
Optionally, the apparatus further comprises:
a second receiving module for receiving a voice packet request message including voice packet identification information characterizing a voice feature of a requested voice packet;
the first acquisition module is used for acquiring the voice packet matched with the voice packet identification information.
Optionally, the apparatus further comprises:
the second acquisition module is used for receiving the voice packet request message and determining voice characteristic information of voice adopted by the voice packet request message;
and the third acquisition module is used for acquiring the voice packet matched with the voice characteristic information.
Optionally, the apparatus further comprises:
the third receiving module is used for receiving a voice packet replacement request message, and the voice packet replacement request message comprises a voice packet identifier to be replaced, which characterizes voice characteristics of the voice packet to be replaced;
the fourth acquisition module is used for acquiring the voice packet to be replaced, which is matched with the voice packet identifier to be replaced, according to the voice packet identifier to be replaced;
the playing module is also used for playing the voice response information according to the voice characteristics corresponding to the voice packet to be replaced.
Optionally, the apparatus further comprises:
the fifth acquisition module is used for receiving the voice packet replacement request message; determining voice characteristic information of voice adopted by the voice packet replacement request message; acquiring a voice packet matched with the voice characteristic information as a voice packet to be replaced;
the playing module is also used for playing the voice response information according to the voice characteristics corresponding to the voice packet to be replaced.
According to a third aspect of embodiments of the present disclosure, there is provided a terminal comprising:
one or more processors;
a memory for storing executable instructions of the processor;
wherein the processor is configured to execute the executable instructions to implement the method of any one of the preceding claims.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method as in any of the preceding claims.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
in the embodiment of the disclosure, the received voice request message is identified and processed, and the voice response information is played according to the acquired voice packet and the voice characteristics corresponding to the voice packet, so that when the voice interaction is realized, the response information can be fed back in a personalized manner through the voice characteristics corresponding to different voice packets to respond to the voice request message of the user, the richness of the voice interaction of the intelligent sound box is improved, the personalized requirements of the user are met, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart illustrating a method of processing answer information according to an example embodiment;
FIG. 2 is a flow chart illustrating a method of processing answer information according to an example embodiment;
FIG. 3 is a block diagram of an answer information processing device according to an example embodiment;
FIG. 4 is a block diagram of an answer information processing device according to an example embodiment;
fig. 5 is a block diagram of a terminal device according to an exemplary embodiment.
Specific embodiments of the present disclosure have been shown by way of the above drawings and will be described in more detail below. These drawings and the written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the disclosed concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
Before explaining the embodiments of the present disclosure in detail, application scenarios of the embodiments of the present disclosure are described:
in recent years, the emerging intelligent equipment is favored by the vast users by the characteristics of convenience and intelligence, and the intelligent sound box is taken as an example, and is taken as a product of upgrading a traditional sound box, and the intelligent sound box is a tool for home consumers to access the internet by voice, such as song-on-demand and daily communication, or knows weather and road conditions, so that compared with the traditional sound box, the user experience is improved to a great extent. In the related art, a user can perform voice interaction with the intelligent sound box, for example, after the intelligent sound box receives a wake-up voice request of the user, the user can be answered 'i am at', and the intelligent sound box enters a working state.
However, in the actual use process, when the intelligent device (such as a smart phone, a smart sound box and the like) performs voice interaction with the user, the voice fed back by the intelligent device is single in form, so that the personalized requirements of the user are difficult to meet, and the user experience is poor.
Accordingly, the embodiments of the present disclosure propose a processing method of answer information capable of overcoming such a problem.
Fig. 1 is a flowchart illustrating a method of processing answer information according to an exemplary embodiment. Can be applied to intelligent devices. Referring to fig. 1, the processing method of the answer information includes the following steps:
s101, receiving a voice request message and carrying out recognition processing on the voice request message;
in some examples, after receiving a user's voice request message, the voice request message may be subjected to an identification process to identify request information from the voice request message so as to obtain answer information matching the request information according to the request information. Wherein the request information may include, but is not limited to: semantics and keywords.
S102, playing the voice response information according to the acquired voice packet and the voice characteristics corresponding to the voice packet.
The voice packets may be preset, or acquired in advance; that is, the voice packets may be set or acquired prior to this step. Wherein, different voice packets have different language characteristics, namely voice characteristics; the speech features may include, but are not limited to: tone, timbre, volume, speech rate, or any combination thereof.
In one possible implementation, the answer information matched with the voice request message may be determined first, then the answer information is processed according to the acquired voice packet, and the voice answer information having the voice feature corresponding to the voice packet is played.
For example, an answer library may be obtained in advance, the answer library including request information and answer information matching the request information; thus, the acquired answer library can be queried according to the identified request information, and the answer information matched with the request information can be acquired from the answer library.
Regarding the obtaining of the answer library, in an alternative embodiment, the obtaining manner of the answer library includes: receiving an answer library setting request message, wherein the answer library setting request message comprises an answer library identifier; and acquiring the answer library corresponding to the answer library identification according to the answer library setting request message.
That is, the answer library setting request message sent by the user is received and carries an answer library identifier; and obtaining the answer library matched with the answer library according to the answer library identification in the received answer library setting request message. Wherein the answer library identification may include, but is not limited to: numbers, letters, chinese characters, or any combination thereof.
In this embodiment, the intelligent device may have functions of boring, playing music, feeding back weather, feeding back road conditions, and the like, that is, skills; thus, different questions and their answers may be set for different skills of the smart device. For example, for the skills of the intelligent sound box, a corresponding answer library may be respectively set.
For example, in the answer library setting interface, the answer library input by the user is identified as "boring", and the answer library matched with the answer library can be obtained according to the "boring", wherein the answer library comprises the request information related to boring and the answer information corresponding to the request information, namely the answer library comprises the questions and the answers of the questions in daily communication.
For example, in the answer library setting interface, if the answer library input by the user is identified as "weather", the answer library matched with the answer library can be obtained according to the "weather", and the answer library includes the request information related to inquiring about the weather and the answer information corresponding to the request information, that is, the answer library includes the questions and the answers of inquiring about the weather.
Of course, the implementation of acquiring the answer information is not limited thereto, and the present embodiment is merely illustrative herein.
After answer information of the answer is obtained from the answer library, the answer information is subjected to voice rendering processing through the voice packet, so that the answer information has voice characteristics corresponding to the voice packet when played. The process of performing the speech rendering process on the answer information may be performed using prior art techniques, which will not be described in detail herein.
In another alternative embodiment, the voice response information matched with the voice request message and having the voice characteristics corresponding to the voice packet can be determined according to the acquired voice packet and played.
The voice packet may include request information and answer information matched thereto. After the answer information matched with the voice request message is obtained, the answer information already has the voice characteristics corresponding to the voice packet, and the voice answer information can be directly played to respond to the voice request message of the user. Or the voice package can comprise the answer library and the voice processing program, and the intelligent device can obtain the answer and the playing effect of the corresponding voice feature through only one voice package. That is, in the present embodiment, the voice package has not only the function of voice feature rendering but also the function of answer library.
After the request information is identified from the voice request message, the identified request information can be matched with the request information in the currently selected voice packet, if the request information can be matched with the request information, answer information corresponding to the request information in the voice packet is obtained, and the corresponding voice answer information is played; if not, the identified request information can be matched with the request information in other voice packets, or the identified request information can be matched with an answer library and default voice answer information can be played.
Illustratively, after the user sends a voice request message including a wake-up word, identifying the wake-up word, i.e., the request information, from the voice request message; matching the wake-up word with the request information in the current selected northeast edition voice packet, if the request information can be matched, obtaining answer information corresponding to the wake-up word in the voice packet, and playing the voice answer information called I's fumet; otherwise, the wake-up word default voice answer message "I am" may be played.
With respect to the acquisition of voice packets, in one alternative embodiment, the acquired voice packets include: receiving a voice packet request message, wherein the voice packet request message comprises voice packet identification information; and acquiring the voice packet matched with the voice packet identification information according to the voice packet request message.
That is, by receiving a voice packet request message carrying a voice packet identifier sent by a user, and obtaining a matched voice packet according to the voice packet identifier in the received voice packet request message.
Wherein the voice packet identification may include, but is not limited to: numbers, letters, chinese characters, or any combination thereof; the voice packages may be pre-stored by the content provider on the respective server or set by the user.
For example, in the voice packet obtaining interface, the voice packet identifier input by the user may be a location identifier, a voice packet matched with the voice feature of the location may be obtained according to the location identifier, for example, the input voice packet identifier is "northeast edition", and a voice packet matched with the input voice packet may be obtained according to "northeast edition", where the voice packet has the voice feature of the northeast area.
For example, in the voice package obtaining interface, the voice package input by the user identifies that the voice package input by the user can be a person identifier, then the voice package matched with the voice feature of the person can be obtained according to the person identifier, the person identifier can include a real person or a virtual person (for example, a movie character, a game character, etc.), for example, the input voice package identifier is "GDG", and then the voice package matched with the person can be obtained according to "GDG"; the "GDG" may be a character, and the voice packet matching the "GDG" has the voice characteristics of the character.
Wherein different characters have different character characteristics, that is, different characters have different voice characteristics. The character can be set according to a specific person in a certain reality, and the character can also be a virtual person.
In one alternative embodiment, the obtaining the voice packet includes: receiving a voice packet request message; acquiring voice characteristic information in a voice request message; and acquiring a voice packet matched with the voice characteristic information.
That is, voice feature information is acquired from the received voice packet request message, and a voice packet matching the voice feature information is acquired. The voice characteristic information may include, but is not limited to: tone information, volume information, speech rate information, or any combination thereof.
For example, the user may imitate the voice feature information of a certain character to input a voice packet request message, or record the voice input voice packet request message of a certain character, and then may obtain the voice feature information of the character from the voice packet request message of the user, and obtain a voice packet matched with the voice feature information.
In this embodiment, when a plurality of voice packets are acquired, for example, one of the voice packets may be selected by the user, and the answer information is processed accordingly preferentially according to the selected voice packet.
According to the processing method of the answer information, the received voice request message is subjected to recognition processing, and the answer information matched with the voice request message is acquired and played according to the acquired voice packet, so that when voice interaction is realized, the answer information can be fed back in a personalized manner through language features corresponding to different voice packets to respond to the voice request message of the user, the richness of voice interaction of the intelligent sound box is improved, the personalized requirements of the user are met, and the user experience is improved.
Fig. 2 is a flowchart illustrating a method of processing answer information according to an example embodiment. Referring to fig. 2, the interactive processing method includes the following steps:
s201, receiving a voice packet replacement request message, wherein the voice packet replacement request message comprises a voice packet identifier to be replaced, which characterizes voice characteristics of the voice packet to be replaced;
the user can send a voice packet replacement request message carrying the voice packet identifier to be replaced at the voice packet replacement interface of the terminal device. After receiving the voice packet replacement request message sent by the user, the voice packet identifier to be replaced can be identified from the voice packet replacement request message.
S202, acquiring a voice packet to be replaced corresponding to a voice packet identifier to be replaced according to the voice packet identifier to be replaced;
that is, according to the voice packet identifier to be replaced in the voice packet replacement request message, the voice packet to be replaced corresponding to the voice packet identifier to be replaced is obtained, so as to further improve the richness and flexibility of voice interaction of the intelligent sound box, and better meet the personalized requirements of users.
In this embodiment, after the voice packet to be replaced is obtained, the answer information may be processed correspondingly according to the voice packet to be replaced preferentially.
S203, receiving the voice request message and carrying out recognition processing on the voice request message;
s204, playing the voice response information according to the voice packet to be replaced and the voice characteristics corresponding to the voice packet to be replaced.
The functions and implementation procedures of steps S203 and S204 may be similar to those of steps S101 and S102, respectively, and are not repeated here.
According to the processing method of the answer information, the received voice request message is subjected to recognition processing, and the answer information matched with the voice request message is acquired and played according to the acquired language package, so that when voice interaction is realized, the answer information can be fed back in a personalized mode through language features corresponding to different language packages to respond to the voice request message of a user, the richness of voice interaction of the intelligent sound box is improved, personalized requirements of the user are met, and user experience is improved.
The following are device embodiments of the present disclosure that may be used to perform method embodiments of the present disclosure. For details not disclosed in the embodiments of the apparatus of the present disclosure, please refer to the embodiments of the method of the present disclosure.
Fig. 3 is a block diagram of an apparatus for processing answer information according to an exemplary embodiment. Referring to fig. 3, the interaction processing apparatus 300 includes: the first receiving module 310, the processing module 320 and the playing module 330.
The first receiving module 310 is configured to receive a voice request message;
the processing module 320 is configured to perform recognition processing on the voice request message;
the playing module 330 is configured to play the voice response information according to the acquired voice packet and the voice feature corresponding to the voice packet.
According to the device provided by the embodiment of the disclosure, the received voice request message is identified and processed, and the answer information matched with the voice request message is acquired and played according to the acquired language package, so that when voice interaction is realized, the answer information can be fed back in a personalized manner through language features corresponding to different language packages to respond to the voice request message of the user, the richness of voice interaction of the intelligent sound box is improved, the personalized requirements of the user are met, and the user experience is improved.
In an alternative embodiment, the apparatus further comprises: the first determining module is used for determining answer information matched with the voice request message; the playing module is used for carrying out voice processing on the answer information according to the acquired voice packet; and playing the voice response information with the voice characteristics corresponding to the voice packet.
In an optional embodiment, the playing module is configured to determine, according to the acquired voice packet, voice response information that matches the voice request message and has a voice feature corresponding to the voice packet, and play the voice response information.
The second receiving module is used for receiving a voice packet request message, and the voice packet request message comprises voice packet identification information representing voice characteristics of the requested voice packet; the first acquisition module is used for acquiring the voice packet matched with the voice packet identification information.
In an alternative embodiment, the apparatus further comprises: the second acquisition module is used for receiving the voice packet request message and determining voice characteristic information of voice adopted by the voice packet request message; and the third acquisition module is used for acquiring the voice packet matched with the voice characteristic information.
In an alternative embodiment, the apparatus further comprises:
the third receiving module is used for receiving a voice packet replacement request message, and the voice packet replacement request message comprises a voice packet identifier to be replaced, which characterizes the voice characteristics of the voice packet to be replaced;
the fourth acquisition module is used for acquiring the voice packet to be replaced, which is matched with the voice packet identifier to be replaced, according to the voice packet identifier to be replaced;
the playing module is also used for playing the voice response information according to the voice characteristics corresponding to the voice packet to be replaced.
In an alternative embodiment, the apparatus further comprises:
the device also comprises a fifth acquisition module, wherein the fifth acquisition module is used for receiving the voice packet replacement request message; determining voice characteristic information of voice adopted by the voice packet replacement request message; acquiring a voice packet matched with voice characteristic information as a voice packet to be replaced;
the playing module is also used for playing the voice response information according to the voice characteristics corresponding to the voice packet to be replaced.
Fig. 4 is a block diagram illustrating a processing apparatus of answer information according to an exemplary embodiment. Referring to fig. 4, optionally, the apparatus further includes: the third receiving module 340 and the fourth obtaining module 340.
The third receiving module 340 is configured to receive a voice packet replacement request message, where the voice packet replacement request message includes a voice packet identifier to be replaced that characterizes voice characteristics of a voice packet to be replaced;
the fourth obtaining module 350 is configured to obtain, according to the voice packet replacement request message, a voice packet to be replaced that matches the voice packet identifier to be replaced;
the playing module 330 is further configured to play the voice response information according to the voice characteristics of the voice packet to be replaced.
In this embodiment, through the change to the voice package, can further improve richness, the flexibility of intelligent audio amplifier voice interaction to satisfy user's individualized demand better.
According to the device provided by the embodiment of the disclosure, the received voice request message is identified and processed, and the answer information matched with the voice request message is acquired and played according to the acquired language package, so that when voice interaction is realized, the answer information can be fed back in a personalized manner through language features corresponding to different language packages to respond to the voice request message of the user, the richness of voice interaction of the intelligent sound box is improved, the personalized requirements of the user are met, and the user experience is improved.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 5 is a block diagram of a terminal device according to an exemplary embodiment. The terminal equipment can be an intelligent sound box, a mobile phone, a tablet device and the like which are in communication connection with the intelligent sound box.
Referring to fig. 5, the terminal device may include one or more of the following components: a processing component 1302, a memory 1304, a power component 1306, a multimedia component 1308, an audio component 1310, an input/output (I/O) interface 1312, a sensor component 1314, and a communication component 1316.
The processing component 1302 generally controls overall operation of the terminal device 1300, such as operations associated with display, telephone call, data communication, camera operation, and recording operation. The processing component 1302 may include one or more processors 1320 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1302 can include one or more modules that facilitate interactions between the processing component 1302 and other components. For example, the processing component 1302 may include a multimedia module to facilitate interaction between the multimedia component 1308 and the processing component 1302.
The memory 1304 is configured to store various types of data to support operations at the terminal device 1300. Examples of such data include instructions for any application or method operating on terminal device 1300, contact data, phonebook data, messages, pictures, video, and the like. The memory 1304 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply assembly 1306 provides power to the various components of the terminal device 1300. Power components 1306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for terminal device 1300.
The multimedia component 1308 includes a touch-sensitive display that provides an output interface between the terminal device 1300 and the user. In some embodiments, the touch display screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or sliding action, but also the duration and pressure associated with the touch or sliding operation. In some embodiments, the multimedia component 1308 includes a front-facing camera and/or a rear-facing camera. When the terminal apparatus 1300 is in an operation mode, such as a photographing mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 1310 is configured to output and/or input audio signals. For example, the audio component 1310 includes a Microphone (MIC) configured to receive external audio signals when the terminal device 1300 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 1304 or transmitted via the communication component 1316. In some embodiments, the audio component 1310 also includes a speaker for outputting audio signals.
The I/O interface 1312 provides an interface between the processing component 1302 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 1314 includes one or more sensors for providing status assessment of various aspects of the terminal device 1300. For example, the sensor assembly 1314 may detect the on/off state of the terminal device 1300, the relative positioning of the components, such as the display and keypad of the terminal device 1300, the sensor assembly 1314 may also detect the change in position of the terminal device 1300 or a component of the terminal device 1300, the presence or absence of user contact with the terminal device 1300, the orientation or acceleration/deceleration of the terminal device 1300, and the change in temperature of the terminal device 1300. The sensor assembly 1314 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 1314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1314 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1316 is configured to facilitate communication between the terminal device 1300 and other devices, either wired or wireless. Terminal device 1300 may access a wireless network based on a communication standard, such as WiFi,2G, or 3G, or a combination thereof. In one exemplary embodiment, the communication component 1316 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1316 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the terminal device 1300 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for performing the above-described ranging method based on a binocular camera in a terminal device.
In an exemplary embodiment, a computer readable storage medium is also provided, on which a computer program, such as a memory 1304 including a program, is stored, the program being executable by a processor 1320 of a terminal device 1300 to perform the above method.
By way of example, the computer-readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (6)
1. A method for processing answer information, comprising:
receiving a voice request message; and is combined with
Performing recognition processing on the voice request message to obtain recognized request information;
matching the identified request information with the request information in the voice packet; the voice packet comprises request information and answer information matched with the request information; the answer information has the voice characteristics corresponding to the voice packet;
if the voice packet comprises target request information matched with the identified request information, playing answer information matched with the target request information in the voice packet;
the voice packet is acquired by adopting the following modes:
receiving a voice packet request message, the voice packet request message including voice packet identification information characterizing voice characteristics of a requested voice packet; acquiring a voice packet matched with the voice packet identification information; or,
receiving a voice packet request message, wherein the voice packet request message comprises first voice; determining voice characteristic information of the first voice; and acquiring a voice packet matched with the voice characteristic information.
2. The method as recited in claim 1, further comprising:
receiving a voice packet replacement request message, wherein the voice packet replacement request message comprises a voice packet identifier to be replaced, which characterizes voice characteristics of the voice packet to be replaced; acquiring a voice packet to be replaced, which is matched with the voice packet to be replaced identifier, according to the voice packet to be replaced identifier; or alternatively
Receiving a voice packet replacement request message; determining voice characteristic information of voice adopted by the voice packet replacement request message; acquiring a voice packet matched with the voice characteristic information as a voice packet to be replaced;
playing the voice response information according to the acquired voice packet and the voice characteristics corresponding to the voice packet, including:
and playing voice response information according to the voice characteristics corresponding to the voice packets to be replaced according to the voice packets to be replaced.
3. An answer information processing apparatus, comprising:
the first receiving module is used for receiving the voice request message;
the processing module is used for carrying out recognition processing on the voice request message to obtain recognized request information;
the first determining module is used for matching the identified request information with the request information in the voice packet; the voice packet comprises request information and answer information matched with the request information; the answer information has the voice characteristics corresponding to the voice packet;
the playing module is used for playing answer information matched with the target request information in the voice packet if the voice packet comprises the target request information matched with the identified request information;
further comprises: the second receiving module and the first acquisition module; the second receiving module is used for receiving a voice packet request message, and the voice packet request message comprises voice packet identification information representing voice characteristics of the requested voice packet; the first acquisition module is used for acquiring a voice packet matched with the voice packet identification information; or,
further comprises: the system comprises a second acquisition module and a third acquisition module, wherein the second acquisition module is used for receiving a voice packet request message, the voice packet request message comprises first voice and determining voice characteristic information of the first voice; the third acquisition module is used for acquiring the voice packet matched with the voice characteristic information.
4. A device according to claim 3, further comprising:
the third receiving module is used for receiving a voice packet replacement request message, and the voice packet replacement request message comprises a voice packet identifier to be replaced, which characterizes voice characteristics of the voice packet to be replaced;
the fourth acquisition module is used for acquiring the voice packet to be replaced, which is matched with the voice packet identifier to be replaced, according to the voice packet identifier to be replaced;
or, the device further comprises a fifth acquisition module, wherein the fifth acquisition module is used for receiving a voice packet replacement request message; determining voice characteristic information of voice adopted by the voice packet replacement request message; acquiring a voice packet matched with the voice characteristic information as a voice packet to be replaced;
the playing module is also used for playing the voice response information according to the voice characteristics corresponding to the voice packet to be replaced.
5. A terminal, characterized in that the terminal device comprises:
one or more processors;
a memory for storing executable instructions of the processor;
wherein the processor is configured to execute the executable instructions to implement the method of claim 1 or 2.
6. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to claim 1 or 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811492080.1A CN109614470B (en) | 2018-12-07 | 2018-12-07 | Method and device for processing answer information, terminal and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811492080.1A CN109614470B (en) | 2018-12-07 | 2018-12-07 | Method and device for processing answer information, terminal and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109614470A CN109614470A (en) | 2019-04-12 |
CN109614470B true CN109614470B (en) | 2023-08-08 |
Family
ID=66007091
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811492080.1A Active CN109614470B (en) | 2018-12-07 | 2018-12-07 | Method and device for processing answer information, terminal and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109614470B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112583696B (en) * | 2019-09-30 | 2023-04-07 | 上海掌门科技有限公司 | Method and equipment for processing group session message |
CN110795593A (en) * | 2019-10-12 | 2020-02-14 | 百度在线网络技术(北京)有限公司 | Voice packet recommendation method and device, electronic equipment and storage medium |
CN111475020A (en) * | 2020-04-02 | 2020-07-31 | 深圳创维-Rgb电子有限公司 | Information interaction method, interaction device, electronic equipment and storage medium |
CN111626051A (en) * | 2020-06-08 | 2020-09-04 | 北京小米松果电子有限公司 | Interaction method, device and medium |
CN114202084A (en) * | 2022-01-11 | 2022-03-18 | 重庆开放大学(重庆工商职业学院) | College score management system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103796181A (en) * | 2012-11-05 | 2014-05-14 | 华为技术有限公司 | Playing method of sending message, system and related equipment thereof |
CN105355195A (en) * | 2015-09-25 | 2016-02-24 | 小米科技有限责任公司 | Audio frequency recognition method and audio frequency recognition device |
CN107704530A (en) * | 2017-09-19 | 2018-02-16 | 百度在线网络技术(北京)有限公司 | Speech ciphering equipment exchange method, device and equipment |
CN108172228A (en) * | 2018-01-25 | 2018-06-15 | 深圳阿凡达智控有限公司 | Voice command words replacing options, device, voice-operated device and computer storage media |
CN108564943A (en) * | 2018-04-27 | 2018-09-21 | 京东方科技集团股份有限公司 | voice interactive method and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106921560B (en) * | 2017-02-28 | 2020-06-02 | 北京小米移动软件有限公司 | Voice communication method, device and system |
-
2018
- 2018-12-07 CN CN201811492080.1A patent/CN109614470B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103796181A (en) * | 2012-11-05 | 2014-05-14 | 华为技术有限公司 | Playing method of sending message, system and related equipment thereof |
CN105355195A (en) * | 2015-09-25 | 2016-02-24 | 小米科技有限责任公司 | Audio frequency recognition method and audio frequency recognition device |
CN107704530A (en) * | 2017-09-19 | 2018-02-16 | 百度在线网络技术(北京)有限公司 | Speech ciphering equipment exchange method, device and equipment |
CN108172228A (en) * | 2018-01-25 | 2018-06-15 | 深圳阿凡达智控有限公司 | Voice command words replacing options, device, voice-operated device and computer storage media |
CN108564943A (en) * | 2018-04-27 | 2018-09-21 | 京东方科技集团股份有限公司 | voice interactive method and system |
Also Published As
Publication number | Publication date |
---|---|
CN109614470A (en) | 2019-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109614470B (en) | Method and device for processing answer information, terminal and readable storage medium | |
CN107396177B (en) | Video playing method, device and storage medium | |
CN104166689B (en) | The rendering method and device of e-book | |
CN106911967B (en) | Live broadcast playback method and device | |
CN105244048A (en) | Audio play control method and apparatus | |
CN105898032B (en) | method and device for adjusting prompt tone | |
CN111246283B (en) | Video playing method and device, electronic equipment and storage medium | |
CN107743244B (en) | Video live broadcasting method and device | |
CN109451341B (en) | Video playing method, video playing device, electronic equipment and storage medium | |
CN104539789A (en) | Method and device for prompting call request | |
CN105407433A (en) | Method and device for controlling sound output equipment | |
CN105677023B (en) | Information demonstrating method and device | |
CN107342082A (en) | Audio-frequency processing method, device and audio-frequence player device based on interactive voice | |
WO2020173284A1 (en) | Interactive content display method and apparatus, electronic device and storage medium | |
CN105376412A (en) | Information processing method and device | |
CN106384586A (en) | Method and device for reading text information | |
CN113079493B (en) | Information matching display method and device and electronic equipment | |
CN107247794B (en) | Topic guiding method in live broadcast, live broadcast device and terminal equipment | |
CN107958038B (en) | Sound box control method and device | |
CN106020766A (en) | Music playing method and device | |
CN104112460B (en) | Method and device for playing audio data | |
CN110113256B (en) | Information interaction method and device, server, user terminal and readable storage medium | |
CN114025317A (en) | Multimedia resource propagation method, device, server, terminal and storage medium | |
CN106919395B (en) | Application notification display method and device | |
CN111124332A (en) | Control method and control device for equipment presentation content and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |