CN114785628A - Whole-house intelligent equipment group control method, electronic equipment and medium - Google Patents

Whole-house intelligent equipment group control method, electronic equipment and medium Download PDF

Info

Publication number
CN114785628A
CN114785628A CN202210239446.4A CN202210239446A CN114785628A CN 114785628 A CN114785628 A CN 114785628A CN 202210239446 A CN202210239446 A CN 202210239446A CN 114785628 A CN114785628 A CN 114785628A
Authority
CN
China
Prior art keywords
group
equipment
intelligent
space
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210239446.4A
Other languages
Chinese (zh)
Inventor
李志为
王树友
刘宗孺
姚博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Bolian Intelligent Technology Co ltd
Original Assignee
Hangzhou Bolian 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 Hangzhou Bolian Intelligent Technology Co ltd filed Critical Hangzhou Bolian Intelligent Technology Co ltd
Priority to CN202210239446.4A priority Critical patent/CN114785628A/en
Publication of CN114785628A publication Critical patent/CN114785628A/en
Pending legal-status Critical Current

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/2816Controlling appliance services of a home automation network by calling their functionalities
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • 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
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention relates to a whole-house intelligent equipment group control method, electronic equipment and a medium, wherein the method comprises the following steps: the Bluetooth is connected with the intelligent equipment distribution network, and the intelligent equipment is distributed to an appointed equipment group according to the requirements of users; after receiving an operation request of a user for any equipment group, performing instruction assembly according to the operation request to generate a control message; and encrypting the control message by adopting a broadcast key, and sending the encrypted control message to the intelligent equipment through Bluetooth so that the intelligent equipment executes corresponding actions according to the received control message. The invention realizes the group classification and the group control instruction broadcasting by carrying out the group identification and the distributed modeling on the home space and the intelligent equipment firmware, and adopts the Bluetooth broadcasting for control without depending on a gateway, so that common consumers can realize the control application of the equipment group of the home space in the zero configuration, thereby not only reducing the use threshold of the intelligent home, but also promoting the popularization of the intelligent home.

Description

Whole-house intelligent equipment group control method, electronic equipment and medium
Technical Field
The invention relates to the technical field of smart homes, in particular to a whole-house intelligent equipment group control method, electronic equipment and a medium.
Background
In recent years, with the rapid development of the internet and the internet of things, the whole-house intelligence in an intelligent home is more and more popular, more and more intelligent devices need to be controlled in the home, and the application requirements of a device group are more common.
In the existing device group application, most of the current whole-house intelligent applications are related configuration at an application client, namely, group establishment and group control, and particularly, under the condition that no gateway exists, a control command is generally issued to each device independently, so that for the group application, the common user experience is poor, the control synchronization consistency of the devices in the group is poor, and particularly when the number of the devices is large.
Disclosure of Invention
The embodiment of the invention provides a whole-house intelligent equipment group control method, electronic equipment and a medium, which are used for at least solving the problems that in the existing intelligent home environment, too many intelligent equipment cause that a consumer needs to repeatedly issue instructions and experience sense is poor.
In a first aspect, an embodiment of the present invention provides a whole-house intelligent device group control method, which is applied to a client, and the method includes:
the method comprises the steps that the Bluetooth is connected with an intelligent device distribution network, and the intelligent device is distributed to an appointed device group according to the requirements of a user;
after receiving an operation request of a user to any equipment group, performing instruction assembly according to the operation request to generate a control message;
and encrypting the control message by adopting a broadcast key, and sending the encrypted control message to the intelligent equipment through Bluetooth, so that the intelligent equipment executes corresponding actions according to the received control message.
In some embodiments, the connecting with the smart device distribution network via bluetooth includes:
sending a distribution network notification message to the intelligent equipment after the intelligent equipment is detected, wherein the distribution network notification message is encrypted by adopting a whitening key;
after receiving the equipment information fed back by the intelligent equipment, setting an equipment connection address, encrypting the equipment connection address and sending the encrypted equipment connection address to the intelligent equipment;
and completing the distribution network connection with the intelligent equipment after receiving the heartbeat data sent by the intelligent equipment.
Further, the setting mode of the device group includes:
acquiring a space model of a home space, planning the space model into a plurality of equipment spaces according to the needs of a user, and allocating a space number to each equipment space;
and attributing the intelligent devices in the same device space to a device group, and using the space number of the device space as the group ID of the device group.
Further, the device space includes a predefined space and a custom space, the custom space is set by a user according to the requirement of the user, and the predefined space includes:
defining the space model as a whole room space;
defining each floor of the space model as a whole into a floor space;
each of the floor spaces is divided into a plurality of predefined rooms, which are defined as living rooms, main beds, sub beds, restaurants, study rooms, guest rooms, toilets, balconies, kitchens or courtyards.
Further, the allocating the intelligent devices to the designated device group according to the requirements of the user includes:
and acquiring the group ID of the designated equipment group, sending the group ID to the intelligent equipment, and binding the intelligent equipment in the corresponding equipment group through the group ID.
Further, the assembling the instruction according to the operation request to generate the control message includes:
generating a control instruction of the intelligent equipment in the equipment group according to the operation request;
and acquiring the group ID of the equipment group, assembling and encrypting the group ID and the control command, and generating the control message.
Further, the generating a control instruction of the intelligent device in the device group according to the operation request includes:
if the operation request requests the intelligent equipment in the equipment group to execute the actions with the same function, each action generates a control instruction;
and if the operation request requests different intelligent devices in the device group to execute actions with different functions, generating a control instruction for each action of each intelligent device.
Further, the assembling the instruction according to the operation request to generate the control message includes:
generating a control instruction of the intelligent equipment in the equipment group according to the operation request;
and acquiring the group ID and the scene number of the equipment group, assembling and encrypting the group ID, the scene number and the control command, and generating the control message.
In a second aspect, an embodiment of the present invention provides an electronic device, which includes a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the computer program to perform the whole house intelligent device group control method described in any one of the above embodiments.
In a third aspect, an embodiment of the present invention provides a storage medium, where a computer program is stored in the storage medium, where the computer program is configured to execute the whole house intelligent device group control method described in any one of the foregoing embodiments when the computer program runs.
Compared with the related art, the whole-house intelligent equipment group control method provided by the embodiment of the invention has the advantages that in the lightweight whole-house intelligence based on the local communication of the Bluetooth, by adopting the mechanisms of planning and modeling the home space in advance, distributing the group identifiers, optimizing the broadcast of group control, pre-embedding the firmware of the intelligent equipment and the like, the installation threshold of the whole-house intelligence is reduced, and the experience of common users is greatly improved. Meanwhile, the control is carried out by adopting Bluetooth broadcast without depending on a gateway, so that common consumers can realize the control application of zero configuration to the equipment group of the home space, and the living cost is also reduced.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and do not limit the invention. In the drawings:
fig. 1 is a flowchart of a whole-house intelligent device group control method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a plan of equipment space for a whole house according to an embodiment of the present invention;
FIG. 3 is a basic communication topology between a client and a smart device in accordance with the present invention;
fig. 4 is a flowchart illustrating connection between the client and the smart device through the bluetooth network in step S1 in fig. 1;
FIG. 5 is a flowchart of the assignment of smart devices to designated device groups in step S1 of FIG. 1;
FIG. 6 is a control interface diagram of a cluster tool in accordance with one embodiment of the present invention;
FIG. 7 is a diagram illustrating a device group control process according to an embodiment of the present invention;
fig. 8 is a diagram illustrating a device group control procedure according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention 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 invention and are not intended to limit the invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments provided by the present invention, belong to the protection scope of the present invention. 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 invention. 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. It is explicitly and implicitly understood by one of ordinary skill in the art that the described embodiments of the present invention can be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this invention belongs. The use of the terms "a" and "an" and "the" and similar referents in the context of describing the invention (including a reference to the context of the specification and claims) are not to be construed as limiting the scope of the invention in any way, and may be construed in any way. The present invention relates to the terms "comprises," "comprising," "includes," "including," "has," "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 the listed 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, as used herein, 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 the association relationship of the associated object, indicating that there may be three relationships, for example, "a and/or B" may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The terms "first," "second," "third," and the like in reference to the present invention are used merely to distinguish between similar objects and not necessarily to represent a particular ordering for the objects.
The whole-house intelligent device group control method provided by the invention can be applied to a client (such as a mobile phone), and as can be seen by referring to fig. 1, the method provided by the embodiment of the invention comprises the following steps.
And step S1, connecting the intelligent equipment with the distribution network through Bluetooth, and distributing the intelligent equipment to a designated equipment group according to the requirements of users. In the embodiment of the invention, in order to facilitate the operation of a user on a plurality of intelligent devices, a virtual home space is constructed, and in the home space, the user can classify all the intelligent devices one by one according to own ideas to establish a plurality of device groups. Specifically, the setting process of the device group according to the embodiment of the present invention is described below.
Firstly, a space model of a home space is obtained, the space model is planned into a plurality of equipment spaces according to the needs of a user, and a space number is allocated to each equipment space. Then, the intelligent devices in the same device space are assigned to a device group, and the space number of the device space is used as the group ID of the device group. In the invention, the equipment space comprises a predefined space and a custom space, the custom space is set by a user according to the self requirement, equipment, names and the like can be added according to the self idea, and the predefined space comprises the following three types:
(1) defining the space model as a whole room space;
(2) defining each floor of the space model as a whole into a floor space;
(3) each floor space is divided into a plurality of predefined rooms, which are defined as a living room, a main bed, a secondary bed, a restaurant, a study, a guest room, a toilet, a balcony, a kitchen or a courtyard.
In the full-house intelligent application, the home space is functionally divided, a full-house intelligent space model is defined, and distribution rules in the definition domain are made for the related identifications such as floors and rooms, and refer to fig. 2. In this embodiment, it is assumed that the range of the space number is [0, 255], that is, 256 device spaces are preset in the home space, and the smart device may be allocated to any one device space. The above numbering ranges are sufficient for most all-house intelligent applications and if a relatively large range/area of all-house intelligent applications is involved, the method described with reference to the present invention may be extended. In the home space of the embodiment, three levels, such as a whole house, floors, rooms, and the like, are adopted for planning, and specific division is as shown in fig. 2.
Specifically, all the intelligent devices in the whole room space are regarded as being in a device group with a group ID (space number) of 0, and some pre-embedded scenes may also be supported in the whole room space, for example, scenes such as full-on and full-off of the intelligent devices in the whole room may be preset. All the intelligent devices on each floor are regarded as being in a floor group (floor space), and each floor can support some pre-buried scenes, such as scenes that the intelligent devices on a certain floor space are fully opened and fully closed. For the intelligent devices in each floor room, all the intelligent devices are regarded as being in a room group, if the intelligent devices are preset standard rooms (the devices in the rooms meet the scene requirements), pre-embedded scenes which are strongly related to the room functions can be supported, such as reading scenes of study rooms, and guest meeting scenes of living rooms, … …; other custom rooms, the consumer can customize the scene. In fig. 2, the "temporary groups" and "reservations" are of custom spaces, and for these reserved space numbers, the customer can make his/her own choice of equipment and custom groups based on his/her needs, such as defining a yard, and assign a free space number, such as "21".
In the group application described above, only the temporary group and the reservation need to be set by the consumer himself, and the other devices need not be allocated as long as they are in the corresponding spatial locations. The present embodiment predefines a number of rooms including living room, main bed, sub bed, dining room, study room, guest room, toilet, balcony, kitchen, living room, etc. Based on these predefined rooms, some scene applications related to the specific room can also be pre-embedded. Meanwhile, in order to adapt to the specific application of a consumer, a custom room is reserved on each floor; the consumer can customize the room according to the actual situation and the preference of the home. For the temporary group part, it is mainly used for the customer to create a temporary device group application. The reserved part is designed to be reserved for the identification of the whole group for special application related to the group.
After the space planning of the home space is completed, the consumer can use the client to connect the intelligent device and actively or automatically allocate the intelligent device to the corresponding device space, and the devices in the same device space belong to the same device group and have the same group ID.
In the lightweight whole-house intelligence of localized communication based on bluetooth, all related intelligent devices, such as intelligent lighting (bulbs, light strips, etc.), intelligent curtains, scene panels, … …, are added to a certain device space of a home by client pairing. The basic communication topology of the embodiment of the invention is shown in fig. 3, and the intelligent devices are connected with a mobile phone control end (client) through bluetooth communication. The bluetooth pairing process between the mobile phone control terminal and the intelligent device is as follows.
Referring to fig. 4, after detecting the smart device, the mobile phone client sends a notification distribution network message to the smart device, the notification distribution network message in the embodiment of the present invention is encrypted by using a whitening key, and after receiving the information, the smart device immediately responds to the notification distribution network message sent by the mobile phone, and feeds back device information and a random key to the mobile phone client, where the random key is burned in during the production of the smart device. The method comprises the steps that a client sets an equipment connection address after receiving equipment information fed back by the intelligent equipment, simultaneously sends a broadcast key, encrypts the equipment connection address and sends the encrypted equipment connection address to the intelligent equipment, the encryption process of the step adopts a random key provided by the equipment to encrypt, the equipment reports heartbeat data to the mobile phone client after receiving the equipment connection address sent by the mobile phone, and the heartbeat data is encrypted by the broadcast key. The client side completes the distribution network connection with the intelligent equipment after receiving the heartbeat data sent by the intelligent equipment, namely the mobile phone client side can control the state of the connected intelligent equipment after the network distribution is successful. In addition, after the equipment is successfully added, the control of the subsequent equipment adopts the broadcast key issued by the mobile phone client to encrypt or decrypt.
After the device is added successfully, the spatial position of the device needs to be set continuously, and then a corresponding device group or a customer-defined temporary group is formed. Where the ID is assigned using the mechanism described previously. Specifically, allocating the smart devices to the designated device group according to the requirements of the user includes: and acquiring the group ID of the designated equipment group, sending the group ID to the intelligent equipment, and binding the intelligent equipment in the equipment group through the group ID.
Grouping process of devices referring to fig. 5, a group set at the APP end (client) of the mobile phone can be divided into two cases: the first is to home the target smart device into a defined device space (predefined space); secondly, a temporary group is set in the user-defined space, and the target intelligent device is added into the temporary group. After the device group is selected, the group ID (corresponding space number) of the device group is sent to the target smart device, such as smart device #1 and smart device #2 in the figure, and the two smart devices receive the group ID and store the group ID in the storage unit, that is, the two smart devices are bound to the selected device group, and when the client controls the device group, the two devices execute corresponding operations to respond. Therefore, the group ID is used as the basic identification for the subsequent related control related to the group when the creation of the device group is successful.
Step S2, after receiving an operation request from a user to any device group, performing instruction assembly according to the operation request, and generating a control message. Specifically, firstly, generating a control instruction of the intelligent equipment in the equipment group according to the operation request; and then acquiring the group ID of the equipment group, assembling and encrypting the group ID and the control command to generate a control message.
For the control instruction of the present invention, there may be the following two cases:
first, if the operation request requests the intelligent devices in the device group to execute the actions with the same function, each action generates a control command. This is typically the case for the common function (i.e., intersection) of the smart devices in the group, thus ensuring that each smart device in the group responds accordingly to control commands sent by the client to a particular group of devices. For example, for a group of similar devices, i.e. a group of intelligent light bulbs, a command can be used to control the on/off, brightness adjustment, color temperature adjustment, color adjustment or mode execution of all light bulbs in the group; for a group consisting of different types of devices, one control command can control the functions of the devices with intersection, for example, a group with a light bulb and a curtain, and the two devices can be controlled to be turned on and off by one operation of a user.
As shown in fig. 6, three colored lights are provided under the equipment group of the whole house, and the three colored lights can be separately controlled, or a "room control" button can be clicked to enter the group control (i.e., the interface on the right side of fig. 6), so that the states of the three colored lights can be controlled simultaneously by operating on the interface.
Secondly, if the operation request requests different intelligent devices in the device group to execute actions with different functions, each action of each intelligent device generates a control instruction. The control instruction is formed by combining all functions of the intelligent equipment in the group, and then the intelligent equipment end performs corresponding processing after receiving the instruction, namely the equipment executes the function supported by the equipment; unsupported is ignored. For example, if a consumer wants to turn on a bulb and close a curtain after returning home, the client generates two control commands of turning on the bulb and turning off the curtain after receiving the operation request, and then assembles the two control commands and the group ID and sends the two control commands and the group ID to the intelligent device corresponding to the group ID.
And step S3, encrypting the control message through the broadcast key, and sending the control message to the intelligent device through Bluetooth, so that the intelligent device executes corresponding actions according to the received control message. Referring to fig. 6 in particular, a control message is broadcasted outwards on the mobile phone APP, the control message is formed by assembling a group ID and more than one control instruction (such as on, off, brightness adjustment, and the like), and after receiving the control message through bluetooth, the intelligent device decrypts the control message and identifies the group ID and the control instruction; and then matching the group ID with the group ID stored in the intelligent device. If the matching fails, the intelligent device is proved not to belong to the device group and not to be controlled by the user, and the message is discarded; if the matching is passed, the intelligent device is proved to belong to the device group, and then whether the intelligent device supports the control instruction is also judged, and if so, the control instruction is executed; if not, discarding the control message.
In another embodiment of the present invention, more than one pre-embedded scene and custom scene may be set in the device space, and a scene number is assigned to each pre-embedded scene, and then the corresponding preset control instruction is pre-embedded to the device side. The pre-buried scenes are preset, such as reading scenes of a study room (such as a desk lamp: on, white light and brightness of 70%), meeting scenes of a living room (such as a headlight on and an air conditioner on) and … …. And the scene number of the self-defined scene is generated after the definition of the consumer is completed. Therefore, in this embodiment, when performing instruction assembly according to the operation request and generating the control message, the control message further includes the scene number. Specifically, a control instruction of the intelligent equipment in the equipment group is generated according to the operation request; and acquiring the group ID and the scene number of the equipment group, assembling and encrypting the group ID, the scene number and the control command, and generating the control message.
After the intelligent device receives the control message through the bluetooth, referring to fig. 7, the intelligent device decrypts the control message, and identifies the group ID, the scene number, and the control instruction; and then matching the group ID and the scene number with the data stored in the intelligent equipment. If the matching fails, the intelligent device is proved not to belong to the device group and not to be controlled by the user, and the message is discarded; if the matching is passed, the intelligent equipment is proved to belong to the equipment group and a certain pre-embedded scene, and then whether the intelligent equipment supports the control instruction needs to be judged, and if so, the control instruction is executed; if not, discarding the control message.
It should be noted that, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiment and optional implementation manners, and details of this embodiment are not described herein again.
In addition, with reference to the method for controlling a whole-house intelligent device group in the foregoing embodiment, an embodiment of the present invention may provide a storage medium to implement the method. The storage medium has a computer program stored thereon; the computer program is executed by a processor to implement any one of the full-house intelligent device group control methods in the above embodiments.
An embodiment of the invention also provides an electronic device, which can be a terminal. The electronic device comprises a processor, a memory, a network interface, a display screen and an input device which are connected through a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the electronic device is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a whole house intelligent device group control method. The display screen of the electronic equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the electronic equipment, an external keyboard, a touch pad or a mouse and the like.
In an embodiment of the present invention, the electronic device is a mobile phone, and a mobile phone control terminal (client) selects a designated group (room or temporary group), enters a corresponding control page, and selects a target group for operation (such as turning on/off, adjusting brightness, and the like).
In summary, in the lightweight whole-house intelligence based on bluetooth localized communication, the control of the group is realized in the bluetooth communication domains established by the control end and the equipment end, and the gateway of a third party is not relied on, so that the generation cost is saved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases or other media used in the embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It should be understood by those skilled in the art that various technical features of the above-described embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above-described embodiments are not described, however, so long as there is no contradiction between the combinations of the technical features, they should be considered as being within the scope of the present description.
The above-mentioned embodiments only express several embodiments of the present invention, 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 inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent should be subject to the appended claims.

Claims (10)

1. A whole-house intelligent equipment group control method is applied to a client, and the method comprises the following steps:
the method comprises the steps that the Bluetooth is connected with an intelligent device distribution network, and the intelligent device is distributed to an appointed device group according to the requirements of a user;
after receiving an operation request of a user to any equipment group, performing instruction assembly according to the operation request to generate a control message;
and encrypting the control message by adopting a broadcast key, and sending the encrypted control message to the intelligent equipment through Bluetooth, so that the intelligent equipment executes corresponding actions according to the received control message.
2. The method of claim 1, wherein the connecting with the smart device distribution network via bluetooth comprises:
sending a distribution network notification message to the intelligent equipment after the intelligent equipment is detected, wherein the distribution network notification message is encrypted by adopting a whitening key;
after receiving the equipment information fed back by the intelligent equipment, setting an equipment connection address, encrypting the equipment connection address and sending the encrypted equipment connection address to the intelligent equipment;
and completing the distribution network connection with the intelligent equipment after receiving the heartbeat data sent by the intelligent equipment.
3. The method of claim 1, wherein the group of devices is configured in a manner comprising:
acquiring a space model of a home space, planning the space model into a plurality of equipment spaces according to the needs of a user, and allocating a space number to each equipment space;
the intelligent devices in the same device space are assigned to a device group, and the space number of the device space is used as the group ID of the device group.
4. The method of claim 3, wherein the device space comprises a predefined space and a custom space, the custom space is set by a user according to the user's needs, and the predefined space comprises:
defining the space model as a whole room space;
defining each floor of the space model as a whole as a floor space;
each of the floor spaces is divided into a plurality of predefined rooms, which are defined as living rooms, main beds, sub beds, restaurants, study rooms, guest rooms, toilets, balconies, kitchens or courtyards.
5. The method of claim 3, wherein said assigning the smart devices to a designated group of devices according to the user's needs comprises:
and acquiring the group ID of the designated equipment group, sending the group ID to the intelligent equipment, and binding the intelligent equipment in the corresponding equipment group through the group ID.
6. The method of claim 3, wherein the assembling the command according to the operation request to generate the control packet comprises:
generating a control instruction of the intelligent equipment in the equipment group according to the operation request;
and acquiring the group ID of the equipment group, assembling and encrypting the group ID and the control command, and generating the control message.
7. The method according to claim 6, wherein the generating of the control instruction of the smart device in the device group according to the operation request comprises:
if the operation request requests the intelligent equipment in the equipment group to execute the actions with the same function, each action generates a control instruction;
and if the operation request requests different intelligent devices in the device group to execute actions with different functions, generating a control instruction for each action of each intelligent device.
8. The method of claim 7, wherein the assembling the instructions according to the operation request to generate the control packet comprises:
generating a control instruction of the intelligent equipment in the equipment group according to the operation request;
and acquiring the group ID and the scene number of the equipment group, assembling and encrypting the group ID, the scene number and the control command, and generating the control message.
9. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and the processor is configured to execute the computer program to perform the whole house intelligent device group control method according to any one of claims 1 to 8.
10. A storage medium having a computer program stored thereon, wherein the computer program is configured to perform the whole house intelligent device group control method according to any one of claims 1 to 8 when executed.
CN202210239446.4A 2022-03-11 2022-03-11 Whole-house intelligent equipment group control method, electronic equipment and medium Pending CN114785628A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210239446.4A CN114785628A (en) 2022-03-11 2022-03-11 Whole-house intelligent equipment group control method, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210239446.4A CN114785628A (en) 2022-03-11 2022-03-11 Whole-house intelligent equipment group control method, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN114785628A true CN114785628A (en) 2022-07-22

Family

ID=82423670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210239446.4A Pending CN114785628A (en) 2022-03-11 2022-03-11 Whole-house intelligent equipment group control method, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN114785628A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117354078A (en) * 2023-12-06 2024-01-05 深圳市千岩科技有限公司 Intelligent household appliance group control and response method and device, equipment and medium thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105490897A (en) * 2015-12-11 2016-04-13 广东美的暖通设备有限公司 Household appliance control method and device, as well as mobile terminal
CN106385352A (en) * 2016-10-20 2017-02-08 北京小米移动软件有限公司 Device binding method and device
CN108398888A (en) * 2018-02-26 2018-08-14 四川蓝景光电技术有限责任公司 Intelligent home furnishing control method, control device and intelligent home control system
CN110568771A (en) * 2019-10-18 2019-12-13 珠海格力电器股份有限公司 system and method for intelligently and cooperatively controlling intelligent household equipment
CN113271579A (en) * 2021-05-24 2021-08-17 杭州涂鸦信息技术有限公司 Bluetooth device control method, client, computer device and readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105490897A (en) * 2015-12-11 2016-04-13 广东美的暖通设备有限公司 Household appliance control method and device, as well as mobile terminal
CN106385352A (en) * 2016-10-20 2017-02-08 北京小米移动软件有限公司 Device binding method and device
CN108398888A (en) * 2018-02-26 2018-08-14 四川蓝景光电技术有限责任公司 Intelligent home furnishing control method, control device and intelligent home control system
CN110568771A (en) * 2019-10-18 2019-12-13 珠海格力电器股份有限公司 system and method for intelligently and cooperatively controlling intelligent household equipment
CN113271579A (en) * 2021-05-24 2021-08-17 杭州涂鸦信息技术有限公司 Bluetooth device control method, client, computer device and readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117354078A (en) * 2023-12-06 2024-01-05 深圳市千岩科技有限公司 Intelligent household appliance group control and response method and device, equipment and medium thereof
CN117354078B (en) * 2023-12-06 2024-02-09 深圳市千岩科技有限公司 Intelligent household appliance group control and response method and device, equipment and medium thereof

Similar Documents

Publication Publication Date Title
JP7254894B2 (en) Connected lighting system
US11546746B2 (en) Method, device, and system for controlling a Bluetooth device over a Bluetooth mesh network
US10728990B2 (en) Lighting element-centric network of networks
KR102305360B1 (en) Standalone wireless lighting application
US11497100B2 (en) Configuring a load control system
CN109076686B (en) Load control system
CN108781174B (en) Device connection method and device, electronic device and readable storage medium
CN103616876A (en) Intelligent home centralized control device and intelligent home contextual model establishing method
CN105490897A (en) Household appliance control method and device, as well as mobile terminal
TW200910829A (en) Networked control system using logical addresses
US11997084B2 (en) Structure-based access control
CN114785628A (en) Whole-house intelligent equipment group control method, electronic equipment and medium
WO2023024752A1 (en) Network optimization method and apparatus, and electronic device
CN112230554A (en) Linkage control method and system, terminal, computer device and storage medium
CN112540545A (en) Intelligent equipment control method and system based on multiple intelligent systems
JP2019531578A (en) Lighting control
WO2022041841A1 (en) Device network distribution method, device control method, terminal apparatus and device control system
CN113286313A (en) Hardware equipment layout method and device
US11259168B2 (en) Method and device for controlling target device of host and client
CN112034725A (en) Remote home control method based on Internet of things
JP2023514959A (en) Security information discovery method, security information placement method and equipment
JP2021513270A (en) Commissioning methods and equipment with controlled participation modes
WO2020081703A1 (en) Method, device, and system for controlling a bluetooth device over a bluetooth mesh network
WO2021179267A1 (en) Method and apparatus for configuring client, and communication system
CN110809353A (en) Lamplight matching method, server and storage medium

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