CN104660685A - Method and device for obtaining equipment information - Google Patents

Method and device for obtaining equipment information Download PDF

Info

Publication number
CN104660685A
CN104660685A CN201510050682.1A CN201510050682A CN104660685A CN 104660685 A CN104660685 A CN 104660685A CN 201510050682 A CN201510050682 A CN 201510050682A CN 104660685 A CN104660685 A CN 104660685A
Authority
CN
China
Prior art keywords
access point
smart machine
information
server
relation
Prior art date
Application number
CN201510050682.1A
Other languages
Chinese (zh)
Inventor
王元波
任桥
侯恩星
Original Assignee
小米科技有限责任公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 小米科技有限责任公司 filed Critical 小米科技有限责任公司
Priority to CN201510050682.1A priority Critical patent/CN104660685A/en
Publication of CN104660685A publication Critical patent/CN104660685A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/24Presence management

Abstract

The invention discloses a method and a device for obtaining equipment information and belongs to the field of intelligent home. The method comprises the following steps: receiving an equipment information obtaining request sent by a terminal; querying the equipment information of intelligent equipment accessing to access point equipment according to a unique identifier of the access point equipment, included in the request; sending the equipment information of the intelligent equipment to the terminal. By receiving the equipment information obtaining request sent by the terminal, querying the equipment information of the intelligent equipment accessing to the access point equipment according to the unique identifier of the access point equipment to which the terminal accesses, included in the request and sending the equipment information of the intelligent equipment to the terminal, the terminal only needs to send the unique identifier of the access point equipment to which the terminal accesses currently to a server, thereby achieving effects of shortening the response time and improving the user experience.

Description

Equipment information acquiring method and device
Technical field
The disclosure relates to Smart Home field, particularly a kind of equipment information acquiring method and device.
Background technology
In Smart Home field, smart machine is by router access network, and each smart machine that user can use an end-on to enter router carries out controlling and manages.Carry out controlling with manage before, terminal needs first to obtain the facility information of each smart machine accessing this router.
Take terminal as smart mobile phone be example, in the related, when obtaining the facility information of each smart machine of an access router, first smart mobile phone accesses this router, broadcasts a request message by this router to the smart machine of all this routers of access.After each smart machine accessing this router receives this request message, return a response message respectively towards this smart mobile phone, smart mobile phone obtains the facility information of each smart machine from the response message received.
Summary of the invention
Present disclose provides a kind of equipment information acquiring method and device.Described technical scheme is as follows:
First aspect, provides a kind of equipment information acquiring method, and in server, described method comprises:
The apparatus information acquiring request that receiving terminal sends, comprises the unique identification of the access point apparatus of described terminal access in described apparatus information acquiring request;
According to the facility information of the smart machine of the described access point apparatus of unique identification inquiry access of described access point apparatus;
The facility information of described smart machine is sent to described terminal.
Optionally, before the apparatus information acquiring request that receiving terminal sends, described method also comprises:
Receive the link information that described smart machine periodically sends, in described link information, include the facility information of described smart machine and the unique identification of described access point apparatus;
Detect in described server and whether store the first corresponding relation, described first corresponding relation is the corresponding relation between the facility information of described smart machine and the unique identification of described access point apparatus;
If not yet store described first corresponding relation in described server, then store described first corresponding relation according to described link information.
Optionally, the facility information of the smart machine of the described access point apparatus of the described inquiry of the unique identification according to described access point apparatus access, comprising:
According to the unique identification of described access point apparatus, and described first corresponding relation, inquire about the facility information of described smart machine.
Optionally, described method also comprises:
Detect in described server and whether store the second corresponding relation, described second corresponding relation is the corresponding relation between the unique identification of any one access point apparatus outside the facility information of described smart machine and described access point apparatus;
If store described second corresponding relation in described server, then described second corresponding relation is deleted by described server.
Optionally, described method also comprises:
The solution that described access point apparatus sends if receive ties up notice, then will described first corresponding relation deletion, and described solution is tied up notice and to be used to indicate between described smart machine and described access point apparatus unbind;
Or,
If detect, the time interval between current time and the moment receiving described link information recently reaches default time interval threshold value, then deleted by described first corresponding relation.
Second aspect, provides a kind of equipment information acquiring method, and in terminal, described method comprises:
To server transmitting apparatus information acquisition request, in described apparatus information acquiring request, comprise the unique identification of the access point apparatus of described terminal access;
Receive described server to inquire about according to the unique identification of described access point apparatus and to return, access the facility information of the smart machine of described access point apparatus.
The third aspect, provides a kind of equipment information acquiring method, and in smart machine, described method comprises:
Set up the connection between described smart machine and access point apparatus;
Periodically send link information to server, in described link information, include the unique identification of facility information and described access point apparatus;
Wherein, described link information be used to indicate described server receive terminal send, when comprising the uniquely identified apparatus information acquiring request of described access point apparatus, inquire about the facility information of described smart machine according to the unique identification of described access point apparatus and send to described terminal.
Fourth aspect, provides a kind of apparatus information acquiring device, and in server, described device comprises:
Request receiving module, for the apparatus information acquiring request that receiving terminal sends, comprises the unique identification of the access point apparatus of described terminal access in described apparatus information acquiring request;
Facility information enquiry module, for the facility information of the smart machine of the described access point apparatus of unique identification inquiry access according to described access point apparatus;
Facility information sending module, for sending to described terminal by the facility information of described smart machine.
Optionally, described device also comprises:
Link information receiver module, for before the apparatus information acquiring request that sends at described request receiver module receiving terminal, receive the link information that described smart machine periodically sends, in described link information, include the facility information of described smart machine and the unique identification of described access point apparatus;
First detection module, for detecting in described server whether store the first corresponding relation, described first corresponding relation is the corresponding relation between the facility information of described smart machine and the unique identification of described access point apparatus;
Memory module, if be that described server not yet stores described first corresponding relation for the testing result of described first detection module, then stores described first corresponding relation according to described link information.
Optionally, described facility information enquiry module, for the unique identification according to described access point apparatus, and described first corresponding relation, inquire about the facility information of described smart machine.
Optionally, described device also comprises:
Second detection module, for detecting in described server whether store the second corresponding relation, described second corresponding relation is the corresponding relation between the unique identification of any one access point apparatus outside the facility information of described smart machine and described access point apparatus;
First removing module, if be that described server stores has described second corresponding relation for the testing result of described second detection module, then deletes described second corresponding relation.
Optionally, described device also comprises:
Second removing module, if the solution sent for receiving described access point apparatus ties up notice, then will described first corresponding relation deletion, described solution is tied up notice and to be used to indicate between described smart machine and described access point apparatus unbind;
3rd removing module, if for detecting that the time interval between current time and the moment receiving described link information recently reaches default time interval threshold value, then deletes described first corresponding relation.
5th aspect, provides a kind of apparatus information acquiring device, and in terminal, described device comprises:
Request sending module, for server transmitting apparatus information acquisition request, comprises the unique identification of the access point apparatus of described terminal access in described apparatus information acquiring request;
Facility information receiver module, to inquire about according to the unique identification of described access point apparatus for receiving described server and to return, accessing the facility information of the smart machine of described access point apparatus.
6th aspect, provides a kind of apparatus information acquiring device, and in user's smart machine, described device comprises:
Connection establishment module, for setting up the connection between described smart machine and access point apparatus;
Link information sending module, for periodically sending link information to server, includes the facility information of described smart machine and the unique identification of described access point apparatus in described link information;
Wherein, described link information be used to indicate described server receive terminal send, when comprising the uniquely identified apparatus information acquiring request of described access point apparatus, inquire about the facility information of described smart machine according to the unique identification of described access point apparatus and send to described terminal.
7th aspect, provides a kind of access control apparatus, and in server, described device comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
The apparatus information acquiring request that receiving terminal sends, comprises the unique identification of the access point apparatus of described terminal access in described apparatus information acquiring request;
According to the facility information of the smart machine of the described access point apparatus of unique identification inquiry access of described access point apparatus;
The facility information of described smart machine is sent to described terminal.
Eighth aspect, provides a kind of access control apparatus, and in terminal, described device comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
To server transmitting apparatus information acquisition request, in described apparatus information acquiring request, comprise the unique identification of the access point apparatus of described terminal access;
Receive described server to inquire about according to the unique identification of described access point apparatus and to return, access the facility information of the smart machine of described access point apparatus.
9th aspect, provides a kind of access control apparatus, and in smart machine, described device comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Set up the connection between described smart machine and access point apparatus;
Periodically send link information to server, in described link information, include the facility information of described smart machine and the unique identification of described access point apparatus;
Wherein, described link information be used to indicate described server receive terminal send, when comprising the uniquely identified apparatus information acquiring request of described access point apparatus, inquire about the facility information of described smart machine according to the unique identification of described access point apparatus and send to described terminal.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
In the apparatus information acquiring request sent by receiving terminal, according to the unique identification of the access point apparatus of this terminal access comprised in request, the facility information of the smart machine of this access point apparatus of inquiry access, and the facility information of this smart machine is sent to this terminal; Namely terminal only needs the unique identification of the access point apparatus of current access to send to server, namely the facility information of each smart machine of this access point apparatus of access directly can be obtained from server, do not need to wait for that each smart machine returns response message respectively, reach and shorten the response time, improve the effect of Consumer's Experience.
Should be understood that, it is only exemplary that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows embodiment according to the invention, and is used from specification one and explains principle of the present invention.
Fig. 1 is the schematic diagram of the implementation environment involved by a kind of equipment information acquiring method according to exemplary partial embodiment;
Fig. 2 is the flow chart of a kind of equipment information acquiring method according to an exemplary embodiment;
Fig. 3 is the flow chart of a kind of equipment information acquiring method according to another exemplary embodiment;
Fig. 4 is the flow chart of a kind of equipment information acquiring method according to another exemplary embodiment;
Fig. 5 is the flow chart of a kind of equipment information acquiring method according to an exemplary embodiment;
Fig. 6 is the flow chart of a kind of equipment information acquiring method according to an exemplary embodiment;
Fig. 7 is the flow chart of a kind of equipment information acquiring method according to an exemplary embodiment;
Fig. 8 is the block diagram of a kind of apparatus information acquiring device according to an exemplary embodiment;
Fig. 9 is the block diagram of a kind of apparatus information acquiring device according to another exemplary embodiment;
Figure 10 is the block diagram of a kind of apparatus information acquiring device according to an exemplary embodiment;
Figure 11 is the block diagram of a kind of apparatus information acquiring device according to an exemplary embodiment;
Figure 12 is the block diagram of a kind of apparatus information acquiring device according to an exemplary embodiment;
Figure 13 is the block diagram of a kind of apparatus information acquiring device according to an exemplary embodiment.
Embodiment
Here will perform explanation to exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.
Fig. 1 is the schematic diagram of the implementation environment involved by a kind of equipment information acquiring method according to disclosure exemplary partial embodiment.This implementation environment comprises: server 120, terminal 140, at least one smart machine 160 and access point apparatus 180.
Server 120 can distinguish a station server, or the server cluster be made up of some station servers, or a cloud computing service center.
Terminal 140 can be the terminal that smart mobile phone, panel computer, E-book reader or PC etc. have network accessibility.
Smart machine 160 has any smart machine of wireless access function, such as, there is the intelligent television, wireless network Set Top Box, intelligent desk lamp, Intelligent air purifier, smart jack etc. of Wi-Fi (WirelessFidelity, Wireless Fidelity) function.
Access point apparatus 180 can be wireless router.
Wherein, server 120 and access point apparatus 180 are by wired or wireless network accessing Internet, and terminal 140 is connected with access point apparatus 180 by wired or wireless network with smart machine 160.
Fig. 2 is the flow chart of a kind of equipment information acquiring method according to an exemplary embodiment.This equipment information acquiring method is used in the server 120 of implementation environment as shown in Figure 1.As shown in Figure 2, this equipment information acquiring method can comprise the following steps.
In step 202., the apparatus information acquiring request that receiving terminal sends, comprises the unique identification of the access point apparatus of this terminal access in this apparatus information acquiring request.
In step 204, according to the facility information of the smart machine of this access point apparatus of unique identification inquiry access of this access point apparatus.
In step 206, the facility information of this smart machine is sent to this terminal.
Optionally, before the apparatus information acquiring request that receiving terminal sends, the method also comprises:
Receive the link information that this smart machine periodically sends, in this link information, include the facility information of this smart machine and the unique identification of this access point apparatus;
Detect in this server and whether store the first corresponding relation, this first corresponding relation is the corresponding relation between the facility information of this smart machine and the unique identification of this access point apparatus;
If not yet store this first corresponding relation in this server, then store this first corresponding relation according to this link information.
Optionally, according to the facility information of the smart machine of this access point apparatus of unique identification inquiry access of this access point apparatus, comprising:
According to the unique identification of this access point apparatus, and this first corresponding relation, inquire about the facility information of this smart machine.
Optionally, the method also comprises:
Detect in this server and whether store the second corresponding relation, this second corresponding relation is the corresponding relation between the unique identification of any one access point apparatus outside the facility information of this smart machine and this access point apparatus;
If store this second corresponding relation in this server, then this second corresponding relation is deleted.
Optionally, the method also comprises:
The solution that this access point apparatus sends if receive ties up notice, then deleted by this first corresponding relation, this solution is tied up notice and to be used to indicate between this smart machine and this access point apparatus unbind;
Or,
If detect, the time interval between current time and the moment receiving this link information recently reaches default time interval threshold value, then deleted by this first corresponding relation.
In sum, the equipment information acquiring method provided in disclosure embodiment, the apparatus information acquiring request that server receiving terminal sends, according to the unique identification of the access point apparatus of this terminal access comprised in request, the facility information of the smart machine of this access point apparatus of inquiry access, and the facility information of this smart machine is sent to this terminal; Namely terminal only needs the unique identification of the access point apparatus of current access to send to server, namely the facility information of each smart machine of this access point apparatus of access directly can be obtained from server, do not need to wait for that each smart machine returns response message respectively, reach and shorten the response time, improve the effect of Consumer's Experience.
Fig. 3 is the flow chart of a kind of equipment information acquiring method according to another exemplary embodiment.This equipment information acquiring method is used in the server 120 of implementation environment as shown in Figure 1.As shown in Figure 3, this equipment information acquiring method can comprise the following steps.
In step 302, receive the link information that this smart machine periodically sends, in this link information, include the facility information of this smart machine and the unique identification of this access point apparatus.
Smart machine, by after access point apparatus access network, periodically sends link information to server, carries the facility information of this smart machine, the device name etc. of such as this smart machine in this link information; In addition, the unique identification of this access point apparatus in this link information, is also carried, MAC (Media Access Control, the medium access control) address of such as this access point apparatus.
In step 304, detect in server whether store the first corresponding relation, this first corresponding relation is the corresponding relation between the facility information of this smart machine and the unique identification of this access point apparatus.
Server directly can retrieve local data base, whether stores this first corresponding relation to detect in this database.
Within step 306, if not yet store this first corresponding relation in server, then this first corresponding relation is stored according to this link information.
If do not store this first corresponding relation in local data base, then server stores this first corresponding relation according to the facility information of this smart machine carried in this link information and the unique identification of this access point apparatus.
If stored this first corresponding relation in local data base, then do not need again to set up.
Or, when whether server detection stores the first corresponding relation, also can not retrieve local data base, but detect whether this link information received is in the link information of smart machine periodicity transmission, the first link information be received.Such as, server can detect in the predetermined amount of time before current time, whether has received this link information; If not yet received this link information in the predetermined amount of time before current time, then illustrate that this link information is the link information that in the link information of smart machine periodicity transmission, first serviced device receives, now, server can store this first corresponding relation according to the unique identification of the facility information of this smart machine carried in this link information and this access point apparatus; If received this link information in the predetermined amount of time before current time, then thought and stored this first corresponding relation.
In step 308, the apparatus information acquiring request that receiving terminal sends, comprises the unique identification of the access point apparatus of this terminal access in this apparatus information acquiring request.
After user uses terminal to access this access point apparatus, each smart machine accessed check access point apparatus if want under, then can pass through terminal to server transmitting apparatus information acquisition request, in this apparatus information acquiring request, carry the unique identification of this access point apparatus.
In the step 310, according to the unique identification of this access point apparatus, and this first corresponding relation, inquire about the facility information of this smart machine.
After server receives this device request obtaining information, namely according to corresponding first corresponding relation of unique identification inquiry of this access point apparatus, and obtain the facility information of this smart machine comprised in this first corresponding relation.
If accessed multiple smart machine under access point apparatus, then after server receives this apparatus information acquiring request, all smart machines under this access point apparatus can be inquired according to the unique identification of this access point apparatus.
In step 312, the facility information of this smart machine is sent to this terminal.
After the facility information of the smart machine under this access point apparatus of server lookup, the facility information of one or more smart machine inquired is sent to terminal, terminal can show the facility information of the smart machine received according to the form of list.
In the scheme shown in disclosure embodiment, the facility information of self and the unique identification of access point apparatus are reported server by each smart machine under an access point apparatus, by the unified corresponding relation stored between smart machine and access point apparatus of server.After user accesses this access point apparatus by terminal, only need the unique identification sending this access point apparatus to server namely can obtain the facility information of all smart machines under this access point apparatus, do not need send query message to each smart machine and wait for that each smart machine returns response message respectively, the response time obtaining facility information is short, and there is not the risk of message packet loss, the accuracy obtaining facility information is higher.
In sum, the equipment information acquiring method provided in disclosure embodiment, in the apparatus information acquiring request that server receiving terminal sends, according to the unique identification of the access point apparatus of this terminal access comprised in request, the facility information of the smart machine of this access point apparatus of inquiry access, and the facility information of this smart machine is sent to this terminal; Namely terminal only needs the unique identification of the access point apparatus of current access to send to server, namely the facility information of each smart machine of this access point apparatus of access directly can be obtained from server, do not need to wait for that each smart machine returns response message respectively, reach and shorten the response time, improve the effect of Consumer's Experience.
Fig. 4 is the flow chart of a kind of equipment information acquiring method according to another exemplary embodiment.This equipment information acquiring method is used in the server 120 of implementation environment as shown in Figure 1.As shown in Figure 4, this equipment information acquiring method can comprise the following steps.
In step 402, receive the link information that this smart machine periodically sends, in this link information, include the facility information of this smart machine and the unique identification of this access point apparatus.
Smart machine, by after access point apparatus access network, periodically sends link information to server, carries the facility information of this smart machine, the device name etc. of such as this smart machine in this link information; In addition, the unique identification of this access point apparatus in this link information, is also carried, the MAC Address of such as this access point apparatus.
In step 404, detect in server whether store the first corresponding relation, this first corresponding relation is the corresponding relation between the facility information of this smart machine and the unique identification of this access point apparatus.
Server directly can retrieve local data base, whether stores this first corresponding relation to detect in this database.
In a step 406, if not yet store this first corresponding relation in server, then this first corresponding relation is stored according to this link information.
If do not store this first corresponding relation in local data base, then server stores this first corresponding relation according to the facility information of this smart machine carried in this link information and the unique identification of this access point apparatus.
If stored this first corresponding relation in local data base, then do not need again to set up.
Disclosure embodiment detects to server the mode whether storing the first corresponding relation and does not limit.Such as, server can detect in the predetermined amount of time before current time, whether has received this link information; If not yet received this link information in the predetermined amount of time before current time, then illustrate that this link information is the link information that in the link information of smart machine periodicity transmission, first serviced device receives, now, server can store this first corresponding relation according to the unique identification of the facility information of this smart machine carried in this link information and this access point apparatus; If received this link information in the predetermined amount of time before current time, then thought and stored this first corresponding relation.
In a step 408, the apparatus information acquiring request that receiving terminal sends, comprises the unique identification of the access point apparatus of this terminal access in this apparatus information acquiring request.
After user uses terminal to access this access point apparatus, each smart machine accessed check access point apparatus if want under, then can pass through terminal to server transmitting apparatus information acquisition request, in this apparatus information acquiring request, carry the unique identification of this access point apparatus.
In step 410, according to the unique identification of this access point apparatus, and this first corresponding relation, inquire about the facility information of this smart machine.
After server receives this device request obtaining information, namely according to corresponding first corresponding relation of unique identification inquiry of this access point apparatus, and obtain the facility information of this smart machine comprised in this first corresponding relation.
If accessed multiple smart machine under access point apparatus, then after server receives this apparatus information acquiring request, all smart machines under this access point apparatus can be inquired according to the unique identification of this access point apparatus.
In step 412, the facility information of this smart machine is sent to this terminal.
After the facility information of the smart machine under this access point apparatus of server lookup, the facility information of one or more smart machine inquired is sent to terminal, terminal can show the facility information of the smart machine received according to the form of list.
In the scheme shown in disclosure embodiment, the facility information of self and the unique identification of access point apparatus are reported server by each smart machine under an access point apparatus, by the unified corresponding relation stored between smart machine and access point apparatus of server.After user accesses this access point apparatus by terminal, only need the unique identification sending this access point apparatus to server namely can obtain the facility information of all smart machines under this access point apparatus, do not need send query message to each smart machine and wait for that each smart machine returns response message respectively, the response time obtaining facility information is short, and there is not the risk of message packet loss, the accuracy obtaining facility information is higher.
In actual applications, smart machine always can not keep the connection between access point apparatus usually, and such as, user may disconnect the connection with access point apparatus, so that another access point apparatus of follow-up access by ACTIVE CONTROL smart machine.When smart machine and access point apparatus disconnect, need what store in server, the corresponding relation between the facility information of this smart machine and the unique identification of this access point apparatus is deleted.The process of this deletion refers to subsequent step 414-418.
In step 414, the solution that this access point apparatus sends if receive ties up notice, then deleted by this first corresponding relation, this solution is tied up notice and to be used to indicate between this smart machine and this access point apparatus unbind.
When smart machine accesses this access point apparatus, a step of binding can be carried out between smart machine and this access point apparatus, same, when user's ACTIVE CONTROL smart machine disconnects the connection between access point apparatus, the step of a unbind between smart machine and access point apparatus, also can be carried out.When smart machine and access point apparatus unbind, access point apparatus can send a solution to server and tie up notice, disconnect with this access point apparatus with this smart machine of notification server, now, the first corresponding relation stored can be deleted by server.
In step 416, if detect, the time interval between current time and the moment receiving this link information recently reaches default time interval threshold value, then deleted by this first corresponding relation.
When smart machine disconnects because of the reason such as network failure or power-off and access point apparatus, the process of unbind can not be carried out between smart machine and access point apparatus, in this case, by detecting the smart machine link information whether dwelling period sends, server can judge whether this smart machine disconnects with access point apparatus.Such as, smart machine, after receiving a link information, namely starts timing, if when timing arrives the time interval threshold value preset, also do not receive next link information, namely think that this smart machine disconnects with access point apparatus, the first corresponding relation stored can be deleted.Wherein, this time interval threshold value preset needs to be greater than the cycle that smart machine sends link information.
In step 418, detect in server whether store the second corresponding relation, if store this second corresponding relation in server, then this second corresponding relation is deleted.
Wherein, this second corresponding relation is the corresponding relation between the unique identification of any one access point apparatus outside the facility information of this smart machine and this access point apparatus.
Or, after smart machine disconnects the connection between the equipment of current access point, still this smart machine can be regarded as the smart machine under this access point apparatus, until this smart machine accesses another access point apparatus.In actual applications, after server sets up the first corresponding relation between the facility information of this smart machine and the unique identification of this access point apparatus, the second corresponding relation whether existed between the facility information of this smart machine and the unique identification of another access point apparatus can be inquired about, if exist, accessed another access point apparatus before this access point apparatus is then described, the second corresponding relation inquired need be deleted by server.
In sum, the equipment information acquiring method provided in disclosure embodiment, in the apparatus information acquiring request that server receiving terminal sends, according to the unique identification of the access point apparatus of this terminal access comprised in request, the facility information of the smart machine of this access point apparatus of inquiry access, and the facility information of this smart machine is sent to this terminal; Namely terminal only needs the unique identification of the access point apparatus of current access to send to server, namely the facility information of each smart machine of this access point apparatus of access directly can be obtained from server, do not need to wait for that each smart machine returns response message respectively, reach and shorten the response time, improve the effect of Consumer's Experience.
Fig. 5 is the flow chart of a kind of equipment information acquiring method according to an exemplary embodiment.This equipment information acquiring method is used in the terminal 140 of implementation environment as shown in Figure 1.As shown in Figure 5, this equipment information acquiring method can comprise the following steps.
In step 502, to server transmitting apparatus information acquisition request, in this apparatus information acquiring request, comprise the unique identification of the access point apparatus of terminal access.
After user uses terminal to access this access point apparatus, each smart machine accessed check access point apparatus if want under, then can pass through terminal to server transmitting apparatus information acquisition request, in this apparatus information acquiring request, carry the unique identification of this access point apparatus.
In step 504, receive this server and to inquire about according to the unique identification of this access point apparatus and to return, access the facility information of the smart machine of this access point apparatus.
Wherein, server is according to the unique identification of this access point apparatus, and the first corresponding relation prestored inquires about the facility information of this smart machine, and wherein, this first corresponding relation is that the link information that server periodically sends according to smart machine is set up.This smart machine periodically sends step that link information and server set up this first corresponding relation and please refer to step in the embodiment shown in Fig. 3 or Fig. 4, and disclosure embodiment repeats no more.
In sum, the equipment information acquiring method provided in disclosure embodiment, terminal to server sends the uniquely identified apparatus information acquiring request of the access point apparatus comprising the access of this terminal, and reception server returns according to this request, access the facility information of the smart machine of this access point apparatus; Namely terminal only needs the unique identification of the access point apparatus of current access to send to server, namely the facility information of each smart machine of this access point apparatus of access directly can be obtained from server, do not need to wait for that each smart machine returns response message respectively, reach and shorten the response time, improve the effect of Consumer's Experience.
Fig. 6 is the flow chart of a kind of equipment information acquiring method according to an exemplary embodiment.This equipment information acquiring method is used in the smart machine 160 of implementation environment as shown in Figure 1.As shown in Figure 6, this equipment information acquiring method can comprise the following steps.
In step 602, the connection between smart machine and access point apparatus is set up.
In step 604, periodically send link information to server, in this link information, include the facility information of this smart machine and the unique identification of this access point apparatus.
Wherein, this link information be used to indicate this server receive terminal send, when comprising the uniquely identified apparatus information acquiring request of this access point apparatus, inquire about the facility information of this smart machine according to the unique identification of this access point apparatus and send to this terminal.
Server receives this link information, the corresponding relation between the facility information of smart machine and the unique identification of this access point apparatus is set up according to this link information, and when the facility information read requests that subsequently received terminal sends inquiry the step that please refer to the process of facility information that this terminal sends smart machine in the embodiment shown in Fig. 3 or Fig. 4, disclosure embodiment repeats no more.
In sum, the equipment information acquiring method provided in disclosure embodiment, smart machine periodically sends the uniquely identified link information of the access point apparatus of facility information and this smart machine access including this smart machine to server, so that this server receive terminal send, when comprising the uniquely identified apparatus information acquiring request of this access point apparatus, inquire about the facility information of this smart machine according to the unique identification of this access point apparatus and send to this terminal; Namely terminal only needs the unique identification of the access point apparatus of current access to send to server, namely the facility information of each smart machine of this access point apparatus of access directly can be obtained from server, do not need to wait for that each smart machine returns response message respectively, reach and shorten the response time, improve the effect of Consumer's Experience.
Fig. 7 is the flow chart of a kind of equipment information acquiring method according to an exemplary embodiment.This equipment information acquiring method is used in implementation environment as shown in Figure 1.As shown in Figure 7, this equipment information acquiring method can comprise the following steps.
In a step 702, after smart machine and access point apparatus connect, periodically send link information to server, in this link information, include the facility information of this smart machine and the unique identification of this access point apparatus.
Smart machine, by after access point apparatus access network, periodically sends link information to server, carries the facility information of this smart machine, the device name etc. of such as this smart machine in this link information; In addition, the unique identification of this access point apparatus in this link information, is also carried, the MAC Address of such as this access point apparatus.
In step 704, server detects whether store the first corresponding relation, and this first corresponding relation is the corresponding relation between the facility information of this smart machine and the unique identification of this access point apparatus.
Server directly can retrieve local data base, whether stores this first corresponding relation to detect in this database.
In step 706, if not yet store this first corresponding relation in server, then server stores this first corresponding relation according to this link information.
If do not store this first corresponding relation in local data base, then server stores this first corresponding relation according to the facility information of this smart machine carried in this link information and the unique identification of this access point apparatus.
If stored this first corresponding relation in local data base, then do not need again to set up.
It should be noted that, disclosure embodiment detects to server the mode whether storing the first corresponding relation and does not limit.Such as, server can detect in the predetermined amount of time before current time, whether has received this link information; If not yet received this link information in the predetermined amount of time before current time, then illustrate that this link information is the link information that in the link information of smart machine periodicity transmission, first serviced device receives, now, server can store this first corresponding relation according to the unique identification of the facility information of this smart machine carried in this link information and this access point apparatus; If received this link information in the predetermined amount of time before current time, then thought and stored this first corresponding relation.
In step 708, terminal to server transmitting apparatus information acquisition request, comprises the unique identification of the access point apparatus of this terminal access in this apparatus information acquiring request.
After user uses terminal to access this access point apparatus, each smart machine accessed check access point apparatus if want under, then can pass through terminal to server transmitting apparatus information acquisition request, in this apparatus information acquiring request, carry the unique identification of this access point apparatus.
In step 720, server is according to the unique identification of this access point apparatus, and this first corresponding relation, inquires about the facility information of this smart machine.
After server receives this device request obtaining information, namely according to corresponding first corresponding relation of unique identification inquiry of this access point apparatus, and obtain the facility information of this smart machine comprised in this first corresponding relation.
It should be noted that, if accessed multiple smart machine under access point apparatus, then after server receives this apparatus information acquiring request, all smart machines under this access point apparatus can be inquired according to the unique identification of this access point apparatus.
In step 712, the facility information of this smart machine is sent to this terminal by server.
After the facility information of the smart machine under this access point apparatus of server lookup, the facility information of one or more smart machine inquired is sent to terminal, terminal can show the facility information of the smart machine received according to the form of list.
In step 714, terminal shows the facility information of the smart machine received in the form of a list.
In the scheme shown in disclosure embodiment, the facility information of self and the unique identification of access point apparatus are reported server by each smart machine under an access point apparatus, by the unified corresponding relation stored between smart machine and access point apparatus of server.After user accesses this access point apparatus by terminal, only need the unique identification sending this access point apparatus to server namely can obtain the facility information of all smart machines under this access point apparatus, do not need send query message to each smart machine and wait for that each smart machine returns response message respectively, the response time obtaining facility information is short, and there is not the risk of message packet loss, the accuracy obtaining facility information is higher.
With this terminal for smart mobile phone, access point apparatus is router, smart machine is intelligent television, wireless network Set Top Box, intelligent desk lamp, the intelligent domestic such as Intelligent air purifier and smart jack equipment is example, router each domestic intelligent equipment next is by after router accessing Internet, link information is sent to the server of network side separately according to the predetermined cycle, the MAC Address of the facility informations such as device name and this router is comprised in link information, after server receives this link information, by the MAC Address corresponding stored of the facility information of each domestic intelligent equipment and this router.After the smart mobile phone of user accesses this router, if user needs to use smart mobile phone to control each domestic intelligent equipment under this router, can first by smart mobile phone to server transmitting apparatus information acquisition request, carry the MAC Address of this router in the request, server is inquired about the facility information of each domestic intelligent equipment under this router according to the MAC Address of this router and is returned to smart mobile phone, smart mobile phone shows the facility information of each domestic intelligent equipment in the form of a list, so that user selects one of them or multiplely carries out follow-up rate-determining steps.
In sum, the equipment information acquiring method provided in disclosure embodiment, smart machine periodically sends the uniquely identified link information of the access point apparatus of facility information and this smart machine access including this smart machine to server, so that this server receive terminal send, when comprising the uniquely identified apparatus information acquiring request of this access point apparatus, inquire about the facility information of this smart machine according to the unique identification of this access point apparatus and send to this terminal; Namely terminal only needs the unique identification of the access point apparatus of current access to send to server, namely the facility information of each smart machine of this access point apparatus of access directly can be obtained from server, do not need to wait for that each smart machine returns response message respectively, reach and shorten the response time, improve the effect of Consumer's Experience.
Following is disclosure device embodiment, may be used for performing disclosure embodiment of the method.For the details do not disclosed in disclosure device embodiment, please refer to disclosure embodiment of the method.
Fig. 8 is the block diagram of a kind of apparatus information acquiring device according to an exemplary embodiment, and this apparatus information acquiring device may be used in the server 120 of implementation environment as shown in Figure 1, performs shown equipment information acquiring method as arbitrary in Fig. 2 to 4.As shown in Figure 8, this apparatus information acquiring device includes but not limited to: request receiving module 801, facility information enquiry module 802 and facility information sending module 803;
Described request receiver module 801 is set to the apparatus information acquiring request sent for receiving terminal, comprises the unique identification of the access point apparatus of described terminal access in described apparatus information acquiring request;
Described facility information enquiry module 802 is set to the facility information of the smart machine for the described access point apparatus of unique identification inquiry access according to described access point apparatus;
Described facility information sending module 803 is set to for the facility information of described smart machine is sent to described terminal.
In sum, the apparatus information acquiring device provided in disclosure embodiment, in the apparatus information acquiring request that receiving terminal sends, according to the unique identification of the access point apparatus of this terminal access comprised in request, the facility information of the smart machine of this access point apparatus of inquiry access, and the facility information of this smart machine is sent to this terminal; Namely terminal only needs the unique identification of the access point apparatus of current access to send to server, namely the facility information of each smart machine of this access point apparatus of access directly can be obtained from server, do not need to wait for that each smart machine returns response message respectively, reach and shorten the response time, improve the effect of Consumer's Experience.
Fig. 9 is the block diagram of a kind of apparatus information acquiring device according to another exemplary embodiment, and this apparatus information acquiring device may be used in the server 120 of implementation environment as shown in Figure 1, performs shown equipment information acquiring method as arbitrary in Fig. 2 to 4.As shown in Figure 9, this apparatus information acquiring device includes but not limited to: request receiving module 801, facility information enquiry module 802 and facility information sending module 803;
Described request receiver module 801 is set to the apparatus information acquiring request sent for receiving terminal, comprises the unique identification of the access point apparatus of described terminal access in described apparatus information acquiring request;
Described facility information enquiry module 802 is set to the facility information of the smart machine for the described access point apparatus of unique identification inquiry access according to described access point apparatus;
Described facility information sending module 803 is set to for the facility information of described smart machine is sent to described terminal.
Optionally, described device also comprises: link information receiver module 804, first detection module 805 and memory module 806;
Before described link information receiver module 804 is arranged in use in the apparatus information acquiring request of described request receiver module receiving terminal transmission, receive the link information that described smart machine periodically sends, in described link information, include the facility information of described smart machine and the unique identification of described access point apparatus;
Described first detection module 805 is set to for detecting in described server whether store the first corresponding relation, and described first corresponding relation is the corresponding relation between the facility information of described smart machine and the unique identification of described access point apparatus;
If it is that described server not yet stores described first corresponding relation that described memory module 806 is set to for the testing result of described first detection module 805, then store described first corresponding relation according to described link information.
Optionally, described facility information enquiry module 802 is set to for the unique identification according to described access point apparatus, and described first corresponding relation, inquires about the facility information of described smart machine.
Optionally, described device also comprises: the second detection module 807 and the first removing module 808;
Described second detection module 807 is set to for detecting in described server whether store the second corresponding relation, and described second corresponding relation is the corresponding relation between the unique identification of any one access point apparatus outside the facility information of described smart machine and described access point apparatus;
If it is that described server stores has described second corresponding relation that described first removing module 808 is set to for the testing result of described second detection module 807, then described second corresponding relation is deleted.
Optionally, described device also comprises: the second removing module 809 or the 3rd removing module 810;
If the solution that described second removing module 809 is set to send for receiving described access point apparatus ties up notice, then will described first corresponding relation deletion, described solution is tied up notice and to be used to indicate between described smart machine and described access point apparatus unbind;
If described 3rd removing module 810 is set to for detecting that the time interval between current time and the moment receiving described link information recently reaches default time interval threshold value, then described first corresponding relation is deleted.
In sum, the apparatus information acquiring device provided in disclosure embodiment, in the apparatus information acquiring request that receiving terminal sends, according to the unique identification of the access point apparatus of this terminal access comprised in request, the facility information of the smart machine of this access point apparatus of inquiry access, and the facility information of this smart machine is sent to this terminal; Namely terminal only needs the unique identification of the access point apparatus of current access to send to server, namely the facility information of each smart machine of this access point apparatus of access directly can be obtained from server, do not need to wait for that each smart machine returns response message respectively, reach and shorten the response time, improve the effect of Consumer's Experience.
Figure 10 is the block diagram of a kind of apparatus information acquiring device according to an exemplary embodiment, and this apparatus information acquiring device may be used in the terminal 140 of implementation environment as shown in Figure 1, performs shown equipment information acquiring method as arbitrary in Fig. 5.As shown in Figure 10, this apparatus information acquiring device includes but not limited to: request sending module 1001 and facility information receiver module 1002;
Described request sending module 1001 is set to, for server transmitting apparatus information acquisition request, comprise the unique identification of the access point apparatus of described terminal access in described apparatus information acquiring request;
Described facility information receiver module 1002 is set to inquire about according to the unique identification of described access point apparatus for receiving described server and to return, and accesses the facility information of the smart machine of described access point apparatus.
In sum, the apparatus information acquiring device provided in disclosure embodiment, the uniquely identified apparatus information acquiring request of the access point apparatus comprising the access of this terminal is sent to server, and reception server returns according to this request, access the facility information of the smart machine of this access point apparatus; Namely terminal only needs the unique identification of the access point apparatus of current access to send to server, namely the facility information of each smart machine of this access point apparatus of access directly can be obtained from server, do not need to wait for that each smart machine returns response message respectively, reach and shorten the response time, improve the effect of Consumer's Experience.
Figure 11 is the block diagram of a kind of apparatus information acquiring device according to an exemplary embodiment, and this apparatus information acquiring device may be used in the smart machine 160 of implementation environment as shown in Figure 1, performs shown equipment information acquiring method as arbitrary in Fig. 6.As shown in figure 11, this apparatus information acquiring device includes but not limited to: connection establishment module 1101 and link information sending module 1102;
Described connection establishment module 1101 is set to the connection for setting up between smart machine and access point apparatus;
Described link information sending module 1102 is set to for periodically sending link information to server, includes the unique identification of the facility information of described smart machine and the access point apparatus of described smart machine access in described link information;
Wherein, described link information be used to indicate described server receive terminal send, when comprising the uniquely identified apparatus information acquiring request of described access point apparatus, inquire about the facility information of described smart machine according to the unique identification of described access point apparatus and send to described terminal.
In sum, the apparatus information acquiring device provided in disclosure embodiment, the uniquely identified link information of the access point apparatus of facility information and this smart machine access including smart machine is periodically sent to server, so that this server receive terminal send, when comprising the uniquely identified apparatus information acquiring request of this access point apparatus, inquire about the facility information of this smart machine according to the unique identification of this access point apparatus and send to this terminal; Namely terminal only needs the unique identification of the access point apparatus of current access to send to server, namely the facility information of each smart machine of this access point apparatus of access directly can be obtained from server, do not need to wait for that each smart machine returns response message respectively, reach and shorten the response time, improve the effect of Consumer's Experience.
Figure 12 is the block diagram of a kind of apparatus information acquiring device 1200 according to an exemplary embodiment.Such as, device 1200 can be mobile phone, computer, digital broadcast terminal, messaging devices, routing device, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 12, device 1200 can comprise following one or more assembly: processing components 1202, memory 1204, power supply module 1206, multimedia groupware 1208, audio-frequency assembly 1210, the interface 1212 of I/O (I/O), sensor cluster 1214, and communications component 1216.
The integrated operation of the usual control device 1200 of processing components 1202, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 1202 can comprise one or more processor 1218 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1202 can comprise one or more module, and what be convenient between processing components 1202 and other assemblies is mutual.Such as, processing components 1202 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1208 and processing components 1202.
Memory 1204 is configured to store various types of data to be supported in the operation of device 1200.The example of these data comprises for any application program of operation on device 1200 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 1204 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.Also store one or more module in memory 1204, this one or more module is configured to be performed by this one or more processor 1220, with complete above-mentioned Fig. 2,3,4 or 6 arbitrary shown in all or part of step of methods.
The various assemblies that power supply module 1206 is device 1200 provide electric power.Power supply module 1206 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1200 and be associated.
Multimedia groupware 1208 is included in the screen providing an output interface between described device 1200 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 1208 comprises a front-facing camera and/or post-positioned pick-up head.When device 1200 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1210 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1210 comprises a microphone (MIC), and when device 1200 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 1204 further or be sent via communications component 1216.In certain embodiments, audio-frequency assembly 1210 also comprises a loud speaker, for output audio signal.
I/O interface 1212 is for providing interface between processing components 1202 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 1214 comprises one or more transducer, for providing the state estimation of various aspects for device 1200.Such as, sensor cluster 1214 can detect the opening/closing state of device 1200, the relative positioning of assembly, such as described assembly is display and the keypad of device 1200, the position of all right checkout gear 1200 of sensor cluster 1214 or device 1200 assemblies changes, the presence or absence that user contacts with device 1200, the variations in temperature of device 1200 orientation or acceleration/deceleration and device 1200.Sensor cluster 1214 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 1214 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 1214 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 1216 is configured to the communication being convenient to wired or wireless mode between device 1200 and other equipment.Device 1200 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 1216 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 1216 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1200 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 1204 of instruction, above-mentioned instruction can perform said method by the processor 1218 of device 1200.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Figure 13 is the block diagram of a kind of apparatus information acquiring device 1300 according to an exemplary embodiment.This device 1300 can produce larger difference because of configuration or performance difference, one or more central processing units (central processing units can be comprised, CPU) 1322 (such as, one or more processors) and memory 1332, one or more store the storage medium 1330 (such as one or more mass memory units) of application program 1342 or data 1344.Wherein, memory 1332 and storage medium 1330 can be of short duration storages or store lastingly.The program being stored in storage medium 1330 can comprise one or more modules (diagram does not mark), each module can comprise a series of command operatings in device, and this series of command operating may be used for all or part of step realizing method as shown in Figure 5.Further, central processing unit 1322 can be set to communicate with storage medium 1330, and device 1300 performs a series of command operatings in storage medium 1330.
Device 1300 can also comprise one or more power supplys 1326, one or more wired or wireless network interfaces 1350, one or more input/output interfaces 1358, one or more keyboards 1356, and/or, one or more operating systems 1341, such as Windows ServerTM, Mac OSXTM, UnixTM, LinuxTM, FreeBSDTM etc.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations performs detailed description in about the embodiment of the method, will not elaborate explanation herein.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can perform various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (17)

1. an equipment information acquiring method, in server, is characterized in that, described method comprises:
The apparatus information acquiring request that receiving terminal sends, comprises the unique identification of the access point apparatus of described terminal access in described apparatus information acquiring request;
According to the facility information of the smart machine of the described access point apparatus of unique identification inquiry access of described access point apparatus;
The facility information of described smart machine is sent to described terminal.
2. method according to claim 1, is characterized in that, described method also comprises:
Described before the apparatus information acquiring request of receiving terminal transmission, receive the link information that described smart machine periodically sends, in described link information, include the facility information of described smart machine and the unique identification of described access point apparatus;
Detect in described server and whether store the first corresponding relation, described first corresponding relation is the corresponding relation between the facility information of described smart machine and the unique identification of described access point apparatus;
If not yet store described first corresponding relation in described server, then store described first corresponding relation according to described link information.
3. method according to claim 2, is characterized in that, the facility information of the smart machine of the described access point apparatus of the described inquiry of the unique identification according to described access point apparatus access, comprising:
According to the unique identification of described access point apparatus, and described first corresponding relation, inquire about the facility information of described smart machine.
4. method according to claim 1, is characterized in that, described method also comprises:
Detect in described server and whether store the second corresponding relation, described second corresponding relation is the corresponding relation between the unique identification of any one access point apparatus outside the facility information of described smart machine and described access point apparatus;
If store described second corresponding relation in described server, then described second corresponding relation is deleted.
5. method according to claim 2, is characterized in that, described method also comprises:
The solution that described access point apparatus sends if receive ties up notice, then will described first corresponding relation deletion, and described solution is tied up notice and to be used to indicate between described smart machine and described access point apparatus unbind;
Or,
If detect, the time interval between current time and the moment receiving described link information recently reaches default time interval threshold value, then deleted by described first corresponding relation.
6. an equipment information acquiring method, in terminal, is characterized in that, described method comprises:
To server transmitting apparatus information acquisition request, in described apparatus information acquiring request, comprise the unique identification of the access point apparatus of described terminal access;
Receive described server to inquire about according to the unique identification of described access point apparatus and to return, access the facility information of the smart machine of described access point apparatus.
7. an equipment information acquiring method, in smart machine, is characterized in that, described method comprises:
Set up the connection between described smart machine and access point apparatus;
Periodically send link information to server, in described link information, include the facility information of described smart machine and the unique identification of described access point apparatus;
Wherein, described link information be used to indicate described server receive terminal send, when comprising the uniquely identified apparatus information acquiring request of described access point apparatus, inquire about the facility information of described smart machine according to the unique identification of described access point apparatus and send to described terminal.
8. an apparatus information acquiring device, in server, is characterized in that, described device comprises:
Request receiving module, for the apparatus information acquiring request that receiving terminal sends, comprises the unique identification of the access point apparatus of described terminal access in described apparatus information acquiring request;
Facility information enquiry module, for the facility information of the smart machine of the described access point apparatus of unique identification inquiry access according to described access point apparatus;
Facility information sending module, for sending to described terminal by the facility information of described smart machine.
9. device according to claim 8, is characterized in that, described device also comprises:
Link information receiver module, for before the apparatus information acquiring request that sends at described request receiver module receiving terminal, receive the link information that described smart machine periodically sends, in described link information, include the facility information of described smart machine and the unique identification of described access point apparatus;
First detection module, for detecting in described server whether store the first corresponding relation, described first corresponding relation is the corresponding relation between the facility information of described smart machine and the unique identification of described access point apparatus;
Memory module, if be that described server not yet stores described first corresponding relation for the testing result of described first detection module, then stores described first corresponding relation according to described link information.
10. device according to claim 9, is characterized in that, described facility information enquiry module, for the unique identification according to described access point apparatus, and described first corresponding relation, inquire about the facility information of described smart machine.
11. devices according to claim 8, is characterized in that, described device also comprises:
Second detection module, for detecting in described server whether store the second corresponding relation, described second corresponding relation is the corresponding relation between the unique identification of any one access point apparatus outside the facility information of described smart machine and described access point apparatus;
First removing module, if be that described server stores has described second corresponding relation for the testing result of described second detection module, then deletes described second corresponding relation.
12. devices according to claim 9, is characterized in that, described device also comprises:
Second removing module, if the solution sent for receiving described access point apparatus ties up notice, then will described first corresponding relation deletion, described solution is tied up notice and to be used to indicate between described smart machine and described access point apparatus unbind;
3rd removing module, if for detecting that the time interval between current time and the moment receiving described link information recently reaches default time interval threshold value, then deletes described first corresponding relation.
13. 1 kinds of apparatus information acquiring devices, in terminal, is characterized in that, described device comprises:
Request sending module, for server transmitting apparatus information acquisition request, comprises the unique identification of the access point apparatus of described terminal access in described apparatus information acquiring request;
Facility information receiver module, to inquire about according to the unique identification of described access point apparatus for receiving described server and to return, accessing the facility information of the smart machine of described access point apparatus.
14. 1 kinds of apparatus information acquiring devices, in user's smart machine, is characterized in that, described device comprises:
Connection establishment module, for setting up the connection between described smart machine and access point apparatus;
Link information sending module, for periodically sending link information to server, includes the facility information of described smart machine and the unique identification of described access point apparatus in described link information;
Wherein, described link information be used to indicate described server receive terminal send, when comprising the uniquely identified apparatus information acquiring request of described access point apparatus, inquire about the facility information of described smart machine according to the unique identification of described access point apparatus and send to described terminal.
15. 1 kinds of access control apparatus, in server, is characterized in that, described device comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
The apparatus information acquiring request that receiving terminal sends, comprises the unique identification of the access point apparatus of described terminal access in described apparatus information acquiring request;
According to the facility information of the smart machine of the described access point apparatus of unique identification inquiry access of described access point apparatus;
The facility information of described smart machine is sent to described terminal.
16. 1 kinds of access control apparatus, in terminal, is characterized in that, described device comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
To server transmitting apparatus information acquisition request, in described apparatus information acquiring request, comprise the unique identification of the access point apparatus of described terminal access;
Receive described server to inquire about according to the unique identification of described access point apparatus and to return, access the facility information of the smart machine of described access point apparatus.
17. 1 kinds of access control apparatus, in smart machine, is characterized in that, described device comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Set up the connection between described smart machine and access point apparatus;
Periodically send link information to server, in described link information, include the facility information of described smart machine and the unique identification of described access point apparatus;
Wherein, described link information be used to indicate described server receive terminal send, when comprising the uniquely identified apparatus information acquiring request of described access point apparatus, inquire about the facility information of described smart machine according to the unique identification of described access point apparatus and send to described terminal.
CN201510050682.1A 2015-01-30 2015-01-30 Method and device for obtaining equipment information CN104660685A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510050682.1A CN104660685A (en) 2015-01-30 2015-01-30 Method and device for obtaining equipment information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510050682.1A CN104660685A (en) 2015-01-30 2015-01-30 Method and device for obtaining equipment information

