CN112767937B - Multi-device voice control method, system, device and readable storage medium - Google Patents

Multi-device voice control method, system, device and readable storage medium Download PDF

Info

Publication number
CN112767937B
CN112767937B CN202110054075.8A CN202110054075A CN112767937B CN 112767937 B CN112767937 B CN 112767937B CN 202110054075 A CN202110054075 A CN 202110054075A CN 112767937 B CN112767937 B CN 112767937B
Authority
CN
China
Prior art keywords
alternative
equipment
frequency
executing
candidate
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
CN202110054075.8A
Other languages
Chinese (zh)
Other versions
CN112767937A (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.)
Ningbo Fotile Kitchen Ware Co Ltd
Original Assignee
Ningbo Fotile Kitchen Ware 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 Ningbo Fotile Kitchen Ware Co Ltd filed Critical Ningbo Fotile Kitchen Ware Co Ltd
Priority to CN202110054075.8A priority Critical patent/CN112767937B/en
Publication of CN112767937A publication Critical patent/CN112767937A/en
Application granted granted Critical
Publication of CN112767937B publication Critical patent/CN112767937B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; 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 OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/28Constructional details of speech recognition systems
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; 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

Abstract

The invention discloses a multi-equipment voice control method, a system, equipment and a readable storage medium, wherein the voice control method comprises the following steps: presetting a device function state priority library, wherein the device function state priority library stores a priority working state of each device for executing a function operation; acquiring a user voice instruction; selecting equipment capable of executing target function operation corresponding to the voice instruction as first alternative equipment; acquiring the current working state of each first alternative device; matching the current working state with a device function state priority library, and selecting a second alternative device from the first alternative devices; counting the use rate of each second alternative device in a preset historical time period; and determining a second alternative device corresponding to the maximum utilization rate as a target device for executing the target function operation. According to the method and the device, the voice interaction under the multi-device scene is released from the device specification, the user instruction is simplified, a reasonable device is selected more intelligently to control, and the user experience is improved.

Description

Multi-device voice control method, system, device and readable storage medium
Technical Field
The invention belongs to the field of voice interaction of intelligent equipment, and particularly relates to a multi-equipment voice control method, a system, equipment and a readable storage medium.
Background
The existing device control voice interaction solutions in the market at present need to define the device name, when a scene with a plurality of devices with the same name exists, such as a plurality of ovens, the user command "opens the oven", which device the object is can not be clearly controlled, and for such a scene, the existing solution is as follows:
(1) In a short time of successful interaction of the 'equipment name + function control' instruction, the second instruction can be realized to omit the equipment name to control the same equipment; for this case, once the time period is exceeded, the object still cannot be explicitly controlled;
(2) One is to add a second dialogue to inquire the device to be controlled from the user, and the other is to announce that the instruction is invalid, and the voice reminds the user to interact by using the correct instruction of 'device name+start'; the mode of adding the second round of dialogue makes the interaction tedious, lacks intelligence.
Disclosure of Invention
The invention aims to overcome the defect that a multi-device voice control mode is not intelligent enough in the prior art, and provides a multi-device voice control method, a system, a device and a readable storage medium.
The invention solves the technical problems by the following technical scheme:
a multi-device voice control method, the voice control method comprising:
presetting a device function state priority library, wherein the device function state priority library stores a priority working state of each device for executing a function operation;
acquiring a user voice instruction;
selecting equipment capable of executing target function operation corresponding to the voice instruction as first alternative equipment;
acquiring the current working state of each first alternative device;
matching the current working state with the equipment function state priority library, and selecting second alternative equipment from the first alternative equipment, wherein the current working state of the second alternative equipment is matched with the priority working state of the second alternative equipment for executing the target function operation;
counting the use rate of each second alternative device in a preset historical time period;
and determining a second alternative device corresponding to the maximum utilization rate as a target device for executing the target function operation.
Preferably, after the step of selecting the device capable of executing the target function operation corresponding to the voice command as the first candidate device, the multi-device voice control method further includes:
and detecting whether the number of the first alternative devices is 1, and if not, executing the step of acquiring the current working state of each first alternative device.
Preferably, after the step of selecting the second candidate device from the first candidate devices, the multi-device voice control method further includes:
and detecting whether the number of the second alternative devices is 1, if not, executing the step of counting the use frequency of each second alternative device in a preset historical time period.
Preferably, the step of counting the usage rate of each second candidate device in a preset historical period of time specifically includes:
counting the first frequency of executing all functional operations of each second alternative device in the preset historical time period;
counting the second frequency of executing the target function operation of each second alternative device in the preset historical time period;
and obtaining the utilization rate according to the first frequency and the second frequency.
Preferably, after the step of selecting the second candidate device from the first candidate devices, the multi-device voice control method further includes:
dividing the second alternative equipment into a plurality of alternative equipment groups according to equipment models;
the step of counting the usage rate of each second alternative device in a preset historical time period specifically includes:
counting third frequencies of executing all functional operations of each alternative device group in the preset historical time period, and taking the alternative device group corresponding to the largest third frequency as a first candidate device group;
counting fourth frequency of executing target function operation of each candidate device group in the preset historical time period, and taking the candidate device group corresponding to the maximum fourth frequency as a second candidate device group;
judging whether the ratio difference between the fourth frequency and the third frequency of the first candidate device group and the second candidate device group is smaller than a preset threshold value or not;
if yes, taking the frequency of executing the target function operation by each device in the first candidate device group as the utilization rate;
and if not, taking the frequency of executing the target function operation by each device in the second candidate device group as the utilization rate.
The voice control system comprises a preset module, a voice instruction acquisition module, a first selection module, a working state acquisition module, a second selection module, a statistics module and a target equipment determination module;
the device function state priority library is used for storing a priority working state of each device for executing a function operation;
the voice command acquisition module is used for acquiring a user voice command;
the first selecting module is used for selecting equipment capable of executing target function operation corresponding to the voice instruction as first alternative equipment;
the working state acquisition module is used for acquiring the current working state of each first alternative device;
the second selecting module is used for matching the current working state with the equipment function state priority library, selecting second alternative equipment from the first alternative equipment, and matching the current working state of the second alternative equipment with the priority working state of the second alternative equipment for executing the target function operation;
the statistics module is used for counting the utilization rate of each second alternative device in a preset historical time period;
the target device determining module is used for determining a second candidate device corresponding to the maximum use rate as a target device for executing the target function operation.
Preferably, the multi-device voice control system further comprises a first detection module;
the first detection module is used for detecting whether the number of the first alternative devices is 1, and if not, the working state acquisition module is called.
Preferably, the multi-device voice control system further comprises a second detection module;
the second detection module is configured to detect whether the number of the second alternative devices is 1, and if not, call the statistics module.
Preferably, the statistics module comprises a statistics unit and a usage rate determining unit;
the statistics unit is used for counting first frequencies of all the function operations executed by each second alternative device in the preset historical time period and counting second frequencies of the target function operations executed by each second alternative device in the preset historical time period;
the usage rate determining unit obtains the usage rate according to the first frequency and the second frequency.
Preferably, the multi-device voice control method further comprises a grouping module, wherein the statistics module comprises a statistics unit, a device group determining unit, a judging unit and a usage rate determining unit;
the grouping module is used for dividing the second alternative equipment into a plurality of alternative equipment groups according to equipment models;
the statistics unit is used for counting third frequencies of executing all functional operations of each alternative device group in the preset historical time period, and calling the device group determining unit to take the alternative device group corresponding to the largest third frequency as a first candidate device group;
the statistics unit is further configured to count a fourth frequency of performing a target function operation in the preset historical time period for each candidate device group, and call the device group determining unit to use a candidate device group corresponding to the maximum fourth frequency as a second candidate device group;
the judging unit is used for judging whether the ratio difference between the fourth frequency and the third frequency of the first candidate equipment group and the second candidate equipment group is smaller than a preset threshold value or not;
if yes, calling the utilization rate determining unit to take the frequency of each device in the first candidate device group executing the target function operation as the utilization rate;
and if not, calling the utilization rate determining unit to take the frequency of each device in the second candidate device group executing the target function operation as the utilization rate.
An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the multi-device speech control system described above when executing the computer program.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the multi-device speech control system described above.
The invention has the positive progress effects that: according to the voice interaction method and device, equipment designation is relieved under a multi-equipment scene, user instructions are simplified, equipment priority solutions are provided, a reasonable piece of equipment is selected more intelligently to control, and user experience is improved.
Drawings
Fig. 1 is a flowchart of a multi-device voice control method according to embodiment 1 of the present invention.
Fig. 2 is a flowchart of step 17 in the multi-device voice control method of embodiment 1 of the present invention.
Fig. 3 is a flowchart of a multi-device voice control method according to embodiment 2 of the present invention.
Fig. 4 is a schematic block diagram of a multi-device voice control system according to embodiment 3 of the present invention.
Fig. 5 is a schematic block diagram of a multi-device voice control system according to embodiment 4 of the present invention.
Fig. 6 is a schematic structural diagram of an electronic device according to embodiment 5 of the present invention.
Detailed Description
The invention is further illustrated by means of the following examples, which are not intended to limit the scope of the invention.
Example 1
A multi-device voice control method, as shown in fig. 1, the voice control method comprising:
step 10, presetting a device function state priority library; the device function state priority library stores the priority working state of each device for executing a function operation;
step 11, acquiring a user voice instruction;
step 12, selecting equipment capable of executing target function operation corresponding to the voice instruction as first alternative equipment;
in this case, when the first device is selected, the first device is selected by the phraseThe voice command is analyzed to obtain a user intention, the user intention at least comprises target function operation, and keyword definition about the function operation can be achieved through pre-storing function operation word libraries, such as storing func= { device functions }, and device functions are exemplified: powering on, powering off, turning on lighting, turning off lighting, mode setting, mode cancellation, mode reservation, time setting, temperature setting, humidity setting, air volume adjustment, and in addition, storing device model pid supported by function operation func = { device model supporting func function } to further determine that a device capable of executing the target function operation corresponding to the voice instruction is the first candidate device, and further, the preset device function status priority library is For example: func 1 = { turn on illumination }, assume apid 1 For a certain oven model, define-> Lighting off and door on]-a }; assuming apid 2 Is a cigarette machine model->
Step 13, detecting whether the number of the first alternative devices is 1, if not, executing step 14; if yes, the first alternative device is controlled to execute the target operation;
it should be noted that, if the number of the first alternative devices is 1, the description matches the unique device based on the voice command may be the following cases: the user intention is clear to a specific device, or the user intention is clear to a specific device type, and only one device is bound under the type, or the user intention device points to an undefined state, but only one device is bound in the family group; conversely, if the number of the first alternative devices is not 1, it may be the following case to indicate that the plurality of devices are matched based on the voice command: the user intends to define the type of the equipment, such as the starting of the [ xx ] type of the oven, a plurality of xx type of ovens exist in the family group of the user, or the user intends to define the type of the equipment, such as the starting of the [ oven ], a plurality of types of ovens exist in the family group of the user, or the user intends to indicate the direction of the equipment is ambiguous, such as the starting of the [ xx ] type of oven, a plurality of types of kitchen electric equipment, such as a kitchen range, an oven, a steam box, a smoke machine and the like, are bound in the family group, and the number of types of the various types of equipment is indefinite.
Step 14, obtaining the current working state of each first alternative device;
step 15, matching the current working state with the equipment function state priority library, and selecting a second alternative equipment from the first alternative equipment; the current working state of the second alternative device is matched with the prior working state of the second alternative device for executing the target function operation;
step 16, detecting whether the number of the second alternative devices is 1, if not, executing step 17; if yes, the second alternative device is controlled to execute the target operation;
if the number of the second alternative devices is 1, the device which indicates that the current working state meets the priority state is unique;
step 17, counting the use rate of each second alternative device in a preset historical time period;
step 18, determining a second alternative device corresponding to the maximum usage rate as a target device for executing the target function operation.
In this embodiment, as shown in fig. 2, step 17 specifically includes:
step 1711, counting the first frequency of executing all the function operations of each second alternative device in the preset history period;
step 1712, counting the second frequency of executing the target function operation of each second candidate device in the preset history period;
step 1713, obtaining the usage rate according to the first frequency and the second frequency. The usage rate may be set to the second frequency or a ratio of the second frequency to the first frequency at the time of actual definition.
In the embodiment, the voice interaction under the multi-equipment scene is realized to remove equipment designation, the user instruction is simplified, the equipment priority solution is provided, a reasonable piece of equipment is selected more intelligently to control, and the user experience is improved.
Example 2
The embodiment is a further improvement on the basis of embodiment 1, and when selecting and controlling multiple devices of different types or multiple devices of the same type, the embodiment provides a feasible scheme as shown in fig. 3, and after step 16, the method for controlling voice of multiple devices further includes:
step 161, dividing the second alternative device into a plurality of alternative device groups according to device models;
further, referring to fig. 3, the step 17 of counting the usage rate of each second candidate device in a preset history period specifically includes:
step 1721, counting the third frequency of executing all the function operations of each candidate device group in the preset historical time period, and taking the candidate device group corresponding to the maximum third frequency as the first candidate device group; third frequency of each alternative device groupThe results of counting the third frequency of each group of alternative devices are ordered from big to small,wherein (1)>For a third frequency of the first candidate device group, pid 1 Representing a first candidate deviceThe device model number of the group, dev, represents the device identifier, which is unique and unique, to distinguish each device,frequency of performing all functional operations for each device;
step 1722, counting the fourth frequency of executing the target function operation of each candidate device group in the preset history period, and taking the candidate device group corresponding to the maximum fourth frequency as the second candidate device group; fourth frequency of each candidate device groupCounting the fourth frequency result of each alternative device group from big to small, and selecting +.>Wherein (1)>For the fourth frequency of the second candidate device group, pid' 1 Representing the device model of the second candidate device group, +.>The frequency of performing the target function operation for each device.
Step 1723, determining whether the ratio difference between the fourth frequency and the third frequency of the first candidate device group and the second candidate device group is smaller than a preset threshold, if yes, executing step 1724, and if no, executing step 1725; the preset threshold is a decision parameter, the numerical value can be customized according to the requirement, and the smaller the value of the preset threshold is, the higher the influence weight of the function utilization rate on the equipment controlled by the decision is compared with the equipment utilization rate.
Step 1724, taking the frequency of each device in the first candidate device group executing the target function operation as the usage rate;
step 1725, taking the frequency of each device in the second candidate device group executing the target function operation as the usage rate.
If the device corresponding to the maximum usage rate is not unique, the user is asked by a normal voice to specifically control which device.
In this embodiment, for application scenarios of different types or different devices of the same model, a device priority solution is further provided through a function usage rate and a device usage rate, and a reasonable device is selected for control.
Example 3
As shown in fig. 4, the voice control system comprises a preset module 1, a voice command acquisition module 2, a first selection module 3, a first detection module 4, a working state acquisition module 5, a second selection module 6, a second detection module 7, a statistics module 8 and a target device determination module 9;
the presetting module 1 is used for presetting a device function state priority library, and the device function state priority library stores a priority working state of each device for executing a function operation;
the voice command acquisition module 2 is used for acquiring a user voice command;
the first selecting module 3 is configured to select, as a first candidate device, a device capable of executing a target function operation corresponding to the voice command;
it should be noted that, when the first device is selected here, the user intention is obtained by analyzing the voice instruction, where the user intention at least includes a target function operation, and the keyword definition about the function operation may be defined by pre-storing a function operation word stock, for example, storing each func= { device function }, where the device function is exemplified: powering on, powering off, turning on lighting, turning off lighting, mode setting, mode cancellation, mode reservation, time setting, temperature setting, humidity setting, air volume adjustment, and in addition, storing device model pid supported by function operation func = { device model supporting func function } to further determine that a device capable of executing the target function operation corresponding to the voice instruction is the first candidate device, and further, the preset device function status priority library is For example: func 1 = { turn on illumination }, assume apid 1 For a certain oven model-> Lighting off and door on]-a }; assuming apid 2 Is a cigarette machine model->
The first detection module 4 is configured to detect whether the number of the first candidate devices is 1, if not, call the working state acquisition module 5, and if so, control the first candidate devices to execute the target operation;
it should be noted that, if the number of the first alternative devices is 1, the description matches the unique device based on the voice command may be the following cases: the user intention is clear to a specific device, or the user intention is clear to a specific device type, and only one device is bound under the type, or the user intention device points to an undefined state, but only one device is bound in the family group; conversely, if the number of the first alternative devices is not 1, it may be the following case to indicate that the plurality of devices are matched based on the voice command: the user intends to define the type of the equipment, such as the starting of the [ xx ] type of the oven, a plurality of xx type of ovens exist in the family group of the user, or the user intends to define the type of the equipment, such as the starting of the [ oven ], a plurality of types of ovens exist in the family group of the user, or the user intends to indicate the direction of the equipment is ambiguous, such as the starting of the [ xx ] type of oven, a plurality of types of kitchen electric equipment, such as a kitchen range, an oven, a steam box, a smoke machine and the like, are bound in the family group, and the number of types of the various types of equipment is indefinite.
The working state acquisition module 5 is used for acquiring the current working state of each first alternative device;
the second selecting module 6 is configured to match the current working state with the device function state priority library, and select a second candidate device from the first candidate devices, where the current working state of the second candidate device is matched with a priority working state of the second candidate device for executing the target function operation;
the second detection module 7 is configured to detect whether the number of the second candidate devices is 1, if not, call the statistics module 8, and if so, control the second candidate devices to execute the target operation.
If the number of the second alternative devices is 1, the device which indicates that the current working state meets the priority state is unique;
the statistics module 8 is configured to count a usage rate of each second candidate device in a preset historical period;
the target device determining module 9 is configured to determine a second candidate device corresponding to the maximum usage rate as a target device for performing the target function operation.
In this embodiment, referring to fig. 4, the statistics module 8 includes a statistics unit 81 and a usage rate determination unit 82;
the statistics unit 81 is configured to count a first frequency of performing all function operations of each second candidate device in the preset history period, and also is configured to count a second frequency of performing target function operations of each second candidate device in the preset history period;
the usage rate determination unit 82 obtains the usage rate from the first frequency and the second frequency. The usage rate may be set to the second frequency or a ratio of the second frequency to the first frequency at the time of actual definition.
In the embodiment, the voice interaction under the multi-equipment scene is realized to remove equipment designation, the user instruction is simplified, the equipment priority solution is provided, a reasonable piece of equipment is selected more intelligently to control, and the user experience is improved.
Example 4
The embodiment is a further improvement on the basis of embodiment 3, and when selecting and controlling multiple devices with different models or multiple devices with the same model, the embodiment provides a feasible scheme as shown in fig. 5, the multiple device voice control method further comprises a grouping module 101, and the statistics module 8 comprises a statistics unit 81, a device group determining unit 83, a judging unit 84 and a usage rate determining unit 82;
the grouping module 101 is configured to divide the second candidate device into a plurality of candidate device groups according to device models;
the statistics unit 81 is configured to count a third frequency of performing all function operations in the preset historical period for each candidate device group, and call the device group determining unit 83 to use a candidate device group corresponding to the largest third frequency as a first candidate device group; third frequency of each alternative device groupCounting the result of the third frequency of each alternative device group from big to small, and +.> Wherein (1)>For a third frequency of the first candidate device group, pid 1 Device model number, dev, device identifier, unique and unique to distinguish each device,/device, representing the first candidate device group>Frequency of performing all functional operations for each device;
the statistics unit 81 is also used for statisticsCounting the fourth frequency of the execution target function operation of each candidate device group in the preset history time period, and calling the device group determining unit 83 to take the candidate device group corresponding to the maximum fourth frequency as a second candidate device group; fourth frequency of each candidate device groupCounting the fourth frequency result of each alternative device group from big to small, and selecting +.>Wherein (1)>For the fourth frequency of the second candidate device group, pid' 1 Representing the device model number of the second candidate device set,the frequency of performing the target function operation for each device.
The judging unit 84 is configured to judge whether a ratio difference between the fourth frequency and the third frequency of the first candidate device group and the second candidate device group is smaller than a preset threshold; the preset threshold is a decision parameter, the numerical value can be customized according to the requirement, and the smaller the value of the preset threshold is, the higher the influence weight of the function utilization rate on the equipment controlled by the decision is compared with the equipment utilization rate.
If yes, the usage rate determining unit 82 is called, and the frequency of each device in the first candidate device group executing the target function operation is used as the usage rate;
if not, the usage rate determination unit 82 is invoked to take the frequency of each device in the second candidate device group performing the target function operation as the usage rate.
If the device corresponding to the maximum usage rate is not unique, the user is asked by a normal voice to specifically control which device.
In this embodiment, for application scenarios of different types or different devices of the same model, a device priority solution is further provided through a function usage rate and a device usage rate, and a reasonable device is selected for control.
Example 5
An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the multi-device voice control method of embodiment 1 or 2 when the computer program is executed.
Fig. 6 is a schematic structural diagram of an electronic device according to the present embodiment. Fig. 6 shows a block diagram of an exemplary electronic device 90 suitable for use in implementing embodiments of the invention. The electronic device 90 shown in fig. 6 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 6, the electronic device 90 may be embodied in the form of a general purpose computing device, which may be a server device, for example. Components of the electronic device 90 may include, but are not limited to: at least one processor 91, at least one memory 92, a bus 93 connecting the different system components, including the memory 92 and the processor 91.
The bus 93 includes a data bus, an address bus, and a control bus.
The memory 92 may include volatile memory such as Random Access Memory (RAM) 921 and/or cache memory 922, and may further include Read Only Memory (ROM) 923.
Memory 92 may also include a program tool 925 having a set (at least one) of program modules 924, such program modules 924 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
The processor 91 executes various functional applications and data processing by running a computer program stored in the memory 92.
The electronic device 90 may also communicate with one or more external devices 94 (e.g., keyboard, pointing device, etc.). Such communication may occur through an input/output (I/O) interface 95. Also, the electronic device 90 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through a network adapter 96. The network adapter 96 communicates with other modules of the electronic device 90 via the bus 93. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 90, including, but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, data backup storage systems, and the like.
It should be noted that although several units/modules or sub-units/modules of an electronic device are mentioned in the above detailed description, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more units/modules described above may be embodied in one unit/module according to embodiments of the present application. Conversely, the features and functions of one unit/module described above may be further divided into ones that are embodied by a plurality of units/modules.
Example 6
A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the multi-device voice control method of embodiment 1 or 2.
More specifically, among others, readable storage media may be employed including, but not limited to: portable disk, hard disk, random access memory, read only memory, erasable programmable read only memory, optical storage device, magnetic storage device, or any suitable combination of the foregoing.
In a possible embodiment, the invention may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps of implementing the multi-device speech control method as described in embodiment 1 or 2, when said program product is run on the terminal device.
Wherein the program code for carrying out the invention may be written in any combination of one or more programming languages, which program code may execute entirely on the user device, partly on the user device, as a stand-alone software package, partly on the user device and partly on the remote device or entirely on the remote device.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the principles and spirit of the invention, but such changes and modifications fall within the scope of the invention.

