WO2018177121A1 - Procédé, appareil et système de liaison de dispositif de détection - Google Patents
Procédé, appareil et système de liaison de dispositif de détection Download PDFInfo
- Publication number
- WO2018177121A1 WO2018177121A1 PCT/CN2018/079036 CN2018079036W WO2018177121A1 WO 2018177121 A1 WO2018177121 A1 WO 2018177121A1 CN 2018079036 W CN2018079036 W CN 2018079036W WO 2018177121 A1 WO2018177121 A1 WO 2018177121A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sensing device
- linkage
- instruction
- gateway
- state
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 86
- 238000004891 communication Methods 0.000 claims abstract description 29
- 230000001419 dependent effect Effects 0.000 claims abstract description 8
- 230000005540 biological transmission Effects 0.000 claims description 7
- 238000013507 mapping Methods 0.000 claims description 4
- 238000004364 calculation method Methods 0.000 abstract description 3
- 238000013461 design Methods 0.000 description 21
- 238000010586 diagram Methods 0.000 description 14
- 230000006870 function Effects 0.000 description 12
- 238000007726 management method Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 6
- 238000004590 computer program Methods 0.000 description 5
- 230000003993 interaction Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 238000005057 refrigeration Methods 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000001816 cooling Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer 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/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Definitions
- the embodiments of the present invention relate to the field of communications technologies, and in particular, to a method, device, and system for linkage of sensing devices.
- the Internet of Things refers to a huge network of various sensing devices, such as radio frequency identification devices, infrared sensors, global positioning devices, laser scanners, etc., combined with the Internet.
- each sensing device 11 is configured to collect the sensed data (eg, temperature data collected by the temperature sensor) and/or execute a control command (eg, a smart door lock to execute a door open command).
- a control command eg, a smart door lock to execute a door open command.
- Each sensing device 11 can transmit the collected data to the gateway 12, which transmits the data to the IoT cloud platform 13.
- the IoT cloud platform 13 can perform unified decisions based on the data reported by the sensing device 11, for example, managing the connection relationship between the sensing devices 11 and the like.
- the user can send a management instruction for managing the sensing device 11 to the IoT cloud platform 13 through the IoT application 14, for example, the user triggers a door opening command on the IoT application 14, and the IoT application 14 sends the door opening command to the IoT cloud platform 13, The IoT cloud platform 13 sends the door opening command to the corresponding sensing device 11 through the gateway 12, and finally the sensing device 11 executes the door opening command.
- a linkage strategy between the sensing devices 11.
- the illumination lamp (sensing device B) is required to be automatically turned on.
- a rule engine 15 may be disposed in the gateway 12, and the rule engine 15 performs a linkage decision according to the stored linkage policy.
- the rule engine 15 in the gateway 12 searches for the corresponding linkage policy according to the data of the device state of the sensing device A, thereby generating a decision for controlling the sensing device B.
- the instruction sends the decision instruction to the sensing device B, and the sensing device B executes the decision instruction to complete the linkage strategy between the sensing device A and the sensing device B.
- the gateway 12 needs to be the other sensing device according to the data of the device state of one of the sensing devices 11 and the corresponding linkage policy. 11 Generate corresponding decision instructions. Then, when the number of the sensing devices 11 is large, the implementation process of the linkage policy requires the gateway 12 to have strong computing performance and maintain the online state at the moment, then, once the computing performance of the gateway 12 is not up to standard, or the gateway 12 is powered off, For example, the gateway 12 is disposed in an environment such as a forest lacking a stable external power source, and the linkage scenario between all the sensing devices 11 will be invalid.
- Embodiments of the present application provide a linkage method, device, and system for a sensing device, which can reduce the calculation pressure of the gateway and the power supply requirement, thereby reducing the deployment cost of the IoT.
- an embodiment of the present application provides a method for linkage of a sensing device, including: determining, by a first sensing device, that a device state of a current first sensing device is a first target state; a binding relationship (the binding relationship is used to indicate that the device state of the second sensing device is dependent on the device state of the first sensing device), and the second sensing device bound to the first sensing device is determined; The first sensing device generates a linkage command according to the first target state, where the linkage instruction is used to instruct the second sensing device to update the device state of the second sensing device to the second target state; then, the first sensing device is After the second sensing device sends the linkage instruction, the second sensing device causes the second sensing device to set its own device state according to the linkage instruction.
- the linkage process between the first sensing device and the second sensing device can be realized without the participation of the gateway, and the first sensing device and the second device can be realized even in the case that the gateway is powered off.
- the linkage process between the sensing devices and the computational pressure of the gateway can be reduced, thereby reducing the deployment cost of the IoT.
- the first sensing device generates the linkage instruction according to the first target state, including: the first sensing device generates the linkage instruction according to the first target state, where the linkage instruction carries the first target state Logo. That is, the first sensing device can determine its own first target state as the device state of the second sensing device, that is, the second target state is the same as the first target state. In this way, the second sensing device can update the device state of the device to the first target state according to the identifier of the first target state in the linkage command, thereby implementing a linkage process between the first sensing device and the second sensing device.
- the first sensing device stores a linkage policy, where the linkage policy is used to indicate: when the device state of the first sensing device is in the first target state, the device state of the second sensing device
- the method includes: the first sensing device searches for the second sensing device corresponding to the first target state from the linkage policy. a second target state; further, the first sensing device generates a linkage instruction according to the second target state, where the linkage instruction carries an identifier of the second target state.
- the second sensing device may update its own device state to the second target state according to the identifier of the second target state in the linkage instruction.
- the method before the first sensing device determines that the device state of the current first sensing device is the first target state, the method further includes: the first sensing device transmitting the first sensing device to the gateway A device information, the first device information including an instruction to allow the first sensing device to output and an instruction to allow the first sensing device to receive.
- an embodiment of the present application provides a linkage method of a sensing device, including: a gateway acquiring a linkage policy between a first sensing device and a second sensing device, where the linkage policy includes a linkage condition and a linkage result, The linkage condition is used to indicate that the device state of the first sensing device is the first target state, and the linkage result is used to indicate that the device state of the second sensing device is the second target state; the gateway determines the first transmission according to the linkage policy
- the binding device has a binding relationship with the second sensing device, where the binding relationship is used to indicate that the device state of the second sensing device is dependent on the device state of the first sensing device; the gateway sends the first sensing device to the first sensing device And a binding instruction, the binding instruction is used to instruct the first sensing device to establish a binding relationship with the second sensing device.
- the first sensing device may determine the second transmission that has a binding relationship with the first sensing device according to the binding relationship acquired in advance.
- the sensing device implements a linkage process between the first sensing device and the second sensing device.
- the method before the gateway determines that the first sensing device and the second sensing device have a binding relationship according to the linkage policy, the method further includes: acquiring, by the gateway, the first a description file and a second description file of the second sensing device, the first description file includes an instruction to allow the first sensing device to output, and the second description file includes an instruction to allow the second sensing device to receive; then, the gateway according to the linkage
- the method includes: when the instruction output by the first sensing device includes the first target instruction for performing the linkage condition, and the second sensing When the instruction received by the device includes the second target instruction for performing the linkage result, the gateway determines that the first sensing device has a binding relationship with the second sensing device.
- the gateway determines a binding relationship between the first sensing device and the second sensing device, including: a near field communication protocol used by the first sensing device and the second sensing device When the near field communication protocol used is the same, the gateway determines that there is a binding relationship between the first sensing device and the second sensing device.
- the gateway acquires the first description file of the first sensing device, including: the gateway receiving the first device information sent by the first sensing device, where the first device information includes allowing the first sensing An instruction output by the device; the gateway maps an instruction output by the first sensing device to an instruction that allows the first sensing device to output, to obtain a first description file; wherein the gateway acquires a second description file of the second sensing device
- the method includes: the gateway receiving second device information sent by the second sensing device, the second device information including an instruction that allows the second sensing device to receive; the gateway mapping the instruction received by the second sensing device to allow the second The instruction received by the sensing device obtains a second description file.
- the method further includes: the gateway receiving the linkage sent by the first sensing device An instruction, the linkage instruction is used to instruct the second sensing device to update the device state of the second sensing device to the second target state; and when the gateway determines that the first sensing device has a binding relationship with the second sensing device The gateway discards the linkage instruction to prevent the second sensing device from repeatedly executing the linkage instruction.
- an embodiment of the present application provides a sensing device, where the sensing device is a first sensing device, including: a determining unit, configured to determine that a device state of the current first sensing device is a first target state; And determining, according to the pre-acquisition binding relationship, the second sensing device that is bound to the first sensing device, where the binding relationship is used to indicate that the device state of the second sensing device is dependent on the device state of the first sensing device; a linkage unit, configured to generate a linkage instruction according to the first target state, the linkage instruction is used to instruct the second sensing device to update the device state of the second sensing device to the second target state; and the sending unit is configured to send the second transmission The sensing device sends the linkage command.
- the linkage instruction carries an identification of the first target state.
- the first sensing device stores a linkage policy, where the linkage policy is used to indicate: when the device state of the first sensing device is in the first target state, the device state of the second sensing device a second target state; the linkage unit is configured to: search for a second target state corresponding to the first target state for the second sensing device from the linkage policy; and generate a linkage instruction according to the second target state, the linkage instruction The identifier carries the second target state.
- the sending unit is further configured to send, to the gateway, first device information of the first sensing device, where the first device information includes an instruction that allows the first sensing device to output, and allows the first sensing The instructions received by the device.
- an embodiment of the present application provides a gateway, including: an acquiring unit, configured to acquire a linkage policy between a first sensing device and a second sensing device, where the linkage policy includes a linkage condition and a linkage result, where The linkage condition is used to indicate that the device state of the first sensing device is the first target state, the linkage result is used to indicate that the device state of the second sensing device is the second target state, and the determining unit is configured to determine, according to the linkage policy a binding relationship between the sensing device and the second sensing device, the binding relationship is used to indicate that the device state of the second sensing device is dependent on the device state of the first sensing device, and the sending unit is configured to A sensing device sends a binding instruction, the binding instruction is used to instruct the first sensing device to establish a binding relationship with the second sensing device.
- the acquiring unit is further configured to acquire a first description file of the first sensing device and a second description file of the second sensing device, where the first description file includes allowing the first sensing device An output instruction, the second description file includes an instruction for allowing the second sensing device to receive; the determining unit is configured to: when the instruction output by the first sensing device includes the first target instruction for executing the linkage condition, and When the instruction received by the second sensing device includes the second target instruction for performing the linkage result, determining that the first sensing device and the second sensing device have a binding relationship.
- the determining unit is specifically configured to: when the near field communication protocol used by the first sensing device is the same as the near field communication protocol used by the second sensing device, determine the first sensing device There is a binding relationship with the second sensing device.
- the acquiring unit is specifically configured to: receive first device information sent by the first sensing device, where the first device information includes an instruction that allows the first sensing device to output; the first transmission is allowed The instruction outputted by the sensing device is mapped to an instruction that allows the first sensing device to output, and the first description file is obtained; the second device information sent by the second sensing device is received, and the second device information includes an instruction that allows the second sensing device to receive Mapping the instructions received by the second sensing device to instructions that are allowed to be received by the second sensing device to obtain a second description file.
- the gateway further includes a deleting unit, wherein the acquiring unit is further configured to receive a linkage instruction sent by the first sensing device, where the linkage instruction is used to indicate that the second sensing device is to be the second The device status of the sensing device is updated to a second target state; the deleting unit is configured to discard the linkage instruction when the gateway determines that the first sensing device has a binding relationship with the second sensing device.
- an embodiment of the present application provides a sensing device, including: a processor, a memory, a bus, and a communication interface; the memory is configured to store a computer to execute an instruction, and the processor is connected to the memory through the bus, and is transmitted While the device is in operation, the processor executes the computer-executed instructions stored by the memory to cause the sensing device to perform any of the above-described linkage methods.
- an embodiment of the present application provides a gateway, including: a processor, a memory, a bus, and a communication interface; the memory is configured to store a computer execution instruction, and the processor is connected to the memory through the bus, when the gateway is running The processor executes the computer-executed instructions stored by the memory to cause the gateway to perform any of the above-described linkage methods.
- an embodiment of the present application provides a linkage system, including any one of the foregoing gateways, and a first sensing device and a second sensing device connected to the gateway.
- an embodiment of the present application provides a computer readable storage medium, where the instructions are stored, and when the instruction is run on any one of the sensing devices, the sensing device performs the foregoing A linkage method.
- the embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores an instruction, when the instruction is run on any one of the foregoing gateways, causing the gateway to perform any one of the foregoing linkage methods. .
- the embodiment of the present application provides a computer program product including instructions, when the device is operated on any one of the above sensing devices, causing the sensing device to perform any of the foregoing linkage methods.
- an embodiment of the present application provides a computer program product, including instructions, when the gateway is executed on any of the foregoing gateways, causing the gateway to perform any of the foregoing linkage methods.
- the names of the sensing device and the gateway are not limited to the device itself. In actual implementation, the devices may appear under other names. As long as the functions of the respective devices are similar to the embodiments of the present application, they are within the scope of the claims and their equivalents.
- FIG. 1 is a schematic diagram of a design architecture of an Internet of Things in the prior art
- FIG. 2 is a schematic structural diagram 1 of a linkage system according to an embodiment of the present application.
- FIG. 3 is a schematic structural diagram 2 of a linkage system according to an embodiment of the present disclosure.
- FIG. 4 is a schematic structural diagram 3 of a linkage system according to an embodiment of the present disclosure.
- FIG. 5 is a schematic structural diagram 4 of a linkage system according to an embodiment of the present disclosure.
- FIG. 6 is a schematic diagram of interaction of a linkage method of a sensing device according to an embodiment of the present disclosure
- FIG. 7 is a schematic structural diagram of a sensing device according to an embodiment of the present disclosure.
- FIG. 8 is a schematic structural diagram of a gateway according to an embodiment of the present application.
- FIG. 9 is a schematic structural diagram 1 of a hardware structure of a sensing device (or gateway) according to an embodiment of the present disclosure.
- FIG. 10 is a second schematic structural diagram of a hardware structure of a sensing device (or a gateway) according to an embodiment of the present application.
- first and second are used for descriptive purposes only, and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, features defining “first” and “second” may include one or more of the features either explicitly or implicitly. In the description of the embodiments of the present application, “multiple” means two or more unless otherwise stated.
- the embodiment of the present application provides a linkage method of a sensing device, which can be applied to the linkage system 100 shown in FIG. 2.
- the linkage system 100 includes at least one gateway 21 and at least one sensing device 22 coupled to each gateway 21.
- the sensing device 22 is configured to sense the measured information, and can convert the sensed information into an electrical signal or other desired form of information output according to a certain rule.
- the sensing device 22 can include any type of sensor such as a temperature sensor, a pressure sensor, a gravity sensor, and a light sensor.
- the sensing device 22 can be a device such as a smart home appliance, a terminal, and a vehicle. Any restrictions.
- the gateway 21 can be used to receive data collected by the sensing device 22 and commands sent by the sensing device 22, and can also send data to other sensing devices 22 according to data or instructions collected by one or more sensing devices 22. Or instructions, etc.
- the gateway 21 may bind the plurality of sensing devices 22 having the binding relationship according to the linkage policy between the sensing devices 22.
- the linkage strategy between the sensing device A and the sensing device B is: when the sensing device A is in the on state, the sensing device B is opened, that is, the binding between the sensing device A and the sensing device B Relationship, the device state of sensing device B depends on the device state of sensing device A.
- the gateway 21 may first establish a binding relationship between the sensing device A and the sensing device B, and send a binding instruction to the sensing device A to The sensing device A is instructed to establish a binding relationship between the sensing device A and the sensing device B.
- the sensing device B bound to the sensing device A can be directly determined according to the binding relationship, and according to the device state (ie, the open state)
- a linkage instruction for example, an opening instruction
- the opening instruction is used to instruct the sensing device B to update its device state to an on state, thereby implementing between the sensing device A and the sensing device B. Linkage needs.
- the first sensing device (for example, the sensing device A) can determine the binding according to the pre-acquired binding relationship without the participation of the gateway.
- the first sensing device has a second sensing device in a binding relationship (such as the sensing device B described above).
- the first sensing device can generate a corresponding linkage instruction (for example, the above-mentioned opening instruction) for the second sensing device according to the device state of the device (for example, the above-mentioned open state), and send the linkage command to the second sensing device. And causing the second sensing device to update its own device state according to the linkage instruction.
- the linkage process between the first sensing device and the second sensing device can be realized without the participation of the gateway, and even in the case that the gateway 21 is powered off, the first sensing device and the first sensing device can be realized.
- the linkage process between the two sensing devices, and the calculation pressure of the gateway 21 can be reduced, thereby reducing the deployment cost of the IoT.
- a rule engine 23 may be disposed in the gateway 21, and the rule engine 23 may send a linkage policy between the first sensing device and the second sensing device to the first sensing device.
- the linkage strategy includes two parts: linkage condition and linkage result.
- the linkage condition is used to indicate the device status of the first sensing device
- the linkage result is used to indicate the device status of the second sensing device.
- the linkage policy 1 is: when the device state of the first sensing device is in the first target state, the device state of the second sensing device is the second target state, wherein the linkage condition is: the device of the first sensing device The state is in the first target state, and the linkage result is: the device state of the second sensing device is the second target state.
- the first sensing device can determine the second target state of the second sensing device corresponding to the first target state of the first target device according to the linkage policy sent by the rule engine 23 in the gateway 21, for example, the second sensing device.
- the second sensing device can generate an opening command according to the opening state, that is, a linkage command, and send the signal to the second sensing device. Further, the second sensing device sets its own device according to the linkage instruction. The status is updated to an on state to cause the second sensing device to complete the linkage command.
- an IoT cloud platform 24 may also be disposed in the linkage system 100.
- the IoT cloud platform 24 is connected to each gateway 21, and the first sensing device and the second sensing device are connected by the IoT cloud platform 24.
- the inter-linkage policy is sent to the rule engine 23 in the corresponding gateway 21.
- the IoT application 25 connected to the IoT cloud platform 24 may also be disposed in the linkage system 100, such that the user triggers management instructions for managing the sensing device 22 on any IoT application 25 (eg, unlocking the door lock)
- the IoT application 25 can send the management command to the IoT cloud platform 24, and the IoT cloud platform 24 sends the management command to the corresponding sensing device 22 through the gateway 21, and finally the corresponding sensing device 22 Execute the management instruction.
- the method includes:
- the gateway acquires a first description file of the first sensing device and a second description file of the second sensing device.
- the first description file includes an instruction that allows the first sensing device to output
- the second description file includes an instruction that allows the second sensing device to receive.
- first description file may further include an instruction for allowing the first sensing device to receive
- second description file may further include an instruction for allowing the output of the second sensing device, which is not limited by the embodiment of the present application.
- the gateway may obtain its device information from the first sensing device, for example, first device information, where the first device information includes an instruction that allows the first sensing device to output, and the gateway may also obtain the second sensing device from the second sensing device.
- Device information for example, second device information, the second device information including instructions that allow the second sensing device to receive.
- the first device information may specifically be NIF (node information).
- the first device information may specifically be the first sensing The match descriptor of the device (or second sensing device).
- the NIF contains information as shown in Table 1, in which a special byte 0xEF is set in the NIF, and 0xEF divides the NIF into two parts, and a part is used to indicate n(n) that the sensing device is allowed to receive.
- ⁇ 1) instructions which can be expressed in the Z-Wave format command class (for example, supported command slass); the other part is used to indicate the m (m ⁇ 1) instructions allowed by the sensing device, or Z-
- the command class of the Wave format (for example, the controlled command class) is represented.
- the gateway may map, by using a mapping manner, at least one of the n instructions that the first sensing device allows to receive, to be first.
- An instruction in the description file that allows the first sensing device to receive, and at least one of the m instructions that the first sensing device allows to output is mapped to an instruction in the first description file that allows the first sensing device to output.
- the instructions in the first description file that are allowed to be received by the first sensing device and the instructions that allow the first sensing device to output may be represented in the format of the IoT cloud platform.
- the sensing device such as the device characteristic information of the first sensing device, for example, the data collected by the first sensing device (for example, temperature value, humidity value, switch off or The state of the application, etc., is not limited in this embodiment.
- the first description file generated by the gateway according to the first device information of the first sensing device includes the information as shown in Table 2, wherein the current sensing power of the first sensing device is 40%, allowing the first sensing device to receive
- the instruction includes an open command
- the instruction that allows the first sensing device to output includes an open command and a close command.
- the match descriptor includes two fields, InClusterList and OutClusterList.
- the InClusterList field includes an instruction that allows the sensing device to receive
- the OutClusterList field includes an instruction that allows the sensing device to output.
- the gateway may also map the InClusterList field to an instruction in the first description file that allows the first sensing device to receive,
- the OutClusterList field is mapped to an instruction in the first description file that allows the first sensing device to output.
- the gateway may generate a second description file of the second sensing device according to the second device information of the second sensing device according to the above method.
- the gateway may also obtain the first description file of the first sensing device and the second description file of the second sensing device from the IoT cloud platform, which is not limited in this embodiment.
- the gateway acquires a linkage policy between the first sensing device and the second sensing device.
- the linkage policy may specifically include a linkage condition and a linkage result, where the linkage condition is used to indicate that the device state of the first sensing device is the first target state, and the linkage result is used to indicate that the device state of the second sensing device is Two target states.
- the linkage strategy 1 is: when the temperature collected by the thermometer is greater than 30 degrees Celsius, the refrigeration device is turned on. Then, in the linkage strategy 1, the linkage condition is: the temperature collected by the thermometer (first sensing device) is greater than 30 degrees Celsius, that is, the temperature of the device state of the thermometer is greater than 30 degrees Celsius, and the linkage result is: opening the refrigeration device (second transmission Sensing device), that is, the device state of the cooling device is on.
- the linkage policy between the first sensing device and the second sensing device may be obtained from the IoT cloud platform by a rule engine in the gateway.
- the gateway determines, according to the foregoing linkage policy, a binding relationship between the first sensing device and the second sensing device, where the binding relationship is used to indicate that the device state of the second sensing device is dependent on the device of the first sensing device. status.
- the gateway may determine, according to the first description file of the first sensing device, the second description file of the second sensing device, and the linkage policy acquired in step 602, the first sensing device and the second transmission. Whether there is a binding relationship between devices.
- the gateway may determine The first sensing device has a binding relationship with the second sensing device. Otherwise, it can be determined that there is no binding relationship between the first sensing device and the second sensing device.
- the instruction output by the first sensing device includes an open command
- the command received by the second sensing device includes a close command.
- the linkage policy may be: when the first sensing device is turned on (the linkage condition), the second sensing device is turned off (the linkage result). It can be seen that the instruction output by the first sensing device includes an opening instruction (ie, a first target instruction) for executing the linkage condition, and the instruction received by the second sensing device includes a closing instruction for performing the linkage result (ie, the second The target command), then the gateway can determine that there is a binding relationship between the first sensing device and the second sensing device.
- the near field communication protocol used by different sensing devices may be different.
- the near field communication protocol used by the first sensing device is a Z-Wave protocol
- the near field communication protocol used by the second sensing device is a ZigBee protocol.
- the gateway may further determine the near field communication protocol used by the first sensing device and the near field used by the second sensing device. Whether the communication protocol is the same.
- the gateway may determine that the first sensing device has a binding relationship with the second sensing device. Otherwise, it can be determined that there is no binding relationship between the first sensing device and the second sensing device.
- the gateway sends a binding instruction to the first sensing device, where the binding instruction is used to indicate that the first sensing device establishes a binding relationship with the second sensing device.
- the gateway may The first sensing device sends a binding command, which triggers the first sensing device to establish a binding relationship with the second sensing device. In this way, the subsequent first sensing device can determine whether to initiate a corresponding linkage instruction to the second sensor bound to itself according to its own device state.
- the binding instruction may specifically be an association instruction; when the sensing device (for example, the first When the near field communication protocol used by the sensing device is the ZigBee protocol, the binding instruction may specifically be BindReq (combined instruction).
- binding instruction may be set by a person skilled in the art according to actual experience or an actual application scenario, and the embodiment of the present application does not impose any limitation on this.
- the gateway and the rule engine may use the command format of the IoT platform format to perform the interaction, and the near field protocol format may be used for interaction.
- the following steps 604-607 may be performed to implement linkage between the first sensing device and the second sensing device. process.
- the first sensing device determines that the device state of the current first sensing device is the first target state.
- the user can trigger the management instruction of the management sensing device 22 through the IoT application 25, for example, the management command is an open command of the door lock (ie, the first sensing device).
- the IoT application 25 can send the open command to the IoT cloud platform 24, and the IoT cloud platform 24 sends the open command to the door lock through the gateway 21, and the open command is executed by the door lock.
- the door lock can determine that the current device state is the on state.
- the device state of the device may be determined according to the currently collected data.
- the temperature sensing device can collect the current temperature value in real time and use the temperature indicated by the current temperature value as its first target state.
- the first sensing device determines, according to the binding relationship, a second sensing device that is bound to the first sensing device.
- the first sensing device generates a linkage instruction according to the first target state, where the linkage instruction is used to instruct the second sensing device to update the device state of the second sensing device to the second target state.
- the first sensing device can determine its current device state according to the currently collected data.
- the pressure sensing device can convert the currently collected pressure signal into an electrical signal to determine the current pressure.
- the value of the door and window sensing device can determine whether the state of the current door is the open state or the closed state according to the state of the current door lock.
- the first sensing device has established a binding relationship with the second sensing device. Therefore, in step 605, the first sensing device may determine the binding according to the binding relationship. The second sensing device to which the first sensing device has been bound.
- the device state of the second sensing device depends on the device state of the first sensing device. Then, in step 606, the first sensing device may generate the second sensing device according to the first target state determined in step 604. Linkage instructions.
- the first sensing device may determine its own first target state as the device state of the second sensing device, ie, the second target state is the same as the first target state. Then, the first sensing device can directly generate a linkage instruction according to the first target state. At this time, the linkage instruction carries the identifier of the first target state.
- the first target state of the door lock is an open state (first target state), and at this time, the first sensing device can directly identify the first target state, for example, the identifier: on, As a linkage command sent to the electric light (second sensing device). Subsequently, the electric light can directly execute the linkage instruction, and update its own device state to the same device state as the door lock, that is, execute an instruction to turn on the light.
- the linkage policy between the first sensing device and the second sensing device may be stored in the first sensing device in advance, for example, the linkage strategy is: when the first sensing device When turned on, the second sensing device is turned off. Then, in step 606, the first sensing device may first search for the second target state corresponding to the first target state (for example, the open state), that is, the closed state, from the linkage policy. Further, the first sensing device carries the determined identification of the closed state in the linkage instruction and sends the identifier to the second sensing device. Subsequently, the second sensing device can update its own device state to the closed state according to the identifier of the closed state in the linkage instruction, that is, execute the shutdown command.
- the first target state for example, the open state
- the first sensing device carries the determined identification of the closed state in the linkage instruction and sends the identifier to the second sensing device.
- the second sensing device can update its own device state to the closed state according to the identifier
- the linkage policy between the first sensing device and the second sensing device may be stored in the second sensing device in advance, for example, the linkage strategy is still: when the first sensing When the device is turned on, the second sensing device is turned off. Then, in step 606, the first sensing device carries the identifier of the first target state of the first sensing device in the linkage instruction and sends it to the second sensing device. Subsequently, the second sensing device may search for the second target state corresponding to the first target state (for example, the open state) from the linkage policy according to the identifier of the first target state in the linkage command, that is, the shutdown state, and further, the second The sensing device can update its own device status to the off state.
- the first target state for example, the open state
- the first sensing device sends a linkage instruction to the second sensing device to implement a linkage process between the first sensing device and the second sensing device.
- the linkage method may further include steps 608-609.
- the first sensing device sends a linkage instruction to the gateway.
- the gateway discards the linkage instruction.
- the first sensing device may further send the linkage command to the gateway.
- the rule engine in the gateway queries that the first sensing device and the second sensing device are already stored, When the relationship is bound, the gateway has indicated that the first sensing device establishes a binding relationship with the second sensing device. Then, in step 609, the gateway may directly discard the linkage command to avoid the second sensing. The device repeatedly executes the linkage instruction.
- the correlation engine may send the linkage instruction to the second sensing device through the gateway by using the prior art.
- the linkage instruction is executed by the second sensing device to complete the linkage process between the first sensing device and the second sensing device.
- the first sensing device, the second sensing device, and the gateway include the hardware structure and/or software module corresponding to each function.
- the embodiments of the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the embodiments of the present application.
- the function modules of the first sensing device, the second sensing device, and the gateway may be divided according to the foregoing method.
- each functional module may be divided according to each function, or two or two may be used.
- the above functions are integrated in one processing module.
- the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present application is schematic, and is only a logical function division, and the actual implementation may have another division manner.
- FIG. 7 is a schematic diagram showing a possible structure of the sensing device involved in the above embodiment, the sensing device includes: a determining unit 71, a linking unit 72, and Transmitting unit 73.
- the determining unit 71 is configured to support the sensing device to perform the processes 604-605 in FIG. 6; the linking unit 72 is configured to support the sensing device to perform the process 606 in FIG. 6; the transmitting unit 73 is configured to support the sensing device to perform the function in FIG. Process 607. All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
- FIG. 8 is a schematic diagram of a possible structure of a gateway involved in the foregoing embodiment, where the gateway includes: an obtaining unit 81, a determining unit 82, a sending unit 83, and The unit 84 is deleted.
- the obtaining unit 81 is configured to support the sensing device to perform the processes 600-601 in FIG. 6; the determining unit 82 is configured to support the sensing device to perform the process 602 in FIG. 6; the transmitting unit 83 is configured to support the sensing device to perform the method in FIG. Processes 603 and 608; deletion unit 84 is operative to support the sensing device to perform process 609 in FIG. All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
- FIG. 9 shows a possible structural diagram of the sensing device (or gateway) involved in the above embodiment.
- the sensing device (or gateway) includes a processing module 1302 and a communication module 1303.
- the processing module 1302 is configured to control and manage the actions of the sensing device (or gateway).
- the communication module 1303 is configured to support communication of the sensing device (or gateway) with other network entities.
- the sensing device (or gateway) may further include a storage module 1301 for storing program code and data of the sensing device (or gateway).
- the processing module 1302 may be a processor or a controller, for example, may be a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application specific integrated circuit (Application-Specific Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
- the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
- the communication module 1303 may be a transceiver, a transceiver circuit, a communication interface, or the like.
- the storage module 1301 may be a memory.
- the sensing device (or gateway) involved in the embodiment of the present application may specifically be the sensing device (or gateway) shown in FIG. ).
- the sensing device includes a processor 1312, a transceiver 1313, a memory 1311, and a bus 1314.
- the transceiver 1313, the processor 1312, and the memory 1311 are connected to each other through a bus 1314.
- the bus 1314 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. Wait.
- PCI Peripheral Component Interconnect
- EISA Extended Industry Standard Architecture
- Wait The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in FIG. 10, but it does not mean that there is only one bus or one type of bus.
- the computer program product includes one or more computer instructions.
- the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
- the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.).
- the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
- the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Abstract
L'invention concerne un procédé, un appareil et un système de liaison de dispositif de détection se rapportant au domaine technique des communications et permettant de réduire la pression de calcul et une demande d'alimentation électrique d'une passerelle, ce qui permet de réduire le coût de déploiement d'IoT. Le procédé comprend : la détermination par un premier dispositif de détection qu'un état de dispositif du premier dispositif de détection en cours est un premier état cible ; la détermination par le premier dispositif de détection, en fonction d'une relation de liaison pré-obtenue, d'un second dispositif de détection lié au premier dispositif de détection, la relation de liaison étant utilisée pour indiquer qu'un état de dispositif du second dispositif de détection dépend de l'état de dispositif du premier dispositif de détection ; la génération par le premier dispositif de détection d'une instruction de liaison en fonction du premier état cible, l'instruction de liaison étant utilisée afin de commander au second dispositif de détection de mettre à jour l'état de dispositif du second dispositif de détection vers un second état cible ; et l'envoi par le premier dispositif de détection de l'instruction de liaison au second dispositif de détection.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710187470.7 | 2017-03-27 | ||
CN201710187470.7A CN108667858A (zh) | 2017-03-27 | 2017-03-27 | 一种传感设备的联动方法、装置及系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018177121A1 true WO2018177121A1 (fr) | 2018-10-04 |
Family
ID=63674141
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/079036 WO2018177121A1 (fr) | 2017-03-27 | 2018-03-14 | Procédé, appareil et système de liaison de dispositif de détection |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108667858A (fr) |
WO (1) | WO2018177121A1 (fr) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110737202A (zh) * | 2019-11-19 | 2020-01-31 | 宁波智轩物联网科技有限公司 | 一种基于智能家居系统的联动系统 |
CN113485206A (zh) * | 2021-08-06 | 2021-10-08 | 时代云英(重庆)科技有限公司 | 一种可扩展的物联网系统及方法 |
CN114157725A (zh) * | 2021-11-11 | 2022-03-08 | 珠海格力电器股份有限公司 | 设备联动的方法、装置、服务器、电子设备以及存储介质 |
WO2022222719A1 (fr) * | 2021-04-23 | 2022-10-27 | 杭州萤石软件有限公司 | Procédé de configuration pour liaison de dispositif de l'internet des objets, terminal et système |
WO2023151704A1 (fr) * | 2022-02-14 | 2023-08-17 | 深圳绿米联创科技有限公司 | Procédé et appareil de commande de dispositif, et dispositif électronique et support de stockage |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113381914B (zh) * | 2020-02-25 | 2023-05-23 | 青岛海尔洗衣机有限公司 | 边缘计算设备管理方法、装置、设备及系统 |
CN111818132B (zh) * | 2020-06-19 | 2023-05-23 | 深圳奇迹智慧网络有限公司 | 物联网设备的控制方法、装置、计算机设备和存储介质 |
CN111830841A (zh) * | 2020-07-08 | 2020-10-27 | 珠海格力电器股份有限公司 | 一种智能设备的联动控制方法、装置、设备和存储介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104808499A (zh) * | 2015-03-09 | 2015-07-29 | 联想(北京)有限公司 | 一种基于联动规则控制智能家居设备的方法及控制装置 |
CN105676656A (zh) * | 2015-12-31 | 2016-06-15 | 联想(北京)有限公司 | 处理方法及电子设备 |
CN106100866A (zh) * | 2016-05-27 | 2016-11-09 | 上海物联网有限公司 | 一种基于区域联动的智能探测装置、配置装置及方法 |
CN106527162A (zh) * | 2016-11-30 | 2017-03-22 | 海尔优家智能科技(北京)有限公司 | 基于AllJoyn的联动控制方法及装置 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100724520B1 (ko) * | 2005-09-27 | 2007-06-04 | 한국전자통신연구원 | 센서노드 지원장치, 센서노드 통합개발장치 및 이를 이용한센서 네트워크 개발시스템 |
CN105099835A (zh) * | 2014-04-21 | 2015-11-25 | 青岛海尔智能家电科技有限公司 | 一种用于联动建立的方法和设备 |
CN105807618B (zh) * | 2014-12-29 | 2019-12-24 | 联想(北京)有限公司 | 一种控制方法及第一中控设备 |
CN104932456B (zh) * | 2015-04-27 | 2019-02-19 | 小米科技有限责任公司 | 智能场景实现方法和装置、智能终端及控制设备 |
CN205721123U (zh) * | 2016-03-04 | 2016-11-23 | 橙朴(上海)智能科技有限公司 | 一种去中心化的智能家居控制系统 |
-
2017
- 2017-03-27 CN CN201710187470.7A patent/CN108667858A/zh active Pending
-
2018
- 2018-03-14 WO PCT/CN2018/079036 patent/WO2018177121A1/fr active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104808499A (zh) * | 2015-03-09 | 2015-07-29 | 联想(北京)有限公司 | 一种基于联动规则控制智能家居设备的方法及控制装置 |
CN105676656A (zh) * | 2015-12-31 | 2016-06-15 | 联想(北京)有限公司 | 处理方法及电子设备 |
CN106100866A (zh) * | 2016-05-27 | 2016-11-09 | 上海物联网有限公司 | 一种基于区域联动的智能探测装置、配置装置及方法 |
CN106527162A (zh) * | 2016-11-30 | 2017-03-22 | 海尔优家智能科技(北京)有限公司 | 基于AllJoyn的联动控制方法及装置 |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110737202A (zh) * | 2019-11-19 | 2020-01-31 | 宁波智轩物联网科技有限公司 | 一种基于智能家居系统的联动系统 |
WO2022222719A1 (fr) * | 2021-04-23 | 2022-10-27 | 杭州萤石软件有限公司 | Procédé de configuration pour liaison de dispositif de l'internet des objets, terminal et système |
CN113485206A (zh) * | 2021-08-06 | 2021-10-08 | 时代云英(重庆)科技有限公司 | 一种可扩展的物联网系统及方法 |
CN114157725A (zh) * | 2021-11-11 | 2022-03-08 | 珠海格力电器股份有限公司 | 设备联动的方法、装置、服务器、电子设备以及存储介质 |
CN114157725B (zh) * | 2021-11-11 | 2023-09-12 | 珠海格力电器股份有限公司 | 设备联动的方法、装置、服务器、电子设备以及存储介质 |
WO2023151704A1 (fr) * | 2022-02-14 | 2023-08-17 | 深圳绿米联创科技有限公司 | Procédé et appareil de commande de dispositif, et dispositif électronique et support de stockage |
Also Published As
Publication number | Publication date |
---|---|
CN108667858A (zh) | 2018-10-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018177121A1 (fr) | Procédé, appareil et système de liaison de dispositif de détection | |
CN112398817B (zh) | 数据发送的方法及设备 | |
US9313280B2 (en) | Fabric network | |
CN107872486B (zh) | 通信方法和装置 | |
WO2017129014A1 (fr) | Procédé et appareil de commande de dispositif de l'internet des objets, et serveur et dispositif mobile | |
WO2016023357A1 (fr) | Procédé et appareil d'accès à une page web et routeur | |
US9479504B2 (en) | Method and apparatus for controlling access between home device and external server in home network system | |
KR101701158B1 (ko) | 홈 네트워크의 장치에 대한 원격 접속 제공 방법 및 시스템 | |
KR101317178B1 (ko) | 지그비 게이트웨이 및 이의 메시지 동일화 방법 | |
CN104811392B (zh) | 用于处理网络中的资源访问请求的方法和系统 | |
KR102257121B1 (ko) | 무선 환경에서의 이중 역할 처리를 위한 방법 및 시스템 | |
US10338980B2 (en) | Binding smart objects | |
WO2019001224A1 (fr) | Procédé et dispositif de recommandation d'un utilisateur de réseau social | |
CN110326262B (zh) | 将无线设备抽象为虚拟以太网接口 | |
US9385951B2 (en) | Apparatus and method for controlling packet transfer based on registered destination information | |
CN105612773A (zh) | 为启用快速漫游而进行零配置配置文件传输 | |
US9686361B2 (en) | Communication device, communication system, communication method and computer program product | |
US20150047009A1 (en) | Access control method, access control system and access control device | |
WO2024183449A1 (fr) | Procédé, appareil et système de traitement de données de protocole de construction | |
JP2011229093A (ja) | ネットワーク装置 | |
CN111800340A (zh) | 数据包转发方法和装置 | |
CN112272133B (zh) | 网络共享方法、装置、电子设备和计算机可读存储介质 | |
JP6470640B2 (ja) | 通信装置及びその制御方法、コンピュータプログラム | |
CN113452471A (zh) | 用于数据处理的方法、电子设备以及计算机程序产品 | |
JP6007753B2 (ja) | 管理サーバ、ハードウェア管理装置、情報処理装置、ハードウェア管理システム、ハードウェア管理方法、および、コンピュータ・プログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18777383 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18777383 Country of ref document: EP Kind code of ref document: A1 |