CN113783768B - Group control method, group control device and communication system - Google Patents

Group control method, group control device and communication system Download PDF

Info

Publication number
CN113783768B
CN113783768B CN202111022121.2A CN202111022121A CN113783768B CN 113783768 B CN113783768 B CN 113783768B CN 202111022121 A CN202111022121 A CN 202111022121A CN 113783768 B CN113783768 B CN 113783768B
Authority
CN
China
Prior art keywords
group
group address
client
controlled device
controlled
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
CN202111022121.2A
Other languages
Chinese (zh)
Other versions
CN113783768A (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.)
Hangzhou Tuya Information Technology Co Ltd
Original Assignee
Hangzhou Tuya Information 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 Tuya Information Technology Co Ltd filed Critical Hangzhou Tuya Information Technology Co Ltd
Priority to CN202111022121.2A priority Critical patent/CN113783768B/en
Publication of CN113783768A publication Critical patent/CN113783768A/en
Application granted granted Critical
Publication of CN113783768B publication Critical patent/CN113783768B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

The application discloses a group control method, a group control device and a communication system, wherein the group control method is applied to a client, and the method comprises the following steps: establishing a Bluetooth connection with at least one controlled device; acquiring a group address, and broadcasting the group address to the controlled equipment so that the controlled equipment adds the group address after judging that the preset adding condition is met; and broadcasting the control instruction to all the controlled devices corresponding to the group address so that the controlled devices execute the control instruction. By means of the method, group control can be achieved, and cost is low.

Description

