Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to the present invention
Embodiment is described in further detail.
Refer to Fig. 1, the structure that it illustrates the intelligent domestic system 100 that one embodiment of the invention provides is shown
It is intended to.This intelligent domestic system 100 includes: management terminal 120, server 140, gateway device 160 and
At least one intelligent home device 180.
Management terminal 120 can be smart mobile phone, panel computer, E-book reader, MP3 player
(Moving Picture E11perts Group Audio Layer III, dynamic image expert's compression standard audio layer
Face 3), MP4 (Moving Picture E11perts Group Audio Layer IV, dynamic image expert compress
Standard audio aspect 4) player, pocket computer on knee and desk computer etc..Alternatively, management
Terminal 120 is run and has the management program possessing Smart Home management function.
It is connected by cable network or wireless network between management terminal 120 and server 140.Alternatively,
It is connected by cable network or wireless network between management terminal 120 and gateway device 160.
Server 140 is the server for providing background service to management program.Server 140 can be
One station server, multiple servers, virtual computing module or cloud computing center.
It is connected by cable network or wireless network between server 140 with gateway device 160.
Gateway device 160 can be router.Alternatively, this router also has the function of switch, NAS
At least one in (Network Attached Storage, network attached storage) function, network television function
Function.Gateway device 160 is the gateway device for finding, connect and manage intelligent home device 180.
In the embodiment that some are possible, such as LAN scene, between management terminal 120 and gateway device 160
Directly set up connection, it is not necessary to by the transfer of server 140;And in the embodiment that other are possible,
Gateway device 160 and management terminal 120 are not at same LAN, then management terminal 120 is by service
Device 140 transfers set up between gateway device 160 and be connected.
It is connected by cable network or wireless network between gateway device 160 with intelligent home device 180.
Intelligent home device 180 can be intelligent electric lamp, intelligent fan, intelligent curtain, intelligent video camera head,
Intelligent pet feeder, smart jack, intelligent air condition, intelligent electric rice cooker, intelligent refrigerator, intelligent watch,
Intelligent glasses and intelligent shoe etc..Along with the raising of scientific and technological level, the kind of intelligent home device and
Application also gets more and more.Alternatively, intelligent home device 180 has different from gateway device 120
Manufacturer.The procotol that intelligent home device 180 uses includes but not limited at least in following agreement
Kind:
Procotol based on Zigbee (Zigzag Flying of Bees, purple honeybee) agreement;
Procotol based on wireless networking specification Z-Wave;
Procotol based on Wi-Fi (Wireless Fidelity, Wireless Fidelity) agreement;
Procotol based on BLE (Bluetooth Low Energy, Bluetooth Low Energy) agreement;
Procotols based on RF (Radio Frequency, radio frequency) 433 agreements, this procotol uses
433Mhz frequency range;
Procotol based on RF2.4G agreement, this procotol uses 2.4Ghz frequency range;
Procotol based on radio frequency 5G agreement, this procotol uses 5Ghz frequency range.
Refer to Fig. 2, it illustrates the structural representation of the gateway device 200 that one embodiment of the invention provides.
This gateway device 200 includes: processor 220, memorizer 240 and at least one network interface card assembly 260.
Processor 220 is the control centre of gateway device 200, utilizes various interface and the whole net of connection
The various piece of pass equipment 200, by run or perform be stored in the software program in memorizer 240 and/or
Module, and call the data being stored in memorizer 240, perform gateway device 200 various functions and
Process data, thus gateway device 200 is carried out overall control.Optionally, processor 220 includes one
Or multiple process core.
Processor 220 is electrical connected with memorizer 240.
Memorizer 240 is used for storing software program and module.Processor 220 is stored in storage by operation
The software program of device 240 and module, thus perform the application of various function and data process.Memorizer 240
Can be realized by any kind of volatibility or non-volatile memory device or combinations thereof, as static state with
Machine access memorizer (English: Static Random Access Memory, it is called for short: SRAM), electrically erasable
Except programmable read only memory is (English: Electrically Erasable Programmable Read-Only
Memory, is called for short: EEPROM), and Erasable Programmable Read Only Memory EPROM is (English: Erasable
Programmable Read Only Memory, is called for short: EPROM), programmable read only memory (English:
Programmable Read-Only Memory, is called for short: PROM), and read only memory is (English: Read Only
Memory, is called for short: ROM), magnetic memory, flash memory, disk or CD.
Processor 220 is also electrical connected with at least two network interface card assembly 260.
Network interface card assembly 260 includes: Zigbee network interface card assembly 261, Z-Wave network interface card assembly 262, Wi-Fi
In network interface card assembly 263, the network interface card assembly 264 with RJ45 interface and bluetooth network interface card assembly 265 at least two
Kind.With this gateway device 200, the present embodiment, includes that whole five kinds of network interface card assemblies illustrate.For often
A type of network interface card assembly, gateway device 200 can include the network interface card of or more than one the type
Assembly 260.Such as, gateway device 200 includes 5 network interface card assemblies 264, with RJ45 interface
Wi-Fi network interface card assembly 263 etc..
Owing to gateway device 200 supports different network interface card assembly, so using the Smart Home of different network protocol
Equipment 180 all can access the network of this gateway device 200.But under different network protocol, equipment finds
The adding method of method and intelligent home device is possibly different from.
Refer to Fig. 3, it illustrates the adding method of the intelligent home device that one embodiment of the invention provides
Flow chart.The present embodiment is applied in the management terminal shown in Fig. 1 with the adding method of this intelligent home device
Illustrate.The method includes:
Step 301, obtains the facility information of intelligent home device;
This facility information is for identifying the identity of intelligent home device.Alternatively, there is identity ability
On the premise of, this facility information includes: in device type, equipment manufacturer's information and unit type information extremely
Few one.
Device type is the information of the kind representing intelligent home device.Alternatively, device type include but not
It is limited to: intelligent electric lamp, intelligent fan, intelligent curtain, intelligent video camera head, intelligent pet feeder, intelligence
Socket, air purifier, intelligent air condition, intelligent electric rice cooker, intelligent refrigerator, intelligent watch, intelligent glasses
And intelligent shoe etc..
Equipment manufacturer's information is the information of the manufacturer representing intelligent home device.Such as: manufacturer A,
Manufacturer B, manufacturer C.
Unit type information is the information of the model representing intelligent home device.Unit type information generally has life
Produce producer to formulate.Such as: intelligent bulbs L-05.
Step 302, inquires about the equipment addition manner information corresponding with facility information;
Management terminal or server in storage have predetermined corresponding relation, this predetermined corresponding relation be facility information and
Corresponding relation between equipment addition manner information.Table one schematically illustrates this corresponding relation.
Table one
Device type |
Equipment manufacturer's information |
Unit type information |
Equipment addition manner information |
Intelligent electric lamp |
Manufacturer A |
9290002269 |
Z-Wave addition manner |
Double control switch |
Manufacturer C |
AU-LS1234 |
Zigbee addition manner |
Air purifier |
Manufacturer B |
KFR-35GW |
Wi-Fi addition manner |
Gate inhibition switchs |
Manufacturer C |
AU-LS1235 |
Zigbee addition manner |
When in management terminal, storage has predetermined corresponding relation, management terminal directly inquires about this predetermined corresponding relation.
When in server, storage has predetermined corresponding relation, management terminal to server sends facility information, connects
Receiving the equipment addition manner information of server feedback, this equipment addition manner information is that server is believed according to equipment
Breath feedback.
Necessary information when equipment addition manner information is for adding intelligent home device.Alternatively, if
Standby addition manner information includes: for trigger intelligent home device enter add net state operation information, for
Trigger gateway device and enter the command information of permission equipment screening pattern, for finding setting of intelligent home device
Preparation now instruction etc..
Step 303, is provided intelligent home device interpolation to gateway device according to equipment addition manner information
In network.
In sum, the adding method of the intelligent home device that the present embodiment provides, by obtaining Smart Home
The facility information of equipment, facility information includes in device type, equipment manufacturer's information and unit type information
At least one information, adds intelligent home device according to the equipment addition manner information corresponding with this facility information
Add in the network that gateway device is provided;Solve user to be difficult to know the net that intelligent home device is supported
Network agreement and the adding method of intelligent home device, it is impossible to the problem smoothly completing equipment adding procedure;Reach
User has only to provide device type, equipment manufacturer's information and unit type information these relatively common letters
Breath, it is not necessary to know procotol and the adding method of intelligent home device that intelligent home device supported,
The effect just by management terminal, the intelligent home device supporting a certain procotol can being added.
In an optional embodiment, above-mentioned steps 303 can be alternatively implemented as step 303a and step
Rapid 303b, as shown in Figure 4:
Step 303a, guides GUI according to the display of equipment addition manner information, guides GUI to set with Smart Home
The standby procotol supported is corresponding;
Generally, intelligent home device can support a certain procotol.Procotol includes Zigbee, Z-Wave
With any one in Wi-Fi.After management terminal inquires equipment addition manner information according to facility information, energy
Enough know, by equipment addition manner information, the procotol that intelligent home device is supported, and according to this net
The equipment addition manner that network agreement is corresponding, display adds the guiding GUI of intelligent home device for guiding user.
Namely: when the procotol that intelligent home device is supported is Zigbee, show corresponding with Zigbee
Guiding GUI;When the procotol that intelligent home device is supported is Z-Wave, display and Z-Wave
Corresponding guiding GUI;When the procotol that intelligent home device is supported is Wi-Fi, display and Wi-Fi
Corresponding guiding GUI.
It should be noted that the present embodiment includes in Zigbee, Z-Wave and Wi-Fi with procotol
Any one illustrates.In other embodiments, procotol can also include low-power consumption bluetooth, penetrate
Frequently other procotol such as 2.4G.
Step 303b, is provided by guiding GUI mutual to be added by intelligent home device to gateway device
In network.
Every kind of procotol is to different equipment should be had to find mode and equipment addition manner.By being pre-designed
With the guiding GUI corresponding to this kind of procotol, it is possible to guide user to add intelligent home device to gateway
In the network that equipment is provided.
In sum, the adding method of the intelligent home device that the present embodiment provides, by adding according to equipment
The display of mode information guides GUI, mutual by guide between GUI and user, is added by intelligent home device
Add in the network that gateway device is provided, it is not necessary to user knows the network association that intelligent home device is supported
The adding method of negotiation intelligent home device, it is only necessary to user can complete equipment according to the guiding guiding GUI
Adding procedure.
It addition, unified equipment can be provided to add entrance for different procotols, it is not necessary to according to often
A kind of procotol adds the most different equipment respectively and adds entrance, it is to avoid user manually selects equipment and adds
Adding the loaded down with trivial details of entrance and select difficulty, thus saving the operating procedure of user, the operation simplifying user is multiple
Miscellaneous degree.
Refer to Fig. 5, it illustrates the adding method of the intelligent home device that one embodiment of the invention provides
Flow chart.The present embodiment is applied to the Smart Home system shown in Fig. 1 with the adding method of this intelligent home device
System illustrates.The method includes:
Step 501, the graphic code on management terminal scanning intelligent home device;
Alternatively, the outer package of intelligent home device or equipment surface are provided with graphic code.This graphic code
In carry at least one in device type, equipment manufacturer's information and unit type information.Management terminal is led to
Graphic code on overscanning intelligent home device, obtains the information carried in graphic code.
Alternatively, the form of graphic code includes: bar code or Quick Response Code.
Step 502, management terminal resolves from graphic code and obtains facility information;
Management terminal, by predetermined graphic code resolution rules, resolves from graphic code and obtains facility information.In advance
Fixed graphic code resolution rules is that the production firm of intelligent domestic system and intelligent home device uses jointly
Resolution rules.
The most as shown in Figure 6A, in management terminal 61, operation has Smart Home to manage program.By this
" sweep and sweep " function that management program is provided, management terminal 61 can get the equipment of intelligent home device
Type " double control switch ", equipment manufacturer's information " manufacturer C " and unit type information " AU-LS1234 ".
Step 503, management terminal to server sends inquiry request, carries facility information in this inquiry request;
This inquiry request is for the equipment addition manner information corresponding with this facility information to server lookup.
Necessary information when equipment addition manner information is for adding intelligent home device.Alternatively, if
Standby addition manner information includes: enters the operation information of screening pattern for triggering intelligent home device, be used for
Trigger gateway device and enter the command information of permission equipment screening pattern, for finding setting of intelligent home device
Preparation now instruction etc..
Accordingly, server receives the inquiry request that management terminal sends.
Step 504, server sends equipment addition manner information to management terminal;
In server, storage has predetermined corresponding relation, and this predetermined corresponding relation is facility information and equipment interpolation side
Corresponding relation between formula information.Table two schematically illustrates this corresponding relation.
Table two
" double control switch ", equipment manufacturer's information " manufacturer C " and unit type with facility information as device type
As a example by information " AU-LS1234 ", server lookup to equipment addition manner information include: procotol
Zigbee and the first operation prompt information " pressing SR 3 times ".
Accordingly, management terminal receives this equipment addition manner information.
Step 505, management terminal obtains the first operation prompt information from equipment addition manner information;
Management terminal extracts the first operation instruction information " pressing SR 3 from equipment addition manner information
Secondary ".
Step 506, management terminal demonstration comprises the first guiding GUI of the first operation prompt information, and first guides
GUI is used for indicating user to trigger at least one intelligent home device and is set to add network state;
The most as shown in Figure 6B, management terminal 61 shows the first guiding GUI, this first guiding GUI
On show " pressing SR 3 times makes switch enter screening pattern ".User can be according to this information
SR on intelligent home device is pressed 3 times, triggers the Zigbee coordinator on intelligent home device
Module so that intelligent home device enters screening pattern.
Step 507, management terminal sends to gateway device and arranges instruction, arranges instruction for indicating gateway device
Enter permission equipment and enter net state;
Management terminal also sends one to gateway device and arranges instruction, and this arranges instruction for indicating gateway device to enter
Enter " permission equipment enters net state ".Alternatively, this arranges instruction for indicating gateway device at current intelligent gateway
" permission equipment enters net state " is entered under procotol (i.e. Zigbee) corresponding to equipment.
Step 508, gateway device enters net state according to arranging instruction entrance permission equipment;
Gateway device arranges instruction according to what management terminal sent, enters " permission equipment enters net state ".At this shape
Under state, by the equipment in Zigbee network agreement, gateway device and intelligent home device find that mode sets
Preparation is existing.
Step 509, gateway device, when finding wait at least one target device networked, obtains this target device
Facility information;
Enter after " permission equipment enters net state " at gateway device, gateway device it appeared that 1 or 1 with
On target device, obtain the facility information of this target device.This facility information can be in step 501
The complete or collected works of facility information, subset or superset.
Step 510, gateway device sends the facility information of target device to management terminal;
Such as, gateway device sends facility information " double control switch, the manufacturer of target device to management terminal
C、AU-LS1234”。
Step 511, management terminal receives the equipment of at least one target device to be networked of gateway device feedback
Information;
The possible more than one of target device to be networked, accordingly, this step 511 also can perform repeatedly.
Step 512, the facility information of management terminal detection target device with the facility information of intelligent home device is
No unanimously;
The management terminal facility information to each type, all carries out detecting whether unanimously.
Step 513, if unanimously, then the second of the facility information that management terminal demonstration comprises target device guides
GUI;
This management terminal shows the facility information of the target device being found on the second guiding GUI.
The most as shown in Figure 6B, management terminal 61 shows the second guiding GUI, this second guiding GUI
On show facility information " double control switch " and " the manufacturer C " of target device.
Step 514, if inconsistent, then management terminal sends exit instruction to gateway device, and this exit instruction is used
In instruction gateway device, target device is exited from Zigbee network;
Step 515, whether management terminal detection gateway device exits permission equipment enters net state;
Gateway device can be in permission equipment in the given time and enter net state.Alternatively, set in management terminal
Putting an intervalometer, the timing length of this intervalometer is equal to the scheduled time.Then when this timer expiry, hold
Row step 516;When this intervalometer has not timed out and receive the facility information of another target device, again perform
Step 512.
Step 516, room belonging to the device name of target terminal and/or equipment is set by management terminal notifying
Put;
Alternatively, management terminal 61 guides second and provides device name input frame 62 and equipment institute on GUI
Belong to room input frame 63.Alternatively, management terminal 61 guides at another provides device name defeated on GUI
Enter room input frame belonging to frame and equipment.
Step 517, management terminal receives room belonging to the device name for arranging target device and/or equipment
Operation is set;
User is input equipment title in device name input frame 62, in room input frame 63 belonging to equipment
Room belonging to input equipment.Alternatively, when user does not inputs, user can directly use management eventually
Room belonging to the device name of end acquiescence offer and equipment.
Then, management terminal reception user arranges operation, obtains device name and equipment according to arranging operation
Affiliated room.
Step 518, management terminal preserves room belonging to the device name of target device and/or equipment;
Step 519, management terminal sends to gateway device adds device directive, adds device directive and carries mesh
Room belonging to the device name of marking device and/or equipment.
Accordingly, gateway device receives and adds device directive.
Step 520, target device is added network by gateway device, and preserve target device device name and/
Or room belonging to equipment.
In sum, the adding method of the intelligent home device that the present embodiment provides, by display the oneth GUI
With the 2nd GUI so that user can complete equipment adding procedure according to the guiding of a GUI and the 2nd GUI,
Need not procotol and the adding method of intelligent home device that user knows that intelligent home device supported,
Save the operating procedure of user, simplify the operation complexity of user.
Simultaneously as multiple Zigbee equipment is added in Zigbee protocol support simultaneously, provided by the present embodiment
The adding method of intelligent home device, can disposably add multiple intelligent home device.
In an optional embodiment, if the device type " intelligence of intelligent home device that management equipment gets
Can electric light ", equipment manufacturer's information " manufacturer A " and unit type information " 9290002269 ", then server
The equipment addition manner information of feedback includes: procotol " Z-Wave " and the second operation prompt information " are pressed
Pressure network button was more than 3 seconds ";Step 505 can be implemented as step 505a to step by replacement to step 520
Rapid 518a, as shown in Figure 7 A:
Step 505a, management equipment obtains the second operation prompt information from equipment addition manner information;
Management terminal extracts the second operation instruction information " pressing network button from equipment addition manner information
More than 3 seconds ".
Step 506a, management terminal demonstration comprises the 3rd guiding GUI of the second operation prompt information, and the 3rd draws
Lead GUI to be set to add network state for indicating user to trigger an intelligent home device;
The most as shown in Figure 7 B, management terminal 71 shows the 3rd guiding GUI, and the 3rd guides GUI
On show " pressing network button more than 3 seconds ".User can be according to this information by intelligent home device
Network button press more than 3 seconds, trigger intelligent home device enter screening pattern.
Owing to Z-Wave agreement is when adding every time, only support the interpolation of 1 intelligent home device.Alternatively,
Also show information on 3rd guiding GUI " to note: one time adding procedure only presses an intelligent family
Occupy the network button of equipment ".
Step 507a, management terminal sends to gateway device and arranges instruction, arranges instruction for indicating gateway to set
The standby permission equipment that enters enters net state;
Management terminal also sends one to gateway device and arranges instruction, and this arranges instruction for indicating gateway device to enter
Enter " permission equipment enters net state ".Alternatively, this arranges instruction for indicating gateway device at current intelligent gateway
" permission equipment enters net state " is entered under procotol (i.e. Z-Wave) corresponding to equipment.
Step 508a, gateway device enters net state according to arranging instruction entrance permission equipment;
Gateway device arranges instruction according to what management terminal sent, enters " permission equipment enters net state ".At this shape
Under state, by the equipment in Z-Wave procotol, gateway device and intelligent home device find that mode sets
Preparation is existing.
Step 509a, gateway device, when finding wait the target device networked, obtains the equipment of this target device
Information;
Enter after " permission equipment enters net state " at gateway device, gateway device it appeared that 1 target device,
Obtain the facility information of this target device.Step 510a, gateway device sends target device to management terminal
Facility information;
Such as, gateway device sends facility information " intelligent electric lamp, the manufacturer of target device to management terminal
A、9290002269”。
Step 511a, management terminal receives the facility information of the target device to be networked of gateway device feedback;
Step 512a, the facility information of management terminal detection target device and the facility information of intelligent home device
The most consistent;
The management terminal facility information to each type, all carries out detecting whether unanimously.
Step 513a, if unanimously, then the second of the facility information that management terminal demonstration comprises target device guides
GUI;
This management terminal shows the facility information of the target device being found on the second guiding GUI.
The most as shown in Figure 7 B, management terminal 71 shows the second guiding GUI, this second guiding GUI
On show the facility information " intelligent electric lamp " of target device, " manufacturer A ", " 9290002269 ", equipment
Room input frame 73 belonging to title input frame 72 and equipment.Alternatively, management terminal 71 guides at another
Room input frame belonging to GUI upper offer device name input frame and equipment.
Step 514a, if inconsistent, then management terminal sends exit instruction to gateway device, this exit instruction
For indicating gateway device to be exited from Z-Wave network by target device;
Step 515a, management terminal receives room belonging to the device name for arranging target device and/or equipment
Operation is set;
User is input equipment title in device name input frame 72, in room input frame belonging to equipment 73
Room belonging to input equipment.Alternatively, when user does not inputs, user can directly use management eventually
Room belonging to the device name of end acquiescence offer and equipment.
Then, management terminal reception user arranges operation, obtains device name and equipment according to arranging operation
Affiliated room.
Step 516a, management terminal preserves room belonging to the device name of target device and/or equipment;
Step 517a, management terminal sends to gateway device adds device directive, adds device directive and carries
Room belonging to the device name of target device and/or equipment.
Accordingly, gateway device receives and adds device directive.
Step 518a, target device is added network by gateway device, and preserve target device device name and/
Or room belonging to equipment.
In sum, the adding method of the intelligent home device that the present embodiment provides, by display the 3rd GUI
With the 2nd GUI so that user can complete equipment adding procedure according to the guiding of the 3rd GUI and the 2nd GUI,
Need not procotol and the adding method of intelligent home device that user knows that intelligent home device supported,
Save the operating procedure of user, simplify the operation complexity of user.
In another optional embodiment, if the device type of intelligent home device that management equipment gets
" air purifier ", equipment manufacturer's information " manufacturer B " and unit type information " KFR-35GW ", then take
The equipment addition manner information of business device feedback includes: procotol " Wi-Fi " and the second operation prompt information " are pressed
Pressure network button was more than 3 seconds ";Step 505 can be implemented as step 505b to step by replacement to step 520
Rapid 511, as shown in Figure 8 A:
Step 505b, management terminal obtains the 3rd operation prompt information and intelligence from equipment addition manner information
Equipment SSID when home equipment is in AP (Access Point, WAP) pattern and password;
Intelligent home device has two kinds of mode of operations: ap mode and Station pattern.At intelligent home device
When ap mode, intelligent home device is provided out wireless network, and miscellaneous equipment can access this wireless network;
When intelligent home device is in Station pattern, intelligent home device, as one " terminal ", can access
The wireless network that miscellaneous equipment is provided.
Management terminal obtains the 3rd operation prompt information from equipment addition manner information, and " length presses power on button extremely
Signal lights flashes ", and equipment SSID " air001 ", password " empty ", equipment discovery instruction " KFR-35GW ".
Step 506b, management terminal demonstration includes the 4th guiding GUI of the 3rd operation prompt information, and the 4th draws
Lead GUI for indicating user that intelligent home device is set to ap mode;
The most as shown in Figure 8 B, management terminal guides the 4th and shows on GUI that " length presses power on button
Flash to signal lights ".When this signal lights flashes, intelligent home device enters ap mode.
Step 507b, management terminal sets up the first wireless company according to equipment SSID and password with intelligent home device
Connect;
After intelligent home device enters ap mode, owing to management terminal has learned that intelligent home device
SSID and password, management terminal accesses the wireless network that intelligent home device provides, management terminal and intelligence man
The equipment of residence sets up the first wireless connections.
Step 508b, management terminal configures the net of gateway device by the first wireless connections to intelligent home device
Close SSID and password, and intelligent home device is set to Station pattern from ap mode;
Management terminal is previously stored with gateway SSID and the password of gateway device.Alternatively, management terminal exists
When historical time Duan Zhongyu gateway device connects, record has gateway SSID and the password of gateway device;Alternatively,
Management terminal knows gateway SSID and the password of gateway device from server.
Management terminal by the first wireless connections to the intelligent home device configuration gateway SSID of gateway device and close
Code.Then, intelligent home device is set to Station pattern from ap mode by management terminal.
Alternatively, management terminal demonstration the 5th guides GUI, and the 5th guides GUI to be used for guiding user by intelligence
Home equipment is set to Station pattern, the manual operation of user trigger intelligent home device and enter
Station pattern;Alternatively, management terminal sends from trend intelligent home device and arranges instruction, and this arranges finger
Order triggers intelligent home device and enters Station pattern, and such as, management terminal sends weight to intelligent home device
Opening instruction, intelligent home device is after restart automatically into Station pattern.
Step 509b, management terminal disconnects the first wireless connections, according to gateway SSID and password and gateway device
Set up the second wireless connections;
Step 510b, intelligent home device sets up the 3rd wireless company according to gateway SSID and password with gateway device
Connect.
This step can perform with step 509b simultaneously, or performed before step 509b, the present embodiment
This is not limited.
Step 511b, gateway device, when finding wait the target device networked, obtains the equipment of this target device
Information;
Gateway device, it appeared that 1 or the target device of more than 1, obtains the equipment of this target device
Information.
Step 512b, gateway device sends the facility information of target device to management terminal;
Such as, gateway device sends facility information " air purifier, the factory of target device to management terminal
Family B ".
Step 513b, management terminal receives the facility information of the target device to be networked of gateway device feedback;
Step 514b, the facility information of management terminal detection target device and the facility information of intelligent home device
The most consistent;
Step 515b, if unanimously, then the second of the facility information that management terminal demonstration comprises target device guides
GUI;
This management terminal shows the facility information of the target device being found on the second guiding GUI.
The most as shown in Figure 8 B, management terminal 81 shows the second guiding GUI, this second guiding GUI
On show the facility information " air purifier " of target device, " manufacturer B ", " KFR-35GW ", with
And room input frame 83 belonging to device name input frame 82 and equipment.Alternatively, management terminal 81 is at another
Room input frame belonging to device name input frame and equipment is provided on individual guiding GUI.
Step 516a, if inconsistent, then management terminal sends exit instruction to gateway device, this exit instruction
For indicating gateway device to be exited from Wi-Fi network by target device;
Step 517b, management terminal receives room belonging to the device name for arranging target device and/or equipment
Operation is set;
Step 518b, management terminal preserves room belonging to the device name of target device and/or equipment;
Step 519b, management terminal sends to gateway device adds device directive, adds device directive and carries
Room belonging to the device name of target device and/or equipment.
Accordingly, gateway device receives and adds device directive.
Step 520b, target device is added network by gateway device, and preserve target device device name and/
Or room belonging to equipment.
In sum, the adding method of the intelligent home device that the present embodiment provides, by display the 4th GUI
With the 2nd GUI so that user can complete equipment adding procedure according to the guiding of the 4th GUI and the 2nd GUI,
Need not procotol and the adding method of intelligent home device that user knows that intelligent home device supported,
Save the operating procedure of user, simplify the operation complexity of user.
It should be added that, above-mentioned the first operation prompt information, the second operation prompt information, the 3rd
Operation prompt information is exemplary illustration, does not limits the concrete form composition of operation prompt information, every kind
Intelligent home device is likely to be of identical or diverse operation triggering form, is as the criterion depending on specific embodiment.
In another optional embodiment, above-mentioned steps 501 can be alternatively implemented as step 501a and
Step 502a, as shown in Figure 9 A:
Step 501a, description or Product labelling to intelligent home device shoot, and obtain shooting image;
Alternatively, in the description of intelligent home device or the word content of Product labelling, record has facility information.
Management terminal, by shooting the description of intelligent home device or Product labelling, obtains including equipment
The shooting image of information.
Alternatively, in order to improve the quality of shooting image, management terminal guides user by graphic user interface
According to the shooting angle specified, shooting light, acquisition parameters to the description of intelligent home device or product mark
Label shoot, thus obtain the shooting image with higher resolution.
Step 502a, by OCR (Optical Character Recognition, optical character recognition) technology
Facility information is identified from shooting image.
Alternatively, management terminal identifies the word content in shooting image by OCR technique.
Alternatively, management terminal matches facility information by identidication key from content of text.Such as,
Identidication key is " model: 111111 ", then content of text is positioned at " model: the character string after " is identified as
Unit type information.
Schematically with reference to shown in Fig. 9 B, management terminal 91 runs the management program having Smart Home.Logical
Crossing the shoot function that this management program is provided, management terminal 91 can get the product of intelligent home device
The shooting photo of description.Management terminal 91 identifies equipment from product description by OCR technique and believes
Breath: " intelligent electric lamp ", " manufacturer A ", " 9290002269 ".
The adding method of the intelligent home device that the present embodiment provides, it is not necessary to user knows intelligent home device
The procotol supported and the adding method of intelligent home device, it is only necessary to user shoots intelligent home device
Description or Product labelling as input information can starting device adding procedure, save the behaviour of user
Make step, simplify the operation complexity of user.
In another optional embodiment, above-mentioned steps 501 and step 502 can be alternatively implemented as
Step 501b, as shown in Figure 10 A:
Step 501b, receives the facility information of user's input.
Alternatively, management terminal receives the facility information that user inputs in the form of text.
Alternatively, management terminal provides candidate's menu item, and candidate's menu item includes: device class candidate item,
Equipment manufacturer's information candidate item and unit type information candidate item.Management terminal receives user and selects candidate's menu
The facility information that item is inputted.
Schematically with reference to shown in Figure 10 B, management terminal 1001 runs the management program having Smart Home.
The Text Entry provided by this management program, user's input equipment information in the form of text.
The adding method of the intelligent home device that the present embodiment provides, it is not necessary to user knows intelligent home device
The procotol supported and the adding method of intelligent home device, it is only necessary to user input device information
Starting device adding procedure, saves the operating procedure of user, simplifies the operation complexity of user.
Being below apparatus of the present invention embodiment, device embodiment is corresponding with above-mentioned embodiment of the method.At device
The details not described in detail in embodiment, is referred to said method embodiment.
Refer to Figure 11, it illustrates the adding set of the intelligent home device that one embodiment of the invention provides
Block diagram.The adding set of this intelligent home device can pass through special hardware circuit, or, soft
All or part of of the management terminal that the combination of hardware is implemented as in Fig. 1.This device includes:
Acquisition module 1120, for obtaining the facility information of intelligent home device, described facility information includes:
At least one in device type, equipment manufacturer's information and unit type information;
Enquiry module 1140, for the equipment addition manner information that inquiry is corresponding with described facility information;
Add module 1160, for being added by described intelligent home device according to described equipment addition manner information
To the network that gateway device is provided.
In sum, the adding set of the intelligent home device that the present embodiment provides, by obtaining Smart Home
The facility information of equipment, facility information includes in device type, equipment manufacturer's information and unit type information
At least one, add intelligent home device extremely according to the equipment addition manner information corresponding with this facility information
In the network that gateway device is provided;Solve user to be difficult to know the network association that intelligent home device is supported
The adding method of negotiation intelligent home device, it is impossible to the problem smoothly completing equipment adding procedure;Reach to use
Family has only to provide device type, equipment manufacturer's information and these relatively common information of unit type information,
Need not know procotol and the adding method of intelligent home device that intelligent home device is supported, so that it may
With the effect intelligent home device supporting a certain procotol being added by management terminal.
Refer to Figure 12, it illustrates the interpolation dress of the intelligent home device that another embodiment of the present invention provides
The block diagram put.The adding set of this intelligent home device can pass through special hardware circuit, or,
All or part of of the management terminal that the combination of software and hardware is implemented as in Fig. 1.This device includes:
Acquisition module 1120, for obtaining the facility information of intelligent home device, described facility information includes:
At least one in device type, equipment manufacturer's information and unit type information;
Enquiry module 1140, for the equipment addition manner information that inquiry is corresponding with described facility information;
Add module 1160, for being added by described intelligent home device according to described equipment addition manner information
To the network that gateway device is provided.
Alternatively, described interpolation module 1160, including:
Guidance unit 1162, for guiding graphic user interface according to the display of described equipment addition manner information
GUI, described guiding GUI is corresponding with the procotol that described intelligent home device is supported;
Adding device 1164, for adding described intelligent home device extremely by the mutual of described guiding GUI
In the network that gateway device is provided.
Alternatively, described procotol is purple honeybee Zigbee;
Described guidance unit 1162, for obtaining the first operation indicating letter from described equipment addition manner information
Breath;Display comprises the first guiding GUI of described first operation prompt information, and described first guides GUI to be used for
Instruction user triggers and is set at least one intelligent home device add network state;To described gateway device
Transmission arranges instruction, and described setting instructs for indicating described gateway device entrance permission equipment to enter net state;
Receive the facility information of at least one target device to be networked of described gateway device feedback;Detect described mesh
The facility information of marking device is the most consistent with the facility information of described intelligent home device;If consistent, then show
Comprise the second guiding GUI of the facility information of described target device.
Alternatively, described procotol is wireless networking specification Z-Wave;
Described guidance unit 1162, for obtaining the second operation indicating letter from described equipment addition manner information
Breath;Display comprises the 3rd guiding GUI of described second operation prompt information, and the described 3rd guides GUI to be used for
Instruction user triggers and is set to an intelligent home device add network state;Send to described gateway device
Arranging instruction, described setting instructs for indicating described gateway device entrance permission equipment to enter net state;Receive
The facility information of the target device to be networked of described gateway device feedback;Detect the equipment of described target device
Information is the most consistent with the facility information of described intelligent home device;If consistent, then display comprises described target
Second guiding GUI of the facility information of equipment.
Alternatively, described procotol is Wireless Fidelity Wi-Fi;
Described guidance unit 1162, for obtaining the 3rd operation indicating letter from described equipment addition manner information
Device service set identifier SSID when breath and described intelligent home device are in WAP ap mode and close
Code;Display includes the 4th guiding GUI of described 3rd operation prompt information, and the described 4th guides GUI to be used for
Described intelligent home device is set to described ap mode by instruction user;According to described equipment SSID and password
The first wireless connections are set up, by described first wireless connections to described intelligence man with described intelligent home device
The equipment that occupies configures gateway SSID and the password of described gateway device, by described intelligent home device from described AP
Pattern switches to website Station pattern;Disconnect described first wireless connections, according to described gateway SSID and
Password and described gateway device set up the second wireless connections;Receive the mesh to be networked of described gateway device feedback
The facility information of marking device;Detect the facility information of described target device and the equipment of described intelligent home device
Information is the most consistent;If consistent, then show the second guiding GUI of the facility information comprising described target device.
Alternatively, described adding device 1164, for receiving the device name for arranging described target device
And/or room belonging to equipment operation is set;Preserve room belonging to the device name of described target device and/or equipment
Between;Sending to described gateway device and add device directive, described interpolation device directive carries described target and sets
Room belonging to standby device name and/or equipment.
Alternatively, described acquisition module 1120, including: scanning acquiring unit 1122, shooting acquiring unit 1124
With at least one in input acquiring unit 1126.
Scanning acquiring unit 1122, for scanning the graphic code on described intelligent home device;From described figure
Resolving in Ma and obtain described facility information, described graphic code includes bar code or Quick Response Code;Or, shooting obtains
Unit 1124, for shooting description or the Product labelling of described intelligent home device, is shot
Image;From described shooting image, described facility information is identified by optical character recognition OCR technique;Or,
Input acquiring unit 1126, for receiving the described facility information of user's input.
It should be understood that the adding set of the intelligent home device of above-described embodiment offer is adding intelligence man
When occupying equipment, only it is illustrated with the division of above-mentioned each functional module, in actual application, can basis
Need and above-mentioned functions distribution is completed by different functional modules, will the internal structure of equipment be divided into not
Same functional module, to complete all or part of function described above.It addition, above-described embodiment provides
The adding set of intelligent home device and the adding method embodiment of intelligent home device belong to same design,
It implements process and refers to embodiment of the method, repeats no more here.
Figure 13 it illustrates the block diagram of the management terminal 1300 that one embodiment of the invention provides, and this management is eventually
End can include radio frequency (RF, Radio Frequency) circuit 1301, include one or more meters
The memorizer 1302 of calculation machine readable storage medium storing program for executing, input block 1303, display unit 1304, sensor 1305,
Voicefrequency circuit 1306, Wireless Fidelity (WiFi, Wireless Fidelity) module 1307, include one or
The parts such as more than one processor 1308 processing core and power supply 1309.Those skilled in the art are permissible
Understanding, the management terminal structure shown in Figure 13 is not intended that the restriction to management terminal, can include than figure
Show more or less of parts, or combine some parts, or different parts are arranged.Wherein:
RF circuit 1301 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially,
After the downlink information of base station is received, transfer to one or more than one processor 1308 processes;It addition, will
Relate to up data and be sent to base station.Generally, RF circuit 1301 include but not limited to antenna, at least one
Individual amplifier, tuner, one or more agitator, subscriber identity module (SIM, Subscriber Identity
Module) card, transceiver, bonder, low-noise amplifier (LNA, Low Noise Amplifier),
Duplexer etc..Additionally, RF circuit 1301 can also be communicated with network and other equipment by radio communication.
Described radio communication can use arbitrary communication standard or agreement, includes but not limited to global system for mobile communications
(GSM, Global System of Mobile communication), general packet radio service (GPRS,
General Packet Radio Service), CDMA (CDMA, Code Division Multiple
Access), WCDMA (WCDMA, Wideband Code Division Multiple Access),
Long Term Evolution (LTE, Long Term Evolution), Email, Short Message Service (SMS, Short
Messaging Service) etc..
Memorizer 1302 can be used for storing software program and module, and processor 1308 is stored in by operation
The software program of memorizer 1302 and module, thus perform the application of various function and data process.Storage
Device 1302 can mainly include storing program area and storage data field, and wherein, storage program area can store operation system
Application program (such as sound-playing function, image player function etc.) etc. needed for system, at least one function;
Storage data field can store data (the such as voice data, phone directory that the use according to management terminal is created
Deng) etc..Additionally, memorizer 1302 can include high-speed random access memory, it is also possible to include non-volatile
Property memorizer, for example, at least one disk memory, flush memory device or other volatile solid-state
Part.Correspondingly, memorizer 1302 can also include Memory Controller, to provide processor 1308 and defeated
Enter the unit 1303 access to memorizer 1302.
Input block 1303 can be used for receive input numeral or character information, and produce with user setup with
And function controls relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Specifically,
In a specific embodiment, input block 1303 can include Touch sensitive surface and other input equipments.Touch
Sensitive surfaces, also referred to as touches display screen or Trackpad, can collect user thereon or neighbouring touch operation
(such as user uses any applicable object such as finger, stylus or adnexa on Touch sensitive surface or at touch-sensitive table
Operation near face), and drive corresponding attachment means according to formula set in advance.Optionally, touch-sensitive table
Face can include touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detection user
Touch orientation, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor
1308, and order that processor 1308 sends can be received and performed.Furthermore, it is possible to employing resistance-type,
The polytypes such as condenser type, infrared ray and surface acoustic wave realize Touch sensitive surface.Except Touch sensitive surface, input
Unit 1303 can also include other input equipments.Specifically, other input equipments can include but not limited to
Physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars
One or more in Deng.
Display unit 1304 can be used for showing the information inputted by user or the information being supplied to user and management
The various graphical user interface of terminal, these graphical user interface can be by figure, text, icon, video
Constitute with its combination in any.Display unit 1304 can include display floater, optionally, can use liquid crystal
Display (LCD, Liquid Crystal Display), Organic Light Emitting Diode (OLED, Organic
Light-Emitting Diode) etc. form configure display floater.Further, Touch sensitive surface can cover display
Panel, when Touch sensitive surface detects thereon or after neighbouring touch operation, sends processor 1308 to really
Determine the type of touch event, provide phase with preprocessor 1308 on a display panel according to the type of touch event
The visual output answered.Although in fig. 13, Touch sensitive surface and display floater are to come as two independent parts
Realize input and input function, but in some embodiments it is possible to Touch sensitive surface is integrated with display floater
And realize input and output function.
Management terminal may also include at least one sensor 1305, such as optical sensor, motion sensor and
Other sensors.Specifically, optical sensor can include ambient light sensor and proximity transducer, wherein, ring
Border optical sensor can regulate the brightness of display floater according to the light and shade of ambient light, and proximity transducer can be at pipe
When reason terminal moves in one's ear, close display floater and/or backlight.As the one of motion sensor, gravity
Acceleration transducer can detect the size of (generally three axles) acceleration in all directions, can detect time static
Go out size and the direction of gravity, can be used for identifying application (such as horizontal/vertical screen switching, the relevant trip of mobile phone attitude
Play, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;As for management
Other sensings such as gyroscope that terminal can also configure, barometer, drimeter, thermometer, infrared ray sensor
Device, does not repeats them here.
Voicefrequency circuit 1306, speaker, microphone can provide the audio interface between user and management terminal.
The signal of telecommunication after the voice data conversion that voicefrequency circuit 1306 can will receive, is transferred to speaker, by raising one's voice
Device is converted to acoustical signal output;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone,
Be converted to voice data after being received by voicefrequency circuit 1306, then voice data output processor 1308 is processed
After, through RF circuit 1301 to be sent to such as another management terminal, or by voice data output to storage
Device 1302 is to process further.Voicefrequency circuit 1306 is also possible that earphone jack, to provide peripheral hardware ear
Machine and the communication managing terminal.
WiFi belongs to short range wireless transmission technology, and management terminal can help to use by WiFi module 1307
Family is sent and received e-mail, is browsed webpage and access streaming video etc., and it is mutual that it has provided the user wireless broadband
Internet interview.Although Figure 13 shows WiFi module 1307, but it is understood that, it is also not belonging to
Must be configured into of management terminal, can omit completely as required in not changing the scope of essence of invention.
Processor 1308 is the control centre of management terminal, utilizes various interface and the whole mobile phone of connection
Various piece, by running or perform to be stored in the software program in memorizer 1302 and/or module, and adjusts
By the data being stored in memorizer 1302, perform the various functions of management terminal and process data, thus right
Mobile phone carries out integral monitoring.Optionally, processor 1308 can include one or more process core;Preferably,
Processor 1308 can integrated application processor and modem processor, wherein, application processor mainly processes
Operating system, user interface and application program etc., modem processor mainly processes radio communication.Permissible
Being understood by, above-mentioned modem processor can not also be integrated in processor 1308.
Management terminal also includes the power supply 1309 (such as battery) powered to all parts, it is preferred that power supply can
With logically contiguous with processor 1308 by power-supply management system, thus realize management by power-supply management system
The functions such as charging, electric discharge and power managed.Power supply 1309 can also include one or more directly
Stream or alternating current power supply, recharging system, power failure detection circuit, power supply changeover device or inverter, electricity
The random component such as source positioning indicator.
Although not shown, management terminal can also include photographic head, bluetooth module etc., does not repeats them here.
The most in the present embodiment, the processor 1308 in management terminal can run be stored in memorizer 1302
Individual or more than one programmed instruction, thus realize the Smart Home provided in each embodiment of the method above-mentioned
Equipment adding method.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment
The program that can be by completes to instruct relevant hardware, and this program can be stored in a computer-readable and deposit
In storage media, storage medium may include that read only memory (ROM, Read Only Memory), random
Access/memory body (RAM, Random Access Memory), disk or CD etc..
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can be passed through
Hardware completes, it is also possible to instructing relevant hardware by program and complete, described program can be stored in
In a kind of computer-readable recording medium, storage medium mentioned above can be read only memory, disk or
CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all the present invention's
Within spirit and principle, any modification, equivalent substitution and improvement etc. made, should be included in the present invention's
Within protection domain.