CN113467264A - Intelligent device, control method and control system of intelligent device - Google Patents

Intelligent device, control method and control system of intelligent device Download PDF

Info

Publication number
CN113467264A
CN113467264A CN202110769652.1A CN202110769652A CN113467264A CN 113467264 A CN113467264 A CN 113467264A CN 202110769652 A CN202110769652 A CN 202110769652A CN 113467264 A CN113467264 A CN 113467264A
Authority
CN
China
Prior art keywords
bluetooth
openthread
zigbee
equipment
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110769652.1A
Other languages
Chinese (zh)
Inventor
林福周
聂创达
周明长
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zengge Co ltd
Original Assignee
Zengge Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zengge Co ltd filed Critical Zengge Co ltd
Priority to CN202110769652.1A priority Critical patent/CN113467264A/en
Publication of CN113467264A publication Critical patent/CN113467264A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses an intelligent device, a control method and a control system of the intelligent device, wherein the intelligent device comprises a device body and a remote control device, the device body comprises a multi-mode single chip with a Bluetooth mode and a ZigBee or OpenThread mode, and the method comprises the following steps: the remote control device acquires an operation instruction, processes the operation instruction into a Bluetooth broadcast packet according to a preset format, and sends the Bluetooth broadcast packet to the equipment body; the equipment body detects wireless signals in real time, wherein the wireless signals comprise Bluetooth broadcast packets and ZigBee or OpenThread signals; when receiving a Bluetooth broadcast packet, analyzing the Bluetooth broadcast packet through a Bluetooth mode and executing an operation instruction; when receiving the ZigBee or OpenThread signal, establishing a ZigBee or OpenThread channel with the intelligent control equipment through the ZigBee or OpenThread mode, and realizing bidirectional signal transmission.

Description

Intelligent device, control method and control system of intelligent device
Technical Field
The invention relates to the technical field of intelligent equipment, in particular to intelligent equipment, and a control method and a control system of the intelligent equipment.
Background
With the continuous development of science and technology, the interconnection of everything is gradually realized, and the technology of the internet of things is rapidly developed. The Internet of things (IoT), i.e., "Internet of things," is an extended and expanded network based on the Internet, and combines various information sensing devices with the Internet to form a huge network, thereby realizing the intercommunication of people, machines and things at any time and any place.
With the development of the internet of things and the popularization of smart phones, more and more control modes begin to appear. In order to reach the purpose that control function is abundant and convenient to use, smart machine can be connected with the smart mobile phone through communication methods such as bluetooth, WIFI, can realize abundanter function through cell-phone APP, however only use the occasion of frequent operation of cell-phone control can be convenient inadequately, often also need be equipped with the remote controller, through the mode of smart mobile phone and remote controller dual control to reach powerful and convenient to use's purpose.
At present, because the networking capability of the ZigBee or OpenThread technology is strong, and the number of intelligent terminals in a single network is large, a mode that the intelligent terminals are combined with a remote controller by using the ZigBee or OpenThread communication mode is an ideal choice at present. However, in this way, if the purpose of dual control of the smart phone and the remote controller is to be achieved, the smart phone needs to have a ZigBee or OpenThread mode, and if the smart phone does not have the ZigBee or OpenThread mode, the smart terminal cannot be controlled.
Disclosure of Invention
In order to overcome the defects in the prior art, an object of the present invention is to provide an intelligent device, a control method of the intelligent device, and a control system, where a single chip integrating at least bluetooth and ZigBee or OpenThread modes is configured on a device body, so that the device body can establish connection with an intelligent control device through a gateway in a ZigBee or OpenThread mode or establish connection with an intelligent control device through a bluetooth mode, and meanwhile, the device body of the intelligent device is docked with a remote control device through a bluetooth broadcast mode, so as to achieve the purpose that the device body is dual-controlled by the intelligent control device and the remote control device.
Another object of the present invention is to provide an intelligent device, a control method and a control system for the intelligent device, wherein a single chip at least integrating bluetooth and ZigBee or OpenThread modes is used, and a single transceiver antenna is used, so that the intelligent device has the advantages of low hardware cost, small internal space, long transmission distance, strong penetration capability, and convenience in use.
In order to achieve the above object, the present invention provides a method for controlling an intelligent device, where the intelligent device includes a device body and a remote control device, the device body includes a multi-mode single chip, the multi-mode single chip includes a bluetooth mode and a ZigBee or OpenThread mode, and the method includes the following steps:
the remote control device acquires an operation instruction, processes the operation instruction into a Bluetooth broadcast packet according to a preset format, and sends the Bluetooth broadcast packet to the equipment body;
the equipment body detects wireless signals in real time, wherein the wireless signals comprise the Bluetooth broadcast packet and ZigBee or OpenThread signals;
when the wireless signal received by the equipment body is the Bluetooth broadcast packet, the equipment body analyzes the Bluetooth broadcast packet through the Bluetooth mode and executes the operation instruction;
when the wireless signal received by the device body is the ZigBee or OpenThread signal, the device body establishes a channel with a device sending the ZigBee or OpenThread signal through the ZigBee or OpenThread mode to realize bidirectional signal transmission.
Preferably, after the device body establishes a connection with an intelligent control device through the ZigBee or OpenThread mode by using a gateway, the method includes:
the equipment body receives an operation instruction sent by the intelligent control equipment through the gateway through ZigBee or OpenThread, and executes corresponding operation according to the operation instruction; and/or the device body sends device information to intelligent control equipment establishing a ZigBee or OpenThread channel with the device body through ZigBee or OpenThread, wherein the device information comprises a device state, a device parameter and/or a device type and a device version.
Preferably, when the wireless signal received by the device body is a bluetooth signal, the device body is connected with the intelligent control device through a bluetooth mode, the device body receives an operation instruction sent by the intelligent control device sending the bluetooth signal through a bluetooth channel, and executes a corresponding operation according to the operation instruction, and/or the device body sends device information to the intelligent control device through the bluetooth channel.
Preferably, the apparatus body comprises a plurality of operating states, wherein:
when the equipment is in a first working state, the equipment body receives a Bluetooth signal and a ZigBee or OpenThread wireless signal;
when the equipment body is in a second working state, the equipment body receives a specific Bluetooth signal, wherein the specific Bluetooth signal is a Bluetooth signal sent by equipment for obtaining the information of the equipment body;
in a third working state, the device body receives a specific ZigBee or OpenThread wireless signal, wherein the specific ZigBee or OpenThread wireless signal is a ZigBee or OpenThread wireless signal sent by the device for obtaining the device body information through a gateway;
in a fourth operating state, the device body receives a specific bluetooth signal and a specific ZigBee or OpenThread wireless signal, where the specific bluetooth signal is a bluetooth signal sent by a device that obtains the device body information, and the specific ZigBee or OpenThread wireless signal is a ZigBee or OpenThread wireless signal sent by the device that obtains the device body information through a gateway.
Preferably, after the device body is powered on, the device body includes:
if the equipment body is in a first-time use power-on state, entering a first working state by default;
and if the equipment body is not used for the first time at present, acquiring the last working state as the current working state.
Preferably, when the device body is in the first working state, if a state change instruction for changing to the second working state, the third working state or the fourth working state is received, the device body is changed to the second working state, the third working state or the fourth working state; and when the equipment body is in a second working state, a third working state or a fourth working state, if a state change instruction sent by equipment which is allowed to be controlled in the corresponding state is received, the corresponding working state is changed according to the state change instruction.
Preferably, when the device body receives or detects an initial state trigger signal, the device body is triggered to return to an initial default working state, so that all the intelligent control devices can reset the working state of the device body.
In order to achieve the above object, the present invention further provides an intelligent device, including:
the remote control device comprises a command input unit and a processing chip, wherein the command input unit is used for acquiring an operation instruction, and the processing chip is used for processing the operation instruction into a Bluetooth broadcast packet according to a preset format and sending the Bluetooth broadcast packet to the equipment body;
the equipment body comprises a multi-mode single chip, the multi-mode single chip comprises a Bluetooth mode and a ZigBee or OpenThread mode, the equipment body is used for analyzing the Bluetooth broadcast packet through the Bluetooth mode and executing the operation instruction, and the equipment body is used for establishing a ZigBee or OpenThread channel with intelligent control equipment through a gateway through the ZigBee or OpenThread mode so as to realize bidirectional signal transmission.
Preferably, the intelligent control device is connected with the device body through a bluetooth channel, or sends an operation instruction to the device body in a bluetooth broadcast mode.
Preferably, the apparatus body comprises a plurality of operating states, wherein: .
When the equipment is in a first working state, the equipment body receives a Bluetooth signal and a ZigBee or OpenThread wireless signal;
when the equipment body is in a second working state, the equipment body receives a specific Bluetooth signal, wherein the specific Bluetooth signal is a Bluetooth signal sent by equipment for obtaining the information of the equipment body;
in a third working state, the device body receives a specific ZigBee or OpenThread wireless signal, wherein the specific ZigBee or OpenThread wireless signal is a ZigBee or OpenThread wireless signal sent by the device for obtaining the device body information through a gateway;
in a fourth operating state, the device body receives a specific bluetooth signal and a specific ZigBee or OpenThread wireless signal, where the specific bluetooth signal is a bluetooth signal sent by a device that obtains the device body information, and the specific ZigBee or OpenThread wireless signal is a ZigBee or OpenThread wireless signal sent by the device that obtains the device body information through a gateway.
Preferably, after the device body is powered on, the bluetooth broadcast scanning is started, the current working state of the device body is obtained and determined, and according to the determined working state, the connection is established with the intelligent control device through a ZigBee or OpenThread mode by using a gateway and/or directly established with the intelligent control device through a bluetooth mode, so that the purpose that the intelligent control device controls the device body in a ZigBee or OpenThread mode and/or a bluetooth mode is achieved.
Preferably, the device body shares a communication antenna, and the communication antenna is utilized to receive and transmit ZigBee or OpenThread signals, bluetooth signals, and/or bluetooth broadcast packets.
In order to achieve the above object, the present invention further provides a control system of an intelligent device, including:
the above-mentioned smart device;
the intelligent control equipment is connected with the gateway so as to be connected with the equipment body of the intelligent equipment through the gateway or directly connected with the equipment body through a Bluetooth mode, and the control of the equipment body is realized;
and the gateway is used for establishing a wireless transmission channel between the intelligent control equipment and the equipment body, so that the intelligent control equipment without the ZigBee or OpenThread mode can realize the control of the equipment body with the ZigBee or OpenThread mode through the gateway.
Preferably, the control system further comprises a router and a server, the device body is connected with the router through a gateway and further connected with the server, and the intelligent control device is directly connected with the router and the server through a network, so that long-distance bidirectional signal transmission is realized.
Compared with the prior art, the intelligent equipment, the control method and the system of the intelligent equipment at least integrate the Bluetooth and the ZigBee or the OpenThread mode by configuring the single chip of the equipment body, so that the equipment body can be connected with the gateway and the server in a ZigBee or OpenThread communication mode, so that the intelligent control device such as a smart phone can establish connection with the device body through the gateway, or the intelligent control equipment is directly connected with the equipment body through a Bluetooth mode, so that the intelligent control equipment can control the equipment body by adopting two modes of ZigBee or OpenThread and Bluetooth, meanwhile, the invention configures a single chip at least integrating the Bluetooth and the ZigBee or OpenThread modes for the equipment body, so that the equipment body can be connected with a remote control device in a Bluetooth broadcasting mode, therefore, the purpose of double control of the intelligent control equipment (such as a smart phone) and the remote control device on the equipment body is achieved.
Drawings
Fig. 1 is a schematic diagram of a system structure of a control system of an intelligent device according to the present invention;
FIG. 2 is a flow chart illustrating steps of a method for controlling an intelligent device according to the present invention;
FIG. 3 is a flow chart of the operation of the remote control device in an embodiment of the present invention;
fig. 4 is a flowchart illustrating a working procedure of receiving a bluetooth broadcast signal of a remote controller by an apparatus body having a dual-mode or multi-mode single chip according to an embodiment of the present invention;
FIG. 5 is a flow chart of default operating state of a device body having a dual mode or multi-mode single chip in an embodiment of the present invention;
fig. 6 is a flow chart of a non-default operating state of a device body having a dual mode or multi-mode single chip according to an embodiment of the present invention.
Detailed Description
Other advantages and capabilities of the present invention will be readily apparent to those skilled in the art from the present disclosure by describing the embodiments of the present invention with specific embodiments thereof in conjunction with the accompanying drawings. The invention is capable of other and different embodiments and its several details are capable of modification in various other respects, all without departing from the spirit and scope of the present invention.
Before describing the present invention, several concepts to which the invention relates are defined:
BLE: bluetooth Low Energy, a short-range, Low-cost, interoperable wireless technology that utilizes many intelligent approaches to minimize power consumption. The operating mode of BLE technology is well suited for applications with small data volume transfers. The amount of data transmitted and received by such applications is very small (typically a few bytes) and the number of transmissions and receptions is also small.
ZigBee: ZigBee, also called ZigBee, is a wireless network protocol for low-speed short-distance transmission, and the bottom layer is a medium access layer and a physical layer that adopt IEEE 802.15.4 standard specifications.
OpenThread: open source implementation of Thread by Google/Nest. OpenThread enables developers to more widely use network technology used in Google/Nest products, and accelerates development of home internet of things products.
Bluetooth broadcast remote controller: the remote controller comprises a Bluetooth chip or an RF chip and transmits a Bluetooth broadcast packet in a Bluetooth broadcast mode.
Bluetooth broadcast command: and sending the command according to a specified format in a Bluetooth broadcasting mode.
At present, a ZigBee or OpenThread communication mode can connect an equipment body of an intelligent device to a server through a gateway to realize functions such as intelligent sound box control and remote control, and the ZigBee or OpenThread technology has strong networking capability, and a large number of intelligent terminals are connected to a single network.
Fig. 1 is a schematic diagram of a system structure of a control system of an intelligent device according to the present invention. As shown in fig. 1, the present invention provides a control system for an intelligent device, including:
the intelligent device 10 includes a device body 110 and a remote control apparatus 100, wherein:
the remote control device 100 may include a command input unit configured to obtain an operation command, and a processing chip configured to process the operation command into a bluetooth broadcast packet according to a preset format, and transmit the bluetooth broadcast packet to the device body 110.
The command input unit may include a virtual key and/or a physical key, and the user determines the operation instruction by pressing the virtual key and/or the physical key. The physical keys can be mechanical keys, the mechanical keys can give feedback to a user in time, and the use feeling is better; the virtual keys can be touch keys which can keep the integrity of the remote control device, and the integrated appearance makes the remote control device more beautiful. In some embodiments, the remote control device may also be provided with a display screen to display entered instructions or other information, etc. The remote control device starts to work after being electrified, whether a key is pressed down in the command input unit is detected, and if not, the remote control device waits for the next key detection again; if yes, a Bluetooth broadcast command can be sent according to the key value, a Bluetooth broadcast packet is sent according to the definition content of the key value and the format, and the next key detection is waited again after the sending is finished.
The processing chip may utilize Bluetooth Low Energy (BLE) technology. Among these, bluetooth low energy technology is a short-range, low-cost, interoperable wireless technology that utilizes many intelligent means to minimize power consumption. The operating mode of BLE technology is well suited for applications with small data volume transfers. The amount of data transmitted and received by such applications is very small (typically a few bytes) and the number of transmissions and receptions is also small.
Optionally, the processing chip may include a bluetooth chip or an RF chip to implement BLE. The RF chip can realize BLE through simulating the functions of the Bluetooth chip. The processing chip processes the operation instruction into a Bluetooth broadcast packet which can be sent through BLE according to a preset format, and sends the Bluetooth broadcast packet to the equipment body.
The device body 110 comprises a multi-mode single chip, wherein the multi-mode single chip comprises a bluetooth mode and a ZigBee or OpenThread mode.
The device body 110 may be configured to parse the bluetooth broadcast packet through the bluetooth mode and execute the operation instruction, and/or the device body 110 may be configured to establish a ZigBee or OpenThread channel with the intelligent control device through the gateway through the ZigBee or OpenThread mode, so as to implement bidirectional signal transmission.
Specifically, the device body 110 may be configured to receive, through the ZigBee or OpenThread channel, an operation instruction sent by the intelligent control device 20 that establishes the ZigBee or OpenThread channel with the device body 110 through the gateway, and execute a corresponding operation according to the operation instruction; and/or the intelligent control device 20 is configured to send device information to establish the ZigBee or OpenThread channel with the device body 110 through the ZigBee or OpenThread channel and the gateway, where the device information includes a device state, a device parameter, and/or a device type, and a device version.
Further, the device body 110 may also be configured to establish a bluetooth channel with the intelligent control device 20 that sends a bluetooth signal through a bluetooth mode, so as to implement bidirectional signal transmission.
Specifically, the device body 110 may utilize the multi-mode single chip to connect with the intelligent control device 20 through a ZigBee or OpenThread mode connection gateway, or directly connect with the intelligent control device 20 through a bluetooth mode, so that the intelligent control device 20 may control the device body 110 by using two modes, namely, ZigBee or OpenThread and bluetooth, and the intelligent control device 20 controls the device body 110 through the bluetooth mode in two ways: one is that the intelligent control device 20 controls the device body 110 by sending a bluetooth broadcast packet, and the other is that the intelligent control device 20 sends data in a unidirectional manner by establishing a bluetooth connection with the device body 110, and the other is that the data can be sent in a bidirectional manner, that is, in the present invention, the intelligent control device 20 can select to connect with the device body through a bluetooth channel, and can also send an operation instruction to the device body in a bluetooth broadcast manner.
In a specific embodiment of the present invention, the device body 110 of the intelligent device 10 includes an intelligent lighting device, an intelligent lighting controller device, an intelligent electrician device, an intelligent home device, and the like; the intelligent lighting equipment comprises an intelligent bulb, an intelligent down lamp, an intelligent ceiling lamp and the like, and can realize the functions of starting and closing the equipment, adjusting brightness, adjusting color temperature, adjusting color, changing mode patterns and speed, controlling timing, controlling lighting effect according to music rhythm, controlling scenes, setting parameters and the like; the intelligent decorative lighting controller equipment comprises an intelligent lamp strip controller, an intelligent Christmas lamp controller, an intelligent neon lamp controller and the like, and can realize the functions of opening and closing of the equipment, brightness adjustment, color temperature adjustment, color adjustment, mode pattern and speed conversion, timing control, light effect regulation according to music rhythm, scene control, parameter setting and the like; the intelligent electrician equipment comprises an intelligent socket, an intelligent extension socket, an intelligent on-off device, an intelligent panel switch and the like, and can realize the functions of starting and closing the equipment, countdown control, timing control, parameter setting and the like; the intelligent household equipment comprises an intelligent curtain, an intelligent window opener, an intelligent alarm, an intelligent sensor and the like, and can realize the functions of opening and closing, timing control, parameter setting and the like of the equipment; the intelligent control device can be a smart phone, a smart tablet, a smart watch and other devices with independent operating systems.
In the invention, the multi-mode single chip can comprise a Bluetooth mode and a ZigBee or OpenThread mode. It should be noted that, the multi-mode single chip herein may refer to a chip integrated with at least two modes, namely, a bluetooth mode and a ZigBee or OpenThread mode, or the multi-mode single chip may further include other communication modes except the bluetooth mode and the ZigBee or OpenThread mode, and the device body including the multi-mode single chip includes only one transceiver antenna, and the two communication modes do not interfere with each other.
In the embodiment of the present invention, after the device body 110 is powered on, the wireless signals are detected in real time, wherein the wireless signals include a bluetooth broadcast packet, a bluetooth signal, and a ZigBee or OpenThread wireless signal.
Specifically, when the wireless signal received by the device body 110 is a bluetooth broadcast packet, the device body parses the bluetooth broadcast packet and executes an operation instruction through a bluetooth mode, that is, the device body parses the bluetooth broadcast packet through the bluetooth mode to obtain an operation instruction in the bluetooth broadcast packet and executes the operation instruction, where the operation instruction may include turning on and off of the device body, and the like, where the bluetooth broadcast packet may be sent by a remote control device or other devices, and the other devices may include smart control devices having independent operation systems, such as a smart phone, a smart tablet, and a smart watch;
when the wireless signal received by the device body 110 is a ZigBee or OpenThread wireless signal, the device body 110 establishes a wireless transmission channel with the intelligent control device 20 through the gateway 30 in a ZigBee or OpenThread mode to realize bidirectional signal transmission, the intelligent control device 20 is a device including a wifi function, such as a smart phone, a smart tablet, a smart watch, and the like, and is connected with the gateway 30 through a wifi network to transmit data to the device body 110 through the gateway 30. Specifically, the device body may receive, through ZigBee or OpenThread, an operation instruction sent by the intelligent control device 20 through the gateway using the wifi network, and execute a corresponding operation according to the operation instruction; and/or, the device body sends device information to the intelligent control device 20 that establishes a wireless transmission channel with the device body through ZigBee or OpenThread, where the device information includes a device state, a device parameter and/or a device type, and a device version, and the device state may refer to a power-on state, a switch state, or even a working state of the device body; the device type and the device version may refer to information such as a hardware version and a software version of the device body.
For example, after the device body, for example, the smart light bulb, and the smart phone serving as the smart control device 20 establish a wireless transmission channel through the gateway 30, when the user is in a bedroom, the smart phone can be used to check whether the smart light bulb in the living room is turned off, and if the smart light bulb is in an on state, the user can directly send an operation instruction through the smart phone to control the smart light bulb to be turned off. Therefore, the user does not need to go to the living room to check and turn off the light, and the use feeling of the user can be improved.
It should be noted that the operation instruction in this embodiment is not limited to the turning on and off of the device body, and different operation instructions may be set according to different device bodies, for example, for an intelligent lighting device, such as an intelligent bulb, brightness adjustment, cold and warm light adjustment, and the like; for smart home devices, such as smart curtains, the time for automatic opening or automatic closing may be included; for intelligent electrician devices, such as smart sockets, the operating instructions may also include times to automatically turn on or off, etc. Therefore, the specific instruction of the operation instruction is not limited in this embodiment.
When the wireless signal received by the equipment body is a Bluetooth signal, the equipment body establishes a Bluetooth channel with equipment sending the Bluetooth signal through a Bluetooth mode so as to realize bidirectional signal transmission. In the invention, because the multi-mode single chip of the device body comprises the Bluetooth mode, the device body can receive Bluetooth signals. When the wireless signal received by the equipment body is a Bluetooth signal, the equipment body can establish a Bluetooth channel with equipment sending the Bluetooth signal through a Bluetooth mode so as to realize bidirectional transmission. The device for sending the bluetooth signal is a device with a bluetooth function, and may be the above-mentioned intelligent control device, including a smart phone, a smart tablet, a smart watch, and the like. Specifically, the device body can receive an operation instruction sent by the intelligent control device establishing a bluetooth channel with the device body through the bluetooth channel, and execute corresponding operation according to the operation instruction; and/or the device body may send device information to a device that establishes a bluetooth channel with the device body through the bluetooth channel, where the device information includes a device state, a device parameter and/or a device type, a device version, and the like, and the device state may refer to a power-on state, a switch state, even a working state, and the like of the device body; the device type and the device version may refer to information such as a hardware version and a software version of the device body.
It should be noted that, in the present invention, in order to save the cost of the remote control device 100 and save the power consumption, when the remote control device 100 is used to control the device body, the remote control device 100 does not need to establish a connection with the device body, and can directly transmit the operation command to the device body in a one-way manner in a BLE, i.e., bluetooth broadcast manner.
Further, in the embodiment of the present invention, after the device body 110 is powered on, the bluetooth broadcast scanning function is turned on, whether a bluetooth broadcast signal exists is scanned, and if no bluetooth broadcast signal exists, the next scanning is waited again, and if a bluetooth broadcast signal exists, the command is analyzed to obtain an operation instruction in the bluetooth broadcast signal and executed, and meanwhile, the device body determines its own state, and processes the ZigBee or OpenThread wireless signal and the bluetooth signal according to the state determination result.
In the present invention, the device body 110 may include four operating states, specifically as follows:
the first working state: the first working state is an initial default working state, and when the first working state is in the initial default working state, the equipment body receives Bluetooth signals and ZigBee or OpenThread wireless signals.
In the first working state, the mode of the equipment body is as follows: in the ZigBee or OpenThread + BLE state, in this state, the device body 110 may be connected to the intelligent control device 20 through the gateway 30 by using the ZigBee or OpenThread, that is, all the intelligent control devices 20 may control the device body 110 by using the ZigBee or OpenThread through the gateway; the bluetooth mode is a BLE mode, and can receive bluetooth signals, and all the intelligent control devices 20 can establish bluetooth connection with the device body 110, and in this state, all the intelligent control devices 20 can configure or control the device body ZigBee or OpenThread network through the bluetooth mode.
The second working state: in this state, the device body 110 receives a specific bluetooth signal, wherein the specific bluetooth signal is a bluetooth signal transmitted by the device that obtains the device body information.
After the setting operation is carried out on the basis of the first working state, the second working state can be changed, and the mode of the equipment body is as follows: BLE, namely, the ZigBee or OpenThread mode is turned off at this time, the bluetooth mode is a BLE mode, and a specific bluetooth signal can be received, where the specific bluetooth signal is a bluetooth signal sent by the device that has obtained the device body information, that is, in this state, only the intelligent control device 20 that has obtained the device body information can establish bluetooth connection with the device body 110 using the bluetooth mode, and can control and configure the device body 110.
The third working state: in this state, only the intelligent control device 20 that has acquired the information of the device body 110 can establish a connection with the device body 110 through the gateway 30 using the ZigBee or OpenThread mode, and can control and configure the device body 110.
After the setting operation is carried out on the basis of the first working state, the third working state can be changed, and the mode of the equipment body is as follows: a specific ZigBee or OpenThread mode, i.e. the BLE function is turned off at this time, and no bluetooth signal is received.
The fourth working state: in this state, only the intelligent control device 20 that has acquired the information of the device body 110 can establish a connection with the device body 110 through the gateway 30 using the ZigBee or OpenThread mode, and only the intelligent control device 20 that has acquired the information of the device body 110 can establish a bluetooth connection with the device body 110.
After the setting operation is performed on the basis of the first working state, the fourth working state can be changed, and the mode of the equipment body is as follows: in this state, only the intelligent control device 20 that has acquired the device body 110 can establish a connection with the device body 110 through the gateway 30 using the ZigBee or OpenThread mode, and can control and configure the device body 110; the bluetooth is in BLE mode, and only the intelligent control device 20 that has obtained the information of the device body 110 can establish bluetooth connection with it, and can control and configure the device body 110 through bluetooth mode.
In the specific embodiment of the present invention, when the device body 110 is used for the first time, after the device body is powered on, the bluetooth broadcast scanning function is turned on, and the device body 110 defaults to enter the first working state, that is, in this state, all the intelligent control devices 20 may control the device body 110 through the gateway by using the ZigBee or OpenThread mode and all the intelligent control devices 20 may establish bluetooth connection with the device body 110; when the setting operation is performed on the basis of the first working state and the setting operation is changed into the second working state, only the intelligent control device 20 which has acquired the device body information can establish bluetooth connection with the device body 110 by using the bluetooth mode, and can control and configure the device body 110; when the setting operation is performed on the basis of the first working state and the setting operation is changed into a third working state, only the intelligent control device 20 which has acquired the information of the device body 110 can establish connection with the device body 110 through the gateway 30 by using a ZigBee or OpenThread mode, and can control and configure the device body 110; when the setting operation is performed on the basis of the first operating state and the setting operation is changed to the fourth operating state, only the intelligent control device 20 that has acquired the device body 110 can establish a connection with the device body 110 through the gateway 30 using the ZigBee or OpenThread mode and only the intelligent control device 20 that has acquired the information of the device body 110 can establish a bluetooth connection with the device body 110, thereby controlling and configuring the device body 110.
In addition, in some embodiments, if the device body is not used for the first time, when the device body is powered on, the bluetooth broadcast scanning function is started, and the device body acquires the last working state as the current working state, that is, the working state of the device body can be used for the last working state, for example, the device body is in the second working state when the power is down, and then when the device body is powered on for the next time, the working state is also directly set to the second working state without starting setting from the first working state.
In some embodiments, when the device body 110 is in the second, third, and fourth operating states, and when the intelligent control device that has currently acquired the device body information fails to control and configure the device body 110, the device body 110 is triggered to return to the initial default operating state, so as to reset the settings. The triggering of the device body 110 to return to the initial default working state may be triggered by a specific key on the device body 110, or may be triggered by setting the number of times of switching the device body 110, which is not limited in the present invention.
It should be noted that, after the device body is powered on, the bluetooth broadcast scanning function is turned on until the device body 110 is powered off, so that in the four working states, the device body 110 is always in a state capable of receiving the bluetooth broadcast packet.
The intelligent control device 20 is connected to the gateway 30 to establish connection with the device body 110 through the gateway, and transmit data to the device body 110 through the gateway, so as to control the device body 110, in the specific embodiment of the present invention, the intelligent control device 20 may establish connection with the gateway through a WIFI network, but the present invention is not limited thereto, the intelligent control device 20 is further configured with a bluetooth module to establish connection with the device body 110 through the bluetooth module, so as to realize control of the device body 110, in the specific embodiment of the present invention, when controlling through a bluetooth mode, there are two ways: firstly, the intelligent control equipment controls by sending a Bluetooth broadcast packet, and data is sent in a unidirectional mode; secondly, the intelligent control device sends data by establishing Bluetooth connection with the device body 110, and the data can be sent in two directions.
In the present invention, the smart control device 20 may be a smart phone, a smart tablet, a smart watch, or the like having an independent operating system.
The gateway 30 is configured to establish a wireless transmission channel between the intelligent control device 20 and the device body 110, so that the intelligent control device 20 without the ZigBee or OpenThread mode can control the device body 110 with the ZigBee or OpenThread mode through the gateway.
In addition, in order to adapt the device body to more application scenarios and improve the use feeling of the user, the control system of the intelligent device further includes a router 40 and a server 50, the device body 110 may be connected to the router 40 through a gateway 30 and further connected to the server 50, and meanwhile, the intelligent control device 20 may be directly connected to the router 40 and the server 50 through a wireless network, thereby implementing remote bidirectional signal transmission. After the device body 110 is connected with the server 50, more remote communication and more diversified control modes can be provided. For example, when a user is in a company, the user may connect to the server using the smart phone, so as to send an operation instruction to the device body or check device information of the device body, or in the smart home system, the smart home devices are all connected to the server, and other devices in the smart home devices may also implement bidirectional signal transmission with the device body, for example, the user may send an operation instruction to the device body or check device information of the device body through the smart speaker.
Based on the intelligent device, the invention also provides a control method of the intelligent device. Fig. 2 is a flowchart illustrating steps of a method for controlling an intelligent device according to the present invention, and as shown in fig. 2, the method for controlling an intelligent device according to the present invention includes the following steps:
and step S1, the remote control device acquires the operation instruction, processes the operation instruction into a Bluetooth broadcast packet according to a preset format, and sends the Bluetooth broadcast packet to the equipment body.
In an embodiment, the intelligent device comprises a device body and a remote control device, wherein the device body can be an intelligent lighting device, an intelligent lighting controller device, an intelligent electrician device, an intelligent household device and the like; the intelligent lighting equipment comprises an intelligent bulb, an intelligent down lamp, an intelligent ceiling lamp and the like, and can realize the functions of starting and closing the equipment, adjusting brightness, adjusting color temperature, adjusting color, changing mode patterns and speed, controlling timing, controlling lighting effect according to music rhythm, controlling scenes, setting parameters and the like; the intelligent decorative lighting controller equipment comprises an intelligent lamp strip controller, an intelligent Christmas lamp controller, an intelligent neon lamp controller and the like, and can realize the functions of opening and closing of the equipment, brightness adjustment, color temperature adjustment, color adjustment, mode pattern and speed conversion, timing control, light effect regulation according to music rhythm, scene control, parameter setting and the like; the intelligent electrician equipment comprises an intelligent socket, an intelligent extension socket, an intelligent on-off device, an intelligent panel switch and the like, and can realize the functions of starting and closing the equipment, countdown control, timing control, parameter setting and the like; the intelligent household equipment comprises an intelligent curtain, an intelligent window opener, an intelligent alarm, an intelligent sensor and the like, and can realize the functions of opening and closing, timing control, parameter setting and the like of the equipment.
In the present invention, the device body includes a multi-mode single chip, and the multi-mode single chip may include a bluetooth mode and a ZigBee or OpenThread mode. The multi-mode single chip herein may refer to a chip integrated with at least two modes, namely a bluetooth mode and a ZigBee or OpenThread mode, that is, a communication unit of the multi-mode single chip may only include the bluetooth mode and the ZigBee or OpenThread mode, or the multi-mode single chip may further include other communication modes besides the bluetooth mode and the ZigBee or OpenThread mode.
The remote control device can include a command input unit and a processing chip, wherein the command input unit can be used for obtaining the operation instruction, and the processing chip can be used for processing the operation instruction into a Bluetooth broadcast packet according to a preset format and sending the Bluetooth broadcast packet to the equipment body.
Because the device body is provided with the multi-mode single chip and the chip comprises the ZigBee or OpenThread mode and the Bluetooth mode, the device body can start Bluetooth broadcast scanning after being electrified, whether Bluetooth broadcast signals exist in the scanning process or not is scanned, the next scanning process is waited again if the Bluetooth broadcast signals exist in the scanning process, commands are analyzed if the Bluetooth broadcast signals exist in the scanning process, operation instructions in the Bluetooth broadcast signals are obtained and executed, wherein the operation instructions can comprise the starting and the closing of the device body and the like, the Bluetooth broadcast packet can be sent by a remote control device with a Bluetooth function or other devices with the Bluetooth module, and other devices with the Bluetooth module can comprise a smart phone with the Bluetooth module, a smart tablet, a smart watch and other intelligent control devices with independent operation systems.
Step S2, the device body detects a wireless signal in real time, where the wireless signal includes the bluetooth broadcast packet and a ZigBee or OpenThread signal.
The equipment body can real-time detection wireless signal after the equipment body is powered on, and because the equipment body is provided with a multi-mode single chip and the chip comprises a ZigBee or OpenThread mode and a Bluetooth mode, the equipment body can real-time detect a Bluetooth broadcast packet and a ZigBee or OpenThread signal.
And, the device body can be provided with a shared communication antenna, and the device body can utilize the shared communication antenna to receive and send ZigBee or OpenThread signal, bluetooth signal and/or bluetooth broadcast packet.
Step S200, when the wireless signal received by the equipment body is the Bluetooth broadcast packet, the equipment body analyzes the Bluetooth broadcast packet through the Bluetooth mode and executes the operation instruction.
When the wireless signal received by the equipment body is the Bluetooth broadcast packet, the equipment body can analyze the Bluetooth broadcast packet through a Bluetooth mode, obtain an operation instruction in the Bluetooth broadcast packet and execute the operation instruction. The operation instruction may include opening and closing of the device body, and the like.
The bluetooth broadcast packet may be sent by a remote control device, or may be sent by other devices, where the other devices may include devices with independent operating systems, such as a smart phone, a smart tablet, and a smart watch.
Step S201, when the wireless signal received by the device body is the ZigBee or OpenThread signal, the device body establishes a channel with a device that sends the ZigBee or OpenThread signal through the ZigBee or OpenThread mode, so as to implement bidirectional signal transmission.
When the wireless signal received by the equipment body is a ZigBee or OpenThread signal, the equipment body can establish a ZigBee or OpenThread channel with the intelligent control equipment through the gateway through a ZigBee or OpenThread mode so as to realize bidirectional signal transmission. The intelligent control device is a device with a wifi function, and can be other devices, including a smart phone, a smart tablet, a smart watch and the like.
Wherein, the step of realizing bidirectional signal transmission may comprise:
the equipment body receives an operation instruction sent by the intelligent control equipment through the gateway through ZigBee or OpenThread, and executes corresponding operation according to the operation instruction; and/or the device body sends device information to intelligent control equipment establishing a ZigBee or OpenThread channel with the device body through ZigBee or OpenThread, wherein the device information comprises a device state, a device parameter and/or a device type and a device version.
Specifically, after the device body and the intelligent control device establish a ZigBee or OpenThread channel through the gateway, the two devices may perform signal transmission through the ZigBee or OpenThread channel. The intelligent control device can send an operation instruction to the device body through the gateway by using the ZigBee or OpenThread channel, and the ZigBee or OpenThread channel is bidirectional, so that the device body can send device information to the intelligent control device through the ZigBee or OpenThread channel by using the gateway, wherein the device information can comprise device states, device parameters and/or device types, device versions and the like.
The equipment state can refer to the power-on state, the switch state, even the working state and the like of the equipment body; the device type and the device version may refer to information such as a hardware version and a software version of the device body.
In some embodiments, the control method of the smart device may further include:
step S202, when the wireless signal received by the device body is a Bluetooth signal, the device body establishes a Bluetooth channel with the device sending the Bluetooth signal through a Bluetooth mode so as to realize bidirectional signal transmission.
The multi-mode single chip of the equipment body comprises a Bluetooth mode, so that the equipment body can receive Bluetooth signals. When the wireless signal received by the equipment body is a Bluetooth signal, the equipment body can establish a Bluetooth channel with equipment for sending the Bluetooth signal through a Bluetooth mode so as to realize bidirectional transmission. The device for sending the bluetooth signal is a device with a bluetooth function, and may be the above-mentioned intelligent control device, including a smart phone, a smart tablet, a smart watch, and the like.
In the present invention, the apparatus body includes four operating states, specifically as follows:
the first working state: the first working state is an initial default working state, and when the first working state is in the initial default working state, the equipment body receives Bluetooth signals and ZigBee or OpenThread wireless signals.
In the first working state, the mode of the equipment body is as follows: in the state, the device body can be connected with the intelligent control device through the gateway by using the ZigBee or the OpenThread, namely all the intelligent control devices can control the device body through the gateway by using the ZigBee or the OpenThread; the Bluetooth mode is BLE mode, can receive the bluetooth signal, and all intelligent control equipment can all establish the bluetooth with the equipment body and be connected, and all intelligent control equipment can all dispose or control equipment body zigBee or OpenThread network through the Bluetooth mode under this state.
The second working state: in this state, the device body receives a specific bluetooth signal, wherein the specific bluetooth signal is a bluetooth signal sent by the device that obtains the device body information.
After the setting operation is carried out on the basis of the first working state, the second working state can be changed, and the mode of the equipment body is as follows: BLE closes zigBee or OpenThread mode this moment promptly, and the bluetooth mode is BLE mode, can receive specific bluetooth signal, and wherein, specific bluetooth signal is the bluetooth signal that the equipment that has obtained equipment body information sent, that is to say, under this state, only the intelligent control equipment who has obtained equipment body information can use the bluetooth mode to establish the bluetooth with the equipment body and be connected to can control and configure the equipment body.
The third working state: in this state, only the intelligent control device that has acquired the device body information can establish a connection with the device body through the gateway using the ZigBee or OpenThread mode, and can control and configure the device body.
After the setting operation is carried out on the basis of the first working state, the third working state can be changed, and the mode of the equipment body is as follows: ZigBee or OpenThread, namely the BLE function is closed at this time, and no Bluetooth signal is received.
The fourth working state: in this state, only the intelligent control device that has acquired the device body information can establish a connection with the device body through the gateway using the ZigBee or OpenThread mode and only the intelligent control device that has acquired the device body information can establish a bluetooth connection with the device body.
After the setting operation is performed on the basis of the first working state, the fourth working state can be changed, and the mode of the equipment body is as follows: in this state, only the intelligent control device which has acquired the device body information can establish connection with the device body through the gateway by using the ZigBee or OpenThread mode, and can control and configure the device body; the bluetooth is BLE mode, and only the intelligent control equipment who has acquireed equipment body information can establish the bluetooth and connect, can control and dispose the equipment body through the bluetooth mode.
After the equipment body is powered on, if the equipment body is in a first-time use power-on state, the equipment body is defaulted to enter a first working state, namely, in the state, all intelligent control equipment can control the equipment body through the gateway by utilizing ZigBee or OpenThread, all the intelligent control equipment can establish Bluetooth connection with the equipment body, and the equipment body is controlled by utilizing a Bluetooth mode. In this state, the device body can receive an operation instruction sent by the intelligent control device through the gateway through the ZigBee or the OpenThread, and execute corresponding operation according to the operation instruction, and/or the device body sends device information to the intelligent control device which establishes a wireless transmission channel with the device body through the ZigBee or the OpenThread; the device body can also receive an operation instruction sent by the intelligent control device through the Bluetooth channel and execute corresponding operation according to the operation instruction, and/or the device body can send device information to the intelligent control device through the Bluetooth channel, wherein the device information comprises a device state, a device parameter and/or a device type, a device version and the like, and the device state can refer to a power-on state, a switch state, even a working state and the like of the device body; the device type and the device version may refer to information such as a hardware version and a software version of the device body.
If the device body is not used for the first time, the last working state is obtained as the current working state, namely the working state of the device body continues to be used for the last working state.
Specifically, if the last working state is the second working state, the second working state is taken as the current working state, the ZigBee or OpenThread mode is turned off, only the intelligent control device which has acquired the device body information can establish bluetooth connection with the device body by using the bluetooth mode, and the device body can be controlled and configured; if the last working state is the third working state, the BLE function is closed, the third working state is taken as the current working state, only the intelligent control equipment which acquires the equipment body information can establish connection with the equipment body through the gateway by using a ZigBee or OpenThread mode, and the equipment body can be controlled and configured; if the last working state is the fourth working state, the fourth working state is taken as the current working state, only the intelligent control device which acquires the device body can use the ZigBee or OpenThread mode to establish connection with the device body through the gateway, and only the intelligent control device which acquires the information of the device body can establish Bluetooth connection with the device body, so that the device body is controlled and configured.
For example, the device body is in the second working state when the power is off, and then the working state is directly set to the second working state when the device body is powered on next time, without setting from the first working state.
Preferably, in the present invention, when the device body is in the first operating state, if a state change instruction for changing to the second operating state, the third operating state, or the fourth operating state is received, the device body is changed to the second operating state, the third operating state, or the fourth operating state; and when the equipment body is in a second working state, a third working state or a fourth working state, if a state change instruction sent by equipment which is allowed to be controlled in the corresponding state is received, the corresponding working state is changed according to the state change instruction. The state change instruction may be an instruction issued by the intelligent control device.
Specifically, on the basis of the first operating state, when a state change instruction changing to the second operating state is received, the device body may change to the second operating state, that is, the BLE mode, that is, the ZigBee or OpenThread mode is turned off at this time, the bluetooth mode is the BLE mode, and the device body may receive a specific bluetooth signal, where the specific bluetooth signal is a bluetooth signal sent by a device that has acquired device body information, that is, in this state, only the intelligent control device that has acquired the device body information can establish bluetooth connection with the device body using the bluetooth mode, and can control and configure the device body.
On the basis of the first working state, when a state change instruction for changing the device body to the third working state is received, the device body can be changed to the third working state, namely, a ZigBee or OpenThread mode, namely, the device body closes a BLE function at the moment, does not receive a Bluetooth signal, and only the intelligent control device which acquires the information of the device body can establish connection with the device body through a gateway by using the ZigBee or OpenThread mode, and control and configure the device body. Specifically, the device body receives an operation instruction sent by the intelligent control device through the gateway, which obtains the device body information, through the ZigBee or OpenThread, and executes a corresponding operation according to the operation instruction; and/or the intelligent device body sends device information to the intelligent control device which establishes a wireless transmission channel with the device body through ZigBee or OpenThread, wherein the device information comprises a device state, a device parameter and/or a device type and a device version, and the device state can refer to a power-on state, a switch state, even a working state and the like of the device body; the device type and device version may refer to information such as hardware version and software version of the device body
On the basis of the first working state, when a state change instruction for changing the device body into a fourth working state is received, the device body can be changed into the fourth working state, namely, the specific ZigBee or OpenThread + specific BLE, in this state, only the intelligent control device which has acquired the device body information can establish connection with the device body through the gateway by using the ZigBee or OpenThread mode, and only the intelligent control device which has acquired the device body information can establish Bluetooth connection with the device body.
Of course, when the device body is in other working states, such as the second working state, the third working state or the fourth working state, if a state change instruction sent by the device which is allowed to be controlled in the corresponding state is received, the corresponding working state is changed according to the state change instruction.
In the invention, the intelligent control equipment is equipment with a wifi function, such as a smart phone, a smart tablet, a smart watch and the like, and is connected with the gateway through a wifi network to transmit data to the equipment body through the gateway.
Preferably, the control method of the present invention further comprises the steps of:
when the equipment body receives or detects the initial state trigger signal, the trigger equipment body returns to the initial default working state so that all the intelligent control equipment can reset the working state of the equipment body.
Specifically, when the device body is in the second, third, and fourth operating states, if the intelligent control device that has currently acquired the device body information fails to control and configure the device body, the device body may be triggered to return to the initial default operating state, so as to reset the operating state of the device body. In the embodiment of the present invention, the initial state trigger signal may be triggered by a specific key on the device body, or may be triggered by setting the number of times of switching the device body, which is not limited in the present invention.
It should be noted that, in the present invention, the bluetooth broadcast scanning function is turned on after the device body is powered on, and is not turned off until the device body is powered off, so that the device body is always in a state capable of receiving the bluetooth broadcast packet in the four operating states.
Examples
Fig. 3 is a flowchart illustrating the operation of the remote control device according to the embodiment of the present invention. In this embodiment, the remote control device is a bluetooth broadcast remote control, and the working process thereof is as follows:
step S301, the Bluetooth broadcast remote controller is powered on, and the remote controller starts to work;
step S302, whether a key is pressed down is detected, if not, the next key detection is waited again, and if yes, the operation goes to step S303;
step S303, sending a Bluetooth broadcast command according to the key value, sending a Bluetooth broadcast packet according to the format according to the definition content of the key value, and waiting for the next key detection after the sending is finished.
Fig. 4 is a flowchart illustrating a working procedure of receiving a bluetooth broadcast signal of a remote controller by an apparatus body having a dual-mode or multi-mode single chip according to an embodiment of the present invention. In this embodiment, the device body of the smart device may be a smart bulb, and the work flow of receiving the bluetooth broadcast signal of the remote controller is as follows:
step S401, powering on the device body with the dual-mode or multi-mode single chip, starting a Bluetooth broadcast scanning function, and starting working;
step S402, whether a Bluetooth broadcast signal exists is scanned, if not, the next scanning is waited again, and if the Bluetooth broadcast signal exists, the step S403 is entered;
step S403, analyzing the command and calling the processing program, and rescanning the Bluetooth broadcast signal after the task processing is finished.
Fig. 5 is a flowchart of a default operating state of a device body having a dual mode or multi-mode single chip according to an embodiment of the present invention. In this embodiment, when the device body is powered on for the first time, the default operating state is entered, and the working flow is as follows:
step S501, a device body with a dual-mode or multi-mode single chip is powered on and starts working;
step S502, the Bluetooth broadcast scanning function is started, the device body state is set to be an initial default state, namely a first working state: ZigBee or OpenThread + BLE; at the moment, the equipment body can be connected with all intelligent control equipment such as a smart phone through a ZigBee or an OpenThread through a gateway; the bluetooth is BLE mode, and all intelligent control equipment of this kind of state all can establish the bluetooth with the equipment body and be connected, can dispose intelligent terminal zigBee or OpenThread or control through the bluetooth mode this moment.
Step S503, after the setting operation is performed on the basis of the first operating state, the apparatus body changes to a second operating state: BLE; the bluetooth is BLE mode this moment, and only the intelligent control equipment who has acquireed equipment body information of this kind of state can use the bluetooth mode to establish the bluetooth with equipment body and be connected to can control and configure equipment body.
Step S504, after the setting operation is performed on the basis of the first operating state, the apparatus body may be changed to a third operating state: ZigBee or OpenThread; at this point, the BLE function is turned off; in this state, only the intelligent control device that has acquired the device body information can establish connection with the device body through the gateway using the ZigBee or OpenThread mode, and can control and configure the device body.
Step S505, after the setting operation is performed on the basis of the first operating state, the apparatus body may be changed to a fourth operating state: a specific ZigBee or OpenThread + a specific BLE; only the intelligent control equipment which acquires the equipment body information in the state can use the ZigBee or OpenThread mode to establish connection with the equipment body through the gateway and can control and configure the equipment body, the Bluetooth is in a BLE mode, only the intelligent control equipment which acquires the equipment body information in the state can establish Bluetooth connection with the equipment body, and the equipment body can be controlled and configured through the Bluetooth mode.
Fig. 6 is a flow chart of a non-default operating state of a device body having a dual mode or multi-mode single chip according to an embodiment of the present invention. In this embodiment, when the device body is not used for the first time, after the device body is powered on this time, the default working state is not entered, but the last working state is obtained as the current working state, that is, the working state of the device body continues to use the last working state, and the specific flow is as follows:
step S601, electrifying the equipment body with the dual-mode or multi-mode single chip to start working;
step S602, starting the Bluetooth broadcast scanning function, acquiring the last working state and setting the current state of the device body as the last working state.
In summary, the smart device, the control method of the smart device and the system of the present invention configure a single chip at least integrating bluetooth and ZigBee or OpenThread modes on the device body, so that the equipment body can be connected with the gateway and the server in a ZigBee or OpenThread communication mode, so that the intelligent control device such as a smart phone can establish connection with the device body through the gateway, or the intelligent control equipment is directly connected with the equipment body through a Bluetooth mode, so that the intelligent control equipment can control the equipment body by adopting two modes of ZigBee or OpenThread and Bluetooth, meanwhile, the invention configures a single chip at least integrating the Bluetooth and the ZigBee or OpenThread modes for the equipment body, so that the equipment body can be connected with a remote control device in a Bluetooth broadcasting mode, therefore, the purpose of double control of the intelligent control equipment (such as a smart phone) and the remote control device on the equipment body is achieved. The invention adopts a single dual-mode chip, only needs one antenna, reduces the mutual interference of signals, saves the board distribution space and reduces the hardware cost.
Compared with the prior art, the invention has the following advantages:
1. the equipment body of the invention uses a dual-mode or multi-mode ZigBee or OpenThread chip with a Bluetooth mode, the chip has a ZigBee or OpenThread communication mode and a Bluetooth communication mode, the ZigBee or OpenThread mode can be used for connecting a gateway and a server to realize various functions, and the Bluetooth communication mode can be used for receiving Bluetooth broadcast packet signals or establishing Bluetooth connection for communication.
2. The invention uses a single chip with two communication modes, so that only one receiving and transmitting antenna is used, and the two communication modes can not interfere with each other.
3. The invention uses a single chip with two communication modes, does not need an additional receiving device, has low hardware cost, saves more space and can make the equipment body smaller. Therefore, in some occasions with strict space requirements, such as intelligent bulbs and the like, the equipment body of the intelligent equipment can be provided with a remote controller.
4. In the invention, the equipment body is communicated with the remote controller through the Bluetooth broadcast packet, and the intelligent control equipment can also send the Bluetooth broadcast packet to the intelligent terminal by using the mode, so that the equipment body can be controlled by adopting two modes of ZigBee or OpenThread and Bluetooth.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Modifications and variations can be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the present invention. Therefore, the scope of the invention should be determined from the following claims.

Claims (14)

1. A control method of intelligent equipment comprises an equipment body and a remote control device, wherein the equipment body comprises a multi-mode single chip, the multi-mode single chip comprises a Bluetooth mode and a ZigBee or OpenThread mode, and the control method comprises the following steps:
the remote control device acquires an operation instruction, processes the operation instruction into a Bluetooth broadcast packet according to a preset format, and sends the Bluetooth broadcast packet to the equipment body;
the equipment body detects wireless signals in real time, wherein the wireless signals comprise the Bluetooth broadcast packet and ZigBee or OpenThread signals;
when the wireless signal received by the equipment body is the Bluetooth broadcast packet, the equipment body analyzes the Bluetooth broadcast packet through the Bluetooth mode and executes the operation instruction;
when the wireless signal received by the device body is the ZigBee or OpenThread signal, the device body establishes a channel with a device sending the ZigBee or OpenThread signal through the ZigBee or OpenThread mode to realize bidirectional signal transmission.
2. The method for controlling an intelligent device according to claim 1, wherein after the device body establishes a connection with an intelligent control device through the ZigBee or OpenThread mode by using a gateway, the method includes:
the equipment body receives an operation instruction sent by the intelligent control equipment through the gateway through ZigBee or OpenThread, and executes corresponding operation according to the operation instruction; and/or the device body sends device information to intelligent control equipment establishing a ZigBee or OpenThread channel with the device body through ZigBee or OpenThread, wherein the device information comprises a device state, a device parameter and/or a device type and a device version.
3. The method according to claim 1, wherein when the wireless signal received by the device body is a bluetooth signal, the device body establishes a connection with the intelligent control device through a bluetooth mode, the device body receives an operation instruction sent by the intelligent control device that sends the bluetooth signal through a bluetooth channel, and executes a corresponding operation according to the operation instruction, and/or the device body sends device information to the intelligent control device through the bluetooth channel.
4. The control method of an intelligent device according to claim 3, wherein the device body includes a plurality of operating states, wherein:
when the equipment is in a first working state, the equipment body receives a Bluetooth signal and a ZigBee or OpenThread wireless signal;
when the equipment body is in a second working state, the equipment body receives a specific Bluetooth signal, wherein the specific Bluetooth signal is a Bluetooth signal sent by equipment for obtaining the information of the equipment body;
in a third working state, the device body receives a specific ZigBee or OpenThread wireless signal, wherein the specific ZigBee or OpenThread wireless signal is a ZigBee or OpenThread wireless signal sent by the device for obtaining the device body information through a gateway;
in a fourth operating state, the device body receives a specific bluetooth signal and a specific ZigBee or OpenThread wireless signal, where the specific bluetooth signal is a bluetooth signal sent by a device that obtains the device body information, and the specific ZigBee or OpenThread wireless signal is a ZigBee or OpenThread wireless signal sent by the device that obtains the device body information through a gateway.
5. The method for controlling the intelligent device according to claim 4, wherein after the device body is powered on, the method comprises the following steps:
if the equipment body is in a first-time use power-on state, entering a first working state by default;
and if the equipment body is not used for the first time at present, acquiring the last working state as the current working state.
6. The method according to claim 5, wherein when the device body is in the first operating state, if a state change instruction to change to the second operating state, the third operating state, or the fourth operating state is received, the device body is changed to the second operating state, the third operating state, or the fourth operating state; and when the equipment body is in a second working state, a third working state or a fourth working state, if a state change instruction sent by equipment which is allowed to be controlled in the corresponding state is received, the corresponding working state is changed according to the state change instruction.
7. The control method of an intelligent device according to claim 1, characterized in that: when the equipment body receives or detects an initial state trigger signal, the equipment body is triggered to return to an initial default working state, so that all intelligent control equipment can reset the working state of the equipment body.
8. A smart device, the smart device comprising:
the remote control device comprises a command input unit and a processing chip, wherein the command input unit is used for acquiring an operation instruction, and the processing chip is used for processing the operation instruction into a Bluetooth broadcast packet according to a preset format and sending the Bluetooth broadcast packet to the equipment body;
the equipment body comprises a multi-mode single chip, the multi-mode single chip comprises a Bluetooth mode and a ZigBee or OpenThread mode, the equipment body is used for analyzing the Bluetooth broadcast packet through the Bluetooth mode and executing the operation instruction, and the equipment body is used for establishing a ZigBee or OpenThread channel with intelligent control equipment through a gateway through the ZigBee or OpenThread mode so as to realize bidirectional signal transmission.
9. The smart device of claim 8, wherein: the intelligent control equipment is connected with the equipment body through a Bluetooth channel, or sends an operation instruction to the equipment body in a Bluetooth broadcasting mode.
10. The smart device of claim 9, wherein: the equipment body comprises a plurality of working states, wherein: .
When the equipment is in a first working state, the equipment body receives a Bluetooth signal and a ZigBee or OpenThread wireless signal;
when the equipment body is in a second working state, the equipment body receives a specific Bluetooth signal, wherein the specific Bluetooth signal is a Bluetooth signal sent by equipment for obtaining the information of the equipment body;
in a third working state, the device body receives a specific ZigBee or OpenThread wireless signal, wherein the specific ZigBee or OpenThread wireless signal is a ZigBee or OpenThread wireless signal sent by the device for obtaining the device body information through a gateway;
in a fourth operating state, the device body receives a specific bluetooth signal and a specific ZigBee or OpenThread wireless signal, where the specific bluetooth signal is a bluetooth signal sent by a device that obtains the device body information, and the specific ZigBee or OpenThread wireless signal is a ZigBee or OpenThread wireless signal sent by the device that obtains the device body information through a gateway.
11. The smart device of claim 10, wherein: after the equipment body is powered on, starting Bluetooth broadcast scanning, acquiring and determining the current working state of the equipment body, and establishing connection with intelligent control equipment through a ZigBee or OpenThread mode by using a gateway and/or directly establishing connection with the intelligent control equipment through a Bluetooth mode according to the determined working state, so that the purpose that the intelligent control equipment controls the equipment body in a ZigBee or OpenThread mode and/or a Bluetooth mode is achieved.
12. The smart device of claim 9, wherein: the equipment body shares a communication antenna, and the communication antenna is utilized to receive and transmit ZigBee or OpenThread signals, Bluetooth signals and/or Bluetooth broadcast packets.
13. A control system for a smart device, comprising:
the smart device of any of claims 8-12;
the intelligent control equipment is connected with the gateway so as to be connected with the equipment body of the intelligent equipment through the gateway or directly connected with the equipment body through a Bluetooth mode, and the control of the equipment body is realized;
and the gateway is used for establishing a wireless transmission channel between the intelligent control equipment and the equipment body, so that the intelligent control equipment without the ZigBee or OpenThread mode can realize the control of the equipment body with the ZigBee or OpenThread mode through the gateway.
14. The control system of claim 13, wherein the control system further comprises a router and a server, the device body is connected to the router through a gateway and further connected to the server, and the intelligent control device is directly connected to the router and the server through a network, thereby implementing remote bidirectional signal transmission.
CN202110769652.1A 2021-07-07 2021-07-07 Intelligent device, control method and control system of intelligent device Pending CN113467264A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110769652.1A CN113467264A (en) 2021-07-07 2021-07-07 Intelligent device, control method and control system of intelligent device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110769652.1A CN113467264A (en) 2021-07-07 2021-07-07 Intelligent device, control method and control system of intelligent device

Publications (1)

Publication Number Publication Date
CN113467264A true CN113467264A (en) 2021-10-01

Family

ID=77879128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110769652.1A Pending CN113467264A (en) 2021-07-07 2021-07-07 Intelligent device, control method and control system of intelligent device

Country Status (1)

Country Link
CN (1) CN113467264A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107846672A (en) * 2017-10-31 2018-03-27 泰凌微电子(上海)有限公司 Communication pattern system of selection, IoT equipment and the storage medium of multimode IoT equipment
CN209845323U (en) * 2019-05-31 2019-12-24 深圳市致趣科技有限公司 Multi-protocol wireless communication module and wireless communication equipment
CN112423241A (en) * 2020-11-17 2021-02-26 江门市征极光兆科技有限公司 Intelligent device, control method and control system of intelligent device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107846672A (en) * 2017-10-31 2018-03-27 泰凌微电子(上海)有限公司 Communication pattern system of selection, IoT equipment and the storage medium of multimode IoT equipment
CN209845323U (en) * 2019-05-31 2019-12-24 深圳市致趣科技有限公司 Multi-protocol wireless communication module and wireless communication equipment
CN112423241A (en) * 2020-11-17 2021-02-26 江门市征极光兆科技有限公司 Intelligent device, control method and control system of intelligent device

Similar Documents

Publication Publication Date Title
KR101691446B1 (en) Method, apparatus, and system for intelligently controlling device, and plug-and-play device
EP3011768B1 (en) Method for configuring a node and node configured therefore
CN105137774B (en) Intelligent household appliance control method and device and mobile terminal
WO2022104713A1 (en) Intelligent device, and control method and control system for intelligent device
KR102125799B1 (en) IoT terminal remote controller based IoT control system and control method
KR20120067608A (en) A network system and a control method the same
CN108591106B (en) Intelligent fan lamp
CN109151782B (en) WIFI signal relay method and system based on intelligent household equipment
WO2021088163A1 (en) Wireless remote control method
KR100387184B1 (en) Wireless and interactive home automation system
CN105050239A (en) Integrated intelligent lighting device control system
KR100763175B1 (en) Method for recognition of user's life pattern and Home network system using by method for recognition of user's life pattern
CN113467264A (en) Intelligent device, control method and control system of intelligent device
CN107369311A (en) A kind of Domestic integrated formula remote control based on cloud computing
CN204697344U (en) A kind of have the simple and easy induction lamp system arranging function
CA3081075A1 (en) Control device, lighting device including the same, lighting system and method thereof
CN113496701A (en) Voice interaction system, method, equipment and conference system
CN108737228B (en) Intelligent home system, intelligent gateway and control method thereof
CN103796381A (en) Cell phone, illuminating system and illuminating control method of the cell phone
CN213907009U (en) Intelligent lighting equipment and control system thereof
CN114513771A (en) IoT (Internet of things) equipment control method, device, control system and terminal equipment
CN112882641A (en) Method, device, terminal equipment, server, mouse and medium
TWI470966B (en) Internet wireless-type power control system
KR100742348B1 (en) Home networking system capable of setting up a shortcut mode
CN213935171U (en) Intelligence networking control receiver

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination