CN108667858A - A kind of interlock method of sensing equipment, apparatus and system - Google Patents

A kind of interlock method of sensing equipment, apparatus and system Download PDF

Info

Publication number
CN108667858A
CN108667858A CN201710187470.7A CN201710187470A CN108667858A CN 108667858 A CN108667858 A CN 108667858A CN 201710187470 A CN201710187470 A CN 201710187470A CN 108667858 A CN108667858 A CN 108667858A
Authority
CN
China
Prior art keywords
sensing equipment
equipment
instruction
state
linkage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710187470.7A
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201710187470.7A priority Critical patent/CN108667858A/en
Priority to PCT/CN2018/079036 priority patent/WO2018177121A1/en
Publication of CN108667858A publication Critical patent/CN108667858A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

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)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Embodiments herein provides a kind of interlock method of sensing equipment, apparatus and system, is related to field of communication technology, the calculating pressure and power demands of gateway can be reduced, to reduce the lower deployment cost of IoT.This method includes:First sensing equipment determines that the equipment state of current first sensing equipment is first object state;First sensing equipment determines that the second sensing equipment with the binding of the first sensing equipment, the binding relationship are used to indicate equipment state of the equipment state dependent on the first sensing equipment of the second sensing equipment according to the binding relationship obtained in advance;First sensing equipment generates linkage instruction according to first object state, and linkage instruction is used to indicate the second sensing equipment and the equipment state of the second sensing equipment is updated to the second dbjective state;First sensing equipment sends linkage instruction to the second sensing equipment.

Description

A kind of interlock method of sensing equipment, apparatus and system
Technical field
The invention relates to field of communication technology more particularly to a kind of interlock method of sensing equipment, device and it is System.
Background technology
Internet of Things (Internet of Things, IoT) refers to various sensing equipments, such as rfid device, red Outer inductor, global pick device, laser scanner etc., combine with internet and a huge network being formed.
As shown in Figure 1, being a kind of possible design architecture schematic diagram of Internet of Things.Wherein, each sensing equipment 11 is for adopting Collect the data (for example, temperature data of temperature sensor acquisition) sensed and/or executes control instruction (for example, intelligent door lock Execute door open command).Collected data can be sent to gateway 12 by each sensing equipment 11, be sent the data by gateway 12 To IoT cloud platforms 13.IoT cloud platforms 13 can perform unified decision according to the data that sensing equipment 11 reports, for example, management passes Feel the connection relation etc. between equipment 11.And user can be sent to IoT cloud platforms 13 using 14 by IoT and be set for managing sensing Standby 11 management instructs, for example, user triggers door open command on IoT is using 14, which is sent to by IoT using 14 IoT cloud platforms 13, which is sent to corresponding sensing equipment 11 by IoT cloud platforms 13 by gateway 12, finally by this Sensing equipment 11 executes door open command.
In IoT, there may be linkage strategies between sensing equipment 11.For example, after door (sensing equipment A) is opened, need Headlamp (sensing equipment B) is wanted to automatically open.In this regard, still as shown in Figure 1, a regulation engine 15 can be arranged in the gateway 12, Linkage decision is executed according to the linkage strategy of storage by regulation engine 15.For example, sensing equipment A is by the data of equipment of itself state After being sent to gateway 12, the regulation engine 15 in gateway 12 is corresponding according to the data search of the equipment state of sensing equipment A Dynamic strategy, and then the decision instruction of control sensing equipment B is generated, and the decision instruction is sent to sensing equipment B, it is set by sensing Standby B executes the decision instruction, to complete the linkage strategy between sensing equipment A and sensing equipment B.
As can be seen that when executing the linkage strategy between two sensing equipments 11 each time, it is required to by gateway 12 Data according to the equipment state of one of sensing equipment 11 and corresponding linkage strategy generate for another sensing equipment 11 Corresponding decision instruction.So, when the number of sensing equipment 11 is more, the realization of above-mentioned linkage strategy range request gateway 12 Have stronger calculated performance and keeps moment presence, then, once the calculated performance of gateway 12 is not up to standard or gateway When 12 power-off, for example, gateway 12 is arranged in lacking the environment such as the forest for stablizing external power supply, between all sensing equipments 11 The scene that links all will failure.
Invention content
Embodiments herein provides a kind of interlock method of sensing equipment, apparatus and system, can reduce the calculating of gateway Pressure and power demands, to reduce the lower deployment cost of IoT.
In order to achieve the above objectives, embodiments herein adopts the following technical scheme that:
In a first aspect, embodiments herein provides a kind of interlock method of sensing equipment, including:First sensing equipment is true The equipment state of settled preceding first sensing equipment is first object state;First sensing equipment is according to the binding relationship obtained in advance (binding relationship be used to indicate the second sensing equipment equipment state depend on the first sensing equipment equipment state), determine with Second sensing equipment of the first sensing equipment binding;In turn, the first sensing equipment generates linkage instruction according to first object state, Linkage instruction is used to indicate the second sensing equipment and the equipment state of the second sensing equipment is updated to the second dbjective state;That , after the first sensing equipment sends linkage instruction to the second sensing equipment, so that the second sensing equipment is instructed according to the linkage will The equipment state of itself.In this way, in the presence of not gateway, can also realize the first sensing equipment and the second sensing equipment it Between linkage process can also realize the first sensing equipment and the second sensing equipment even if in the case where gateway powers off Between linkage process, also, the calculating pressure of gateway can be reduced, to reduce the lower deployment cost of IoT.
In a kind of possible design method, the first sensing equipment generates linkage instruction according to first object state, including: First sensing equipment generates linkage instruction according to first object state, which instructs the mark for carrying first object state Know.That is, the first object state of itself can be determined as the equipment state of the second sensing equipment by the first sensing equipment, I.e. the second dbjective state is identical as first object state.In this way, the second sensing equipment can be according to first object in linkage instruction The equipment state of itself is also updated to first object state by the mark of state, to realize the first sensing equipment and the second sensing Linkage process between equipment.
In a kind of possible design method, the first sensing equipment is stored with linkage strategy, which is used to indicate: When the equipment state of the first sensing equipment is in first object state, the equipment state of the second sensing equipment is the second target-like State;So, it when the first sensing equipment generates linkage instruction according to first object state, specifically includes:First sensing equipment from this In linkage strategy the second dbjective state corresponding with first object state is searched for the second sensing equipment;In turn, the first sensing is set It is standby that linkage instruction is generated according to second dbjective state, the mark of the second dbjective state is carried in linkage instruction.Subsequently, The mark of the second dbjective state, the second target-like is updated to by the equipment state of itself during two sensing equipments can be instructed according to linkage State.
In a kind of possible design method, determine that the equipment state of current first sensing equipment is in the first sensing equipment Before first object state, further include:First sensing equipment to gateway send the first sensing equipment the first facility information, first Facility information includes the instruction for allowing the first sensing equipment to export and allows the instruction of the first sensing equipment reception.
Second aspect, embodiments herein provide a kind of interlock method of sensing equipment, including:Gateway obtains first and passes Feel the linkage strategy between equipment and the second sensing equipment, which includes linkage condition and linkage as a result, the linkage item The equipment state that part is used to indicate the first sensing equipment is first object state, which is used to indicate the second sensing equipment Equipment state be the second dbjective state;The gateway according to the linkage strategy determine the first sensing equipment and the second sensing equipment it Between there is binding relationship, the binding relationship to be used to indicate the equipment state of the second sensing equipment setting dependent on the first sensing equipment Standby state;The gateway to the first sensing equipment send binding instruction, the binding instruction be used to indicate the first sensing equipment establish with Binding relationship between second sensing equipment.In this way, in subsequent linkage process, even if gateway does not power off or computing capability When insufficient, the first sensing equipment can also determine to have with the first sensing equipment and tie up according to the above-mentioned binding relationship obtained in advance Determine the second sensing equipment of relationship, realizes the linkage process between the first sensing equipment and the second sensing equipment.
In a kind of possible design method, determine that the first sensing equipment and second passes according to the linkage strategy in the gateway Before there is binding relationship between sense equipment, further include:The gateway obtains the first of the first sensing equipment and describes file and the The second of two sensing equipments describes file, and first describes the instruction that file includes permission the first sensing equipment output, the second description File includes the instruction for allowing the second sensing equipment to receive;So, gateway according to the linkage strategy determine the first sensing equipment with When there is binding relationship between second sensing equipment, specifically include:When the first sensing equipment output instruction in comprising execute should The first object of linkage condition instructs, and includes the second target for executing the linkage result in the instruction of the second sensing equipment reception When instruction, which, which determines, has binding relationship between the first sensing equipment and the second sensing equipment.
In a kind of possible design method, which determines to have between the first sensing equipment and the second sensing equipment and tie up Determine relationship, including:When the near field communication protocols that the near field communication protocols that the first sensing equipment uses and the second sensing equipment use When identical, which, which determines, has binding relationship between the first sensing equipment and the second sensing equipment.
In a kind of possible design method, the first of the gateway the first sensing equipment of acquisition describes file, including:The net It closes and receives the first facility information that the first sensing equipment is sent, the first facility information includes the finger for allowing the first sensing equipment to export It enables;The command mappings that the gateway will allow the first sensing equipment to export be to allow the instruction of the first sensing equipment output, obtain the One describes file;Wherein, which obtains the second of the second sensing equipment and describes file, including:The gateway receives the second sensing The second facility information that equipment is sent, the second facility information include the instruction for allowing the second sensing equipment to receive;The gateway will be permitted Perhaps the command mappings that the second sensing equipment receives are the instruction for allowing the second sensing equipment to receive, and obtain second and describe file.
In a kind of possible design method, determine that the first sensing equipment and second passes according to the linkage strategy in the gateway After there is binding relationship between sense equipment, further include:The gateway receives the linkage instruction that the first sensing equipment is sent, the linkage Instruction is used to indicate the second sensing equipment and the equipment state of the second sensing equipment is updated to the second dbjective state;When the gateway is true When determining to have binding relationship between the first sensing equipment and the second sensing equipment, which abandons linkage instruction, avoids second Sensing equipment repeats linkage instruction.
The third aspect, embodiments herein provide a kind of sensing equipment, which is the first sensing equipment, packet It includes:Determination unit, for determining that the equipment state of current first sensing equipment is first object state;It is tied up according to what is obtained in advance Determine relationship, determines that the second sensing equipment with the binding of the first sensing equipment, the binding relationship are used to indicate the second sensing equipment Equipment state depends on the equipment state of the first sensing equipment;Linkage unit refers to for generating linkage according to first object state It enables, linkage instruction is used to indicate the second sensing equipment and the equipment state of the second sensing equipment is updated to the second dbjective state; Transmission unit, for sending linkage instruction to the second sensing equipment.
In a kind of possible design method, which instructs the mark for carrying first object state.
In a kind of possible design method, the first sensing equipment is stored with linkage strategy, which is used to indicate: When the equipment state of the first sensing equipment is in first object state, the equipment state of the second sensing equipment is the second target-like State;The linkage unit, is specifically used for:From the linkage strategy corresponding with first object state the is searched for the second sensing equipment Two dbjective states;Linkage instruction is generated according to the second dbjective state, the mark of the second dbjective state is carried in linkage instruction.
In a kind of possible design method, which is additionally operable to send the first of the first sensing equipment to gateway Facility information, the first facility information include the instruction for allowing the first sensing equipment to export and the first sensing equipment are allowed to receive Instruction.
Fourth aspect, embodiments herein provide a kind of gateway, including:Acquiring unit is set for obtaining the first sensing The standby linkage strategy between the second sensing equipment, the linkage strategy include linkage condition and linkage as a result, the linkage condition is used In indicating that the equipment state of the first sensing equipment is first object state, which is used to indicate setting for the second sensing equipment Standby state is the second dbjective state;Determination unit, for determining that the first sensing equipment is set with the second sensing according to the linkage strategy There is binding relationship, the equipment state which is used to indicate the second sensing equipment to depend on the first sensing equipment between standby Equipment state;Transmission unit, for sending binding instruction to the first sensing equipment, binding instruction is used to indicate the first sensing Equipment establishes the binding relationship between the second sensing equipment.
In a kind of possible design method, which is additionally operable to obtain the first description text of the first sensing equipment The second of part and the second sensing equipment describes file, and first to describe file include the instruction for allowing the first sensing equipment to export, Second describes the instruction that file includes permission the second sensing equipment reception;The determination unit, is specifically used for:When the first sensing equipment Comprising the first object instruction for executing the linkage condition in the instruction of output, and include to hold in the instruction of the second sensing equipment reception When the second target instruction target word of the row linkage result, determining has binding relationship between the first sensing equipment and the second sensing equipment.
In a kind of possible design method, which is specifically used for:When the near field that the first sensing equipment uses is logical When believing that agreement is identical as the near field communication protocols that the second sensing equipment uses, determine the first sensing equipment and the second sensing equipment it Between have binding relationship.
In a kind of possible design method, which is specifically used for:Receive the first of the first sensing equipment transmission Facility information, the first facility information include the instruction for allowing the first sensing equipment to export;The first sensing equipment will be allowed to export Command mappings are the instruction for allowing the first sensing equipment to export, and obtain first and describe file;Receive the transmission of the second sensing equipment Second facility information, the second facility information include the instruction for allowing the second sensing equipment to receive;The second sensing equipment will be allowed to connect The command mappings of receipts are the instruction for allowing the second sensing equipment to receive, and obtain second and describe file.
In a kind of possible design method, which further includes deleting unit, wherein the acquiring unit is additionally operable to connect The linkage instruction of the first sensing equipment transmission is received, linkage instruction is used to indicate the second sensing equipment setting the second sensing equipment Standby state is updated to the second dbjective state;The deleting unit determines that the first sensing equipment is set with the second sensing for working as the gateway When there is binding relationship between standby, linkage instruction is abandoned.
5th aspect, embodiments herein provide a kind of sensing equipment, including:Processor, memory, bus and communication Interface;The memory is for storing computer executed instructions, which is connect with the memory by the bus, when sensing is set When received shipment row, which executes the computer executed instructions of memory storage, so that sensing equipment execution is any of the above-described Item interlock method.
6th aspect, embodiments herein provide a kind of gateway, including:Processor, memory, bus and communication connect Mouthful;For storing computer executed instructions, which is connect with the memory by the bus memory, when gateway is run When, which executes the computer executed instructions of memory storage, so that gateway executes any of the above-described interlock method.
7th aspect, embodiments herein provide a kind of linked system, including any of the above-described gateway, and with the net The first sensing equipment and the second sensing equipment connected Guan Jun.
Eighth aspect, the embodiment of the present application provide a kind of computer readable storage medium, the computer readable storage medium In be stored with instruction, when the instruction is run on any of the above-described sensing equipment so that sensing equipment execute any of the above-described Interlock method.
9th aspect, the embodiment of the present application provide a kind of computer readable storage medium, the computer readable storage medium In be stored with instruction, when the instruction is run on any of the above-described gateway so that gateway execute any of the above-described interlock method.
Tenth aspect, the embodiment of the present application provides a kind of computer program product including instruction, when it is any of the above-described When being run on item sensing equipment so that sensing equipment executes any of the above-described interlock method.
Tenth on the one hand, and the embodiment of the present application provides a kind of computer program product including instruction, when it is at above-mentioned When being run on one gateway so that gateway executes any of the above-described interlock method.
In embodiments herein, the name of above-mentioned sensing equipment and gateway does not constitute equipment itself restriction, in reality In realization, these equipment can occur with other titles.As long as the function of each equipment is similar with embodiments herein, that is, belong to Within the scope of the application claim and its equivalent technologies.
In addition, technique effect caused by any design method can be found in above-mentioned in the third aspect to the tenth one side Technique effect caused by different designs method in one side or second aspect, details are not described herein again.
Description of the drawings
Fig. 1 is the design architecture schematic diagram of Internet of Things in the prior art;
Fig. 2 is a kind of configuration diagram one of linked system provided by the embodiments of the present application;
Fig. 3 is a kind of configuration diagram two of linked system provided by the embodiments of the present application;
Fig. 4 is a kind of configuration diagram three of linked system provided by the embodiments of the present application;
Fig. 5 is a kind of configuration diagram four of linked system provided by the embodiments of the present application;
Fig. 6 is a kind of interaction schematic diagram of the interlock method of sensing equipment provided by the embodiments of the present application;
Fig. 7 is a kind of structural schematic diagram of sensing equipment provided by the embodiments of the present application;
Fig. 8 is a kind of structural schematic diagram of gateway provided by the embodiments of the present application;
Fig. 9 is a kind of hardware architecture diagram one of sensing equipment (or gateway) provided by the embodiments of the present application;
Figure 10 is a kind of hardware architecture diagram two of sensing equipment (or gateway) provided by the embodiments of the present application.
Specific implementation mode
Hereinafter, term " first ", " second " are used for description purposes only, it is not understood to indicate or imply relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include one or more this feature.In the description of the embodiment of the present application, unless otherwise indicated, " multiples' " contains Justice is two or more.
Embodiments herein provides a kind of interlock method of sensing equipment, can be applied to linked system as shown in Figure 2 In 100.The linked system 100 includes at least one gateway 21, and at least one sensing being connected with each gateway 21 is set Standby 22.
Wherein, sensing equipment 22 for sensing measured information, and can convert the information sensed according to certain rules It is exported as the information of electric signal or other required forms.Sensing equipment 22 may include temperature sensor, pressure sensor, again Any type of sensor such as force snesor and light sensor, illustratively, sensing equipment 22 is specifically as follows intelligent family Equipment, the embodiment of the present application such as electricity, terminal and vehicle are not intended to be limited in any this.
Gateway 21 can be used for receiving the instruction etc. of 22 collected data of sensing equipment and the transmission of sensing equipment 22, It can be according to 22 collected data of one or more sensing equipments or instruction, to other 22 transmission datas of sensing equipment or instruction Deng.
In the embodiment of the present application, gateway 21 can will have binding to close according to the linkage strategy between sensing equipment 22 Multiple sensing equipments 22 of system are bound.For example, the linkage strategy between sensing equipment A and sensing equipment B is:As sensing equipment A When in open state, sensing equipment B is opened, i.e.,:There is binding relationship, sensing equipment between sensing equipment A and sensing equipment B The equipment state of B depends on the equipment state of sensing equipment A.So, linkage process is realized in sensing equipment A and sensing equipment B Before, gateway 21 can first establish the binding relationship between sensing equipment A and sensing equipment B, and send binding to sensing equipment A Instruction, to indicate binding relationship that sensing equipment A is established between sensing equipment A and sensing equipment B.
In this way, when sensing equipment A detects that the equipment state of itself is open state, can directly be closed according to above-mentioned binding System determines the sensing equipment B with sensing equipment A bindings, and generates linkage according to the equipment state of itself (i.e. open state) and refer to (for example, open command) is enabled to be sent to sensing equipment B, which is used to indicate sensing equipment B by the equipment state of itself It is updated to open state, to realize the linkage demand between sensing equipment A and sensing equipment B.
As can be seen that in the interlock method of sensing equipment provided by the embodiments of the present application, in the presence of not gateway, First sensing equipment (such as above-mentioned sensing equipment A) can determine and the first sensing equipment according to the binding relationship obtained in advance The second sensing equipment (such as above-mentioned sensing equipment B) with binding relationship.In this way, the first sensing equipment can setting according to itself Standby state (for example, above-mentioned open state) is that the second sensing equipment generates corresponding linkage instruction (such as above-mentioned open command), And linkage instruction is sent to the second sensing equipment, so that the second sensing equipment is instructed according to the linkage and updates the equipment shape of itself State.In this way, in the presence of not gateway, the linkage between the first sensing equipment and the second sensing equipment can also be realized Even if journey can also realize the connection between the first sensing equipment and the second sensing equipment in the case where gateway 21 powers off Dynamic process, also, the calculating pressure of gateway 21 can be reduced, to reduce the lower deployment cost of IoT.
Further, as shown in figure 3, regulation engine 23 can also be arranged in gateway 21, regulation engine 23 can be by first Linkage strategy between sensing equipment and the second sensing equipment is sent to the first sensing equipment.
Wherein, linkage strategy includes two parts of linkage condition and linkage result.Linkage condition is used to indicate the first sensing The equipment state of equipment, linkage result are used to indicate the equipment state of the second sensing equipment.For example, linkage strategy 1 is:When first When the equipment state of sensing equipment is in first object state, the equipment state of the second sensing equipment is the second dbjective state, In, linkage condition is:The equipment state of first sensing equipment is in first object state, and linkage result is:Second sensing equipment Equipment state be the second dbjective state.
In this way, the first sensing equipment can according in gateway 21 regulation engine 23 send linkage strategy, determine and itself Corresponding second sensing equipment of first object state the second dbjective state, for example, the second target-like of the second sensing equipment State is open state, then, the first sensing equipment can generate open command according to the open state, i.e. linkage instruction is sent To the second sensing equipment, in turn, the second sensing equipment instructs according to the linkage equipment state of itself being updated to open state, So that the second sensing equipment completes linkage instruction.
Further, as shown in figure 4, IoT cloud platforms 24 can also be arranged in linked system 100, IoT cloud platforms 24 with it is every One gateway 21 is connected, and is sent to the linkage strategy between the first sensing equipment and the second sensing equipment by IoT cloud platforms 24 Regulation engine 23 in corresponding gateway 21.
In addition, as shown in figure 5, the IoT that is connected with IoT cloud platforms 24 can also be arranged in linked system 100 applies 25, this Sample, the management instruction (for example, management instruction of opening door lock) of user's triggering management sensing equipment 22 on arbitrary IoT is using 25 When, which can be instructed using 25 and be sent to IoT cloud platforms 24 by IoT, be referred to the management by gateway 21 by IoT cloud platforms 24 Corresponding sensing equipment 22 is given in order, finally executes management instruction by corresponding sensing equipment 22.
Hereinafter, the linkage side that a kind of sensing equipment provided by the embodiments of the present application will be elaborated in conjunction with specific embodiments Method, as shown in fig. 6, this method includes:
600, gateway obtains the first of the first sensing equipment and describes file and the second of the second sensing equipment describe file.
Wherein, this first describe file include allow the first sensing equipment export instruction, second describe file include permit Perhaps the instruction that the second sensing equipment receives.
In addition, this first describe file can also include allow the first sensing equipment receive instruction, this second description text Part can also include the instruction for allowing the second sensing equipment to export, and the embodiment of the present application is not intended to be limited in any this.
Specifically, gateway can obtain its facility information from the first sensing equipment, for example, the first facility information, this first Facility information includes the instruction for allowing the first sensing equipment to export, and gateway can also obtain its equipment letter from the second sensing equipment Breath, for example, the second facility information, which includes the instruction for allowing the second sensing equipment to receive.
For example, when the first sensing equipment (or second sensing equipment) uses Z-Wave protocol communications between gateway, it should First facility information (or second facility information) is specifically as follows NIF (node information, nodal information);When the first biography When sense equipment (or second sensing equipment) is communicated between gateway using Zigbee protocol (ZigBee protocol), first facility information (or second facility information) is specifically as follows the match descriptor (matchings of the first sensing equipment (or second sensing equipment) Descriptor).
Include information as shown in Table 1 by taking NIF as an example, in NIF, wherein special byte 0xEF there are one settings in NIF, NIF is divided into two parts by 0xEF, and a part, which is used to indicate sensing equipment, allows n (n >=1) a instruction received, specifically may be used To be indicated with the order class of Z-Wave formats (for example, supported command slass);Another part is used to indicate sensing Equipment allows m (m >=1) a instruction of output, can also be with the order class of Z-Wave formats (for example, controlled Command class) it indicates.It so, can after gateway receives the NIF (i.e. the first facility information) that the first sensing equipment is sent In a manner of using mapping, the first sensing equipment is allowed at least one of n received instruction instruction, first is mapped as and retouches The instruction for allowing the first sensing equipment to receive in file is stated, also, the first sensing equipment is allowed in m exported instruction extremely A few instruction, is mapped as first and describes the instruction for allowing the first sensing equipment to export in file.First describes file after mapping The middle instruction for allowing the first sensing equipment to receive and the instruction for allowing the first sensing equipment to export can be with the lattice of IoT cloud platforms Formula indicates.
Table 1
Allow the instruction 1 received
Allow the instruction 2 received
……
Allow the instruction n received
0xEF
Allow the instruction 1 of output
Allow the instruction 2 of output
……
Allow the instruction m of output
It is, of course, also possible to describe to record sensing equipment, such as the equipment spy of above-mentioned first sensing equipment in file first Property information, for example, the first sensing equipment acquisition data (for example, temperature value, humidity value, switch close or open state Deng), the embodiment of the present application is not intended to be limited in any this.
So, it includes such as 2 institute of table that gateway describes file according to first that the first facility information of the first sensing equipment generates The information shown, wherein the current electricity of the first sensing equipment is 40%, and the instruction that the first sensing equipment receives is allowed to include out Instruction is opened, and the instruction for allowing the first sensing equipment to export includes open command and out code.
Table 2
Similar, when the facility information of the first sensing equipment (or second sensing equipment) is match descriptor, Match descriptor include the two fields of InClusterList and OutClusterList.Wherein, InClusterList fields include the instruction for allowing this sensing equipment to receive, and OutClusterList fields include allowing The instruction of this sensing equipment output.
So, after gateway receives the match descriptor (i.e. the first facility information) that the first sensing equipment is sent, InClusterList fields can also be mapped as first and describe to allow the first sensing equipment in file by the way of mapping OutClusterList fields are mapped as first and describe the finger for allowing the first sensing equipment to export in file by the instruction of reception It enables.
Similar, gateway can generate the second sensing according to the second facility information of the second sensing equipment according to the method described above and set Standby second describes file.
In addition, gateway can also obtain the first of above-mentioned first sensing equipment from IoT cloud platforms describes file and The second of two sensing equipments describes file, and the embodiment of the present application is not intended to be limited in any this.
601, gateway obtains the linkage strategy between the first sensing equipment and the second sensing equipment.
Wherein, above-mentioned linkage strategy specifically may include linkage condition and linkage as a result, linkage condition is used to indicate:First passes The equipment state for feeling equipment is first object state, and linkage result is used to indicate:The equipment state of second sensing equipment is second Dbjective state.
For example, linkage strategy 1 is:When the collected temperature of thermometer is more than 30 degrees Celsius, refrigeration equipment is opened.That , in linkage strategy 1, linkage condition is:Thermometer (the first sensing equipment) collected temperature is more than 30 degrees Celsius, i.e., warm The equipment state of degree meter is that temperature is more than 30 degrees Celsius, and linkage result is:Refrigeration equipment (the second sensing equipment) is opened, that is, is freezed The equipment state of equipment is open state.
Specifically, the first sensing equipment and the second sensing can be obtained by the regulation engine in gateway from IoT cloud platforms Linkage strategy between equipment.
602, gateway determines between the first sensing equipment and the second sensing equipment that there is binding to close according to above-mentioned linkage strategy System, the binding relationship are used to indicate equipment state of the equipment state dependent on the first sensing equipment of the second sensing equipment.
Specifically, gateway can describe file, the second sensing according to the first of the first sensing equipment obtained in step 601 Second linkage strategy for describing to obtain in file and step 602 of equipment determine the first sensing equipment and the second sensing equipment it Between whether have binding relationship.
Illustratively, when the first object comprising the above-mentioned linkage condition of execution in the instruction of the first sensing equipment output refers to It enables, and includes when executing the second target instruction target word of above-mentioned linkage result in the instruction of the second sensing equipment reception, gateway can determine There is binding relationship between first sensing equipment and the second sensing equipment.Otherwise, it may be determined that the first sensing equipment and the second sensing Do not have binding relationship between equipment.
For example, the instruction of the first sensing equipment output includes open command, wrapped in the instruction that the second sensing equipment receives Include out code.Above-mentioned linkage strategy can be:When the first sensing equipment is opened (linkage condition), the second sensing equipment is closed (linkage result).As can be seen that the open command comprising the above-mentioned linkage condition of execution in the instruction of the first sensing equipment output is (i.e. First object instructs), out code (i.e. the second mesh for executing above-mentioned linkage result is included in the instruction that the second sensing equipment receives Mark instruction), then, gateway, which can determine, has binding relationship between the first sensing equipment and the second sensing equipment.
In addition, the near field communication protocols that different sensing equipments use may be different, for example, the first sensing equipment use it is close Field communication protocol is Z-Wave agreements, and the near field communication protocols that the second sensing equipment uses are Zigbee protocol, then, gateway When whether determining between the first sensing equipment and the second sensing equipment with binding relationship, the first biography can also be further judged Whether the near field communication protocols that sense equipment uses and the near field communication protocols that the second sensing equipment uses are identical.
When the near field communication protocols that the first sensing equipment uses are identical as the near field communication protocols that the second sensing equipment uses When, and include the first object instruction for executing above-mentioned linkage condition, the second sensing equipment in the instruction of the first sensing equipment output When in the instruction of reception comprising the second target instruction target word for executing above-mentioned linkage result, gateway can determine the first sensing equipment and the There is binding relationship between two sensing equipments.Otherwise, it may be determined that do not have between the first sensing equipment and the second sensing equipment and tie up Determine relationship.
603, gateway sends binding instruction to the first sensing equipment, and binding instruction is used to indicate the foundation of the first sensing equipment With the binding relationship between the second sensing equipment.
After gateway, which determines, has binding relationship between above-mentioned first sensing equipment and the second sensing equipment, due to the second biography The equipment state of sense equipment is to rely on the equipment state of the first sensing equipment, and therefore, gateway can be sent out to the first sensing equipment Binding is sent to instruct, the first sensing equipment of triggering establishes the binding relationship between the second sensing equipment.In this way, follow-up first sensing Equipment can be according to the equipment state of itself, it is determined whether to the corresponding linkage instruction of the second sensor initiation bound with itself.
Illustratively, when the near field communication protocols that sensing equipment (such as first sensing equipment) uses are Z-Wave agreements When, above-mentioned binding instruction is specifically as follows association (joint) instructions;When sensing equipment (such as first sensing equipment) makes When near field communication protocols are Zigbee protocol, above-mentioned binding instruction is specifically as follows BindReq (in conjunction with instruction).
Certainly, the tool of above-mentioned binding instruction can be arranged in those skilled in the art according to practical experience or practical application scene Body way of realization, the embodiment of the present application are not intended to be limited in any this.
It should be noted that the command format for being applicable in IoT platform formats can be used to carry out between gateway and regulation engine Interaction, can also be interacted, the embodiment of the present application is not intended to be limited in any this using near field protocol format.
Subsequently, it after the first sensing equipment establishes the binding relationship between the second sensing equipment, can continue to execute following Step 604-607, to realize the linkage process between the first sensing equipment and the second sensing equipment.
604, the first sensing equipment determines that the equipment state of current first sensing equipment is first object state.
Illustratively, as shown in figure 5, the management that user can manage sensing equipment 22 by IoT using 25 triggerings instructs, For example, management instruction is the open command of door lock (i.e. the first sensing equipment).So, IoT can be by the open command using 25 IoT cloud platforms 24 are sent to, the open command are sent to by door lock by gateway 21 by IoT cloud platforms 24, then executed by door lock The open command.At this point, door lock can determine that the current equipment state of itself is open state.
Or in the operational process of the first sensing equipment, itself can also be determined according to current collected data Equipment state.For example, temperature sensing device can acquire current temperature value in real time, and will be indicated by current temperature value First object state of the temperature as itself.
605, the first sensing equipment determines that the bound with the first sensing equipment second sensing is set according to above-mentioned binding relationship It is standby.
606, the first sensing equipment generates linkage instruction according to first object state, and linkage instruction is used to indicate the second biography The equipment state of second sensing equipment is updated to the second dbjective state by sense equipment.
Specifically, in step 604, the first sensing equipment can determine that itself current sets according to the data currently acquired Standby state, for example, current collected pressure signal can be converted to electric signal by pressure sensing device, with the current pressure of determination Force value is how many;Door and window sensing equipment can determine that the state when front door is open state or pass according to when the state of front door lock Closed state.
So, since in step 603, the first sensing equipment has been set up the pass of the binding between the second sensing equipment System, therefore, in step 605, the first sensing equipment can be according to above-mentioned binding relationship, and determination has been tied up with the first sensing equipment The second fixed sensing equipment.
And the equipment state of the second sensing equipment depends on the equipment state of the first sensing equipment, then, in step 606 In, the first sensing equipment can be that the second sensing equipment generates linkage instruction according to the first object state determined in step 604.
In a kind of possible design method, the first object state of itself can be determined as second by the first sensing equipment The equipment state of sensing equipment, i.e. the second dbjective state are identical as first object state.So, the first sensing equipment can be direct Linkage instruction is generated according to the first object state, at this point, carrying the mark of first object state in linkage instruction.
For example, the first object state of door lock (the first sensing equipment) is open state (first object state), at this point, the One sensing equipment can be directly by the mark of first object state, for example, mark:On, as electric light is sent to, (the second sensing is set It is standby) linkage instruction.Subsequently, electric light can directly execute linkage instruction, the equipment state of itself is updated to same as door lock Equipment state, that is, execute open electric light instruction.
In alternatively possible design method, the first sensing equipment and can be stored in the first sensing equipment in advance Linkage strategy between two sensing equipments, for example, the linkage strategy is:When the first sensing equipment is opened, the second sensing is closed Equipment.So, in step 606, the first sensing equipment can be searched from above-mentioned linkage strategy for the second sensing equipment first The second dbjective state corresponding with first object state (such as open state), i.e. closed state.In turn, the first sensing equipment will The mark for the closed state determined is carried is sent to the second sensing equipment in linkage instructs.Subsequently, the second sensing equipment can The equipment state update of itself is in off state, that is, executes out code by the mark of closed state in being instructed according to linkage.
In alternatively possible design method, the first sensing equipment and can be stored in the second sensing equipment in advance Linkage strategy between two sensing equipments, for example, the linkage strategy remains as:When the first sensing equipment is opened, second is closed Sensing equipment.So, in step 606, the first sensing equipment carries the mark of the first object state of the first sensing equipment It is sent to the second sensing equipment in linkage instructs.Subsequently, first object state during the second sensing equipment can be instructed according to linkage Mark, corresponding with first object state (such as open state) the second dbjective state is searched from above-mentioned linkage strategy, i.e., Closed state, in turn, the second sensing equipment, which can update the equipment state of itself, to be in off state.
607, the first sensing equipment sends linkage instruction to the second sensing equipment, to realize that the first sensing equipment and second passes Feel the linkage process between equipment.
In this way, in step 604-607, even if can if powering off occurs in gateway or calculated performance is insufficient To realize the linkage process between the first sensing equipment and the second sensing equipment, to reduce the lower deployment cost of IoT.
Optionally, after the first sensing equipment generates above-mentioned linkage instruction, still as shown in fig. 6, above-mentioned interlock method also May include step 608-609.
608, the first sensing equipment sends linkage instruction to gateway.
609, when having binding relationship between the first sensing equipment and the second sensing equipment, gateway abandons the linkage and refers to It enables.
Wherein, in step 608, which can also be instructed and be sent to gateway by the first sensing equipment, at this point, working as gateway Interior rules engine queries are then said to when being stored between the first sensing equipment and the second sensing equipment with binding relationship Bright gateway has indicated the binding relationship between the foundation of the first sensing equipment and the second sensing equipment, then, in step 609 In, gateway can directly abandon linkage instruction, and the second sensing equipment is avoided to repeat linkage instruction.
Certainly, if regulation engine does not inquire the binding relationship between the first sensing equipment and the second sensing equipment, The prior art can be then continued to use, linkage instruction is sent to by the second sensing equipment by gateway by regulation engine, by the second sensing Equipment executes linkage instruction, to complete the linkage process between the first sensing equipment and the second sensing equipment.
It is above-mentioned that mainly scheme provided by the embodiments of the present application is described from the angle of interaction between each network element.It can With understanding, in order to realize above-mentioned function, it comprises hold for above-mentioned first sensing equipment, the second sensing equipment and gateway etc. The corresponding hardware configuration of each function of row and/or software module.Those skilled in the art should be readily appreciated that, in conjunction with herein Disclosed in embodiment description each exemplary unit and algorithm steps, the embodiment of the present application can by hardware or hardware and in terms of The combining form of calculation machine software is realized.Some functions is held in a manner of hardware or computer software driving hardware actually Row depends on the specific application and design constraint of technical solution.Professional technician can carry out each specific application It uses different methods to achieve the described function, but this realization is it is not considered that the range beyond the embodiment of the present application.
The embodiment of the present application can be according to above method example to above-mentioned first sensing equipment, the second sensing equipment and net Pass etc. carries out the division of function module, for example, can correspond to each function divides each function module, it can also be by two or two A above function is integrated in a processing module.The form that hardware had both may be used in above-mentioned integrated module is realized, also may be used It is realized in the form of using software function module.It should be noted that being schematic to the division of module in the embodiment of the present application , only a kind of division of logic function, formula that in actual implementation, there may be another division manner.
In the case where dividing each function module using corresponding each function, Fig. 7 shows involved in above-described embodiment And sensing equipment a kind of possible structural schematic diagram, which includes:Determination unit 71, linkage unit 72 and transmission Unit 73.
Determination unit 71 is for supporting sensing equipment to execute the process 604-605 in Fig. 6;Linkage unit 72 is passed for supporting Sense equipment executes the process 606 in Fig. 6;Transmission unit 73 is for supporting sensing equipment to execute the process 607 in Fig. 6.Wherein, on The function description of corresponding function module can be quoted by stating all related contents for each step that embodiment of the method is related to, herein It repeats no more.
In the case where dividing each function module using corresponding each function, Fig. 8 shows involved in above-described embodiment And gateway a kind of possible structural schematic diagram, which includes:Acquiring unit 81, determination unit 82, transmission unit 83 with And deleting unit 84.
Acquiring unit 81 is for supporting sensing equipment to execute the process 600-601 in Fig. 6;Determination unit 82 is passed for supporting Sense equipment executes the process 602 in Fig. 6;Transmission unit 83 is for supporting sensing equipment to execute the process 603 and 608 in Fig. 6;It deletes Except unit 84 is for supporting sensing equipment to execute the process 609 in Fig. 6.Wherein, each step that above method embodiment is related to All related contents can quote the function description of corresponding function module, and details are not described herein.
Using integrated unit, Fig. 9 shows sensing equipment involved in above-described embodiment (or net Close) a kind of possible structural schematic diagram.The sensing equipment (or gateway) includes:Processing module 1302 and communication module 1303. Processing module 1302 to the action of sensing equipment (or gateway) for carrying out control management.Communication module 1303 is sensed for supporting The communication of equipment (or gateway) and other network entities.The sensing equipment (or gateway) can also include memory module 1301, use In the program code and data of depositing sensing equipment (or gateway).
Wherein, processing module 1302 can be processor or controller, such as can be central processing unit (Central Processing Unit, CPU), general processor, digital signal processor (Digital Signal Processor, DSP), Application-specific integrated circuit (Application-Specific Integrated Circuit, ASIC), field programmable gate array It is (Field Programmable Gate Array, FPGA) or other programmable logic device, transistor logic, hard Part component or its arbitrary combination.It may be implemented or executes illustratively patrols in conjunction with various described in present disclosure Collect box, module and circuit.The processor can also be to realize the combination of computing function, such as include one or more micro- places Manage device combination, the combination etc. of DSP and microprocessor.Communication module 1303 can be transceiver, transmission circuit or communication interface Deng.Memory module 1301 can be memory.
When processing module 1302 is processor, communication module 1303 is transceiver, when memory module 1301 is memory, this Sensing equipment (or gateway) involved by application embodiment is specifically as follows sensing equipment shown in Fig. 10 (or gateway).
As shown in fig.10, the sensing equipment (or gateway) includes:Processor 1312, transceiver 1313, memory 1311 And bus 1314.Wherein, transceiver 1313, processor 1312 and memory 1311 are connected with each other by bus 1314;Always Line 1314 can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or extension Industrial standard architectures (Extended Industry Standard Architecture, EISA) bus etc..The bus can be with It is divided into address bus, data/address bus, controlling bus etc..For ease of indicating, only indicated with a thick line in Figure 10, it is not intended that Only a bus or a type of bus.
In the above-described embodiments, all or part of can be come in fact by software, hardware, firmware or its arbitrary combination It is existing.When being realized using software program, can entirely or partly occur in the form of a computer program product.The computer Program product includes one or more computer instructions.When loading on computers and executing the computer program instructions, entirely Portion is partly generated according to the flow or function described in the embodiment of the present application.The computer can be all-purpose computer, specially With computer, computer network or other programmable devices.The computer instruction can be stored in computer-readable storage In medium, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the meter Calculation machine instruction can from a web-site, computer, server or data center by it is wired (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, service Device or data center's transmission.The computer readable storage medium can be any usable medium that computer can access or It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be Magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state disk Solid State Disk (SSD)) etc..
The above, the only specific implementation mode of the application, but the protection domain of the application is not limited thereto, it is any Change or replacement in the technical scope that the application discloses, should all cover within the protection domain of the application.Therefore, this Shen Protection domain please should be based on the protection scope of the described claims.

Claims (23)

1. a kind of interlock method of sensing equipment, which is characterized in that including:
First sensing equipment determines that the equipment state of presently described first sensing equipment is first object state;
First sensing equipment is determined and is passed with the second of first sensing equipment binding according to the binding relationship obtained in advance Feel equipment, the binding relationship is used to indicate the equipment state of second sensing equipment dependent on first sensing equipment Equipment state;
First sensing equipment generates linkage instruction according to the first object state, and the linkage instruction is used to indicate described The equipment state of second sensing equipment is updated to the second dbjective state by the second sensing equipment;
First sensing equipment sends the linkage instruction to second sensing equipment.
2. according to the method described in claim 1, it is characterized in that, linkage instruction carries the first object state Mark.
3. described according to the method described in claim 1, it is characterized in that, first sensing equipment is stored with linkage strategy Linkage strategy is used to indicate:When the equipment state of first sensing equipment is in the first object state, described second The equipment state of sensing equipment is second dbjective state;
Wherein, first sensing equipment generates linkage instruction according to the first object state, including:
First sensing equipment is that second sensing equipment is searched and the first object state from the linkage strategy Corresponding second dbjective state;
First sensing equipment generates linkage instruction according to second dbjective state, is carried in the linkage instruction described The mark of second dbjective state.
4. method according to any one of claim 1-3, which is characterized in that determined in the first sensing equipment presently described Before the equipment state of first sensing equipment is first object state, further include:
First sensing equipment sends the first facility information of first sensing equipment, first facility information to gateway Including the instruction for allowing first sensing equipment to export and the instruction for allowing first sensing equipment to receive.
5. a kind of interlock method of sensing equipment, which is characterized in that including:
Gateway obtains the linkage strategy between the first sensing equipment and the second sensing equipment, and the linkage strategy includes linkage condition It is described with linkage as a result, the equipment state that the linkage condition is used to indicate first sensing equipment is first object state The equipment state that linkage result is used to indicate second sensing equipment is the second dbjective state;
The gateway is determined to have between first sensing equipment and second sensing equipment according to the linkage strategy and be tied up Determine relationship, the binding relationship is used to indicate the equipment state of second sensing equipment dependent on first sensing equipment Equipment state;
The gateway sends binding instruction to first sensing equipment, and the binding instruction is used to indicate first sensing and sets The standby binding relationship established between second sensing equipment.
6. according to the method described in claim 5, it is characterized in that, determining described according to the linkage strategy in the gateway Before there is binding relationship between one sensing equipment and second sensing equipment, further include:
The gateway obtains the first of first sensing equipment the second description for describing file and second sensing equipment File, described first describes the instruction that file includes permission the first sensing equipment output, and described second, which describes file, includes The instruction for allowing second sensing equipment to receive;
Wherein, the gateway determines between first sensing equipment and second sensing equipment have according to the linkage strategy There is binding relationship, including:
When in the instruction of first sensing equipment output comprising the first object instruction for executing the linkage condition, and described the When in the instruction that two sensing equipments receive comprising the second target instruction target word for executing the linkage result, the gateway determines described the There is binding relationship between one sensing equipment and second sensing equipment.
7. according to the method described in claim 6, it is characterized in that, the gateway determines first sensing equipment and described the There is binding relationship between two sensing equipments, including:
When the near field communication protocols that the near field communication protocols that first sensing equipment uses are used with second sensing equipment When identical, the gateway, which determines, has binding relationship between first sensing equipment and second sensing equipment.
8. the method described according to claim 6 or 7, which is characterized in that the first of the first sensing equipment of the gateway acquisition is retouched File is stated, including:
The gateway receives the first facility information that first sensing equipment is sent, and first facility information includes allowing institute State the instruction of the first sensing equipment output;
The gateway is that first sensing equipment is allowed to export by the command mappings of the first sensing equipment output are allowed Instruction, obtains described first and describes file;
Wherein, the gateway obtains the second of the second sensing equipment and describes file, including:
The gateway receives the second facility information that second sensing equipment is sent, and second facility information includes allowing institute State the instruction of the second sensing equipment reception;
The gateway will allow the command mappings that second sensing equipment receives to be that second sensing equipment is allowed to receive Instruction, obtains described second and describes file.
9. according to the method described in any one of claim 5-8, which is characterized in that in the gateway according to the linkage strategy It determines after there is binding relationship between first sensing equipment and second sensing equipment, further includes:
The gateway receives the linkage instruction that first sensing equipment is sent, and the linkage instruction is used to indicate described second and passes The equipment state of second sensing equipment is updated to the second dbjective state by sense equipment;
When the gateway, which determines, has binding relationship between first sensing equipment and second sensing equipment, the net It closes and abandons the linkage instruction.
10. a kind of sensing equipment, the sensing equipment is the first sensing equipment, which is characterized in that including:
Determination unit, for determining that the equipment state of presently described first sensing equipment is first object state;According to obtaining in advance The binding relationship taken determines that the second sensing equipment with first sensing equipment binding, the binding relationship are used to indicate institute The equipment state for stating the second sensing equipment depends on the equipment state of first sensing equipment;
Linkage unit, for generating linkage instruction according to the first object state, the linkage, which instructs, is used to indicate described the The equipment state of second sensing equipment is updated to the second dbjective state by two sensing equipments;
Transmission unit, for sending the linkage instruction to second sensing equipment.
11. the first sensing equipment according to claim 10, which is characterized in that the linkage instruction carries described first The mark of dbjective state.
12. the first sensing equipment according to claim 10, which is characterized in that first sensing equipment is stored with linkage Strategy, the linkage strategy are used to indicate:When the equipment state of first sensing equipment is in the first object state, The equipment state of second sensing equipment is second dbjective state;
The linkage unit, is specifically used for:It is that second sensing equipment is searched and first mesh from the linkage strategy Corresponding second dbjective state of mark state;Linkage instruction is generated according to second dbjective state, is carried in the linkage instruction There is the mark of second dbjective state.
13. the first sensing equipment according to any one of claim 10-12, which is characterized in that
The transmission unit is additionally operable to send the first facility information of first sensing equipment, first equipment to gateway Information includes the instruction for allowing first sensing equipment to export and allows the instruction of the first sensing equipment reception.
14. a kind of gateway, which is characterized in that including:
Acquiring unit, for obtaining the linkage strategy between the first sensing equipment and the second sensing equipment, the linkage strategy packet Linkage condition and linkage are included as a result, the equipment state that the linkage condition is used to indicate first sensing equipment is first object State, the equipment state that the linkage result is used to indicate second sensing equipment is the second dbjective state;
Determination unit, for determining between first sensing equipment and second sensing equipment have according to the linkage strategy There are binding relationship, the equipment state that the binding relationship is used to indicate second sensing equipment to be set dependent on first sensing Standby equipment state;
Transmission unit, for sending binding instruction to first sensing equipment, the binding instruction is used to indicate described first Sensing equipment establishes the binding relationship between second sensing equipment.
15. gateway according to claim 14, which is characterized in that
The acquiring unit, is additionally operable to obtain the first of first sensing equipment and describes file and second sensing equipment Second file described, described first to describe file include the instruction for allowing first sensing equipment to export, and described second retouches It includes the instruction for allowing second sensing equipment to receive to state file;
The determination unit, is specifically used for:When in the instruction of first sensing equipment output comprising executing the linkage condition First object instruction, and second sensing equipment receive instruction in comprising execute it is described linkage result the second target refer to When enabling, determining has binding relationship between first sensing equipment and second sensing equipment.
16. gateway according to claim 15, which is characterized in that
The determination unit, is specifically used for:When the near field communication protocols that first sensing equipment uses and described second sense When the near field communication protocols that equipment uses are identical, determine to have between first sensing equipment and second sensing equipment and tie up Determine relationship.
17. gateway according to claim 15 or 16, which is characterized in that
The acquiring unit, is specifically used for:Receive the first facility information that first sensing equipment is sent, first equipment Information includes the instruction for allowing first sensing equipment to export;The command mappings of first sensing equipment output will be allowed to be The instruction for allowing the first sensing equipment output, obtains described first and describes file;Second sensing equipment is received to send The second facility information, second facility information includes the instruction for allowing second sensing equipment to receive;Described in allowing The command mappings that second sensing equipment receives are the instruction for allowing second sensing equipment to receive, and obtain the second description text Part.
18. according to the gateway described in any one of claim 14-17, which is characterized in that the gateway further includes deleting unit, Wherein,
The acquiring unit is additionally operable to receive the linkage instruction that first sensing equipment is sent, and the linkage instruction is for referring to Show that the equipment state of second sensing equipment is updated to the second dbjective state by second sensing equipment;
The deleting unit determines between first sensing equipment and second sensing equipment have for working as the gateway When binding relationship, the linkage instruction is abandoned.
19. a kind of sensing equipment, which is characterized in that including:Processor, memory, bus and communication interface;
For storing computer executed instructions, the processor is connect with the memory by the bus memory, When the sensing equipment is run, the processor executes the computer executed instructions of the memory storage, so that institute State the interlock method for the sensing equipment that sensing equipment is executed as described in any one of claim 1-4.
20. a kind of gateway, which is characterized in that including:Processor, memory, bus and communication interface;
For storing computer executed instructions, the processor is connect with the memory by the bus memory, When the gateway is run, the processor executes the computer executed instructions of the memory storage, so that the net Close the interlock method for executing the sensing equipment as described in any one of claim 5-9.
21. a kind of linked system, which is characterized in that including:Gateway as described in any one of claim 14-18, Yi Jiru The first sensing equipment described in any one of claim 10-13;Have between first sensing equipment and the second sensing equipment There are binding relationship, the gateway to be connected with first sensing equipment and second sensing equipment.
22. a kind of computer readable storage medium, instruction is stored in the computer readable storage medium, which is characterized in that When described instruction is run on the sensing equipment as described in any one of claim 10-13 so that the sensing equipment is held The interlock method of sensing equipment of the row as described in any one of claim 1-4.
23. a kind of computer readable storage medium, instruction is stored in the computer readable storage medium, which is characterized in that When described instruction is run on the gateway as described in any one of claim 14-18 so that the gateway executes such as right It is required that the interlock method of the sensing equipment described in any one of 5-9.
CN201710187470.7A 2017-03-27 2017-03-27 A kind of interlock method of sensing equipment, apparatus and system Pending CN108667858A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710187470.7A CN108667858A (en) 2017-03-27 2017-03-27 A kind of interlock method of sensing equipment, apparatus and system
PCT/CN2018/079036 WO2018177121A1 (en) 2017-03-27 2018-03-14 Sensing device linkage method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710187470.7A CN108667858A (en) 2017-03-27 2017-03-27 A kind of interlock method of sensing equipment, apparatus and system

Publications (1)

Publication Number Publication Date
CN108667858A true CN108667858A (en) 2018-10-16

Family

ID=63674141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710187470.7A Pending CN108667858A (en) 2017-03-27 2017-03-27 A kind of interlock method of sensing equipment, apparatus and system

Country Status (2)

Country Link
CN (1) CN108667858A (en)
WO (1) WO2018177121A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111818132A (en) * 2020-06-19 2020-10-23 深圳奇迹智慧网络有限公司 Control method and device of Internet of things equipment, computer equipment and storage medium
CN113381914A (en) * 2020-02-25 2021-09-10 青岛海尔洗衣机有限公司 Edge computing equipment management method, device, equipment and system
WO2022007354A1 (en) * 2020-07-08 2022-01-13 珠海格力电器股份有限公司 Linkage control method and apparatus for smart device, and device and storage medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110737202A (en) * 2019-11-19 2020-01-31 宁波智轩物联网科技有限公司 linkage system based on intelligent home system
CN113114779B (en) * 2021-04-23 2022-09-02 杭州萤石软件有限公司 Configuration method, terminal and system for linkage of Internet of things equipment
CN113485206A (en) * 2021-08-06 2021-10-08 时代云英(重庆)科技有限公司 Extensible Internet of things system and method
CN114157725B (en) * 2021-11-11 2023-09-12 珠海格力电器股份有限公司 Method, device, server, electronic equipment and storage medium for equipment linkage
CN114679480A (en) * 2022-02-14 2022-06-28 深圳绿米联创科技有限公司 Device control method, device, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070073836A1 (en) * 2005-09-27 2007-03-29 Choi Yong H Sensor node assistant apparatus, sensor node integrated development apparatus, and sensor network development system using the same
CN104932456A (en) * 2015-04-27 2015-09-23 小米科技有限责任公司 Intelligent scene realizing method and device, intelligent terminal and controller
CN105099835A (en) * 2014-04-21 2015-11-25 青岛海尔智能家电科技有限公司 Linkage establishing method and device
CN105807618A (en) * 2014-12-29 2016-07-27 联想(北京)有限公司 Control method and first central control device
CN205721123U (en) * 2016-03-04 2016-11-23 橙朴(上海)智能科技有限公司 A kind of intelligent home control system of decentration

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808499B (en) * 2015-03-09 2019-01-15 联想(北京)有限公司 A kind of method and control device based on linkage rule control smart home device
CN105676656B (en) * 2015-12-31 2019-11-26 联想(北京)有限公司 Processing method and electronic equipment
CN106100866B (en) * 2016-05-27 2021-04-02 上海物联网有限公司 Intelligent detection device, configuration device and method based on regional linkage
CN106527162A (en) * 2016-11-30 2017-03-22 海尔优家智能科技(北京)有限公司 Linkage control method and device based on AllJoyn

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070073836A1 (en) * 2005-09-27 2007-03-29 Choi Yong H Sensor node assistant apparatus, sensor node integrated development apparatus, and sensor network development system using the same
CN105099835A (en) * 2014-04-21 2015-11-25 青岛海尔智能家电科技有限公司 Linkage establishing method and device
CN105807618A (en) * 2014-12-29 2016-07-27 联想(北京)有限公司 Control method and first central control device
CN104932456A (en) * 2015-04-27 2015-09-23 小米科技有限责任公司 Intelligent scene realizing method and device, intelligent terminal and controller
CN205721123U (en) * 2016-03-04 2016-11-23 橙朴(上海)智能科技有限公司 A kind of intelligent home control system of decentration

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113381914A (en) * 2020-02-25 2021-09-10 青岛海尔洗衣机有限公司 Edge computing equipment management method, device, equipment and system
CN111818132A (en) * 2020-06-19 2020-10-23 深圳奇迹智慧网络有限公司 Control method and device of Internet of things equipment, computer equipment and storage medium
CN111818132B (en) * 2020-06-19 2023-05-23 深圳奇迹智慧网络有限公司 Control method and device of Internet of things equipment, computer equipment and storage medium
WO2022007354A1 (en) * 2020-07-08 2022-01-13 珠海格力电器股份有限公司 Linkage control method and apparatus for smart device, and device and storage medium

Also Published As

Publication number Publication date
WO2018177121A1 (en) 2018-10-04

Similar Documents

Publication Publication Date Title
CN108667858A (en) A kind of interlock method of sensing equipment, apparatus and system
US9299434B2 (en) Dedicated egress fast path for non-matching packets in an OpenFlow switch
JP5994851B2 (en) Transfer device control device, transfer device control method, communication system, and program
WO2017129014A1 (en) Method and apparatus for controlling internet of things device, and server and mobile device
US20150358232A1 (en) Packet Forwarding Method and VXLAN Gateway
US9479504B2 (en) Method and apparatus for controlling access between home device and external server in home network system
CN107872486B (en) Communication method and device
JP6269999B2 (en) Packet processing method and apparatus
KR102257121B1 (en) Method and system for dual role handling in a wireless environment
US11337211B2 (en) Operation request generating method, device, and system
CN104038401A (en) Interoperability for distributed overlay virtual environments
US10225183B2 (en) System and method for virtualized receive descriptors
US20170222925A1 (en) Control method, packet processing device, and storage medium
EP2945340A1 (en) Operation trigger method and device for machine-to-machine communications
KR20120106640A (en) Soc-based device for packet filtering and packet filtering method thereof
US9537751B2 (en) Divided hierarchical network system based on software-defined networks
CN103283189A (en) Communication system and communication method
US8990428B2 (en) System and method for facilitating communication between different protocol stacks via virtual communication devices
EP2720434A1 (en) Method for devices adressing within a network
US9686149B2 (en) Information processing system, relay device, and information processing method
CN105530119B (en) The Controller-to-Controller interface being abstracted for multitiered network
KR101645251B1 (en) Protocol dynamic configuration system for reflecting network characteristics in service oriented architecture and Method thereof
US9729434B2 (en) Processing requests for services in a service request at a receiving controller and processing controller in a switch
US20170164262A1 (en) Communication terminal, communication method, and communication program
CN105245455A (en) Flow table distributing method, packet forwarding method and forwarding device in software defined network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181016