Information processing method and electronic device
First Claim
1. An information processing method applied in an electronic device comprising at least one hardware processor for implementing a first processing unit, a second processing unit and a collection unit, wherein the first processing unit comprises a voice recognition module, the information processing method comprising:
- collecting, with the collection unit, first sound information;
extracting, with the first processing unit, an energy parameter of the first sound information and determining, with the first processing unit, whether the energy parameter is greater than or equal to a first threshold;
starting the voice recognition module when it is determined that the energy parameter is greater than or equal to the first threshold;
generating a first instruction and transmitting the first instruction to the second processing unit when the first sound information comprises first information which matches with audio data preset in the first processing unit;
wherein the generating the first instruction comprises;
acquiring, with the voice recognition module, a first parameter of the first sound information;
comparing, with the first processing unit, an audio template in the preset audio data with the first parameter to generate a first comparison result; and
generating, with the first processing unit, the first instruction when the first comparison result indicates that the audio template matches with the first parameter;
generating, with the second processing unit, a second instruction based on the first instruction and a first application when the second processing unit determines that there is the first application, which meets a predetermined condition, in at least one application program, wherein the second instruction is one of a plurality of predetermined instructions and the first instruction is of equally applicable to generate each one of the plurality of predetermined instructions; and
executing, the second processing unit, the second instruction in the first application.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure discloses an information processing method and an electronic device. The electronic device comprises a first processing unit and a second processing unit. The second processing unit is capable of executing at least one application program. The information processing method comprises: collecting first sound information; when the first sound information comprises first information which matches with audio data preset in the first processing unit, generating a first instruction, and transmitting the first instruction to the second processing unit; when it is determined that there is a first application which meets a predetermined condition in the at least one application program, generating, by the second processing unit, a second instruction based on the first instruction and the first application; and executing the second instruction in the first application.
5 Citations
4 Claims
-
1. An information processing method applied in an electronic device comprising at least one hardware processor for implementing a first processing unit, a second processing unit and a collection unit, wherein the first processing unit comprises a voice recognition module, the information processing method comprising:
-
collecting, with the collection unit, first sound information; extracting, with the first processing unit, an energy parameter of the first sound information and determining, with the first processing unit, whether the energy parameter is greater than or equal to a first threshold; starting the voice recognition module when it is determined that the energy parameter is greater than or equal to the first threshold; generating a first instruction and transmitting the first instruction to the second processing unit when the first sound information comprises first information which matches with audio data preset in the first processing unit; wherein the generating the first instruction comprises; acquiring, with the voice recognition module, a first parameter of the first sound information; comparing, with the first processing unit, an audio template in the preset audio data with the first parameter to generate a first comparison result; and generating, with the first processing unit, the first instruction when the first comparison result indicates that the audio template matches with the first parameter; generating, with the second processing unit, a second instruction based on the first instruction and a first application when the second processing unit determines that there is the first application, which meets a predetermined condition, in at least one application program, wherein the second instruction is one of a plurality of predetermined instructions and the first instruction is of equally applicable to generate each one of the plurality of predetermined instructions; and executing, the second processing unit, the second instruction in the first application. - View Dependent Claims (2)
-
-
3. An electronic device, comprising at least one hardware processor for implementing a first processing unit, a second processing unit, and a collection unit, the second processing unit being capable of executing at least one application program, the first processing unit comprising a determination unit, a generation unit, a transmission unit, a voice recognition module, an extraction unit, a judgment unit and a start unit, wherein
the collection unit is configured to collect first sound information; -
the extraction unit is configured to extract an energy parameter of the first sound information; the judgment unit is configured to judge whether the energy parameter is greater than or equal to a first threshold, to obtain a first judgment result; the start unit is configured to start the voice recognition module when the first judgment result indicates that the energy parameter is greater than or equal to the first threshold; the voice recognition module is configured to;
acquire a first parameter of the first sound information;
compare an audio template in the preset audio data with the first parameter to generate a first comparison result; and
generate the first instruction when the first comparison result indicates that the audio template matches with the first parameter;the determination unit is configured to trigger the generation unit when it is determined that the first sound information comprises first information which matches with audio data preset in the first processing unit; the generation unit is configured to generate a first instruction; the transmission unit is configured to transmit the first instruction to the second processing unit; and the second processing unit is configured to generate a second instruction based on the first instruction and a first application when the second processing unit determines that there is the first application, which meets a predetermined condition, in the at least one application program, and to execute the second instruction in the first application, wherein the second instruction is one of a plurality of predetermined instructions and the first instruction is equally applicable to generate each of the plurality of predetermined instructions. - View Dependent Claims (4)
-
Specification