CN105790944A - Wechat-based network authentication method and device - Google Patents
Wechat-based network authentication method and device Download PDFInfo
- Publication number
- CN105790944A CN105790944A CN201410805696.5A CN201410805696A CN105790944A CN 105790944 A CN105790944 A CN 105790944A CN 201410805696 A CN201410805696 A CN 201410805696A CN 105790944 A CN105790944 A CN 105790944A
- Authority
- CN
- China
- Prior art keywords
- equipment
- network authentication
- micro
- public number
- 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.)
- Granted
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention is applicable to the technical field of network authentication, and provides a wechat-based network authentication method and device. The wechat-based network authentication method comprises the following steps of: receiving a networking request sent by wechat equipment, wherein the networking request comprises a user wechat number and a MAC address; and the wechat equipment is equipment installed with the wechat; judging whether association between the user wechat number and a pre-configured wechat public number exists or not; and successfully authenticating a network when association between the user wechat number and the wechat public number exists, and enabling the wechat equipment to be connected to the wireless network. According to the invention, the problem that network authentication can be completed only when a router or a gateway is necessary to receive a password can be solved; on the premise that association between the user wechat number and the wechat public number exists, users are unnecessary to manually input the password in the wechat equipment; the wechat equipment also can complete network authentication and is connected to a wireless network; therefore, the wireless network connection speed of the wechat equipment can be enhanced; the authentication step is also simplified; and the user operation efficiency is increased.
Description
Technical field
The invention belongs to network authentication techniques field, particularly relate to a kind of method for network authorization based on wechat and device.
Background technology
Along with popularizing of wireless network, a lot of shops are fitted with wireless network, and client can pass through wechat equipment and connect wireless network, is undertaken browsing webpage by wireless network, sees the application such as document, and the Internet brought to enjoy wireless network is experienced.Wherein, wechat equipment is the equipment being mounted with wechat, for instance be mounted with the mobile phone of wechat, flat board etc..
But, in existing method for network authorization, router or gateway need to receive password, just can complete the network authentication of wechat equipment, be unfavorable for that wechat equipment quickly connects wireless network.Its reason is in that, the wireless network in shop generally has password, when wechat equipment connects the router in wireless network or gateway, user needs inquiry businessman, obtain password, it is manually entered password again in wechat equipment, owing to password is made up of numeral and letter, length is longer, and user is manually entered password in wechat equipment, need the longer time, therefore it is unfavorable for that wechat equipment quickly connects wireless network, additionally, user is manually entered the complex operation step of password in wechat equipment, consume the operating time, reduce the operating efficiency of user.
Summary of the invention
The purpose of the embodiment of the present invention is in that to provide a kind of method for network authorization based on wechat, it is intended to existing method for network authorization, router or gateway need to receive password, just can complete the network authentication of wechat equipment, be unfavorable for that wechat equipment quickly connects radio network problems.
The embodiment of the present invention is achieved in that a kind of method for network authorization based on wechat, including:
Receiving the networking request that wechat equipment sends, described networking request includes user's micro-signal and MAC Address, and described wechat equipment is the equipment being mounted with wechat;
Judge whether to exist between described user's micro-signal and pre-configured wechat public number to associate;
When between described user's micro-signal with described wechat public number, existence associates, network authentication success, described wechat equipment of letting pass connects wireless network.
The another object of the embodiment of the present invention is in that to provide a kind of network authentication device based on wechat, including:
Networking request receiver module, for receiving the networking request that wechat equipment sends, described networking request includes user's micro-signal and MAC Address, and described wechat equipment is the equipment being mounted with wechat;
Judge relating module, for judging whether to exist between described user's micro-signal and pre-configured wechat public number to associate;
Network authentication success module, when associating for existing between described user's micro-signal with described wechat public number, network authentication success, described wechat equipment of letting pass connects wireless network.
In embodiments of the present invention, when between described user's micro-signal with described wechat public number, existence associates, network authentication success, described wechat equipment of letting pass connects wireless network, solve router or gateway needs to receive password, just can complete network authentication, be unfavorable for that wechat equipment quickly connects radio network problems.Exist between user's micro-signal with wechat public number under the premise associated, user need not be manually entered password in wechat equipment, wechat equipment also can complete network authentication, connect wireless network, thus both having accelerated wechat equipment to connect the speed of wireless network, also simplify the step of certification, improve the operating efficiency of user.
Accompanying drawing explanation
Fig. 1 is the implementing procedure figure of the method for network authorization based on wechat that the embodiment of the present invention provides;
Fig. 2 is the implementing procedure figure of the method for network authorization step S103 based on wechat that the embodiment of the present invention provides;
Fig. 3 is the first structured flowchart of the network authentication device based on wechat that the embodiment of the present invention provides;
Fig. 4 is the second structured flowchart of the network authentication device based on wechat that the embodiment of the present invention provides;
Fig. 5 is the 3rd structured flowchart of the network authentication device based on wechat that the embodiment of the present invention provides;
Fig. 6 is the 4th structured flowchart of the network authentication device based on wechat that the embodiment of the present invention provides;
Fig. 7 is the 5th structured flowchart of the network authentication device based on wechat that the embodiment of the present invention provides.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.
Embodiment one
Fig. 1 is the implementing procedure figure of the method for network authorization based on wechat that the embodiment of the present invention provides, and details are as follows:
In step S101, receiving the networking request that wechat equipment sends, described networking request includes user's micro-signal and MAC Address, and described wechat equipment is the equipment being mounted with wechat;
Wherein, using networking request as trigger condition, monitoring networking request, when there is networking request, performing to judge whether there is, between described user's micro-signal and pre-configured wechat public number, the step associated.
In step s 102, it is judged that whether exist between described user's micro-signal and pre-configured wechat public number and associate;
Wherein, before step S102 or S101, pre-configured wechat public number.
Wherein, wechat public number is any one public number, for instance the public number of businessman.
Wherein, user's micro-signal is the micro-signal except public number.
Judging whether there is the embodiment associated between user's micro-signal and pre-configured wechat public number, for implementation below one or a combination set of, details are as follows:
One, using user's micro-signal as inquiry field, by default communication interface, in wechat server, inquire about whether to exist between user's micro-signal and pre-configured wechat public number associating.
Two, using user's micro-signal as inquiring about field, by default route or gateway store path, in the wechat public number contingency table of regular update, whether inquiry exists described user's micro-signal, when there is described user's micro-signal, representing to exist between user's micro-signal and pre-configured wechat public number and associate, described wechat public number contingency table includes user's micro-signal of association wechat public number.
In step s 103, when between described user's micro-signal with described wechat public number, existence associates, network authentication success, described wechat equipment of letting pass connects wireless network.
When between user's micro-signal with wechat public number, existence associates, network authentication success, device identification will be moved, add white list, clearance wechat equipment connection wireless network.
In embodiments of the present invention, solve router or gateway needs to receive password, just can complete network authentication, be unfavorable for that wechat equipment quickly connects radio network problems.Exist between user's micro-signal with wechat public number under the premise associated, user need not be manually entered password in wechat equipment, wechat equipment also can complete network authentication, connect wireless network, thus both having accelerated wechat equipment to connect the speed of wireless network, also simplify the step of certification, improve the operating efficiency of user.
Embodiment two
Fig. 2 is the implementing procedure figure of the method for network authorization step S103 based on wechat that the embodiment of the present invention provides, and details are as follows:
In step s 201, when between described user's micro-signal with described wechat public number, existence associates, network authentication success, generate network authentication successful information according to described user's micro-signal;
In step S202, return network authentication successful information to described wechat equipment, and described wechat equipment of letting pass connects wireless network.
In embodiments of the present invention, network authentication successful information is sent, it is simple in wechat equipment, show network authentication successful information, it is simple to user starts online.
Embodiment three
The embodiment of the present invention describes the unsuccessful implementation process of network authentication, and details are as follows:
When being absent from associating between described user's micro-signal with described wechat public number, network authentication is unsuccessful, and described wechat equipment of not letting pass connects wireless network.
Generating prompting message according to described user's micro-signal, return prompting message to described wechat equipment, described prompting message includes reminding scanning wechat public number information and clicks wechat public number information with reminding.
Wherein, when wechat device scan wechat public number or click wechat public number, the user's micro-signal in wechat equipment and the association between this wechat public number are namely set up.
In embodiments of the present invention, return prompting message to wechat equipment, it is simple to wechat device scan wechat public number or click wechat public number, set up the association between user's micro-signal and wechat public number.
Embodiment four
Fig. 3 is the first structured flowchart of the network authentication device based on wechat that the embodiment of the present invention provides, and should can run on router or gateway based on the network authentication device of wechat.For the ease of illustrating, illustrate only part related to the present embodiment.
With reference to Fig. 3, it is somebody's turn to do the network authentication device based on wechat, including:
Networking request receiver module 31, for receiving the networking request that wechat equipment sends, described networking request includes user's micro-signal and MAC Address, and described wechat equipment is the equipment being mounted with wechat;
Judge relating module 32, for judging whether to exist between described user's micro-signal and pre-configured wechat public number to associate;
Network authentication success module 33, when associating for existing between described user's micro-signal with described wechat public number, network authentication success, described wechat equipment of letting pass connects wireless network.
In a kind of implementation of the present embodiment, it is the second structured flowchart of the network authentication device based on wechat that the embodiment of the present invention provides with reference to Fig. 4, Fig. 4, based on the network authentication device of wechat, also should include:
Wechat public number configuration module 34, is used for configuring wechat public number.
In a kind of implementation of the present embodiment, it is the 3rd structured flowchart of the network authentication device based on wechat that the embodiment of the present invention provides with reference to Fig. 5, Fig. 5, at this based in the network authentication device of wechat, described network authentication success module 33, including:
Network authentication success unit 331, when associating for existing between described user's micro-signal with described wechat public number, network authentication success, generate network authentication successful information according to described user's micro-signal;
Clearance unit 332, for returning network authentication successful information to described wechat equipment, and described wechat equipment of letting pass connects wireless network.
In a kind of implementation of the present embodiment, it is the 4th structured flowchart of the network authentication device based on wechat that the embodiment of the present invention provides with reference to Fig. 6, Fig. 6, at this based on, in the network authentication device of wechat, also including:
The unsuccessful module 35 of network authentication, during for being absent from associating between described user's micro-signal with described wechat public number, network authentication is unsuccessful, and described wechat equipment of not letting pass connects wireless network.
In a kind of implementation of the present embodiment, it is the 5th structured flowchart of the network authentication device based on wechat that the embodiment of the present invention provides with reference to Fig. 7, Fig. 7, at this based in the network authentication device of wechat, the unsuccessful module 35 of described network authentication, including:
Prompting message transmitting element 351, generates prompting message according to described user's micro-signal, returns prompting message to described wechat equipment, and described prompting message includes reminding scanning wechat public number information and clicks wechat public number information with reminding.
The device that the embodiment of the present invention provides can be applied in the embodiment of the method for aforementioned correspondence, and details, referring to the description of above-described embodiment, do not repeat them here.
Through the above description of the embodiments, those skilled in the art is it can be understood that can add the mode of required common hardware by software to the present invention and realize.Described program can be stored in read/write memory medium, described storage medium, such as random access memory, flash memory, read only memory, programmable read only memory, electrically erasable programmable memorizer, depositor etc..This storage medium is positioned at memorizer, and processor reads the information in memorizer, performs the method described in each embodiment of the present invention in conjunction with its hardware.
The above; being only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any those familiar with the art is in the technical scope that the invention discloses; the change that can readily occur in or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with scope of the claims.
Claims (10)
1. the method for network authorization based on wechat, it is characterised in that including:
Receiving the networking request that wechat equipment sends, described networking request includes user's micro-signal and MAC Address, and described wechat equipment is the equipment being mounted with wechat;
Judge whether to exist between described user's micro-signal and pre-configured wechat public number to associate;
When between described user's micro-signal with described wechat public number, existence associates, network authentication success, described wechat equipment of letting pass connects wireless network.
2. as claimed in claim 1 based on the method for network authorization of wechat, it is characterised in that described judge whether to exist between described user's micro-signal and pre-configured wechat public number associate before, including:
Configuration wechat public number.
3. as claimed in claim 1 based on the method for network authorization of wechat, it is characterised in that when between described user's micro-signal with described wechat public number, existence associates, network authentication success, described wechat equipment of letting pass connects wireless network, particularly as follows:
When between described user's micro-signal with described wechat public number, existence associates, network authentication success, generate network authentication successful information according to described user's micro-signal;
Return network authentication successful information to described wechat equipment, and described wechat equipment of letting pass connects wireless network.
4., as claimed in claim 1 based on the method for network authorization of wechat, it is characterised in that the described method for network authorization based on wechat, also include:
When being absent from associating between described user's micro-signal with described wechat public number, network authentication is unsuccessful, and described wechat equipment of not letting pass connects wireless network.
5. as claimed in claim 4 based on the method for network authorization of wechat, it is characterised in that when being absent from associating between described user's micro-signal with described wechat public number, network authentication is unsuccessful, after described wechat equipment of not letting pass connects wireless network, including:
Generating prompting message according to described user's micro-signal, return prompting message to described wechat equipment, described prompting message includes reminding scanning wechat public number information and clicks wechat public number information with reminding.
6. the network authentication device based on wechat, it is characterised in that including:
Networking request receiver module, for receiving the networking request that wechat equipment sends, described networking request includes user's micro-signal and MAC Address, and described wechat equipment is the equipment being mounted with wechat;
Judge relating module, for judging whether to exist between described user's micro-signal and pre-configured wechat public number to associate;
Network authentication success module, when associating for existing between described user's micro-signal with described wechat public number, network authentication success, described wechat equipment of letting pass connects wireless network.
7. as claimed in claim 6 based on the network authentication device of wechat, it is characterised in that the described network authentication device based on wechat also includes:
Wechat public number configuration module, is used for configuring wechat public number.
8. as claimed in claim 6 based on the network authentication device of wechat, it is characterised in that described network authentication success module, including:
Network authentication success unit, when associating for existing between described user's micro-signal with described wechat public number, network authentication success, generate network authentication successful information according to described user's micro-signal;
Clearance unit, for returning network authentication successful information to described wechat equipment, and described wechat equipment of letting pass connects wireless network.
9. as claimed in claim 6 based on the network authentication device of wechat, it is characterised in that the described network authentication device based on wechat also includes:
The unsuccessful module of network authentication, during for being absent from associating between described user's micro-signal with described wechat public number, network authentication is unsuccessful, and described wechat equipment of not letting pass connects wireless network.
10., as claimed in claim 9 based on the network authentication device of wechat, it is characterised in that the unsuccessful module of described network authentication, also include:
Prompting message transmitting element, generates prompting message according to described user's micro-signal, returns prompting message to described wechat equipment, and described prompting message includes reminding scanning wechat public number information and clicks wechat public number information with reminding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410805696.5A CN105790944B (en) | 2014-12-22 | 2014-12-22 | A kind of method for network authorization and device based on wechat |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410805696.5A CN105790944B (en) | 2014-12-22 | 2014-12-22 | A kind of method for network authorization and device based on wechat |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105790944A true CN105790944A (en) | 2016-07-20 |
CN105790944B CN105790944B (en) | 2019-07-30 |
Family
ID=56385207
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410805696.5A Active CN105790944B (en) | 2014-12-22 | 2014-12-22 | A kind of method for network authorization and device based on wechat |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105790944B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106912118A (en) * | 2016-12-28 | 2017-06-30 | 上海掌门科技有限公司 | A kind of method for creating service number, equipment and system |
CN107403491A (en) * | 2017-07-21 | 2017-11-28 | 厦门狄耐克智能科技股份有限公司 | A kind of automatic gate control system and door opening method based on real-time geographic coordinate |
CN107507305A (en) * | 2017-07-21 | 2017-12-22 | 厦门狄耐克智能科技股份有限公司 | A kind of access control system of residential community and door opening method based on wechat |
CN107948052A (en) * | 2017-11-14 | 2018-04-20 | 福建中金在线信息科技有限公司 | Information crawler method, apparatus, electronic equipment and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103401884A (en) * | 2013-08-16 | 2013-11-20 | 深信服网络科技(深圳)有限公司 | Authentication method and system for public wireless environment Internet access based on micro message |
CN104038917A (en) * | 2014-06-27 | 2014-09-10 | 北京星网锐捷网络技术有限公司 | Method and device for terminal roaming authentication |
CN104050589A (en) * | 2014-06-03 | 2014-09-17 | 南京市海聚信息科技有限公司 | Method and system for evaluating social public platform advertisement click conversion rate |
CN104158808A (en) * | 2014-08-19 | 2014-11-19 | 杭州华三通信技术有限公司 | Portal authentication method based on APP application and device |
-
2014
- 2014-12-22 CN CN201410805696.5A patent/CN105790944B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103401884A (en) * | 2013-08-16 | 2013-11-20 | 深信服网络科技(深圳)有限公司 | Authentication method and system for public wireless environment Internet access based on micro message |
CN104050589A (en) * | 2014-06-03 | 2014-09-17 | 南京市海聚信息科技有限公司 | Method and system for evaluating social public platform advertisement click conversion rate |
CN104038917A (en) * | 2014-06-27 | 2014-09-10 | 北京星网锐捷网络技术有限公司 | Method and device for terminal roaming authentication |
CN104158808A (en) * | 2014-08-19 | 2014-11-19 | 杭州华三通信技术有限公司 | Portal authentication method based on APP application and device |
Non-Patent Citations (2)
Title |
---|
四川在线,: ""Yeahwifi重新定义商用WiFi上网体验"", 《WWW.CD.QQ.COM/A/20140423/014199.HTM》 * |
晓忆,: ""瘦AP+AC无线网络结合认证,关注微信即上网"", 《WWW.NETWORK.51CTO.COM/ART/201412/458570.HTM》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106912118A (en) * | 2016-12-28 | 2017-06-30 | 上海掌门科技有限公司 | A kind of method for creating service number, equipment and system |
CN106912118B (en) * | 2016-12-28 | 2019-08-06 | 上海掌门科技有限公司 | It is a kind of for creating the method, equipment and system of service number |
CN107403491A (en) * | 2017-07-21 | 2017-11-28 | 厦门狄耐克智能科技股份有限公司 | A kind of automatic gate control system and door opening method based on real-time geographic coordinate |
CN107507305A (en) * | 2017-07-21 | 2017-12-22 | 厦门狄耐克智能科技股份有限公司 | A kind of access control system of residential community and door opening method based on wechat |
CN107948052A (en) * | 2017-11-14 | 2018-04-20 | 福建中金在线信息科技有限公司 | Information crawler method, apparatus, electronic equipment and system |
Also Published As
Publication number | Publication date |
---|---|
CN105790944B (en) | 2019-07-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103152331B (en) | The method, system and the cloud server that log in/register is carried out by mobile terminal | |
US20230040580A1 (en) | Binding method and system for device network configuration, and mobile terminal and storage medium | |
CN101262500B (en) | Method, access controller and WEB authentication server for pushing login page | |
WO2013131472A1 (en) | Message processing method, device and system | |
US11363023B2 (en) | Method, device and system for obtaining local domain name | |
CN103414740B (en) | A kind of private cloud account configuration method and device | |
CN106101067B (en) | Method and terminal for binding intelligent equipment | |
CN104767715A (en) | Network access control method and equipment | |
CN105306485B (en) | Network access authentication method, certificate server and its place Verification System | |
CN103329091A (en) | Cross access login controller | |
JP2010068015A (en) | Communication method, communication device, cell-phone terminal, and communication system | |
CN102123362A (en) | Method for automatically acquiring mobile phone number by mobile equipment | |
CN103179100A (en) | Method and device for preventing the attack on a domain name system tunnel | |
US10951616B2 (en) | Proximity-based device authentication | |
CN105790944A (en) | Wechat-based network authentication method and device | |
CN109769249B (en) | Authentication method, system and device | |
CN106792694B (en) | Access authentication method and access equipment | |
US11032272B2 (en) | Mobile number verification for mobile network-based authentication | |
CN105991680A (en) | Internet of things smart device software automatic upgrading method and system | |
CN106954213A (en) | A kind of system of real name wireless authentication cut-in method and system | |
CN106789905A (en) | A kind of network access equipment and method | |
CN104936177A (en) | Access authentication method and access authentication system | |
WO2017181407A1 (en) | Network authentication method, client, terminal device and platform | |
US11178145B2 (en) | Network apparatus and control method thereof | |
CN105743891A (en) | Networking method and device, server and router |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |