CN111880855A - Equipment control method and distributed voice system - Google Patents

Equipment control method and distributed voice system Download PDF

Info

Publication number
CN111880855A
CN111880855A CN202010760087.8A CN202010760087A CN111880855A CN 111880855 A CN111880855 A CN 111880855A CN 202010760087 A CN202010760087 A CN 202010760087A CN 111880855 A CN111880855 A CN 111880855A
Authority
CN
China
Prior art keywords
voice
equipment
signal strength
target
arbitration request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010760087.8A
Other languages
Chinese (zh)
Inventor
汪洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aux Air Conditioning Co Ltd
Ningbo Aux Electric Co Ltd
Original Assignee
Aux Air Conditioning Co Ltd
Ningbo Aux Electric 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 Aux Air Conditioning Co Ltd, Ningbo Aux Electric Co Ltd filed Critical Aux Air Conditioning Co Ltd
Priority to CN202010760087.8A priority Critical patent/CN111880855A/en
Publication of CN111880855A publication Critical patent/CN111880855A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4416Network booting; Remote initial program loading [RIPL]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention provides an equipment control method and a distributed voice system, and relates to the technical field of intelligent home furnishing. The method comprises the following steps: the voice equipment broadcasts an awakening arbitration request according to an awakening instruction of a user, the terminal equipment respectively measures the signal strength of all the received awakening arbitration requests to obtain a received signal strength indicated value corresponding to each awakening arbitration request, determines a first target voice equipment nearest to the voice equipment according to the received signal strength indicated value corresponding to each awakening arbitration request, and awakens the first target voice equipment. Because the size of the received signal strength indicated value can reflect the distance between the voice equipment sending the awakening arbitration request and the terminal equipment receiving the awakening arbitration request, the terminal equipment can determine the first target voice equipment closest to the terminal equipment and awaken the first target voice equipment, the awakening precision of the voice equipment is improved, and the probability that the voice equipment is awakened by mistake is reduced.

Description

Equipment control method and distributed voice system
Technical Field
The invention relates to the technical field of smart homes, in particular to a device control method and a distributed voice system.
Background
Along with the continuous development of intelligent home technology, voice control is more and more applied to people's life at home, is convenient for carry out the voice interaction between user and speech equipment.
The distributed voice system can not only realize the control of a single voice device through voice conversation, but also control other voice devices through awakened voice devices. In the prior art, when a user wakes up a voice recognition function of a voice device through a wake-up instruction, there may be a plurality of voice devices that are woken up, and the user actually wants to wake up only one voice device for voice interaction.
Disclosure of Invention
The invention solves the problem of how to improve the awakening precision of the voice equipment and reduce the probability of mistakenly awakening the voice equipment.
In order to solve the problems, the technical scheme adopted by the invention is as follows:
in a first aspect, an embodiment of the present invention provides an apparatus control method, which is applied to a distributed speech system, where the distributed speech system includes a terminal apparatus and a plurality of speech apparatuses, and each of the plurality of speech apparatuses is in communication connection with the terminal apparatus, and the method includes:
the voice equipment broadcasts a wakeup arbitration request according to a wakeup instruction of a user;
the terminal equipment respectively measures the signal intensity of all the received awakening arbitration requests to obtain a received signal intensity indicated value corresponding to each awakening arbitration request;
and the terminal equipment determines a first target voice equipment closest to the terminal equipment according to the received signal strength indicated value corresponding to each awakening arbitration request, and awakens the first target voice equipment.
In the invention, after a user sends a wake-up instruction, a voice device receiving the wake-up instruction broadcasts a wake-up arbitration request, a terminal device measures signal strength of each received wake-up arbitration request to obtain a received signal strength indicated value corresponding to each wake-up arbitration request, and then determines a first target voice device closest to the terminal device according to the received signal strength indicated value corresponding to each wake-up arbitration request, and wakes up the first target voice device. Because the size of the received signal strength indicated value can reflect the distance between the voice equipment sending the awakening arbitration request and the terminal equipment receiving the awakening arbitration request, the terminal equipment can determine the first target voice equipment closest to the terminal equipment, and awaken the first target voice equipment so that the user can perform voice interaction with the first target voice equipment, the condition that a plurality of voice equipment are awakened after the user sends an awakening instruction is effectively avoided, the awakening accuracy of the voice equipment is improved, and the probability that the voice equipment is awakened by mistake is reduced.
In an optional embodiment, the determining, by the terminal device, a first target voice device closest to the terminal device according to the received signal strength indicated value corresponding to each wakeup arbitration request includes:
and the terminal equipment calculates the distance between the terminal equipment and the voice equipment corresponding to each awakening arbitration request according to the received signal strength indicated value corresponding to each awakening arbitration request, and determines the first target voice equipment closest to the terminal equipment according to the distance between the terminal equipment and the voice equipment corresponding to each awakening arbitration request.
In the invention, the terminal device calculates the distance between the terminal device and the voice device corresponding to each awakening arbitration request according to the received signal strength indicated value corresponding to each awakening arbitration request, and then determines the first target voice device closest to the terminal device according to the calculated distance, so that the accuracy of determining the first target voice device can be improved, the awakening precision of the voice device is further improved, and the probability of mistakenly awakening the voice device is reduced.
In an optional embodiment, the pre-storing, by the terminal device, an environment attenuation factor corresponding to each voice device and a signal strength reference value corresponding to each voice device when the voice device is separated from the terminal device by a set distance, and calculating, by the terminal device, a distance between the terminal device and the voice device corresponding to each wakeup arbitration request according to a received signal strength indicated value corresponding to each wakeup arbitration request includes:
and the terminal equipment calculates the distance between the terminal equipment and each voice equipment according to the received signal strength indicated value, the signal strength reference value and the environment attenuation factor corresponding to each voice equipment.
In the invention, the environment attenuation factor corresponding to each voice device and the signal strength reference value corresponding to each voice device when the voice devices are separated from the terminal device by a set distance are pre-stored in the terminal device, so that the terminal device can calculate the distance between the terminal device and each voice device based on the received signal strength indicated value corresponding to the awakening arbitration request, the environment attenuation factor corresponding to the voice device sending the awakening arbitration request and the signal strength reference value after obtaining the received signal strength indicated value corresponding to each awakening arbitration request.
In an optional embodiment, the calculating, by the terminal device, a distance between the terminal device and each voice device according to the received signal strength indication value, the signal strength reference value, and the environment attenuation factor corresponding to each voice device includes:
the terminal equipment is according to the formula
Figure BDA0002612818570000041
Calculating the distance between the voice device and each voice device; wherein d is the calculated distance, RSSI is the received signal strength indicator value, A is the signal strength reference value, and n is the environmental attenuation factor.
In an optional implementation manner, before the terminal device calculates, according to the received signal strength indicator value corresponding to each wakeup arbitration request, a distance between the terminal device and the voice device corresponding to each wakeup arbitration request, the method further includes:
and filtering the received signal strength indicated value corresponding to each awakening arbitration request.
In the invention, the interference signal can be filtered out by filtering the received signal strength indicated value, the error is reduced, and the accuracy of distance calculation is further improved.
In an optional embodiment, after the terminal device wakes up the first target voice device, the method further includes:
and when the first target voice equipment receives a control instruction of a user, determining second target voice equipment which is consistent with the equipment type controlled by the control instruction and is closest to the first target voice equipment in the distributed voice system, and controlling the second target voice equipment to execute the control instruction.
In the invention, after the terminal equipment wakes up the first target voice equipment, the first target voice equipment becomes an entrance for voice interaction with a user, and after the user sends a control instruction, the first target voice equipment determines the second target voice equipment which is consistent with the equipment type controlled by the control instruction and is closest to the first target voice equipment in a distributed voice system, and controls the second target voice equipment to execute the control instruction, so that the problems of unclear and inaccurate control of the equipment can be effectively solved, and the accurate control of the voice equipment is realized.
In an alternative embodiment, the determining, in the distributed speech system, a second target speech device that is consistent with the type of device controlled by the control instruction and is closest to the first target speech device includes:
the first target voice equipment broadcasts a control arbitration request in the distributed voice system according to the control instruction;
the first target voice equipment receives response messages returned by other voice equipment based on the control arbitration request, and measures all the received response messages respectively to obtain a received signal strength indicated value corresponding to each response message;
and the first target voice equipment determines second target voice equipment which is consistent with the equipment type controlled by the control instruction and is closest to the first target voice equipment according to the equipment type controlled by the control instruction and the received signal strength indicated value corresponding to each response message.
In the invention, after a user sends a control instruction, a first target voice device broadcasts a control arbitration request in a distributed voice system, the voice device receiving the control arbitration request returns a response message to the first target voice device, the first target voice device measures the signal strength of each received response message to obtain a received signal strength indicated value corresponding to each response message, the first target voice device selects the received signal strength indicated value corresponding to the voice device with the same type as the voice device controlled by the control instruction and compares the received signal strength indicated values, and the first target voice device can reflect the distance between the voice device sending the response message and the first target voice device receiving the response message according to the received signal strength indicated value corresponding to each response message, and determining a second target voice which is consistent with the type of the equipment controlled by the control instruction and is closest to the first target voice equipment, and controlling the second target voice equipment to execute the control instruction to realize accurate control of the voice equipment.
In an alternative embodiment, the determining, in the distributed speech system, a second target speech device that is consistent with the type of device controlled by the control instruction and is closest to the first target speech device includes:
the first target voice equipment identifies the equipment type controlled by the control instruction and sends a control arbitration request to the voice equipment in the distributed voice system, wherein the voice equipment is consistent with the equipment type controlled by the control instruction;
the first target voice equipment receives response messages returned by the voice equipment based on the control arbitration request, and measures all the received response messages respectively to obtain received signal strength indicated values corresponding to all the response messages;
and the first target voice equipment determines second target voice equipment closest to the first target voice equipment from the voice equipment sending the response messages according to the received signal strength indicated values corresponding to the response messages.
In the invention, after a user sends a control instruction, a first target voice device can identify the device type controlled by the control instruction, then a control arbitration request is sent to a voice device in a distributed voice system, the voice device receiving the control arbitration request returns a response message to the first target voice device, the first target voice device measures the signal strength of each received response message to obtain a received signal strength indicated value corresponding to each response message, and the first target voice device can determine a second target voice device closest to the first target voice device according to the received signal strength indicated value corresponding to each response message because the size of the received signal strength indicated value can reflect the distance between the voice device sending the response message and the first target voice device receiving the response message, and then controlling a second target voice device which is consistent with the device type controlled by the control instruction and is closest to the first target voice device to execute the control instruction, so as to realize accurate control of the voice device.
In a second aspect, an embodiment of the present invention provides a distributed speech system, including a terminal device and a plurality of speech devices, where the plurality of speech devices are all in communication connection with the terminal device;
the voice equipment is used for broadcasting a wake-up arbitration request according to a wake-up instruction of a user;
the terminal equipment is used for respectively measuring the signal strength of all the received awakening arbitration requests to obtain a received signal strength indicated value corresponding to each awakening arbitration request;
and the terminal equipment is also used for determining the first target voice equipment closest to the terminal equipment according to the received signal strength indicated value corresponding to each awakening arbitration request and awakening the first target voice equipment.
In an optional embodiment, the terminal device is configured to calculate, according to the received signal strength indicated value corresponding to each wakeup arbitration request, a distance between the terminal device and the voice device corresponding to each wakeup arbitration request, and determine, according to the distance between the terminal device and the voice device corresponding to each wakeup arbitration request, a first target voice device closest to the terminal device.
In an optional embodiment, the first target speech device is configured to, when receiving a control instruction from a user, determine, in the distributed speech system, a second target speech device that is the same as the device type controlled by the control instruction and is closest to the first target speech device, and control the second target speech device to execute the control instruction.
In an optional implementation manner, the first target voice device is configured to broadcast a control arbitration request in the distributed voice system according to the control instruction, receive response messages returned by other voice devices based on the control arbitration request, and measure all received response messages respectively to obtain received signal strength indication values corresponding to the response messages;
and the first target voice equipment is further used for determining second target voice equipment which is consistent with the equipment type controlled by the control instruction and is closest to the first target voice equipment according to the equipment type controlled by the control instruction and the received signal strength indicated value corresponding to each response message.
In an optional implementation manner, the first target voice device is configured to identify a device type controlled by the control instruction, send a control arbitration request to a voice device in the distributed voice system, which is consistent with the device type controlled by the control instruction, receive a response message returned by the voice device based on the control arbitration request, and measure all received response messages respectively to obtain a received signal strength indication value corresponding to each response message;
and the first target voice equipment is also used for determining second target voice equipment closest to the first target voice equipment in the voice equipment sending the response messages according to the received signal strength indicated values corresponding to the response messages.
Drawings
FIG. 1 is a schematic diagram of a distributed speech system according to the present invention;
FIG. 2 is a schematic flow chart of an apparatus control method according to the present invention;
FIG. 3 is a schematic flow chart of another method for controlling the apparatus according to the present invention;
FIG. 4 is a schematic flow chart of an apparatus control method according to the present invention;
fig. 5 is a schematic flow chart of another apparatus control method provided by the present invention.
Description of reference numerals:
10-distributed voice system; 100-a terminal device; 200-speech devices.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Fig. 1 is a schematic diagram of a distributed speech system 10 according to the present invention. The distributed speech system 10 may include a terminal device 100 and a plurality of speech devices 200, each of the plurality of speech devices 200 being communicatively connected to the terminal device 100, the plurality of speech devices 200 being communicable with each other (the connection relationship between the plurality of speech devices 200 is not shown).
The terminal device 100 and the plurality of voice devices 200, and the plurality of voice devices 200 may adopt communication methods such as bluetooth and Wi-Fi (Wireless-Fidelity), which is not limited in this embodiment.
In this embodiment, the voice device 200 may be a home appliance supporting voice control, including but not limited to a voice air conditioner, a voice cigarette machine, a voice television, and the like. The terminal device 100 may be a portable terminal such as a mobile phone or a tablet computer.
The voice device 200 is configured to broadcast a wake-up arbitration request according to a wake-up command of a user.
In this embodiment, when the user issues a wake-up command, the voice device 200 receiving the wake-up command broadcasts a wake-up arbitration request in the distributed voice system 10.
The terminal device 100 is configured to measure the signal strengths of all received wake-up arbitration requests, respectively, to obtain a received signal strength indication value corresponding to each wake-up arbitration request.
In this embodiment, each time the terminal device 100 receives a wake-up arbitration request sent by the voice device 200, the terminal device measures the Signal Strength of the wake-up arbitration request, so as to obtain a Received Signal Strength Indication (RSSI) value corresponding to the wake-up arbitration request. The received signal strength indication value represents the signal strength of the wake-up arbitration request received by the terminal device 100, and generally, the higher the signal strength of the wake-up arbitration request received by the terminal device 100 is, the closer the terminal device 100 is to the voice device 200 that sends the wake-up arbitration request is, the lower the signal strength of the wake-up arbitration request received by the terminal device 100 is, the farther the terminal device 100 is from the voice device 200 that sends the wake-up arbitration request is. Therefore, the magnitude of the received signal strength indication value may reflect, to some extent, the distance between the voice device 200 that transmitted the wake-up arbitration request and the terminal device 100 that received the wake-up arbitration request.
The terminal device 100 is further configured to determine, according to the received signal strength indicated value corresponding to each wakeup arbitration request, a first target voice device closest to the terminal device, and wake up the first target voice device.
In this embodiment, since the magnitude of the received signal strength indication value may reflect, to a certain extent, the distance between the voice device 200 that sends the wakeup arbitration request and the terminal device 100 that receives the wakeup arbitration request, the terminal device 100 may determine, according to the received signal strength indication value corresponding to each wakeup arbitration request, one voice device 200 (i.e., a first target voice device) closest to itself, and wake up the first target voice device, so that the first target voice device serves as a voice interaction entry, and further performs voice interaction with the user.
It should be noted that, after determining the wake-up arbitration result (i.e. the first target voice device closest to the terminal device), the terminal device 100 needs to notify not only the first target voice device of the wake-up arbitration result, but also other voice devices 200 in the distributed voice system 10 of the wake-up arbitration result, so that the other voice devices 200 know which voice device 200 in the distributed voice system 10 is woken up currently.
It can be seen that, in the distributed speech system 10 provided by the present invention, since the magnitude of the received signal strength indicated value can reflect the distance between the speech device 200 that sends the wakeup arbitration request and the terminal device 100 that receives the wakeup arbitration request, the terminal device 100 can determine the first target speech device closest to itself by comparing the received signal strength indicated values corresponding to the received wakeup arbitration requests, and further wake up the first target speech device, thereby effectively avoiding the situation that a plurality of speech devices 200 are woken up after a user sends a wakeup instruction, improving the precision of waking up the speech devices 200, and reducing the probability of mistakenly waking up the speech devices 200.
In practical applications, considering that environments of multiple voice devices 200 may be different, degrees of signal attenuation of wake-up arbitration requests sent by different voice devices 200 may also be different during transmission to the terminal device 100, and in order to more accurately determine the first target voice device closest to the terminal device 100, a distance between the terminal device 100 and the voice device 200 that sent the wake-up arbitration request may be calculated based on a received signal strength indication value corresponding to each wake-up arbitration request. That is, the terminal device 100 may be specifically configured to calculate a distance between itself and the voice device 200 corresponding to each wakeup arbitration request according to the received signal strength indication value corresponding to each wakeup arbitration request, and determine the first target voice device closest to itself according to the distance between itself and the voice device 200 corresponding to each wakeup arbitration request.
As can be seen, the terminal device 100 calculates the distance between itself and the voice device 200 corresponding to each wakeup arbitration request according to the received signal strength indicated value corresponding to each wakeup arbitration request, and then determines the first target voice device closest to itself according to the calculated distance, which can improve the accuracy of determining the first target voice device, thereby further improving the accuracy of waking up the voice device 200, and reducing the probability that the voice device 200 is mistakenly woken up.
Optionally, the terminal device 100 stores in advance an environment attenuation factor corresponding to each speech device 200 and a signal strength reference value corresponding to each speech device 200 when the speech device 200 is separated from the terminal device 100 by a set distance, and the terminal device 100 is configured to calculate a distance between itself and each speech device 200 according to a received signal strength indication value, the signal strength reference value, and the environment attenuation factor corresponding to each speech device 200.
Wherein the terminal device 100 can be based on a formula
Figure BDA0002612818570000121
Calculating the distance between the voice device 200 and each voice device; where d is the calculated distance, RSSI is the received signal strength indicator, A is the signal strength reference, and n is the environmental attenuation factor.
In one example, a may be a signal strength reference value corresponding to a case where the voice device 200 is spaced 1 meter apart from the terminal device 100.
It can be understood that when different audio devices 200 are located in different environments, the signal strength reference value a and the environment attenuation factor n corresponding to each audio device 200 may be different, so that the formula corresponding to different audio devices 200
Figure BDA0002612818570000122
Are also different, formulas
Figure BDA0002612818570000123
A and n in (b) can be obtained by way of experiment (calibration). When the exact location of the speech device 200 cannot be determined, a and n may also be assigned empirical values, for example, setting a to 60 and n to 2.
It can be seen that, by pre-storing the environment attenuation factor corresponding to each voice device 200 and the signal strength reference value corresponding to each voice device 200 and the terminal device 100 at a set distance in the terminal device 100, after the terminal device 100 obtains the received signal strength indication value corresponding to each wake-up arbitration request, the distance between the terminal device 100 and each voice device 200 can be calculated based on the received signal strength indication value corresponding to the wake-up arbitration request, the environment attenuation factor corresponding to the voice device 200 that sent the wake-up arbitration request, and the signal strength reference value.
Optionally, in order to improve the accuracy of distance calculation, after obtaining the received signal strength indicated value corresponding to each wakeup arbitration request, the terminal device 100 may first perform filtering processing on the received signal strength indicated value corresponding to each wakeup arbitration request, and filter the received signal strength indicated value, so as to filter an interference signal, reduce an error, and further improve the accuracy of distance calculation. After filtering the received signal strength indicating value corresponding to each wakeup arbitration request, calculating the distance between the voice device 200 corresponding to each wakeup arbitration request and the self according to the received signal strength indicating value after filtering.
In actual voice control, when there are more than 2 voice devices 200 of the same category in the distributed voice system 10, if a user issues a relatively fuzzy control instruction, it is impossible to determine which voice device 200 executes the control instruction, and there is a problem that control is unclear and inaccurate. Taking the air conditioner as an example, when the user issues a control instruction "turn on the air conditioner", when there are a plurality of air conditioners, it is difficult to determine which air conditioner should be turned on. In order to solve the above problem, the present invention provides the distributed speech system 10, wherein the first target speech device is configured to, when receiving a control instruction from a user, determine a second target speech device in the distributed speech system 10, where the second target speech device is the closest to the first target speech device and is consistent with a device type controlled by the control instruction, and control the second target speech device to execute the control instruction.
Taking the air conditioner as an example, when the user issues a control command "turn on the air conditioner" and there are more than 2 air conditioners in the distributed voice system 10, the first target voice device selects the air conditioner (second target voice device) closest to itself from the more than 2 air conditioners.
It can be seen that, in the present invention, after the terminal device 100 wakes up the first target voice device, the first target voice device becomes an entry for voice interaction with the user, and after the user sends a control instruction, the first target voice device determines, in the distributed voice system 10, the second target voice device that is in accordance with the device type controlled by the control instruction and is closest to the first target voice device, and controls the second target voice device to execute the control command, so that the problems of unclear and inaccurate control of the device can be effectively solved, thereby implementing accurate control of the voice device 200.
In this embodiment, the first target speech device may determine the second target speech device that is the same as the device type controlled by the control instruction and is closest to the first target speech device in the distributed speech system 10 in the following two ways:
in a possible implementation manner, the first target voice device is configured to broadcast a control arbitration request in the distributed voice system 10 according to a control instruction, receive response messages returned by other voice devices 200 based on the control arbitration request, and measure all received response messages respectively to obtain received signal strength indication values corresponding to the response messages; and the first target voice equipment determines second target voice equipment which is consistent with the equipment type controlled by the control instruction and is closest to the first target voice equipment according to the equipment type controlled by the control instruction and the received signal strength indicated value corresponding to each response message.
That is, after the user sends a control instruction, the first target voice device broadcasts a control arbitration request in the distributed voice system 10, the voice device 200 that receives the control arbitration request returns a response message to the first target voice device, the first target voice device measures the signal strength of each received response message to obtain a received signal strength indication value corresponding to each response message, the first target voice device selects a received signal strength indication value corresponding to the voice device 200 of which the type is consistent with that of the device controlled by the control instruction, and compares the received signal strength indication values, which are similar to the received signal strength indication value corresponding to the aforementioned wake-up arbitration request, and the received signal strength indication value corresponding to the response message also represents the signal strength of the response message received by the first target voice device, so that the received signal strength indication value corresponding to the response message can reflect the voice sending the response message to a certain extent The distance between the audio device 200 and the first target audio device that receives the response message is short and long, so the first target audio device can determine, according to the received signal strength indicated value corresponding to each response message, the second target audio device that is the same as the device type controlled by the control instruction and is closest to the first target audio device 200, and control the second target audio device to execute the control instruction, thereby realizing accurate control of the audio device 200.
In another possible implementation, the first target voice device is configured to identify a device type controlled by a control instruction, send a control arbitration request to a voice device 200 in the distributed voice system 10, where the device type is consistent with the device type controlled by the control instruction, receive a response message returned by the voice device 200 based on the control arbitration request, and measure all received response messages respectively to obtain a received signal strength indication value corresponding to each response message; the first target voice device is further configured to determine, according to the received signal strength indication value corresponding to each response message, a second target voice device closest to the first target voice device among the voice devices 200 that send the response messages.
That is, after a user sends a control instruction, a first target voice device may first recognize a device type controlled by the control instruction, and then send a control arbitration request to the voice device 200 in the distributed voice system 10, the voice device 200 that receives the control arbitration request returns a response message to the first target voice device, the first target voice device measures signal strength of each received response message to obtain a received signal strength indication value corresponding to each response message, and since the received signal strength indication value may reflect a distance between the voice device 200 that sends the response message and the first target voice device that receives the response message, the first target voice device may determine a second target voice device closest to itself according to the received signal strength indication value corresponding to each response message, and then controlling a second target voice device which is consistent with the device type controlled by the control instruction and is closest to the first target voice device to execute the control instruction, so as to realize accurate control of the voice device 200.
Optionally, the first target speech device may be configured to, when determining the speech device 200 closest to itself, calculate a distance between itself and each speech device 200 according to the received signal strength indication value corresponding to each speech device 200, and determine the speech device 200 closest to itself according to the distance between itself and each speech device 200. Thus, when the first target speech device determines the second target speech device in the distributed speech system 10, which is consistent with the device type controlled by the control instruction and closest to the first target speech device, the speech device 200 (i.e., the second target speech device) closest to the first target speech device can be finally determined by calculating the distance between the first target speech device and each speech device 200 from the speech devices 200 consistent with the device type controlled by the control instruction, so that the accuracy of determining the second target speech device is improved, and the accurate control of the speech device 200 is further realized.
Optionally, each voice device 200 may also store the environment attenuation factor and the signal strength reference value corresponding to each of all the voice devices 200 in the distributed voice system 10 in advance, and the first target voice device may calculate the distance between itself and the voice device 200 that sends the response message according to the received signal strength indication value corresponding to the response message, the environment attenuation factor and the signal strength reference value corresponding to the voice device 200 that sends the response message.
In the present embodiment, the specific way for the first target voice device to calculate the distance between itself and the voice device 200 that sends the control response message may refer to the aforementioned formula for calculating the distance between itself and the voice device 200 by the terminal device 100
Figure BDA0002612818570000171
Wherein the signal strength reference value a is a signal strength value when the voice apparatus 200 is separated from the first target voice apparatus by a set distance (e.g., 1 meter).
In addition, in order to improve the accuracy of distance calculation, after obtaining the received signal strength indication value corresponding to the response message, the first target speech device may first perform filtering processing on the received signal strength indication value corresponding to each response message, and then calculate the distance between itself and the speech device 200 that sent the response message according to the received signal strength indication value after the filtering processing.
Fig. 2 is a schematic flow chart of an apparatus control method according to the present invention. It should be noted that the apparatus control method provided by the present invention is not limited by fig. 2 and the following specific sequence, and it should be understood that, in other embodiments, the sequence of some steps in the apparatus control method provided by the present invention may be interchanged according to actual needs, or some steps in the apparatus control method may be omitted or deleted. The device control method can be applied to the distributed speech system 10 shown in fig. 1, and the basic principle and the technical effect of the device control method are the same as those of the above-mentioned embodiment, and for the sake of brief description, no part of this embodiment is mentioned, and reference may be made to the corresponding contents in the above-mentioned embodiment.
In step S201, the voice device broadcasts a wakeup arbitration request according to a wakeup command of the user.
Step S202, the terminal device measures the signal intensity of all the received awakening arbitration requests respectively to obtain the received signal intensity indicated value corresponding to each awakening arbitration request.
Step S203, the terminal device determines the first target voice device closest to itself according to the received signal strength indicated value corresponding to each wakeup arbitration request, and wakes up the first target voice device.
It can be seen that, in the device control method provided by the present invention, after a user sends a wake-up instruction, the voice device 200 that receives the wake-up instruction broadcasts a wake-up arbitration request, the terminal device 100 measures the signal strength of each received wake-up arbitration request to obtain a received signal strength indicated value corresponding to each wake-up arbitration request, and further determines a first target voice device closest to the terminal device according to the received signal strength indicated value corresponding to each wake-up arbitration request, and wakes up the first target voice device. Because the size of the received signal strength indicated value can reflect the distance between the voice device 200 sending the awakening arbitration request and the terminal device 100 receiving the awakening arbitration request, the terminal device 100 can determine the first target voice device closest to the terminal device 100 and awaken the first target voice device so that the user can perform voice interaction with the first target voice device, the situation that a plurality of voice devices 200 are awakened after the user sends the awakening instruction is effectively avoided, the awakening accuracy of the voice device 200 is improved, and the probability that the voice device 200 is awakened by mistake is reduced.
Optionally, referring to fig. 3, the step S203 may include: step S2032, the terminal device calculates a distance between itself and the voice device corresponding to each wakeup arbitration request according to the received signal strength indicated value corresponding to each wakeup arbitration request, and determines a first target voice device closest to itself according to the distance between itself and the voice device corresponding to each wakeup arbitration request.
In this embodiment, the terminal device 100 calculates a distance between itself and the voice device 200 corresponding to each wakeup arbitration request according to the received signal strength indicated value corresponding to each wakeup arbitration request, and then determines the first target voice device closest to itself according to the calculated distance, so that accuracy of determining the first target voice device can be improved, accuracy of waking up the voice device 200 is further improved, and probability that the voice device 200 is mistakenly woken up is reduced.
Optionally, the terminal device 100 stores in advance an environment attenuation factor corresponding to each voice device 200, and a signal strength reference value corresponding to each voice device 200 when the voice device 200 is separated from the terminal device 100 by a set distance, where the step S2032 may include: the terminal device 100 calculates a distance between itself and each speech device 200 based on the received signal strength indication value, the signal strength reference value, and the environment attenuation factor corresponding to each speech device 200.
In one example, the terminal device 100 can be based on a formula
Figure BDA0002612818570000191
Calculating the distance between the voice device 200 and each voice device; where d is the calculated distance, RSSI is the received signal strength indicator, A is the signal strength reference, and n is the environmental attenuation factor.
Optionally, referring to fig. 4, before step S2032, the apparatus control method may further include: step S2031, filtering the received signal strength indicator corresponding to each wakeup arbitration request. The terminal device 100 may filter the interference signal by filtering the received signal strength indication value, reduce the error, and further improve the accuracy of distance calculation.
Optionally, referring to fig. 5, after the terminal device 100 wakes up the first target voice device, the device control method may further include:
step S501, when a first target voice device receives a control instruction of a user, a second target voice device which is consistent with the device type controlled by the control instruction and is closest to the first target voice device is determined in the distributed voice system, and the second target voice device is controlled to execute the control instruction.
In a possible implementation manner, the step S501 may include: the first target voice device broadcasts a control arbitration request in the distributed voice system 10 according to the control instruction; the first target voice device receives response messages returned by other voice devices 200 based on the control arbitration request, and measures all the received response messages respectively to obtain a received signal strength indicated value corresponding to each response message; and the first target voice equipment determines second target voice equipment which is consistent with the equipment type controlled by the control instruction and is closest to the first target voice equipment according to the equipment type controlled by the control instruction and the received signal strength indicated value corresponding to each response message.
In another possible embodiment, the step S501 may include: the first target voice device recognizes the device type controlled by the control instruction and sends a control arbitration request to the voice device 200 in the distributed voice system 10, which is consistent with the device type controlled by the control instruction; the first target voice equipment receives response messages returned by the voice equipment based on the control arbitration request, and measures all the received response messages respectively to obtain received signal strength indicated values corresponding to all the response messages; and the first target voice equipment determines second target voice equipment closest to the first target voice equipment from the voice equipment sending the response messages according to the received signal strength indicated value corresponding to each response message.
Optionally, when determining the speech device 200 closest to the first target speech device, the first target speech device may calculate a distance between the first target speech device and each speech device 200 according to the received signal strength indicated value corresponding to each speech device 200, and determine the speech device 200 closest to the first target speech device according to the distance between the first target speech device and each speech device 200. In this way, when the second target speech device that is the same as the device type controlled by the control instruction and is closest to the first target speech device is determined, the first target speech device may finally determine the speech device 200 closest to itself (i.e., the second target speech device) by calculating the distance between itself and each speech device 200 from the speech devices 200 that are the same as the device type controlled by the control instruction.
Optionally, each voice device 200 stores in advance an environment attenuation factor and a signal strength reference value corresponding to each of all the voice devices 200 in the distributed voice system 10, and the first target voice device may calculate a distance between itself and the voice device 200 that sends the response message according to the received signal strength indication value corresponding to the response message, the environment attenuation factor and the signal strength reference value corresponding to the voice device 200 that sends the response message.
Wherein, the specific calculation formula may refer to a formula for calculating the distance between the terminal device 100 and the voice device 200
Figure BDA0002612818570000211
In addition, in order to improve the accuracy of distance calculation, after obtaining the received signal strength indication value corresponding to the response message, the first target speech device may first perform filtering processing on the received signal strength indication value corresponding to each response message, and then calculate the distance between itself and the speech device 200 that sends the response message according to the received signal strength indication value after the filtering processing.
In summary, according to the device control method and the distributed voice system provided by the present invention, after a user sends a wake-up instruction, a voice device receiving the wake-up instruction broadcasts a wake-up arbitration request, and a terminal device measures signal strength of each received wake-up arbitration request to obtain a received signal strength indication value corresponding to each wake-up arbitration request, and further determines a first target voice device closest to the terminal device according to the received signal strength indication value corresponding to each wake-up arbitration request, and wakes up the first target voice device. After the user sends the control instruction, the first target voice device may determine, in the distributed voice system, a second target voice device that is the same as the device type controlled by the control instruction and is closest to the first target voice device, and control the second target voice device to execute the control instruction. Therefore, in the equipment awakening stage, the condition that a plurality of voice equipment are awakened after the user sends the awakening instruction is effectively avoided, the awakening precision of the voice equipment is improved, and the probability that the voice equipment is awakened by mistake is reduced; in the equipment control stage, the control instruction is executed by controlling the second target voice equipment which is consistent with the equipment type controlled by the control instruction and is closest to the awakened voice equipment, so that the problem of unclear control is solved, and the accurate control of the voice equipment is realized.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (13)

1. An apparatus control method is applied to a distributed voice system, the distributed voice system includes a terminal apparatus and a plurality of voice apparatuses, and the plurality of voice apparatuses are all in communication connection with the terminal apparatus, and the method includes:
the voice equipment broadcasts a wakeup arbitration request according to a wakeup instruction of a user;
the terminal equipment respectively measures the signal intensity of all the received awakening arbitration requests to obtain a received signal intensity indicated value corresponding to each awakening arbitration request;
and the terminal equipment determines a first target voice equipment closest to the terminal equipment according to the received signal strength indicated value corresponding to each awakening arbitration request, and awakens the first target voice equipment.
2. The method according to claim 1, wherein the determining, by the terminal device, a first target voice device closest to the terminal device according to the received signal strength indicator value corresponding to each wakeup arbitration request includes:
and the terminal equipment calculates the distance between the terminal equipment and the voice equipment corresponding to each awakening arbitration request according to the received signal strength indicated value corresponding to each awakening arbitration request, and determines the first target voice equipment closest to the terminal equipment according to the distance between the terminal equipment and the voice equipment corresponding to each awakening arbitration request.
3. The method according to claim 2, wherein the terminal device prestores an environment attenuation factor corresponding to each voice device and a signal strength reference value corresponding to each voice device when the voice device is separated from the terminal device by a set distance, and the terminal device calculates a distance between itself and the voice device corresponding to each wakeup arbitration request according to the received signal strength indicated value corresponding to each wakeup arbitration request, including:
and the terminal equipment calculates the distance between the terminal equipment and each voice equipment according to the received signal strength indicated value, the signal strength reference value and the environment attenuation factor corresponding to each voice equipment.
4. The method of claim 3, wherein the terminal device calculates a distance between itself and each voice device according to the received signal strength indication value, the signal strength reference value and the environment attenuation factor corresponding to each voice device, and comprises:
the terminal equipment is according to the formula
Figure FDA0002612818560000021
Calculating the distance between the voice device and each voice device; wherein d is the calculated distance, RSSI is the received signal strength indicator value, A is the signal strength reference value, and n is the signal strength indicator valueAn environmental attenuation factor.
5. The method according to any one of claims 2-4, wherein before the terminal device calculates a distance between itself and the voice device corresponding to each wakeup arbitration request according to the received signal strength indicator value corresponding to each wakeup arbitration request, the method further comprises:
and filtering the received signal strength indicated value corresponding to each awakening arbitration request.
6. The method of claim 1, wherein after the terminal device wakes up the first target voice device, the method further comprises:
and when the first target voice equipment receives a control instruction of a user, determining second target voice equipment which is consistent with the equipment type controlled by the control instruction and is closest to the first target voice equipment in the distributed voice system, and controlling the second target voice equipment to execute the control instruction.
7. The method of claim 6, wherein determining a second target voice device in the distributed voice system that is consistent with the type of device controlled by the control command and closest to the first target voice device comprises:
the first target voice equipment broadcasts a control arbitration request in the distributed voice system according to the control instruction;
the first target voice equipment receives response messages returned by other voice equipment based on the control arbitration request, and measures all the received response messages respectively to obtain a received signal strength indicated value corresponding to each response message;
and the first target voice equipment determines second target voice equipment which is consistent with the equipment type controlled by the control instruction and is closest to the first target voice equipment according to the equipment type controlled by the control instruction and the received signal strength indicated value corresponding to each response message.
8. The method of claim 6, wherein determining a second target voice device in the distributed voice system that is consistent with the type of device controlled by the control command and closest to the first target voice device comprises:
the first target voice equipment identifies the equipment type controlled by the control instruction and sends a control arbitration request to the voice equipment in the distributed voice system, wherein the voice equipment is consistent with the equipment type controlled by the control instruction;
the first target voice equipment receives response messages returned by the voice equipment based on the control arbitration request, and measures all the received response messages respectively to obtain received signal strength indicated values corresponding to all the response messages;
and the first target voice equipment determines second target voice equipment closest to the first target voice equipment from the voice equipment sending the response messages according to the received signal strength indicated values corresponding to the response messages.
9. A distributed voice system is characterized by comprising terminal equipment and a plurality of voice equipment, wherein the plurality of voice equipment are in communication connection with the terminal equipment;
the voice equipment is used for broadcasting a wake-up arbitration request according to a wake-up instruction of a user;
the terminal equipment is used for respectively measuring the signal strength of all the received awakening arbitration requests to obtain a received signal strength indicated value corresponding to each awakening arbitration request;
and the terminal equipment is also used for determining the first target voice equipment closest to the terminal equipment according to the received signal strength indicated value corresponding to each awakening arbitration request and awakening the first target voice equipment.
10. The system according to claim 9, wherein the terminal device is configured to calculate a distance between itself and the voice device corresponding to each wakeup arbitration request according to the received signal strength indicated value corresponding to each wakeup arbitration request, and determine the first target voice device closest to itself according to the distance between itself and the voice device corresponding to each wakeup arbitration request.
11. The system of claim 9, wherein the first target speech device is configured to, upon receiving a control instruction from a user, determine a second target speech device in the distributed speech system, the second target speech device being of a type consistent with a device controlled by the control instruction and being closest to the first target speech device, and control the second target speech device to execute the control instruction.
12. The system according to claim 11, wherein the first target voice device is configured to broadcast a control arbitration request in the distributed voice system according to the control instruction, receive response messages returned by other voice devices based on the control arbitration request, and measure all received response messages respectively to obtain received signal strength indication values corresponding to the respective response messages; and the first target voice equipment is further used for determining second target voice equipment which is consistent with the equipment type controlled by the control instruction and is closest to the first target voice equipment according to the equipment type controlled by the control instruction and the received signal strength indicated value corresponding to each response message.
13. The system according to claim 11, wherein the first target voice device is configured to identify a device type controlled by the control instruction, send a control arbitration request to a voice device in the distributed voice system that is consistent with the device type controlled by the control instruction, receive a response message returned by the voice device based on the control arbitration request, and measure each received response message to obtain a received signal strength indication value corresponding to each response message;
and the first target voice equipment is also used for determining second target voice equipment closest to the first target voice equipment in the voice equipment sending the response messages according to the received signal strength indicated values corresponding to the response messages.
CN202010760087.8A 2020-07-31 2020-07-31 Equipment control method and distributed voice system Pending CN111880855A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010760087.8A CN111880855A (en) 2020-07-31 2020-07-31 Equipment control method and distributed voice system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010760087.8A CN111880855A (en) 2020-07-31 2020-07-31 Equipment control method and distributed voice system

Publications (1)

Publication Number Publication Date
CN111880855A true CN111880855A (en) 2020-11-03

Family

ID=73206124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010760087.8A Pending CN111880855A (en) 2020-07-31 2020-07-31 Equipment control method and distributed voice system

Country Status (1)

Country Link
CN (1) CN111880855A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112837694A (en) * 2021-01-29 2021-05-25 青岛海尔科技有限公司 Equipment awakening method and device, storage medium and electronic device
CN112947208A (en) * 2021-02-26 2021-06-11 北京小米移动软件有限公司 Equipment control method and device, equipment and storage medium
CN113325404A (en) * 2021-05-26 2021-08-31 Oppo广东移动通信有限公司 Method and device for measuring equipment distance and electronic equipment
CN113744735A (en) * 2021-09-01 2021-12-03 青岛海尔科技有限公司 Distributed awakening method and system
CN114915916A (en) * 2021-02-08 2022-08-16 华为技术有限公司 Method for directionally controlling electronic equipment, electronic equipment and readable medium
CN115171703A (en) * 2022-05-30 2022-10-11 青岛海尔科技有限公司 Distributed voice awakening method and device, storage medium and electronic device
WO2022252938A1 (en) * 2021-05-31 2022-12-08 华为技术有限公司 Voice interactive response method and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106954135A (en) * 2017-05-15 2017-07-14 上海与德科技有限公司 A kind of volume adjusting method and device
US20180040076A1 (en) * 2016-08-08 2018-02-08 Sony Mobile Communications Inc. Information processing server, information processing device, information processing system, information processing method, and program
CN108370492A (en) * 2017-01-20 2018-08-03 华为技术有限公司 A kind of method and apparatus of indoor positioning
CN110556115A (en) * 2019-09-10 2019-12-10 深圳创维-Rgb电子有限公司 IOT equipment control method based on multiple control terminals, control terminal and storage medium
CN111246378A (en) * 2020-01-10 2020-06-05 北京腾文科技有限公司 Navigation method based on iBeacon Bluetooth positioning and related components

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180040076A1 (en) * 2016-08-08 2018-02-08 Sony Mobile Communications Inc. Information processing server, information processing device, information processing system, information processing method, and program
CN108370492A (en) * 2017-01-20 2018-08-03 华为技术有限公司 A kind of method and apparatus of indoor positioning
CN106954135A (en) * 2017-05-15 2017-07-14 上海与德科技有限公司 A kind of volume adjusting method and device
CN110556115A (en) * 2019-09-10 2019-12-10 深圳创维-Rgb电子有限公司 IOT equipment control method based on multiple control terminals, control terminal and storage medium
CN111246378A (en) * 2020-01-10 2020-06-05 北京腾文科技有限公司 Navigation method based on iBeacon Bluetooth positioning and related components

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
__承_影__: "RSSI与LQI、接收距离d之间的关系", 《HTTPS://BLOG.CSDN.NET/ALDRIDGE1/ARTICLE/DETAILS/20057827》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112837694A (en) * 2021-01-29 2021-05-25 青岛海尔科技有限公司 Equipment awakening method and device, storage medium and electronic device
CN112837694B (en) * 2021-01-29 2022-12-06 青岛海尔科技有限公司 Equipment awakening method and device, storage medium and electronic device
CN114915916A (en) * 2021-02-08 2022-08-16 华为技术有限公司 Method for directionally controlling electronic equipment, electronic equipment and readable medium
CN114915916B (en) * 2021-02-08 2023-08-22 华为技术有限公司 Method for directionally controlling electronic device, electronic device and readable medium
CN112947208A (en) * 2021-02-26 2021-06-11 北京小米移动软件有限公司 Equipment control method and device, equipment and storage medium
CN113325404A (en) * 2021-05-26 2021-08-31 Oppo广东移动通信有限公司 Method and device for measuring equipment distance and electronic equipment
WO2022247390A1 (en) * 2021-05-26 2022-12-01 Oppo广东移动通信有限公司 Method and apparatus for measuring device distance, electronic device, and readable storage medium
WO2022252938A1 (en) * 2021-05-31 2022-12-08 华为技术有限公司 Voice interactive response method and electronic device
CN113744735A (en) * 2021-09-01 2021-12-03 青岛海尔科技有限公司 Distributed awakening method and system
CN115171703A (en) * 2022-05-30 2022-10-11 青岛海尔科技有限公司 Distributed voice awakening method and device, storage medium and electronic device
CN115171703B (en) * 2022-05-30 2024-05-24 青岛海尔科技有限公司 Distributed voice awakening method and device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN111880855A (en) Equipment control method and distributed voice system
CN108735209B (en) Wake-up word binding method, intelligent device and storage medium
CN111722824B (en) Voice control method, device and computer storage medium
CN109509473B (en) Voice control method and terminal equipment
CN107566985B (en) Method and device for determining main SIM card of mobile terminal
CN109672775B (en) Method, device and terminal for adjusting awakening sensitivity
AU2013324507A1 (en) Low energy short range communication function operation method and apparatus of mobile terminal
CN107608855B (en) Reminding method and mobile terminal
EP3740016A1 (en) Transmission method, mobile terminal, and network device
CN106371326B (en) Storage method and device for equipment working scene
CN105100197B (en) The method and device of application is installed
CN110049107B (en) Internet vehicle awakening method, device, equipment and medium
CN108802835B (en) Wireless charging detection method and device, mobile terminal and wireless charging system
US20150382300A1 (en) Delivering data to a wireless station
CN110097884B (en) Voice interaction method and device
CN107122036B (en) Method and device for adjusting frequency of central processing unit
CN110461031B (en) Terminal device control method and terminal device
CN114022978B (en) Calibration method, key, vehicle, system, electronic device and readable storage medium
CN111669681A (en) Control method and device of intelligent sound equipment and storage medium
CN114120999A (en) Equipment control method and device
CN115985323B (en) Voice wakeup method and device, electronic equipment and readable storage medium
CN108832944A (en) Power compensating method, device, terminal device and storage medium
CN110337147B (en) LORA data communication method based on TMDA and fixed registration window
CN112612874A (en) Data processing method and device and electronic equipment
CN117269946A (en) Distance determining method and device between Bluetooth devices, electronic device and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201103

RJ01 Rejection of invention patent application after publication