CN114448742A - Bluetooth-based full-house intelligent device free scene definition method and system - Google Patents

Bluetooth-based full-house intelligent device free scene definition method and system Download PDF

Info

Publication number
CN114448742A
CN114448742A CN202111638897.7A CN202111638897A CN114448742A CN 114448742 A CN114448742 A CN 114448742A CN 202111638897 A CN202111638897 A CN 202111638897A CN 114448742 A CN114448742 A CN 114448742A
Authority
CN
China
Prior art keywords
scene
free
free scene
panel
intelligent device
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.)
Granted
Application number
CN202111638897.7A
Other languages
Chinese (zh)
Other versions
CN114448742B (en
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.)
Nanjing Broadlink Intelligent Technology Co ltd
Original Assignee
Nanjing Broadlink Intelligent Technology 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 Nanjing Broadlink Intelligent Technology Co ltd filed Critical Nanjing Broadlink Intelligent Technology Co ltd
Priority to CN202111638897.7A priority Critical patent/CN114448742B/en
Priority claimed from CN202111638897.7A external-priority patent/CN114448742B/en
Publication of CN114448742A publication Critical patent/CN114448742A/en
Application granted granted Critical
Publication of CN114448742B publication Critical patent/CN114448742B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L2012/284Home automation networks characterised by the type of medium used
    • H04L2012/2841Wireless
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L2012/2847Home automation networks characterised by the type of home appliance used
    • H04L2012/285Generic home appliances, e.g. refrigerators

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)
  • Telephone Function (AREA)

Abstract

The application relates to a method and a system for defining free scenes of full-house intelligent equipment based on Bluetooth, which are applied to a system comprising a client, a scene panel and a plurality of intelligent equipment, wherein the method comprises the following steps: the client debugs each intelligent device to a target state, generates a free scene ID based on each target state, and issues the free scene ID; the scene panel receives and stores the free scene ID, and when receiving the free scene setting instruction, the scene panel sends the free scene setting instruction through Bluetooth; when receiving the free scene setting instruction, each intelligent device analyzes the free scene setting instruction respectively, acquires a target state corresponding to the free scene ID, generates a state snapshot based on the target state, and stores the state snapshot, the situation panel ID, the free scene ID and the control secret key respectively. The method and the system can freely define scenes, and even if certain intelligent equipment is damaged, other intelligent equipment can still normally work due to the adoption of a distributed storage mode, so that the practicability is higher.

Description

Bluetooth-based full-house intelligent device free scene definition method and system
Technical Field
The application relates to the technical field of intelligent home, in particular to a method and a system for defining a free scene of full-house intelligent equipment based on Bluetooth.
Background
In recent years, with the rapid development of the internet and the internet of things, a whole-house intelligent system in an intelligent home is more and more popular. In current full-house intelligent systems, many applications of the scene occur, such as: a home scene, a home theater scene, a pre-sleep scene, a night scene, … …, etc., and the above scenes are typically present in a preset manner.
At present, some modes of defining scenes by using a client in the whole-house intelligence are adopted, so that a user can edit and optimize certain scenes or perform new scene definition based on selection of certain specific input parameters, but the scenes are limited in selection and definition, and the scene definition is not very convenient in practical application. In order to improve the limitation of a client (mobile phone APP), all parameters of all devices related to a current full-house intelligent scene can be selected or set at the client in the related technology, so that although the scene can be defined autonomously theoretically, certain learning cost is needed for understanding and selecting the parameters, confirming the effect of the scene and the like, and therefore, a certain use threshold is provided for common consumers, the actual application complexity is high, and the human-computer interaction is not intelligent enough.
At present, no effective solution is provided aiming at the problems of higher complexity of client defined scenes and insufficient intellectualization of human-computer interaction in the related technology.
Disclosure of Invention
The embodiment of the application provides a method and a system for defining a free scene of a Bluetooth full-house intelligent device, and aims to at least solve the problems that in the related technology, the complexity of a client for defining the scene is high, and the human-computer interaction is not intelligent enough.
In a first aspect, an embodiment of the present application provides a bluetooth-based method for defining a free scene of a whole-house intelligent device, which is applied to a system including a client, a scene panel, and a plurality of intelligent devices, and the method includes:
the client debugs each intelligent device to a target state, generates a free scene ID based on each target state, and issues the free scene ID;
the scene panel receives and stores the free scene ID, and when receiving a free scene setting instruction, the scene panel sends the free scene setting instruction through Bluetooth;
when receiving the free scene setting instruction, each intelligent device respectively analyzes the free scene setting instruction, wherein the free scene setting instruction comprises a situation panel ID, a free scene ID and a control secret key;
and each intelligent device obtains a target state corresponding to the free scene ID, generates a state snapshot based on the target state, and respectively stores the respective state snapshot, the situation panel ID, the free scene ID and the control secret key.
In some embodiments, after generating the state snapshot based on the target state, and saving the respective state snapshot and the context panel ID, the free scene ID, and the control key, respectively, the method further comprises:
when the scene panel receives a free scene execution instruction, the free scene execution instruction is sent through the Bluetooth, wherein the free scene execution instruction comprises a scene panel ID, a free scene ID and a control secret key;
when receiving the free scene execution instruction, each intelligent device respectively analyzes the free scene execution instruction; and matching the analyzed situation panel ID, the free scene ID and the control key with the stored situation panel ID, the free scene ID and the control key, and if the matching is successful, controlling the corresponding intelligent equipment according to the respective state snapshots.
In some embodiments, after generating the state snapshot based on the target state, and saving the respective state snapshot and the context panel ID, the free scene ID, and the control key, respectively, the method further comprises:
when the scene panel receives a free scene deleting instruction, the free scene deleting instruction is sent through the Bluetooth; the free scene deleting instruction comprises a scene panel ID, a free scene ID and a control secret key;
and each intelligent device receives the free scene deleting instruction, analyzes the free scene deleting instruction, matches the analyzed situation panel ID, the free scene ID and the control key with the stored situation panel ID, the free scene ID and the control key, and deletes the state snapshot, the situation panel ID, the free scene ID and the control key of each intelligent device if the matching is successful.
In some embodiments, before the client debugs each smart device to the target state, the method further comprises:
the client distributes a network to each intelligent device and distributes a corresponding physical address to each intelligent device, wherein each intelligent device is distributed in a designated room.
In some of these embodiments, the number of smart devices includes at least a smart light bulb, a smart switch, a contextual panel, and a smart window covering.
In some of these embodiments, where the smart device is a smart light bulb, the state snapshot includes at least a switch state, a brightness value, a color temperature value, an RGB value, and a contextual pattern number.
In some embodiments, in the case that the smart device is a smart window shade, the state snapshot includes at least a switch state, a window shade opening and closing percentage, forward and reverse rotation information, and optimal position information.
In a second aspect, the embodiment of the application provides a bluetooth-based full-house intelligent device free scene definition system, which is characterized by comprising a client, a scene panel and a plurality of intelligent devices;
the client is used for debugging each intelligent device to a target state, generating a free scene ID based on each target state and issuing the free scene ID;
the scene panel is used for receiving and storing the free scene ID, and when a free scene setting instruction is received, the free scene setting instruction is sent through Bluetooth;
each intelligent device is used for respectively analyzing the free scene setting instruction when receiving the free scene setting instruction, wherein the free scene setting instruction comprises a situation panel ID, a free scene ID and a control secret key;
each intelligent device is further configured to obtain a target state corresponding to the free scene ID, generate a state snapshot based on the target state, and store the state snapshot and the context panel ID, the free scene ID, and the control key, respectively.
In some embodiments, the context panel is further configured to send a free-scene execution instruction through the bluetooth when receiving the free-scene execution instruction, where the free-scene execution instruction includes a context panel ID, a free-scene ID, and a control key;
each intelligent device is also used for respectively analyzing the free scene execution instruction when receiving the free scene execution instruction; and matching the analyzed situation panel ID, the free scene ID and the control key with the stored situation panel ID, the free scene ID and the control key, and if the matching is successful, controlling the corresponding intelligent equipment according to the respective state snapshots.
In some embodiments, the scene panel is further configured to send a free scene deleting instruction through the bluetooth when receiving the free scene deleting instruction; the free scene deleting instruction comprises a scene panel ID, a free scene ID and a control secret key;
and each intelligent device is further used for analyzing the free scene deleting instruction after receiving the free scene deleting instruction, matching the analyzed situation panel ID, the free scene ID and the control key with the stored situation panel ID, the free scene ID and the control key, and deleting the state snapshot, the situation panel ID, the free scene ID and the control key of each intelligent device if matching is successful.
According to the technical scheme, the method comprises the steps that firstly, each intelligent device is debugged to a target state through a client, a free scene ID is generated based on each target state and issued, then the free scene ID is received and stored through a scene panel, and when a free scene setting instruction is received, the free scene setting instruction is sent through Bluetooth; because the user only needs to press a certain key (for example, long press key 1), the user sends a free scene setting instruction through bluetooth (bluetooth broadcast), and compared with a mode that the user needs to understand and select parameters to set a free scene in the related art, the method is simple and convenient to operate; then, when receiving the free scene setting instruction, each intelligent device respectively analyzes the free scene setting instruction, each intelligent device obtains a target state corresponding to the free scene ID, generates a state snapshot based on the target state, and respectively stores the respective state snapshot, the situation panel ID, the free scene ID and the control key, so that the user can not only define (set) the scene independently and freely according to the favorite intelligent device state, and solve the problems of higher complexity of defining the scene by the client and insufficient intellectualization of human-computer interaction in the related art, but also because the application adopts a distributed storage mode, that is, each intelligent device respectively stores the respective state snapshot, the situation panel ID, the free scene ID and the control key, compared with the mode of adopting gateway setting in the related art, that is, if the gateway fails, all the intelligent devices cannot normally set, due to the adoption of the distributed storage mode, even if certain intelligent equipment is damaged, other normal intelligent equipment can still normally set the target state, and the practicability is higher.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic diagram of an application environment of a bluetooth-based full-house smart device free scene definition method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a scene panel according to an embodiment of the present application;
fig. 3 is a first flowchart of a bluetooth-based whole-house smart device free scene definition method according to an embodiment of the present application;
fig. 4 is a second flowchart of a bluetooth-based whole-house smart device free scene definition method according to an embodiment of the present application;
fig. 5 is a schematic flow diagram illustrating a process in which a client allocates a network to each smart device and allocates a corresponding physical address to each smart device according to an embodiment of the present application;
FIG. 6 is a diagram illustrating a state snapshot definition for a smart light according to an embodiment of the present application;
FIG. 7 is a diagram illustrating state snapshot definitions for a smart window covering according to an embodiment of the present application;
fig. 8 is a block diagram of a bluetooth-based whole-house smart device free-scene system according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless otherwise defined, technical or scientific terms referred to herein should have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to only those steps or elements but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. Reference herein to "a plurality" means greater than or equal to two. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
The method for defining the free scene of the whole-house intelligent device based on the bluetooth can be applied to the application environment shown in fig. 1, and fig. 1 is an application environment schematic diagram of the method for defining the free scene of the whole-house intelligent device based on the bluetooth according to the embodiment of the application, as shown in fig. 1. The client side is communicated with the intelligent devices, the client side is communicated with the scene panel through Bluetooth, the client side debugs each intelligent device to a target state, generates a free scene ID based on each target state and issues the free scene ID; the scene panel receives and stores the free scene ID, and when receiving the free scene setting instruction, the scene panel sends the free scene setting instruction through Bluetooth; when receiving a free scene setting instruction, each intelligent device respectively analyzes the free scene setting instruction, wherein the free scene setting instruction comprises a situation panel ID, a free scene ID and a control secret key; and each intelligent device obtains a target state corresponding to the free scene ID, generates a state snapshot based on the target state, and respectively stores the respective state snapshot, the situation panel ID, the free scene ID and the control secret key. The client can be but is not limited to various mobile phone APPs, various personal computer APPs, notebook computer APPs and APPs on a tablet computer.
Fig. 2 is a schematic view of a scene panel according to an embodiment of the present application, referring to fig. 2, the scene panel is a control panel provided with a bluetooth (not shown in the figure) and a plurality of buttons, and in addition, the whole-house intelligent device in the present application may be any intelligent home device in life, for example, the intelligent device includes an intelligent floor sweeping robot, an intelligent lighting device, an intelligent audio-video device, an intelligent toilet, an intelligent router, an intelligent human health monitor, and the like. Of course, in other embodiments, the plurality of intelligent devices may also be different, and are not specifically limited herein;
fig. 3 is a first flowchart of a method for defining a free scene of a bluetooth-based whole-house smart device according to an embodiment of the present application, and as shown in fig. 3, in an embodiment of the present invention, the method for defining a free scene of a bluetooth-based whole-house smart device provided by the present invention is applied to a system including a client, a scene panel, and a plurality of smart devices, and the method includes the following steps:
step S301, debugging each intelligent device to a target state by a client, generating a free scene ID based on each target state, and issuing the free scene ID; in some other embodiments, the target state of each intelligent device may also be debugged by using a remote controller related to the intelligent device, which is not specifically limited herein; it is easy to understand that when the target states of the respective smart devices are different, the generated free-scenario IDs are also different.
The target state of the intelligent device is the working state of the intelligent device desired by the user, and in addition, the working states corresponding to the intelligent devices are different due to the difference of the intelligent devices. Table 1 shows target states of the intelligent devices of the whole house intelligent device in an embodiment of the present application, for example, in a case that the whole house intelligent device includes the intelligent lamp 1, the intelligent lamp 2, the intelligent lamp 3, the intelligent curtain 1 and the intelligent curtain 2, a user wants the intelligent lamp 1 to have a brightness of 30% and a color of pink, the user can debug the intelligent lamp 1 to have a brightness of 30% and a color of pink as target states of the intelligent lamp 1, i.e., an operating state of the intelligent lamp 1 that the user wants, similarly, the user wants the intelligent lamp 2 to have a brightness of 40% and a color of green, the user can debug the intelligent lamp 2 to have a brightness of 40% and a color of green as target states of the intelligent lamp 2, i.e., an operating state of the intelligent lamp 2 that the user wants, … …, when the user wants to adjust the curtain opening and closing percentage of the intelligent curtain 2 to be 20%, the curtain opening and closing percentage of the intelligent curtain 2 can be adjusted through the client, wherein the curtain opening and closing percentage of the intelligent curtain 2 is 20% of the target state of the intelligent curtain 2, and so on, which is not described in detail herein one by one, when each intelligent device reaches the target state, a free scene ID is generated based on each target state, and the free scene ID is issued;
TABLE 1
Intelligent device Adjust to the target state
Intelligent lamp #1 Brightness 30% color to pink
Intelligent lamp #2 The brightness is 40%, and the color is adjusted to green
Intelligent lamp #3 Brightness 30% color to blue
Intelligent lamp #4 Brightness 50% color tone to pure white light
Intelligent curtain #1 The percentage of opening and closing of the curtain is 50 percent
Intelligent curtain #2 The percentage of opening and closing of the curtain is 20 percent
Step S302, the scene panel receives and stores the free scene ID, and when receiving the free scene setting instruction, the scene panel sends the free scene setting instruction through Bluetooth (Bluetooth broadcast); therefore, the operation is simple and convenient, wherein the free scene setting instruction is generated by long pressing of a certain key on the scene panel, for example, when setting a favorite scene (free scene), the free scene setting instruction is sent through bluetooth (bluetooth broadcast) only by long pressing of a certain key (for example, long pressing of the key 1), and compared with the mode that parameters need to be understood and selected in the related art, the free scene setting instruction can be set, and the mode has a certain use threshold, and the operation is simple and convenient. In addition, the long key pressing time in this embodiment is 5 seconds, but in other embodiments, the long key pressing time may be set to be other, and the long key pressing time of a specific key may be set according to a user requirement, which is not specifically limited herein;
it should be noted that before the client debugs each intelligent device to the target state, the client and the scene panel are set in association, so that the scene panel can receive the free scene ID conveniently; in addition, the number of the scene panels may be 1, 2, 3 or more according to different actual application scenes, specifically set according to user requirements, and is not specifically limited herein;
step S303, when receiving a free scene setting instruction, each intelligent device respectively analyzes the free scene setting instruction, wherein the free scene setting instruction comprises a situation panel ID, a free scene ID and a control secret key;
it will be readily appreciated that each key of the context panel is provided with a unique context panel ID, a free-context ID and a control key.
Step S304, each intelligent device obtains a target state corresponding to the free scene ID, generates a state snapshot based on the target state, and respectively stores the respective state snapshot and the situation panel ID, the free scene ID and the control secret key, so that a user can independently and freely define the scene according to the favorite intelligent device state, and because a distributed storage mode is adopted, namely, each intelligent device respectively stores the respective state snapshot and the situation panel ID, the free scene ID and the control secret key, compared with a mode of adopting gateway setting in the related technology, if the gateway fails, all the intelligent devices cannot be normally set.
Through the steps S301 to S304, in the technical scheme of this embodiment, each piece of intelligent equipment is debugged to a target state through a client, a free scene ID is generated based on each target state, and is issued, then, the free scene ID is received and stored through a scene panel, and when a free scene setting instruction is received, the free scene setting instruction is sent through bluetooth; because the user only needs to press a certain key (for example, long press key 1), the user sends a free scene setting instruction through bluetooth (bluetooth broadcast), and compared with a mode that the user needs to understand and select parameters to set a free scene in the related art, the method is simple and convenient to operate; then, when receiving the free scene setting instruction, each intelligent device respectively analyzes the free scene setting instruction, each intelligent device obtains a target state corresponding to the free scene ID, generates a state snapshot based on the target state, and respectively stores the respective state snapshot, the situation panel ID, the free scene ID and the control key, so that the user can not only define (set) the scene independently and freely according to the favorite intelligent device state, and solve the problems of higher complexity of defining the scene by the client and insufficient intellectualization of human-computer interaction in the related art, but also because the application adopts a distributed storage mode, that is, each intelligent device respectively stores the respective state snapshot, the situation panel ID, the free scene ID and the control key, compared with the mode of adopting gateway setting in the related art, that is, if the gateway fails, all the intelligent devices cannot normally set, due to the adoption of the distributed storage mode, even if certain intelligent equipment is damaged, other normal intelligent equipment can still normally set the target state, and the practicability is higher.
Fig. 4 is a second flowchart of a method for defining a free scene of a bluetooth-based whole-house smart device according to an embodiment of the present application, and as shown in fig. 4, in some embodiments, after generating a state snapshot based on a target state and respectively saving the state snapshot and a context panel ID, a free scene ID, and a control key, the method further includes the following steps:
when the scene panel receives a free scene execution instruction, the free scene execution instruction is sent through Bluetooth, wherein the free scene execution instruction comprises a scene panel ID, a free scene ID and a control secret key;
for example, when setting a favorite scene (free scene), only one key of the free scene (for example, long-time pressing of the key 1) is needed to be pressed for a short time, and then the free scene execution instruction is sent through bluetooth (bluetooth broadcast), compared with a mode that parameters need to be understood and selected in the related art, the free scene execution instruction can be executed, and the method is simple and convenient to operate; in addition, the short pressing time of the key in the embodiment is 1 second, and certainly, in other embodiments, the long pressing time of the key can also be set according to the user requirement, which is not specifically limited herein;
when receiving the free scene execution instruction, each intelligent device respectively analyzes the free scene execution instruction; and matching the analyzed situation panel ID, the free scene ID and the control key with the stored situation panel ID, the free scene ID and the control key, and if the matching is successful, controlling the corresponding intelligent equipment according to the respective state snapshots. Therefore, after a user autonomously and freely defines (sets) a scene, the user can control corresponding intelligent equipment according to respective state snapshots only by pressing a certain key of the scene panel (the key is consistent with the key when the free scene is set), and due to the adoption of a distributed storage mode, namely, each intelligent equipment respectively stores the respective state snapshots and the situation panel ID, the free scene ID and the control secret key.
In some embodiments, after generating the state snapshot based on the target state and saving the respective state snapshot and the context panel ID, the free scene ID, and the control key, respectively, the method further comprises the steps of: :
when the scene panel receives the free scene deleting instruction, the free scene deleting instruction is sent through Bluetooth; the free scene deleting instruction comprises a scene panel ID, a free scene ID and a control secret key;
the free scene deleting instruction is generated by triggering a certain key (the key is consistent with the key when the free scene is set) on the scene panel for multiple times by continuous short pressing, for example, the short pressing is performed for more than 5 times within 2 seconds, and the free scene deleting instruction is sent through Bluetooth (Bluetooth broadcast), so that compared with a mode that the free scene can be deleted only by understanding and selecting parameters in the related art, the method is simple and convenient to operate; in addition, the number of the continuous short-time pressing of the key in the preset time can also be set according to the requirements of the user, and the specific limitation is not made here;
and after receiving the free scene deleting instruction, each intelligent device analyzes the free scene deleting instruction, matches the analyzed context panel ID, the free scene ID and the control key with the stored context panel ID, the free scene ID and the control key, and if the matching is successful, deletes the state snapshot, the context panel ID, the free scene ID and the control key of each intelligent device. Therefore, if a user wants to delete a scene, after the user defines (sets) the scene independently and freely, the user only needs to continuously and briefly press a certain key of the scene panel for multiple times (the key is consistent with the key when the scene is set), and the state snapshot, the scene panel ID, the free scene ID and the control secret key of each intelligent device can be deleted.
Fig. 5 is a schematic flow chart of a client distributing a network to each intelligent device and allocating a corresponding physical address to each intelligent device according to an embodiment of the present application, as shown in fig. 5, in an embodiment, before the client debugs each intelligent device to a target state, the method further includes the following steps:
the client distributes a network to each intelligent device, and allocates a corresponding physical address to each intelligent device, wherein each intelligent device is allocated in a designated room.
It should be noted that the client, each intelligent device, and the context panel may be distributed in each room, or may be distributed only in a specific room, which is not specifically limited herein.
In order to meet the actual demands of user diversification, in some embodiments, the intelligent devices at least comprise an intelligent lighting bulb, an intelligent switch, a scene panel and an intelligent curtain.
Fig. 6 is a schematic diagram of state snapshot definition of an intelligent lighting lamp according to an embodiment of the present application, where as shown in fig. 6, in the case that the intelligent device is an intelligent lighting bulb, the state snapshot at least includes an on-off state, a brightness value, a color temperature value, an RGB value, and a situation mode number; of course, in some other embodiments, the state snapshot of the intelligent lighting bulb may be other, and is not specifically limited herein;
fig. 7 is a schematic diagram of state snapshot definition of an intelligent window covering according to an embodiment of the present application, where as shown in fig. 7, in the case that the intelligent device is an intelligent window covering, the state snapshot at least includes an opening and closing state, a window covering opening and closing percentage, forward and reverse rotation information, and optimal position information; of course, in some other embodiments, the state snapshot of the smart window shade may be other, and is not specifically limited herein;
it should be noted that the steps illustrated in the above-described flow diagrams or in the flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
This embodiment also provides a bluetooth-based whole-house intelligent device free scene system, which is used to implement the foregoing embodiments and preferred embodiments, and the description of which has been given is omitted. As used hereinafter, the terms "module," "unit," "subunit," and the like may implement a combination of software and/or hardware for a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 8 is a block diagram of a bluetooth-based whole-house smart device free-scene system according to an embodiment of the present application, and as shown in fig. 8, the system includes: the system comprises a client 81, a scene panel and a plurality of intelligent devices 83;
the client 81 is used for debugging each intelligent device 83 to a target state, generating a free scene ID based on each target state, and issuing the free scene ID;
a scene panel 82 for receiving and storing a free scene ID, and transmitting a free scene setting instruction through bluetooth when receiving the free scene setting instruction;
each intelligent device 83 is configured to, when receiving a free scene setting instruction, analyze the free scene setting instruction, where the free scene setting instruction includes a context panel ID, a free scene ID, and a control key;
each smart device 83 is further configured to obtain a target state corresponding to the free scene ID, generate a state snapshot based on the target state, and store the state snapshot and the context panel ID, the free scene ID, and the control key, respectively. The method comprises the steps that firstly, each intelligent device is debugged to a target state through a client, a free scene ID is generated based on each target state and issued, then the free scene ID is received and stored through a scene panel, and when a free scene setting instruction is received, the free scene setting instruction is sent through Bluetooth; because the user only needs to press a certain key (for example, long press key 1), the user sends a free scene setting instruction through bluetooth (bluetooth broadcast), and compared with a mode that the user needs to understand and select parameters to set a free scene in the related art, the method is simple and convenient to operate; then, when receiving the free scene setting instruction, each intelligent device respectively analyzes the free scene setting instruction, each intelligent device obtains a target state corresponding to the free scene ID, generates a state snapshot based on the target state, and respectively stores the respective state snapshot, the situation panel ID, the free scene ID and the control key, so that the user can not only define (set) the scene independently and freely according to the favorite intelligent device state, and solve the problems of higher complexity of defining the scene by the client and insufficient intellectualization of human-computer interaction in the related art, but also because the application adopts a distributed storage mode, that is, each intelligent device respectively stores the respective state snapshot, the situation panel ID, the free scene ID and the control key, compared with the mode of adopting gateway setting in the related art, that is, if the gateway fails, all the intelligent devices cannot normally set, due to the adoption of the distributed storage mode, even if certain intelligent equipment is damaged, other normal intelligent equipment can still normally set the target state, and the practicability is higher.
In some embodiments, the scenario panel 82 is further configured to, when receiving a free scenario execution instruction, send the free scenario execution instruction through bluetooth, where the free scenario execution instruction includes a scenario panel ID, a free scenario ID, and a control key;
each intelligent device 83 is further configured to, when receiving the free scene execution instruction, analyze the free scene execution instruction respectively; and matching the analyzed situation panel ID, the analyzed free scene ID and the analyzed control key with the stored situation panel ID, the stored free scene ID and the stored control key, and if the matching is successful, controlling the corresponding intelligent equipment 83 according to the respective state snapshots. Thus, after a user defines (sets) a scene autonomously and freely, the user can control the corresponding smart device 83 according to the respective state snapshot by simply pressing a certain key of the scene panel 82 (the key is consistent with the key when the free scene is set), and because a distributed storage mode is adopted, that is, each smart device 83 stores the respective state snapshot, the situation panel ID, the free scene ID and the control key, respectively, compared with a mode that a gateway is adopted to execute in the related art, that is, if the gateway fails, all the smart devices 83 cannot execute normally, in the present application, because the distributed storage mode is adopted, even if a certain smart device 83 is damaged, other normal smart devices 83 can still execute normally to a target state, that is, the corresponding smart device 83 is controlled according to the respective state snapshot, and the practicability is stronger.
In some embodiments, the scene panel 82 is further configured to, when receiving the free scene deleting instruction, send the free scene deleting instruction through bluetooth; the free scene deleting instruction comprises a scene panel ID, a free scene ID and a control secret key;
each smart device 83 is further configured to, upon receiving the free scene deleting instruction, analyze the free scene deleting instruction, match the analyzed context panel ID, free scene ID, and control key with the stored context panel ID, free scene ID, and control key, and if matching is successful, delete the state snapshot, the context panel ID, the free scene ID, and the control key of each smart device 83. Thus, if a user wants to delete a scene, after the user defines (sets) the scene autonomously and freely, the user only needs to press a certain key of the scene panel 82 for a plurality of times (the key is consistent with the key used for setting the free scene), and the state snapshot and the scene panel ID, the free scene ID, and the control key of each smart device 83 can be deleted.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A full-house intelligent device free scene definition method based on Bluetooth is characterized by being applied to a system comprising a client, a scene panel and a plurality of intelligent devices, and the method comprises the following steps:
the client debugs each intelligent device to a target state, generates a free scene ID based on each target state, and issues the free scene ID;
the scene panel receives and stores the free scene ID, and when a free scene setting instruction is received, the free scene setting instruction is sent through Bluetooth;
when receiving the free scene setting instruction, each intelligent device respectively analyzes the free scene setting instruction, wherein the free scene setting instruction comprises a situation panel ID, a free scene ID and a control secret key;
and each intelligent device obtains a target state corresponding to the free scene ID, generates a state snapshot based on the target state, and respectively stores the state snapshot, the situation panel ID, the free scene ID and the control secret key.
2. The method of claim 1, wherein after generating a state snapshot based on the target state, saving the respective state snapshot and context panel ID, free scene ID, and control key, respectively, the method further comprises:
when the scene panel receives a free scene execution instruction, the free scene execution instruction is sent through the Bluetooth, wherein the free scene execution instruction comprises a scene panel ID, a free scene ID and a control secret key;
when receiving the free scene execution instruction, each intelligent device respectively analyzes the free scene execution instruction; and matching the analyzed situation panel ID, the free scene ID and the control key with the stored situation panel ID, the free scene ID and the control key, and if the matching is successful, controlling the corresponding intelligent equipment according to the respective state snapshots.
3. The method of claim 1, wherein after generating a state snapshot based on the target state, saving the respective state snapshot and context panel ID, free scene ID, and control key, respectively, the method further comprises:
when the scene panel receives a free scene deleting instruction, the free scene deleting instruction is sent through the Bluetooth; the free scene deleting instruction comprises a scene panel ID, a free scene ID and a control secret key;
and each intelligent device receives the free scene deleting instruction, analyzes the free scene deleting instruction, matches the analyzed situation panel ID, the free scene ID and the control key with the stored situation panel ID, the free scene ID and the control key, and deletes the state snapshot, the situation panel ID, the free scene ID and the control key of each intelligent device if the matching is successful.
4. The method according to any one of claims 1-3, wherein before the client debugs the respective smart device to the target state, the method further comprises:
the client distributes a network to each intelligent device and distributes a corresponding physical address to each intelligent device, wherein each intelligent device is distributed in a designated room.
5. The method of any one of claims 1-3, wherein the number of smart devices includes at least a smart light bulb, a smart switch, a contextual panel, and a smart window covering.
6. The method of any of claims 1-3, wherein the state snapshot includes at least a switch state, a brightness value, a color temperature value, an RGB value, and a contextual pattern number, where the smart device is a smart light bulb.
7. The method according to any one of claims 1-3, wherein in the case that the smart device is a smart window shade, the state snapshot includes at least a switch state, a window shade opening and closing percentage, positive and negative rotation information, and optimal position information.
8. A full-house intelligent device free scene definition system based on Bluetooth is characterized by comprising a client, a scene panel and a plurality of intelligent devices;
the client is used for debugging each intelligent device to a target state, generating a free scene ID based on each target state and issuing the free scene ID;
the scene panel is used for receiving and storing the free scene ID, and when a free scene setting instruction is received, the free scene setting instruction is sent through Bluetooth;
each intelligent device is used for respectively analyzing the free scene setting instruction when receiving the free scene setting instruction, wherein the free scene setting instruction comprises a situation panel ID, a free scene ID and a control secret key;
each intelligent device is further configured to obtain a target state corresponding to the free scene ID, generate a state snapshot based on the target state, and store the state snapshot and the context panel ID, the free scene ID, and the control key, respectively.
9. The system according to claim 8, wherein the scene panel is further configured to send a free scene execution instruction via the bluetooth when receiving the free scene execution instruction, wherein the free scene execution instruction includes a scene panel ID, a free scene ID, and a control key;
each intelligent device is also used for respectively analyzing the free scene execution instruction when receiving the free scene execution instruction; and matching the analyzed situation panel ID, the free scene ID and the control key with the stored situation panel ID, the free scene ID and the control key, and if the matching is successful, controlling the corresponding intelligent equipment according to the respective state snapshots.
10. The system of claim 8, wherein the scene panel is further configured to send a free scene delete command via the bluetooth when receiving the free scene delete command; the free scene deleting instruction comprises a scene panel ID, a free scene ID and a control secret key;
and each intelligent device is further used for analyzing the free scene deleting instruction after receiving the free scene deleting instruction, matching the analyzed situation panel ID, the free scene ID and the control key with the stored situation panel ID, the free scene ID and the control key, and deleting the state snapshot, the situation panel ID, the free scene ID and the control key of each intelligent device if matching is successful.
CN202111638897.7A 2021-12-29 Bluetooth-based full-house intelligent equipment free scene definition method and system Active CN114448742B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111638897.7A CN114448742B (en) 2021-12-29 Bluetooth-based full-house intelligent equipment free scene definition method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111638897.7A CN114448742B (en) 2021-12-29 Bluetooth-based full-house intelligent equipment free scene definition method and system

Publications (2)

Publication Number Publication Date
CN114448742A true CN114448742A (en) 2022-05-06
CN114448742B CN114448742B (en) 2024-06-25

Family

ID=

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115378752A (en) * 2022-07-22 2022-11-22 杭州博联智能科技股份有限公司 Intelligent equipment control method, system, device and medium based on Bluetooth communication

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205015712U (en) * 2015-05-23 2016-02-03 深圳市尚吉电子有限公司 Zigbee switch of taking scene control function of intelligence house
CN105376905A (en) * 2015-11-26 2016-03-02 小米科技有限责任公司 Smart lighting equipment control method and device
CN109257259A (en) * 2018-11-30 2019-01-22 广东美的制冷设备有限公司 Scene inter-linked controlling method, device and household appliance
CN109799722A (en) * 2019-02-18 2019-05-24 珠海格力电器股份有限公司 Control method, device, system and the storage medium of smart home system, equipment
CN110824946A (en) * 2019-11-27 2020-02-21 南京博联智能科技有限公司 Intelligent equipment control system and method based on WiFi ad hoc network
CN111812993A (en) * 2020-06-30 2020-10-23 广东科徕尼智能科技有限公司 Scene linkage control method, device and storage medium
CN111913450A (en) * 2020-08-04 2020-11-10 青岛海信日立空调系统有限公司 Control method of intelligent household equipment, intelligent household system and gateway thereof
CN112506069A (en) * 2020-12-15 2021-03-16 珠海市魅族科技有限公司 Authentication method and device of intelligent household appliance and intelligent household appliance
CN113259376A (en) * 2021-06-10 2021-08-13 永旗(北京)科技有限公司 Control method of Internet of things equipment based on block chain
CN113325723A (en) * 2021-04-27 2021-08-31 深圳市壹厘米科技有限公司 Personalized intelligent scene generation control method, device, equipment and storage medium
CN113325724A (en) * 2021-04-30 2021-08-31 广州力控智电信息科技有限公司 Intelligent scene operation method, system, device and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205015712U (en) * 2015-05-23 2016-02-03 深圳市尚吉电子有限公司 Zigbee switch of taking scene control function of intelligence house
CN105376905A (en) * 2015-11-26 2016-03-02 小米科技有限责任公司 Smart lighting equipment control method and device
CN109257259A (en) * 2018-11-30 2019-01-22 广东美的制冷设备有限公司 Scene inter-linked controlling method, device and household appliance
CN109799722A (en) * 2019-02-18 2019-05-24 珠海格力电器股份有限公司 Control method, device, system and the storage medium of smart home system, equipment
CN110824946A (en) * 2019-11-27 2020-02-21 南京博联智能科技有限公司 Intelligent equipment control system and method based on WiFi ad hoc network
CN111812993A (en) * 2020-06-30 2020-10-23 广东科徕尼智能科技有限公司 Scene linkage control method, device and storage medium
CN111913450A (en) * 2020-08-04 2020-11-10 青岛海信日立空调系统有限公司 Control method of intelligent household equipment, intelligent household system and gateway thereof
CN112506069A (en) * 2020-12-15 2021-03-16 珠海市魅族科技有限公司 Authentication method and device of intelligent household appliance and intelligent household appliance
CN113325723A (en) * 2021-04-27 2021-08-31 深圳市壹厘米科技有限公司 Personalized intelligent scene generation control method, device, equipment and storage medium
CN113325724A (en) * 2021-04-30 2021-08-31 广州力控智电信息科技有限公司 Intelligent scene operation method, system, device and storage medium
CN113259376A (en) * 2021-06-10 2021-08-13 永旗(北京)科技有限公司 Control method of Internet of things equipment based on block chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
石秦峰;: "移动互联为控制中心的智能家居系统", 电子技术与软件工程, no. 13, 10 July 2018 (2018-07-10) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115378752A (en) * 2022-07-22 2022-11-22 杭州博联智能科技股份有限公司 Intelligent equipment control method, system, device and medium based on Bluetooth communication

Similar Documents

Publication Publication Date Title
CN107926103B (en) Commissioning and controlling a load control device
EP3171549B1 (en) Smart device grouping system, method and apparatus
CN113268005B (en) Intelligent scene control method, system, device and storage medium
US20120212140A1 (en) Apparatus and method for controlling lighting based on dali communication
US10701781B2 (en) Programming rules for controlling lighting based on user interactions with one or more actuators in one or more zones
CN105430841A (en) Method and apparatus for controlling intelligent lighting device
CN114585131A (en) Lamp effect control method and device, computer equipment and storage medium
CN109792822B (en) Method and system for lighting control
CN114448742B (en) Bluetooth-based full-house intelligent equipment free scene definition method and system
CN114448742A (en) Bluetooth-based full-house intelligent device free scene definition method and system
CN105828503A (en) Method and apparatus for controlling lamp
CN103941596B (en) Configuration method for the controller in home system
JP6562422B2 (en) System and method for controlling lighting units
JP2023162262A (en) Wireless communication apparatus, wireless communication system, control system, load control system, information terminal, control method and program
TW201437845A (en) Method, control system and equipment for binding/pairing
CN110149254B (en) Wireless switch control method, wireless switch and computer readable storage medium
CN116136659A (en) Intelligent device control method and electronic device
CN113395667A (en) Lamp control method and system based on mobile terminal
US20210212187A1 (en) A system for configuring a lighting device
US11271811B2 (en) Profile editing system
WO2016192443A1 (en) Method and system for setting intelligent terminal working scenario
US11785652B2 (en) Optical code provisioning for control devices
CN113497744B (en) Method and system for controlling smart home, wearable device and readable storage medium
JP2019121608A (en) Terminal equipment and lighting fixture control system
CN110967978B (en) Control method of intelligent device in chat mode, storage medium and network side device

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
GR01 Patent grant