[go: up one dir, main page]

CN108711427A - The acquisition method and device of voice messaging - Google Patents

The acquisition method and device of voice messaging Download PDF

Info

Publication number
CN108711427A
CN108711427A CN201810480635.4A CN201810480635A CN108711427A CN 108711427 A CN108711427 A CN 108711427A CN 201810480635 A CN201810480635 A CN 201810480635A CN 108711427 A CN108711427 A CN 108711427A
Authority
CN
China
Prior art keywords
voice information
target voice
instruction
target
time
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.)
Pending
Application number
CN201810480635.4A
Other languages
Chinese (zh)
Inventor
孟德成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chumen Wenwen Information Technology Co Ltd
Original Assignee
Chumen Wenwen Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chumen Wenwen Information Technology Co Ltd filed Critical Chumen Wenwen Information Technology Co Ltd
Priority to CN201810480635.4A priority Critical patent/CN108711427A/en
Publication of CN108711427A publication Critical patent/CN108711427A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Landscapes

  • Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of acquisition method of voice messaging and devices, are related to technical field of voice recognition, and main purpose is to avoid the omission of voice messaging, improves the accuracy of collection result and invent.The method of the embodiment of the present invention includes:It detects whether to receive target voice information, the target voice information includes to wake up to instruct, and the wake-up instruction is used to indicate equipment and executes wake operation after recognition;If so, by the target voice information storage to preset memory space, as storage information.The embodiment of the present invention acquires voice messaging for smart machine.

Description

Voice information acquisition method and device
Technical Field
The embodiment of the invention relates to the technical field of voice recognition, in particular to a method and a device for acquiring voice information.
Background
With the continuous development of the technology, the speech recognition technology is gradually popularized. Wherein, when the user assigned voice information, the intelligent device can identify specific control instructions according to the voice information assigned by the user, and the work and life of people are facilitated. Generally, when a user sends voice information, the user is required to firstly issue a voice command to the device to wake up the smart device, and then send other voice information after the device is woken up, so that the smart device executes a corresponding response according to the voice information.
At present, when a user performs voice control on an intelligent device, the intelligent device needs to be waken up first, or when voice information is sent out, a wakening instruction for wakening up the intelligent device needs to be added to the voice information. However, in practical applications, after the smart device receives the wake-up command, since a certain time delay is required when the smart device switches from the standby state or the sleep state to the working state, when the user arrives at the voice information including the control command within the time delay, the smart device may miss the voice information, thereby affecting the accuracy of acquiring the voice information.
Disclosure of Invention
In view of the foregoing problems, embodiments of the present invention provide a method and an apparatus for acquiring voice information, and mainly aim to avoid omission of voice information when an intelligent device acquires voice information, and improve accuracy of an acquisition result.
In order to solve the foregoing technical problem, in a first aspect, an embodiment of the present invention provides a method for acquiring voice information, where the method includes:
detecting whether target voice information is received or not, wherein the target voice information comprises a wake-up instruction, and the wake-up instruction is used for indicating equipment to execute wake-up operation after identification;
and if so, storing the target voice information into a preset storage space as storage information.
Optionally, the storing the target voice information in a preset storage space includes, as storage information:
and storing voice data corresponding to a preset time period in the target voice information according to the time when the target voice information is received and the duration of the awakening instruction, wherein the voice data is the rest of data except the awakening instruction in the target voice information.
Optionally, the storing, according to the time when the target voice message is received and the duration of the wake-up instruction, the voice data corresponding to a preset time period in the target voice message includes:
analyzing the awakening instruction from the target voice information, determining the completion time of the awakening instruction in the target voice information, and recording the completion time as first time;
determining the completion time of the target voice information according to the target voice information, and recording the completion time as second time;
and storing voice data corresponding to a target time period, wherein the target time period is determined according to the first time and the second time.
Optionally, after the storing the target voice information into a preset storage space as storage information, the method further includes:
analyzing the stored information, and determining whether an operation instruction exists, wherein the operation instruction is an instruction which is issued by a user and is used for controlling corresponding equipment to execute a corresponding function;
and if the operation instruction exists, controlling corresponding equipment to execute the operation corresponding to the operation instruction according to the operation instruction.
Optionally, the detecting whether the target voice information is received includes:
determining whether a wake-up instruction which accords with a preset wake-up vocabulary is received;
and if so, detecting that the target voice information is received.
In a second aspect, an embodiment of the present invention further provides a device for acquiring voice information, where the device includes:
the device comprises a detection unit, a processing unit and a processing unit, wherein the detection unit is used for detecting whether target voice information is received or not, the target voice information comprises a wake-up instruction, and the wake-up instruction is used for indicating equipment to execute wake-up operation after identification;
and the storage unit is used for storing the target voice information into a preset storage space as storage information if the target voice information is detected to be received.
Optionally, the storage unit is specifically configured to store, according to the time when the target voice message is received and the duration of the wake-up instruction, voice data corresponding to a preset time period in the target voice message, where the voice data is other data than the wake-up instruction in the target voice message.
Optionally, the storage unit includes:
the analysis module is used for analyzing the awakening instruction from the target voice information, determining the completion time of the awakening instruction in the target voice information and recording the completion time as first time;
the determining module is used for determining the target voice information completion time according to the target voice information and recording the target voice information completion time as second time;
and the storage module is used for storing voice data corresponding to a target time period, and the target time period is determined according to the first time and the second time.
Optionally, the apparatus further comprises:
the analysis unit is used for analyzing the stored information and determining whether an operation instruction exists, wherein the operation instruction is an instruction which is issued by a user and is used for controlling corresponding equipment to execute a corresponding function;
and the execution unit is used for controlling corresponding equipment to execute the operation corresponding to the control instruction according to the control instruction if the control instruction is determined to exist.
Optionally, the detection unit includes;
the determining module is used for determining whether a wake-up instruction which accords with a preset wake-up vocabulary is received;
and the detection module is used for determining to receive the target voice information if the receiving of the awakening instruction which accords with the preset awakening vocabulary is determined.
In order to achieve the above object, according to a third aspect of the embodiments of the present invention, a storage medium is provided, where the storage medium includes a stored program, and when the program runs, a device on which the storage medium is located is controlled to execute the above voice information collecting method.
In order to achieve the above object, according to a fourth aspect of the embodiments of the present invention, there is provided an electronic device, including one or more processors and a memory, where the memory is configured to store one or more programs, and when the one or more programs are executed by the one or more processors, the one or more programs enable the one or more processors to implement the method for acquiring voice information as described above.
By means of the technical scheme, the voice information acquisition method and the voice information acquisition device provided by the embodiment of the invention have the advantages that for the problem that the intelligent device in the prior art has missing voice information and the accuracy of voice information acquisition is affected, the embodiment of the invention detects whether the target voice information is received or not, and stores the target voice information into the preset storage space as the stored information when the target voice information is detected to be received, so that the problem of missing of the voice information of the intelligent device in the awakening process can be avoided in the voice information acquisition process, and the accuracy of the voice information acquisition result is improved.
The foregoing description is only an overview of the technical solutions of the embodiments of the present invention, and the embodiments of the present invention can be implemented according to the content of the description in order to make the technical means of the embodiments of the present invention more clearly understood, and the detailed description of the embodiments of the present invention is provided below in order to make the foregoing and other objects, features, and advantages of the embodiments of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the embodiments of the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 shows a flowchart of a method for collecting voice information according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating another method for collecting voice information according to an embodiment of the present invention;
fig. 3 is a block diagram illustrating a voice information collecting apparatus according to an embodiment of the present invention;
fig. 4 is a block diagram illustrating another apparatus for acquiring voice information according to an embodiment of the present invention;
fig. 5 is a block diagram illustrating an electronic device for collecting voice information according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the embodiments to those skilled in the art.
In order to avoid omission of voice information and improve accuracy of a voice information acquisition result, an embodiment of the present invention provides a voice information acquisition method, as shown in fig. 1, where the method includes:
101. whether target voice information is received or not is detected.
In general, most devices and modules inside the smart device are in a power-off state when the smart device is in a standby state or a sleep state, and even a chip in the sleep state is in a state with low power consumption and does not have complete device functions, so that when the smart device carrying the modules and devices is switched from the standby state or the sleep state to a normal operating state, the modules and devices in the non-operating state need to be activated correspondingly, and in the process, a short-time delay state occurs. In the time delay state, the intelligent device cannot recognize the voice control command issued by the user, and the voice command can be recognized and subsequently operated only when the intelligent device is completely restored to the working state.
Based on this, in the embodiment of the present invention, it is first required that the current smart device detects whether there is a target voice message uttered by the user. The target voice message according to the embodiment of the present invention is not a voice uttered by a user in a broad sense, but includes a voice message of a wake-up command. When the smart device receives the target voice message, it may be recognized whether a wake-up instruction for instructing the smart device to wake up exists in the target voice message. In contrast, the specific detection mode may be a preset wake-up lexicon, where the wake-up lexicon stores a plurality of wake-up instructions that can be used to wake up the smart device, and then identifies whether the wake-up instructions exist in the preset wake-up lexicon according to the voice information sent by the user, and when the wake-up instructions exist in the wake-up lexicon, determines that the target voice information is the voice information that the user issued the instruction to instruct the device to wake up.
Here, the voice information acquisition method used when detecting whether the target voice information is received in the embodiment of the present invention may select a corresponding method according to actual needs for acquisition, which is not limited herein. For example, in this step, the time length required when the intelligent device is switched from the standby state or the sleep state to the operating state may be determined according to the characteristics of the intelligent device, and then the target voice information corresponding to the part of the time length may be determined according to the time length, so that it may be ensured that the voice information in the wake-up process may be collected when the wake-up instruction in the working voice information of the intelligent device is wake-up. Of course, the specific mode of the step when collecting the voice information may include, but is not limited to, the above method, and in actual operation, the corresponding mode may be selected as needed.
102. And if the target voice information is detected to be received, storing the target voice information into a preset storage space as storage information.
Because the voice information collection method according to the embodiment of the present invention is to avoid the problem of missing voice information that may occur in the wake-up process of the intelligent device, after the voice information is detected in the foregoing step 101, the voice information may be stored as storage information, so that after the intelligent device is switched to a working state, it can be determined whether the user performs other function control during the device wake-up process according to the storage information. In the embodiment of the present invention, a pre-storage space may be set in the smart device, and is dedicated to storing the voice information, of course, the position of the pre-storage space may be set on the smart device, or may be set in the network server based on a network, and specifically, the set position of the pre-storage space may be selected according to actual needs, but it should be noted that, in the embodiment of the present invention, the pre-storage space needs to ensure the accuracy of storing the voice information as the storage information, so as to avoid data loss
The voice information acquisition method provided by the embodiment of the invention has the advantages that the problem that the accuracy of voice information acquisition is affected due to the fact that intelligent equipment in the prior art has missing voice information is solved, the target voice information is stored in the preset storage space as storage information by detecting whether the target voice information is received or not and when the target voice information is detected to be received, so that the problem of missing voice information of the intelligent equipment in the awakening process can be avoided in the voice information acquisition process, and the accuracy of the voice information acquisition result is improved.
Further, as a refinement and an extension of the embodiment shown in fig. 1, an embodiment of the present invention further provides another method for acquiring voice information, as shown in fig. 2, the method includes the following specific steps:
201. whether target voice information is received or not is detected.
In the embodiment of the present invention, the description manner of the target speech information is the same as that described in step 101 in the foregoing embodiment, and is not described herein again. Since the voice message includes the voice message for instructing the smart device to wake up, the detection mode in this step may specifically be: determining whether a wake-up instruction which accords with a preset wake-up vocabulary is received; and if so, detecting that the voice information is received. In this step, determining whether there is a way of waking up the vocabulary in accordance with the preset waking up instruction may be understood as identifying whether there is a vocabulary capable of matching with the preset waking up instruction set in the voice message, and of course, in the embodiment of the present invention, the preset waking up vocabulary may correspond to the preset waking up instruction set, and the number of the waking up vocabulary and the number of the corresponding waking up instructions may also be selected according to actual needs, which is not limited herein.
Therefore, whether the awakening instruction which accords with the preset awakening vocabulary exists in the voice information or not can be determined, the process of detecting whether the voice information is received or not can be more accurate, the subsequent process of collecting meaningless voice is avoided, system resources and expenditure are saved, and meanwhile the accuracy of the subsequent voice information collection result can be guaranteed.
202. And if the target voice information is detected to be received, storing the target voice information into a preset storage space as storage information.
Further, according to the method in step 201, when it is determined that the user information includes a wakeup command meeting a preset wakeup vocabulary, it indicates that the target voice information is a voice issued by the user for controlling the smart device and needs to be subjected to subsequent storage operation.
In the process of storing the voice information, because the method according to the embodiment of the present invention is to avoid omission of other control instructions when the user wakes up the intelligent device, when the method is stored according to the embodiment of the present invention, it is not necessary to store all the voice information currently sent by the user, but the content after the wake-up instruction may be intercepted from the voice information, and there is a high possibility that an operation instruction to be sent by the user exists in the part of content, and therefore, for the part of content, that is, the voice data corresponding to the preset time period according to the embodiment of the present invention, it is necessary to determine according to the duration of the voice information of the user and the duration of the wake-up instruction, and therefore, the step may specifically be: and storing voice data corresponding to a preset time period in the target voice message according to the time when the voice message is received and the duration of the awakening instruction, wherein the voice data is the rest of data except the awakening instruction in the voice message.
Further, in the process of collecting the voice data corresponding to the preset time period from the target voice information, the step may specifically include the following steps:
firstly, the awakening instruction is analyzed from the target voice information, and the completion time of the awakening instruction in the target voice information is determined and recorded as first time.
And then, according to the target voice information, determining the target voice information completion time and recording the target voice information completion time as second time.
And finally, storing voice data corresponding to a target time period, wherein the target time period is determined according to the first time and the second time.
For example, when the completion time of the analyzed wake-up instruction is the 2 nd second in the target speech information, the 2 nd second is determined as the first time, then the overall duration of the target speech information is determined, when the duration is determined to be 7 seconds, the 7 th second is determined as the second time, and finally, according to the 2 nd second and the 7 th second of the first time, the target time period corresponding to the speech data is determined to be 5 seconds, so that the speech corresponding to the 5 second duration from the 2 nd second to the 7 th second is determined to be the speech data according to the embodiment of the present invention, and the part of the data is likely to include the operation instruction issued by the user, so that the part of the speech data needs to be stored.
Therefore, the voice data corresponding to the preset time period in the target voice information is stored through the time when the target voice information is received and the time length of the awakening instruction, so that the control instruction in the target voice information can be prevented from being omitted, the stored data amount can be reduced, the resource consumption of a system is reduced, and the resource consumption of the voice information storage on the system can be reduced on the whole. In addition, the awakening instruction is analyzed from the target voice information, the voice data corresponding to the target time period required to be stored is determined according to the completion time of the awakening instruction, namely the first time, and the completion time of the target voice information, namely the second time, and the accuracy of the subsequent stored information can be guaranteed.
Further, according to the method in this step, after the voice data to be stored is determined, this step may specifically be further: and storing the voice data into a preset storage space as storage information. The setting of the preset storage space may be consistent with the description in step 102 in the foregoing embodiment, and is not described herein again. The preset storage space may store a plurality of pieces of storage information stored by performing the method for acquiring target voice information according to the embodiment of the present invention for a plurality of times, or may be provided with a storage medium having a small capacity. Of course, the specific storage manner may be determined according to an actual space of the preset storage space that is actually set, and is not limited herein.
203. And analyzing the stored information and determining whether a control instruction exists.
In actual operation, when the user is likely to issue the target voice message, the voice message may include not only a wakeup instruction for waking up the intelligent device, but also an operation instruction for waking up the device and then requiring the device to perform corresponding operation. The control instruction can be an instruction issued by a user and used for controlling the corresponding equipment to execute the corresponding function.
204. And if the control instruction exists, controlling the corresponding equipment to execute the operation corresponding to the control instruction according to the control instruction.
Through the judgment of the foregoing step 203, when it is determined that the operation instruction exists in the stored information, it indicates that the target voice information issued by the user includes not only the wakeup instruction but also the control instruction for the intelligent device, so that the corresponding device can be controlled according to the control instruction.
Therefore, according to the method in the step, the stored information is analyzed, whether the control instruction exists or not is determined, when the control instruction exists in the stored information, the control can be timely performed, the problem that the control instruction is omitted when the user issues the target voice information is solved, and the accuracy of the voice information acquisition result is improved.
Further, as an implementation of the method shown in fig. 1, an embodiment of the present invention further provides a device for acquiring voice information, which is used to implement the method shown in fig. 1. The embodiment of the apparatus corresponds to the embodiment of the method, and for convenience of reading, details in the embodiment of the apparatus are not repeated one by one, but it should be clear that the apparatus in the embodiment can correspondingly implement all the contents in the embodiment of the method. As shown in fig. 3, the apparatus includes: a detection unit 31, and a storage unit 32, wherein
The detecting unit 31 may be configured to detect whether target voice information is received, where the target voice information includes a wake-up instruction, and the wake-up instruction is used to instruct the device to perform a wake-up operation after the target voice information is identified.
The storage unit 32 may be configured to, if the detection unit 31 detects that the target voice information is received, store the target voice information in a preset storage space as storage information.
Further, as an implementation of the method shown in fig. 2, an embodiment of the present invention further provides a device for acquiring voice information, which is used to implement the method shown in fig. 2. The embodiment of the apparatus corresponds to the embodiment of the method, and for convenience of reading, details in the embodiment of the apparatus are not repeated one by one, but it should be clear that the apparatus in the embodiment can correspondingly implement all the contents in the embodiment of the method. As shown in fig. 4, the apparatus includes: a detection unit 41, and a storage unit 42, wherein
The detecting unit 41 may be configured to detect whether target voice information is received, where the target voice information includes a wake-up instruction, and the wake-up instruction is used to instruct the device to perform a wake-up operation after the target voice information is identified.
The storage unit 42 may be configured to, if the detection unit 41 detects that the target voice information is received, store the target voice information in a preset storage space as storage information.
Further, the storage unit 42 is specifically configured to store, according to the time when the target voice message is received and the duration of the wake-up instruction, voice data corresponding to a preset time period in the target voice message, where the voice data is other data than the wake-up instruction in the target voice message.
Further, the storage unit 42 includes:
the parsing module 421 may be configured to parse the wake-up instruction from the target voice information, and determine a time of completion of the wake-up instruction in the target voice information, which is recorded as a first time.
The determining module 422 may be configured to determine the target voice information completion time according to the target voice information, and record the target voice information completion time as the second time.
The storage module 423 may be configured to store voice data corresponding to a target time period, where the target time period is determined according to the first time determined by the parsing module 421 and the second time determined by the determining module 422.
Further, the apparatus further comprises:
the analyzing unit 43 may be configured to analyze the storage information stored in the storage unit 42, and determine whether there is a control instruction, where the control instruction is an instruction issued by a user and used to control a corresponding device to execute a corresponding function.
The executing unit 44 may be configured to, if the analyzing unit 43 determines that the control instruction exists, control a corresponding device to execute an operation corresponding to the control instruction according to the control instruction.
Further, the detection unit 41 includes;
the determining module 411 may be configured to determine whether a wake-up command conforming to a preset wake-up vocabulary is received;
the detecting module 412 may be configured to determine that the target voice message is received if the determining module 411 determines that a wake-up command conforming to a preset wake-up vocabulary is received.
With the above technical solutions, embodiments of the present invention provide a method and an apparatus for acquiring voice information. The method and the device have the advantages that the target voice information is detected whether to be received or not, and when the target voice information is detected to be received, the target voice information is stored in the preset storage space and serves as the stored information, so that the problem of missing of the voice information in the awakening process of the intelligent device can be avoided in the voice information acquisition process, and the accuracy of the voice information acquisition result is improved.
In addition, whether the awakening instruction which accords with the preset awakening vocabulary exists in the target voice information or not is determined, so that the process of detecting whether the target voice information is received or not can be more accurate, the subsequent process of collecting meaningless voice is avoided, system resources and expenses are saved, and meanwhile, the accuracy of the collection result of subsequent voice information can be ensured. In addition, the voice data corresponding to the preset time period in the target voice information is stored through the time when the target voice information is received and the time length of the awakening instruction, so that the control instruction in the voice information can be prevented from being omitted, the stored data amount can be reduced, the resource consumption of a system is reduced, and the resource consumption of the voice information acquisition on the system can be reduced on the whole. In addition, the awakening instruction is analyzed from the target voice information, the voice data corresponding to the target time period required to be collected is determined according to the completion time of the awakening instruction, namely the first time, and the completion time of the target voice information, namely the second time, and the accuracy of the subsequent stored information can be guaranteed. Furthermore, through analyzing the stored information and determining whether the control instruction exists, when the control instruction exists in the stored information, the control can be performed in time, the problem of omission of the control instruction when a user issues voice information is avoided, and the accuracy of a voice information acquisition result is improved.
Further, an embodiment of the present invention further provides a structural block diagram of an electronic device, configured to execute the method for acquiring voice information according to any of the foregoing embodiments, as shown in fig. 5, where the electronic device includes a processor and a memory, the detection unit, the storage unit, and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions. Specifically, the electronic device according to the embodiment of the present invention includes:
at least one processor (processor) 501;
and at least one memory (memory)502, a bus 503 connected to the processor 501; wherein,
the processor 501 and the memory 502 complete mutual communication through the bus 503;
the processor 501 is used to call program instructions in the memory 502 to perform the methods provided by the above-described method embodiments. The processor 501 includes a kernel, and the kernel calls a corresponding program unit from a memory. The kernel can be set to be one or more than one, and the accuracy of the voice information acquisition result is improved by adjusting the kernel parameters.
The memory 502 may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory 502 includes at least one memory chip.
Further, an embodiment of the present invention provides a storage medium, on which a program is stored, where the program, when executed by a processor, implements the method for acquiring the voice information.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for collecting voice information is characterized by comprising the following steps:
detecting whether target voice information is received or not, wherein the target voice information comprises a wake-up instruction, and the wake-up instruction is used for indicating equipment to execute wake-up operation after identification;
and if so, storing the target voice information into a preset storage space as storage information.
2. The method according to claim 1, wherein the storing the target voice information into a preset storage space as the storage information comprises:
and storing voice data corresponding to a preset time period in the target voice information according to the time when the target voice information is received and the duration of the awakening instruction, wherein the voice data is the rest of data except the awakening instruction in the target voice information.
3. The method according to claim 2, wherein the storing the voice data corresponding to the preset time period in the target voice message according to the time when the target voice message is received and the duration of the wake-up command comprises:
analyzing the awakening instruction from the target voice information, determining the completion time of the awakening instruction in the target voice information, and recording the completion time as first time;
determining the completion time of the target voice information according to the target voice information, and recording the completion time as second time;
and storing voice data corresponding to a target time period, wherein the target time period is determined according to the first time and the second time.
4. The method according to any one of claims 1-3, wherein after storing the target voice information into a preset storage space as the storage information, the method further comprises:
analyzing the stored information, and determining whether an operation instruction exists, wherein the operation instruction is an instruction which is issued by a user and is used for controlling corresponding equipment to execute a corresponding function;
and if the operation instruction exists, controlling corresponding equipment to execute the operation corresponding to the operation instruction according to the operation instruction.
5. The method of claim 4, wherein the detecting whether the target voice information is received comprises:
determining whether a wake-up instruction which accords with a preset wake-up vocabulary is received;
and if so, determining that the target voice information is received.
6. An apparatus for acquiring voice information, comprising:
the device comprises a detection unit, a processing unit and a processing unit, wherein the detection unit is used for detecting whether target voice information is received or not, the target voice information comprises a wake-up instruction, and the wake-up instruction is used for indicating equipment to execute wake-up operation after identification;
and the storage unit is used for storing the target voice information into a preset storage space as storage information if the target voice information is detected to be received.
7. The apparatus of claim 6,
the storage unit is specifically configured to store, according to the time when the target voice message is received and the duration of the wake-up instruction, voice data corresponding to a preset time period in the target voice message, where the voice data is other data than the wake-up instruction in the target voice message.
8. The apparatus of claim 7, wherein the storage unit comprises:
the analysis module is used for analyzing the awakening instruction from the target voice information, determining the completion time of the awakening instruction in the target voice information and recording the completion time as first time;
the determining module is used for determining the target voice information completion time according to the target voice information and recording the target voice information completion time as second time;
and the storage module is used for storing voice data corresponding to a target time period, and the target time period is determined according to the first time and the second time.
9. A storage medium, characterized in that the storage medium comprises a stored program, wherein when the program runs, a device in which the storage medium is located is controlled to execute the voice information collecting method according to any one of claims 1 to 5.
10. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of collecting speech information of any one of claims 1 to 5.
CN201810480635.4A 2018-05-18 2018-05-18 The acquisition method and device of voice messaging Pending CN108711427A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810480635.4A CN108711427A (en) 2018-05-18 2018-05-18 The acquisition method and device of voice messaging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810480635.4A CN108711427A (en) 2018-05-18 2018-05-18 The acquisition method and device of voice messaging

