CN111930020A - Equipment control system, method, device, terminal and readable storage medium - Google Patents

Equipment control system, method, device, terminal and readable storage medium Download PDF

Info

Publication number
CN111930020A
CN111930020A CN202010796814.6A CN202010796814A CN111930020A CN 111930020 A CN111930020 A CN 111930020A CN 202010796814 A CN202010796814 A CN 202010796814A CN 111930020 A CN111930020 A CN 111930020A
Authority
CN
China
Prior art keywords
control
group
equipment
smart home
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010796814.6A
Other languages
Chinese (zh)
Other versions
CN111930020B (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.)
Guangdong Muguang Intelligent Lighting Co ltd
Original Assignee
Bull Group 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 Bull Group Co Ltd filed Critical Bull Group Co Ltd
Priority to CN202010796814.6A priority Critical patent/CN111930020B/en
Publication of CN111930020A publication Critical patent/CN111930020A/en
Application granted granted Critical
Publication of CN111930020B publication Critical patent/CN111930020B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Abstract

The application relates to an equipment control system, an equipment control method, an equipment control device, a terminal and a readable storage medium, and relates to the field of smart home. The system comprises at least one client, a control equipment group and an intelligent household equipment group. The client is used for receiving a control signal for at least one target intelligent household device; generating a control instruction according to the control signal; sending a control instruction to the control equipment group; the control equipment group is used for receiving a control instruction; sending the control instruction to the intelligent household equipment group; the intelligent household equipment group is used for receiving a control instruction; and controlling the equipment state of the target intelligent household equipment according to the control instruction. The control device is synchronously informed in a group communication mode to acquire the change of the device state in time, so that the success rate of multi-switch and multi-control of the intelligent household device is improved.

Description

Equipment control system, method, device, terminal and readable storage medium
Technical Field
The present application relates to the field of smart home, and in particular, to a system, a method, a device, a terminal, and a readable storage medium for controlling a device.
Background
With the development of the electrical industry, in a large enclosed space such as an office, a factory building or a classroom, a large number of electrical devices are required to be used and controlled by a plurality of control devices, so that a user can control the electrical devices at different indoor positions.
In the related art, in a scene of applying the internet of things technology, a control relationship is generally established between an electrical device and a client, so that the electrical device is controlled through the client. Meanwhile, the electrical equipment is provided with a plurality of control devices which are electrically connected with the electrical equipment, and the control devices can realize multi-switch and multi-control of the intelligent household equipment in an actual scene.
However, when the client controls the electrical equipment and changes the equipment state of the electrical equipment, the control equipment connected with the electrical equipment cannot timely know the change of the equipment state of the electrical equipment, so that the electrical equipment cannot be effectively controlled by the control equipment, and the failure rate of multi-switch and multi-control of the intelligent household equipment is high.
Disclosure of Invention
The application relates to an equipment control system, an equipment control method, an equipment control device, a terminal and a readable storage medium, which can enable each control equipment to timely acquire the change of the equipment state, and improve the success rate of multi-control and multi-switch of intelligent household equipment. The technical scheme is as follows:
in one aspect, an equipment control system is provided, which includes at least one client, a control equipment group and an intelligent household equipment group;
the client is used for receiving a control signal for at least one target intelligent household device; generating a control instruction according to the control signal, wherein the control instruction is used for controlling the equipment state of the target intelligent household equipment; sending a control instruction to the control equipment group;
the control equipment group is used for receiving a control instruction; sending the control instruction to the intelligent household equipment group;
the intelligent household equipment group is used for receiving a control instruction; and responding to the situation that the target intelligent household equipment is included in the intelligent household equipment group, and controlling the equipment state of the target intelligent household equipment according to the control instruction.
On the other hand, another equipment control system is provided, and comprises at least one client, a control equipment group and an intelligent household equipment group;
the client is used for receiving a control signal for at least one target intelligent household device; generating a control instruction according to the control signal, wherein the control instruction is used for controlling the equipment state of the target intelligent household equipment; sending a control instruction to the control equipment group and the intelligent household equipment group;
the control equipment group is used for receiving a control instruction;
the intelligent household equipment group is used for receiving a control instruction; and responding to the situation that the target intelligent household equipment is included in the intelligent household equipment group, and controlling the equipment state of the target intelligent household equipment according to the control instruction. In another aspect, a device control method is provided, which is applied to a client, and includes:
receiving a control signal for at least one target intelligent household device;
generating a control instruction according to the control signal, wherein the control instruction is used for controlling the equipment state of the target intelligent household equipment;
and sending a control instruction to the control equipment group.
In another aspect, there is provided an apparatus for controlling a device, the apparatus including:
the receiving module is used for receiving a control signal for at least one target intelligent household device;
the generating module is used for generating a control instruction according to the control signal, and the control instruction is used for controlling the equipment state of the target intelligent household equipment;
and the sending module is used for sending a control instruction to the control equipment group.
In another aspect, a computer device is provided, the computer device comprising a processor and a memory, the memory having at least one instruction, at least one program, a set of codes, or a set of instructions stored therein, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the device control method as provided in the embodiments of the present application.
In another aspect, a computer-readable storage medium is provided, in which at least one instruction, at least one program, a set of codes, or a set of instructions is stored, which is loaded and executed by a processor to implement any of the above-mentioned device control methods.
In another aspect, a computer program product is provided, which when run on a computer causes the computer to execute the apparatus control method as in any one of the embodiments of the present application described above.
The beneficial effect that technical scheme that this application provided brought includes at least:
according to the method for generating the control instruction through the control signal for controlling the intelligent household equipment and sending the control instruction to the control equipment group, the control equipment group is synchronously informed while the target intelligent household equipment is controlled, so that the control equipment in each control equipment group can update the control state of the control equipment group in time according to the equipment state of the intelligent household equipment, the change of the equipment state is timely known, and the success rate of multi-control and multi-switch of the intelligent household equipment is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 illustrates a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application;
FIG. 2 illustrates a schematic diagram of an implementation environment provided by another exemplary embodiment of the present application;
FIG. 3 is a schematic diagram illustrating an apparatus control method provided by an exemplary embodiment of the present application;
fig. 4 is a schematic interface diagram illustrating control of smart home devices according to an exemplary embodiment of the present application;
fig. 5 is a schematic diagram illustrating a linkage relationship between a control state of a control device and a device state of a smart home device according to an exemplary embodiment of the present application;
FIG. 6 illustrates a flow chart of a device control method provided by an exemplary embodiment of the present application;
FIG. 7 illustrates a flow chart of a device control method provided by an exemplary embodiment of the present application;
FIG. 8 is a diagram illustrating a binding configuration interface provided by an exemplary embodiment of the present application;
fig. 9 is a schematic interface diagram illustrating a client controlling smart home devices according to a binding relationship according to an exemplary embodiment of the present application;
FIG. 10 illustrates a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application;
FIG. 11 illustrates a flow chart of a method of controlling a device provided by an exemplary embodiment of the present application;
FIG. 12 illustrates a schematic diagram of an implementation environment provided by another exemplary embodiment of the present application;
FIG. 13 is a diagram illustrating data transmission between two control devices according to an exemplary embodiment of the present application;
fig. 14 is a schematic diagram illustrating data transmission performed by two smart home devices according to an exemplary embodiment of the present application;
fig. 15 is a block diagram illustrating a structure of a device control apparatus according to an exemplary embodiment of the present application;
fig. 16 is a diagram illustrating a structure of a terminal for performing a device control method according to an exemplary embodiment of the present application;
fig. 17 is a schematic structural diagram illustrating a server for executing a device control method according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
First, the terms referred to in the embodiments of the present application will be briefly described:
the intelligent household equipment: the intelligent household equipment has the functions of common household equipment and has communication capacity. Optionally, the smart home device may be implemented as at least one of a smart air conditioner, a smart switch, a smart television, an air purifier, a sound box device, a smart lamp, and the like.
The control device: the control device is implemented as a physical device in product form, and in some embodiments, the control device is implemented as an intelligent switch with a display screen, and the intelligent switch can control the start, the stop and the state of the intelligent household device. Optionally, the connection between the control device and the smart home device includes an electrical connection, or a connection through a communication network.
Optionally, a control binding relationship is established between the control device and the smart home device, and the control binding relationship is used for indicating that the control device can send a control instruction to the smart home device. Optionally, the client may establish, change, and release the control binding relationship by receiving a signal for controlling the binding relationship.
First, an implementation environment related to the embodiment of the present application is described, as shown in fig. 1, a device control system 100 includes at least one client 110, a control device group 120, and a smart home device group 130.
A communication network connection is established between the client 110 and the control device group 120, and a communication network connection is also established between the control device group 120 and the smart home device group 130. Illustratively, a bluetooth connection is established between the client 110 and the control device group 120, and a bluetooth connection is also established between the control device group 120 and the smart home device group 130.
Optionally, the control device group 120 includes at least two control devices, that is, the control device 121 and the control device 122, the smart home device group 130 includes the target smart home device 131, the control device 121 and the target smart home device 131 establish a control binding relationship, and the control device 122 and the target smart home device 131 also establish a control binding relationship.
In the embodiment of the present application, when controlling the smart home device, the client 110 sends a control instruction to the control device group 120; after receiving the control instruction, the control device group 120 forwards the control instruction to the smart home device group 130. After receiving the control instruction forwarded by the control device group 120, the smart home device group 130 controls the device state of the target smart home device 131 in the smart home device group 130.
The devices for receiving the control signal by the control device group include a control device 121 and a control device 122, which update their control states according to the control instruction and forward the control instruction to the target smart home device 131, where the control state is state information used for indicating a device state in the control device; the target smart home device 131 receives the control instruction, updates the device state of the target smart home device according to the control instruction, and sends a device feedback message to the control device 121 and the control device 122; the control device 121 and the control device 122 forward the device feedback message and send the control device feedback message to the target smart home device 131. In a possible embodiment, the control device 121 or the control device 122 may also directly receive a control signal for controlling the target smart home device 131, and send a control instruction to the target smart home device 131, for example: after receiving the start operation of starting the target smart home device 131 on the control device 121, a control signal is generated, and a control instruction is sent to the target smart home device 131 to control the target smart home device 131 to start.
In this implementation environment, the control instruction generated by the client is forwarded to the smart home device group where the target smart home device is located via the control device group, that is, the control device group and the smart home device group are synchronously notified of the control instruction, so that both the control device group and the devices in the smart home device group can update their own states in time according to the control instruction, and the success rate of multi-control and multi-switch of the smart home devices is improved.
Another implementation environment related to the embodiments of the present application is described as follows: as shown in fig. 2, the device control system 200 includes at least one client 210, a control device group 220, and a smart home device group 230.
A communication network connection is established between the client 210 and the control device group 220, and a communication network connection is directly established between the client 210 and the smart home device group 230. Illustratively, bluetooth connections are established between the client 210 and the control device group 220 and between the client and the smart home device group 230.
Optionally, the control device group 220 includes at least two control devices, that is, a control device 221 and a control device 222, and the smart home device group 230 includes a target smart home device 231.
In this embodiment, when controlling the smart home devices, the client 210 sends the control instruction to the control device group 220 and the smart home device group 230, respectively. After receiving the control instruction, the control device group 220 adjusts its own control state according to the control instruction; after receiving the control instruction, the smart home device group 230 controls the device state of the target smart home device 231 in the smart home device group 230 according to the control instruction.
In one example, a control binding relationship is established between the control device group 220 and the smart home device group 231. After controlling the state of the control device group 220 according to the control instruction, the control device group and the smart home device group can directly transmit data, and whether the control state is the same as the device state is checked.
The client 210 sends control instructions to the control device group 220 and the smart home device group 230, that is, the client sends control instructions to the control device 221, the control device 222, and the target smart home device 231. After receiving the control instruction, the control devices 221 and 222 in the control device group 220 update their control states, where the control states are state information used for indicating device states in the control devices; after receiving the control instruction, the target smart home device 231 in the smart home device group 230 updates the device state of the target smart home device; after the control is completed, the control device group 220 sends feedback information to the client, that is, the control device 221 and the control device 222 send control device feedback messages to the client 210, and the target smart home devices 231 in the smart home device group 230 send feedback information to the client.
In the implementation environment, the control instruction generated by the client can be simultaneously sent to the intelligent home equipment group and the control equipment group where the target intelligent home equipment is located, so that the intelligent home equipment group and the control equipment group can directly receive the control instruction from the client and respectively update the states of the intelligent home equipment group and the control equipment group, and the success rate of multi-control and multi-switch of the intelligent home equipment is further improved.
Optionally, in the device control system provided in the above application embodiment, any two pieces of smart home devices in the smart home device group may communicate with each other according to the first network environment where the two pieces of smart home devices are located. Any two control devices between the control devices in the group of control devices may communicate according to the second network environment in which they are located. Optionally, the first network environment and the second network environment include: at least one of a Near Field Communication (NFC) network environment, a Bluetooth network environment, a Wi-Fi network environment, a zigbee network environment, and a cellular mobile data network environment. Optionally, the first network environment is the same as the second network environment, or the first network environment is different from the second network environment.
Fig. 3 is a schematic diagram illustrating a device control method according to an exemplary embodiment of the present application, which is described by way of example as being applied to a client, and includes:
step 301, receiving a control signal for at least one target smart home device.
Alternatively, the client is implemented as an application program in a terminal or computer device having a communication function. Illustratively, the client may be implemented as an application program including an intelligent home control function, such as an intelligent home control program and an intelligent home shopping program.
In this embodiment, the network environment where the client is located is the network environment where the terminal installed with the client is located. Optionally, the network environment of the client includes at least one of a Near Field Communication (NFC) network environment, a Wi-Fi network environment, a bluetooth network environment, and a cellular mobile data network environment.
Optionally, a control interface is displayed on the client, the target in the control interface includes a virtual control corresponding to the smart home device, and the control signal received by the client is generated according to an operation on the virtual control; or the client is provided with an entity key, and the control signal received by the client is generated according to the pressing operation of the entity key. The present embodiment does not limit the generation manner of the control signal.
Optionally, an interface for controlling the target smart home device corresponds to the client, and a control signal for controlling the smart home device is generated through operation on the interface. Fig. 4 shows an interface schematic diagram for controlling smart home devices according to an exemplary embodiment of the present application. Referring to fig. 4, the smart home device is implemented as a smart lamp, the smart lamp control interface 400 includes a lamp start/stop control 411 and lamp mode controls 421 to 424, the lamp start/stop control 411 is used to control start and stop of the smart lamp, and the lamp mode controls 421 to 424 are used to switch a lamp mode used after the smart lamp is started. For the lamp start/stop control 411 or the operation of the lamp mode controls 421 to 424, a control signal is generated, and after the user operates the above controls, the client receives the control signal corresponding to the above operation.
Optionally, a network distribution function of the client may be further executed in the control interface, that is, network connection and disconnection between the client and the target smart home device are realized through network distribution setting in the control interface. Optionally, a grouping function of the client for the target smart home devices may also be executed in the control interface, that is, in the control interface, the client may determine the smart home device group where the target smart home devices are located through the grouping control. Optionally, the client determines the control device having the control binding relationship with the target smart home device while determining the target smart home device group.
And step 302, generating a control instruction according to the control signal.
The control instruction is used for controlling the equipment state of the target intelligent household equipment. In one example, the target smart home device is implemented as a smart lamp, and the control instruction is used to instruct the smart lamp to start or stop or switch modes.
Step 303, sending a control instruction to the control device group.
In this embodiment of the application, the target smart home device group includes a target smart home device that needs to receive a control instruction, and the target control device group includes a control device that can indicate a device state of the target smart home device on the control device.
Optionally, a control binding relationship between the target smart home device and the control device is configured in the client, and the control binding relationship indicates that the control device can interact data with the target smart home device through connection with the target smart home device. In one example, the control device is connected with the target smart home device through a wire and establishes a control binding relationship, and the control device can control the target smart home device by sending an electric signal to the target smart home device; in another example, the control device is connected to the target smart home device through a communication network, and the control device may control the target smart home device by sending a control instruction to the target smart home device.
Optionally, since the control state of the control device is used to indicate the device state of the target smart home device on the control device, the control instruction is also used to control the control state. In one example, the control device is implemented as a switch panel with a display screen, and the device state of the corresponding target smart home device is displayed with the control state of the control device in the display screen of the switch panel. Fig. 5 is a schematic diagram illustrating an interlocking relationship between a control state of a control device and a device state of a target smart home device according to an exemplary embodiment of the present application. Referring to fig. 5, the target smart home device is implemented as a smart lamp 520. The control device is implemented as a switch panel 510 with a display screen and as key switches 530. The switch panel 510 includes a start/stop state display area 511 corresponding to the operating state of the smart lamp 520 and a mode state display area 512 corresponding to the mode state of the smart lamp 520, and the key state of the key switch 530 represents the start/stop state of the smart lamp 520. As shown in fig. 5, when the intelligent lamp 520 performs a lighting operation in a preset mode 1, the start-stop state display area 511 of the switch panel 510 displays that the start-stop state is start, the mode state display area 512 displays that the current mode of the intelligent lamp 520 is mode 1, and meanwhile, the key state of the key switch 530 is a first key state, which indicates that the start-stop state of the intelligent lamp 520 is start.
And a communication network connection is established between the client and the control equipment. In one example, a bluetooth connection is established between the client and the control device. Optionally, the client sends the control instruction to at least two control devices that have a control binding relationship with the smart home devices through a communication network connection established between the client and the smart home devices.
Optionally, the control binding relationship stored in the client includes device identifiers of at least two control devices, and the client sends a control instruction to the at least two control devices according to the device identifiers; or the client sends a control instruction to the control device in the form of a broadcast message, the load part of the broadcast message comprises the control instruction, and the control device acquires the control instruction from the load part of the broadcast message after receiving the broadcast message.
Optionally, the control instruction further needs to be sent to the target smart home device to control a device state of the target smart home device, where a mode of the control instruction received by the target smart home device includes at least one of the following two modes:
1. after the control device which establishes the control binding relationship with the target intelligent home device receives the control instruction, the control device forwards the control instruction to the target intelligent home device. And after the target intelligent household equipment receives the control instruction forwarded by the control equipment, updating the equipment state according to the control instruction.
2. The client sends the control instruction to the control equipment and also sends the control instruction to the target intelligent home equipment, and after the target intelligent home equipment receives the control instruction sent by the client, the equipment state is updated according to the control instruction.
In summary, in the method provided in this embodiment, the control signal for controlling the smart home devices generates the control instruction and sends the control instruction to the control device groups, and the control device groups are synchronously notified while controlling the target smart home devices, so that the control devices in each control device group can update their control states in time according to the device states of the smart home devices, and timely acquire the change of the device states, thereby improving the success rate of controlling the smart home devices more than once.
Fig. 6 shows a flowchart of a device control method provided in an exemplary embodiment of the present application, which is described by way of example as being applied to a device control system, and the method includes:
step 601, the client receives a control signal for controlling at least one target smart home device.
Optionally, the target smart home device belongs to a target smart home device group, a control binding relationship is established between the target smart home device and at least two control devices in the control device group, and the control binding relationship is configured in the client.
Optionally, in an implementation environment related to this embodiment, a communication network connection is established between the client and the control device. Communication network connection is established between the control equipment and the target intelligent household equipment, or the control equipment is electrically connected with the target intelligent household equipment. Optionally, a communication network connection is also established between the client and the target smart home device.
Optionally, any two clients in the client group may communicate with each other according to the third network environment in which they are located. The third network environment may be the same as at least one of the network environments of any two other groups, or the third network environment may be different from the network environments of any two other groups.
And step 602, the client generates a control instruction according to the control signal, and the control instruction is used for controlling the equipment state of the target intelligent household equipment.
Step 603, the client sends a control instruction to the control device group.
The client sends a control instruction to the control device in the form of an electrical signal.
Optionally, before the communication network is established, the client and the control device perform distribution network verification, and after the distribution network verification is passed, the client and the control device establish communication network connection, and the client can send a control instruction to the control device. The form in which the client transmits the control instruction includes a broadcast form.
In step 604, the group of control devices receives a control command.
Optionally, when detecting the control instruction sent by the client in the broadcast form, the control device group first performs authentication, and receives the control instruction sent by the client after the authentication passes. Optionally, in the control device group, all the control devices that establish a control binding relationship with the smart home device may receive the control instruction.
And step 605, the control equipment group sends the control instruction to the intelligent household equipment group.
Optionally, the control device in the control device group may establish a control binding relationship with the smart home devices in the smart home device group by receiving the control binding relationship establishment instruction. In one example, the control device includes a binding key, a binding signal is generated in response to a pressing instruction on the binding key, and a connection request of the smart home device is received, so that a control binding relationship is established between the control device and the smart home device.
According to different actual product forms of the control equipment, the control equipment corresponds to different control states, and the control states are used for indicating the equipment state of the intelligent household equipment on the control equipment. In one example, the smart home device is an electric lamp, the control device is a single control switch, and the control states corresponding to the single control switch include a first key state and a second key state, wherein the first key state corresponds to the turning-on of the electric lamp, and the second key state corresponds to the turning-off of the electric lamp; in another example, the smart home device is an electric fan, the control device is a knob switch, and the corresponding control state of the knob switch is a speed gear of a rotating speed when the electric fan works; in another example, the smart home device is an air conditioner, the control device is an air conditioner status display panel displaying a current starting status of the air conditioner, a current air conditioner setting temperature, and a current air conditioner setting mode, and the control status indicates all contents in the air conditioner status display panel.
And 606, the intelligent household equipment group receives the control instruction.
And the intelligent household equipment group receives the control instruction after determining that the target intelligent household equipment in the control instruction belongs to the intelligent household equipment group.
Step 607, responding to the target smart home devices included in the smart home devices group, and controlling the device states of the target smart home devices according to the control instructions.
After the equipment state of the target intelligent household equipment is changed according to the control instruction, the equipment state of the target intelligent household equipment is changed according to the control instruction. In one example, the target smart home device is implemented as a smart desk lamp, and the control instruction is used to control the smart desk lamp to be turned on and off. And the target intelligent household equipment performs opening and closing of the target intelligent household equipment according to the control instruction.
In summary, in the method provided in this embodiment, the control signal for controlling the smart home devices generates the control instruction and sends the control instruction to the control device groups, and the control device groups are synchronously notified while controlling the target smart home devices, so that the control devices in each control device group can update their control states in time according to the device states of the smart home devices, and timely acquire the change of the device states, thereby improving the success rate of controlling the smart home devices more than once.
The control device forwards the control instruction to the intelligent household device, so that the control device can definitely know the control instruction of the client to the target intelligent household device, modify the control state of the control device according to the control instruction, and forward the control instruction after the control state modification is confirmed, thereby ensuring that the control state is updated before the device state, and improving the accuracy of control state updating.
In the application, the control instruction sent to the smart home device may be sent by the client, forwarded by the control device, or sent by the client directly in a broadcast manner. First, a case where a control instruction is sent from a client to a control device, and the control device sends the control instruction to an intelligent home device will be described.
In an optional embodiment, at least two control devices bound to a smart home device belong to a target control device group, and fig. 7 shows a flowchart of a device control method provided in an exemplary embodiment of the present application, where the process may alternatively be implemented after step 602 shown in fig. 6, and is described by taking as an example that the method is applied to a device control system, where the method includes:
in step 701, the client determines a control device group identifier corresponding to the target control device group.
In this embodiment, at least two control devices all belong to a target control device group, and the target control device group corresponds to a control device group identifier. In one example, the control device group identification is a protocol header identification of a network connection protocol corresponding to a communication network connection between the client and the target control device group.
Optionally, in the control system according to this embodiment, the client belongs to a client group, and the client group indicates a client group having a control right for the target smart home device. In one example, a control for controlling the target smart home device is displayed in the control interface, and the clients capable of controlling the target smart home device through the control all belong to the client group.
Optionally, after the smart home devices that need to be controlled are determined, the client determines at least two control devices that establish a control binding relationship with the smart home devices.
Optionally, the client may configure a binding relationship between the control device and the smart home device, and divide all control devices having a control binding relationship with the same smart home device into the same control device group. Fig. 8 is a diagram illustrating a binding configuration interface according to an exemplary embodiment of the present application. Referring to fig. 8, a binding relationship configuration interface 800 includes a bound device group, where the bound device group includes a smart home device 810, and a control device 820, a control device 830, and a control device 840 that establish a control binding relationship with the smart home device 810. The start-stop display area 811 and the unbinding control 812 of the smart home device 810 correspond to the back of the smart home device 810, and the unbound control 822, the unbound control 832 and the unbound control 842 correspond to the back of the control device 820, the control device 830 and the control device 840. After the binding control relationship between the smart home devices 810 and the control devices 820, 830 and 840 is performed on the binding relationship configuration interface 800, the control devices 820, 830 and 840 are divided into the same control device group having the control binding relationship with the smart home devices 810, and the same control device group identifier corresponds to the same control device group, and optionally, the control device group may further include other control devices that do not have the control binding relationship with the smart home devices 810. Optionally, according to the device state of the smart home device 810, the control logic of the control states of the control device 820, the control device 830, and the control device 840 is as follows:
first, when the device state of the smart home device 810 is switched to the working state, no matter what the control state is currently indicated by the control device 820, the control device 830, and the control device 840, the control state is switched to the control state indicating that the smart home device 810 is in the working state.
Second, when the device state of the smart home device 810 is switched to the stop state, regardless of the control state currently indicated by the control device 820, the control device 830, and the control device 840, the control state is switched to the control state indicating that the smart home device 810 is in the stop state.
Optionally, the control device group and the at least one smart home device establish a control binding relationship. In some embodiments, please refer to fig. 9. The control device group 910 establishes a control binding relationship with the smart home devices 920, 930 and 940. The control 901 corresponding to the control device group 910 is a control that indicates the overall start-stop state corresponding to the smart home devices 920 to 940. Optionally, the control logic of control 901 of control device group 910 is as follows:
firstly, when at least one of the smart home devices 920 to 940 is in a working state, sending a control instruction for controlling all of the three smart home devices 920 to 940 to stop working through controlling the control 901;
secondly, when all of the smart home devices 920 to 940 are in a non-working state, the client sends a control instruction for controlling all of the three smart home devices to start working through controlling the control 901.
In step 702, the client broadcasts a first broadcast message.
Optionally, the payload portion of the first broadcast message includes control instructions. The client side broadcasts the first broadcast message through the communication network, so that all computer equipment which is provided with corresponding communication network connection in a communication range can receive the first broadcast message. In one example, the client broadcasts the first broadcast message via bluetooth.
Optionally, the first protocol header in the first broadcast message includes a control device group identifier. In one example, the first protocol header is used to indicate a control device that obtains control instructions from a payload portion of the first broadcast message, and the control device belongs to a target control device group.
Optionally, when the client needs to send a control instruction to the control devices in different control device groups, the first protocol header of the first broadcast includes control device group identifiers of the different control device groups.
In step 703, the control device group receives a first broadcast message.
In this embodiment, the control device group receives the first broadcast message, that is, the control devices in the control device group receive the first broadcast message. Alternatively, the control device receives the first broadcast message when the control device is within a broadcast range of the first broadcast message and the control device has a capability of receiving the first broadcast message.
Step 704, the control device group matches the control device group id in the first protocol header.
Optionally, the control device stores a control device group identifier, and after receiving the first broadcast message, the control device matches the stored control device group identifier with the control device group identifier in the first protocol header.
Step 705, in response to the successful matching and the establishment of the control binding relationship with the target smart home device, the control device group obtains the control instruction from the load part of the first broadcast message.
Optionally, when the control device group identifier stored in the control device is the same as the control device group identifier in the first protocol header, it is determined that the matching is successful, and the control instruction is obtained from the payload part of the first broadcast message.
And step 706, the control equipment group updates the control state according to the control instruction.
Optionally, the control device further stores a control binding relationship with the smart home device, and when the control binding relationship is established between the control device and the smart home device, the control device updates the control state according to the control instruction.
Optionally, the control device performs corresponding control on the control state of the control device according to the control on the device state of the smart home device in the control instruction. In one example, the control instruction indicates that the device state of the smart home device is controlled to stop working, and after the control device obtains the control instruction, the control device controls the control state of the control device to correspond to the device state of the smart home device, that is, the control state corresponding to the smart home device is controlled to stop working.
Step 707, the control device broadcasts a second broadcast message.
And after receiving the control instruction, the control equipment forwards the control instruction to the target intelligent household equipment. Therefore, the payload portion of the second broadcast message includes control instructions. The second protocol header of the second broadcast message includes a home device group identifier indicating a target smart home device group in which the target smart home device is located. In one example, the second protocol header is used to indicate a target smart home device that obtains the control instruction from the load part of the second broadcast message, and the target smart home device belongs to the target smart home device group.
And step 708, the smart home device group receives the second broadcast message.
In this embodiment, the smart home device group receives the second broadcast message, that is, the target smart home device in the smart home device group receives the second broadcast message. Optionally, when the target smart home device is within the broadcast range of the second broadcast message and the target smart home device has the capability of receiving the second broadcast message, the target smart home device receives the second broadcast message.
And step 709, the intelligent household equipment group matches the household equipment group identification in the second protocol header.
Optionally, a home device group identifier corresponding to the target smart home device group is stored in the target smart home device, and after the target smart home device receives the second broadcast message, the stored home device group identifier is matched with the home device group identifier in the second protocol header.
And step 710, in response to the successful matching, the smart home device group acquires a control instruction from the load part of the second broadcast message.
Optionally, when the home device group identifier stored in the target smart home device is the same as the home device group identifier in the second protocol header, the target smart home device may obtain the control instruction from the load part of the second broadcast message.
And 711, updating the equipment state by the intelligent household equipment group according to the control instruction.
Optionally, after the control instruction is obtained, the target smart home device updates the device state according to the control instruction in response to the establishment of the control binding relationship with the control device.
In this embodiment, after the target smart home device updates the device state according to the control instruction, the target smart home device sends a feedback message to the client. The feedback message is also forwarded by the control equipment which establishes a control binding relationship with the target intelligent household equipment, and is received by the client side which sends the control instruction. Optionally, the clients belong to client groups, each client group should have a client group identifier, and the content of the feedback message includes a client group identifier for authenticating the client.
FIG. 10 illustrates a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application. Referring to fig. 10, the implementation environment includes a client group 1010, a target control device group 1020, and a target smart home device group 1030. The client group 1010 includes a client 1011, the target control device group 1020 includes a control device 1021 and a control device 1022, and the smart home device group includes a target smart home device 1031, where the control device 1021 and the control device 1022 both establish a control binding relationship with the target smart home device 1031. After the client broadcasts the first broadcast message 1001, the control device in the target control device group 1020 receives the first broadcast message 1001, matches the control device group identifier in the protocol header, and when the matching is successful, obtains a control instruction from the load part of the first broadcast message 1001, and in response to establishing a control binding relationship with the target smart home device 1031, the control device 1021 and the control device 1022 control their own control states according to the control instruction, and after controlling their own control states, forwards the control instruction to the target smart home device 1031 in the form of the second broadcast message 1002. All the smart home devices in the target smart home device group 1030, which can receive the second broadcast message 1002, obtain the control instruction from the load part of the second broadcast message 1002 through the second protocol header matching, and in response to the establishment of the control binding relationship with the control device 1021 and the control device 1022, the target smart home device 1031 controls the device state thereof according to the control instruction. After the target smart home device 1031 controls the device state of the target smart home device 1031 and the control devices 1021 and 1022 control the control state of the target smart home device 1031, the smart home device 1031 generates a first feedback message 1003 according to the control result of the device state, the first feedback message includes a client group identifier and a control device group identifier, and sends the first feedback message 1003 to the target control device group through the communication network, after the control devices 1021 and the control devices 1022 respond to the target control device group and receive the first feedback message 1003, the first feedback message is forwarded to the client 1011, and in response to the client 1011 belonging to the target client group, the client 1011 receives the first feedback message.
In summary, the method provided in this embodiment divides various devices in the implementation scenario into device groups, correspondingly setting marks indicating different equipment groups, broadcasting a first broadcast message with a control instruction to control equipment by a client, broadcasting a second broadcast message to target intelligent household equipment by the control equipment after matching a first protocol header and determining a control binding relation, receiving the control instruction by the target intelligent household equipment after matching a second protocol header and determining the control binding relation, and updating the control state of the control equipment when the control equipment forwards the control instruction, and then the equipment state after control can correspond to the control state, so that the control equipment can accurately know the change of the equipment state of the target intelligent household equipment, and the success rate of multi-switch and multi-control of the target intelligent household equipment is improved.
The control device forwards the control instruction to the intelligent household device, so that the control device can definitely know the control instruction of the client to the target intelligent household device, modify the control state of the control device according to the control instruction, and forward the control instruction after the control state modification is confirmed, thereby ensuring that the control state is updated before the device state, and improving the accuracy of control state updating.
By broadcasting the control instruction in the form of the broadcast message, the control equipment in the unspecified control equipment group and the intelligent household equipment in the unspecified intelligent household equipment group can receive the broadcast message, and the success rate of the client for sending the control instruction is improved.
By means of protocol header verification, specific control equipment can forward the control instruction, and target intelligent home equipment can finally receive the control instruction, so that the confidentiality of broadcast message content and the broadcast message propagation safety are improved.
By sending the feedback message to the client, the client can know the control state and the updating condition of the equipment state in time, and the success rate of multi-switch and multi-control of the target intelligent household equipment is further improved.
Next, a case where the client directly sends the control instruction to the smart home device is explained. Fig. 9 shows a flowchart of a device control method provided in an exemplary embodiment of the present application, which can be implemented as steps 1101 to 1104 shown in fig. 11 instead of steps 707 to 710, and includes:
in step 1101, the client broadcasts a third broadcast message.
In this embodiment, the client may perform sending of the control instruction through the third broadcast message. Optionally, the payload portion of the third broadcast message comprises control instructions. The protocol header of the third broadcast message includes a home device group identifier indicating a target smart home device group in which the smart home device is located. In one example, the third protocol header is used to indicate the smart home device that obtains the control instruction from the load part of the third broadcast message, and the smart home device belongs to the target smart home device group.
Step 1102, the smart home device group receives a third broadcast message.
In this embodiment, the smart home device group receives the third broadcast message, that is, the target smart home device receives the third broadcast message.
Step 1103, the smart home device group matches the home device group identifier in the third protocol header.
Optionally, the target smart home device matches the stored home device group identifier with the home device group identifier in the third protocol header.
And step 1104, in response to the successful matching, the smart home device group acquires a control instruction from the load part of the third broadcast message.
Optionally, after the matching is passed, the target smart home device may obtain the control instruction included in the load portion of the third broadcast message.
FIG. 12 illustrates a schematic diagram of an implementation environment provided by another exemplary embodiment of the present application. Referring to fig. 11, the implementation environment includes a client group 1210, a control device group 1220, and an intelligent home device group 1230, where the client group 1210 includes a client 1211, the control device group 1220 includes a control device 1221 and a control device 1222, and the intelligent home device group includes a target intelligent home device 131. After the client broadcasts the first broadcast message 1201, the control devices in the control device group 11202 that can receive the first broadcast message acquire a control instruction from the load portion of the first broadcast message 1201 through matching of the first protocol header, and in response to establishing a control binding relationship with the target smart home device 1131, the control devices 1221 and 1222 correspondingly control their control states according to the control instruction. Meanwhile, the client 1211 broadcasts the third broadcast message to the target smart home device group 1230, and all the control devices in the target smart home device group 1230 that can receive the third broadcast message acquire the control instruction from the load portion of the third broadcast message 1202 through matching of the third protocol header, and in response to the establishment of the control binding relationship with the control device 1221 and the control device 1222, the smart home device 1231 controls the device state thereof according to the control instruction. Optionally, after the target smart home device 1231 controls the device state of itself, the target smart home device 1231 generates a second feedback message according to the control result of the device state, and broadcasts a fourth broadcast message 1203, where a fourth protocol header of the fourth broadcast message 1203 includes a client group identifier, and a load part of the fourth broadcast message 1203 includes the second feedback message; after the control device 1221 and the control device 1222 control their own control states, a third feedback message is generated according to the control result of the control states, and a broadcast of the fifth broadcast message 1204 is performed, where a fifth protocol header of the fifth broadcast message 1204 includes a client group identifier, and a payload portion of the fifth broadcast message 1204 includes the third feedback message. The client 1211 obtains the second feedback message from the payload portion of the fourth broadcast message 1203 and the third feedback message from the payload portion in the fifth protocol header 1204 after responding to the matching of the fourth protocol header and the fifth protocol header.
In summary, in the method provided in this embodiment, by dividing various devices in an implementation scene into device groups and setting different identifiers correspondingly, the client broadcasts the first broadcast message and the third broadcast message with the control instruction to the control device group and the smart home device group respectively, so that the control device and the smart home device that establish the control binding relationship can receive the control instruction and update the control state and the device state simultaneously, and further the device state and the control state after control correspond to each other, and the control device can accurately learn the change of the device state of the smart home device, thereby further improving the success rate of multi-control for the smart home device.
By broadcasting the control instruction in a broadcasting mode and not forwarding the control equipment group to the intelligent household equipment group, the control equipment group and the intelligent household equipment group can synchronously receive the message from the client, and the success rate of sending the control instruction is further improved.
By means of the method for synchronously feeding back the feedback message sent by the control equipment and the feedback message sent by the intelligent household equipment to the client group where the client is located, the client can simultaneously know the states of the feedback message and compare the states, and the success rate of multi-switch and multi-control of the target intelligent household equipment is improved.
Optionally, in an implementation scenario of the two device control systems, each target control device group includes at least two control devices, each control device is provided with a bluetooth interface, and data transmission may be performed between the control devices through bluetooth connection. Fig. 13 is a schematic diagram illustrating data transmission between two control devices according to an exemplary embodiment of the present application. Referring to fig. 13, two control devices are a first control device 1301 and a second control device 1302, respectively, the first control device 1301 sends control device backup information 1310 to the second control device 1302 in response to detecting that a fault occurs, the control device backup information 1310 is information of a device state of the smart home device that is stored by the first control device 1301 when the fault occurs and has a control binding relationship with the smart home device, and the sending of the control device backup information 1310 can be used to prevent loss of control device data in the first control device 1301 due to a sudden fault. Alternatively, the control device backup information 1310 may be metadata of the first control device 1301.
Optionally, in the two device control scenario implementation scenarios, the target control device group includes at least two control devices, and each smart home device is connected to another smart home device through a communication network. In one example, at least two pieces of smart home equipment are provided with bluetooth interfaces, and data transmission can be performed between the smart home equipment through bluetooth connection. Fig. 14 shows a schematic diagram of data transmission performed by two smart home devices according to an exemplary embodiment of the present application. Referring to fig. 14, the two smart home devices are a first smart home device 1401 and a second smart home device 1402, respectively. The first smart home device 1401 responds to the detection of the fault, and sends home device backup information 1410 to the second smart home device 1402, where the home device backup information 1410 is information of a device state stored by the first smart home device 1401 when the fault occurs, and the sending of the home device backup information 1410 may be used to prevent the smart home device data of the first smart home device 1401 from being lost due to the sudden fault. Alternatively, the home device backup information 1410 may be metadata of the first control device 1401.
Fig. 15 shows a block diagram of a device control apparatus according to an exemplary embodiment of the present application, where the apparatus includes:
the receiving module 1501 is configured to receive a control signal for at least one target smart home device;
the generating module 1502 is configured to generate a control instruction according to the control signal, where the control instruction is used to control a device state of the target smart home device;
a sending module 1503, configured to send a control instruction to the control device group.
It should be noted that: the device control apparatus provided in the above embodiment is only illustrated by dividing the functional modules, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules, so as to complete all or part of the above description.
Fig. 16 is a schematic structural diagram illustrating a terminal for performing a device control method according to an exemplary embodiment of the present application, where the terminal includes:
the processor 1601 includes one or more processing cores, and the processor 1601 executes various functional applications and data processing by executing software programs and modules.
The receiver 1602 and the transmitter 1603 may be implemented as one communication component, which may be a communication chip. Alternatively, the communication component may enable a communication connection between any two computer devices in the device control system. That is, transmitter 1603 may be used to transmit communication network signals and receiver 1602 may be used to receive communication network signals.
The memory 1604 is connected to the processor 1601 by a bus 1605.
The memory 1604 may be used to store at least one instruction that the processor 1601 is configured to execute to implement various steps in the above-described method embodiments.
The application also provides a server, which comprises a processor and a memory, wherein at least one instruction is stored in the memory, and the at least one instruction is loaded and executed by the processor to realize the device control method provided by the above method embodiments. It should be noted that the server may be a server provided in fig. 17 as follows.
Referring to fig. 17, a schematic structural diagram of a server according to an exemplary embodiment of the present application is shown. Specifically, the method comprises the following steps: the server 1700 includes a Central Processing Unit (CPU) 1701, a system Memory 1704 including a Random Access Memory (RAM) 1702 and a Read-Only Memory (ROM) 1703, and a system bus 1705 connecting the system Memory 1704 and the CPU 1701. The server 1700 also includes a basic Input/Output (I/O) System 1706 for facilitating the transfer of information between devices within the computer, and a mass storage device 1707 for storing an operating System 1713, application programs 1714, and other program modules 1515.
The basic input/output system 1706 includes a display 1708 for displaying information and an input device 1709 such as a mouse, keyboard, etc. for user input of information. Wherein a display 1708 and an input device 1709 are connected to the central processing unit 1701 via an input-output controller 1710 connected to the system bus 1705. The basic input/output system 1706 may also include an input/output controller 1710 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, the input-output controller 1710 may also provide output to a display screen, a printer, or other type of output device.
The mass storage device 1707 is connected to the central processing unit 1701 through a mass storage controller (not shown) connected to the system bus 1705. The mass storage device 1707 and its associated computer-readable media provide non-volatile storage for the server 1700. That is, the mass storage device 1707 may include a computer-readable medium (not shown) such as a hard disk or a CD-ROI drive.
Without loss of generality, computer readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), flash Memory or other solid state Memory technology, CD-ROM, Digital Versatile Disks (DVD), or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that computer storage media is not limited to the foregoing. The system memory 1704 and mass storage device 1707 described above may be collectively referred to as memory.
The memory stores one or more programs configured to be executed by the one or more central processing units 1701, the one or more programs containing instructions for implementing the device control method described above, and the central processing unit 1701 executes the one or more programs to implement the device control method provided by the various method embodiments described above.
According to various embodiments of the present application, the server 1700 may also operate with remote computers connected to a network through a network, such as the Internet. That is, the server 1700 may be connected to the network 1712 through the network interface unit 1711 connected to the system bus 1705, or may be connected to other types of networks or remote computer systems (not shown) using the network interface unit 1711. Optionally, in this embodiment of the application, the server 1700 may be connected to a communication network through the network interface unit 1711, and optionally, the server 1700 may also establish a connection with another device through a wireless network.
The memory further includes one or more programs, the one or more programs are stored in the memory, and the one or more programs include steps executed by the server for performing the device control method provided by the embodiment of the present application.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, which may be a computer readable storage medium contained in a memory of the above embodiments; or it may be a separate computer-readable storage medium not incorporated in the terminal. The computer readable storage medium has stored therein at least one instruction, at least one program, set of codes, or set of instructions that is loaded and executed by a processor to implement the above-described device control method.
It will be understood by those skilled in the art that all or part of the steps of implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (14)

