CN104348524B - A kind of binding method, central apparatus and ancillary equipment - Google Patents
A kind of binding method, central apparatus and ancillary equipment Download PDFInfo
- Publication number
- CN104348524B CN104348524B CN201310319804.3A CN201310319804A CN104348524B CN 104348524 B CN104348524 B CN 104348524B CN 201310319804 A CN201310319804 A CN 201310319804A CN 104348524 B CN104348524 B CN 104348524B
- Authority
- CN
- China
- Prior art keywords
- binding
- ancillary equipment
- central apparatus
- distance
- facility information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Selective Calling Equipment (AREA)
Abstract
The embodiment of the invention discloses a kind of binding method, central apparatus and ancillary equipment.The method of the embodiment of the present invention includes:Central apparatus are detected and the distance between ancillary equipment, central apparatus judge whether the distance for detecting meets distance condition, if meeting distance condition, then central apparatus search the pre-binding ancillary equipment for meeting binding condition in the targeted peripheral device for meet distance condition, central apparatus are bound with the pre-binding ancillary equipment for finding, central apparatus can be by judging whether to meet the ancillary equipment that distance condition and binding condition are controlled to determine user to want, physical distance so by furthering between ancillary equipment and central apparatus can be automatically performed binding procedure, and then can realize simply and efficiently completing binding.
Description
Technical field
The present invention relates to the communications field, more particularly to a kind of binding method, central apparatus and ancillary equipment.
Background technology
With the development of the communication technology, home intelligent and automation are increasingly paid close attention to by people, using relatively broad
Be Wireless Personal Network(ZigBee)Technology, Intelligent Building Control System(KNX, Konnex), piece bus(C-bus, chip
bus), set up these systems and be required for setting up a network and then resettle corresponding agreement, binding control is finally carried out, this
The process of section debugging and binding generally requires professional person and goes to complete, and ordinary people is difficult to complete debugging and binding procedure.
Mobile terminal(Such as mobile phone, panel computer)Data are transmitted by Bluetooth pairing to become increasingly prevalent, work as at present
When two mobile terminals need to set up Bluetooth pairing, first, one of mobile terminal needs scanning, and it is all with indigo plant nearby
The equipment of tooth, according to user name or the hexadecimal address of equipment, then sets up pairing by key feeding cipher, matches
The process of the above-mentioned debugging of ratio and the binding of journey is relatively simple, but user needs for being manually entered password completing pairing.
It is how simple and to be automatically performed binding procedure be the technical problem for being badly in need of solving.
The content of the invention
The present invention provides a kind of binding method, central apparatus and ancillary equipment, can simply and efficiently complete binding.
Binding method provided in an embodiment of the present invention, including:Central apparatus detect and the distance between ancillary equipment that center sets
Whether the standby distance for judging to detect meets distance condition, if meeting distance condition, central apparatus are meeting distance condition
The pre-binding ancillary equipment for meeting binding condition is searched in targeted peripheral device, central apparatus set with the pre-binding periphery for finding
It is standby to be bound.
Central apparatus provided in an embodiment of the present invention, including:First detection unit, judging unit, searching unit and binding
Unit, the first detection unit is used to detect and the distance between ancillary equipment whether judging unit to be used to judge the distance that detects
Meet distance condition, searching unit is used to, when distance condition is met, be searched in the targeted peripheral device for meet distance condition
Meet the pre-binding ancillary equipment of binding condition, binding unit is used to be bound with the pre-binding ancillary equipment for finding.
Ancillary equipment provided in an embodiment of the present invention, including:First transmitting element and binding unit, the first transmitting element are used
Binding condition and meet distance so that central apparatus find to meet according to facility information in the facility information of broadcast ancillary equipment
The ancillary equipment of condition, binding unit is used to be bound with central apparatus.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:
In the embodiment of the present invention, central apparatus detection and ancillary equipment between distance, central apparatus judge detect away from
From whether distance condition is met, if meeting distance condition, central apparatus are looked into the targeted peripheral device for meet distance condition
The pre-binding ancillary equipment for meeting binding condition, central apparatus is looked for be bound with the pre-binding ancillary equipment for finding, center
Equipment can be realized by judging whether to meet the ancillary equipment that distance condition and binding condition are controlled to determine user to want
Binding procedure can be automatically performed by the physical distance furthered between ancillary equipment and central apparatus, and then can be simple and quick
Completion binding.
Brief description of the drawings
Fig. 1 is binding method one embodiment schematic diagram in the embodiment of the present invention;
Fig. 2 is another embodiment schematic diagram of binding method in the embodiment of the present invention;
Fig. 3 is another embodiment schematic diagram of binding method in the embodiment of the present invention;
Fig. 4 is central apparatus one embodiment structural reference figure in the embodiment of the present invention;
Fig. 5 be the embodiment of the present invention in another example structure of central apparatus with reference to figure;
Fig. 6 is the schematic diagram of processing unit when the central apparatus in Fig. 5 are mobile terminal;
Fig. 7 is the schematic diagram of processing unit when the central apparatus in Fig. 5 are far-end control device;
Fig. 8 is embodiment of the present invention peripheral devices one embodiment structural reference figure;
Fig. 9 is another example structure of embodiment of the present invention peripheral devices with reference to figure.
Specific embodiment
The embodiment of the present invention provides a kind of binding method, central apparatus and ancillary equipment, can be simply and efficiently complete
Into binding.
Fig. 1 is refer to, binding method one embodiment includes in the embodiment of the present invention:
101st, the distance between central apparatus detection and ancillary equipment;
In the present embodiment, when user needs one ancillary equipment of binding, can be outer with required binding by central apparatus
Peripheral equipment is close to, and ensures do not have miscellaneous equipment between central apparatus and ancillary equipment, and central apparatus can be detected by distance
Distance between device or the intensity detection and ancillary equipment that pass through signal.
102nd, central apparatus judge whether the distance for detecting meets distance condition, if meeting distance condition, perform step
Rapid 103, if being unsatisfactory for distance condition, return to step 101;
In the present embodiment, central apparatus judge whether the distance for detecting meets distance condition, meet certain distance condition
Can be pre-stored within central apparatus, it is also possible to User Defined, in actual applications, make central apparatus with needs binding
Distance is smaller between ancillary equipment(That is, the value of distance condition is smaller), the accurate probability of binding is high.
103rd, central apparatus are searched in the targeted peripheral device for meet distance condition and met outside the pre-binding of binding condition
Peripheral equipment;
In the present embodiment, search in the targeted peripheral device targeted peripheral device for meeting binding condition as pre-binding outside
Peripheral equipment, in actual applications, pre-binding ancillary equipment here is an ancillary equipment.
104th, central apparatus are bound with the pre-binding ancillary equipment for finding.
In the present embodiment, after step 103, central apparatus can be tied up with the pre-binding ancillary equipment for finding
Fixed, in actual applications, central apparatus can be bound based on bluetooth with pre-binding ancillary equipment, it is also possible to self-defined association
View, makes central apparatus be satisfied by the customized agreement with ancillary equipment, and central apparatus are based on the customized agreement and tie up in advance
Determine ancillary equipment to be bound, certain those skilled in the art can also can be shown according to above-mentioned bluetooth and customized agreement and
It is clear to the other information known.
In the present embodiment, the distance between central apparatus detection and ancillary equipment, central apparatus judge that the distance for detecting is
No to meet distance condition, if meeting distance condition, central apparatus are searched full in the targeted peripheral device for meet distance condition
The pre-binding ancillary equipment of foot binding condition, central apparatus are bound with the pre-binding ancillary equipment for finding, central apparatus
Can realize and pass through by judging whether to meet the ancillary equipment that distance condition and binding condition are controlled to determine user to want
The physical distance between ancillary equipment and central apparatus that furthers can be automatically performed binding procedure, and then can be simply and efficiently complete
Into binding.
In order to make it easy to understand, implementing to the present invention so that central apparatus and ancillary equipment are based on the implementation of bluetooth as an example below
Binding method in example is described, and refers to Fig. 2, and another embodiment of binding method includes in the embodiment of the present invention:
201st, ancillary equipment judges whether list of bindings is blank, if blank, then performs step 203, if not blank,
Then perform step 202;
In the present embodiment, list of bindings is provided with ancillary equipment, list of bindings is used to store the central apparatus bound,
In actual applications, can store can uniquely represent the mark of central apparatus, such as when central apparatus are mobile phone, can store
The handset serial of the mobile phone(IMEI, international mobile equipment identity), it is also possible to centered on
The medium access control of the Bluetooth chip in equipment(MAC, media access control)Address, can also be customized
Numbering, those skilled in the art can obviously be known according to above-mentioned handset serial or customized numbering its
His information, does not limit herein, and ancillary equipment judges whether the list of bindings is blank, if list of bindings is blank, performs
Step 203, if not blank, then perform step 202.
202nd, ancillary equipment judges whether list of bindings is locking binding state, if non-locking binding state, then perform
Step 203, if locking binding state, then perform step 215;
In the present embodiment, when ancillary equipment judges that list of bindings is not blank in step 201, ancillary equipment judges binding
Whether list is locking binding state, if non-locking binding state, then performs step 203 peripheral devices broadcasting equipment letter
Breath, if locking binding state, then perform step 215.
203rd, ancillary equipment broadcasting equipment information;
In the present embodiment, when ancillary equipment judges list of bindings for blank in step 201, ancillary equipment broadcasting equipment
Information, the wherein facility information include:The product type of ancillary equipment, the species of ancillary equipment, the state of ancillary equipment and factory
One kind in business or arbitrary combination, in actual applications, ancillary equipment to all of central apparatus broadcasting equipment information, also
It is to say, any one central apparatus for opening bluetooth can detect the facility information of ancillary equipment broadcast.
204th, the facility information of central apparatus detection ancillary equipment broadcast;
In the present embodiment, after step 203 ancillary equipment broadcasting equipment information, central apparatus can detect ancillary equipment
The facility information of broadcast, the wherein facility information include:The product type of ancillary equipment, the species of ancillary equipment, ancillary equipment
State and manufacturer in one kind or arbitrary combination, in actual applications, central apparatus can be mobile terminal, such as hand
Machine, panel computer etc., central apparatus can also be remote control device, and such as remote control etc., ancillary equipment can be air-conditioning, lamp
The household electrical appliance such as switch, by taking the switch of lamp as an example, the facility information includes:The product type of the switch of lamp, the state of switch
(Such as, open and close), the species of switch(Such as, one-way switch, variable connector, dimming switch), the production firm of the switch of lamp, this
The other information that art personnel can obviously be known according to the state of the said goods model or ancillary equipment, this
Place does not limit.
205th, the distance between central apparatus detection and ancillary equipment;
In the present embodiment, when central apparatus can be by between the intensity detection and ancillary equipment of distance detector or signal
Distance, how the distance between inspection center's equipment and ancillary equipment, do not limit herein.
206th, central apparatus judge whether the distance for detecting meets distance condition, if meeting distance condition, perform step
Rapid 207, if being unsatisfactory for distance condition, return and perform step 205;
In the present embodiment, central apparatus judge whether the distance for detecting meets distance condition, meet in actual applications
Certain distance condition can be pre-stored within central apparatus, it is also possible to User Defined, for example, meet distance condition can set
It is set to less than 10cm, it is necessary to illustrate, the value of the distance condition sets center under conditions of less than Bluetooth communication distance
The standby distance between the ancillary equipment for needing binding is smaller(That is, the value of distance condition is smaller), the accurate probability of binding is high.
207th, central apparatus are attached with the targeted peripheral device for meeting distance condition;
In the present embodiment, the ancillary equipment of distance condition is met as targeted peripheral device, then central apparatus and target
Ancillary equipment is attached.
208th, central apparatus receive the binding instruction that user sends;
In the present embodiment, after step 207, central apparatus can receive the binding instruction that user sends, binding instruction
Can be an entity or virtual button, or phonetic order, can also be slip gesture, not limit herein,
In practical application, when central apparatus are mobile terminal, an APP can be preset(Application)Bound to user
Control operation, when central apparatus are remote control device, can set a binding module, and the button that user passes through to specify enters
Row binding control operation.
209th, central apparatus are scanned to the targeted peripheral device for meeting distance condition;
In the present embodiment, after central apparatus receive binding instruction, central apparatus are to meeting outside the target of distance condition
Peripheral equipment is scanned, and in actual applications, binding instruction performs the target to meeting distance condition for triggering central apparatus
The operation that ancillary equipment is scanned.
210th, central apparatus obtain the facility information that the targeted peripheral device for meeting distance condition is broadcasted by scanning;
211st, the facility information that central apparatus are broadcasted according to the targeted peripheral device for getting judges to meet distance condition
Whether targeted peripheral device belongs to default product type, if belonging to default product type, step 212 is performed, if not belonging to
In default product type, it is determined that Bind Failed;
In the present embodiment, what the targeted peripheral device that central apparatus meet distance condition by scanning acquisition first was broadcasted sets
Standby information, the facility information then broadcasted according to the targeted peripheral device for getting judges that the targeted peripheral for meeting distance condition sets
It is standby whether to belong to default product type, if belonging to default product type, step 212 is performed, in actual applications, here
The targeted peripheral device more than one for meeting distance condition.
212nd, the distance that central apparatus judge to belong between the targeted peripheral device and central apparatus of default product type is
It is no, if being less than first threshold, to perform step 213 less than first threshold, if being more than first threshold, it is determined that Bind Failed;
In the present embodiment, central apparatus belong to the targeted peripheral device and central apparatus of default product type except judgement
Between distance whether be less than first threshold, can also judge to belong to the targeted peripheral device and central apparatus of default product type
Between signal intensity whether be more than default numerical value, in actual applications, when the distance equal to first threshold when, it is also possible to perform
Step 213.
213rd, central apparatus are searched with central apparatus at a distance of nearest mesh in the targeted peripheral device less than first threshold
Mark ancillary equipment is used as pre-binding ancillary equipment;
In the present embodiment, searched in the targeted peripheral device less than first threshold is met here with central apparatus at a distance of most
Used as pre-binding ancillary equipment, in actual applications, closest targeted peripheral device can lead near targeted peripheral device
Cross the size of signal intensity to judge, the maximum targeted peripheral device of signal intensity actually should as pre-binding ancillary equipment
In, the pre-binding ancillary equipment only one of which for finding, if find the pre-binding ancillary equipment more than one, center sets
Standby to inform the result that user finds, user can close the periphery in addition to needing the pre-binding ancillary equipment of binding
The facility information of device broadcasts.
214th, central apparatus are bound with the pre-binding ancillary equipment for finding;
In the present embodiment, central apparatus are bound with the pre-binding ancillary equipment for finding.
215th, ancillary equipment is to the central apparatus broadcasting equipment information stored in list of bindings.
In the present embodiment, when judging list of bindings in step 202. for locking, ancillary equipment is only deposited in list of bindings
The central apparatus broadcasting equipment information of storage, in actual applications, when list of bindings is for locking binding state, only list of bindings
The central apparatus of middle storage could ancillary equipment corresponding with the list of bindings bound, during non-memory is in list of bindings
Heart equipment is the facility information that can't detect the corresponding ancillary equipment broadcast of the list of bindings, and the center stored in list of bindings sets
Standby that the list of bindings that lock binding state can be unlocked, central apparatus of the non-memory in list of bindings can not be tied up to this
Determine list to be unlocked.
In the present embodiment, ancillary equipment by judge list of bindings whether blank and locking binding state, work as list of bindings
During in locking binding state, except the central apparatus of storage in list of bindings, other central apparatus can not be with the ancillary equipment
Bound, so can effectively prevent not clear central apparatus from adding binding, improve security, then central apparatus detection
Distance between ancillary equipment, central apparatus judge whether the distance for detecting meets distance condition, when distance condition is met,
Central apparatus judge whether the product type of ancillary equipment and the distance of central apparatus meet binding condition, then central apparatus
The pre-binding ancillary equipment for meeting binding condition, central apparatus and pre-binding ancillary equipment are found, central apparatus can pass through
Judge whether to meet distance condition and binding condition to determine that user wants the ancillary equipment of binding control, realize by furthering
Physical distance between ancillary equipment and central apparatus can be automatically performed binding procedure, and then can simply and efficiently complete to tie up
It is fixed.
In order to make it easy to understand, implementing to the present invention so that central apparatus and ancillary equipment are based on the implementation of bluetooth as an example below
Binding method in example is described, and refers to Fig. 3, and another embodiment of binding method includes in the embodiment of the present invention:
301st, the facility information of central apparatus detection ancillary equipment broadcast;
In the present embodiment, the facility information includes:The product type of ancillary equipment, the species of ancillary equipment, ancillary equipment
State and manufacturer in one kind or arbitrary combination, in actual applications, central apparatus can be mobile terminal, such as hand
Machine, panel computer etc., central apparatus can also be remote control device, and such as remote control etc., ancillary equipment can be air-conditioning, lamp
The household electrical appliance such as switch, by taking the switch of lamp as an example, the facility information includes:The product type of the switch of lamp, the state of switch
(Such as, open and close), the species of switch(Such as, one-way switch, variable connector and dimming switch), the production firm of the switch of lamp, when
So, other letters that those skilled in the art can obviously be known according to the state of the said goods model or ancillary equipment
Breath, does not limit herein.
302nd, the distance between central apparatus detection and ancillary equipment;
In the present embodiment, when central apparatus can be by between the intensity detection and ancillary equipment of distance detector or signal
Distance, how the distance between inspection center's equipment and ancillary equipment, do not limit herein.
303rd, central apparatus judge whether the distance for detecting meets distance condition, if meeting distance condition, perform step
Rapid 304, if being unsatisfactory for distance condition, return and perform step 302;
In the present embodiment, central apparatus judge whether the distance for detecting meets distance condition, meet certain distance condition
Can be pre-stored within central apparatus, it is also possible to User Defined, for example, meet distance condition to could be arranged to be less than
10cm, in actual applications, the value of the distance condition makes central apparatus and needs under conditions of less than Bluetooth communication distance
Distance is smaller between the ancillary equipment of binding(That is, the value of distance condition is smaller), the accurate probability of binding is high.
304th, central apparatus are attached with the targeted peripheral device for meeting distance condition;
In the present embodiment, the ancillary equipment of distance condition is met as targeted peripheral device, then central apparatus and target
Ancillary equipment is attached, and in actual applications, meets the targeted peripheral device more than one of distance condition.
305th, central apparatus are searched in the targeted peripheral device for meet distance condition and met outside the pre-binding of binding condition
Peripheral equipment;
In the present embodiment, searched in the targeted peripheral device for meet distance condition and meet the targeted peripheral of binding condition and set
For as pre-binding ancillary equipment, the pre-binding ancillary equipment that central apparatus lookup meets binding condition can be by judging to meet
Whether the targeted peripheral device of distance condition belongs to default product type, and when default product type is belonged to, center sets
Whether the standby distance for judging to belong between the targeted peripheral device and central apparatus of default product type is less than first threshold or sentences
Whether the signal intensity between the disconnected targeted peripheral device and central apparatus for belonging to default product type is more than default numerical value, so
Searched in the targeted peripheral device less than first threshold afterwards with central apparatus apart nearest targeted peripheral device as tying up in advance
Determine ancillary equipment or searched outside the maximum target of signal intensity in targeted peripheral device of the signal intensity more than default numerical value
Peripheral equipment is used as pre-binding ancillary equipment, in actual applications, the pre-binding ancillary equipment only one of which for finding, if finding
During pre-binding ancillary equipment more than one, central apparatus can inform the result that user finds, user can close except
The facility information of the broadcast of the equipment outside the pre-binding ancillary equipment of needs binding.
It should be noted that central apparatus can obtain what the targeted peripheral device for meeting distance condition was broadcasted by scanning
Facility information, then gets the product type of the targeted peripheral device in slave unit information.
306th, central apparatus send request binding message to pre-binding ancillary equipment;
307th, pre-binding ancillary equipment receives the request binding message that central apparatus send;
In the present embodiment, central apparatus send request binding message to ask and pre-binding to pre-binding ancillary equipment first
Ancillary equipment is bound, and then pre-binding ancillary equipment receives the request binding message.
308th, pre-binding ancillary equipment judges be connected whether signal intensity is more than Second Threshold with central apparatus, if being more than the
Two threshold values, then perform step 309, if being less than Second Threshold, performs step 323;
In the present embodiment, after pre-binding ancillary equipment receives request binding message in step 307, pre-binding ancillary equipment
Whether judgement is connected signal intensity with central apparatus more than Second Threshold, if being more than Second Threshold, step 309 is performed, if small
In Second Threshold, it is determined that Bind Failed, in actual applications, when signal intensity is connected equal to Second Threshold, it is also possible to hold
Row step 309.
309th, pre-binding ancillary equipment sends the confirmation of connection signal intensity to central apparatus;
310th, central apparatus receive the confirmation of the connection signal intensity that pre-binding ancillary equipment sends;
In the present embodiment, pre-binding ancillary equipment connects signal intensity and is more than Second Threshold in step 308, then, in advance
Binding ancillary equipment sends the confirmation of connection signal intensity to central apparatus, and in actual applications, the confirmation is represented
Pre-binding ancillary equipment receives the bind request of central apparatus.
311st, central apparatus are bound with the pre-binding ancillary equipment for finding;
In the present embodiment, after step 310 receives confirmation, central apparatus set with the pre-binding periphery for finding
It is standby to be bound.
312nd, when central apparatus are mobile terminal, central apparatus are aobvious according to the facility information of the pre-binding ancillary equipment
Show control interface;
In the present embodiment, central apparatus can be mobile terminal, for example mobile phone, panel computer etc., and central apparatus can be with
It is remote control device, such as remote control, the present embodiment is entered as mobile terminal or as a example by remote control device with central apparatus
Row explanation, when central apparatus are mobile terminal, central apparatus show according to the facility information of the pre-binding ancillary equipment and control
Interface processed, in actual applications, user can be controlled by the control interface for showing to the pre-binding ancillary equipment bound
System, for example, pre-binding ancillary equipment is the switch of lamp, facility information has open and close, adjustment three kinds of work(of brightness including the switch
Can, user can carry out three kinds of operations of open and close and adjustment brightness to lamp by control interface, and user can be by pressing mode pair
Control interface is operated, it is also possible to control interface is operated by way of sliding, can also be by way of voice
Control interface is operated, is not limited herein.
313rd, central apparatus inform user and pre-binding ancillary equipment binding success;
In the present embodiment, central apparatus can eject prompt message in the control interface of display and inform that user is bound into
Work(, it is also possible to by voice informing user's binding success, be not construed as limiting herein.
314th, when central apparatus are remote control device, central apparatus are according to the facility information of pre-binding ancillary equipment
The button and the corresponding functional mode of button of pre-binding ancillary equipment distributing center equipment;
In the present embodiment, when central apparatus are remote control device(For example, remote control)When, central apparatus are according to pre-binding
The facility information of ancillary equipment is the button and the corresponding functional mode of button of pre-binding ancillary equipment distributing center equipment, example
Such as, pre-binding ancillary equipment is the switch of lamp, and facility information includes that the switch is one-way switch, with two kinds of functions of open and close, in
Heart equipment has 5 buttons, the function that central apparatus can distribute the first button and the second button to one-way switch be respectively out and
Close, central apparatus can also distribute a button to one-way switch, and by button and short on and off is distinguished by button by long
Two kinds of functions, other letters that certain those skilled in the art can also can obviously be known according to the above two method of salary distribution
Breath, does not limit herein.
315th, central apparatus judge whether pre-binding ancillary equipment also needs to distribute button, if desired distribute, then perform step
Rapid 316, if need not distribute, perform step 318;
In the present embodiment, central apparatus judge whether pre-binding ancillary equipment also needs to distribute button, if desired distribute, then
Step 316 is performed, if need not distribute, step 318 is performed.
316th, central apparatus judge whether the quantity of the unallocated button on central apparatus meets quantity term, if meeting number
Amount condition, then perform step 317, if being unsatisfactory for quantity term, it is determined that Bind Failed;
In the present embodiment, because central apparatus are used as remote control device, so the button on central apparatus is limited,
In actual applications, when pre-binding ancillary equipment is variable connector, per being required for distributing button all the way, for example, outside pre-binding
Peripheral equipment is three-way switch, per two kinds of functions of on and off are included all the way, there is 5 buttons on central apparatus, the distribution first via and
Second tunnel is required to 4 buttons, and when the first via and the second tunnel is distributed, the quantity term for distributing the 3rd tunnel is 2 buttons, is remained
Remaining button is unsatisfactory for quantity term.
317th, it is pre-binding ancillary equipment distributing center that central apparatus continue according to the facility information of pre-binding ancillary equipment
The corresponding functional mode of button and button of equipment;
In the present embodiment, if the quantity of unallocated button meets quantity term, central apparatus continue according to outside pre-binding
The facility information of peripheral equipment is the button and the corresponding functional mode of button of pre-binding ancillary equipment distributing center equipment.
318th, central apparatus inform user and pre-binding ancillary equipment binding success;
In the present embodiment, after central apparatus distribute button, central apparatus inform that user ties up with pre-binding ancillary equipment
Fixed success, the mode informed is not limited, and central apparatus can inform user's binding success by indicator lamp, it is also possible to by pre-
If specific music informs user's binding success, in actual applications, after binding success, user can be by central apparatus control
Pre-binding ancillary equipment.
319th, central apparatus are stored in list of bindings by pre-binding ancillary equipment, and lock list of bindings;
In the present embodiment, list of bindings is provided with ancillary equipment, list of bindings is used to store the central apparatus bound,
Then pre-binding ancillary equipment locking list of bindings, in actual applications, can store the mark that can uniquely represent central apparatus
Know, such as when central apparatus are mobile phone, the IMEI of the mobile phone can be stored, or the MAC of Bluetooth chip in central apparatus
Address, can also be customized numbering, and those skilled in the art can be according to above-mentioned handset serial or customized volume
Number other information that can obviously know, does not limit herein.
320th, pre-binding ancillary equipment sends binding open command to central apparatus;
321st, central apparatus receive binding open command;
322nd, central apparatus disconnect binding according to binding open command and pre-binding ancillary equipment;
In the present embodiment, pre-binding ancillary equipment sends binding disconnection and refers to after user's control completion, to central apparatus
Order, after central apparatus receive binding open command, disconnects binding, in reality according to binding open command with pre-binding ancillary equipment
In the application of border, after the completion of user's control, by central apparatus away from pre-binding ancillary equipment, now outside central apparatus and pre-binding
Distance between peripheral equipment becomes big, when the distance between central apparatus and pre-binding ancillary equipment is unsatisfactory for distance condition, pre-binding
Ancillary equipment can send binding open command.
In the present embodiment, central apparatus are by distance condition and bind conditional search to pre-binding ancillary equipment, Ran Houzhong
Heart equipment is bound with pre-binding ancillary equipment, is respectively that mobile terminal and Remote are filled to central apparatus after binding
Put in the case of two kinds, how to control the pre-binding ancillary equipment after binding to be described, such central apparatus are mobile terminal
When, user is controlled by the control interface for showing, when central apparatus are remote control device, can be by the button on device
To control, not only realizing the physical distance by furthering between ancillary equipment and central apparatus can be automatically performed binding procedure,
And then can simply and efficiently complete binding, and realize user just can be by center not close to pre-binding ancillary equipment
Equipment controls the pre-binding ancillary equipment, further enhancing convenience.
The central apparatus to the embodiment of the present invention for performing above-mentioned binding method are illustrated below, its basic logic
Structural reference Fig. 4, central apparatus one embodiment includes in the embodiment of the present invention:
First detection unit 401, judging unit 402, searching unit 403 and binding unit 404;
First detection unit 401, for the distance between detection and ancillary equipment;
Whether judging unit 402, the distance for judging to detect meets distance condition;
Searching unit 403, for when distance condition is met, being searched in the targeted peripheral device for meet distance condition full
The pre-binding ancillary equipment of foot binding condition;
Binding unit 404, for being bound with the pre-binding ancillary equipment for finding.
In the present embodiment, the first detection unit 401, for the distance between detection and ancillary equipment, judging unit 402 is used
Whether meet distance condition, searching unit 403, for when the distance condition is met, full in the distance for judging to detect
Searched in the targeted peripheral device of sufficient distance condition and meet the pre-binding ancillary equipment of binding condition, binding unit 404, for
The pre-binding ancillary equipment for finding is bound, and central apparatus can be by judging whether to meet distance condition and binding condition
To determine that user wants the ancillary equipment of control, realizing can be with by the physical distance that furthers between ancillary equipment and central apparatus
Binding procedure is automatically performed, and then can simply and efficiently complete binding.
In order to be better understood from the above embodiments, being embodied as bluetooth is based on central apparatus and ancillary equipment below
Interaction between example, modules that central apparatus include and unit is illustrated to the data interactive mode in central apparatus,
Fig. 5 is referred to, including:
Second detection unit 501, the first detection unit 502, judging unit 503, communication unit 504, searching unit 505,
Transmitting element 506, the first receiving unit 507, binding unit 508, processing unit 509, the second receiving unit 510, execution unit
511;
Searching unit 505 includes:Receiver module 5051, scan module 5052, acquisition module 5053, the first judge module
5054th, the second judge module 5055, searching modul 5056;
The facility information of the detection ancillary equipment broadcast of the second detection unit 501, wherein facility information includes:Ancillary equipment
Product type, the species of ancillary equipment, the state and manufacturer of ancillary equipment in one kind or arbitrary combination, in practical application
In, central apparatus can be mobile terminal, for example mobile phone, panel computer etc., and central apparatus can also be remote control device, example
Such as remote control, ancillary equipment can be air-conditioning, the household electrical appliance such as switch of lamp, by taking the switch of lamp as an example, the facility information bag
Include:The product type of the switch of lamp, the state of switch(Such as, open and close), the species of switch(Such as, one-way switch, variable connector and
Dimming switch), the production firm of the switch of lamp, those skilled in the art can be according to the said goods model or ancillary equipment
The other information that state can obviously be known, does not limit herein, and informs that the first detection unit 502 detects periphery and sets
The facility information of standby broadcast;
First detection unit 502 detects the distance and between ancillary equipment, can be by the strong of distance detector or signal
Distance between degree detection and ancillary equipment, the method for detecting distance is not limited herein, and the distance for detecting is sent to judgement
Unit 503;
Judging unit 503 judges whether the distance for detecting meets distance condition, if meeting distance condition, informs communication
Unit 504 meets the targeted peripheral device of distance condition, if being unsatisfactory for distance condition, informs that the first detection unit 502 does not have
Ancillary equipment meets distance condition, and the first detection unit 502 of triggering re-starts detection, and meeting certain distance condition can be pre-
It is first stored in central apparatus, it is also possible to User Defined, for example, meet distance condition could be arranged to less than 10cm, in reality
In the application of border, the value of the distance condition makes central apparatus outer with needs binding under conditions of less than Bluetooth communication distance
Distance is smaller between peripheral equipment(That is, the value of distance condition is smaller), the accurate probability of binding is high;
Communication unit 504 is attached with the targeted peripheral device for meeting distance condition;
Receiver module 5051 receives the binding instruction that user sends, and binding instruction for an entity or virtual can be pressed
Key, or phonetic order, can also be slip gesture, not limit herein, and in actual applications, binding instruction can be with
For driver sweep module 5052;
5052 pairs of targeted peripheral devices for meeting distance condition of scan module are scanned;
Acquisition module 5053 obtains the facility information that the targeted peripheral device for meeting distance condition is broadcasted by scanning, and will
The facility information for getting is sent to the first judge module 5054;
The facility information that first judge module 5054 is broadcasted according to the targeted peripheral device for getting judges to meet apart from bar
Whether the targeted peripheral device of part belongs to default product type, if belonging to default product type, triggering second judges mould
Block 5055, if being not belonging to default product type, it is determined that Bind Failed, in actual applications, meets the target of distance condition
Ancillary equipment more than one;
Second judge module 5055 may determine that between the targeted peripheral device and central apparatus that belong to default product type
Distance whether be less than first threshold, if be less than first threshold, trigger searching modul 5056, if be more than first threshold, really
Bind Failed is determined, in actual applications, outside the target that the second judge module 5055 can also judge belong to default product type
Whether the signal intensity between peripheral equipment and central apparatus is more than default numerical value to replace judging the distance of equipment room, when the distance
During equal to first threshold, it is also possible to trigger searching modul 5056;
Searching modul 5056 can be searched with central apparatus at a distance of recently in the targeted peripheral device less than first threshold
Targeted peripheral device as pre-binding ancillary equipment, in actual applications, closest targeted peripheral device can pass through
The size of signal intensity judges that the maximum targeted peripheral device of signal intensity will find as pre-binding ancillary equipment
Pre-binding ancillary equipment inform to transmitting element 506;
Transmitting element 506 sends request binding message to pre-binding ancillary equipment to ask to be carried out with pre-binding ancillary equipment
Binding;
First receiving unit 507 receives the confirmation of the connection signal intensity that pre-binding ancillary equipment sends, in reality
In, the confirmation represents that pre-binding ancillary equipment receives the bind request of central apparatus, and the confirmation is forwarded
To binding unit 508;
After binding unit 508 receives the confirmation of the transmission of the first receiving unit 507, with the pre-binding periphery for finding
Equipment is bound, and is then sent the facility information of the pre-binding ancillary equipment of binding to display module 5091 or first and is distributed
Module 5093;
When central apparatus are mobile terminal, further referring to Fig. 6, processing unit 509 includes:The He of display module 5091
First performing module 5092;
Display module 5091 actually should according to the facility information display control interface of the pre-binding ancillary equipment for receiving
In, user can be controlled by the control interface for showing to the pre-binding ancillary equipment bound, for example, outside pre-binding
Peripheral equipment is the switch of lamp, and facility information has open and close, adjustment three kinds of functions of brightness including the switch, and user can be by control
Interface processed carries out three kinds of operations of open and close or adjustment brightness to lamp, and user can be operated by pressing mode to control interface,
Control interface can also be operated by way of sliding, control interface can also be grasped by way of voice
Make, do not limit herein;
First performing module 5092 informs user and pre-binding ancillary equipment binding success, and in actual applications, first holds
Row module 5092 can eject prompt message in the control interface of display and inform user's binding success, it is also possible to be accused by voice
Know user's binding success, be not construed as limiting herein;
When central apparatus are remote control device, further referring to Fig. 7, processing unit 509 includes:First distribution mould
Block 5093, the 3rd judge module 5094, the 4th judge module 5095, the second distribute module 5096 and the second performing module 5097;
First distribute module 5093 is pre-binding ancillary equipment distributing center according to the facility information of pre-binding ancillary equipment
The corresponding functional mode of button and button of equipment, for example, pre-binding ancillary equipment is the switch of lamp, facility information is opened including this
It is one-way switch to close, and with two kinds of functions of open and close, the first distribute module 5093 can distribute the first button and the to one-way switch
The function of two buttons is respectively on and off, and the first distribute module 5093 can also distribute a button to the one-way switch, and lead to
It is long by button and it is short two kinds of functions of on and off are distinguished by button, certain those skilled in the art can also be according to above two
The other information that the method for salary distribution can obviously be known, is not limited herein, and then the first distribute module 5093 will be distributed
Sent to the 3rd judge module 5094 into message;
3rd judge module 5094 is received after being assigned message, judges whether pre-binding ancillary equipment also needs to distribution
Button, if desired distributes, then trigger the 4th judge module 5095, if need not distribute, triggers the second performing module 5097;
When distribution button is also needed to, the 4th judge module 5095 judges that the quantity of the unallocated button on central apparatus is
It is no to meet quantity term, if meeting quantity term, the second distribute module 5096 is triggered, if being unsatisfactory for quantity term, it is determined that
Bind Failed, in actual applications, used as remote control device, the button on central apparatus is limited to central apparatus, is tied up when in advance
When determining ancillary equipment for variable connector, per being required for distributing button all the way, such as pre-binding ancillary equipment is three-way switch, each
Road includes two kinds of functions of on and off, there is 5 buttons on central apparatus, and the distribution first via and the second tunnel are required to 4 buttons, when
When distributing the first via and the second tunnel, the quantity term for distributing the 3rd tunnel is 2 buttons, and remaining button is unsatisfactory for quantity bar
Part;
When quantity term is met, it is pre- that the second distribute module 5096 continues according to the facility information of pre-binding ancillary equipment
The button and the corresponding functional mode of button of ancillary equipment distributing center equipment are bound, then the triggering of the second distribute module 5,096 the
Two performing modules 5097;
Second performing module 5097 informs user and pre-binding ancillary equipment binding success, and the mode informed is not limited,
Second performing module 5097 can inform user's binding success by indicator lamp, and the second performing module 5097 can also be by default
Specific music informs user's binding success;
Second receiving unit 510 receives the binding open command that pre-binding ancillary equipment sends, in actual applications, when with
After the completion of the control of family, by central apparatus away from pre-binding ancillary equipment, now between central apparatus and pre-binding ancillary equipment away from
Big from becoming, when the distance between central apparatus and pre-binding ancillary equipment is unsatisfactory for distance condition, pre-binding ancillary equipment can be with
Send binding open command;
Execution unit 511 disconnects binding according to binding open command with pre-binding ancillary equipment.
In the present embodiment, central apparatus pass through the second detection unit 501, the first detection unit 502, the and of judging unit 503
Searching unit 505 determines to meet the pre-binding ancillary equipment of distance condition and binding condition, then by processing unit 509 pairs
It is respectively in the case of two kinds of mobile terminal and remote control device, how to control the pre-binding periphery after binding to set to central apparatus
Standby to be described, when such central apparatus are mobile terminal, user is controlled by the control interface for showing, central apparatus are
During remote control device, can be controlled by the button on device, not only realize and set with center by the ancillary equipment that furthers
Physical distance between standby can be automatically performed binding procedure, and then can simply and efficiently complete binding, and realize use
Family can just control the pre-binding ancillary equipment not close to pre-binding ancillary equipment by central apparatus, further enhancing just
Profit.
The ancillary equipment to the embodiment of the present invention is illustrated below, and its basic logical structure refers to Fig. 8, and the present invention is implemented
Example peripheral devices one embodiment includes:
First transmitting element 601 and binding unit 602;
First transmitting element 601, for broadcasting the facility information of ancillary equipment so that central apparatus are looked into according to facility information
Find the ancillary equipment for meeting binding condition He meeting distance condition;
Binding unit 602, for being bound with central apparatus.
In the present embodiment, the facility information of the broadcast ancillary equipment of the first transmitting element 601 is so that central apparatus are according to equipment
Information searching to the ancillary equipment for meeting binding condition He meet distance condition, with central apparatus bound by binding unit 602,
So ancillary equipment makes central apparatus be judged whether completely according to facility information by the facility information that the first transmitting element 601 is broadcasted
Sufficient distance condition and binding condition want the ancillary equipment of control to determine user, realize by ancillary equipment and the center of furthering
The physical distance of equipment room can be automatically performed binding procedure, and then can simply and efficiently complete binding.
In order to be better understood from the above embodiments, being embodied as bluetooth is based on central apparatus and ancillary equipment below
Interaction between example, modules that ancillary equipment includes and unit is illustrated to the data interactive mode in ancillary equipment,
Fig. 9 is referred to, including:
Second judging unit 701, the 3rd judging unit 702, the 3rd transmitting element 703, the first transmitting element 704, second
Receiving unit 705, communication unit 706, the first receiving unit 707, the first judging unit 708, the second transmitting element 709, binding
Unit 710, the transmitting element 712 of memory cell 711 and the 4th;
Second judging unit 701 judge list of bindings in ancillary equipment whether blank, if list of bindings is blank, touch
The first transmitting element 704 is sent out, if not blank, then trigger the 3rd judging unit 702, list of bindings is provided with ancillary equipment,
List of bindings is used to store the central apparatus bound, and in actual applications, can store can uniquely represent central apparatus
When mark, such as central apparatus are mobile phone, the IMEI of the mobile phone can be stored, or Bluetooth chip in central apparatus
MAC Address, can also be customized numbering, and those skilled in the art can be according to above-mentioned handset serial or customized
The other information that numbering can obviously be known, does not limit herein;
When list of bindings is not blank, the 3rd judging unit 702 judges whether list of bindings is locking binding state, if
It is non-locking binding state, then triggers the first transmitting element 704, if locking binding state, then triggers the 3rd transmitting element
703;
After the 3rd judging unit 702 judges list of bindings for locking binding state, the 3rd transmitting element 703 is arranged to binding
The central apparatus broadcasting equipment information stored in table, in actual applications, when list of bindings is for locking binding state, only ties up
Determine the central apparatus that store in list could ancillary equipment corresponding with the list of bindings bound, non-memory is in list of bindings
In central apparatus be the facility information that can't detect the broadcast of the list of bindings corresponding ancillary equipment, stored in list of bindings
Central apparatus can be unlocked to the list of bindings for locking binding state, and central apparatus of the non-memory in list of bindings can not
The list of bindings is unlocked;
The facility information of the broadcast ancillary equipment of the first transmitting element 704 is so that central apparatus find completely according to facility information
Sufficient binding condition and the ancillary equipment for meeting distance condition, in actual applications, the first transmitting element 704 sets to all of center
Standby broadcasting equipment information, that is to say, that it is wide that any one unlatching bluetooth central apparatus can detect the first transmitting element 704
The facility information broadcast, the wherein facility information include product type, the species of ancillary equipment, the shape of ancillary equipment of ancillary equipment
One kind in state and manufacturer or arbitrary combination, in actual applications, ancillary equipment can be air-conditioning, the household electric such as switch of lamp
Device, by taking the switch of lamp as an example, the facility information includes:The product type of the switch of lamp, the state of switch(Such as, open and close), switch
Species(Such as, one-way switch, variable connector and dimming switch), the production firm of the switch of lamp, those skilled in the art can
With the other information that the state according to the said goods model or ancillary equipment can obviously be known, do not limit herein, need
It is noted that the ancillary equipment only one of which that central apparatus are bound the need for finding, if the need for finding more than one
During the ancillary equipment of binding, central apparatus can inform the result that user finds, and user can be closed except needing binding
The facility information of the broadcast of the equipment outside ancillary equipment;
Second receiving unit 705 sets according to distance condition and binding conditional search in central apparatus to the periphery more than
When standby, facility information of the out code of user's transmission to go off the air is received;
Communication unit 706 is attached with central apparatus, and in actual applications, central apparatus can send connection request and disappear
To ask to be connected with ancillary equipment, then communication unit 706 is attached breath with central apparatus;
After the ancillary equipment that central apparatus are bound according to distance condition and binding conditional search needed for, first receives single
Unit 707 receives the request binding message of central apparatus transmission, and then the first receiving unit 707 informs the first judging unit 708
Receive request binding message;
Whether first judging unit 708 judges to be connected with central apparatus signal intensity more than first threshold, if being more than first
Threshold value, then trigger the second transmitting element 709, if being less than first threshold, it is determined that Bind Failed, in actual applications, works as connection
When signal intensity is equal to first threshold, it is also possible to trigger the second transmitting element 709;
When more than first threshold, the second transmitting element 709 sends the confirmation of connection signal intensity to central apparatus
To inform that central apparatus are bound, in actual applications, the confirmation is used to represent that ancillary equipment receives central apparatus
Bind request, then the second transmitting element 709 will confirm that information is forwarded to binding unit 710;
After binding unit 710 receives the confirmation of the transmission of the second transmitting element 709, binding unit 710 and center
Equipment is bound, and informs that memory cell 711 has performed bindings;
After memory cell 711 has performed bindings, central apparatus are stored in list of bindings by memory cell 711
In, list of bindings is then locked, list of bindings is provided with ancillary equipment, in actual applications, can store being capable of only table
Show the mark of central apparatus, for example, when central apparatus are mobile phone, the IMEI of the mobile phone can be stored, or central apparatus
In Bluetooth chip MAC Address, can also be customized numbering, those skilled in the art can be according to above-mentioned mobile phone sequence
The other information that row number or customized numbering can obviously be known, does not limit herein;
4th transmitting element 712 sends binding open command to central apparatus, so that central apparatus refer to according to binding disconnection
Order disconnects binding with ancillary equipment, in actual applications, after the completion of user's control, central apparatus is set away from pre-binding periphery
Standby, now distance between central apparatus and pre-binding ancillary equipment becomes big, when between central apparatus and pre-binding ancillary equipment away from
From when being unsatisfactory for distance condition, pre-binding ancillary equipment can send binding open command.
In the present embodiment, ancillary equipment judges that list of bindings is by the second judging unit 701, the 3rd judging unit 702
No blank and locking binding state, when list of bindings is in locking binding state, the 3rd transmitting element 703 is in list of bindings
The central apparatus broadcasting equipment information of storage, so except the central apparatus of storage in list of bindings, other central apparatus can not
Bound with the ancillary equipment, so can effectively prevent not clear central apparatus from adding binding, improve security, then lead to
The facility information of the broadcast ancillary equipment of the first transmitting element 704 is crossed so that central apparatus find satisfaction binding according to facility information
Condition and the ancillary equipment for meeting distance condition, then ancillary equipment is by the first judging unit 708 and the second transmitting element 709
Further confirm that whether be the central apparatus for needing binding, and tied up by binding unit 710 and central apparatus after validation
Fixed, realizing the physical distance by furthering between ancillary equipment and central apparatus can be automatically performed binding procedure, and then can
Simply and efficiently complete binding.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to preceding
Embodiment is stated to be described in detail the present invention, it will be understood by those within the art that:It still can be to preceding
State the technical scheme described in each embodiment to modify, or equivalent is carried out to which part technical characteristic, and these
Modification is replaced, and does not make the spirit and scope of the essence disengaging various embodiments of the present invention technical scheme of appropriate technical solution.
Claims (17)
1. a kind of binding method, it is characterised in that including:
Central apparatus are detected and the distance between ancillary equipment;
The central apparatus detect the facility information of the ancillary equipment broadcast;
The central apparatus judge whether the distance for detecting meets distance condition;
If meeting the distance condition, the central apparatus are searched full in the targeted peripheral device for meeting the distance condition
The pre-binding ancillary equipment of foot binding condition;
The central apparatus are bound with the pre-binding ancillary equipment for finding;
The central apparatus are searched in the targeted peripheral device for meeting the distance condition and met outside the pre-binding of binding condition
The step of peripheral equipment, includes:
The central apparatus receive the binding instruction that user sends;
The central apparatus are scanned to the targeted peripheral device for meeting the distance condition;
The central apparatus obtain the facility information that the targeted peripheral device for meeting the distance condition is broadcasted by scanning;
The facility information that the central apparatus are broadcasted according to the targeted peripheral device for getting judges to meet described apart from bar
Whether the targeted peripheral device of part belongs to default product type;
If belonging to default product type, the central apparatus judge that the targeted peripheral for belonging to default product type sets
Whether the standby distance with the central apparatus is less than first threshold;
If being less than the first threshold, the central apparatus are looked into the targeted peripheral device less than the first threshold
Look for the central apparatus at a distance of the nearest targeted peripheral device as the pre-binding ancillary equipment.
2. method according to claim 1, it is characterised in that distance between the central apparatus detection and ancillary equipment
Also include before step:
The central apparatus detect the facility information of the ancillary equipment broadcast;
Wherein described facility information includes:The product type of the ancillary equipment, and/or the ancillary equipment species, and/or
The state of the ancillary equipment, and/or manufacturer.
3. method according to claim 1 and 2, it is characterised in that the central apparatus are meeting the distance condition
Include step before the pre-binding ancillary equipment for meeting binding condition is searched in targeted peripheral device:
The central apparatus are attached with the targeted peripheral device for meeting the distance condition;
The central apparatus include step before being bound with the pre-binding ancillary equipment for finding:
The central apparatus send request binding message to the pre-binding ancillary equipment;
The central apparatus receive the confirmation of the connection signal intensity that the pre-binding ancillary equipment sends.
4. method according to claim 1, it is characterised in that the central apparatus are carried out with the pre-binding ancillary equipment
The step of after binding, includes:
When central apparatus are mobile terminal, the central apparatus show according to the facility information of the pre-binding ancillary equipment and control
Interface processed;
The central apparatus inform user with the pre-binding ancillary equipment binding success.
5. method according to claim 1, it is characterised in that the central apparatus are carried out with the pre-binding ancillary equipment
The step of after binding, includes:
When central apparatus are remote control device, the central apparatus are according to the facility information of the pre-binding ancillary equipment
The pre-binding ancillary equipment distributes the button and the corresponding functional mode of button of the central apparatus;
The central apparatus judge whether the pre-binding ancillary equipment also needs to distribute button;
If also needing to distribute button, the central apparatus judge whether the quantity of the unallocated button on the central apparatus is full
Sufficient quantity term;
If meeting the quantity term, it is institute that the central apparatus continue according to the facility information of the pre-binding ancillary equipment
State button and the corresponding functional mode of button that pre-binding ancillary equipment distributes the central apparatus;
The central apparatus inform user with the pre-binding ancillary equipment binding success.
6. the method according to claim 4 or 5, it is characterised in that the central apparatus inform user with the pre-binding
The step of after ancillary equipment binding success, includes:
The central apparatus are stored in the list of bindings by the pre-binding ancillary equipment, and lock the list of bindings;
The pre-binding ancillary equipment sends binding open command to the central apparatus;
The central apparatus receive the binding open command;
The central apparatus disconnect according to the binding open command with the pre-binding ancillary equipment to be bound.
7. method according to claim 2, it is characterised in that the central apparatus detect setting for the ancillary equipment broadcast
The step of before standby information, includes:
The ancillary equipment judges whether the list of bindings is blank;
If blank, then the ancillary equipment broadcasts the facility information;
If not blank, then the ancillary equipment judges whether the list of bindings is locking binding state;
If non-locking binding state, then the ancillary equipment broadcasts the facility information;
If locking binding state, then the ancillary equipment broadcasts the equipment to the central apparatus stored in the list of bindings
Information.
8. method according to claim 3, it is characterised in that the central apparatus send request binding message to described pre-
The step of before binding ancillary equipment, includes:
The pre-binding ancillary equipment receives the request binding message that the central apparatus send;
Whether the pre-binding ancillary equipment judges to be connected with the central apparatus signal intensity more than Second Threshold;
If being more than Second Threshold, confirmation to the center that the pre-binding ancillary equipment sends connection signal intensity sets
It is standby.
9. a kind of central apparatus, it is characterised in that the central apparatus include:
First detection unit, for the distance between detection and ancillary equipment;
Second detection unit, the facility information for detecting ancillary equipment broadcast;
Whether judging unit, the distance for judging to detect meets distance condition;
Searching unit, for when the distance condition is met, being searched in the targeted peripheral device for meeting the distance condition
Meet the pre-binding ancillary equipment of binding condition;
Binding unit, for being bound with the pre-binding ancillary equipment for finding;
The searching unit includes:
Receiver module, for receiving the binding instruction that user sends;
Scan module, for being scanned to the targeted peripheral device for meeting the distance condition;
Acquisition module, the equipment for obtaining the targeted peripheral device broadcast for meeting the distance condition by scanning is believed
Breath;
First judge module, for judged to meet according to the facility information of the targeted peripheral device broadcast for getting it is described away from
Whether the targeted peripheral device from condition belongs to default product type;
Second judge module, for when default product type is belonged to, judgement to belong to the target of default product type
Whether the distance between ancillary equipment and the central apparatus is less than first threshold;
Searching modul, for when less than the first threshold, in the targeted peripheral device less than the first threshold
Search with the central apparatus at a distance of the nearest targeted peripheral device as the pre-binding ancillary equipment.
10. central apparatus according to claim 9, it is characterised in that the central apparatus also include:
Second detection unit, the facility information for detecting the ancillary equipment broadcast;
Wherein described facility information includes:The product type of the ancillary equipment, and/or the ancillary equipment species, and/or
The state of the ancillary equipment, and/or manufacturer.
11. central apparatus according to claim 10, it is characterised in that the central apparatus also include:
Communication unit, for being attached with the targeted peripheral device for meeting the distance condition;
Transmitting element, for sending request binding message to the pre-binding ancillary equipment;
First receiving unit, the confirmation for receiving the connection signal intensity that the pre-binding ancillary equipment sends.
12. central apparatus according to claim 9, it is characterised in that described when the central apparatus are mobile terminal
Central apparatus also include:
Processing unit, including:
Display module, for the facility information display control interface according to the pre-binding ancillary equipment;
First performing module, for informing user with the pre-binding ancillary equipment binding success.
13. central apparatus according to claim 9, it is characterised in that described when central apparatus are remote control device
Central apparatus also include processing unit, and the processing unit includes:
First distribute module, for being pre-binding ancillary equipment distribution according to the facility information of the pre-binding ancillary equipment
The corresponding functional mode of button and button of the central apparatus;
3rd judge module, for judging whether the pre-binding ancillary equipment also needs to distribute button;
4th judge module, for when distribution button is also needed to, judging the quantity of the unallocated button on the central apparatus
Whether quantity term is met;
Second distribute module, for when the quantity term is met, continuing to be believed according to the equipment of the pre-binding ancillary equipment
Cease the button and the corresponding functional mode of button that the central apparatus are distributed for the pre-binding ancillary equipment;
Second performing module, for informing user with the pre-binding ancillary equipment binding success.
14. central apparatus according to claim 12 or 13, it is characterised in that the central apparatus also include:
Second receiving unit, for receiving the binding open command that the pre-binding ancillary equipment sends;
Execution unit, binds for being disconnected with the pre-binding ancillary equipment according to the binding open command.
15. a kind of ancillary equipment, it is characterised in that the ancillary equipment includes:
First transmitting element, for broadcasting the facility information of the ancillary equipment so that central apparatus are looked into according to the facility information
Find the ancillary equipment for meeting binding condition He meeting distance condition;
Binding unit, for being bound with the central apparatus;
The ancillary equipment also includes:
Communication unit, for being attached with the central apparatus;
First receiving unit, for receiving the request binding message that the central apparatus send;
First judging unit, for judging to be connected with the central apparatus signal intensity whether more than first threshold;
Second transmitting element, confirmation to the center for when more than first threshold, sending connection signal intensity sets
It is standby informing that the central apparatus are bound;
The ancillary equipment also includes:
Second judging unit, for judge the list of bindings in the ancillary equipment whether blank, if the list of bindings for sky
In vain, then first transmitting element is triggered;
3rd judging unit, for when the list of bindings is not blank, judging whether the list of bindings is locking binding
State, if the list of bindings is non-locking binding state, triggers first transmitting element;
3rd transmitting element, for when the list of bindings is for locking binding state, in being stored in the list of bindings
Facility information described in heart device broadcasts.
16. ancillary equipment according to claim 15, it is characterised in that the ancillary equipment also includes:
Second receiving unit, in the central apparatus according to the distance condition and the binding conditional search to more than one
During the individual ancillary equipment, out code that user sends is received with facility information of going off the air.
17. ancillary equipment according to claim 15, it is characterised in that the ancillary equipment also includes:
Memory cell, for the central apparatus to be stored in the list of bindings, and locks the list of bindings;
4th transmitting element, for sending binding open command to the central apparatus, so that the central apparatus are according to
Binding open command disconnects with the ancillary equipment binds.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310319804.3A CN104348524B (en) | 2013-07-26 | 2013-07-26 | A kind of binding method, central apparatus and ancillary equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310319804.3A CN104348524B (en) | 2013-07-26 | 2013-07-26 | A kind of binding method, central apparatus and ancillary equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104348524A CN104348524A (en) | 2015-02-11 |
CN104348524B true CN104348524B (en) | 2017-07-07 |
Family
ID=52503450
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310319804.3A Active CN104348524B (en) | 2013-07-26 | 2013-07-26 | A kind of binding method, central apparatus and ancillary equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104348524B (en) |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106162514B (en) * | 2015-04-10 | 2019-10-11 | 卡西欧计算机株式会社 | Wireless communication device, wireless communications method, central apparatus and recording medium |
CN104902435A (en) * | 2015-04-21 | 2015-09-09 | 北京云迹科技有限公司 | Mobile terminal, and mobile terminal and Bluetooth wristband binding method and device |
CN104936137B (en) * | 2015-06-09 | 2018-08-24 | 深圳市文鼎创数据科技有限公司 | Bluetooth binding method and bluetooth equipment |
CN104990212B (en) * | 2015-06-30 | 2018-01-02 | 广东乐心医疗电子股份有限公司 | Method and system for intelligently regulating and controlling air conditioner |
CN105101467A (en) * | 2015-07-14 | 2015-11-25 | 清华大学 | Automatic equipment pairing method based on wireless signal intensity |
CN105635945B (en) * | 2015-12-24 | 2019-10-11 | Tcl集团股份有限公司 | A kind of device talk method and system based on WI-FI Aware |
CN106803981B (en) * | 2016-12-30 | 2018-05-22 | 广州高清视信数码科技股份有限公司 | Binding, information interacting method and the system of mobile terminal and TV set-top box |
CN108521647B (en) * | 2018-04-20 | 2021-06-25 | 北京华大智宝电子系统有限公司 | Bluetooth SIM card pairing method and Bluetooth master device |
CN109286455B (en) * | 2018-11-23 | 2020-10-20 | 奥克斯空调股份有限公司 | Communication method and communication system for preventing multi-machine interference |
CN109890017B (en) * | 2019-01-28 | 2022-03-01 | 青岛海信移动通信技术股份有限公司 | Method, device and equipment for connecting with central equipment and readable storage medium |
CN110139261B (en) * | 2019-06-06 | 2024-02-20 | 深圳诺康医疗设备股份有限公司 | Bluetooth equipment, bluetooth mobile terminal, bluetooth quick connection system and Bluetooth quick connection method |
CN110749047B (en) * | 2019-10-31 | 2021-11-02 | 广东美的制冷设备有限公司 | Terminal control method and device, terminal, and air conditioner control method and device |
CN111247819B (en) * | 2019-11-11 | 2023-05-02 | 深圳市汇顶科技股份有限公司 | Device management method and BLE device |
CN112738265A (en) * | 2020-12-31 | 2021-04-30 | 青岛海尔科技有限公司 | Equipment binding method and device, storage medium and electronic device |
JP7513695B1 (en) | 2022-12-28 | 2024-07-09 | ソフトバンク株式会社 | Information processing device, information processing method, and information processing program |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101051924A (en) * | 2006-04-06 | 2007-10-10 | 华为技术有限公司 | Equipment managing method for user's networks and user's network managing entity |
WO2009014170A1 (en) * | 2007-07-24 | 2009-01-29 | Ntt Docomo, Inc. | Communication terminal, information management device, and program |
CN102760036A (en) * | 2012-03-28 | 2012-10-31 | 联想(北京)有限公司 | Interaction method, interaction device and system thereof |
CN102791014A (en) * | 2012-07-18 | 2012-11-21 | 诚迈科技(南京)有限公司 | Short-distance pairing method of wifi (wireless fidelity) mobile terminal |
CN103124396A (en) * | 2013-01-24 | 2013-05-29 | 河南科技大学 | Method for positioning mobile node of wireless sensor network based on crossed particle swarm |
-
2013
- 2013-07-26 CN CN201310319804.3A patent/CN104348524B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101051924A (en) * | 2006-04-06 | 2007-10-10 | 华为技术有限公司 | Equipment managing method for user's networks and user's network managing entity |
WO2009014170A1 (en) * | 2007-07-24 | 2009-01-29 | Ntt Docomo, Inc. | Communication terminal, information management device, and program |
CN102760036A (en) * | 2012-03-28 | 2012-10-31 | 联想(北京)有限公司 | Interaction method, interaction device and system thereof |
CN102791014A (en) * | 2012-07-18 | 2012-11-21 | 诚迈科技(南京)有限公司 | Short-distance pairing method of wifi (wireless fidelity) mobile terminal |
CN103124396A (en) * | 2013-01-24 | 2013-05-29 | 河南科技大学 | Method for positioning mobile node of wireless sensor network based on crossed particle swarm |
Also Published As
Publication number | Publication date |
---|---|
CN104348524A (en) | 2015-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104348524B (en) | A kind of binding method, central apparatus and ancillary equipment | |
CN106553617B (en) | Control method for vehicle, sharing method and device | |
US7561019B2 (en) | Home security system | |
CN109936845B (en) | Intelligent equipment network distribution method and device | |
US7822981B2 (en) | Communication apparatus and authenticating method | |
CN104680630A (en) | Method and system for controlling door locks | |
CN109413627A (en) | A kind of smart home device matches network method and distribution network systems | |
CN106161154A (en) | The distribution method of household electrical appliance, system and distribution module | |
WO2014134544A1 (en) | Self-configuring wireless network | |
CN108370599A (en) | information processing method, program and information processing system | |
CN103167496B (en) | Network insertion processing method and system, network access equipment | |
CN105404215A (en) | Intelligent power supply monitoring system and implementation method thereof | |
CN112188488A (en) | Network distribution method, device and system | |
CN108738003A (en) | Bluetooth matching method and system based on shared bluetooth communication address | |
CN113920615A (en) | Method for connecting Bluetooth key with vehicle, vehicle Bluetooth system and Bluetooth key | |
CN102457850B (en) | A kind of method of access point and wireless stations secure connection access point | |
CN107396283A (en) | A kind of router wireless connection authentication method and system | |
CN112333060A (en) | Hybrid network distribution method and system | |
CN104468558B (en) | Data security management method and device and terminal | |
US20100080306A1 (en) | Communication system, communication device, communication terminal, and communication setting method | |
CN106793003B (en) | A kind of interactive configuration method of network entry of smart machine | |
CN103873594B (en) | Service diverting search method and system | |
CN105654587B (en) | Control system, wireless remote control device and the device of pairing, method | |
CN209553139U (en) | Short-distance PEPS intelligent key matching system | |
CN111147336A (en) | Intelligent terminal access control system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |