CN114448742B - Bluetooth-based full-house intelligent equipment free scene definition method and system - Google Patents

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

Info

Publication number
CN114448742B
CN114448742B CN202111638897.7A CN202111638897A CN114448742B CN 114448742 B CN114448742 B CN 114448742B CN 202111638897 A CN202111638897 A CN 202111638897A CN 114448742 B CN114448742 B CN 114448742B
Authority
CN
China
Prior art keywords
scene
free
panel
free scene
control key
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.)
Active
Application number
CN202111638897.7A
Other languages
Chinese (zh)
Other versions
CN114448742A (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
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
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

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 terminal 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 each intelligent device receives the free scene setting instruction, the free scene setting instruction is respectively analyzed, 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 key. The application can freely define the scene, and because of adopting the distributed storage mode, even if some intelligent equipment is damaged, other intelligent equipment can still work normally, and the practicability is stronger.

Description

Bluetooth-based full-house intelligent equipment 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 free scenes 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 becoming more and more popular. In current full house intelligent systems, many scenario applications occur, such as: home scene, home theater scene, pre-sleep scene, night-up scene, … …, etc., and the above scenes generally exist in a preset manner.
Because the requirements on scenes in the home are various, most preset scenes are single in use scene, the actual living requirements of customers can not be met in actual application, at present, some full-house intelligence uses a mode of defining scenes by a client, a user can edit and optimize some scenes or perform new scene definition based on selection of some specific input parameters, but the method is limited in selection and definition, and is not very convenient in actual 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 in the client in the related technology, so that although the autonomous definition of the scene can be theoretically achieved, the understanding and selection of the parameters, the confirmation of the effect of the scene and the like all require certain learning cost, therefore, for a common consumer, a certain use threshold is provided, the practical application complexity is higher, and the human-computer interaction is not intelligent enough.
At present, aiming at the problems of higher complexity of a client definition scene and insufficient intellectualization of human-computer interaction in the related technology, an effective solution is not proposed yet.
Disclosure of Invention
The embodiment of the application provides a method and a system for defining free scenes of Bluetooth full-house intelligent equipment, which at least solve the problems of high complexity of defining scenes by clients and insufficient intelligentization of man-machine interaction in the related technology.
In a first aspect, an embodiment of the present application provides a method for defining a free scene of a full-house intelligent device based on bluetooth, which is applied to a system including a client, a scene panel and a plurality of intelligent devices, and the method includes:
the client terminal 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;
Each intelligent device respectively analyzes 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 key;
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 context panel ID, the free scene ID and the control key.
In some of these embodiments, after generating the state snapshot based on the target state, respectively saving the respective state snapshot and context panel ID, free-context ID, and control key, 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 key;
each intelligent device respectively analyzes 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 snapshot.
In some of these embodiments, after generating the state snapshot based on the target state, respectively saving the respective state snapshot and context panel ID, free-context ID, and control key, 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 situation panel ID, a free scene ID and a control key;
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 and the situation panel ID, the free scene ID and the control key of each intelligent device if the matching is successful.
In some of these embodiments, before the client debugs each smart device to the target state, the method further comprises:
the client allocates 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.
In some of these embodiments, the number of smart devices includes at least a smart light bulb, a smart switch, a scene panel, and a smart curtain.
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 status snapshot includes at least a switch status, a window shade opening/closing percentage, forward/reverse rotation information, and optimal position information.
In a second aspect, an embodiment of the present application provides a bluetooth-based full-house intelligent device free scene definition system, which is characterized in that the system includes 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 receiving a free scene setting instruction, the scene panel sends the free scene setting instruction 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 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, when receiving a free-scene execution instruction, the free-scene execution instruction through the bluetooth, where the free-scene execution instruction includes a context panel ID, a free-scene ID, and a control key;
each intelligent device is further configured to, when receiving the free scene execution instruction, respectively parse 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 snapshot.
In some embodiments, the scene panel is further configured to send the free scene deletion instruction through the bluetooth when receiving the free scene deletion instruction; the free scene deleting instruction comprises a situation panel ID, a free scene ID and a control key;
Each intelligent device is further configured to, upon receiving the free scene deletion instruction, parse the free scene deletion instruction, match the parsed context panel ID, free scene ID, and control key with the saved context panel ID, free scene ID, and control key, and delete the state snapshot and context panel ID, free scene ID, and control key of each intelligent device if the matching is successful.
According to the technical scheme, firstly, each intelligent device is debugged to a target state through a client, a free scene ID is generated based on each target state, the free scene ID 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, press key 1 for a long time), the free scene setting instruction is sent through bluetooth (bluetooth broadcast), and compared with the mode that parameters need to be understood and selected in the related art, the free scene setting method is easy and convenient to operate; then, each intelligent device analyzes the free scene setting instruction when receiving 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 stores the state snapshot and the situation panel ID, the free scene ID and the control key respectively.
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 specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
Fig. 1 is an application environment schematic diagram of a method for defining a free scene of a full-house intelligent device based on bluetooth according to an embodiment of the application;
FIG. 2 is a schematic diagram of a scene panel according to an embodiment of the application;
Fig. 3 is a first flow chart of a bluetooth-based full-house smart device free-scene definition method according to an embodiment of the present application;
fig. 4 is a second flow chart of a bluetooth-based full-house smart device free-scene definition method according to an embodiment of the present application;
FIG. 5 is a schematic flow chart of a client-side network configuration for each intelligent device and corresponding physical address assignment for each intelligent device according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a status snapshot definition of a smart light according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a state snapshot definition of a smart window covering in accordance with an embodiment of the application;
Fig. 8 is a block diagram of a bluetooth-based full-house smart device free-scene system according to an embodiment of the present application.
Detailed Description
The present application will be described and illustrated with reference to the accompanying drawings and examples in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application. All other embodiments, which can be made by a person of ordinary skill in the art based on the embodiments provided by the present application without making any inventive effort, are intended to fall within the scope of the present application. Moreover, it should be appreciated that while such a development effort might be complex and lengthy, it would nevertheless be a routine undertaking of design, fabrication, or manufacture for those of ordinary skill having the benefit of this disclosure, and thus should not be construed as having the benefit of this disclosure.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases 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. It is to be expressly and implicitly understood by those of ordinary skill in the art that the described embodiments of the application can be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms used herein should be given the ordinary meaning as understood by one of ordinary skill in the art to which this application belongs. The terms "a," "an," "the," and similar referents in the context of the application are not to be construed as limiting the quantity, but rather as singular or plural. The terms "comprising," "including," "having," and any variations thereof, are intended to cover a non-exclusive inclusion; 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. The terms "connected," "coupled," and the like in connection with the present application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as used herein means greater than or equal to two. "and/or" describes an association relationship of an association object, meaning that there may be three relationships, e.g., "a and/or B" may mean: a exists alone, A and B exist together, and B exists alone. The terms "first," "second," "third," and the like, as used herein, are merely distinguishing between similar objects and not representing a particular ordering of objects.
The full-house intelligent equipment free scene definition method based on Bluetooth provided by the application can be applied to an application environment shown in fig. 1, and fig. 1 is an application environment schematic diagram of the full-house intelligent equipment free scene definition method based on Bluetooth, according to an embodiment of the application, as shown in fig. 1. The client communicates with a plurality of intelligent devices, the client and the scene panel communicate through Bluetooth, 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 each intelligent device receives a free scene setting instruction, respectively analyzing the free scene setting instruction, wherein the free scene setting instruction comprises a situation panel ID, a free scene ID and a control key; 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 context panel ID, the free scene ID and the control key. The client may be, but not limited to, various mobile phones APP, various personal computers APP, notebook computer APP, and tablet computer APP.
Fig. 2 is a schematic diagram of a scenario panel according to an embodiment of the present application, referring to fig. 2, the scenario panel is a control panel provided with bluetooth (not shown in the figure) and a plurality of keys, and in addition, the full-house intelligent device in the present application may be any intelligent home device in life, for example, the intelligent device includes an intelligent sweeping robot, an intelligent lighting device, an intelligent audio-visual 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, which is not specifically limited herein;
Fig. 3 is a first flow chart of a method for defining a free scene of a full-house intelligent device based on bluetooth according to an embodiment of the application, as shown in fig. 3, in an embodiment of the application, the method for defining a free scene of a full-house intelligent device based on bluetooth is applied to a system including a client, a scene panel and a plurality of intelligent devices, and the method includes the following steps:
Step S301, a client terminal debugs each intelligent device to a target state, generates a free scene ID based on each target state, and issues the free scene ID; in some other embodiments, the intelligent devices may also be debugged to target states by remote controllers related to the intelligent devices, which is not specifically limited herein; it is easy to understand that when the target states of the respective smart devices are different, the generation free scene IDs are also different.
The target state of the intelligent device is the working state of the intelligent device which is wanted by the user, and in addition, the corresponding working states of the intelligent device are different due to the fact that the intelligent device is different. Table 1 is a target state of each intelligent device of the whole house intelligent device in an embodiment of the present application, for example, in the 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, the user wants the brightness of the intelligent lamp 1 to be 30% and the color to be pink, the brightness of the intelligent lamp 1 can be adjusted to be 30% and the color to be pink by the client, the brightness of the intelligent lamp 1 is 30% and the color to be pink is the target state of the intelligent lamp 1, that is, the user wants the working state of the intelligent lamp 1, the brightness of the intelligent lamp 2 is 40% and the color of the intelligent lamp 2 is green, the brightness of the intelligent lamp 2 can be adjusted to be 40% by the client, the working state of the intelligent lamp 2 is … …, the curtain opening and closing percentage of the intelligent curtain 2 can be adjusted to be 20% by the client, the opening and closing percentage of the intelligent curtain 2 is 20%, the user wants the brightness of the intelligent lamp 2 is 40%, the curtain 2 is the target state, the brightness of the intelligent lamp 2 is green, the brightness is 40% and the curtain is green, the curtain 2 is not used to be the curtain ID, and the curtain ID is free to be generated in the target states;
TABLE 1
Intelligent equipment Adjust to the target state
Intelligent lamp #1 The brightness of 30% is adjusted to pink
Intelligent lamp #2 Brightness 40% color is changed to green
Intelligent lamp #3 Brightness of 30% color is adjusted to blue
Intelligent lamp #4 Brightness 50% color to pure white light
Intelligent curtain #1 The opening and closing percentage of the curtain is 50 percent
Intelligent curtain #2 The opening and closing percentage 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 broadcasting); therefore, the operation is simple and convenient, wherein the free scene setting instruction is generated by long-time 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 broadcasting) only by long-time pressing of a certain key (for example, long-time pressing of key 1), compared with the mode that parameters are needed to be understood and selected in the related art, the free scene can be set, and the method has a certain use threshold. In addition, in the embodiment, the key length is 5 seconds in time, however, in other embodiments, the key length may be set to be other in time, and the length of a specific key may be set according to the user's requirement, which is not limited herein;
before the client terminal debugs each intelligent device to the target state, the client terminal and the scene panel are associated and arranged so as to facilitate the scene panel to receive the free scene ID; in addition, according to different practical application scenes, the scene panels can be 1,2,3 or more, and are specifically set according to the user requirements, and are not specifically limited herein;
Step S303, each intelligent device respectively analyzes 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 key;
it is readily understood that the keys of each context panel are provided with a unique context panel ID, a free-context ID, and a control key.
In 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 stores the state snapshot and the context panel ID, the free scene ID and the control key respectively, so that a user can autonomously and freely define a scene according to the favorite state of the intelligent device, and the distributed storage mode is adopted, that is, each intelligent device stores the state snapshot and the context panel ID, the free scene ID and the control key respectively.
Through the above steps S301 to S304, in the technical solution of this embodiment, each intelligent device is debugged to a target state by a client, a free scene ID is generated based on each target state, and the free scene ID is issued, then the free scene ID is received and stored by a scene panel, and when a free scene setting instruction is received, the free scene setting instruction is sent by bluetooth; because the user only needs to press a certain key (for example, press key 1 for a long time), the free scene setting instruction is sent through bluetooth (bluetooth broadcast), and compared with the mode that parameters need to be understood and selected in the related art, the free scene setting method is easy and convenient to operate; then, each intelligent device analyzes the free scene setting instruction when receiving 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 stores the state snapshot and the situation panel ID, the free scene ID and the control key respectively.
Fig. 4 is a second flowchart of a bluetooth-based full-house smart device free-scene definition method according to an embodiment of the present application, as shown in fig. 4, in some embodiments, after generating a state snapshot based on a target state, respectively saving the respective state snapshot and context panel ID, free-scene ID, and control key, the method further includes the steps of:
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 key;
The free scene execution instruction is generated by short-pressing a certain key (i.e. key 1) on the scene panel, for example, when setting a favorite scene (free scene), the free scene execution instruction is sent by bluetooth (bluetooth broadcast) only by short-pressing a certain key (e.g. long-pressing key 1) of the free scene, and compared with the 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 key in this embodiment is 1 second in time, and of course, in other embodiments, the key may be set in time according to the user's requirement, which is not limited herein;
Each intelligent device respectively analyzes 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 snapshot. Therefore, after the scene is autonomously and freely defined (set), a user only needs to press a certain key of the scene panel (the key is consistent with the key when the free scene is set) for controlling the corresponding intelligent equipment according to the respective state snapshot, and because a distributed storage mode is adopted, namely, each intelligent equipment respectively stores the respective state snapshot and the scene panel ID, the free scene ID and the control key, compared with a gateway executing mode in the related art, namely, if the gateway fails, all intelligent equipment cannot normally execute.
In some of these embodiments, after generating the state snapshot based on the target state, respectively saving the respective state snapshot and context panel ID, free scene ID, and control key, the method further comprises the steps of: :
When the scene panel receives a free scene deleting instruction, the free scene deleting instruction is sent through Bluetooth; the free scene deleting instruction comprises a situation panel ID, a free scene ID and a control 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 continuously and in a short time for more than 5 times, for example, the free scene deleting instruction is sent through Bluetooth (Bluetooth broadcasting), and compared with the mode that parameters are needed to be understood and selected in the related art, the free scene deleting instruction can be deleted, and the method is simple and convenient to operate; in addition, the number of times that the key is continuously pressed in the preset time can also be set according to the requirement of the user, and the key is not particularly limited herein;
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 and the situation panel ID, the free scene ID and the control key of each intelligent device if the matching is successful. Therefore, if the user wants to delete the scene, after autonomously and freely defining (setting) the scene, the user can delete the state snapshot and the context panel ID, the free scene ID and the control key of each intelligent device by continuously pressing a certain key of the scene panel for a plurality of times (the key is consistent with the key when the free scene is set), so that the operation is simple.
FIG. 5 is a schematic flow chart of a client network allocation for each intelligent device and corresponding physical address allocation for 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 allocates 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 limited herein.
To meet the actual needs of the diversity of users, in some of these embodiments, several intelligent devices include at least intelligent light bulbs, intelligent switches, scene panels, and intelligent curtains.
FIG. 6 is a schematic diagram of a status snapshot definition of a smart light according to an embodiment of the present application, as shown in FIG. 6, where the status snapshot includes at least a switch status, a brightness value, a color temperature value, an RGB value, and a contextual model number, in the case where the smart device is a smart light bulb; of course, in some other embodiments, the status snapshot of the intelligent lighting bulb may be other, which is not specifically limited herein;
FIG. 7 is a schematic diagram of a status snapshot definition of an intelligent window covering according to an embodiment of the present application, as shown in FIG. 7, wherein in the case that the intelligent device is an intelligent window covering, the status snapshot includes at least a switch status, a window covering opening/closing percentage, forward/reverse rotation information and optimal position information; of course, in some other embodiments, the status snapshot of the intelligent curtain may be other, which is not specifically limited herein;
it should be noted that the steps illustrated in the above-described flow or 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 other than that illustrated herein.
The embodiment also provides a bluetooth-based full-house intelligent device free scene system, which is used for realizing the above embodiment and the preferred embodiment, and is not described again. As used below, the terms "module," "unit," "sub-unit," and the like may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, 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 full-house smart device free-scene system according to an embodiment of the present application, as shown in fig. 8, the system comprising: the system comprises a client 81, a scene panel and a plurality of intelligent devices 83;
a client 81, configured to debug each intelligent device 83 to a target state, generate a free scene ID based on each target state, and issue the free scene ID;
A scene panel 82 for receiving and storing a free scene ID, and transmitting the 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, respectively parse 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 intelligent 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. Firstly, debugging each intelligent device to a target state through a client, generating a free scene ID based on each target state, issuing the free scene ID, then receiving and storing the free scene ID through a scene panel, and sending a free scene setting instruction through Bluetooth when receiving the free scene setting instruction; because the user only needs to press a certain key (for example, press key 1 for a long time), the free scene setting instruction is sent through bluetooth (bluetooth broadcast), and compared with the mode that parameters need to be understood and selected in the related art, the free scene setting method is easy and convenient to operate; then, each intelligent device analyzes the free scene setting instruction when receiving 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 stores the state snapshot and the situation panel ID, the free scene ID and the control key respectively.
In some embodiments, the scenario panel 82 is further configured to send, when receiving the free-scenario execution instruction, 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, respectively parse the free-scene execution instruction; and matching the analyzed situation panel ID, the free scene ID and the control key with the saved situation panel ID, the free scene ID and the control key, and if the matching is successful, controlling the corresponding intelligent device 83 according to the respective state snapshot. In this way, after the user autonomously and freely defines (sets) a scene, only needs to press a certain key of the scene panel 82 (the key is consistent with the key when the free scene is set), the corresponding intelligent device 83 can be controlled according to the respective state snapshot, and because a distributed storage mode is adopted, that is, each intelligent device 83 respectively stores the respective state snapshot and the scene panel ID, the free scene ID and the control key, compared with a mode adopting a gateway to execute in the related art, that is, if the gateway fails, all intelligent devices 83 cannot execute normally, the method adopting the distributed storage mode can still execute other normal intelligent devices 83 to the target state normally even if a certain intelligent device 83 is damaged, that is, the corresponding intelligent device 83 is controlled according to the respective state snapshot, so that the practicability is stronger.
In some embodiments, the scene panel 82 is further configured to send the free-scene deletion instruction through bluetooth when receiving the free-scene deletion instruction; the free scene deleting instruction comprises a situation panel ID, a free scene ID and a control key;
Each intelligent device 83 is further configured to, upon receiving the free scene deletion instruction, parse the free scene deletion instruction, match the parsed context panel ID, free scene ID, and control key with the stored context panel ID, free scene ID, and control key, and if the matching is successful, delete the state snapshot and context panel ID, free scene ID, and control key of each intelligent device 83. Thus, if the user wants to delete the scene, after autonomously and freely defining (setting) the scene, the user can delete the status snapshot and the context panel ID, the free scene ID and the control key of each intelligent device 83 by continuously pressing a certain key of the scene panel 82 (the key is consistent with the key when setting the free scene) for a plurality of times, so that the operation is simple.
The foregoing examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (8)

1. A bluetooth-based full-house intelligent device free scene definition method, characterized by being applied to a system comprising a client, a scene panel and a plurality of intelligent devices, the method comprising:
the client terminal 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;
each intelligent device respectively analyzes 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 key; the keys of each scene panel are provided with a unique scene panel ID, a free scene ID and a control key;
Each intelligent device obtains a target state corresponding to the free scene ID in a distributed storage mode, 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 key;
the free scene setting instruction is sent through Bluetooth broadcasting by long-pressing a certain key in the scene panel;
after generating a state snapshot based on the target state, respectively saving the respective state snapshot and context panel ID, free scene ID, and control key, 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 key;
Each intelligent device respectively analyzes the free scene execution instruction when receiving the free scene execution 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 controlling corresponding intelligent equipment according to respective state snapshots if the matching is successful;
Due to the adoption of the distributed storage mode, even if a certain intelligent device is damaged, other normal intelligent devices can still normally execute to the target state.
2. The method of claim 1, wherein after generating a state snapshot based on the target state, respectively saving the respective state snapshot and context panel ID, free-context ID, and control key, 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 situation panel ID, a free scene ID and a control key;
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 and the situation panel ID, the free scene ID and the control key of each intelligent device if the matching is successful.
3. The method of claim 1 or 2, wherein prior to the client commissioning each smart device to a target state, the method further comprises:
the client allocates 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.
4. The method of claim 1 or 2, wherein the number of smart devices includes at least a smart light bulb, a smart switch, a scene panel, and a smart curtain.
5. The method according to claim 1 or 2, wherein in case the smart device is a smart light bulb, the status snapshot comprises at least a switch status, a brightness value, a color temperature value, an RGB value and a contextual pattern number.
6. The method of claim 1 or 2, wherein in the case where the smart device is a smart window covering, the status snapshot includes at least a switch status, a window covering open/close percentage, forward/reverse rotation information, and optimal position information.
7. A full-house intelligent equipment free scene definition system based on Bluetooth is characterized by comprising a client, a scene panel and a plurality of intelligent equipment;
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 receiving a free scene setting instruction, the scene panel sends the free scene setting instruction 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 key; the keys of each scene panel are provided with a unique scene panel ID, a free scene ID and a control 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;
the free scene setting instruction is sent through Bluetooth broadcasting by long-pressing a certain key in the scene panel;
The scene 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 further configured to, when receiving the free scene execution instruction, respectively parse the free scene execution 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 controlling corresponding intelligent equipment according to respective state snapshots if the matching is successful;
Due to the adoption of the distributed storage mode, even if a certain intelligent device is damaged, other normal intelligent devices can still normally execute to the target state.
8. The system of claim 7, wherein the scene panel is further configured to send the free-scene deletion instruction via the bluetooth upon receiving the free-scene deletion instruction; the free scene deleting instruction comprises a situation panel ID, a free scene ID and a control key;
Each intelligent device is further configured to, upon receiving the free scene deletion instruction, parse the free scene deletion instruction, match the parsed context panel ID, free scene ID, and control key with the saved context panel ID, free scene ID, and control key, and delete the state snapshot and context panel ID, free scene ID, and control key of each intelligent device if the 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 CN114448742A (en) 2022-05-06
CN114448742B true CN114448742B (en) 2024-06-25