Claims (10)

1. A multi-device voice control method, the voice control method comprising:
presetting a device function state priority library, wherein the device function state priority library stores a priority working state of each device for executing a function operation;
acquiring a user voice instruction;
selecting equipment capable of executing target function operation corresponding to the voice instruction as first alternative equipment;
acquiring the current working state of each first alternative device;
matching the current working state with the equipment function state priority library, and selecting second alternative equipment from the first alternative equipment, wherein the current working state of the second alternative equipment is matched with the priority working state of the second alternative equipment for executing the target function operation;
counting the use rate of each second alternative device in a preset historical time period;
determining a second alternative device corresponding to the maximum usage rate as a target device for executing the target function operation;
dividing the second alternative equipment into a plurality of alternative equipment groups according to equipment models;
the step of counting the usage rate of each second alternative device in a preset historical time period specifically includes:
counting third frequencies of executing all functional operations of each alternative device group in the preset historical time period, and taking the alternative device group corresponding to the largest third frequency as a first candidate device group;
counting fourth frequency of executing target function operation of each candidate device group in the preset historical time period, and taking the candidate device group corresponding to the maximum fourth frequency as a second candidate device group;
judging whether the ratio difference between the fourth frequency and the third frequency of the first candidate device group and the second candidate device group is smaller than a preset threshold value or not;
if yes, taking the frequency of executing the target function operation by each device in the first candidate device group as the utilization rate;
and if not, taking the frequency of executing the target function operation by each device in the second candidate device group as the utilization rate.
2. The multi-device voice control method according to claim 1, wherein after the step of selecting a device capable of performing a target function operation corresponding to the voice instruction as the first candidate device, the multi-device voice control method further comprises:
and detecting whether the number of the first alternative devices is 1, and if not, executing the step of acquiring the current working state of each first alternative device.
3. The multi-device voice control method of claim 1, wherein after the step of selecting a second candidate device from the first candidate devices, the multi-device voice control method further comprises:
and detecting whether the number of the second alternative devices is 1, if not, executing the step of counting the use frequency of each second alternative device in a preset historical time period.
4. The method for voice control of multiple devices according to claim 1, wherein said step of counting the usage rate of each second candidate device for a predetermined history period of time comprises:
counting the first frequency of executing all functional operations of each second alternative device in the preset historical time period;
counting the second frequency of executing the target function operation of each second alternative device in the preset historical time period;
and obtaining the utilization rate according to the first frequency and the second frequency.
5. The multi-equipment voice control system is characterized by comprising a preset module, a voice instruction acquisition module, a first selection module, a working state acquisition module, a second selection module, a statistics module, a target equipment determination module and a grouping module;
the statistics module comprises a statistics unit, an equipment group determining unit, a judging unit and a utilization rate determining unit;
the device function state priority library is used for storing a priority working state of each device for executing a function operation;
the voice command acquisition module is used for acquiring a user voice command;
the first selecting module is used for selecting equipment capable of executing target function operation corresponding to the voice instruction as first alternative equipment;
the working state acquisition module is used for acquiring the current working state of each first alternative device;
the second selecting module is used for matching the current working state with the equipment function state priority library, selecting second alternative equipment from the first alternative equipment, and matching the current working state of the second alternative equipment with the priority working state of the second alternative equipment for executing the target function operation;
the statistics module is used for counting the utilization rate of each second alternative device in a preset historical time period;
the target device determining module is used for determining a second alternative device corresponding to the maximum use rate as a target device for executing the target function operation;
the grouping module is used for dividing the second alternative equipment into a plurality of alternative equipment groups according to equipment models;
the statistics unit is used for counting third frequencies of executing all functional operations of each alternative device group in the preset historical time period, and calling the device group determining unit to take the alternative device group corresponding to the largest third frequency as a first candidate device group;
the statistics unit is further configured to count a fourth frequency of performing a target function operation in the preset historical time period for each candidate device group, and call the device group determining unit to use a candidate device group corresponding to the maximum fourth frequency as a second candidate device group;
the judging unit is used for judging whether the ratio difference between the fourth frequency and the third frequency of the first candidate equipment group and the second candidate equipment group is smaller than a preset threshold value or not;
if yes, calling the utilization rate determining unit to take the frequency of each device in the first candidate device group executing the target function operation as the utilization rate;
and if not, calling the utilization rate determining unit to take the frequency of each device in the second candidate device group executing the target function operation as the utilization rate.
6. The multi-device voice control system of claim 5, further comprising a first detection module;
the first detection module is used for detecting whether the number of the first alternative devices is 1, and if not, the working state acquisition module is called.
7. The multi-device voice control system of claim 5, further comprising a second detection module;
the second detection module is configured to detect whether the number of the second alternative devices is 1, and if not, call the statistics module.
8. The multi-device voice control system of claim 5, wherein the statistics module comprises a statistics unit and a usage determination unit;
the statistics unit is used for counting first frequencies of all the function operations executed by each second alternative device in the preset historical time period and counting second frequencies of the target function operations executed by each second alternative device in the preset historical time period;
the usage rate determining unit obtains the usage rate according to the first frequency and the second frequency.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the multi-device speech control method of any one of claims 1 to 4 when the computer program is executed by the processor.
10. A computer readable storage medium having stored thereon a computer program, characterized in that the program when executed by a processor realizes the steps of the multi-device speech control method of any of claims 1 to 4.
CN202110054075.8A 2021-01-15 2021-01-15 Multi-device voice control method, system, device and readable storage medium Active CN112767937B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110054075.8A CN112767937B (en) 2021-01-15 2021-01-15 Multi-device voice control method, system, device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110054075.8A CN112767937B (en) 2021-01-15 2021-01-15 Multi-device voice control method, system, device and readable storage medium