Group control method, group control device and communication system
Technical Field
The present application relates to the field of communications technologies; in particular to a group control method, a group control device and a communication system.
Background
Along with the development of the Internet of things, intelligent devices are becoming more popular, and the demand for controlling a certain group of intelligent devices through group control is becoming higher and higher; for example: opening the intelligent lamp or controlling the color change; however, the current group control scheme has the problems that the realization is complex and the cost is high, and the client cannot directly send the control instruction to all intelligent devices under the group to realize the group control in a Bluetooth mode and the like.
Disclosure of Invention
The application provides a group control method, a group control device and a communication system, which can realize group control and have lower cost.
In order to solve the technical problems, the technical scheme adopted by the application is as follows: there is provided a group control method applied to a client, the method comprising: establishing a Bluetooth connection with at least one controlled device; acquiring a group address, and broadcasting the group address to the controlled equipment so that the controlled equipment adds the group address after judging that the preset adding condition is met; and broadcasting the control instruction to all the controlled devices corresponding to the group address so that the controlled devices execute the control instruction.
In order to solve the technical problems, another technical scheme adopted by the application is as follows: there is provided a group control method applied to a controlled device, the method comprising: establishing Bluetooth connection with a client; receiving a group address broadcasted by a client, and adding the group address after judging that a preset adding condition is met; and receiving a control instruction broadcast by the client, and executing the control instruction after judging that the group response condition is met.
In order to solve the technical problem, another technical scheme adopted by the application is as follows: there is provided a group control device comprising a memory and a processor connected to each other, wherein the memory is adapted to store a computer program which, when executed by the processor, is adapted to implement the group control method of the above-mentioned embodiments.
In order to solve the technical problem, another technical scheme adopted by the application is as follows: providing a communication system comprising a client and at least one controlled device connected with the client, wherein the client is used for establishing Bluetooth connection with the at least one controlled device; acquiring a group address, and broadcasting the group address to the controlled equipment so that the controlled equipment adds the group address after judging that the preset adding condition is met; and broadcasting the control instruction to all the controlled devices corresponding to the group address so that the controlled devices execute the control instruction.
Through above-mentioned scheme, the beneficial effect of this application is: the client firstly establishes Bluetooth connection with at least one controlled device, then obtains a group address and broadcasts the group address to the controlled device; after receiving the group address, the controlled equipment judges whether a preset adding condition is met, and if the preset adding condition is judged to be met, the group address is added; the group address is added to the controlled equipment by adopting the Bluetooth broadcasting group address mode, so that the group establishment operation is completed, the client can directly broadcast a control instruction to all the controlled equipment under the group address when performing group control, the controlled equipment executes the control instruction, the group establishment is realized, the group control is performed on the controlled equipment by adopting the client, the scheme is simple, and the intelligent equipment is not required to be used as a communication bridge between the client and the controlled equipment, so that the production cost is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. Wherein:
FIG. 1 is a flow chart of an embodiment of a group control method provided in the present application;
FIG. 2 is a flow chart of another embodiment of a group control method provided herein;
fig. 3 is an interaction diagram among a client, a cloud server and a controlled device provided by the application;
fig. 4 is a schematic diagram of an instruction sent by a controlled device to a client provided in the present application;
fig. 5 is a schematic diagram of an instruction sent by a client to a controlled device;
FIG. 6 is a schematic structural diagram of an embodiment of a group control device provided in the present application;
fig. 7 is a schematic structural diagram of an embodiment of a communication system provided in the present application.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
Referring to fig. 1, fig. 1 is a flowchart of an embodiment of a group control method provided in the present application, where the group control method is applied to a client, and the method includes:
step 11: a bluetooth connection is established with at least one controlled device.
In order to realize group control of controlled devices through Bluetooth, bluetooth connection between a client and the controlled devices is established; the client can realize the follow-up control instruction broadcast through Bluetooth by establishing Bluetooth connection with a plurality of controlled devices, thereby controlling the group of the plurality of controlled devices. Specifically, the number of the controlled devices can be one, two or more than two, and the controlled devices can be intelligent devices; for example: intelligent lamps, sound or air conditioner in intelligent household equipment; the client comprises, but is not limited to, a mobile phone, a tablet computer or a computer; it can be appreciated that, before bluetooth connection with the controlled device, the client may perform a network configuration binding operation on the controlled device through the encryption key based on the original broadcast scanning configuration binding logic.
Step 12: and acquiring the group address, and broadcasting the group address to the controlled equipment so that the controlled equipment adds the group address after judging that the preset adding condition is met.
The client broadcasts the acquired group address to the controlled device, so that the controlled device adds the group address after judging that the preset adding condition is met; in particular, all group addresses may collectively include a hexadecimal number: 255 group addresses represented by 0x 00-0 xFE, if the client needs to establish a group containing some controlled devices, broadcasting the obtained group address to the corresponding controlled devices; for example: the client broadcasts the acquired group address 0x39 to the controlled devices 1-3, so that the controlled devices 1-3 add the group address after judging that the preset adding condition is met, and a group comprising the controlled devices 1-3 is established.
Step 13: and broadcasting the control instruction to all the controlled devices corresponding to the group address so that the controlled devices execute the control instruction.
After the group is established by the Bluetooth broadcasting mode of the group address, the client can generate a control instruction, and then the control instruction is directly broadcast to all the controlled devices corresponding to the group address, namely, the control instruction is broadcast to all the controlled devices in the corresponding group, so that the controlled devices execute the control instruction, and group control is realized. For example, taking a controlled device as an intelligent lamp, the group includes intelligent lamps A-B, the client generates a control instruction for controlling the brightness of the intelligent lamp to be medium brightness, and the intelligent lamps A-B adjust the luminous brightness to be medium brightness after receiving the control instruction.
In this embodiment, the client first establishes a bluetooth connection with at least one controlled device, then obtains a group address, and broadcasts the group address to the controlled device; after receiving the group address, the controlled equipment judges whether a preset adding condition is met, and if the preset adding condition is judged to be met, the group address is added; the group address is added to the controlled equipment by adopting the Bluetooth broadcasting group address mode, so that the group establishment operation is completed, the client can directly broadcast the control instruction to all the controlled equipment under the group address when performing group control, the controlled equipment executes the control instruction, the group establishment is realized, the group control is performed on the controlled equipment by adopting the client, the scheme is simple, and the intelligent equipment is not required to be used as a communication bridge between the client and the controlled equipment, so that the production cost is reduced.
Referring to fig. 2, fig. 2 is a flowchart of another embodiment of a group control method provided in the present application, where the group control method is applied to a controlled device, and the method includes:
step 21: a bluetooth connection is established with the client.
This step is similar to step 11 in the above embodiment, and will not be described again.
Step 22: and receiving the group address broadcasted by the client, and adding the group address after judging that the preset adding condition is met.
And the controlled equipment judges whether the group address meets the preset adding condition after receiving the group address broadcasted by the client, and adds the group address after meeting the preset adding condition.
In a specific embodiment, the preset adding condition may be set according to the number of group addresses stored in the controlled device or according to the busyness of the controlled device; for example: when the number of the group addresses stored in the controlled device does not reach the threshold value of the storage number, the current controlled device is indicated to be capable of adding the group addresses, namely, the preset adding condition is met.
Step 23: and receiving a control instruction broadcast by the client, and executing the control instruction after judging that the group response condition is met.
After receiving the broadcasted control instruction, the controlled equipment can judge whether the controlled equipment belongs to a group to be controlled by the current client, if the controlled equipment is judged to be in the group, the controlled equipment is judged to meet the group response condition, and the control instruction is executed; for example, taking the controlled device as an intelligent lamp, the controlled device can execute corresponding operation of turning on or off the lamp according to the content of turning on or off carried by the control instruction.
Referring to fig. 3, fig. 3 is an interaction diagram among a client, a cloud server and a controlled device in a group control method provided in the present application, where the method includes:
step 31: the client establishes a bluetooth connection with at least one controlled device.
The client establishes Bluetooth connection with a plurality of controlled devices, and then selects corresponding controlled devices from the controlled devices which have established Bluetooth connection at present to establish a group; for example, the client may establish a bluetooth connection with the controlled devices 1 to 10, and then establish a group including the controlled devices 1 to 3 when the group needs to be established, and at this time, the client may broadcast the obtained group address to the controlled devices 1 to 3, so that the controlled devices 1 to 3 add the group address, thereby implementing the group establishment.
In a specific embodiment, the client may perform a corresponding group establishment operation based on a group establishment instruction input by a user; specifically, the group establishment instruction may include a device list of the controlled devices under the group to be established, the client may sequentially send the group addresses to the controlled devices according to the order of the controlled devices in the device list, and after the first controlled device adds the group address successfully, the client broadcasts the group address to the next controlled device until all the controlled devices in the device list add the group address, so as to complete the group establishment operation. For example, it is necessary to establish a group including the controlled devices 1 to 3, and the client may broadcast the group address to the controlled device 1, the controlled device 2, and the controlled device 3 in order.
It can be understood that when a certain controlled device fails to add a group address, the controlled device may feed back a group addition failure instruction to the client, so that the client knows that the task of establishing a group fails this time, stops the operation of establishing a group this time, and does not continue to broadcast the group address to the next controlled device.
Step 32: the client acquires the group address and broadcasts the group address to the controlled device, so that the controlled device adds the group address after judging that the preset adding condition is met.
The following steps are used to add the group address:
1) The client sends a group establishment request to the cloud server so that the cloud server sends a group address to the client.
After receiving a group establishment instruction input by a user, the client can acquire a group address from the cloud server, and then send a group establishment request to the cloud server so that the cloud server sends the group address to the client; specifically, the cloud server stores a group address library, where the group address library may include all group addresses and device information of all controlled devices configured under each group address, where all group addresses may be 255 group addresses as described above: and 0x 00-0 xFE, wherein the controlled equipment configured under each group address is the controlled equipment contained in the group corresponding to the group address, and if no controlled equipment is configured under a certain group address, the group address is not used. After the cloud server receives the group establishment instruction sent by the client, the cloud server can send the unused group address in the group address library to the client, namely, the group address which is not configured with any controlled device in the group address library is sent to the client.
In a specific embodiment, the cloud server may select the group address used for the current establishment of the group according to the order of the group addresses included in the group address library; for example, the group address library includes group addresses 1 to 255, and the group addresses that have been used have group addresses 1 to 3, 6, and 9, and then the cloud server can send the unused group address 4 to the client; it will be appreciated that if the used group address has group addresses 1, 4-7, then the cloud server may send the unused group address 2 to the client.
2) The controlled device judges whether the number of the stored group addresses is smaller than a preset number, and determines that a preset adding condition is met when judging that the number of the stored group addresses is smaller than the preset number.
After receiving the broadcasted group address, the controlled device judges whether the number of the stored group addresses is smaller than a preset number, and the preset number can be set according to the storage capacity of the controlled device in practical application; if the number of the stored group addresses is smaller than the preset number, the controlled device determines that the preset adding condition is met, and the controlled device can directly add the group addresses.
Further, the storage capacity of the group address of the controlled device is limited, that is, the number of group addresses that can be stored is limited, in general, each controlled device can only store 8 group addresses, if 8 group addresses are already stored in the controlled device, it is indicated that the controlled device cannot store new group addresses at this time, that is, the preset adding condition is not satisfied; if the number of the stored group addresses of the controlled device is less than 8, the controlled device can also store new group addresses at this time, that is, the preset adding condition is satisfied, so after receiving the broadcasted group addresses, the controlled device needs to determine whether to have the capability of adding the new group addresses according to the number of the stored group addresses.
3) When the number of the stored group addresses reaches the preset number, the controlled device sends the stored group addresses to the client so that the client receives the stored group addresses and forwards the stored group addresses to the cloud server, and the cloud server checks the stored group addresses.
If the number of the group addresses stored in the controlled device reaches the preset number, the controlled device is not required to meet the preset adding condition, and the group addresses stored in the controlled device are checked at the moment; the controlled device sends the stored group address to the client so that the client forwards the stored group address to the cloud server, and the cloud server verifies the stored group address by using the stored group address library to verify whether all the stored group addresses are valid, namely judging whether invalid group addresses exist in the stored group addresses, and if the invalid group addresses exist, the controlled device can delete the invalid group addresses to reduce the number of the stored group addresses so as to meet the preset adding condition and add new group addresses.
4) And when the cloud server verifies that all the stored group addresses are not valid, generating invalid group addresses and sending the invalid group addresses to the client.
The condition that the group address is invalid can comprise that the client side carries out the modification operation of the group under the condition that the controlled equipment is disconnected from the network and the like; for example: removing a group corresponding to a certain group address from a controlled device, or dismissing a group corresponding to a certain group address, wherein the group address stored in the controlled device is not synchronized correspondingly at this time, and the client synchronizes group information with the cloud server when performing the modification operation, so that a group address library stored in the cloud server is inconsistent with the group address stored in the controlled device, and the group address stored in the controlled device is invalid, therefore, the group address stored in the controlled device can be checked through the group address library stored in the cloud server, and the group address stored in the controlled device is corrected.
In a specific embodiment, the cloud server may determine whether the controlled device is configured under the stored group address, and if the controlled device is configured under the stored group address, determine that all the stored group addresses are valid, and send a failure of group addition to the client, so that the client ends the group establishment.
If the controlled equipment is not configured under the stored group address, determining that the stored group address is invalid; for example, the client broadcasts a group address to the controlled device 1, the controlled device 1 stores the group addresses 1-8, the controlled device 1 sends all the stored group addresses 1-8 to the client, so that the client forwards the group addresses 1-8 to the cloud server, the controlled device 1 is configured under the corresponding group addresses 1-7 in the group address library stored by the cloud server, the controlled devices 1, 3, 4 are configured under the group address 1, the controlled devices 1, 4, 7 are configured under the group address 2, and the controlled device 1 is not configured under the group address 8, which only configures the controlled devices 2, 3, 5, which means that the controlled device 1 has been removed from the group corresponding to the group address 8, the group address 8 is invalid relative to the controlled device 1, and the cloud server can generate a corresponding invalid group address 8 according to the verification result and send the corresponding invalid group address 8 to the client.
It can be understood that there may be two or more invalid group addresses in the stored group addresses of the controlled device, and the cloud server may generate corresponding invalid group addresses after checking the stored group addresses, so that the controlled device deletes all the invalid group addresses; in other embodiments, the cloud server may further select any one group address from a plurality of invalid group addresses, and then generate an invalid group address, so that the controlled device only deletes the invalid group address, and the controlled device can also be ensured to meet a preset adding condition, and can add a new group address.
5) The client receives the invalid group address sent by the cloud server, generates a deleting instruction and sends the deleting instruction to the controlled device so that the controlled device deletes the invalid group address and returns to the step of receiving the group address broadcasted by the client.
After receiving the invalid group address sent by the cloud server, the client generates a deleting instruction for deleting the invalid group address and sends the deleting instruction to the controlled device, so that the controlled device deletes the invalid group address, and the controlled device meets the preset adding condition, and then returns to the step of receiving the group address broadcasted by the client to add the group address broadcasted by the client.
In a specific embodiment, after receiving the deletion instruction, the controlled device deletes the invalid group address, then adds the group address broadcasted by the client, and the controlled device may send the updated currently stored group address and its own device information to the client, and the client synchronizes the group address and the device information stored by the controlled device to the cloud server, so as to update the group address library in the cloud server. Specifically, the client may directly forward the received group address and the device information stored in the controlled device to the cloud server, so that the cloud server directly replaces the group address configuration related to the controlled device in the group address library.
In other embodiments, after deleting the invalid group address, the controlled device may feed back a group deletion completion instruction to the client, after adding a new group address, may feed back a group addition completion instruction to the client, and the client may directly send the device information of the controlled device, the group deletion completion instruction and the group addition completion instruction to the cloud server, so that the cloud server knows that the controlled device completes the deletion operation, and meanwhile, according to the group address included in the group addition completion information, adds the device information of the controlled device under the group address corresponding to the group address in the group address library, so as to update the group address library in the cloud server.
Step 33: the client broadcasts the control instruction to all the controlled devices corresponding to the group address so that the controlled devices execute the control instruction.
The fields contained in the instructions broadcast by the client to the controlled device may be different from the fields contained in the instructions broadcast by the controlled device to the client. Specifically, since the controlled device using the apple operating system (iPhone Operation System, iOS) cannot identify the broadcast command including Manufacturer data fields, and the controlled device using the android system can identify most of the fields of the broadcast command, as shown in fig. 4 to 5, the command broadcast by the controlled device to the client may include Manufacturer data fields, and the command broadcast by the client to the controlled device may include Local Name and UUID fields, so that the android system and iOS system can be applied.
With continued reference to fig. 5, the parameter content field included in the control instruction broadcasted by the client to the controlled device may include specific control content; for example, on/off, etc., the media access control address (Media Access Control Address, MAC) may contain address information of the control object of the present control instruction, and the client may implement group control or individual control on a certain controlled device by adding different address contents to the MAC address field of the control instruction; for example, when the MAC address field in the control instruction sent by the client includes 0xFFFFFFFFFF (which indicates a group address), that is, indicates group control performed on a certain group, the MAC address field in the control instruction sent by the client includes a MAC address of a certain device, for example: 00-16-EA-AE-3C-40, namely, the controlled equipment corresponding to the MAC address is controlled independently.
In a specific embodiment, when the client performs group control, it broadcasts a control command to all the controlled devices that have already established bluetooth connection, that is, all the controlled devices can receive the control command, and the controlled devices need to determine whether they meet the group response condition, and execute the control command when the group response condition is met. Specifically, the controlled device may identify a group address included in the control instruction, and the controlled device may determine whether it stores a group address corresponding to the control instruction; if the group address corresponding to the control instruction is stored, determining that the controlled equipment meets the group response condition, namely, under the group to be controlled, the controlled equipment can analyze the control content contained in the control instruction so as to execute the control instruction; if the controlled device does not store the corresponding group address in the control instruction, the control instruction is not executed. It can be understood that when the client performs the individual control, similarly, only the controlled device corresponding to the MAC address included in the control instruction executes the control instruction, and the other controlled devices ignore the control.
In this embodiment, the client broadcasts the acquired group address to the controlled device in the form of bluetooth broadcast; when the number of the stored group addresses is smaller than the preset number, adding the group addresses by the controlled device, and when the number of the stored group addresses is equal to the preset number, sending the stored group addresses to the client by the controlled device so that the client forwards the stored group addresses to the cloud server; the cloud server checks the acquired stored group address, sends the invalid group address to the client, so that the client sends a deleting instruction to the controlled device, the controlled device deletes the invalid group address and then adds a new group address, and then the client broadcasts the group address to the next controlled device until all the controlled devices add the group address, and the group corresponding to the group address is built; after the group is established, the client side can broadcast a control instruction to the controlled equipment according to the group address so that the controlled equipment corresponding to the group address executes the control instruction; in addition, the group address/the MAC address of a certain controlled device can be set through the MAC address field in the control instruction, so that group control or independent control can be realized, and different application requirements can be met.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an embodiment of a group control device provided in the present application, where the group control device 60 includes a memory 61 and a processor 62 connected to each other, and the memory 61 is used for storing a computer program, and the computer program is used for implementing the group control method in the above embodiment when executed by the processor 62.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an embodiment of a communication system provided in the present application, where the communication system 70 includes a client 71 and at least one controlled device 72 (fig. 7 illustrates one controlled device 72) connected to the client 71, and the client 71 is configured to establish a bluetooth connection with the at least one controlled device 72; acquiring a group address, and broadcasting the group address to the controlled device 72, so that the controlled device 72 adds the group address after judging that the preset adding condition is met; the control instruction is broadcast to all the controlled devices 72 corresponding to the group address so that the controlled devices 72 execute the control instruction.
In the several embodiments provided in the present application, it should be understood that the disclosed methods and apparatuses may be implemented in other manners. For example, the above-described device embodiments are merely illustrative, e.g., the division of modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist alone physically, or two or more units may be integrated into one unit. The integrated units may be implemented in hardware or in software functional units.
The foregoing description is only exemplary embodiments of the present application and is not intended to limit the scope of the present application, and all equivalent structures or equivalent processes using the descriptions and the drawings of the present application, or direct or indirect application in other related technical fields are included in the scope of the present application.

