CN111650845B - Home multicast control method, system and computer readable storage medium - Google Patents

Home multicast control method, system and computer readable storage medium Download PDF

Info

Publication number
CN111650845B
CN111650845B CN202010503157.1A CN202010503157A CN111650845B CN 111650845 B CN111650845 B CN 111650845B CN 202010503157 A CN202010503157 A CN 202010503157A CN 111650845 B CN111650845 B CN 111650845B
Authority
CN
China
Prior art keywords
multicast
cloud
terminal
home
group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010503157.1A
Other languages
Chinese (zh)
Other versions
CN111650845A (en
Inventor
王勤浩
费斌
章锦跃
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hongyan Iot Technology Co ltd
Hangzhou Honyar Electrical Co Ltd
Original Assignee
Hangzhou Honyar Electrical Co Ltd
Putian Intelligent Lighting Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Honyar Electrical Co Ltd, Putian Intelligent Lighting Institute Co Ltd filed Critical Hangzhou Honyar Electrical Co Ltd
Priority to CN202010503157.1A priority Critical patent/CN111650845B/en
Publication of CN111650845A publication Critical patent/CN111650845A/en
Application granted granted Critical
Publication of CN111650845B publication Critical patent/CN111650845B/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] or computer integrated manufacturing [CIM]
    • G05B19/4185Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The disclosure relates to a home multicast control method, system and computer readable storage medium. The home multicast control method comprises the following steps: the cloud end equipment receives a terminal multicast control instruction from the terminal equipment; the cloud device controls the gateway device to configure the multicast state of the household device and controls the database to configure first multicast data according to the terminal multicast control instruction, wherein the first multicast data is related to the terminal multicast control instruction; the cloud end equipment updates the first multicast data into second multicast data according to the feedback of the gateway equipment, wherein the second multicast data is related to the multicast state of the configured household equipment; and the cloud end equipment controls the terminal equipment to display at least part of the second multicast data.

Description

Home multicast control method, system and computer readable storage medium
Technical Field
The present disclosure relates to the field of smart home technologies, and in particular, to a home multicast control method, a home multicast control system, and a computer-readable storage medium.
Background
With the progress of intelligent science and technology, interaction between a user and an intelligent home is more and more frequent. In a unit time, the control is no longer limited to only a single household device, but may also need to be realized by one key for a plurality of household devices. The control over the plurality of household devices can be realized through one-key group sending of scene functions. However, in the process of executing the scene, the instructions are actually transmitted circularly instead of simultaneously, so that a certain delay exists, and accordingly, the home devices do not perform actions simultaneously. In addition, in the control method, the user has certain difficulty in operating and managing the household equipment.
Disclosure of Invention
The present disclosure provides a home multicast control method, which includes:
the cloud device receives a terminal multicast control instruction from the terminal device;
the cloud device controls the gateway device to configure the multicast state of the home device and controls the database to configure first multicast data according to the terminal multicast control instruction, wherein the first multicast data is related to the terminal multicast control instruction;
the cloud end equipment updates the first multicast data into second multicast data according to the feedback of the gateway equipment, wherein the second multicast data is related to the multicast state of the configured household equipment;
and the cloud device controls the terminal device to display at least part of the second multicast data.
In some embodiments, before the cloud device receives the terminal multicast control instruction from the terminal device, the method further includes at least one of the following steps:
the cloud device screens out the household devices supporting the multicast and controls the terminal device to display the household devices supporting the multicast;
the cloud device determines the current multicast state of the home device and controls the terminal device to display the current multicast state of the home device; and
And the cloud device determines the executable action of the home equipment and controls the terminal device to display the executable action of the home equipment.
In some embodiments, the terminal multicast control instruction comprises a terminal add instruction;
the cloud device controls the gateway device to configure the multicast state of the home device according to the terminal multicast control instruction, and the method comprises the following steps:
the cloud device acquires multicast adding information corresponding to an adding object according to the terminal adding instruction, wherein the adding object comprises a first multicast group and/or a second home device, the multicast adding information comprises a first multicast identifier and a first home device list, and/or a second home device identifier and a second multicast identifier, the first multicast identifier is configured to indicate the first multicast group, the first home device list is configured to indicate all first home devices included in the first multicast group, the second home device identifier is configured to indicate the second home device, and the second multicast identifier is configured to indicate a second multicast group to include the second home device;
the cloud end equipment generates a cloud end adding instruction according to the multicast adding information;
The cloud end device sends the cloud end adding instruction to the gateway device so that the gateway device can add the adding object;
the method for controlling the database to configure the first multicast data by the cloud device according to the terminal multicast control instruction comprises the following steps:
the cloud device stores the multicast addition information as the first multicast data in the database, wherein the first multicast data is configured in an undetermined state.
In some embodiments, the updating, by the cloud device, the first multicast data to the second multicast data according to the feedback of the gateway device includes:
the cloud device monitors the gateway device;
when the cloud device receives the adding success feedback from the gateway device, updating the multicast adding information corresponding to the adding object which is added successfully in the first multicast data into a determined state, and using the multicast adding information as the second multicast data;
and when the cloud equipment does not receive feedback from the gateway equipment or receives addition failure feedback from the gateway equipment, deleting multicast addition information corresponding to the unsuccessfully added addition object in the first multicast data.
In some embodiments, the terminal multicast control instruction comprises a terminal delete instruction;
the cloud device controls the gateway device to configure the multicast state of the home device according to the terminal multicast control instruction, and the method comprises the following steps:
the cloud device acquires multicast deletion information corresponding to a deletion object according to the terminal deletion instruction, wherein the deletion object comprises a third multicast group and/or a fourth home device, the multicast deletion information comprises a third multicast identifier and/or a fourth home device identifier, the third multicast identifier is configured to indicate the third multicast group, and the fourth home device identifier is configured to indicate the fourth home device;
the cloud end equipment performs cycle traversal on the household equipment according to the multicast deleting information to generate a cloud end deleting instruction;
the cloud end equipment sends the cloud end deleting instruction to the gateway equipment so that the gateway equipment can delete the deleting object;
the cloud device controls a database to configure first multicast data according to the terminal multicast control instruction, and the method comprises the following steps:
and the cloud equipment updates the multicast deletion information in the database to an undetermined state as the first multicast data.
In some embodiments, the updating, by the cloud device, the first multicast data to the second multicast data according to the feedback of the gateway device includes:
the cloud device monitors the gateway device;
when the cloud device receives a deletion success feedback from the gateway device, deleting multicast deletion information corresponding to a deletion object which is deleted successfully in the first multicast data;
and when the cloud equipment does not receive feedback from the gateway equipment or receives deletion failure feedback from the gateway equipment, updating multicast deletion information corresponding to a deletion object which is not deleted successfully in the first multicast data into a determined state to be used as the second multicast data.
In some embodiments, the terminal multicast control instruction includes a terminal home device action instruction;
the cloud device controls the gateway device to configure the multicast state of the home device according to the terminal multicast control instruction, and the method comprises the following steps:
the cloud end equipment acquires a fifth multicast identifier, and an action parameter and a target attribute value of a fifth multicast group indicated by the fifth multicast identifier according to the terminal home equipment action instruction;
The cloud end equipment generates a first cloud end action instruction according to the fifth multicast identification, the action parameter and the target attribute value;
and the cloud equipment sends the first cloud action instruction to the gateway equipment so that the gateway equipment can control the household equipment of the fifth multicast group to execute actions.
In some embodiments, the terminal multicast control instruction comprises a terminal group leader setting instruction;
the cloud device controls the gateway device to configure the multicast state of the home device according to the terminal multicast control instruction, and the method comprises the following steps:
the cloud device acquires a sixth household device identifier and a sixth multicast identifier according to the terminal group leader setting instruction, wherein the sixth household device identifier is configured to indicate a sixth household device, the sixth household device is a group leader household device, and the sixth multicast identifier is configured to indicate a sixth multicast group including the sixth household device;
and the cloud end equipment modifies a group length field, corresponding to the sixth multicast group, of the multicast table in the database into an indication of the sixth household equipment according to the sixth household equipment identifier and the sixth multicast identifier.
In some embodiments, the method further comprises:
the cloud device creates a group leader scene, wherein when the group leader attribute value of the group leader household device of the multicast group changes, other household devices in the multicast group execute actions so that the attribute value of each household device in the multicast group is consistent with the group leader attribute value.
In some embodiments, the method further comprises:
the cloud device monitors a group leader attribute value change of group leader household devices, wherein the group leader attribute value change is configured to be stored in a local memory of the group leader household devices;
when the cloud device monitors the change of the group leader attribute value, whether a multicast group related to the group leader household device exists or not is inquired in the local memory;
when the multicast group exists, the cloud device acquires the group leader attribute value and generates a second cloud action instruction according to the group leader attribute value;
and the cloud device sends the second cloud action instruction to the gateway device, so that the gateway device controls other household devices in the multicast group to execute actions, and the attribute value of each household device in the multicast group is consistent with the group length attribute value.
The present disclosure further provides a cloud device, where the cloud device includes a first processor, and the first processor is configured to execute an instruction to implement the steps executed by the cloud device in the foregoing home multicast control method.
The present disclosure also provides a home multicast control method, where the method includes:
the terminal equipment acquires a terminal multicast control instruction;
the terminal device calls a corresponding application program interface of the cloud device according to the terminal multicast control instruction so that the cloud device controls the gateway device to configure the multicast state of the home device and controls the database to configure multicast data;
the terminal device receives at least part of the multicast data from the cloud device and displays at least part of the multicast data, wherein the displayed at least part of the multicast data is related to the configured multicast state of the household device.
In some embodiments, before the terminal device obtains the terminal multicast control instruction, the method further comprises at least one of the following steps:
the terminal equipment displays the household equipment supporting the multicast;
the terminal equipment displays the current multicast state of the household equipment; and
And the terminal equipment displays the executable action of the household equipment.
In some embodiments, the terminal multicast control instruction includes at least one of a terminal addition instruction, a terminal deletion instruction, a terminal home device action instruction, and a terminal group leader setting instruction.
The present disclosure also provides a terminal device, where the terminal device includes a second processor, and the second processor is configured to execute an instruction to implement the steps executed by the terminal device in the aforementioned home multicast control method.
The present disclosure also provides a home multicast control method, including:
the gateway equipment receives a cloud multicast control instruction from the cloud equipment;
the gateway equipment configures the multicast state of the household equipment according to the cloud multicast control instruction;
when the gateway device is successfully configured with the multicast state of the home device, feeding back configuration success information to the cloud device;
and when the multicast state of the home equipment configured by the gateway equipment fails, feeding back configuration failure information to the cloud equipment or not executing feedback to the cloud equipment.
In some embodiments, the cloud multicast control instruction includes at least one of a cloud add instruction and a cloud delete instruction.
In some embodiments, the cloud multicast control instruction comprises a first cloud action instruction, wherein the first cloud action instruction is generated according to a fifth multicast identifier, an action parameter and a target attribute value;
the gateway device configures the multicast state of the home device according to the cloud multicast control instruction, and the configuration comprises the following steps:
and the gateway device sends the first cloud action instruction to a fifth multicast group indicated by the fifth multicast identifier to control the household devices in the fifth multicast group to synchronously execute actions according to the action parameters, so that the attribute values of the household devices in the fifth multicast group all meet the target attribute value.
In some embodiments, the cloud multicast control instruction comprises a second cloud action instruction, wherein the second cloud action instruction is generated according to a group leader attribute value of group leader household equipment;
the gateway device configures the multicast state of the home device according to the cloud multicast control instruction, and the configuration comprises the following steps:
and the gateway device sends the second cloud action instruction to a multicast group containing the group leader home equipment to control other home equipment in the multicast group to synchronously execute actions so as to enable the attribute value of each home equipment in the multicast group to be consistent with the group leader attribute value.
The present disclosure also provides a gateway device, where the gateway device includes a third processor, and the third processor is configured to execute instructions to implement the steps executed by the gateway device in the aforementioned home multicast control method.
The present disclosure further provides a home multicast control system, which includes: the cloud device; the terminal device can be connected with the cloud device in a communication mode; and the gateway device can be communicatively connected with the cloud device, and the gateway device supports multicast.
In some embodiments, the system further includes a home device, the home device being capable of communicatively connecting with the gateway device, and at least a portion of the home device supporting multicast.
The present disclosure also proposes a computer-readable storage medium having instructions stored thereon, which, when executed, implement the steps of the above-mentioned home multicast control method.
Other features of the present disclosure and advantages thereof will become more apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description, serve to explain the principles of the disclosure.
The present disclosure may be more clearly understood from the following detailed description, taken with reference to the accompanying drawings, in which:
fig. 1 is a schematic flowchart illustrating a home multicast control method performed by a cloud device according to an exemplary embodiment of the present disclosure;
fig. 2 shows a schematic diagram of a home multicast control system according to an exemplary embodiment of the present disclosure;
fig. 3 shows a partial flow diagram of a home multicast control method according to an example embodiment of the present disclosure;
fig. 4 to 7 are schematic diagrams illustrating a process of adding an object by a terminal device according to a specific example of the present disclosure;
fig. 8 shows a partial flow diagram of a home multicast control method according to another example embodiment of the present disclosure;
FIG. 9 is a diagram illustrating a process for deleting an object by a terminal device in accordance with a specific example of the present disclosure;
fig. 10 shows a partial flow diagram of a home multicast control method according to yet another example embodiment of the present disclosure;
fig. 11 shows a partial flow diagram of a home multicast control method according to yet another example embodiment of the present disclosure;
Fig. 12 is a flowchart illustrating a home multicast control method performed by a terminal device according to an exemplary embodiment of the present disclosure;
fig. 13 is a flowchart illustrating a home multicast control method performed by a gateway device according to an exemplary embodiment of the disclosure.
Note that in the embodiments described below, the same reference numerals are used in common between different drawings to denote the same portions or portions having the same functions, and a repetitive description thereof will be omitted. In some cases, similar reference numbers and letters are used to denote similar items, and thus, once an item is defined in one figure, it need not be discussed further in subsequent figures.
For convenience of understanding, the positions, sizes, ranges, and the like of the respective structures shown in the drawings and the like do not sometimes indicate actual positions, sizes, ranges, and the like. Therefore, the present disclosure is not limited to the positions, dimensions, ranges, and the like disclosed in the drawings and the like.
Detailed Description
Various exemplary embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses. That is, the structures and methods herein are shown by way of example to illustrate different embodiments of the structures and methods of the present disclosure. Those skilled in the art will understand, however, that they are merely illustrative of exemplary ways in which the disclosure may be practiced and not exhaustive. Furthermore, the figures are not necessarily to scale, some features may be exaggerated to show details of particular components.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
In order to enable different home devices to simultaneously execute corresponding actions so as to improve user experience, the home devices may be organized in the same multicast group. Thereafter, an instruction corresponding to the action may be sent to the multicast group to control the home devices to perform the action at the same time. However, the grouping information of the home devices in the multicast group is usually stored in the home device itself, and the user cannot directly view the grouping information, and the operation and management of the home devices are implemented by writing instructions, which makes the operation and management difficult and makes the user experience poor.
In order to solve the above problem, the present disclosure provides a home multicast control method, as shown in fig. 1 and fig. 2, the method may include:
in step S110, the cloud device 100 receives a terminal multicast control command from the terminal device 200.
The terminal device 200 may include an intelligent terminal such as a smart phone, a tablet computer, and a personal computer. The user may conveniently operate and manage the multicast group including the home device 400 through an application program (APP) loaded on the terminal device 200, for example, may perform operations such as adding, deleting, querying, modifying, etc. on the multicast group or the home devices 400 in the multicast group. The user may provide a user instruction by operating a corresponding button on the APP through actions such as clicking, sliding, or the like, or by inputting a corresponding command, and the terminal device 200 converts the user instruction into a terminal multicast control instruction, and sends the terminal multicast control instruction to the cloud device 100 through a Message Queue (MQ)600, or the like. The cloud device 100 may receive a terminal multicast control instruction from the terminal device 200 to call a corresponding Application Program Interface (API), so as to complete a corresponding operation.
As shown in fig. 1 and fig. 2, the home multicast control method may further include:
In step S120, the cloud device 100 controls the gateway device 300 to configure the multicast state of the home device 400 and controls the database 500 to configure the first multicast data according to the terminal multicast control instruction.
Wherein the first multicast data is associated with a terminal multicast control instruction. The gateway device 300 may organize one or more home devices 400 in a local area network in which the gateway device 300 is located to conveniently control the one or more home devices 400 communicatively connected to the gateway device 300. The terminal multicast control instruction may include a terminal adding instruction, a terminal deleting instruction, a terminal home device action instruction, a terminal group leader setting instruction, and the like, so as to implement functions of adding a multicast group/home device, deleting a multicast group/home device, controlling home devices in at least one multicast group to synchronously execute an action and set a group leader home device, and the like, which will be described in detail later. The cloud device 100 may configure the multicast state of the home device 400 through the gateway device 300, so as to control the home device 400. The cloud device 100 may further control the database 500 to configure the first multicast data, so as to record a change of a possible multicast state of the home device 400 in time, so as to monitor and manage the home device 400.
As shown in fig. 1 and 2, the method may further include:
in step S130, the cloud device 100 updates the first multicast data to the second multicast data according to the feedback of the gateway device 300.
Wherein the second multicast data is related to the configured multicast state of the home device 400. Since communication links among the cloud device 100, the gateway device 300, and the home device 400 may fail, a situation that corresponding operations are not successfully executed may occur in the process of implementing the terminal multicast control instruction. Therefore, the cloud device 100 may further update the first multicast data in the database to the second multicast data according to the feedback of the gateway device 300, so as to ensure that the second multicast data in the database can accurately reflect the current multicast state of the home device 400, which is convenient for the operation and management of the user.
As shown in fig. 1 and fig. 2, the home multicast control method may further include:
in step S140, the cloud device 100 controls the terminal device 200 to display at least a portion of the second multicast data.
Specifically, the cloud device 100 may send part of the second multicast data or all of the second multicast data to the terminal device 200 according to a preset setting or the like, so that the terminal device 200 displays at least part of the received second multicast data to the user. The user may further operate and manage the home device 400 by viewing information, such as the current multicast state of the home device 400, displayed in the APP of the terminal device 200.
In the exemplary embodiment of the present disclosure, a user may conveniently and quickly implement operations on the home device 400 and the multicast group including the home device 400 through the APP on the terminal device 200, and particularly, may complete corresponding operations on a visual APP interface, so that the interaction between the user and the home device is more friendly, and user experience is effectively improved.
Hereinafter, implementation processes of several operations will be specifically described. It is understood that other operations may be implemented by the home multicast control method of the present disclosure with reference to these operation procedures.
In an exemplary embodiment of the present disclosure, the terminal multicast control instruction may include a terminal addition instruction, where the terminal addition instruction is related to an operation of adding a new multicast group or adding a home device to an existing multicast group.
In some examples, before processing the terminal addition instruction, the cloud device 100 may further complete a series of APIs including screening the home devices 400 supporting multicast from the device list of the user, determining a current multicast state of the home devices, and querying grouping information of the user. The cloud device 100 may further control the terminal device 200 to display the screened home devices 400 supporting multicast, the current multicast state of the home devices 400, the grouping information of each existing multicast group, and the like, so that the user can conveniently check and perform subsequent adding operations.
As shown in fig. 3, controlling, by the cloud device 100 according to the terminal multicast control instruction, the configuration of the multicast state of the home device 400 by the gateway device 300 may include:
step S121a, the cloud end device 100 acquires, according to the terminal addition instruction, multicast addition information corresponding to the addition object;
step S121b, the cloud end device 100 generates a cloud end adding instruction according to the multicast adding information;
in step S121c, the cloud end device 100 sends the cloud end adding instruction to the gateway device 300, so that the gateway device 300 adds an adding object.
The added object may include a first multicast group and/or a second home device, and correspondingly, the multicast adding information may include a first multicast identifier and a first home device list, and/or a second home device identifier and a second multicast identifier.
Specifically, when the user only wants to add a new multicast group, the addition object includes a first multicast group, and the multicast addition information includes a first multicast identifier indicating the first multicast group and a first home device list indicating all first home devices included in the first multicast group. When the user only wants to add the new home device to the existing multicast group, the addition object includes the second home device, and the multicast addition information includes a second home device identifier indicating the second home device and a second multicast identifier indicating a second multicast group in which the second home device is to be included. It is understood that, when a user desires to add both the multicast group and the home device, the addition object may include a first multicast group and a second home device, and accordingly, the multicast addition information may include a first multicast identifier and a first home device list, and a second home device identifier and a second multicast identifier. Of course, the user may add multiple multicast groups and/or multiple home devices.
Then, the cloud device 100 generates a cloud adding instruction according to the multicast adding information, and sends the cloud adding instruction to the gateway device 300, so that the gateway device 300 can add the adding object.
Further, as shown in fig. 3, the controlling, by the cloud device according to the terminal multicast control instruction, the configuration of the first multicast data by the database may include:
in step S121d, the cloud device 100 stores the multicast addition information as the first multicast data in the database 500.
Wherein the first multicast data is configured to be in an undetermined state. The cloud device 100 may control the terminal device 200 to temporarily not display the first multicast data in the undetermined state, so as to avoid that the information displayed by the terminal device 200 is incorrect in the case of unsuccessful addition.
Then, the cloud device 100 may update the first multicast data to the second multicast data according to the feedback of the gateway device 300, which may specifically include:
the cloud device 100 monitors the gateway device 300;
when the cloud device 100 receives the addition success feedback from the gateway device 300, updating the multicast addition information corresponding to the successfully added addition object in the first multicast data to a determined state as second multicast data;
When the cloud device 100 does not receive the feedback from the gateway device 300 or receives the addition failure feedback from the gateway device 300, the multicast addition information corresponding to the unsuccessfully added addition object in the first multicast data is deleted.
The second multicast data is generated according to the feedback condition of the gateway device 300, and may reflect an accurate multicast state of the multicast group and the home devices 400 therein. And the cloud device 100 may further control the terminal device 200 to display at least a portion of the second multicast data, so as to facilitate viewing and management by the user.
For example, in the case where there are a plurality of added objects, the first multicast data will include information on all the added objects. In the process of updating the first multicast data to the second multicast data, if the gateway device 300 feeds back that all the added objects have been successfully added, the multicast addition information corresponding to all the added objects of the first multicast data is updated to a determined state to be used as the second multicast data (in general, the first multicast data may be directly used as the second multicast data as a whole); if the gateway device 300 feeds back that only a part of the added objects are successfully added (meanwhile, no information related to other added objects is fed back or addition failure of other added objects is fed back), the multicast addition information corresponding to the successfully added objects of the first multicast data will be updated to a certain state, and the multicast addition information corresponding to other unsuccessfully added objects will be deleted as the second multicast data (normally, the part of the first multicast data in the certain state that is not deleted may be regarded as the second multicast data); if all the added objects are not successfully added according to the feedback situation of the gateway device 300, the multicast addition information of the first multicast data corresponding to all the added objects will be deleted (normally, the second multicast data does not include any information corresponding to the added objects or no second multicast data is generated).
In a specific example, as shown in fig. 4, when the cloud device 100 and the gateway device 300 are ready, the user may enter the APP loaded on the terminal device 200 and click the "add group" button in the upper right corner of the APP to add the multicast group and/or the home device 400. In this particular example, a process is shown for a user to add a new multicast group (e.g., a first multicast group).
As shown in fig. 5, the terminal device 200 may display a list of home devices 400 supporting multicast under the screened user account under the control of the cloud device 100, and the user may select a corresponding home device 400 according to a requirement and add the home device 400 into a first multicast group (group).
After completing the selection of the home device 400, the user may click on the save button, which pops up the interface as shown in fig. 6. On this interface, the user may define a name for the added first multicast group to facilitate subsequent operations. This added first multicast group may be considered a virtual home device that is a twin image of one or more first home devices selected by the user. In subsequent operations, a user can control the virtual home devices to realize one-key synchronous control on all the first home devices in the corresponding first multicast group.
Thereafter, the user can click on the "save" button shown in the upper right corner of FIG. 6, and proceed to complete the add operation. At this time, the APP on the terminal device 200 may send the terminal addition instruction to the cloud device 100 to call a corresponding API, so as to add the first multicast group.
Further, the cloud device 100 may store, in the database, the multicast addition information including the first multicast identifier indicating the first multicast group and the first home device list indicating all the first home devices included in the first multicast group, and continue to wait for the feedback of the gateway device 300. At this time, the first multicast identifier in the database and the first home device list are all in an undetermined state, and the cloud device 100 may filter out the first multicast data in the undetermined state, so that the APP does not display these data.
Then, if the cloud device 100 monitors that the feedback of the gateway device 300 is successful through the message queue 600, the cloud device 100 may update the corresponding multicast addition information in the database 500 according to the feedback information, so that the first multicast identifier and the first home device list corresponding to the successfully added first multicast group are in a determined state, and the information in the determined state is displayed on the APP by the control terminal device 200.
In a normal situation, the feedback of the gateway device 300 is substantially synchronized with the command sent by the cloud device 100, so that the user is given an experience that the user can immediately check that a group message in the form of a virtual home device is generated on the APP after clicking the "save" button to complete the creation of the first multicast group, as shown in fig. 7. Further, the user may operate the virtual home device (the first multicast group) through an APP interface.
In another exemplary embodiment of the present disclosure, the terminal multicast control instruction may include a terminal deletion instruction, and the terminal deletion instruction may be used to delete the entire multicast group or delete part of the home devices 400 in the multicast group.
As shown in fig. 8, in this embodiment, the controlling, by the cloud device 100 according to the terminal multicast control instruction, the multicast state of the home device 400 configured by the gateway device 300 may include:
step S122a, the cloud end device 100 obtains, according to the terminal deletion instruction, multicast deletion information corresponding to the deletion object;
step S122b, the cloud device 100 performs loop traversal on the home device 400 according to the multicast deletion information, and generates a cloud deletion instruction;
in step S122c, the cloud device 100 sends the cloud delete instruction to the gateway device 300, so that the gateway device deletes the delete object.
The deletion object may include a third multicast group and/or a fourth home device, and correspondingly, the multicast deletion information may include a third multicast identifier and/or a fourth home device identifier, where the third multicast identifier is configured to indicate the third multicast group, and the fourth home device identifier is configured to indicate the fourth home device.
As shown in fig. 3, the configuration of the first multicast data by the cloud device 100 according to the terminal multicast control instruction by the control database 500 may include:
in step S122d, the cloud device 100 updates the multicast deletion information in the database 500 to an undetermined state as the first multicast data.
For example, in the case where there are a plurality of deletion objects, the first multicast data will include information on all deletion objects in an undetermined state. In the process of updating the first multicast data to the second multicast data, if the gateway device 300 feeds back that all the deletion objects have been successfully deleted, the multicast deletion information of the first multicast data corresponding to all the deletion objects will be deleted (normally, the second multicast data does not include any information corresponding to the deletion objects or no second multicast data is generated); if the gateway device 300 feeds back that only a part of the deletion objects are successfully deleted (meanwhile, no information related to other deletion objects is fed back or deletion failure of other deletion objects is fed back), the multicast addition information corresponding to the successfully deleted deletion objects of the first multicast data will be deleted, and the multicast deletion information corresponding to other deletion objects that are not successfully deleted will be updated to a certain state as the second multicast data (normally, the part of the first multicast data that is not deleted and updated to the certain state may be the second multicast data); if all the deletion objects are not successfully deleted according to the feedback condition of the gateway device 300, the multicast deletion information of the first multicast data corresponding to all the deletion objects is updated to a certain state (normally, the first multicast data as a whole can be directly used as the second multicast data).
Specifically, when the user only wishes to delete the multicast group, the deletion object may include the third multicast group, and the multicast addition information may include a third multicast identification indicating the third multicast group. When the user only wants to delete a certain home device, the deletion object may include a fourth home device, and the multicast deletion information may include a fourth home device identifier indicating the fourth home device. It can be understood that, when the user desires to delete both the multicast group and the home device, the deletion object may include a third multicast group and a fourth home device, and correspondingly, the multicast deletion information may include a third multicast identifier and a fourth home device identifier. Of course, the user may delete multiple multicast groups and/or multiple home devices.
Then, the cloud device 100 updates the first multicast data to the second multicast data according to the feedback of the gateway device 300, which may specifically include:
the cloud device 100 monitors the gateway device 300;
when the cloud device 100 receives the deletion success feedback from the gateway device 300, deleting the multicast deletion information corresponding to the deletion object that is deleted successfully in the first multicast data;
when the cloud device 100 does not receive the feedback from the gateway device 300 or receives the deletion failure feedback from the gateway device 300, the multicast deletion information corresponding to the deletion object that is not successfully deleted in the first multicast data is updated to a certain state, which is used as the second multicast data.
In a specific example, as shown in fig. 9, a user may enter a detail page of a multicast group through an APP, click a "delete" button to delete the multicast group and/or the home devices 400, or click a pen-shaped icon to select the multicast group and/or the home devices 400 to be deleted, so as to implement batch deletion.
The APP may also call an API for deleting the multicast group and/or the home device, so that the cloud device 100 operates the database 500 to configure the state of the corresponding multicast group and/or home device to an undetermined state, and monitor the feedback of the gateway device 300. If the cloud device 100 monitors that the feedback from the message queue 600 is successful, the cloud device 100 deletes the corresponding multicast group and/or the home device from the database 500, so as to control the terminal device 200 to no longer display the deletion object (including the multicast group, the home device, or both) that has been successfully deleted.
In yet another exemplary embodiment of the present disclosure, the terminal multicast control instruction may include a terminal home device action instruction, where the terminal home device action instruction is used to control home devices in the multicast group to synchronously execute a corresponding action.
In some embodiments, before processing the terminal home device action instruction, the cloud device 100 may determine a current multicast state of the home device 400 and control the terminal device 200 to display the current multicast state of the home device 400, and/or determine an executable action of the home device 400 and control the terminal device 200 to display the executable action of the home device 400, so as to facilitate operation and management of the user.
As shown in fig. 10, the controlling, by the cloud device 100 according to the terminal multicast control instruction, the configuring, by the gateway device 300, the multicast state of the home device 400 may include:
step S123a, the cloud device 100 obtains a fifth multicast identifier, and an action parameter and a target attribute value of a fifth multicast group indicated by the fifth multicast identifier according to the terminal home device action instruction;
step S123b, the cloud device 100 generates a first cloud action instruction according to the fifth multicast identifier, the action parameter, and the target attribute value;
in step S123c, the cloud device 100 sends the first cloud action instruction to the gateway device 300, so that the gateway device 300 controls the home devices 400 of the fifth multicast group to execute the action.
The home devices 400 in the same fifth multicast group are generally similar devices, and have the same or similar executable actions, action parameters, and attribute values, such as lighting devices, and the attribute values include brightness, color temperature, and the like. In this case, the actions of the home devices in the same fifth multicast group may be synchronously controlled and synchronously performed.
In this exemplary embodiment, the cloud device 100 may also store the attribute value of the home device corresponding to the terminal home device action instruction as first multicast data in the database 500, update the first multicast data to second multicast data capable of reflecting the actual attribute value of the home device after receiving the feedback of the gateway device 300, and control the terminal device 200 to display at least part of the second multicast data to help the user to know the current state of the home device in time.
In a specific example, the APP may first call the API of the cloud device 100 to obtain executable actions of the home devices in the multicast group, and present the executable actions or executable instructions corresponding to the executable actions on the APP in a graphical form (e.g., buttons, switches, sliders, etc.) to facilitate operations of the user.
The user provides a corresponding user instruction to the APP by clicking a button, switching, dragging a slider, and the like. Then, the APP calls a corresponding API of the cloud device 100, so that the cloud device 100 generates a corresponding first cloud action instruction, and sends the first cloud action instruction to the gateway device 300, so that the gateway device 300 operates the home devices 400 in the multicast group to execute corresponding actions at the same time.
In still another exemplary embodiment of the present disclosure, a group leader household device may also be set for the multicast group, so as to synchronously change the attribute values of other household devices in the entire multicast group according to the change of the attribute values of the group leader household device. Then, in the case that the terminal device 200 is not available (for example, the terminal device 200 is not nearby), the effect of controlling the entire multicast group can be achieved by controlling the group leader household device. The functional attributes of the group leader household equipment not only comprise the functional attributes of the group leader household equipment, but also comprise the mapping of the functional instructions of other household equipment.
The group leader household device may be preset through the terminal device 200, and correspondingly, the terminal multicast control instruction may include a terminal group leader setting instruction.
The cloud device 100 controls the gateway device 300 to configure the multicast state of the home device 400 according to the terminal multicast control instruction, which may include:
the cloud device 100 acquires a sixth household device identifier and a sixth multicast identifier according to the terminal group leader setting instruction;
the cloud device 100 modifies the group length field, corresponding to the sixth multicast group, in the multicast table in the database 500 to indicate the sixth home device according to the sixth home device identifier and the sixth multicast identifier.
The sixth household equipment identifier is configured to indicate sixth household equipment, the sixth household equipment is group leader household equipment, and the sixth multicast identifier is configured to indicate a sixth multicast group including the sixth household equipment.
Further, the home multicast control method may further include:
the cloud device 100 creates a group leader scene configured to, when the group leader attribute value of the group leader household device of the multicast group changes, perform an action by each other household device in the multicast group to make the attribute value of each household device in the multicast group consistent with the group leader attribute value.
That is, in the group leader scenario, the trigger source is a change in the attribute value of the group leader household device, and the change in the attribute value may be saved in a local memory (e.g., a local cache) of the group leader household device, while the action includes an operation of dynamically obtaining the attribute of the group leader household device.
The cloud device 100 realizes configuration of the group leader home devices by modifying the group leader field and creating the group leader scene. In subsequent operation, the attribute values of other household devices in the multicast group will change along with the change of the attribute values of the group leader household devices in the multicast group.
As shown in fig. 11, after the group leader home device is set, the home multicast control method may include:
step S151, the cloud device 100 monitors a group leader attribute value change of the group leader home device;
step S152, when the cloud device 100 monitors the change of the group leader attribute value, querying whether a multicast group related to the group leader home device exists in the local memory;
step S153, when there is a multicast group, the cloud device 100 obtains a group leader attribute value, and generates a second cloud action instruction according to the group leader attribute value;
in step S154, the cloud device 100 sends the second cloud action instruction to the gateway device 300, so that the gateway device 300 controls other home devices in the multicast group to execute an action, so that the attribute value of each home device in the multicast group is consistent with the group length attribute value.
Wherein the group leader attribute value change may be configured to be stored in a local memory of the group leader household device.
As shown in fig. 2, the present disclosure also provides a cloud device 100, where the cloud device 100 includes a first processor configured to execute instructions to implement the steps executed by the cloud device 100 in the home multicast control method.
The first processor may perform various actions and processes according to instructions stored in a corresponding memory. In particular, the first processor may be an integrated circuit chip having signal processing capabilities. The first processor may be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present disclosure may be implemented or performed. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, which may be an X86 architecture or an ARM architecture or the like.
As shown in fig. 2, the present disclosure also proposes a terminal device 200, where the terminal device 200 includes a second processor configured to execute instructions to implement the steps executed by the terminal device 200 in the home multicast control method.
Likewise, the second processor may perform various actions and processes in accordance with instructions stored in the corresponding memory. In particular, the second processor may be an integrated circuit chip having signal processing capabilities. The second processor may be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present disclosure may be implemented or performed. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, which may be the X86 architecture or the ARM architecture or the like.
The terminal device 200 may implement a corresponding function by calling an API of the cloud device 100. As shown in fig. 12, the home multicast control method executed by the terminal device 200 may include:
step S210, the terminal device 200 obtains a terminal multicast control instruction;
step S220, the terminal device 200 calls a corresponding application program interface of the cloud device 100 according to the terminal multicast control instruction, so that the cloud device 100 controls the gateway device 300 to configure the multicast state of the home device 400 and controls the database 500 to configure multicast data;
In step S230, the terminal device 200 receives at least part of the multicast data from the cloud device 100 and displays at least part of the multicast data.
At least a part of the multicast data displayed by the terminal device 200 is related to the configured multicast state of the home device 400, so as to facilitate the operation and management of the user.
Further, before the terminal device 200 acquires the terminal multicast control instruction, the method may further include at least one of the following steps:
the terminal device 200 displays the home device 400 supporting multicast;
the terminal device 200 displays the current multicast state of the home device 400; and
the terminal device 200 displays the executable actions of the home device 400.
The terminal multicast control instruction may include at least one of a terminal addition instruction, a terminal deletion instruction, a terminal home device action instruction, and a terminal group leader setting instruction, and the specific implementation manner is as described above and is not described herein again.
As shown in fig. 2, the present disclosure also proposes a gateway device 300, where the gateway device 300 includes a third processor configured to execute instructions to implement the steps executed by the gateway device 300 in the home multicast control method.
Similarly, the third processor may perform various actions and processes in accordance with instructions stored in the corresponding memory. In particular, the third processor may be an integrated circuit chip having signal processing capabilities. The third processor may be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present disclosure may be implemented or performed. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, which may be the X86 architecture or the ARM architecture or the like.
As shown in fig. 13, the home multicast control method executed by the gateway device 300 may include:
step S310, the gateway device 300 receives a cloud multicast control instruction from the cloud device 100;
step S320, the gateway device 300 configures the multicast state of the home device 400 according to the cloud multicast control instruction;
step S330, when the gateway device 300 successfully configures the multicast state of the home device 400, feeding back configuration success information to the cloud device 100;
In step S340, when the gateway device 300 fails to configure the multicast state of the home device 400, the configuration failure information is fed back to the cloud device 100 or the feedback to the cloud device 100 is not executed.
In some embodiments, the cloud multicast control instruction may include at least one of a cloud addition instruction and a cloud deletion instruction, and the specific implementation manner is as described above, which is not described herein again.
In some embodiments, the cloud multicast control instruction may also include a first cloud action instruction, where the first cloud action instruction is generated according to the fifth multicast identifier, the action parameter, and the target attribute value, and the first cloud action instruction is used to control the home devices 400 in the multicast group to synchronously execute corresponding actions.
The configuring, by the gateway device 300 according to the cloud multicast control instruction, the multicast state of the home device 400 may include:
the gateway device 300 sends the first cloud action instruction to the fifth multicast group indicated by the fifth multicast identifier, so as to control the home devices 400 in the fifth multicast group to synchronously execute actions according to the action parameters, so that the attribute values of the home devices 400 in the fifth multicast group all satisfy the target attribute value.
In some embodiments, the cloud multicast control instruction may further include a second cloud action instruction, where the second cloud action instruction is generated according to a group leader attribute value of the group leader home device, and the second cloud action instruction is used to control the home device to execute a corresponding action along with a change in an attribute value of the group leader home device in a multicast group to which the home device belongs.
The configuring, by the gateway device 300 according to the cloud multicast control instruction, the multicast state of the home device 400 may include:
the gateway device 300 sends the second cloud action instruction to the multicast group including the group leader home devices to control other home devices in the multicast group to execute actions synchronously, so that the attribute values of the home devices 400 in the multicast group are consistent with the group leader attribute value.
As shown in fig. 2, the present disclosure also provides a home multicast control system, which includes the cloud device 100, the terminal device 200, and the gateway device 300. The terminal device 200 can be communicatively connected to the cloud device 100, the gateway device 300 can be communicatively connected to the cloud device 100, and the gateway device 300 supports multicast.
Further, the system may further include a home device 400, where the home device 400 is capable of being communicatively connected with the gateway device 300, and at least a part of the home device 400 supports multicast. For example, the household device 400 may be a Zigbee device or the like capable of accessing a local area network (e.g., a Zigbee network, etc.), and may include, for example, a lighting device, a monitoring security device, an indoor temperature control device, and the like.
In addition, the present disclosure also provides a computer-readable storage medium, where the computer-readable storage medium stores instructions, and when the instructions are executed, the steps of the home multicast control method are implemented.
Similarly, computer-readable storage media in embodiments of the disclosure may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. It should be noted that the computer-readable storage media described herein are intended to comprise, without being limited to, these and any other suitable types of memory.
The terms "front," "back," "top," "bottom," "over," "under," and the like in the description and in the claims, if any, are used for descriptive purposes and not necessarily for describing permanent relative positions. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are, for example, capable of operation in other orientations than those illustrated or otherwise described herein.
As used herein, the word "exemplary" means "serving as an example, instance, or illustration," and not as a "model" that is to be replicated accurately. Any implementation exemplarily described herein is not necessarily to be construed as preferred or advantageous over other implementations. Furthermore, the disclosure is not limited by any expressed or implied theory presented in the preceding technical field, background, brief summary or the detailed description.
As used herein, the term "substantially" is intended to encompass any minor variation resulting from design or manufacturing imperfections, device or component tolerances, environmental influences, and/or other factors. The word "substantially" also allows for differences from a perfect or ideal situation due to parasitics, noise, and other practical considerations that may exist in a practical implementation.
In addition, the foregoing description may refer to elements or nodes or features being "connected" or "coupled" together. As used herein, unless expressly stated otherwise, "connected" means that one element/node/feature is directly connected to (or directly communicates with) another element/node/feature, either electrically, mechanically, logically, or otherwise. Similarly, unless expressly stated otherwise, "coupled" means that one element/node/feature may be mechanically, electrically, logically, or otherwise joined to another element/node/feature in a direct or indirect manner to allow for interaction, even though the two features may not be directly connected. That is, to "couple" is intended to include both direct and indirect joining of elements or other features, including connection with one or more intermediate elements.
In addition, "first," "second," and like terms may also be used herein for reference purposes only, and thus are not intended to be limiting. For example, the terms "first," "second," and other such numerical terms referring to structures or elements do not imply a sequence or order unless clearly indicated by the context.
It will be further understood that the terms "comprises/comprising," "includes" and/or "including," when used herein, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
In the present disclosure, the term "providing" is used broadly to encompass all ways of obtaining an object, and thus "providing an object" includes, but is not limited to, "purchasing," "preparing/manufacturing," "arranging/setting," "installing/assembling," and/or "ordering" the object, and the like.
Those skilled in the art will appreciate that the boundaries between the above described operations merely illustrative. Multiple operations may be combined into a single operation, single operations may be distributed in additional operations, and operations may be performed at least partially overlapping in time. Moreover, alternative embodiments may include multiple instances of a particular operation, and the order of operations may be altered in various other embodiments. However, other modifications, variations, and alternatives are also possible. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense.
Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the foregoing examples are for purposes of illustration only and are not intended to limit the scope of the present disclosure. The various embodiments disclosed herein may be combined in any combination without departing from the spirit and scope of the present disclosure. It will also be appreciated by those skilled in the art that various modifications may be made to the embodiments without departing from the scope and spirit of the disclosure. The scope of the present disclosure is defined by the appended claims.

Claims (10)

1. A home multicast control method is characterized by comprising the following steps:
the cloud device receives a terminal multicast control instruction from the terminal device;
the cloud device controls the gateway device to configure the multicast state of the home device and configures first multicast data in a control database according to the terminal multicast control instruction, wherein the terminal multicast control instruction comprises a terminal adding instruction, and the first multicast data is related to the terminal multicast control instruction;
the cloud end equipment updates the first multicast data into second multicast data according to the feedback of the gateway equipment, wherein the second multicast data is related to the multicast state of the configured household equipment;
The cloud device controls the terminal device to display at least part of the second multicast data;
before the cloud device receives a terminal multicast control instruction from the terminal device, the method further includes at least one of the following steps:
the cloud device screens out the household devices supporting the multicast and controls the terminal device to display the household devices supporting the multicast;
the cloud device determines the current multicast state of the home device and controls the terminal device to display the current multicast state of the home device; and
the cloud device determines the executable action of the household device and controls the terminal device to display the executable action of the household device,
the cloud device controls the gateway device to configure the multicast state of the home device according to the terminal multicast control instruction, and the method comprises the following steps:
the cloud device acquires multicast adding information corresponding to an adding object according to the terminal adding instruction, wherein the adding object comprises a first multicast group and/or a second home device, the multicast adding information comprises a first multicast identifier and a first home device list, and/or a second home device identifier and a second multicast identifier, the first multicast identifier is configured to indicate the first multicast group, the first home device list is configured to indicate all first home devices included in the first multicast group, the second home device identifier is configured to indicate the second home device, and the second multicast identifier is configured to indicate a second multicast group to include the second home device;
The cloud end equipment generates a cloud end adding instruction according to the multicast adding information;
the cloud end device sends the cloud end adding instruction to the gateway device so that the gateway device can add the adding object;
the method for controlling the database to configure the first multicast data by the cloud device according to the terminal multicast control instruction comprises the following steps:
the cloud device stores the multicast addition information as the first multicast data in the database, wherein the first multicast data is configured in an undetermined state.
2. The method of claim 1, wherein the cloud device updating the first multicast data to the second multicast data according to the feedback of the gateway device comprises:
the cloud device monitors the gateway device;
when the cloud device receives the adding success feedback from the gateway device, updating the multicast adding information corresponding to the adding object which is added successfully in the first multicast data into a determined state, and using the multicast adding information as the second multicast data;
and when the cloud equipment does not receive feedback from the gateway equipment or receives addition failure feedback from the gateway equipment, deleting multicast addition information corresponding to the unsuccessfully added addition object in the first multicast data.
3. The method of claim 1, wherein the terminal multicast control instruction comprises a terminal delete instruction;
the cloud device controls the gateway device to configure the multicast state of the home device according to the terminal multicast control instruction, and the method comprises the following steps:
the cloud device acquires multicast deletion information corresponding to a deletion object according to the terminal deletion instruction, wherein the deletion object comprises a third multicast group and/or a fourth home device, the multicast deletion information comprises a third multicast identifier and/or a fourth home device identifier, the third multicast identifier is configured to indicate the third multicast group, and the fourth home device identifier is configured to indicate the fourth home device;
the cloud end device performs cycle traversal on the home equipment according to the multicast deleting information to generate a cloud end deleting instruction;
the cloud end equipment sends the cloud end deleting instruction to the gateway equipment so that the gateway equipment can delete the deleting object;
the method for controlling the database to configure the first multicast data by the cloud device according to the terminal multicast control instruction comprises the following steps:
and the cloud equipment configures the multicast deletion information in the database into an undetermined state as the first multicast data.
4. The method of claim 3, wherein the cloud device updating the first multicast data to the second multicast data according to the feedback of the gateway device comprises:
the cloud device monitors the gateway device;
when the cloud device receives a deletion success feedback from the gateway device, deleting multicast deletion information corresponding to a deletion object which is deleted successfully in the first multicast data;
and when the cloud equipment does not receive feedback from the gateway equipment or receives deletion failure feedback from the gateway equipment, updating multicast deletion information corresponding to a deletion object which is not deleted successfully in the first multicast data into a determined state to be used as the second multicast data.
5. The method according to claim 1, wherein the terminal multicast control instruction comprises a terminal home device action instruction;
the cloud device controls the gateway device to configure the multicast state of the home device according to the terminal multicast control instruction, and the method comprises the following steps:
the cloud end equipment acquires a fifth multicast identifier, and an action parameter and a target attribute value of a fifth multicast group indicated by the fifth multicast identifier according to the terminal home equipment action instruction;
The cloud end equipment generates a first cloud end action instruction according to the fifth multicast identification, the action parameter and the target attribute value;
and the cloud equipment sends the first cloud action instruction to the gateway equipment so that the gateway equipment can control the household equipment of the fifth multicast group to execute actions.
6. The method according to claim 1, wherein the terminal multicast control command comprises a terminal group leader setting command;
the cloud device controls the gateway device to configure the multicast state of the home device according to the terminal multicast control instruction, and the method comprises the following steps:
the cloud device acquires a sixth household device identifier and a sixth multicast identifier according to the terminal group leader setting instruction, wherein the sixth household device identifier is configured to indicate a sixth household device, the sixth household device is a group leader household device, and the sixth multicast identifier is configured to indicate a sixth multicast group including the sixth household device;
and the cloud end equipment modifies a group length field, corresponding to the sixth multicast group, of the multicast table in the database into an indication of the sixth household equipment according to the sixth household equipment identifier and the sixth multicast identifier.
7. The method of claim 1, further comprising:
the cloud device creates a group leader scene, wherein when the group leader attribute value of the group leader household devices of a multicast group changes, other household devices in the multicast group execute actions so that the attribute value of each household device in the multicast group is consistent with the group leader attribute value.
8. The method of claim 1, further comprising:
the cloud device monitors a group leader attribute value change of a group leader home device, wherein the group leader attribute value change is configured to be stored in a local memory of the group leader home device;
when the cloud device monitors the change of the group leader attribute value, whether a multicast group related to the group leader household device exists or not is inquired in the local memory;
when the multicast group exists, the cloud device acquires the group leader attribute value and generates a second cloud action instruction according to the group leader attribute value;
and the cloud device sends the second cloud action instruction to the gateway device, so that the gateway device controls other household devices in the multicast group to execute actions, and the attribute value of each household device in the multicast group is consistent with the group length attribute value.
9. Cloud device, characterized in that the cloud device comprises a first processor configured to execute instructions to implement the steps of the home multicast control method according to any one of claims 1 to 8.
10. A home multicast control method is characterized by comprising the following steps:
the terminal equipment acquires a terminal multicast control instruction;
the terminal device calls a corresponding application program interface of the cloud device according to the terminal multicast control instruction so that the cloud device control gateway device configures the multicast state of the household device and configures first multicast data in a control database, wherein the terminal multicast control instruction comprises a terminal adding instruction, and the first multicast data is related to the terminal multicast control instruction;
the terminal device receives at least part of second multicast data from the cloud device and displays at least part of the second multicast data, wherein the displayed at least part of the second multicast data is related to a configured multicast state of the home device, and the second multicast data is generated by the cloud device according to feedback of the gateway device to update the first multicast data;
Before the terminal device obtains the terminal multicast control instruction, the method further comprises at least one of the following steps:
the terminal equipment displays the household equipment supporting multicast;
the terminal equipment displays the current multicast state of the household equipment; and
the terminal device displays the executable action of the household equipment,
the terminal device calls a corresponding application program interface of the cloud device according to the terminal multicast control instruction, so that the configuration of the multicast state of the home device by the cloud device control gateway device comprises the following steps:
enabling the cloud end device to obtain multicast adding information corresponding to an adding object according to the terminal adding instruction, wherein the adding object comprises a first multicast group and/or a second household device, the multicast adding information comprises a first multicast identifier and a first household device list, and/or a second household device identifier and a second multicast identifier, the first multicast identifier is configured to indicate the first multicast group, the first household device list is configured to indicate all first household devices included in the first multicast group, the second household device identifier is configured to indicate the second household device, and the second multicast identifier is configured to indicate a second multicast group to include the second household device;
Enabling the cloud end equipment to generate a cloud end adding instruction according to the multicast adding information;
enabling the cloud end equipment to send the cloud end adding instruction to the gateway equipment so that the gateway equipment can add the adding object;
the terminal device calls a corresponding application program interface of the cloud device according to the terminal multicast control instruction, so that the cloud device controls a database to configure first multicast data according to the terminal multicast control instruction, and the method comprises the following steps:
causing the cloud device to store the multicast addition information as the first multicast data in the database, wherein the first multicast data is configured in an undetermined state.
CN202010503157.1A 2020-06-05 2020-06-05 Home multicast control method, system and computer readable storage medium Active CN111650845B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010503157.1A CN111650845B (en) 2020-06-05 2020-06-05 Home multicast control method, system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010503157.1A CN111650845B (en) 2020-06-05 2020-06-05 Home multicast control method, system and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111650845A CN111650845A (en) 2020-09-11
CN111650845B true CN111650845B (en) 2022-05-24

Family

ID=72347154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010503157.1A Active CN111650845B (en) 2020-06-05 2020-06-05 Home multicast control method, system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111650845B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115016302A (en) * 2022-05-23 2022-09-06 深圳绿米联创科技有限公司 Device control method, device and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105530148A (en) * 2014-09-30 2016-04-27 青岛海尔智能家电科技有限公司 Method and device for operating a plurality of devices
WO2016061803A1 (en) * 2014-10-24 2016-04-28 华为技术有限公司 M2m terminal control method and related device
CN107896179B (en) * 2016-10-01 2021-04-09 杭州鸿雁智能科技有限公司 Group control method of household equipment
US20190090312A1 (en) * 2017-09-05 2019-03-21 Ziming Zhou Novel method and apparatus for remotely controlling electronic devices
CN108037675A (en) * 2018-02-01 2018-05-15 苏州创爵智能科技有限公司 A kind of Intelligent household scene control method based on ZigBee Group
CN110769033A (en) * 2019-09-18 2020-02-07 珠海格力电器股份有限公司 Intelligent networking method and system

Also Published As

Publication number Publication date
CN111650845A (en) 2020-09-11

Similar Documents

Publication Publication Date Title
JP5795582B2 (en) Integrated user interface generation method and apparatus for performing the same
CN102929987B (en) A kind of searching method based on identifier combination and device
KR101662024B1 (en) Method and device for tagging chatting message
EP3142005A1 (en) Method for creating context-aware application and user terminal
US20150067129A1 (en) Apparatus, system, and method of managing device, and recording medium storing device management program
CN104978285A (en) Function extension method and terminal device
JP6044400B2 (en) TERMINAL DEVICE, TERMINAL DEVICE PROGRAM, SYSTEM, AND SYSTEM CONTROL METHOD
WO2022100181A1 (en) Scene establishment method and apparatus, and computer device and computer-readable storage medium
CN111650845B (en) Home multicast control method, system and computer readable storage medium
CN113495491A (en) Method and device for displaying equipment linkage relationship, electronic equipment and storage medium
JP2012098982A (en) Terminal device, server, screen display method, screen control method, and computer program
US20170003875A1 (en) Display Processing Method for Transient Interface, and Terminal
CN102595013A (en) Image forming apparatus, information processing system, information processing method and recording medium
WO2018128068A1 (en) System for modifying a set of application services on multi-function print devices
CN115037970B (en) Control validity detection method and display device
JP3959171B2 (en) Information processing apparatus and reservation processing method
US10425548B2 (en) System for modifying a set of application services on multi-function print devices
CN112130734A (en) Document management method and device based on floating layer technology
CN111459571A (en) Configuration method, processing method and device
CN110618975A (en) Image sharing method and device and electronic equipment
CN111984633B (en) Method for on-demand expansion and automatic relation establishment of CMDB configuration classification
JP2013205773A (en) Display system, image generation device, and computer program
JP2015219837A (en) Electronic equipment, household electrical appliance, software update system, software update method, and program
KR101095423B1 (en) Terminal and look and feel management method thereof
JP2021125046A (en) File management apparatus and file management program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: Huahong building, 248 Tianmushan Road, Xihu District, Hangzhou City, Zhejiang Province, 310013

Patentee after: HANGZHOU HONYAR ELECTRICAL Co.,Ltd.

Patentee after: Putian Hongyan Internet of things Technology Co.,Ltd.

Address before: Huahong building, 248 Tianmushan Road, Xihu District, Hangzhou, Zhejiang 310007

Patentee before: HANGZHOU HONYAR ELECTRICAL Co.,Ltd.

Patentee before: PUTIAN INTELLIGENT LIGHTING INSTITUTE Co.,Ltd.

CP03 Change of name, title or address
CP01 Change in the name or title of a patent holder

Address after: Huahong building, 248 Tianmushan Road, Xihu District, Hangzhou City, Zhejiang Province, 310013

Patentee after: HANGZHOU HONYAR ELECTRICAL Co.,Ltd.

Patentee after: Hangzhou Hongyan IOT Technology Co.,Ltd.

Address before: Huahong building, 248 Tianmushan Road, Xihu District, Hangzhou City, Zhejiang Province, 310013

Patentee before: HANGZHOU HONYAR ELECTRICAL Co.,Ltd.

Patentee before: Putian Hongyan Internet of things Technology Co.,Ltd.

CP01 Change in the name or title of a patent holder