CN112614486B - Voice control execution function method and device applied to sweeper and electronic equipment - Google Patents

Voice control execution function method and device applied to sweeper and electronic equipment Download PDF

Info

Publication number
CN112614486B
CN112614486B CN202011192214.5A CN202011192214A CN112614486B CN 112614486 B CN112614486 B CN 112614486B CN 202011192214 A CN202011192214 A CN 202011192214A CN 112614486 B CN112614486 B CN 112614486B
Authority
CN
China
Prior art keywords
keyword
function
execution
text
sequential
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011192214.5A
Other languages
Chinese (zh)
Other versions
CN112614486A (en
Inventor
檀冲
沈荻
张书新
李贝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Puppy Vacuum Cleaner Group Co Ltd
Original Assignee
Beijing Puppy Vacuum Cleaner Group 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 Beijing Puppy Vacuum Cleaner Group Co Ltd filed Critical Beijing Puppy Vacuum Cleaner Group Co Ltd
Priority to CN202011192214.5A priority Critical patent/CN112614486B/en
Publication of CN112614486A publication Critical patent/CN112614486A/en
Application granted granted Critical
Publication of CN112614486B publication Critical patent/CN112614486B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/26Speech to text systems
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

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)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the disclosure discloses a voice control execution function method, a voice control execution function device and electronic equipment applied to a sweeper. One embodiment of the method comprises the following steps: keyword retrieval is carried out on received user voice, and a keyword set is obtained; determining the execution level of each keyword in the keyword set to obtain an execution level set; generating an execution function text based on the execution level set and the keyword set; and controlling the opening of the function based on the execution function text. This embodiment generates execution function text by retrieving keywords of the user's voice, determining the execution level of each keyword, and helps control function opening. The method and the device realize the control of the starting of various functions of the sweeper aiming at the voice of the user, and improve the user experience.

Description

Voice control execution function method and device applied to sweeper and electronic equipment
Technical Field
The embodiment of the disclosure relates to the technical field of voice control of a sweeper, in particular to a voice control executive function method, a voice control executive function device and electronic equipment applied to the sweeper.
Background
With the rapid development of voice control technology, a large number of voice interaction devices are appeared on the market. The voice interaction equipment is used for being connected with various household appliances (such as a sweeping robot) so that a user can interact with the voice interaction equipment through voice, and then the household appliances are controlled by the voice interaction equipment.
Disclosure of Invention
The disclosure is in part intended to introduce concepts in a simplified form that are further described below in the detailed description. The disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose a method, an apparatus, and an electronic device for performing a function by voice control applied to a sweeper, so as to solve the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide a voice control performing function method applied to a sweeper, the method including: keyword retrieval is carried out on received user voice, and a keyword set is obtained; determining the execution level of each keyword in the keyword set to obtain an execution level set; generating an execution function text based on the execution level set and the keyword set; and controlling the opening of the function based on the execution function text.
In a second aspect, some embodiments of the present disclosure provide a voice control executive function device for a sweeper, the device comprising: the retrieval unit is configured to perform keyword retrieval on the received user voice to obtain a keyword set; the determining unit is configured to determine the execution level of each keyword in the keyword set to obtain an execution level set; a generation unit configured to generate an execution function text based on the execution level set and the keyword set; and the control unit is configured to control the function to be started based on the execution function text.
In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors, cause the one or more processors to implement the method as described in the first aspect.
In a fourth aspect, some embodiments of the present disclosure provide a computer readable medium having a computer program stored thereon, wherein the program when executed by a processor implements the method as described in the first aspect.
One of the above embodiments of the present disclosure has the following advantageous effects: by carrying out keyword retrieval on received user voice, keywords of instructions of a user aiming at target equipment can be obtained rapidly. Then, by determining the execution level of each keyword, the importance degree of each instruction can be known. And then, controlling the function of the sweeper to be started by utilizing the execution level and the execution function text generated by the keyword set. The voice control floor sweeping machine is used for executing the functions appointed by the user, the functions with high execution level and control level are executed preferentially, the requirements of the user on the function requirements and the importance degree difference execution of the floor sweeping machine are met, and the user experience is improved.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
FIG. 1 is a schematic illustration of one application scenario of a voice control executive function method applied to a sweeper in accordance with some embodiments of the present disclosure;
FIG. 2 is a flow chart of some embodiments of a voice control executive function method applied to a sweeper in accordance with the present disclosure;
FIG. 3 is a flow chart of other embodiments of a method of voice control executive function applied to a sweeper in accordance with the present disclosure;
FIG. 4 is a schematic structural view of some embodiments of a voice control executive function device applied to a sweeper according to the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings. Embodiments of the present disclosure and features of embodiments may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 is a schematic view of an application scenario of a voice control performing function method applied to a sweeper according to some embodiments of the present disclosure. The method can be applied to a sweeper, intelligent mobile equipment and the like.
In the application scenario of fig. 1, first, the computing device 101 may perform keyword retrieval on the received user speech 102, resulting in a keyword set 103. The computing device 101 may then determine an execution level for each keyword in the set of keywords 103, resulting in a set of execution levels 104. Thereafter, the computing device 101 may generate execution function text 105 based on the execution level set 104 and the keyword set 103. Finally, the computing device 101 may control the functionality 106 of the sweeper to be turned on based on the execution function text 105.
The computing device 101 may be hardware or software. When the computing device is hardware, the computing device may be implemented as a distributed cluster formed by a plurality of servers or terminal devices (such as a sweeper, etc.), or may be implemented as a single server or a single terminal device. When the computing device is embodied as software, it may be installed in the hardware devices listed above. It may be implemented as a plurality of software or software modules, for example, for providing distributed services, or as a single software or software module. The present invention is not particularly limited herein.
It should be understood that the number of computing devices in fig. 1 is merely illustrative. There may be any number of computing devices, as desired for an implementation.
With continued reference to fig. 2, a flow 200 of some embodiments of a voice-controlled executive function method applied to a sweeper in accordance with the present disclosure is shown. The method may be performed by the computing device 101 in fig. 1. The voice control execution function method applied to the sweeper comprises the following steps:
step 201, keyword retrieval is performed on received user voice, and a keyword set is obtained.
In some embodiments, the executing body of the voice control execution function method (such as the computing device 101 shown in fig. 1) may first perform voice recognition on the user voice to obtain a recognition text. Then, the execution subject may perform keyword search on the user voice. Here, the user voice may be an instruction voice issued by the user for the target device. The target device may be a multi-function robot. As an example, the user voice may be "turn on the sweeping function". Here, the keyword may be a word for describing a function. As an example, the keyword may be "sweep" and may be "play music".
Step 202, determining an execution level of each keyword in the keyword set, and obtaining an execution level set.
In some embodiments, the execution subject may determine the execution level of each keyword by: first, the execution body may determine a word frequency of each keyword in the keyword set in the recognition text, to obtain a word frequency set. Then, the execution subject may determine an execution level of each keyword based on the word frequency set. Here, the term frequency may be the number of times a keyword appears in the recognition text. As an example, the keyword and word frequency may be "sweep, 2 times; music is played 1 time. Then, the execution subject may determine that the execution level of the keyword is "sweep, first level; music playing, second level.
And 203, generating execution function text based on the execution level set and the keyword set.
In some embodiments, the execution subject may generate the execution function text by: the first step, the execution subject may sort the keywords in the keyword set according to the order of the execution level from small to large based on the execution level set, so as to obtain a keyword sequence; secondly, the execution main body can number the keywords in the keyword sequence to obtain a numbered keyword sequence; and thirdly, the execution body can determine the numbered keyword sequence as an execution function text.
As an example, the keyword set may be "play music; sweeping the floor; stopping playing the music). The execution level set may be "play music, second level; sweeping, first-stage sweeping; stopping playing the music, and three levels. The execution main body can sort the keyword sets to obtain a keyword sequence' sweeping; playing music; stopping playing the music). Then, the execution subject can number the keywords in the keyword sequence to obtain a numbered keyword sequence '1', and sweeping; 2. playing music; 3. stopping playing the music). Finally, the execution subject may determine the keyword sequence as an execution function text.
Step 204, controlling the opening of the function based on the text of the executing function.
In some embodiments, the execution body may start the functions included in the execution function text one by one based on the execution function text.
One of the above embodiments of the present disclosure has the following advantageous effects: by carrying out keyword retrieval on received user voice, keywords of instructions of a user aiming at target equipment can be obtained rapidly. Then, by determining the execution level of each keyword, the importance degree of each instruction can be known. And then, controlling the function of the sweeper to be started by utilizing the execution level and the execution function text generated by the keyword set. The voice control floor sweeping machine is used for executing the functions appointed by the user, the functions with high execution level and control level are executed preferentially, the requirements of the user on the function requirements and the importance degree difference execution of the floor sweeping machine are met, and the user experience is improved.
With continued reference to fig. 3, a flowchart 300 of further embodiments of a voice-controlled executive function method applied to a sweeper in accordance with the present disclosure is shown. The method may be performed by the computing device 101 in fig. 1. The voice control execution function method applied to the sweeper comprises the following steps:
step 301, performing voice recognition on the user voice to obtain a recognition text.
In some embodiments, the executing body of the voice control execution function method (such as the computing device 101 shown in fig. 1) may perform voice recognition on the user voice to obtain the recognition text.
Step 302, performing functional keyword retrieval on the identification text based on a preset functional keyword set to obtain a functional retrieval result set.
In some embodiments, the execution body may perform a function keyword search on the identified text based on a preset function keyword set, to obtain a function search result sequence. Here, the preset function keyword may be an instruction word for describing a function included in a user voice for the target device, which is preset. As an example, the function keyword may be "sweep" and may be "play music".
And step 303, determining the function search result set as a keyword set.
In some embodiments, the execution body may determine the set of function search results as a set of keywords.
In some optional implementations of some embodiments, the executing entity may obtain a new keyword set as the keyword set by: the first step, the execution subject may determine whether the recognition text includes a sequence keyword in a preset sequence keyword set based on the preset sequence keyword set; step two, in response to determining that the identification text contains sequential keywords in the preset sequential keyword set, the execution subject can extract the sequential keywords to obtain a sequential retrieval result set; and thirdly, the execution main body can combine the function search result set and the sequence search result set to obtain a new keyword set. Here, the preset may be an instruction word for describing the order contained in a user voice for the target device, which is set in advance. As an example, the order keyword may be "first", may be "then", or may be "after".
And step 304, generating execution function text based on the execution level set and the keyword set.
In some embodiments, the execution subject may generate the execution function text by: the first step, the execution subject can record the retrieval time of each function keyword in the keyword set to obtain a function retrieval time sequence; secondly, the execution main body can record the retrieval time of each sequential keyword in the keyword set to obtain a sequential retrieval time sequence; third, the execution subject may combine the function search time series and the sequential search time series to obtain a function time series; and step four, the execution subject can sort the function keywords and the sequence keywords in the new keyword set based on the function time sequence and the execution level set to obtain a sorting result, and determine the sorting result as an execution function text.
As an example, the search time of each functional keyword in the keyword set may be "play music (13:03:46), start sweeping (13:03:49), play music (13:03:47)". The search time of each sequential keyword in the keyword set may be "first (13:03:45) and then (13:03:48)". The execution subject may obtain a functional time sequence of "first (13:03:45), play music (13:03:46), play music (13:03:47), then (13:03:48), start sweeping (13:03:49)". The execution level may be "play music, one level; sweeping, second-level. The execution subject can obtain the ordering result of music playing and sweeping, and the execution subject can obtain the execution function text of music playing and sweeping.
And 305, performing functional analysis on the execution function text to obtain a set of to-be-executed function names.
In some embodiments, the execution body may perform a function analysis on the execution function text to obtain a set of names of functions to be executed. Here, the function analysis may be extracting the function keyword in the execution function text.
Step 306, selecting the function with the same name as the function to be executed from the target function set as the target function to be executed based on the function name set to be executed, thereby obtaining the target function set to be executed.
In some embodiments, the executing entity may select, from the target function set, a function that is the same as the to-be-executed function name based on the to-be-executed function name set. Here, the target function set may be a name set of functions supported by the target device described above.
Step 307, based on the execution function text, controlling each target to-be-executed function in the target to-be-executed function set to be started.
In some embodiments, the execution body may control each target to-be-executed function in the target to-be-executed function set to be turned on based on the execution function text.
As can be seen in fig. 3, the flow 300 of the voice control executive function method in some embodiments corresponding to fig. 3 embodies the steps of expanding how the keyword set is derived, how the executive function text is generated, and the control function is turned on, as compared to the description of some embodiments corresponding to fig. 2. Therefore, the schemes of the embodiments can obtain a complete keyword set through searching the preset functional keywords and the preset sequence keywords. Thus, the operation control of the functions of the sweeper required by the user is facilitated.
With further reference to fig. 4, as an implementation of the method described above for each of the above figures, the present disclosure provides some embodiments of a voice control executive function device for a sweeper, which device embodiments correspond to those described above for fig. 2, and which device is particularly applicable to various electronic devices.
As shown in fig. 4, a voice control performing function apparatus 400 applied to a sweeper of some embodiments includes: a retrieving unit 401, a determining unit 402, a generating unit 403 and a control unit 404. Wherein, the retrieving unit 401 is configured to perform keyword retrieval on the received user voice to obtain a keyword set; a determining unit 402, configured to determine an execution level of each keyword in the keyword set, to obtain an execution level set; a generating unit 403 configured to generate execution function text based on the execution level set and the keyword set; a control unit 404 configured to control the opening of a function based on the execution function text.
In some optional implementations of some embodiments, the retrieval unit 401 of the voice control executive function device 400 applied to the sweeper is further configured to: performing voice recognition on the user voice to obtain a recognition text; performing function keyword retrieval on the identification text based on a preset function keyword set to obtain a function retrieval result set; and determining the function search result set as the keyword set.
In some optional implementations of some embodiments, the retrieval unit 401 of the voice control executive function device 400 applied to the sweeper is further configured to: determining whether the identification text contains sequential keywords in a preset sequential keyword set or not based on the preset sequential keyword set; responding to the fact that the identification text contains sequential keywords in the preset sequential keyword set, and extracting the sequential keywords to obtain a sequential retrieval result set; and combining the functional search result set and the sequential search result set to obtain a new keyword set.
In some optional implementations of some embodiments, the determining unit 402 of the voice control performing function apparatus 400 applied to the sweeper is further configured to: determining the word frequency of each keyword in the keyword set in the identification text to obtain a word frequency set; and determining the execution level of each keyword in the keyword set based on the word frequency set to obtain an execution level set.
In some optional implementations of some embodiments, the generating unit 403 of the voice control performing function apparatus 400 applied to the sweeper is further configured to: based on the execution level set, ordering the keywords in the keyword set according to the order of the execution level from small to large to obtain a keyword sequence; numbering the keywords in the keyword sequence to obtain a numbered keyword sequence; and determining the numbered keyword sequence as an executive function text.
In some optional implementations of some embodiments, the generating unit 403 of the voice control performing function apparatus 400 applied to the sweeper is further configured to: recording the retrieval time of each functional keyword in the new keyword set to obtain a functional retrieval time sequence; recording the retrieval time of each sequential keyword in the new keyword set to obtain a sequential retrieval time sequence; combining the function retrieval time sequence and the sequence retrieval time sequence to obtain a function time sequence; and based on the function time sequence and the execution level set, sequencing the function keywords and the sequence keywords in the new keyword set to obtain a sequencing result, and determining the sequencing result as an execution function text.
In some alternative implementations of some embodiments, the control unit 404 of the voice control executive function device 400 applied to the sweeper is further configured to: performing functional analysis on the execution function text to obtain a to-be-executed function name set; selecting a function with the same name as the function to be executed from a target function set based on the function name set to be executed as a target function to be executed, so as to obtain a target function set to be executed; and controlling each target function to be executed in the target function set to be started based on the execution function text.
It will be appreciated that the elements described in the apparatus 400 correspond to the various steps in the method described with reference to fig. 2. Thus, the operations, features and resulting benefits described above with respect to the method are equally applicable to the apparatus 400 and the units contained therein, and are not described in detail herein.
Referring now to FIG. 5, a schematic diagram of an electronic device (e.g., computing device 101 of FIG. 1) 500 suitable for use in implementing some embodiments of the disclosure is shown. The server illustrated in fig. 5 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present disclosure in any way.
As shown in fig. 5, the electronic device 500 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 501, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
In general, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 507 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 508 including, for example, magnetic tape, hard disk, etc.; and communication means 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 shows an electronic device 500 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead. Each block shown in fig. 5 may represent one device or a plurality of devices as needed.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via the communications device 509, or from the storage device 508, or from the ROM 502. The above-described functions defined in the methods of some embodiments of the present disclosure are performed when the computer program is executed by the processing device 501.
It should be noted that, in some embodiments of the present disclosure, the computer readable medium may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, the computer-readable signal medium may comprise a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be embodied in the apparatus; or may exist alone without being incorporated into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: keyword retrieval is carried out on received user voice, and a keyword set is obtained; determining the execution level of each keyword in the keyword set to obtain an execution level set; generating an execution function text based on the execution level set and the keyword set; and controlling the opening of the function based on the execution function text.
Computer program code for carrying out operations for some embodiments of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The described units may also be provided in a processor, for example, described as: a processor includes a retrieval unit, a determination unit, a generation unit, and a control unit. The names of these units do not constitute a limitation on the unit itself in some cases, and for example, the search unit may also be described as "a unit that performs keyword search on received user speech to obtain a keyword set".
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above technical features, but encompasses other technical features formed by any combination of the above technical features or their equivalents without departing from the spirit of the invention. Such as the above-described features, are mutually substituted with (but not limited to) the features having similar functions disclosed in the embodiments of the present disclosure.

Claims (8)

1. A voice control executive function method applied to a sweeper comprises the following steps:
keyword retrieval is carried out on received user voice, and a keyword set is obtained;
determining the execution level of each keyword in the keyword set to obtain an execution level set;
generating an execution function text based on the execution level set and the keyword set;
based on the execution function text, controlling the opening of a function;
The keyword retrieval is performed on the received user voice to obtain a keyword set, which comprises the following steps:
Performing voice recognition on the user voice to obtain a recognition text;
Performing function keyword retrieval on the identification text based on a preset function keyword set to obtain a function retrieval result set;
Determining whether the identification text contains sequential keywords in a preset sequential keyword set or not based on the preset sequential keyword set;
Responding to the fact that the identification text contains sequential keywords in the preset sequential keyword set, and extracting the sequential keywords to obtain a sequential retrieval result set;
And combining the functional search result set and the sequential search result set to obtain a keyword set.
2. The method of claim 1, wherein the determining the execution level of each keyword in the set of keywords, resulting in a set of execution levels, comprises:
determining the word frequency of each keyword in the keyword set in the identification text to obtain a word frequency set;
And determining the execution level of each keyword in the keyword set based on the word frequency set to obtain an execution level set.
3. The method of claim 2, wherein the generating execution function text based on the execution level set and the keyword set comprises:
based on the execution level set, ordering the keywords in the keyword set according to the order of the execution level from small to large to obtain a keyword sequence;
numbering the keywords in the keyword sequence to obtain a numbered keyword sequence;
and determining the numbered keyword sequence as an executive function text.
4. The method of claim 1, wherein the generating execution function text based on the execution level set and the keyword set comprises:
recording the retrieval time of each functional keyword in the keyword set to obtain a functional retrieval time sequence;
Recording the retrieval time of each sequential keyword in the keyword set to obtain a sequential retrieval time sequence;
Combining the function retrieval time sequence and the sequence retrieval time sequence to obtain a function time sequence;
And based on the function time sequence and the execution level set, sequencing the function keywords and the sequence keywords in the keyword set to obtain a sequencing result, and determining the sequencing result as an execution function text.
5. The method of one of claims 1-4, wherein said controlling function activation based on said execution function text comprises:
performing functional analysis on the execution function text to obtain a to-be-executed function name set;
Selecting a function with the same name as the function to be executed from a target function set based on the function name set to be executed as a target function to be executed, so as to obtain a target function set to be executed;
And controlling each target function to be executed in the target function set to be started based on the execution function text.
6. A voice control executive function device for a sweeper, comprising:
The retrieval unit is configured to perform keyword retrieval on the received user voice to obtain a keyword set;
The determining unit is configured to determine the execution level of each keyword in the keyword set to obtain an execution level set;
a generation unit configured to generate an execution function text based on the execution level set and the keyword set;
a control unit configured to control a function to be turned on based on the execution function text;
The retrieval unit is further configured to: performing voice recognition on the user voice to obtain a recognition text; performing function keyword retrieval on the identification text based on a preset function keyword set to obtain a function retrieval result set;
determining whether the identification text contains sequential keywords in a preset sequential keyword set or not based on the preset sequential keyword set; responding to the fact that the identification text contains sequential keywords in the preset sequential keyword set, and extracting the sequential keywords to obtain a sequential retrieval result set; and combining the functional search result set and the sequential search result set to obtain a keyword set.
7. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
When executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-5.
8. A computer readable medium having stored thereon a computer program, wherein the program when executed by a processor implements the method of any of claims 1-5.
CN202011192214.5A 2020-10-30 2020-10-30 Voice control execution function method and device applied to sweeper and electronic equipment Active CN112614486B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011192214.5A CN112614486B (en) 2020-10-30 2020-10-30 Voice control execution function method and device applied to sweeper and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011192214.5A CN112614486B (en) 2020-10-30 2020-10-30 Voice control execution function method and device applied to sweeper and electronic equipment

Publications (2)

Publication Number Publication Date
CN112614486A CN112614486A (en) 2021-04-06
CN112614486B true CN112614486B (en) 2024-06-21

Family

ID=75225734

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011192214.5A Active CN112614486B (en) 2020-10-30 2020-10-30 Voice control execution function method and device applied to sweeper and electronic equipment

Country Status (1)

Country Link
CN (1) CN112614486B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399901A (en) * 2013-07-25 2013-11-20 三星电子(中国)研发中心 Keyword extraction method
CN105161099A (en) * 2015-08-12 2015-12-16 恬家(上海)信息科技有限公司 Voice-controlled remote control device and realization method thereof
CN108320747A (en) * 2018-02-08 2018-07-24 广东美的厨房电器制造有限公司 Appliances equipment control method, equipment, terminal and computer readable storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102161439B1 (en) * 2013-07-16 2020-10-05 삼성전자 주식회사 Method and apparatus for recognizing voice in portable devices
WO2018141144A1 (en) * 2017-02-06 2018-08-09 华为技术有限公司 Method for use in processing text and voice information, and terminal
CN107120791A (en) * 2017-04-27 2017-09-01 珠海格力电器股份有限公司 Air conditioner control method and device and air conditioner
CN107193973B (en) * 2017-05-25 2021-07-20 百度在线网络技术(北京)有限公司 Method, device and equipment for identifying field of semantic analysis information and readable medium
CN109255064A (en) * 2018-08-30 2019-01-22 Oppo广东移动通信有限公司 Information search method, device, intelligent glasses and storage medium
CN109147801B (en) * 2018-09-30 2021-08-10 深圳市元征科技股份有限公司 Voice interaction method, system, terminal and storage medium
CN110265014A (en) * 2019-06-24 2019-09-20 付金龙 A kind of method, apparatus and translator of voice control
CN111145744A (en) * 2019-12-20 2020-05-12 长兴博泰电子科技股份有限公司 Ad-hoc network-based intelligent household voice control recognition method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399901A (en) * 2013-07-25 2013-11-20 三星电子(中国)研发中心 Keyword extraction method
CN105161099A (en) * 2015-08-12 2015-12-16 恬家(上海)信息科技有限公司 Voice-controlled remote control device and realization method thereof
CN108320747A (en) * 2018-02-08 2018-07-24 广东美的厨房电器制造有限公司 Appliances equipment control method, equipment, terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN112614486A (en) 2021-04-06

