CN107306393B - Wireless network access method and device - Google Patents

Wireless network access method and device Download PDF

Info

Publication number
CN107306393B
CN107306393B CN201610262389.6A CN201610262389A CN107306393B CN 107306393 B CN107306393 B CN 107306393B CN 201610262389 A CN201610262389 A CN 201610262389A CN 107306393 B CN107306393 B CN 107306393B
Authority
CN
China
Prior art keywords
service
user
temporary access
access password
password
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
CN201610262389.6A
Other languages
Chinese (zh)
Other versions
CN107306393A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201610262389.6A priority Critical patent/CN107306393B/en
Publication of CN107306393A publication Critical patent/CN107306393A/en
Application granted granted Critical
Publication of CN107306393B publication Critical patent/CN107306393B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/04Key management, e.g. using generic bootstrapping architecture [GBA]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Abstract

The embodiment of the invention provides a wireless network access method and a wireless network access device, wherein the method comprises the following steps: acquiring a service number of a user and generating a temporary access password corresponding to the service number; the service number and the temporary access password are stored in an associated mode; receiving an access request sent by a user terminal, wherein the access request comprises the temporary access password; authenticating the temporary access password according to the access request; and if the authentication is passed, accessing the user terminal to a network. The wireless network access method and the wireless network access device provided by the embodiment of the invention can solve the problem of network rubbing caused by using a fixed static password in the prior art, improve the internet surfing experience of legal users in public service places, and improve the network service level of the public service places.

Description

Wireless network access method and device
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a wireless network access method and device.
Background
With the development of communication technology and internet technology and the popularization of intelligent terminals, more and more people hope to realize internet surfing anytime and anywhere by means of the intelligent terminals. The emergence of Wireless local area network (WiFi) technology provides the possibility to fulfill the above-mentioned needs.
At present, in order to improve the service level of a plurality of public service places such as restaurants, coffee shops, bank service halls and the like, WiFi is specially arranged to provide internet access service for people who consume or transact business in the future. However, in the prior art, since the WiFi networks are all connected by using the fixed static passwords, the user name and the passwords are stored in the server only by once network connection, which provides convenience for the user to find the network in the vicinity of the public service places.
Disclosure of Invention
The embodiment of the invention provides a wireless network access method and a wireless network access device, which are used for solving the problem of network rubbing caused by network connection by using a fixed static password in the prior art.
A first aspect of an embodiment of the present invention provides an access method for a wireless network, where the method includes:
acquiring a service number of a user and generating a temporary access password corresponding to the service number;
the service number and the temporary access password are stored in an associated mode;
receiving an access request sent by a user terminal, wherein the access request comprises the temporary access password;
authenticating the temporary access password according to the access request;
and if the authentication is passed, accessing the user terminal to a network.
A second aspect of the embodiments of the present invention provides a wireless network access apparatus, including:
the acquisition module is used for acquiring the service number of the user;
the generating module is used for generating a temporary access password corresponding to the service number;
the storage module is used for storing the service number and the temporary access password in an associated manner;
a first receiving module, configured to receive an access request sent by a user terminal, where the access request includes the temporary access password;
the authentication module is used for authenticating the temporary access password according to the access request;
and the access module is used for accessing the user terminal to a network when the authentication is passed.
A third aspect of the embodiments of the present invention provides a wireless network access apparatus, including:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
acquiring a service number of a user and generating a temporary access password corresponding to the service number;
the service number and the temporary access password are stored in an associated mode;
receiving an access request sent by a user terminal, wherein the access request comprises the temporary access password;
authenticating the temporary access password according to the access request;
and if the authentication is passed, accessing the user terminal to a network.
According to the embodiment of the invention, the temporary access password corresponding to the service number of the user is generated after the service number of the user is obtained, so that the user can access the network according to the temporary access password only after the temporary access password is obtained, the problem of network rubbing caused by network connection by using a fixed static password in the prior art is avoided, the internet surfing experience of a legal user in a public service place is improved, and the network service level of the public service place is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart illustrating an access method of a wireless network according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating an access method of a wireless network according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a wireless network access device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a wireless network access device according to a fourth embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "comprises" and "comprising," and any variations thereof, in the description and claims of this invention, are intended to cover non-exclusive inclusions, e.g., a process or an apparatus that comprises a list of steps is not necessarily limited to those structures or steps expressly listed but may include other steps or structures not expressly listed or inherent to such process or apparatus.
Fig. 1 is a flowchart illustrating an access method of a wireless network according to an embodiment of the present invention, where the method can be implemented by a wireless network access device. As shown in fig. 1, the method provided by this embodiment includes the following steps:
step S101, obtaining a service number of a user and generating a temporary access password corresponding to the service number.
Specifically, the service number of the user in this embodiment may be an order number or a table number of the user in a public service place such as a restaurant, a tea house, a coffee house, or the like, or a queuing number of a public service place such as a bank, a business office, or the like, and the specific embodiment of the service number is different depending on the public service place, and is not limited herein.
Further, the manner of acquiring the service number may be different according to different specific public service places. For example, in a restaurant, the service number may be generated and obtained by the ordering apparatus when the user orders a meal. For another example, in a bank, the service number may be generated and obtained by a number calling device of the bank while allocating a queuing number to the user. The specific manner of acquiring the service number is also not specifically limited in this embodiment.
Further, after obtaining the service number, the wireless network access device randomly generates a temporary access password for the service number. The generation method of the temporary access password can adopt any one of the existing generation methods of random passwords. In this embodiment, the generation manner of the temporary access password is preferably generated according to the system time and a preset password seed.
And S102, storing the service number and the temporary access password in an associated manner.
Specifically, after the temporary access password is generated, in order to implement authentication on the user access request by using the temporary access password, in this embodiment, the generated temporary access password needs to be stored in association with the corresponding service number.
Further, in this embodiment, the correspondence between the service number and the temporary access password may be preferably embodied in a manner of a relationship mapping list.
Step S103, receiving an access request sent by the user terminal, wherein the access request comprises the temporary access password.
Specifically, after the temporary access password is generated, the corresponding user may be notified in an artificial manner, or the temporary access password may be displayed to the user through a preset display device (e.g., a food ordering device in a restaurant). After the user obtains the temporary access password, the connection between the user terminal (such as a mobile phone, a tablet computer and the like) and the wireless network access device can be established through an internal private network of a public service place, and the browser access home page of the user terminal is directed to an authentication input page through a web authentication technology, so that the user can send an access request to the wireless network access device in a mode of inputting the temporary access password on the page.
And step S104, authenticating the temporary access password according to the access request, accessing the user terminal to the network if the authentication is passed, and refusing to access the user terminal to the network if the authentication is not passed.
Specifically, after receiving an access request of a user terminal, the wireless network access device analyzes the access request in a pre-agreed decoding manner, and obtains a temporary access password of the user from the access request.
Further, after the temporary access password of the user is obtained, whether a corresponding relation matched with the temporary access password exists or not is searched in the corresponding relation between the currently stored service number and the temporary access password according to the temporary access password. If the user terminal exists, the authentication is passed, and the user terminal is accessed to the network. If not, the authentication fails and the access request of the user is refused.
In the embodiment, after the service number of the user is acquired, the temporary access password corresponding to the service number of the user is generated, so that the user can access the network according to the temporary access password only after the temporary access password is acquired, the problem of network rubbing caused by network connection by using a fixed static password in the prior art is avoided, the internet surfing experience of a legal user in a public service place is improved, and the network service level of the public service place is improved.
Fig. 2 is a flowchart illustrating an access method of a wireless network according to a second embodiment of the present invention, as shown in fig. 2, this embodiment includes the following steps based on the embodiment shown in fig. 1:
step S201, obtaining a service number of a user and generating a temporary access password corresponding to the service number.
And S202, storing the service number and the temporary access password in an associated manner.
Step S203, receiving an access request sent by the user terminal, wherein the access request comprises the temporary access password.
And step S204, authenticating the temporary access password according to the access request.
Step S205, if the authentication is passed, the user terminal is accessed to the network.
The execution manner and beneficial effects of steps S201 to S205 are similar to those of the embodiment shown in fig. 1, and are not described herein again.
Step S206, receiving the service termination information, wherein the service termination information comprises the service number of the user.
Specifically, when the public service place terminates providing services for the user, the public service place transmits service terminating information to the wireless network access device through a preset device (for example, a meal ordering device of a restaurant, a number calling device of a bank, and the like), wherein the service terminating information includes a service number of the user terminating the service.
In this embodiment, the service termination manner includes two manners, namely active termination and passive termination. And actively stopping the order settlement, such as starting the order settlement after the user finishes dining in the restaurant, or finishing the business transaction of the user corresponding to the serial number, and the like. Passive termination conditions may be, for example, a restaurant user canceling an order, or a number calling device failing to pass a number, etc.
Step S207, according to the service termination information, deleting the corresponding relation between the service number and the temporary access password, and disconnecting the user terminal from the network.
After receiving and obtaining the service termination information, the wireless network access device obtains the service number of the user from the service termination information, deletes the corresponding relation matched with the service number from the corresponding relation of the currently stored service number and the temporary access password (namely deletes the service number and the temporary access password distributed to the user terminating the service) according to the service number, and simultaneously disconnects the user terminal from the network.
In the embodiment, the service number and the temporary access password allocated to the user are deleted when the user terminates the service, so that the user can be prevented from continuously using the temporary access password to surf the internet after terminating the service.
In the embodiment, after the service number of the user is acquired, the temporary access password corresponding to the service number of the user is generated, so that the user can access the network according to the temporary access password only after the temporary access password is acquired, the problem of network rubbing caused by network connection by using a fixed static password in the prior art is avoided, the internet surfing experience of a legal user in a public service place is improved, and the network service level of the public service place is improved.
Fig. 3 is a schematic structural diagram of a wireless network access device according to a third embodiment of the present invention, and as shown in fig. 3, the wireless network access device according to the third embodiment includes the following modules:
an obtaining module 10, configured to obtain a service number of a user;
a generating module 20, configured to generate a temporary access password corresponding to the service number;
the storage module 30 is used for storing the service number and the temporary access password in an associated manner;
a first receiving module 40, configured to receive an access request sent by a user terminal, where the access request includes the temporary access password;
an authentication module 50, configured to authenticate the temporary access password according to the access request;
and an access module 60, configured to access the user terminal to a network when the authentication is passed.
The generating module 20 is specifically configured to:
and generating a temporary access password corresponding to the service number according to the current system time and a preset password seed.
The authentication module 50 is specifically configured to:
analyzing the access request to obtain the temporary access password;
searching the corresponding relation between the stored service number and the temporary access password according to the temporary access password;
if the corresponding relation between the temporary access password and the service number exists, the authentication is passed;
and if the corresponding relation between the temporary access password and the service number does not exist, the authentication fails.
The access module 60 is further configured to refuse to access the user terminal to the network if the authentication fails.
The wireless network access device provided in this embodiment can be used to execute the method shown in fig. 1, and its specific execution manner and beneficial effects are similar to those of the embodiment shown in fig. 1, and are not described herein again.
Fig. 4 is a schematic structural diagram of a wireless network access device according to a fourth embodiment of the present invention, and as shown in fig. 4, the wireless network access device according to the fourth embodiment further includes, based on the structure shown in fig. 3:
a second receiving module 70, configured to receive terminating service information, where the terminating service information includes a service number of the user;
the access module 60 is further configured to delete the corresponding relationship between the service number and the temporary access password according to the service termination information, and disconnect the connection between the user terminal and the network.
The wireless network access device provided in this embodiment can be used to execute the method shown in fig. 2, and its specific execution manner and beneficial effects are similar to those of the embodiment shown in fig. 2, and are not described herein again.
Further, an embodiment of the present invention further provides a wireless network access apparatus, where the apparatus includes:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
acquiring a service number of a user and generating a temporary access password corresponding to the service number;
the service number and the temporary access password are stored in an associated mode;
receiving an access request sent by a user terminal, wherein the access request comprises the temporary access password;
authenticating the temporary access password according to the access request;
and if the authentication is passed, accessing the user terminal to a network.
The wireless network access device provided in this embodiment can be used to execute the method shown in fig. 1, and its specific execution manner and beneficial effects are similar to those of the embodiment shown in fig. 1, and are not described herein again.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. An access method of a wireless network, comprising:
acquiring a service number of a user and generating a temporary access password corresponding to the service number; wherein the service number of the user comprises: the order number or the table number or the queue number of the user in the public service place;
the service number and the temporary access password are stored in an associated mode;
displaying the temporary access password through a preset display device;
receiving an access request sent by a user terminal, wherein the access request comprises the temporary access password;
authenticating the temporary access password according to the access request;
if the authentication is passed, the user terminal is accessed to the network;
receiving termination service information, wherein the termination service information comprises a service number of the user; the service termination information is sent by a preset device when the public service place terminates the service, and the service termination comprises: the user starts order settlement, or user service corresponding to the queuing number is completely transacted, or the user cancels the order, or the number calling device fails to pass the number;
and deleting the corresponding relation between the service number and the temporary access password according to the service termination information, and disconnecting the user terminal from the network.
2. The method of claim 1, wherein the generating a temporary access password corresponding to the service number comprises:
and generating a temporary access password corresponding to the service number according to the current system time and a preset password seed.
3. The method of claim 2, wherein authenticating the temporary access password based on the access request comprises:
analyzing the access request to obtain the temporary access password;
searching the corresponding relation between the stored service number and the temporary access password according to the temporary access password;
if the corresponding relation between the temporary access password and the service number exists, the authentication is passed;
and if the corresponding relation between the temporary access password and the service number does not exist, the authentication fails.
4. The method of claim 1, further comprising:
if the authentication is not passed, the user terminal is refused to be accessed to the network.
5. A wireless network access apparatus, comprising:
the acquisition module is used for acquiring the service number of the user; wherein the service number of the user comprises: the order number or the table number or the queue number of the user in the public service place;
the generating module is used for generating a temporary access password corresponding to the service number;
the storage module is used for storing the service number and the temporary access password in an associated manner; displaying the temporary access password through a preset display device;
a first receiving module, configured to receive an access request sent by a user terminal, where the access request includes the temporary access password;
the authentication module is used for authenticating the temporary access password according to the access request;
the access module is used for accessing the user terminal to a network when the authentication is passed;
a second receiving module, configured to receive service termination information, where the service termination information includes a service number of the user; the service termination information is sent by a preset device when the public service place terminates the service, and the service termination comprises: the user starts order settlement, or user service corresponding to the queuing number is completely transacted, or the user cancels the order, or the number calling device fails to pass the number;
and the access module is further used for deleting the corresponding relation between the service number and the temporary access password according to the service termination information and disconnecting the connection between the user terminal and the network.
6. The wireless network access device according to claim 5, wherein the generating module is specifically configured to:
and generating a temporary access password corresponding to the service number according to the current system time and a preset password seed.
7. The wireless network access device of claim 6, wherein the authentication module is specifically configured to:
analyzing the access request to obtain the temporary access password;
searching the corresponding relation between the stored service number and the temporary access password according to the temporary access password;
if the corresponding relation between the temporary access password and the service number exists, the authentication is passed;
and if the corresponding relation between the temporary access password and the service number does not exist, the authentication fails.
8. The wireless network access device of claim 6, wherein the access module is further configured to deny the user terminal from accessing the network if the authentication is not passed.
9. A wireless network access apparatus, comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
acquiring a service number of a user and generating a temporary access password corresponding to the service number; wherein the service number of the user comprises: the order number or the table number or the queue number of the user in the public service place;
the service number and the temporary access password are stored in an associated mode;
displaying the temporary access password through a preset display device;
receiving an access request sent by a user terminal, wherein the access request comprises the temporary access password;
authenticating the temporary access password according to the access request;
if the authentication is passed, the user terminal is accessed to the network;
receiving termination service information, wherein the termination service information comprises a service number of the user; the service termination information is sent by a preset device when the public service place terminates the service, and the service termination comprises: the user starts order settlement, or user service corresponding to the queuing number is completely transacted, or the user cancels the order, or the number calling device fails to pass the number;
and deleting the corresponding relation between the service number and the temporary access password according to the service termination information, and disconnecting the user terminal from the network.
CN201610262389.6A 2016-04-25 2016-04-25 Wireless network access method and device Active CN107306393B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610262389.6A CN107306393B (en) 2016-04-25 2016-04-25 Wireless network access method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610262389.6A CN107306393B (en) 2016-04-25 2016-04-25 Wireless network access method and device

Publications (2)

Publication Number Publication Date
CN107306393A CN107306393A (en) 2017-10-31
CN107306393B true CN107306393B (en) 2020-04-28

Family

ID=60150215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610262389.6A Active CN107306393B (en) 2016-04-25 2016-04-25 Wireless network access method and device

Country Status (1)

Country Link
CN (1) CN107306393B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111083682A (en) * 2019-12-12 2020-04-28 深圳市高德信通信股份有限公司 Wireless network connection system
CN111148095A (en) * 2020-01-03 2020-05-12 华为技术有限公司 Method for establishing Wi-Fi connection between terminal and wireless access point

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148685A (en) * 2010-02-04 2011-08-10 陈祖石 Method and system for dynamically authenticating password by multi-password seed self-defined by user
CN101350720B (en) * 2007-07-18 2011-12-28 中国移动通信集团公司 Dynamic cipher authentication system and method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378175A (en) * 2011-10-08 2012-03-14 华为终端有限公司 Wireless local area network (WLAN) authentication method and mobile terminal
CN102970674B (en) * 2012-11-01 2016-01-20 中兴通讯股份有限公司 NFC is utilized to realize the method and system of provisional dynamic authorization
CN105101191B (en) * 2014-05-23 2019-03-22 宇龙计算机通信科技(深圳)有限公司 The method and device of wlan security mechanism setting
CN104967997B (en) * 2015-05-28 2019-02-01 Oppo广东移动通信有限公司 A kind of Wi-Fi cut-in method, Wi-Fi equipment, terminal device and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101350720B (en) * 2007-07-18 2011-12-28 中国移动通信集团公司 Dynamic cipher authentication system and method
CN102148685A (en) * 2010-02-04 2011-08-10 陈祖石 Method and system for dynamically authenticating password by multi-password seed self-defined by user

Also Published As

Publication number Publication date
CN107306393A (en) 2017-10-31

Similar Documents

Publication Publication Date Title
US9462468B2 (en) Wireless local area network authentication method and mobile terminal
US8495714B2 (en) Systems and methods for authenticating users accessing unsecured wifi access points
US20180034803A1 (en) Authentication on a computing device
US20190014532A1 (en) Adss enabled global roaming system
CN107689950B (en) Data publication method, apparatus, server and storage medium
US11075895B2 (en) Cloud operation interface sharing method, related device, and system
WO2014206199A1 (en) Account login method, equipment and system
CN104735027B (en) A kind of safety certifying method and authentication server
CN108564378B (en) Linen information processing method and device, computer equipment and storage medium
CN103780641B (en) Access method, home gateway and the system of cloud desktop
WO2015106660A1 (en) Security check method and system, terminal, verification server
CN104469896A (en) Quick access method for wireless network, flow sharing method and flow sharing management method
CN101808094A (en) Identity authentication system and method
CN109831441B (en) Identity authentication method, system and related components
CN113542201A (en) Access control method and device for Internet service
CN107306393B (en) Wireless network access method and device
CN105790948A (en) Identity authentication method and identity authentication device
CN105025484A (en) Method and device for accessing Wi-Fi hotspot
CN102929947A (en) Data processing method and device
US10148816B2 (en) Interactive voice response (IVR) call authentication
CN103095825A (en) Information management method and system of internet and server
CN105991619B (en) Security authentication method and device
CN103138935A (en) Identity authentication system based on telecom operators
KR101916342B1 (en) System and Method for Location based Marketing Information Service Using the AP
CN102711088A (en) Method and device for acquiring contact information

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
GR01 Patent grant
GR01 Patent grant