The present disclosure relates to the field of control, and in particular, to a device control apparatus, a method, and a device comprising the apparatus.
At present, home appliances have more and more functions. For example, many appliances have voice control function and Bluetooth function. Most of these appliances only have a single voice function or a single Bluetooth function, and in a few cases have both a voice function and a Bluetooth function. Bluetooth-enabled products usually use traditional BT (Bluetooth) instead of MESH (Wireless Mesh Network), so that voice technology and MESH technology cannot cooperate with each other to play a greater role. In general, a voice control system can only control a single home appliance by voice control instructions, and multiple home appliances cannot be operated and controlled in a unified manner, which brings inconvenience to users.
The embodiments of the present disclosure provide a device control apparatus, a method, and a device comprising the apparatus, to solve the problem that multiple home appliances cannot be uniformly operated and controlled.
According to an aspect of the embodiments of the present disclosure, a device control apparatus is provided, comprising a Bluetooth MESH module and a networking module; wherein: the Bluetooth MESH module is configured to receive a voice control instruction, and send the received voice control instruction to the networking module; the networking module is configured to send the received voice control instruction to a recognition device for voice recognition, and send control data to the Bluetooth MESH module according to a recognition result returned from the recognition device; and the Bluetooth MESH module is further configured to send the control data from the networking module to a target device to implement control of the target device.
In some embodiments, the recognition device comprises at least one of a server or a local recognition module.
In some embodiments, the voice control instruction is issued from a voice remote control or a terminal and is sent to the Bluetooth MESH module through a Bluetooth MESH network.
In some embodiments, the Bluetooth MESH module is connected to the networking module through a data transmission interface, the data transmission interface comprising a UART interface, a USB interface or a SPI interface.
In some embodiments, the Bluetooth MESH module comprises a data processing sub-module, the data processing sub-module being configured to perform at least one of data compressing, filtering, or encoding processing on the received voice control instruction, wherein the encoding processing is used to convert the voice control instruction into a code recognizable by the networking module.
In some embodiments, the recognition device is configured to: receive the voice control instruction from the networking module; analyze the received voice control instruction and extract a feature code; and return the extracted feature code to the networking module as the recognition result.
In some embodiments, the networking module is further configured to: receive the feature code returned from the recognition device; compare the received feature code with a pre-stored control database to obtain the control data corresponding to the feature code; and send the control data to the Bluetooth MESH module.
In some embodiments, the Bluetooth MESH module is further configured to broadcast the control data from the networking module in a Bluetooth MESH network to send the control data to the target device or forward the control data to the target device via an intermediate device.
In some embodiments, the Bluetooth MESH module is further configured to perform at least one of the following steps: receive a response instruction returned from the target device, the response instruction being an instruction returned from the target device after executing a control instruction corresponding to the control data; or re-send the control data if no response instruction is received from the target device within a preset time threshold after the control data has been sent.
In some embodiments, the Bluetooth MESH module is further configured to perform at least one of setting a communication error flag or prompting a communication error message if no response instruction is received from the target device within a preset time threshold after the control data has been sent for N consecutive times, wherein N is a preset number-of-times threshold.
In some embodiments, at least one of the target device or the intermediate device comprises at least one of a humidifier, a dehumidifier, an air freshener, an electric fan, an induction cooker, a refrigerator, a television, a washing machine, a microwave oven, an electric oven, a kitchen ventilator, a lighting lamp, a stereo system, a camera device, or a voice device.
According to another aspect of the embodiments of the present disclosure, a device control method is provided, comprising: receiving a voice control instruction through a Bluetooth MESH module, and sending the received voice control instruction to a networking module; sending the received voice control instruction to a recognition device for voice recognition through the networking module, and sending control data to the Bluetooth MESH module according to a recognition result returned from the recognition device; and sending the control data from the networking module to a target device through the Bluetooth MESH module to implement control of the target device.
In some embodiments, the recognition device comprises at least one of a server or a local recognition module.
In some embodiments, the voice control instruction is issued from a voice remote control or a terminal and is sent to the Bluetooth MESH module through a Bluetooth MESH network.
In some embodiments, the Bluetooth MESH module is connected to the networking module through a data transmission interface, the data transmission interface comprising a UART interface, a USB interface or a SPI interface.
In some embodiments, the method further comprises: performing at least one of data compressing, filtering, or encoding processing on the received voice control instruction after receiving the voice control instruction and before sending the received voice control instruction to the networking module, wherein the encoding processing is used to convert the voice control instruction into a code recognizable by the networking module.
In some embodiments, the recognition device is configured to: receive the voice control instruction from the networking module; analyze the received voice control instruction and extract a feature code; and return the extracted feature code to the networking module as the recognition result.
In some embodiments, sending control data to the Bluetooth MESH module according to a recognition result returned from the recognition device comprises: receiving a feature code returned from the recognition device; comparing the received feature code with a pre-stored control database to obtain the control data corresponding to the feature code; and sending the control data to the Bluetooth MESH module.
In some embodiments, sending control data from the networking module to a target device comprises: broadcasting the control data from the networking module in a Bluetooth MESH network to send the control data to the target device or forwarding the control data to the target device via an intermediate device.
In some embodiments, the method further comprising at least one of the following steps: receiving a response instruction returned from the target device through the Bluetooth MESH module after sending the control data from the networking module to the target device, the response instruction being an instruction returned from the target device after executing a control instruction corresponding to the control data; or re-sending the control data through the Bluetooth MESH module if no response instruction is received from the target device within a preset time threshold after the control data has been sent.
In some embodiments, the method further comprises: at least one of setting a communication error flag or prompting a communication error message if no response instruction is received from the target device within a preset time threshold after the control data has been sent for N consecutive times, wherein N is a preset number-of-times threshold.
In some embodiments, at least one of the target device or the intermediate device comprises at least one of a humidifier, a dehumidifier, an air freshener, an electric fan, an induction cooker, a refrigerator, a television, a washing machine, a microwave oven, an electric oven, a kitchen ventilator, a lighting lamp, a stereo system, a camera device, or a voice device.
According to still another aspect of the embodiments of the present disclosure, a device is provided, comprising the apparatus described in any of the above embodiments.
According to a further aspect of the embodiments of the present disclosure, a device is provided, comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method described in any of the above embodiments when executing the program.
In some embodiments, the device comprises an air conditioner.
The technical solution provided in the embodiments of the present disclosure integrates voice control technology and Bluetooth MESH network technology, and can remotely control all target devices through voice control instructions, thereby facilitating unified operation and control by users. Both local and online recognition of voice control instructions can be adopted, and thereby higher recognition accuracy and faster response can be achieved. Instructions recognized through online voice recognition are converted into Bluetooth MESH instructions. Only a WIFI device in a gateway is connected to a router, and there is no need to connect all target devices to the router, thereby greatly reducing the burden on the router. Information in the network is broadcasted in broadcast packets, which can be forwarded indefinitely by intermediate nodes, achieving an infinite propagation distance in theory. Bluetooth is provided in common device such as a mobile phone, and has great potential for subsequent applications. The Bluetooth MESH network can adopt automatic frequency hopping technology, which can adapt to various complicated environments.
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure, and together with the illustrative embodiments of the present disclosure serve to explain the present disclosure, but are not limitation thereof. In the drawings:
In order to make the objectives, technical solutions, and advantages of the present disclosure more clear, the technical solutions of the present disclosure will be described clearly and completely in combination with specific embodiments and corresponding drawings of the present disclosure. Obviously, embodiments described are only a part of the embodiments of the present disclosure, and not all of embodiments thereof. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present disclosure without creative efforts shall fall within the protection scope of the present disclosure.
It should be noted that the terms “first”, “second” and the like in the description and claims and the drawings of the present disclosure are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms so used may be interchanged where appropriate so that the embodiments of the disclosure described herein can be implemented in an order other than those illustrated or described herein. Furthermore, the terms “including” and “comprising” and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or device that comprises a series of steps or units need not be limited to those explicitly listed, instead it can comprise other steps or units not explicitly listed or inherent to this process, method, product or device.
An embodiment of the present disclosure provides a device control apparatus.
The technical solution provided in the embodiment of the present disclosure integrates a networking module, a Bluetooth MESH module, and a voice function into the same home appliance system, so that a user can remotely control all devices through voice control instructions. Wherein the networking module may adopt a WIFI module, which can convert an instruction recognized through online voice recognition into a Bluetooth MESH instruction, so as to control all home appliances in the network. The technical solution provided in the embodiment of the present disclosure has the following beneficial effects: 1) only a WIFI device in a gateway is connected to a router, and there is no need to connect all target devices to the router, thereby greatly reducing the burden on the router; 2) information in the network is broadcasted in broadcast packets, which can be forwarded indefinitely by intermediate nodes, achieving an infinite propagation distance in theory; 3) Bluetooth is provided in common device, and has great potential for subsequent applications; 4) the Bluetooth MESH network can adopt automatic frequency hopping technology, which can adapt to various complicated environments.
According to an implementation of the device control apparatus provided in an embodiment of the present disclosure, the recognition device comprises at least one of a server or a local recognition module. In one case, voice control instructions are processed by the server which can recognize any command. In another case without network accessing, voice control instructions can also be recognized locally by the local recognition module, and then other home appliances can be controlled by Bluetooth MESH. In still another case, both local and online recognition of voice control instructions can be adopted, thereby achieving higher accuracy and faster response.
According to an embodiment of the device control apparatus of the present disclosure, the voice control instruction is issued from a voice remote control or a terminal and is sent to the Bluetooth MESH module through a Bluetooth MESH network. As shown in
According to an embodiment of the device control apparatus according to the present disclosure, the Bluetooth MESH module is connected to the networking module through a data transmission interface, the data transmission interface comprising a UART interface, a USB interface or a SPI interface. For example, the application of the UART interface's protocol is simple, and a chip may comprise multiple UART interfaces to achieve good scalability.
According to an embodiment of the device control apparatus of the present disclosure, the Bluetooth MESH module comprises a data processing sub-module, configured to perform at least one of data compressing, filtering, or encoding processing on the received voice control instruction, wherein the encoding processing is used to convert the voice control instruction into a code recognizable by the networking module. Data compressing is used to extract useful parts from an audio stream that takes up a lot of space to reduce memory occupation. Filtering is used to filter out interference parts in the audio signal.
As shown in
According to an embodiment of the device control apparatus of the present disclosure, the recognition device is configured to: receive the voice control instruction from the networking module; analyze the received voice control instruction and extract a feature code; and return the extracted feature code to the networking module as a recognition result. As shown in
According to an embodiment of the device control apparatus of the present disclosure, the networking module is further configured to: receive a feature code returned from the recognition device; compare the received feature code with a pre-stored control database to obtain the control data corresponding to the feature code; and send the control data to the Bluetooth MESH module. As shown in
According to an embodiment of the device control apparatus of the present disclosure, the Bluetooth MESH module 100 is further configured to broadcast the control data from the networking module in a Bluetooth MESH network to send the control data to the target device or forward the control data to the target device via an intermediate device.
As shown in
According to an embodiment of the device control apparatus of the present disclosure, the Bluetooth MESH module 100 is further configured to perform at least one of the following steps: receive a response instruction returned from the target device, the response instruction being an instruction returned from the target device after executing a control instruction corresponding to the control data; or re-send the control data if no response instruction is received from the target device within a preset time threshold after the control data has been sent. Specifically, after receiving a specific control instruction, the Bluetooth MESH module of the target home appliance executes the relevant instruction and makes a response; an execution cycle is closed after the Bluetooth MESH module in the air conditioner receives a response instruction returned from the target home appliance.
According to an embodiment of the device control apparatus of the present disclosure, the Bluetooth MESH module 100 is further configured to perform at least one of setting a communication error flag or prompting a communication error message if no response instruction is received from the target device within a preset time threshold after the control data has been sent for N consecutive times, wherein N is a preset number-of-times threshold. For example, after sending the control information, the Bluetooth MESH module in the air conditioner will retransmit the control information if no response is received within a certain period of time, and a communication error flag will be set if no response is received after three times of re-transmission.
According to an embodiment of the device control apparatus of the present disclosure, the target device comprises: at least one of a humidifier, a dehumidifier, an air freshener, an electric fan, an induction cooker, a refrigerator, a television, a washing machine, a microwave oven, an electric oven, a kitchen ventilator, a lighting lamp, a stereo system, a camera device, or a voice device. According to an embodiment of the device control apparatus of the present disclosure, the intermediate device comprises: at least one of a humidifier, a dehumidifier, an air freshener, an electric fan, an induction cooker, a refrigerator, a television, a washing machine, a microwave oven, an electric oven, a kitchen ventilator, a lighting lamp, a stereo system, a camera device, or a voice device. Another aspect of the embodiments of the present disclosure provides a device control method.
According to an embodiment of the device control method of the present disclosure, the recognition device 300 comprises at least one of a server or a local recognition module.
According to an embodiment of the device control method of the present disclosure, the voice control instruction is issued from a voice remote control or a terminal, and is sent to the Bluetooth MESH module 100 through a Bluetooth MESH network.
According to an embodiment of the device control method of the present disclosure, the Bluetooth MESH module 100 is connected to the networking module 200 through a data transmission interface, the data transmission interface comprising a UART interface, a USB interface or a SPI interface.
According to an embodiment of the device control method of the present disclosure, the method further comprises: performing at least one of data compressing, filtering, or encoding processing on the received voice control instruction after receiving the voice control instruction and before sending the received voice control instruction to the networking module, wherein the encoding processing is used to convert the voice control instruction into a code recognizable by the networking module.
According to an embodiment of the device control method of the present disclosure, sending the control data from the networking module to a target device comprises: broadcasting the control data from the networking module in a Bluetooth MESH network to send the control data to the target device or forwarding the control data to the target device via an intermediate device.
According to an embodiment of the device control method of the present disclosure, the method further comprises at least one of the following steps: receiving a response instruction returned from the target device through the Bluetooth MESH module after sending the control data from the networking module to the target device, the response instruction being an instruction returned from the target device after executing a control instruction corresponding to the control data; or re-sending the control data through the Bluetooth MESH module if no response instruction is received from the target device within a preset time threshold after the control data has been sent.
According to an embodiment of the device control method of the present disclosure, the method further comprises: at least one of setting a communication error flag or prompting a communication error message if no response instruction is received from the target device within a preset time threshold after the control data has been sent for N consecutive times, wherein N is a preset number-of-times threshold.
According to an embodiment of the device control method of the present disclosure, the target device comprises: at least one of a humidifier, a dehumidifier, an air freshener, an electric fan, an induction cooker, a refrigerator, a television, a washing machine, a microwave oven, an electric oven, a kitchen ventilator, a lighting lamp, a stereo system, a camera device, or a voice device. According to an embodiment of the device control method of the present disclosure, the intermediate device comprises at least one of a humidifier, a dehumidifier, an air freshener, an electric fan, an induction cooker, a refrigerator, a television, a washing machine, a microwave oven, an electric oven, a kitchen ventilator, a lighting lamp, a stereo system, a camera device, or a voice device.
According to still another aspect of the embodiments of the present disclosure, a device is provided, comprising the apparatus described in any of the above embodiments.
According to a further aspect of the embodiments of the present disclosure, a device is provided, comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of the above embodiments when executing the program.
According to an embodiment of the device of the present disclosure, the device comprises an air conditioner.
The technical solution provided in the embodiments of the present disclosure integrates voice control technology and Bluetooth MESH network technology, and can remotely control all target devices through voice control instructions, thereby facilitating unified operation and control by users. Both local and online recognition of voice control instructions can be adopted, and thereby higher recognition accuracy and faster response can be achieved. Instructions recognized through online voice recognition are converted into Bluetooth MESH instructions. Only a WIFI device in a gateway is connected to a router, and there is no need to connect all target devices to the router, thereby greatly reducing the burden on the router. Information in the network is broadcasted in broadcast packets, which can be forwarded indefinitely by intermediate nodes, achieving an infinite propagation distance in theory. Bluetooth is provided in common device such as a mobile phone, and has great potential for subsequent applications. The Bluetooth MESH network can adopt automatic frequency hopping technology, which can adapt to various complicated environments.
The functions described herein may be implemented in hardware, software executed by a processor, or any combination thereof. If implemented in software by processor, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Other examples and embodiments are within the scope and spirit of the disclosure and appended claims. For example, due to the nature of software, functions described above can be implemented using software executed by a processor, hardware, firmware, hardwiring, or combinations of any of these. In addition, various functional units may be integrated into one processing unit, or may exist separately, or two or more units may be integrated into one unit.
In the several embodiments provided by this disclosure, it should be understood that the disclosed technical content can be implemented in other ways. The apparatus embodiments described above are only schematic. For example, the division of the units may be a logical function division. In actual implementation, there may be other division manners. For example, multiple units or components may be combined or may be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or a communication connection through some interfaces, units or modules, and may be electrical or in other forms.
The units described as separate components may or may not be physically separated, and the component as the control device may or may not be a physical unit, may be located in one place, or may be distributed on multiple units. Some or all of the units may be selected according to actual needs to implement the solution of this embodiment. As for the method embodiment, since it basically corresponds to the apparatus embodiment, the description is relatively simple. For related parts, reference may be made to the part of the apparatus embodiment.
If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure essentially or in other word, a portion thereof that contributes to the related technology or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, comprising instructions to cause a computer device which may be a personal computer, a server, or a network device, etc. to perform all or part of the steps of the method described in the various embodiments of the present disclosure. The foregoing storage media comprise: U disks, Read-Only Memory (ROM), Random Access Memory (RAM), mobile hard disks, magnetic disks, or optical disks and other media that can store program code.
The above description is only embodiments of the present disclosure and is not intended to limit the present disclosure. For those skilled in the art, the present disclosure may have various modifications and changes. Any modifications, equivalent replacements, or improvements made within the spirit and principle of the present disclosure shall be comprised in the scope of the claims of the present disclosure.
In the embodiments of the present disclosure, through integrating voice control technology with Bluetooth MESH network technology, all target devices can be controlled through voice control instructions, thereby facilitating unified operation and control by users. Both local and online recognition of voice control instructions can be adopted, and thereby higher recognition accuracy and faster response can be achieved. Instructions recognized through online voice recognition are converted into Bluetooth MESH instructions. Only a WIFI device in a gateway is connected to a router, and there is no need to connect all target devices to the router, thereby greatly reducing the burden on the router. Information in the network is broadcasted in broadcast packets, which can be forwarded indefinitely by intermediate nodes, achieving an infinite propagation distance in theory. Bluetooth is provided in common device such as a mobile phone, and has great potential for subsequent applications. The Bluetooth MESH network can adopt automatic frequency hopping technology, which can adapt to various complicated environments.
Number | Date | Country | Kind |
---|---|---|---|
201711299071.6 | Dec 2017 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2018/100382 | 8/14/2018 | WO | 00 |