Publications (1)

Publication Number Publication Date
CN108711427A true CN108711427A (en) 2018-10-26

Family

ID=63868272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810480635.4A Pending CN108711427A (en) 2018-05-18 2018-05-18 The acquisition method and device of voice messaging

Country Status (1)

Country Link
CN (1) CN108711427A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111414071A (en) * 2019-01-07 2020-07-14 瑞昱半导体股份有限公司 Processing system and voice detection method
CN113593582A (en) * 2021-06-24 2021-11-02 青岛海尔科技有限公司 Control method and device of intelligent device, storage medium and electronic device
CN115376509A (en) * 2022-07-06 2022-11-22 普强时代(珠海横琴)信息技术有限公司 Method and device for implementing voice recognition interaction

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103943105A (en) * 2014-04-18 2014-07-23 安徽科大讯飞信息科技股份有限公司 Voice interaction method and system
US20160135047A1 (en) * 2014-11-12 2016-05-12 Samsung Electronics Co., Ltd. User terminal and method for unlocking same
CN107450879A (en) * 2016-05-30 2017-12-08 中兴通讯股份有限公司 Terminal operation method and device
CN107527614A (en) * 2016-06-21 2017-12-29 瑞昱半导体股份有限公司 Voice control system and method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103943105A (en) * 2014-04-18 2014-07-23 安徽科大讯飞信息科技股份有限公司 Voice interaction method and system
US20160135047A1 (en) * 2014-11-12 2016-05-12 Samsung Electronics Co., Ltd. User terminal and method for unlocking same
CN107450879A (en) * 2016-05-30 2017-12-08 中兴通讯股份有限公司 Terminal operation method and device
CN107527614A (en) * 2016-06-21 2017-12-29 瑞昱半导体股份有限公司 Voice control system and method thereof

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111414071A (en) * 2019-01-07 2020-07-14 瑞昱半导体股份有限公司 Processing system and voice detection method
CN111414071B (en) * 2019-01-07 2021-11-02 瑞昱半导体股份有限公司 Processing system and voice detection method
CN113593582A (en) * 2021-06-24 2021-11-02 青岛海尔科技有限公司 Control method and device of intelligent device, storage medium and electronic device
CN113593582B (en) * 2021-06-24 2024-05-24 青岛海尔科技有限公司 Intelligent device control method and device, storage medium and electronic device
CN115376509A (en) * 2022-07-06 2022-11-22 普强时代(珠海横琴)信息技术有限公司 Method and device for implementing voice recognition interaction

Similar Documents

Publication Publication Date Title
CN111091813B (en) Voice wakeup model updating and wakeup method, system, device, equipment and medium
CN111081217B (en) Voice wake-up method and device, electronic equipment and storage medium
CN107610695A (en) Driver's voice wakes up the dynamic adjusting method of instruction word weight
CN111199733A (en) Multi-stage recognition voice awakening method and device, computer storage medium and equipment
CN108806679B (en) Voice wake-up method and device
CN108806678A (en) The voice awakening method and device of equipment
CN108711427A (en) The acquisition method and device of voice messaging
EP3128789B1 (en) Method, device and mobile terminal for reducing power consumption
CN115718626A (en) SOC (system on chip) system capable of being awakened quickly and quick awakening method
CN108509225B (en) Information processing method and electronic equipment
CN110335599B (en) Voice control method, system, equipment and computer readable storage medium
WO2015188761A1 (en) Traffic acquiring method and apparatus based on operating system
CN114595006A (en) A quick start method, device and storage medium for smart wearable device
CN111045507B (en) List management and control method, device, mobile terminal and storage medium
CN108845727A (en) Awakening method and device based on mutual capacitance type touch screen
CN111179924B (en) Method and system for optimizing awakening performance based on mode switching
CN106095593A (en) A method and device for synchronizing the behavior of foreground and background application programs
CN108241522B (en) Sleep state switching method and device in virtualization environment and electronic equipment
CN104063316A (en) Application testing method and device
CN113028612B (en) Control method and device of air conditioner, storage medium and processor
CN113055984B (en) Terminal control method and device, mobile terminal and storage medium
CN115148199A (en) Voice wake-up processing method and electronic device
CN105843357B (en) The method and electronic equipment for maintaining application to work normally in economize on electricity processing
CN112435670A (en) Speech recognition method, speech recognition apparatus, and computer-readable storage medium
CN108735214A (en) The sound control method and device of 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181026

RJ01 Rejection of invention patent application after publication