CN112437153A - Equipment linkage processing method and device - Google Patents
Equipment linkage processing method and device Download PDFInfo
- Publication number
- CN112437153A CN112437153A CN202011311552.6A CN202011311552A CN112437153A CN 112437153 A CN112437153 A CN 112437153A CN 202011311552 A CN202011311552 A CN 202011311552A CN 112437153 A CN112437153 A CN 112437153A
- Authority
- CN
- China
- Prior art keywords
- gateway
- gateways
- equipment
- triggering
- instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 20
- 230000009471 action Effects 0.000 claims abstract description 51
- 238000000034 method Methods 0.000 claims abstract description 29
- 238000004590 computer program Methods 0.000 claims description 18
- 238000012545 processing Methods 0.000 claims description 14
- 230000008859 change Effects 0.000 claims description 8
- 230000003993 interaction Effects 0.000 claims description 5
- 238000005516 engineering process Methods 0.000 abstract description 4
- 230000005540 biological transmission Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000006872 improvement Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000011022 operating instruction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
Abstract
The invention provides a device linkage processing method and a device, wherein the method comprises the following steps: the gateway receives a trigger instruction for triggering the equipment to execute the action; generating an operation instruction for executing the action of the equipment according to the equipment linkage rule or the scene sent by the cloud server; the operation instruction is sent to other gateways in the virtual gateways through the established connection, the other gateways are used for indicating corresponding equipment to execute the operation instruction, the virtual gateways comprise the gateway and the other gateways, the problem of how to realize cross-gateway equipment linkage aiming at a plurality of gateways in the related technology can be solved, the plurality of gateways form the virtual gateways, after any gateway in the virtual gateways receives the instruction for triggering equipment operation, the operation instruction is generated according to equipment linkage rules or scenes issued by cloud services, the operation instruction is sent to the other gateways in the virtual gateways, and cross-gateway equipment linkage is realized.
Description
Technical Field
The invention relates to the field of Internet of things, in particular to a device linkage processing method and device.
Background
In the practice of the Internet of things, a gateway + child node is often used to access an embedded device that does not support Transmission Control Protocol/Internet Protocol (TCP/IP). A typical network comprises a three-layer architecture of cloud server/gateway/sub-device, and a control software, such as a mobile phone app (application). In order to improve the execution efficiency of the APP or reduce the load of the cloud server, or allow the intervention of third-party software in the local area network where the gateway is located, the gateway generally allows the network client access in the local area network to be controlled. In addition, there are some correlation actions between the sub-devices (for example, a human body sensor senses that a person is nearby to turn on a certain lamp), and these correlation rules can be placed on the gateway for processing.
When there are multiple gateways in an embodiment, the processing logic local to the gateways cannot implement cross-gateway device linkage, for example, how the gateway a notifies the device B1 in the network B where the gateway B is located to execute an action after receiving an event reported by the sensor a1 in the network a.
Aiming at the problem of how to realize the device linkage of the cross-gateway aiming at a plurality of gateways in the related art, no solution is provided.
Disclosure of Invention
The embodiment of the invention provides a device linkage processing method and device, which are used for at least solving the problem of how to realize cross-gateway device linkage aiming at a plurality of gateways in the related art.
According to an embodiment of the present invention, there is provided an apparatus linkage processing method including: the gateway receives a trigger instruction for triggering the equipment to execute the action; the gateway generates an operation instruction for executing the action of the equipment according to the equipment linkage rule or the scene sent by the cloud server; and the gateway sends the operation instruction to other gateways in the virtual gateways through the established connection, wherein the other gateways are used for indicating corresponding equipment to execute the operation instruction, and the virtual gateways comprise the gateway and the other gateways.
In one exemplary embodiment, the gateway receiving a triggering instruction for triggering a device to perform an action includes: the gateway receives a trigger instruction which is sent by an application and used for triggering equipment to execute an action; and the gateway receives a trigger instruction which is sent by the equipment when the equipment detects the event or the state change and is used for triggering the equipment to execute the action.
In an exemplary embodiment, after the gateway sends the operation instruction to other gateways in the virtual gateway through the established connection, the method further includes: and the gateway sends the operation instruction to the corresponding equipment.
In an exemplary embodiment, before the gateway receives a triggering instruction for triggering a device to perform an action, the method further comprises: and the gateway receives the equipment linkage rule or scene sent by the cloud server.
In an exemplary embodiment, before the gateway receives a triggering instruction for triggering a device to perform an action, the method further comprises: the gateway receives a shared key distributed by the cloud server for a plurality of gateways in linkage or interaction; and the gateway establishes connection with other gateways in a local area network according to the shared secret key, and forms the virtual gateway together with the other gateways.
In an exemplary embodiment, the gateway establishing a connection with the other gateway in the local area network according to the shared key includes: performing identity authentication with the other gateways according to the shared secret key; and after the authentication is passed, establishing connection with the other gateway.
According to another embodiment of the present invention, there is also provided an apparatus linkage processing device applied to a gateway, including: the receiving module is used for receiving a trigger instruction for triggering the equipment to execute the action; the generation instruction module is used for generating an operation instruction of executing the action of the equipment according to the equipment linkage rule or the scene sent by the cloud server; a sending module, configured to send the operation instruction to other gateways in a virtual gateway through the established connection, where the other gateways are configured to instruct corresponding devices to execute the operation instruction, and the virtual gateway includes the gateway and the other gateways.
In an exemplary embodiment, the receiving module is further configured to receive a trigger instruction sent by an application for triggering the device to perform an action; and receiving a trigger instruction which is sent when the device detects the event or the state change and is used for triggering the device to execute the action.
In an exemplary embodiment, the receiving module is further configured to send the operation instruction to the corresponding device after sending the operation instruction to other gateways in the virtual gateway through the established connection.
In an exemplary embodiment, the receiving module is further configured to receive the device linkage rule or scenario sent by the cloud server before receiving a trigger instruction for triggering a device to execute an action.
In an exemplary embodiment, the receiving module is further configured to receive a shared key allocated by the cloud server for the multiple gateways that are linked or interacted, before receiving a trigger instruction for triggering the device to perform an action; the gateway module is used for establishing connection with other gateways in a local area network according to the shared secret key and forming the virtual gateway together with the other gateways.
In an exemplary embodiment, the gateway module is further configured to perform identity authentication with the other gateways according to the shared key; and after the authentication is passed, establishing connection with the other gateway.
According to a further embodiment of the present invention, a computer-readable storage medium is also provided, in which a computer program is stored, wherein the computer program is configured to perform the steps of any of the above-described method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, the gateway receives a trigger instruction for triggering the equipment to execute the action; the gateway generates an operation instruction for executing the action of the equipment according to the equipment linkage rule or the scene sent by the cloud server; the gateway sends the operation instruction to other gateways in the virtual gateway through the established connection, wherein the other gateways are used for indicating corresponding equipment to execute the operation instruction, the virtual gateway comprises the gateway and the other gateways, the problem of how to realize cross-gateway equipment linkage aiming at a plurality of gateways in the related technology can be solved, the virtual gateway is formed by the plurality of gateways, after any gateway in the virtual gateway receives the instruction for triggering equipment operation, the operation instruction is generated according to an equipment linkage rule or a scene issued by cloud service, the operation instruction is sent to the other gateways in the virtual gateway, and the cross-gateway equipment linkage is realized.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a mobile terminal of an apparatus linkage processing method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method of device linkage processing according to an embodiment of the present invention;
FIG. 3 is a flow chart of a method of device linkage processing according to an alternative embodiment of the present invention;
FIG. 4 is a flowchart of a method of device linkage processing according to an alternative embodiment of the present invention;
FIG. 5 is a flowchart of an equipment linkage processing method according to an alternative embodiment of the invention;
FIG. 6 is a flowchart of an equipment linkage processing method according to an alternative embodiment of the present Invention (IV);
FIG. 7 is a flowchart of an equipment linkage processing method according to an alternative embodiment of the invention;
fig. 8 is a schematic structural diagram of a deduction processing device according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking a mobile terminal as an example, fig. 1 is a hardware structure block diagram of the mobile terminal of the device linkage processing method according to the embodiment of the present invention, and as shown in fig. 1, the mobile terminal may include one or more processors 102 (only one is shown in fig. 1) (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), and a memory 104 for storing data, and optionally, the mobile terminal may further include a transmission device 106 for a communication function and an input/output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the device linkage processing method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the method described above. The memory 104 may be a high speed random access memory, but may also be a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further be a memory located remotely from the processor 102, which may be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data, for example via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In the present embodiment, an apparatus linkage processing method is provided, and fig. 2 is a flowchart of an apparatus linkage processing method according to an embodiment of the present invention, as shown in fig. 2, the method includes:
step S202, the gateway receives a trigger instruction for triggering the equipment to execute the action;
step S204, the gateway generates an operation instruction of executing the action of the equipment according to the equipment linkage rule or the scene sent by the cloud server;
step S206, the gateway sends the operation instruction to other gateways in the virtual gateway through the established connection, wherein the other gateways are used for indicating corresponding equipment to execute the operation instruction, and the virtual gateway comprises the gateway and the other gateways.
Through the steps S202 to S206, the gateway receives a trigger instruction for triggering the device to execute an action; the gateway generates an operation instruction for executing the action of the equipment according to the equipment linkage rule or the scene sent by the cloud server; the gateway sends the operation instruction to other gateways in the virtual gateway through the established connection, wherein the other gateways are used for indicating corresponding equipment to execute the operation instruction, the virtual gateway comprises the gateway and the other gateways, the problem of how to realize cross-gateway equipment linkage aiming at a plurality of gateways in the related technology can be solved, the virtual gateway is formed by the plurality of gateways, after any gateway in the virtual gateway receives the instruction for triggering equipment operation, the operation instruction is generated according to an equipment linkage rule or a scene issued by cloud service, the operation instruction is sent to the other gateways in the virtual gateway, and the cross-gateway equipment linkage is realized.
In another optional embodiment, the gateway receiving a triggering instruction for triggering a device to perform an action comprises: the gateway receives a trigger instruction which is sent by an application and used for triggering equipment to execute an action; and the gateway receives a trigger instruction which is sent by the equipment when the equipment detects the event or the state change and is used for triggering the equipment to execute the action.
In short, the gateway receives a trigger instruction sent by an application, and when it is detected that an event or a state change occurs, the gateway sends the trigger instruction, and the trigger device executes an action.
For example, all gateways are deployed in the same local area network (typical usage scenario) and access the cloud server; when a gateway a) receives an event report of a subordinate device b) receives an instruction of an authorized third party, generating an instruction for executing actions of related devices according to a rule or a scene issued by a cloud, and sending the instruction to all related gateways through the safe connection; the gateway that receives the instruction understands and executes the received instruction.
Fig. 3 is a flowchart (i) of an apparatus linkage processing method according to an alternative embodiment of the present invention, and as shown in fig. 3, after step S206, the method further includes:
and step S208, the gateway sends the operation instruction to the corresponding equipment.
In short, after the gateway sends the operation instruction to other gateways in the virtual gateway, the operation instruction is also sent to the device.
Fig. 4 is a flowchart (ii) of an apparatus linkage processing method according to an alternative embodiment of the present invention, and as shown in fig. 4, before step S202, the method further includes:
step S402, the gateway receives the equipment linkage rule or scene sent by the cloud server.
In short, before the gateway receives the trigger instruction, the gateway also receives an equipment linkage rule or scene sent by the cloud server.
Fig. 5 is a flowchart (iii) of an apparatus linkage processing method according to an alternative embodiment of the present invention, and as shown in fig. 5, before step S202, the method further includes:
step S502, the gateway receives shared keys distributed by a cloud server for a plurality of gateways in linkage or interaction;
and step S504, the gateway establishes connection with other gateways in a local area network according to the shared secret key, and forms the virtual gateway together with the other gateways.
In short, before the gateway sends a trigger instruction, the shared key distributed by the cloud server is received, and connection is established with other gateways according to the shared key to form the virtual gateway formed by multiple gateways.
Fig. 6 is a flowchart (iv) of an apparatus linkage processing method according to an alternative embodiment of the present invention, and as shown in fig. 6, the step S504 includes:
step S602, according to the shared secret key, performing identity authentication with the other gateways;
step S604, after the authentication is passed, establishing a connection with the other gateway.
In short, the gateway performs identity authentication with other gateways through the shared key, and the connection of the gateway device can be established through authentication, so as to form the virtual gateway.
For example, all gateways are deployed in the same local area network (typical usage scenario) and access the cloud server; the cloud server distributes a shared key to the gateway needing linkage/interaction; the cloud server issues equipment linkage rules/scene definitions to each gateway; the multiple gateways use the shared key to find each other in the local area network, complete the key exchange and establish the safe connection.
Fig. 7 is a flowchart (five) of an apparatus linkage processing method according to an alternative embodiment of the present invention, as shown in fig. 7,
and (3) gateway interconnection: the purpose that a plurality of gateways are connected and aggregated together through a network to form a virtual gateway is achieved by repeatedly executing the following modes. After the gateway is accessed to the local area network, periodically sending a multicast message, and declaring that the interconnection function is supported; and simultaneously monitoring related messages. After receiving the multicast message, the gateway initiates connection to the source gateway. The gateways of both parties use the shared key to complete the identity authentication and encrypt the connection
And (3) cross-gateway scene processing: a user APP or a third party application selects a certain gateway as an access point of a virtual gateway; a user APP or a third party application is connected to the gateway; the user APP or the third party application sends a device operation instruction to the gateway; the gateway sends corresponding operation instructions to all related sub-devices under the gateway; the gateway forwards the operation instruction to all other gateways; and other gateways send corresponding operation instructions to all the related sub-devices managed by the gateways.
Linkage of cross-gateway equipment: the cloud server or the user APP issues the equipment linkage rule to the gateway; the equipment under a certain gateway generates events or state changes and meets the execution conditions of the rules; the gateway generates a device operation instruction to be executed according to the rule; the gateway sends corresponding operation instructions to all related sub-devices under the gateway; the gateway forwards the operating instructions to all other gateways.
And after networking, the gateway inquires and stores the latest shared key from the cloud server.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
In this embodiment, an apparatus linkage processing apparatus is further provided, and the apparatus linkage processing apparatus is used for implementing the foregoing embodiments and preferred embodiments, and the description of which has been already given is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 8 is a schematic structural diagram of a deduction processing device according to an embodiment of the present invention, as shown in fig. 8, the device is applied to a gateway, and the device includes:
a receiving module 82, configured to receive a trigger instruction for triggering a device to perform an action;
a generation instruction module 84, configured to generate an operation instruction of an apparatus to execute an action according to the apparatus linkage rule or the scene sent by the cloud server;
a sending module 86, configured to send the operation instruction to other gateways in a virtual gateway through the established connection, where the other gateways are used to instruct corresponding devices to execute the operation instruction, and the virtual gateway includes the gateway and the other gateways.
By the device, the problem of how to realize cross-gateway equipment linkage aiming at a plurality of gateways in the related technology can be solved, the plurality of gateways form the virtual gateway, any gateway in the virtual gateway generates an operation instruction according to an equipment linkage rule or a scene issued by cloud service after receiving the instruction for triggering equipment operation, and the operation instruction is sent to other gateways in the virtual gateway, so that cross-gateway equipment linkage is realized.
In another optional embodiment, the receiving module is further configured to receive a trigger instruction sent by an application for triggering the device to perform an action; and receiving a trigger instruction which is sent when the device detects the event or the state change and is used for triggering the device to execute the action.
In short, the gateway receives a trigger instruction sent by an application, and when it is detected that an event or a state change occurs, the gateway sends the trigger instruction, and the trigger device executes an action.
For example, all gateways are deployed in the same local area network (typical usage scenario) and access the cloud server; when a gateway a) receives an event report of a subordinate device b) receives an instruction of an authorized third party, generating an instruction for executing actions of related devices according to a rule or a scene issued by a cloud, and sending the instruction to all related gateways through the safe connection; the gateway that receives the instruction understands and executes the received instruction.
In another optional embodiment, the sending module is further configured to send the operation instruction to the corresponding device after sending the operation instruction to other gateways in the virtual gateway through the established connection.
In short, after the gateway sends the operation instruction to other gateways in the virtual gateway, the operation instruction is also sent to the device.
In another optional embodiment, the receiving module is further configured to receive the device linkage rule or scenario sent by the cloud server before receiving a trigger instruction for triggering a device to perform an action.
In short, before the gateway receives the trigger instruction, the gateway also receives an equipment linkage rule or scene sent by the cloud server.
In another optional embodiment, the receiving module is further configured to receive, before receiving a trigger instruction for triggering the device to perform an action, a shared key allocated by the cloud server for the multiple gateways that are linked or interacted; the system further comprises a gateway module 88, configured to establish a connection with the other gateway in the local area network according to the shared key, and form the virtual gateway together with the other gateway.
In short, before the gateway sends a trigger instruction, the shared key distributed by the cloud server is received, and connection is established with other gateways according to the shared key to form the virtual gateway formed by multiple gateways.
In another optional embodiment, the gateway module 88 is further configured to perform identity authentication with the other gateway according to the shared key; and after the authentication is passed, establishing connection with the other gateway.
In short, the gateway performs identity authentication with other gateways through the shared key, and the connection of the gateway device can be established through authentication, so as to form the virtual gateway.
For example, all gateways are deployed in the same local area network (typical usage scenario) and access the cloud server; the cloud server distributes a shared key to the gateway needing linkage/interaction; the cloud server issues equipment linkage rules/scene definitions to each gateway; the multiple gateways use the shared key to find each other in the local area network, complete the key exchange and establish the safe connection.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Example 3
Embodiments of the present invention also provide a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, the gateway receives a trigger instruction for triggering the equipment to execute the action;
s2, the gateway generates an operation instruction of the equipment executing action according to the equipment linkage rule or the scene sent by the cloud server;
and S3, the gateway sends the operation instruction to other gateways in the virtual gateway through the established connection, wherein the other gateways are used for indicating corresponding equipment to execute the operation instruction, and the virtual gateway comprises the gateway and the other gateways.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Example 4
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, the gateway receives a trigger instruction for triggering the equipment to execute the action;
s2, the gateway generates an operation instruction of the equipment executing action according to the equipment linkage rule or the scene sent by the cloud server;
and S3, the gateway sends the operation instruction to other gateways in the virtual gateway through the established connection, wherein the other gateways are used for indicating corresponding equipment to execute the operation instruction, and the virtual gateway comprises the gateway and the other gateways.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. An apparatus linkage processing method, characterized by comprising:
the gateway receives a trigger instruction for triggering the equipment to execute the action;
the gateway generates an operation instruction for executing the action of the equipment according to the equipment linkage rule or the scene sent by the cloud server;
and the gateway sends the operation instruction to other gateways in the virtual gateways through the established connection, wherein the other gateways are used for indicating corresponding equipment to execute the operation instruction, and the virtual gateways comprise the gateway and the other gateways.
2. The method of claim 1, wherein the gateway receiving a triggering instruction for triggering a device to perform an action comprises:
the gateway receives a trigger instruction which is sent by an application and used for triggering equipment to execute an action;
and the gateway receives a trigger instruction which is sent by the equipment when the equipment detects the event or the state change and is used for triggering the equipment to execute the action.
3. The method of claim 1, wherein after the gateway sends the operation instructions to other gateways in the virtual gateway over the established connection, the method further comprises:
and the gateway sends the operation instruction to the corresponding equipment.
4. The method of claim 1, wherein before the gateway receives a triggering instruction for triggering a device to perform an action, the method further comprises:
and the gateway receives the equipment linkage rule or scene sent by the cloud server.
5. The method according to any of claims 1 to 4, wherein before the gateway receives a triggering instruction for triggering a device to perform an action, the method further comprises:
the gateway receives a shared key distributed by the cloud server for a plurality of gateways in linkage or interaction;
and the gateway establishes connection with other gateways in a local area network according to the shared secret key, and forms the virtual gateway together with the other gateways.
6. The method of claim 5, wherein establishing, by the gateway, a connection with the other gateway within the local area network according to the shared key comprises:
performing identity authentication with the other gateways according to the shared secret key;
and after the authentication is passed, establishing connection with the other gateway.
7. The utility model provides an equipment linkage processing apparatus, is applied to the gateway, its characterized in that includes:
the receiving module is used for receiving a trigger instruction for triggering the equipment to execute the action;
the generation instruction module is used for generating an operation instruction of executing the action of the equipment according to the equipment linkage rule or the scene sent by the cloud server;
a sending module, configured to send the operation instruction to other gateways in a virtual gateway through the established connection, where the other gateways are configured to instruct corresponding devices to execute the operation instruction, and the virtual gateway includes the gateway and the other gateways.
8. The apparatus of claim 7,
the receiving module is further used for receiving a trigger instruction which is sent by the application and used for triggering the equipment to execute the action; and receiving a trigger instruction which is sent when the device detects the event or the state change and is used for triggering the device to execute the action.
9. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to carry out the method of any one of claims 1 to 6 when executed.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011311552.6A CN112437153A (en) | 2020-11-20 | 2020-11-20 | Equipment linkage processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011311552.6A CN112437153A (en) | 2020-11-20 | 2020-11-20 | Equipment linkage processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112437153A true CN112437153A (en) | 2021-03-02 |
Family
ID=74693201
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011311552.6A Pending CN112437153A (en) | 2020-11-20 | 2020-11-20 | Equipment linkage processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112437153A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113572640A (en) * | 2021-07-20 | 2021-10-29 | 杭州海康威视系统技术有限公司 | Equipment instruction issuing control method, system and device |
CN114884967A (en) * | 2022-04-15 | 2022-08-09 | 杭州博联智能科技股份有限公司 | Control method and system of distributed edge intelligent gateway system |
CN115175109A (en) * | 2022-05-30 | 2022-10-11 | 青岛海尔科技有限公司 | Method and device for sending control command, storage medium and electronic device |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104796444A (en) * | 2014-01-21 | 2015-07-22 | 广州海图克计算机技术有限公司 | Digital household scene control management system and method |
CN106094754A (en) * | 2016-07-12 | 2016-11-09 | 腾讯科技(深圳)有限公司 | Apparatus control system, method and device |
CN106131110A (en) * | 2015-06-20 | 2016-11-16 | 浙江网新合同能源管理有限公司 | A kind of interlock method based on Internet of Things |
CN106169957A (en) * | 2016-06-12 | 2016-11-30 | 福建星网锐捷通讯股份有限公司 | A kind of implementation method carrying out based on smart machine spanning gateway linking |
CN106713084A (en) * | 2016-12-01 | 2017-05-24 | 上海雍敏信息科技有限公司 | multi-gateway system of Internet of Things |
CN108092861A (en) * | 2017-12-13 | 2018-05-29 | 深圳绿米联创科技有限公司 | Realize collocation method, the equipment linkage control method and device of equipment linkage |
CN108900392A (en) * | 2018-06-22 | 2018-11-27 | 四川斐讯信息技术有限公司 | A kind of method and system of smart home multiple gateway access |
CN110071855A (en) * | 2019-03-18 | 2019-07-30 | 深圳绿米联创科技有限公司 | Equipment linkage control method, device, system, gateway and storage medium |
CN111327497A (en) * | 2020-01-21 | 2020-06-23 | 中移(杭州)信息技术有限公司 | Intelligent terminal control method and device, electronic equipment and storage medium |
CN111522251A (en) * | 2020-06-28 | 2020-08-11 | 海尔优家智能科技(北京)有限公司 | Linkage control method and device and computer readable storage medium |
CN111766788A (en) * | 2020-06-01 | 2020-10-13 | 珠海格力电器股份有限公司 | Intelligent household control method and device |
CN111865736A (en) * | 2020-07-17 | 2020-10-30 | 青岛易来智能科技股份有限公司 | Equipment control method and device |
CN111913450A (en) * | 2020-08-04 | 2020-11-10 | 青岛海信日立空调系统有限公司 | Control method of intelligent household equipment, intelligent household system and gateway thereof |
-
2020
- 2020-11-20 CN CN202011311552.6A patent/CN112437153A/en active Pending
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104796444A (en) * | 2014-01-21 | 2015-07-22 | 广州海图克计算机技术有限公司 | Digital household scene control management system and method |
CN106131110A (en) * | 2015-06-20 | 2016-11-16 | 浙江网新合同能源管理有限公司 | A kind of interlock method based on Internet of Things |
CN106169957A (en) * | 2016-06-12 | 2016-11-30 | 福建星网锐捷通讯股份有限公司 | A kind of implementation method carrying out based on smart machine spanning gateway linking |
CN106094754A (en) * | 2016-07-12 | 2016-11-09 | 腾讯科技(深圳)有限公司 | Apparatus control system, method and device |
CN106713084A (en) * | 2016-12-01 | 2017-05-24 | 上海雍敏信息科技有限公司 | multi-gateway system of Internet of Things |
CN108092861A (en) * | 2017-12-13 | 2018-05-29 | 深圳绿米联创科技有限公司 | Realize collocation method, the equipment linkage control method and device of equipment linkage |
CN108900392A (en) * | 2018-06-22 | 2018-11-27 | 四川斐讯信息技术有限公司 | A kind of method and system of smart home multiple gateway access |
CN110071855A (en) * | 2019-03-18 | 2019-07-30 | 深圳绿米联创科技有限公司 | Equipment linkage control method, device, system, gateway and storage medium |
CN111327497A (en) * | 2020-01-21 | 2020-06-23 | 中移(杭州)信息技术有限公司 | Intelligent terminal control method and device, electronic equipment and storage medium |
CN111766788A (en) * | 2020-06-01 | 2020-10-13 | 珠海格力电器股份有限公司 | Intelligent household control method and device |
CN111522251A (en) * | 2020-06-28 | 2020-08-11 | 海尔优家智能科技(北京)有限公司 | Linkage control method and device and computer readable storage medium |
CN111865736A (en) * | 2020-07-17 | 2020-10-30 | 青岛易来智能科技股份有限公司 | Equipment control method and device |
CN111913450A (en) * | 2020-08-04 | 2020-11-10 | 青岛海信日立空调系统有限公司 | Control method of intelligent household equipment, intelligent household system and gateway thereof |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113572640A (en) * | 2021-07-20 | 2021-10-29 | 杭州海康威视系统技术有限公司 | Equipment instruction issuing control method, system and device |
CN113572640B (en) * | 2021-07-20 | 2024-03-01 | 杭州海康威视系统技术有限公司 | Equipment instruction issuing control method, system and device |
CN114884967A (en) * | 2022-04-15 | 2022-08-09 | 杭州博联智能科技股份有限公司 | Control method and system of distributed edge intelligent gateway system |
CN114884967B (en) * | 2022-04-15 | 2024-01-16 | 杭州博联智能科技股份有限公司 | Control method and system of distributed edge intelligent gateway system |
CN115175109A (en) * | 2022-05-30 | 2022-10-11 | 青岛海尔科技有限公司 | Method and device for sending control command, storage medium and electronic device |
CN115175109B (en) * | 2022-05-30 | 2024-01-26 | 青岛海尔科技有限公司 | Control command sending method and device, storage medium and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11122027B2 (en) | End-to-end M2M service layer sessions | |
CN112437153A (en) | Equipment linkage processing method and device | |
US10498831B2 (en) | Communication sessions at a CoAP protocol layer | |
CN113596191A (en) | Data processing method, network element equipment and readable storage medium | |
CN104205898A (en) | Method and system for group based service bootstrap in M2M environment | |
CN108696588A (en) | A kind of sending method and equipment of information | |
CN113572864B (en) | Data processing method, network element equipment and readable storage medium | |
CN111935017B (en) | Cross-network application calling method and device and routing equipment | |
CN113572835A (en) | Data processing method, network element equipment and readable storage medium | |
CN112055078A (en) | Data transmission method and device, computer equipment and storage medium | |
KR20210143563A (en) | Apparatus and method for providing deterministic communication in mobile network | |
WO2022151420A1 (en) | Method, apparatus, and system for transmitting data packet | |
CN105049255B (en) | A kind of method and device thereof of network element data synchronization | |
CN114126085B (en) | Industrial field bus communication method and device, electronic equipment and storage medium | |
CN102752780A (en) | Method and device for managing system user | |
CN111885601A (en) | Keep-alive processing method and device for Mesh equipment | |
CN114363183A (en) | Service chain address pool slicing processing method, device and system | |
JP6971118B2 (en) | Devices, methods and programs for sending and receiving data to and from IoT devices | |
CN110401557A (en) | A kind of network collocating method of terminal device, device and server | |
CN113132986B (en) | Method and device for realizing mesh network of WiFi based on DPP protocol, and storage medium | |
JP6509413B1 (en) | Device, method and program for transmitting and receiving data with IoT device | |
US11923994B2 (en) | Method and packet core system for common charging of network connectivity and cloud resource utilization | |
CN114500283B (en) | Method and system for processing slices of core network | |
CN111918365B (en) | Network distribution method, device and system of Internet of things and storage medium | |
Li et al. | A Data-centered Fog PIatform for Smart Living |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210302 |