CN113625589B - Equipment control method and device, electronic equipment and storage medium - Google Patents
Equipment control method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN113625589B CN113625589B CN202111082248.3A CN202111082248A CN113625589B CN 113625589 B CN113625589 B CN 113625589B CN 202111082248 A CN202111082248 A CN 202111082248A CN 113625589 B CN113625589 B CN 113625589B
- Authority
- CN
- China
- Prior art keywords
- gateway
- scene mode
- equipment
- request information
- devices
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 230000006855 networking Effects 0.000 claims abstract description 22
- 238000012545 processing Methods 0.000 claims description 10
- 238000013507 mapping Methods 0.000 claims description 4
- 230000001360 synchronised effect Effects 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 6
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 238000006467 substitution reaction Methods 0.000 description 3
- 230000004075 alteration Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total 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]
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
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 application relates to a device control method, a device, an electronic device and a storage medium, wherein the method comprises the following steps: networking a plurality of gateway devices and configuring a scene mode; after receiving the request information of the user control equipment, the intelligent terminal sends the request information to first gateway equipment connected with the intelligent terminal; the first gateway equipment controls the equipment according to the instruction information corresponding to the request information; the instruction information comprises: single device control instructions, scene mode control instructions. The gateway equipment is in different spaces, different equipment is controlled, a scene mode is configured into the first gateway equipment, and after networking of the gateway equipment is completed, the configuration can be automatically diffused and synchronized; the intelligent terminal sends a device control or scene mode control request to the first gateway device, and the first gateway device sends request information to the corresponding gateway device for execution, so that the connection of an external network is not needed, and the service terminal is not relied on; the dependence on external network and service end is avoided, and the cost is reduced.
Description
Technical Field
The present application relates to the field of device control technologies, and in particular, to a device control method, an apparatus, an electronic device, and a storage medium.
Background
Currently, in a smart home scenario, an intelligent terminal (such as an intelligent sound box) generally controls iot equipment (such as a lamp and a curtain) through a iot gateway; for households that contain subspaces, because of local communication distance limitations, multiple iot gateways may be required to cover the entire household; the introduction of a scene mode (such as a home mode) requires that a plurality of devices under a plurality of subspaces can be controlled simultaneously, namely a plurality of gateways are required to work cooperatively; the current mainstream scheme is a cloud collaboration mode, namely, a scene mode is analyzed on a cloud platform and is disassembled into a plurality of groups of instructions aiming at a single gateway, and the instructions are respectively issued to each gateway for execution.
The cloud collaboration mode relies on a cloud platform, cannot realize local control, and has two problems: depending on the network, the external network cannot work after being disconnected, the cost is increased, and the cost of the server and the network needs to be considered.
Disclosure of Invention
The application provides a device control method, a device, electronic equipment and a storage medium, which can solve the technical problems that the external network is disconnected and cannot work, the cost is increased, and the cost of a server and the cost of the network are required to be considered.
The technical scheme for solving the technical problems is as follows:
in a first aspect, an embodiment of the present application provides a device control method, which is applied to a system in which a plurality of gateway devices and a plurality of devices are connected in a one-to-one binding manner, including:
networking a plurality of gateway devices and configuring a scene mode;
after receiving the request information of the user control equipment, the intelligent terminal sends the request information to first gateway equipment connected with the intelligent terminal;
the first gateway equipment controls the equipment according to the instruction information corresponding to the request information;
the instruction information comprises: single device control instructions, scene mode control instructions.
In some embodiments, in the device control method, a plurality of gateway devices are networked, including:
acquiring a home space account number, and mapping the home space account number to a multicast address;
the first gateway device sends a heartbeat frame to the multicast address;
after receiving the heartbeat frame, the gateway devices except the first gateway device maintain the gateway devices except the first gateway device in a buddy list to realize networking of the gateway devices;
in some embodiments, in the device control method, the content of the heartbeat frame includes: gateway device code, gateway device IP address, list of controlled gateway devices.
In some embodiments, in the above device control method, configuring the scene mode includes:
the first gateway equipment receives a scene mode configured by a user;
the first gateway device synchronizes the scene mode into a plurality of gateway devices other than the first gateway device;
a plurality of gateway devices other than the first gateway device store scene modes into a scene list.
In some embodiments, in the device control method, the first gateway device synchronizes the scene mode to a plurality of gateway devices other than the first gateway device, including:
the first gateway equipment synchronizes scene modes to a plurality of gateway equipment except the first gateway equipment through configuration frames in a unicast mode;
wherein, the content of the configuration frame at least comprises: scene mode account number, controlled device and controlled attribute list.
In some embodiments, in the device control method, the first gateway device controls the device according to instruction information corresponding to the request information, including:
if the command is a single device control command, determining gateway devices corresponding to the single device through a buddy list in the networking of a plurality of gateway devices, and sending request information to the gateway devices corresponding to the single device for processing.
In some embodiments, in the device control method, the first gateway device controls the device according to instruction information corresponding to the request information, and further includes:
if the scene mode control instruction is a scene mode control instruction, determining a scene list corresponding to the scene mode account according to the scene mode account;
and determining the corresponding gateway equipment according to the controlled equipment in the scene list and the controlled attribute list thereof, and sending the request information to the gateway equipment corresponding to the scene mode for processing.
In a second aspect, an embodiment of the present application provides an apparatus control device, which is applied to a system in which a plurality of gateway apparatuses and a plurality of apparatuses are connected in a one-to-one binding manner, including:
networking module and configuration module: the method comprises the steps of networking a plurality of gateway devices and configuring a scene mode;
a receiving module and a transmitting module: after receiving the request information of the user control device, the intelligent terminal sends the request information to first gateway equipment connected with the intelligent terminal;
and the control module is used for: the instruction information control device is used for the first gateway device to control the device according to the instruction information corresponding to the request information;
the instruction information comprises: single device control instructions, scene mode control instructions.
In a third aspect, an embodiment of the present application further provides an electronic device, including: a processor and a memory;
the processor is configured to execute a device control method according to any one of the above by calling a program or instructions stored in the memory.
In a fourth aspect, an embodiment of the present application also provides a computer-readable storage medium storing a program or instructions that cause a computer to execute a device control method as set forth in any one of the above.
The beneficial effects of the application are as follows: the application relates to a device control method, a device, an electronic device and a storage medium, wherein the method comprises the following steps: networking a plurality of gateway devices and configuring a scene mode; after receiving the request information of the user control equipment, the intelligent terminal sends the request information to first gateway equipment connected with the intelligent terminal; the first gateway equipment controls the equipment according to the instruction information corresponding to the request information; the instruction information comprises: single device control instructions, scene mode control instructions. The gateway equipment is in different spaces, is bound and responsible for controlling different equipment, configures a scene mode into the first gateway, and can be automatically diffused and synchronized after the gateway equipment is networked; the intelligent terminal only sends a device control or scene mode control request to the first gateway device, and the first gateway device sends request information to the corresponding gateway device for execution, so that the connection of an external network is not needed, and the service terminal is not relied on; the dependence on external network and service end is avoided, and the cost is reduced.
Drawings
FIG. 1 is a diagram of a method for controlling a device according to an embodiment of the present application;
fig. 2 is a second diagram of a device control method according to an embodiment of the present application;
fig. 3 is a third diagram of a device control method according to an embodiment of the present application;
fig. 4 is a diagram of an apparatus control device according to an embodiment of the present application;
fig. 5 is a schematic block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The principles and features of the present application are described below with reference to the drawings, the examples are illustrated for the purpose of illustrating the application and are not to be construed as limiting the scope of the application.
In order that the above-recited objects, features and advantages of the present application can be more clearly understood, a more particular description of the application will be rendered by reference to specific embodiments thereof which are illustrated in the appended drawings. It is to be understood that the described embodiments are some, but not all, of the embodiments of the present disclosure. The specific embodiments described herein are to be considered in an illustrative rather than a restrictive sense. All other embodiments, which are obtained by a person skilled in the art based on the described embodiments of the application, fall within the scope of protection of the application.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
Fig. 1 is a diagram of a device control method according to an embodiment of the present application.
In a first aspect, an embodiment of the present application provides a device control method, which is applied to a system in which a plurality of gateway devices and a plurality of devices are connected in a one-to-one binding manner, and in combination with fig. 1, includes three steps S101 to S103:
s101: a plurality of gateway devices are networked to configure a scene mode.
Specifically, a plurality of gateway devices in the embodiment of the application are in different spaces and are bound with different devices one by one to control different devices, and the gateway devices and the devices can communicate through a local communication protocol; if Zigbee, the scene mode is configured to a certain gateway device in a local or cloud issuing manner, and after networking of a plurality of gateways is completed, the configuration can be automatically diffused and synchronized.
S102: after receiving the request information of the user control device, the intelligent terminal sends the request information to a first gateway device connected with the intelligent terminal.
Specifically, in the embodiment of the application, a user can control equipment at the intelligent terminal, such as voice control at the intelligent terminal or control at a graphical interface, the intelligent terminal only sends request information to the first gateway equipment connected with the intelligent terminal equipment, and the first gateway equipment is responsible for analyzing and distributing the request information to other gateway equipment for execution.
S103: the first gateway equipment controls the equipment according to the instruction information corresponding to the request information.
Specifically, in the embodiment of the present application, the instruction information includes: the intelligent terminal only sends a device control or scene mode control request to the first gateway device, and the first gateway device sends request information to the corresponding gateway device for execution; the external network is not required to be connected, and the server is not relied on; the dependence on external network and service end is avoided, and the cost is reduced.
Fig. 2 is a second diagram of a device control method according to an embodiment of the present application.
In some embodiments, in the device control method, in combination with fig. 2, a plurality of gateway devices are networked, including three steps S201 to S203:
s201: and acquiring a home space account number, and mapping the home space account number to the multicast address.
S202: the first gateway device sends a heartbeat frame to the multicast address.
S203: after the plurality of gateway devices except the first gateway device receive the heartbeat frame, the plurality of gateway devices except the first gateway device are maintained in the buddy list to realize the networking of the plurality of gateway devices.
Specifically, in the embodiment of the application, after gateway equipment is online, a home space account number of the gateway equipment is firstly obtained, the home space account number is mapped to a multicast address in a hash mode, then a heartbeat frame is sent to the multicast address, and after other gateway equipment in the network receives the heartbeat frame, other gateway equipment in the network is maintained in a buddy list to complete networking of a plurality of gateway equipment.
In some embodiments, in the device control method, the content of the heartbeat frame includes: gateway device code, gateway device IP address, list of controlled gateway devices.
Specifically, the content of the heartbeat frame may be a gateway device code, a gateway device IP address, a controlled gateway device list, which are shown in a table form, or other forms, which are not limited herein.
Fig. 3 is a third diagram of a device control method according to an embodiment of the present application.
In some embodiments, in the above device control method, in combination with fig. 3, configuring the scene mode includes three steps S301 to S303:
s301: the first gateway device receives a user-configured scene mode.
S302: the first gateway device synchronizes the scene mode to a plurality of gateway devices other than the first gateway device.
S303: a plurality of gateway devices other than the first gateway device store scene modes into a scene list.
Specifically, in the embodiment of the present application, a user may input a scene mode into a first gateway device through a cloud platform issue or through local configuration, and the first gateway device synchronizes the scene mode into a plurality of gateway devices except the first gateway device; the plurality of gateway devices other than the first gateway device store scene modes into the scene list for convenient use in a subsequent scene mode.
In some embodiments, in the device control method, the first gateway device synchronizes the scene mode to a plurality of gateway devices other than the first gateway device, including:
the first gateway equipment synchronizes scene modes to a plurality of gateway equipment except the first gateway equipment through configuration frames in a unicast mode; wherein, the content of the configuration frame at least comprises: scene mode account number, controlled device and controlled attribute list.
Specifically, in the embodiment of the present application, the gateway device synchronizes the configuration to a plurality of gateway devices except the first gateway device through a unicast manner by using a configuration frame, where the content of the configuration frame may be a scene mode account number, a controlled device and a controlled attribute list thereof that are shown in a table form, or may be other forms without specific limitation herein.
In some embodiments, in the device control method, the first gateway device controls the device according to instruction information corresponding to the request information, including:
if the command is a single device control command, determining gateway devices corresponding to the single device through a buddy list in the networking of a plurality of gateway devices, and sending request information to the gateway devices corresponding to the single device for processing.
Specifically, in the embodiment of the present application, if the command is a single device control command, the gateway device corresponding to the single device is found through the buddy list, and the request is forwarded to the gateway device corresponding to the single device for processing.
In some embodiments, in the device control method, the first gateway device controls the device according to instruction information corresponding to the request information, and further includes:
if the scene mode control instruction is a scene mode control instruction, determining a scene list corresponding to the scene mode account according to the scene mode account; and determining the corresponding gateway equipment according to the controlled equipment in the scene list and the controlled attribute list thereof, and sending the request information to the gateway equipment corresponding to the scene mode for processing.
Specifically, in the embodiment of the application, if the scene mode control instruction is a scene mode control instruction, a scene list corresponding to the scene mode account is found according to the scene mode account; and reversely finding out the corresponding gateway equipment according to the controlled equipment in the scene list and the controlled attribute list thereof, and sending the disassembled request information to the corresponding gateway equipment for processing.
Fig. 4 is a diagram of a device control apparatus according to an embodiment of the present application.
In a second aspect, referring to fig. 4, an embodiment of the present application provides a device control apparatus, which is applied to a system in which a plurality of gateway devices and a plurality of devices are connected in a one-to-one binding manner, including:
networking module 401 and configuration module 402: the method comprises the steps of networking a plurality of gateway devices and configuring a scene mode;
specifically, a plurality of gateway devices in the embodiment of the application are in different spaces and are bound with different devices one by one to control different devices, and the gateway devices and the devices can communicate through a local communication protocol; for example, the scene mode is configured into a certain gateway device by a local or cloud end issuing mode, and after the networking module 401 completes networking of a plurality of gateways, the configuration can be automatically diffused and synchronized.
A receiving module 403 and a transmitting module 404: after receiving the request information of the user control device, the intelligent terminal sends the request information to first gateway equipment connected with the intelligent terminal;
specifically, in the embodiment of the present application, a user may control a device at an intelligent terminal, after receiving module 403 of the intelligent terminal receives request information of the user control device, for example, voice control is performed at the intelligent terminal, or a graphical interface performs control, and sending module 404 of the intelligent terminal only sends the request information to a first gateway device connected to the intelligent terminal device, where the first gateway device is responsible for analyzing and distributing the request information to other gateway devices for execution.
Control module 405: the instruction information control device is used for the first gateway device to control the device according to the instruction information corresponding to the request information;
the instruction information comprises: single device control instructions, scene mode control instructions.
Specifically, in the embodiment of the present application, the instruction information includes: the control module 405 selects different control modes to control the equipment according to different instruction information, the intelligent terminal only sends equipment control or scene mode control requests to the first gateway equipment, and the first gateway equipment sends the request information to the corresponding gateway equipment for execution, so that the connection of an external network is not needed, and the intelligent terminal does not depend on a server side; the dependence on external network and service end is avoided, and the cost is reduced.
In a third aspect, an embodiment of the present application further provides an electronic device, including: a processor and a memory;
the processor is configured to execute a device control method according to any one of the above by calling a program or instructions stored in the memory.
In a fourth aspect, an embodiment of the present application also provides a computer-readable storage medium storing a program or instructions that cause a computer to execute a device control method as set forth in any one of the above.
Fig. 5 is a schematic block diagram of an electronic device provided by an embodiment of the present disclosure.
As shown in fig. 5, the electronic device includes: at least one processor 501, at least one memory 502, and at least one communication interface 503. The various components in the electronic device are coupled together by a bus system 504. A communication interface 503 for information transfer with an external device. It is to be appreciated that bus system 504 is employed to enable connected communications between these components. The bus system 504 includes a power bus, a control bus, and a status signal bus in addition to the data bus. But for clarity of illustration, the various buses are labeled as bus system 504 in fig. 5.
It is to be appreciated that the memory 502 in the present embodiment can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory.
In some implementations, the memory 502 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system and application programs.
The operating system includes various system programs, such as a framework layer, a core library layer, a driving layer, and the like, and is used for realizing various basic services and processing hardware-based tasks. Applications, including various applications such as Media Player (Media Player), browser (Browser), etc., are used to implement various application services. The program for implementing any one of the methods for controlling a device provided by the embodiments of the present application may be included in an application program.
In the embodiment of the present application, the processor 501 is configured to execute the steps of each embodiment of the device control method provided in the embodiment of the present application by calling a program or an instruction stored in the memory 502, specifically, a program or an instruction stored in an application program.
Networking a plurality of gateway devices and configuring a scene mode;
after receiving the request information of the user control equipment, the intelligent terminal sends the request information to first gateway equipment connected with the intelligent terminal;
the first gateway equipment controls the equipment according to the instruction information corresponding to the request information;
the instruction information comprises: single device control instructions, scene mode control instructions.
Any one of the methods for controlling devices provided in the embodiments of the present application may be applied to the processor 501, or implemented by the processor 501. The processor 501 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuitry in hardware or instructions in software in the processor 501. The processor 501 may be a general purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The steps of any one of the method provided by the embodiment of the application can be directly embodied as the execution completion of the hardware decoding processor, or the execution completion of the combination execution of the hardware and software units in the decoding processor. The software elements may be located in a random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory 502, and the processor 501 reads information in the memory 502 and, in combination with its hardware, performs the steps of a device control method.
Those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the application and form different embodiments.
Those skilled in the art will appreciate that the descriptions of the various embodiments are each focused on, and that portions of one embodiment that are not described in detail may be referred to as related descriptions of other embodiments.
Although the embodiments of the present application have been described with reference to the accompanying drawings, those skilled in the art may make various modifications and alterations without departing from the spirit and scope of the present application, and such modifications and alterations fall within the scope of the appended claims, which are to be construed as merely illustrative of the present application, but the scope of the application is not limited thereto, and various equivalent modifications and substitutions will be readily apparent to those skilled in the art within the scope of the present application, and are intended to be included within the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.
The present application is not limited to the above embodiments, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the present application, and these modifications and substitutions are intended to be included in the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.
Claims (8)
1. The device control method is applied to a system in which a plurality of gateway devices and a plurality of devices are connected in a one-to-one binding manner, and comprises the following steps:
networking a plurality of gateway devices and configuring a scene mode;
wherein, the configuration scene mode includes: the first gateway equipment receives a scene mode configured by a user; the first gateway device synchronizing the scene mode into a plurality of gateway devices other than the first gateway device; a plurality of gateway devices other than the first gateway device store the scene mode into a scene list;
wherein the plurality of gateway devices are networked, comprising: acquiring a home space account number, and mapping the home space account number to a multicast address; the first gateway device sends a heartbeat frame to the multicast address; after receiving the heartbeat frame, the gateway devices except the first gateway device maintain the gateway devices except the first gateway device in a buddy list to realize networking of the gateway devices;
after receiving request information of user control equipment, an intelligent terminal sends the request information to first gateway equipment connected with the intelligent terminal;
the first gateway equipment controls the equipment according to instruction information corresponding to the request information;
wherein the instruction information includes: single device control instructions, scene mode control instructions.
2. The apparatus control method according to claim 1, wherein the content of the heartbeat frame includes: gateway device code, gateway device IP address, list of controlled gateway devices.
3. The device control method according to claim 1, wherein the first gateway device synchronizing the scene mode into a plurality of gateway devices other than the first gateway device, comprising:
the first gateway equipment synchronizes the scene mode to a plurality of gateway equipment except the first gateway equipment through a configuration frame in a unicast mode;
wherein, the content of the configuration frame at least comprises: scene mode account number, controlled device and controlled attribute list.
4. The apparatus control method according to claim 1, wherein the first gateway apparatus controls the apparatus according to instruction information corresponding to the request information, comprising:
and if the request information is a single device control instruction, determining gateway devices corresponding to the single device through a buddy list in the networking of the plurality of gateway devices, and sending the request information to the gateway devices corresponding to the single device for processing.
5. The apparatus control method according to claim 1, wherein the first gateway apparatus controls the apparatus according to instruction information corresponding to the request information, further comprising:
if the scene mode control instruction is a scene mode control instruction, determining a scene list corresponding to a scene mode account according to the scene mode account;
and determining corresponding gateway equipment according to the controlled equipment in the scene list and the controlled attribute list thereof, and sending the request information to the gateway equipment corresponding to the scene mode for processing.
6. A device control apparatus, which is applied to a system in which a plurality of gateway devices and a plurality of devices are connected in a one-to-one binding manner, comprising:
networking module and configuration module: the method comprises the steps of obtaining a family space account number and mapping the family space account number to a multicast address; the first gateway device sends a heartbeat frame to the multicast address; after receiving the heartbeat frame, a plurality of gateway devices except the first gateway device maintain the gateway devices except the first gateway device in a buddy list to realize networking of the gateway devices and configure a scene mode; wherein, the configuration scene mode includes: the first gateway device receives a scene mode configured by a user; the first gateway device synchronizing the scene mode into a plurality of gateway devices other than the first gateway device; a plurality of gateway devices other than the first gateway device store the scene mode into a scene list;
a receiving module and a transmitting module: after receiving request information of user control equipment, the intelligent terminal sends the request information to first gateway equipment connected with the intelligent terminal;
and the control module is used for: the first gateway equipment is used for controlling the equipment according to instruction information corresponding to the request information;
wherein the instruction information includes: single device control instructions, scene mode control instructions.
7. An electronic device, comprising: a processor and a memory;
the processor is configured to execute the device control method according to any one of claims 1 to 5 by calling a program or instructions stored in the memory.
8. A computer-readable storage medium storing a program or instructions that cause a computer to execute the device control method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111082248.3A CN113625589B (en) | 2021-09-15 | 2021-09-15 | Equipment control method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111082248.3A CN113625589B (en) | 2021-09-15 | 2021-09-15 | Equipment control method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113625589A CN113625589A (en) | 2021-11-09 |
CN113625589B true CN113625589B (en) | 2023-12-12 |
Family
ID=78390133
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111082248.3A Active CN113625589B (en) | 2021-09-15 | 2021-09-15 | Equipment control method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113625589B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114280949A (en) * | 2021-12-10 | 2022-04-05 | 深圳市欧瑞博科技股份有限公司 | Intelligent control method and device for equipment, intelligent equipment and storage medium |
CN115174294B (en) * | 2022-05-30 | 2024-05-24 | 青岛海尔科技有限公司 | Cross-gateway scene processing method and device, storage medium and electronic device |
CN115174293B (en) * | 2022-05-30 | 2024-03-22 | 青岛海尔科技有限公司 | Scene information synchronization method and device, storage medium and electronic device |
CN115297128B (en) * | 2022-06-27 | 2024-04-19 | 青岛海尔科技有限公司 | Edge execution information processing method and device, storage medium and electronic device |
CN115473752A (en) * | 2022-07-21 | 2022-12-13 | 青岛海尔科技有限公司 | Control command transmission method and device, storage medium and electronic device |
Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010081380A1 (en) * | 2009-01-19 | 2010-07-22 | 成都市华为赛门铁克科技有限公司 | Method and gateway device for local area network access control |
WO2011116614A1 (en) * | 2010-03-23 | 2011-09-29 | 中兴通讯股份有限公司 | Method, system and device for accessing network equipment |
JP2011217038A (en) * | 2010-03-31 | 2011-10-27 | Nippon Telegraph & Telephone West Corp | Multicast processing method in wide area ethernet |
CN103023681A (en) * | 2011-09-22 | 2013-04-03 | 北京天成信宇科技有限责任公司 | Smart home control device and updating method |
CN104683225A (en) * | 2013-12-01 | 2015-06-03 | 深圳市易居智能科技有限公司 | Intelligent household gateway |
CN105141486A (en) * | 2015-09-22 | 2015-12-09 | 南京物联传感技术有限公司 | Automatic identification access device of gateway device |
WO2016015496A1 (en) * | 2014-07-29 | 2016-02-04 | 华为技术有限公司 | Network intercommunication method and device |
CN105897862A (en) * | 2016-03-28 | 2016-08-24 | 北京小米移动软件有限公司 | Method and apparatus for controlling intelligent device |
WO2016134624A1 (en) * | 2015-02-28 | 2016-09-01 | 华为技术有限公司 | Routing method, device and system, and gateway dispatching method and device |
CN106713084A (en) * | 2016-12-01 | 2017-05-24 | 上海雍敏信息科技有限公司 | multi-gateway system of Internet of Things |
CN106993340A (en) * | 2016-02-02 | 2017-07-28 | 中国科学院上海高等研究院 | A kind of multistage gateway wireless self-networking, network-building method and its communication means |
WO2017166038A1 (en) * | 2016-03-29 | 2017-10-05 | 华为技术有限公司 | Communication method and terminal |
CN107566196A (en) * | 2017-10-20 | 2018-01-09 | 北京星河星云信息技术有限公司 | Network-building method and network device, customer edge and readable storage medium storing program for executing |
WO2018041029A1 (en) * | 2016-08-31 | 2018-03-08 | 深圳市轻生活科技有限公司 | Smart router for home voice control centre, and signal transmission method therefor |
CN108366121A (en) * | 2018-02-13 | 2018-08-03 | 广州云湾信息技术有限公司 | The group network system and apparatus control method of the more intelligent gateways of Internet of Things |
CN109218148A (en) * | 2018-10-23 | 2019-01-15 | 深圳市瑞智物联科技有限公司 | A kind of group-network construction method of smart home, control system and control equipment |
CN110769033A (en) * | 2019-09-18 | 2020-02-07 | 珠海格力电器股份有限公司 | Intelligent networking method and system |
CN111277610A (en) * | 2020-02-24 | 2020-06-12 | 中移(杭州)信息技术有限公司 | Gateway control system, method, intelligent device and intelligent device server |
CN113037798A (en) * | 2019-12-25 | 2021-06-25 | 美的集团股份有限公司 | Multi-gateway communication method, system, electronic device and storage medium |
-
2021
- 2021-09-15 CN CN202111082248.3A patent/CN113625589B/en active Active
Patent Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010081380A1 (en) * | 2009-01-19 | 2010-07-22 | 成都市华为赛门铁克科技有限公司 | Method and gateway device for local area network access control |
WO2011116614A1 (en) * | 2010-03-23 | 2011-09-29 | 中兴通讯股份有限公司 | Method, system and device for accessing network equipment |
JP2011217038A (en) * | 2010-03-31 | 2011-10-27 | Nippon Telegraph & Telephone West Corp | Multicast processing method in wide area ethernet |
CN103023681A (en) * | 2011-09-22 | 2013-04-03 | 北京天成信宇科技有限责任公司 | Smart home control device and updating method |
CN104683225A (en) * | 2013-12-01 | 2015-06-03 | 深圳市易居智能科技有限公司 | Intelligent household gateway |
WO2016015496A1 (en) * | 2014-07-29 | 2016-02-04 | 华为技术有限公司 | Network intercommunication method and device |
WO2016134624A1 (en) * | 2015-02-28 | 2016-09-01 | 华为技术有限公司 | Routing method, device and system, and gateway dispatching method and device |
CN105141486A (en) * | 2015-09-22 | 2015-12-09 | 南京物联传感技术有限公司 | Automatic identification access device of gateway device |
CN106993340A (en) * | 2016-02-02 | 2017-07-28 | 中国科学院上海高等研究院 | A kind of multistage gateway wireless self-networking, network-building method and its communication means |
CN105897862A (en) * | 2016-03-28 | 2016-08-24 | 北京小米移动软件有限公司 | Method and apparatus for controlling intelligent device |
WO2017166038A1 (en) * | 2016-03-29 | 2017-10-05 | 华为技术有限公司 | Communication method and terminal |
WO2018041029A1 (en) * | 2016-08-31 | 2018-03-08 | 深圳市轻生活科技有限公司 | Smart router for home voice control centre, and signal transmission method therefor |
CN106713084A (en) * | 2016-12-01 | 2017-05-24 | 上海雍敏信息科技有限公司 | multi-gateway system of Internet of Things |
CN107566196A (en) * | 2017-10-20 | 2018-01-09 | 北京星河星云信息技术有限公司 | Network-building method and network device, customer edge and readable storage medium storing program for executing |
CN108366121A (en) * | 2018-02-13 | 2018-08-03 | 广州云湾信息技术有限公司 | The group network system and apparatus control method of the more intelligent gateways of Internet of Things |
CN109218148A (en) * | 2018-10-23 | 2019-01-15 | 深圳市瑞智物联科技有限公司 | A kind of group-network construction method of smart home, control system and control equipment |
CN110769033A (en) * | 2019-09-18 | 2020-02-07 | 珠海格力电器股份有限公司 | Intelligent networking method and system |
CN113037798A (en) * | 2019-12-25 | 2021-06-25 | 美的集团股份有限公司 | Multi-gateway communication method, system, electronic device and storage medium |
CN111277610A (en) * | 2020-02-24 | 2020-06-12 | 中移(杭州)信息技术有限公司 | Gateway control system, method, intelligent device and intelligent device server |
Non-Patent Citations (2)
Title |
---|
基于ZigBee与WIFI的无线传感器网关设计;杨森;李月娥;;山西大学学报(自然科学版)(第03期);全文 * |
杨森 ; 李月娥 ; .基于ZigBee与WIFI的无线传感器网关设计.山西大学学报(自然科学版).2018,(第03期),全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN113625589A (en) | 2021-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113625589B (en) | Equipment control method and device, electronic equipment and storage medium | |
JP6700344B2 (en) | Information exchange method, device, audio terminal, computer-readable storage medium and program | |
EP3499815A1 (en) | Packet transmission | |
EP3148286A1 (en) | System, method and apparatus for data communication | |
US10382258B2 (en) | Viral system discovery and installation for distributed networks | |
CN110225146B (en) | Intranet and extranet mapping method and device, electronic equipment, medium and video conference system | |
WO2014190791A1 (en) | Method for setting identity of gateway device and management gateway device | |
EP3331247A1 (en) | Multi-screen control method and device | |
CN105553977A (en) | Request message processing and transmitting method and device | |
WO2019153722A1 (en) | Terminal communication method and device, terminal and storage medium | |
CN103856374A (en) | Data transmission method, terminal and home interconnected system | |
CN110008019B (en) | Method, device and system for sharing server resources | |
CN109981329A (en) | Determine the method, equipment and system of network equipment connection relationship | |
CN111953520B (en) | Method, device, equipment and medium for realizing group control through group virtual equipment | |
CN105338089A (en) | Remote content sharing method, server and terminal | |
CN105281957A (en) | Method for connecting device to Internet of things and server | |
WO2017113302A1 (en) | Media service proxy method, device and system thereof | |
CN103532852A (en) | Routing scheduling method, routing scheduling device and network equipment | |
US8260942B2 (en) | Cluster view performance | |
US20230045914A1 (en) | Method and apparatus for controlling device in internet of things, and gateway device and storage medium | |
EP3579502A1 (en) | Outer multicast ip address allocation method and device | |
WO2021196963A1 (en) | Information synchronization method, terminal, and information synchronization system | |
CN110890991B (en) | Intelligent home gateway configuration information rapid migration method and device | |
CN102215275A (en) | Service processing method and system as well as set top box | |
KR101231203B1 (en) | System and method for network communicating between a communication device and information device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
CB03 | Change of inventor or designer information |
Inventor after: Li Xubin Inventor after: Chen Xiaosong Inventor after: Zhai Yongkui Inventor after: Liu Dong Inventor before: Li Xubin Inventor before: Chen Xiaosong Inventor before: Zhai Yongkui Inventor before: Liu Dong |
|
CB03 | Change of inventor or designer information | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |