CN110602325B - Voice recommendation method and device for terminal - Google Patents
Voice recommendation method and device for terminal Download PDFInfo
- Publication number
- CN110602325B CN110602325B CN201910880510.5A CN201910880510A CN110602325B CN 110602325 B CN110602325 B CN 110602325B CN 201910880510 A CN201910880510 A CN 201910880510A CN 110602325 B CN110602325 B CN 110602325B
- Authority
- CN
- China
- Prior art keywords
- voice
- terminal
- matched
- keyword
- user
- 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
- 238000000034 method Methods 0.000 title claims abstract description 55
- 230000001960 triggered effect Effects 0.000 claims description 14
- 238000012544 monitoring process Methods 0.000 claims description 7
- 230000006870 function Effects 0.000 description 21
- 238000004891 communication Methods 0.000 description 18
- 238000010586 diagram Methods 0.000 description 9
- 238000004590 computer program Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000013475 authorization Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
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
- G10L15/00—Speech recognition
- G10L15/26—Speech to text systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User 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/72433—User 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
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Multimedia (AREA)
- Acoustics & Sound (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the application provides a voice recommendation method and device for a terminal, relates to the technical field of intelligent terminals, and is used for solving the problem that the existing voice recommendation method cannot recommend users according to different scenes. In the method, a terminal identifies key words in voice input by a user through a microphone; the terminal determines voice matched with the keyword in a voice recommendation set, wherein the voice contains content for suggesting a user to perform subsequent operation; and the terminal plays the matched voice through a loudspeaker and/or displays the content contained in the matched voice in a screen. According to the method, the corresponding voice recommendation can be performed for the user according to the voice input by the user, so that the recommended content is closer to the current scene and the requirements of the user.
Description
Technical Field
The application relates to the technical field of intelligent terminals, in particular to a voice recommendation method and device for a terminal.
Background
Most of the current terminals do not have a recommendation function and cannot recommend and introduce the functions of the terminals for users. And the part of the terminals with the recommendation function also recommends for the user just before the user inputs the voice. And after the user inputs the voice, corresponding operation is performed according to the voice.
However, the recommendation method cannot provide the function recommendation related to the scene for the user according to different scenes.
Disclosure of Invention
The embodiment of the application provides a voice recommendation method and device for a terminal, which are used for solving the problem that the current terminal cannot recommend a user according to different scenes.
In a first aspect, an embodiment of the present application provides a voice recommendation method for a terminal. The method comprises the following steps:
the terminal identifies key words in voice input by a user through a microphone;
the terminal determines voice matched with the keyword in a voice recommendation set, wherein the voice contains content for suggesting a user to perform subsequent operation;
and the terminal plays the matched voice through a loudspeaker and/or displays the content contained in the matched voice in a screen.
According to the method, after the user inputs the voice, the keywords in the voice can be identified, the voice matched with the keywords is determined in the voice recommendation set according to the keywords, and the recommendation for the user can be closer to the use scene of the user.
Optionally, the voice recommendation set includes a plurality of subsets, and each subset corresponds to at least one keyword;
the terminal determines the voice matched with the keyword in a voice recommendation set, and the method comprises the following steps:
the terminal determines a subset corresponding to the keyword;
and the terminal selects the voice with the highest use frequency in the subset as the voice matched with the keyword.
According to the method, the keywords correspond to the subset of the voice recommendation, so that the matched voice can be more fit to the current scene, and the recommendation for the user is more diversified.
Optionally, if there are a plurality of voices with the highest use times;
the terminal plays the matched voice through a loudspeaker and/or the terminal displays the content contained in the matched voice in a screen, and the method comprises the following steps:
the terminal displays content contained in the plurality of voices on a screen and/or plays one of the plurality of voices through a speaker.
According to the method, the terminal selects the voice with the highest use frequency in the subset as the voice matched with the keyword, so that the matched voice is close to the use habit of the user.
Optionally, after the terminal determines the voice matched with the keyword, the method further includes:
and the terminal displays an operation interface corresponding to the content included in the voice in a screen.
According to the method, the operation interface corresponding to the content included in the voice is displayed in the display interface or the shortcut button of the operation interface is entered, so that the user can quickly use the subsequent operation of voice recommendation without exiting the current interface and clicking the operation interface entering the corresponding function.
Optionally, after the terminal plays the matched voice through a speaker and/or the terminal displays content included in the matched voice on a screen, the method further includes:
the terminal monitors the operation triggered by the user within a preset time length;
the terminal determines the voice matched with the operation in the subset corresponding to the keyword;
and the terminal updates the using times of the voice matched with the operation.
According to the method, the using times of the voices in the subset are updated according to the operation triggered by the user, and the voices matched with the voices input by the user can be closer to the using habits of the user.
In a second aspect, an embodiment of the present application provides a terminal. The terminal includes:
the recognition module is used for recognizing key words in the voice input by the user through the microphone;
the matching module is used for determining the voice matched with the keyword in a voice recommendation set, wherein the voice comprises the content for suggesting the user to perform subsequent operation;
the playing module is used for playing the matched voice; and/or the presence of a gas in the gas,
and the first display module is used for displaying the content contained in the matched voice.
Optionally, the voice recommendation set includes a plurality of subsets, and each subset corresponds to at least one keyword;
the matching module is specifically configured to:
determining a subset corresponding to the keyword;
and selecting the voice with the highest use frequency in the subset as the voice matched with the keyword.
Optionally, if there are a plurality of voices with the highest use times;
the playing module is specifically configured to: playing one of a plurality of voices; and/or the presence of a gas in the gas,
the first display module is specifically configured to: content included in the plurality of voices is displayed.
Optionally, the terminal further includes:
and the second display module is used for displaying an operation interface corresponding to the content included in the voice after the voice matched with the keyword is determined.
Optionally, the terminal further includes:
the monitoring module is used for monitoring the operation triggered by the user within a preset time length after the matched voice is played and/or the content contained in the matched voice is displayed;
the determining module is used for determining the voice matched with the operation in the subset corresponding to the keyword;
and the updating module is used for updating the using times of the voice matched with the operation.
In a third aspect, an embodiment of the present application further provides a terminal for voice recommendation, where the terminal includes a memory and a processor;
the processor is used for reading the program in the memory and executing the following processes:
identifying key words in voice input by a user through a microphone;
determining a voice matched with the keyword in a voice recommendation set, wherein the voice comprises contents for suggesting a user to perform subsequent operations;
playing the matched voice through a loudspeaker; and/or the presence of a gas in the gas,
the contents contained in the matched voice are displayed in the screen.
Optionally, the voice recommendation set includes a plurality of subsets, and each subset corresponds to at least one keyword;
the processor is further configured to:
determining a subset corresponding to the keyword;
and selecting the voice with the highest use frequency in the subset as the voice matched with the keyword.
Optionally, if there are a plurality of voices with the highest use times;
the processor is further configured to:
playing one of a plurality of voices through a speaker; and/or the presence of a gas in the gas,
contents contained in the plurality of voices are displayed in a screen.
Optionally, the processor is further configured to:
and after the voice matched with the keyword is determined, displaying an operation interface corresponding to the content included in the voice in a screen.
Optionally, the processor is further configured to:
after the matched voice is played through a loudspeaker and/or the content contained in the matched voice is displayed in a screen, monitoring the operation triggered by the user within a preset time;
determining the voice matched with the operation in the subset corresponding to the keyword;
and updating the using times of the voice matched with the operation.
In a fourth aspect, the present application also provides a computer storage medium having a computer program stored thereon, which when executed by a processor, performs the steps of the method of the first aspect.
In addition, for technical effects brought by any one implementation manner of the second aspect to the fourth aspect, reference may be made to technical effects brought by different implementation manners of the first aspect, and details are not described here.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments of the present application will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a voice recommendation method for a terminal in an embodiment of the present application;
fig. 2 is one of application scenarios of a voice recommendation method for a terminal in an embodiment of the present application;
fig. 3 is one of application scenarios of a voice recommendation method for a terminal in an embodiment of the present application;
fig. 4 is one of application scenarios of a voice recommendation method for a terminal in an embodiment of the present application;
fig. 5 is one of application scenarios of a voice recommendation method for a terminal in an embodiment of the present application;
fig. 6 is a schematic view of an application scenario of a voice recommendation method for a terminal in an embodiment of the present application;
fig. 7 is a flowchart of a voice recommendation method of a terminal in an embodiment of the present application;
fig. 8 is a schematic diagram of a terminal in an embodiment of the present application;
fig. 9 is a schematic diagram of a terminal in an embodiment of the present application;
fig. 10 is a schematic diagram of a terminal for voice recommendation in an embodiment of the present application.
Detailed Description
Hereinafter, some terms in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.
1. "and/or" describes an association relationship with an associated user, indicating that there may be three relationships, e.g., a and/or B, which may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the contextual user is an "or" relationship.
Current terminals are only able to make recommendations to a user before the user enters speech. For example, the user calls "XiaoA", the terminal responds to the user's call and answers "you are, you can ask I what you are today" and so on. However, the user may not want to use the weather asking function.
Therefore, the current recommendation method for the terminal cannot recommend the user according to a specific scene.
In view of this, the present application provides a voice recommendation method for a terminal. In the method, a voice recommendation set is stored in the terminal in advance, and voices in the voice recommendation set contain contents for suggesting a user to perform subsequent operations. The terminal identifies key words in the voice input by the user through the microphone, and determines the voice matched with the key words in the voice recommendation set. The terminal plays the matched voice through a loudspeaker and/or the terminal displays the content contained in the matched voice in a screen.
According to the method, after the user inputs the voice, the keywords in the voice can be identified, the voice matched with the keywords is determined in the voice recommendation set according to the keywords, and the recommendation for the user can be closer to the use scene of the user.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
Referring to fig. 1, a flowchart of a voice recommendation method for a terminal in an embodiment of the present application may include the following steps:
step 101: the terminal recognizes a keyword in a voice input by a user through a microphone.
In implementation, after a user inputs voice through a microphone, a keyword needs to be acquired from the voice input by the user. For example, if the voice input by the user is "open information", the recognized keywords are "open" and "information", respectively.
For another example, if the voice input by the user is "send information to zhang san", the recognized keywords are "send information" and "zhang san".
Step 102: and the terminal determines the voice matched with the keyword in a voice recommendation set, wherein the voice contains the content for suggesting the user to perform subsequent operation.
In implementation, after the keywords in the input voice are recognized, corresponding operations are executed according to the keywords. For example, if the keywords of the voice "open information" input by the user are "open" and "information", a function of opening information for the user is required.
Step 103: and the terminal plays the matched voice through a loudspeaker and/or displays the content contained in the matched voice in a screen.
In implementation, a voice recommendation set of voices matched with each keyword may be maintained in advance. For example, if the keyword of "open information" in the voice input by the user is "open" and "information", the two keywords of "open" and "information" are used to match the voice in the voice recommendation set, the matched voice may be "you can say so" send information to XX '", and the terminal may play" you can say so "send information to XX'" through a speaker.
According to the method, the corresponding voice recommendation can be performed for the user according to the voice input by the user, so that the recommended content is closer to the current scene and the requirements of the user.
Fig. 2 is a schematic view of an application scenario of a voice recommendation method for a terminal in an embodiment of the present application. As shown in fig. 2, the user inputs the voice "what weather is today in beijing" through the microphone of the terminal. The terminal recognizes keywords of "today", "weather", and "Beijing" in the input voice. The terminal searches the weather of the Beijing today according to the voice input by the user, displays the weather of the Beijing today in the display interface, and simultaneously displays the voice matched with the recognized keyword in the voice recommendation set, namely, the terminal can say that the user sets daily timing reminding.
The terminal plays the matched voice through a loudspeaker, and simultaneously displays a word for setting daily timing reminding in a screen.
If the user inputs voice through the microphone after carrying out voice recommendation on the terminal, the user sets daily timing reminding, the terminal identifies the voice input by the user, executes corresponding operation according to the voice input by the user, and sets daily timing reminding of Beijing weather for the user.
In one possible embodiment, the voice recommendation set includes a plurality of subsets, each subset corresponding to at least one keyword. In implementation, the keywords may be classified, and each category may correspond to a different scenario. The technical solutions provided in the embodiments of the present application are further explained according to the categories of the keywords. It should be noted that the category of the keyword is not limited to the following categories, and the category of the keyword in the embodiment of the present application is only an exemplary illustration.
1. Opening an application class:
for example, opening information, opening a phone, opening instant messaging software, opening navigation software, etc., and the present application is not limited in particular.
In implementation, the correspondence between the application and the content included in the speech may be set in advance. For example, "info" and "view new unread info", "send info to XX", etc. As another example, "phone" and "call XX", "see latest missed call", etc.
2. Sending information class:
for example, the information may be text information, voice information, information of instant messaging software, information of short message software carried by the terminal, and the like.
In practice, the information content sent by the terminal can be identified, and the keywords can be further identified in the information content. For example, the user sends a message to zhang san, and the content is "nine-am meeting tomorrow", the keywords are identified as "tomorrow morning" and "nine am". At this time, a schedule of nine am tomorrow may be recommended to be established for the user, or an alarm clock of nine am tomorrow may be set.
In view of this, the terminal may set in advance a correspondence relationship between the keyword of the content in the information and the content contained in the voice. For example, if the keyword in the information content is "XX hotel," the corresponding voice may be "how to go to XX hotel," or "book room of XX hotel," or the like.
For example, when the keyword included in the information content includes "eat", the content included in the corresponding voice may be "restaurant nearby", or the like.
3. Other generic recommendation classes:
other generic recommendation classes, other classes than the open application class and the send information class. For example, ask weather, etc.
At this time, hot news, new voice functions, etc., or contents related to keywords may be recommended.
For example, when the keyword in the speech input by the user is "today's weather", the content included in the corresponding speech may be "tomorrow weather conditions (such as sunny, 25 ℃ -38 ℃)", or may be "turn on a weather timing reminder", etc.
According to the method, the keywords are classified, so that the matched voice can be more fit with the current scene. Moreover, the keywords correspond to the subset of the voice recommendation, so that the recommendation for the user is more diversified.
After introducing the subset corresponding to the keyword in the embodiment of the present application, how to determine the speech matching with the keyword in the embodiment of the present application is further described below.
The number of times of use corresponding to the voice is stored in the subset. Optionally, the number of times of use corresponding to each voice is 0 initially. After identifying a keyword in the input speech, a subset corresponding to the keyword is determined. And selecting the voice with the highest use frequency in the subset as the voice with the matched keyword.
In implementation, when the number of times of use corresponding to each voice is 0, one voice may be randomly selected from the subset as the voice with the matched keyword. Specifically, the number of usage times can indicate the priority of the voice.
For example, if the number of times of use of speech sound a is 3 and the number of times of use of speech sound b is 4, it indicates that speech sound b has a higher priority than speech sound a. In implementation, the terminal may also select the voice with the highest priority from the subset as the voice with the matched keyword.
Fig. 3 is a schematic view of an application scenario of a voice recommendation method for a terminal in an embodiment of the present application. In this scenario, the user inputs a voice "send information to third party" through the microphone of the terminal, and the terminal further identifies the keywords in the information content. The information content is "tomorrow at nine am meeting", and the keyword is "tomorrow at nine am".
The terminal executes corresponding operation according to the voice input by the user, sends information of 'nine-am-tomorrow meeting' to Zhang III, and determines a matched subset in the voice recommendation set according to the keyword 'sending information' and the keyword 'nine-am-tomorrow' in the information content. And in the subset, the voice with the highest use frequency is selected as the voice matched with the keyword, wherein the voice is that you can say that a journey of nine am on tomorrow is set.
The terminal plays a voice through a loudspeaker, wherein the voice is that a journey of nine am tomorrow is set, a word of 'setting a journey of nine am tomorrow' is displayed in a screen, and a user can enter an operation interface for setting the journey by clicking 'setting a journey of nine am tomorrow'.
According to the method, the terminal selects the voice with the highest use frequency in the subset as the voice matched with the keyword, so that the matched voice is close to the use habit of the user.
In one possible embodiment, if there are a plurality of voices used the highest number of times, the terminal displays contents included in the plurality of voices in the screen and/or plays one of the plurality of voices through the speaker.
For example, in the subset matched with "open information", the voices used the highest number of times are "you can say to view the latest unread information" and "you can say to send information to XX". At this time, the terminal may display "view latest unread information" and "send information to XX" in the display interface. And the terminal randomly selects one voice from the two voices with the highest using times to play through the loudspeaker.
In order to reduce the operation of the user, the terminal can also display an operation interface corresponding to the content included in the voice. For example, if the matched voice is "you can say that an alarm clock at 9 am tomorrow is set", an operation interface for setting the alarm clock may be displayed on the display interface, or a shortcut button for entering the operation interface for setting the alarm clock may be displayed, and the user may enter the operation interface for setting the alarm clock by clicking the shortcut button.
According to the method, the operation interface corresponding to the content included in the voice is displayed in the display interface or the shortcut button of the operation interface is entered, so that the user can quickly use the subsequent operation of voice recommendation without exiting the current interface and clicking the operation interface entering the corresponding function, and the operation of the user is reduced.
Fig. 4 is a schematic view of an application scenario of a voice recommendation method for a terminal in an embodiment of the present application. In this scenario, the voice input by the user is "send information to page three", and the terminal further identifies the keywords in the information. And if the information content is 'XX hotel', the keyword is identified as 'XX hotel'.
And the terminal executes corresponding operation according to the voice input by the user and sends the information of 'XX hotel' to Zhang III. And determining a subset in the voice recommendation set according to the keywords 'sending information' and 'XX hotel'. The voice "you can say the XX hotel reservation" with the highest number of uses is selected as the matching voice in the subset.
The terminal displays a character of 'reserving XX hotel' in a display interface, a shortcut button for entering software capable of reserving hotel is displayed beside the character, and a user enters the software capable of reserving hotel by clicking the shortcut button. Meanwhile, the terminal plays "you can say that book XX hotel" through the speaker.
After the voice recommendation is performed for the user according to the keywords in the voice input by the user, in the embodiment of the present application, after the matched voice is played and/or the content included in the matched voice is displayed, the operations as steps a1-A3 may also be performed:
step A1: and monitoring the operation triggered by the user within a preset time length.
In the implementation, the preset time period may be set by itself, for example, the preset time period may be set to 1 minute, 30 seconds, and the like, and the present application is not limited specifically. The operation triggered by the user may be a finger operation or may be a voice operation.
For example, after playing the matched voice "set a schedule of nine am tomorrow", the operation triggered by the user is monitored. The user exits the current interface and enters the operation interface of the alarm clock, and the alarm clock at nine am tomorrow is set.
For another example, after playing the matched voice "set a schedule of nine am tomorrow", the operation triggered by the user is monitored. The user inputs again the voice "set a trip of nine am tomorrow".
It should be noted that the authorization of the user needs to be obtained before the operation performed by the user is monitored.
Step A2: and determining the voice matched with the operation in the subset corresponding to the keyword.
For example, when the user performs an operation of "enter an operation interface of an alarm clock, set an alarm clock at nine am tomorrow", the voice corresponding to the operation is "you can say that an alarm clock at nine am tomorrow is set".
For another example, when the user performs an operation of inputting a voice "setting a trip of nine am tomorrow", the voice corresponding to the voice is "you can set a trip of nine am tomorrow".
Step A3: and updating the using times of the voice matched with the operation.
In implementation, a preset value, for example, 1 or 2, may be added to the number of times of using the voice matched with the operation, and the present application is not limited specifically.
The technical solutions provided in the present application are further described by specific examples.
The first embodiment is as follows:
fig. 5 is a schematic view of an application scenario of a voice recommendation method for a terminal in an embodiment of the present application. In this scenario, the voice input by the user through the microphone is "query for a hotel nearby".
And the terminal executes corresponding operation according to the voice input by the user through the microphone to inquire the nearby hotel for the user. And recognizing the keyword in the voice as 'inquiring hotel', and determining a corresponding subset in the voice recommendation set. The terminal selects the voice with the highest use frequency in the subset, "you can say to navigate to XX hotel" as the voice matched with the keyword.
The terminal plays the matched voice through the loudspeaker, a shortcut button for entering the navigation software is displayed in the display interface, and a user can enter the navigation software through the shortcut button.
Optionally, the terminal may further determine, according to the keyword "query hotel", that the voice matched with the keyword is "new voice support XX function, and you may experience through voice operation", and recommend the popular voice function for the user.
The terminal listens for user-triggered operations within 1 minute. And if the user inputs voice ' XXX hotel reservation XX ' is opened ', the terminal executes corresponding operation according to the voice input by the user, and opens XXX and reserves the room of the XXX hotel. The terminal adds 1 to the number of uses of the voice "you can say that XX hotel is open XXX reservation" matched with the operation.
Example two:
fig. 6 is a schematic view of an application scenario of a voice recommendation method for a terminal in an embodiment of the present application. In connection with the first embodiment, the terminal inputs again the voice "query hotel nearby". After a terminal searches nearby hotels for a user, a keyword in voice is identified as 'inquiring hotels', and a corresponding subset is determined in a voice recommendation set. The terminal selects the voice with the highest number of times of use "you can say that XXX reservation XX hotel is opened" in the subset as the voice matching the keyword.
And the terminal plays the matched voice through a loudspeaker and displays a shortcut button for entering XXX software in a display interface.
Example three:
referring to fig. 7, a schematic flowchart of a voice recommendation method for a terminal in an embodiment of the present application may include the following steps:
step 701: the terminal recognizes a keyword in a voice input by a user through a microphone.
Step 702: and the terminal determines a subset corresponding to the keyword.
Step 703: and the terminal selects the voice with the highest use frequency in the subset as the voice matched with the keyword.
Step 704: and the terminal plays the matched voice through a loudspeaker and/or displays the content contained in the matched voice in a screen.
Step 705: and the terminal displays an operation interface corresponding to the content included in the voice in a screen.
In practice, the execution order of step 704 and step 705 is not limited to this. Step 705 may be performed first, and then step 704 may be performed; or step 704 and step 705 may also be performed simultaneously.
Step 706: and the terminal monitors the operation triggered by the user within a preset time length.
Step 707: and the terminal determines the voice matched with the operation in the subset corresponding to the keyword.
Step 708: and the terminal updates the using times of the voice matched with the operation.
Based on the same inventive concept, the embodiment of the application also provides a terminal. Fig. 8 is a schematic diagram of a terminal according to an embodiment of the present application. The terminal includes:
the recognition module 801 is used for recognizing keywords in voice input by a user through a microphone;
a matching module 802, configured to determine, in a voice recommendation set, a voice that matches the keyword, where the voice includes a content that suggests a user to perform a subsequent operation;
a playing module 803, configured to play the matched voice; and/or the presence of a gas in the gas,
and a first display module 804, configured to display content included in the matched voice.
Optionally, the voice recommendation set includes a plurality of subsets, and each subset corresponds to at least one keyword;
the matching module 802 is specifically configured to:
determining a subset corresponding to the keyword;
and selecting the voice with the highest use frequency in the subset as the voice matched with the keyword.
Optionally, if there are a plurality of voices with the highest use times;
the playing module 803 is specifically configured to: playing one of a plurality of voices; and/or the presence of a gas in the gas,
the first display module 804 is specifically configured to: content included in the plurality of voices is displayed.
Optionally, the terminal further includes:
and the second display module is used for displaying an operation interface corresponding to the content included in the voice after the voice matched with the keyword is determined.
Optionally, the terminal further includes:
the monitoring module is used for monitoring the operation triggered by the user within a preset time length after the matched voice is played and/or the content contained in the matched voice is displayed;
the determining module is used for determining the voice matched with the operation in the subset corresponding to the keyword;
and the updating module is used for updating the using times of the voice matched with the operation.
Based on the same inventive concept, the embodiment of the application also provides another terminal. Fig. 9 is a schematic diagram of a terminal according to an embodiment of the present application. The terminal includes: a processor 902 and a memory 901.
Wherein the memory 901 stores program code that, when executed by the processor 902, causes the processor 902 to perform the following:
identifying key words in voice input by a user through a microphone;
determining a voice matched with the keyword in a voice recommendation set, wherein the voice comprises contents for suggesting a user to perform subsequent operations;
playing the matched voice through a speaker and/or displaying the content contained in the matched voice in a screen.
Optionally, the voice recommendation set includes a plurality of subsets, and each subset corresponds to at least one keyword;
the processor is specifically configured to:
determining a subset corresponding to the keyword;
and selecting the voice with the highest use frequency in the subset as the voice matched with the keyword.
Optionally, if there are a plurality of voices with the highest use times;
the processor is specifically configured to: displaying contents contained in a plurality of voices in a screen; and/or the presence of a gas in the gas,
one of the plurality of voices is played through the speaker.
Optionally, the processor is further configured to:
and after the voice matched with the keyword is determined, displaying an operation interface corresponding to the content included in the voice in a screen.
Optionally, the processor is further configured to:
after the matched voice is played through a loudspeaker and/or the content contained in the matched voice is displayed in a screen by the terminal, the operation triggered by the user within the preset time length is monitored;
determining the voice matched with the operation in the subset corresponding to the keyword;
and updating the using times of the voice matched with the operation.
As shown in fig. 10, a terminal 1000 for voice recommendation according to an embodiment of the present application includes: radio Frequency (RF) circuit 1010, power supply 1020, processor 1030, memory 1040, input unit 1050, display unit 1060, camera 1070, communication interface 1080, and WiFi module 1090. Those skilled in the art will appreciate that the configuration of the terminal shown in fig. 10 is not intended to be limiting, and that the terminal provided by the embodiments of the present application may include more or less components than those shown, or some components may be combined, or a different arrangement of components may be provided.
The various components of terminal 1000 are described in detail below with reference to fig. 10:
the RF circuit 1010 may be used for receiving and transmitting data during a communication or conversation. Specifically, the RF circuit 1010 sends downlink data of the base station to the processor 1030 for processing; and in addition, sending the uplink data to be sent to the base station. In general, the RF circuit 1010 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
In addition, the RF circuit 1010 may also communicate with networks and other terminals through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The WiFi technology belongs to a short-distance wireless transmission technology, and the terminal 1000 may connect to an Access Point (AP) through the WiFi module 1090, thereby implementing Access to a data network. The WiFi module 1090 may be used for receiving and transmitting data during communication.
The terminal 1000 can be physically connected to other terminals through the communication interface 1080. In some embodiments, the communication interface 1080 is connected to a communication interface of the other terminal through a cable, so as to realize data transmission between the terminal 1000 and the other terminal.
In the embodiment of the present application, the terminal 1000 can implement a communication service and send information to other contacts, so that the terminal 1000 needs to have a data transmission function, that is, the terminal 1000 needs to include a communication module inside. Although fig. 10 illustrates communication modules such as the RF circuit 1010, the WiFi module 1090, and the communication interface 1080, it can be understood that at least one of the above components or other communication modules (such as a bluetooth module) for implementing communication exist in the terminal 1000 for data transmission.
For example, when the terminal 1000 is a mobile phone, the terminal 1000 can include the RF circuit 1010 and can further include the WiFi module 1090; when the terminal 1000 is a computer, the terminal 1000 can include the communication interface 1080 and can further include the WiFi module 1090; when the terminal 1000 is a tablet computer, the terminal 1000 can include the WiFi module.
The memory 1040 may be used to store software programs and modules. The processor 1030 executes the software programs and modules stored in the memory 1040, so as to perform various functional applications and data processing of the terminal 1000, and when the processor 1030 executes the program codes in the memory 1040, part or all of the processes in fig. 1 in the embodiments of the present application can be implemented.
In some embodiments, the memory 1040 may mainly include a program storage area and a data storage area. The storage program area can store an operating system, various application programs (such as communication application), a face recognition module and the like; the storage data area may store data (such as various multimedia files like pictures, video files, etc., and face information templates) created according to the use of the terminal, etc.
Further, the memory 1040 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 1050 may be used to receive numeric or character information input by a user and generate key signal inputs related to user settings and function control of the terminal 1000.
In some embodiments, the input unit 1050 may include a touch panel 1051 and other input terminals 1052.
The touch panel 1051, also called a touch screen, can collect touch operations of a user (for example, operations of a user on or near the touch panel 1051 by using any suitable object or accessory such as a finger or a stylus) and drive the corresponding connection device according to a preset program. In some embodiments, the touch panel 1051 may include two portions, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1030, and can receive and execute commands sent by the processor 1030. In addition, the touch panel 1051 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave.
In some embodiments, the other input terminals 1052 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 1060 may be used to display information input by a user or information provided to the user and various menus of the terminal 1000. The display unit 1060 is a display system of the terminal 1000, and is used for presenting an interface and realizing human-computer interaction.
Further, the touch panel 1051 may cover the display panel 1061, and when the touch panel 1051 detects a touch operation on or near the touch panel 1051, the touch panel 1051 transmits the touch operation to the processor 1030 to determine the type of the touch event, and then the processor 1030 provides a corresponding visual output on the display panel 1061 according to the type of the touch event.
Although in FIG. 10, the touch panel 1051 and the display panel 1061 are shown as two separate components to implement the input and output functions of the terminal 1000, in some embodiments, the touch panel 1051 and the display panel 1061 can be integrated to implement the input and output functions of the terminal 1000.
The processor 1030 is a control center of the terminal 1000, connects various components using various interfaces and lines, and performs various functions of the terminal 1000 and processes data by operating or executing software programs and/or modules stored in the memory 1040 and calling data stored in the memory 1040, thereby implementing various services based on the terminal.
In some implementations, the processor 1030 can include one or more processors. In some embodiments, the processor 1030 may integrate an application processor, which handles primarily operating systems, user interfaces, applications, etc., and a modem processor, which handles primarily wireless communications. It is to be appreciated that the modem processor described above may not be integrated into the processor 1030.
The camera 1070 is configured to implement a shooting function of the terminal 1000, and shoot pictures or videos. The camera 1070 can also be used to implement a scanning function of the terminal 1000, and scan a scanned object (two-dimensional code/barcode).
The terminal 1000 can also include a power supply 1020 (e.g., a battery) for powering the various components. In some embodiments, the power supply 1020 may be logically connected to the processor 1030 through a power management system, so that the power management system performs functions of managing charging, discharging, and power consumption.
Although not shown, the terminal 1000 can further include at least one sensor, audio circuit, etc., which are not described herein.
The embodiment of the present application further provides a computer-readable non-volatile storage medium, which includes program code, and when the program code runs on a computing terminal, the program code is configured to enable the computing terminal to execute the steps of the voice recommendation method of the terminal in the embodiment of the present application.
The present application is described above with reference to block diagrams and/or flowchart illustrations of methods, apparatus (systems) and/or computer program products according to embodiments of the application. It will be understood that one block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, and/or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer and/or other programmable data processing apparatus, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the subject application may also be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of this application, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
Claims (6)
1. A voice recommendation method for a terminal is characterized by comprising the following steps:
the terminal identifies key words in voice input by a user through a microphone;
the terminal determines voice matched with the keyword in a voice recommendation set, wherein the voice contains content for suggesting a user to perform subsequent operation;
the terminal plays the matched voice through a loudspeaker and/or the terminal displays the content contained in the matched voice in a screen;
after the terminal determines the voice matched with the keyword, the method further comprises the following steps:
the terminal displays an operation interface corresponding to the content included in the voice in a screen;
the voice recommendation set comprises a plurality of subsets, and each subset corresponds to at least one keyword;
the terminal determines the voice matched with the keyword in a voice recommendation set, and the method comprises the following steps:
the terminal determines a subset corresponding to the keyword;
if the use times corresponding to the multiple voices in the subset are not all 0, the terminal selects the voice with the highest use time in the subset as the voice matched with the keyword;
and if the use times corresponding to the multiple voices in the subset are all 0, the terminal randomly selects one voice in the subset as the voice matched with the keyword.
2. The method according to claim 1, wherein if there are more voices used the highest number of times;
the terminal plays the matched voice through a loudspeaker and/or the terminal displays the content contained in the matched voice in a screen, and the method comprises the following steps:
the terminal displays content contained in the plurality of voices on a screen and/or plays one of the plurality of voices through a speaker.
3. The method according to claim 1, wherein after the terminal plays the matched voice through a speaker and/or the terminal displays the content contained in the matched voice on a screen, the method further comprises:
the terminal monitors the operation triggered by the user within a preset time length;
the terminal determines the voice matched with the operation in the subset corresponding to the keyword;
and the terminal updates the using times of the voice matched with the operation.
4. A terminal, characterized in that the terminal comprises: a processor and a memory, wherein the memory stores program code that, when executed by the processor, causes the processor to perform the following:
identifying key words in voice input by a user through a microphone;
determining a voice matched with the keyword in a voice recommendation set, wherein the voice comprises contents for suggesting a user to perform subsequent operations;
playing the matched voice through a loudspeaker; and/or the presence of a gas in the gas,
displaying contents contained in the matched voice in a screen;
the processor is further configured to:
after the voice matched with the keyword is determined, displaying an operation interface corresponding to the content included in the voice in a screen;
the voice recommendation set comprises a plurality of subsets, and each subset corresponds to at least one keyword;
the processor is further configured to:
determining a subset corresponding to the keyword;
if the use times corresponding to the multiple voices in the subset are not all 0, selecting the voice with the highest use time in the subset as the voice matched with the keyword;
and if the use times corresponding to the multiple voices in the subset are all 0, the terminal randomly selects one voice in the subset as the voice matched with the keyword.
5. The terminal of claim 4, wherein if there are more voices used the highest number of times;
the processor is specifically configured to: playing one of a plurality of voices through a speaker; and/or the presence of a gas in the gas,
contents contained in the plurality of voices are displayed in a screen.
6. The terminal of claim 4, wherein the processor is further configured to:
after the matched voice is played through a loudspeaker and/or the content contained in the matched voice is displayed in a screen, monitoring the operation triggered by the user within a preset time;
determining the voice matched with the operation in the subset corresponding to the keyword;
and updating the using times of the voice matched with the operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910880510.5A CN110602325B (en) | 2019-09-18 | 2019-09-18 | Voice recommendation method and device for terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910880510.5A CN110602325B (en) | 2019-09-18 | 2019-09-18 | Voice recommendation method and device for terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110602325A CN110602325A (en) | 2019-12-20 |
CN110602325B true CN110602325B (en) | 2021-07-27 |
Family
ID=68860460
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910880510.5A Active CN110602325B (en) | 2019-09-18 | 2019-09-18 | Voice recommendation method and device for terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110602325B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115202552A (en) * | 2022-07-14 | 2022-10-18 | 北京地平线信息技术有限公司 | Recommended method, apparatus, electronic device and storage medium for interactive functions |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105161097A (en) * | 2015-07-23 | 2015-12-16 | 百度在线网络技术(北京)有限公司 | Voice interaction method and apparatus |
CN105335498A (en) * | 2015-10-23 | 2016-02-17 | 广东小天才科技有限公司 | Method and system for information recommendation based on voice information |
CN107943914A (en) * | 2017-11-20 | 2018-04-20 | 渡鸦科技(北京)有限责任公司 | Voice information processing method and device |
CN109976829A (en) * | 2019-03-18 | 2019-07-05 | 百度在线网络技术(北京)有限公司 | A kind of voice technical ability signal language configuration method and device |
CN110162707A (en) * | 2019-05-23 | 2019-08-23 | 维沃移动通信有限公司 | A kind of information recommendation method, terminal and computer readable storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103391347B (en) * | 2012-05-10 | 2018-06-08 | 中兴通讯股份有限公司 | A kind of method and device of automatic recording |
KR20160005563A (en) * | 2014-07-07 | 2016-01-15 | 김윤희 | System for replying telephone number using analysis of user's voice and method thereof |
CN105677152A (en) * | 2015-12-31 | 2016-06-15 | 宇龙计算机通信科技(深圳)有限公司 | Voice touch screen operation processing method and device and terminal |
CN108536414B (en) * | 2017-03-06 | 2021-10-22 | 腾讯科技(深圳)有限公司 | Voice processing method, device and system and mobile terminal |
-
2019
- 2019-09-18 CN CN201910880510.5A patent/CN110602325B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105161097A (en) * | 2015-07-23 | 2015-12-16 | 百度在线网络技术(北京)有限公司 | Voice interaction method and apparatus |
CN105335498A (en) * | 2015-10-23 | 2016-02-17 | 广东小天才科技有限公司 | Method and system for information recommendation based on voice information |
CN107943914A (en) * | 2017-11-20 | 2018-04-20 | 渡鸦科技(北京)有限责任公司 | Voice information processing method and device |
CN109976829A (en) * | 2019-03-18 | 2019-07-05 | 百度在线网络技术(北京)有限公司 | A kind of voice technical ability signal language configuration method and device |
CN110162707A (en) * | 2019-05-23 | 2019-08-23 | 维沃移动通信有限公司 | A kind of information recommendation method, terminal and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110602325A (en) | 2019-12-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111722824B (en) | Voice control method, device and computer storage medium | |
CN108320744B (en) | Voice processing method and device, electronic equipment and computer readable storage medium | |
CN104571498B (en) | A kind of application program launching method | |
CN106303070B (en) | notification message prompting method and device and mobile terminal | |
CN105163366B (en) | Wireless network connecting method and device | |
US9727204B2 (en) | Rearranging chat messages | |
US9654621B2 (en) | Methods and devices for prompting calling request | |
CN108156508B (en) | Barrage information processing method and device, mobile terminal, server and system | |
CN107995105B (en) | Intelligent terminal with blind operation software | |
CN107370772A (en) | Account login method, device and computer-readable recording medium | |
CN110716676A (en) | Message reminding method and terminal | |
KR20150040567A (en) | Apparatus and method for displaying an related contents information related the opponent party in terminal | |
CN106940997B (en) | Method and device for sending voice signal to voice recognition system | |
HK1204373A1 (en) | A launch control method and apparatus for application programs | |
CN106375179A (en) | Method and device for displaying instant communication message | |
CN111611027A (en) | A method for starting an application program, a terminal device and a readable storage medium | |
CN112230877A (en) | Voice operation method and device, storage medium and electronic equipment | |
KR20130071136A (en) | Method and apparatus for providing short-cut number in a user device | |
CN110753153A (en) | Terminal control method, terminal and computer storage medium | |
CN110597974A (en) | Instant messaging method and device, computer equipment and terminal equipment | |
CN111625690A (en) | Object recommendation method, device, equipment and medium | |
CN110706705A (en) | Voice control method, terminal and computer storage medium | |
CN110945467B (en) | Disturbance-free method and terminal | |
CN105302335B (en) | Vocabulary recommends method and apparatus and computer readable storage medium | |
CN109274825A (en) | A kind of message prompt method and device |
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 | ||
CP01 | Change in the name or title of a patent holder |
Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11 Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd. Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11 Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |