CN105790944B - A kind of method for network authorization and device based on wechat - Google Patents

A kind of method for network authorization and device based on wechat Download PDF

Info

Publication number
CN105790944B
CN105790944B CN201410805696.5A CN201410805696A CN105790944B CN 105790944 B CN105790944 B CN 105790944B CN 201410805696 A CN201410805696 A CN 201410805696A CN 105790944 B CN105790944 B CN 105790944B
Authority
CN
China
Prior art keywords
wechat
user
public platform
equipment
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410805696.5A
Other languages
Chinese (zh)
Other versions
CN105790944A (en
Inventor
胡伟
严明
翟海琛
姜亚球
陈喜军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Issmart Science And Technology Co Ltd
Original Assignee
Shenzhen Issmart Science And Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Issmart Science And Technology Co Ltd filed Critical Shenzhen Issmart Science And Technology Co Ltd
Priority to CN201410805696.5A priority Critical patent/CN105790944B/en
Publication of CN105790944A publication Critical patent/CN105790944A/en
Application granted granted Critical
Publication of CN105790944B publication Critical patent/CN105790944B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention is suitable for network authentication techniques field, provide a kind of method for network authorization and device based on wechat, method for network authorization based on wechat includes: the networking request for receiving wechat equipment and sending, the networking request includes user's WeChat ID and MAC Address, and wechat equipment is the equipment for being mounted with wechat;Judging, which whether there is between user's WeChat ID and the wechat public platform of pre-configuration, is associated with;When existing between user's WeChat ID and wechat public platform, when being associated with, network authentication success, clearance wechat equipment connects wireless network.The present invention solves router or the problem of gateway needs to receive password, could complete network authentication.Between user's WeChat ID and wechat public platform there are it is associated under the premise of, user need not be manually entered password in wechat equipment, wechat equipment can also complete network authentication, connect wireless network, to both accelerate the speed of wechat equipment connection wireless network, the step of also simplifying certification improves the operating efficiency of user.

Description

A kind of method for network authorization and device based on wechat
Technical field
The invention belongs to network authentication techniques field more particularly to a kind of method for network authorization and device based on wechat.
Background technique
With popularizing for wireless network, many shops are fitted with wireless network, and client can be connected by wechat equipment Wireless network such as carries out browsing webpage, sees document at the application by wireless network, to enjoy wireless network bring interconnection dictyosome It tests.Wherein, wechat equipment is the equipment for being mounted with wechat, such as be mounted with the mobile phone of wechat, plate etc..
However, router or gateway need to receive password in existing method for network authorization, wechat equipment could be completed Network authentication, be unfavorable for wechat equipment and quickly connect wireless network.The reason is that the wireless network in shop generally have it is close Code, when wechat equipment connects the router or gateway in wireless network, user needs to inquire businessman, obtains password, then micro- It is manually entered password in letter equipment, since password is made of numeral and letter, length is longer, and user is manual in wechat equipment Password is inputted, is takeed a long time, therefore be unfavorable for wechat equipment and quickly connect wireless network, in addition, user sets in wechat It is manually entered the complex for operation step of password in standby, the operating time is consumed, reduces the operating efficiency of user.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of method for network authorization based on wechat, it is intended to which existing network is recognized Card method, router or gateway need to receive password, could complete the network authentication of wechat equipment, and it is fast to be unfavorable for wechat equipment Speed connection radio network problems.
The embodiments of the present invention are implemented as follows, a kind of method for network authorization based on wechat, comprising:
The networking request that wechat equipment is sent is received, the networking request includes user's WeChat ID and MAC Address, described Wechat equipment is the equipment for being mounted with wechat;
Judging, which whether there is between user's WeChat ID and the wechat public platform of pre-configuration, is associated with;
When between user's WeChat ID and the wechat public platform in the presence of being associated with, network authentication is successful, described in clearance Wechat equipment connects wireless network.
The another object of the embodiment of the present invention is to provide a kind of network authentication device based on wechat, comprising:
Network request receiving module, and for receiving the networking request of wechat equipment transmission, the networking request includes user WeChat ID and MAC Address, the wechat equipment are the equipment for being mounted with wechat;
Relating module is judged, for judging between user's WeChat ID and the wechat public platform of pre-configuration with the presence or absence of pass Connection;
Network authentication success module, is used for when between user's WeChat ID and the wechat public platform in the presence of being associated with, Network authentication success, the wechat equipment connection wireless network of letting pass.
In embodiments of the present invention, when between user's WeChat ID and the wechat public platform in the presence of being associated with, network It authenticates successfully, the wechat equipment connection wireless network of letting pass solves router or gateway needs to receive password, could be complete At network authentication, it is unfavorable for wechat equipment and quickly connects radio network problems.It is deposited between user's WeChat ID and wechat public platform Under the premise of associated, user need not be manually entered password in wechat equipment, and wechat equipment can also complete network authentication, connection Wireless network, so that the step of both having accelerated the speed of wechat equipment connection wireless network, and having also simplified certification, improves user Operating efficiency.
Detailed description of the invention
Fig. 1 is the implementation flow chart of the method for network authorization provided in an embodiment of the present invention based on wechat;
Fig. 2 is the implementation flow chart of the method for network authorization step S103 provided in an embodiment of the present invention based on wechat;
Fig. 3 is the first structure block diagram of the network authentication device provided in an embodiment of the present invention based on wechat;
Fig. 4 is the second structural block diagram of the network authentication device provided in an embodiment of the present invention based on wechat;
Fig. 5 is the third structural block diagram of the network authentication device provided in an embodiment of the present invention based on wechat;
Fig. 6 is the 4th structural block diagram of the network authentication device provided in an embodiment of the present invention based on wechat;
Fig. 7 is the 5th structural block diagram of the network authentication device provided in an embodiment of the present invention based on wechat.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Embodiment one
Fig. 1 is the implementation flow chart of the method for network authorization provided in an embodiment of the present invention based on wechat, and details are as follows:
In step s101, receive the networking request that wechat equipment is sent, networking request including user's WeChat ID with And MAC Address, the wechat equipment are the equipment for being mounted with wechat;
Wherein, it regard networking request as trigger condition, monitors networking request, when networking request occurs, execution judges institute It states between user's WeChat ID and the wechat public platform of pre-configuration with the presence or absence of the step of being associated with.
In step s 102, judging, which whether there is between user's WeChat ID and the wechat public platform of pre-configuration, is associated with;
Wherein, before step S102 or S101, it is pre-configured wechat public platform.
Wherein, wechat public platform is any one public platform, such as the public platform of businessman.
Wherein, user's WeChat ID is the WeChat ID in addition to public platform.
Judge with the presence or absence of associated embodiment between user's WeChat ID and the wechat public platform of pre-configuration, is following reality One or a combination set of mode is applied, details are as follows:
One, user is inquired in wechat server by preset communication interface using user's WeChat ID as inquiry field It whether there is between WeChat ID and the wechat public platform of pre-configuration and be associated with.
Two, it is being regularly updated using user's WeChat ID as inquiry field by preset routing or gateway store path Wechat public platform contingency table in, inquiry whether there is user's WeChat ID, when there are user's WeChat ID, indicate use Exist between family WeChat ID and the wechat public platform of pre-configuration and be associated with, the wechat public platform contingency table includes the association wechat public Number user's WeChat ID.
In step s 103, when between user's WeChat ID and the wechat public platform in the presence of being associated with, network authentication Success, the wechat equipment connection wireless network of letting pass.
When existing between user's WeChat ID and wechat public platform, when being associated with, mobile device is identified, is added by network authentication success Enter white list, clearance wechat equipment connects wireless network.
In embodiments of the present invention, it solves router or gateway needs to receive password, network authentication could be completed, no Radio network problems are quickly connected conducive to wechat equipment.There are associated premises between user's WeChat ID and wechat public platform Under, user need not be manually entered password in wechat equipment, and wechat equipment can also complete network authentication, wireless network is connected, from And the step of both having accelerated the speed of wechat equipment connection wireless network, and having also simplified certification, improve the operating efficiency of user.
Embodiment two
Fig. 2 is the implementation flow chart of the method for network authorization step S103 provided in an embodiment of the present invention based on wechat, in detail It states as follows:
In step s 201, when between user's WeChat ID and the wechat public platform in the presence of being associated with, network authentication Success generates network authentication successful information according to user's WeChat ID;
In step S202, Xiang Suoshu wechat equipment returns to network authentication successful information, and the wechat equipment of letting pass connects Connect wireless network.
In embodiments of the present invention, send network authentication successful information, convenient for shown in wechat equipment network authentication at Function information starts to surf the Internet convenient for user.
Embodiment three
The embodiment of the present invention describes the unsuccessful implementation process of network authentication, and details are as follows:
When, there is no when being associated with, network authentication is unsuccessful, does not put between user's WeChat ID and the wechat public platform The row wechat equipment connects wireless network.
Prompting message is generated according to user's WeChat ID, Xiang Suoshu wechat equipment returns to prompting message, the prompting letter Breath includes reminding scanning wechat public platform information and reminding to click wechat public platform information.
Wherein, it when wechat equipment scans wechat public platform or clicks wechat public platform, that is, establishes in wechat equipment Association between user's WeChat ID and the wechat public platform.
In embodiments of the present invention, Xiang Weixin equipment return prompting message, convenient for wechat equipment scanning wechat public platform or Person clicks wechat public platform, establishes the association between user's WeChat ID and wechat public platform.
Example IV
Fig. 3 is the first structure block diagram of the network authentication device provided in an embodiment of the present invention based on wechat, should be based on micro- The network authentication device of letter can run on router or gateway.For ease of description, it illustrates only related to the present embodiment Part.
Referring to Fig. 3, it is somebody's turn to do the network authentication device based on wechat, comprising:
Network request receiving module 31, and for receiving the networking request of wechat equipment transmission, the networking request includes using Family WeChat ID and MAC Address, the wechat equipment are the equipment for being mounted with wechat;
Judge relating module 32, whether there is between user's WeChat ID and the wechat public platform of pre-configuration for judging Association;
Network authentication success module 33, is associated with for working as to exist between user's WeChat ID and the wechat public platform When, network authentication success, the wechat equipment connection wireless network of letting pass.
It is provided in an embodiment of the present invention based on wechat with reference to Fig. 4, Fig. 4 in a kind of implementation of the present embodiment Second structural block diagram of network authentication device is somebody's turn to do the network authentication device based on wechat, further includes:
Wechat public platform configuration module 34, for configuring wechat public platform.
It is provided in an embodiment of the present invention based on wechat with reference to Fig. 5, Fig. 5 in a kind of implementation of the present embodiment The third structural block diagram of network authentication device, in the network authentication device based on wechat, the network authentication success module 33, comprising:
Network authentication success unit 331, is associated with for working as to exist between user's WeChat ID and the wechat public platform When, network authentication success generates network authentication successful information according to user's WeChat ID;
Clearance unit 332, for returning to network authentication successful information, and the wechat equipment of letting pass to the wechat equipment Connect wireless network.
It is provided in an embodiment of the present invention based on wechat with reference to Fig. 6, Fig. 6 in a kind of implementation of the present embodiment 4th structural block diagram of network authentication device, in the network authentication device based on wechat, further includes:
The unsuccessful module 35 of network authentication, for when there is no close between user's WeChat ID and the wechat public platform When connection, network authentication is unsuccessful, the wechat equipment connection wireless network of not letting pass.
It is provided in an embodiment of the present invention based on wechat with reference to Fig. 7, Fig. 7 in a kind of implementation of the present embodiment 5th structural block diagram of network authentication device, in the network authentication device based on wechat, the unsuccessful mould of network authentication Block 35, comprising:
Prompting message transmission unit 351 generates prompting message according to user's WeChat ID, and Xiang Suoshu wechat equipment returns Prompting message, the prompting message include reminding scanning wechat public platform information and reminding to click wechat public platform information.
Device provided in an embodiment of the present invention can be applied in aforementioned corresponding embodiment of the method, and details are referring to above-mentioned reality The description of example is applied, details are not described herein.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can borrow Help software that the mode of required common hardware is added to realize.The program can store in read/write memory medium, described Storage medium, as random access memory, flash memory, read-only memory, programmable read only memory, electrically erasable programmable storage Device, register etc..The storage medium is located at memory, and processor reads the information in memory, executes this hair in conjunction with its hardware Method described in bright each embodiment.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (6)

1. a kind of method for network authorization based on wechat characterized by comprising
The networking request that wechat equipment is sent is received, the networking request includes user's WeChat ID and MAC Address, the wechat Equipment is the equipment for being mounted with wechat;
Judging, which whether there is between user's WeChat ID and the wechat public platform of pre-configuration, is associated with;Described in the scanning of wechat equipment Wechat public platform or when clicking the wechat public platform establishes user's WeChat ID in the wechat equipment and described Association between wechat public platform;
When existing between user's WeChat ID and the wechat public platform, when being associated with, network authentication is successful, the wechat of letting pass Equipment connects wireless network;
When, there is no when being associated with, network authentication is unsuccessful, and do not let pass institute between user's WeChat ID and the wechat public platform State wechat equipment connection wireless network;Prompting message is generated according to user's WeChat ID, Xiang Suoshu wechat equipment, which returns, reminds Information, the prompting message include reminding scanning wechat public platform information and reminding to click wechat public platform information;
With the presence or absence of being associated between judgement user's WeChat ID and the wechat public platform of pre-configuration, specifically: by user WeChat ID is as inquiry field, and by preset communication interface, user's WeChat ID and pre-configuration are inquired in wechat server With the presence or absence of association between wechat public platform.
2. as described in claim 1 based on the method for network authorization of wechat, which is characterized in that in judgement user's wechat With the presence or absence of before being associated with number between the wechat public platform being pre-configured, comprising:
Configure wechat public platform.
3. as described in claim 1 based on the method for network authorization of wechat, which is characterized in that when user's WeChat ID with it is described When there is association between wechat public platform, network authentication success, the wechat equipment connection wireless network of letting pass, specifically:
When existing between user's WeChat ID and the wechat public platform, when being associated with, network authentication is successful, according to the user WeChat ID generates network authentication successful information;
Network authentication successful information is returned to the wechat equipment, and the wechat equipment connection wireless network of letting pass.
4. a kind of network authentication device based on wechat characterized by comprising
Network request receiving module, and for receiving the networking request of wechat equipment transmission, the networking request includes user's wechat Number and MAC Address, the wechat equipment be the equipment for being mounted with wechat;
Judge relating module, is associated with for judging to whether there is between user's WeChat ID and the wechat public platform of pre-configuration; When wechat equipment scans the wechat public platform or clicks the wechat public platform, that is, establish the institute in the wechat equipment State the association between user's WeChat ID and the wechat public platform;
Network authentication success module, is used for when between user's WeChat ID and the wechat public platform in the presence of being associated with, network It authenticates successfully, the wechat equipment connection wireless network of letting pass;
The unsuccessful module of network authentication, for when between user's WeChat ID and the wechat public platform there is no be associated with when, Network authentication is unsuccessful, the wechat equipment connection wireless network of not letting pass, comprising: prompting message transmission unit, according to described User's WeChat ID generates prompting message, and Xiang Suoshu wechat equipment returns to prompting message, and the prompting message includes reminding scanning micro- Believe public platform information and remind and clicks wechat public platform information;
The judgement relating module is specifically used for: using user's WeChat ID as inquiry field, by preset communication interface, micro- It inquires to whether there is between user's WeChat ID and the wechat public platform of pre-configuration in telecommunications services device and be associated with.
5. the network authentication device based on wechat as claimed in claim 4, which is characterized in that the network authentication based on wechat Device further include:
Wechat public platform configuration module, for configuring wechat public platform.
6. the network authentication device based on wechat as claimed in claim 4, which is characterized in that the network authentication success module, Include:
Network authentication success unit, is used for when between user's WeChat ID and the wechat public platform in the presence of being associated with, network It authenticates successfully, network authentication successful information is generated according to user's WeChat ID;
Clearance unit, for returning to network authentication successful information to the wechat equipment, and the wechat equipment connection nothing of letting pass Gauze network.
CN201410805696.5A 2014-12-22 2014-12-22 A kind of method for network authorization and device based on wechat Active CN105790944B (en)

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 CN105790944A (en) 2016-07-20
CN105790944B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106912118B (en) * 2016-12-28 2019-08-06 上海掌门科技有限公司 It is a kind of for creating the method, equipment and system of service number
CN107507305B (en) * 2017-07-21 2019-07-19 厦门狄耐克智能科技股份有限公司 A kind of access control system of residential community and door opening method based on wechat
CN107403491B (en) * 2017-07-21 2019-07-16 厦门狄耐克智能科技股份有限公司 A kind of automatic access control system and door opening method based on real-time geographic coordinate
CN107948052A (en) * 2017-11-14 2018-04-20 福建中金在线信息科技有限公司 Information crawler method, apparatus, electronic equipment and system

Citations (4)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
"Yeahwifi重新定义商用WiFi上网体验";四川在线,;《www.cd.qq.com/a/20140423/014199.htm》;20140423;全文
"瘦AP+AC无线网络结合认证,关注微信即上网";晓忆,;《www.network.51cto.com/art/201412/458570.htm》;20141201;全文

Also Published As

Publication number Publication date
CN105790944A (en) 2016-07-20

Similar Documents

Publication Publication Date Title
US10869196B2 (en) Internet access authentication method and client, and computer storage medium
JP4722056B2 (en) Method and apparatus for personalization and identity management
US10531297B2 (en) Authentication method and server, and computer storage medium
CN108551675B (en) Application client, server and corresponding Portal authentication method
CN104767715B (en) Access control method and equipment
US8250635B2 (en) Enabling authentication of openID user when requested identity provider is unavailable
US9178915B1 (en) Cookie preservation when switching devices
CN103152331B (en) The method, system and the cloud server that log in/register is carried out by mobile terminal
CN104994504A (en) Secure and automatic connection to wireless network
CN103619019B (en) Network access authentication method for wireless network
CN103401884A (en) Authentication method and system for public wireless environment Internet access based on micro message
CN102238213A (en) Internet application login method and system
JP2018170010A (en) Terminal authentication method and device to be used for mobile communication system
CN105790944B (en) A kind of method for network authorization and device based on wechat
CN105407041A (en) Method for adding group or friend, server, client and system
CN108712440B (en) User information management method, device, server and storage medium
US8689303B1 (en) Cookie-handling gateway
US20200145414A1 (en) Proximity-based device authentication
CN108848505A (en) A kind of wireless connection method and equipment
CN102014078A (en) Method for realizing instant messaging based on flash on webpage
CN105939519A (en) Authentication method and device
JP2006527432A (en) Login method with multiple identifiers for instant messaging system
CN108024241A (en) Terminal accessing authentication method, system and authentication server
CN107113615A (en) A kind of authentication method, system and relevant device to access point AP
CN109391472A (en) Wireless network authentication method and device

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