Claims (9)

1. A group control method, applied to a client, the method comprising:
establishing a Bluetooth connection with at least one controlled device;
acquiring a group address, and broadcasting the group address to the controlled equipment so that the controlled equipment adds the group address after judging that a preset adding condition is met; when the number of the stored group addresses of the controlled device reaches a preset number, the stored group addresses sent by the controlled device are received, and the stored group addresses are forwarded to a cloud server, so that the cloud server checks the stored group addresses, and when the stored group addresses are checked to be not all valid, invalid group addresses are generated;
after receiving the invalid group address sent by the cloud server, generating a deleting instruction and sending the deleting instruction to the controlled device so that the controlled device deletes the invalid group address;
broadcasting a control instruction to all the controlled devices corresponding to the group address, so that the controlled devices execute the control instruction.
2. The group control method according to claim 1, wherein the controlled device is configured to determine that the preset addition condition is satisfied when it is determined that the number of stored group addresses is smaller than the preset number.
3. The group control method of claim 1, wherein,
the cloud server stores a group address library, wherein the group address library comprises all the group addresses and equipment information of all the controlled equipment configured under each group address; the cloud server is configured to determine whether the controlled device is configured under the stored group address, and if not, determine that the stored group address is invalid.
4. The group control method of claim 1, wherein,
the instruction broadcast by the controlled device to the client comprises a Manufacturer data field, and the instruction broadcast by the client to the controlled device comprises a Local Name and a UUID field.
5. A group control method, characterized by being applied to a controlled device, the method comprising:
establishing Bluetooth connection with a client;
receiving a group address broadcasted by the client, and adding the group address after judging that a preset adding condition is met;
judging whether the number of the stored group addresses is smaller than a preset number; if not, the stored group address is sent to the client; the client is used for receiving the stored group address sent by the controlled device and forwarding the stored group address to a cloud server, so that the cloud server checks the stored group address, and when the stored group address is checked to be not all valid, an invalid group address is generated; the client is further configured to generate a deletion instruction and send the deletion instruction to the controlled device after receiving the invalid group address sent by the cloud server, so that the controlled device deletes the invalid group address;
and receiving a control instruction broadcast by the client, and executing the control instruction after judging that the group response condition is met.
6. The group control method of claim 5, wherein,
if the number of the stored group addresses is smaller than the preset number, determining that the preset adding condition is met;
the method further comprises the steps of:
and returning to the step of receiving the group address broadcasted by the client after receiving the deleting instruction sent by the client.
7. The group control method of claim 5, wherein the method further comprises:
judging whether the corresponding group address in the control instruction is stored or not;
if yes, determining that the controlled equipment meets the group response condition, and executing the control instruction;
if not, the control instruction is not executed.
8. A group control device comprising a memory and a processor connected to each other, wherein the memory is adapted to store a computer program which, when executed by the processor, is adapted to carry out the group control method of any one of claims 1-7.
9. A communication system comprising a client and at least one controlled device connected to the client, the client being adapted to establish a bluetooth connection with the at least one controlled device; acquiring a group address, and broadcasting the group address to the controlled equipment so that the controlled equipment adds the group address after judging that a preset adding condition is met; when the number of the stored group addresses of the controlled device reaches a preset number, the stored group addresses sent by the controlled device are received, and the stored group addresses are forwarded to a cloud server, so that the cloud server checks the stored group addresses, and when the stored group addresses are checked to be not all valid, invalid group addresses are generated; after receiving the invalid group address sent by the cloud server, generating a deleting instruction and sending the deleting instruction to the controlled device so that the controlled device deletes the invalid group address; broadcasting a control instruction to all the controlled devices corresponding to the group address, so that the controlled devices execute the control instruction.
CN202111022121.2A 2021-09-01 2021-09-01 Group control method, group control device and communication system Active CN113783768B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111022121.2A CN113783768B (en) 2021-09-01 2021-09-01 Group control method, group control device and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111022121.2A CN113783768B (en) 2021-09-01 2021-09-01 Group control method, group control device and communication system