Similar Documents

Publication Publication Date Title
US11164574B2 (en) Conversational agent generation
CN109829164B (en) Method and device for generating text
CN111738010B (en) Method and device for generating semantic matching model
WO2022151915A1 (en) Text generation method and apparatus, and electronic device and computer-readable medium
US10395658B2 (en) Pre-processing partial inputs for accelerating automatic dialog response
JP7033165B2 (en) How and equipment to process information in parallel
US20210097262A1 (en) Method and device for sending information
CN110413367B (en) Task creation method and device, storage medium and electronic equipment
CN112182255A (en) Method and apparatus for storing media files and for retrieving media files
JP2022088585A (en) Voice broadcast method, voice broadcast device, electronic apparatus, storage medium and computer program
CN112102836B (en) Voice control screen display method and device, electronic equipment and medium
CN112256372B (en) Information processing method and device and electronic equipment
CN113468344A (en) Entity relationship extraction method and device, electronic equipment and computer readable medium
CN112614486B (en) Voice control execution function method and device applied to sweeper and electronic equipment
CN111460211A (en) Audio information playing method and device and electronic equipment
CN116072108A (en) Model generation method, voice recognition method, device, medium and equipment
CN112581951B (en) Voice control execution function method and device applied to sweeper and electronic equipment
CN111582456B (en) Method, apparatus, device and medium for generating network model information
JP2024507734A (en) Speech similarity determination method and device, program product
CN110688529A (en) Method and device for retrieving video and electronic equipment
CN111949860A (en) Method and apparatus for generating a relevance determination model
CN116595285B (en) Route generation method, device, computer equipment and storage medium
CN111582482B (en) Method, apparatus, device and medium for generating network model information
CN111292766B (en) Method, apparatus, electronic device and medium for generating voice samples
CN111131354A (en) Method and apparatus for generating information

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
CB02 Change of applicant information

Country or region after: China

Address after: 7-605, 6th floor, building 1, yard a, Guanghua Road, Chaoyang District, Beijing 100026

Applicant after: Beijing dog vacuum cleaner Group Co.,Ltd.

Address before: 7-605, 6th floor, building 1, yard a, Guanghua Road, Chaoyang District, Beijing 100026

Applicant before: PUPPY ELECTRONIC APPLIANCES INTERNET TECHNOLOGY (BEIJING) Co.,Ltd.

Country or region before: China

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant