CN105472148B - Method and apparatus for terminal binding home equipment - Google Patents
Method and apparatus for terminal binding home equipment Download PDFInfo
- Publication number
- CN105472148B CN105472148B CN201510822642.4A CN201510822642A CN105472148B CN 105472148 B CN105472148 B CN 105472148B CN 201510822642 A CN201510822642 A CN 201510822642A CN 105472148 B CN105472148 B CN 105472148B
- Authority
- CN
- China
- Prior art keywords
- home equipment
- terminal
- present terminal
- information
- target
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of method and apparatus for terminal binding home equipment.Wherein, this method comprises: present terminal searches for the home equipment with the presence or absence of unbound terminal in the search range of present terminal;If searching the target home equipment of unbound terminal in the search range of present terminal, judge whether target home equipment is less than pre-determined distance at a distance from present terminal;If target home equipment is not less than pre-determined distance at a distance from present terminal, generate for prompting the first information using wireless network bound targets home equipment;If target home equipment is less than pre-determined distance at a distance from present terminal, generate for prompting the second information using near-field communication NFC technique bound targets home equipment.Through the invention, it solves the prior art and is all made of binding mode single technical problem caused by WIFI binding mode realizes the binding of terminal and home equipment in various scenes, improve user and the control of home equipment is experienced.
Description
Technical field
The present invention relates to terminal applies field, in particular to a kind of method for terminal binding home equipment and
Device.
Background technique
Smart home device combination WIFI (Wireless-Fidelity, i.e. Wireless Fidelity) module configures function by a key
Can, home equipment and mobile phone are bound.
It is currently used WIFI module bind home equipment by way of, the support of network is needed, in no network support
In the case where, then it can not achieve the binding of equipment, and the mode of the bound device is single, (such as band manual operator in special scenes
Binding) operate for a user it is excessively complicated, it is not humanized enough.
Be all made of in various scenes for the prior art WIFI binding mode realize terminal and home equipment binding and
The single problem of caused binding mode, currently no effective solution has been proposed.
Summary of the invention
It is existing at least to solve the embodiment of the invention provides a kind of method and apparatus for terminal binding home equipment
Technology is all made of binding mode list caused by WIFI binding mode realizes the binding of terminal and home equipment in various scenes
One the technical issues of.
According to an aspect of an embodiment of the present invention, a kind of method for terminal binding home equipment is provided, comprising:
Present terminal searches for the home equipment with the presence or absence of unbound terminal in the search range of the present terminal;If working as described
The target home equipment that unbound terminal is searched in the search range of preceding terminal, then judge the target home equipment with it is described
Whether the distance of present terminal is less than pre-determined distance;If the target home equipment is not less than institute at a distance from the present terminal
Pre-determined distance is stated, then generates the first information for prompting to bind the target home equipment using wireless network;If the mesh
It marks home equipment and is less than the pre-determined distance at a distance from the present terminal, then generate for prompting to use near-field communication NFC
Technology binds the second information of the target home equipment.
Further, present terminal searches for the family with the presence or absence of unbound terminal in the search range of the present terminal
Occupying equipment includes: the broadcasting instructions that the present terminal generates and sends json agreement, wherein the broadcasting instructions are for searching for
The home equipment of unbound terminal in the search range of the present terminal;If receiving the response letter of home equipment return
Breath, then search the target home equipment of unbound terminal in the search range of the present terminal.
Further, after the broadcasting instructions that the present terminal generates and sends json agreement, the method is also wrapped
It includes: after the home equipment in the search range of the present terminal receives the broadcasting instructions, detecting the home equipment
Whether binding has terminal;If it is detected that the home equipment is unbound terminal, it is determined that the home equipment is the target household
Equipment obtains the current device location of the target home equipment;The response message is generated based on the current device location,
The response message is back to the present terminal.
Further, after the broadcasting instructions that the present terminal generates and sends json agreement, which comprises
Home equipment in the search range of the present terminal monitors the network port by WIFI module, receives the broadcast and refers to
It enables.
Further, judge the target home equipment whether be less than at a distance from the present terminal pre-determined distance it
Before, the method also includes: obtain the current device location of the target home equipment and the present terminal of the present terminal
Position;Calculate the distance between the current device location and the present terminal position, obtain the target home equipment with
The distance of the present terminal.
Further, after generating the first information or second information, the method also includes: determining
After stating present terminal and the target home equipment binding success, display is tied up for prompting on the screen of the present terminal
Fixed successful prompt information;And/or it is played and is used by the multimedia equipment of the present terminal and/or the target home equipment
In the multimedia messages of prompt binding success, wherein the multimedia messages include: acoustic information, pictorial information and video
At least one of information.
Further, after generating the first information or second information, the method also includes: determining
After stating present terminal and the target home equipment binding success, the present terminal obtains setting for the target home equipment
At least one of standby type information, number of devices information and equipment operation information.
According to another aspect of an embodiment of the present invention, a kind of device for terminal binding home equipment, packet are additionally provided
Include: search module searches for the family with the presence or absence of unbound terminal for present terminal in the search range of the present terminal
Occupy equipment;Judgment module, if the target household for searching unbound terminal in the search range of the present terminal is set
It is standby, then judge whether the target home equipment is less than pre-determined distance at a distance from the present terminal;The first information generates mould
Block generates if being not less than the pre-determined distance at a distance from the present terminal for the target home equipment for mentioning
Show the first information that the target home equipment is bound using wireless network;Second information generating module, if being used for the target
Home equipment is less than the pre-determined distance at a distance from the present terminal, then generates for prompting to use near-field communication NFC skill
Art binds the second information of the target home equipment.
Further, described search module includes: sending submodule, and sending submodule is generated for the present terminal
And send the broadcasting instructions of json agreement, wherein the broadcasting instructions are for searching in the search range of the present terminal
The home equipment of unbound terminal;Submodule is searched for, if the response message for receiving home equipment return, works as described
The target home equipment of unbound terminal is searched in the search range of preceding terminal.
Further, described device further include: detection module, for generating and sending json agreement in the present terminal
Broadcasting instructions after, after the home equipment in the search range of the present terminal receives the broadcasting instructions, inspection
Survey whether the home equipment has bound terminal;Determining module, for if it is detected that the home equipment is unbound terminal, it is determined that
The home equipment is the target home equipment, obtains the current device location of the target home equipment;Return module is used for
The response message is generated based on the current device location, the response message is back to the present terminal.
Further, described device further include: cue module, for generating the first information or second information
Later, after determining the present terminal and the target home equipment binding success, on the screen of the present terminal
Show the prompt information for prompting binding success;And/or pass through the more of the present terminal and/or the target home equipment
Media device plays the multimedia messages for prompting binding success, wherein the multimedia messages include: acoustic information, figure
At least one of piece information and video information.
Further, described device further include: module is obtained, for generating the first information or second information
Later, after determining the present terminal and the target home equipment binding success, the present terminal obtains the mesh
Mark at least one of device type information, number of devices information and the equipment operation information of home equipment.
In embodiments of the present invention, it using the above embodiment of the present invention, searches to exist near present terminal and not tie up
After the target home equipment for determining terminal, the target home equipment is judged at a distance from present terminal, present terminal is based on difference
Distance prompt user selects most suitable binding mode to bind the target home equipment, which includes passing through wireless network
The mode of binding and in such a way that near-field communication NFC technique is bound, solves the prior art and is all made of in various scenes
WIFI binding mode realizes the problem that binding mode is single caused by the binding of terminal and home equipment, and user can be according to mentioning
Show under different scenes using different binding modes, improves user and the control of home equipment is experienced.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of method for terminal binding home equipment according to an embodiment of the present invention;
Fig. 2 is a kind of flow chart optionally with the method in terminal binding home equipment according to an embodiment of the present invention;
Fig. 3 is another process optionally with the method in terminal binding home equipment according to an embodiment of the present invention
Figure;
Fig. 4 is a kind of schematic diagram of device for terminal binding home equipment according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
Embodiment 1
According to embodiments of the present invention, a kind of embodiment of the method for terminal binding home equipment is provided, needs to illustrate
, step shown in the flowchart of the accompanying drawings can hold in a computer system such as a set of computer executable instructions
Row, although also, logical order is shown in flow charts, and it in some cases, can be to be different from sequence herein
Execute shown or described step.
Fig. 1 is a kind of flow chart of method for present terminal binding home equipment according to an embodiment of the present invention, such as
Shown in Fig. 1, this method comprises the following steps:
Step S102, present terminal are searched for the household with the presence or absence of unbound terminal in the search range of present terminal and are set
It is standby.
Optionally, above-mentioned present terminal and terminal can be smart phone, tablet computer.
Step S104 sentences if searching the target home equipment of unbound terminal in the search range of present terminal
Whether disconnected target home equipment is less than pre-determined distance at a distance from present terminal.
Step S106 is generated if target home equipment is not less than pre-determined distance at a distance from present terminal for prompting
Use the first information of wireless network bound targets home equipment.
Step S108 is generated if target home equipment is less than pre-determined distance at a distance from present terminal for prompting to make
With the second information of near-field communication NFC technique bound targets home equipment.
Using the above embodiment of the present invention, search that there are the target households of unbound terminal to set near present terminal
After standby, the target home equipment is judged at a distance from present terminal, present terminal is based on different distance prompt user selection most
Suitable binding mode binds the target home equipment, which includes in such a way that wireless network is bound and by close
The mode of field communication NFC technique binding solves the prior art and is all made of WIFI binding mode realization terminal in various scenes
The single problem with binding mode caused by the binding of home equipment, user can use not under different scenes according to prompt
Same binding mode improves user and experiences to the control of home equipment.
Specifically, above-mentioned target home equipment is the home equipment of unbound present terminal.
In the above-described embodiments, user can be by grasping on the interface on present terminal for showing application APP
Make, generates broadcasting instructions, the broadcasting instructions in the search range of present terminal for searching for the presence or absence of unbound terminal
Home equipment, present terminal is after sending the broadcasting instructions, if receiving the response message of target home equipment,
Judge whether target home equipment is less than pre-determined distance at a distance from present terminal, and difference is determined based on distance between the two
Binding mode.
Optionally, it after determining binding mode, terminal can be used to show the interface of application APP in this prior
Show the first information and the second information.
Optionally, it if target home equipment is not less than pre-determined distance at a distance from present terminal, is set using target household
The radio network information (wireless network can be WIFI network) that preparation is sent, terminal inputs the WIFI name of the radio network information
Title and password, to bind the target home equipment.
Optionally, if target home equipment is less than pre-determined distance at a distance from present terminal, user will can directly work as
Preceding terminal is by close-target home equipment (similar swiping card), to bind the target home equipment.
Wherein, NFC (Near Field Communication, i.e. near-field communication technology) is by non-contact radio-frequency identification
The integration of (abbreviation of RFID, Radio Frequency Identification) and interconnection technology is evolved, single
Induction type card reader, icah wavw and point-to-point function are combined on chip, can be known in short distance with compatible equipment
Other and data exchange.
In the above embodiment of the invention, above-mentioned pre-determined distance can be 5m.If target home equipment and present terminal
Distance be no more than 5m, then user can be directly using mobile phone by close-target home equipment (similar swiping card), by target man
It occupies equipment to be bound with mobile phone, after binding success, the success of user's bindings is prompted by cell phone application.If target household
Equipment is more than 5m at a distance from present terminal, then user inputs the WIFI title and password of radio network information, realizes target man
Occupy the binding of equipment and mobile phone.
Optionally, if not searching the home equipment of unbound mobile phone near mobile phone, by handset binding home equipment
Mode be set as wireless network (such as WIFI network) binding mode.
In the above embodiment of the invention, present terminal is searched for whether there is in the search range of present terminal and not tied up
The home equipment for determining terminal includes: broadcasting instructions that present terminal generates and sends json agreement, wherein broadcasting instructions are for searching
The home equipment of unbound terminal in the search range of rope present terminal;If receiving the response message of home equipment return,
The target home equipment of unbound terminal is then searched in the search range of present terminal.
Optionally, user opens cell phone application (Application Program, i.e. application program), and cell phone application sends wide
Multicast data, broadcast data format follow json (java script object notation, i.e., a kind of Data Transport Protocol) association
View, the broadcasting instructions of fixed json agreement are sent by cell phone application, and searching handset nearby whether there is the family of unbound mobile phone
Occupy equipment.If cell phone application receives the response message of home equipment return, unbound hand is searched within the scope of mobile phone searching
The target home equipment of machine.
It in the above embodiment of the invention, should after the broadcasting instructions that present terminal generates and sends json agreement
Method can also include: to detect the household after the home equipment in the search range of present terminal receives broadcasting instructions
Whether equipment has bound terminal;If it is detected that the home equipment is unbound terminal, it is determined that the home equipment is target household
Equipment obtains the current device location of target home equipment;Response message is generated based on current device location, response message is returned
It is back to present terminal.
Specifically, the home equipment in the search range of present terminal monitors the network port by WIFI module, receives
Broadcasting instructions.
Optionally, home equipment monitors the network port by WIFI module, obtains the broadcast data that cell phone application is sent,
After receiving broadcast data, according to the json protocol analysis broadcast data, and judge whether the home equipment has bound mobile phone.If
Detecting that the home equipment is unbound has mobile phone, it is determined that the home equipment is target home equipment, target home equipment
WIFI module accesses server, obtains more specific location information (the current device position of i.e. above-mentioned target home equipment of current device
Set), and more specific location information is sent to cell phone application.
Optionally, if it is detected that the home equipment has bound mobile phone, which does not do any response.
Through the foregoing embodiment, near mobile phone, the side of the broadcasting instructions of fixed json agreement is sent by cell phone application
Method search whether there is the home equipment unbound with the mobile phone, and determine whether to search the target man unbound with the mobile phone
Equipment is occupied, which is simple and fast and reliable.
In the above embodiment of the invention, judge target home equipment at a distance from present terminal and whether be less than it is default
Before distance, this method can also include: the present terminal of the current device location and present terminal that obtain target home equipment
Position;Calculate the distance between current device location and present terminal position, obtain target home equipment and present terminal away from
From.
Specifically, the WIFI module of target home equipment obtains more specific location information (the i.e. above-mentioned target of current device
The current device location of home equipment), and more specific location information is sent to cell phone application, cell phone application passes through longitude and latitude, longitude and latitude
The position of the position (i.e. above-mentioned present terminal position) and target home equipment of degree and the relationship calculating mobile phone between is (i.e.
The distance between above-mentioned current device location), mobile phone is obtained at a distance from target home equipment, and logical based on the Distance Judgment
It crosses the mode of wireless network binding or realizes tying up for target home equipment and mobile phone in such a way that near-field communication NFC technique is bound
It is fixed.
Through the foregoing embodiment, mobile phone is calculated at a distance from target home equipment in cell phone application, and is mentioned based on the distance
Show that user selects most suitable binding mode to bind the target home equipment, is experienced with improving user to the control of home equipment.
In the above embodiment of the invention, after generating the first information or the second information, this method can also include:
After determining present terminal and target home equipment binding success, display is bound into for prompting on the screen of present terminal
The prompt information of function, and/or played by the multimedia equipment of present terminal and/or target home equipment for prompting to be bound into
The multimedia messages of function, wherein multimedia messages include: at least one of acoustic information, pictorial information and video information.
Optionally, show that the prompt information of binding success, the prompt information can be text information on the screen of cell phone application
And/or graph text information e.g. can show the printed words of " binding success " on the screen of present terminal, it can also be in present terminal
Screen on corresponding with " binding success " picture of display.
Optionally, after mobile phone and target home equipment binding success, cell phone application sends the information of binding success to mesh
Home equipment is marked, the multimedia equipment of target home equipment can issue " drop " sound, prompt user's binding success.
In the above embodiment of the invention, after generating the first information or the second information, this method can also include:
After determining present terminal and target home equipment binding success, present terminal obtains the device type letter of target home equipment
At least one of breath, number of devices information and equipment operation information.
Through the foregoing embodiment, terminal is by collecting more data, such as device type, quantity and the tool of home equipment
Body position information etc., the actual conditions of comprehensive analysis home equipment are most reasonably suggested to user.
Optionally, above-mentioned home equipment can be smart home device.
Through the above embodiments of the present invention, it solves and how to obtain smart home device location information and the intelligent family of judgement
Occupy the problem whether equipment is bound.Specifically, it is sent and is broadcasted by mobile phone, smart home device WIFI module monitors network-side
The mode of mouth, the WIFI module and cell phone application of smart home device follow json agreement, and are communicated based on json agreement.
The above embodiment of the present invention is described in detail below with reference to Fig. 2 and Fig. 3, as shown in Fig. 2, the embodiment may include as follows
Step:
Step S201 opens cell phone application.
Step S203, cell phone application send the broadcasting instructions of json agreement.
Wherein, the broadcasting instructions of json agreement are the instruction for searching for the home equipment of unbound mobile phone.
Step S205, home equipment monitor the network port by WIFI module, receive broadcasting instructions.
Step S207, judges whether the home equipment has bound mobile phone.
Specifically, after home equipment receives broadcasting instructions, judge whether the home equipment has bound mobile phone.If sentencing
Breaking, the home equipment is unbound out mobile phone, it is determined that the home equipment is target home equipment, thens follow the steps S209;If sentencing
Disconnected home equipment out has bound mobile phone, thens follow the steps S211.
The more specific location information of the target home equipment is returned to cell phone application by step S209.
Step S211, the home equipment do not make any response.
As shown in figure 3, the embodiment may include steps of:
Step S301 opens cell phone application.
Step S302, cell phone application search the target home equipment of unbound mobile phone by the broadcasting instructions of json agreement.
Step S303, judges whether target home equipment is less than 5m at a distance from mobile phone.
Specifically, if judging, target home equipment is less than 5m at a distance from mobile phone, thens follow the steps S304;If judging
Target home equipment is not less than 5m at a distance from mobile phone, thens follow the steps S305.
Step S304 prompts user to use near-field communication NFC technique bound targets home equipment.
Specifically, user can be directly using mobile phone by close-target home equipment (similar swiping card), by mobile phone and mesh
Mark home equipment is bound, and after mobile phone success bound targets home equipment, executes step S306.
Step S305 prompts user to use wireless network bound targets home equipment.
Specifically, cell phone application receives the WIFI information of target home equipment, inputs WIFI title and password, realizes mesh
The binding for marking home equipment and mobile phone executes step S306 after binding success.
Step S306 prompts user's binding success by cell phone application.
Through the above embodiments of the present invention, it can simplify the process of bound device using near-field communication NFC technique, it is convenient
The more bound device of special scenes, such as band manual operator can directly be bound by NFC technique, and NFC technique binding is set
Standby is highly-safe, security risk is not present, and convenient and efficient.And there is wireless network by the way of WIFI bound device
In the case where support, it can be used range wider, it is inconvenient for operation if cloud control may be mounted in outdoor or ceiling, it can make
It is bound with WIFI binding mode.Through the invention, unbound equipment, intelligent prompt, in different scenes are actively searched for
It is lower that most suitable binding mode, foolproof study course, without study are provided.
Embodiment 2
According to the embodiment of the present application, a kind of device for terminal binding home equipment is additionally provided, as shown in figure 4, should
Device may include: search module 20, judgment module 40, first information generation module 60 and the second information generating module 80.
Wherein, search module 20 are searched for for present terminal in the search range of present terminal with the presence or absence of unbound
The home equipment of terminal.
Optionally, above-mentioned present terminal and terminal can be smart phone, tablet computer.
Judgment module 40, if the target household for searching unbound terminal in the search range of present terminal is set
It is standby, then judge whether target home equipment is less than pre-determined distance at a distance from present terminal.
First information generation module 60, if being not less than pre-determined distance at a distance from present terminal for target home equipment,
It then generates for prompting the first information using wireless network bound targets home equipment.
Second information generating module 80 generates if being less than pre-determined distance at a distance from terminal for target home equipment
For prompting the second information using near-field communication NFC technique bound targets home equipment.
Using the above embodiment of the present invention, present terminal is searched using search module near present terminal in the presence of not
Bind terminal target home equipment after, by judgment module judge the target home equipment at a distance from present terminal, currently
Terminal is based on different distance prompt user and most suitable binding mode is selected to bind the target home equipment, which includes
In such a way that wireless network is bound and in such a way that near-field communication NFC technique is bound, solves the prior art in various fields
The problem that WIFI binding mode realizes that binding mode is single caused by the binding of terminal and home equipment, user are all made of in scape
Different binding modes can be used under different scenes according to prompt, improve user and the control of home equipment is experienced.
Specifically, above-mentioned target home equipment is the home equipment of unbound terminal.
In the above-described embodiments, user can be by grasping on the interface on present terminal for showing application APP
Make, generates broadcasting instructions, the broadcasting instructions in the search range of present terminal for searching for the presence or absence of unbound terminal
Home equipment, present terminal is after sending the broadcasting instructions, if receiving the response message of target home equipment,
Judge whether target home equipment is less than pre-determined distance at a distance from present terminal, and difference is determined based on distance between the two
Binding mode.
Optionally, it after determining binding mode, terminal can be used to show the interface of application APP in this prior
Show the first information and the second information.
Optionally, it if target home equipment is not less than pre-determined distance at a distance from present terminal, is set using target household
The radio network information (wireless network can be WIFI network) that preparation is sent, terminal inputs the WIFI name of the radio network information
Title and password, to bind the target home equipment.
Optionally, if target home equipment is less than pre-determined distance at a distance from present terminal, user will can directly work as
Preceding terminal is by close-target home equipment (similar swiping card), to bind the target home equipment.
Wherein, NFC (Near Field Communication, i.e. near-field communication technology) is by non-contact radio-frequency identification
The integration of (abbreviation of RFID, Radio Frequency Identification) and interconnection technology is evolved, single
Induction type card reader, icah wavw and point-to-point function are combined on chip, can be known in short distance with compatible equipment
Other and data exchange.
In the above embodiment of the invention, above-mentioned pre-determined distance can be 5m.If target home equipment and terminal away from
From 5m is no more than, then user can be set target household directly using mobile phone by close-target home equipment (similar swiping card)
It is standby to be bound with mobile phone, after binding success, the success of user's bindings is prompted by cell phone application.If target home equipment
With more than 5m, then user inputs the WIFI title and password of radio network information at a distance from terminal, realize target home equipment with
The binding of mobile phone.
Optionally, if not searching the home equipment of unbound mobile phone near mobile phone, by handset binding home equipment
Mode be set as wireless network (such as WIFI network) binding mode.
In the above embodiment of the invention, search module includes: sending submodule, is generated and sent for present terminal
The broadcasting instructions of json agreement, wherein broadcasting instructions are used to search for the family of the unbound terminal in the search range of present terminal
Occupy equipment;Submodule is searched for, if the response message for receiving home equipment return, in the search range of present terminal
Search the target home equipment of unbound terminal.
Optionally, user opens cell phone application (Application Program, i.e. application program), and cell phone application sends wide
Multicast data, broadcast data format follow json (java script object notation, i.e., a kind of Data Transport Protocol) association
View, by the broadcasting instructions of the json agreement of the fixation of cell phone application transmission, searching handset nearby whether there is unbound mobile phone
Home equipment.If cell phone application receives the response message of home equipment return, searched within the scope of mobile phone searching unbound
The target home equipment of mobile phone.
In the above embodiment of the invention, which can also include: detection module, for generating simultaneously in present terminal
Send json agreement broadcasting instructions after, the home equipment in the search range of present terminal receive broadcasting instructions it
Afterwards, it detects the home equipment and whether is tied with and determine terminal;Determining module, for if it is detected that the home equipment is unbound terminal,
It then determines that the home equipment is target home equipment, obtains the current device location of target home equipment;Return module is used for base
Response message is generated in current device location, response message is back to present terminal.
Optionally, home equipment monitors the network port by WIFI module, obtains the broadcast data that cell phone application is sent,
After receiving broadcast data, according to the json protocol analysis broadcast data, and judge whether the home equipment has bound mobile phone.If
Detecting that the home equipment is unbound has mobile phone, it is determined that the home equipment is target home equipment, target home equipment
WIFI module accesses server, obtains more specific location information (the current device position of i.e. above-mentioned target home equipment of current device
Set), and more specific location information is sent to cell phone application.
Optionally, if it is detected that the home equipment has bound mobile phone, which does not do any response.
Through the foregoing embodiment, near mobile phone, the side of the broadcasting instructions of fixed json agreement is sent by cell phone application
Method search whether there is the home equipment unbound with the mobile phone, and determine whether to search the target man unbound with the mobile phone
Equipment is occupied, which relies on fixed json agreement, and mode is simple and fast and reliable.
In the above embodiment of the invention, which can also include: cue module, for generate the first information or
After second information, after determining present terminal and target home equipment binding success, shown on the screen of present terminal
It is played for prompting the prompt information of binding success, and/or by the multimedia equipment of present terminal and/or target home equipment
For prompting the multimedia messages of binding success, wherein multimedia messages include: acoustic information, pictorial information and video letter
At least one of breath.
Optionally, show that the prompt information of binding success, the prompt information can be text information on the screen of cell phone application
And/or graph text information e.g. can show the printed words of " binding success " on the screen of present terminal, it can also be in present terminal
Screen on corresponding with " binding success " picture of display.
Optionally, after mobile phone and target home equipment binding success, cell phone application sends the information of binding success to mesh
Home equipment is marked, the multimedia equipment of target home equipment can issue " drop " sound, prompt user's binding success.
In the above embodiment of the invention, which can also include: acquisition module, for generate the first information or
After second information, after determining present terminal and target home equipment binding success, present terminal obtains target household and sets
At least one of standby device type information, number of devices information and equipment operation information.
Through the foregoing embodiment, terminal is by collecting more data, such as device type, quantity and the tool of home equipment
Body position information etc., the actual conditions of comprehensive analysis home equipment are most reasonably suggested to user.
Optionally, above-mentioned home equipment can be smart home device.
Through the above embodiments of the present invention, it can simplify the process of bound device using near-field communication NFC technique, it is convenient
The more bound device of special scenes, such as band manual operator can directly be bound by NFC technique, and NFC technique binding is set
Standby is highly-safe, security risk is not present, and convenient and efficient.And there is wireless network by the way of WIFI bound device
In the case where support, it can be used range wider, it is inconvenient for operation if cloud control may be mounted in outdoor or ceiling, it can make
It is bound with WIFI binding mode.Through the invention, unbound equipment, intelligent prompt, in different scenes are actively searched for
It is lower that most suitable binding mode, foolproof study course, without study are provided.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment
The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others
Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module
It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code
Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (10)
1. a kind of method for terminal binding home equipment characterized by comprising
Present terminal searches for the home equipment with the presence or absence of unbound terminal in the search range of the present terminal;
If searching the target home equipment of unbound terminal in the search range of the present terminal, the target is judged
Whether home equipment is less than pre-determined distance at a distance from the present terminal;
If the target home equipment is not less than the pre-determined distance at a distance from the present terminal, generate for prompting to make
The first information of the target home equipment is bound with wireless network;
If the target home equipment is less than the pre-determined distance at a distance from the present terminal, generate for prompting to use
Near-field communication NFC technique binds the second information of the target home equipment;
It includes: institute that present terminal searches for the home equipment with the presence or absence of unbound terminal in the search range of the present terminal
State the broadcasting instructions that present terminal generates and sends json agreement, wherein the broadcasting instructions are for searching for the present terminal
Search range in unbound terminal home equipment;If receiving the response message of home equipment return, work as described
The target home equipment of unbound terminal is searched in the search range of preceding terminal.
2. the method according to claim 1, wherein generating and sending the wide of json agreement in the present terminal
After broadcasting instruction, the method also includes:
After the home equipment in the search range of the present terminal receives the broadcasting instructions, the home equipment is detected
Whether binding has terminal;
If it is detected that the home equipment is unbound terminal, it is determined that the home equipment is the target home equipment, obtains institute
State the current device location of target home equipment;
The response message is generated based on the current device location, the response message is back to the present terminal.
3. according to the method described in claim 2, it is characterized in that, generating and sending the wide of json agreement in the present terminal
After broadcasting instruction, which comprises
Home equipment in the search range of the present terminal monitors the network port by WIFI module, receives the broadcast
Instruction.
4. the method according to claim 1, wherein judging the target home equipment and the present terminal
Distance whether be less than before pre-determined distance, the method also includes:
Obtain the current device location of the target home equipment and the present terminal position of the present terminal;
The distance between the current device location and the present terminal position are calculated, the target home equipment and institute are obtained
State the distance of present terminal.
5. method as claimed in any of claims 1 to 4, which is characterized in that generating the first information or institute
After stating the second information, the method also includes:
After determining the present terminal and the target home equipment binding success, shown on the screen of the present terminal
Show the prompt information for prompting binding success;And/or
It is played by the multimedia equipment of the present terminal and/or the target home equipment for prompting the more of binding success
Media information, wherein the multimedia messages include: at least one of acoustic information, pictorial information and video information.
6. method as claimed in any of claims 1 to 4, which is characterized in that generating the first information or institute
After stating the second information, the method also includes:
After determining the present terminal and the target home equipment binding success, the present terminal obtains the target
At least one of device type information, number of devices information and equipment operation information of home equipment.
7. a kind of device for terminal binding home equipment characterized by comprising
Search module searches for the family with the presence or absence of unbound terminal for present terminal in the search range of the present terminal
Occupy equipment;
Judgment module, if the target home equipment for searching unbound terminal in the search range of the present terminal,
Then judge whether the target home equipment is less than pre-determined distance at a distance from the present terminal;
First information generation module, if default not less than described at a distance from the present terminal for the target home equipment
Distance then generates the first information for prompting to bind the target home equipment using wireless network;
Second information generating module, if be less than at a distance from the present terminal for the target home equipment it is described it is default away from
From then generation is used for the second information for prompting to bind the target home equipment using near-field communication NFC technique;
Described search module includes: sending submodule, and the broadcasting instructions of json agreement are generated and sent for the present terminal,
Wherein, the broadcasting instructions are used to search for the home equipment of the unbound terminal in the search range of the present terminal;Search
Submodule, if the response message for receiving home equipment return, searches in the search range of the present terminal
The target home equipment of unbound terminal.
8. device according to claim 7, which is characterized in that described device further include:
Detection module, for after the broadcasting instructions that the present terminal generates and sends json agreement, at the current end
After home equipment in the search range at end receives the broadcasting instructions, detect whether the home equipment has bound terminal;
Determining module, for if it is detected that the home equipment is unbound terminal, it is determined that the home equipment is the target man
Equipment is occupied, the current device location of the target home equipment is obtained;
The response message is back to institute for generating the response message based on the current device location by return module
State present terminal.
9. device according to claim 7 or 8, which is characterized in that described device further include:
Cue module, for determining the present terminal and institute after generating the first information or second information
After stating target home equipment binding success, display is for prompting the prompt of binding success to believe on the screen of the present terminal
Breath;And/or
It is played by the multimedia equipment of the present terminal and/or the target home equipment for prompting the more of binding success
Media information, wherein the multimedia messages include: at least one of acoustic information, pictorial information and video information.
10. device according to claim 7 or 8, which is characterized in that described device further include:
Module is obtained, for determining the present terminal and institute after generating the first information or second information
After stating target home equipment binding success, the present terminal obtains the device type information of the target home equipment, sets
Standby at least one of quantity information and equipment operation information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510822642.4A CN105472148B (en) | 2015-11-23 | 2015-11-23 | Method and apparatus for terminal binding home equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510822642.4A CN105472148B (en) | 2015-11-23 | 2015-11-23 | Method and apparatus for terminal binding home equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105472148A CN105472148A (en) | 2016-04-06 |
CN105472148B true CN105472148B (en) | 2018-12-07 |
Family
ID=55609389
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510822642.4A Active CN105472148B (en) | 2015-11-23 | 2015-11-23 | Method and apparatus for terminal binding home equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105472148B (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106028325A (en) * | 2016-05-09 | 2016-10-12 | 广东乐心医疗电子股份有限公司 | Method and device for intelligent equipment to rapidly access WiFi |
CN106059797A (en) * | 2016-05-16 | 2016-10-26 | 珠海格力电器股份有限公司 | Configuration method, client and integrated controller |
CN106790714A (en) * | 2017-03-10 | 2017-05-31 | 北京物联港科技发展有限公司 | A kind of display terminal shares delivery system and method |
CN107423193A (en) * | 2017-06-28 | 2017-12-01 | 北京信安世纪科技有限公司 | A kind of computing card monitoring system, method and relevant device |
CN108234257B (en) * | 2017-12-29 | 2021-06-22 | 美的智慧家居科技有限公司 | Household appliance pairing method, household appliance and mobile terminal |
CN108551652B (en) * | 2018-04-18 | 2021-03-19 | 广东小天才科技有限公司 | Binding method and device of child equipment, equipment and storage medium |
CN111131413A (en) * | 2019-12-11 | 2020-05-08 | 统一通信(苏州)有限公司 | APP and equipment and platform communication method |
CN111132119A (en) * | 2019-12-31 | 2020-05-08 | 青岛海尔科技有限公司 | Equipment configuration method and device, storage medium and electronic device |
CN111812992A (en) * | 2020-06-17 | 2020-10-23 | 三星电子(中国)研发中心 | Intelligent home control method and device for gateway |
CN112737899B (en) * | 2020-11-30 | 2022-10-28 | 青岛海尔科技有限公司 | Intelligent device management method and device, storage medium and electronic device |
CN112804102B (en) * | 2021-01-12 | 2023-05-16 | 北京嘀嘀无限科技发展有限公司 | Equipment binding method, device and terminal |
CN115567333A (en) * | 2021-07-01 | 2023-01-03 | 青岛海尔科技有限公司 | Device control method, device, storage medium, and electronic apparatus |
CN114415525A (en) * | 2021-11-30 | 2022-04-29 | 珠海格力电器股份有限公司 | Control method, control device, electronic equipment and storage medium |
CN115359607A (en) * | 2022-08-19 | 2022-11-18 | 哲库科技(上海)有限公司 | Paging prompting method, device and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103916297A (en) * | 2013-01-06 | 2014-07-09 | 海尔集团公司 | Internet of things household appliance, system, wireless intelligent terminal and data transmission and configuration method |
CN103941664A (en) * | 2013-12-31 | 2014-07-23 | 海尔集团公司 | Method and system for binding user terminal and household appliance control device |
CN104683938A (en) * | 2015-02-10 | 2015-06-03 | 小米科技有限责任公司 | Configuration method and device for intelligent equipment |
CN104731066A (en) * | 2015-02-11 | 2015-06-24 | 珠海格力电器股份有限公司 | Intelligent housing system and control method thereof |
CN105045111A (en) * | 2015-05-28 | 2015-11-11 | 广东美的制冷设备有限公司 | Correlation method, correlation system and air conditioner |
-
2015
- 2015-11-23 CN CN201510822642.4A patent/CN105472148B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103916297A (en) * | 2013-01-06 | 2014-07-09 | 海尔集团公司 | Internet of things household appliance, system, wireless intelligent terminal and data transmission and configuration method |
CN103941664A (en) * | 2013-12-31 | 2014-07-23 | 海尔集团公司 | Method and system for binding user terminal and household appliance control device |
CN104683938A (en) * | 2015-02-10 | 2015-06-03 | 小米科技有限责任公司 | Configuration method and device for intelligent equipment |
CN104731066A (en) * | 2015-02-11 | 2015-06-24 | 珠海格力电器股份有限公司 | Intelligent housing system and control method thereof |
CN105045111A (en) * | 2015-05-28 | 2015-11-11 | 广东美的制冷设备有限公司 | Correlation method, correlation system and air conditioner |
Also Published As
Publication number | Publication date |
---|---|
CN105472148A (en) | 2016-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105472148B (en) | Method and apparatus for terminal binding home equipment | |
CN104780183B (en) | A kind of information sharing method, device and electronic equipment | |
CN103945494B (en) | Control the user terminal and method of intelligent appliance equipment access wireless router | |
CN110267327A (en) | Business transmitting method and device | |
CN105449786B (en) | A kind of information processing method and electronic equipment | |
CN110266497A (en) | Auth method, device, server, user terminal and storage medium | |
CN104704861B (en) | Mobile terminal, method, program and storage medium for positioning the terminal based on the identification associated with the receiving time of the identification of access point | |
US20120030304A1 (en) | Device and method for human body communication network system | |
CN109526020A (en) | Data transmission method and Related product | |
CN106899465A (en) | Intelligent appliance distribution registration and binding method, system and intelligent appliance | |
EP1940124A2 (en) | Mobile communication terminal, and communication method for communication of location based message content | |
CN109040213A (en) | Document down loading method and Related product | |
CN103200300A (en) | Terminal and resource sharing method | |
CN108370510A (en) | A kind of method and device of control interference | |
CN103260142A (en) | Method and system for detecting network resource matching of user corresponding to mobile phone terminal | |
CN106464695A (en) | Methods, systems, and media for authenticating a connection between a user device and a streaming media content device | |
CN106658502A (en) | Intelligent wireless local area reservation access method based on fingerprint authentication | |
CN109218987A (en) | Information processing method, device, terminal and storage medium | |
CN108540961A (en) | A kind of emergency communication system and method based on V2X | |
CN105915416B (en) | Information processing method and terminal equipment | |
CN104754601B (en) | A kind of concealed nodes detection method, network node and server | |
CN104125605B (en) | A kind of implementation method and device for asking to set up WIFI connections | |
CN105050048B (en) | A kind of network access point location information prompt method, terminal and server | |
CN108616586A (en) | A kind of communication means and intelligence module of intelligence module | |
CN105898838A (en) | Signal connection method, signal processing method, electronic equipment and electronic apparatus |
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 |