Smart home equipment control method, device, server and system
When the home host receives the control instructions sent by the control terminal, it determines the command type and sends it to the device host, centralized control of multiple smart home devices is achieved, solving the complexity problem of users that need to control devices one by one, and improving the user experience.
Patent Information
- Application Number
- CN202411905571.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-23
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2044-12-23
AI Technical Summary
In the prior art, users need to control multiple smart home devices one by one, which increases the complexity of control operations and affects the user experience.
When the home host receives the control command sent by the control terminal, it determines whether the instruction type is a preset type, and when it is determined as a preset type, the control command is sent to the device host, thereby realizing centralized control of multiple smart home devices.
Through simple operations, users can centrally control multiple smart home devices, simplifying control operations and improving user experience.
Smart Images

Figure CN119805950A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart home device control technology, and in particular to a control method, device, server and system for smart home devices. Background Art
[0002] At present, with the continuous development of smart home systems, in order to facilitate the control of smart home devices, multiple smart home devices can generally be controlled through a unified smart terminal, so that one control terminal can be used as the control end of multiple smart home devices, allowing users to enjoy the convenience brought by technology.
[0003] In the prior art, since there are many devices in the smart home system, and the control terminal can control one smart home device at a time when controlling the smart home devices, when the user wants to control multiple smart home devices, they need to control them one by one, which increases the complexity of the control operation of the smart home devices and affects the user experience. Summary of the invention
[0004] The present application provides a control method, device, server and system for smart home devices to solve the technical problem in the prior art that when a user wants to control multiple smart home devices, they need to control them one by one, which increases the complexity of controlling the smart home devices and affects the user experience.
[0005] In a first aspect, the present application provides a control method for a smart home device, which is applied to a home host of a smart home system, wherein the smart home system includes a home host, a control terminal, and a device host, and the method includes:
[0006] When receiving a control instruction sent by the control terminal, determining an instruction type of the control instruction;
[0007] When it is determined that the instruction type is a preset type, the control instruction is sent to the device host, so that the device host determines multiple target smart home devices to be controlled according to the control instruction, and controls the operation of the multiple target smart home devices.
[0008] As an optional implementation manner, the determining the instruction type of the control instruction includes:
[0009] Extracting keywords from the instruction content of the control instruction to obtain instruction keywords;
[0010] Matching the instruction keyword with a preset keyword to obtain a target keyword that matches the instruction keyword;
[0011] The type to which the target keyword belongs is determined as the instruction type of the control instruction.
[0012] As an optional implementation manner, the determining the instruction type of the control instruction includes:
[0013] Acquire the current control scenario from the control terminal;
[0014] Performing scenario analysis on the control scenario to obtain a scenario type corresponding to the control scenario;
[0015] According to the scene type, an instruction type of the control instruction is determined.
[0016] As an optional implementation manner, the determining the instruction type of the control instruction includes:
[0017] Extracting keywords from the instruction content of the control instruction to obtain instruction keywords;
[0018] Matching the instruction keyword with a preset keyword to obtain a target keyword that matches the instruction keyword;
[0019] Determine the type to which the target keyword belongs as the initial instruction type of the control instruction;
[0020] Acquire the current control scenario from the control terminal;
[0021] Determining a scene type of the control scene;
[0022] In the case that the initial instruction type is the same as the control type represented by the scene type, the initial instruction type is determined as the instruction type of the control instruction.
[0023] As an optional implementation manner, after determining the instruction type of the control instruction, the method further includes:
[0024] Sending the instruction type to the control terminal so that the control terminal provides feedback on the instruction type in a preset feedback manner;
[0025] In the case where no new control instruction is received within the preset time period, the step of sending the control instruction to the device host when it is determined that the instruction type is a preset type is performed.
[0026] As an optional implementation, the device host is an audio host, and the smart home device is an audio playback device. When determining that the instruction type is a preset type, sending the control instruction to the device host, so that the device host determines multiple target smart home devices to be controlled according to the control instruction, and controls the operation of the multiple target smart home devices, including:
[0027] In the case where it is determined that the instruction type is an audio setting type, sending the control instruction to the audio host;
[0028] Among them, the audio host is used to determine the audio signal to be sent and at least one first target audio playback device to be controlled according to the control instruction; and send the audio signal to the first target audio playback device so that the first target audio playback device plays the received audio signal.
[0029] As an optional implementation, the method further includes:
[0030] In the case where it is determined that the instruction type is a system setting type, determining at least one second target audio playback device corresponding to the control instruction;
[0031] The control instruction is sent to the second target audio playback device, so that the second target audio playback device updates the current system settings according to the received control instruction.
[0032] As an optional implementation manner, after sending the control instruction to the device host, the method further includes:
[0033] When receiving the operating status of each target smart home device sent by the device host, sending the operating status of each target smart home device to the control terminal, so that the control terminal displays the operating status through a visual interface;
[0034] Among them, after receiving the control instruction, the device host controls the operation of multiple target smart home devices according to the control instruction, obtains the operating status of each of the target smart home devices, and sends the operating status of each of the target smart home devices to the home host.
[0035] As an optional implementation, the smart home system further includes a plurality of other smart home devices of different types, and the other smart home devices are of different device types from the smart home devices controlled by the device host;
[0036] After determining the instruction type of the control instruction, the method further includes:
[0037] In a case where the instruction type is used to represent control of at least one of the other smart home devices, determining, according to the control instruction, a target other smart home device and a sub-control instruction of each of the target other smart home devices from the plurality of the other smart home devices;
[0038] The corresponding sub-control instructions are respectively sent to the target other smart home devices, so that the target other smart home devices operate according to the received sub-control instructions.
[0039] As an optional implementation, the method further includes:
[0040] Obtaining the version number of the preset program in the control terminal at each preset time interval;
[0041] Obtaining the current version number of the preset program from the cloud server;
[0042] When it is determined that the version number is inconsistent with the current version number, obtaining an upgrade package corresponding to the preset program from the cloud server;
[0043] The upgrade package is sent to the control terminal, so that the control terminal upgrades the preset program according to the received upgrade package.
[0044] As an optional implementation manner, the control terminal generates the control instruction in the following manner:
[0045] When a control operation for at least one smart home device is received through the visual interface, a corresponding control instruction is generated according to the control operation;
[0046] or,
[0047] When a voice signal is collected by a preset sound collection module, the voice signal is recognized to obtain a recognition result;
[0048] In a case where the recognition result indicates control of at least one of the smart home devices, a corresponding control instruction is generated according to the recognition result.
[0049] In a second aspect, the present application provides a control device for a smart home device, which is applied to a home host of a smart home system, wherein the smart home system includes a home host, a smart terminal, and a device host, and the device includes:
[0050] A determination module, configured to determine the instruction type of the control instruction when receiving the control instruction sent by the control terminal;
[0051] A sending module is used to send the control instruction to the device host when it is determined that the instruction type is a preset type, so that the device host determines multiple target smart home devices to be controlled according to the control instruction and controls the operation of the multiple target smart home devices.
[0052] In a third aspect, the present application provides a server comprising: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; the memory is used to store a computer program; and the processor is used to implement the control method of the smart home device described in any one of the first aspects when executing the computer program.
[0053] In a fourth aspect, the present application provides a control system for a smart home device, including a terminal device, a server, and a host device;
[0054] The terminal device is used to generate a control instruction and send the control instruction to the server;
[0055] The server is used to execute the control method of the smart home device described in any one of the first aspects;
[0056] The host device is used to receive the control instruction sent by the server, and determine multiple target smart home devices to be controlled according to the control instruction, so as to control the operation of the multiple target smart home devices.
[0057] In a fifth aspect, the present application provides a storage medium having a computer program stored thereon, which, when executed by a processor, implements the control method of the smart home device described in any one of the first aspects.
[0058] The above technical solution provided by the embodiment of the present application has the following advantages over the prior art: the method provided by the embodiment of the present application, when the home host receives the control instruction sent by the control terminal, the home host determines whether the instruction type of the control instruction is consistent with the preset type of the device host, and when it is determined that the instruction type is the above preset type, the control instruction is sent to the device host, and multiple smart home devices are centrally controlled through the device host. Through the interaction between the control terminal, the home host, and the device host, the user can centrally control multiple smart home devices through simple operations on the control terminal, thereby realizing centralized control of multiple smart home devices through simple operations, simplifying the control operations of multiple smart home devices, and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0060] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0061] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0062] Figure 1 A schematic diagram of the structure of a smart home system provided in an embodiment of the present application;
[0063] Figure 2 A flowchart of an embodiment of a control method for a smart home device provided in an embodiment of the present application;
[0064] Figure 3 A flowchart of another embodiment of a control method for a smart home device provided in an embodiment of the present application;
[0065] Figure 4 A flowchart of another embodiment of a control method for a smart home device provided in an embodiment of the present application;
[0066] Figure 5 A flowchart of another embodiment of a control method for a smart home device provided in an embodiment of the present application;
[0067] Figure 6 A flowchart of an embodiment of a control method for a smart home device provided in an embodiment of the present application;
[0068] Figure 7 A schematic diagram of the structure of another smart home system provided in an embodiment of the present application;
[0069] Figure 8 A flowchart of an embodiment of a control method for a smart home device provided in an embodiment of the present application;
[0070] Fig. 9 A block diagram of an embodiment of a control device for a smart home device provided in an embodiment of the present application;
[0071] Fig.10 A schematic diagram of the structure of a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0072] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0073] The disclosure below provides many different embodiments or examples to implement different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.
[0074] In order to solve the technical problem in the prior art that when a user wants to control multiple smart home devices, they need to control them one by one, which increases the complexity of controlling the smart home devices and affects the user experience, the present application provides a control method, device, server and system for smart home devices. When a home host receives a control instruction sent by a control terminal, the home host can determine whether the instruction type of the control instruction is consistent with the preset type of the device host, and when it is determined that the instruction type is the above preset type, the control instruction is sent to the device host, and the multiple smart home devices are centrally controlled through the device host. Through the interaction between the control terminal, the home host and the device host, the user can centrally control multiple smart home devices through simple operations on the control terminal, thereby realizing centralized control of multiple smart home devices through simple operations, simplifying the control operations of multiple smart home devices and improving the user experience.
[0075] To facilitate understanding of the control method of the smart home device provided in the present application, the smart home system involved in the control method of the smart home device is first illustrated below by way of example.
[0076] See also Figure 1 , is a schematic diagram of the structure of a smart home system provided in an embodiment of the present application. Figure 1 As shown, the smart home system 10 may include: a home host 11, a control terminal 12, and a device host 13.
[0077] The home host 11 can be used as a control center in the smart home system 10. It can combine edge computing technology to perform data processing and decision-making locally, thereby reducing dependence on the cloud and reducing the delay in command transmission. The home host can be a local server, which can be a single server or a cluster of multiple servers. This embodiment of the application does not limit this.
[0078] The control terminal 12 is a terminal device in the smart home system 10, which can be a central control screen in the smart home system 10 or other display devices. The control terminal 12 can be used to interact with the user, thereby obtaining user operations through a visual interface and generating corresponding control instructions according to the user operations. It can also be used to display the operating status of multiple smart home devices in the smart home system 10.
[0079] The device host 13 is a host device for centrally controlling multiple smart home devices. The device host 13 can simultaneously control smart home devices 131, smart home devices 132, and smart home devices 133 in the smart home system 10. The smart home devices (smart home devices 131, smart home devices 132, and smart home devices 133) can be smart home devices of the same type. For example, the smart home devices are audio devices located in different areas, and the device host 13 is a music host. The device host 13 can be a separate server, a cluster of multiple servers, or other devices, which is not limited in the present embodiment of the application.
[0080] In the prior art, a smart home system generally includes a control terminal and multiple smart home devices. When a user wants to control a smart home device, he or she can generally control it individually through the control terminal. This means that if the user wants to control multiple smart home devices, they need to control them one by one through the control terminal, which increases the complexity of controlling the smart home devices and affects the user experience.
[0081] In this regard, the present application provides a control method for smart home devices, which can realize centralized control of multiple smart home devices through simple operations, simplify the control operations of multiple smart home devices, and improve user experience.
[0082] The control method of the smart home device provided in the present application is further explained below with reference to specific embodiments in conjunction with the accompanying drawings. The embodiments do not constitute a limitation on the embodiments of the present application.
[0083] See also Figure 2 , is a flow chart of an embodiment of a control method of a smart home device provided in an embodiment of the present application. As an embodiment, Figure 2The process shown can be applied to a home host in a smart home system, which may include a home host, a control terminal, and a device host, such as Figure 1 The home host 11 in the smart home system 10 is shown. Figure 2 As shown, the process may include the following steps:
[0084] Step 201: upon receiving a control instruction sent by a control terminal, determine the instruction type of the control instruction.
[0085] The above-mentioned control instructions refer to instructions used to instruct the operation of smart home devices, which may include but are not limited to: the device identification of the target smart home device to be controlled, the operating status of the target smart home device to be operated, etc., and the embodiments of the present application do not limit this.
[0086] The above instruction type represents the control type of the control instruction on the smart home device, which may include but is not limited to: system setting type, device operation type, etc., and the present application embodiment does not limit this. For example, when the smart home device is an audio device, the system setting type may refer to the system settings of the audio, such as volume settings, playback settings, etc., and the above device operation type refers to the playback settings of the audio for specific audio.
[0087] In an embodiment of the present application, the control terminal can generate a control instruction for controlling the smart home device according to the user operation, and send the control instruction to the home host.
[0088] As an optional implementation method, the user can perform control operations through the visual interface of the control terminal. Based on this, when the control terminal receives a control operation for at least one smart home device through the visual interface, it can generate a corresponding control instruction according to the control operation.
[0089] As another optional implementation method, the user can perform voice control operations on the control terminal. Based on this, when the control terminal collects a voice signal through a preset sound collection module, the control terminal can recognize the voice signal and obtain a recognition result.
[0090] Afterwards, when the recognition result indicates that at least one smart home device is controlled, a corresponding control instruction may be generated according to the recognition result.
[0091] Based on the control instruction sent by the control terminal, after receiving the control instruction, the home host can determine the instruction type of the control instruction.
[0092] As for how to determine the instruction type of the control instruction, it can be respectively described below. Figure 3 , Figure 4 ,as well as Figure 5The process shown is described.
[0093] In addition, in order to further determine the accuracy of the command type, after determining the command type of the control command, the home host can send the command type to the control terminal, so that the control terminal can feedback the command type in a preset feedback manner. For example, if the command type of the control command is to adjust the volume, then the following feedback can be used to feedback "adjusting the volume".
[0094] Based on this, after the control terminal feeds back the above instruction type, the user can determine whether the instruction type is accurate. If it is accurate, the user does not need to perform any operation; if it is inaccurate, the user can modify it through the visual interface or voice.
[0095] In this regard, if the home host does not receive a new control instruction within the preset time, then the following step 202 may be continued. The preset time is a preset time during which the user can modify the instruction, for example, 30 seconds.
[0096] Optionally, if the home host receives a new control instruction within a preset time period, the new control instruction may replace the current control instruction and the instruction type of the new control instruction may be re-determined.
[0097] Step 202: When it is determined that the instruction type is a preset type, the control instruction is sent to the device host, so that the device host controls multiple target smart home devices to be controlled according to the control instruction, and controls the operation of the multiple target smart home devices.
[0098] The above-mentioned preset type refers to a control type that can be implemented by the device host. For example, when the device host is an audio host, the preset type may be a type related to audio playback, such as playing preset audio.
[0099] The target smart home device mentioned above refers to the smart home device to be controlled by the control instruction determined by the device host.
[0100] In the embodiment of the present application, after determining the instruction type of the received control instruction, the home host may determine whether the instruction type is a preset type.
[0101] Optionally, when it is determined that the instruction type is a preset type, it means that the device host can control multiple smart home devices according to the control instruction, and therefore, the control instruction can be sent to the device host.
[0102] Afterwards, after receiving the control instruction, the device host can determine multiple target smart home devices to be controlled according to the control instruction, and control the operation of the multiple target smart home devices.
[0103] Optionally, when it is determined that the instruction type is not a preset type, it means that the control instruction does not need to be executed by the device host, so the home host can determine the target smart home device to be controlled according to the control instruction, and send the control instruction to the target smart home device.
[0104] The technical solution provided by the embodiment of the present application determines the instruction type of the control instruction when receiving the control instruction sent by the control terminal, and sends the control instruction to the device host when determining that the instruction type is a preset type, so that the device host controls multiple target smart home devices to be controlled according to the control instruction, and controls the operation of multiple target smart home devices. This technical solution determines whether the instruction type of the control instruction is consistent with the preset type of the device host when the home host receives the control instruction sent by the control terminal, and sends the control instruction to the device host when determining that the instruction type is the preset type, and centrally controls multiple smart home devices through the device host. Through the interaction between the control terminal, the home host, and the device host, the user can centrally control multiple smart home devices through simple operations on the control terminal, thereby realizing centralized control of multiple smart home devices through simple operations, simplifying the control operations of multiple smart home devices, and improving user experience.
[0105] See also Figure 3 , which is a flow chart of an embodiment of another method for controlling a smart home device provided in an embodiment of the present application. Figure 3 The process shown in Figure 1 Based on the process shown in FIG. 1 , the specific method for determining the instruction type of the control instruction is described. Figure 3 As shown, the process may include the following steps:
[0106] Step 301: extract keywords from the instruction content of the control instruction to obtain instruction keywords.
[0107] Step 302: Match the above instruction keyword with a preset keyword to obtain a target keyword that matches the instruction keyword.
[0108] Step 303: Determine the type to which the target keyword belongs as the instruction type of the control instruction.
[0109] The following is a unified description of steps 301 to 303:
[0110] The above control instructions refer to Figure 2 In the process shown, the home host receives the control command sent by the control terminal.
[0111] The above-mentioned preset keywords are pre-set keywords related to the control instructions, and the keywords related to the control instructions can be extracted according to a plurality of control instructions acquired in advance.
[0112] In the embodiment of the present application, in order to determine the instruction type of the received control instruction, the home host may perform keyword extraction on the control instruction to obtain the keywords in the control instruction (hereinafter referred to as "instruction keywords" for ease of description).
[0113] Afterwards, the above instruction keyword may be matched with a preset keyword to obtain a target keyword matching the instruction keyword, and the type to which the target keyword belongs may be determined as the instruction type of the control instruction.
[0114] For example, assume that the instruction types include music playback control type and system setting control type, among which the music playback control type usually includes actions related to audio content, such as "play", "pause", "switch track", "stop", "next song", "previous song", etc. These instructions are closely related to the selection of music content and the control of playback status, while the system setting control instructions usually involve volume adjustment, sound source selection, device connection settings, etc., such as "volume up", "volume down", "switch sound source", "sound effect settings", etc. These instructions involve system-level adjustments rather than specific music playback.
[0115] Assuming that the content of the control instruction is "play the next piece of music", the instruction keywords obtained through keyword extraction are "play" and "next". After that, by matching the instruction keywords with the preset keywords, the target keywords can be obtained as "play" and "next". From the preset keywords, it can be known that the type of the target keyword is the music playback control type, so it can be determined that the instruction type of the control instruction is the music playback control type.
[0116] Step 304: Send the above instruction type to the control terminal, so that the control terminal can feedback the instruction type according to a preset feedback method.
[0117] Step 305: When no new control instruction is received within the preset time period, if the instruction type is determined to be a preset type, the control instruction is sent to the device host.
[0118] The following is a unified description of step 304 and step 305:
[0119] In the embodiment of the present application, in order to further determine the accuracy of the instruction type, after determining the instruction type of the control instruction, the home host can send the instruction type to the control terminal, so that the control terminal can feedback the instruction type in a preset feedback manner. For example, if the instruction type of the control instruction is to adjust the volume, then the following method can be used to feedback "adjusting the volume".
[0120] Based on this, after the control terminal feeds back the above instruction type, the user can determine whether the instruction type is accurate. If it is accurate, the user does not need to perform any operation; if it is inaccurate, the user can modify it through the visual interface or voice.
[0121] In this regard, if the home host does not receive a new control instruction within a preset time, it can send the control instruction to the device host when it is determined that the instruction type is a preset type. The preset time is a preset user-modifiable instruction time, such as 30 seconds.
[0122] Optionally, if the home host receives a new control instruction within a preset time period, the new control instruction may replace the current control instruction and the instruction type of the new control instruction may be re-determined.
[0123] The technical solution provided by the embodiment of the present application extracts keywords from the instruction content of the control instruction to obtain instruction keywords, matches the above instruction keywords with preset keywords to obtain target keywords that match the instruction keywords, determines the type to which the target keywords belong as the instruction type of the control instruction, and sends the above instruction type to the control terminal so that the control terminal can provide feedback on the instruction type in a preset feedback manner. If no new control instruction is received within a preset time period, if the instruction type is determined to be a preset type, the control instruction is sent to the device host. This technical solution accurately determines the instruction type of the control instruction by extracting the instruction keywords of the control instruction and determining the instruction type of the control instruction based on two different levels of user feedback.
[0124] See also Figure 4 , which is a flow chart of an embodiment of another method for controlling a smart home device provided in an embodiment of the present application. Figure 4 The process shown in Figure 1 Based on the process shown in FIG. 1 , the specific method for determining the instruction type of the control instruction is described. Figure 4 As shown, the process may include the following steps:
[0125] Step 401: Acquire the current control scenario from the control terminal.
[0126] Step 402: Analyze the above control scenario to obtain the scenario type corresponding to the control scenario.
[0127] Step 403: Determine the instruction type of the control instruction according to the above scenario type.
[0128] The following is a unified description of steps 401 to 403:
[0129] The above-mentioned control scenario refers to the scenario corresponding to when the control terminal generates a control instruction, which can be determined according to the visual interface of the control terminal.
[0130] In the embodiment of the present application, when determining the instruction type of the control instruction, the home host can obtain the current control scene from the control terminal.
[0131] As an optional implementation, the home host can obtain the current display interface of the control terminal and determine the current control scene according to the display interface. For example, when the display interface is a music playback interface, the current control scene can be determined to be a music playback scene; for another example, when the display interface is a volume control interface, the current control scene can be determined to be a system setting scene.
[0132] Based on this, a scenario analysis may be performed on the above control scenario to obtain a scenario type corresponding to the control scenario, and the instruction type of the control instruction may be determined according to the scenario type.
[0133] For example, assuming that the current control scene is determined to be a music playing scene, through analysis of the music playing scene, it can be known that the scene type of the music playing scene is a music playing control type, and the instruction type of the corresponding control instruction is a music control type.
[0134] Step 404: Send the above instruction type to the control terminal, so that the control terminal can feedback the instruction type according to a preset feedback method.
[0135] Step 405: When no new control instruction is received within the preset time period, if the instruction type is determined to be a preset type, the control instruction is sent to the device host.
[0136] The following is a unified description of step 404 and step 405:
[0137] In the embodiment of the present application, in order to further determine the accuracy of the instruction type, after determining the instruction type of the control instruction, the home host can send the instruction type to the control terminal, so that the control terminal can feedback the instruction type in a preset feedback manner. For example, if the instruction type of the control instruction is to adjust the volume, then the following method can be used to feedback "adjusting the volume".
[0138] Based on this, after the control terminal feeds back the above instruction type, the user can determine whether the instruction type is accurate. If it is accurate, the user does not need to perform any operation; if it is inaccurate, the user can modify it through the visual interface or voice.
[0139] In this regard, if the home host does not receive a new control instruction within a preset time, it can send the control instruction to the device host when it is determined that the instruction type is a preset type. The preset time is a preset user-modifiable instruction time, such as 30 seconds.
[0140] Optionally, if the home host receives a new control instruction within a preset time period, the new control instruction may replace the current control instruction and the instruction type of the new control instruction may be re-determined.
[0141] The technical solution provided by the embodiment of the present application obtains the current control scene from the control terminal, analyzes the control scene, obtains the scene type corresponding to the control scene, determines the command type of the control instruction according to the scene type, and sends the command type to the control terminal so that the control terminal can feedback the command type in a preset feedback method. If the command type is determined to be a preset type when no new control instruction is received within a preset time, the control instruction is sent to the device host. This technical solution determines the command type of the control instruction by determining the control scene in which the control instruction is currently located and the user feedback. It can accurately determine the command type of the control instruction through different levels, thereby improving the accuracy of determining the command type of the control instruction.
[0142] See also Figure 5 , which is a flow chart of an embodiment of another method for controlling a smart home device provided in an embodiment of the present application. Figure 5 The process shown in Figure 1 Based on the process shown in FIG. 1 , the specific method for determining the instruction type of the control instruction is described. Figure 5 As shown, the process may include the following steps:
[0143] Step 501: extract keywords from the instruction content of the control instruction to obtain instruction keywords.
[0144] Step 502: Match the above instruction keyword with a preset keyword to obtain a target keyword that matches the instruction keyword.
[0145] Step 503: Determine the type to which the target keyword belongs as the initial instruction type of the control instruction.
[0146] For a detailed description of steps 501 to 503 , please refer to the description of steps 301 to 303 , which will not be described in detail here.
[0147] Step 504: Acquire the current control scenario from the control terminal.
[0148] Step 505: Determine the scene type of the control scene.
[0149] Step 506: When the initial instruction type is the same as the control type represented by the scene type, the initial instruction type is determined as the instruction type of the control instruction.
[0150] The following is a unified description of steps 504 to 506:
[0151] The above-mentioned initial control instruction refers to the instruction type preliminarily determined by extracting keywords through the instruction content of the control instruction.
[0152] The above-mentioned control scenario refers to the scenario corresponding to when the control terminal generates a control instruction, which can be determined according to the visual interface of the control terminal.
[0153] In the embodiment of the present application, when determining the instruction type of the control instruction, the home host can obtain the current control scene from the control terminal.
[0154] As an optional implementation, the home host can obtain the current display interface of the control terminal and determine the current control scene according to the display interface. For example, when the display interface is a music playback interface, the current control scene can be determined to be a music playback scene; for another example, when the display interface is a volume control interface, the current control scene can be determined to be a system setting scene.
[0155] Based on this, a scenario analysis may be performed on the above control scenario to obtain a scenario type corresponding to the control scenario.
[0156] Afterwards, it can be determined whether the control type represented by the above-mentioned scene type and the initial instruction type is the same. If they are the same, it can be determined that the instruction type of the control instruction is the above-mentioned initial instruction type.
[0157] Step 507: Send the above instruction type to the control terminal, so that the control terminal can feedback the instruction type according to a preset feedback method.
[0158] Step 508: When no new control instruction is received within the preset time period, if the instruction type is determined to be a preset type, the control instruction is sent to the device host.
[0159] For a detailed description of step 507 and step 508, please refer to the description of step 304 and step 305, or step 404 and step 405, which will not be repeated here.
[0160] The technical solution provided in the embodiment of the present application performs keyword extraction on the instruction content of the control instruction, determines the instruction type based on the keywords, determines the control scenario in which the control instruction is currently located, determines the instruction type based on the scenario type of the control scenario, and determines the instruction type based on user feedback. By combining the above three aspects, the instruction type of the control instruction can be determined more accurately, thereby improving the accuracy of determining the instruction type of the control instruction.
[0161] See also Figure 6 , is a flow chart of an embodiment of a control method for a smart home device provided in an embodiment of the present application. Figure 6 The process shown in Figure 1 Based on the process shown in the figure, it describes how to send control instructions to the device host when the device host is an audio host and the smart home device is an audio playback device, so that the device host determines multiple target smart home devices to be controlled according to the control instructions and controls the operation of multiple target smart home devices. Figure 6 As shown, the process may include the following steps:
[0162] Step 601 , determine whether the instruction type is an audio setting type, if so, execute step 602 ; if not, execute step 605 .
[0163] Step 602: Send the control instruction to the audio host.
[0164] Step 603: The audio host is used to determine the audio signal to be sent and at least one first target audio playback device to be controlled according to the control instruction.
[0165] Step 604: The audio host is used to send the audio signal to the first target audio playback device, so that the first target audio playback device plays the audio signal.
[0166] The following is a unified description of steps 601 to 604:
[0167] The above-mentioned audio host is a host used to control the audio playback device, which can be a server or a cluster composed of multiple servers, and the embodiment of the present application does not limit this.
[0168] The above-mentioned audio playback device refers to a device used to play audio, such as a speaker, a loudspeaker, etc., and the embodiments of the present application do not limit this.
[0169] The above-mentioned audio setting type refers to an instruction for setting the audio signal that can be played, which may include but is not limited to: switching the playback of the currently played audio signal, pausing the playback, etc., and the embodiment of the present application does not limit this.
[0170] In the embodiment of the present application, when the device host is a host for controlling an audio playback device, after determining the instruction type of the control instruction, the home host may determine whether the instruction type is an audio setting type.
[0171] Optionally, when it is determined that the instruction type is an audio setting type, it is indicated that the control instruction is used to control the audio signal playback of the audio playback device. Based on this, the home host can send the control instruction to the audio host.
[0172] Afterwards, after receiving the control instruction, the audio host can determine the audio signal to be sent and at least one target audio playback device to be controlled (hereinafter referred to as "first target audio playback device" for ease of description) according to the control instruction. The above audio signal can be an audio signal to be played, such as music, etc., and the embodiment of the present application does not limit this.
[0173] Afterwards, the audio host may send the determined audio signal to the first target audio playback device, so that the first target audio playback device plays the received audio signal.
[0174] Step 605: When it is determined that the instruction type is a system setting type, determine at least one second target audio playback device corresponding to the control instruction.
[0175] Step 606: Send the control instruction to the second target audio playback device, so that the second target audio playback device updates the current system settings according to the received control instruction.
[0176] The following is a unified description of step 605 and step 606:
[0177] The above-mentioned system setting type refers to an instruction for setting system parameters of smart home devices, such as volume setting, sound source setting, etc., which is not limited in this embodiment of the present application.
[0178] In an embodiment of the present application, when the home host determines that the instruction type of the control instruction is a system setting type, it indicates that the control instruction is used to control the system parameters of the audio playback device. Therefore, at least one target audio playback device corresponding to the control instruction can be directly determined (for ease of description, hereinafter referred to as the "second target audio playback device").
[0179] Afterwards, the control instruction may be sent to the second target audio playback device, so that the second target audio playback device may update the current system settings according to the received control instruction.
[0180] The technical solution provided by the embodiment of the present application determines whether the instruction type is an audio setting type. If so, the control instruction is sent to the audio host, and the audio host is used to determine the audio signal to be sent and at least one first target audio playback device to be controlled according to the control instruction. The audio host is used to send the audio signal to the first target audio playback device so that the first target audio playback device plays the above audio signal; if not, when it is determined that the instruction type is a system setting type, at least one second target audio playback device corresponding to the control instruction is determined, and the control instruction is sent to the second target audio playback device so that the second target audio playback device updates the current system settings according to the received control instruction. This technical solution realizes the flexibility of processing control instructions and improves user experience by distinguishing the instruction types of control instructions into audio setting types and system setting types, so that the audio host executes the control instructions corresponding to the audio setting type, and the home host executes the control instructions corresponding to the system setting type.
[0181] In one embodiment, the control terminal can be used to display the operating status of the smart home device. Based on this, on the basis of the above process, after the home host sends the control instruction to the device host, the device host can control the operation of multiple target smart home devices according to the control instruction and obtain the operating status of each target smart home device. Afterwards, the operating status of each target smart home device can be sent to the home host.
[0182] Based on this, when the home host receives the operating status of each target smart home device sent by the device host, it can send the operating status of each target smart home device to the control terminal, so that the control terminal displays the above operating status through a visual interface.
[0183] In this embodiment, the operating status of the smart home device can be displayed in real time through the control terminal, so that the user can understand the operating status of the smart home device in time, thereby improving the user experience.
[0184] In one embodiment, the smart home system in the embodiment of the present application may also include multiple other smart home devices of different types, and the device types of the other smart home devices are different from those of the smart home devices controlled by the device host. For example, the smart home device controlled by the device host is a speaker, and the other smart home devices are a smart washing machine, a smart air conditioner, etc.
[0185] Based on this, after determining the instruction type of the control instruction, when determining that the instruction type is used to characterize the control of at least one other smart home device, the home host can determine the target other smart home device from multiple other smart home devices, as well as the sub-control instructions for each target other smart home device based on the control instruction.
[0186] Afterwards, corresponding sub-control instructions may be sent to other target smart home devices respectively, so that other target smart home devices operate according to the received sub-control instructions.
[0187] In this embodiment, the home host can uniformly control multiple smart home devices of the same type through the device host, and can also group control multiple smart home devices of different types by itself, thereby realizing centralized control of any multiple smart home devices in the smart home system through the home host, control terminal, and / or device host, simplifying the control process and improving user experience.
[0188] In one embodiment, the home host can realize automatic upgrade of the application program in the control terminal.
[0189] As an optional implementation, the home host can obtain the version number of the preset program in the control terminal at a preset time interval. The preset program can be a program preset by the user for automatic upgrade.
[0190] Afterwards, the current version number of the preset program can be obtained from the cloud server.
[0191] Afterwards, when it is determined that the above version number is inconsistent with the current version number, an upgrade package corresponding to the preset program can be obtained from the cloud server and sent to the control terminal, so that the control terminal upgrades the preset program according to the received upgrade package.
[0192] In this embodiment, the home host can automatically upgrade the preset program in the control terminal, avoiding the complicated operation of the user manually upgrading the preset program, thereby improving the user experience.
[0193] See also Figure 7 , is a structural diagram of another smart home system provided in an embodiment of the present application. Figure 7 The structure shown in the figure takes the control terminal as the central control screen and the device host as the music host as an example to illustrate the smart home system. Figure 7 As shown, the system may include: a central control screen, a home host, and a music host.
[0194] Among them, the above-mentioned central control screen can be a user interface, used to display the system status and accept user input commands (such as selecting music, adjusting the volume, switching audio sources, etc.).
[0195] The above-mentioned home host (which can be a controller) processes user instructions, forwards the instructions to the music host, and manages the communication between devices.
[0196] The above-mentioned music host is responsible for the playback and output of audio files and can be connected to external audio equipment.
[0197] Based on this system, the present application embodiment provides Figure 8 The control method of the smart home device shown:
[0198] See also Figure 8 , is a flow chart of another embodiment of a control method for a smart home device provided in an embodiment of the present application. Figure 8 As shown, the process may include the following steps:
[0199] (1) User interaction and command input: Users perform operations through the central control screen (such as selecting playlists, switching songs, pausing / playing, etc.).
[0200] (2) The central control screen receives user commands through touch or voice input and forwards these commands to the home host.
[0201] (3) The home host processes and forwards commands:
[0202] ①After receiving the command from the central control screen, the home host parses the command content;
[0203] ②Based on the type of command, the home host decides the next step;
[0204] ③ If it is an operation related to music playback (such as play, pause, switch tracks), the command will be sent to the music host;
[0205] Steps to distinguish instruction types:
[0206] 1. Pattern matching of instruction content:
[0207] The home host matches and classifies the received commands according to their content. Common command types have fixed keywords or formats, and the home host can distinguish commands by these characteristics. For example:
[0208] Music playback control: Commands usually include actions related to audio content, such as "play", "pause", "switch track", "stop", "next song", "previous song", etc. These commands are closely related to the selection of music content and the control of playback status;
[0209] System settings control: Commands usually involve volume adjustment, sound source selection, device connection settings, etc., such as "volume up", "volume down", "switch sound source", "sound effect settings", etc. These commands involve system-level adjustments rather than specific music playback.
[0210] 2. Contextual analysis:
[0211] After the command type matches, the command type is confirmed again based on the context information. For example, some commands have clear directions in specific scenarios: if the user is currently operating the music playback interface, the command is more likely to be about music control; if the user is in the device settings interface or volume adjustment interface, the command is more likely to be related to system settings.
[0212] 3. Instruction type feedback and confirmation:
[0213] The home host sends back command type confirmation information to the central control screen to ensure that the command is correctly classified and executed. For example, it displays or voice prompts: "Adjusting the volume" or "Switch to the next track".
[0214] ④ If it is an operation related to system settings (such as volume adjustment, audio source switching), the home host communicates directly with the relevant devices.
[0215] (4) Music playback control:
[0216] ① The music host receives the instructions sent by the home host and performs corresponding operations (such as playing specific tracks, adjusting audio output, etc.);
[0217] ②The music host outputs audio signals to external audio equipment via Bluetooth, WiFi or wired connection.
[0218] (5) Status feedback and display:
[0219] ① The music host feeds back the current playback status (such as current track, playback progress, volume, etc.) to the home host;
[0220] ②The home host forwards the status information to the central control screen and updates the user interface display in real time, making it easier for users to understand the current status of the system.
[0221] In addition, the home host can also manage and control other smart devices (such as lights, curtains, etc.) and centrally control them through the central control screen.
[0222] In addition, the system supports functional expansion through firmware upgrades of the home host, such as supporting more audio formats, increasing compatibility with other devices, etc.
[0223] This application proposes modularizing the functions of the central control screen, home host and music host. The central control screen is responsible for user interaction, the home host is the core control and management center, and the music host focuses on audio decoding and playback. Through the centralized management of the central control screen and the host, users can complete the control of multiple devices on one interface, such as music playback, volume adjustment, sound source switching, etc., reducing the trouble of operating multiple devices separately. The two-way communication between the host and the music host ensures real-time synchronization of information such as playback status and volume, allowing users to grasp the working status of the current system in real time.
[0224] See also Fig. 9 , is a block diagram of an embodiment of a control device for a smart home device provided in an embodiment of the present application. As an embodiment, the device can be applied to a home host of a smart home system, and the smart home system may include a home host, a smart terminal, and a device host.
[0225] like Fig. 9 As shown, the device may include:
[0226] A determination module 91, configured to determine the instruction type of the control instruction when receiving the control instruction sent by the control terminal;
[0227] The sending module 92 is used to send the control instruction to the device host when it is determined that the instruction type is a preset type, so that the device host determines multiple target smart home devices to be controlled according to the control instruction and controls the operation of the multiple target smart home devices.
[0228] like Fig.10 As shown, it is a structural diagram of a server provided in an embodiment of the present application, including a processor 1001, a communication interface 1002, a memory 1003 and a communication bus 1004, wherein the processor 1001, the communication interface 1002, and the memory 1003 communicate with each other through the communication bus 1004.
[0229] Memory 1003, used for storing computer programs;
[0230] In one embodiment of the present application, the processor 1001 is used to execute the program stored in the memory 1003 to implement the control method of the smart home device provided by any of the above method embodiments, including:
[0231] When receiving a control instruction sent by the control terminal, determining an instruction type of the control instruction;
[0232] When it is determined that the instruction type is a preset type, the control instruction is sent to the device host, so that the device host determines multiple target smart home devices to be controlled according to the control instruction, and controls the operation of the multiple target smart home devices.
[0233] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the method for controlling a smart home device provided in any of the aforementioned method embodiments are implemented.
[0234] The embodiment of the present application also provides a control system for smart home devices, which may include a terminal device, a server, and a host device;
[0235] The terminal device can be used to generate control instructions and send control instructions to the server;
[0236] The server is used to execute the control method of the smart home device provided by any one of the above method embodiments;
[0237] The host device is used to receive the control instruction sent by the server, and determine multiple target smart home devices to be controlled according to the control instruction, so as to control the operation of the multiple target smart home devices.
[0238] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0239] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0240] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0241] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A control method for a smart home device, characterized in that: A home host applied to a smart home system, the smart home system comprising a home host, a control terminal, and a device host, the method comprising: When receiving a control instruction sent by the control terminal, determining an instruction type of the control instruction; When it is determined that the instruction type is a preset type, the control instruction is sent to the device host, so that the device host determines multiple target smart home devices to be controlled according to the control instruction, and controls the operation of the multiple target smart home devices.
2. The method according to claim 1, characterized in that The determining the instruction type of the control instruction comprises: Extracting keywords from the instruction content of the control instruction to obtain instruction keywords; Matching the instruction keyword with a preset keyword to obtain a target keyword that matches the instruction keyword; The type to which the target keyword belongs is determined as the instruction type of the control instruction.
3. The method according to claim 1, characterized in that The determining the instruction type of the control instruction comprises: Acquire the current control scenario from the control terminal; Performing scenario analysis on the control scenario to obtain a scenario type corresponding to the control scenario; According to the scene type, an instruction type of the control instruction is determined.
4. The method according to claim 1, characterized in that The determining the instruction type of the control instruction comprises: Extracting keywords from the instruction content of the control instruction to obtain instruction keywords; Matching the instruction keyword with a preset keyword to obtain a target keyword that matches the instruction keyword; Determine the type to which the target keyword belongs as the initial instruction type of the control instruction; Acquire the current control scenario from the control terminal; Determining a scene type of the control scene; In the case that the initial instruction type is the same as the control type represented by the scene type, the initial instruction type is determined as the instruction type of the control instruction.
5. The method according to any one of claims 1 to 4, characterized in that: After determining the instruction type of the control instruction, the method further includes: Sending the instruction type to the control terminal so that the control terminal provides feedback on the instruction type in a preset feedback manner; In the case where no new control instruction is received within the preset time period, the step of sending the control instruction to the device host when it is determined that the instruction type is a preset type is performed.
6. The method according to claim 1, characterized in that The device host is an audio host, and the smart home device is an audio playback device. When it is determined that the instruction type is a preset type, the control instruction is sent to the device host, so that the device host determines a plurality of target smart home devices to be controlled according to the control instruction, and controls the operation of the plurality of target smart home devices, including: In the case where it is determined that the instruction type is an audio setting type, sending the control instruction to the audio host; Among them, the audio host is used to determine the audio signal to be sent and at least one first target audio playback device to be controlled according to the control instruction; and send the audio signal to the first target audio playback device so that the first target audio playback device plays the received audio signal.
7. The method according to claim 6, characterized in that The method further comprises: In the case where it is determined that the instruction type is a system setting type, determining at least one second target audio playback device corresponding to the control instruction; The control instruction is sent to the second target audio playback device, so that the second target audio playback device updates the current system settings according to the received control instruction.
8. The method according to claim 1, characterized in that After sending the control instruction to the device host, the method further includes: When receiving the operating status of each target smart home device sent by the device host, sending the operating status of each target smart home device to the control terminal, so that the control terminal displays the operating status through a visual interface; Among them, after receiving the control instruction, the device host controls the operation of multiple target smart home devices according to the control instruction, obtains the operating status of each of the target smart home devices, and sends the operating status of each of the target smart home devices to the home host.
9. The method according to claim 1, characterized in that: The smart home system further includes a plurality of other smart home devices of different types, wherein the other smart home devices are of different types from the smart home devices controlled by the device host; After determining the instruction type of the control instruction, the method further includes: In a case where the instruction type is used to represent control of at least one of the other smart home devices, determining, according to the control instruction, a target other smart home device and a sub-control instruction of each of the target other smart home devices from the plurality of the other smart home devices; The corresponding sub-control instructions are respectively sent to the target other smart home devices, so that the target other smart home devices operate according to the received sub-control instructions.
10. The method according to claim 1, characterized in that The method further comprises: Obtaining the version number of the preset program in the control terminal at each preset time interval; Obtaining the current version number of the preset program from the cloud server; When it is determined that the version number is inconsistent with the current version number, obtaining an upgrade package corresponding to the preset program from the cloud server; The upgrade package is sent to the control terminal, so that the control terminal upgrades the preset program according to the received upgrade package.
11. The method according to claim 1, characterized in that: The control terminal generates the control instruction in the following manner: When a control operation for at least one smart home device is received through the visual interface, a corresponding control instruction is generated according to the control operation; or, When a voice signal is collected by a preset sound collection module, the voice signal is recognized to obtain a recognition result; In a case where the recognition result indicates control of at least one of the smart home devices, a corresponding control instruction is generated according to the recognition result.
12. A control device for a smart home device, characterized in that: A home host applied to a smart home system, the smart home system comprising a home host, a control terminal, and a device host, the device comprising: A determination module, configured to determine the instruction type of the control instruction when receiving the control instruction sent by the control terminal; A sending module is used to send the control instruction to the device host when it is determined that the instruction type is a preset type, so that the device host determines multiple target smart home devices to be controlled according to the control instruction and controls the operation of the multiple target smart home devices.
13. A server, characterized in that: include: A processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; the memory is used to store a computer program; and the processor is used to implement the control method of the smart home device according to any one of claims 1 to 11 when executing the computer program.
14. A control system for smart home devices, characterized in that: Including terminal equipment, servers, and host equipment; The terminal device is used to generate a control instruction and send the control instruction to the server; The server is used to execute the control method of the smart home device according to any one of claims 1 to 11; The host device is used to receive the control instruction sent by the server, and determine multiple target smart home devices to be controlled according to the control instruction, so as to control the operation of the multiple target smart home devices.
15. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the control method of the smart home device described in any one of claims 1 to 11 is implemented.
Citation Information
Patent Citations
Intelligent household system and group control method based on the intelligent household system
CN105093942A
Bus control system suitable for smart home
CN106647319A
System and method for controlling intelligent home by aid of voice
CN106683674A
Smart home interaction method and device based on MR technology
CN110321003A
Smart home control system and method, and terminal equipment
CN110488617A
Cited By
Data loading method and device, intelligent terminal and storage medium
CN120950141A