CN115240668A - Voice interaction household control method and robot - Google Patents

Voice interaction household control method and robot Download PDF

Info

Publication number
CN115240668A
CN115240668A CN202210785096.1A CN202210785096A CN115240668A CN 115240668 A CN115240668 A CN 115240668A CN 202210785096 A CN202210785096 A CN 202210785096A CN 115240668 A CN115240668 A CN 115240668A
Authority
CN
China
Prior art keywords
instruction
control
execution
control instructions
instructions
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.)
Granted
Application number
CN202210785096.1A
Other languages
Chinese (zh)
Other versions
CN115240668B (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.)
Guangdong Polytechnic Institute
Original Assignee
Guangdong Polytechnic Institute
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 Guangdong Polytechnic Institute filed Critical Guangdong Polytechnic Institute
Priority to CN202210785096.1A priority Critical patent/CN115240668B/en
Publication of CN115240668A publication Critical patent/CN115240668A/en
Application granted granted Critical
Publication of CN115240668B publication Critical patent/CN115240668B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/282Controlling appliance services of a home automation network by calling their functionalities based on user interaction within the home
    • 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
    • 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)
  • Human Computer Interaction (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Manipulator (AREA)

Abstract

The disclosure relates to the technical field of application services of the internet of things, in particular to a voice interaction home control method and a robot. The voice interaction home control method comprises the following steps: acquiring a rule base, wherein the rule base comprises a mutual exclusion rule base; obtaining a plurality of legal control instructions through voice interaction with a user; obtaining a constant hold instruction from the plurality of control instructions; dividing the control instructions to obtain a first instruction set and a second instruction set; dividing the first instruction set into one or more execution combinations according to a mutual exclusion rule base, wherein control instructions in the execution combinations are mutually non-mutually exclusive; executing the execution combination of the first instruction set one by one; all control instructions in the second set of instructions are executed after the first set of instructions is completed. The method and the device can provide the execution sequence of the plurality of control instructions obtained by single-round voice interaction, and a user does not need to provide the execution sequence of the control instructions at the same time, so that the user can control the household equipment more conveniently.

Description

Voice interaction household control method and robot
Technical Field
The disclosure relates to the technical field of application services of the internet of things, in particular to a voice interaction home control method and a robot.
Background
The household control robot is used in an intelligent household environment, a user sends a control instruction to the household control robot through voice interaction, and the household control robot controls each household device in the intelligent household environment respectively according to the control instruction.
In the prior art, if a user needs a home control robot to execute a plurality of control instructions, a plurality of rounds of conversations need to be repeatedly started, and the user needs to repeatedly awaken the home control robot, which brings inconvenience to control of home equipment.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, the present disclosure provides a voice interaction home control method, in which a robot can control home devices more conveniently.
In a first aspect, the present disclosure provides a voice interaction home control method, including:
acquiring a rule base, wherein the rule base comprises a mutual exclusion rule base, and the mutual exclusion rule base comprises a combination of control instructions which cannot be executed simultaneously;
obtaining a plurality of legal control instructions through voice interaction with a user;
obtaining a constant holding instruction from the plurality of control instructions, wherein the constant holding instruction is a control instruction with unlimited execution time;
dividing the plurality of control instructions according to a mutual exclusion rule base and a constant holding instruction to obtain a first instruction set and a second instruction set, wherein the first instruction set comprises all control instructions which are repellent to the constant holding instruction in the plurality of control instructions, and the second instruction set comprises all control instructions which are not mutually exclusive to the constant holding instruction in the plurality of control instructions;
dividing the first instruction set into one or more execution combinations according to a mutual exclusion rule base, wherein control instructions in the execution combinations are mutually exclusive;
executing the execution combination of the first instruction set one by one;
all control instructions in the second instruction set are executed after the first instruction set is completed.
Optionally, obtaining a single constant holding instruction from the plurality of control instructions;
the voice interaction home control method further comprises the following steps:
dividing the second instruction set into two execution combinations within two according to the mutual exclusion rule base;
executing all control instructions in the second instruction set after the first instruction set is completed, wherein the executing step comprises the following steps:
after the first instruction set is completed, the execution combination including the single always-on instruction in the second instruction set is executed first, and then the rest of the execution combinations are executed.
Optionally, obtaining a single constant holding instruction from the plurality of control instructions includes:
and looking up a mutual exclusion rule base, and selecting a frequently-maintained instruction with the least mutual exclusion quantity with other control instructions.
Optionally, obtaining a plurality of legal control instructions through voice interaction includes:
acquiring a plurality of control instructions through voice interaction;
and checking whether the frequently-maintained instructions in the control instructions are mutually exclusive or not according to a mutual exclusion rule base, and if not, determining that the frequently-maintained instructions are legal.
Optionally, the rule base further includes a parallel rule base, where the parallel rule base includes a combination of control instructions that can be executed simultaneously and a combination weight table of corresponding weights;
executing the execution combination of the first instruction set by taking the execution combination as a unit, wherein the execution combination comprises the following steps:
and after the execution sequence of the execution combination of the first instruction set is sequenced according to the weight by consulting the combined weight table, the execution combination of the first instruction set is executed one by one according to the execution sequence by taking the execution combination as a unit.
Optionally, the weight of the combination including the control instruction in the combination weight table is updated according to a preset function according to the number of times that the user has spoken the control instruction.
Optionally, the user includes a plurality of user roles, the parallel rule base includes a combination weight table of different user roles, and the voice interaction home control method further includes:
acquiring a user role for sending a control instruction;
looking up a combination weight table corresponding to the user role according to the obtained user role,
and sequencing the execution sequence of the execution combination of the first instruction set according to the combination weight table of the corresponding user role.
Optionally, the weights of the combinations including the control instruction in the combination weight table of the different user roles are respectively updated according to a preset function according to the number of times that the different user roles have ever spoken the control instruction.
Optionally, the preset function includes:
W x =W 1 +ln(x+1)
the W is x Representing the weight of the combination with the control instruction when said control instruction has occurred x times, W 1 Representing the initial weight of the combination with the control instruction.
In a second aspect, the present disclosure provides a home control robot, including:
the voice interaction module is used for interacting with the voice of the user to acquire a plurality of legal control instructions;
a rule base comprising a mutual exclusion rule base comprising a combination of control instructions that are not executable simultaneously;
a constant-hold instruction obtaining module, configured to obtain a constant-hold instruction from the plurality of control instructions, where the constant-hold instruction is a control instruction whose execution time is not limited;
the instruction set dividing module is used for dividing the plurality of control instructions according to the mutual exclusion rule base and the constant holding instruction to obtain a first instruction set and a second instruction set, wherein the first instruction set comprises all control instructions which are repellent to the constant holding instruction in the plurality of control instructions, and the second instruction set comprises all control instructions which are not mutually exclusive to the constant holding instruction in the plurality of control instructions;
the execution combination dividing module is used for dividing the first instruction set into one or more execution combinations according to the mutual exclusion rule base, and the control instructions in the execution combinations are mutually not mutually exclusive;
the execution module is used for executing the execution combination of the first instruction set one by one and executing all control instructions in the second instruction set after the first instruction set is finished;
and the control module is used for controlling the corresponding household equipment according to the content of the control instruction when the control instruction is executed.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages:
compared with the prior art, the voice interaction home control method can give the execution sequence of the plurality of control instructions obtained by the single-turn conversation, does not need the user to give the execution sequence of the control instructions while giving the plurality of control instructions, enables the user to speak all the control instructions more smoothly, and enables the user to control home equipment more conveniently.
Drawings
Fig. 1 is an application scenario diagram provided by an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of a voice interaction home control method provided in the embodiment of the present disclosure;
fig. 3 is a second schematic flowchart of a voice interaction home control method according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a home control robot provided in the embodiment of the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that, in the case of no conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced in other ways than those described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
Fig. 1 is an application scene diagram provided by the embodiment of the present disclosure, and the voice interaction home control method may be applied to the smart home scene described in fig. 1. As shown in fig. 1, a user 11 completes a single-round voice interaction with a home control robot 12 to issue a plurality of control instructions to the home control robot 12, and after obtaining the plurality of control instructions issued by the user 11, the home control robot 12 groups and sorts the plurality of control instructions according to a preset voice interaction home control method to give a feasible execution sequence of the control instructions. The home control robot 12 executes the control instructions according to the execution sequence, and controls the corresponding home devices 13 according to the content of the executed control instructions.
The first embodiment is as follows:
fig. 2 is a schematic flow chart of a voice interaction home control method provided in the embodiment of the present disclosure. As shown in fig. 2, a flow of the voice interaction home control method provided by the embodiment of the present disclosure includes:
s101: acquiring a rule base, wherein the rule base comprises a mutual exclusion rule base, and the mutual exclusion rule base comprises a combination of control instructions which cannot be executed simultaneously.
Specifically, the mutual exclusion rule base is a data table recording combinations of all control instructions that cannot be executed simultaneously. For example:
the control instruction can only select { A, b, c, d, E } from the event set;
that is, the control instruction has only 5 possible values of a, b, c, d, and E, the mutual exclusion rule base is:
Figure 616833DEST_PATH_IMAGE002
it should be appreciated that the present embodiment presents the mutual exclusion rule base in tabular form for ease of understanding. However, in an actual data storage structure, mutually exclusive control instructions are stored in a combined form in a data table of a specific database.
The control instruction a and the control instruction E are constant hold instructions, and the constant hold instructions refer to control instructions whose execution time is not limited. For example, the control instruction a is to turn on the air conditioner.
Wherein, the control commands b, c and d are control commands with limited execution time. For example, the control instruction b is to turn on the fresh air system for x minutes.
S102: and obtaining a plurality of legal control instructions through voice interaction.
Specifically, the home control robot completes voice interaction with the user through voice playing and receiving equipment by using a voice recognition technology, and obtains a plurality of control instructions issued by the user.
And then the household control robot checks whether the frequently-maintained instructions in the control instructions are mutually exclusive according to the mutual exclusion rule base, and if not, the household control robot determines that the frequently-maintained instructions are legal.
And if the control commands are mutually exclusive, determining that the control commands are illegal, and discarding the obtained control commands.
For example, the home control robot obtains control instructions A, b, c, d and E issued by the user, then obtains constant hold instructions A and E in the control instructions, looks up the mutual exclusion rule base, and judges that a plurality of control instructions issued by the user are legal if the records of mutual exclusion of the constant hold instructions A and E do not exist. On the contrary, it is judged as illegal.
The household control robot is provided with a processor, and the voice playing and receiving equipment comprises a microphone and a loudspeaker. The microphone is used for collecting sound waves of a user, converting the sound waves into electric signals and inputting the electric signals to a processor of the household control robot for processing. For the purpose of stereo sound collection or noise reduction, a plurality of microphones can be arranged at different parts of the household control robot respectively. The speaker is used to convert the electrical signals from the processor into sound waves. In other embodiments, the microphones may also be array microphones or omni-directional pick-up microphones.
The processor of the home control robot analyzes the user voice information received by the microphone by using the existing voice analysis technology of the science and technology news Fei Bing Ltd to obtain a plurality of control instructions.
S103: and acquiring a constant-holding instruction from the plurality of control instructions, wherein the constant-holding instruction is a control instruction with unlimited execution time.
Specifically, all the hold commands are selected from the plurality of control commands. For example, control instructions A, b, c, d and E obtain constant holding instructions A and E in the control instructions.
S104: dividing the plurality of control instructions according to a mutual exclusion rule base and a constant holding instruction to obtain a first instruction set and a second instruction set, wherein the first instruction set comprises all the control instructions which are repelled from the constant holding instruction in the plurality of control instructions, and the second instruction set comprises all the control instructions which are not mutually exclusive from the constant holding instruction in the plurality of control instructions.
Specifically, the mutual exclusion relationship between the plurality of normally-held instructions and the rest of the plurality of control instructions is consulted respectively, and the control instructions which are mutually exclusive or not mutually exclusive with the normally-held instructions are divided into two instruction sets.
For example: instruction a is always kept mutually exclusive from control instructions b and d. The always on instruction E is mutually exclusive from the control instruction c. The first instruction set is { control instruction b, control instruction c, control instruction d }, and the second instruction set is { control instruction a, control instruction E }.
S105: and dividing the first instruction set into one or more execution combinations according to the mutual exclusion rule base, wherein the control instructions in the execution combinations are mutually not mutually exclusive.
Specifically, whether the control instructions in the first instruction set are mutually exclusive or not is consulted, and if the control instructions are mutually exclusive, different execution combinations are divided.
For example: the first instruction set is { control instruction b, control instruction c, control instruction d }, the mutual exclusion rule base is consulted to find out that the control instruction b and the control instruction d are mutually exclusive, and the control instruction b and the control instruction c are mutually exclusive, so that the first instruction set is divided into two execution combinations { control instruction b } and { control instruction c, control instruction d }.
S106: the execution combinations of the first set of instructions are executed one by one.
Specifically, the execution combination in the first instruction set is executed one by taking the execution combination as a unit. That is, only if all control instructions in a certain execution combination are executed, all control instructions of the next execution combination can be executed.
For example, the execution combination { control instruction b } is completed first, and only the control instruction b in the execution combination is executed to execute the next execution combination { control instruction c, control instruction d }. If there are multiple control instructions in the execution combination, for example { control instruction c, control instruction d }, then control instruction c, control instruction d can be executed in parallel, and the completion time of the execution combination is the longest execution time of the two control instructions.
In a preferred embodiment, the rule base further comprises a parallel rule base comprising a combination of control instructions executable simultaneously and a combination weight table of corresponding weights.
For example:
Figure 533973DEST_PATH_IMAGE004
the combination weight table provided in the embodiments of the present disclosure is only partially shown for convenience of understanding.
And after the execution sequence of the execution combination of the first instruction set is sequenced according to the weight by consulting the combined weight table, the execution combination of the first instruction set is executed according to the execution sequence by taking the execution combination as a unit.
For example: after the execution combinations in the first sequence combination are sorted according to the rule that the weight is from large to small, the execution sequence of the first instruction set is to complete the execution combination { control instruction c, control instruction d } first and then complete the execution combination { control instruction b }.
In this preferred embodiment, the execution order of the execution combinations in the first execution set may be sorted by presetting the combination weight table, so that the execution order of the execution combinations in the first execution set may better meet the requirement of the user.
In the preferred embodiment, the weight of the combination of the control commands included in the parallel rule base can be updated according to a preset function according to the times that the user has said control commands.
The preset function includes:
W x =W 1 +ln(x+1)
the Wx represents the weight of the combination having the control instruction when the control instruction occurs x times, and W1 represents the initial weight of the combination having the control instruction.
For example, in the past use, the user has said control command c 5 times, and the initial weight of the combination { control command c, control command d } containing control command c is 5, then the weight of the combination is 5+ ln (6), that is, the weight is about 6.79, when control command c appears 5 times.
In the preferred embodiment, the weights of the combination weight table may be updated according to the number of times used by the user, so that the execution order of the execution combinations in the first execution set may better meet the requirements of the user.
Also in this preferred embodiment, a logarithmic function with a base greater than 1 is selected as the weighted change. The preferred embodiment utilizes the characteristic that the dependent variable of the logarithm function obviously increases at the beginning and slowly increases at the subsequent dependent variable, can quickly learn the weight more satisfied by a user at the beginning and can maintain the weight of the combined weight table to be stable at the subsequent time, thereby avoiding overlarge weight variance of the combination comprising the common control instruction and the combination not comprising the common control instruction, being beneficial to the subsequent developer to redesign the initial weight in the combined weight table and being convenient for maintenance.
In another preferred embodiment, the user comprises a plurality of user roles. For example: dad, mom and kid.
The parallel rule base is respectively provided with a combined weight table of different user roles according to different user roles.
Specifically, the home control robot can acquire a user role sending a control instruction according to the voiceprint. Obtaining different user roles according to voiceprint recognition is the prior art in the art, and is not described herein, and in the preferred embodiment, the different user roles are implemented by using a voiceprint recognition technology of the science news fiver corporation.
And then, looking up a combined weight table corresponding to the user roles according to the obtained user roles, sequencing the execution sequence of the execution combinations of the first instruction set according to the combined weight table corresponding to the user roles, and executing the execution combinations in the first instruction set one by one according to the execution sequence.
Further, in the preferred embodiment, the weights in the combined weight table of different user roles can be updated according to the number of times that the control instructions are spoken by different user roles.
The implementation process and principle are the same as those of the implementation method and principle in the last preferred embodiment, and are not described herein again.
S107: all control instructions in the second set of instructions are executed after the first set of instructions is completed.
For example, after all control instructions in the first instruction set { control instruction b, control instruction c, control instruction d } are completed, control instruction a and control instruction E in the second instruction set are executed in parallel.
In an intelligent home scene, home devices are widely distributed and numerous, so that a home control robot needs to provide a uniform interactive interface, and interaction between each home device and a user is facilitated. The home control robot generally establishes communication with each home device in a wired or wireless connection mode, and sends a control signal to control each home device.
The speech recognition technology in the prior art is already perfect, and all control instructions spoken by a user in a sentence can be recognized and obtained in a single round of conversation. However, even if the home control robot can recognize a plurality of control commands in a single-turn dialog, the home control robot does not know the execution sequence of the plurality of control commands, and usually directly executes the plurality of obtained control commands, and the plurality of control commands usually conflict with each other.
Or the home control robot directly executes the control instructions one by one according to the sequence of the control instructions spoken by the user, but for the user, in a single conversation, the user needs to remember and provide the control instructions and also speak the control instructions in sequence, so that the user is very easy to speak wrongly or cannot speak all the instructions smoothly.
Therefore, the prior art is difficult to realize that the home control robot executes a plurality of control instructions after a single-round conversation.
The invention provides a voice interaction home control method, and an inventor notices that a plurality of control instructions issued by a user usually comprise a constant holding instruction, and the constant holding instruction is a core instruction of the plurality of control instructions.
That is, among a plurality of control commands spoken by a user, a control command that cannot be executed simultaneously with the constant hold command is generally a preposed operation performed by the constant hold command, for example, before turning on an air conditioner, a fresh air system is turned on for ventilation, and before turning on a projector, a light needs to be turned off.
Even if the constant holding instruction is not included in the plurality of control instructions issued by the user, the plurality of control instructions can be divided into a plurality of execution combinations directly according to the method of dividing the plurality of control instructions into the plurality of execution combinations by the first execution instruction set, and the execution is performed by taking the execution combination as a unit to obtain the execution sequence of the plurality of control instructions without conflict.
The method utilizes the constant holding instruction and the mutual exclusion rule base to divide a plurality of execution instructions into a plurality of execution combinations, and the execution combinations are used as a unit for execution, so that the execution of the plurality of execution instructions can not conflict with each other. And the control instructions in the same execution combination can be executed in parallel, and a plurality of control instructions do not need to be executed one by one, so that the time is saved. Therefore, the voice interaction home control method can give the execution sequence of the plurality of control instructions obtained by the single-turn conversation, and does not need the user to give the execution sequence of the control instructions while giving the plurality of control instructions, so that the user can speak all the control instructions more smoothly, and the user can control home equipment more conveniently.
The second embodiment:
fig. 3 is a second flowchart of the voice interaction home control method according to the embodiment of the disclosure. The embodiment of the present disclosure follows the description of the first embodiment, and as shown in fig. 3, the embodiment of the present disclosure includes the following steps:
s201: acquiring a rule base, wherein the rule base comprises a mutual exclusion rule base, and the mutual exclusion rule base comprises a combination of control instructions which cannot be executed simultaneously.
S202: and obtaining a plurality of legal control instructions through voice interaction with a user.
The steps and illustrations which are different from those of the first embodiment comprise:
s203: and acquiring a single constant-holding instruction from the plurality of control instructions, wherein the constant-holding instruction is a control instruction with unlimited execution time.
Specifically, only one hold instruction needs to be selected from a plurality of control instructions. For example, control instructions A, b, c, d and E obtain a constant holding instruction A or E in the control instructions.
In a preferred embodiment, choosing a single hold instruction further has the steps of:
and looking up a mutual exclusion rule base to obtain a constant holding instruction with the least mutual exclusion quantity with other control instructions in the constant holding instructions.
For example: instruction a is always kept mutually exclusive from control instructions b and d. The always on instruction E is mutually exclusive from the control instruction c. And if the number of the mutual exclusion of the constant holding instruction E and other control instructions is less than that of the constant holding instruction A, acquiring the constant holding instruction E from the plurality of control instructions.
In a preferred embodiment, the present disclosure selects the always-on instruction with the least number of mutual exclusions from other control instructions to perform the basis of the subsequent division of the instruction set, so that the number of control instructions in the subsequent division of the first instruction set is smaller. The smaller the number of control instructions present in the first instruction set, the lower the probability that a control instruction may be present in the first instruction set that takes a longer time to complete. Thus, in a preferred embodiment, instructions in the first instruction set can be more easily completed in a short time to quickly execute the always-on instruction in the second instruction set. The always-on instruction is generally used as a core instruction specified by a user, and can be executed faster in a preferred embodiment, so that a better use experience can be brought to the user.
S204: dividing the plurality of control instructions according to a mutual exclusion rule base and a constant holding instruction to obtain a first instruction set and a second instruction set, wherein the first instruction set comprises all the control instructions which are repellent to the constant holding instruction in the plurality of control instructions, and the second instruction set comprises all the control instructions which are not mutually exclusive to the constant holding instruction in the plurality of control instructions.
For example: in step S203, a constant holding instruction E is selected, and the plurality of control instructions are divided according to the constant holding instruction and the mutual exclusion rule base, because the constant holding instruction E and the control instruction c are mutually exclusive. The first instruction set is control instruction c and the second instruction set is control instruction a, control instruction b, control instruction d, control instruction E.
S205: and dividing the first instruction set into one or more execution combinations according to the mutual exclusion rule base, wherein the control instructions in the execution combinations are mutually exclusive.
For example: the first set of instructions c is divided into a single combination of executions c.
S206: and dividing the second instruction set into two execution combinations within two according to the mutual exclusion rule base.
For example: the second instruction set is { control instruction A, control instruction b, control instruction d, control instruction E }, wherein the instruction A, the control instructions b and d are kept mutually exclusive, and the second instruction set is divided into two execution combinations { control instruction b, control instruction d, control instruction E } and { control instruction A }.
S207: the execution combination of the first instruction set is executed in units of execution combinations.
S208: all control instructions in the second instruction set are executed after the first instruction set is completed.
Specifically, the execution of the execution combination including the single persistent instruction in the second instruction set is performed first, and then the remaining execution combinations are performed.
For example: the execution combination { control instruction b, control instruction d, control instruction E } including the always-on instruction E for dividing the first instruction set and the second instruction set is completed first, and then the execution combination { control instruction A } is completed. After the hold instruction starts to execute, the control instruction is considered to be executed completely.
Embodiments of the present disclosure may execute the always-on instruction faster than the first embodiment. Since the first and second sets of execution instructions need to be divided according to all the always-on instructions in the first embodiment. For the first embodiment, as the number of always-on instructions is greater, the number of conflicting control instructions is greater, resulting in almost all of the always-on instructions being in the second instruction set and the remaining control instructions being in the first instruction set. Thus, for the first embodiment, most of the control instructions need to be completed to execute the always-on instruction, which is typically a user-specified core instruction. Therefore, the user experience is not good as the core command desired by the user cannot be executed in time.
The embodiment of the disclosure divides a plurality of control instructions by selecting one constant holding instruction, reduces the number of control instructions in the first instruction set, and can complete the instructions in the first instruction set more easily in a short time so as to quickly execute the constant holding instructions in the second instruction set. The always-on instruction is generally used as a core instruction specified by a user, can be executed faster, and can bring better use experience to the user.
Fig. 4 is a schematic structural diagram of a home control robot provided in the embodiment of the present disclosure. As shown in fig. four, the home control robot provided in the embodiment of the present disclosure includes:
the voice interaction module 41 is used for interacting with the user voice to acquire a plurality of legal control instructions;
a rule base 42 comprising a mutually exclusive rule base comprising a combination of control instructions that are not executable simultaneously;
a constant hold instruction obtaining module 43, configured to obtain a constant hold instruction from the plurality of control instructions, where the constant hold instruction is a control instruction whose execution time is not limited;
an instruction set dividing module 44, configured to divide the multiple control instructions according to a mutual exclusion rule base and a constant holding instruction, so as to obtain a first instruction set and a second instruction set, where the first instruction set includes all the control instructions that are excluded from the constant holding instruction in the multiple control instructions, and the second instruction set includes all the control instructions that are not mutually exclusive from the constant holding instruction in the multiple control instructions;
an execution combination dividing module 45, configured to divide the first instruction set into one or more execution combinations according to the mutual exclusion rule base, where the control instructions in the execution combinations are mutually exclusive;
an execution module 46, configured to execute the execution combination of the first instruction set one by one, and execute all control instructions in the second instruction set after the first instruction set is completed;
and the control module 47 is configured to control the corresponding home equipment according to the content of the control instruction when the control instruction is executed.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present disclosure, which enable those skilled in the art to understand or practice the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. The voice interaction home control method is characterized by comprising the following steps:
acquiring a rule base, wherein the rule base comprises a mutual exclusion rule base, and the mutual exclusion rule base comprises a combination of control instructions which cannot be executed simultaneously;
obtaining a plurality of legal control instructions through voice interaction with a user;
obtaining a constant holding instruction from the plurality of control instructions, wherein the constant holding instruction is a control instruction with unlimited execution time;
dividing the plurality of control instructions according to a mutual exclusion rule base and a constant holding instruction to obtain a first instruction set and a second instruction set, wherein the first instruction set comprises all control instructions which are repellent to the constant holding instruction in the plurality of control instructions, and the second instruction set comprises all control instructions which are not mutually exclusive to the constant holding instruction in the plurality of control instructions;
dividing the first instruction set into one or more execution combinations according to a mutual exclusion rule base, wherein control instructions in the execution combinations are mutually exclusive;
executing the execution combination of the first instruction set one by one;
all control instructions in the second set of instructions are executed after the first set of instructions is completed.
2. The voice interaction home control method according to claim 1, wherein a single constant holding instruction is obtained from the plurality of control instructions;
the voice interaction home control method further comprises the following steps:
dividing the second instruction set into two execution combinations within two according to the mutual exclusion rule base;
executing all control instructions in the second instruction set after the first instruction set is completed, wherein the executing step comprises the following steps:
after the first instruction set is completed, the execution combination including the single often-holding instruction in the second instruction set is executed firstly, and then the rest execution combination is executed.
3. The voice interaction home control method according to claim 2, wherein obtaining a single constant holding command from the plurality of control commands comprises:
and looking up a mutual exclusion rule base, and selecting a frequently-maintained instruction with the least mutual exclusion quantity with other control instructions.
4. The voice interaction home control method of claim 1, wherein obtaining a plurality of legal control commands through voice interaction comprises:
acquiring a plurality of control instructions through voice interaction;
and checking whether the frequently-maintained instructions in the control instructions are mutually exclusive or not according to a mutual exclusion rule base, and if not, determining that the frequently-maintained instructions are legal.
5. The voice interaction home control method according to claim 1, wherein the rule base further comprises a parallel rule base, the parallel rule base comprises a combination of control instructions that can be executed simultaneously and a combination weight table of corresponding weights;
executing the execution combination of the first instruction set in units of execution combination, including:
and after the execution sequence of the execution combination of the first instruction set is sequenced according to the weight by consulting the combined weight table, the execution combination of the first instruction set is executed one by one according to the execution sequence by taking the execution combination as a unit.
6. The voice interaction home control method according to claim 5, wherein the weight of the combination including the control instruction in the combination weight table is updated according to a preset function according to the number of times the user has spoken the control instruction.
7. The voice interaction home control method according to claim 5, wherein the user includes a plurality of user roles, the parallel rule base includes a combination weight table of different user roles, and the voice interaction home control method further includes:
acquiring a user role for sending a control instruction;
looking up a combination weight table corresponding to the user role according to the obtained user role,
and sequencing the execution sequence of the execution combination of the first instruction set according to the combination weight table corresponding to the user role.
8. The voice interaction home control method according to claim 7, wherein the weights of the combinations including the control instruction in the combination weight table of the different user roles are respectively updated according to a preset function according to the number of times the control instruction has been spoken by the different user roles.
9. The voice interaction home control method according to claim 6 or 8, wherein the preset function includes:
W x =W 1 +ln(x+1)
the W is x Representing the weight of the combination with the control instruction when said control instruction has occurred x times, W 1 Representing the initial weight of the combination with the control instruction.
10. Household control robot, its characterized in that includes:
the voice interaction module is used for interacting with the voice of the user to acquire a plurality of legal control instructions;
a rule base comprising a mutual exclusion rule base comprising a combination of control instructions that are not executable simultaneously;
a constant hold instruction obtaining module, configured to obtain a constant hold instruction from the multiple control instructions, where the constant hold instruction is a control instruction whose execution time is not limited;
the instruction set dividing module is used for dividing the plurality of control instructions according to the mutual exclusion rule base and the constant holding instruction to obtain a first instruction set and a second instruction set, wherein the first instruction set comprises all control instructions which are repellent to the constant holding instruction in the plurality of control instructions, and the second instruction set comprises all control instructions which are not mutually exclusive to the constant holding instruction in the plurality of control instructions;
the execution combination dividing module is used for dividing the first instruction set into one or more execution combinations according to the mutual exclusion rule base, and the control instructions in the execution combinations are mutually exclusive;
the execution module is used for executing the execution combination of the first instruction set one by one and executing all control instructions in the second instruction set after the first instruction set is finished;
and the control module is used for controlling the corresponding household equipment according to the content of the control instruction when the control instruction is executed.
CN202210785096.1A 2022-07-06 2022-07-06 Voice interaction home control method and robot Active CN115240668B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210785096.1A CN115240668B (en) 2022-07-06 2022-07-06 Voice interaction home control method and robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210785096.1A CN115240668B (en) 2022-07-06 2022-07-06 Voice interaction home control method and robot

Publications (2)

Publication Number Publication Date
CN115240668A true CN115240668A (en) 2022-10-25
CN115240668B CN115240668B (en) 2023-06-02

Family

ID=83672462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210785096.1A Active CN115240668B (en) 2022-07-06 2022-07-06 Voice interaction home control method and robot

Country Status (1)

Country Link
CN (1) CN115240668B (en)

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202363104U (en) * 2011-11-29 2012-08-01 俞峰 Voice control system for fuzzy control
US20170103755A1 (en) * 2015-10-12 2017-04-13 Samsung Electronics Co., Ltd., Suwon-si, KOREA, REPUBLIC OF; Apparatus and method for processing control command based on voice agent, and agent device
JP2018120203A (en) * 2016-11-02 2018-08-02 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Information processing method and program
CN108711428A (en) * 2018-05-30 2018-10-26 Oppo广东移动通信有限公司 Instruction executing method, device, storage medium and electronic equipment
WO2018228077A1 (en) * 2017-06-13 2018-12-20 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Mobile terminal, method of controlling same, and computer-readable storage medium
CN109493865A (en) * 2018-10-17 2019-03-19 北京车和家信息技术有限公司 Signal processing method, terminal and vehicle
CN110047486A (en) * 2019-05-20 2019-07-23 合肥美的电冰箱有限公司 Sound control method, device, server, system and storage medium
CN110570855A (en) * 2019-08-28 2019-12-13 珠海格力电器股份有限公司 system, method and device for controlling intelligent household equipment through conversation mechanism
CN111009245A (en) * 2019-12-18 2020-04-14 腾讯科技(深圳)有限公司 Instruction execution method, system and storage medium
CN111128148A (en) * 2019-11-18 2020-05-08 北京小米移动软件有限公司 Voice ordering method, device, system and computer readable storage medium
US20200177410A1 (en) * 2018-11-29 2020-06-04 International Business Machines Corporation Resolving conflicting commands received by an electronic device
CN111294258A (en) * 2020-02-10 2020-06-16 成都捷顺宝信息科技有限公司 Voice interaction system and method for controlling intelligent household equipment
TW202125215A (en) * 2019-12-30 2021-07-01 鴻海精密工業股份有限公司 Sound control method and terminal device
CN113076201A (en) * 2020-01-03 2021-07-06 中国移动通信集团广东有限公司 Mutual exclusion checking method for task instruction and electronic equipment
CN113436631A (en) * 2021-05-20 2021-09-24 青岛海尔空调器有限总公司 Voice information processing method and system and device for voice information processing
CN113990324A (en) * 2021-11-24 2022-01-28 深圳市品索科技有限公司 Voice intelligent home control system
CN114019817A (en) * 2021-11-16 2022-02-08 青岛海尔科技有限公司 Control method and control device of intelligent household equipment and Internet of things system
CN114283799A (en) * 2021-11-23 2022-04-05 阿里巴巴达摩院(杭州)科技有限公司 Voice interaction method, device, equipment and storage medium
CN114333812A (en) * 2020-09-30 2022-04-12 青岛海尔洗衣机有限公司 Voice interaction method and device, intelligent sound box and storage medium

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202363104U (en) * 2011-11-29 2012-08-01 俞峰 Voice control system for fuzzy control
US20170103755A1 (en) * 2015-10-12 2017-04-13 Samsung Electronics Co., Ltd., Suwon-si, KOREA, REPUBLIC OF; Apparatus and method for processing control command based on voice agent, and agent device
JP2018120203A (en) * 2016-11-02 2018-08-02 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Information processing method and program
WO2018228077A1 (en) * 2017-06-13 2018-12-20 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Mobile terminal, method of controlling same, and computer-readable storage medium
CN108711428A (en) * 2018-05-30 2018-10-26 Oppo广东移动通信有限公司 Instruction executing method, device, storage medium and electronic equipment
CN109493865A (en) * 2018-10-17 2019-03-19 北京车和家信息技术有限公司 Signal processing method, terminal and vehicle
US20200177410A1 (en) * 2018-11-29 2020-06-04 International Business Machines Corporation Resolving conflicting commands received by an electronic device
CN110047486A (en) * 2019-05-20 2019-07-23 合肥美的电冰箱有限公司 Sound control method, device, server, system and storage medium
CN110570855A (en) * 2019-08-28 2019-12-13 珠海格力电器股份有限公司 system, method and device for controlling intelligent household equipment through conversation mechanism
CN111128148A (en) * 2019-11-18 2020-05-08 北京小米移动软件有限公司 Voice ordering method, device, system and computer readable storage medium
CN111009245A (en) * 2019-12-18 2020-04-14 腾讯科技(深圳)有限公司 Instruction execution method, system and storage medium
TW202125215A (en) * 2019-12-30 2021-07-01 鴻海精密工業股份有限公司 Sound control method and terminal device
CN113076201A (en) * 2020-01-03 2021-07-06 中国移动通信集团广东有限公司 Mutual exclusion checking method for task instruction and electronic equipment
CN111294258A (en) * 2020-02-10 2020-06-16 成都捷顺宝信息科技有限公司 Voice interaction system and method for controlling intelligent household equipment
CN114333812A (en) * 2020-09-30 2022-04-12 青岛海尔洗衣机有限公司 Voice interaction method and device, intelligent sound box and storage medium
CN113436631A (en) * 2021-05-20 2021-09-24 青岛海尔空调器有限总公司 Voice information processing method and system and device for voice information processing
CN114019817A (en) * 2021-11-16 2022-02-08 青岛海尔科技有限公司 Control method and control device of intelligent household equipment and Internet of things system
CN114283799A (en) * 2021-11-23 2022-04-05 阿里巴巴达摩院(杭州)科技有限公司 Voice interaction method, device, equipment and storage medium
CN113990324A (en) * 2021-11-24 2022-01-28 深圳市品索科技有限公司 Voice intelligent home control system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
QIN ZHANG ET AL.: "《Application Research of Virtual Operation Robot in Smart Power Plant》", 《2019 CHINESE AUTONATION CONGRESS(CAC)》 *
张斌: "《智能家居产品中的交互设计应用研究》", 《中国优秀硕士学位论文全文数据库 工程科技II辑》, no. 09 *

Also Published As

Publication number Publication date
CN115240668B (en) 2023-06-02

Similar Documents

Publication Publication Date Title
JP6613347B2 (en) Method and apparatus for pushing information
EP3343559B1 (en) De-reverberation control method and device thereof
KR101954550B1 (en) Volume adjustment method, system and equipment, and computer storage medium
US10453472B2 (en) Parameter prediction device and parameter prediction method for acoustic signal processing
CN109273006B (en) Voice control method of vehicle-mounted system, vehicle and storage medium
CN108346433A (en) A kind of audio-frequency processing method, device, equipment and readable storage medium storing program for executing
CN110347367B (en) Volume adjusting method, terminal device, storage medium and electronic device
CN109473095B (en) Intelligent household control system and control method
JP2019204074A (en) Speech dialogue method, apparatus and system
CN111554317B (en) Voice broadcasting method, equipment, computer storage medium and system
CN110989968A (en) Intelligent sound effect processing method, electronic equipment, storage medium and multi-sound effect sound box
CN108733341B (en) Voice interaction method and device
CN112687286A (en) Method and device for adjusting noise reduction model of audio equipment
CN110164425A (en) A kind of noise-reduction method, device and the equipment that can realize noise reduction
JP6843701B2 (en) Parameter prediction device and parameter prediction method for acoustic signal processing
CN115240668A (en) Voice interaction household control method and robot
CN110660393B (en) Voice interaction method, device, equipment and storage medium
US20170206898A1 (en) Systems and methods for assisting automatic speech recognition
CN113793623B (en) Sound effect setting method, device, equipment and computer readable storage medium
CN105895098A (en) Play control method and device
CN113179439B (en) Smart television volume control method and system
CN114333817A (en) Remote controller and remote controller voice recognition method
CN113808611A (en) Audio playing method and device, computer readable storage medium and electronic equipment
CN110246517B (en) Radio station music identification method, vehicle-mounted system and vehicle
CN111782860A (en) Audio detection method and device and storage medium

Legal Events

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