Family

ID=

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376905A (en) * 2015-11-26 2016-03-02 小米科技有限责任公司 Smart lighting equipment control method and device
CN112506069A (en) * 2020-12-15 2021-03-16 珠海市魅族科技有限公司 Authentication method and device of intelligent household appliance and intelligent household appliance
CN113325724A (en) * 2021-04-30 2021-08-31 广州力控智电信息科技有限公司 Intelligent scene operation method, system, device and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376905A (en) * 2015-11-26 2016-03-02 小米科技有限责任公司 Smart lighting equipment control method and device
CN112506069A (en) * 2020-12-15 2021-03-16 珠海市魅族科技有限公司 Authentication method and device of intelligent household appliance and intelligent household appliance
CN113325724A (en) * 2021-04-30 2021-08-31 广州力控智电信息科技有限公司 Intelligent scene operation method, system, device and storage medium

Similar Documents

Publication Publication Date Title
US11061385B2 (en) Method, apparatus and system for controlling device
CN113268005B (en) Intelligent scene control method, system, device and storage medium
US20180024541A1 (en) Smart home system and product thereof
CN105137774B (en) Intelligent household appliance control method and device and mobile terminal
CN108432186B (en) Method and device for controlling equipment
CN111970180B (en) Networking configuration method and device for intelligent household equipment, electronic equipment and storage medium
CN104394044A (en) Method and device for self-defining scene mode of intelligent equipment
CN104394045A (en) Scene mode recommending method and device for an intelligent device
US10701781B2 (en) Programming rules for controlling lighting based on user interactions with one or more actuators in one or more zones
CN111596562A (en) Device control method, cloud device and computer storage medium
CN112929246A (en) Processing method of operation instruction, storage medium, program product and user terminal
CN110601933A (en) Control method, device and equipment of Internet of things equipment and storage medium
CN114448742B (en) Bluetooth-based full-house intelligent equipment free scene definition method and system
US10698376B2 (en) Hierarchical wireless power management system and method, as well as remote control device and slave controller used therein
CN114488880A (en) Intelligent control method and device of equipment, intelligent switch and storage medium
CN112180753A (en) Intelligent home control method, system and server
CN114448742A (en) Bluetooth-based full-house intelligent device free scene definition method and system
CN114615307B (en) Equipment control method, control terminal and server equipment
CN114364106B (en) Light control method and device, storage medium and terminal equipment
CN112684713B (en) Response system and implementation method of scene application, grouping and control method of equipment
CN110149254B (en) Wireless switch control method, wireless switch and computer readable storage medium
US20220377869A1 (en) Defining one or more groups in a configurable system based on device name similarity
CN113395667A (en) Lamp control method and system based on mobile terminal
CN113497744B (en) Method and system for controlling smart home, wearable device and readable storage medium
CN105676803A (en) Intelligent home control system based on live-action interface

Legal Events

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