Publications (2)

Publication Number Publication Date
CN112767937A CN112767937A (en) 2021-05-07
CN112767937B true CN112767937B (en) 2024-03-08

Family

ID=75701804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110054075.8A Active CN112767937B (en) 2021-01-15 2021-01-15 Multi-device voice control method, system, device and readable storage medium

Country Status (1)

Country Link
CN (1) CN112767937B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114115027A (en) * 2021-11-24 2022-03-01 珠海格力电器股份有限公司 Method, system, device, equipment and storage medium for adjusting target environment parameters

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108154882A (en) * 2017-12-13 2018-06-12 广东美的制冷设备有限公司 The control method and control device of remote control equipment, storage medium and remote control equipment
CN108646580A (en) * 2018-05-14 2018-10-12 中兴通讯股份有限公司 The determination method and device of control object, storage medium, electronic device
CN108885608A (en) * 2016-06-09 2018-11-23 苹果公司 Intelligent automation assistant in home environment
CN109410943A (en) * 2018-12-10 2019-03-01 珠海格力电器股份有限公司 Sound control method, system and the intelligent terminal of equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190111624A (en) * 2018-03-23 2019-10-02 삼성전자주식회사 Electronic device and method for providing voice recognition control thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108885608A (en) * 2016-06-09 2018-11-23 苹果公司 Intelligent automation assistant in home environment
CN108154882A (en) * 2017-12-13 2018-06-12 广东美的制冷设备有限公司 The control method and control device of remote control equipment, storage medium and remote control equipment
CN108646580A (en) * 2018-05-14 2018-10-12 中兴通讯股份有限公司 The determination method and device of control object, storage medium, electronic device
CN109410943A (en) * 2018-12-10 2019-03-01 珠海格力电器股份有限公司 Sound control method, system and the intelligent terminal of equipment

Also Published As

Publication number Publication date
CN112767937A (en) 2021-05-07

Similar Documents

Publication Publication Date Title
EP1620783B1 (en) Method and apparatus for dynamic power management in a processor system
CN101976209B (en) Adapting configuration for incompatible application programs
CN111045901B (en) Container monitoring method and device, storage medium and electronic equipment
US11074105B2 (en) Systems and methods for digital workforce intelligent orchestration
US20090204826A1 (en) Method for Power Conservation in Virtualized Environments
TWI719336B (en) System and method for micro-service heterogeneous regenerating based on industrial internet, readable storage medium
CN112767937B (en) Multi-device voice control method, system, device and readable storage medium
CN111698335A (en) Equipment state query method and device and server
CN111813517B (en) Task queue allocation method and device, computer equipment and medium
US20220300336A1 (en) Systems and methods for digital workforce intelligent orchestration
CN114861910A (en) Neural network model compression method, device, equipment and medium
CN112783616A (en) Concurrent conflict processing method and device and computer storage medium
US20230125308A1 (en) Data compression based on co-clustering of multiple parameters for ai training
US11620049B2 (en) Method, electronic device and computer program product for managing storage space
CN102004674B (en) System and method for arranging an adaptive program based on a strategy
CN113986000A (en) Server power-on method, system, device and medium
CN110347546B (en) Dynamic adjustment method, device, medium and electronic equipment for monitoring task
EP4028884A1 (en) Optimization of workloads based on constraints
CN114090054A (en) Intelligent equipment upgrading method and device, storage medium and electronic equipment
CN112786046B (en) Multi-device voice control method, system, device and readable storage medium
CN113656378A (en) Server management method, device and medium
EP3618403A1 (en) Method and system for managing operation associated with an object on iot enabled devices
CN116962086B (en) File security detection method and system
CN116701023A (en) Communication method based on AT instruction, electronic equipment and storage medium
KR102487078B1 (en) The hub device, multi device system comprising the hub device and a plurality of devices and method operating the same

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