CN106535171A - Method and device for making wireless terminal access network and equipment - Google Patents

Method and device for making wireless terminal access network and equipment Download PDF

Info

Publication number
CN106535171A
CN106535171A CN201611113899.3A CN201611113899A CN106535171A CN 106535171 A CN106535171 A CN 106535171A CN 201611113899 A CN201611113899 A CN 201611113899A CN 106535171 A CN106535171 A CN 106535171A
Authority
CN
China
Prior art keywords
terminal unit
address
information
message
wireless router
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
CN201611113899.3A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201611113899.3A priority Critical patent/CN106535171A/en
Publication of CN106535171A publication Critical patent/CN106535171A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a method and a device for making a wireless terminal access a network and equipment. The method comprises the following steps: sending a first request message to a wireless router; receiving a first response message sent by the wireless router, wherein the first response message carries second indication information for indicating whether information authentication of terminal equipment is passed or not and allocation information according to which an IP address is allocated to the mobile terminal; sending a second request message to the wireless router when the second indication information indicates that the information authentication of the terminal equipment is passed, wherein the second request message carries association information which is used for requesting association of the wireless router and the terminal equipment, and third indication information which is used for instructing to take the allocated IP address as a target IP address of the terminal equipment; and receiving a second response message sent by the wireless router, wherein the second response message carries fourth indication information which is used for indicating successful association of the wireless router and the terminal equipment, and fifth indication information which is used for indicating that the IP address is allocated to the terminal equipment successfully. Through adoption of the method, the device and the equipment, the network access efficiency of the terminal can be increased.

Description

The method of network access by wireless terminal, device and equipment
Technical field
It relates to electronic device field, more particularly to the method for network access by wireless terminal, device and equipment.
Background technology
With the development of science and technology, wireless network is increasingly popularized in the life of user, increasing user's choosing Select and surfed the Net by wireless network.
In the related, wireless terminal is reached the standard grade at least including two processes, is certification, association foundation transmission control first Agreement/Internet Protocol (Transmission Control Protocol/Internet Protocol;Referred to as:TCP/ IP) the physical layer and link layer in protocol stack, next to that the Internet that available IP address is set up in ICP/IP protocol stack is obtained, The two processes all after the completion of wireless terminal reach the standard grade successfully.
The content of the invention
To overcome problem present in correlation technique, the disclosure to provide a kind of method of network access by wireless terminal, device And equipment.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of method of network access by wireless terminal, terminal is applied to Equipment, methods described include:
The first request message is sent to wireless router;First request message carries the request wireless router pair The first configured information and the network interconnection association of terminal unit described in acquisition request that the information of the terminal unit is authenticated The solicited message of view IP address;
The first response message that the wireless router sends is received, first response message carries described for indicating The second configured information and the distribution information for terminal unit distribution IP address that whether the authentification of message of terminal unit passes through;
When second configured information indicates that the authentification of message of the terminal unit passes through, send out to the wireless router The second request message is sent, second request message is carried to be carried out the wireless router and the terminal unit for request The related information of association, and indicate to refer to the IP address of the distribution as the 3rd of the target ip address of the terminal unit Show information;
The second response message that the wireless router sends is received, second response message carries described for indicating The 4th configured information that wireless router and the terminal unit are successfully associated, and the terminal unit is designated as into the distribution of work 5th configured information of IP address.
As terminal unit can be used for asking the first configured information for being authenticated the information of terminal unit and ask Seek the solicited message for obtaining IP address and wireless router is sent in the first request message while carrying, and receive first During response message, the related information that wireless router and terminal unit will be associated for request, and indicate to distribute IP address simultaneously carry as the 3rd configured information of the target ip address of terminal unit and be sent in the second request message Wireless router, it is possible thereby to the interaction times of information between terminal unit and wireless router are reduced, such that it is able to improve end The efficiency that end equipment is reached the standard grade.
Alternatively, before first request message of transmission to wireless router, methods described also includes:
When generating first request message, increase for acquisition request in the null field of first configured information The solicited message of the IP address of the terminal unit, first configured information are used to ask the wireless router to institute The information for stating terminal unit is authenticated.
Due to by increasing request message in the null field of the first configured information, to generate the first request message, from And cause the generating mode of the first request message simpler, it is easy to accomplish.
Alternatively, before second request message of transmission to the wireless router, methods described also includes:
When generating second request message, increase in the null field of the related information for indicating described point Threeth configured information of the IP address matched somebody with somebody as the target ip address of the terminal unit, the related information are used for request by institute State wireless router and the terminal unit is associated.
Due to by increasing by the 3rd configured information in the null field of related information, to generate the second request message, from And cause the generating mode of the second request message simpler, it is easy to accomplish.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of method of network access by wireless terminal, it is applied to wireless Router, methods described include:
The first request message that receiving terminal apparatus send, first request message carry the request wireless router The network interconnection of the first configured information and terminal unit described in acquisition request that the information of the terminal unit is authenticated The solicited message of Protocol IP address;
The first response message is sent to the terminal unit, first response message is carried for indicating that the terminal sets The second configured information and the distribution information for terminal unit distribution IP address that whether standby authentification of message passes through;
The second request message that the terminal unit sends is received, second request message is carried will be described for request The related information that wireless router and the terminal unit are associated, and indicate the IP address of the distribution as described 3rd configured information of the target ip address of terminal unit;
The second response message is sent to the terminal unit, second response message carries described without circuit for indicating The 4th configured information being successfully associated by device and the terminal unit, and the terminal unit is designated as into distribution of work IP address The 5th configured information.
Due to the second the configured information whether authentification of message for instruction terminal equipment can be passed through by wireless router Carried with the distribution information for distributing IP address for terminal unit simultaneously and terminal unit is sent in the first response message, and will be used In the 4th configured information for indicating that wireless router and terminal unit are successfully associated, and terminal unit is designated as into distribution of work IP 5th configured information of address carries simultaneously and terminal unit is sent in the second response message, it is possible thereby to reduce terminal unit The interaction times of information and wireless router between, such that it is able to improve the efficiency that terminal unit is reached the standard grade.
Alternatively, before first response message of transmission to the terminal unit, methods described also includes:
When generating first response message, increase for being designated as in the null field of second configured information The distribution information that terminal unit distributes IP address is stated, second configured information is used for the authentification of message for indicating the terminal unit Whether pass through.
Due to by increasing distribution information in the null field of the second configured information, to generate the first response message, from And cause the generating mode of the first response message simpler, it is easy to accomplish.
Alternatively, before second response message of transmission to the terminal unit, methods described also includes:
When generating second response message, increase for being designated as in the null field of the 4th configured information Terminal unit is stated into the 5th configured information of distribution of work IP address, the 4th configured information is used to indicate the wireless router It is successfully associated with the terminal unit.
Due to by increasing by the 5th configured information in the null field of the 4th configured information, to generate the second response report Text, so that the generating mode of the second response message is simpler, it is easy to accomplish.
Alternatively, after the first request message that the receiving terminal apparatus send, methods described also includes:
Judge whether the wireless router supports dynamic host configuration protocol DHCP service;
If the wireless router supports the DHCP service, the first response message is sent to the terminal unit.
As wireless router is in the first request message for receiving terminal unit transmission, and judging its support DHCP During service, then the first response message is sent to terminal unit, it is possible thereby to improve the efficiency that terminal unit is reached the standard grade.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of device of network access by wireless terminal, including:
First sending module, is configured to send the first request message to wireless router;First request message is taken The first configured information with asking the wireless router to be authenticated the information of the terminal unit and acquisition request institute State the solicited message of the network interconnection Protocol IP address of terminal unit;
First receiver module, is configured to receive the first response message that the wireless router sends, first sound Message is answered to carry for indicating the second configured information that whether authentification of message of the terminal unit pass through and setting for the terminal Distribution information of the back-up with IP address;
Second sending module, is configured as second configured information and indicates that the authentification of message of the terminal unit passes through When, the second request message is sent to the wireless router, second request message is carried described for request without circuit The related information being associated by device and the terminal unit, and indicate to set the IP address of the distribution as the terminal 3rd configured information of standby target ip address;
Second receiver module, is configured to receive the second response message that the wireless router sends, second sound Answer message to carry for indicating the 4th configured information that the wireless router and the terminal unit are successfully associated, and indicate For the terminal unit into distribution of work IP address the 5th configured information.
Alternatively, described device also includes:
First generation module, is configured to when first request message is generated, in the sky of first configured information Increase the solicited message of the IP address for terminal unit described in acquisition request in wrongly written or mispronounced character section, first configured information is used The information of the terminal unit is authenticated in the wireless router is asked.
Alternatively, described device also includes:
Second generation module, is configured to when second request message is generated, in the blank word of the related information Section in increase for indicate using the IP address of the distribution as the target ip address of the terminal unit the 3rd configured information, The related information is used for request and is associated the wireless router and the terminal unit.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of device of network access by wireless terminal, including:
First receiver module, is configured to the first request message of receiving terminal apparatus transmission, first request message Carry the first configured information and acquisition request that the request wireless router is authenticated to the information of the terminal unit The solicited message of the network interconnection Protocol IP address of the terminal unit;
First sending module, is configured to send the first response message, first response message to the terminal unit Carry for indicating the second configured information that whether authentification of message of the terminal unit pass through and distributing for the terminal unit The distribution information of IP address;
Second receiver module, is configured to receive the second request message that the terminal unit sends, second request Message carries the related information for asking to be associated the wireless router and the terminal unit, and indicates institute State threeth configured information of the IP address as the target ip address of the terminal unit of distribution;
Second sending module, is configured to send the second response message, second response message to the terminal unit Carry for indicating the 4th configured information that the wireless router and the terminal unit are successfully associated, and be designated as described Fiveth configured information of the terminal unit into distribution of work IP address.
Alternatively, described device also includes:
First generation module, is configured to when first response message is generated, in the sky of second configured information Increase the distribution information for distributing IP address for being designated as the terminal unit in wrongly written or mispronounced character section, second configured information is used to refer to Show whether the authentification of message of the terminal unit passes through.
Alternatively, described device also includes:
Second generation module, is configured to when second response message is generated, in the sky of the 4th configured information Increase in wrongly written or mispronounced character section for being designated as the terminal unit into the 5th configured information of distribution of work IP address, the described 4th indicates letter Cease for indicating that the wireless router and the terminal unit are successfully associated.
Alternatively, described device also includes:
Judge module, is configured to judge whether the wireless router supports dynamic host configuration protocol DHCP service;
3rd sending module, is configured to judge that the wireless router supports the DHCP clothes in the judge module During business, the first response message is sent to the terminal unit.
In terms of the 5th of the embodiment of the present disclosure, there is provided a kind of terminal unit, including:
Processor;
It is configured to store the memorizer of processor executable;
Wherein, the processor is configured to:
The first request message is sent to wireless router;First request message carries the request wireless router pair The first configured information and the network interconnection association of terminal unit described in acquisition request that the information of the terminal unit is authenticated The solicited message of view IP address;
The first response message that the wireless router sends is received, first response message carries described for indicating The second configured information and the distribution information for terminal unit distribution IP address that whether the authentification of message of terminal unit passes through;
When second configured information indicates that the authentification of message of the terminal unit passes through, send out to the wireless router The second request message is sent, second request message is carried to be carried out the wireless router and the terminal unit for request The related information of association, and indicate to refer to the IP address of the distribution as the 3rd of the target ip address of the terminal unit Show information;
The second response message that the wireless router sends is received, second response message carries described for indicating The 4th configured information that wireless router and the terminal unit are successfully associated, and the terminal unit is designated as into the distribution of work 5th configured information of IP address.
In terms of the 6th of the embodiment of the present disclosure, there is provided a kind of wireless router, including:
Processor;
It is configured to store the memorizer of processor executable;
Wherein, the processor is configured to:
The first request message that receiving terminal apparatus send, first request message carry the request wireless router The network interconnection of the first configured information and terminal unit described in acquisition request that the information of the terminal unit is authenticated The solicited message of Protocol IP address;
The first response message is sent to the terminal unit, first response message is carried for indicating that the terminal sets The second configured information and the distribution information for terminal unit distribution IP address that whether standby authentification of message passes through;
The second request message that the terminal unit sends is received, second request message is carried will be described for request The related information that wireless router and the terminal unit are associated, and indicate the IP address of the distribution as described 3rd configured information of the target ip address of terminal unit;
The second response message is sent to the terminal unit, second response message carries described without circuit for indicating The 4th configured information being successfully associated by device and the terminal unit, and the terminal unit is designated as into distribution of work IP address The 5th configured information.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:
By sending the first request message to wireless router, first request message carries request wireless router to end The first configured information that the information of end equipment is authenticated and the network interconnection Protocol IP address of acquisition request terminal unit Solicited message, and the first response message of wireless router transmission is received, first response message is carried and is set for instruction terminal The second configured information and the distribution information for terminal unit distribution IP address that whether standby authentification of message passes through, when the second instruction When the authentification of message of information instruction terminal equipment passes through, the second request message, second request message are sent to wireless router The related information for asking to be associated wireless router and terminal unit is carried, and indicates to make the IP address of distribution For the 3rd configured information of the target ip address of terminal unit, and the second response message of wireless router transmission is received, this Two response messages are carried for indicating the 4th configured information that wireless router and terminal unit are successfully associated, and are designated as end Fiveth configured information of the end equipment into distribution of work IP address.As terminal unit can be by the information for request to terminal unit The first configured information being authenticated and the solicited message of acquisition request IP address are sent in the first request message while carrying To wireless router, and when the first response message is received, request will be used for wireless router and terminal unit will be closed The related information of connection, and indicate will distribution IP address as the target ip address of terminal unit the 3rd configured information simultaneously Carrying is sent to wireless router in the second request message, it is possible thereby to reduce information between terminal unit and wireless router Interaction times, such that it is able to improve the efficiency that terminal unit is reached the standard grade.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
During accompanying drawing herein is merged in description and the part of this specification is constituted, show the enforcement for meeting the present invention Example, and be used for explaining the principle of the present invention together with description.
Fig. 1 is a kind of flow chart of the method for the network access by wireless terminal according to an exemplary embodiment;
Structural representations of the Fig. 2 for the key message in Discovery messages;
Fig. 3 is the structural representation of the first request message;
Structural representations of the Fig. 4 for the key message in Request messages;
Fig. 5 is the flow chart of the method for implementing a kind of network access by wireless terminal for exemplifying according to another exemplary;
Structural representations of the Fig. 6 for the key message in offer messages;
Structural representations of the Fig. 7 for the key message in ACK messages;
Fig. 8 is a kind of block diagram of the device of the network access by wireless terminal according to an exemplary embodiment;
Fig. 9 is the block diagram of the device for implementing a kind of network access by wireless terminal for exemplifying according to another exemplary;
Figure 10 is a kind of block diagram of the device of the network access by wireless terminal according to further example embodiment;
Figure 11 is a kind of block diagram of the device of the network access by wireless terminal according to another exemplary embodiment;
Figure 12 is a kind of block diagram of the device of the network access by wireless terminal according to another exemplary embodiment;
Figure 13 is a kind of block diagram of the device of the network access by wireless terminal according to another exemplary embodiment;
Figure 14 is a kind of block diagram of the device of the network access by wireless terminal according to another exemplary embodiment;
Figure 15 is a kind of block diagram of the entity of the terminal unit according to an exemplary embodiment;
Figure 16 is a kind of block diagram of the entity of the wireless router according to an exemplary embodiment;
Figure 17 is a kind of block diagram of the device for network access by wireless terminal according to an exemplary embodiment;
Figure 18 is a kind of block diagram of the device for network access by wireless terminal according to an exemplary embodiment.
Specific embodiment
Here in detail exemplary embodiment will be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.Conversely, they be only with as appended by The example of consistent apparatus and method in terms of some described in detail in claims, the present invention.
Fig. 1 is a kind of flow chart of the method for the network access by wireless terminal according to an exemplary embodiment, such as Fig. 1 Shown, the method for the network access by wireless terminal that the present embodiment is related to is used in terminal unit, wherein, the terminal unit for example may be used Think mobile phone, panel computer (portable android device;Referred to as:PAD) or computer etc., can also be other energy The equipment of wireless network is accessed enough.The method of the network access by wireless terminal is comprised the following steps.
In step s 11, the first request message is sent to wireless router;First request message carries request without circuit The the first configured information information of terminal unit being authenticated by device and the network interconnection agreement of acquisition request terminal unit The solicited message of IP address.
In the related, wireless terminal is reached the standard grade at least including two processes, is certification first, associates and set up TCP/IP associations Physical layer and link layer in view stack, next to that the Internet that available IP address is set up in ICP/IP protocol stack is obtained, due to Wireless terminal during completing to reach the standard grade, certification, association process and obtain IP address process be it is separate so that Data message interaction number of times is more, cause that wireless terminal completes to reach the standard grade is less efficient.In order to solve this problem, in this public affairs Open in embodiment, when a wireless network is selected and prepare connection, terminal unit first determines whether whether terminal unit needs to match somebody with somebody Static ip address is put, terminal unit needs to configure static ip address if judging, will incite somebody to action eventually according to the mode in correlation technique End equipment is accessed in the wireless network.If judging, terminal unit needs to configure dynamic IP addressing, can be to wireless router The first request message is sent, in first request message, the first configured information and solicited message is carried, wherein, first instruction Information can be used for asking wireless router to be authenticated the information of terminal unit, and solicited message can be used for acquisition request end The IP address of end equipment, so, the information of the information of request certification and acquisition request IP address can be taken by terminal unit jointly Band is sent to router in the first request message, it is possible thereby to reduce the number of times of data message interaction.
Needs are illustrated, and the first configured information for example can be by for authentication request packet, i.e. terminal unit Content in authentication request packet is carried and is sent to wireless router in the first request message.
In addition, during solicited message for example can be Discovery messages to find message (Discovery messages), Fig. 2 The structural representation of key message, as shown in Fig. 2 wherein, boot protocol (Bootstrap Protocol;Referred to as BOOTP) it is a kind of BOOT strapping Protocol, during BOOTP is for the LAN of non-disk workstation, non-disk workstation can be allowed from a center IP address is obtained on server, can be the non-disk workstation distribution dynamic IP addressing in LAN by BOOTP agreements.Dynamic Host configuration (Dynamic Host Configuration Protocol;Referred to as:DHCP) for for internal network or net Network service supplier's automatic IP address allocation, wherein, DHCP protocol includes that information type (Message Type), message are most greatly enhanced Degree (Maximum Message Size), parameter request list (Parameter Request List), DHCP option end mark Information such as (DHCP Option End).It will be understood by those skilled in the art that the key message in can will be seen that message keeps Former TLV (Type-Length-Value) and filed structures, integration are sent to wireless router in being put into the first request message.Lift For example, Fig. 3 is the structural representation of the first request message, as shown in figure 3, wherein, component identification (Element ID) takes 221, represent Element types, length (Length) value is the byte length after Length fields shared by content, for example can be with For 7 bytes.OUI represents tissue coding, and value is actual loading, i.e., the crucial letter in the Discovery messages shown in Fig. 2 Breath.
In step s 12, the first response message that wireless router sends is received, first response message is carried for referring to Show the authentification of message of terminal unit the second configured information for whether passing through and the distribution information for distributing IP address for terminal unit.
In the disclosed embodiments, after the first request message is sent to wireless router by terminal unit, without circuit The terminal unit will be authenticated by device, and distribute IP address for the terminal unit when certification passes through, be assigned it Afterwards, can will indicate second configured information that whether pass through of authentification of message of the terminal unit and distribute IP address for terminal unit Distribution information is carried and is sent to terminal unit in the first response message.Wherein, carrying wireless router in distribution information is The IP address of terminal unit distribution.
In addition, the second configured information can for example be authentication response message, distribution information can for example be offer message (offer messages).
In step s 13, when the authentification of message of the second configured information instruction terminal equipment passes through, send out to wireless router The second request message is sent, second request message carries the association for asking to be associated wireless router and terminal unit Information, and the IP address for indicating to distribute is used as the 3rd configured information of the target ip address of terminal unit.
In the disclosed embodiments, terminal unit receive wireless router transmission the first response message after, if The second configured information according to carrying in the first response message determines that the authentification of message of terminal unit passes through, and terminal unit needs Terminal unit and the wireless router are associated by request wireless router.Further, since wireless router is to terminal unit After distribution IP address, terminal unit needs to judge whether the IP address can use, if judging, the IP address is available, will be to wireless Router return information, using indicate wireless router by the IP address as terminal unit target ip address.It is based on above-mentioned, whole End equipment can send the second request message to wireless router, carry related information and the 3rd in second request message Configured information, wherein, the related information is used for request and is associated wireless router and terminal unit, the 3rd configured information For indicating the IP address for distributing wireless router as the target ip address of terminal unit.
Needs are illustrated, and the related information for example be able to will can be closed for association request message, i.e. terminal unit Content in connection request message is carried and is sent to wireless router in the second request message.
In addition, the 3rd configured information can be for example request message (Request messages), during Fig. 4 is Request messages The structural representation of key message, as shown in figure 4, wherein, BOOTP is similar with Fig. 2, and here is omitted.DHCP protocol bag Include information type (Message Type), packet maximum length (Maximum Message Size), the IP address of request (Requested IP Address), server identification (Server Identifier), parameter request list (Parameter Request List), host name address (Host Name Address), DHCP option end mark (DHCP Option End) etc. Information.It will be understood by those skilled in the art that the key message in Request messages can be kept original TLV (Type- Length-Value) and filed structures, integration is sent to wireless router in being put into the second request message.For example, continue With reference to shown in Fig. 3, in the second request message, Element ID, Length and OUI can be similar with the first request message, and second Value in request message is the key message in the Request messages shown in Fig. 4.
In step S14, the second response message that wireless router sends is received, second response message is carried for referring to Show the 4th configured information that wireless router and terminal unit are successfully associated, and terminal unit is designated as into distribution of work IP address The 5th configured information.
In the disclosed embodiments, after the second request message is sent to wireless router by terminal unit, without circuit The terminal unit will be associated by device, and after being successfully associated, it will instruction is sent to terminal unit be successfully associated The 4th configured information.In addition, wireless router is after the 3rd configured information for receiving terminal unit transmission, it will to end End equipment sends the 5th configured information, and the IP address before notifying terminal unit as its distribution is successfully distributed for which.
Wherein, the 4th configured information can for example be associated response message, and the 5th configured information for example can be reported for ACK Text.
The method of the network access by wireless terminal of the present embodiment, by sending the first request message to wireless router, should First request message carries the first configured information and the request that request wireless router is authenticated to the information of terminal unit The solicited message of the network interconnection Protocol IP address of terminal unit is obtained, and receives the first response report of wireless router transmission Text, first response message carry the second the configured information whether authentification of message for instruction terminal equipment pass through and for terminal Equipment distributes the distribution information of IP address, when the authentification of message of the second configured information instruction terminal equipment passes through, to without circuit Second request message is sent by device, and second request message is carried and wireless router and terminal unit is associated for request Related information, and indicate will distribution IP address as the 3rd configured information of the target ip address of terminal unit, and connect The second response message that wireless router sends is received, second response message is carried for indicating wireless router and terminal unit The 4th configured information being successfully associated, and terminal unit is designated as into the 5th configured information of distribution of work IP address.Due to end End equipment can be by the first configured information and acquisition request IP address for asking to be authenticated the information of terminal unit Solicited message carries simultaneously and wireless router is sent in the first request message, and when the first response message is received, will For the related information for asking to be associated wireless router and terminal unit, and indicate the IP address of distribution as end 3rd configured information of the target ip address of end equipment carries simultaneously and wireless router is sent in the second request message, thus The interaction times of information between terminal unit and wireless router can be reduced, such that it is able to improve the effect that terminal unit is reached the standard grade Rate.
Alternatively, on the basis of embodiment illustrated in fig. 1, before sending the first request message to wireless router, the party Method also includes:When generating the first request message, increase in the null field of the first configured information and set for acquisition request terminal The solicited message of standby IP address, first configured information are used to ask wireless router to recognize the information of terminal unit Card.
Specifically, when terminal unit is when a wireless network is determined and prepare connection, need to judge that terminal unit is No to need to configure dynamic IP addressing, if judging, the terminal unit needs to configure dynamic IP addressing, firstly the need of generation first Request message, wherein, first request message is included for asking wireless router to be authenticated the information of terminal unit The first configured information and acquisition request terminal unit network interconnection Protocol IP address solicited message.Therefore, generating During first request message, solicited message can be increased in the null field of the first configured information.
The method of the network access by wireless terminal of the present embodiment, due to by increasing in the null field of the first configured information Plus request message, to generate the first request message, so that the generating mode of the first request message is simpler, it is easy to real It is existing.
Alternatively, on the basis of embodiment illustrated in fig. 1, before sending the second request message to wireless router, the party Method also includes:When generating the second request message, increase in the null field of related information for indicating the IP address of distribution Used as the 3rd configured information of the target ip address of terminal unit, the related information is used for request and sets wireless router and terminal It is standby to be associated.
Specifically, when terminal unit determines the information of the second configured information instruction terminal equipment that wireless router sends When certification passes through, it would be desirable to generate the second request message, wherein, second request message is included for asking wireless routing The related information that device and terminal unit are associated, and the IP address for indicating to distribute is used as the target ip address of terminal unit The 3rd configured information.Therefore, when second request message is generated, the 3rd can be increased in the null field of related information Configured information.
The method of the network access by wireless terminal of the present embodiment, due to by increasing by the null field of related information Three configured informations, to generate the second request message, so that the generating mode of the second request message is simpler, it is easy to real It is existing.
Fig. 5 is the flow chart of the method for implementing a kind of network access by wireless terminal for exemplifying according to another exemplary, such as Shown in Fig. 5, the method for the network access by wireless terminal that the present embodiment is related to is used in wireless router, the wireless terminal access network The method of network is comprised the following steps.
In step s 51, the first request message that receiving terminal apparatus send, it is wireless that first request message carries request The first configured information and the network interconnection association of acquisition request terminal unit that router is authenticated to the information of terminal unit The solicited message of view IP address.
In the disclosed embodiments, terminal unit first determines whether terminal when a wireless network is selected and prepare connection Whether equipment needs to configure static ip address, if judging, terminal unit needs to configure static ip address, will be according to related skill Mode in art accesses terminal unit in the wireless network.If judging, terminal unit needs to configure dynamic IP addressing, can The first request message is sent to wireless router, carry the first configured information and solicited message in first request message, Wherein, first configured information can be used for asking wireless router to be authenticated the information of terminal unit, and solicited message can For the IP address of acquisition request terminal unit, so, terminal unit can be by the information of request certification and acquisition request IP The information of address is carried jointly and is sent to router in the first request message, it is possible thereby to reduce the secondary of data message interaction Number.
Needs are illustrated, and the first configured information for example can be by for authentication request packet, i.e. terminal unit Content in authentication request packet is carried and is sent to wireless router in the first request message.
In addition, solicited message can for example be discovery message (Discovery messages), wherein, find the crucial letter of message The structure of breath and the first request message is similar to step S11, and here is omitted.
In step S52, the first response message is sent to terminal unit, first response message is carried for instruction terminal The second configured information and the distribution information for terminal unit distribution IP address that whether the authentification of message of equipment passes through.
In the disclosed embodiments, after wireless router receives the first request message of terminal unit transmission, will The information of terminal unit can be authenticated according to the first configured information in first request message, if certification passes through, will Distribute IP address to the terminal unit, after being assigned, the information of the terminal unit can will be indicated whether by the of certification Two configured informations and the distribution information for distributing IP address for terminal unit are carried and are sent to terminal unit in the first response message. Wherein, the IP address that wireless router is terminal unit distribution is carried in distribution information.
Needs are illustrated, and the second configured information for example can be with for authentication response message, i.e. wireless router Content in authentication response message is carried terminal unit is sent in the first response message.
In addition, the distribution information for example can be to provide message (offer messages), Fig. 6 is the crucial letter in offer messages The structural representation of breath, as shown in fig. 6, wherein, BOOTP is similar with Fig. 2, and here is omitted.DHCP protocol includes information Type (Message Type), server identification (Server Identifier), IP address lease time (IP Address Lease time), subnet mask (Subnet Mask), router (Routers), name server (Domain Name Server), the information such as DHCP option end mark (DHCP Option End).It will be understood by those skilled in the art that can be by Key message in offer messages keeps original TLV (Type-Length-Value) and filed structures, integration to be put into the first response Terminal unit is sent in message.For example, with continued reference to shown in Fig. 3, Element ID, Length in the first response message Can be similar with the first request message with OUI, during the value in the first response message is the offer messages shown in Fig. 6 Key message.
In step S53, the second request message that receiving terminal apparatus send, second request message are carried for asking The related information that wireless router and terminal unit are associated, and indicate the IP address of distribution as terminal unit 3rd configured information of target ip address.
In the disclosed embodiments, terminal unit receive wireless router transmission the first response message after, if The second configured information according to carrying in the first response message determines that the authentification of message of terminal unit passes through, and terminal unit needs Terminal unit and the wireless router are associated by request wireless router.Further, since wireless router is to terminal unit After distribution IP address, terminal unit needs to judge whether the IP address can use, if judging, the IP address is available, will be to wireless Router return information, using indicate wireless router by the IP address as terminal unit target ip address.It is based on above-mentioned, whole End equipment can send the second request message to wireless router, carry related information and the 3rd in second request message Configured information, wherein, the related information is used for request and is associated wireless router and terminal unit, the 3rd configured information For indicating the IP address for distributing wireless router as the target ip address of terminal unit.
Needs are illustrated, and the related information for example be able to will can be closed for association request message, i.e. terminal unit Content in connection request message is carried and is sent to wireless router in the second request message.
In addition, the 3rd configured information can for example be request message (Request messages), wherein, the pass of Request messages The structure of key information and the second request message is similar to step S13, and here is omitted.
In step S54, the second response message is sent to terminal unit, second response message carries wireless for indicating The 4th configured information that router and terminal unit are successfully associated, and terminal unit is designated as into the 5th of distribution of work IP address Configured information.
In the disclosed embodiments, wireless router receive terminal unit transmission the second request message after, nothing Line router will be associated to the terminal unit, and after being successfully associated, it will send to terminal unit and indicate association Successful 4th configured information.In addition, wireless router is after the 3rd configured information for receiving terminal unit transmission, it will The 5th configured information is sent to terminal unit, the IP address before notifying terminal unit as its distribution is successfully distributed for which. Based on above-mentioned, wireless router will send the second response message to terminal unit, carry the 4th finger in second response message Show information and the 5th configured information.
Needs are illustrated, and the 4th configured information for example can for associated response message, i.e. wireless router Terminal unit is sent to so that the content in associated response message to be carried in the second response message.
In addition, the 5th configured information can for example be ACK messages.Structural representations of the Fig. 7 for the key message in ACK messages Figure, as shown in fig. 7, wherein, BOOTP is similar with Fig. 2, and here is omitted.DHCP protocol includes information type (Message Type), server identification (Server Identifier), IP address lease time (IP Address lease time), son Net mask (Subnet Mask), router (Routers), name server (Domain Name Server), DHCP option knot The information such as beam symbol (DHCP Option End).It will be understood by those skilled in the art that can be by the key message in ACK messages Original TLV (Type-Length-Value) and filed structures, integration is kept to be sent to terminal unit in being put into the second response message. For example, with continued reference to shown in Fig. 3, in the second response message, Element ID, Length and OUI can be with the first request reports It is similar in text, the value in the second response message is the key message in the ACK messages shown in Fig. 7.
The method of the network access by wireless terminal of the present embodiment, the first request message sent by receiving terminal apparatus, The first configured information and ask that first request message carrying request wireless router is authenticated to the information of terminal unit The solicited message of the network interconnection Protocol IP address for obtaining terminal unit is sought, and the first response message is sent to terminal unit, should First response message carries the second the configured information whether authentification of message for instruction terminal equipment pass through and for terminal unit The distribution information of distribution IP address, and the second request message that receiving terminal apparatus send, second request message are carried and are used for The related information that wireless router and terminal unit are associated by request, and indicate the IP address of distribution is set as terminal 3rd configured information of standby target ip address, and the second response message is sent to terminal unit, second response message is carried For indicating the 4th configured information that wireless router and terminal unit are successfully associated, and terminal unit is designated as into the distribution of work 5th configured information of IP address.Whether the authentification of message for instruction terminal equipment can be passed through due to wireless router Second configured information and the distribution information for distributing IP address for terminal unit are carried simultaneously and are sent to end in the first response message End equipment, and will be used for indicating the 4th configured information that wireless router and terminal unit are successfully associated, and it is designated as terminal Equipment carries into the 5th configured information of distribution of work IP address simultaneously and terminal unit is sent in the second response message, thus may be used To reduce the interaction times of information between terminal unit and wireless router, such that it is able to improve the efficiency that terminal unit is reached the standard grade.
Alternatively, on the basis of embodiment illustrated in fig. 5, before sending the first response message to terminal unit, the method Also include:When generating the first response message, increase in the null field of the second configured information for being designated as terminal unit point Distribution information with IP address, second configured information are used for whether the authentification of message of instruction terminal equipment to pass through.
Specifically, when wireless router is determined the authentification of message of terminal unit passes through when, it would be desirable to generate the first response Message, wherein, first response message includes the second instruction the letter whether authentification of message for instruction terminal equipment passes through Breath and the distribution information for terminal unit distribution IP address.Therefore, when first response message is generated, can indicate second Increase distribution information in the null field of information.
The method of the network access by wireless terminal of the present embodiment, due to by increasing in the null field of the second configured information Bonus point matches somebody with somebody information, to generate the first response message, so that the generating mode of the first response message is simpler, it is easy to real It is existing.
Alternatively, on the basis of embodiment illustrated in fig. 5, before sending the second response message to terminal unit, the method Also include:When generating the second response message, increase in the null field of the 4th configured information for be designated as terminal unit into 5th configured information of distribution of work IP address, the 4th configured information are used to indicate that wireless router and terminal unit are associated to Work(.
Specifically, after terminal unit and the wireless router are associated by wireless router, it would be desirable to generate the Two response messages, wherein, second response message include for indicate that wireless router and terminal unit are successfully associated Four configured informations, and terminal unit is designated as into the 5th configured information of distribution of work IP address.Therefore, generating second sound When answering message, can increase by the 5th configured information in the null field of the 4th configured information.
The method of the network access by wireless terminal of the present embodiment, due to by increasing in the null field of the 4th configured information Plus the 5th configured information, to generate the second response message, so that the generating mode of the second response message is simpler, it is easy to Realize.
Alternatively, on the basis of embodiment illustrated in fig. 5, after the first request message that receiving terminal apparatus send, should Method also includes:Judge whether wireless router supports DHCP service, if wireless router supports DHCP service, set to terminal Preparation send the first response message.
Specifically, wireless router receive terminal unit transmission the first request message after, judge this first The solicited message of the IP address of acquisition request terminal unit is carried in request message, therefore, wireless router needs first to judge Whether which supports DHCP service, if supporting DHCP service, sends the first response message to terminal unit, if not supporting, DHCP takes Business, then will carry out the certification and association of terminal unit according to the mode in correlation technique, after certification and association process are completed, According still further to the mode of static allocation IP address, it is terminal unit distribution IP address.
The method of the network access by wireless terminal of the present embodiment, as wireless router is receiving terminal unit transmission First request message, and when judging which supports DHCP service, then the first response message is sent to terminal unit, it is possible thereby to Improve the efficiency that terminal unit is reached the standard grade.
The method for the foregoing describing network access by wireless terminal realizes process, and the process can be by wireless terminal access network Built-in function and structure to the device is illustrated realizing by the device of network below.
Fig. 8 is a kind of block diagram of the device of the network access by wireless terminal according to an exemplary embodiment.Such as Fig. 8 institutes Show, the device of the network access by wireless terminal includes the first sending module 11, the first receiver module 12,13 He of the second sending module Second receiver module 14.
First sending module 11 is configured to send the first request message to wireless router;First request message is taken The first configured information with asking the wireless router to be authenticated the information of the terminal unit and acquisition request institute State the solicited message of the network interconnection Protocol IP address of terminal unit;
First receiver module 12 is configured to receive the first response message that the wireless router sends, first sound Message is answered to carry for indicating the second configured information that whether authentification of message of the terminal unit pass through and setting for the terminal Distribution information of the back-up with IP address;
Second sending module 13 is configured as second configured information and indicates that the authentification of message of the terminal unit leads to It is out-of-date, the second request message is sent to the wireless router, second request message is carried will be described wireless for request The related information that router and the terminal unit are associated, and indicate the IP address of the distribution as the terminal 3rd configured information of the target ip address of equipment;
Second receiver module 14 is configured to receive the second response message that the wireless router sends, second sound Answer message to carry for indicating the 4th configured information that the wireless router and the terminal unit are successfully associated, and indicate For the terminal unit into distribution of work IP address the 5th configured information.
The device of the network access by wireless terminal of the present embodiment, by sending the first request message to wireless router, should First request message carries the first configured information and the request that request wireless router is authenticated to the information of terminal unit The solicited message of the network interconnection Protocol IP address of terminal unit is obtained, and receives the first response report of wireless router transmission Text, first response message carry the second the configured information whether authentification of message for instruction terminal equipment pass through and for terminal Equipment distributes the distribution information of IP address, when the authentification of message of the second configured information instruction terminal equipment passes through, to without circuit Second request message is sent by device, and second request message is carried and wireless router and terminal unit is associated for request Related information, and indicate will distribution IP address as the 3rd configured information of the target ip address of terminal unit, and connect The second response message that wireless router sends is received, second response message is carried for indicating wireless router and terminal unit The 4th configured information being successfully associated, and terminal unit is designated as into the 5th configured information of distribution of work IP address.Due to end End equipment can be by the first configured information and acquisition request IP address for asking to be authenticated the information of terminal unit Solicited message carries simultaneously and wireless router is sent in the first request message, and when the first response message is received, will For the related information for asking to be associated wireless router and terminal unit, and indicate the IP address of distribution as end 3rd configured information of the target ip address of end equipment carries simultaneously and wireless router is sent in the second request message, thus The interaction times of information between terminal unit and wireless router can be reduced, such that it is able to improve the effect that terminal unit is reached the standard grade Rate.
Wherein, as shown in figure 9, Fig. 9 is a kind of network access by wireless terminal exemplified according to another exemplary enforcement The block diagram of device, on the basis of embodiment illustrated in fig. 8, described device also includes:
First generation module 15 is configured to when first request message is generated, in the sky of first configured information Increase the solicited message of the IP address for terminal unit described in acquisition request in wrongly written or mispronounced character section, first configured information is used The information of the terminal unit is authenticated in the wireless router is asked.
Wherein, as shown in Figure 10, Figure 10 is a kind of network access by wireless terminal according to further example embodiment Device block diagram, on the basis of embodiment illustrated in fig. 8, described device also includes:
Second generation module 16 is configured to when second request message is generated, in the blank word of the related information Section in increase for indicate using the IP address of the distribution as the target ip address of the terminal unit the 3rd configured information, The related information is used for request and is associated the wireless router and the terminal unit.
Figure 11 is a kind of block diagram of the device of the network access by wireless terminal according to another exemplary embodiment.As schemed Shown in 11, the device of the network access by wireless terminal includes the first receiver module 21, the first sending module 22, the second receiver module 23 and second sending module 24.
First receiver module 21 is configured to the first request message of receiving terminal apparatus transmission, first request message Carry the first configured information and acquisition request that the request wireless router is authenticated to the information of the terminal unit The solicited message of the network interconnection Protocol IP address of the terminal unit;
First sending module 22 is configured to send the first response message, first response message to the terminal unit Carry for indicating the second configured information that whether authentification of message of the terminal unit pass through and distributing for the terminal unit The distribution information of IP address;
Second receiver module 23 is configured to receive the second request message that the terminal unit sends, second request Message carries the related information for asking to be associated the wireless router and the terminal unit, and indicates institute State threeth configured information of the IP address as the target ip address of the terminal unit of distribution;
Second sending module 24 is configured to send the second response message, second response message to the terminal unit Carry for indicating the 4th configured information that the wireless router and the terminal unit are successfully associated, and be designated as described Fiveth configured information of the terminal unit into distribution of work IP address.
The device of the network access by wireless terminal of the present embodiment, the first request message sent by receiving terminal apparatus, The first configured information and ask that first request message carrying request wireless router is authenticated to the information of terminal unit The solicited message of the network interconnection Protocol IP address for obtaining terminal unit is sought, and the first response message is sent to terminal unit, should First response message carries the second the configured information whether authentification of message for instruction terminal equipment pass through and for terminal unit The distribution information of distribution IP address, and the second request message that receiving terminal apparatus send, second request message are carried and are used for The related information that wireless router and terminal unit are associated by request, and indicate the IP address of distribution is set as terminal 3rd configured information of standby target ip address, and the second response message is sent to terminal unit, second response message is carried For indicating the 4th configured information that wireless router and terminal unit are successfully associated, and terminal unit is designated as into the distribution of work 5th configured information of IP address.Whether the authentification of message for instruction terminal equipment can be passed through due to wireless router Second configured information and the distribution information for distributing IP address for terminal unit are carried simultaneously and are sent to end in the first response message End equipment, and will be used for indicating the 4th configured information that wireless router and terminal unit are successfully associated, and it is designated as terminal Equipment carries into the 5th configured information of distribution of work IP address simultaneously and terminal unit is sent in the second response message, thus may be used To reduce the interaction times of information between terminal unit and wireless router, such that it is able to improve the efficiency that terminal unit is reached the standard grade.
Wherein, as shown in figure 12, Figure 12 is a kind of network access by wireless terminal according to another exemplary embodiment Device block diagram, on the basis of embodiment illustrated in fig. 11, described device also includes:
First generation module 25 is configured to when first response message is generated, in the sky of second configured information Increase the distribution information for distributing IP address for being designated as the terminal unit in wrongly written or mispronounced character section, second configured information is used to refer to Show whether the authentification of message of the terminal unit passes through.
Wherein, as shown in figure 13, Figure 13 is a kind of network access by wireless terminal according to another exemplary embodiment Device block diagram, on the basis of embodiment illustrated in fig. 11, described device also includes:
Second generation module 26 is configured to when second response message is generated, in the sky of the 4th configured information Increase in wrongly written or mispronounced character section for being designated as the terminal unit into the 5th configured information of distribution of work IP address, the described 4th indicates letter Cease for indicating that the wireless router and the terminal unit are successfully associated.
Wherein, as shown in figure 14, Figure 14 is a kind of network access by wireless terminal according to another exemplary embodiment Device block diagram, on the basis of embodiment illustrated in fig. 11, described device also includes:
Judge module 27 is configured to judge whether the wireless router supports dynamic host configuration protocol DHCP service;
3rd sending module 28 is configured to judge that the wireless router support is described in the judge module 27 During DHCP service, the first response message is sent to the terminal unit.
With regard to the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Inner function module and the structural representation of terminal unit are the foregoing described, Figure 15 is shown according to an exemplary embodiment A kind of block diagram of the entity of the terminal unit for going out, with reference to Figure 15, the terminal unit can be implemented as:
Processor;
It is configured to store the memorizer of processor executable;
Wherein, the processor is configured to:
The first request message is sent to wireless router;First request message carries the request wireless router pair The first configured information and the network interconnection association of terminal unit described in acquisition request that the information of the terminal unit is authenticated The solicited message of view IP address;
The first response message that the wireless router sends is received, first response message carries described for indicating The second configured information and the distribution information for terminal unit distribution IP address that whether the authentification of message of terminal unit passes through;
When second configured information indicates that the authentification of message of the terminal unit passes through, send out to the wireless router The second request message is sent, second request message is carried to be carried out the wireless router and the terminal unit for request The related information of association, and indicate to refer to the IP address of the distribution as the 3rd of the target ip address of the terminal unit Show information;
The second response message that the wireless router sends is received, second response message carries described for indicating The 4th configured information that wireless router and the terminal unit are successfully associated, and the terminal unit is designated as into the distribution of work 5th configured information of IP address.
Inner function module and the structural representation of wireless router are the foregoing described, Figure 16 is according to an exemplary embodiment A kind of block diagram of the entity of the wireless router for illustrating, with reference to Figure 16, the wireless router can be implemented as:
Processor;
It is configured to store the memorizer of processor executable;
Wherein, the processor is configured to:
The first request message that receiving terminal apparatus send, first request message carry the request wireless router The network interconnection of the first configured information and terminal unit described in acquisition request that the information of the terminal unit is authenticated The solicited message of Protocol IP address;
The first response message is sent to the terminal unit, first response message is carried for indicating that the terminal sets The second configured information and the distribution information for terminal unit distribution IP address that whether standby authentification of message passes through;
The second request message that the terminal unit sends is received, second request message is carried will be described for request The related information that wireless router and the terminal unit are associated, and indicate the IP address of the distribution as described 3rd configured information of the target ip address of terminal unit;
The second response message is sent to the terminal unit, second response message carries described without circuit for indicating The 4th configured information being successfully associated by device and the terminal unit, and the terminal unit is designated as into distribution of work IP address The 5th configured information.
Figure 17 is a kind of block diagram of the device for network access by wireless terminal according to an exemplary embodiment.Example Such as, device 800 can be mobile phone, and computer, digital broadcast terminal, messaging devices, game console, flat board set It is standby, armarium, body-building equipment, personal digital assistant etc..
With reference to Figure 17, device 800 can include following one or more assemblies:Process assembly 802, memorizer 804, power supply Component 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and Communication component 816.
The integrated operation of 802 usual control device 800 of process assembly, such as with display, call, data communication, phase Machine operates and records the associated operation of operation.Process assembly 802 can refer to perform including one or more processors 820 Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 802 can include one or more modules, just Interaction between process assembly 802 and other assemblies.For example, process assembly 802 can include multi-media module, many to facilitate Interaction between media component 808 and process assembly 802.
Memorizer 804 is configured to store various types of data to support the operation in equipment 800.These data are shown Example includes the instruction of any application program or method for operating on device 800, and contact data, telephone book data disappear Breath, picture, video etc..Memorizer 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile Journey read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 can include power management system System, one or more power supplys, and other generate, manage and distribute the component that electric power is associated with for device 800.
Multimedia groupware 808 is included in the screen of one output interface of offer between described device 800 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and the touch or slide related persistent period and pressure.In certain embodiments, many matchmakers Body component 808 includes a front-facing camera and/or post-positioned pick-up head.When equipment 800 be in operator scheme, such as screening-mode or During video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and Post-positioned pick-up head can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured to output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind (MIC), when device 800 is in operator scheme, such as call model, logging mode and speech recognition mode, mike is matched somebody with somebody It is set to reception external audio signal.The audio signal for being received can be further stored in memorizer 804 or via communication set Part 816 sends.In certain embodiments, audio-frequency assembly 810 also includes a speaker, for exports audio signal.
, for interface is provided between process assembly 802 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 812 To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 814 includes one or more sensors, and the state for various aspects are provided for device 800 is commented Estimate.For example, sensor cluster 814 can detect the opening/OFF state of equipment 800, and the relative localization of component is for example described Display and keypad of the component for device 800, sensor cluster 814 can be with 800 1 components of detection means 800 or device Position change, user is presence or absence of with what device 800 was contacted, 800 orientation of device or acceleration/deceleration and device 800 Temperature change.Sensor cluster 814 can include proximity transducer, be configured to detect when not having any physical contact The presence of object nearby.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, for into As used in application.In certain embodiments, the sensor cluster 814 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure transducer or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary enforcement In example, communication component 816 receives the broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 also includes near-field communication (NFC) module, to promote junction service.Example Such as, NFC module can be based on RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, Bluetooth (BT) technology and other technologies are realizing.
In the exemplary embodiment, device 800 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realizations, for performing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided Such as include the memorizer 804 of instruction, above-mentioned instruction can be performed to complete said method by the processor 820 of device 800.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the process of terminal unit When device is performed so that terminal unit is able to carry out a kind of method of network access by wireless terminal, including:
The first request message is sent to wireless router;First request message carries the request wireless router pair The first configured information and the network interconnection association of terminal unit described in acquisition request that the information of the terminal unit is authenticated The solicited message of view IP address;
The first response message that the wireless router sends is received, first response message carries described for indicating The second configured information and the distribution information for terminal unit distribution IP address that whether the authentification of message of terminal unit passes through;
When second configured information indicates that the authentification of message of the terminal unit passes through, send out to the wireless router The second request message is sent, second request message is carried to be carried out the wireless router and the terminal unit for request The related information of association, and indicate to refer to the IP address of the distribution as the 3rd of the target ip address of the terminal unit Show information;
The second response message that the wireless router sends is received, second response message carries described for indicating The 4th configured information that wireless router and the terminal unit are successfully associated, and the terminal unit is designated as into the distribution of work 5th configured information of IP address.
Wherein, before first request message of transmission to wireless router, methods described also includes:
When generating first request message, increase for acquisition request in the null field of first configured information The solicited message of the IP address of the terminal unit, first configured information are used to ask the wireless router to institute The information for stating terminal unit is authenticated.
Wherein, before second request message of transmission to the wireless router, methods described also includes:
When generating second request message, increase in the null field of the related information for indicating described point Threeth configured information of the IP address matched somebody with somebody as the target ip address of the terminal unit, the related information are used for request by institute State wireless router and the terminal unit is associated.
Figure 18 is a kind of block diagram of the device for network access by wireless terminal according to an exemplary embodiment.Example Such as, device 1900 may be provided in a server.With reference to Figure 18, device 1900 includes process assembly 1922, and which further wraps One or more processors, and the memory resource by representated by memorizer 1932 are included, can be by process assembly for storage The instruction of 1922 execution, such as application program.The application program stored in memorizer 1932 can including one or one with On each corresponding to one group of instruction module.Additionally, process assembly 1922 is configured to execute instruction, to perform following sides Method:
The first request message that receiving terminal apparatus send, first request message carry the request wireless router The network interconnection of the first configured information and terminal unit described in acquisition request that the information of the terminal unit is authenticated The solicited message of Protocol IP address;
The first response message is sent to the terminal unit, first response message is carried for indicating that the terminal sets The second configured information and the distribution information for terminal unit distribution IP address that whether standby authentification of message passes through;
The second request message that the terminal unit sends is received, second request message is carried will be described for request The related information that wireless router and the terminal unit are associated, and indicate the IP address of the distribution as described 3rd configured information of the target ip address of terminal unit;
The second response message is sent to the terminal unit, second response message carries described without circuit for indicating The 4th configured information being successfully associated by device and the terminal unit, and the terminal unit is designated as into distribution of work IP address The 5th configured information.
Wherein, before first response message of transmission to the terminal unit, methods described also includes:
When generating first response message, increase for being designated as in the null field of second configured information The distribution information that terminal unit distributes IP address is stated, second configured information is used for the authentification of message for indicating the terminal unit Whether pass through.
Wherein, before second response message of transmission to the terminal unit, methods described also includes:
When generating second response message, increase for being designated as in the null field of the 4th configured information Terminal unit is stated into the 5th configured information of distribution of work IP address, the 4th configured information is used to indicate the wireless router It is successfully associated with the terminal unit.
Wherein, after the first request message that the receiving terminal apparatus send, methods described also includes:
Judge whether the wireless router supports dynamic host configuration protocol DHCP service;
If the wireless router supports the DHCP service, the first response message is sent to the terminal unit.
Device 1900 can also include that power supply module 1926 be configured to the power management of performs device 1900, one Wired or wireless network interface 1950 is configured to for device 1900 to be connected to network, and input and output (I/O) interface 1958.Device 1900 can be operated based on the operating system for being stored in memorizer 1932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art will readily occur to its of the present invention after considering description and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification of the present invention, purposes or adaptations, these modifications, purposes or Person's adaptations follow the general principle of the present invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following Claims are pointed out.
It should be appreciated that the precision architecture for being described above and being shown in the drawings is the invention is not limited in, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present invention is limited only by appending claims System.

Claims (16)

1. a kind of method of network access by wireless terminal, it is characterised in that be applied to terminal unit, methods described includes:
The first request message is sent to wireless router;First request message carries the request wireless router to described The first configured information and the network interconnection protocol IP of terminal unit described in acquisition request that the information of terminal unit is authenticated The solicited message of address;
The first response message that the wireless router sends is received, first response message is carried for indicating the terminal The second configured information and the distribution information for terminal unit distribution IP address that whether the authentification of message of equipment passes through;
When second configured information indicates that the authentification of message of the terminal unit passes through, the is sent to the wireless router Two request messages, second request message are carried and are associated the wireless router and the terminal unit for request Related information, and indicate using the IP address of the distribution as the target ip address of the terminal unit the 3rd instruction letter Breath;
The second response message that the wireless router sends is received, second response message carries described wireless for indicating The 4th configured information that router and the terminal unit are successfully associated, and the terminal unit is designated as into distribution of work IP ground 5th configured information of location.
2. method according to claim 1, it is characterised in that it is described to wireless router send the first request message it Before, methods described also includes:
When generating first request message, increase for described in acquisition request in the null field of first configured information The solicited message of the IP address of terminal unit, first configured information are used to ask the wireless router to the end The information of end equipment is authenticated.
3. method according to claim 1, it is characterised in that described to send the second request message to the wireless router Before, methods described also includes:
When generating second request message, increase in the null field of the related information for indicating the distribution Threeth configured information of the IP address as the target ip address of the terminal unit, the related information are used for request by the nothing Line router and the terminal unit are associated.
4. a kind of method of network access by wireless terminal, it is characterised in that be applied to wireless router, methods described includes:
The first request message that receiving terminal apparatus send, first request message carry the request wireless router to institute State the network interconnection agreement of the first configured information that the information of terminal unit is authenticated and terminal unit described in acquisition request The solicited message of IP address;
The first response message is sent to the terminal unit, first response message is carried for indicating the terminal unit The second configured information and the distribution information for terminal unit distribution IP address that whether authentification of message passes through;
The second request message that the terminal unit sends is received, second request message is carried will be described wireless for request The related information that router and the terminal unit are associated, and indicate the IP address of the distribution as the terminal 3rd configured information of the target ip address of equipment;
The second response message is sent to the terminal unit, second response message is carried for indicating the wireless router The 4th configured information being successfully associated with the terminal unit, and the terminal unit is designated as into the of distribution of work IP address Five configured informations.
5. method according to claim 4, it is characterised in that it is described to the terminal unit send the first response message it Before, methods described also includes:
When generating first response message, increase in the null field of second configured information for being designated as the end End equipment distributes the distribution information of IP address, and whether second configured information is used to indicating the authentification of message of the terminal unit Pass through.
6. method according to claim 4, it is characterised in that it is described to the terminal unit send the second response message it Before, methods described also includes:
When generating second response message, increase for being designated as the end in the null field of the 4th configured information Fiveth configured information of the end equipment into distribution of work IP address, the 4th configured information are used to indicate the wireless router and institute State terminal unit to be successfully associated.
7. method according to claim 4, it is characterised in that the first request message that the receiving terminal apparatus send it Afterwards, methods described also includes:
Judge whether the wireless router supports dynamic host configuration protocol DHCP service;
If the wireless router supports the DHCP service, the first response message is sent to the terminal unit.
8. a kind of device of network access by wireless terminal, it is characterised in that include:
First sending module, is configured to send the first request message to wireless router;First request message is carried please Ask described in the first configured information and acquisition request that the wireless router is authenticated to the information of the terminal unit eventually The solicited message of the network interconnection Protocol IP address of end equipment;
First receiver module, is configured to receive the first response message that the wireless router sends, the first response report Text is carried for indicating the second configured information that whether authentification of message of the terminal unit pass through and for the terminal unit point Distribution information with IP address;
Second sending module, when being configured as second configured information and indicating that the authentification of message of the terminal unit passes through, The second request message is sent to the wireless router, second request message is carried for asking the wireless router The related information being associated with the terminal unit, and indicate the IP address of the distribution as the terminal unit 3rd configured information of target ip address;
Second receiver module, is configured to receive the second response message that the wireless router sends, the second response report Text is carried for indicating the 4th configured information that the wireless router and the terminal unit are successfully associated, and is designated as institute Terminal unit is stated into the 5th configured information of distribution of work IP address.
9. device according to claim 8, it is characterised in that described device also includes:
First generation module, is configured to when first request message is generated, in the blank word of first configured information Increase the solicited message of the IP address for terminal unit described in acquisition request in section, first configured information is used for please The wireless router is asked to be authenticated the information of the terminal unit.
10. device according to claim 8, it is characterised in that described device also includes:
Second generation module, is configured to when second request message is generated, in the null field of the related information Increase for indicate using the IP address of the distribution as the target ip address of the terminal unit the 3rd configured information, it is described Related information is used for request and is associated the wireless router and the terminal unit.
11. a kind of devices of network access by wireless terminal, it is characterised in that include:
First receiver module, is configured to the first request message of receiving terminal apparatus transmission, and first request message is carried Ask described in the first configured information that the wireless router is authenticated to the information of the terminal unit and acquisition request The solicited message of the network interconnection Protocol IP address of terminal unit;
First sending module, is configured to send the first response message to the terminal unit, and first response message is carried For indicating the second configured information that whether authentification of message of the terminal unit pass through and for terminal unit distribution IP ground The distribution information of location;
Second receiver module, is configured to receive the second request message that the terminal unit sends, second request message The related information for asking to be associated the wireless router and the terminal unit is carried, and is indicated described point Threeth configured information of the IP address matched somebody with somebody as the target ip address of the terminal unit;
Second sending module, is configured to send the second response message to the terminal unit, and second response message is carried For indicating the 4th configured information that the wireless router and the terminal unit are successfully associated, and it is designated as the terminal Fiveth configured information of the equipment into distribution of work IP address.
12. devices according to claim 11, it is characterised in that described device also includes:
First generation module, is configured to when first response message is generated, in the blank word of second configured information Increase the distribution information for distributing IP address for being designated as the terminal unit in section, second configured information is used to indicate institute Whether the authentification of message for stating terminal unit passes through.
13. devices according to claim 11, it is characterised in that described device also includes:
Second generation module, is configured to when second response message is generated, in the blank word of the 4th configured information Increase in section for being designated as the terminal unit into the 5th configured information of distribution of work IP address, the 4th configured information is used It is successfully associated in the instruction wireless router and the terminal unit.
14. devices according to claim 11, it is characterised in that described device also includes:
Judge module, is configured to judge whether the wireless router supports dynamic host configuration protocol DHCP service;
3rd sending module, is configured to judge that the wireless router supports the DHCP service in the judge module When, the first response message is sent to the terminal unit.
15. a kind of terminal unit, it is characterised in that include:
Processor;
It is configured to store the memorizer of processor executable;
Wherein, the processor is configured to:
The first request message is sent to wireless router;First request message carries the request wireless router to described The first configured information and the network interconnection protocol IP of terminal unit described in acquisition request that the information of terminal unit is authenticated The solicited message of address;
The first response message that the wireless router sends is received, first response message is carried for indicating the terminal The second configured information and the distribution information for terminal unit distribution IP address that whether the authentification of message of equipment passes through;
When second configured information indicates that the authentification of message of the terminal unit passes through, the is sent to the wireless router Two request messages, second request message are carried and are associated the wireless router and the terminal unit for request Related information, and indicate using the IP address of the distribution as the target ip address of the terminal unit the 3rd instruction letter Breath;
The second response message that the wireless router sends is received, second response message carries described wireless for indicating The 4th configured information that router and the terminal unit are successfully associated, and the terminal unit is designated as into distribution of work IP ground 5th configured information of location.
16. a kind of wireless routers, it is characterised in that include:
Processor;
It is configured to store the memorizer of processor executable;
Wherein, the processor is configured to:
The first request message that receiving terminal apparatus send, first request message carry the request wireless router to institute State the network interconnection agreement of the first configured information that the information of terminal unit is authenticated and terminal unit described in acquisition request The solicited message of IP address;
The first response message is sent to the terminal unit, first response message is carried for indicating the terminal unit The second configured information and the distribution information for terminal unit distribution IP address that whether authentification of message passes through;
The second request message that the terminal unit sends is received, second request message is carried will be described wireless for request The related information that router and the terminal unit are associated, and indicate the IP address of the distribution as the terminal 3rd configured information of the target ip address of equipment;
The second response message is sent to the terminal unit, second response message is carried for indicating the wireless router The 4th configured information being successfully associated with the terminal unit, and the terminal unit is designated as into the of distribution of work IP address Five configured informations.
CN201611113899.3A 2016-12-07 2016-12-07 Method and device for making wireless terminal access network and equipment Pending CN106535171A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611113899.3A CN106535171A (en) 2016-12-07 2016-12-07 Method and device for making wireless terminal access network and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611113899.3A CN106535171A (en) 2016-12-07 2016-12-07 Method and device for making wireless terminal access network and equipment

Publications (1)

Publication Number Publication Date
CN106535171A true CN106535171A (en) 2017-03-22

Family

ID=58341583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611113899.3A Pending CN106535171A (en) 2016-12-07 2016-12-07 Method and device for making wireless terminal access network and equipment

Country Status (1)

Country Link
CN (1) CN106535171A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924506A (en) * 2018-08-01 2018-11-30 广州视源电子科技股份有限公司 Connection method, device, recorded broadcast host and the picture pick-up device of recording and broadcasting system
CN110085014A (en) * 2019-04-30 2019-08-02 重庆政勤实业有限公司 A kind of wireless control system
CN110769482A (en) * 2019-09-16 2020-02-07 浙江大华技术股份有限公司 Method and device for network connection of wireless equipment and wireless router equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217575A (en) * 2008-01-18 2008-07-09 杭州华三通信技术有限公司 An IP address allocation and device in user end certification process
CN101478576A (en) * 2008-01-03 2009-07-08 华为技术有限公司 Method, apparatus and system for selecting service network
CN102611712A (en) * 2012-04-10 2012-07-25 中山爱科数字家庭产业孵化基地有限公司 Digital home network access and authentication method
CN103442450A (en) * 2013-08-21 2013-12-11 宇龙计算机通信科技(深圳)有限公司 Wireless communication method and wireless communication equipment
EP2782372A1 (en) * 2011-11-15 2014-09-24 ZTE Corporation Method, network element and ue achieving identifier and location separation and interface identifier allocation
CN104320780A (en) * 2014-11-17 2015-01-28 上海斐讯数据通信技术有限公司 Authentication sharing method and module for wireless routers inside local area network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478576A (en) * 2008-01-03 2009-07-08 华为技术有限公司 Method, apparatus and system for selecting service network
CN101217575A (en) * 2008-01-18 2008-07-09 杭州华三通信技术有限公司 An IP address allocation and device in user end certification process
EP2782372A1 (en) * 2011-11-15 2014-09-24 ZTE Corporation Method, network element and ue achieving identifier and location separation and interface identifier allocation
CN102611712A (en) * 2012-04-10 2012-07-25 中山爱科数字家庭产业孵化基地有限公司 Digital home network access and authentication method
CN103442450A (en) * 2013-08-21 2013-12-11 宇龙计算机通信科技(深圳)有限公司 Wireless communication method and wireless communication equipment
CN104320780A (en) * 2014-11-17 2015-01-28 上海斐讯数据通信技术有限公司 Authentication sharing method and module for wireless routers inside local area network

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924506A (en) * 2018-08-01 2018-11-30 广州视源电子科技股份有限公司 Connection method, device, recorded broadcast host and the picture pick-up device of recording and broadcasting system
CN110085014A (en) * 2019-04-30 2019-08-02 重庆政勤实业有限公司 A kind of wireless control system
CN110769482A (en) * 2019-09-16 2020-02-07 浙江大华技术股份有限公司 Method and device for network connection of wireless equipment and wireless router equipment
CN110769482B (en) * 2019-09-16 2022-03-01 浙江大华技术股份有限公司 Method and device for network connection of wireless equipment and wireless router equipment
US11729141B2 (en) 2019-09-16 2023-08-15 Zhejiang Dahua Technology Co., Ltd. Network connection systems and methods and network access devices

Similar Documents

Publication Publication Date Title
US10028146B2 (en) Management server and method for controlling device, user terminal apparatus and method for controlling device, and user terminal apparatus and control method thereof
CN105450655B (en) Apparatus bound method and apparatus
CN104468329B (en) Member adding method and device based on instant messaging
KR101793443B1 (en) Method, apparatus, program and recording medium for setting smart device management account
CN104936304A (en) Intelligent equipment binding method, intelligent equipment, and server
CN108810861A (en) Connection method, device and the storage medium of smart machine
CN104159226A (en) Network connection method and device
CN108768803A (en) Add the method, apparatus and storage medium of smart machine
CN106358189A (en) Device and method for accessing wireless local area network
CN109407528A (en) Safety access method, device, server and storage medium
CN104320830A (en) Wireless device list display method and apparatus, wireless device and broadcasting method thereof
CN109451838A (en) Obtain the method, apparatus and storage medium of access control parameter
CN106535171A (en) Method and device for making wireless terminal access network and equipment
CN106101177B (en) Network Access Method and device
CN108600529A (en) Information interacting method, device and computer readable storage medium
CN106604230A (en) Region configuration method and region configuration device
CN107105339A (en) A kind of methods, devices and systems for playing live video
CN105515923A (en) Equipment control method and device
CN104618987B (en) Access the method and device of network
CN106598540A (en) Audio playing method and device
CN109041145A (en) Communication means, device, terminal and storage medium
CN105307288A (en) Disconnecting method and device
CN105430642B (en) Document transmission method and device
CN106413046A (en) Wireless network recommendation method, device and equipment
CN108432160A (en) The device and method of data are sent and received based on voice signal in a wireless communication system

Legal Events

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

Application publication date: 20170322

RJ01 Rejection of invention patent application after publication