1. The equipment control system is characterized by comprising at least one client, a control equipment group and an intelligent household equipment group;
the client is used for receiving a control signal for at least one target intelligent household device; generating a control instruction according to the control signal, wherein the control instruction is used for controlling the equipment state of the target intelligent household equipment; sending the control instruction to the control equipment group;
the control equipment group is used for receiving the control instruction; sending the control instruction to the intelligent household equipment group;
the intelligent household equipment group is used for receiving the control instruction; and responding to the target intelligent household equipment in the intelligent household equipment group, and controlling the equipment state of the target intelligent household equipment according to the control instruction.
2. The system according to claim 1, wherein the control device group comprises at least one control device, and a control binding relationship is established between the control device and the target smart home device;
the control device is used for responding to the received control instruction and updating the control state of the control device according to the control instruction, wherein the control state is used for indicating the device state of the target intelligent household device on the control device.
3. The system according to claim 2, wherein the control devices in the control device group are corresponding to a uniform control device group identifier, and the smart home devices in the smart home device group are corresponding to a uniform home device group identifier;
the client is further configured to determine a control device group identifier corresponding to the control device group; broadcasting a first broadcast message, wherein a first protocol header of the first broadcast message comprises the control equipment group identifier, and a load part of the first broadcast message comprises the control instruction;
the control device group is further configured to receive the first broadcast message; matching the control device group identification in the first protocol header; in response to a successful match, obtaining the control instruction from a payload portion of the first broadcast message; broadcasting a second broadcast message, wherein a second protocol header of the second broadcast message comprises the household equipment group identifier, and a load part of the second broadcast message comprises the control instruction;
the intelligent home device group is further configured to receive the second broadcast message, and match the home device group identifier in the second protocol header; in response to a successful match, retrieving the control instruction from a payload portion of the second broadcast message.
4. The system according to any one of claims 1 to 3, wherein the client belongs to a client group;
the intelligent household equipment group is also used for generating a first feedback message according to the control result of the equipment state; sending the first feedback message to the group of control devices over a communication network;
the control device group is further configured to receive the first feedback message, and send the first feedback message to the client group through the communication network;
the client group is used for receiving the first feedback message.
5. The system according to any one of claims 1 to 3, wherein the group of control devices comprises a first control device and a second control device;
the first control device is configured to send, in response to detecting that a failure occurs, control device backup information to the second control device, where the control device backup information is information of the device state stored by the first control device when the failure occurs.
6. The system according to any one of claims 1 to 3, wherein the smart home device group includes a first smart home device and a second smart home device;
the first intelligent home device is used for responding to the detection of the fault and sending home device backup information to the second intelligent home device, wherein the home device backup information is the information of the device state stored when the first intelligent home device is in the fault.
7. The equipment control system is characterized by comprising at least one client, a control equipment group and an intelligent household equipment group;
the client is used for receiving a control signal for at least one target intelligent household device; generating a control instruction according to the control signal, wherein the control instruction is used for controlling the equipment state of the target intelligent household equipment; sending the control instruction to the control equipment group and the intelligent household equipment group;
the control equipment group is used for receiving the control instruction;
the intelligent household equipment group is used for receiving the control instruction; and responding to the target intelligent household equipment in the intelligent household equipment group, and controlling the equipment state of the target intelligent household equipment according to the control instruction.
8. The system according to claim 7, wherein the control device group comprises at least two control devices, and a control binding relationship is established between the at least two control devices and the target smart home device;
the control equipment group is further configured to update control states of at least two pieces of control equipment according to the control instruction in response to receiving the control instruction, where the control states are used to indicate, on the control equipment, an equipment state of the target smart home equipment.
9. The system according to claim 8, wherein the control devices in the control device group are corresponding to a uniform control device group identifier, and the smart home devices in the smart home device group are corresponding to a uniform home device group identifier;
the client is further configured to determine a control device group identifier corresponding to the control device group; broadcasting a first broadcast message and a third broadcast message, wherein a first protocol header of the first broadcast message comprises the control equipment group identifier, a load part of the first broadcast message comprises the control instruction, a third protocol header of the third broadcast message comprises the home equipment group identifier, and a load part of the third broadcast message comprises the control instruction;
the control device group is further configured to receive the first broadcast message; matching the control device group identification in the first protocol header; in response to a successful match, obtaining the control instruction from a payload portion of the first broadcast message;
the intelligent home equipment group is further configured to receive a third broadcast message, and match the home equipment group identifier in the third protocol header; and responding to the successful matching and the control binding relation established between the control equipment, and acquiring the control instruction from the load part of the third broadcast message.
10. The system according to any one of claims 7 to 9, wherein the client belongs to a client group;
the intelligent household equipment group is also used for generating a second feedback message according to the control result of the equipment state; sending the second feedback message over a communication network;
the control equipment group is also used for generating a third feedback message according to the control result of the control state; transmitting the third feedback message over the communication network;
the client group is configured to receive the second feedback message and the third feedback message.
11. An apparatus control method is applied to a client, and the method comprises:
receiving a control signal for at least one target intelligent household device;
generating a control instruction according to the control signal, wherein the control instruction is used for controlling the equipment state of the target intelligent household equipment;
and sending the control instruction to a control equipment group.
12. An apparatus control device, characterized in that the device comprises:
the receiving module is used for receiving a control signal for at least one target intelligent household device;
the generating module is used for generating a control instruction according to the control signal, and the control instruction is used for controlling the equipment state of the target intelligent household equipment;
and the sending module is used for sending the control instruction to the control equipment group.
13. A computer device comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, set of codes, or set of instructions, the at least one instruction, at least one program, set of codes, or set of instructions being loaded and executed by the processor to implement the device control method of claim 11.
14. A computer-readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the device control method as claimed in claim 12.
CN202010796814.6A 2020-08-10 2020-08-10 Equipment control system, method, device, terminal and readable storage medium Active CN111930020B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010796814.6A CN111930020B (en) 2020-08-10 2020-08-10 Equipment control system, method, device, terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010796814.6A CN111930020B (en) 2020-08-10 2020-08-10 Equipment control system, method, device, terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN111930020A true CN111930020A (en) 2020-11-13
CN111930020B CN111930020B (en) 2024-04-05

Family

ID=73308109

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010796814.6A Active CN111930020B (en) 2020-08-10 2020-08-10 Equipment control system, method, device, terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN111930020B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113359500A (en) * 2021-07-02 2021-09-07 佛山市淇特科技有限公司 Smart home equipment state synchronization method, device, equipment and storage medium
CN113677077A (en) * 2021-08-30 2021-11-19 江苏惠通集团有限责任公司 Wireless atmosphere lamp control system, method and device, readable storage medium and terminal
CN115001886A (en) * 2022-04-29 2022-09-02 青岛海尔科技有限公司 Equipment control method and device and electronic equipment
CN115001892A (en) * 2022-06-02 2022-09-02 联想(北京)有限公司 Information processing method, information processing device, electronic equipment and storage medium
WO2023124136A1 (en) * 2021-12-31 2023-07-06 深圳海翼智新科技有限公司 Device control method and apparatus, electronic device, and storage medium
CN113677077B (en) * 2021-08-30 2024-05-14 江苏惠通集团有限责任公司 Wireless atmosphere lamp control system, method and device, readable storage medium and terminal

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475703A (en) * 2013-09-06 2013-12-25 四川九洲电器集团有限责任公司 Intelligent home equipment control method based on ZigBee network
CN104935583A (en) * 2015-05-29 2015-09-23 四川长虹电器股份有限公司 Cloud service platform, information processing method, and data processing system
CN105871671A (en) * 2016-05-31 2016-08-17 北京小米移动软件有限公司 Method and device for controlling and obtaining intelligent-home-device uploading data
CN105897527A (en) * 2016-05-30 2016-08-24 海信集团有限公司 Method and device for setting running parameter of smart home device in smart scene
CN108111379A (en) * 2018-01-11 2018-06-01 新华三技术有限公司 A kind of method and apparatus for controlling smart home device
US20180205788A1 (en) * 2013-12-20 2018-07-19 Samsung Electronics Co., Ltd. Connection method for smart home device and apparatus thereof
CN109541950A (en) * 2018-11-16 2019-03-29 格力电器(武汉)有限公司 Control method, device and the equipment of smart home device
CN111490916A (en) * 2020-04-15 2020-08-04 公牛集团股份有限公司 Method, system, device and medium for binding ZigBee sub-devices of ZigBee

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475703A (en) * 2013-09-06 2013-12-25 四川九洲电器集团有限责任公司 Intelligent home equipment control method based on ZigBee network
US20180205788A1 (en) * 2013-12-20 2018-07-19 Samsung Electronics Co., Ltd. Connection method for smart home device and apparatus thereof
CN104935583A (en) * 2015-05-29 2015-09-23 四川长虹电器股份有限公司 Cloud service platform, information processing method, and data processing system
CN105897527A (en) * 2016-05-30 2016-08-24 海信集团有限公司 Method and device for setting running parameter of smart home device in smart scene
CN105871671A (en) * 2016-05-31 2016-08-17 北京小米移动软件有限公司 Method and device for controlling and obtaining intelligent-home-device uploading data
CN108111379A (en) * 2018-01-11 2018-06-01 新华三技术有限公司 A kind of method and apparatus for controlling smart home device
CN109541950A (en) * 2018-11-16 2019-03-29 格力电器(武汉)有限公司 Control method, device and the equipment of smart home device
CN111490916A (en) * 2020-04-15 2020-08-04 公牛集团股份有限公司 Method, system, device and medium for binding ZigBee sub-devices of ZigBee

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113359500A (en) * 2021-07-02 2021-09-07 佛山市淇特科技有限公司 Smart home equipment state synchronization method, device, equipment and storage medium
CN113677077A (en) * 2021-08-30 2021-11-19 江苏惠通集团有限责任公司 Wireless atmosphere lamp control system, method and device, readable storage medium and terminal
CN113677077B (en) * 2021-08-30 2024-05-14 江苏惠通集团有限责任公司 Wireless atmosphere lamp control system, method and device, readable storage medium and terminal
WO2023124136A1 (en) * 2021-12-31 2023-07-06 深圳海翼智新科技有限公司 Device control method and apparatus, electronic device, and storage medium
CN115001886A (en) * 2022-04-29 2022-09-02 青岛海尔科技有限公司 Equipment control method and device and electronic equipment
CN115001892A (en) * 2022-06-02 2022-09-02 联想(北京)有限公司 Information processing method, information processing device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111930020B (en) 2024-04-05

Similar Documents

Publication Publication Date Title
CN111930020B (en) Equipment control system, method, device, terminal and readable storage medium
KR20210008118A (en) A method and apparatus for controlling devices for a smart home service
CN105471686B (en) Terminal control method, device and system
CN111490916B (en) Method, system, device and medium for binding ZigBee sub-devices of ZigBee
CN104113458A (en) Mobile terminal and intelligent household appliance interconnecting method and device
CN110636483A (en) Network distribution method and system
CN108306796B (en) Intelligent home system, and information processing method and device of intelligent home equipment
CN105652675A (en) Control method for intelligent household equipment, device, terminal and system
CN105578310A (en) Smart TV remote control method and device based on websocket protocol
US20180034652A1 (en) Terminal and method of controlling same
CN113196721B (en) Method and device for discovering Internet of things equipment and terminal equipment
CN105812185A (en) Communication connection method for playing device
CN103561088A (en) Remote control method and device based on account number log-in
CN106302093B (en) Communication method, system and server
CN111478816B (en) Method, system, device and medium for configuring Zigbee and ZigBee sub-equipment
CN110493338B (en) Equipment mutual control method, system and computer readable storage medium
CN112954770A (en) Device binding method and device, storage medium and electronic device
CN112311633B (en) Distribution network control method, distribution network control device, household appliance and storage medium
CN113783768B (en) Group control method, group control device and communication system
KR101290727B1 (en) Apparatus to update S/W of system air conditioner and method thereof
CN105760770A (en) Information processing method and electronic device
CN112147910B (en) Method and device for determining execution capacity, storage medium and electronic device
CN109982450B (en) Communication link repairing method, device, coordinator and system
CN110149253B (en) Gateway connection method, gateway and computer readable storage medium
CN105554153A (en) Device control method and network device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20231114

Address after: 516039 Floor 1, C2-1 Plant, Qunyi Intelligent Manufacturing Industrial Park, south of Sanhe Avenue, Tonghu Town, Zhongkai High tech Zone, Huizhou, Guangdong

Applicant after: Guangdong Muguang Intelligent Lighting Co.,Ltd.

Address before: 315300 East District of Industrial Park, Cixi, Ningbo, Zhejiang

Applicant before: GONGNIU GROUP Co.,Ltd.

GR01 Patent grant
GR01 Patent grant