CN104993981B - Control the method and device of equipment access - Google Patents

Control the method and device of equipment access Download PDF

Info

Publication number
CN104993981B
CN104993981B CN201510246604.9A CN201510246604A CN104993981B CN 104993981 B CN104993981 B CN 104993981B CN 201510246604 A CN201510246604 A CN 201510246604A CN 104993981 B CN104993981 B CN 104993981B
Authority
CN
China
Prior art keywords
equipment
accessed
key
mark
access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510246604.9A
Other languages
Chinese (zh)
Other versions
CN104993981A (en
Inventor
侯恩星
孟德国
高自光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510246604.9A priority Critical patent/CN104993981B/en
Publication of CN104993981A publication Critical patent/CN104993981A/en
Application granted granted Critical
Publication of CN104993981B publication Critical patent/CN104993981B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The disclosure discloses a kind of method and device of control equipment access, belongs to smart home field.It include the mark of the equipment to be accessed in first broadcast message the described method includes: receiving the first broadcast message that equipment to be accessed is sent;The key of the equipment to be accessed is obtained according to the mark of the equipment to be accessed;It is encrypted according to the access information of the key pair access point apparatus of the equipment to be accessed, obtains encryption information;Sent to the equipment to be accessed include the encryption information incoming instruction, be decrypted by equipment to be accessed according to the key pair encryption information saved in the equipment to be accessed and obtain the access information and access the access point apparatus.The disclosure obtains the key of equipment to be accessed by the mark according to equipment to be accessed, it is encrypted according to the key pair access information, indicate that acquisition access information is decrypted according to the key pair encryption information of preservation in equipment to be accessed, to achieve the effect that improve information security.

Description

Control the method and device of equipment access
Technical field
This disclosure relates to smart home field, in particular to a kind of method and device of control equipment access.
Background technique
With the continuous development of smart home, the intelligent appliance in smart home is brought to the daily life of user Great convenience.Intelligent appliance can access family lan by router, and pass through intelligent terminal local area network by user In each intelligent appliance managed concentratedly.
Since some intelligent appliances lack convenient and fast input-output means, user can be by means of intelligent terminal, such as intelligence Energy mobile phone, to control intelligent appliance couple in router.For example, in the related art, intelligent terminal receives control, and some is waited for When access device couple in router, the SSID of the router and password notification are given to the equipment to be accessed by way of broadcast, By equipment to be accessed according to the SSID and password couple in router of the router.
Summary of the invention
Present disclose provides a kind of method and devices of control equipment access.The technical solution is as follows:
In a first aspect, providing a kind of method of control equipment access, which comprises
The first broadcast message that equipment to be accessed is sent is received, includes the equipment to be accessed in first broadcast message Mark;
The key of the equipment to be accessed is obtained according to the mark of the equipment to be accessed;
It is encrypted according to the access information of the key pair access point apparatus of the equipment to be accessed, obtains encryption information, The access information includes the mark and password of described access point equipment;
It include the incoming instruction of the encryption information to the equipment transmission to be accessed, the incoming instruction is used to indicate The equipment to be accessed encryption information according to the key pair saved in the equipment to be accessed is decrypted described in acquisition and connects Enter information, and described access point equipment is accessed according to the access information.
Optionally, the key that the equipment to be accessed is obtained according to the mark of the equipment to be accessed, comprising:
Inquiry request is sent to server, includes the mark of the equipment to be accessed in the inquiry request;
Receive the close of the equipment to be accessed that the server is inquired and returned according to the mark of the equipment to be accessed Key.
Optionally, the key that the equipment to be accessed is obtained according to the mark of the equipment to be accessed, comprising:
The close of the equipment to be accessed is inquired according to the mark of the equipment to be accessed and pre-stored cipher key list Key includes that corresponding between the mark of the equipment to be accessed and the key of the equipment to be accessed is closed in the cipher key list System.
Optionally, described described waiting according to the mark of the equipment to be accessed and the inquiry of pre-stored cipher key list Before the key for entering equipment, further includes:
The corresponding image in 2 D code of the equipment to be accessed is acquired by image acquisition units, the image in 2 D code is used for Carry the mark of the equipment to be accessed and the key of the equipment to be accessed;
It decodes the image in 2 D code and obtains the mark of the equipment to be accessed and the key of the equipment to be accessed;
The key pair of the mark of the equipment to be accessed and the equipment to be accessed should be added to the cipher key list.
Optionally, it before the key according to the mark acquisition equipment to be accessed of the equipment to be accessed, also wraps It includes:
Show whether access confirmation message, the access confirmation message confirm that the control equipment to be accessed connects for prompting Enter wireless access point;
When receiving the operation of the confirmation control equipment access wireless access point to be accessed, execute described according to The step of mark of equipment to be accessed obtains the key of the equipment to be accessed.
Optionally, it is described to equipment to be accessed send include the encryption information incoming instruction, comprising:
It broadcasts the message by second and sends the incoming instruction to the equipment to be accessed;
Alternatively,
It include the broadcast request of the incoming instruction to the transmission of described access point equipment, the broadcast request is used to indicate Described access point equipment is broadcast the message by third and sends the incoming instruction to the equipment to be accessed.
Second aspect provides a kind of method of control equipment access, which comprises
Transmission includes the first broadcast message of the mark of equipment to be accessed;
It receives from intelligent terminal, the incoming instruction comprising encryption information;
It is decrypted according to encryption information described in the key pair saved in the equipment to be accessed, obtains access point apparatus Access information, the access information include the mark and password of described access point equipment, and the encryption information is that the intelligence is whole End obtains the key of the equipment to be accessed according to the mark of the equipment to be accessed, and according to the key of the equipment to be accessed The information of encryption acquisition is carried out to the access information;
Described access point equipment is accessed according to the access information that decryption obtains.
Optionally, the reception is from intelligent terminal, the incoming instruction comprising encryption information, comprising:
It receives the intelligent terminal and the incoming instruction is sent by the second broadcast message;
Alternatively,
It receives described access point equipment and the incoming instruction is sent by third broadcast message.
The third aspect, provides a kind of device of control equipment access, and described device includes:
Broadcasting reception module broadcasts the message for receiving equipment to be accessed is sent first, in first broadcast message Mark comprising the equipment to be accessed;
Key Acquisition Module obtains the key of the equipment to be accessed for the mark according to the equipment to be accessed;
Encrypting module, the access information for the key pair access point apparatus according to the equipment to be accessed are encrypted, Encryption information is obtained, the access information includes the mark and password of described access point equipment;
Instruction sending module, for including the incoming instruction of the encryption information, institute to the equipment transmission to be accessed It states incoming instruction and is used to indicate the equipment to be accessed encryption information according to the key pair saved in the equipment to be accessed It is decrypted and obtains the access information, and described access point equipment is accessed according to the access information.
Optionally, the Key Acquisition Module, comprising:
Request-to-send submodule includes described to be accessed in the inquiry request for sending inquiry request to server The mark of equipment;
Receiving submodule, for receiving the server according to inquiring the mark of the equipment to be accessed and is returned The key of equipment to be accessed.
Optionally, the Key Acquisition Module, comprising:
Submodule is inquired, for according to the mark of the equipment to be accessed and the inquiry of pre-stored cipher key list The key of equipment to be accessed, include in the cipher key list equipment to be accessed mark and the equipment to be accessed it is close Corresponding relationship between key.
Optionally, described device further include:
Image capture module, for according to the mark of the equipment to be accessed and being stored in advance in the inquiry submodule Cipher key list inquire before the key of the equipment to be accessed, it is corresponding to acquire the equipment to be accessed by image acquisition units Image in 2 D code, the image in 2 D code be used for carry the equipment to be accessed mark and the equipment to be accessed it is close Key;
Decoder module obtains the mark of the equipment to be accessed and described to be accessed sets for decoding the image in 2 D code Standby key;
Adding module, for the key pair of the mark of the equipment to be accessed and the equipment to be accessed should to be added to institute State cipher key list.
Optionally, described device further include:
Information display module, for the Key Acquisition Module according to the mark of the equipment to be accessed obtain it is described to Before the key of access device, show whether access confirmation message, the access confirmation message confirm described in control for prompting Equipment to be accessed accesses wireless access point;
The Key Acquisition Module, in the behaviour for receiving the confirmation control equipment access wireless access point to be accessed When making, the described the step of key of the equipment to be accessed is obtained according to the mark of the equipment to be accessed is executed.
Optionally, described instruction sending module, comprising:
First broadcast sending module refers to for broadcasting the message by second to the equipment transmission access to be accessed It enables;
Broadcast request module, for including the broadcast request of the incoming instruction, institute to the transmission of described access point equipment It states broadcast request and is used to indicate described access point equipment and is broadcast the message by third and send the access to the equipment to be accessed Instruction.
Fourth aspect, provides a kind of device of control equipment access, and described device includes:
Second broadcast sending module, for send include equipment to be accessed mark first broadcast message;
Command reception module, for receiving the incoming instruction from intelligent terminal, comprising encryption information;
Deciphering module is decrypted for the encryption information according to the key pair saved in the equipment to be accessed, obtains The access information of access point apparatus is obtained, the access information includes the mark and password of described access point equipment, the encryption letter Breath, which is the intelligent terminal, obtains the key of the equipment to be accessed according to the mark of the equipment to be accessed, and according to it is described to Access information described in the key pair of access device carries out the information of encryption acquisition;
AM access module, the access information for being obtained according to decryption access described access point equipment.
Optionally, described instruction receiving module, comprising:
First broadcast reception submodule is referred to for receiving the intelligent terminal by the second broadcast message transmission access It enables;
Second broadcast reception submodule sends the access by third broadcast message for receiving described access point equipment Instruction.
5th aspect, provides a kind of device of control equipment access, and described device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The first broadcast message that equipment to be accessed is sent is received, includes the equipment to be accessed in first broadcast message Mark;
The key of the equipment to be accessed is obtained according to the mark of the equipment to be accessed;
It is encrypted according to the access information of the key pair access point apparatus of the equipment to be accessed, obtains encryption information, The access information includes the mark and password of described access point equipment;
It include the incoming instruction of the encryption information to the equipment transmission to be accessed, the incoming instruction is used to indicate The equipment to be accessed encryption information according to the key pair saved in the equipment to be accessed is decrypted described in acquisition and connects Enter information, and described access point equipment is accessed according to the access information.
6th aspect, provides a kind of device of control equipment access, and described device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Transmission includes the first broadcast message of the mark of equipment to be accessed;
It receives from intelligent terminal, the incoming instruction comprising encryption information;
It is decrypted according to encryption information described in the key pair saved in the equipment to be accessed, obtains access point apparatus Access information, the access information include the mark and password of described access point equipment, and the encryption information is that the intelligence is whole End obtains the key of the equipment to be accessed according to the mark of the equipment to be accessed, and according to the key of the equipment to be accessed The information of encryption acquisition is carried out to the access information;
Described access point equipment is accessed according to the access information that decryption obtains.
The technical scheme provided by this disclosed embodiment can include the following benefits:
By according to equipment to be accessed send first broadcast message in include equipment to be accessed mark obtain it is waiting The key for entering equipment is encrypted according to the access information of the key pair access point apparatus of the equipment to be accessed, is set to be accessed Preparation send include encryption information incoming instruction, to indicate that equipment to be accessed is solved according to the key pair encryption information of preservation Close acquisition access information, and access point apparatus is accessed according to access information, each equipment to be accessed corresponds to respective key, should add Confidential information can only be decrypted by the access point apparatus, to avoid the access information for being sent to equipment to be accessed by other equipment The problem of intercepting and capturing cause access information to be divulged a secret achievees the effect that improve information security.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited It is open.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and in specification together principle for explaining the present invention.
Fig. 1 is real involved in a kind of method of control equipment access according to some exemplary embodiments of that present disclosure Apply the schematic diagram of environment;
Fig. 2 is a kind of flow chart of the method for control equipment access shown according to an exemplary embodiment;
Fig. 3 is a kind of flow chart of the method for control equipment access shown according to an exemplary embodiment;
Fig. 4 is a kind of flow chart of the method for control equipment access shown according to an exemplary embodiment;
Fig. 5 is a kind of flow chart of information adding method shown according to an exemplary embodiment;
Fig. 6 is a kind of block diagram of the device of control equipment access shown according to an exemplary embodiment;
Fig. 7 is a kind of block diagram of the device of the control equipment access shown according to another exemplary embodiment;
Fig. 8 is a kind of block diagram of the device of control equipment access shown according to an exemplary embodiment;
Fig. 9 is a kind of block diagram of the device of the control equipment access shown according to another exemplary embodiment;
Figure 10 is a kind of block diagram of device shown according to an exemplary embodiment;
Figure 11 is a kind of block diagram of device shown according to an exemplary embodiment.
Specific embodiment
Here will the description is performed on the exemplary embodiment in detail, the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
Fig. 1 is real involved in a kind of method of control equipment access according to some exemplary embodiments of that present disclosure Apply the schematic diagram of environment.The implementation environment includes: intelligent terminal 110, equipment to be accessed 120, access point apparatus 130 and service Device 140;
Intelligent terminal 110 can be the electronics such as smart phone, tablet computer, E-book reader and PC and set It is standby.
Equipment 120 to be accessed can be the various intelligent appliances in smart home, such as intelligent air condition, smart television, intelligence Energy rice cooker, intelligent socket etc..
Access point apparatus 130 can be intelligent router;
Server 140 can be a server, or the server cluster consisted of several servers or one A cloud computing service center.
Intelligent terminal 110 and equipment to be accessed 120 can access family lan or interconnection by access point apparatus 130 Net.Intelligent terminal 110 can be connect by access point apparatus 130 with the server 140 of network side, alternatively, intelligent terminal 110 It can be established and be directly connected to by the server 140 of carrier network and network side.
Fig. 2 is a kind of flow chart of the method for control equipment access shown according to an exemplary embodiment.The control is set The method of standby access can be used in the intelligent terminal 110 of implementation environment as shown in Figure 1.As shown in Fig. 2, which is connect The method entered may comprise steps of.
In step 202, the first broadcast message that equipment to be accessed is sent is received, includes to be accessed in the first broadcast message The mark of equipment.
In step 204, the key of equipment to be accessed is obtained according to the mark of equipment to be accessed.
In step 206, it is encrypted, is obtained according to the access information of the key pair access point apparatus of the equipment to be accessed Encryption information, access information include the mark and password of access point apparatus.
It in a step 208, include the incoming instruction of encryption information to equipment to be accessed transmission, incoming instruction is used to indicate Acquisition access information is decrypted according to the key pair encryption information saved in the equipment to be accessed in equipment to be accessed, and according to connecing Enter information access access point apparatus.
Optionally, the key of the equipment to be accessed of equipment to be accessed is obtained according to the mark of equipment to be accessed, comprising:
Inquiry request is sent to server, includes the mark of equipment to be accessed in inquiry request;
Receive the key for the equipment to be accessed that server is inquired and returned according to the mark of equipment to be accessed.
Optionally, the key of the equipment to be accessed of equipment to be accessed is obtained according to the mark of equipment to be accessed, comprising:
The key of equipment to be accessed, key column are inquired according to the mark of equipment to be accessed and pre-stored cipher key list It include the corresponding relationship between the mark of equipment to be accessed and the key of equipment to be accessed in table.
Optionally, the key of equipment to be accessed is inquired according to the mark of equipment to be accessed and pre-stored cipher key list Before, further includes:
The corresponding image in 2 D code of equipment to be accessed is acquired by image acquisition units, image in 2 D code is waiting for carrying Enter the mark of equipment and the key of equipment to be accessed;
Decoding image in 2 D code obtains the mark of equipment to be accessed and the key of equipment to be accessed;
The key pair of the mark of equipment to be accessed and equipment to be accessed should be added to cipher key list.
Optionally, before the key that equipment to be accessed is obtained according to the mark of equipment to be accessed, further includes:
Show whether access confirmation message, access confirmation message confirm that control equipment access to be accessed wirelessly connects for prompting Access point;
When receiving the operation of confirmation control equipment access wireless access point to be accessed, execute according to equipment to be accessed Mark obtains the step of key of equipment to be accessed.
It optionally, include the incoming instruction of encryption information to equipment to be accessed transmission, comprising:
It broadcasts the message by second and sends incoming instruction to equipment to be accessed;
Alternatively,
It include the broadcast request of incoming instruction to access point apparatus transmission, it is logical that broadcast request is used to indicate access point apparatus Third is crossed to broadcast the message to equipment to be accessed transmission incoming instruction.
In conclusion the method for control equipment access shown in the embodiment of the present disclosure, by being sent according to equipment to be accessed The first broadcast message in include the mark of equipment to be accessed obtain the key of equipment to be accessed, according to the equipment to be accessed The access information of key pair access point apparatus is encrypted, and includes the incoming instruction of encryption information to equipment to be accessed transmission, To indicate that acquisition access information is decrypted according to the key pair encryption information of preservation in equipment to be accessed, and connect according to access information Enter access point apparatus, each equipment to be accessed corresponds to respective key, which can only be solved by the access point apparatus It is close, to avoid the problem that the access information for being sent to equipment to be accessed causes access information to be divulged a secret by the intercepting and capturing of other equipment, reach To the effect for improving information security.
Fig. 3 is a kind of flow chart of the method for control equipment access shown according to an exemplary embodiment.The control is set The method of standby access can be used in the equipment to be accessed 120 of implementation environment as shown in Figure 1.As shown in Fig. 3, the control equipment The method of access may comprise steps of.
In step 302, transmission includes the first broadcast message of the mark of equipment to be accessed.
In step 304, it receives from intelligent terminal, the incoming instruction comprising encryption information.
Within step 306, it is decrypted according to the key pair encryption information that equipment to be accessed saves, obtains access point apparatus Access information, which includes the mark and password of access point apparatus, which is intelligent terminal according to waiting The mark for entering equipment obtains the key of equipment to be accessed, and carries out encryption acquisition according to the key pair access information of equipment to be accessed Information.
In step 308, access point apparatus is accessed according to the access information that decryption obtains.
Optionally, it receives from intelligent terminal, the incoming instruction comprising encryption information, comprising:
It receives intelligent terminal and incoming instruction is sent by the second broadcast message;
Alternatively,
It receives access point apparatus and incoming instruction is sent by third broadcast message.
In conclusion the method for control equipment access shown in the embodiment of the present disclosure, includes to be accessed set by sending First broadcast message of standby mark, receives the incoming instruction comprising encryption information, the key pair saved according to equipment to be accessed Encryption information is decrypted, and obtains the access information of access point apparatus, and the access information access access point obtained according to decryption is set It is standby, wherein the access information includes the mark and password of access point apparatus, which is that intelligent terminal is set according to be accessed Standby mark obtains the key of equipment to be accessed, and the letter of encryption acquisition is carried out according to the key pair access information of equipment to be accessed Breath;Each equipment to be accessed corresponds to respective key, which can only be decrypted by the access point apparatus, to avoid The problem of be sent to the access information of equipment to be accessed causes access information to be divulged a secret by the intercepting and capturing of other equipment, reaches and improve information peace The effect of full property.
Fig. 4 is a kind of flow chart of the method for control equipment access shown according to an exemplary embodiment.The control is set The method of standby access can be used in implementation environment as shown in Figure 1.As shown in figure 4, the method for control equipment access can be with Include the following steps.
In step 402, equipment transmission to be accessed includes the first broadcast message of the mark of equipment to be accessed.
It after opening of device to be accessed, detects when not accessing any access point apparatus, carries itself to surrounding transmission The broadcast message of mark, for example, sending comprising itself (Media Access Control, media access control) MAC Address Beacons message.
In step 404, intelligent terminal receives first broadcast message, shows access confirmation message.
Wherein, whether access confirmation message confirms control equipment access wireless access point to be accessed for prompting.
After intelligent terminal receives first broadcast message, know that the equipment to be accessed not yet accesses any access point and sets It is standby, at this point, intelligent terminal can show access confirmation message to user, to prompt the user whether that confirmation controls the equipment to be accessed Access wireless access point.
Optionally, when as user, selection controls equipment to be accessed access in accessing confirmation message, intelligent terminal can be to User shows the list of each access point apparatus that Current Scan arrives, and an equipment is therefrom specified to be accessed to set as this by user Standby access point.If the password for the access point apparatus that not stored user specifies in intelligent terminal, also will pop up Password Input circle Face, and receive the password that user inputs in the interface for password input.
Wherein, intelligent terminal detects that user selects access point apparatus, and after getting the password of the access point apparatus, Step 406 can directly be executed, can also first attempt to access the access point apparatus, with verify the access point apparatus password whether Correctly, if being successfully accessed, illustrate that the password of the access point apparatus is correct, execute step 406, otherwise user is prompted to re-enter Password.
In a step 406, intelligent terminal is when receiving confirmation and controlling the operation of equipment to be accessed access wireless access point, The key of equipment to be accessed is obtained according to the mark of equipment to be accessed.
Each equipment to be accessed is both provided with a key, one a pair of mark of the key and equipment to be accessed when leaving the factory It answers.Intelligent terminal can obtain the key of equipment to be accessed by the scheme as shown in following step 406a or step 406b.
In step 406a, intelligent terminal sends inquiry request to server, includes equipment to be accessed in inquiry request Mark receives the key for the equipment to be accessed that server is inquired and returned according to the mark of equipment to be accessed.
Wherein, a cipher key list is stored in server in advance, each equipment to be accessed is record in the cipher key list Key and equipment to be accessed mark between corresponding relationship.After server receives the inquiry request of intelligent terminal transmission, The key of the equipment to be accessed is inquired according to the mark of the equipment to be accessed carried in inquiry request, and the key inquired is returned Back to intelligent terminal.
In step 406b, intelligent terminal according to the mark of equipment to be accessed and pre-stored cipher key list inquiry to The key of access device.
It wherein, include that corresponding between the mark of equipment to be accessed and the key of equipment to be accessed is closed in the cipher key list System.
A cipher key list can also be locally stored in intelligent terminal, and in advance will be each to be accessed in family lan The mark of equipment and the key pair of equipment to be accessed should be added as in the cipher key list, and when receiving user's control, some is waiting When entering the instruction of equipment access, according to the mark of the equipment to be accessed in the corresponding key of local search equipment to be accessed.
It optionally, can be in product inner packing or specification in the form of entity tag when equipment to be accessed is dispatched from the factory Carry equipment to be accessed mark and equipment to be accessed key, so as to intelligent terminal execute step 406 before, by user Manually by the cipher key list of such as intelligent terminal local of corresponding relationship addition between the two.
Please refer to the flow chart of information adding method shown in fig. 5, intelligent terminal in local cipher key list addition to The process of corresponding relationship between the mark of access device and the key of equipment to be accessed can be such as step 406b1-406b3 institute Show:
In step 406b1, intelligent terminal acquires the corresponding image in 2 D code of equipment to be accessed by image acquisition units, Image in 2 D code is used to carry the mark of equipment to be accessed and the key of equipment to be accessed.
In step 406b2, intelligent terminal decoding image in 2 D code obtains the mark and equipment to be accessed of equipment to be accessed Key.
In step 406b3, the key pair of the mark of equipment to be accessed and equipment to be accessed should be added to by intelligent terminal Cipher key list.
By taking the key of equipment to be accessed is carried by two dimensional code as an example, in the specification or device housings of equipment to be accessed The label comprising two dimensional code can be pasted, user passes through the image acquisition units on intelligent terminal, such as camera, acquisition To after the pattern in 2 D code, pattern in 2 D code is decoded to obtain wherein carries, the mark of the equipment to be accessed and waiting Enter the key of equipment, and the key of the mark for the equipment to be accessed that decoding obtains and equipment to be accessed is added into cipher key list In, it is inquired when being accessed so as to subsequent control equipment to be accessed.
In a step 408, intelligent terminal is carried out according to the access information of the key pair access point apparatus of the equipment to be accessed Encryption obtains encryption information.
Wherein, access information includes the mark and password of access point apparatus.
After intelligent terminal inquires the key of the equipment to be accessed, according to the key pair user of the equipment to be accessed selection The access information of access point apparatus is encrypted, the access information of the access point apparatus can be the access point apparatus mark and Password, wherein the mark of the access point apparatus can be the SSID of access point apparatus (Service Set Identifier, clothes Business set identifier).
In step 410, intelligent terminal to equipment to be accessed send include encryption information incoming instruction.
Optionally, intelligent terminal can be set by the method as shown in following step 410a or step 410b to be accessed Preparation send incoming instruction.
In step 410a, intelligent terminal broadcasts the message by second and sends incoming instruction to equipment to be accessed.
In step 410b, intelligent terminal to access point apparatus send include incoming instruction broadcast request, access point Equipment is broadcast the message by third according to the broadcast request and sends incoming instruction to equipment to be accessed.
Wherein, intelligent terminal oneself by broadcasting the message to equipment to be accessed can send the incoming instruction, can also lead to Know access point apparatus, sends the incoming instruction by broadcasting the message to equipment to be accessed from access point apparatus.Alternatively, in order to guarantee The success rate sent is instructed, broadcast message can also be passed through by intelligent terminal and access point apparatus simultaneously and send the incoming instruction.
In step 412, the key pair encryption information that equipment to be accessed is saved according to equipment to be accessed is decrypted, and obtains The access information of access point apparatus.
In step 414, equipment to be accessed accesses the access point apparatus according to the access information that decryption obtains.
After equipment to be accessed receives intelligent terminal or the incoming instruction of access point apparatus broadcast, saved according to oneself Encryption information in the key pair incoming instruction is decrypted, and the mark and password of access point apparatus is obtained, according to the access point The mark and password of equipment and the access point apparatus establish connection.
Using intelligent terminal as smart phone, equipment to be accessed be intelligent socket, access point apparatus be router for, each The all corresponding key and MAC Address for preserving oneself of intelligent socket, when intelligent socket dispatches from the factory, producer by the key of intelligent socket and MAC Address is stored into the server of network side.After intelligent socket installation is powered, when detecting non-couple in router, Ke Yitong The MAC Address that broadcast message sends itself is crossed to show after smart phone detects the broadcast message that intelligent socket is sent to user Prompt information prompts the user whether control intelligent socket couple in router.User selects after determining, from the router column scanned The access pin of a router and input router is selected in table, smart phone first attempts to access the routing using the password Device illustrates that the password is correct if being successfully accessed, and hereafter, it includes intelligent socket that smart phone is sent to the server of network side MAC Address inquiry request, server inquires the key of the intelligent socket according to the MAC Address of intelligent socket and returns to intelligence It can mobile phone.Smart phone is encrypted according to the SSID and password of the key pair router of the intelligent socket inquired, and is passed through Encrypted SSID and password are sent to intelligent socket by broadcast, alternatively, smart phone can also notify router is sent should Encrypted SSID and password.After intelligent socket receives the broadcast message comprising encrypted SSID and password, pass through The key oneself saved is decrypted, and according to decrypted result couple in router.
In conclusion the method for the control equipment access provided in the embodiment of the present disclosure, intelligent terminal are set according to be accessed The mark for the equipment to be accessed for including in the first broadcast message that preparation is sent obtains the key of equipment to be accessed, to be accessed according to this The access information of the key pair access point apparatus of equipment is encrypted, and includes the access of encryption information to equipment to be accessed transmission Instruction, acquisition access information is decrypted in the key pair encryption information that equipment to be accessed is saved according to oneself, and is believed according to access Breath access access point apparatus, each equipment to be accessed corresponds to respective key, the encryption information can only by the access point apparatus into Row decryption causes what access information divulged a secret to ask so that the access information for being sent to equipment to be accessed be avoided to be intercepted and captured by other equipment Topic achievees the effect that improve information security.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.It is real for disclosure device Undisclosed details in example is applied, embodiments of the present disclosure is please referred to.
Fig. 6 is a kind of block diagram of the device of control equipment access shown according to an exemplary embodiment, the control equipment The device of access can be used in the intelligent terminal 110 of implementation environment as shown in Figure 1, execute in such as Fig. 2 or Fig. 4 by intelligence The some or all of step that terminal executes.As shown in fig. 6, the device of control equipment access includes but is not limited to: broadcast connects Receive module 601, Key Acquisition Module 602, encrypting module 603 and instruction sending module 604;
The broadcasting reception module 601 is arranged to be used for receiving the first broadcast message that equipment to be accessed is sent, described It include the mark of the equipment to be accessed in first broadcast message;
The Key Acquisition Module 602 is arranged to be used for being obtained according to the mark of the equipment to be accessed described to be accessed The key of equipment;
The encrypting module 603 is arranged to be used for the access of the key pair access point apparatus according to the equipment to be accessed Information is encrypted, and obtains encryption information, the access information includes the mark and password of described access point equipment;
Described instruction sending module 604 is arranged to be used for the equipment transmission to be accessed including the encryption information Incoming instruction, the incoming instruction is used to indicate the key pair institute that the equipment to be accessed is saved according to the equipment to be accessed It states encryption information and the acquisition access information is decrypted, and described access point equipment is accessed according to the access information.
In conclusion the device of control equipment access shown in the embodiment of the present disclosure, by being sent according to equipment to be accessed The first broadcast message in include the mark of equipment to be accessed obtain the key of equipment to be accessed, according to the equipment to be accessed The access information of key pair access point apparatus is encrypted, and includes the incoming instruction of encryption information to equipment to be accessed transmission, To indicate that acquisition access information is decrypted according to the key pair encryption information of preservation in equipment to be accessed, and connect according to access information Enter access point apparatus, each equipment to be accessed is corresponding to save respective key, the encryption information can only by the access point apparatus into Row decryption causes what access information divulged a secret to ask so that the access information for being sent to equipment to be accessed be avoided to be intercepted and captured by other equipment Topic achievees the effect that improve information security.
Fig. 7 is a kind of block diagram of the device of the control equipment access shown according to another exemplary embodiment, which sets The device of standby access can be used in the intelligent terminal 110 of implementation environment as shown in Figure 1, execute in such as Fig. 2 or Fig. 4 by intelligence The some or all of step that terminal executes.As shown in fig. 7, the device of control equipment access includes but is not limited to: broadcast connects Receive module 601, Key Acquisition Module 602, encrypting module 603 and instruction sending module 604;
The broadcasting reception module 601 is arranged to be used for receiving the first broadcast message that equipment to be accessed is sent, described It include the mark of the equipment to be accessed in first broadcast message;
The Key Acquisition Module 602 is arranged to be used for being obtained according to the mark of the equipment to be accessed described to be accessed The key of equipment;
The encrypting module 603 is arranged to be used for the access of the key pair access point apparatus according to the equipment to be accessed Information is encrypted, and obtains encryption information, the access information includes the mark and password of described access point equipment;
Described instruction sending module 604 is arranged to be used for the equipment transmission to be accessed including the encryption information Incoming instruction, the incoming instruction is used to indicate the key pair institute that the equipment to be accessed is saved according to the equipment to be accessed It states encryption information and the acquisition access information is decrypted, and described access point equipment is accessed according to the access information.
Optionally, the Key Acquisition Module 602, comprising: request-to-send submodule 602a and receiving submodule 602b;
The request-to-send submodule 602a is arranged to be used for sending inquiry request to server, in the inquiry request Mark comprising the equipment to be accessed;
The receiving submodule 602b is arranged to be used for receiving the server according to the mark of the equipment to be accessed The key of the equipment to be accessed inquired and returned.
Optionally, the Key Acquisition Module 602, comprising: inquiry submodule 602c;
The inquiry submodule 602c is arranged to be used for according to the mark of the equipment to be accessed and pre-stored Cipher key list inquires the key of the equipment to be accessed, includes mark and the institute of the equipment to be accessed in the cipher key list State the corresponding relationship between the key of equipment to be accessed.
Optionally, described device further include: image capture module 605, decoder module 606 and adding module 607;
Described image acquisition module 605 is arranged in use in the inquiry submodule 602c according to the equipment to be accessed Mark and pre-stored cipher key list inquire before the key of the equipment to be accessed, acquired by image acquisition units The corresponding image in 2 D code of the equipment to be accessed, the image in 2 D code are used to carry mark and the institute of the equipment to be accessed State the key of equipment to be accessed;
The decoder module 606 is arranged to be used for decoding the mark that the image in 2 D code obtains the equipment to be accessed With the key of the equipment to be accessed;
The adding module 607 is arranged to be used for identifying for the equipment to be accessed is close with the equipment to be accessed Key correspondence is added to the cipher key list.
Optionally, described device further include: information display module 608;
The information display module 608 is arranged in use in the Key Acquisition Module 602 and to be accessed is set according to described Before standby mark obtains the key of the equipment to be accessed, access confirmation message is shown, the access confirmation message is for mentioning Show whether confirm the control equipment access wireless access point to be accessed;
The Key Acquisition Module 602, which is arranged in use in, receives the confirmation control equipment access to be accessed wirelessly When the operation of access point, the step that the mark according to the equipment to be accessed obtains the key of the equipment to be accessed is executed Suddenly.
Optionally, described instruction sending module 604, comprising: broadcast transmission submodule 604a and broadcast request submodule 604b;
The broadcast transmission submodule 604a is arranged to be used for broadcasting the message by second and send out to the equipment to be accessed Send the incoming instruction;
It includes the access that the broadcast request submodule 604b, which is arranged to be used for sending to described access point equipment, The broadcast request of instruction, the broadcast request are used to indicate described access point equipment and are broadcast the message by third to described to be accessed Equipment sends the incoming instruction.
In conclusion the device of control equipment access shown in the embodiment of the present disclosure, by being sent according to equipment to be accessed The first broadcast message in include the mark of equipment to be accessed obtain the key of equipment to be accessed, according to the equipment to be accessed The access information of key pair access point apparatus is encrypted, and includes the incoming instruction of encryption information to equipment to be accessed transmission, To indicate that key pair encryption information that equipment to be accessed is saved according to equipment to be accessed is decrypted acquisition access information, and according to Access information accesses access point apparatus, and each equipment to be accessed corresponds to respective key, which can only be by the access point Equipment is decrypted, so that the access information for being sent to equipment to be accessed be avoided to cause access information to be divulged a secret by the intercepting and capturing of other equipment The problem of, achieve the effect that improve information security
Fig. 8 is a kind of block diagram of the device of control equipment access shown according to an exemplary embodiment, the control equipment The device of access can be used in the equipment to be accessed 120 of implementation environment as shown in Figure 1, execute in such as Fig. 3 or Fig. 4 by waiting Enter some or all of step of equipment execution.As shown in figure 8, the device of control equipment access includes but is not limited to: broadcast Sending module 801, command reception module 802, deciphering module 803 and AM access module 804;
The first broadcast that the broadcast sending module 801 is arranged to be used for the mark that transmission includes equipment to be accessed disappears Breath;
Described instruction receiving module 802 is arranged to be used for receiving from intelligent terminal, connecing comprising encryption information Enter instruction;
The deciphering module 803 is arranged to be used for encryption information described in the key pair saved according to the equipment to be accessed It being decrypted, obtains the access information of access point apparatus, the access information includes the mark and password of described access point equipment, The encryption information is the key that the intelligent terminal obtains the equipment to be accessed according to the mark of the equipment to be accessed, and The information of encryption acquisition is carried out according to access information described in the key pair of the equipment to be accessed;
The AM access module 804 is arranged to be used for the access information obtained according to decryption access described access point and sets It is standby.
In conclusion the device of control equipment access shown in the embodiment of the present disclosure, includes to be accessed set by sending First broadcast message of standby mark, receives the incoming instruction comprising encryption information, the key pair saved according to equipment to be accessed Encryption information is decrypted, and obtains the access information of access point apparatus, and the access information access access point obtained according to decryption is set It is standby, wherein the access information includes the mark and password of access point apparatus, which is that intelligent terminal is set according to be accessed Standby mark obtains the key of equipment to be accessed, and the letter of encryption acquisition is carried out according to the key pair access information of equipment to be accessed Breath;Each equipment to be accessed corresponds to respective key, which can only be decrypted by the access point apparatus, to avoid The problem of be sent to the access information of equipment to be accessed causes access information to be divulged a secret by the intercepting and capturing of other equipment, reaches and improve information peace The effect of full property.
Fig. 9 is a kind of block diagram of the device of the control equipment access shown according to another exemplary embodiment, which sets The device of standby access can be used in the equipment to be accessed 120 of implementation environment as shown in Figure 1, execute as in Fig. 3 or Fig. 4 by The some or all of step that access device executes.As shown in figure 9, the device of control equipment access includes but is not limited to: wide Broadcast sending module 801, command reception module 802, deciphering module 803 and AM access module 804;
The first broadcast that the broadcast sending module 801 is arranged to be used for the mark that transmission includes equipment to be accessed disappears Breath;
Described instruction receiving module 802 is arranged to be used for receiving from intelligent terminal, connecing comprising encryption information Enter instruction;
The deciphering module 803 is arranged to be used for encryption information described in the key pair saved according to the equipment to be accessed It being decrypted, obtains the access information of access point apparatus, the access information includes the mark and password of described access point equipment, The encryption information is the key that the intelligent terminal obtains the equipment to be accessed according to the mark of the equipment to be accessed, and The information of encryption acquisition is carried out according to access information described in the key pair of the equipment to be accessed;
The AM access module 804 is arranged to be used for the access information obtained according to decryption access described access point and sets It is standby.
Optionally, described instruction receiving module 802, comprising: the broadcast of the first broadcast reception submodule 802a and second connects Receive submodule 802b;
The first broadcast reception submodule 802a is arranged to be used for receiving the intelligent terminal and broadcasting by second disappearing Breath sends the incoming instruction;
The second broadcast reception submodule 802b is arranged to be used for reception described access point equipment and passes through third broadcast Message sends the incoming instruction.
In conclusion the device of control equipment access shown in the embodiment of the present disclosure, includes to be accessed set by sending First broadcast message of standby mark, receives the incoming instruction comprising encryption information, the key pair saved according to equipment to be accessed Encryption information is decrypted, and obtains the access information of access point apparatus, and the access information access access point obtained according to decryption is set It is standby, wherein the access information includes the mark and password of access point apparatus, which is that intelligent terminal is set according to be accessed Standby mark obtains the key of equipment to be accessed, and the letter of encryption acquisition is carried out according to the key pair access information of equipment to be accessed Breath;Each equipment to be accessed corresponds to respective key, which can only be decrypted by the access point apparatus, to avoid The problem of be sent to the access information of equipment to be accessed causes access information to be divulged a secret by the intercepting and capturing of other equipment, reaches and improve information peace The effect of full property.
Figure 10 is a kind of block diagram of device 1000 shown according to an exemplary embodiment.For example, device 1000 can be Mobile phone, computer, digital broadcasting terminal, messaging device, routing device, game console, tablet device, medical treatment are set It is standby, body-building equipment, personal digital assistant etc..
Referring to Fig.1 0, device 1000 may include following one or more components: processing component 1002, memory 1004, Power supply module 1006, multimedia component 1008, audio component 1010, the interface 1012 of input/output (I/O), sensor module 1014 and communication component 1016.
The integrated operation of the usual control device 1000 of processing component 1002, such as with display, telephone call, data communication, Camera operation and record operate associated operation.Processing component 1002 may include one or more processors 1018 to execute Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1002 may include one or more moulds Block, convenient for the interaction between processing component 1002 and other assemblies.For example, processing component 1002 may include multi-media module, To facilitate the interaction between multimedia component 1008 and processing component 1002.
Memory 1004 is configured as storing various types of data to support the operation in device 1000.These data Example includes the instruction of any application or method for operating on device 1000, contact data, telephone book data, Message, picture, video etc..Memory 1004 can by any kind of volatibility or non-volatile memory device or they Combination realizes that, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable Programmable read only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, quick flashing Memory, disk or CD.One or more modules are also stored in memory 1004, which is configured to It is executed by the one or more processors 1018, to complete the part executed in above-mentioned Fig. 2 or Fig. 4 by intelligent terminal or complete Portion's step.
Power supply module 1006 provides electric power for the various assemblies of device 1000.Power supply module 1006 may include power management System, one or more power supplys and other with for device 1000 generate, manage, and distribute the associated component of electric power.
Multimedia component 1008 includes the screen of one output interface of offer between described device 1000 and user.? In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes that one or more touch passes Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding is dynamic The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more Media component 1008 includes a front camera and/or rear camera.When device 1000 is in operation mode, as shot mould When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1010 is configured as output and/or input audio signal.For example, audio component 1010 includes a wheat Gram wind (MIC), when device 1000 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 1004 or via communication Component 1016 is sent.In some embodiments, audio component 1010 further includes a loudspeaker, is used for output audio signal.
I/O interface 1012 provides interface, above-mentioned peripheral interface module between processing component 1002 and peripheral interface module It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and Locking press button.
Sensor module 1014 includes one or more sensors, and the state for providing various aspects for device 1000 is commented Estimate.For example, sensor module 1014 can detecte the state that opens/closes of device 1000, the relative positioning of component, such as institute The display and keypad that component is device 1000 are stated, sensor module 1014 can be with detection device 1000 or device 1000 The position change of one component, the existence or non-existence that user contacts with device 1000,1000 orientation of device or acceleration/deceleration and The temperature change of device 1000.Sensor module 1014 may include proximity sensor, be configured in not any object It is detected the presence of nearby objects when reason contact.Sensor module 1014 can also include optical sensor, as CMOS or ccd image are passed Sensor, for being used in imaging applications.In some embodiments, which can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1016 is configured to facilitate the communication of wired or wireless way between device 1000 and other equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by setting 1000,2G or 3G or their combination.It is exemplary at one In embodiment, communication component 1016 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1016 further includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1000 can be by one or more application specific integrated circuit (ASIC), number Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 1004 of instruction, above-metioned instruction can be executed by the processor 1018 of device 1000 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
Figure 11 is a kind of block diagram of device 1100 shown according to an exemplary embodiment.For example, device 1100 can be with It is mobile phone, computer, digital broadcasting terminal, messaging device, routing device, game console, tablet device, medical treatment Equipment, body-building equipment, personal digital assistant etc..
Referring to Fig.1 1, device 1100 may include following one or more components: processing component 1102, memory 1104, Power supply module 1106, sensor module 1114 and communication component 1116.
The integrated operation of the usual control device 1100 of processing component 1102, processing component 1102 may include one or more Processor 1118 executes instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1102 can wrap One or more modules are included, convenient for the interaction between processing component 1102 and other assemblies.
Memory 1104 is configured as storing various types of data to support the operation in device 1100.These data Example includes the instruction of any application or method for operating on device 1100, data etc..Memory 1104 can be with It is realized by any kind of volatibility or non-volatile memory device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM) may be programmed Read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.In memory 1104 One or more modules are also stored with, which is configured to be executed by the one or more processors 1118, To complete some or all of step executed in above-mentioned Fig. 2 or Fig. 4 by intelligent terminal.
Power supply module 1106 provides electric power for the various assemblies of device 1100.Power supply module 1106 may include power management System, one or more power supplys and other with for device 1100 generate, manage, and distribute the associated component of electric power.
Sensor module 1114 includes one or more sensors, and the state for providing various aspects for device 1100 is commented Estimate.For example, sensor module 1114 can detecte the state that opens/closes of device 1100, the relative positioning of component, sensor Component 1114 can be deposited with the position change of 1,100 1 components of detection device 1100 or device, user with what device 1100 contacted Or be not present, the temperature change in 1100 orientation of device or acceleration/deceleration and device 1100.Sensor module 1114 may include Proximity sensor is configured to detect the presence of nearby objects without any physical contact.Sensor module 1114 It can also include optical sensor, such as CMOS or ccd image sensor, for being used in imaging applications.In some embodiments, The sensor module 1114 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature Sensor.
Communication component 1116 is configured to facilitate the communication of wired or wireless way between device 1100 and other equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by setting 1100,2G or 3G or their combination.It is exemplary at one In embodiment, communication component 1116 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1116 further includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1100 can be by one or more application specific integrated circuit (ASIC), number Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 1104 of instruction, above-metioned instruction can be executed by the processor 1118 of device 1100 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in perform detailed description, no detailed explanation will be given here.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and change can executed without departing from the scope.The scope of the present invention is limited only by the attached claims.

Claims (10)

1. a kind of method of control equipment access, which is characterized in that the described method includes:
The first broadcast message that equipment to be accessed is sent is received, includes the mark of the equipment to be accessed in first broadcast message Know;
The key of the equipment to be accessed is obtained according to the mark of the equipment to be accessed;
It is encrypted according to the access information of the key pair access point apparatus of the equipment to be accessed, obtains encryption information, it is described Access information includes the mark and password of described access point equipment;
It include the incoming instruction of the encryption information to the equipment transmission to be accessed, the incoming instruction is used to indicate described Equipment to be accessed encryption information according to the key pair saved in the equipment to be accessed, which is decrypted, obtains the access letter Breath, and described access point equipment is accessed according to the access information;
Wherein, it is described to equipment to be accessed send include the encryption information incoming instruction, comprising:
It include the broadcast request of the incoming instruction to the transmission of described access point equipment, the broadcast request is used to indicate described Access point apparatus is broadcast the message by third and sends the incoming instruction to the equipment to be accessed;
Wherein, the key that the equipment to be accessed is obtained according to the mark of the equipment to be accessed, comprising:
Inquiry request is sent to server, includes the mark of the equipment to be accessed in the inquiry request, receives the service The equipment to be accessed that device is inquired and returned according to the mark and pre-stored cipher key list of the equipment to be accessed it is close Key;Alternatively, inquiring the close of the equipment to be accessed according to the mark of the equipment to be accessed and pre-stored cipher key list Key;Wherein, in the cipher key list include corresponding relationship between the mark of equipment to be accessed and the key of equipment to be accessed.
2. the method according to claim 1, wherein the mark according to the equipment to be accessed and in advance The cipher key list of storage is inquired before the key of the equipment to be accessed, further includes:
The corresponding image in 2 D code of the equipment to be accessed is acquired by image acquisition units, the image in 2 D code is for carrying The mark of the equipment to be accessed and the key of the equipment to be accessed;
It decodes the image in 2 D code and obtains the mark of the equipment to be accessed and the key of the equipment to be accessed;
The key pair of the mark of the equipment to be accessed and the equipment to be accessed should be added to the cipher key list.
3. the method according to claim 1, wherein described according to the acquisition of the mark of the equipment to be accessed Before the key of equipment to be accessed, further includes:
Show whether access confirmation message, the access confirmation message confirm the control equipment access nothing to be accessed for prompting Line access point;
When receiving the operation of the confirmation control equipment access wireless access point to be accessed, execute described according to described waiting The step of entering the key of the mark acquisition equipment to be accessed of equipment.
4. a kind of method of control equipment access, which is characterized in that the described method includes:
Transmission include the mark of equipment to be accessed first broadcast message, by intelligent terminal receive it is described first broadcast disappear After breath, includes the inquiry request of the mark of the equipment to be accessed to server transmission, receive the server according to The key of the equipment to be accessed that the mark of equipment to be accessed and pre-stored cipher key list are inquired and returned;Alternatively, by Intelligent terminal is after receiving first broadcast message, according to the mark of the equipment to be accessed and pre-stored key The key of equipment to be accessed described in list query;It wherein, include the mark of equipment to be accessed in the cipher key list and waiting Enter the corresponding relationship between the key of equipment;
It receives from the intelligent terminal, the incoming instruction comprising encryption information;
It is decrypted according to encryption information described in the key pair saved in the equipment to be accessed, obtains the access of access point apparatus Information, the access information include the mark and password of described access point equipment, and the encryption information is the intelligent terminal root Access information described in key pair according to the equipment to be accessed carries out the information of encryption acquisition;
Described access point equipment is accessed according to the access information that decryption obtains;
Wherein, the reception is from intelligent terminal, the incoming instruction comprising encryption information, comprising:
The incoming instruction that described access point equipment is sent by third broadcast message is received, the third broadcast message is institute Access point apparatus is stated in transmission when including the broadcast request of the incoming instruction for receiving the intelligent terminal transmission.
5. a kind of device of control equipment access, which is characterized in that described device includes:
Broadcasting reception module broadcasts the message for receiving equipment to be accessed is sent first, includes in first broadcast message The mark of the equipment to be accessed;
Key Acquisition Module obtains the key of the equipment to be accessed for the mark according to the equipment to be accessed;
Encrypting module, the access information for the key pair access point apparatus according to the equipment to be accessed are encrypted, and are obtained Encryption information, the access information include the mark and password of described access point equipment;
Instruction sending module, it is described to connect for including the incoming instruction of the encryption information to the equipment transmission to be accessed Enter instruction and is used to indicate the progress of the equipment to be accessed encryption information according to the key pair saved in the equipment to be accessed Decryption obtains the access information, and accesses described access point equipment according to the access information;
Wherein, described instruction sending module, comprising:
Broadcast request submodule, it is described for including the broadcast request of the incoming instruction to the transmission of described access point equipment Broadcast request is used to indicate described access point equipment and is broadcast the message by third to be referred to the equipment transmission access to be accessed It enables;
Wherein, the Key Acquisition Module, comprising:
Request-to-send submodule includes the equipment to be accessed in the inquiry request for sending inquiry request to server Mark;
Receiving submodule, for receiving the server according to the mark and pre-stored cipher key list of the equipment to be accessed The key of the equipment to be accessed inquired and returned includes the mark of equipment to be accessed in the cipher key list and to be accessed Corresponding relationship between the key of equipment;
Wherein, the Key Acquisition Module, further includes:
Submodule is inquired, for described waiting according to the mark of the equipment to be accessed and the inquiry of pre-stored cipher key list Enter the key of equipment, includes the correspondence between the mark of equipment to be accessed and the key of equipment to be accessed in the cipher key list Relationship.
6. device according to claim 5, which is characterized in that described device further include:
Image capture module, in the inquiry submodule according to the mark of the equipment to be accessed and pre-stored close Before the key of equipment to be accessed described in key list query, the equipment to be accessed corresponding two is acquired by image acquisition units Code image is tieed up, the image in 2 D code is used to carry the mark of the equipment to be accessed and the key of the equipment to be accessed;
Decoder module obtains the mark and the equipment to be accessed of the equipment to be accessed for decoding the image in 2 D code Key;
Adding module, it is described close for the key pair of the mark of the equipment to be accessed and the equipment to be accessed should to be added to Key list.
7. device according to claim 5, which is characterized in that described device further include:
Information display module, for described to be accessed according to the acquisition of the mark of the equipment to be accessed in the Key Acquisition Module Before the key of equipment, show whether access confirmation message, the access confirmation message confirm that control is described waiting for prompting Enter equipment access wireless access point;
The Key Acquisition Module, in the operation for receiving the confirmation control equipment access wireless access point to be accessed When, execute the described the step of key of the equipment to be accessed is obtained according to the mark of the equipment to be accessed.
8. a kind of device of control equipment access, which is characterized in that described device includes:
Broadcast sending module, for send include equipment to be accessed mark first broadcast message, connect by intelligent terminal After receiving first broadcast message, includes the inquiry request of the mark of the equipment to be accessed to server transmission, receive The server is inquired and is returned described to be accessed according to the mark and pre-stored cipher key list of the equipment to be accessed The key of equipment;Alternatively, by intelligent terminal after receiving first broadcast message, according to the mark of the equipment to be accessed And pre-stored cipher key list inquires the key of the equipment to be accessed;It wherein, include waiting in the cipher key list Enter the corresponding relationship between the mark of equipment and the key of equipment to be accessed;
Command reception module, for receiving the incoming instruction from the intelligent terminal, comprising encryption information;
Deciphering module is decrypted for the encryption information according to the key pair saved in the equipment to be accessed, is connect Enter the access information of point device, the access information includes the mark and password of described access point equipment, and the encryption information is Intelligent terminal access information according to the key pair of the equipment to be accessed carries out the information of encryption acquisition;
AM access module, the access information for being obtained according to decryption access described access point equipment;
Wherein, described instruction receiving module, comprising:
Second broadcast reception submodule is referred to for receiving described access point equipment by the access that third broadcast message is sent It enables, it includes that the access refers to that third broadcast message, which is described access point equipment receive that the intelligent terminal sends, It is sent when the broadcast request of order.
9. a kind of device of control equipment access, which is characterized in that described device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The first broadcast message that equipment to be accessed is sent is received, includes the mark of the equipment to be accessed in first broadcast message Know;
The key of the equipment to be accessed is obtained according to the mark of the equipment to be accessed;
It is encrypted according to the access information of the key pair access point apparatus of the equipment to be accessed, obtains encryption information, it is described Access information includes the mark and password of described access point equipment;
It include the incoming instruction of the encryption information to the equipment transmission to be accessed, the incoming instruction is used to indicate described Equipment to be accessed encryption information according to the key pair saved in the equipment to be accessed, which is decrypted, obtains the access letter Breath, and described access point equipment is accessed according to the access information;
Wherein, it is described to equipment to be accessed send include the encryption information incoming instruction, comprising:
It include the broadcast request of the incoming instruction to the transmission of described access point equipment, the broadcast request is used to indicate described Access point apparatus is broadcast the message by third and sends the incoming instruction to the equipment to be accessed;
Wherein, the key that the equipment to be accessed is obtained according to the mark of the equipment to be accessed, comprising:
Inquiry request is sent to server, includes the mark of the equipment to be accessed in the inquiry request, receives the service The equipment to be accessed that device is inquired and returned according to the mark and pre-stored cipher key list of the equipment to be accessed it is close Key;Alternatively, inquiring the close of the equipment to be accessed according to the mark of the equipment to be accessed and pre-stored cipher key list Key;Wherein, in the cipher key list include corresponding relationship between the mark of equipment to be accessed and the key of equipment to be accessed.
10. a kind of device of control equipment access, which is characterized in that described device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Transmission include the mark of equipment to be accessed first broadcast message, by intelligent terminal receive it is described first broadcast disappear After breath, includes the inquiry request of the mark of the equipment to be accessed to server transmission, receive the server according to The key of the equipment to be accessed that the mark of equipment to be accessed and pre-stored cipher key list are inquired and returned;Alternatively, by Intelligent terminal is after receiving first broadcast message, according to the mark of the equipment to be accessed and pre-stored key The key of equipment to be accessed described in list query;It wherein, include the mark of equipment to be accessed in the cipher key list and waiting Enter the corresponding relationship between the key of equipment;
It receives from the intelligent terminal, the incoming instruction comprising encryption information;
It is decrypted according to encryption information described in the key pair saved in the equipment to be accessed, obtains the access of access point apparatus Information, the access information include the mark and password of described access point equipment, and the encryption information is the intelligent terminal root Access information described in key pair according to the equipment to be accessed carries out the information of encryption acquisition;
Described access point equipment is accessed according to the access information that decryption obtains;
Wherein, the reception is from intelligent terminal, the incoming instruction comprising encryption information, comprising:
The incoming instruction that described access point equipment is sent by third broadcast message is received, the third broadcast message is institute Access point apparatus is stated in transmission when including the broadcast request of the incoming instruction for receiving the intelligent terminal transmission.
CN201510246604.9A 2015-05-14 2015-05-14 Control the method and device of equipment access Active CN104993981B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510246604.9A CN104993981B (en) 2015-05-14 2015-05-14 Control the method and device of equipment access

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510246604.9A CN104993981B (en) 2015-05-14 2015-05-14 Control the method and device of equipment access

Publications (2)

Publication Number Publication Date
CN104993981A CN104993981A (en) 2015-10-21
CN104993981B true CN104993981B (en) 2018-12-11

Family

ID=54305737

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510246604.9A Active CN104993981B (en) 2015-05-14 2015-05-14 Control the method and device of equipment access

Country Status (1)

Country Link
CN (1) CN104993981B (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106714170A (en) * 2015-11-13 2017-05-24 深圳市光峰光电技术有限公司 Projection device, user terminal, and method for accessing projection device into local area network
CN105471974B (en) * 2015-11-18 2019-01-18 北京京东世纪贸易有限公司 Realize smart machine, terminal device and the method remotely controlled
CN105517102A (en) * 2015-11-20 2016-04-20 青岛海信移动通信技术股份有限公司 Method, device and equipment for enabling wireless network equipment to be connected with hot spot
CN105530683A (en) * 2015-12-21 2016-04-27 小米科技有限责任公司 Network connection method and apparatus
CN105636162A (en) * 2016-02-29 2016-06-01 青岛海尔科技有限公司 Network access method and device for intelligent household electrical appliance
CN105827691B (en) 2016-03-08 2019-08-13 中国联合网络通信集团有限公司 Internet of things equipment control method and device
CN105704679B (en) * 2016-05-04 2019-04-16 深圳市蜂联科技有限公司 A method of AP and there is the SD of confirmation function quickly to connect under the WIFI environment of onrelevant
CN105933904B (en) * 2016-05-17 2020-04-21 腾讯科技(深圳)有限公司 Network connection method and device
CN106412907B (en) * 2016-09-14 2020-02-14 Oppo广东移动通信有限公司 Network access method, related equipment and system
CN106921963A (en) * 2017-01-22 2017-07-04 海尔优家智能科技(北京)有限公司 A kind of smart machine accesses the method and device of WLAN
CN106888206B (en) * 2017-02-13 2020-06-09 海信集团有限公司 Key exchange method, device and system
CN107749799A (en) * 2017-09-20 2018-03-02 广东美的制冷设备有限公司 Distribution method, apparatus, system and the computer-readable recording medium of home appliance
CN107508735A (en) * 2017-09-21 2017-12-22 广东美的制冷设备有限公司 Network collocating method and system, home appliance and mobile terminal
CN109547303A (en) * 2018-11-21 2019-03-29 北京华大智宝电子系统有限公司 Control method and relevant device
CN109219108B (en) * 2018-11-28 2020-11-06 上海连尚网络科技有限公司 Method and apparatus for connecting wireless access points
CN111615172A (en) * 2019-02-22 2020-09-01 阿里巴巴集团控股有限公司 Network configuration method, device, equipment and system
CN110274659A (en) * 2019-06-03 2019-09-24 九牧厨卫股份有限公司 A kind of overflow alarming method and overflow water detector

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196436A (en) * 2010-03-11 2011-09-21 华为技术有限公司 Security authentication method, device and system
CN103828412A (en) * 2011-09-27 2014-05-28 高通股份有限公司 Methods of and systems for remotely configuring a wireless device
CN104244234A (en) * 2013-12-02 2014-12-24 北京东方泰华科技发展有限公司 Method and device for connecting wireless device with intelligent terminal rapidly
CN104410970A (en) * 2014-12-23 2015-03-11 北京极科极客科技有限公司 Wireless intelligent accessing method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140098247A1 (en) * 1999-06-04 2014-04-10 Ip Holdings, Inc. Home Automation And Smart Home Control Using Mobile Devices And Wireless Enabled Electrical Switches
CN104010352B (en) * 2014-05-19 2017-12-26 百度在线网络技术(北京)有限公司 Connection method and related device between router and smart machine
CN104618267B (en) * 2014-12-29 2018-02-13 小米科技有限责任公司 Connection control method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196436A (en) * 2010-03-11 2011-09-21 华为技术有限公司 Security authentication method, device and system
CN103828412A (en) * 2011-09-27 2014-05-28 高通股份有限公司 Methods of and systems for remotely configuring a wireless device
CN104244234A (en) * 2013-12-02 2014-12-24 北京东方泰华科技发展有限公司 Method and device for connecting wireless device with intelligent terminal rapidly
CN104410970A (en) * 2014-12-23 2015-03-11 北京极科极客科技有限公司 Wireless intelligent accessing method

Also Published As

Publication number Publication date
CN104993981A (en) 2015-10-21

Similar Documents

Publication Publication Date Title
JP6220993B2 (en) Smart hardware device control method, apparatus, program, and recording medium
CN104850769B (en) Operation executes method and device
CN104460365B (en) Apparatus control method and device
CN105160854B (en) Apparatus control method, device and terminal device
CN105357742B (en) Wireless local area network access method, apparatus and system
CN104038263B (en) Method and device for establishing Bluetooth connection
US8750828B2 (en) Enabling remote and anonymous control of mobile and portable multimedia devices for security, tracking and recovery
CN104202306B (en) Access authentication method, Apparatus and system
EP3054717B1 (en) Methods and apparatuses for binding with device
CN105094732B (en) Screen display method and device
US20170019265A1 (en) Method, terminal and server for controlling smart device
KR101811013B1 (en) Short message service reading method and device
CN104936304B (en) Smart machine binding method, smart machine and server
CN104735057B (en) Share the method and device of equipment control
KR101502249B1 (en) Device communication
JP6186087B2 (en) Operation authorization method, operation authorization apparatus, program, and recording medium
CN105407473B (en) WLAN finds method and device
EP3057284B1 (en) Method and apparatus for binding or securing a device
JP5302404B2 (en) WLAN connection made easy by near field communication standard
CN104159226B (en) Method for connecting network and device
CN104780155B (en) Apparatus bound method and device
US10412342B2 (en) Digital zoom conferencing
US9940829B2 (en) Methods and devices for binding a remote control
CN105607834B (en) Screen control method, device and terminal
CN104283745A (en) Method, device and system for controlling intelligent household equipment

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
GR01 Patent grant