CN108766431B - Automatic awakening method based on voice recognition and electronic equipment - Google Patents
Automatic awakening method based on voice recognition and electronic equipment Download PDFInfo
- Publication number
- CN108766431B CN108766431B CN201810575011.0A CN201810575011A CN108766431B CN 108766431 B CN108766431 B CN 108766431B CN 201810575011 A CN201810575011 A CN 201810575011A CN 108766431 B CN108766431 B CN 108766431B
- Authority
- CN
- China
- Prior art keywords
- module
- voice
- wake
- semantic content
- electronic equipment
- 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 130
- 238000006243 chemical reaction Methods 0.000 claims description 44
- 238000001514 detection method Methods 0.000 claims description 37
- 230000005236 sound signal Effects 0.000 claims description 15
- 238000004590 computer program Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 10
- 241000234671 Ananas Species 0.000 description 4
- 235000007119 Ananas comosus Nutrition 0.000 description 4
- 241001672694 Citrus reticulata Species 0.000 description 4
- 239000004744 fabric Substances 0.000 description 4
- 230000002618 waking effect Effects 0.000 description 3
- 239000000284 extract Substances 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000006870 function 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/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/30—Semantic analysis
-
- 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
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0225—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
-
- 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/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/223—Execution procedure of a spoken command
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Acoustics & Sound (AREA)
- General Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
An automatic wake-up method based on voice recognition and an electronic device comprise: when the electronic equipment detects that voice information input by a user is received, analyzing the voice information to obtain semantic content corresponding to the voice information, and if a target question method corresponding to the semantic content is identified to be matched with a preset question method, executing operation corresponding to the semantic content. By implementing the embodiment of the invention, when the user needs to search for the question, the user does not need to jump to the question searching application interface to photograph the question, but only needs to directly ask the question, so that the time consumption for awakening the electronic equipment is reduced, and the question searching efficiency is improved. In addition, the user can wake up the electronic device through voice to execute other operations such as opening a certain application program, so that the electronic device is more convenient to use.
Description
Technical Field
The invention relates to the technical field of electronic equipment, in particular to an automatic awakening method based on voice recognition and electronic equipment.
Background
At present, with the continuous development of the problem searching software, students often use the problem searching software to search answers when encountering an unknown test problem. The common way for students to search answers by using the question searching software is as follows: opening a test question searching application interface, manually photographing test question contents, and searching obtained test question photos to obtain test question answers. However, this process often requires students to manually open the application interface for searching questions and to manually photograph the contents of the test questions, and there is a problem that it takes a long time to wake up the system for starting the searching questions.
Disclosure of Invention
The embodiment of the invention discloses an automatic awakening method based on voice recognition and electronic equipment, which can improve awakening efficiency and reduce time consumption for awakening the electronic equipment.
The first aspect of the embodiments of the present invention discloses an automatic wake-up method based on speech recognition, which includes:
detecting whether the electronic equipment receives voice information input by a user;
when the voice information is detected to be received, analyzing the voice information to obtain semantic content corresponding to the voice information;
identifying whether a target question method corresponding to the semantic content is matched with a preset question method;
and if so, executing the operation corresponding to the semantic content.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, when it is detected that the voice information is received, the parsing the voice information to obtain a semantic content corresponding to the voice information includes:
when the voice information is detected to be received, analyzing the voice information to obtain a target age group corresponding to the voice information and semantic content corresponding to the voice information;
the identifying whether the target question method corresponding to the semantic content matches a preset question method includes:
judging whether a preset question method exists in a question bank matched with the target age group and is matched with a target question method corresponding to the semantic content;
the executing operation corresponding to the semantic content comprises:
and searching answer information corresponding to the semantic content when a preset question method in a question bank matched with the target age group is matched with a target question method corresponding to the semantic content, and controlling the answer information corresponding to the semantic content to be output and displayed at the front end of a display interface of the electronic equipment.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after determining that there is no preset question query in the question library matching the target age group and the target question query corresponding to the semantic content, the method further includes:
sending the semantic content to a terminal device which is connected with the electronic device in advance so that a user of the terminal device returns answer information corresponding to the semantic content;
and receiving the answer information returned by the terminal equipment, and controlling the answer information corresponding to the semantic content to be output and displayed at the front end of the display interface of the electronic equipment.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after detecting that the electronic device receives the voice information, the method further includes:
controlling a voice acquisition module of the electronic equipment to send a sound signal corresponding to the voice information to an analog-to-digital conversion module of the electronic equipment, so that the analog-to-digital conversion module performs analog-to-digital conversion on the sound signal to obtain a voltage value corresponding to the sound signal;
the voltage comparison module controls the analog-to-digital conversion module to send the voltage value to the electronic equipment;
when the voltage comparison module judges that the voltage value reaches a preset voltage threshold value, the voltage comparison module is controlled to send a wake-up signal to a wake-up module of the electronic equipment, so that the wake-up module adjusts the electronic equipment from a current state to an appointed state when receiving the wake-up signal, and the voice information is analyzed to obtain semantic content corresponding to the voice information;
the voice acquisition module is electrically connected with the analog-to-digital conversion module, the analog-to-digital conversion module is electrically connected with the voltage comparison module, and the voltage comparison module is electrically connected with the awakening module.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after the controlling the voltage comparison module to send a wake-up signal to a wake-up module of the electronic device, so that the wake-up module adjusts the electronic device from a current state to a specified state when receiving the wake-up signal, the method further includes:
the wake-up module is controlled to send a reminding signal to a reminding module of the electronic equipment, and the reminding signal is used for controlling the reminding module to send a reminding for indicating that the electronic equipment is adjusted to the specified state;
the awakening module is electrically connected with the reminding module.
A second aspect of an embodiment of the present invention discloses an electronic device, including:
the detection unit is used for detecting whether the electronic equipment receives voice information input by a user;
the analysis unit is used for analyzing the voice information to obtain semantic content corresponding to the voice information when the detection unit detects that the voice information is received;
the identification unit is used for identifying whether the target question method corresponding to the semantic content obtained by the analysis unit is matched with a preset question method;
and the execution unit is used for executing the operation corresponding to the semantic content when the target question method corresponding to the semantic content identified by the identification unit is matched with the preset question method.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, when the detection unit detects that the voice information is received, the manner of analyzing the voice information to obtain the semantic content corresponding to the voice information is specifically:
the analysis unit is used for analyzing the voice information when the detection unit detects that the voice information is received, and obtaining a target age group corresponding to the voice information and semantic content corresponding to the voice information;
the mode that the identification unit is used for identifying whether the target question method corresponding to the semantic content obtained by the analysis unit matches a preset question method specifically comprises the following steps:
the identification unit is used for judging whether a preset question method exists in a question bank matched with the target age group and is matched with a target question method corresponding to the semantic content;
the execution unit is configured to, when the target question method corresponding to the semantic content identified by the identification unit matches the preset question method, execute an operation corresponding to the semantic content in a specific manner:
and the execution unit is used for searching answer information corresponding to the semantic content when a preset question method in a question bank matched with the target age group is matched with a target question method corresponding to the semantic content, and controlling the answer information corresponding to the semantic content to be output and displayed at the front end of a display interface of the electronic equipment.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the electronic device further includes:
the sending unit is used for sending the semantic content to a terminal device which is connected with the electronic device in advance after the identification unit judges that no preset question query exists in a question bank matched with the target age group and the target query corresponding to the semantic content is matched with the preset question query, so that a user of the terminal device returns answer information corresponding to the semantic content;
the receiving unit is used for receiving the answer information returned by the terminal equipment according to the semantic content sent by the sending unit;
and the display unit is used for controlling the answer information corresponding to the semantic content received by the receiving unit to be output and displayed at the front end of the display interface of the electronic equipment.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the electronic device further includes:
the control unit is used for controlling a voice acquisition module of the electronic equipment to send a sound signal corresponding to the voice information to an analog-to-digital conversion module of the electronic equipment after the detection unit detects that the electronic equipment receives the voice information, so that the analog-to-digital conversion module performs analog-to-digital conversion on the sound signal to obtain a voltage value corresponding to the sound signal; the analog-to-digital conversion module is controlled to send the voltage value to a voltage comparison module of the electronic equipment; when the voltage comparison module judges that the voltage value reaches a preset voltage threshold value, the voltage comparison module is controlled to send a wake-up signal to a wake-up module of the electronic equipment, so that the wake-up module adjusts the electronic equipment from a current state to an appointed state when receiving the wake-up signal, and triggers the analysis unit to analyze the voice information to obtain semantic content corresponding to the voice information;
the voice acquisition module is electrically connected with the analog-to-digital conversion module, the analog-to-digital conversion module is electrically connected with the voltage comparison module, and the voltage comparison module is electrically connected with the awakening module.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the control unit is further configured to control the voltage comparison module to send a wake-up signal to a wake-up module of the electronic device, so that after the wake-up module adjusts the electronic device from a current state to a specified state when receiving the wake-up signal, the wake-up module is controlled to send a reminder signal to a reminder module of the electronic device, where the reminder signal is used to control the reminder module to send a reminder for indicating that the electronic device has been adjusted to the specified state;
the awakening module is electrically connected with the reminding module.
A third aspect of an embodiment of the present invention discloses an electronic device, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the automatic awakening method based on the voice recognition disclosed by the first aspect of the embodiment of the invention.
A fourth aspect of the embodiments of the present invention discloses a computer-readable storage medium, which stores a computer program, where the computer program enables a computer to execute an automatic wake-up method based on speech recognition disclosed in the first aspect of the embodiments of the present invention.
A fifth aspect of embodiments of the present invention discloses a computer program product, which, when run on a computer, causes the computer to perform some or all of the steps of any one of the methods of the first aspect.
A sixth aspect of the present embodiment discloses an application publishing platform, where the application publishing platform is configured to publish a computer program product, where the computer program product is configured to, when running on a computer, cause the computer to perform part or all of the steps of any one of the methods in the first aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, when the electronic equipment detects that the voice information input by the user is received, the voice information is analyzed to obtain the semantic content corresponding to the voice information, and if the target question method corresponding to the semantic content is identified to be matched with the preset question method, the operation corresponding to the semantic content is executed. The process can ensure that the user does not need to jump to a question searching application interface to photograph the questions and only needs to directly ask the questions when needing to search the questions, thereby reducing the time consumption for awakening the electronic equipment and improving the question searching efficiency. In addition, the user can wake up the electronic device through voice to execute other operations such as opening a certain application program, so that the electronic device is more convenient to use.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flowchart of an automatic wake-up method based on speech recognition according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating another automatic wake-up method based on speech recognition according to an embodiment of the present invention;
FIG. 3 is a flow chart illustrating another automatic wake-up method based on speech recognition according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure;
FIG. 5 is a schematic structural diagram of another electronic device disclosed in the embodiments of the present invention;
FIG. 6 is a schematic structural diagram of another electronic device disclosed in the embodiments of the present invention;
FIG. 7 is a schematic structural diagram of another electronic device disclosed in the embodiments of the present invention;
fig. 8 is a schematic structural diagram of another electronic device disclosed in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
It is to be noted that the terms "comprises" and "comprising" and any variations thereof in the embodiments and drawings of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses an automatic awakening method based on voice recognition and electronic equipment, which can improve awakening efficiency and reduce time consumption for awakening the electronic equipment. The electronic device may include a family education machine, a learning mobile phone, a learning tablet, and the like, and the embodiment of the present invention is not limited. Moreover, the operating systems of various electronic devices may include, but are not limited to, an Android operating system, an IOS operating system, a Symbian operating system, a Black Berry operating system, a Windows Phone8 operating system, and the like, which is not limited in the embodiments of the present invention. The following are detailed below.
Example one
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating an automatic wake-up method based on speech recognition according to an embodiment of the present invention. As shown in fig. 1, the automatic wake-up method based on speech recognition may include the following steps:
101. the electronic equipment detects whether voice information input by a user is received, if so, the steps 102 to 103 are executed, and if not, the process is ended.
As an alternative embodiment, the electronic device detecting whether the voice information input by the user is received may include:
the electronic equipment extracts the voice features contained in the received voice information;
the electronic equipment matches the voice characteristics with pre-stored voice characteristics of the user to obtain a target matching rate;
the electronic equipment judges whether the target matching rate is higher than a preset matching rate or not;
if yes, the electronic equipment detects that the voice information input by the user is received, and executes the steps 102 to 103.
By implementing the optional implementation manner, the voice characteristics of the user of the electronic device can be stored in the electronic device in advance, when the electronic device detects that the voice information is received, the voice characteristics contained in the voice information are matched with the voice characteristics of the user of the electronic device stored in advance, and if the target matching rate is higher than the preset matching rate, it is indicated that the currently input voice is the preset specified user of the electronic device, and then, the analysis of the voice information is executed. The process can analyze the voice information for the preset user, and the specialization degree of the electronic equipment is improved.
As another optional implementation, the electronic device detecting whether the voice information input by the user is received may include:
the electronic equipment judges whether the voice information received by the electronic equipment contains preset keywords or not;
if yes, the electronic equipment detects that the voice information input by the user is received, and executes the steps 102 to 103.
By implementing the optional implementation mode, when the voice message contains the preset keyword, the voice message input by the user is considered to be received, and the voice message is analyzed. The preset keywords may be "small cloth, small cloth", or other preset keywords, which is not limited in the embodiment of the present invention. The process can analyze the voice information when the voice information contains the preset keywords, so that the condition that the electronic equipment is immediately awakened to analyze due to the fact that the voice information is detected is reduced, the condition of false triggering is reduced, and the accuracy of awakening the electronic equipment is improved.
102. The electronic equipment analyzes the voice information to obtain semantic content corresponding to the voice information.
As an optional implementation, the parsing, by the electronic device, the voice information to obtain semantic content corresponding to the voice information may include:
the electronic equipment queries a target voice model matched with the voice information in a preset voice library; wherein, the preset voice library is at least provided with a mandarin voice model, dialect voice models, an English voice model and a small language voice model;
and the electronic equipment analyzes the voice information according to the target voice characteristics contained in the target voice model to obtain semantic content corresponding to the voice information.
By implementing the optional implementation mode, the electronic equipment can recognize mandarin voice information, dialect voice information, English voice information and Chinese voice information according to different voice models, and increases the types of recognizable voice information, so that semantic content obtained by analysis is more accurate.
103. And the electronic equipment identifies whether the target inquiry method corresponding to the semantic content is matched with a preset question inquiry method, if so, step 104 is executed, and if not, the process is ended.
In this embodiment of the present invention, the preset question query method may include a query method for a certain test question, or may also include an instruction for a certain operation, and the like, which is not limited in this embodiment of the present invention. For example, the preset question may include "1 plus 1 equals several", or "play video of a second class of human education mathematics", etc.
104. The electronic device performs an operation corresponding to the semantic content.
In the embodiment of the invention, when the voice content is an inquiry aiming at a certain test question, the electronic equipment can search the test question and output an answer corresponding to the test question; when the voice content is an instruction for a certain operation, the electronic device can execute the instruction for the certain operation.
It can be seen that, with the implementation of the automatic wake-up method based on voice recognition described in fig. 1, when the electronic device detects that the voice information input by the user is received, the voice information is analyzed to obtain semantic content corresponding to the voice information, and if it is recognized that the target question method corresponding to the semantic content matches the preset question method, an operation corresponding to the semantic content is executed. The process can ensure that the user does not need to jump to a question searching application interface to photograph the questions and only needs to directly ask the questions when needing to search the questions, thereby reducing the time consumption for awakening the electronic equipment and improving the question searching efficiency. In addition, the user can wake up the electronic device through voice to execute other operations such as opening a certain application program, so that the electronic device is more convenient to use.
Example two
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating another automatic wake-up method based on speech recognition according to an embodiment of the present invention. As shown in fig. 2, the automatic wake-up method based on speech recognition may include the following steps:
201. the electronic equipment detects whether the voice information input by the user is received, if so, the step 202 to the step 203 are executed, and if not, the process is ended.
202. The electronic equipment analyzes the voice information to obtain a target age group corresponding to the voice information and semantic content corresponding to the voice information.
In the embodiment of the present invention, the preset voice library of the electronic device may include each age group and mass voice data stored corresponding to each age group, and the voice information may be analyzed to obtain the voice data with the highest matching degree with the voice information in the preset voice library and the age group corresponding to the voice data, so as to obtain the target age group corresponding to the voice information.
203. The electronic equipment judges whether a preset question method exists in a question bank matched with the target age group and is matched with a target question method corresponding to the semantic content, if so, step 204 is executed, and if not, step 205-step 206 are executed.
204. And searching answer information corresponding to the semantic content by the electronic equipment, and controlling the answer information corresponding to the semantic content to be output and displayed at the front end of the display interface of the electronic equipment.
As an optional implementation manner, the searching, by the electronic device, answer information corresponding to the semantic content, and controlling the answer information corresponding to the semantic content to be output and displayed in front of the display interface of the electronic device may include:
the electronic equipment searches answer information corresponding to the semantic content;
when the format of the answer information corresponding to the semantic content is a text format, the electronic equipment displays the answer information corresponding to the semantic content at the front end of a display interface of the electronic equipment;
when the format of the answer information corresponding to the semantic content is a voice format, the electronic equipment plays the answer information corresponding to the semantic content by using a voice playing module of the electronic equipment;
when the format of the answer information corresponding to the semantic content includes both a text format and a voice format, the electronic device displays the answer information in the text format at the front end of the display interface of the electronic device, and plays the answer information in the voice format by using a voice playing module of the electronic device.
By implementing the optional implementation mode, the electronic equipment can display the answer information corresponding to the semantic content in the text format and can also play the answer information corresponding to the semantic content in the voice format in a voice mode, the answer information corresponding to the semantic content can be output from two aspects of vision and hearing according to the answer information corresponding to different semantic contents, the output mode is more diversified, and various requirements of users are met.
205. The electronic equipment sends the semantic content to the terminal equipment which is connected with the electronic equipment in advance so that a user of the terminal equipment returns answer information corresponding to the semantic content.
206. And the electronic equipment receives answer information returned by the terminal equipment and controls the answer information corresponding to the semantic content to be output and displayed at the front end of the display interface of the electronic equipment.
In the embodiment of the invention, after receiving the answer information returned by the terminal equipment, the electronic equipment can correspondingly store the answer information and the semantic content into the question bank, and update the question bank in time, thereby obtaining a more comprehensive question bank.
Therefore, by implementing the automatic awakening method based on voice recognition described in fig. 2, the user does not need to jump to the question searching application interface to photograph the questions and only needs to directly ask the questions when needing to search the questions, so that the time consumed for awakening the electronic equipment is reduced, and the question searching efficiency is improved. In addition, the user can wake up the electronic device through voice to execute other operations such as opening a certain application program, so that the electronic device is more convenient to use.
In addition, by implementing the automatic wake-up method based on voice recognition described in fig. 2, it is also possible to recognize a target age group corresponding to voice information and search a question bank matched with the target age group for a preset question matched with a target question corresponding to semantic content. This process enables setting up different question banks for the age group population, for example, when an adult searches for "black pineapple", the interpretation of "black pineapple" in the question bank corresponding to the age group of the adult may be "like you"; when children search for the black pineapples, the explanation of the black pineapples in the question bank corresponding to the age group of the children can be 'one kind of fruit', different question banks are set according to the requirements of people of different age groups, and answer information obtained through searching is more reliable.
In addition, when the automatic wake-up method based on speech recognition described in fig. 2 is implemented, after it is determined that there is no preset question-query match in the question library matched with the target age group and the target-query match corresponding to the semantic content, the semantic content may be sent to the terminal device that is connected with the electronic device in advance, so that a user (e.g., a teacher) of the terminal device returns answer information corresponding to the semantic content, and the answer information is output and displayed at the front end of the display interface of the electronic device. According to the process, the answer information can be manually returned when the answer information is not searched, so that the acquisition rate of acquiring the answer information is improved, and the user experience is improved.
EXAMPLE III
Referring to fig. 3, fig. 3 is a flowchart illustrating another automatic wake-up method based on speech recognition according to an embodiment of the present invention. As shown in fig. 3, the automatic wake-up method based on speech recognition may include the following steps:
301. the electronic device detects whether the voice information input by the user is received, if so, the steps 302 to 307 are executed, and if not, the process is ended.
302. The electronic equipment controls a voice acquisition module of the electronic equipment to send a voice signal corresponding to the voice information to an analog-to-digital conversion module of the electronic equipment, so that the analog-to-digital conversion module performs analog-to-digital conversion on the voice signal to obtain a voltage value corresponding to the voice signal.
303. The electronic equipment controls the analog-to-digital conversion module to send the voltage value to a voltage comparison module of the electronic equipment.
304. When the voltage comparison module judges that the voltage value reaches the preset voltage threshold value, the electronic equipment controls the voltage comparison module to send a wake-up signal to a wake-up module of the electronic equipment, so that the wake-up module adjusts the electronic equipment from the current state to the specified state when receiving the wake-up signal.
As an optional implementation manner, when the voltage comparison module determines that the voltage value reaches the preset voltage threshold, the electronic device controlling the voltage comparison module to send a wake-up signal to a wake-up module of the electronic device, so that the wake-up module adjusts the electronic device from a current state to a specified state when receiving the wake-up signal may include:
when the voltage comparison module judges that the voltage value reaches a preset voltage threshold value, the electronic equipment acquires a current level signal inside the voltage comparison module;
the electronic equipment sets a level signal with the level opposite to that of the current level signal as a trigger signal and sends the trigger signal to a level detection module of the electronic equipment; the level detection module stores the current level signal of the voltage comparison module;
when the level detection module detects that the level of the trigger signal is opposite to the pre-stored current level signal of the voltage comparison module, the electronic equipment controls the level detection module to send a wake-up signal to a wake-up module of the electronic equipment, so that the wake-up module adjusts the electronic equipment from the current state to the specified state when receiving the wake-up signal.
By implementing the alternative embodiment, the electronic device is further provided with a level detection module, wherein the level detection module stores the current level signal of the voltage comparison module; when the voltage comparison module judges that the voltage value reaches the preset voltage threshold value, the electronic equipment sets a level signal opposite to the level of a current level signal of the voltage comparison module as a trigger signal, the trigger signal is sent to the level detection module, and when the level detection module detects that the trigger signal is opposite to the pre-stored current level signal of the voltage comparison module, a wake-up signal is sent to the wake-up module, so that the wake-up module adjusts the electronic equipment from the current state to the specified state, and the automatic wake-up process is realized.
For example, when the voltage comparison module determines that the voltage value reaches the preset voltage threshold, the electronic device obtains a current level signal (low level) inside the voltage comparison module, sets a level signal (high level) opposite to the current level signal as a trigger signal, and sends the trigger signal of the high level to the level detection module, the level detection module stores the current level signal (low level) of the voltage comparison module, and when the level detection module detects that the current level signal (low level) of the voltage comparison module is opposite to the trigger signal (high level), the level detection module is controlled to send a wake-up signal to the wake-up module.
In the embodiment of the invention, the voice acquisition module is electrically connected with the analog-to-digital conversion module, the analog-to-digital conversion module is electrically connected with the voltage comparison module, and the voltage comparison module is electrically connected with the awakening module.
In the embodiment of the invention, the designated state can be a bright screen state; when the current state of the electronic device is the standby state or the power-off state, the wake-up module adjusts the electronic device from the current state to the bright screen state when receiving the wake-up signal, and performs steps 305 to 307.
305. The electronic equipment controls the awakening module to send a reminding signal to a reminding module of the electronic equipment, and the reminding signal is used for controlling the reminding module to send a reminding for indicating that the electronic equipment is adjusted to an appointed state.
In the embodiment of the invention, the awakening module is electrically connected with the reminding module.
306. The electronic equipment analyzes the voice information to obtain a target age group corresponding to the voice information and semantic content corresponding to the voice information.
307. The electronic equipment judges whether a preset question method exists in a question bank matched with the target age group and is matched with a target question method corresponding to the semantic content, if so, step 308 is executed, and if not, step 309-step 310 are executed.
308. And searching answer information corresponding to the semantic content by the electronic equipment, and controlling the answer information corresponding to the semantic content to be output and displayed at the front end of the display interface of the electronic equipment.
309. The electronic equipment sends the semantic content to the terminal equipment which is connected with the electronic equipment in advance so that a user of the terminal equipment returns answer information corresponding to the semantic content.
310. And the electronic equipment receives answer information returned by the terminal equipment and controls the answer information corresponding to the semantic content to be output and displayed at the front end of the display interface of the electronic equipment.
Therefore, by implementing the automatic awakening method based on voice recognition described in fig. 3, the user does not need to jump to the question searching application interface to photograph the questions and only needs to directly ask the questions when needing to search the questions, so that the time consumed for awakening the electronic equipment is reduced, and the question searching efficiency is improved. In addition, the user can wake up the electronic device through voice to execute other operations such as opening a certain application program, so that the electronic device is more convenient to use.
In addition, by implementing the automatic awakening method based on voice recognition described in fig. 3, the target age group corresponding to the voice information can be recognized, and different question banks are set according to the requirements of people in different age groups, so that the answer information obtained by searching is more reliable.
In addition, by implementing the automatic wake-up method based on voice recognition described in fig. 3, the answer information can be returned manually when the answer information is not searched, so that the acquisition rate of acquiring the answer information is improved, and the user experience is improved.
In addition, implementing the automatic wake-up method based on voice recognition described in fig. 3, after detecting that the electronic device receives the voice information, a voice acquisition module of the electronic equipment sends a voice signal corresponding to the voice information to an analog-to-digital conversion module of the electronic equipment, the analog-to-digital conversion module performs analog-to-digital conversion on the voice signal to obtain a voltage value corresponding to the voice signal, the analog-to-digital conversion module is controlled to send the voltage value to a voltage comparison module of the electronic equipment, when the voltage comparison module judges that the voltage value reaches the preset voltage threshold value, the voltage comparison module is controlled to send a wake-up signal to a wake-up module of the electronic equipment, the electronic equipment is adjusted to the appointed state from the current state when the awakening module receives the awakening signal, the automatic awakening process of the electronic equipment is achieved, and awakening of the electronic equipment is more intelligent, convenient and efficient due to the voice awakening mode.
In addition, by implementing the automatic wake-up method based on voice recognition described in fig. 3, after the wake-up module adjusts the electronic device from the current state to the designated state, the wake-up module may be further controlled to send a reminding signal to the reminding module of the electronic device, so as to control the reminding module to send a reminder indicating that the electronic device has been adjusted to the designated state, so that the user can know the state of the electronic device at this time through the reminder, and a process of human-computer interaction is added.
Example four
Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure. As shown in fig. 4, the electronic device 400 may include a detection unit 401, an analysis unit 402, an identification unit 403, and an execution unit 404, where:
the detecting unit 401 is configured to detect whether the electronic device receives voice information input by a user.
As an optional implementation manner, the detecting unit 401 may detect whether the electronic device receives voice information input by a user, including:
the detection unit 401 extracts the voice features included in the received voice information;
the detection unit 401 matches the voice features with pre-stored voice features of the user to obtain a target matching rate;
the detection unit 401 determines whether the target matching rate is higher than a preset matching rate;
if so, detecting unit 401 detects that the voice information input by the user is received, and triggers analyzing unit 402 to analyze the voice information to obtain semantic content corresponding to the voice information.
By implementing the optional implementation manner, the voice characteristics of the user of the electronic device can be stored in the electronic device in advance, when the electronic device detects that the voice information is received, the voice characteristics contained in the voice information are matched with the voice characteristics of the user of the electronic device stored in advance, and if the target matching rate is higher than the preset matching rate, it is indicated that the currently input voice is the preset specified user of the electronic device, and then, the analysis of the voice information is executed. The process can analyze the voice information for the preset user, and the specialization degree of the electronic equipment is improved.
As another alternative implementation, the detecting unit 401 may detect whether the voice information input by the user is received, and include:
the detection unit 401 determines whether the voice message received by the electronic device contains a preset keyword;
if so, detecting unit 401 detects that the voice information input by the user is received, and triggers analyzing unit 402 to analyze the voice information to obtain semantic content corresponding to the voice information.
By implementing the optional implementation mode, when the voice message contains the preset keyword, the voice message input by the user is considered to be received, and the voice message is analyzed. The preset keywords may be "small cloth, small cloth", or other preset keywords, which is not limited in the embodiment of the present invention. The process can analyze the voice information when the voice information contains the preset keywords, so that the condition that the electronic equipment is immediately awakened to analyze due to the fact that the voice information is detected is reduced, the condition of false triggering is reduced, and the accuracy of awakening the electronic equipment is improved.
Analyzing section 402 is configured to, when detecting section 401 detects that voice information is received, analyze the voice information to obtain semantic content corresponding to the voice information.
As an alternative implementation, the parsing unit 402 parses the voice information, and obtaining the semantic content corresponding to the voice information may include:
the analysis unit 402 queries a target voice model matched with the voice information in a preset voice library; wherein, the preset voice library is at least provided with a mandarin voice model, dialect voice models, an English voice model and a small language voice model;
analyzing section 402 analyzes the speech information based on the target speech feature included in the target speech model to obtain semantic content corresponding to the speech information.
By implementing the optional implementation mode, the mandarin voice information, the dialect voice information, the English voice information and the small language voice information can be recognized according to different voice models, the types of the recognizable voice information are increased, and the semantic content obtained by analysis is more accurate.
And an identifying unit 403, configured to identify whether the target question corresponding to the semantic content obtained by the analyzing unit 402 matches a preset question.
An executing unit 404, configured to execute an operation corresponding to the semantic content when the target question method corresponding to the semantic content identified by the identifying unit 403 matches a preset question method.
Therefore, by implementing the electronic device described in fig. 4, the user does not need to jump to the question searching application interface to photograph the questions and only needs to ask the questions directly when needing to search the questions, so that the time consumed for waking up the electronic device is reduced, and the question searching efficiency is improved. In addition, the user can wake up the electronic device through voice to execute other operations such as opening a certain application program, so that the electronic device is more convenient to use.
EXAMPLE five
Referring to fig. 5, fig. 5 is a schematic structural diagram of another electronic device according to an embodiment of the disclosure. In the electronic device 400 shown in fig. 5, the electronic device 400 shown in fig. 4 is optimized, and compared with the electronic device 400 shown in fig. 4, in the electronic device 400 shown in fig. 5, the manner that the analysis unit 402 is configured to analyze the voice information when the detection unit 401 detects that the voice information is received, and obtain the semantic content corresponding to the voice information is specifically:
analyzing unit 402, configured to, when detecting unit 401 detects that voice information is received, analyze the voice information to obtain a target age group corresponding to the voice information and semantic content corresponding to the voice information.
In the embodiment of the present invention, the preset voice library of the electronic device may include each age group and mass voice data stored corresponding to each age group, and the voice information may be analyzed to obtain the voice data with the highest matching degree with the voice information in the preset voice library and the age group corresponding to the voice data, so as to obtain the target age group corresponding to the voice information.
The specific way for the identifying unit 403 to identify whether the target question corresponding to the semantic content obtained by the analyzing unit 402 matches the preset question is as follows:
the identifying unit 403 is configured to determine whether a preset question query exists in the question bank matched with the target age group and the target query corresponding to the semantic content matches the preset question query.
The executing unit 404 is configured to, when the target question method corresponding to the semantic content identified by the identifying unit 403 matches the preset question method, execute an operation corresponding to the semantic content in a specific manner:
and the executing unit 404 is configured to search answer information corresponding to the semantic content when a preset question method exists in the question database matched with the target age group and the target question method corresponding to the semantic content is matched, and control the answer information corresponding to the semantic content to be output and displayed at the front end of the display interface of the electronic device.
As an alternative implementation, when there is a preset question method in the question database matched with the target age group that matches with the target question method corresponding to the semantic content, the executing unit 404 searches for answer information corresponding to the semantic content, and controls the output and display of the answer information corresponding to the semantic content on the front end of the display interface of the electronic device may include:
when a preset question method is matched with a target question method corresponding to semantic content in a question bank matched with the target age group, the execution unit 404 searches answer information corresponding to the semantic content;
when the format of the answer information corresponding to the semantic content is a text format, the execution unit 404 displays the answer information corresponding to the semantic content at the front end of the display interface of the electronic device;
when the format of the answer information corresponding to the semantic content is a voice format, the execution unit 404 utilizes a voice playing module of the electronic device to play the answer information corresponding to the semantic content;
when the format of the answer information corresponding to the semantic content includes both a text format and a voice format, the executing unit 404 displays the answer information in the text format at the front end of the display interface of the electronic device, and plays the answer information in the voice format by using a voice playing module of the electronic device.
By implementing the optional implementation mode, the electronic equipment can display the answer information corresponding to the semantic content in the text format and can also play the answer information corresponding to the semantic content in the voice format in a voice mode, the answer information corresponding to the semantic content can be output from two aspects of vision and hearing according to the answer information corresponding to different semantic contents, the output mode is more diversified, and various requirements of users are met.
Optionally, the electronic device 400 shown in fig. 5 may further include:
a sending unit 405, configured to send the semantic content to a terminal device that is connected to the electronic device in advance after the identifying unit 403 determines that there is no preset question query in the question library matched with the target age group and the target query corresponding to the semantic content matches, so that a user of the terminal device returns answer information corresponding to the semantic content.
Specifically, after the identification unit 403 determines that there is no preset question matching between the question library matching the target age group and the target question corresponding to the semantic content, the identification unit 403 sends a trigger instruction to the sending unit 405 to trigger the sending unit 405 to send the semantic content to the terminal device that is connected to the electronic device in advance, so that the user of the terminal device returns answer information corresponding to the semantic content.
A receiving unit 406, configured to receive answer information returned by the terminal device according to the semantic content sent by the sending unit 405.
And a display unit 407, configured to control the answer information corresponding to the semantic content received by the receiving unit 406 to be output and displayed at the front end of the display interface of the electronic device.
In the embodiment of the invention, after receiving the answer information returned by the terminal equipment, the electronic equipment can correspondingly store the answer information and the semantic content into the question bank, and update the question bank in time, thereby obtaining a more comprehensive question bank.
Therefore, by implementing the electronic device described in fig. 5, the user does not need to jump to the question searching application interface to photograph the questions and only needs to ask the questions directly when needing to search the questions, so that the time consumed for waking up the electronic device is reduced, and the question searching efficiency is improved. In addition, the user can wake up the electronic device through voice to execute other operations such as opening a certain application program, so that the electronic device is more convenient to use.
In addition, the electronic device described in fig. 5 can also recognize the target age group corresponding to the voice information, and set up different question banks according to the requirements of people in different age groups, so that the answer information obtained by searching is more reliable.
In addition, the electronic device described in fig. 5 can return answer information manually when the answer information is not searched, so that the obtaining rate of obtaining the answer information is improved, and the user experience is improved.
EXAMPLE six
Referring to fig. 6 and 7, fig. 6 and 7 are schematic structural diagrams of another electronic device according to an embodiment of the disclosure. Wherein, the electronic device 400 shown in fig. 6 is optimized from the electronic device 400 shown in fig. 5, and compared with the electronic device 400 shown in fig. 5, the electronic device 400 shown in fig. 6 may further include:
the control unit 408 is configured to control, after the detection unit 401 detects that the electronic device receives the voice information, a voice acquisition module of the electronic device to send a sound signal corresponding to the voice information to an analog-to-digital conversion module of the electronic device, so that the analog-to-digital conversion module performs analog-to-digital conversion on the sound signal to obtain a voltage value corresponding to the sound signal; the analog-to-digital conversion module is controlled to send the voltage value to a voltage comparison module of the electronic equipment; when the voltage comparison module judges that the voltage value reaches the preset voltage threshold value, the voltage comparison module is controlled to send a wake-up signal to a wake-up module of the electronic equipment, so that the wake-up module adjusts the electronic equipment from the current state to the specified state when receiving the wake-up signal, and triggers the analysis unit to analyze the voice information to obtain semantic content corresponding to the voice information.
Specifically, after the detection unit 401 detects that the electronic device receives the voice information, the detection unit 401 sends a trigger instruction to the control unit 408 to trigger the control unit 408 to control the voice acquisition module of the electronic device to send a voice signal corresponding to the voice information to the analog-to-digital conversion module of the electronic device, so that the analog-to-digital conversion module performs analog-to-digital conversion on the voice signal to obtain a voltage value corresponding to the voice signal; the analog-to-digital conversion module is controlled to send the voltage value to a voltage comparison module of the electronic equipment; when the voltage comparison module judges that the voltage value reaches the preset voltage threshold value, the voltage comparison module is controlled to send a wake-up signal to a wake-up module of the electronic equipment, so that the wake-up module adjusts the electronic equipment from the current state to the specified state when receiving the wake-up signal, and triggers the analysis unit to analyze the voice information to obtain semantic content corresponding to the voice information.
In the embodiment of the invention, the voice acquisition module is electrically connected with the analog-to-digital conversion module, the analog-to-digital conversion module is electrically connected with the voltage comparison module, and the voltage comparison module is electrically connected with the awakening module.
As an alternative embodiment, when the voltage comparison module determines that the voltage value reaches the preset voltage threshold, the controlling unit 408 controls the voltage comparison module to send a wake-up signal to a wake-up module of the electronic device, so that the wake-up module adjusts the electronic device from the current state to the specified state when receiving the wake-up signal, may include:
when the voltage comparison module determines that the voltage value reaches the preset voltage threshold, the control unit 408 obtains a current level signal inside the voltage comparison module;
the control unit 408 sets a level signal having a level opposite to that of the current level signal as a trigger signal and transmits the trigger signal to a level detection module of the electronic device; the level detection module stores the current level signal of the voltage comparison module;
when the level detection module detects that the level of the trigger signal is opposite to the pre-stored current level signal of the voltage comparison module, the control unit 408 controls the level detection module to send a wake-up signal to a wake-up module of the electronic device, so that the wake-up module adjusts the electronic device from the current state to the designated state when receiving the wake-up signal.
By implementing the alternative embodiment, the electronic device is further provided with a level detection module, wherein the level detection module stores the current level signal of the voltage comparison module; when the voltage comparison module judges that the voltage value reaches the preset voltage threshold value, the electronic equipment sets a level signal opposite to the level of a current level signal of the voltage comparison module as a trigger signal, the trigger signal is sent to the level detection module, and when the level detection module detects that the trigger signal is opposite to the pre-stored current level signal of the voltage comparison module, a wake-up signal is sent to the wake-up module, so that the wake-up module adjusts the electronic equipment from the current state to the specified state, and the automatic wake-up process is realized.
Optionally, the control unit 408 is further configured to control the voltage comparison module to send a wake-up signal to a wake-up module of the electronic device, so that after the wake-up module adjusts the electronic device from the current state to the specified state when receiving the wake-up signal, the wake-up module is controlled to send a reminding signal to a reminding module of the electronic device, where the reminding signal is used to control the reminding module to send a reminder for indicating that the electronic device has been adjusted to the specified state.
In the embodiment of the invention, the awakening module is electrically connected with the reminding module.
Referring to fig. 7 together, fig. 7 is a schematic structural diagram of the electronic device in the embodiment of the present invention, in fig. 7, a user of the electronic device inputs "how to write a lia of a lia Yan? The electronic device receives voice information input by a user, and can search question answers corresponding to the voice information according to a target question method corresponding to the voice information and a preset question method matched with the target question method, and output and display the question answers on a front-end display interface of the electronic device. Therefore, the problem can be directly asked by the user through voice, the electronic equipment is automatically awakened through voice to search the problems, and the problem searching efficiency is improved.
Therefore, by implementing the electronic device described in fig. 6, the user does not need to jump to the question searching application interface to photograph the questions and only needs to ask the questions directly when needing to search the questions, so that the time consumed for waking up the electronic device is reduced, and the question searching efficiency is improved. In addition, the user can wake up the electronic device through voice to execute other operations such as opening a certain application program, so that the electronic device is more convenient to use.
In addition, the electronic device described in fig. 6 can also recognize the target age group corresponding to the voice information, and set up different question banks according to the requirements of people in different age groups, so that the answer information obtained by searching is more reliable.
In addition, the electronic device described in fig. 6 can return answer information manually when the answer information is not searched, so that the obtaining rate of obtaining the answer information is improved, and the user experience is improved.
In addition, the electronic device described in fig. 6 is implemented, so that an automatic wake-up process of the electronic device is realized, and the voice wake-up mode enables the wake-up of the electronic device to be more intelligent, convenient and efficient.
In addition, the electronic device described in fig. 6 is implemented, so that the user can know the current state of the electronic device through reminding, and a human-computer interaction process is added.
EXAMPLE seven
Referring to fig. 8, fig. 8 is a schematic structural diagram of another electronic device according to an embodiment of the disclosure. As shown in fig. 8, the electronic device may include:
a memory 801 in which executable program code is stored;
a processor 802 coupled with the memory 801;
the processor 802 calls the executable program code stored in the memory 801 to execute any one of the automatic wake-up methods based on speech recognition in fig. 1 to 3.
The embodiment of the invention discloses a computer readable storage medium which stores a computer program, wherein the computer program enables a computer to execute any one of the automatic awakening methods based on voice recognition in figures 1-3.
Embodiments of the present invention also disclose a computer program product, wherein, when the computer program product is run on a computer, the computer is caused to execute part or all of the steps of the method as in the above method embodiments.
The embodiment of the present invention also discloses an application publishing platform, wherein the application publishing platform is used for publishing a computer program product, and when the computer program product runs on a computer, the computer is caused to execute part or all of the steps of the method in the above method embodiments.
In various embodiments of the present invention, it should be understood that the sequence numbers of the above-mentioned processes do not imply an inevitable order of execution, and the execution order of the processes should be determined by their functions and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
In the embodiments provided herein, it should be understood that "B corresponding to A" means that B is associated with A from which B can be determined. It should also be understood, however, that determining B from a does not mean determining B from a alone, but may also be determined from a and/or other information.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present invention, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of each embodiment of the present invention.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by hardware instructions of a program, and the program may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM), or other Memory, such as a magnetic disk, or a combination thereof, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
The automatic wake-up method based on speech recognition and the electronic device disclosed in the embodiments of the present invention are described in detail above, and a specific example is applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, 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 invention.
Claims (8)
1. An automatic wake-up method based on speech recognition is characterized by comprising the following steps:
detecting whether the electronic equipment receives voice information input by a user;
when the voice information is detected to be received, analyzing the voice information to obtain voice data with the highest matching degree with the voice information in a preset voice library as semantic content corresponding to the voice information and age groups corresponding to the voice data as target age groups corresponding to the voice information;
judging whether a preset question method exists in a question bank matched with the target age group and is matched with a target question method corresponding to the semantic content;
and searching answer information corresponding to the semantic content when a preset question method in a question bank matched with the target age group is matched with a target question method corresponding to the semantic content, and controlling the answer information corresponding to the semantic content to be output and displayed at the front end of a display interface of the electronic equipment.
2. The method according to claim 1, wherein after determining that there is no preset question query in the question bank matching the target age group matching the target question query corresponding to the semantic content, the method further comprises:
sending the semantic content to a terminal device which is connected with the electronic device in advance so that a user of the terminal device returns answer information corresponding to the semantic content;
and receiving the answer information returned by the terminal equipment, and controlling the answer information corresponding to the semantic content to be output and displayed at the front end of the display interface of the electronic equipment.
3. The method according to any one of claims 1-2, wherein after detecting that the electronic device receives the voice message, the method further comprises:
controlling a voice acquisition module of the electronic equipment to send a sound signal corresponding to the voice information to an analog-to-digital conversion module of the electronic equipment, so that the analog-to-digital conversion module performs analog-to-digital conversion on the sound signal to obtain a voltage value corresponding to the sound signal;
the voltage comparison module controls the analog-to-digital conversion module to send the voltage value to the electronic equipment;
when the voltage comparison module judges that the voltage value reaches a preset voltage threshold value, the voltage comparison module is controlled to send a wake-up signal to a wake-up module of the electronic equipment, so that the wake-up module adjusts the electronic equipment from a current state to an appointed state when receiving the wake-up signal, and the voice information is analyzed to obtain semantic content corresponding to the voice information;
the voice acquisition module is electrically connected with the analog-to-digital conversion module, the analog-to-digital conversion module is electrically connected with the voltage comparison module, and the voltage comparison module is electrically connected with the awakening module.
4. The method of claim 3, wherein after the controlling the voltage comparison module to send a wake-up signal to a wake-up module of the electronic device to cause the wake-up module to adjust the electronic device from a current state to a specified state upon receiving the wake-up signal, the method further comprises:
the wake-up module is controlled to send a reminding signal to a reminding module of the electronic equipment, and the reminding signal is used for controlling the reminding module to send a reminding for indicating that the electronic equipment is adjusted to the specified state;
the awakening module is electrically connected with the reminding module.
5. An electronic device, comprising:
the detection unit is used for detecting whether the electronic equipment receives voice information input by a user;
the analysis unit is used for analyzing the voice information when the detection unit detects that the voice information is received, and obtaining voice data which is matched with the voice information to the highest degree in a preset voice library as semantic content corresponding to the voice information and age groups corresponding to the voice data as target age groups corresponding to the voice information;
the identification unit is used for judging whether a preset question method exists in the question bank matched with the target age group and is matched with a target question method corresponding to the semantic content;
and the execution unit is used for searching answer information corresponding to the semantic content when a preset question method in the question bank matched with the target age group is matched with a target question method corresponding to the semantic content, and controlling the answer information corresponding to the semantic content to be output and displayed at the front end of the display interface of the electronic equipment.
6. The electronic device of claim 5, further comprising:
the sending unit is used for sending the semantic content to a terminal device which is connected with the electronic device in advance after the identification unit judges that no preset question query exists in a question bank matched with the target age group and the target query corresponding to the semantic content is matched with the preset question query, so that a user of the terminal device returns answer information corresponding to the semantic content;
the receiving unit is used for receiving the answer information returned by the terminal equipment according to the semantic content sent by the sending unit;
and the display unit is used for controlling the answer information corresponding to the semantic content received by the receiving unit to be output and displayed at the front end of the display interface of the electronic equipment.
7. The electronic device according to any one of claims 5 to 6, further comprising:
the control unit is used for controlling a voice acquisition module of the electronic equipment to send a sound signal corresponding to the voice information to an analog-to-digital conversion module of the electronic equipment after the detection unit detects that the electronic equipment receives the voice information, so that the analog-to-digital conversion module performs analog-to-digital conversion on the sound signal to obtain a voltage value corresponding to the sound signal; the analog-to-digital conversion module is controlled to send the voltage value to a voltage comparison module of the electronic equipment; when the voltage comparison module judges that the voltage value reaches a preset voltage threshold value, the voltage comparison module is controlled to send a wake-up signal to a wake-up module of the electronic equipment, so that the wake-up module adjusts the electronic equipment from a current state to an appointed state when receiving the wake-up signal, and triggers the analysis unit to analyze the voice information to obtain semantic content corresponding to the voice information;
the voice acquisition module is electrically connected with the analog-to-digital conversion module, the analog-to-digital conversion module is electrically connected with the voltage comparison module, and the voltage comparison module is electrically connected with the awakening module.
8. The electronic device of claim 7,
the control unit is further configured to control the wake-up module to send a reminder signal to a reminder module of the electronic device after the wake-up module controls the voltage comparison module to send a wake-up signal to the wake-up module of the electronic device so that the wake-up module adjusts the electronic device from a current state to a specified state when receiving the wake-up signal, where the reminder signal is used to control the reminder module to send a reminder for indicating that the electronic device has been adjusted to the specified state;
the awakening module is electrically connected with the reminding module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810575011.0A CN108766431B (en) | 2018-06-06 | 2018-06-06 | Automatic awakening method based on voice recognition and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810575011.0A CN108766431B (en) | 2018-06-06 | 2018-06-06 | Automatic awakening method based on voice recognition and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108766431A CN108766431A (en) | 2018-11-06 |
CN108766431B true CN108766431B (en) | 2021-07-23 |
Family
ID=64000163
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810575011.0A Active CN108766431B (en) | 2018-06-06 | 2018-06-06 | Automatic awakening method based on voice recognition and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108766431B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109448720A (en) * | 2018-12-18 | 2019-03-08 | 维拓智能科技(深圳)有限公司 | Convenience service self-aided terminal and its voice awakening method |
CN109710361A (en) * | 2018-12-26 | 2019-05-03 | 上海智臻智能网络科技股份有限公司 | Service jump method and device, storage medium, terminal in application program |
CN110166879B (en) | 2019-06-28 | 2020-11-13 | 歌尔科技有限公司 | Voice acquisition control method and device and TWS earphone |
CN111243700B (en) * | 2020-01-15 | 2023-09-29 | 创业慧康科技股份有限公司 | Electronic medical record input method and device |
CN113763958B (en) * | 2021-09-28 | 2024-02-13 | 海信视像科技股份有限公司 | Voice wakeup method, voice wakeup device, electronic equipment and storage medium |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202512508U (en) * | 2012-02-17 | 2012-10-31 | 安徽科大讯飞信息科技股份有限公司 | Voice awakening device |
CN104658533A (en) * | 2013-11-20 | 2015-05-27 | 中兴通讯股份有限公司 | Terminal unlocking method and device as well as terminal |
CN104239459B (en) * | 2014-09-02 | 2018-03-09 | 百度在线网络技术(北京)有限公司 | voice search method, device and system |
CN104573099B (en) * | 2015-01-29 | 2018-05-22 | 作业帮教育科技(北京)有限公司 | The searching method and device of topic |
CN104715752B (en) * | 2015-04-09 | 2019-01-08 | 刘文军 | Audio recognition method, apparatus and system |
CN105739977A (en) * | 2016-01-26 | 2016-07-06 | 北京云知声信息技术有限公司 | Wakeup method and apparatus for voice interaction device |
CN106599110A (en) * | 2016-11-29 | 2017-04-26 | 百度在线网络技术(北京)有限公司 | Artificial intelligence-based voice search method and device |
-
2018
- 2018-06-06 CN CN201810575011.0A patent/CN108766431B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN108766431A (en) | 2018-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108766431B (en) | Automatic awakening method based on voice recognition and electronic equipment | |
US11270074B2 (en) | Information processing apparatus, information processing system, and information processing method, and program | |
EP3179475A1 (en) | Voice wakeup method, apparatus and system | |
US20170116994A1 (en) | Voice-awaking method, electronic device and storage medium | |
CN109545184B (en) | Recitation detection method based on voice calibration and electronic equipment | |
CN109725732B (en) | Knowledge point query method and family education equipment | |
CN108320734A (en) | Audio signal processing method and device, storage medium, electronic equipment | |
CN108536668B (en) | Wake-up word evaluation method and device, storage medium and electronic equipment | |
CN109492221B (en) | Information reply method based on semantic analysis and wearable equipment | |
CN109086590B (en) | Interface display method of electronic equipment and electronic equipment | |
CN108595406B (en) | User state reminding method and device, electronic equipment and storage medium | |
CN111768783A (en) | Voice interaction control method, device, electronic equipment, storage medium and system | |
CN109817203B (en) | Voice interaction method and system | |
CN109783613B (en) | Question searching method and system | |
CN109637536B (en) | Method and device for automatically identifying semantic accuracy | |
CN108806686B (en) | Starting control method of voice question searching application and family education equipment | |
CN109086455B (en) | Method for constructing voice recognition library and learning equipment | |
CN109062944A (en) | New word consolidation method based on voice search and electronic equipment | |
CN110956958A (en) | Searching method, searching device, terminal equipment and storage medium | |
CN112686051A (en) | Semantic recognition model training method, recognition method, electronic device, and storage medium | |
CN111754989B (en) | Avoiding method for voice false wake-up and electronic equipment | |
CN117292688B (en) | Control method based on intelligent voice mouse and intelligent voice mouse | |
CN117198285A (en) | Equipment awakening method, device, equipment, medium and vehicle | |
CN108305629B (en) | Scene learning content acquisition method and device, learning equipment and storage medium | |
CN113763962A (en) | Audio processing method and device, storage medium and computer equipment |
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 |