CN105516974A - Router connection method, terminal and router - Google Patents

Router connection method, terminal and router Download PDF

Info

Publication number
CN105516974A
CN105516974A CN201510829574.4A CN201510829574A CN105516974A CN 105516974 A CN105516974 A CN 105516974A CN 201510829574 A CN201510829574 A CN 201510829574A CN 105516974 A CN105516974 A CN 105516974A
Authority
CN
China
Prior art keywords
terminal
router
physical address
request side
party
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.)
Pending
Application number
CN201510829574.4A
Other languages
Chinese (zh)
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.)
Dongguan Coolpad Software Technology Co Ltd
Original Assignee
Dongguan Coolpad Software Technology Co Ltd
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 Dongguan Coolpad Software Technology Co Ltd filed Critical Dongguan Coolpad Software Technology Co Ltd
Priority to CN201510829574.4A priority Critical patent/CN105516974A/en
Publication of CN105516974A publication Critical patent/CN105516974A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Abstract

The invention provides a router connection method, a terminal and a router. The router connection method comprises: a connection request for a router connected with a terminal by a request side terminal is received; according to the connection request, whether the request side terminal is allowed to be connected to the router is determined; if so, an authorization message packet is sent to the router, so that the router determines whether to connect the request side terminal according to the authorization message packet. According to the technical scheme, the request side terminal can be connected to the router based on verification without knowing an access password of the router, thereby guaranteeing router security and avoiding access password leakage. Meanwhile, the tedious operation of inputting a password by a user of the request side terminal can be avoided and thus the user experience is improved.

Description

Router method of attachment, terminal and router
Technical field
The present invention relates to communication technical field, in particular to a kind of router method of attachment, a kind of terminal and a kind of router.
Background technology
At present, existing Wi-Fi connection scheme is that terminal could connect with router after user inputs proper password, and this process must complete in user's manual operation.That is, when user connects a wireless network access point, first password must be got.
Specifically, in the related, user is when access of radio network access point, and the process of input password is manual, and need numeral or the letter of input at least 8, this operation is very loaded down with trivial details.In addition, requesting party user has to inquire to key owners, and in actual applications, key owners often allows requesting party user's connection route device, does not but think compromised keys.
Therefore need a kind of new technical scheme, while avoiding the user of requesting party's terminal to input the troublesome operation of password, the fail safe of router can be ensured.
Summary of the invention
The present invention, just based on the problems referred to above, proposes a kind of new technical scheme, while avoiding the user of requesting party's terminal to input the troublesome operation of password, can ensure the fail safe of router.
In view of this, an aspect of of the present present invention proposes a kind of router method of attachment, comprising: the connection request receiving requesting party's terminal pair router be connected with terminal; According to described connection request, determine whether to allow described request side's terminal to be connected to described router; When determining to allow described request side's terminal to be connected to described router, sending authorization messages bag to described router, determining whether to be connected with described request side's terminal according to described authorization messages bag for described router.
In this technical scheme, can be want requesting party's terminal of couple in router to send authorization messages bag to router by the terminal be connected with router, so that whether router allows requesting party's accessing terminal to network according to the checking of this authorization messages bag, like this, make requesting party's terminal when not knowing the access pin of router just by checking couple in router, ensure that the fail safe of router, and avoid access pin leakage, the user simultaneously avoiding requesting party's terminal inputs the troublesome operation of password, improves Consumer's Experience.Such as, for home router, when there being visitor to come to visit, can directly by master cellular phone connection route device for visitor's mobile phone is authorized, the mobile phone of visitor namely just can be made to connect home router when not informing passwords of visitors.
In above-mentioned arbitrary technical scheme, preferably, described according to described connection request, determine whether to allow described request side's terminal to be connected to described router, specifically comprise: according to described connection request, obtain and authorize connection password; Whether unanimously with prescribed password determining that described mandate connects password, wherein, when determining that described mandate connection password is consistent with described prescribed password, sending described authorization messages bag to described router; Wherein, the physical address of the physical address of described terminal, the physical address of described request side's terminal and described router drawn together by described authorization messages handbag.
In this technical scheme, the checking of authorizing and connecting password can be set in terminal, when terminal receives the connection request of requesting party's terminal, verification terminal is needed whether to have authority for requesting party's terminal connection route device, here prescribed password can be common numerical ciphers, also can be biometric identifier, as iris, fingerprint, sound etc.In addition, authorization messages bag comprises the physical address of terminal, requesting party's terminal and router, is convenient to be undertaken communicating and being connected by physical address between three.By this technical scheme, when make requesting party's terminal when not knowing the access pin of router just by checking couple in router before, be ensure that the connection safety of terminal and router by authentication, improve Consumer's Experience.
Another aspect of the present invention proposes a kind of terminal, comprising: connection request receiving element, for receiving the connection request of requesting party's terminal pair router be connected with described terminal; Connectivity verification unit, for according to described connection request, determines whether to allow described request side's terminal to be connected to described router; Transmitting element, for when determining to allow described request side's terminal to be connected to described router, sending authorization messages bag to described router, determining whether to be connected with described request side's terminal for described router according to described authorization messages bag.
In this technical scheme, can be want requesting party's terminal of couple in router to send authorization messages bag to router by the terminal be connected with router, so that whether router allows requesting party's accessing terminal to network according to the checking of this authorization messages bag, like this, make requesting party's terminal when not knowing the access pin of router just by checking couple in router, ensure that the fail safe of router, and avoid access pin leakage, the user simultaneously avoiding requesting party's terminal inputs the troublesome operation of password, improves Consumer's Experience.Such as, for home router, when there being visitor to come to visit, can directly by master cellular phone connection route device for visitor's mobile phone is authorized, the mobile phone of visitor namely just can be made to connect home router when not informing passwords of visitors.
In technique scheme, preferably, described connectivity verification unit comprises: password acquiring unit, for according to described connection request, obtains and authorizes connection password; Determining unit, whether consistent with prescribed password for determining that described mandate connects password, wherein, when determining that described mandate connection password is consistent with described prescribed password, send described authorization messages bag to described router; Wherein, the physical address of the physical address of described terminal, the physical address of described request side's terminal and described router drawn together by described authorization messages handbag.
In this technical scheme, the checking of authorizing and connecting password can be set in terminal, when terminal receives the connection request of requesting party's terminal, verification terminal is needed whether to have authority for requesting party's terminal connection route device, here prescribed password can be common numerical ciphers, also can be biometric identifier, as iris, fingerprint, sound etc.In addition, authorization messages bag comprises the physical address of terminal, requesting party's terminal and router, is convenient to be undertaken communicating and being connected by physical address between three.By this technical scheme, when make requesting party's terminal when not knowing the access pin of router just by checking couple in router before, be ensure that the connection safety of terminal and router by authentication, improve Consumer's Experience.
Another aspect of the invention proposes a kind of router method of attachment, comprise: according to the router bind command received, send connection request to the authorized party's terminal be connected with router, determine whether to allow terminal to be connected to described router for described authorized party's terminal; After described authorized party's terminal allows described terminal to be connected with described router, receive the message bag from described router, wherein, described message handbag includes network access point address and access pin; According to described message bag, connect with described router.
In this technical scheme, terminal, when asking couple in router, can send connection request to the authorized party's terminal be connected with router, after by the checking of authorized party's terminal, can be connected with router.Like this, make terminal when not knowing the access pin of router just by checking couple in router, ensure that the fail safe of router, and avoid access pin reveal, the user simultaneously avoiding terminal inputs the troublesome operation of password, improves Consumer's Experience.Such as, for home router, when there being visitor to come to visit, can directly by master cellular phone connection route device for visitor's mobile phone is authorized, the mobile phone of visitor namely just can be made to connect home router when not informing passwords of visitors.
In technique scheme, preferably, before the message bag of described reception from described router, also comprise: receive the broadcast packet from described router, described broadcast packet comprises requesting party's physical address; Whether checking described request side physical address is consistent with the physical address of described terminal; When determining that described request side's physical address is consistent with the physical address of described terminal, sending confirmation response to described router, sending described message bag according to described confirmation response to described terminal for described router.
In this technical scheme, terminal is after connecting to router solicitation by authorized party's terminal, if receive the broadcast packet from router, still need to verify further that whether requesting party's physical address in this broadcast packet is self physical address, only when determining that this requesting party's physical address is the physical address of self, just allow to respond to router feedback acknowledgment.By this technical scheme, avoid requesting party's terminal and be connected to the router not asking to connect by mistake, improve the fail safe of requesting party's terminal.
Also one side of the present invention proposes a kind of terminal, comprise: connection request transmitting element, for the router bind command that basis receives, send connection request to the authorized party's terminal be connected with described router, determine whether to allow terminal to be connected to described router for described authorized party's terminal; Message bag receiving element, for after described authorized party's terminal allows described terminal to be connected with described router, receives the message bag from described router, wherein, and described message handbag includes network access point address and access pin; Router linkage unit, according to described message bag, connects with described router.
In this technical scheme, terminal, when asking couple in router, can send connection request to the authorized party's terminal be connected with router, after by the checking of authorized party's terminal, can be connected with router.Like this, make terminal when not knowing the access pin of router just by checking couple in router, ensure that the fail safe of router, and avoid access pin reveal, the user simultaneously avoiding terminal inputs the troublesome operation of password, improves Consumer's Experience.Such as, for home router, when there being visitor to come to visit, can directly by master cellular phone connection route device for visitor's mobile phone is authorized, the mobile phone of visitor namely just can be made to connect home router when not informing passwords of visitors.
In technique scheme, preferably, also comprise: broadcast packet receiving element, for before the message bag of described reception from described router, receive the broadcast packet from described router, described broadcast packet comprises requesting party's physical address; Physical address authentication unit, for verifying that whether described request side's physical address is consistent with the physical address of described terminal; Confirmation response transmitting element, for when determining that described request side's physical address is consistent with the physical address of described terminal, sending confirmation response to described router, sending described message bag for described router according to described confirmation response to described terminal.
In this technical scheme, terminal is after connecting to router solicitation by authorized party's terminal, if receive the broadcast packet from router, still need to verify further that whether requesting party's physical address in this broadcast packet is self physical address, only when determining that this requesting party's physical address is the physical address of self, just allow to respond to router feedback acknowledgment.By this technical scheme, avoid requesting party's terminal and be connected to the router not asking to connect by mistake, improve the fail safe of requesting party's terminal.
Another aspect of the invention proposes a kind of router method of attachment, comprising: receive the authorization messages bag from authorized party's terminal; According to described authorization messages bag, determine whether to be connected with requesting party's terminal.
In this technical scheme, can be want requesting party's terminal of couple in router to send authorization messages bag to router by the authorized party's terminal be connected with router, so that whether router allows requesting party's accessing terminal to network according to the checking of this authorization messages bag, like this, make requesting party's terminal when not knowing the access pin of router just by checking couple in router, ensure that the fail safe of router, and avoid access pin leakage, the user simultaneously avoiding requesting party's terminal inputs the troublesome operation of password, improves Consumer's Experience.Such as, for home router, when there being visitor to come to visit, can directly by master cellular phone connection route device for visitor's mobile phone is authorized, the mobile phone of visitor namely just can be made to connect home router when not informing passwords of visitors.
In technique scheme, preferably, the physical address of the physical address of described authorized party's terminal, the physical address of described request side's terminal and described router drawn together by described authorization messages handbag; And described according to described authorization messages bag, determine whether to be connected with requesting party's terminal, comprising: according to the physical address of described authorized party's terminal, verify whether described authorized party's terminal has the authority for described request side's terminal connection route device; When determining that described authorized party's terminal has described authority, according to the physical address of described request side's terminal, to described request side's terminal transmission packet, connect according to described message bag and described router for described request side's terminal, wherein, described message handbag includes network access point address and access pin.
In this technical scheme, the checking of authorizing and connecting password can be set in authorized party's terminal, when authorized party's terminal receives the connection request of requesting party's terminal, need to verify whether authorized party's terminal has the authority for requesting party's terminal connection route device, here prescribed password can be common numerical ciphers, also can be biometric identifier, as iris, fingerprint, sound etc.In addition, authorization messages bag comprises the physical address of terminal, requesting party's terminal and router, is convenient to be undertaken communicating and being connected by physical address between three.By this technical scheme, when make requesting party's terminal when not knowing the access pin of router just by checking couple in router before, be ensure that the connection safety of authorized party's terminal and router by authentication, improve Consumer's Experience.
In above-mentioned arbitrary technical scheme, preferably, when determining that described authorized party's terminal has described authority, described to before described request side's terminal transmission packet, also comprise: send broadcast packet to described request side's terminal, time consistent with the physical address of described request side's terminal for the requesting party physical address of described request side's terminal in the described broadcast packet of checking, send confirmation response to described router; And the confirmation response received from described request side's terminal, with according to described confirmation response, send described message bag to described request side's terminal.
In this technical scheme, requesting party's terminal is after connecting to router solicitation by authorized party's terminal, if receive the broadcast packet from router, still need to verify further that whether requesting party's physical address in this broadcast packet is self physical address, only when determining that this requesting party's physical address is the physical address of self, just allow to respond to router feedback acknowledgment.By this technical scheme, avoid requesting party's terminal and be connected to the router not asking to connect by mistake, improve the fail safe of requesting party's terminal.
Also one side of the present invention proposes a kind of router, comprising: authorization messages bag receiving element, for receiving the authorization messages bag from authorized party's terminal; Connect determining unit, for according to described authorization messages bag, determine whether to be connected with requesting party's terminal.
In this technical scheme, can be want requesting party's terminal of couple in router to send authorization messages bag to router by the authorized party's terminal be connected with router, so that whether router allows requesting party's accessing terminal to network according to the checking of this authorization messages bag, like this, make requesting party's terminal when not knowing the access pin of router just by checking couple in router, ensure that the fail safe of router, and avoid access pin leakage, the user simultaneously avoiding requesting party's terminal inputs the troublesome operation of password, improves Consumer's Experience.Such as, for home router, when there being visitor to come to visit, can directly by master cellular phone connection route device for visitor's mobile phone is authorized, the mobile phone of visitor namely just can be made to connect home router when not informing passwords of visitors.
In technique scheme, preferably, the physical address of the physical address of described authorized party's terminal, the physical address of described request side's terminal and described router drawn together by described authorization messages handbag; And described connection determining unit comprises: Authority Verification unit, for the physical address according to described authorized party's terminal, verify whether described authorized party's terminal has for described request side's terminal connects the authority of described router; Message bag transmitting element, for when determining that described authorized party's terminal has described authority, according to the physical address of described request side's terminal, to described request side's terminal transmission packet, connect according to described message bag and described router for described request side's terminal, wherein, described message handbag includes network access point address and access pin.
In this technical scheme, the checking of authorizing and connecting password can be set in authorized party's terminal, when authorized party's terminal receives the connection request of requesting party's terminal, need to verify whether authorized party's terminal has the authority for requesting party's terminal connection route device, here prescribed password can be common numerical ciphers, also can be biometric identifier, as iris, fingerprint, sound etc.In addition, authorization messages bag comprises the physical address of terminal, requesting party's terminal and router, is convenient to be undertaken communicating and being connected by physical address between three.By this technical scheme, when make requesting party's terminal when not knowing the access pin of router just by checking couple in router before, be ensure that the connection safety of authorized party's terminal and router by authentication, improve Consumer's Experience.
In above-mentioned arbitrary technical scheme, preferably, also comprise: broadcast packet transmitting element, for when determining that described authorized party's terminal has described authority, described to before described request side's terminal transmission packet, send broadcast packet to described request side's terminal, time consistent with the physical address of described request side's terminal for the requesting party physical address of described request side's terminal in the described broadcast packet of checking, send confirmation response to described router; And confirmation response receiving element, for receiving the confirmation response from described request side's terminal, with according to described confirmation response, send described message bag to described request side's terminal.
In this technical scheme, requesting party's terminal is after connecting to router solicitation by authorized party's terminal, if receive the broadcast packet from router, still need to verify further that whether requesting party's physical address in this broadcast packet is self physical address, only when determining that this requesting party's physical address is the physical address of self, just allow to respond to router feedback acknowledgment.By this technical scheme, avoid requesting party's terminal and be connected to the router not asking to connect by mistake, improve the fail safe of requesting party's terminal.
By above technical scheme, make requesting party's terminal when not knowing the access pin of router just by checking couple in router, ensure that the fail safe of router, and avoid access pin leakage, the user simultaneously avoiding requesting party's terminal inputs the troublesome operation of password, improves Consumer's Experience.
Accompanying drawing explanation
Fig. 1 shows the flow chart of router method of attachment according to an embodiment of the invention;
Fig. 2 shows the block diagram of terminal according to an embodiment of the invention;
Fig. 3 shows the flow chart of router method of attachment according to another embodiment of the invention;
Fig. 4 shows the block diagram of terminal according to another embodiment of the invention;
Fig. 5 shows the flow chart of router method of attachment according to still a further embodiment;
Fig. 6 shows the block diagram of router according to an embodiment of the invention;
Fig. 7 shows requesting party's terminal according to an embodiment of the invention carries out router connection schematic diagram by authorized party's terminal;
Fig. 8 shows requesting party's terminal according to an embodiment of the invention carries out router connection flow chart by authorized party's terminal.
Embodiment
In order to more clearly understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.It should be noted that, when not conflicting, the feature in the embodiment of the application and embodiment can combine mutually.
Set forth a lot of detail in the following description so that fully understand the present invention; but; the present invention can also adopt other to be different from other modes described here and implement, and therefore, protection scope of the present invention is not by the restriction of following public specific embodiment.
Fig. 1 shows the flow chart of router method of attachment according to an embodiment of the invention.
As shown in Figure 1, router method of attachment according to an embodiment of the invention, comprising:
Step 102, receives the connection request of requesting party's terminal pair router be connected with terminal;
Step 104, according to described connection request, determines whether to allow described request side's terminal to be connected to described router;
Step 106, when determining to allow described request side's terminal to be connected to described router, sending authorization messages bag to described router, determining whether to be connected with described request side's terminal for described router according to described authorization messages bag.
In this technical scheme, can be want requesting party's terminal of couple in router to send authorization messages bag to router by the terminal be connected with router, so that whether router allows requesting party's accessing terminal to network according to the checking of this authorization messages bag, like this, make requesting party's terminal when not knowing the access pin of router just by checking couple in router, ensure that the fail safe of router, and avoid access pin leakage, the user simultaneously avoiding requesting party's terminal inputs the troublesome operation of password, improves Consumer's Experience.Such as, for home router, when there being visitor to come to visit, can directly by master cellular phone connection route device for visitor's mobile phone is authorized, the mobile phone of visitor namely just can be made to connect home router when not informing passwords of visitors.
In above-mentioned arbitrary technical scheme, preferably, step 104 specifically comprises: according to described connection request, obtains to authorize to connect password; Whether unanimously with prescribed password determining that described mandate connects password, wherein, when determining that described mandate connection password is consistent with described prescribed password, sending described authorization messages bag to described router; Wherein, the physical address of the physical address of described terminal, the physical address of described request side's terminal and described router drawn together by described authorization messages handbag.
In this technical scheme, the checking of authorizing and connecting password can be set in terminal, when terminal receives the connection request of requesting party's terminal, verification terminal is needed whether to have authority for requesting party's terminal connection route device, here prescribed password can be common numerical ciphers, also can be biometric identifier, as iris, fingerprint, sound etc.In addition, authorization messages bag comprises the physical address of terminal, requesting party's terminal and router, is convenient to be undertaken communicating and being connected by physical address between three.By this technical scheme, when make requesting party's terminal when not knowing the access pin of router just by checking couple in router before, be ensure that the connection safety of terminal and router by authentication, improve Consumer's Experience.
Fig. 2 shows the block diagram of terminal according to an embodiment of the invention.
As shown in Figure 2, terminal 200 according to an embodiment of the invention, comprise connection request receiving element 202, connectivity verification unit 204 and transmitting element 206, wherein, connection request receiving element 202 is for receiving the connection request of requesting party's terminal pair router be connected with terminal; Connectivity verification unit 204, for according to connection request, determines whether to allow requesting party's terminal to be connected to router; Transmitting element 206, for when determining to allow requesting party's terminal to be connected to router, sending authorization messages bag to router, determining whether to be connected with requesting party's terminal for router according to authorization messages bag.
In this technical scheme, can be want requesting party's terminal of couple in router to send authorization messages bag to router by the terminal be connected with router, so that whether router allows requesting party's accessing terminal to network according to the checking of this authorization messages bag, like this, make requesting party's terminal when not knowing the access pin of router just by checking couple in router, ensure that the fail safe of router, and avoid access pin leakage, the user simultaneously avoiding requesting party's terminal inputs the troublesome operation of password, improves Consumer's Experience.Such as, for home router, when there being visitor to come to visit, can directly by master cellular phone connection route device for visitor's mobile phone is authorized, the mobile phone of visitor namely just can be made to connect home router when not informing passwords of visitors.
In technique scheme, preferably, connectivity verification unit 204 comprises: password acquiring unit 2042, for according to connection request, obtains and authorizes connection password; Determining unit 2044, whether consistent with prescribed password for determining to authorize connection password, wherein, when determining to authorize connection password consistent with prescribed password, send authorization messages bag to router; Wherein, authorization messages handbag draws together the physical address of terminal, the physical address of requesting party's terminal and the physical address of router.
In this technical scheme, the checking of authorizing and connecting password can be set in terminal, when terminal receives the connection request of requesting party's terminal, verification terminal is needed whether to have authority for requesting party's terminal connection route device, here prescribed password can be common numerical ciphers, also can be biometric identifier, as iris, fingerprint, sound etc.In addition, authorization messages bag comprises the physical address of terminal, requesting party's terminal and router, is convenient to be undertaken communicating and being connected by physical address between three.By this technical scheme, when make requesting party's terminal when not knowing the access pin of router just by checking couple in router before, be ensure that the connection safety of terminal and router by authentication, improve Consumer's Experience.
Fig. 3 shows the flow chart of router method of attachment according to another embodiment of the invention.
As shown in Figure 3, router method of attachment according to another embodiment of the invention, comprising:
Step 302, according to the router bind command received, sends connection request to the authorized party's terminal be connected with router, determines whether to allow terminal to be connected to described router for described authorized party's terminal;
Step 304, after described authorized party's terminal allows described terminal to be connected with described router, receives the message bag from described router, wherein, and described message handbag includes network access point address and access pin;
Step 306, according to described message bag, connects with described router.
In this technical scheme, terminal, when asking couple in router, can send connection request to the authorized party's terminal be connected with router, after by the checking of authorized party's terminal, can be connected with router.Like this, make terminal when not knowing the access pin of router just by checking couple in router, ensure that the fail safe of router, and avoid access pin reveal, the user simultaneously avoiding terminal inputs the troublesome operation of password, improves Consumer's Experience.Such as, for home router, when there being visitor to come to visit, can directly by master cellular phone connection route device for visitor's mobile phone is authorized, the mobile phone of visitor namely just can be made to connect home router when not informing passwords of visitors.
In technique scheme, preferably, before step 304, also comprise: receive the broadcast packet from described router, described broadcast packet comprises requesting party's physical address; Whether checking described request side physical address is consistent with the physical address of described terminal; When determining that described request side's physical address is consistent with the physical address of described terminal, sending confirmation response to described router, sending described message bag according to described confirmation response to described terminal for described router.
In this technical scheme, terminal is after connecting to router solicitation by authorized party's terminal, if receive the broadcast packet from router, still need to verify further that whether requesting party's physical address in this broadcast packet is self physical address, only when determining that this requesting party's physical address is the physical address of self, just allow to respond to router feedback acknowledgment.By this technical scheme, avoid requesting party's terminal and be connected to the router not asking to connect by mistake, improve the fail safe of requesting party's terminal.
Fig. 4 shows the block diagram of terminal according to another embodiment of the invention.
As shown in Figure 4, terminal 400 according to another embodiment of the invention, comprise connection request transmitting element 402, message bag receiving element 404 and router linkage unit 406, wherein, the router bind command that connection request transmitting element 402 receives for basis, send connection request to the authorized party's terminal be connected with router, determine whether to allow terminal to be connected to router for authorized party's terminal; Message bag receiving element 404, for after authorized party's terminal permission terminal is connected with router, receives the message bag from router, wherein, and message handbag includes network access point address and access pin; Router linkage unit 406, for according to message bag, connects with router.
In this technical scheme, terminal, when asking couple in router, can send connection request to the authorized party's terminal be connected with router, after by the checking of authorized party's terminal, can be connected with router.Like this, make terminal when not knowing the access pin of router just by checking couple in router, ensure that the fail safe of router, and avoid access pin reveal, the user simultaneously avoiding terminal inputs the troublesome operation of password, improves Consumer's Experience.Such as, for home router, when there being visitor to come to visit, can directly by master cellular phone connection route device for visitor's mobile phone is authorized, the mobile phone of visitor namely just can be made to connect home router when not informing passwords of visitors.
In technique scheme, preferably, also comprise: broadcast packet receiving element 408, for before receiving the message bag from router, receive the broadcast packet from router, broadcast packet comprises requesting party's physical address; Physical address authentication unit 410, for verifying that whether requesting party's physical address is consistent with the physical address of terminal; Confirmation response transmitting element 412, for when determining that requesting party's physical address is consistent with the physical address of terminal, to router send confirmation response, for router according to confirmation response to terminal transmission packet.
In this technical scheme, terminal is after connecting to router solicitation by authorized party's terminal, if receive the broadcast packet from router, still need to verify further that whether requesting party's physical address in this broadcast packet is self physical address, only when determining that this requesting party's physical address is the physical address of self, just allow to respond to router feedback acknowledgment.By this technical scheme, avoid requesting party's terminal and be connected to the router not asking to connect by mistake, improve the fail safe of requesting party's terminal.
Fig. 5 shows the flow chart of router method of attachment according to still a further embodiment.
As shown in Figure 5, router method of attachment according to still a further embodiment, comprising:
Step 502, receives the authorization messages bag from authorized party's terminal;
Step 504, according to described authorization messages bag, determines whether to be connected with requesting party's terminal.
In this technical scheme, can be want requesting party's terminal of couple in router to send authorization messages bag to router by the authorized party's terminal be connected with router, so that whether router allows requesting party's accessing terminal to network according to the checking of this authorization messages bag, like this, make requesting party's terminal when not knowing the access pin of router just by checking couple in router, ensure that the fail safe of router, and avoid access pin leakage, the user simultaneously avoiding requesting party's terminal inputs the troublesome operation of password, improves Consumer's Experience.Such as, for home router, when there being visitor to come to visit, can directly by master cellular phone connection route device for visitor's mobile phone is authorized, the mobile phone of visitor namely just can be made to connect home router when not informing passwords of visitors.
In technique scheme, preferably, the physical address of the physical address of described authorized party's terminal, the physical address of described request side's terminal and described router drawn together by described authorization messages handbag; And step 504 comprises: according to the physical address of described authorized party's terminal, verify whether described authorized party's terminal has the authority for described request side's terminal connection route device; When determining that described authorized party's terminal has described authority, according to the physical address of described request side's terminal, to described request side's terminal transmission packet, connect according to described message bag and described router for described request side's terminal, wherein, described message handbag includes network access point address and access pin.
In this technical scheme, the checking of authorizing and connecting password can be set in authorized party's terminal, when authorized party's terminal receives the connection request of requesting party's terminal, need to verify whether authorized party's terminal has the authority for requesting party's terminal connection route device, here prescribed password can be common numerical ciphers, also can be biometric identifier, as iris, fingerprint, sound etc.In addition, authorization messages bag comprises the physical address of terminal, requesting party's terminal and router, is convenient to be undertaken communicating and being connected by physical address between three.By this technical scheme, when make requesting party's terminal when not knowing the access pin of router just by checking couple in router before, be ensure that the connection safety of authorized party's terminal and router by authentication, improve Consumer's Experience.
In above-mentioned arbitrary technical scheme, preferably, when determining that described authorized party's terminal has described authority, described to before described request side's terminal transmission packet, also comprise: send broadcast packet to described request side's terminal, time consistent with the physical address of described request side's terminal for the requesting party physical address of described request side's terminal in the described broadcast packet of checking, send confirmation response to described router; And the confirmation response received from described request side's terminal, with according to described confirmation response, send described message bag to described request side's terminal.
In this technical scheme, requesting party's terminal is after connecting to router solicitation by authorized party's terminal, if receive the broadcast packet from router, still need to verify further that whether requesting party's physical address in this broadcast packet is self physical address, only when determining that this requesting party's physical address is the physical address of self, just allow to respond to router feedback acknowledgment.By this technical scheme, avoid requesting party's terminal and be connected to the router not asking to connect by mistake, improve the fail safe of requesting party's terminal.
Fig. 6 shows the block diagram of router according to an embodiment of the invention.
As shown in Figure 6, router 600 according to an embodiment of the invention, comprises authorization messages bag receiving element 602 and is connected determining unit 604, and wherein, authorization messages bag receiving element 602 is for receiving the authorization messages bag from authorized party's terminal; Connect determining unit 604 for according to authorization messages bag, determine whether to be connected with requesting party's terminal.
In this technical scheme, can be want requesting party's terminal of couple in router to send authorization messages bag to router by the authorized party's terminal be connected with router, so that whether router allows requesting party's accessing terminal to network according to the checking of this authorization messages bag, like this, make requesting party's terminal when not knowing the access pin of router just by checking couple in router, ensure that the fail safe of router, and avoid access pin leakage, the user simultaneously avoiding requesting party's terminal inputs the troublesome operation of password, improves Consumer's Experience.Such as, for home router, when there being visitor to come to visit, can directly by master cellular phone connection route device for visitor's mobile phone is authorized, the mobile phone of visitor namely just can be made to connect home router when not informing passwords of visitors.
In technique scheme, preferably, authorization messages handbag draws together the physical address of authorized party's terminal, the physical address of requesting party's terminal and the physical address of router; And connection determining unit 604 comprises: Authority Verification unit 6042, for the physical address according to authorized party's terminal, whether checking authorized party terminal has the authority for requesting party's terminal connection route device; Message bag transmitting element 6044, for when determining that authorized party's terminal has authority, according to the physical address of requesting party's terminal, to requesting party's terminal transmission packet, connect according to message bag and router for requesting party's terminal, wherein, message handbag includes network access point address and access pin.
In this technical scheme, the checking of authorizing and connecting password can be set in authorized party's terminal, when authorized party's terminal receives the connection request of requesting party's terminal, need to verify whether authorized party's terminal has the authority for requesting party's terminal connection route device, here prescribed password can be common numerical ciphers, also can be biometric identifier, as iris, fingerprint, sound etc.In addition, authorization messages bag comprises the physical address of terminal, requesting party's terminal and router, is convenient to be undertaken communicating and being connected by physical address between three.By this technical scheme, when make requesting party's terminal when not knowing the access pin of router just by checking couple in router before, be ensure that the connection safety of authorized party's terminal and router by authentication, improve Consumer's Experience.
In above-mentioned arbitrary technical scheme, preferably, also comprise: broadcast packet transmitting element 606, for when determining that authorized party's terminal has authority, before requesting party's terminal transmission packet, send broadcast packet to requesting party's terminal, time consistent with the physical address of requesting party's terminal for the requesting party physical address of requesting party's terminal in checking broadcast packet, send confirmation response to router; And confirmation response receiving element 608, for receiving the confirmation response from requesting party's terminal, with according to confirmation response, to requesting party's terminal transmission packet.
In this technical scheme, requesting party's terminal is after connecting to router solicitation by authorized party's terminal, if receive the broadcast packet from router, still need to verify further that whether requesting party's physical address in this broadcast packet is self physical address, only when determining that this requesting party's physical address is the physical address of self, just allow to respond to router feedback acknowledgment.By this technical scheme, avoid requesting party's terminal and be connected to the router not asking to connect by mistake, improve the fail safe of requesting party's terminal.
Fig. 7 shows requesting party's terminal according to an embodiment of the invention carries out router connection schematic diagram by authorized party's terminal.
As shown in Figure 7, requesting party terminal B sends router connection request to authorized party terminal A, and after by the checking of authorized party terminal A, both set up communication.Authorized party terminal A sends authorization messages bag to router R, authorization messages bag comprises the physical address of the physical address of authorized party terminal A, the physical address of requesting party terminal B and router R, like this, router R just can to set up with requesting party terminal B according to authorization messages bag and communicate.By this technical scheme, do not need the transmission carrying out key between user, it also avoid and manually input the loaded down with trivial details of key, router R and requesting party terminal B is finally allowed automatically to establish a connection, making requesting party terminal B when not knowing the access pin of router R just by checking couple in router R, ensure that the fail safe of router R, and avoid access pin and reveal, the user simultaneously avoiding requesting party terminal B inputs the troublesome operation of password, improves Consumer's Experience.
Fig. 8 shows requesting party's terminal according to an embodiment of the invention carries out router connection flow chart by authorized party's terminal.
As shown in Figure 8, according to one embodiment of present invention, the flow process that requesting party's terminal carries out router connection by authorized party's terminal specifically comprises:
Step 802, opens the Wi-Fi linkage function of authorized party terminal A and requesting party terminal B.
Step 804, connects Wi-Fi access point by authorized party terminal A.
Step 806, send pairing by requesting party terminal B and invite, authorized party terminal A receives invitation, successful matching.After successful matching, the interface of the Wi-Fi direct of authorized party terminal A there will be the information of requesting party terminal B, as device name etc.
Step 808, the long control by the display requesting party terminal B information on authorized party terminal A, ejects a context menu.Particularly, the control of the information by display requesting party terminal B can be grown, the onCreateContextMenu event of this control can be triggered, wherein, onCreate is the function representing that window is generating, ContextMenu refers to context menu, then can eject a context menu, and this context menu at least comprises menu item and " authorizes Wi-Fi to connect "
Step 810, clicks " authorizing Wi-Fi to connect " menu item in context menu, ejects a Password Input dialog box.
Step 812, authorized party terminal A inputs password.This password is set by the owner oneself of authorized party terminal A, and whether this step is mainly owner in order to verification operation person, avoids other people invasive to operate.In addition, password can be one or more in numeral, pattern or letter, also can be the biological information of iris, fingerprint, sound, thus be convenient to the fail safe promoting router connection further.
Step 814, authorized party terminal A judges that whether password is correct, when judged result is for being, enters step 816, otherwise, return step 810.
Step 816, authorized party terminal A sends authorization messages bag to router R, and wherein, authorization messages handbag draws together the physical address of authorized party's terminal, the physical address of requesting party's terminal and the physical address of router.
Step 818, router R receives authorization messages bag.
Step 820, router R judges whether authorized party terminal A has authorization privilege, when judged result is for being, enters step 822, otherwise, terminate process.Router can search the physical address of authorized party terminal A in user's registration table, if find, can the Permission Levels of the side of obtaining the authorization terminal A further, if authorized party terminal A has the authority for other-end connection route device, then router can send a broadcast packet to requesting party terminal B.
Step 822, router R sends broadcast packet to requesting party terminal B.
Step 824, requesting party terminal B receives broadcast packet.
Step 826, requesting party terminal B judges that whether the physical address in broadcast packet is consistent with its own physical address, when judged result is for being, enters step 828, otherwise, terminate process.That is, requesting party terminal B needs to judge whether this broadcast packet issues oneself, if so, then sends a confirmation response to router R.
Step 828, requesting party terminal B sends a confirmation response to router R.
Step 830, after router R receives the confirmation response of requesting party terminal B, to requesting party terminal B transmission packet, wherein, message handbag includes network access point address and access pin.
Step 832, requesting party terminal B is configured automatically according to broadcast packet after receiving message bag, then automatically connects with router R.
More than be described with reference to the accompanying drawings technical scheme of the present invention, by technical scheme of the present invention, make requesting party's terminal when not knowing the access pin of router just by checking couple in router, ensure that the fail safe of router, and avoid access pin leakage, the user simultaneously avoiding requesting party's terminal inputs the troublesome operation of password, improves Consumer's Experience.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. a router method of attachment, is characterized in that, comprising:
Receive the connection request of requesting party's terminal pair router be connected with terminal;
According to described connection request, determine whether to allow described request side's terminal to be connected to described router;
When determining to allow described request side's terminal to be connected to described router, sending authorization messages bag to described router, determining whether to be connected with described request side's terminal according to described authorization messages bag for described router.
2. router method of attachment according to claim 1, is characterized in that, described according to described connection request, determines whether to allow described request side's terminal to be connected to described router, specifically comprises:
According to described connection request, obtain and authorize connection password;
Whether unanimously with prescribed password determining that described mandate connects password, wherein, when determining that described mandate connection password is consistent with described prescribed password, sending described authorization messages bag to described router;
Wherein, the physical address of the physical address of described terminal, the physical address of described request side's terminal and described router drawn together by described authorization messages handbag.
3. a terminal, is characterized in that, comprising:
Connection request receiving element, for receiving the connection request of requesting party's terminal pair router be connected with described terminal;
Connectivity verification unit, for according to described connection request, determines whether to allow described request side's terminal to be connected to described router;
Transmitting element, for when determining to allow described request side's terminal to be connected to described router, sending authorization messages bag to described router, determining whether to be connected with described request side's terminal for described router according to described authorization messages bag.
4. terminal according to claim 3, is characterized in that, described connectivity verification unit comprises:
Password acquiring unit, for according to described connection request, obtains and authorizes connection password;
Determining unit, whether consistent with prescribed password for determining that described mandate connects password, wherein, when determining that described mandate connection password is consistent with described prescribed password, send described authorization messages bag to described router;
Wherein, the physical address of the physical address of described terminal, the physical address of described request side's terminal and described router drawn together by described authorization messages handbag.
5. a router method of attachment, is characterized in that, comprising:
According to the router bind command received, send connection request to the authorized party's terminal be connected with described router, determine whether to allow terminal to be connected to described router for described authorized party's terminal;
After described authorized party's terminal allows described terminal to be connected with described router, receive the message bag from described router, wherein, described message handbag includes network access point address and access pin;
According to described message bag, connect with described router.
6. router method of attachment according to claim 5, is characterized in that, before the message bag of described reception from described router, also comprises:
Receive the broadcast packet from described router, described broadcast packet comprises requesting party's physical address;
Whether checking described request side physical address is consistent with the physical address of described terminal;
When determining that described request side's physical address is consistent with the physical address of described terminal, sending confirmation response to described router, sending described message bag according to described confirmation response to described terminal for described router.
7. a terminal, is characterized in that, comprising:
Connection request transmitting element, for according to the router bind command received, sends connection request to the authorized party's terminal be connected with described router, determines whether to allow terminal to be connected to described router for described authorized party's terminal;
Message bag receiving element, for after described authorized party's terminal allows described terminal to be connected with described router, receives the message bag from described router, wherein, and described message handbag includes network access point address and access pin;
Router linkage unit, for according to described message bag, connects with described router.
8. terminal according to claim 7, is characterized in that, also comprises:
Broadcast packet receiving element, for before the message bag of described reception from described router, receive the broadcast packet from described router, described broadcast packet comprises requesting party's physical address;
Physical address authentication unit, for verifying that whether described request side's physical address is consistent with the physical address of described terminal;
Confirmation response transmitting element, for when determining that described request side's physical address is consistent with the physical address of described terminal, sending confirmation response to described router, sending described message bag for described router according to described confirmation response to described terminal.
9. a router method of attachment, is characterized in that, comprising:
Receive the authorization messages bag from authorized party's terminal;
According to described authorization messages bag, determine whether to be connected with requesting party's terminal.
10. router method of attachment according to claim 9, is characterized in that, the physical address of the physical address of described authorized party's terminal, the physical address of described request side's terminal and described router drawn together by described authorization messages handbag; And
Described according to described authorization messages bag, determine whether to be connected with requesting party's terminal, comprising:
According to the physical address of described authorized party's terminal, verify whether described authorized party's terminal has for described request side's terminal connects the authority of described router;
When determining that described authorized party's terminal has described authority, according to the physical address of described request side's terminal, to described request side's terminal transmission packet, connect according to described message bag and described router for described request side's terminal, wherein, described message handbag includes network access point address and access pin.
11. router methods of attachment according to claim 10, is characterized in that, when determining that described authorized party's terminal has described authority, described before described request side's terminal transmission packet, also comprise:
Send broadcast packet to described request side's terminal, time consistent with the physical address of described request side's terminal for the requesting party physical address of described request side's terminal in the described broadcast packet of checking, send confirmation response to described router; And
Receive the confirmation response from described request side's terminal, with according to described confirmation response, send described message bag to described request side's terminal.
12. 1 kinds of routers, is characterized in that, comprising:
Authorization messages bag receiving element, for receiving the authorization messages bag from authorized party's terminal;
Connect determining unit, for according to described authorization messages bag, determine whether to be connected with requesting party's terminal.
13. routers according to claim 12, is characterized in that, the physical address of the physical address of described authorized party's terminal, the physical address of described request side's terminal and described router drawn together by described authorization messages handbag; And
Described connection determining unit comprises:
Authority Verification unit, for the physical address according to described authorized party's terminal, verifies whether described authorized party's terminal has for described request side's terminal connects the authority of described router;
Message bag transmitting element, for when determining that described authorized party's terminal has described authority, according to the physical address of described request side's terminal, to described request side's terminal transmission packet, connect according to described message bag and described router for described request side's terminal, wherein, described message handbag includes network access point address and access pin.
14. routers according to claim 13, is characterized in that, also comprise:
Broadcast packet transmitting element, for when determining that described authorized party's terminal has described authority, described to before described request side's terminal transmission packet, send broadcast packet to described request side's terminal, time consistent with the physical address of described request side's terminal for the requesting party physical address of described request side's terminal in the described broadcast packet of checking, send confirmation response to described router; And
Confirmation response receiving element, for receiving the confirmation response from described request side's terminal, with according to described confirmation response, sends described message bag to described request side's terminal.
CN201510829574.4A 2015-11-24 2015-11-24 Router connection method, terminal and router Pending CN105516974A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510829574.4A CN105516974A (en) 2015-11-24 2015-11-24 Router connection method, terminal and router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510829574.4A CN105516974A (en) 2015-11-24 2015-11-24 Router connection method, terminal and router

Publications (1)

Publication Number Publication Date
CN105516974A true CN105516974A (en) 2016-04-20

Family

ID=55724539

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510829574.4A Pending CN105516974A (en) 2015-11-24 2015-11-24 Router connection method, terminal and router

Country Status (1)

Country Link
CN (1) CN105516974A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105848148A (en) * 2016-04-28 2016-08-10 乐视控股(北京)有限公司 WIFI connection method, terminal and router
CN105873106A (en) * 2016-04-29 2016-08-17 北京小米移动软件有限公司 Processing method and device for wireless network connection and equipment
CN108540547A (en) * 2018-03-29 2018-09-14 四川斐讯信息技术有限公司 A kind of router connection method, device, system and router
WO2019185009A1 (en) * 2018-03-30 2019-10-03 云丁智能科技(北京)有限公司 Smart door lock binding method, smart door lock, gateway, server, and binding system
CN114422995A (en) * 2022-01-04 2022-04-29 太仓市同维电子有限公司 Method for household automatic networking without awareness

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070147318A1 (en) * 2005-12-27 2007-06-28 Intel Corporation Dynamic passing of wireless configuration parameters
CN102572836A (en) * 2010-12-20 2012-07-11 联想(北京)有限公司 Method for accessing wireless network, portable mobile terminal and wireless network system
CN103945380A (en) * 2014-04-10 2014-07-23 深圳市信锐网科技术有限公司 Method and system for network login authentication based on graphic code
CN104010352A (en) * 2014-05-19 2014-08-27 百度在线网络技术(北京)有限公司 Method and device for connecting router with intelligent device
CN104812092A (en) * 2015-03-23 2015-07-29 小米科技有限责任公司 Networking method and device of intelligent equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070147318A1 (en) * 2005-12-27 2007-06-28 Intel Corporation Dynamic passing of wireless configuration parameters
CN102572836A (en) * 2010-12-20 2012-07-11 联想(北京)有限公司 Method for accessing wireless network, portable mobile terminal and wireless network system
CN103945380A (en) * 2014-04-10 2014-07-23 深圳市信锐网科技术有限公司 Method and system for network login authentication based on graphic code
CN104010352A (en) * 2014-05-19 2014-08-27 百度在线网络技术(北京)有限公司 Method and device for connecting router with intelligent device
CN104812092A (en) * 2015-03-23 2015-07-29 小米科技有限责任公司 Networking method and device of intelligent equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105848148A (en) * 2016-04-28 2016-08-10 乐视控股(北京)有限公司 WIFI connection method, terminal and router
CN105873106A (en) * 2016-04-29 2016-08-17 北京小米移动软件有限公司 Processing method and device for wireless network connection and equipment
CN108540547A (en) * 2018-03-29 2018-09-14 四川斐讯信息技术有限公司 A kind of router connection method, device, system and router
WO2019185009A1 (en) * 2018-03-30 2019-10-03 云丁智能科技(北京)有限公司 Smart door lock binding method, smart door lock, gateway, server, and binding system
CN114422995A (en) * 2022-01-04 2022-04-29 太仓市同维电子有限公司 Method for household automatic networking without awareness

Similar Documents

Publication Publication Date Title
JP6457698B2 (en) How to control access to non-vehicle wireless networks
US9842446B2 (en) Systems and methods for lock access management using wireless signals
KR101551315B1 (en) Using a mobile device to enable another device to connect to a wireless network
CN104270758B (en) The method for connecting and authorizing is established by WIFI and server security
WO2015196943A1 (en) Vehicle control system, method and device, and computer readable storage medium
US20130194068A1 (en) Method for providing wireless vehicle access
CN105516974A (en) Router connection method, terminal and router
US20150339334A1 (en) Method for entering identification data of a vehicle into a user database of an internet server device
CN103607712B (en) The cut-in method and device of wireless network
CN108259164B (en) Identity authentication method and equipment of Internet of things equipment
US8706083B2 (en) Bluetooth authentication system and method
CN103888265A (en) Login system and method based on mobile terminal
WO2016187965A1 (en) Vehicle terminal and control method thereof, and handheld terminal and control method thereof
JP2008526068A5 (en)
US9853980B2 (en) Technique for configuring secured access to a host network for an invited terminal
US9319882B2 (en) Method for mutual authentication between a terminal and a remote server by means of a third-party portal
JP2019036091A (en) Vehicle security system and vehicle security method
JP6898139B2 (en) User authentication system and user authentication method
CN107708098A (en) A kind of personal identification method based on Bluetooth communication
CN105610620B (en) A kind of Intelligent hardware and its configuration method
US20210243188A1 (en) Methods and apparatus for authenticating devices
CN104702613B (en) Verify the method and system of pickup people's information
CN108834142A (en) Wireless router and its connection authentication method
US11234125B2 (en) Two-factor authentication for wireless field devices
KR101828684B1 (en) Method for Automating Login Coupled with Medium

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: 20160420