Specific embodiment
Here explanation will be performed to exemplary embodiment in detail, example is illustrated in the accompanying drawings.Following description is related toDuring attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar element.Following exemplary embodimentDescribed in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appendedThe example of the consistent device and method of some aspects being described in detail in claims, of the invention.
Fig. 1 is the flow chart according to a kind of method of access intelligent gateway device shown in an exemplary embodiment.Such as Fig. 1Shown, the method for the access intelligent gateway device may comprise steps of.
In step 110, intelligent gateway device issues network insertion configuration information to the sub- equipment for being connected to itself.
Wherein, intelligent gateway device includes gateway device or is added to the smart machine of gateway device, in a kind of implementationIn mode, the smart machine for being added to gateway device includes air-conditioning companion.Sub- equipment is the equipment for being pre-attached to intelligent gateway,For example, intelligent gateway belongs to the equipment in external member or is connected to the intelligent network subsequently through user's operation when equipment is dispatched from the factoryThe equipment of pass.
It is connected to by the equipment belonged to intelligent gateway device in external member in the network that intelligent gateway device creates, fromAnd by intelligent gateway device, control the operation of equipment being connect with intelligent gateway.In smart machine, at least one net is addedEquipment is closed, carries out the establishment of network, sub- equipment is connected to intelligent gateway device by the network created by the intelligent gateway deviceIn the network of establishment, intelligent gateway device is connected to so as to fulfill by sub- equipment.
In one embodiment, the network that intelligent gateway device creates is ZigBee-network, and sub- equipment need to be connected to netDuring network, the corresponding network of access configuration information is connected to according to network insertion configuration information, network insertion configuration information includesParameter PIN ID (network identifier, full name Personal Area Network ID) and parameter in Zigbee protocolChannel (channel) by network insertion configuration information, judges whether sub- equipment can be linked into intelligent gateway device establishmentIn network, when the PIN ID and channel for the network that two equipment are established is identical, two equipment just can form same ZigBeeNetwork.
Intelligent gateway device is pre-created ZigBee-network, obtains the PIN ID and channel of ZigBee-network, sub- equipmentBe connected in the ZigBee-network that intelligent gateway device is pre-created, intelligent gateway device by the PIN ID of ZigBee-network andChannel is handed down to sub- equipment, and sub- equipment is made to obtain the PIN identical with the ZigBee-network that intelligent gateway device is pre-createdID and channel.
In step 130, it in the application program for the intelligent terminal for being connected to intelligent gateway device, shows and is connect according to networkEnter the sub- equipment that configuration information is connected to intelligent gateway device.
Wherein, intelligent terminal is connected to the Zigbee network of intelligent gateway device establishment, and intelligent terminal is mobile terminal, exampleSuch as mobile phone terminal, the application program mating with intelligent gateway device is housed on intelligent terminal.
Network connection is established between intelligent terminal and intelligent gateway, in one embodiment, intelligent terminal and intelligent networkNetwork connection is established by 2G/3G/4G/5G or WIFI etc. between pass.Intelligent terminal can be desktop computer, notebook electricityBrain, tablet computer, smart mobile phone etc. are herein without limiting.The application program of intelligent terminal can be that application program intelligence is wholeEnd, can also be Web page intelligent terminal, is not limited herein.
After intelligent gateway is connected to intelligent terminal, it can be shown in the application program of intelligent terminal and be connected to intelligent networkThe sub- equipment of equipment is closed, so as to which user can manipulate the sub- equipment of display according to the sub- equipment shown in application program,Such as control being turned on and off for sub- equipment.
It, can be automatic in the application program of intelligent terminal this embodiment achieves after intelligent gateway is connected to intelligent terminalDisplay is connected to the sub- equipment of intelligent gateway device, and the equipment in all external members is carried out without user to be added to intelligence one by oneThe operation at end so as to simplify user's operation, improves user experience, solves that user's operation is cumbersome, and user experience is poorThe problem of.
Fig. 2 is the flow chart of a kind of method of access intelligent gateway device shown according to another exemplary embodiment.Such asShown in Fig. 2, the method for the access intelligent gateway device can also include the following steps
In step 210, the network insertion configuration information that sub- equipment storage issues.
Wherein, intelligent gateway device is pre-created ZigBee-network, obtains the network insertion configuration information of ZigBee-networkPIN ID and channel.After sub- equipment is connected to intelligent gateway device, intelligent gateway device sends PIN ID and channelTo sub- equipment, sub- equipment receives the PIN ID and channel identical with the ZigBee-network that intelligent gateway device is pre-created, andThe PIN ID and channel is stored to itself, so as to be connected to the net of intelligent gateway device establishment according to PIN ID and channelNetwork.
In one exemplary embodiment, network insertion configuration information can also get intelligent gateway device and be pre-createdZigBee-network PIN ID and channel, then PIN ID and channel are configured in sub- equipment, so as to make sub- equipmentObtain the PIN ID and channel identical with the ZigBee-network that intelligent gateway device is pre-created.
In step 230, the network of intelligent gateway device establishment is connected to according to the network insertion configuration information of storage.
Wherein, according to the PIN ID and channel of network insertion configuration information, when with the PIN ID of intelligent gateway device andWhen channel is identical, just sub- equipment is connected in the ZigBee-network of intelligent gateway establishment, so as to pass through intelligent gateway deviceSub- equipment is controlled, realizes the networking of sub- equipment and intelligent gateway device.
Intelligent gateway device is connected to according to the network insertion configuration information of storage this embodiment achieves sub- equipment.
In one exemplary embodiment, the method for the access intelligent gateway device can also include the following steps.
In the application program for the intelligent terminal for being connected to intelligent gateway device, pre-stored automation scene is shown.
Wherein, it is shown pre-stored automatic equipped with the application program mating with intelligent gateway device on intelligent terminalChange scene.
Automation scene is answered for intelligent gateway device with being connected to the linkage that the sub- equipment of intelligent gateway device automatically formsWith scene, the sub- equipment automated in scene is communicatively coupled including triggering equipment and controlled plant, the two by gateway, whenWhen triggering equipment meets trigger condition, gateway control controlled plant performs corresponding operation.In other embodiments, intelligent gatewayEquipment can be other smart machines, and the present invention is not limited thereto.
Intelligent gateway device is connected to cloud server, so as to obtain the data that cloud server issues, passes through cloudIt holds server monitoring access intelligent gateway device and automates the realization of scene.Cloud server is accessed for the first time in intelligent gatewayBefore, interim automation scene can be stored in intelligent gateway device, this automates scene with temporary identifier, works as intelligence temporarilyEnergy gateway accessing cloud server, then cloud server, which issues, automates scene identity to intelligent gateway device, automates sceneIt is identified as the mark data corresponding to automation scene.After intelligent gateway device receives automation scene identity, covering is interimAutomation scene identity is stored, so as to according to automation scene identity, be shown in the application program of intelligent terminal automaticChange scene identity and automate scene accordingly.After intelligent gateway gets automation scene identity, when it is again connected to itThe application program of its intelligent terminal, cloud server are read out, and in intelligence the automation scene for being stored in intelligent gatewayIt is shown in the application program of terminal.
User by showing the automation scene for being stored in intelligent gateway in the application program of intelligent terminal automaticallyShow, do not need to user and required automation scene is once again set up, simplify user's operation, user experience is good.User canTo check current automation field list or automation scene realized automatically into edlin, and by Application MonitoringChange the state of scene.
In one exemplary embodiment, the method for the access intelligent gateway device can also include the following steps.
Automation scene is when being triggered, and intelligent gateway device controlled is set to realize in the corresponding sub- equipment of automation scenePreparation send control instruction.
Wherein, control instruction operates accordingly for controlled plant to be controlled to perform.Sub- equipment in automation scene includesTrigger equipment and controlled plant, the triggering equipment in sub- equipment is for automating the triggering of scene, the controlled plant in sub- equipmentFor performing corresponding operation, to realize automation scene, control instruction is used for control of the intelligent gateway device to controlled plant,Controlled plant perceives control instruction, and performs corresponding operation according to control instruction, so as to fulfill automation scene.
, after equipment operation is triggered, intelligent gateway device sends control instruction to controlled plant, so as to control controlled plantCorresponding operation is performed, to realize automation scene.It can be intelligent gateway device to trigger equipment, when intelligent gateway device conductAfter triggering equipment operation, to the controlled plant transmission control instruction realized in the corresponding sub- equipment of automation scene, controlled plantCorresponding operation is further performed according to control instruction, realizes automation scene.
Triggering equipment can also be the sub- equipment of intelligent gateway device, after group equipment is as triggering equipment operation, Xiang ShiNow other corresponding sub- equipment of automation scene send control instruction, further realize automation scene according to control instruction.
In exemplary embodiment in the specific implementation, intelligent gateway device is air-conditioning companion, the triggering in sub- equipmentEquipment is door and window sensor, and when automation scene is opening of doors and windows, electric light is opened, and is realized in the corresponding sub- equipment of automation sceneControlled plant be light switch.When opening of doors and windows, the signal of opening of doors and windows is sent to air-conditioning companion by door and window inductor, emptyCompanion is adjusted to send control instruction to the light switch for realizing automation scene, light switch refers to after receiving control instruction according to controlIt enables, control electric light is opened, the automation scene opened so as to fulfill electric light.
Controlled plant is controlled to perform corresponding operation by control instruction this embodiment achieves intelligent gateway device.
In one exemplary embodiment, the method for the access intelligent gateway device can also include the following steps.
The feedback information that controlled plant is sent is received, and feedback information is shown.
Wherein, feedback information is used for the realization of monitoring automation scene.When controlled plant performs accordingly according to control instructionOperation after, will realize that the automation whether successful feedback information of scene is sent to intelligent gateway device, so as to further basisFeedback information judges to automate whether scene is successfully realized.
The feedback information received is uploaded to the cloud server of connection by intelligent gateway device, and cloud server is furtherAccording to feedback information, learn whether automation scene is successfully realized, so as to the realization of monitoring automation scene.Cloud server canThe information for automating the whether successful realization of scene to be fed back to the intelligent terminal of intelligent gateway device connection, lead to thereby using familyThe application program for crossing intelligent terminal learns whether the realization of automation scene succeeds.When automation scene fails realization,Cloud server can by feedback information, find out automation scene fail realization the reason of, so as to automate sceneThe reason of the realizing that fail is repaired.
It is automatic for monitoring this embodiment achieves after controlled plant performs corresponding operation according to control instruction, showingChange the feedback information of the realization of scene.
In one exemplary embodiment, which is air-conditioning companion.Air-conditioning companion, net built in air-conditioning companionIt closes, further includes jack body, jack body, which is included on housing, opens up jack, and inserted sheet is also installed by the jack is axially extending.The power supply of air-conditioning companion access is powered by the jack body to the equipment for accessing the jack body.
Fig. 3 is the flow chart that automation scene is realized in a kind of application scenarios.As shown in figure 3, Multifunctional gateway is intelligenceEnergy gateway device, when automation scene is opening of doors and windows, electric light is opened, and door and window sensor is the triggering equipment in sub- equipment, subControlled plant in equipment is light switch.According to the triggering of automation scene, opening of doors and windows, door and window sensor sensing to door and windowIt opens, the signal of opening of doors and windows is sent to Multifunctional gateway, Multifunctional gateway sends control instruction and automates scene to realizationCorresponding light switch, control instruction are used to control the unlatching of light switch, realize automation scene.Realize automation sceneAfterwards, Multifunctional gateway receives the feedback information of the realization of the monitoring automation scene of light switch transmission, and Multifunctional gateway willFeedback information uploads to high in the clouds, feedback information is obtained from high in the clouds by the APP of intelligent terminal, so as to pass through APP monitoring automationsWhether the realization of scene succeeds.
Fig. 4 is the block diagram according to a kind of device of access intelligent gateway device shown in an exemplary embodiment.The deviceThe all or part of step of the method for any shown access intelligent gateway devices of Fig. 1 is performed, as shown in figure 4, the device packetIt includes but is not limited to:Information issues module 310 and equipment display module 330.
Information issues module 310 and issues network insertion with confidence to the sub- equipment for being connected to itself for intelligent gateway deviceBreath, sub- equipment are belonged to the equipment in external member by intelligent gateway device.
Equipment display module 330 is used for the application program in the intelligent terminal for being connected to intelligent gateway device, shows rootThe sub- equipment of intelligent gateway device is connected to according to network insertion configuration information.
Fig. 5 is the block diagram of the device of a kind of access intelligent gateway device shown according to another exemplary embodiment.Such as Fig. 5Shown, the device of the access intelligent gateway device is further included but is not limited to:Memory module 410 and network connecting module 430.
Memory module 410 is used for the network insertion configuration information that sub- equipment storage issues.
Network connecting module 430 is used to be connected to intelligent gateway device establishment according to the network insertion configuration information of storageNetwork.
In one exemplary embodiment, the device of the access intelligent gateway device is further included but is not limited to:
Scene display module, in the application program for the intelligent terminal for being connected to intelligent gateway device, display to be advanceThe automation scene of storage.
In one exemplary embodiment, the present invention includes a kind of communication equipment, which includes:
Processor;And
Memory is stored with computer-readable instruction on memory, is realized when computer-readable instruction is executed by processorThe method of above-mentioned access intelligent gateway device.
In one exemplary embodiment, the present invention includes a kind of computer readable storage medium, is stored thereon with calculatingMachine program, the method that above-mentioned access intelligent gateway device is realized when computer program is executed by processor.
The function of modules and the realization process of effect refer to the side of above-mentioned access intelligent gateway device in above deviceThe realization process of step is corresponded in method, details are not described herein.
It should be understood that the invention is not limited in the precision architecture for being described above and being shown in the drawings, andAnd various modifications and change can be being performed without departing from the scope.The scope of the present invention is only limited by appended claim.