Smart device control method, smart home device, non-volatile storage medium and processor

Through the method of voiceprint information analysis and device log matching, the problem of multiple smart home devices responding at the same time when they are in the same location is solved, achieving accurate control and improvement of user experience.

CN114023304BActive Publication Date: 2025-09-02GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111417309.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-25
Publication Date
2025-09-02
Estimated Expiration
2041-11-25

AI Technical Summary

Technical Problem

In the prior art, multiple smart home devices will respond to voice information at the same time when the location information is the same, resulting in inaccurate control.

Method used

By obtaining voiceprint information, analyzing keywords and matching them with the target device's work log, we can determine whether the preset conditions are met, and only respond to devices that meet the conditions are met, so as to avoid multiple devices responding at the same time.

Benefits of technology

It realizes precise control of smart home devices under the same location information, improves user experience and avoids device error response.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114023304B_ABST
    Figure CN114023304B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for controlling smart devices, a smart home device, a non-volatile storage medium, and a processor. The method includes: obtaining voiceprint information, the voiceprint information being used to control a target device to execute a preset action; parsing the voiceprint information to obtain first keyword information; obtaining work logs of one or more target devices, and obtaining corresponding second keyword information based on the work logs of each target device; matching the first keyword information with each second keyword information to determine whether the first keyword information and the second keyword information meet a first preset condition; and if the first keyword information and the second keyword information of one of the target devices meet the first preset condition, the target device corresponding to the second keyword information that meets the first preset condition responds to the voiceprint information. The present invention solves the technical problem of multiple smart homes simultaneously responding to preset actions based on voice information when the location information is the same.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of control technology for smart devices, and in particular to a control method for smart devices, a smart home device, a non-volatile storage medium, and a processor. Background Art

[0002] The prior art discloses a method, device, electronic device, and readable storage medium for processing voice control commands, which involve artificial intelligence technology. This method obtains a user's voice control command via a user voice interface, and then, based on the voice control command, obtains at least two associated operations of the smart home service associated with the voice control command. This allows the control and execution of the at least two associated operations to implement multiple smart home services. This eliminates the need to individually control each smart home device to provide a service. Instead, a single user voice control command can trigger the execution of a series of associated operations, enabling multiple smart home services.

[0003] The prior art also discloses a device control method, apparatus, terminal device, and storage medium, belonging to the field of smart home. The method includes: obtaining a location identifier of a first voice assistant device in response to a user's voice; generating a voice control command based on the user's voice; and using the voice control command to control the operation of a smart home device, where the location identifier of the smart home device is the same as the location identifier of the first voice assistant.

[0004] The prior art also discloses a method, device, electronic device, and storage medium for voice control of smart home devices, the method comprising: receiving a user's voice command as a first voice command; receiving a second voice command sent by a second interactive device; determining whether the priority of the first voice command is higher than the priority of the second voice command, and determining whether the priority of the first connection is higher than the priority of the second connection; when the priority of the first voice command is higher than the priority of the first voice command, and the priority of the first connection is not higher than the priority of the second connection, responding based on the first voice command and controlling the smart home device through the second interactive device. The present application determines the interactive device to respond and the interactive device to control by determining the priority of the received voice command and the priority of the connection established with the smart home device, thereby avoiding erroneous operations caused by multiple interactive devices responding.

[0005] The technical solutions disclosed in the prior art implement home services through voice commands, but they are still only at the level of implementing actions through voice control devices. Moreover, the prior art only discloses solutions for responding to user voices between different location information, and cannot solve the problem of how to solve the device response when the location information is the same, and cannot meet people's daily needs.

[0006] To address the above-mentioned problems, no effective solutions have been proposed so far. Summary of the Invention

[0007] Embodiments of the present invention provide a method for controlling a smart device, a smart home device, a non-volatile storage medium, and a processor to at least solve the technical problem that when the location information is the same, multiple smart homes will simultaneously respond to preset actions based on voice information.

[0008] According to one aspect of an embodiment of the present invention, a method for controlling a smart device is provided, comprising: obtaining voiceprint information, wherein the voiceprint information is used to control a target device to perform a preset action, the preset action comprising at least one of the following: playing audio and video, playing audio, playing real-time news, broadcasting weather information, broadcasting travel route information, broadcasting information of products for sale online, and broadcasting order information; parsing the voiceprint information to obtain first keyword information; obtaining work logs of one or more target devices, wherein the work logs comprise at least one of the following: coding information of the target device, operation time node, operation duration, and operation content; obtaining corresponding second keyword information according to the work logs of each target device; matching the first keyword information with each second keyword information to determine whether the first keyword information and the second keyword information meet a first preset condition; in the case where the first keyword information and the second keyword information of one of the target devices meet the first preset condition, the target device corresponding to the second keyword information that meets the first preset condition responds to the voiceprint information.

[0009] Optionally, before obtaining the work log of one or more target devices, it includes: obtaining the distance information between each target device and the initiator of the voiceprint information; judging whether each distance information meets the second preset condition, and when it is determined that at least one distance information meets the second preset condition, performing hierarchical processing on the target devices corresponding to the distance information that meets the second preset condition, and the target devices corresponding to the same distance information are in the same level, and obtaining the work log of each target device in each level.

[0010] Optionally, before matching the first keyword information with each second keyword information, it includes: obtaining the work log of the target device in the same level, determining the usage frequency of each target device in a preset time period based on the work log of each target device in the same level, sorting the target devices in the same level according to the usage frequency, and assigning the target device a first value.

[0011] Optionally, determining whether the first keyword information and the second keyword information meet the first preset condition includes: obtaining the similarity between each second keyword information and the first keyword information, sorting each target device according to the similarity, and assigning a second value to the target device; determining the weight of each target device based on the first assignment and the second assignment; subtracting the weight from the preset weight, and determining whether the first keyword information and the second keyword information meet the first preset condition based on the difference between the weight and the preset weight.

[0012] Optionally, before obtaining the work logs of one or more target devices, the method includes: collecting image information of the initiator who initiated the voiceprint information, where the image information includes at least one of the following: facial information and height information of the initiator; determining the age information of the initiator based on the image information, and recommending preset information based on the age information.

[0013] Optionally, recommending preset information according to age information includes: obtaining a correlation degree value between the preset information and the first keyword information, sorting the preset information according to the correlation degree value, and recommending the preset information according to the sorting order of the preset information.

[0014] According to another aspect of an embodiment of the present invention, a smart home device is also provided, including: a first acquisition unit, used to acquire voiceprint information, wherein the voiceprint information is used to control the target device to perform a preset action, and the preset action includes at least one of the following: playing audio and video, playing audio, playing real-time news, broadcasting weather information, broadcasting travel route information, broadcasting online product information, and broadcasting order information; a parsing unit, used to parse the voiceprint information and obtain first keyword information; a second acquisition unit, used to obtain work logs of one or more target devices, wherein the work logs include at least one of the following: coding information of the target device, operation time node, operation duration, and operation content; a third acquisition unit, used to obtain corresponding second keyword information according to the work logs of each target device; a judgment unit, used to match the first keyword information with each second keyword information, and judge whether the first keyword information and the second keyword information meet a first preset condition; a response unit, used to, when the first keyword information and the second keyword information of one of the target devices meet the first preset condition, the target device corresponding to the second keyword information that meets the first preset condition responds to the voiceprint information.

[0015] Optionally, the smart home device includes: a collection unit, configured to collect image information of the initiator of the voiceprint information, where the image information includes at least one of the following: facial information and height information of the initiator.

[0016] According to another aspect of an embodiment of the present invention, a non-volatile storage medium is provided. The non-volatile storage medium includes a stored program, wherein when the program runs, the device where the non-volatile storage medium is located is controlled to execute the above-mentioned smart device control method.

[0017] According to another aspect of an embodiment of the present invention, a processor is further provided, and the processor is configured to run a program, wherein the program executes the above-mentioned control method for the smart device when running.

[0018] In an embodiment of the present invention, a method of obtaining voiceprint information is adopted to control a target device to execute a preset action through the voiceprint information. The preset action includes at least one of the following: playing audio and video, playing audio, playing real-time news, broadcasting weather information, broadcasting travel route information, broadcasting online product information, and broadcasting order information. The voiceprint information is then parsed to obtain first keyword information and a work log of one or more target devices is obtained, wherein the work log includes at least one of the following: target device coding information, operation time node, operation duration, and operation content. Corresponding second keyword information is obtained based on the work log of each target device. The first keyword information is then matched with each second keyword information to determine whether the first keyword information and the second keyword information meet a first preset condition. If the first keyword information and the second keyword information of one of the target devices meet the first preset condition, the target device corresponding to the second keyword information that meets the first preset condition responds to the voiceprint information. This achieves the purpose of preventing multiple target devices from responding to the voiceprint information simultaneously under the same location information, enabling users to accurately control smart home devices, improving user experience, and solving the technical problem that multiple smart home devices simultaneously respond to preset actions based on voice information when the location information is the same. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0020] Figure 1 is a schematic diagram of an optional control method for an intelligent device according to an embodiment of the present invention;

[0021] Figure 2 is a structural block diagram of an optional smart home device according to an embodiment of the present invention;

[0022] Figure 3 4 is a schematic diagram of an optional method for controlling a smart home device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0023] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.

[0024] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0025] According to an embodiment of the present invention, a method embodiment of a method for controlling an intelligent device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0026] Figure 1 is a control method of an intelligent device according to an embodiment of the present invention, such as Figure 1 As shown, the method includes the following steps:

[0027] Step S101: Acquire voiceprint information, wherein the voiceprint information is used to control the target device to perform a preset action, wherein the preset action includes at least one of the following: playing video, playing audio, playing real-time news, broadcasting weather information, broadcasting travel route information, broadcasting online product information, and broadcasting order information;

[0028] Step S102: parsing the voiceprint information to obtain first keyword information;

[0029] Step S103: Obtain work logs of one or more target devices, wherein the work logs include at least one of the following: coding information of the target device, operation time node, operation duration, and operation content;

[0030] Step S104, obtaining corresponding second keyword information according to the work log of each target device;

[0031] Step S105, matching the first keyword information with each second keyword information to determine whether the first keyword information and the second keyword information meet a first preset condition;

[0032] Step S106: When the first keyword information and the second keyword information of one of the target devices meet the first preset condition, the target device corresponding to the second keyword information that meets the first preset condition responds with the voiceprint information.

[0033] Through the above steps, the problem of multiple target devices responding to voiceprint information at the same time under the same location information can be avoided, the user can achieve the effect of precise control of smart home devices, the user experience is improved, and the technical problem of multiple smart homes responding to preset actions according to voice information at the same time when the location information is the same is solved.

[0034] According to a specific embodiment of the present application, the first preset condition may be the similarity between the first keyword information and each second keyword information. For example, when the similarity is greater than 80%, the first keyword information and the second keyword information are considered to meet the first preset condition. For example, the call voice includes "Please play audio and video", the first keyword information is obtained by parsing the voiceprint information, and the first keyword information may be "audio and video", and the second keyword information is obtained based on the work logs of each target device obtained, and the second keyword information may be that one of the target devices has played audio and video in the recent time period. In this case, the first keyword information and the second keyword information match and meet the condition. At this time, the target device responds to the voiceprint information and performs the preset action: play the audio and video.

[0035] Optionally, before obtaining the work logs of one or more target devices, the method includes obtaining distance information between each target device and the initiator of the voiceprint information, determining whether each distance information satisfies a second preset condition, and if at least one distance information satisfies the second preset condition, hierarchically processing the target devices corresponding to the distance information that satisfies the second preset condition. Target devices corresponding to the same distance information are located in the same tier, and the work logs of each target device in each tier are obtained. In this embodiment, the second preset condition can be set to a distance of less than 3 meters from the initiator of the voiceprint information. If there are multiple target devices that meet the second preset condition, a target device with a distance of 1 meter from the initiator of the voiceprint information is located in the same tier, and a target device with a distance of 2 meters from the initiator of the voiceprint information is located in the same tier. In this case, the work logs of each target device in these two tiers are obtained separately. Specifically, the second preset condition is set based on the user's actual needs and can also be set to a distance of less than 5 meters or other distances from the initiator of the voiceprint information. This method can solve the problem of synchronous wake-up of household appliances located in the same location. That is, in this embodiment, household appliances located in the same tier can be excluded according to the first preset condition.

[0036] Furthermore, before matching the first keyword information with each second keyword information, it includes obtaining the work log of the target device in the same level, determining the usage frequency of each target device in a preset time period based on the work log of each target device in the same level, sorting the target devices in the same level according to the usage frequency, and assigning the target devices a first value. For example, when there are three target devices for playing audio and video in the same level, one of the target devices played the audio and video five times in two hours, another target device played the audio and video three times in two hours, and the remaining target device played the audio and video once in two hours, then the three target devices in the same level are sorted according to the usage frequency, among which the target device that played the audio and video five times can be assigned a value of 3, the target device that played the audio and video three times can be assigned a value of 2, and the target device that played the audio and video once can be assigned a value of 1.

[0037] Optionally, determining whether the first keyword information and the second keyword information meet a first preset condition includes obtaining a similarity between each second keyword information and the first keyword information, ranking each target device based on the similarity, performing a second assignment on the target devices, determining a weight for each target device based on the first and second assignments, subtracting the weight from a preset weight, and determining whether the first keyword information and the second keyword information meet the first preset condition based on the difference between the weight and the preset weight. Determining the weight for each target device through the first and second assignments, and then determining whether the first keyword information and the second keyword information meet the first preset condition based on the difference between the weight and the preset weight. If so, causing the corresponding target device to respond to the voiceprint information, thereby accurately waking the target device and causing it to respond to the voiceprint information, effectively solving the problem of multiple target devices simultaneously responding to voiceprint information given the same location information. For example, if the similarity between the second keyword information and the first keyword information of three smart devices is 20%, 50%, and 70%, respectively, then the first and second assignments are multiplied, and the smart home device with the highest weight is selected as the target device to respond to the voiceprint information.

[0038] Optionally, before obtaining the work logs of one or more target devices, the process includes collecting image information of the initiator of the voiceprint information. The image information includes at least one of the following: facial information and height information of the initiator. The initiator's age information is determined based on the image information, and preset information is recommended based on the age information. If the initiator's age information is determined to be a child based on the image information, the recommended preset information may include playing cartoons and children's songs. If the initiator's age information is determined to be an adult based on the image information, the recommended preset information may include playing real-time news and weather reports. If the initiator's age information is determined to be elderly based on the image information, the recommended preset information may include playing health and wellness information.

[0039] Optionally, recommending preset information based on age information includes obtaining a correlation value between the preset information and the first keyword information, sorting the preset information based on the correlation value, and recommending the preset information based on the sort order of the preset information. For example, when the first keyword information is about playing audio and video, and the initiator is determined to be elderly based on the collected age information, the correlation value between the animation in the preset information and the first keyword information should be low, while the correlation value between the health and wellness channel should be high. In this case, the recommended preset information is the health and wellness channel. This configuration can improve the reliability and practicality of the smart device.

[0040] According to another aspect of the embodiment of the present invention, a smart home device is provided. Figure 2The figure shows a structural block diagram of an optional smart home device according to an embodiment of the present invention, including a first acquisition unit 40, a parsing unit 41, a second acquisition unit 42, a third acquisition unit 43, a judgment unit 44 and a response unit 45. The first acquisition unit 40 is used to obtain voiceprint information, wherein the voiceprint information is used to control the target device to perform a preset action, and the preset action includes at least one of the following: playing audio and video, playing audio, playing real-time news, broadcasting weather information, broadcasting travel route information, broadcasting online product sales information, and broadcasting order information. The parsing unit 41 is used to parse the voiceprint information and obtain the first keyword information. The second acquisition unit 42 is used to obtain the work log of one or more target devices, wherein the work log includes at least one of the following: the coding information of the target device, the operation time node, the operation duration, and the operation content; the third acquisition unit 43 is used to obtain the corresponding second keyword information according to the work log of each target device. The judgment unit 44 is used to match the first keyword information with each second keyword information to determine whether the first keyword information and the second keyword information meet the first preset condition. The response unit 45 is used to respond to the voiceprint information of the target device corresponding to the second keyword information that meets the first preset condition when the first keyword information and the second keyword information of one of the target devices meet the first preset condition.

[0041] In an embodiment of the present invention, a smart home device obtains voiceprint information and controls a target device to execute a preset action through the voiceprint information. The preset action includes at least one of the following: playing video, playing audio, playing real-time news, broadcasting weather information, broadcasting travel route information, broadcasting online product information, and broadcasting order information. The voiceprint information is then parsed to obtain first keyword information and a work log of one or more target devices. The work log includes at least one of the following: target device coding information, operation time node, operation duration, and operation content. Corresponding second keyword information is obtained based on the work log of each target device. The first keyword information is then matched with each second keyword information to determine whether the first keyword information and the second keyword information meet a first preset condition. If the first keyword information and the second keyword information of one of the target devices meet the first preset condition, the target device corresponding to the second keyword information that meets the first preset condition responds to the voiceprint information. This achieves the purpose of preventing multiple target devices from responding to the voiceprint information simultaneously under the same location information, enabling users to accurately control smart home devices, improving user experience, and solving the technical problem that multiple smart home devices simultaneously respond to preset actions based on voice information when the location information is the same.

[0042] Optionally, the smart home device includes a collection unit 46 for collecting image information of the initiator of the voiceprint information, wherein the image information includes at least one of the following: facial information and height information of the initiator. This configuration enhances the reliability and practicality of the smart home device.

[0043] like Figure 3 A schematic diagram of an optional smart home device control method according to an embodiment of the present invention is shown, comprising the following steps: Step S201, obtaining voiceprint information; Step S202, determining, based on the voiceprint information, whether a target object has processed information matching the voiceprint information within the shortest time; and Step S203, determining that the device that has processed the target object is the device to be awakened. In the smart home era, there may be multiple smart home devices, not just one. When there are multiple smart home devices, when a user wakes them up via voice, the user labels of the preset parameters are the same, for example, they can all be called "Xiaobai" or "Xiaohei." When the smart home device faces the same user label and roughly the same geographic location, it can determine by analyzing the voiceprint to determine if the voiceprint information is within a preset time period. This allows the smart home device to obtain more command information. For example, if the voice starts with "Xiaobai" and changes to "Open News Broadcast" two seconds later, the smart home device (hereinafter referred to as the home device) can determine the corresponding home device that has recently opened the "News Broadcast" message within the past time period. This home device is not limited to the living room TV. This prevents simultaneous wakeup of devices with the same name tag. For example, if two or more devices have a record of processing the same message, the device's usage data is used to determine the probability of each device being woken up within that time period. The device with the highest probability is the one to be woken up. This setup effectively solves the problem of controlling smart home devices to respond to voice messages based on the same location information, improving the user experience.

[0044] According to another aspect of an embodiment of the present invention, a non-volatile storage medium is provided. The non-volatile storage medium includes a stored program, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute the steps of the control method of the smart device in the above embodiment.

[0045] According to another aspect of an embodiment of the present invention, a processor is further provided. The processor is configured to run a program, wherein the program executes the steps of the control method for an intelligent device in the above embodiment when the program is run.

[0046] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.

[0047] In the above embodiments of the present invention, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0048] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only exemplary. For example, the division of the units can be a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0049] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0050] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0051] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk, etc. Various media that can store program codes.

[0052] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as within the scope of protection of the present invention.

Claims

1. A method for controlling an intelligent device, characterized in that: include: Acquiring voiceprint information, wherein the voiceprint information is used to control the target device to perform a preset action, wherein the preset action includes at least one of the following: playing video, playing audio, playing real-time news, broadcasting weather information, broadcasting travel route information, broadcasting online product information, and broadcasting order information; Parsing the voiceprint information to obtain first keyword information; Obtaining a work log of one or more target devices, wherein the work log includes at least one of the following: coding information of the target device, operation time node, operation duration, and operation content; Acquire corresponding second keyword information according to the work log of each target device; Matching the first keyword information with each of the second keyword information to determine whether the first keyword information and the second keyword information meet a first preset condition; In a case where the first keyword information and the second keyword information of one of the target devices meet a first preset condition, the target device corresponding to the second keyword information that meets the first preset condition responds to the voiceprint information; Before obtaining the work logs of one or more target devices, the method includes: Obtaining distance information between each target device and the initiator of the voiceprint information; determining whether each piece of distance information satisfies a second preset condition; if it is determined that at least one piece of distance information satisfies the second preset condition, hierarchically processing the target devices corresponding to the distance information that satisfies the second preset condition, wherein target devices corresponding to the same piece of distance information are located in the same level, and obtaining a work log for each target device in each level; Before matching the first keyword information with each piece of the second keyword information, the method includes: Obtaining the work logs of the target devices in the same layer, determining the usage frequency of each target device in a preset time period based on the work logs of each target device in the same layer, sorting the target devices in the same layer according to the usage frequency, and performing a first assignment of values ​​to the target devices; Determining whether the first keyword information and the second keyword information meet a first preset condition includes: Obtaining a similarity between each piece of second keyword information and the first keyword information, sorting each of the target devices according to the similarity, and performing a second assignment of values ​​to the target devices; Determine a weight of each of the target devices according to the first assignment and the second assignment; The weight is subtracted from a preset weight, and whether the first keyword information and the second keyword information meet the first preset condition is determined based on the difference between the weight and the preset weight.

2. The control method of the smart device according to claim 1, characterized in that: Before obtaining the work logs of one or more target devices, the method includes: Collecting image information of the initiator of the voiceprint information, wherein the image information includes at least one of the following: facial information and height information of the initiator; The initiator's age information is determined based on the image information, and preset information is recommended based on the age information.

3. The control method of the smart device according to claim 2, characterized in that: Recommending the preset information according to the age information includes: Obtain a correlation degree value between preset information and the first keyword information, sort the preset information according to the correlation degree value, and recommend the preset information according to the sorting order of the preset information.

4. A smart home device, characterized in that: The smart home device is used to perform the method according to any one of claims 1 to 3, comprising: a first acquisition unit, configured to acquire voiceprint information, wherein the voiceprint information is used to control a target device to perform a preset action, wherein the preset action includes at least one of the following: playing video, playing audio, playing real-time news, broadcasting weather information, broadcasting travel route information, broadcasting online product information, and broadcasting order information; an analysis unit, configured to analyze the voiceprint information to obtain first keyword information; A second acquiring unit is configured to acquire distance information between each target device and the initiator of the voiceprint information; a first judgment unit, configured to judge whether each piece of distance information satisfies a second preset condition; if it is determined that at least one piece of distance information satisfies the second preset condition, hierarchically process the target devices corresponding to the distance information that satisfies the second preset condition, wherein target devices corresponding to the same piece of distance information are located in the same hierarchy, and obtain a work log for each target device in each hierarchy; A third acquiring unit is configured to acquire a work log of one or more target devices, wherein the work log includes at least one of the following: coding information of the target device, operation time node, operation duration, and operation content; A fourth acquiring unit, configured to acquire corresponding second keyword information according to the work log of each target device; a fifth acquiring unit, configured to acquire the work logs of the target devices in the same layer, determine the usage frequency of each target device in a preset time period based on the work logs of each target device in the same layer, sort the target devices in the same layer according to the usage frequency, and perform a first assignment on the target devices; A second judgment unit is configured to match the first keyword information with each piece of the second keyword information, and judge whether the first keyword information and the second keyword information meet a first preset condition, wherein the judgment of whether the first keyword information and the second keyword information meet the first preset condition comprises: obtaining a similarity between each piece of the second keyword information and the first keyword information, sorting each of the target devices according to the similarity, and performing a second assignment on the target devices; determining a weight of each of the target devices according to the first assignment and the second assignment; subtracting the weight from a preset weight, and judging whether the first keyword information and the second keyword information meet the first preset condition according to the difference between the weight and the preset weight; The responding unit is configured to, when the first keyword information and the second keyword information of one of the target devices meet a first preset condition, enable the target device corresponding to the second keyword information that meets the first preset condition to respond to the voiceprint information.

5. The smart home device according to claim 4, characterized in that: include: The collecting unit is used to collect image information of the initiator of the voiceprint information, where the image information includes at least one of the following: facial information and height information of the initiator.

6. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored program, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute the control method of the smart device according to any one of claims 1 to 3.

7. A processor, characterized in that: The processor is configured to run a program, wherein the program, when running, executes the method for controlling an intelligent device according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Equipment control method and device

    CN111508483A