Contact voice searching method and device and mobile terminal
Technical Field
The application relates to the field of mobile terminal software design, in particular to a contact voice searching method and device and a mobile terminal.
Background
At present, a method for searching for a contact voice by a mobile terminal is to match a database of text types by directly using voice input by a user, a training model established by synthesizing a large number of voices and corresponding texts is used during matching, and the training model is only based on a certain language, such as mandarin or a common dialect, in order to adapt to most users, but for users who do not use or are not good at using the language on which the training model is based, when searching for a contact by using the voice search of the training model, because the voice input by the user is difficult to be recognized, the matching rate of the voice input by the user and the text is low, the accuracy of searching for the corresponding contact is low, and the experience of the user is poor.
Disclosure of Invention
In order to solve the above technical problems, embodiments of the present application provide a method, an apparatus, and a mobile terminal for searching contacts by voice, so as to achieve the purposes of increasing the accuracy of searching corresponding contacts and improving the user experience, and the technical scheme is as follows:
a contact voice searching method comprises the following steps:
the mobile terminal acquires voice input by a user; and the number of the first and second groups,
searching a template voice matched with the voice in a contact database, wherein the template voice is the voice which is obtained by the mobile terminal and is input by a user in advance aiming at the contact; and the number of the first and second groups,
and if the voice is found, displaying the contact corresponding to the template voice matched with the voice.
Preferably, the process of pre-storing the template voice in the contact database includes:
the mobile terminal acquires voice input in advance by a user through adding a custom voice function in a contact person editing page of a certain contact person; and the number of the first and second groups,
and taking the voice input by the user in advance as the template voice of the contact person, and storing the voice into the contact person database.
Preferably, the process of pre-storing the template voice in the contact database includes:
the mobile terminal obtains a function that a user uses original voice to search a contact person aiming at the contact person, and corresponding historical voice is obtained when a correct search result is obtained; and the number of the first and second groups,
and taking the historical voice as the template voice of the contact person, and storing the template voice of the contact person in the contact person database.
Preferably, the same contact in the contact database corresponds to one template voice or a plurality of template voices.
A contact voice search apparatus, comprising:
the first acquisition module is used for acquiring voice input by a user;
the searching module is used for searching a template voice matched with the voice in a contact database, the template voice is the voice which is obtained by the mobile terminal and is input by a user in advance aiming at the contact, and if the template voice is searched, the display module is executed;
and the display module is used for displaying the contact corresponding to the template voice matched with the voice.
Preferably, the method further comprises the following steps:
the second acquisition module is used for acquiring the voice input in advance by a user through adding a custom voice function in a contact person editing page of a certain contact person;
and the first storage module is used for storing the voice input by the user in advance as the template voice of the contact person into the contact person database.
Preferably, the method further comprises the following steps:
the third acquisition module is used for acquiring the historical voice corresponding to the function of the original voice search contact person successfully used by the user for the contact person;
and the second storage module is used for taking the historical voice as the template voice of the contact person and storing the template voice into the contact person database.
A mobile terminal is used for acquiring voice input by a user, searching template voice matched with the voice in a contact database, and displaying a contact corresponding to the template voice matched with the voice if the template voice is searched;
the template voice is the voice which is obtained by the mobile terminal and is input by the user in advance aiming at the contact person.
Preferably, the mobile terminal is a smart phone.
Preferably, the mobile terminal is a tablet computer with a communication function.
Compared with the prior art, the beneficial effect of this application is:
in the application, after acquiring the voice input by the user, the mobile terminal searches the template voice matched with the voice in the contact database, and if the template voice is searched, the mobile terminal displays the contact corresponding to the template voice matched with the voice.
The template voice is the voice which is obtained by the mobile terminal and is input by the user aiming at the contact person in advance, so that the template voice in the contact person database accords with the language habit of the user, when the voice is input by the user and is matched with the voice, the mobile terminal can accurately find the template voice matched with the voice input by the user in the contact person database, the accuracy rate of searching the corresponding contact person is improved, and the experience of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description 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 inventive labor.
FIG. 1 is a flow chart of a method for voice searching for contacts provided by the present application;
FIG. 2 is a flow chart of pre-storing a template voice in a contact database as provided herein;
FIG. 3 is a schematic diagram of a contact editing page provided by the present application;
FIG. 4 is another flow chart of the present application for pre-storing a template voice in a contacts database;
FIG. 5 is a schematic structural diagram of a contact voice search apparatus provided in the present application;
FIG. 6 is a schematic diagram of another structure of the contact voice search apparatus provided in the present application;
fig. 7 is a schematic structural diagram of a contact voice search apparatus provided in the present application.
Detailed Description
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, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Example one
Referring to fig. 1, a flowchart of a method for searching a contact by voice provided by the present application is shown, which may include the following steps:
step S11: the mobile terminal acquires voice input by a user.
Step S12: and the mobile terminal searches a template voice matched with the voice in a contact database, wherein the template voice is the voice which is obtained by the mobile terminal and is input by a user aiming at the contact in advance.
In this embodiment, the template voice is a voice which is obtained by the mobile terminal and is input by the user in advance for the contact person, and the mobile terminal stores the template voice in the contact person database in advance after obtaining the template voice.
In this embodiment, the same contact in the contact database corresponds to one template voice or a plurality of template voices.
Because the same contact corresponds to one template voice or a plurality of template voices in the contact database, the user can input one or a plurality of voices in advance.
When the same contact corresponds to a plurality of template voices, the mobile terminal can search the template voices matched with the voices in the contact database according to different voices input by the user, so that the contact can be searched by using different names (namely different voices input by the user) instead of a single name when the contact is searched, and the corresponding contact can be matched by using different names (namely different voices input by the user), and the user experience is greatly improved.
If the template voice matched with the voice is found in the contact database, the step S13 is executed.
Step S13: and the mobile terminal displays the contact corresponding to the template voice matched with the voice.
In step S12 in the first embodiment, if the template voice matching the voice is not found in the contact database, the user may be prompted that the search fails.
In the application, after acquiring the voice input by the user, the mobile terminal searches the template voice matched with the voice in the contact database, and if the template voice is searched, the mobile terminal displays the contact corresponding to the template voice matched with the voice.
The template voice is the voice which is obtained by the mobile terminal and is input by the user aiming at the contact person in advance, so that the template voice in the contact person database accords with the language habit of the user, when the voice is input by the user and is matched with the voice, the mobile terminal can accurately find the template voice matched with the voice input by the user in the contact person database, the accuracy rate of searching the corresponding contact person is improved, and the experience of the user is improved.
Example two
In this embodiment, a specific process of pre-storing a template voice in a contact database is shown, please refer to fig. 2, and fig. 2 shows a flowchart of pre-storing a template voice in a contact database according to the present application, which may include the following steps:
step S21: the mobile terminal obtains the voice input in advance by adding the user-defined voice function in the contact person editing page of a certain contact person.
Specifically, the mobile terminal displays a contact person editing page of a certain contact person to the user, where the contact person editing page includes a function of adding a customized voice, as shown in fig. 3, fig. 3 shows a schematic diagram of the contact person editing page provided by the present application, the user can input a voice in advance by selecting the function of adding the customized voice in the contact person editing page, and the mobile terminal obtains the voice input in advance by the user.
It should be noted that the user may input one or more voices in advance for the same contact.
Step S22: and the mobile terminal takes the voice input by the user in advance as the template voice of the contact person and stores the template voice into the contact person database.
The mobile terminal takes the voice input by the user in advance as the template voice of the contact person, and the template voice of the contact person is taken as one of the information of the contact person to be stored in the contact person database.
It should be noted that the storing process of the template voice corresponding to any one contact is the same, and refer to step S21 and step S22.
Of course, the process of pre-storing the template voice in the contact database is not limited to the process shown in fig. 2, and also refer to fig. 4, where fig. 4 shows another flowchart of pre-storing the template voice in the contact database provided in the present application, and may include the following steps:
step S41: the mobile terminal obtains the function that a user uses original voice to search a contact person aiming at the contact person, and corresponding historical voice is obtained when a correct search result is obtained.
The original voice search contact function is a function of matching a voice input by a user with a database of text types on a mobile terminal.
The user uses the original voice to search the function of the contact person aiming at a certain contact person, corresponding historical voice when the correct search result is obtained, namely the voice input by the user when the user uses the original voice to search the function of the contact person aiming at the certain contact person, and the input voice enables the mobile terminal to obtain the correct search result.
Step S42: and the mobile terminal takes the historical voice as the template voice of the contact person and stores the template voice in the contact person database.
The mobile terminal takes the historical voice as the template voice of the contact person, and the template voice of the contact person is taken as one of the information of the contact person to be stored in a contact person database.
It should be noted that the storing process of the template voice corresponding to any one contact is the same, and refer to step S41 and step S42.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present application is not limited by the order of acts or acts described, as some steps may occur in other orders or concurrently with other steps in accordance with the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
EXAMPLE III
In this embodiment, a contact voice search apparatus provided by the present application is shown, please refer to fig. 5, and fig. 5 shows a schematic structural diagram of the contact voice search apparatus provided by the present application, where the contact voice search apparatus includes: a first obtaining module 51, a searching module 52 and a displaying module 53. Wherein:
the first obtaining module 51 is configured to obtain a voice input by a user.
The searching module 52 is configured to search a template voice matched with the voice in a contact database, where the template voice is a voice that is obtained by the mobile terminal and is input by a user in advance for a contact, and if the template voice is found, the displaying module 53 is executed.
The display module 53 is configured to display a contact corresponding to the template voice matched with the voice.
In this embodiment, another contact voice search apparatus is shown, please refer to fig. 6, and fig. 6 shows another schematic structural diagram of the contact voice search apparatus provided in this application, which includes, in addition to the first obtaining module 51, the searching module 52 and the display module 53: a second acquisition module 61 and a first storage module 62.
And the second obtaining module 61 is configured to obtain a voice that is input in advance by the user through adding the custom voice function in the contact editing page of a certain contact.
The first storage module 62 is configured to store the voice input by the user in advance as the template voice of the contact in the contact database.
In this embodiment, still another contact voice search apparatus is further shown, please refer to fig. 7, and fig. 7 shows still another schematic structural diagram of the contact voice search apparatus provided in this application, which includes, in addition to the first obtaining module 51, the searching module 52 and the display module 53: a third acquisition module 71 and a second storage module 72.
The third obtaining module 71 is configured to obtain a historical voice corresponding to a function of a contact person successfully searched by using an original voice for the contact person by the user.
And the second storage module 72 is configured to use the historical speech as a template speech of the contact, and store the template speech in the contact database.
Example four
In this embodiment, a mobile terminal provided by the present application is shown, configured to obtain a voice input by a user, search a template voice matched with the voice in a contact database, and if the template voice is found, display a contact corresponding to the template voice matched with the voice.
The template voice is the voice which is acquired by the mobile terminal and is input by the user in advance aiming at the contact person.
In this embodiment, the mobile terminal may be, but is not limited to, a smart phone or a tablet computer with a call function.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
The method, the device and the mobile terminal for searching the contact voice provided by the application are introduced in detail, a specific example is applied in the text to explain the principle and the implementation of the application, and the description of the above embodiment is only used for helping to understand the method and the core idea of the application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.