Publications (1)

Publication Number Publication Date
CN104660685A true CN104660685A (en) 2015-05-27

Family

ID=53251372

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510050682.1A CN104660685A (en) 2015-01-30 2015-01-30 Method and device for obtaining equipment information

Country Status (1)

Country Link
CN (1) CN104660685A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104881015A (en) * 2015-05-29 2015-09-02 四川长虹电器股份有限公司 Information processing method and intelligent household control device
CN104950896A (en) * 2015-07-14 2015-09-30 上海智臻网络科技有限公司 Floor sweeping robot, server and floor sweeping robot service system
CN104954371A (en) * 2015-06-09 2015-09-30 小米科技有限责任公司 Equipment information display method and device
CN104965452A (en) * 2015-06-23 2015-10-07 小米科技有限责任公司 Intelligent socket on-off state display method, device, intelligent terminal and server
CN105100233A (en) * 2015-07-14 2015-11-25 上海智臻智能网络科技股份有限公司 Sweeping robot wakeup method and system
CN105093948A (en) * 2015-07-13 2015-11-25 小米科技有限责任公司 Intelligent device control method, terminal, and server
CN105208631A (en) * 2015-09-25 2015-12-30 小米科技有限责任公司 Network connection method and device
CN105307288A (en) * 2015-09-30 2016-02-03 小米科技有限责任公司 Disconnecting method and device
CN105353625A (en) * 2015-10-12 2016-02-24 珠海格力电器股份有限公司 Method, device and system for binding intelligent equipment
CN105487390A (en) * 2015-11-20 2016-04-13 青岛海信移动通信技术股份有限公司 Intelligent device, registration management method thereof and cloud server
CN105979511A (en) * 2016-05-04 2016-09-28 深圳市蜂联科技有限公司 Method of using SD information encryption to realize quick SD and AP connection in uncorrelated WIFI environment
CN106559214A (en) * 2015-09-25 2017-04-05 比亚迪股份有限公司 For changing terminal, server and the corresponding method of difference of vehicle part
CN106851373A (en) * 2017-03-06 2017-06-13 深圳创维数字技术有限公司 A kind of control method and device of STB terminal equipment
CN106972957A (en) * 2017-03-09 2017-07-21 海尔优家智能科技(北京)有限公司 Networking collocation method, smart machine and system
CN107592639A (en) * 2017-10-26 2018-01-16 上海斐讯数据通信技术有限公司 A kind of terminal device adds the method and system of router white list
CN108229210A (en) * 2017-12-26 2018-06-29 深圳市金立通信设备有限公司 A kind of method, terminal and computer readable storage medium for protecting data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845505A (en) * 2005-04-07 2006-10-11 海尔集团公司 Household network device controlling method and equipment management apparatus
CN103516567A (en) * 2012-06-26 2014-01-15 腾讯科技(深圳)有限公司 Method and system for equipment discovery and server
CN103607713A (en) * 2013-10-29 2014-02-26 小米科技有限责任公司 Method, apparatus, device and system for network access
CN103685450A (en) * 2012-09-06 2014-03-26 Lg电子株式会社 Home appliance and online system including the same
CN103746812A (en) * 2013-12-30 2014-04-23 迈普通信技术股份有限公司 Access authentication method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845505A (en) * 2005-04-07 2006-10-11 海尔集团公司 Household network device controlling method and equipment management apparatus
CN103516567A (en) * 2012-06-26 2014-01-15 腾讯科技(深圳)有限公司 Method and system for equipment discovery and server
CN103685450A (en) * 2012-09-06 2014-03-26 Lg电子株式会社 Home appliance and online system including the same
CN103607713A (en) * 2013-10-29 2014-02-26 小米科技有限责任公司 Method, apparatus, device and system for network access
CN103746812A (en) * 2013-12-30 2014-04-23 迈普通信技术股份有限公司 Access authentication method and system

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104881015A (en) * 2015-05-29 2015-09-02 四川长虹电器股份有限公司 Information processing method and intelligent household control device
CN104881015B (en) * 2015-05-29 2017-11-24 四川长虹电器股份有限公司 A kind of information processing method and smart home control device
CN104954371A (en) * 2015-06-09 2015-09-30 小米科技有限责任公司 Equipment information display method and device
CN104965452A (en) * 2015-06-23 2015-10-07 小米科技有限责任公司 Intelligent socket on-off state display method, device, intelligent terminal and server
CN105093948A (en) * 2015-07-13 2015-11-25 小米科技有限责任公司 Intelligent device control method, terminal, and server
CN104950896A (en) * 2015-07-14 2015-09-30 上海智臻网络科技有限公司 Floor sweeping robot, server and floor sweeping robot service system
CN105100233A (en) * 2015-07-14 2015-11-25 上海智臻智能网络科技股份有限公司 Sweeping robot wakeup method and system
CN105208631A (en) * 2015-09-25 2015-12-30 小米科技有限责任公司 Network connection method and device
CN105208631B (en) * 2015-09-25 2019-02-22 小米科技有限责任公司 Method for connecting network and device
CN106559214A (en) * 2015-09-25 2017-04-05 比亚迪股份有限公司 For changing terminal, server and the corresponding method of difference of vehicle part
CN106559214B (en) * 2015-09-25 2019-12-10 比亚迪股份有限公司 terminal for replacing a vehicle component, server and corresponding method
CN105307288A (en) * 2015-09-30 2016-02-03 小米科技有限责任公司 Disconnecting method and device
CN105307288B (en) * 2015-09-30 2019-11-15 小米科技有限责任公司 The method and apparatus disconnected
CN105353625A (en) * 2015-10-12 2016-02-24 珠海格力电器股份有限公司 Method, device and system for binding intelligent equipment
CN105487390A (en) * 2015-11-20 2016-04-13 青岛海信移动通信技术股份有限公司 Intelligent device, registration management method thereof and cloud server
CN105979511B (en) * 2016-05-04 2019-11-26 深圳市蜂联科技有限公司 A method of realizing that SD and AP is quickly connected using the encryption of SD information under the WIFI environment of onrelevant
CN105979511A (en) * 2016-05-04 2016-09-28 深圳市蜂联科技有限公司 Method of using SD information encryption to realize quick SD and AP connection in uncorrelated WIFI environment
CN106851373A (en) * 2017-03-06 2017-06-13 深圳创维数字技术有限公司 A kind of control method and device of STB terminal equipment
CN106972957A (en) * 2017-03-09 2017-07-21 海尔优家智能科技(北京)有限公司 Networking collocation method, smart machine and system
CN107592639A (en) * 2017-10-26 2018-01-16 上海斐讯数据通信技术有限公司 A kind of terminal device adds the method and system of router white list
CN108229210A (en) * 2017-12-26 2018-06-29 深圳市金立通信设备有限公司 A kind of method, terminal and computer readable storage medium for protecting data

Similar Documents

Publication Publication Date Title
US9958841B2 (en) Method and device for remotely controlling household appliance, and computer readable storage medium
RU2647493C2 (en) Method and device for presenting wi-fi list
CN104038263B (en) Method and device for establishing Bluetooth connection
CN104780155B (en) Apparatus bound method and device
WO2017008399A1 (en) Smart device control method, terminal, and server
JP6353985B2 (en) Control method, apparatus, program and recording medium for intelligent device of mobile terminal
EP2977893B1 (en) Lightweight app offline updating method, device and terminal
JP6186508B2 (en) Network connection method and terminal
CN105100190B (en) The methods, devices and systems that the control planning of account and equipment is managed
US9940829B2 (en) Methods and devices for binding a remote control
CN104683938A (en) Configuration method and device for intelligent equipment
CN104159218B (en) Internetwork connection establishing method and device
CN104038536B (en) Plug-in unit communication means and device
CN104394263A (en) Accessing point list displaying method and device
CN104159255A (en) Method of sharing network among terminals and device
CN104869612A (en) Method and device for accessing network
CN104936304A (en) Intelligent equipment binding method, intelligent equipment, and server
US20150046830A1 (en) Methods, Device and Social Network Manager for Enabling Interaction with Another Device
CN105160854A (en) Equipment control method, device and terminal equipment
CN104079962A (en) Method and device for pushing recommendation information
CN105468152A (en) Terminal operation control method and device based on wearable equipment, and equipment
CN104735057A (en) Sharing device control right method and device
CN104808500A (en) Task setting method and device
CN104159230B (en) Call recognition methods and device
CN105933899B (en) The cut-in method and device of wireless access point

Legal Events

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

Application publication date: 20150527