CN105791224B - A kind of method for network authorization and device based on no wechat equipment - Google Patents

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

Info

Publication number
CN105791224B
CN105791224B CN201410808612.3A CN201410808612A CN105791224B CN 105791224 B CN105791224 B CN 105791224B CN 201410808612 A CN201410808612 A CN 201410808612A CN 105791224 B CN105791224 B CN 105791224B
Authority
CN
China
Prior art keywords
wechat
equipment
network
mac address
network authentication
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
CN201410808612.3A
Other languages
Chinese (zh)
Other versions
CN105791224A (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 CN201410808612.3A priority Critical patent/CN105791224B/en
Publication of CN105791224A publication Critical patent/CN105791224A/en
Application granted granted Critical
Publication of CN105791224B publication Critical patent/CN105791224B/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 no wechat equipment, method for network authorization based on no wechat equipment includes: to obtain the MAC address without wechat equipment, and the no wechat equipment includes the equipment for being fitted without wechat and the equipment that cannot install wechat;According to the MAC Address and user's WeChat ID of wechat equipment, the networking request of the no wechat equipment is generated, the wechat equipment is the equipment for being mounted with wechat;To with wechat authentication function gateway or router send networking request.The equipment that the present invention solves without or cannot install wechat, the problem of cannot quickly connecting wireless network by the network authentication of wechat.Between user's WeChat ID and wechat public platform there are it is associated under the premise of, without or equipment that wechat cannot be installed can also complete network authentication, quickly connect wireless network.

Description

A kind of method for network authorization and device based on no wechat equipment
Technical field
The invention belongs to network authentication techniques field more particularly to a kind of method for network authorization based on no wechat equipment and Device.
Background technique
With popularizing for wireless network, many shops are fitted with wireless network, and client can pass through the net based on wechat Network authentication method, between user's WeChat ID and wechat public platform there are it is associated under the premise of, user need not be in the terminal It is manually entered password, mobile terminal can also complete network authentication, connect wireless network.
However, in the method for network authorization based on wechat, without or equipment that wechat cannot be installed, cannot be by micro- The network authentication of letter quickly connects wireless network, reduces the application range of network authentication, is unfavorable for the universal net based on wechat Network certification.The reason is that the method for network authorization based on wechat, can only carry out network authentication to the equipment for being mounted with wechat, And the limited compatibility of wechat, it is impossible to all operating system is supported, when equipment uses the operating system that wechat is not supported When, wechat cannot be installed, also just can not connect wireless network by the network authentication of wechat, for example, by using window system and The equipment that part uses linux system just can not connect wireless network by the network authentication of wechat, therefore reduce based on micro- The application range of the network authentication of letter is unfavorable for the universal of the method for network authorization based on wechat.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of method for network authorization based on no wechat equipment, it is intended to which solution does not have The equipment for having or wechat cannot being installed, the problem of cannot quickly connecting wireless network by the network authentication of wechat.
The embodiments of the present invention are implemented as follows, a kind of method for network authorization based on no wechat equipment, comprising:
The MAC address without wechat equipment is obtained, the no wechat equipment includes being fitted without wechat Equipment and the equipment that wechat cannot be installed;
According to the MAC Address and user's WeChat ID of wechat equipment, the networking request of the no wechat equipment is generated, The wechat equipment is the equipment for being mounted with wechat;
To with wechat authentication function gateway or router send networking request.
The another object of the embodiment of the present invention is to provide a kind of network authentication device based on no wechat equipment, comprising:
MAC Address obtains module, and for obtaining the MAC address without wechat equipment, the no wechat is set Standby includes the equipment for being fitted without wechat and the equipment that cannot install wechat;
Networking request generation module, for user's WeChat ID according to the MAC Address and wechat equipment, described in generation The networking of no wechat equipment is requested, and the wechat equipment is the equipment for being mounted with wechat;
Network request sending module, for wechat authentication function gateway or router send networking request.
In embodiments of the present invention, to wechat authentication function gateway or router send networking request so that The gateway or router carry out network authentication to no wechat equipment, let pass and connect wireless network without wechat equipment, solve Without or equipment that wechat cannot be installed, the problem of cannot quickly connecting wireless network by the network authentication of wechat.With There are under the premise of associated between family WeChat ID and wechat public platform, without or equipment that wechat cannot be installed can also complete net Network certification, quickly connects wireless network, so that the equipment for both having accelerated without or cannot having installed wechat accesses wireless network Speed also improves the application range of network authentication.
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 no wechat equipment;
Fig. 2 is the implementing procedure of the method for network authorization step S103 provided in an embodiment of the present invention based on no wechat equipment Figure;
Fig. 3 is the first structure block diagram of the network authentication device provided in an embodiment of the present invention based on no wechat equipment;
Fig. 4 is the second structural block diagram of the network authentication device provided in an embodiment of the present invention based on no wechat equipment;
Fig. 5 is the third structural block diagram of the network authentication device provided in an embodiment of the present invention based on no wechat equipment;
Fig. 6 is the 4th structural block diagram of the network authentication device provided in an embodiment of the present invention based on no wechat equipment.
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 no wechat equipment, is described in detail It is as follows:
In step s101, the MAC address without wechat equipment is obtained, the no wechat equipment includes not The equipment for having the equipment of installation wechat and wechat cannot being installed;
Wherein, the MAC address without wechat equipment is obtained, specifically:
By the way of two-dimensional code scanning, the two dimensional code shown without wechat equipment is scanned, the two dimensional code includes that media connect Enter to control MAC Address;Alternatively, obtaining the MAC Address without wechat equipment by the way of short-range communication.
In step s 102, it according to the MAC Address and user's WeChat ID of wechat equipment, generates the no wechat and sets Standby networking request, the wechat equipment is the equipment for being mounted with wechat;
It generates the no wechat according to the MAC Address and user's WeChat ID of wechat equipment using wechat equipment and sets Standby networking request.
In step s 103, to wechat authentication function gateway or router send networking request.
Wherein, to wechat authentication function gateway or router send networking request, specially
Show wechat authentication list, the wechat authentication list includes having gateway or the routing of wechat authentication function Device;
Detect gateway or router that user specifies in the wechat authentication list;
Networking request is sent to specified gateway or router.
Wherein, perhaps router sends networking request so that the gateway or router are to described to the gateway of Xiang Zhiding No wechat equipment carries out network authentication, and when existing between user's WeChat ID and wechat public platform, when being associated with, network authentication success is put The row no wechat equipment connects wireless network.
In embodiments of the present invention, to wechat authentication function gateway or router send networking request so that The gateway or router carry out network authentication to no wechat equipment, let pass and connect wireless network without wechat equipment, solve Without or equipment that wechat cannot be installed, the problem of cannot quickly connecting wireless network by the network authentication of wechat.With There are under the premise of associated between family WeChat ID and wechat public platform, without or equipment that wechat cannot be installed can also complete net Network certification, quickly connects wireless network, so that the equipment for both having accelerated without or cannot having installed wechat accesses wireless network Speed also improves the application range of network authentication.
Embodiment two
Fig. 2 is the implementing procedure of the method for network authorization step S102 provided in an embodiment of the present invention based on no wechat equipment Figure, details are as follows:
In step s 201, the data format of pre-configuration is obtained;
Wherein, before step S201, configuration data format.
Wherein, the data format of pre-configuration is the head that user's WeChat ID writes on networking request, and the MAC Address writes into company Net the tail portion of request.
In step S202, according to the MAC Address and user's WeChat ID of wechat equipment, using the data lattice Formula generates the networking request of the no wechat equipment.
In embodiments of the present invention, networking request is sent, allows no wechat equipment with wechat authentication function Gateway or router carry out network authentication.
Embodiment three
The embodiment of the present invention describes the received implementation process of network authentication result, and details are as follows:
After the gateway to wechat authentication function or router send networking request, the gateway is received Or the network authentication result that router returns.
Network authentication result includes network authentication successful information and reminds scanning wechat public platform information, reminds and click wechat Public platform information.
After receiving network authentication successful information, indicate that no wechat equipment can connect wireless network, without carrying out weight Multiple certification;
After receiving prompting scanning wechat public platform information, reminding click wechat public platform information, indicate that no wechat is set It is standby to connect wireless network, when scanning wechat public platform using wechat equipment or click wechat public platform, that is, establish micro- Believe user's WeChat ID in equipment and the association between the wechat public platform.
In embodiments of the present invention, Xiang Weixin equipment returns to network authentication as a result, scanning the wechat public convenient for wechat equipment Number or click wechat public platform, establish 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 no wechat equipment, should Network authentication device based on no wechat equipment can be run in wechat equipment.For ease of description, it illustrates only and this reality Apply the relevant part of example.
Referring to Fig. 3, it is somebody's turn to do the network authentication device based on no wechat equipment, comprising:
MAC Address obtains module 31, for obtaining the MAC address without wechat equipment, the no wechat Equipment includes the equipment for being fitted without wechat and the equipment that cannot install wechat;
Networking request generation module 32 generates institute for user's WeChat ID according to the MAC Address and wechat equipment The networking request of no wechat equipment is stated, the wechat equipment is the equipment for being mounted with wechat;
Network request sending module 33, for wechat authentication function gateway or router send networking ask It asks.
In a kind of implementation of the present embodiment, the MAC Address obtains module and is specifically used for scanning without wechat equipment The two dimensional code of display, the two dimensional code include MAC address;Alternatively, being obtained by the way of short-range communication MAC Address without wechat equipment.
It is provided in an embodiment of the present invention based on no wechat with reference to Fig. 4, Fig. 4 in a kind of implementation of the present embodiment Second structural block diagram of the network authentication device of equipment, the networking request generation module 32, comprising:
Data format acquiring unit 321, for obtaining the data format being pre-configured;
Network request transmitting unit 322, for user's WeChat ID according to the MAC Address and wechat equipment, uses The data format generates the networking request of the no wechat equipment.
It is provided in an embodiment of the present invention based on no wechat with reference to Fig. 5, Fig. 5 in a kind of implementation of the present embodiment The third structural block diagram of the network authentication device of equipment, in the network authentication device based on no wechat equipment, the networking Request generation module 32 further include:
Data format configuration unit 323 is used for configuration data format.
It is provided in an embodiment of the present invention based on no wechat with reference to Fig. 6, Fig. 6 in a kind of implementation of the present embodiment 4th structural block diagram of the network authentication device of equipment, in the network authentication device based on no wechat equipment, further includes:
Network authentication result receiving module 34, the network authentication result returned for receiving the gateway or router.
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 (8)

1. a kind of method for network authorization based on no wechat equipment characterized by comprising
The MAC address without wechat equipment is obtained, the no wechat equipment includes the equipment for being fitted without wechat Equipment with wechat cannot be installed;
Obtain the data format being pre-configured;
It generates the no wechat using the data format according to the MAC Address and user's WeChat ID of wechat equipment and sets Standby networking request, the wechat equipment is the equipment for being mounted with wechat;The data format of the pre-configuration is that the user is micro- Signal writes on the head of the networking request, and the MAC Address writes on the tail portion of the networking request;
To the gateway with wechat authentication function, perhaps router sends the networking request gateway or router to the nothing Wechat equipment carries out network authentication, when between user's WeChat ID and wechat public platform in the presence of being associated with, network authentication success, The no wechat equipment of letting pass connects wireless network.
2. the method for network authorization as described in claim 1 based on no wechat equipment, which is characterized in that the acquisition is set without wechat Standby MAC Address, specifically:
The two dimensional code shown without wechat equipment is scanned, the two dimensional code includes MAC address;Alternatively, using close The mode of distance communication obtains the MAC Address without wechat equipment.
3. the method for network authorization as described in claim 1 based on no wechat equipment, which is characterized in that be pre-configured in the acquisition Data format before, comprising:
Configuration data format.
4. the method for network authorization as described in claim 1 based on no wechat equipment, which is characterized in that described to wechat The gateway or router of authentication function are sent after networking request, further includes:
Receive the network authentication result that the gateway or router return.
5. a kind of network authentication device based on no wechat equipment characterized by comprising
MAC Address obtains module, for obtaining the MAC address without wechat equipment, the no wechat equipment packet Include the equipment for being fitted without wechat and the equipment that wechat cannot be installed;
Networking request generation module, for obtaining the data format being pre-configured;According to the MAC Address and the use of wechat equipment Family WeChat ID generates the networking request of the no wechat equipment using the data format, and the wechat equipment is micro- to be mounted with The equipment of letter;The data format of the pre-configuration is the head that user's WeChat ID writes on the networking request, the MAC Location writes on the tail portion of the networking request;
Network request sending module, for wechat authentication function gateway or router send networking request, it is described Gateway or router carry out network authentication to the no wechat equipment, deposit when between user's WeChat ID and wechat public platform In association, network authentication success, the no wechat equipment of letting pass connects wireless network.
6. the network authentication device as claimed in claim 5 based on no wechat equipment, which is characterized in that the MAC Address obtains Module is specifically used for the two dimensional code that scanning is shown without wechat equipment, and the two dimensional code includes MAC address;Or Person obtains the MAC Address without wechat equipment by the way of short-range communication.
7. the network authentication device as claimed in claim 5 based on no wechat equipment, which is characterized in that the networking request is sent Module further include:
Data format configuration unit is used for configuration data format.
8. the network authentication device as claimed in claim 5 based on no wechat equipment, which is characterized in that described to be set based on no wechat Standby network authentication device, further includes:
Network authentication result receiving module, the network authentication result returned for receiving the gateway or router.
CN201410808612.3A 2014-12-22 2014-12-22 A kind of method for network authorization and device based on no wechat equipment Active CN105791224B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410808612.3A CN105791224B (en) 2014-12-22 2014-12-22 A kind of method for network authorization and device based on no wechat equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410808612.3A CN105791224B (en) 2014-12-22 2014-12-22 A kind of method for network authorization and device based on no wechat equipment

Publications (2)

Publication Number Publication Date
CN105791224A CN105791224A (en) 2016-07-20
CN105791224B true CN105791224B (en) 2019-11-22

Family

ID=56386309

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410808612.3A Active CN105791224B (en) 2014-12-22 2014-12-22 A kind of method for network authorization and device based on no wechat equipment

Country Status (1)

Country Link
CN (1) CN105791224B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594835A (en) * 2012-03-12 2012-07-18 北京建飞科联科技有限公司 Real name authentication method and authentication platform of wireless networks in a wide range of public places
CN103747000A (en) * 2014-01-13 2014-04-23 深圳市深信服电子科技有限公司 Authentication method and authentication device for accessing wireless network
CN104104654A (en) * 2013-04-07 2014-10-15 阿里巴巴集团控股有限公司 Method and device for setting Wifi access authority and Wifi authentication

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594835A (en) * 2012-03-12 2012-07-18 北京建飞科联科技有限公司 Real name authentication method and authentication platform of wireless networks in a wide range of public places
CN104104654A (en) * 2013-04-07 2014-10-15 阿里巴巴集团控股有限公司 Method and device for setting Wifi access authority and Wifi authentication
CN103747000A (en) * 2014-01-13 2014-04-23 深圳市深信服电子科技有限公司 Authentication method and authentication device for accessing wireless network

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
WSMP智能云WIFI应用技术;孟繁林;《河南科技》;20140705;全文 *
基于微信公众平台的无线网访客认证管理服务系统;马帅营;《科技创新导报》;20140821;全文 *
微信关注即可使用Wi-Fi是怎样实现的?;张强;《https://network.51cto.com/art/201406/442828.htm》;20140618;第1-2页 *

Also Published As

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

Similar Documents

Publication Publication Date Title
US10869196B2 (en) Internet access authentication method and client, and computer storage medium
CN104994504B (en) With the safety of wireless network and automatically it connect
CN102710777A (en) Advertisement push-delivery method and system, as well as advertisement pusher
CN102960005B (en) Verification System in wireless LAN and authentication method
WO2013160525A1 (en) Method and apparatus for controlling wireless network access parameter sharing
US20140297806A1 (en) Machine to machine system, method and server using social network service
CN107517461B (en) Method and equipment for carrying out wireless connection pre-authorization on user equipment
CN104903880A (en) Unified communications with a cloud client device
CN104660405B (en) A kind of business device authentication method and equipment
CN108135026A (en) Wi-Fi connection method, computer equipment and storage medium
US20180279252A1 (en) Position authentication
KR20150111557A (en) Local wireless data communication system, method and apparatus for automactic setup of imformation
KR20150127912A (en) Apparatus, method and system for local wireless data communication of hybrid form
KR102493475B1 (en) Apparatus and Method for connecting to WiFi based on BLE beacon
US10152587B2 (en) Device pairing method
CN107567021A (en) A kind of method and apparatus for being used to carry out user equipment wireless connection pre-authorization
US20180131701A1 (en) Position and Authenticate Wi-Fi Users to Enhance Wi-Fi Security Control and Management
CN112689277B (en) Method, device and system for configuring network for equipment
CN105790944B (en) A kind of method for network authorization and device based on wechat
KR20140103579A (en) System and method for authentication of wiress network using near field communication
WO2014173160A1 (en) Method and system for access control
US20180240098A1 (en) Payment method and system of vehicle
CN104349318A (en) Automatic authentication method, apparatus and system of wireless local area network (WLAN)
CN105791224B (en) A kind of method for network authorization and device based on no wechat equipment
CN107770835A (en) A kind of method, equipment and computer-readable storage medium for connecting WAP

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