Publications (2)

Publication Number Publication Date
CN113783768A CN113783768A (en) 2021-12-10
CN113783768B true CN113783768B (en) 2023-05-12

Family

ID=78840667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111022121.2A Active CN113783768B (en) 2021-09-01 2021-09-01 Group control method, group control device and communication system

Country Status (1)

Country Link
CN (1) CN113783768B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115278624A (en) * 2022-07-21 2022-11-01 Oppo广东移动通信有限公司 Information updating method and device, audio sharing method and system and electronic equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685274A (en) * 2012-06-08 2012-09-19 陈梓平 Group address distribution method of intelligent equipment in intelligent household network

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104181818B (en) * 2014-08-27 2017-07-14 湖南湖大华龙电气与信息技术有限公司 A kind of smart home logic control method and system based on KNX bus protocols
CN107896179B (en) * 2016-10-01 2021-04-09 杭州鸿雁智能科技有限公司 Group control method of household equipment
WO2019242007A1 (en) * 2018-06-22 2019-12-26 深圳前海达闼云端智能科技有限公司 Device configuration method and apparatus, client terminal device, and cloud server
CN111654844A (en) * 2020-04-23 2020-09-11 杭州涂鸦信息技术有限公司 Device pairing method and related device and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685274A (en) * 2012-06-08 2012-09-19 陈梓平 Group address distribution method of intelligent equipment in intelligent household network

Also Published As

Publication number Publication date
CN113783768A (en) 2021-12-10

Similar Documents

Publication Publication Date Title
US11722528B2 (en) Extending management control to IoT devices
CN109819427B (en) Method for starting configuration of Bluetooth Mesh network
US10284494B2 (en) Device controlling method, client, server and intermediate device
CN112751699B (en) OTA upgrading and upgrading management method, equipment, network and storage medium
US20170086233A1 (en) Connection method for multimedia playing device, main device, and control terminal
CN111865736B (en) Equipment control method and device
CN102571996B (en) IP (Internet Protocol) address assignment method, IP address assignment device and network system
CN110427385A (en) Block chain data-updating method, interdependent node and block chain
CN107820289B (en) WIFI network switching method, device, terminal and medium
CN113625589B (en) Equipment control method and device, electronic equipment and storage medium
CN111200622B (en) Resource transmission method and device and storage medium
US20230161541A1 (en) Screen projection method and system
US20200125346A1 (en) Method, User Equipment, and Application Server for Downloading Application
CN104243266A (en) Method and device for network access
CN103631652A (en) Method and system for achieving virtual machine migration
CN113783768B (en) Group control method, group control device and communication system
CN113572862A (en) Cluster deployment method and device, electronic equipment and storage medium
CN105812185A (en) Communication connection method for playing device
CN104580506A (en) Offline map data obtaining method, cloud server and client-side
CN104837067A (en) Interface display method and interface display device
CN108462984A (en) A kind of method and terminal carrying out access network management
CN110635957A (en) Method and device for network distribution of Internet of things equipment and mobile terminal
CN104468389A (en) Message processing method, servers and server system
CN104243469A (en) Playing control method, device and system
CN113300866B (en) Node capacity control method, device, system 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
GR01 Patent grant
GR01 Patent grant