CN107659999A - WIFI connection methods and equipment - Google Patents

WIFI connection methods and equipment Download PDF

Info

Publication number
CN107659999A
CN107659999A CN201711051293.6A CN201711051293A CN107659999A CN 107659999 A CN107659999 A CN 107659999A CN 201711051293 A CN201711051293 A CN 201711051293A CN 107659999 A CN107659999 A CN 107659999A
Authority
CN
China
Prior art keywords
router
wifi
electronic equipment
connection
equipment
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
CN201711051293.6A
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.)
Qingdao Hisense Electronics Co Ltd
Original Assignee
Qingdao Hisense Electronics 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 Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201711051293.6A priority Critical patent/CN107659999A/en
Publication of CN107659999A publication Critical patent/CN107659999A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Abstract

The embodiment of the present invention provides a kind of WIFI connection methods and equipment, wherein, this method includes:The first connection request of electronic equipment is received, the first connection request includes the MAC Address and WIFI configuration informations of electronic equipment;Based on the first connection request, the second connection request is sent to the router of WIFI network, so that router establishes the connection with electronic equipment;First connection response information of receiving router feedback, the first connection response information include MAC Address, service set, WIFI keys and the channel index of router;The second connection response information is sent to electronic equipment, so that electronic equipment is connected according to the second connection response information with router, the second connection response information includes MAC Address, service set, WIFI keys and the channel index of router.Method and apparatus provided in an embodiment of the present invention, the number of electronic equipment access wireless network can be limited, lift the controllability of network access traffic and quality.

Description

WIFI connection methods and equipment
Technical field
The present embodiments relate to WiFi technology field, more particularly to a kind of WIFI connection methods and equipment.
Background technology
Wireless network (Wireless-Fidelity, abbreviation WIFI) function turns into modern cell phones, tablet personal computer, notes The indispensable function of the terminal devices such as this computer, it obtained extensive use in private area and public domain.Especially exist In public domain (such as cafe, dining room region), in order to improve service quality generally by the password display of WIFI network aobvious On the position of eye, to facilitate user access network.
However, the terminal device of user will record access pin once access network, and make automatically when connecting next time Accessed with the access pin recorded.On the premise of access pin is changed without, user can not be limited and access number, caused The problem of unmanageable network access traffic and quality.
The content of the invention
The embodiment of the present invention provides a kind of WIFI connection methods and equipment, to limit electronic equipment access wireless network Number, lift the controllability of network access traffic and quality.
First aspect of the embodiment of the present invention provides a kind of WIFI connection methods, and this method includes:
Agent equipment receives the first connection request of electronic equipment, and first connection request includes the electronic equipment MAC Address and WIFI configuration informations;
Based on the access pin being locally stored, and the MAC Address of the electronic equipment and WIFI configuration informations, to WIFI The router of network sends the second connection request, is connected so that the router is established with the WIFI of the electronic equipment;
The first connection response information of the router feedback is received, the first connection response information includes the route MAC Address, service set, WIFI keys and the channel index of device;
The second connection response information is sent to the electronic equipment, so that the electronic equipment rings according to the described second connection Information is answered to be connected with the router, the second connection response information includes MAC Address, the services set mark of the router Knowledge, WIFI keys and channel index.
Alternatively, it is described based on the access pin being locally stored, and the MAC Address of the electronic equipment and WIFI configurations Information, before sending the second connection request to the router of WIFI network, methods described also includes:
Judge whether to be in connection status with the router of WIFI network;
If being in connection status with the router, the connection between the router is disconnected.
Alternatively, it is described judge whether to be in connection status with the router of WIFI network before, methods described also includes:
Whether the number of devices for judging to have accessed WIFI network exceedes predetermined number;
If having accessed the number of devices of WIFI network not less than predetermined number, judge whether the router with WIFI network In connection status.
Alternatively, it is described judge whether to be in connection status with the router of WIFI network before, methods described also includes:
The WIFI configuration informations of the electronic equipment are verified;
If being verified, judge whether to be in connection status with the router of WIFI network;
If checking to the electronic equipment by not sending prompting message.
Alternatively, methods described also includes:
Monitor whether the Connection Time between the electronic equipment and the router exceedes preset duration;
If exceeding preset duration, the connection between the electronic equipment and the router is disconnected.
Second aspect of the embodiment of the present invention provides a kind of WIFI connection methods, including:
Electronic equipment sends the first connection request to agent equipment, so that the agent equipment is based on the access being locally stored The MAC Address and WIFI configuration informations for the electronic equipment that password and the first connection request include, to WIFI network Router sends the second connection request, is connected so that the router is established with the WIFI of the electronic equipment;
After the router is established and is connected with the WIFI of the electronic equipment, the electronic equipment receives the agency and set Standby the second connection response information returned, the second connection response information include MAC Address, the services set mark of the router Knowledge, WIFI keys and channel index;
The electronic equipment is according to the MAC Address of the router, service set, WIFI keys and channel index and institute State router connection.
The third aspect of the embodiment of the present invention provides a kind of agent equipment, and the equipment includes:
First receiving module, for receiving the first connection request of electronic equipment, first connection request includes described The MAC Address and WIFI configuration informations of electronic equipment;
First sending module, for based on the access pin being locally stored, and the MAC Address of the electronic equipment and WIFI configuration informations, the second connection request is sent to the router of WIFI network, so that the router is established and the electronics The WIFI connections of equipment;
Second receiving module, for receiving the first connection response information of the router feedback, first connection rings Information is answered to include MAC Address, service set, WIFI keys and the channel index of the router;
Second sending module, for sending the second connection response information to the electronic equipment, so that the electronic equipment It is connected according to the second connection response information with the router, the second connection response information includes the router MAC Address, service set, WIFI keys and channel index.
Alternatively, the agent equipment also includes:
First judge module, for judging whether the agent equipment with the router of WIFI network is in connection status;
Link block, for being in connection status in the agent equipment and the router, disconnect agent equipment and institute State the connection between router.
Alternatively, the agent equipment also includes:
Whether the second judge module, the number of devices for judging to have accessed WIFI network exceed predetermined number;
First judge module, for when having accessed the number of devices of WIFI network not less than predetermined number, judging Whether with the router of WIFI network connection status is in.
Alternatively, the agent equipment also includes:
Authentication module, for being verified to the WIFI configuration informations of the electronic equipment;
First judge module, for when being verified, judging whether to be in connection with the router of WIFI network State;
3rd sending module, for checking not by when, to the electronic equipment send prompting message.
Alternatively, the agent equipment also includes:
Monitoring modular, when whether exceeding default for monitoring the Connection Time between the electronic equipment and the router It is long;
Switch module, when exceeding preset duration for the Connection Time between the electronic equipment and the router, Disconnect the connection between the electronic equipment and the router.
Fourth aspect of the embodiment of the present invention provides a kind of electronic equipment, including:
Sending module, for sending the first connection request to agent equipment, so that the agent equipment is based on being locally stored Access pin and the first connection request MAC Address and WIFI configuration informations of the electronic equipment that include, to WIFI network Router send the second connection request so that the router establish be connected with the WIFI of the electronic equipment;
Receiving module, for after the router is established and is connected with the WIFI of the electronic equipment, receiving the agency The second connection response information that equipment returns, the second connection response information include the MAC Address of the router, services set Mark, WIFI keys and channel index;
Link block, for the MAC Address according to the router, service set, WIFI keys and channel index with The router connection.
The embodiment of the present invention, the first connection request that agent equipment is sent by receiving electronic equipment, based on the first connection The MAC Address and WIFI configuration informations that are carried in request and the access pin being locally stored, sent out to the router of WIFI network Send the second connection request so that router is established according to the second connection request and is connected with the WIFI of electronic equipment, and receives route First connection response information of device feedback, by MAC Address, the services set mark of the router carried in the first connection response information Know, WIFI keys and channel index carry and be sent to electronic equipment in the second connection response information so that electronic equipment is established Connection between router.Because electronic equipment is not involved in establishing the process of connection in router in the embodiment of the present invention, and It is according to the access pin and the MAC Address of electronic equipment and WIFI configuration informations being locally stored, for electronics by agent equipment Equipment connects to router solicitation, and MAC Address, service set, WIFI keys and channel that the first router is issued refer to Pin is sent to electronic equipment, so as to complete what is be connected between electronic equipment and router, therefore, there is no need to carry to electronic equipment For the access pin of WIFI network, such electronic equipment cannot store the access pin of the WIFI network, and in next time, access should Also need to allow that access could be completed by agent equipment during WIFI network, can not be accessed if agent equipment does not allow access, So as to limit the number that electronic equipment accesses the WIFI network, the controllability of network access traffic and quality is improved.Together When also will not because the manager of WIFI network forgets access pin and the problem of leading to not share WIFI network, take into account The availability and security of WIFI network.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also To obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is a kind of flow chart for WIFI connection methods that one embodiment of the invention provides;
Fig. 2 is the form schematic diagram for the first connection request that one embodiment of the invention provides;
Fig. 3 is the structural representation of the second connection response information provided in an embodiment of the present invention;
Fig. 4 is a kind of flow chart of WIFI connection methods provided in an embodiment of the present invention;
Fig. 5 is a kind of flow chart of WIFI connection methods provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation of agent equipment provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of agent equipment provided in an embodiment of the present invention;
Fig. 8 is a kind of structural representation of agent equipment provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
The term " comprising " and " having " of description and claims of this specification and their any deformation, it is intended that Be to cover it is non-exclusive include, for example, the device for the process or structure for containing series of steps is not necessarily limited to clearly arrange It is that those structures or step for going out but may include are not listed clearly or for the intrinsic other steps of these processes or device Rapid or structure.
The embodiment of the present invention provides a kind of WIFI connection methods.This method can be performed by a kind of agent equipment, the generation Reason equipment can be mobile phone, tablet personal computer, and notebook computer etc. has the terminal device of WIFI function module.Referring to Fig. 1, Fig. 1 The flow chart of a kind of WIFI connection methods provided for one embodiment of the invention, as shown in figure 1, this method comprises the following steps:
Step 101, the first connection request for receiving electronic equipment, first connection request include the electronic equipment MAC Address and WIFI configuration informations.
The electronic equipment being related in the present embodiment can be mobile phone, tablet personal computer, and notebook computer etc. has WIFI function The terminal device of module.
Electronic equipment by wireless protocols search agent equipment, this wirelessly can agreement can be that WIFI is direct-connected, bluetooth, low coverage From any one in wireless communication technique (NFC).Each way of search follows the standard of respective agreement, in the present embodiment no longer Repeat.
After electronic equipment searches agent equipment, the first connection request is sent to agent equipment, wherein, the first connection Request includes the MAC Address and WIFI configuration informations of electronic equipment.Wherein, electronic equipment is comprised at least in WIFI configuration informations Ability description, listening intervals, the information such as WIFI code checks supported.Example, Fig. 2 is first that one embodiment of the invention provides The form schematic diagram of connection request, as shown in Fig. 2 in fig. 2, when a byte of header be arranged to default value (such as " 0 ") when represent that this information is the first connection request, at this moment 6 bytes in the column of MAC Address one be used for fill in electronic equipment MAC Address, the ability of electronic equipment is described in the column of ability one with 2 bytes, is monitored in the column of listening intervals one with 2 characters descriptions Interval, support what is adapted in the column of code check one to describe the WIFI code checks of electronic equipment support with corresponding character length, other expansions Field one fills in other information in column.Certain Fig. 2 is merely illustrative to be illustrated rather than to unique restriction of the invention.
Step 102, confidence matched somebody with somebody based on the access pin being locally stored, and the MAC Address of the electronic equipment and WIFI Breath, the second connection request is sent to the router of WIFI network, so that the router establishes the WIFI with the electronic equipment Connection.
The access pin for accessing WIFI network is stored with the present embodiment in agent equipment, when receiving the first connection After request, agent equipment is according to the MAC Address and WIFI configuration informations carried in the first connection request, structure wireless network association The authentication frame and disassociation frame of specification are discussed, and between completion and the router of WIFI network after connection, according to what is be locally stored Access pin and router interaction generation 4-Way Handshake frame, complete WIFI cipher key interaction generating process.The WIFI keys be used for pair Transmission data between electronic equipment and router are encrypted and decrypted, and it is close using interim conversation that the WIFI keys include unicast Key (PTK) and multicast packets broadcast packet G group interim conversation keys (GTK).
Step 103, the first connection response information for receiving the router feedback, the first connection response information include MAC Address, service set, WIFI keys and the channel index of the router.
In the present embodiment, router is generating WIFI keys, by the MAC Address of its own, the son for electronic equipment distribution Service set, WIFI keys and the channel index of network carry is sent to agent equipment in the first connection response information.Its In, the channel pointed by above-mentioned channel index is used to transmit the interaction data between electronic equipment and sub-network.
Step 104, to the electronic equipment the second connection response information is sent, so that the electronic equipment is according to described the Two connection response information are connected with the router, and the second connection response information includes the MAC Address of the router, clothes Business set identifier, WIFI keys and channel index.
Example, Fig. 3 is the structural representation of the second connection response information provided in an embodiment of the present invention, as shown in figure 3, When the value of header is 1, it is the second connection response information to represent the information, and now the value of response code is judged, works as response The value of 1 bit of code position represents successfully to complete to connect with router when being default value (such as " 0 "), now electric Information of the sub- equipment in the second connection response information is connected with router.The table if response code position is other numerical value Show and be not successfully connected with router.Can now be determined whether according to the concrete numerical value of response code initiate reconnection and when Initiate reconnection.Such as when the value of response code is any one in 1-3, then it represents that router WIFI lines fail, now, Initiate reconnection immediately, when response code value be 5 when, represent Internet resources deficiency, reconnection can be initiated after the preset lime, when return The value for answering code is 4 or 6, represents agent equipment refusal connection request, does not initiate reconnection now.Certainly it is only for illustrating and It is not unique restriction to the present invention.
As a kind of preferred embodiment, after electronic equipment and router are successfully connected, agent equipment can be with Connection Time between electronic equipment and router is monitored, exceeded when the Connection Time between electronic equipment and router During preset duration, send releases authentication frame to router and cause router to disconnect the connection between electronic equipment, and to notice Electronic equipment is because suspension caused by connection time-out, so as to reach purpose of the limitation using Internet resources.
The present embodiment, the first connection request that agent equipment is sent by receiving electronic equipment, based on the first connection request The MAC Address and WIFI configuration informations of middle carrying and the access pin being locally stored, the is sent to the router of WIFI network Two connection requests so that router is established according to the second connection request and is connected with the WIFI of electronic equipment, and receiving router is anti- Feedback the first connection response information, by the MAC Address of the router carried in the first connection response information, service set, WIFI keys and channel index carry is sent to electronic equipment in the second connection response information so that electronic equipment is established and road By the connection between device.Because electronic equipment is not involved in establishing the process of connection in router in the present embodiment, but by acting on behalf of Equipment is according to the access pin and the MAC Address of electronic equipment and WIFI configuration informations being locally stored, for electronic equipment to road Ask to connect by device, and MAC Address, service set, WIFI keys and channel index that the first router is issued are sent to Electronic equipment, so as to complete what is be connected between electronic equipment and router, it therefore, there is no need to provide WIFI nets to electronic equipment The access pin of network, such electronic equipment cannot store the access pin of the WIFI network, and the WIFI network is accessed in next time When also need to by agent equipment allow could complete access, if agent equipment do not allow access if can not access, so as to Limitation electronic equipment accesses the number of the WIFI network, improves the controllability of network access traffic and quality.Also will not simultaneously Because the manager of WIFI network forgets access pin and the problem of leading to not share WIFI network, taken into account WIFI network Availability and security.
Fig. 4 is a kind of flow chart of WIFI connection methods provided in an embodiment of the present invention, and this method can be by above-mentioned agency Equipment performs, as shown in figure 4, on the basis of Fig. 1 embodiments, this method includes:
Step 401, the first connection request for receiving electronic equipment, first connection request include the electronic equipment MAC Address and WIFI configuration informations.
Whether the number of devices that step 402, judgement have accessed WIFI network exceedes predetermined number, if having accessed WIFI network Number of devices not less than predetermined number, then perform step 403.
Step 403, judge whether to be in connection status with the router of WIFI network, if so, then performing step 404- 406。
After step 404, the connection between disconnection and the router, based on the access pin being locally stored, Yi Jisuo The MAC Address and WIFI configuration informations of electronic equipment are stated, the second connection request is sent to the router of WIFI network.
Step 405, the first connection response information for receiving the router feedback, the first connection response information include MAC Address, service set, WIFI keys and the channel index of the router.
Step 406, to the electronic equipment the second connection response information is sent, so that the electronic equipment is according to described the Two connection response information are connected with the router, and the second connection response information includes the MAC Address of the router, clothes Business set identifier, WIFI keys and channel index.
In the present embodiment, by being carried out after the first connection request is received to the number of devices for having accessed WIFI network Judge, only just carry out further attended operation not less than predetermined number in the number of devices for having accessed WIFI network, realize Effective control to network quality and network access quantity.In addition, agent equipment is by judging its company between router State is connect, and after disconnecting, performs the follow-up probability acted on behalf of attended operation, connection failure can be reduced, improves and uses Experience at family.
Fig. 5 is a kind of flow chart of WIFI connection methods provided in an embodiment of the present invention, and this method can be by above-mentioned agency Equipment performs, as shown in figure 5, on the basis of Fig. 1 embodiments, this method includes:
Step 501, the first connection request for receiving electronic equipment, first connection request include the electronic equipment MAC Address and WIFI configuration informations.
Example, agent equipment is verified to the ability of electronic equipment, when the ability of electronic equipment meets condition of contact When, then it is verified, otherwise authentication failed, certainly unique restriction it is only for illustrating rather than to the present invention.
Step 502, the WIFI configuration informations to the electronic equipment are verified, step 504 is performed if being verified, no Then perform step 503.
Step 503, to the electronic equipment send prompting message.
Step 504, judge whether to be in connection status with the router of WIFI network, if so, then performing step 505- 507。
After step 505, the connection between disconnection and the router, based on the access pin being locally stored, Yi Jisuo The MAC Address and WIFI configuration informations of electronic equipment are stated, the second connection request is sent to the router of WIFI network.
Step 506, the first connection response information for receiving the router feedback, the first connection response information include MAC Address, service set, WIFI keys and the channel index of the router.
Step 507, to the electronic equipment the second connection response information is sent, so that the electronic equipment is according to described the Two connection response information are connected with the router, and the second connection response information includes the MAC Address of the router, clothes Business set identifier, WIFI keys and channel index.
In the present embodiment, by being tested after the first connection request is received the WIFI configuration informations of electronic equipment Card, further attended operation is only just carried out when being verified, improves the success rate and Consumer's Experience of connection.
Fig. 6 is a kind of structural representation of agent equipment provided in an embodiment of the present invention, as shown in fig. 6, the equipment includes:
First receiving module 11, for receiving the first connection request of electronic equipment, first connection request includes institute State the MAC Address and WIFI configuration informations of electronic equipment;
First sending module 12, for based on the access pin being locally stored, and the MAC Address of the electronic equipment and WIFI configuration informations, the second connection request is sent to the router of WIFI network, so that the router is established and the electronics The WIFI connections of equipment;
Second receiving module 13, for receiving the first connection response information of the router feedback, first connection Response message includes MAC Address, service set, WIFI keys and the channel index of the router;
Second sending module 14, for sending the second connection response information to the electronic equipment, so that the electronics is set Standby to be connected according to the second connection response information with the router, the second connection response information includes the router MAC Address, service set, WIFI keys and channel index.
Optionally, the agent equipment also includes:
Monitoring modular, when whether exceeding default for monitoring the Connection Time between the electronic equipment and the router It is long;
Switch module, when exceeding preset duration for the Connection Time between the electronic equipment and the router, Disconnect the connection between the electronic equipment and the router.
The equipment that the present embodiment provides is able to carry out the technical scheme of Fig. 1 embodiments, its executive mode and beneficial effect class Seemingly, repeat no more herein.
Fig. 7 is a kind of structural representation of agent equipment provided in an embodiment of the present invention, as shown in fig. 7, in Fig. 6 embodiments On the basis of, the equipment also includes:
First judge module 15, for judging whether the agent equipment with the router of WIFI network is in connection shape State;
Link block 19, for be in connection status in the agent equipment and the router, disconnect agent equipment and Connection between the router.
Whether the second judge module 16, the number of devices for judging to have accessed WIFI network exceed predetermined number;
First judge module 15, for when having accessed the number of devices of WIFI network not less than predetermined number, sentencing It is disconnected whether with the router of WIFI network to be in connection status.
The equipment that the present embodiment provides is able to carry out the technical scheme of Fig. 4 embodiments, its executive mode and beneficial effect class Seemingly, repeat no more herein.
Fig. 8 is a kind of structural representation of agent equipment provided in an embodiment of the present invention, as shown in figure 8, in Fig. 7 embodiments On the basis of, the equipment also includes:
Authentication module 17, for being verified to the WIFI configuration informations of the electronic equipment;
First judge module 15, connect for when being verified, judging whether to be in the router of WIFI network Connect state;
3rd sending module 18, for checking not by when, to the electronic equipment send prompting message.
The equipment that the present embodiment provides is able to carry out the technical scheme of Fig. 5 embodiments, its executive mode and beneficial effect class Seemingly, repeat no more herein.
The embodiment of the present invention also provides a kind of electronic equipment, including:
Sending module, for sending the first connection request to agent equipment, so that the agent equipment is based on being locally stored Access pin and the first connection request MAC Address and WIFI configuration informations of the electronic equipment that include, to WIFI network Router send the second connection request so that the router establish be connected with the WIFI of the electronic equipment;
Receiving module, for after the router is established and is connected with the WIFI of the electronic equipment, receiving the agency The second connection response information that equipment returns, the second connection response information include the MAC Address of the router, services set Mark, WIFI keys and channel index;
Link block, for the MAC Address according to the router, service set, WIFI keys and channel index with The router connection.
The equipment that the present embodiment provides is able to carry out the technical scheme of Fig. 1 embodiments, its executive mode and beneficial effect class Seemingly, repeat no more herein.
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processor of agent equipment During execution so that agent equipment is able to carry out following method:
The first connection request of electronic equipment is received, first connection request includes the MAC Address of the electronic equipment With WIFI configuration informations;
Based on the access pin being locally stored, and the MAC Address of the electronic equipment and WIFI configuration informations, to WIFI The router of network sends the second connection request, is connected so that the router is established with the WIFI of the electronic equipment;
The first connection response information of the router feedback is received, the first connection response information includes the route MAC Address, service set, WIFI keys and the channel index of device;
The second connection response information is sent to the electronic equipment, so that the electronic equipment rings according to the described second connection Information is answered to be connected with the router, the second connection response information includes MAC Address, the services set mark of the router Knowledge, WIFI keys and channel index.
It is last it should be noted that one of ordinary skill in the art will appreciate that whole in above-described embodiment method or Part flow, it is that by computer program the hardware of correlation can be instructed to complete, described program can be stored in a computer In readable storage medium storing program for executing, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, it is described to deposit Storage media can be disk, CD, read-only memory (ROM) or random access memory (RAM) etc..
Each functional unit in the embodiment of the present invention can be integrated in a processing module or unit Individually be physically present, can also two or more units be integrated in a module.Above-mentioned integrated module both can be with Realized, can also be realized in the form of software function module in the form of hardware.If the integrated module is with software The form of functional module realizes, and computer-readable is deposited as independent production marketing or in use, one can also be stored in In storage media.Storage medium mentioned above can be read-only storage, disk or CD etc..
Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing each reality Example is applied the present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each Technical scheme described in embodiment is modified, and either carries out equivalent substitution to which part or all technical characteristic;And These modifications are replaced, and the essence of appropriate technical solution is departed from the scope of various embodiments of the present invention technical scheme.

Claims (10)

  1. A kind of 1. WIFI connection methods, it is characterised in that including:
    Agent equipment receives the first connection request of electronic equipment, and first connection request includes the MAC of the electronic equipment Address and WIFI configuration informations;
    Based on the access pin being locally stored, and the MAC Address of the electronic equipment and WIFI configuration informations, to WIFI network Router send the second connection request so that the router establish be connected with the WIFI of the electronic equipment;
    The first connection response information of the router feedback is received, the first connection response information includes the router MAC Address, service set, WIFI keys and channel index;
    The second connection response information is sent to the electronic equipment, so that the electronic equipment is believed according to second connection response Breath is connected with the router, the MAC Address of the second connection response information including the router, service set, WIFI keys and channel index.
  2. 2. according to the method for claim 1, it is characterised in that described based on the access pin being locally stored and described The MAC Address and WIFI configuration informations of electronic equipment, before sending the second connection request to the router of WIFI network, the side Method also includes:
    Judge whether to be in connection status with the router of WIFI network;
    If being in connection status with the router, the connection between the router is disconnected.
  3. 3. according to the method for claim 2, it is characterised in that described to judge whether to be in company with the router of WIFI network Before connecing state, methods described also includes:
    Whether the number of devices for judging to have accessed WIFI network exceedes predetermined number;
    If having accessed the number of devices of WIFI network not less than predetermined number, judge whether to be in the router of WIFI network Connection status.
  4. 4. according to the method for claim 2, it is characterised in that described to judge whether to be in company with the router of WIFI network Before connecing state, methods described also includes:
    The WIFI configuration informations of the electronic equipment are verified;
    If being verified, judge whether to be in connection status with the router of WIFI network;
    If checking to the electronic equipment by not sending prompting message.
  5. A kind of 5. WIFI connection methods, it is characterised in that including:
    Electronic equipment sends the first connection request to agent equipment, so that the agent equipment is based on the access pin being locally stored And first the connection request MAC Address and WIFI configuration informations of the electronic equipment that include, to the route of WIFI network Device sends the second connection request, is connected so that the router is established with the WIFI of the electronic equipment;
    After the router is established and is connected with the WIFI of the electronic equipment, the electronic equipment receives the agent equipment and returned The the second connection response information returned, the MAC Address of the second connection response information including the router, service set, WIFI keys and channel index;
    The electronic equipment is according to the MAC Address of the router, service set, WIFI keys and channel index and the road Connected by device.
  6. A kind of 6. agent equipment, it is characterised in that including:
    First receiving module, for receiving the first connection request of electronic equipment, first connection request includes the electronics The MAC Address and WIFI configuration informations of equipment;
    First sending module, for being matched somebody with somebody based on the access pin being locally stored, and the MAC Address of the electronic equipment and WIFI Confidence is ceased, and the second connection request is sent to the router of WIFI network, so that the router is established and the electronic equipment WIFI connections;
    Second receiving module, for receiving the first connection response information of the router feedback, the first connection response letter Breath includes MAC Address, service set, WIFI keys and the channel index of the router;
    Second sending module, for the electronic equipment send the second connection response information so that the electronic equipment according to The second connection response information is connected with the router, and the second connection response information includes the MAC of the router Address, service set, WIFI keys and channel index.
  7. 7. agent equipment according to claim 6, it is characterised in that the agent equipment also includes:
    First judge module, for judging whether the agent equipment with the router of WIFI network is in connection status;
    Link block, for being in connection status in the agent equipment and the router, disconnect agent equipment and the road By the connection between device.
  8. 8. agent equipment according to claim 7, it is characterised in that the agent equipment also includes:
    Whether the second judge module, the number of devices for judging to have accessed WIFI network exceed predetermined number;
    First judge module, for when having accessed the number of devices of WIFI network not less than predetermined number, judging whether Connection status is in the router of WIFI network.
  9. 9. agent equipment according to claim 7, it is characterised in that the agent equipment also includes:
    Authentication module, for being verified to the WIFI configuration informations of the electronic equipment;
    First judge module, for when being verified, judging whether to be in connection status with the router of WIFI network;
    3rd sending module, for checking not by when, to the electronic equipment send prompting message.
  10. 10. a kind of electronic equipment, it is characterised in that including:
    Sending module, for sending the first connection request to agent equipment, so that the agent equipment is connect based on what is be locally stored Enter the MAC Address and WIFI configuration informations for the electronic equipment that password and the first connection request include, to the road of WIFI network Second connection request is sent by device, is connected so that the router is established with the WIFI of the electronic equipment;
    Receiving module, for after the router is established and is connected with the WIFI of the electronic equipment, receiving the agent equipment The the second connection response information returned, the second connection response information include MAC Address, the services set mark of the router Knowledge, WIFI keys and channel index;
    Link block, for the MAC Address according to the router, service set, WIFI keys and channel index with it is described Router connects.
CN201711051293.6A 2017-10-31 2017-10-31 WIFI connection methods and equipment Pending CN107659999A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711051293.6A CN107659999A (en) 2017-10-31 2017-10-31 WIFI connection methods and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711051293.6A CN107659999A (en) 2017-10-31 2017-10-31 WIFI connection methods and equipment

Publications (1)

Publication Number Publication Date
CN107659999A true CN107659999A (en) 2018-02-02

Family

ID=61096822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711051293.6A Pending CN107659999A (en) 2017-10-31 2017-10-31 WIFI connection methods and equipment

Country Status (1)

Country Link
CN (1) CN107659999A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109041036A (en) * 2018-10-29 2018-12-18 青岛海信传媒网络技术有限公司 WIFI connection method and equipment
CN109495980A (en) * 2018-11-21 2019-03-19 深圳市凌盛电子有限公司 A kind of intelligent router with remote control function
CN110365618A (en) * 2018-03-26 2019-10-22 阿里巴巴集团控股有限公司 Network login method and device
CN114258037A (en) * 2020-09-22 2022-03-29 华为技术有限公司 Network control method and device and electronic equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103945564A (en) * 2014-04-30 2014-07-23 Tcl集团股份有限公司 Wireless network connecting method and system and wireless access point equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103945564A (en) * 2014-04-30 2014-07-23 Tcl集团股份有限公司 Wireless network connecting method and system and wireless access point equipment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110365618A (en) * 2018-03-26 2019-10-22 阿里巴巴集团控股有限公司 Network login method and device
CN110365618B (en) * 2018-03-26 2022-06-03 阿里巴巴集团控股有限公司 Network login method and device
CN109041036A (en) * 2018-10-29 2018-12-18 青岛海信传媒网络技术有限公司 WIFI connection method and equipment
CN109495980A (en) * 2018-11-21 2019-03-19 深圳市凌盛电子有限公司 A kind of intelligent router with remote control function
CN114258037A (en) * 2020-09-22 2022-03-29 华为技术有限公司 Network control method and device and electronic equipment
WO2022062796A1 (en) * 2020-09-22 2022-03-31 华为技术有限公司 Network control method, apparatus, and electronic device
CN114258037B (en) * 2020-09-22 2024-04-12 华为技术有限公司 Network control method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN102893572B (en) For online communication session registered client computing equipment
US10171997B2 (en) Method and apparatus for interconnection between terminal device and gateway device
CN100588282C (en) Verification vectors generating apparatus, generation method, subscriber authentication module, mobile communication system
CN107659999A (en) WIFI connection methods and equipment
CN106302391A (en) A kind of enciphered data transmission method and proxy server
US9781579B2 (en) Method and device for realizing terminal WIFI talkback
CN107529160A (en) A kind of VoWiFi method for network access and system, terminal and wireless access points equipment
CN103702312B (en) Wireless information transfer method and apparatus
CN101188498B (en) Communication terminal and communication method
CN101330740A (en) Method for selecting gateway in wireless network
CN107135552A (en) Method for connecting network, mobile terminal and computer-readable recording medium
CN105828413A (en) Safety method of D2D mode B discovery, terminal and system
CN109041036A (en) WIFI connection method and equipment
CN103139769B (en) A kind of wireless communications method and network subsystem
CN107528712A (en) The determination of access rights, the access method of the page and device
CN106576238A (en) Method and apparatus for establishment of private communication between devices
CN107683596A (en) The method and apparatus that another end equipment is found for end equipment
CN102111728B (en) Network connection management module and method of mobile terminal
CN108200081A (en) Smart machine networking method and smart machine system
CN107708116A (en) A kind of method and system realized equipment and exempt from password connection route device
US8312530B2 (en) System and method for providing security in a network environment using accounting information
CN107566325A (en) Access the method and device of network
WO2008106873A1 (en) A method, a system and a device for realizing register and communication of the personal handhold telephone terminal
CN103281693A (en) Wireless communication authentication method, network translation equipment and terminal
CN110266674A (en) A kind of Intranet access method and relevant apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant after: Hisense Video Technology Co., Ltd

Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant before: HISENSE ELECTRIC Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20180202

RJ01 Rejection of invention patent application after publication