CN104967560B - Method and device for realizing linkage with gateway management equipment - Google Patents

Method and device for realizing linkage with gateway management equipment Download PDF

Info

Publication number
CN104967560B
CN104967560B CN201510212876.7A CN201510212876A CN104967560B CN 104967560 B CN104967560 B CN 104967560B CN 201510212876 A CN201510212876 A CN 201510212876A CN 104967560 B CN104967560 B CN 104967560B
Authority
CN
China
Prior art keywords
interface information
gateway
action
event
managed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510212876.7A
Other languages
Chinese (zh)
Other versions
CN104967560A (en
Inventor
张军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Haier Smart Home Co Ltd
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Haier Uplus Intelligent Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Intelligent Home Appliance Technology Co Ltd, Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Priority to CN201510212876.7A priority Critical patent/CN104967560B/en
Publication of CN104967560A publication Critical patent/CN104967560A/en
Application granted granted Critical
Publication of CN104967560B publication Critical patent/CN104967560B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses a method for realizing linkage with equipment managed by a gateway and the gateway, wherein the method comprises the steps of receiving event interface information and action interface information; the event interface information and the action interface information are event interface information and action interface information which are sent by equipment directly connected with the user terminal and/or a gateway; configuring event and action linkage rules among linkage equipment based on the received event interface information and action interface information; when a user terminal receives an event generated by a certain device, acquiring event interface information of the device, and acquiring action interface information of linkage equipment corresponding to the event interface information of the device according to a preset linkage rule; and sending an action calling instruction to the linkage equipment based on the obtained action interface information. The invention realizes the linkage of the equipment directly connected with the user terminal and the equipment managed by the gateway, and enlarges the application range of the equipment linkage.

Description

Method and device for realizing linkage with gateway management equipment
Technical Field
The invention relates to the technical field of Internet of things, in particular to a method and a device for realizing linkage with gateway management equipment.
Background
With the development of Information Communication Technology (ICT) Technology, smart home appliances are increasing and can interact with user terminals such as smart phones, thereby forming smart homes. However, in an intelligent home, the user's demand for intelligent home appliances is not only control and monitoring, but also equipment linkage is one of the important demands.
The AllSeen alliance is an open source technology alliance with strong influence in the field of the Internet of things, an AllJoyn technology developed by the AllSeen alliance is a general software framework and a system service core set which can enable the connection devices to be mutually operated, and provides the device linkage service characteristics of the equipment of the Internet of things, specifically, in the AllJoyn, an Event is an Event generated by the equipment and is sent in a Signal (AllJoyn Signal) mode; an Action is an execution Action of the device, and the Action is executed in the form of an AllJoyn method call. The user can set that when an Event of a certain device is generated, another device executes the Action through the Event & Action characteristic, and therefore device linkage is achieved. For example, when a refrigerator door is opened (Event), a sound box starts playing music (Action).
In the home network shown in fig. 1, when a gateway is deployed, the all joyn technology is adopted, and a user terminal can only discover a service interface of a device directly connected to the user terminal and cannot discover a service interface of a device connected through the gateway, so that linkage with a device managed by the gateway cannot be realized.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method and a device for realizing linkage with a gateway management device, so as to solve the problem that the gateway management device and a device directly connected with a user terminal in the prior art cannot be linked.
In order to solve the above technical problem, in one aspect, the present invention provides a method for implementing linkage with a gateway management device, including:
receiving event interface information and action interface information; the event interface information and the action interface information are event interface information and action interface information which are sent by equipment directly connected with the user terminal and/or a gateway;
configuring linkage rules corresponding to the events and the actions among the linkage equipment based on the received event interface information and action interface information;
when a user terminal receives an event generated by a certain device, acquiring event interface information of the device, and acquiring action interface information of linkage equipment corresponding to the event interface information of the device according to a preset linkage rule;
and sending an action calling instruction to the linkage equipment based on the obtained action interface information.
Further, the event interface information and the action interface information sent by the gateway comprise the event interface information and the action interface information which are sent by the gateway and created for the equipment managed by the gateway.
Further, the event interface information which is sent by the gateway and is created for the managed equipment by the gateway itself specifically comprises a gateway object path, an equipment object path managed by the gateway, an event interface name and signal information;
the action interface information which is sent by the gateway and is created for the managed equipment by the gateway specifically comprises a gateway object path, an equipment object path managed by the gateway, an action interface name and method information.
On the other hand, the invention also provides a linkage method for realizing the equipment managed by the gateway, which comprises the following steps:
the gateway sends event interface information and/or action interface information of the managed equipment to the user terminal;
when the gateway receives an event generated by the managed equipment, the event is sent to the user terminal;
and when the gateway receives an action calling instruction of the user terminal, calling the managed equipment to execute the action.
Further, the interface information and the action interface information sent by the gateway to the user terminal specifically include:
receiving event interface information and action interface information of equipment managed by a gateway;
creating event interface information and action interface information for the devices managed by the gateway on the basis of the received event interface information and action interface information;
and sending the created event interface information and action interface information to the user terminal.
Further, creating event interface information and action interface information for the managed devices on the gateway specifically includes:
the method comprises the steps of creating a parent object for the gateway, creating a child object for a device managed by the gateway, and adding event interface information and/or action interface information for the child object.
Further, the event interface information of the child object comprises a parent object path, a child object path, an event interface name and signal information;
the action interface information of the child object includes a parent object path, a child object path, an action interface name, and method information.
In another aspect, the present invention further provides a terminal, including:
the interface information acquisition unit is used for receiving the event interface information and the action interface information; the event interface information and the action interface information are event interface information and action interface information which are sent by equipment directly connected with the user terminal and/or a gateway;
the configuration unit is used for configuring linkage rules of events and actions among linkage equipment based on the received event interface information and action interface information; when a user terminal receives an event generated by a certain device, acquiring event interface information of the device, and acquiring action interface information of linkage equipment corresponding to the event interface information of the device according to a preset linkage rule;
and the linkage calling unit is used for sending an action calling instruction to the linkage equipment based on the obtained action interface information.
Further, the event interface information and the action interface information sent by the gateway comprise the event interface information and the action interface information which are sent by the gateway and created for the equipment managed by the gateway.
Further, the event interface information which is sent by the gateway and is created for the managed equipment by the gateway itself specifically comprises a gateway object path, an equipment object path managed by the gateway, an event interface name and signal information;
the action interface information which is sent by the gateway and is created for the managed equipment by the gateway specifically comprises a gateway object path, an equipment object path managed by the gateway, an action interface name and method information.
The present invention also provides a gateway, comprising:
the interface setting unit is used for providing event interface information and action interface information of equipment managed by the gateway to the user terminal, and the event interface information and the action interface information provided by the gateway are used as the event interface information and the action interface information used when the user terminal configures an event and action linkage rule in advance;
the gateway comprises an event acquisition unit, a linkage device and a linkage device, wherein the event acquisition unit is used for sending an event to a user terminal when the gateway receives the event generated by the managed device, and requesting the user terminal to send an action calling instruction to the linkage device according to the preset event and action linkage rule;
and the action calling unit is used for calling the managed equipment to execute the action when the gateway receives the action calling instruction of the user terminal.
Further, the interface setting unit is specifically configured to receive event interface information and action interface information of the device managed by the gateway;
based on the received event interface information and action interface information, event interface information and action interface information are created on the gateway for the devices it manages.
Further, creating event interface information and action interface information for the managed devices on the gateway specifically includes:
the method comprises the steps of creating a parent object for the gateway, creating a child object for a device managed by the gateway, and adding event interface information and action interface information for the child object.
Further, the event interface information of the child object comprises a parent object path, a child object path, an event interface name and signal information;
the action interface information of the child object includes a parent object path, a child object path, an action interface name, and method information.
The invention has the following beneficial effects: the invention discovers the event interface and the action interface of the equipment managed by the gateway by receiving the event interface information and the action interface information of the equipment managed by the gateway, configures the linkage rule based on the discovered event interface and action interface, realizes the linkage of the equipment directly connected with the user terminal and the equipment managed by the gateway, and enlarges the application range of the equipment linkage.
Drawings
Fig. 1 is a schematic diagram illustrating connection between a device and a user terminal in a home network according to the prior art;
FIG. 2 is a flow chart of a method for linking devices based on gateway management in an embodiment of the present invention;
fig. 3 is a schematic diagram of the interaction between a user terminal, a gateway and a device involved in an embodiment of the present invention;
FIG. 4 is a flow chart of a method for implementing linkage with gateway managed devices in an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a gateway in an embodiment of the present invention.
Detailed Description
In order to solve the problem that the device managed by the gateway and the device directly connected to the user terminal in the prior art cannot be linked, the invention provides a method and a device for realizing the linkage with the device managed by the gateway, and the invention is further described in detail below with reference to the accompanying drawings and the embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
Example one
The embodiment of the invention provides a gateway management-based equipment linkage method, which comprises the following steps:
s201, a user terminal receives event interface information and action interface information provided by equipment directly connected with the user terminal; receiving event interface information and action interface information of equipment managed by the gateway, wherein the event interface information and the action interface information are provided by the gateway; based on the received event interface information and action interface information, configuring a linkage rule corresponding to the event and the action between linkage equipment in advance; the direct connection is specifically direct connection through a wireless protocol; the device managed by the gateway is specifically a device directly connected with the gateway.
The event interface information and the action interface information of the managed device provided by the gateway specifically include event interface information and action interface information created by the gateway on the gateway for the managed device.
The event interface information created by the gateway on the gateway for the managed equipment specifically comprises a gateway object path, an equipment object path managed by the gateway, an event interface name and signal information;
the action interface information created by the gateway on the gateway for the managed device specifically includes a gateway object path, a device object path managed by the gateway, an action interface name and method information.
In this step, since the user terminal receives the Event interface information and the Action interface information of the device managed by the user terminal provided by the gateway, the user terminal can discover the Event interface and the Action interface of the device managed by the gateway, and further, when the user terminal pre-configures the Event and Action linkage rule, the Event interface is selected from the Event interface provided by the device directly connected to the user terminal and the Event interface provided by the gateway, and the Action interface is selected from the Action interface provided by the device directly connected to the user terminal and the Action interface provided by the gateway, and then the Event interface provided by the device directly connected to the user terminal is associated with the Action interface provided by the gateway, and/or the Action interface provided by the device directly connected to the user terminal is associated with the Event interface provided by the gateway.
S202, when a user terminal receives an event generated by a certain device, the user terminal acquires event interface information of the device, and acquires action interface information of linkage equipment corresponding to the event interface information of the device according to a preset event and action linkage rule;
and S203, sending an action calling instruction to the linkage equipment based on the obtained action interface information.
According to the method and the device, the event interface and the action interface of the equipment managed by the gateway are discovered by receiving the event interface information and the action interface information of the equipment managed by the gateway, and the linkage rule is configured based on the discovered event interface and action interface, so that the linkage of the equipment directly connected with the user terminal and the equipment managed by the gateway is realized, and the use range of equipment linkage is expanded.
The following describes embodiments of the present invention in detail based on the AllJoyn technology.
As shown in fig. 1, the devices deployed with different device communication protocols in the home network include a device 1 supporting wifi, a device 2 supporting zigbee, and a device 3 supporting bluetooth, where the device 2 and the device 3 are connected to a gateway, and the device 1 and the gateway are connected to a user terminal through wifi.
The interaction among the user terminal, the gateway and the device involved in the embodiment of the present invention is shown in fig. 3:
step 1, a user terminal acquires Event interface information, and the step comprises the following steps:
step 101, the device 1 directly connected to the gateway supports an Event Interface, which sends Event Interface information to the user terminal, including an AllJoyn object path, an Interface name and Signal (Signal) information, for example, if the Interface1 of the device 1(BusObject1) is to implement an Event1 Interface, the AllJoyn object path is org.allsee.busobeject 1, the Interface name is Interface1, and the Signal information is Signal 1.
Step 102, the gateway acquires Event interface information of the managed device,
in step 103, the device 2 supports the Event Interface, so the device 2 sends Event Interface information to the gateway, including a sub-object indication (indicating that the device is directly connected to the gateway and managed by the gateway), an AllJoyn object path, an Interface name and Signal information of the sub-object, for example, if the Interface2 of the device 2(BusObject2) is to implement an Event2 Interface, the AllJoyn object path of the sub-object is org.allsee.busobeject 2, the Interface name is Interface2, and the Signal information is Signal 2.
Step 104, after receiving the Event Interface information of the device 2, the gateway creates an AllJoyn child object childObject1:: application 2 for the device 2, the parent object of the child object is parenteobject:: gateway, and adds Event Interface information to the child object, including the AllJoyn object path, the Interface name and the Signal information of the child object, for example, the AllJoyn object path of the child object BusObject2 is org.allsee.Busobject 2, the Interface name is Interface2, and the Signal information is Signal 2.
Step 105, the gateway sends Event interface information to the user terminal, including a parent object indication (indicating that the gateway is a manager and manages equipment directly connected with the gateway), an all joyn object path of the parent object, an all joyn object path of the child object, an interface name and Signal information. The parent object is an AllJoyn object representing the gateway, the child object is an AllJoyn object representing the household appliance managed by the gateway, the interface name is an AllJoyn interface supported by the household appliance managed by the gateway, and the signal information is the AllJoyn signal information provided by the AllJoyn interface of the household appliance.
Step 2, the user terminal obtains the Action interface information, and the step comprises:
in step 201, the device 1 also supports an Action Interface, and sends Action Interface information to the user terminal, where the Action Interface information includes an AllJoyn object path, an Interface name, and Method call information, for example, if the Interface1 of the BusObject1 implements an Action 1 Interface, the AllJoyn object path is org.
Step 202, the gateway obtains the Action interface information of the managed device,
in step 203, the device 3 supports the Action Interface, so that the device 3 sends the Action Interface information to the gateway, where the Action Interface information includes a sub-object indication, an AllJoyn object path of the sub-object, an Interface name, and Method call information, for example, if the Interface3 of the BusObject3 implements the Action2 Interface, the AllJoyn object path of the sub-object is org.allsen.busobject 3, the Interface name is Interface3, and the Method call information is Method 2.
Step 204, after receiving the Action Interface information of the device 3, the gateway creates an AllJoyn child object2:: application 3 for the device 3, the parent object of the child object is parenthobject:: gateway, and adds the Action Interface information for the child object, including the AllJoyn object path, the Interface name and the Method information of the child object, for example, the AllJoyn object path of the child object BusObject3 is org.allsee.busobject 3, the Interface name is Interface3, and the Method calling information is Method 2.
The gateway comprises a parent object, a child object and a method calling information, wherein the parent object is an AllJoyn object representing the gateway, the child object is an AllJoyn object representing a household appliance managed by the gateway, the interface name is an AllJoyn interface supported by the household appliance managed by the gateway, and the method calling information is AllJoyn method information provided by the AllJoyn interface of the household appliance.
The AllJoyn parent object and child object information created by the gateway is as follows:
Figure GDA0002500128080000081
Figure GDA0002500128080000082
Figure GDA0002500128080000091
step 205, the gateway sends Action interface information to the user terminal, including the AllJoyn object path of the parent object, the AllJoyn object path of the child object, the interface name and the method information.
And 3, the user terminal pairs an Event interface and an Action interface through an Event and rule (Event & Action) rule engine, wherein the Event interface is selected from the Event interface provided by the equipment 1 and the Event interface provided by the gateway, and the Action interface is selected from the Action interface provided by the equipment 1 and the Action interface provided by the gateway. For example, the gateway selects Event interface as Event1 and the selected Action interface as Action 2. The event and rule engine is used for configuring corresponding linkage rules between the events and the actions.
Step 4, the Event & Action rule engine receives the Event information sent by the device 1 and informs the Signal1 generated by the device 1.
And 5, acquiring an Action interface matched with the Event interface according to the Event & Action configuration by the Event & Action rule engine, and calling the corresponding Action interface. For example, paired with Event1 is Method2, the gateway obtains child object:: appliance3 and parent object parentObject:: gateway where Method2 is located, and the rules engine requests the gateway to call the Action interface of child object:: appliance 3.
And 6, the gateway calls an Action interface of the equipment 3 to realize the linkage of the household appliances.
Example two
As shown in fig. 4, an embodiment of the present invention provides a method for implementing linkage with a gateway management device, including:
s301, a gateway provides event interface information and/or action interface information of equipment managed by the gateway to a user terminal, wherein the event interface information and the action interface information provided by the gateway are used as the event interface information and the action interface information used when the user terminal configures an event and action linkage rule in advance;
the gateway provides event interface information and action interface information of the managed device to the user terminal, and specifically includes:
receiving event interface information and action interface information of equipment managed by a gateway;
based on the received event interface information and action interface information, event interface information and action interface information are created on the gateway for the devices it manages. In this step, the event interface information and the action interface information of the device managed by the gateway are provided by the gateway, so that the user terminal can discover the event interface and the action interface of the device managed by the gateway, specifically, the gateway creates the event interface information and the action interface information for the device managed by the gateway on its own, so that the user terminal can discover the event interface and the action interface of the device managed by the gateway.
Creating event interface information and action interface information for the managed devices on the gateway, specifically comprising:
the method comprises the steps of creating a parent object for the gateway, creating a child object for a device managed by the gateway, and adding event interface information and action interface information for the child object.
The event interface information of the child object comprises a father object path, a child object path, an event interface name and signal information;
the action interface information of the child object includes a parent object path, a child object path, an action interface name, and method information.
S302, when the gateway receives an event generated by the managed equipment, the gateway sends the event to the user terminal, and triggers the user terminal to send an action calling instruction to the linkage equipment according to a preset event and action linkage rule;
and S303, when the gateway receives the action calling instruction of the user terminal, calling the managed equipment to execute the action.
In the implementation process based on the AllJoyn technology in the embodiment of the present invention, reference is made to the description of the first embodiment for a specific interaction process among the user terminal, the gateway, and the device, which is not described herein again.
The embodiment of the invention provides the Event interface information and the Action interface information of the equipment managed by the user terminal to the user terminal, particularly creates the Event interface information and the Action interface information for the equipment managed by the user terminal on the gateway, so that the user terminal can discover the Event interface and the Action interface of the equipment managed by the gateway, configures a linkage rule based on the discovered Event interface and Action interface, realizes the linkage of the equipment directly connected with the user terminal and the equipment managed by the gateway, and enlarges the application range of the equipment linkage.
EXAMPLE III
As shown in fig. 5, an embodiment of the present invention provides a terminal, including:
an interface information obtaining unit 41, configured to receive event interface information and action interface information by a user terminal; the event interface information and the action interface information are event interface information and action interface information which are sent by equipment directly connected with the user terminal and/or a gateway;
a configuration unit 42, configured to configure linkage rules corresponding to events and actions between linkage devices based on the received event interface information and action interface information; when a user terminal receives an event generated by a certain device, acquiring event interface information of the device, and acquiring action interface information of linkage equipment corresponding to the event interface information of the device according to a preset linkage rule;
and the linkage calling unit 43 is used for sending an action calling instruction to the linkage equipment based on the obtained action interface information.
The event interface information and the action interface information sent by the gateway comprise event interface information and action interface information which are sent by the gateway and created for the equipment managed by the gateway.
The event interface information which is sent by the gateway and is created for the managed equipment on the gateway comprises a gateway object path, an equipment object path managed by the gateway, an event interface name and signal information;
the action interface information which is sent by the gateway and is created for the managed equipment by the gateway specifically comprises a gateway object path, an equipment object path managed by the gateway, an action interface name and method information.
The embodiment of the invention is a device embodiment corresponding to the embodiment, and in a specific implementation process, the setting of each unit can refer to the first embodiment. The terminal of the embodiment of the invention can realize the linkage of the managed equipment and the equipment directly connected with the user terminal, and the application range of the equipment linkage is enlarged.
Example four
As shown in fig. 6, an embodiment of the present invention provides a gateway, including:
an interface setting unit 51, configured to provide, by a gateway, event interface information and action interface information of devices managed by the gateway to a user terminal, where the event interface information and the action interface information provided by the gateway are used as event interface information and action interface information used when a user terminal configures an event and action linkage rule in advance;
the event acquiring unit 52 is configured to, when the gateway receives an event generated by the device managed by the gateway, send the event to the user terminal, and request the user terminal to send an action calling instruction to the linkage device according to a preset event and action linkage rule;
and the action calling unit 53 is used for calling the managed equipment to execute the action when the gateway receives the action calling instruction of the user terminal.
The interface setting unit 51 is specifically configured to receive event interface information and action interface information of a device managed by a gateway;
based on the received event interface information and action interface information, event interface information and action interface information are created on the gateway for the devices it manages.
Creating event interface information and action interface information for the managed devices on the gateway, specifically comprising:
the method comprises the steps of creating a parent object for the gateway, creating a child object for a device managed by the gateway, and adding event interface information and action interface information for the child object.
The event interface information of the child object comprises a father object path, a child object path, an event interface name and signal information;
the action interface information of the child object includes a parent object path, a child object path, an action interface name, and method information.
The embodiment of the present invention is an embodiment of an apparatus corresponding to the second embodiment, and in a specific implementation process, the setting of each unit may refer to the second embodiment. The gateway of the embodiment of the invention can realize the linkage of the managed equipment and the equipment directly connected with the user terminal, and enlarges the application range of the equipment linkage.
Although the preferred embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, and the scope of the invention should not be limited to the embodiments described above.

Claims (14)

1. A method for realizing linkage with a gateway management device is characterized by comprising the following steps:
receiving event interface information and action interface information; the event interface information and the action interface information are sent by the user terminal direct connection equipment and the gateway and are of equipment managed by the gateway;
configuring event and action linkage rules among linkage equipment based on the received event interface information and action interface information;
when a user terminal receives an event generated by a device directly connected with the user terminal, acquiring event interface information of the device, and acquiring action interface information of a linkage device managed by a gateway corresponding to the event interface information of the device according to a preset linkage rule;
and sending an action calling instruction to the linkage equipment based on the obtained action interface information.
2. The method of claim 1, wherein the event interface information and the action interface information transmitted by the gateway comprise event interface information and action interface information transmitted by the gateway created for the devices managed thereby.
3. The method according to claim 2, wherein the event interface information sent by the gateway and created for the devices managed by the gateway itself includes, in particular, a gateway object path, a device object path managed by the gateway, an event interface name, and signal information;
the action interface information which is sent by the gateway and is created for the managed equipment by the gateway specifically comprises a gateway object path, an equipment object path managed by the gateway, an action interface name and method information.
4. A method for realizing linkage with a gateway management device is characterized by comprising the following steps:
the gateway sends event interface information and action interface information of equipment managed by the gateway to the user terminal, wherein the event interface information and the action interface information are sent by the user terminal direct connection equipment and the gateway;
when the gateway receives an event generated by the managed equipment, the event is sent to the user terminal, and the user terminal acquires the action interface information of the linkage equipment managed by the gateway, which corresponds to the event interface information of the equipment, according to a preset linkage rule;
and the user terminal sends an action calling instruction to the gateway based on the obtained action interface information, and when the gateway receives the action calling instruction of the user terminal, the gateway calls the managed equipment to execute the action.
5. The method of claim 4, wherein the interface information and the action interface information sent by the gateway to the user terminal specifically include:
receiving event interface information and action interface information of equipment managed by a gateway;
creating event interface information and action interface information for the devices managed by the gateway on the basis of the received event interface information and action interface information;
and sending the created event interface information and action interface information to the user terminal.
6. The method of claim 5, wherein creating event interface information and action interface information for devices managed by the gateway comprises:
the method comprises the steps of creating a parent object for the gateway, creating a child object for a device managed by the gateway, and adding event interface information and/or action interface information for the child object.
7. The method of claim 6, wherein the event interface information of the child object includes a parent object path, a child object path, an event interface name, and signal information;
the action interface information of the child object includes a parent object path, a child object path, an action interface name, and method information.
8. A terminal, comprising:
the interface information acquisition unit is used for receiving the event interface information and the action interface information; the event interface information and the action interface information are sent by the user terminal direct connection equipment and the gateway and are of equipment managed by the gateway;
the configuration unit is used for configuring event and action linkage rules among linkage equipment based on the received event interface information and action interface information; when a user terminal receives an event generated by a device directly connected with the user terminal, acquiring event interface information of the device, and acquiring action interface information of a linkage device managed by a gateway corresponding to the event interface information of the device according to a preset linkage rule;
and the linkage calling unit is used for sending an action calling instruction to the linkage equipment based on the obtained action interface information.
9. The terminal of claim 8, wherein the event interface information and the action interface information transmitted by the gateway include event interface information and action interface information transmitted by the gateway and created for devices managed thereby.
10. The terminal according to claim 9, wherein the event interface information sent by the gateway and created for the devices managed by the gateway itself specifically includes a gateway object path, a device object path managed by the gateway, an event interface name, and signal information;
the action interface information which is sent by the gateway and is created for the managed equipment by the gateway specifically comprises a gateway object path, an equipment object path managed by the gateway, an action interface name and method information.
11. A gateway, comprising:
the interface setting unit is used for providing event interface information and action interface information of equipment managed by the gateway to the user terminal, and the event interface information and the action interface information provided by the gateway are used as the event interface information and the action interface information used when the user terminal configures an event and action linkage rule in advance;
the gateway comprises an event acquisition unit, a linkage device and a linkage device, wherein the event acquisition unit is used for sending an event to a user terminal when the gateway receives the event generated by the managed device, and requesting the user terminal to send an action calling instruction to the linkage device according to the preset event and action linkage rule;
and the action calling unit is used for calling the managed equipment to execute the action when the gateway receives the action calling instruction of the user terminal.
12. The gateway according to claim 11, wherein the interface setting unit is specifically configured to receive event interface information and action interface information of a device managed by the gateway;
based on the received event interface information and action interface information, event interface information and action interface information are created on the gateway for the devices it manages.
13. The gateway of claim 12, wherein creating event interface information and action interface information for devices managed by the gateway comprises:
the method comprises the steps of creating a parent object for the gateway, creating a child object for a device managed by the gateway, and adding event interface information and action interface information for the child object.
14. The gateway of claim 13, wherein the event interface information of the child object includes a parent object path, a child object path, an event interface name, and signal information;
the action interface information of the child object includes a parent object path, a child object path, an action interface name, and method information.
CN201510212876.7A 2015-04-29 2015-04-29 Method and device for realizing linkage with gateway management equipment Active CN104967560B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510212876.7A CN104967560B (en) 2015-04-29 2015-04-29 Method and device for realizing linkage with gateway management equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510212876.7A CN104967560B (en) 2015-04-29 2015-04-29 Method and device for realizing linkage with gateway management equipment

Publications (2)

Publication Number Publication Date
CN104967560A CN104967560A (en) 2015-10-07
CN104967560B true CN104967560B (en) 2020-09-01

Family

ID=54221508

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510212876.7A Active CN104967560B (en) 2015-04-29 2015-04-29 Method and device for realizing linkage with gateway management equipment

Country Status (1)

Country Link
CN (1) CN104967560B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105487394A (en) * 2015-11-30 2016-04-13 青岛海尔智能家电科技有限公司 Intelligent household appliance control method and device and gateway
CN106169957A (en) * 2016-06-12 2016-11-30 福建星网锐捷通讯股份有限公司 A kind of implementation method carrying out based on smart machine spanning gateway linking
CN108234408A (en) * 2016-12-15 2018-06-29 中兴通讯股份有限公司 A kind of things-internet gateway inter-linked controlling method and things-internet gateway
CN108632094A (en) * 2018-05-11 2018-10-09 星络科技有限公司 The interlock method and device of more device events
CN110379141B (en) * 2019-06-12 2021-05-04 杭州未名信科科技有限公司 Method for sensor linkage by adopting gateway and gateway system
CN111935849A (en) * 2020-09-30 2020-11-13 深圳传音控股股份有限公司 Information processing method, device and storage medium
WO2022041542A1 (en) * 2020-08-28 2022-03-03 深圳传音控股股份有限公司 Processing method, device, and storage medium
CN112034724A (en) * 2020-09-10 2020-12-04 宁波云设雕刻技术有限公司 Intelligent home gateway system based on rule engine
CN113114510B (en) * 2021-04-22 2022-07-15 中国科学技术大学 Network fault information synchronization method and device
CN113114779B (en) * 2021-04-23 2022-09-02 杭州萤石软件有限公司 Configuration method, terminal and system for linkage of Internet of things equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808025B (en) * 2010-04-13 2014-08-20 中兴通讯股份有限公司 Device, system and method for realizing intelligent home application
CN103728954A (en) * 2014-01-14 2014-04-16 中国海洋大学 Smart home security system
CN104518890B (en) * 2014-12-30 2019-07-05 海尔优家智能科技(北京)有限公司 Network service processing method, information broadcast and control method and device
CN104536756B (en) * 2014-12-30 2020-02-07 海尔优家智能科技(北京)有限公司 AllJoyn network message sending and processing method and device
CN104539504B (en) * 2014-12-31 2019-06-04 海尔优家智能科技(北京)有限公司 A kind of event triggering method and device

Also Published As

Publication number Publication date
CN104967560A (en) 2015-10-07

Similar Documents

Publication Publication Date Title
CN104967560B (en) Method and device for realizing linkage with gateway management equipment
US10404832B2 (en) Management of gateway device using virtual gateway device
CN108702389B (en) Architecture for remotely controlling IOT (Internet of things) devices
US10484512B2 (en) Management of multi-radio gateway device using virtual gateway device
US10791195B2 (en) Common device interface framework for IoT/smart device application
CN107231606B (en) WiFi network access method, intelligent hardware equipment and electronic terminal
EP3170284B1 (en) Enhanced operations between service layer and management layer in an m2m system by allowing the execution of a plurality of commands on a plurality of devices
EP3654550B1 (en) Communication event notification method, apparatus, and system
JP2018139144A (en) Service enabler function
US9720749B2 (en) Method and apparatus for executing application installed in remote device
CN110365704B (en) Equipment binding method and device and electronic equipment
CN108376078A (en) Upgrade method, device and the household appliance of equipment
CN105472430A (en) Method of making mobile terminal ring through intelligent television, equipment and system thereof
US10908889B2 (en) Method, user equipment, and application server for downloading application
RU2666636C2 (en) System and method for controlling surrounding devices based on topology
CN112566113B (en) Key generation and terminal network distribution method, device and equipment
WO2017040931A1 (en) Methods and apparatus for enhancing native service layer device management functionality
CN107231275B (en) Method for connection configuration of user equipment and household equipment
Kovac et al. Keeping eyes on your home: Open-source network monitoring center for mobile devices
CN109600769A (en) Communication means and device
Saito et al. Development of echonet lite-compliant home appliances control system using pucc protocols from smart devices
CN102025576A (en) Home automation system and control method thereof
CN103269360A (en) Method and device capable of controlling electrical device
KR101386652B1 (en) Control method for upnp devices in upnp home network using restful api
KR101636215B1 (en) Gateway apparatus and method for providing a plurality of wireless communication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20170126

Address after: 100086 room 601-606, level, Pacific International Building, Zhichun Road, Beijing, 106, China

Applicant after: Haier smart technology (Beijing) Co., Ltd.

Applicant after: Qingdao Haier Intelligent Home Appliance Technology Co., Ltd.

Address before: 100086 Beijing, Zhichun Road, Zhongguancun, No. 106 crown office building, layer, layer 15

Applicant before: Beijing Haier Guangke Digital Techn Co., Ltd.

Applicant before: Qingdao Haier Intelligent Home Appliance Technology Co., Ltd.

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210220

Address after: Room 601-606, 6 / F, Pacific International Building, 106 Zhichun Road, Haidian District, Beijing 100086

Patentee after: HAIER YOUJIA INTELLIGENT TECHNOLOGY (BEIJING) Co.,Ltd.

Patentee after: QINGDAO HAIER INTELLIGENT HOME APPLIANCE TECHNOLOGY Co.,Ltd.

Patentee after: Haier Zhijia Co.,Ltd.

Address before: Room 601-606, 6 / F, Pacific International Building, 106 Zhichun Road, Haidian District, Beijing 100086

Patentee before: HAIER YOUJIA INTELLIGENT TECHNOLOGY (BEIJING) Co.,Ltd.

Patentee before: QINGDAO HAIER INTELLIGENT HOME APPLIANCE TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right