CN106156022B - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN106156022B
CN106156022B CN201510129073.5A CN201510129073A CN106156022B CN 106156022 B CN106156022 B CN 106156022B CN 201510129073 A CN201510129073 A CN 201510129073A CN 106156022 B CN106156022 B CN 106156022B
Authority
CN
China
Prior art keywords
voice
type
voice instruction
information
sample
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
Application number
CN201510129073.5A
Other languages
Chinese (zh)
Other versions
CN106156022A (en
Inventor
张笑为
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510129073.5A priority Critical patent/CN106156022B/en
Publication of CN106156022A publication Critical patent/CN106156022A/en
Application granted granted Critical
Publication of CN106156022B publication Critical patent/CN106156022B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses an information processing method and electronic equipment, wherein the information processing method comprises the following steps: receiving first voice information; judging whether a first type of voice instruction sample matched with the first voice information exists in the voice instruction database or not to obtain a first judgment result, wherein the first type of voice instruction sample has a first instruction corresponding to the first type of voice instruction sample; processing a second type of voice instruction sample corresponding to the first voice information based on a first judgment result representing that the first type of voice instruction sample matched with the first voice information does not exist, wherein the second type of voice instruction sample is stored in the voice instruction database.

Description

Information processing method and electronic equipment
Technical Field
Embodiments of the present invention relate to information processing technologies, and in particular, to an information processing method and an electronic device.
Background
In the existing voice trigger (trigger) system, a voice sample needs to be trained in advance, that is, before a user uses the voice sample, the voice sample needs to be trained in a specific environment, such as a quiet environment, and the voice sample is used as a sample word in the trigger. If the sample word needs to be replaced, retraining is required. Therefore, the training sample words become necessary work for the user, and the user cannot train the sample at any time, which undoubtedly results in poor user experience.
Disclosure of Invention
The embodiment of the invention mainly aims to provide an information processing method and electronic equipment.
The technical scheme of the embodiment of the invention is realized as follows:
an information processing method is applied to electronic equipment, wherein a voice instruction database is arranged in the electronic equipment, and at least one first type voice instruction sample is stored in the voice instruction database; the information processing method comprises the following steps:
receiving first voice information;
judging whether a first type of voice instruction sample matched with the first voice information exists in the voice instruction database or not to obtain a first judgment result, wherein the first type of voice instruction sample has a first instruction corresponding to the first type of voice instruction sample;
processing a second type of voice instruction sample corresponding to the first voice information based on a first judgment result representing that the first type of voice instruction sample matched with the first voice information does not exist, wherein the second type of voice instruction sample is stored in the voice instruction database.
An electronic device is provided with a voice instruction database, and at least one first type voice instruction sample is stored in the voice instruction database; the electronic device includes: receiving unit, judgement unit and processing unit, wherein:
a receiving unit, configured to receive first voice information;
the judging unit is used for judging whether a first type of voice instruction sample matched with the first voice information exists in the voice instruction database or not to obtain a first judgment result, wherein the first type of voice instruction sample has a first instruction corresponding to the first type of voice instruction sample;
and the processing unit is used for processing a second type of voice instruction sample corresponding to the first voice information on the basis of a first judgment result representing that the first type of voice instruction sample matched with the first voice information does not exist, wherein the second type of voice instruction sample is stored in the voice instruction database.
In the embodiment of the invention, when a user inputs a voice instruction through the electronic equipment, a voice instruction sample is generated without special voice instruction training, the electronic equipment automatically compares the voice with the voice instruction sample as long as the user inputs the voice to the electronic equipment, when the currently input voice is determined not to be matched with the voice instruction sample, the input voice is stored so as to detect whether the voice is input by the user within a set time period and exceeds a set number of times, and when the voice is detected to exceed the set number of times, the input voice is made into the voice instruction for storage. According to the embodiment of the invention, the voice input by the user is automatically trained, so that the user does not need to specially train the voice command, and the use experience of the user is improved.
Drawings
FIG. 1 is a flowchart of an information processing method according to a first embodiment of the present invention;
FIG. 2 is a flowchart of an information processing method according to a second embodiment of the present invention;
FIG. 3 is a flowchart of an information processing method according to a third embodiment of the present invention;
FIG. 4 is a flowchart of an information processing method according to a fourth embodiment of the present invention;
FIG. 5 is a flowchart of an information processing method according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
So that the manner in which the features and aspects of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings.
Fig. 1 is a flowchart of an information processing method according to a first embodiment of the present invention, and as shown in fig. 1, the information processing method of this example is applied to an electronic device, where the electronic device may be an intelligent electronic device such as a mobile phone, a notebook computer, a tablet computer, and a game machine with a voice trigger function. The electronic equipment is provided with a voice instruction database, and at least one first type voice instruction sample is stored in the voice instruction database; the information processing method of the embodiment of the invention comprises the following steps:
step 101, receiving first voice information.
When the voice trigger function of the electronic device is triggered, the voice trigger function module receives first voice information input by a user.
In the embodiment of the invention, in order to prevent the voice trigger function module in the electronic device from mistakenly taking the external noise as the first voice information, the external noise can be prevented from being mistakenly recognized by the voice trigger function module by limiting the audio frequency and the voice power of the voice of the input voice trigger. For example, the feature of human speech may be used as the discrimination of the input voice information, and both the input of non-human voice and voice with input power lower than a set threshold may be not recognized as noise. Of course, when the user uses the voice trigger function of the electronic device for the first time, the user may input his own voice, the voice trigger function module recognizes the spectral feature of the voice, recognizes the voice information input from the outside, receives and stores the voice information as the first voice information only when the spectral feature is matched, and directly shields or discards the voice input from other users.
And 102, judging whether a first type of voice instruction sample matched with the first voice information exists in the voice instruction database or not, and obtaining a first judgment result.
Wherein the first type voice instruction sample has a first instruction corresponding to the first type voice instruction sample.
After receiving the first voice information input by the user, firstly confirming whether the first voice information input by the user is a voice instruction, namely firstly confirming whether the first voice information is an operation instruction, if so, identifying the voice instruction by the voice trigger function module, and executing the instruction corresponding to the first voice information.
In the embodiment of the invention, the first type of voice instruction sample is a voice trained voice instruction stored in a voice instruction database of the voice trigger function module, and when the voice trigger function module identifies that a first voice input by a user is matched with a certain first type of voice instruction sample, the voice trigger function module executes an instruction corresponding to the first type of voice instruction sample.
And 103, processing a second type voice instruction sample corresponding to the first voice information based on a first judgment result representing that the first type voice instruction sample matched with the first voice information does not exist.
Wherein the second type of voice instruction sample is stored in the voice instruction database.
In the embodiment of the invention, when it is determined that the first voice input by the user does not match with all voice instruction samples in the voice instruction database, the first voice information is matched with the second type of voice instruction samples in the voice instruction database to find out whether the second type of voice instruction samples have the voice instruction samples matched with the first voice information, so as to determine whether the first voice information is stored as the first type of voice instruction samples.
Fig. 2 is a flowchart of an information processing method according to a second embodiment of the present invention, and as shown in fig. 2, the information processing method of this example is applied to an electronic device, where the electronic device may be an intelligent electronic device such as a mobile phone, a notebook computer, a tablet computer, and a game console with a voice trigger function. The electronic equipment is provided with a voice instruction database, and at least one first type voice instruction sample is stored in the voice instruction database; the information processing method of the embodiment of the invention comprises the following steps:
step 201, receiving a first voice message.
When the voice trigger function of the electronic device is triggered, the voice trigger function module receives first voice information input by a user.
In the embodiment of the invention, in order to prevent the voice trigger function module in the electronic device from mistakenly taking the external noise as the first voice information, the external noise can be prevented from being mistakenly recognized by the voice trigger function module by limiting the audio frequency and the voice power of the voice of the input voice trigger. For example, the feature of human speech may be used as the discrimination of the input voice information, and both the input of non-human voice and voice with input power lower than a set threshold may be not recognized as noise. Of course, when the user uses the voice trigger function of the electronic device for the first time, the user may input his own voice, the voice trigger function module recognizes the spectral feature of the voice, recognizes the voice information input from the outside, receives and stores the voice information as the first voice information only when the spectral feature is matched, and directly shields or discards the voice input from other users.
Step 202, judging whether a first type of voice instruction sample matched with the first voice information exists in the voice instruction database, and obtaining a first judgment result.
Wherein the first type voice instruction sample has a first instruction corresponding to the first type voice instruction sample.
After receiving the first voice information input by the user, firstly confirming whether the first voice information input by the user is a voice instruction, namely firstly confirming whether the first voice information is an operation instruction, if so, identifying the voice instruction by the voice trigger function module, and executing the instruction corresponding to the first voice information. If the first voice message is not the operation command, the first voice message may be a training voice command input by the user, and it is determined whether the first voice can be used as the training voice command.
In the embodiment of the invention, the first type of voice instruction sample is a voice instruction which is stored in the voice trigger function module and is trained by voice, and when the voice trigger function module identifies that a first voice input by a user is matched with a certain first type of voice instruction sample, the voice trigger function module executes an instruction corresponding to the first voice.
Step 203, when the first judgment result is that the first type voice instruction sample matched with the first voice information exists, determining a first instruction corresponding to the first type voice instruction sample matched with the first voice information, and executing the first instruction.
When determining that a first type of voice instruction sample matched with the first voice information exists, determining a first instruction corresponding to the first type of voice instruction sample matched with the first voice information, and executing the first instruction.
In this embodiment of the present invention, the first instruction may be a power on/off instruction, a data transmission instruction, or the like.
And 204, processing a second type voice instruction sample corresponding to the first voice information based on a first judgment result representing that the first type voice instruction sample matched with the first voice information does not exist.
Wherein the second type of voice instruction sample is stored in the voice instruction database.
In the embodiment of the invention, when it is determined that the first voice input by the user is not matched with all voice instruction samples in the voice instruction database, the first voice information is matched with the second type of voice instruction samples in the voice instruction database so as to find out whether the second type of voice instruction samples matched with the first voice information exists or not, and whether the first voice information is stored as the first type of voice instruction samples or not is determined.
Fig. 3 is a flowchart of an information processing method according to a third embodiment of the present invention, and as shown in fig. 3, the information processing method of this example is applied to an electronic device, where the electronic device may be an intelligent electronic device such as a mobile phone, a notebook computer, a tablet computer, and a game console with a voice trigger function. The electronic equipment is provided with a voice instruction database, and at least one first type voice instruction sample is stored in the voice instruction database; the information processing method of the embodiment of the invention comprises the following steps:
step 301, receiving first voice information.
When the voice trigger function of the electronic device is triggered, the voice trigger function module receives first voice information input by a user.
In the embodiment of the invention, in order to prevent the voice trigger function module in the electronic device from mistakenly taking the external noise as the first voice information, the external noise can be prevented from being mistakenly recognized by the voice trigger function module by limiting the audio frequency and the voice power of the voice of the input voice trigger. For example, the feature of human speech may be used as the discrimination of the input voice information, and both the input of non-human voice and voice with input power lower than a set threshold may be not recognized as noise. Of course, when the user uses the voice trigger function of the electronic device for the first time, the user may input his own voice, the voice trigger function module recognizes the spectral feature of the voice, recognizes the voice information input from the outside, receives and stores the voice information as the first voice information only when the spectral feature is matched, and directly shields or discards the voice input from other users.
Step 302, judging whether a first type of voice instruction sample matched with the first voice information exists in the voice instruction database, and obtaining a first judgment result.
Wherein the first type voice instruction sample has a first instruction corresponding to the first type voice instruction sample.
After receiving the first voice information input by the user, firstly confirming whether the first voice information input by the user is a voice instruction, namely firstly confirming whether the first voice information is an operation instruction, if so, identifying the voice instruction by the voice trigger function module, and executing the instruction corresponding to the first voice information.
In the embodiment of the invention, the first type of voice instruction sample is a voice instruction which is stored in the voice trigger function module and is trained by voice, and when the voice trigger function module identifies that a first voice input by a user is matched with a certain first type of voice instruction sample in a voice instruction database, the voice trigger function module executes an instruction corresponding to the first voice.
Step 303, when the first determination result indicating that there is no first type voice instruction sample matching the first voice information is present, determining whether there is a second type voice instruction sample matching the first voice information in the voice instruction database, and obtaining a second determination result.
Wherein the second type of voice instruction sample is stored in the voice instruction database.
In the embodiment of the invention, when the first voice input by the user is determined not to be matched with all voice instruction samples in the voice instruction database, the first voice information is matched with the second type of voice instruction samples in the voice instruction database so as to find out whether the second type of voice instruction samples matched with the first voice information exist.
Step 304, when the second judgment result represents that there is no second-class voice instruction sample matched with the first voice information, based on the first voice information, obtaining a second-class voice instruction sample corresponding to the first voice information.
When there is no voice matching with the first voice information in the second type voice instruction sample, it means that the first voice is the first input by the user, and may be a training voice instruction input by the user, step 305 is executed.
Step 305, storing the first voice message in the second type voice instruction sample.
And when determining that the voice matched with the first voice information does not exist in the second type voice instruction sample, taking the first voice information as a training voice instruction input by a user and storing the training voice instruction in the second type voice instruction sample.
Fig. 4 is a flowchart of an information processing method according to a fourth embodiment of the present invention, and as shown in fig. 4, the information processing method of this example is applied to an electronic device, where the electronic device may be an intelligent electronic device such as a mobile phone, a notebook computer, a tablet computer, and a game console with a voice trigger function. The electronic equipment is provided with a voice instruction database, and at least one first type voice instruction sample is stored in the voice instruction database; the information processing method of the embodiment of the invention comprises the following steps:
step 401, receiving a first voice message.
When the voice trigger function of the electronic device is triggered, the voice trigger function module receives first voice information input by a user.
In the embodiment of the invention, in order to prevent the voice trigger function module in the electronic device from mistakenly taking the external noise as the first voice information, the external noise can be prevented from being mistakenly recognized by the voice trigger function module by limiting the audio frequency and the voice power of the voice of the input voice trigger. For example, the feature of human speech may be used as the discrimination of the input voice information, and both the input of non-human voice and voice with input power lower than a set threshold may be not recognized as noise. Of course, when the user uses the voice trigger function of the electronic device for the first time, the user may input his own voice, the voice trigger function module recognizes the spectral feature of the voice, recognizes the voice information input from the outside, receives and stores the voice information as the first voice information only when the spectral feature is matched, and directly shields or discards the voice input from other users.
Step 402, judging whether a first type of voice instruction sample matched with the first voice information exists in the voice instruction database, and obtaining a first judgment result.
Wherein the first type voice instruction sample has a first instruction corresponding to the first type voice instruction sample.
After receiving the first voice information input by the user, firstly confirming whether the first voice information input by the user is a voice instruction, namely firstly confirming whether the first voice information is an operation instruction, if so, identifying the voice instruction by the voice trigger function module, and executing the instruction corresponding to the first voice information.
In the embodiment of the invention, the first type of voice instruction sample is a voice instruction which is stored in the voice trigger function module and is trained by voice, and when the voice trigger function module identifies that a first voice input by a user is matched with a certain first type of voice instruction sample in a voice instruction database, the voice trigger function module executes an instruction corresponding to the first voice.
Step 403, determining whether a second type of voice instruction sample matched with the first voice information exists in the voice instruction database, and obtaining a second determination result.
Wherein the second type of voice instruction sample is stored in the voice instruction database.
In the embodiment of the invention, when the first voice input by the user is determined not to be matched with all voice instruction samples in the voice instruction database, the first voice information is matched with the second type of voice instruction samples in the voice instruction database so as to find out whether the second type of voice instruction samples matched with the first voice information exist or not.
Step 404, when the second judgment result represents that there is a second type voice instruction sample matched with the first voice information, updating the second type voice instruction sample to be a first type voice instruction sample.
In the embodiment of the present invention, if it is determined that the first voice information is stored in the second type voice instruction sample, the second type voice instruction sample matched with the first voice is updated to the first type voice instruction sample, that is, the currently input voice information is stored in the voice instruction database as the first type voice instruction sample.
Fig. 5 is a flowchart of an information processing method according to a fifth embodiment of the present invention, and as shown in fig. 5, the information processing method of this example is applied to an electronic device, where the electronic device may be an intelligent electronic device such as a mobile phone, a notebook computer, a tablet computer, and a game console that has a voice trigger function. The electronic equipment is provided with a voice instruction database, and at least one first type voice instruction sample is stored in the voice instruction database; the information processing method of the embodiment of the invention comprises the following steps:
step 501, receiving first voice information.
When the voice trigger function of the electronic device is triggered, the voice trigger function module receives first voice information input by a user.
In the embodiment of the invention, in order to prevent the voice trigger function module in the electronic device from mistakenly taking the external noise as the first voice information, the external noise can be prevented from being mistakenly recognized by the voice trigger function module by limiting the audio frequency and the voice power of the voice of the input voice trigger. For example, the feature of human speech may be used as the discrimination of the input voice information, and both the input of non-human voice and voice with input power lower than a set threshold may be not recognized as noise. Of course, when the user uses the voice trigger function of the electronic device for the first time, the user may input his own voice, the voice trigger function module recognizes the spectral feature of the voice, recognizes the voice information input from the outside, receives and stores the voice information as the first voice information only when the spectral feature is matched, and directly shields or discards the voice input from other users.
Step 502, judging whether a first type of voice instruction sample matched with the first voice information exists in the voice instruction database, and obtaining a first judgment result.
Wherein the first type voice instruction sample has a first instruction corresponding to the first type voice instruction sample.
After receiving the first voice information input by the user, firstly confirming whether the first voice information input by the user is a voice instruction, namely firstly confirming whether the first voice information is an operation instruction, if so, identifying the voice instruction by the voice trigger function module, and executing the instruction corresponding to the first voice information.
In the embodiment of the invention, the first type of voice instruction sample is a voice instruction which is stored in the voice trigger function module and is trained by voice, and when the voice trigger function module identifies that a first voice input by a user is matched with a certain first type of voice instruction sample in a voice instruction database, the voice trigger function module executes an instruction corresponding to the first voice.
Step 503, determining whether a second type of voice instruction sample matched with the first voice information exists in the voice instruction database, and obtaining a second determination result.
Wherein the second type of voice instruction sample is stored in the voice instruction database.
In the embodiment of the invention, when the first voice input by the user is determined not to be matched with all voice instruction samples in the voice instruction database, the first voice information is matched with the second type of voice instruction samples in the voice instruction database so as to find out whether the second type of voice instruction samples matched with the first voice information exist or not.
Step 504, when the second judgment result represents that there is a second type voice instruction sample matched with the first voice information, updating attribute information of the second type voice instruction sample.
When the second type voice instruction sample matched with the first voice information is determined to exist, updating the attribute information of the second type voice instruction sample matched with the first voice information, wherein the attribute information can be information such as matching times.
And 505, judging whether the attribute information of the second type voice instruction sample meets a preset condition, and obtaining a third judgment result.
And judging whether the matching times of the second type voice instruction sample matched with the first voice information reaches a set threshold value or not.
Step 506, when the third judgment result represents that the attribute information meets the preset condition, updating the second type voice instruction sample into the first type voice instruction sample.
And updating the second type voice instruction sample matched with the first voice information into a first type voice instruction sample to be used as a voice instruction when the matching frequency of the second type voice instruction sample matched with the first voice information is determined to reach a set threshold value.
Fig. 6 is a schematic diagram of a composition structure of an electronic device according to an embodiment of the present invention, and as shown in fig. 6, a voice instruction database is disposed in the electronic device, and at least one first type voice instruction sample is stored in the voice instruction database; characterized in that the electronic device comprises: a receiving unit 60, a judging unit 61 and a processing unit 62, wherein:
a receiving unit 60 for receiving first voice information;
the judging unit 61 is configured to judge whether a first type of voice instruction sample matched with the first voice information exists in the voice instruction database, and obtain a first judgment result, where the first type of voice instruction sample has a first instruction corresponding to the first type of voice instruction sample;
and the processing unit 62 is configured to process a second type of voice instruction sample corresponding to the first voice information based on a first determination result indicating that there is no first type of voice instruction sample matching the first voice information, where the second type of voice instruction sample is stored in the voice instruction database.
On the basis of the structure shown in fig. 6, the electronic device according to the embodiment of the present invention further includes: a determination unit (not shown in fig. 6) and an execution unit (not shown in fig. 6), wherein:
the determining unit is used for determining a first instruction corresponding to a first type voice instruction sample matched with the first voice information when the first judgment result is that the first type voice instruction sample matched with the first voice information exists;
an execution unit to execute the first instruction.
As one implementation manner, a processing unit of an electronic device according to an embodiment of the present invention includes: a first judging subunit, an obtaining subunit and a storing subunit, wherein:
the first judging subunit is used for judging whether a second type of voice instruction sample matched with the first voice information exists in the voice instruction database or not to obtain a second judging result;
the obtaining subunit is configured to, when the second determination result represents that there is no second-class voice instruction sample matching the first voice information, obtain, based on the first voice information, a second-class voice instruction sample corresponding to the first voice information;
and the storage subunit is used for storing the first voice information in the second type voice instruction sample.
On the basis of the foregoing processing unit, as an implementation manner, the processing unit of the electronic device according to the embodiment of the present invention further includes:
and the first updating subunit is configured to update the second type of voice instruction sample to the first type of voice instruction sample when the second determination result represents that the second type of voice instruction sample matched with the first voice information exists.
On the basis of the foregoing processing unit, as an implementation manner, the processing unit of the electronic device according to the embodiment of the present invention further includes:
a second update subunit, a second determination subunit, and a third update subunit, wherein:
the second updating subunit is configured to update attribute information of a second type of voice instruction sample when the second determination result represents that the second type of voice instruction sample matched with the first voice information exists;
the second judging subunit is used for judging whether the attribute information of the second-class voice instruction sample meets a preset condition or not and obtaining a third judging result;
and the third updating subunit is configured to update the second type of voice instruction sample to the first type of voice instruction sample when the third determination result indicates that the attribute information meets a preset condition.
Those skilled in the art will understand that the implementation functions of each processing unit in the electronic device shown in fig. 6 can be understood by referring to the related description of the foregoing information processing method and the embodiments thereof. Those skilled in the art will appreciate that the functions of the processing units in the electronic device shown in fig. 6 may be implemented by a program running on a processor, or may be implemented by specific logic circuits.
The technical schemes described in the embodiments of the present invention can be combined arbitrarily without conflict.
In the embodiments provided in the present invention, it should be understood that the disclosed method, apparatus and electronic device may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus an application function unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit according to the embodiment of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of an application function module and sold or used as a stand-alone product. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in the form of a computer application product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The scope of the present invention is not limited thereto, and those skilled in the art can easily conceive of changes and substitutions within the technical scope of the present invention, and all such changes and substitutions are intended to be included within the scope of the present invention.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (6)

1. An information processing method is applied to electronic equipment, wherein a voice instruction database is arranged in the electronic equipment, and at least one first type voice instruction sample is stored in the voice instruction database; the information processing method is characterized by comprising the following steps:
receiving first voice information;
judging whether a first type of voice instruction sample matched with the first voice information exists in the voice instruction database or not to obtain a first judgment result, wherein the first type of voice instruction sample has a first instruction corresponding to the first type of voice instruction sample;
judging whether a second type of voice instruction sample matched with the first voice information exists in the voice instruction database or not based on a first judgment result representing that the first type of voice instruction sample matched with the first voice information does not exist, and obtaining a second judgment result;
when the second judgment result represents that a second type of voice instruction sample matched with the first voice information does not exist, storing the first voice information in the second type of voice instruction sample based on the first voice information, wherein the second type of voice instruction sample is stored in the voice instruction database;
and when the second judgment result represents that a second type of voice instruction sample matched with the first voice information exists, updating the second type of voice instruction sample into a first type of voice instruction sample.
2. The information processing method according to claim 1, characterized by further comprising:
and when the first judgment result is that a first type of voice instruction sample matched with the first voice information exists, determining a first instruction corresponding to the first type of voice instruction sample matched with the first voice information, and executing the first instruction.
3. The information processing method according to claim 1, characterized by further comprising:
when the second judgment result represents that a second type of voice instruction sample matched with the first voice information exists, updating attribute information of the second type of voice instruction sample;
judging whether the attribute information of the second type voice instruction sample meets a preset condition or not, and obtaining a third judgment result;
and when the third judgment result represents that the attribute information meets the preset condition, updating the second type voice instruction sample into the first type voice instruction sample.
4. An electronic device is provided with a voice instruction database, and at least one first type voice instruction sample is stored in the voice instruction database; characterized in that the electronic device comprises: receiving unit, judgement unit and processing unit, wherein:
a receiving unit, configured to receive first voice information;
the judging unit is used for judging whether a first type of voice instruction sample matched with the first voice information exists in the voice instruction database or not to obtain a first judgment result, wherein the first type of voice instruction sample has a first instruction corresponding to the first type of voice instruction sample;
the processing unit is used for processing a second type of voice instruction sample corresponding to the first voice information on the basis of a first judgment result representing that the first type of voice instruction sample matched with the first voice information does not exist, wherein the second type of voice instruction sample is stored in the voice instruction database;
the processing unit includes: the device comprises a first judgment subunit, a storage subunit and a first updating subunit, wherein:
the first judging subunit is used for judging whether a second type of voice instruction sample matched with the first voice information exists in the voice instruction database or not to obtain a second judging result;
the storage subunit is configured to, when the second determination result represents that there is no second-class voice instruction sample matching the first voice information, store the first voice information in the second-class voice instruction sample based on the first voice information;
and the first updating subunit is configured to update the second type of voice instruction sample to the first type of voice instruction sample when the second determination result represents that the second type of voice instruction sample matched with the first voice information exists.
5. The electronic device of claim 4, further comprising: a determination unit and an execution unit, wherein:
the determining unit is used for determining a first instruction corresponding to a first type voice instruction sample matched with the first voice information when the first judgment result is that the first type voice instruction sample matched with the first voice information exists;
an execution unit to execute the first instruction.
6. The electronic device of claim 4, wherein the processing unit further comprises: a second update subunit, a second determination subunit, and a third update subunit, wherein:
the second updating subunit is configured to update attribute information of a second type of voice instruction sample when the second determination result represents that the second type of voice instruction sample matched with the first voice information exists;
the second judging subunit is used for judging whether the attribute information of the second-class voice instruction sample meets a preset condition or not and obtaining a third judging result;
and the third updating subunit is configured to update the second type of voice instruction sample to the first type of voice instruction sample when the third determination result indicates that the attribute information meets a preset condition.
CN201510129073.5A 2015-03-23 2015-03-23 Information processing method and electronic equipment Active CN106156022B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510129073.5A CN106156022B (en) 2015-03-23 2015-03-23 Information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510129073.5A CN106156022B (en) 2015-03-23 2015-03-23 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN106156022A CN106156022A (en) 2016-11-23
CN106156022B true CN106156022B (en) 2020-02-21

Family

ID=58063132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510129073.5A Active CN106156022B (en) 2015-03-23 2015-03-23 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN106156022B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020006711A1 (en) * 2018-07-04 2020-01-09 华为技术有限公司 Message playing method and terminal
CN110570867A (en) * 2019-09-12 2019-12-13 安信通科技(澳门)有限公司 Voice processing method and system for locally added corpus
CN113160807A (en) * 2020-01-22 2021-07-23 广州汽车集团股份有限公司 Corpus updating method and system and voice control equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1641563A (en) * 2004-01-09 2005-07-20 顺德市顺达电脑厂有限公司 Computer device voice rapid control device and method thereof
CN103000175A (en) * 2012-12-03 2013-03-27 深圳市金立通信设备有限公司 Voice recognition method and mobile terminal
CN103632664A (en) * 2012-08-20 2014-03-12 联想(北京)有限公司 A method for speech recognition and an electronic device
CN103631800A (en) * 2012-08-23 2014-03-12 腾讯科技(深圳)有限公司 Information processing method and device
CN104183237A (en) * 2014-09-04 2014-12-03 百度在线网络技术(北京)有限公司 Speech processing method and device for portable terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1641563A (en) * 2004-01-09 2005-07-20 顺德市顺达电脑厂有限公司 Computer device voice rapid control device and method thereof
CN103632664A (en) * 2012-08-20 2014-03-12 联想(北京)有限公司 A method for speech recognition and an electronic device
CN103631800A (en) * 2012-08-23 2014-03-12 腾讯科技(深圳)有限公司 Information processing method and device
CN103000175A (en) * 2012-12-03 2013-03-27 深圳市金立通信设备有限公司 Voice recognition method and mobile terminal
CN104183237A (en) * 2014-09-04 2014-12-03 百度在线网络技术(北京)有限公司 Speech processing method and device for portable terminal

Also Published As

Publication number Publication date
CN106156022A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
CN107944380B (en) Identity recognition method and device and storage equipment
US11568876B2 (en) Method and device for user registration, and electronic device
KR102261552B1 (en) Providing Method For Voice Command and Electronic Device supporting the same
US20180342241A1 (en) Method and Apparatus of Recognizing Field of Semantic Parsing Information, Device and Readable Medium
JP6594534B2 (en) Text information processing method and device
US10122839B1 (en) Techniques for enhancing content on a mobile device
CN105139858B (en) A kind of information processing method and electronic equipment
EP3023978A1 (en) Display apparatus and method for registration of user command
EP3021321A1 (en) Display apparatus and method for question and answer
CN109427331B (en) Speech recognition method and device
CN107784034B (en) Page type identification method and device for page type identification
CN103853703A (en) Information processing method and electronic equipment
US11095627B2 (en) Message display method, apparatus, and device
JP2021196599A (en) Method and apparatus for outputting information
CN108055617B (en) Microphone awakening method and device, terminal equipment and storage medium
AU2017216520A1 (en) Common data repository for improving transactional efficiencies of user interactions with a computing device
CN106156022B (en) Information processing method and electronic equipment
CN107743108B (en) Method and device for identifying medium access control address
CN106486119B (en) A kind of method and apparatus identifying voice messaging
CN104750665B (en) The treating method and apparatus of text information
CN106709330B (en) Method and device for recording file execution behaviors
CN108231074A (en) A kind of data processing method, voice assistant equipment and computer readable storage medium
CN109657469B (en) Script detection method and device
US9626967B2 (en) Information processing method and electronic device
KR20170060148A (en) Information processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant