CN109451498A - Method for network authorization and Related product - Google Patents

Method for network authorization and Related product Download PDF

Info

Publication number
CN109451498A
CN109451498A CN201811473341.5A CN201811473341A CN109451498A CN 109451498 A CN109451498 A CN 109451498A CN 201811473341 A CN201811473341 A CN 201811473341A CN 109451498 A CN109451498 A CN 109451498A
Authority
CN
China
Prior art keywords
wireless network
network
identifying code
target
wireless
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811473341.5A
Other languages
Chinese (zh)
Other versions
CN109451498B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811473341.5A priority Critical patent/CN109451498B/en
Publication of CN109451498A publication Critical patent/CN109451498A/en
Application granted granted Critical
Publication of CN109451498B publication Critical patent/CN109451498B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • 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
    • H04L63/0838Network architectures or network communication protocols for network security for authentication of entities using passwords using one-time-passwords

Abstract

This application discloses a kind of method for network authorization and Related products, applied to electronic equipment, wherein, this method comprises: obtaining the first wireless network and second wireless network, first wireless network, the second wireless network belong to same subnet and are required to Portal certification, and first wireless network, the second wireless network correspond to target authentication server;Receive the identifying code for being directed to first wireless network;The identifying code is inputted, and the identifying code is sent to the target authentication server, Portal certification is carried out to first wireless network and the second wireless network according to the identifying code by the target authentication server;It is that first wireless network, the second wireless network authenticates when passing through in the authentication result of Portal certification, access first wireless network and the second wireless network.The application is by promoting Portal authentication efficiency.

Description

Method for network authorization and Related product
Technical field
This application involves fields of communication technology, and in particular to a kind of method for network authorization and Related product.
Background technique
With the development of mobile communication technology, demand of the user to data communication is increasing, at present electronics on the market Equipment (such as mobile phone, tablet computer) is general to be communicated by cellular mobile network communication or Wi-Fi when carrying out network authentication Etc. modes send data.Under normal conditions, Wi-Fi network needs Portal to authenticate, and how to promote asking for Portal authentication efficiency It inscribes urgently to be resolved.
Summary of the invention
The embodiment of the present application provides a kind of method for network authorization and Related product, can promote Portal authentication efficiency.
In a first aspect, the embodiment of the present application provides a kind of method for network authorization, it is applied to electronic equipment, the method packet It includes:
The first wireless network and second wireless network are obtained, first wireless network, the second wireless network belong to Same subnet and be required to Portal certification, first wireless network, the second wireless network correspond to target authentication take Business device;
Receive the identifying code for being directed to first wireless network;
The identifying code is inputted, and the identifying code is sent to the target authentication server, by the target authentication Server carries out Portal certification to first wireless network and the second wireless network according to the identifying code;
The Portal certification authentication result be first wireless network, the second wireless network authenticate lead to It is out-of-date, access first wireless network and the second wireless network.
Second aspect, the embodiment of the present application provide a kind of network authentication device, are applied to electronic equipment, the network authentication Device includes acquiring unit, receiving unit, authentication unit and access unit, wherein
The acquiring unit, it is first wireless network, described for obtaining the first wireless network and second wireless network Second wireless network belongs to same subnet and is required to Portal certification, first wireless network, the second wireless network Correspond to target authentication server;
The receiving unit, for receiving the identifying code for being directed to first wireless network;
The authentication unit is sent to the target authentication service for inputting the identifying code, and by the identifying code Device, by the target authentication server according to the identifying code to first wireless network and the second wireless network into Row Portal certification;
The access unit, authentication result for authenticating in the Portal are first wireless network, described the Two wireless networks authenticate when passing through, and access first wireless network and the second wireless network.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, including processor, memory, communication interface and One or more programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned It manages device to execute, above procedure is included the steps that for executing the instruction in the embodiment of the present application first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein above-mentioned computer-readable Storage medium storage is used for the computer program of electronic data interchange, wherein above-mentioned computer program executes computer such as Step some or all of described in the embodiment of the present application first aspect.
5th aspect, the embodiment of the present application provide a kind of computer program product, wherein above-mentioned computer program product Non-transient computer readable storage medium including storing computer program, above-mentioned computer program are operable to make to calculate Machine executes the step some or all of as described in the embodiment of the present application first aspect.The computer program product can be one A software installation packet.
As can be seen that method for network authorization and Related product described in the embodiment of the present application, are applied to electronic equipment, The first wireless network and second wireless network are obtained, the first wireless network, second wireless network belong to same subnet and be required to Portal certification, the first wireless network, second wireless network correspond to target authentication server, receive and are directed to the first wireless network Identifying code, input identifying code, and identifying code be sent to target authentication server, by target authentication server according to identifying code Portal certification is carried out to the first wireless network and second wireless network, is first wireless in the authentication result of Portal certification Network, second wireless network authenticate when passing through, and access the first wireless network and second wireless network, so, it is possible to realize By an identifying code, that is, accesses the first wireless network and access second wireless network again, improve Portal authentication efficiency.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Figure 1A is the example system architecture figure of wireless communication system locating for a kind of electronic equipment provided by the embodiments of the present application;
Figure 1B is a kind of flow diagram of method for network authorization provided by the embodiments of the present application;
Fig. 2 is the flow diagram of another method for network authorization provided by the embodiments of the present application;
Fig. 3 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 4 is a kind of functional unit composition block diagram of network authentication device provided by the embodiments of the present application;
Fig. 5 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
The description and claims of this application and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap Include other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Electronic equipment involved by the embodiment of the present application can be the electronic equipment for having network authentication ability, the electronics Equipment may include the various handheld devices with wireless communication function, mobile unit, wearable device, calculate equipment or connection It is mobile to other processing equipments of radio modem and various forms of user equipmenies (User Equipment, UE) Platform (Mobile Station, MS), terminal device (terminal device) etc..
It describes in detail below to the embodiment of the present application.
As shown in Figure 1A, herein described electronic equipment 101 can connect mobile data network 103, mobile data network For the communication network for being used for transmission data service;Wi-Fi 102, Wi-Fi are that a kind of permission electronic equipment is connected to a wireless office The technology of domain net;Usually using 2.4G UHF or 5G SHF ISM radio frequency band;And bluetooth 104, a kind of wireless technology standard, The short-range data exchange etc. between fixed equipment, mobile device and building personal area network can be achieved.
Figure 1B is please referred to, Figure 1B is that the embodiment of the present application provides a kind of flow diagram of method for network authorization, application In electronic equipment;As shown, present networks authentication method includes:
101, the first wireless network and second wireless network, first wireless network, the second wireless network are obtained Belong to same subnet and be required to Portal certification, first wireless network, the second wireless network, which correspond to target, to be recognized Demonstrate,prove server.
In the embodiment of the present application, Wireless Fidelity (Wireless-Fidelity, Wi-Fi) is referred to as Wi-Fi, is one Kind radio connection.Electronic equipment may include Wi-Fi module (being referred to as Wi-Fi communication module), so that electronics is set It is standby to have the function of Wi-Fi.Electronic equipment may search for Wi-Fi Hotspot, and connect wireless network by Wi-Fi Hotspot.Wi-Fi number It is the data connection path connected by Wi-Fi communication module interface established between electronic equipment and wireless network according to link. When electronic equipment is surfed the Internet by Wi-Fi Hotspot, the online of the carrier networks such as movement, connection, telecommunications, Ke Yijie can not be passed through Save traffic fee.
Wherein, in the embodiment of the present application, the first wireless network, second wireless network all can be Wi-Fi network, the first nothing Gauze network, second wireless network may belong to the same subnet, and first wireless network, second wireless network are required to Portal Certification, the first wireless network, second wireless network correspond to target authentication server, i.e. target authentication server can be to the first nothing Gauze network and second wireless network carry out Portal certification.
Optionally, above-mentioned steps 101 obtain the first wireless network and second wireless network, it may include following steps:
A1, wireless network search is carried out, obtains multiple wireless networks, the corresponding attribute information of each wireless network;
A2, classify according to the attribute information of the multiple wireless network to the multiple wireless network, obtain multiclass Wireless network;
A3, the target class wireless network that wireless network quantity is more than 2 is chosen from the multiclass wireless network;
A4,2 wireless networks are chosen from the target class wireless network as first wireless network and the second nothing Gauze network.
Wherein, in the embodiment of the present application, attribute information can be following at least one: whether need Portal certification, Wi- Fi title, SSID, BSSID, IP address, IP address of certificate server etc., are not limited thereto.Electronic equipment can star Wi-Fi module carries out wireless network search, obtains multiple wireless networks in turn, in turn, can be according to multiple wireless networks Attribute information classifies to multiple wireless networks, obtains multiclass wireless network, for example, the IP address according to certificate server, Then the wireless network with same authenticated server can be divided into same class, in this way, can choose from multiclass wireless network Wireless network quantity is more than 2 target class wireless networks, and chooses 2 wireless networks as first from target radio network Wireless network and second wireless network.
Optionally, above-mentioned steps 101 obtain the first wireless network and second wireless network, it may include following steps:
B1, wireless network search is carried out, obtains multiple wireless networks, the corresponding attribute information of each wireless network;
B2, a wireless network is chosen from the multiple wireless network as the first wireless network;
B3, according to the attribute information of first wireless network with it is each in the attribute information of the multiple wireless network Attribute information is matched, and the target property information with the attribute information successful match of first wireless network is obtained, by this The corresponding wireless network of target property information is as the second wireless network.
Wherein, in the embodiment of the present application, attribute information can be following at least one: whether need Portal certification, Wi- Fi title, SSID, BSSID, IP address, IP address of certificate server etc., are not limited thereto.Electronic equipment can star Wi-Fi module carries out wireless network search, obtains multiple wireless networks, in turn, can select from multiple wireless networks in turn It takes a wireless network as the first wireless network, specifically, can receive user and choose instruction, selected from multiple wireless networks A wireless network for taking selection instruction corresponding is as the first wireless network, alternatively, can select from multiple wireless networks The strongest wireless network of the number of winning the confidence is as the first wireless network.
Further, according to the attribute information of first wireless network with it is each in the attribute information of multiple wireless networks Attribute information is matched, and the target property information with the attribute information successful match of the first wireless network is obtained, for example, with For the Wi-Fi title of one wireless network, it is generally the case that the heterogeneous networks under same subnet would generally have similar Wi- Fi title, for example, the Wi-Fi title of the first wireless network are as follows: SANHUAN1, the Wi-Fi title of second wireless network are as follows: SANHUAN2, the matching degree between the attribute information of the two are higher than preset matching threshold value, which can be by user Self-setting or system default.Finally, can be using the corresponding wireless network of target property information as second wireless network.
102, the identifying code for being directed to first wireless network is received.
Wherein, certificate server can be with verifying broadcasts code, in turn, and electronic equipment can receive for the first wireless network Identifying code.
Optionally, above-mentioned steps 102 receive the identifying code for being directed to first wireless network, it may include following steps:
21, the login interface for logging in first wireless network, receives the identification information of the electronic equipment of input;
22, the identification information is sent to the target authentication server, by the target authentication server to described Identification information is identified, and when the identification information is identified successfully, Xiang Suoshu electronic equipment sends the identifying code;
23, the identifying code sent by the target authentication server is received.
Wherein, above-mentioned identification information can be following at least one: telephone number, mailbox, instant messaging application account etc. Deng being not limited thereto.Electronic equipment can log in the login interface of the first wireless network, receive input in the login page The identification information of electronic equipment, and the identification information is sent to target authentication server, by the target authentication server to mark Know information to be identified, when the identification information is identified successfully, identifying code can be sent to electronic equipment, reception is recognized by target Demonstrate,prove the identifying code that server is sent.
103, the identifying code is inputted, and the identifying code is sent to the target authentication server, by the target Certificate server carries out Portal certification to first wireless network and the second wireless network according to the identifying code.
Wherein, the input interface that electronic equipment can be authenticated in Portal, inputs identifying code, determines operation clicking Afterwards, then identifying code can be sent to target authentication server, in turn, by target authentication server according to identifying code to the first nothing Gauze network and second wireless network are authenticated.
Specifically, target authentication server first can carry out Portal certification to the first wireless network according to identifying code, if Authentification failure then sends prompt information to electronic equipment, to prompt user's Portal authentification failure, conversely, if authenticating successfully, Can carry out Portal certification to second wireless network according to identifying code prompts user Portal to authenticate successfully if authenticating successfully. Recognize alternatively, target authentication server can carry out Portal to the first wireless network, second wireless network simultaneously according to identifying code Card.
It 104, is that first wireless network, the second wireless network are recognized in the authentication result of Portal certification When card passes through, first wireless network and the second wireless network are accessed.
It wherein, is that the first wireless network, second wireless network authenticates when passing through in the authentication result of Portal certification, it is electric Sub- equipment can access the first wireless network and second wireless network, so, it is possible to implement link aggregation function.
In the embodiment of the present application, link aggregation is that equipment can use two or more network interface simultaneously simultaneously It surfs the Internet, for example, can using simultaneously Wi-Fi and data network, (data network, can also by link aggregation on mobile phone With referred to as mobile data network) access of Lai Jinhang network, alternatively, being come simultaneously using 2 or 2 or more Wi-Fi networks real Existing network access.Intelligence link polymerize (Smart Link Aggregation, SLA) function, and the online of user is referred to ask It asks intelligent and is assigned to different go up on network interface (cellular communication module interface, Wi-Fi communication module interface).Link aggregation Two or more available networks are at least needed, so the precondition of SLA seeks to keep Wi-Fi and data network total It deposits.
When electronic equipment starts intelligence link polymerizable functional, electronic equipment can execute above-mentioned steps 101.
In the embodiment of the present application, electronic equipment can send upstream data packet, also can receive downlink data packet.It needs to pass Defeated data packet can be upstream data packet, be also possible to downlink data packet.For upstream data packet, electronic equipment can will be upper Row allocation of packets is transmitted in the first wireless uplink data link and second wireless network up data link;For under Row data packet, electronic equipment can distribute downlink data packet in the first wireless network down data links and second wireless network It is transmitted in down data links.
Optionally, when the authentication result of Portal certification is the first wireless network and second wireless network authentification failure, The first wireless network and second wireless network can not then be accessed.
Under illustration, in public, in two Wi-Fi for needing portal to authenticate of connection (under the same subnet Wi-Fi), wherein Wi-Fi1 manual authentication, receives an identifying code, and Wi-Fi 2 can share the authentication code of Wi-Fi1, simultaneously will Authentication code is sent to certificate server by Wi-Fi 2, to make Wi-Fi 2 not need manual authentication, when reducing user authentication Between, accelerate user's online.
Optionally, before above-mentioned steps 101, can also include the following steps:
C1, the application identities for obtaining current foreground application;
C2, when the application identities are present in default application identities collection, execute the first wireless network of the acquisition and the The step of two wireless networks.
Wherein, above-mentioned default application identities concentration may include at least one application identities, which can By user's self-setting or system default.The application identities of the available current foreground application of electronic equipment, before this When the application identities of platform application are present in default application identities collection, 101 are thened follow the steps, otherwise, does not execute step 101.
As can be seen that method for network authorization described in the embodiment of the present application, is applied to electronic equipment, the first nothing is obtained Gauze network and second wireless network, the first wireless network, second wireless network belong to same subnet and are required to Portal certification, First wireless network, second wireless network correspond to target authentication server, receive the identifying code for being directed to the first wireless network, defeated Enter identifying code, and identifying code is sent to target authentication server, it is wireless to first according to identifying code by target authentication server Network and second wireless network carry out Portal certification, are the first wireless network, second in the authentication result of Portal certification Wireless network authenticates when passing through, and accesses the first wireless network and second wireless network, so, it is possible to realize and be tested by one Code is demonstrate,proved, that is, accesses the first wireless network and accesses second wireless network again, improve Portal authentication efficiency.
Consistently with embodiment shown in above-mentioned Figure 1B, referring to Fig. 2, Fig. 2 is a kind of net provided by the embodiments of the present application The flow diagram of network authentication method, as shown, present networks authentication method includes:
201, the application identities of current foreground application are obtained.
202, when the application identities are present in default application identities collection, the first wireless network and the second wireless network are obtained Network, first wireless network, the second wireless network belong to same subnet and are required to Portal certification, first nothing Gauze network, the second wireless network correspond to target authentication server.
203, the identifying code for being directed to first wireless network is received.
204, the identifying code is inputted, and the identifying code is sent to the target authentication server, by the target Certificate server carries out Portal certification to first wireless network and the second wireless network according to the identifying code.
It 205, is that first wireless network, the second wireless network are recognized in the authentication result of Portal certification When card passes through, first wireless network and the second wireless network are accessed.
Wherein, the specific descriptions of above-mentioned steps 201-205 are referred to the corresponding of method for network authorization described in Figure 1B Step, details are not described herein.
As can be seen that method for network authorization described in the embodiment of the present application, is applied to electronic equipment, obtains current The application identities of foreground application obtain the first wireless network and the second nothing when application identities are present in default application identities collection Gauze network, the first wireless network, second wireless network belong to same subnet and are required to Portal certification, the first wireless network, Second wireless network corresponds to target authentication server, receives the identifying code for being directed to the first wireless network, inputs identifying code, and will Identifying code is sent to target authentication server, by target authentication server according to identifying code to the first wireless network and the second nothing Gauze network carries out Portal certification, is that the first wireless network, second wireless network authenticate in the authentication result of Portal certification By when, access the first wireless network and second wireless network, so, it is possible to realize through an identifying code, is i.e. access the One wireless network accesses second wireless network again, improves Portal authentication efficiency.
Consistently with above-mentioned Figure 1B, embodiment shown in Fig. 2, referring to Fig. 3, Fig. 3 is provided by the embodiments of the present application one The structural schematic diagram of kind electronic equipment 300, as shown, the electronic equipment 300 includes processor 310, memory 320, leads to Believe interface 340 and one or more programs 321, wherein one or more of programs 321 are stored in above-mentioned memory In 320, and it is configured to be executed by above-mentioned processor 310, one or more of programs 321 include for executing following steps Instruction:
The first wireless network and second wireless network are obtained, first wireless network, the second wireless network belong to Same subnet and be required to Portal certification, first wireless network, the second wireless network correspond to target authentication take Business device;
Receive the identifying code for being directed to first wireless network;
The identifying code is inputted, and the identifying code is sent to the target authentication server, by the target authentication Server carries out Portal certification to first wireless network and the second wireless network according to the identifying code;
The Portal certification authentication result be first wireless network, the second wireless network authenticate lead to It is out-of-date, access first wireless network and the second wireless network.
As can be seen that electronic equipment described in the embodiment of the present application, obtains the first wireless network and the second wireless network Network, the first wireless network, second wireless network belong to same subnet and are required to Portal certification, the first wireless network, second Wireless network corresponds to target authentication server, receives the identifying code for being directed to the first wireless network, inputs identifying code, and will verifying Code is sent to target authentication server, by target authentication server according to identifying code to the first wireless network and the second wireless network Network carries out Portal certification, is that the first wireless network, second wireless network authenticate and pass through in the authentication result of Portal certification When, the first wireless network and second wireless network are accessed, so, it is possible to realize through an identifying code, that is, access the first nothing Gauze network accesses second wireless network again, improves Portal authentication efficiency.
It is one in terms of the first wireless network of the acquisition and second wireless network in a possible example Or multiple programs 321 include the instruction for executing following steps:
Wireless network search is carried out, multiple wireless networks, the corresponding attribute information of each wireless network are obtained;
Attribute information according to the multiple wireless network classifies to the multiple wireless network, and it is wireless to obtain multiclass Network;
The target class wireless network that wireless network quantity is more than 2 is chosen from the multiclass wireless network;
2 wireless networks are chosen from the target class wireless network as first wireless network and the second wireless network Network.
It is one in terms of the first wireless network of the acquisition and second wireless network in a possible example Or multiple programs 321 include the instruction for executing following steps:
Wireless network search is carried out, multiple wireless networks, the corresponding attribute information of each wireless network are obtained;
A wireless network is chosen from the multiple wireless network as the first wireless network;
According to each category in the attribute information of first wireless network and the attribute information of the multiple wireless network Property information is matched, and the target property information with the attribute information successful match of first wireless network is obtained, by the mesh The corresponding wireless network of attribute information is marked as the second wireless network.
In a possible example, in terms of the reception is for the identifying code of first wireless network, described one A or multiple programs 321 include the instruction for executing following steps:
The login interface for logging in first wireless network receives the identification information of the electronic equipment of input;
The identification information is sent to the target authentication server, by the target authentication server to the mark Information is identified, and when the identification information is identified successfully, Xiang Suoshu electronic equipment sends the identifying code;
Receive the identifying code sent by the target authentication server.
In a possible example, one or more of programs 321 further include the instruction for executing following steps:
Obtain the application identities of current foreground application;
When the application identities are present in default application identities collection, the first wireless network of the acquisition and the second nothing are executed The step of gauze network.
It is above-mentioned that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is understood that , in order to realize the above functions, it comprises execute the corresponding hardware configuration of each function and/or software mould for electronic equipment Block.Those skilled in the art should be readily appreciated that, in conjunction with each exemplary unit of embodiment description presented herein And algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function actually with Hardware or computer software drive the mode of hardware to execute, the specific application and design constraint item depending on technical solution Part.Professional technician can specifically realize described function to each using distinct methods, but this reality Now it is not considered that exceeding scope of the present application.
The embodiment of the present application can carry out the division of functional unit according to above method example to electronic equipment, for example, can With each functional unit of each function division of correspondence, two or more functions can also be integrated in a processing unit In.Above-mentioned integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.It needs It is noted that be schematical, only a kind of logical function partition to the division of unit in the embodiment of the present application, it is practical real It is current that there may be another division manner.
Fig. 4 is the functional unit composition block diagram of network authentication device 400 involved in the embodiment of the present application.The network is recognized Card device 400 is applied to electronic equipment, and the network authentication device 400 includes acquiring unit 401, receiving unit 402, certification list Member 403 and access unit 404, wherein
The acquiring unit 401, for obtaining the first wireless network and second wireless network, first wireless network, The second wireless network belongs to same subnet and is required to Portal certification, and first wireless network, described second are wirelessly Network corresponds to target authentication server;
The receiving unit 402, for receiving the identifying code for being directed to first wireless network;
The identifying code for inputting the identifying code, and is sent to the target authentication and taken by the authentication unit 403 Business device, by the target authentication server according to the identifying code to first wireless network and the second wireless network Carry out Portal certification;
The access unit 404, authentication result for authenticating in the Portal is first wireless network, described Second wireless network authenticates when passing through, and accesses first wireless network and the second wireless network.
As can be seen that network authentication device described in the embodiment of the present application, is applied to electronic equipment, the first nothing is obtained Gauze network and second wireless network, the first wireless network, second wireless network belong to same subnet and are required to Portal certification, First wireless network, second wireless network correspond to target authentication server, receive the identifying code for being directed to the first wireless network, defeated Enter identifying code, and identifying code is sent to target authentication server, it is wireless to first according to identifying code by target authentication server Network and second wireless network carry out Portal certification, are the first wireless network, second in the authentication result of Portal certification Wireless network authenticates when passing through, and accesses the first wireless network and second wireless network, so, it is possible to realize and be tested by one Code is demonstrate,proved, that is, accesses the first wireless network and accesses second wireless network again, improve Portal authentication efficiency.
In a possible example, in terms of the first wireless network of the acquisition and second wireless network, the acquisition Unit 401 is specifically used for:
Wireless network search is carried out, multiple wireless networks, the corresponding attribute information of each wireless network are obtained;
Attribute information according to the multiple wireless network classifies to the multiple wireless network, and it is wireless to obtain multiclass Network;
The target class wireless network that wireless network quantity is more than 2 is chosen from the multiclass wireless network;
2 wireless networks are chosen from the target class wireless network as first wireless network and the second wireless network Network.
In a possible example, in terms of the first wireless network of the acquisition and second wireless network, the acquisition Unit 401 is specifically used for:
Wireless network search is carried out, multiple wireless networks, the corresponding attribute information of each wireless network are obtained;
A wireless network is chosen from the multiple wireless network as the first wireless network;
According to each category in the attribute information of first wireless network and the attribute information of the multiple wireless network Property information is matched, and the target property information with the attribute information successful match of first wireless network is obtained, by the mesh The corresponding wireless network of attribute information is marked as the second wireless network.
It is described to connect in terms of the reception is for the identifying code of first wireless network in a possible example Unit 402 is received to be specifically used for:
The login interface for logging in first wireless network receives the identification information of the electronic equipment of input;
The identification information is sent to the target authentication server, by the target authentication server to the mark Information is identified, and when the identification information is identified successfully, Xiang Suoshu electronic equipment sends the identifying code;
Receive the identifying code sent by the target authentication server.
In a possible example, the acquiring unit 401 also particularly useful for:
Obtain the application identities of current foreground application;
When the application identities are present in default application identities collection, the first wireless network of the acquisition and the second nothing are executed The step of gauze network.
The embodiment of the present application also provides another electronic equipments, as shown in figure 5, for ease of description, illustrate only with The relevant part of the embodiment of the present application, it is disclosed by specific technical details, please refer to the embodiment of the present application method part.The electronics Equipment can be include mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS Any terminal device such as (Point of Sales, point-of-sale terminal), vehicle-mounted computer, by taking electronic equipment is mobile phone as an example:
Fig. 5 shows the block diagram of the part-structure of mobile phone relevant to electronic equipment provided by the embodiments of the present application.Ginseng Fig. 5 is examined, mobile phone includes: radio frequency (Radio Frequency, RF) circuit 910, memory 920, input unit 930, display unit 940, sensor 950, voicefrequency circuit 960, Wireless Fidelity (Wireless Fidelity, Wi-Fi) module 970, processor 980, And the equal components of power supply 990.It will be understood by those skilled in the art that handset structure shown in Fig. 5 is not constituted to mobile phone It limits, may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
It is specifically introduced below with reference to each component parts of the Fig. 5 to mobile phone:
RF circuit 910 can be used for sending and receiving for information.In general, RF circuit 910 includes but is not limited to antenna, at least one A amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit 910 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile Communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code it is point more Location (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 920 can be used for storing software program and module, and processor 980 is stored in memory 920 by operation Software program and module, thereby executing the various function application and data processing of mobile phone.Memory 920 can mainly include Storing program area and storage data area, wherein storing program area can application journey needed for storage program area, at least one function Sequence etc.;Storage data area, which can be stored, uses created data etc. according to mobile phone.In addition, memory 920 may include high speed Random access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or Other volatile solid-state parts.
Input unit 930 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with And the related key signals input of function control.Specifically, input unit 930 may include fingerprint recognition mould group 931 and other are defeated Enter equipment 932.Fingerprint recognition mould group 931 can acquire the finger print data of user on it.In addition to fingerprint recognition mould group 931, input Unit 930 can also include other input equipments 932.Specifically, other input equipments 932 can include but is not limited to touch-control One of screen, physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. Or it is a variety of.
Display unit 940 can be used for showing information input by user or be supplied to user information and mobile phone it is various Menu.Display unit 940 may include display screen 941, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as organic or inorganic light emitting diode (Organic Light-Emitting Diode, OLED) come Configure display screen 941.
Mobile phone may also include at least one sensor 950, such as optical sensor, motion sensor, pressure sensor, temperature Sensor and other sensors.Specifically, optical sensor may include ambient light sensor (also referred to as light sensor) and connect Nearly sensor, wherein ambient light sensor can adjust the backlight illumination of mobile phone according to the light and shade of ambient light, and then adjust aobvious The brightness of display screen 941, proximity sensor can close display screen 941 and/or backlight when mobile phone is moved in one's ear.As movement One kind of sensor, accelerometer sensor can detect the size of (generally three axis) acceleration in all directions, static Shi Kejian Size and the direction for measuring gravity, can be used to identify mobile phone posture application (such as horizontal/vertical screen switching, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;Gyroscope, barometer, the hygrometer, temperature that can also configure as mobile phone The other sensors such as meter, infrared sensor are spent, details are not described herein.
Voicefrequency circuit 960, loudspeaker 961, microphone 962 can provide the audio interface between user and mobile phone.Audio-frequency electric Electric signal after the audio data received conversion can be transferred to loudspeaker 961, be converted to sound by loudspeaker 961 by road 960 Signal plays;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, is turned after being received by voicefrequency circuit 960 It is changed to audio data, then by after the processing of audio data playback process device 980, such as another mobile phone is sent to through RF circuit 910, Or audio data is played to memory 920 to be further processed.
Wi-Fi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics by Wi-Fi module 970 Mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 5 is shown Wi-Fi module 970, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can according to need completely not Change in the range of the essence of invention and omits.
Processor 980 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to It crosses operation or executes the software program and/or module being stored in memory 920, and call and be stored in memory 920 Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 980 can wrap Include one or more processing units;Preferably, processor 980 can integrate application processor and modem processor, wherein answer With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication. It is understood that above-mentioned modem processor can not also be integrated into processor 980.
Mobile phone further includes the power supply 990 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system and processor 980 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system Etc. functions.
Mobile phone can also include camera 9100, and camera 9100 is for shooting image and video, and by the image of shooting It is handled with transmission of video to processor 980.
Mobile phone can be with bluetooth module etc., and details are not described herein.
In earlier figures 1B, embodiment shown in Fig. 2, each step method process can be realized based on the structure of the mobile phone.
The embodiment of the present application also provides a kind of computer storage medium, wherein computer storage medium storage is for electricity The computer program of subdata exchange, the computer program make computer execute any as recorded in above method embodiment Some or all of method step, above-mentioned computer include electronic equipment.
The embodiment of the present application also provides a kind of computer program product, and above-mentioned computer program product includes storing calculating The non-transient computer readable storage medium of machine program, above-mentioned computer program are operable to that computer is made to execute such as above-mentioned side Some or all of either record method step in method embodiment.The computer program product can be a software installation Packet, above-mentioned computer includes electronic equipment.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because According to the application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily the application It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of said units, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
Above-mentioned unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment above method of the application Step.And memory above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory May include: flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the application There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.

Claims (10)

1. a kind of method for network authorization, which is characterized in that be applied to electronic equipment, which comprises
The first wireless network and second wireless network are obtained, first wireless network, the second wireless network belong to same Subnet and be required to Portal certification, first wireless network, the second wireless network correspond to target authentication server;
Receive the identifying code for being directed to first wireless network;
The identifying code is inputted, and the identifying code is sent to the target authentication server, is serviced by the target authentication Device carries out Portal certification to first wireless network and the second wireless network according to the identifying code;
It is that first wireless network, the second wireless network authenticate and pass through in the authentication result of Portal certification When, access first wireless network and the second wireless network.
2. the method according to claim 1, wherein the first wireless network of the acquisition and second wireless network, Include:
Wireless network search is carried out, multiple wireless networks, the corresponding attribute information of each wireless network are obtained;
Attribute information according to the multiple wireless network classifies to the multiple wireless network, obtains multiclass wireless network Network;
The target class wireless network that wireless network quantity is more than 2 is chosen from the multiclass wireless network;
2 wireless networks are chosen from the target class wireless network as first wireless network and second wireless network.
3. the method according to claim 1, wherein the first wireless network of the acquisition and second wireless network, Include:
Wireless network search is carried out, multiple wireless networks, the corresponding attribute information of each wireless network are obtained;
A wireless network is chosen from the multiple wireless network as the first wireless network;
Believe according to each attribute in the attribute information of first wireless network and the attribute information of the multiple wireless network Breath is matched, and the target property information with the attribute information successful match of first wireless network is obtained, by the target category The property corresponding wireless network of information is as the second wireless network.
4. method according to claim 1-3, which is characterized in that described receive is directed to first wireless network Identifying code, comprising:
The login interface for logging in first wireless network receives the identification information of the electronic equipment of input;
The identification information is sent to the target authentication server, by the target authentication server to the identification information It is identified, and when the identification information is identified successfully, Xiang Suoshu electronic equipment sends the identifying code;
Receive the identifying code sent by the target authentication server.
5. method according to claim 1-4, which is characterized in that the method also includes:
Obtain the application identities of current foreground application;
When the application identities are present in default application identities collection, the first wireless network of the acquisition and the second wireless network are executed The step of network.
6. a kind of network authentication device, which is characterized in that be applied to electronic equipment, the network authentication device includes obtaining list Member, receiving unit, authentication unit and access unit, wherein
The acquiring unit, for obtaining the first wireless network and second wireless network, first wireless network, described second Wireless network belongs to same subnet and is required to Portal certification, and first wireless network, the second wireless network are right Answer target authentication server;
The receiving unit, for receiving the identifying code for being directed to first wireless network;
The authentication unit is sent to the target authentication server for inputting the identifying code, and by the identifying code, by The target authentication server carries out first wireless network and the second wireless network according to the identifying code Portal certification;
The access unit, the authentication result for authenticating in the Portal are first wireless network, second nothing Gauze network authenticates when passing through, and accesses first wireless network and the second wireless network.
7. device according to claim 6, which is characterized in that in the first wireless network of the acquisition and second wireless network Aspect, the acquiring unit are specifically used for:
Wireless network search is carried out, multiple wireless networks, the corresponding attribute information of each wireless network are obtained;
Attribute information according to the multiple wireless network classifies to the multiple wireless network, obtains multiclass wireless network Network;
The target class wireless network that wireless network quantity is more than 2 is chosen from the multiclass wireless network;
2 wireless networks are chosen from the target class wireless network as first wireless network and second wireless network.
8. device according to claim 6, which is characterized in that in the first wireless network of the acquisition and second wireless network Aspect, the acquiring unit are specifically used for:
Wireless network search is carried out, multiple wireless networks, the corresponding attribute information of each wireless network are obtained;
A wireless network is chosen from the multiple wireless network as the first wireless network;
Believe according to each attribute in the attribute information of first wireless network and the attribute information of the multiple wireless network Breath is matched, and the target property information with the attribute information successful match of first wireless network is obtained, by the target category The property corresponding wireless network of information is as the second wireless network.
9. a kind of electronic equipment, which is characterized in that including processor, memory, communication interface, and one or more programs, One or more of programs are stored in the memory, and are configured to be executed by the processor, described program packet Include the instruction for executing the step in the method according to claim 1 to 5.
10. a kind of computer readable storage medium, which is characterized in that storage is used for the computer program of electronic data interchange, In, the computer program makes computer execute the method according to claim 1 to 5.
CN201811473341.5A 2018-12-04 2018-12-04 Network authentication method and related product Active CN109451498B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811473341.5A CN109451498B (en) 2018-12-04 2018-12-04 Network authentication method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811473341.5A CN109451498B (en) 2018-12-04 2018-12-04 Network authentication method and related product

Publications (2)

Publication Number Publication Date
CN109451498A true CN109451498A (en) 2019-03-08
CN109451498B CN109451498B (en) 2021-04-16

Family

ID=65555251

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811473341.5A Active CN109451498B (en) 2018-12-04 2018-12-04 Network authentication method and related product

Country Status (1)

Country Link
CN (1) CN109451498B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040139320A1 (en) * 2002-12-27 2004-07-15 Nec Corporation Radio communication system, shared key management server and terminal
CN103634794A (en) * 2013-10-30 2014-03-12 邦讯技术股份有限公司 WLAN (Wireless Local Area Network) terminal identification recognition method by integrating Portal
CN104320781A (en) * 2014-11-27 2015-01-28 上海斐讯数据通信技术有限公司 Verifying method and system for mobile terminal
CN104581892A (en) * 2014-12-05 2015-04-29 华为技术有限公司 Data transmission method and device of terminal
CN104980988A (en) * 2014-04-03 2015-10-14 上海宽带技术及应用工程研究中心 Multi-link aggregation wireless communication system and method
CN106954214A (en) * 2017-03-31 2017-07-14 联想(北京)有限公司 Electronic equipment and its control method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040139320A1 (en) * 2002-12-27 2004-07-15 Nec Corporation Radio communication system, shared key management server and terminal
CN103634794A (en) * 2013-10-30 2014-03-12 邦讯技术股份有限公司 WLAN (Wireless Local Area Network) terminal identification recognition method by integrating Portal
CN104980988A (en) * 2014-04-03 2015-10-14 上海宽带技术及应用工程研究中心 Multi-link aggregation wireless communication system and method
CN104320781A (en) * 2014-11-27 2015-01-28 上海斐讯数据通信技术有限公司 Verifying method and system for mobile terminal
CN104581892A (en) * 2014-12-05 2015-04-29 华为技术有限公司 Data transmission method and device of terminal
CN106954214A (en) * 2017-03-31 2017-07-14 联想(北京)有限公司 Electronic equipment and its control method

Also Published As

Publication number Publication date
CN109451498B (en) 2021-04-16

Similar Documents

Publication Publication Date Title
CN103634294B (en) Information verifying method and device
CN104796385B (en) Terminal binding method, apparatus and system
CN103400108B (en) Face identification method, device and mobile terminal
CN104426963B (en) The method and terminal of associated terminal
CN106507482B (en) A kind of network locating method and terminal device
CN106982097A (en) Radio frequency interference removing method, device, storage medium and terminal
CN104852885A (en) Method, device and system for verifying verification code
CN106126174A (en) The control method of a kind of scene audio and electronic equipment
CN109102297A (en) A kind of voidable method of payment and device
CN106022071A (en) Fingerprint unlocking method and terminal
CN110209245A (en) Face identification method and Related product
CN108881103A (en) A kind of method and device accessing network
CN107172671A (en) A kind of channel switching method, device, storage medium and terminal
CN109922539A (en) Method for connecting network and Related product
CN109618420A (en) Link aggregation implementation method and Related product
CN106793010A (en) A kind of method for network access and equipment
CN107222629A (en) Call processing method and related product
CN104702678B (en) Document transmission method and device
CN104426848B (en) The method and system of log-on webpage application
CN104573437A (en) Information authentication method, device and terminal
CN108062669A (en) A kind of method of payment, terminal and computer readable storage medium
CN103227832B (en) Share method for processing resource and device
CN106535188A (en) Access control method and mobile terminal
CN110267125A (en) Intelligent meter reading method and Related product
CN105955636A (en) Mobile terminal-based application mode setting method and apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant