CN109327517A - Obtain the method and apparatus of wireless access point network state - Google Patents

Obtain the method and apparatus of wireless access point network state Download PDF

Info

Publication number
CN109327517A
CN109327517A CN201811173783.8A CN201811173783A CN109327517A CN 109327517 A CN109327517 A CN 109327517A CN 201811173783 A CN201811173783 A CN 201811173783A CN 109327517 A CN109327517 A CN 109327517A
Authority
CN
China
Prior art keywords
network
wireless access
state
information
network state
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
CN201811173783.8A
Other languages
Chinese (zh)
Other versions
CN109327517B (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.)
Shanghai Shangxiang Network Technology Co ltd
Original Assignee
Shanghai Lianshang Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Lianshang Network Technology Co Ltd filed Critical Shanghai Lianshang Network Technology Co Ltd
Priority to CN201811173783.8A priority Critical patent/CN109327517B/en
Publication of CN109327517A publication Critical patent/CN109327517A/en
Application granted granted Critical
Publication of CN109327517B publication Critical patent/CN109327517B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/101Server selection for load balancing based on network conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

This application provides a kind of method and apparatus for obtaining wireless access point network state, the network access request of target wireless access points can be sent at least two-server, the priority of the first network status information and the second network state information that are returned respectively according further to two-server, determine the network state of the target wireless access points, to allow user quickly to know whether the target wireless access points can be used, it is able to ascend the convenience that user knows wireless access point network state, the time that user waits is reduced, the efficiency of user job or life is improved.

Description

Obtain the method and apparatus of wireless access point network state
Technical field
This application involves communication network field more particularly to a kind of method for obtaining wireless access point network state and set It is standby.
Background technique
Currently, the normality that internet has become people's Working Life is accessed by wireless access point, people have practised It is used to connect neighbouring wireless access point whenever and wherever possible, but how to be quickly found out and can connect in wireless access point in numerous connect The wireless access point used is connect, there is no very good methods now, and being attached trial to wireless access point one by one can expend very More times finally may not necessarily also find suitable wireless access point.Accordingly, it is desirable to provide a kind of scheme, can quickly know nothing The network state of line access point facilitates user to find available wireless access point.
Apply for content
The purpose of the application is to provide a kind of method and apparatus for obtaining wireless access point network state.
To achieve the above object, some embodiments of the present application provide a kind of in user equipment end acquisition wireless access point The method of network state, wherein this method comprises:
Network access request is sent to the corresponding routing device of target wireless access points, the network access request is at least wrapped Include the first domain name access address and the second domain name access address;
Receive that the first domain name access address corresponds to first server and the second region access address corresponds to second server point The first network status information not returned and the second network state information;
First network status information is determined based on preset network state information priority or the second network state information is The network state of target wireless access points.
In addition, some embodiments of the present application, which additionally provide one kind, obtains wireless access point network state at routing device end Method, wherein this method comprises:
The network access request for the target wireless access points that user equipment is sent is received, the network access request is at least wrapped Include the first domain name access address and the second domain name access address;
Forward the network access request to the corresponding first server in the first domain name access address and the second domain name access The corresponding second server in address;
Receive the first network status information that the first server returns or the second net that the second server returns Network status information;
Forward the first network status information or second network state information to user equipment.
Some embodiments of the present application additionally provide a kind of user equipment, which includes referring to for storing computer program The memory of order and processor for executing program instructions, wherein when the computer program instructions are executed by the processor, It triggers the equipment and executes the aforementioned method for obtaining wireless access point network state at user equipment end.
Some embodiments of the present application additionally provide a kind of routing device, which includes referring to for storing computer program The memory of order and processor for executing program instructions, wherein when the computer program instructions are executed by the processor, It triggers the equipment and executes the aforementioned method for obtaining wireless access point network state at routing device end.
Some embodiments of the present application additionally provide a kind of computer-readable medium, are stored thereon with computer-readable finger It enables, the computer-readable instruction can be executed by processor aforementioned in user equipment end acquisition wireless access point network shape to realize The method of state and the method for obtaining wireless access point network state at routing device end.
Compared with prior art, scheme provided by the present application can send target wireless access points at least two-server Network access request, the first network status information and the second network state returned respectively according further to two-server The priority of information, determines the network state of the target wireless access points, so that user be allowed quickly to know that the Target Wireless accesses Whether point can be used, and be able to ascend the convenience that user knows wireless access point network state, reduce the time that user waits, and improve User job or the efficiency of life.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
What Fig. 1 was that some embodiments of the present application provide a kind of obtains wireless access point network state at user equipment end The flow chart of method.
What Fig. 2 was that some embodiments of the present application provide a kind of obtains wireless access point network state at routing device end The flow chart of method.
Specific embodiment
The application is described in further detail with reference to the accompanying drawing.
In a typical configuration of this application, terminal, the equipment of service network and trusted party include one or more Processor (CPU), input/output interface, network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or Any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, computer Readable medium does not include non-temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
Some embodiments of the present application provide a kind of method for obtaining wireless access point network state at user equipment end, As shown in Figure 1, this method specifically comprises the following steps:
Step S101 sends network access request, the network access to the corresponding routing device of target wireless access points Request includes at least the first domain name access address and the second domain name access address;
Step S102 receives the first domain name access address and corresponds to first server and the second region access address corresponding second The first network status information and the second network state information that server returns respectively;
Step S103 determines first network status information or second network-like based on preset network state information priority State information is the network state of target wireless access points.
The program is especially suitable for the scene of user equipment quick obtaining wireless access point network state, can be at least Two-server sends the network access request of target wireless access points, the first net returned according further to first server The priority for the second network state information that network status information and second server return, determines the net of the target wireless access points Network state.
Here, user equipment refers to the mobile terminal device that user is portable, can be used for connecting wireless access point, use Family equipment can obtain the access permission to the wireless access point by providing corresponding access password to wireless access point, from And internet is accessed by the wireless access point.
Wireless access point, that is, wifi hotspot, for providing network insertion service to wireless user, be wireless network with it is wired The bridge linked up between network, offer can cover a certain range of wireless signal, and coverage area can be spherical shape.Wireless access point Be identified as SSID (Service Set Identifier, service set), accessing wirelessly user is identified not by SSID Same wireless access point.The license access of wireless access point may be configured as using password and without using password two ways, usually The access of wireless access point is to need to provide access password, is accessed to avoid unauthorized user.
In step S101, user equipment sends network access request to the corresponding routing device of target wireless access points, should Network access request includes at least the first domain name access address and the second domain name access address.Here, being deposited in advance in user equipment Contain the access information, such as the access address of routing device etc. of routing device corresponding with target wireless access points, Yong Hushe For after obtaining target wireless access points information, the access information of corresponding routing device can be obtained, according to the access information Network access request is sent to routing device.Here network access request may include a plurality of domain name access address, these domain names Access address can be stored in advance on a user device, the corresponding wireless access point network status inquiry in a domain name access address Server.In some embodiments of the present application, network access request includes at least the first domain name access address and the second domain name is visited Ask address, therefore corresponding at least two wireless access point network status inquiry servers, can by the first domain name access address or Second domain name access address accesses corresponding network status query server.
In some embodiments of the present application, user equipment is mountable to have realization to obtain answering for wireless access point network state With user equipment can send network access request to the corresponding routing device of target wireless access points by the application, return Target wireless access points network state shows user by the application.
In some embodiments of the present application, before user equipment sends network access request to routing device, can first it obtain Target wireless access points are taken, specifically, user equipment can obtain wireless access point information by wireless channel scanning first, then Target wireless access points are determined according to wireless access point information, are further established wireless between user equipment and routing device Connection.
Here, periodic scan of the user equipment by the wireless channel to surrounding, can be used for the wireless of access to obtain Access point, since a wireless access point has certain coverage area, user equipment is obtained by wireless channel scanning Wireless access point it is often multiple, that is, scanning the result is that multiple wireless access point, multiple wireless access point constitute wireless Point list is accessed, obtained wireless access point list is showed user by user equipment.
It include wireless access point information, the information of wireless access point by the wireless access point that wireless channel scanning obtains Can include but is not limited to the identification information of wireless access point, the type information of wireless access point, wireless access point channel letter Breath, channel width information of wireless access point etc., in some embodiments of the present application, wireless access point information includes at least wireless The type information of access point.
In some embodiments of the present application, target wireless access points, preferably user are determined according to wireless access point information Equipment determines that target wireless access points, such as user pass through in touch screen according to selection operation of the user to wireless access point list Upper click selects some wireless access point, so that the wireless access point is determined as target wireless access points.In another example Yong Hushe It is standby that a wireless access point list is obtained by wireless channel scanning, it include three wireless access point, mark difference in the list For AP1, AP2, AP3, user selects wireless access point AP 2 by touch screen clicking operation, then AP2 is determined as mesh by user equipment Wireless access point is marked, and obtains the relevant information of wireless access point AP 2, such as the identification information of AP2, the type information of AP2, AP2 Channel information, the channel width information of AP2 etc..
Here, user equipment can't be directly connected to the Target Wireless after user equipment determines target wireless access points Access point, but the network state of the target wireless access point is inquired first.In some embodiments of the present application, determine After target wireless access points, the corresponding routing device of available target wireless access points resettles user equipment and the road By the wireless connection between equipment, so that user equipment can send network access request to the routing device.Here, different mesh Mark wireless access point corresponds to different routing devices, while network access request in the biggish situation of concurrency, according to mesh Network access request is diverted to different routing devices by the difference of mark wireless access point, can balance the place of multiple routing devices Reason load, avoids the load imbalance problem of routing device.
In some embodiments of the present application, user equipment to the network access request that routing device is sent be Target Wireless The network status query of access point is requested, and be may include the mark of the target wireless access points, is obtained by wireless access point identification The network state of the target wireless access points is taken, for example, including in the network access request that user equipment is sent to routing device Wireless access point be identified as " AP3 ", then user equipment wish the request return result be wireless access point be identified as " AP3 " Wireless access point network state information.
In step S102, user equipment receives the first domain name access address and corresponds to first server and the second region access Location corresponds to the first network status information and the second network state information that second server returns respectively.
In some embodiments of the present application, the network state letter of wireless access point is saved using at least two-server Breath provides wireless access point network status service to user equipment.Here, server can be the object with separate network address Server is managed, virtual server is also possible to, every server uses different network address.It is serviced by using at least two Device provides network state service, can be avoided the possible single point failure problem of a server, that is, provides the separate unit of service The problem of network state service can not just provide after server breaks down.
Further, since there may be different for the network status data for the wireless access point that two or more servers save respectively The case where cause, thus in some embodiments of the present application can according to two-server return network state be comprehensively considered come The network state for determining wireless access point can be improved and obtain by comprehensively considering the network status data from different server The accuracy of the network status data taken excludes the network status data of inaccuracy.
User equipment sends network access request to multiple servers by routing device, as long as receiving the server of request There is no failure, user equipment will receive the status information of the wireless access point of Servers-all return, but due to service The difference of device process performance or network path, such as the network path for requesting to reach different server that user equipment is sent may Difference, different server by network state information back to user equipment network path may also difference etc., to will cause Network state information from different server is different back to user equipment required time, and there are temporal successively suitable Sequence.
In step S103, user equipment based on preset network state information priority determine first network status information or Second network state information is the network state of target wireless access points.Here, the network state information that server returns can be with There are many, every kind of corresponding priority is not also identical, can be compared between priority with the higher priority of determination, will be compared with The corresponding network state information of high priority is determined as the network state of wireless access point.
In some embodiments of the present application, the received first network status information of user equipment and the second network state information There is the priority of oneself, the priority of the two may be different.During determining target wireless access points network state, such as The all-network status information that fruit needs the servers for being transmitted across network access request according to all to return just can determine that target without The network state of line access point, due to the unpredictability of communication network failure, the waiting time of user equipment would generally be longer, To reduce user experience, the efficiency that user obtains network state information is reduced.Meanwhile according to the hair in real work Existing, target wireless access points network state only needs to be returned the result according to one in some cases to can determine, at most can root Determination is returned the result according to two, to reduce the waiting time of user, the user experience is improved, improves acquisition network state The efficiency of information.
In some embodiments of the present application, if the network state information that a server returns first is first preferential Grade, then the network state information that user equipment is returned without waiting for other servers can be by the network-like of first priority State information is determined as the network state of target wireless access points.Specifically, if the first network shape that first server returns The corresponding priority of state information is the first priority, which is determined as to the network of target wireless access points State;If the corresponding priority of the second network state information that second server returns is the first priority, by second net Network status information is determined as the network state of target wireless access points.
Here, user equipment receive first be corresponding first priority network state information, first here be preferential Grade is highest priority, and the network state information being successfully received in this case, all will not be to priority regardless of priority Comparison result has an impact, therefore the first network state information received directly can be determined as the network-like of wireless access point State returns to network state information without waiting for other servers, therefore can reduce user equipment and obtain wireless access point network Waiting time when status information.
In some embodiments of the present application, it can also be returned first according to the type information and server of target wireless access points The network state information of first priority return, corresponding, determines the network state of target wireless access points.Here, Target Wireless The type information of access point may include two types: open type and protection type, wireless access point type information are to open The type declaration wireless access point is not provided with password, can be directly connected to wireless access point, and wireless access point type information is Protection type declaration wireless access point is provided with password, and user equipment, which needs to provide corresponding password, just can connect wireless access The type information of point, wireless access point can be obtained when user equipment carries out wireless channel scanning.
The network state information that server returns may include following three kinds of states: needing authentication state, can go up net state and not Any one in available mode.Authentication state is needed to point out user equipment after connecting upper wireless access point, it is also necessary to carry out phase The authentication answered just can access internet by the wireless access point;The connection of the state description that can surf the Internet user equipment is upper wireless Internet can be directly accessed after access point, without carrying out authentication;Down state is to illustrate that user equipment connection wirelessly connects Internet cannot be accessed after access point, it may only be possible to access internal network.
Here, the type information of wireless access point is different, then the priority of state is also different in network state information.Specifically For, if target wireless access points are open type, user equipment will need authentication state to determine in network state information For the first priority, and if the first network status information that the first server for returning to network state information first returns is Need authentication state, the network state that user equipment will need authentication state to be determined as target wireless access points.If Target Wireless connects Access point is protection type, then the net state of going up in network state information is determined as the first priority by user equipment, and such as The first network status information that the first server that fruit returns to network state information first returns is that can go up net state, user equipment The network state that will can be gone up net state and be determined as target wireless access points.
In addition, in some embodiments of the present application, if what the first server for returning to network state information first returned The corresponding priority of first network status information is the second priority, then user equipment needs to wait and obtain second server to return The second network state information returned, by the high network state of priority in first network status information and the second network state information Information is determined as the network state of target wireless access points.
Here, user equipment receive first be corresponding non-first priority network state information, that is, the right and wrong received The network state information of highest priority, at this time due to that can not determine the corresponding priority feelings of network state information being successfully received Condition, it is therefore desirable to wait other servers to return to network state information, all network state informations is corresponding preferential grading Row compares, and determines wherein higher priority, here higher priority not necessarily the first priority, then will be higher excellent The corresponding network state information of first grade is determined as the network state of target wireless access points.
Similarly, corresponding in the first network status information for the first server return for returning to network state information first In the case that priority is the second priority, the type information of wireless access point is different, then in network state information state it is excellent First grade is also different.Specifically, if target wireless access points are open type, user equipment will be in network state information It needing authentication state to be determined as the first priority, net state can be gone up and be determined as the second priority, down state is third priority, And if the first network status information that the first server for returning to network state information first returns is that can go up net state, User equipment needs to obtain the second network state information of second server return, if the second network state information is to need to authenticate State, the then network state that user equipment will need authentication state to be determined as target wireless access points.
If target wireless access points be protection type, user equipment by network state information need authentication state and Net state can be gone up and be determined as the first priority, down state is the second priority, and if returns to network state letter first The first network status information that the first server of breath returns is down state, then user equipment needs to obtain second server The second network state information returned, if the second network state information is to need authentication state, user equipment need to authenticate shape State is determined as the network state of target wireless access points, if the second network state information is that can go up net state, user equipment The network state that will can be gone up net state and be determined as target wireless access points.
In some embodiments of the present application, wirelessly connect using aforesaid way according to the determination of different radio access point type information The network state of access point is to carry out data analysis to wireless access point network status datas a large amount of in practice as a result, not energy It is enough readily available, the network state of identified wireless access point is the maximum result of possibility under similarity condition.
In some embodiments of the present application, if finally the network state of determining target wireless access points is that need to authenticate shape State, then user equipment shows the access control interface of the wireless access point to user, to make user defeated by access control interface Enter authentication information, to realize the access to Internet resources.
Some embodiments of the present application additionally provide a kind of side that wireless access point network state is obtained at routing device end Method, as shown in Fig. 2, this method specifically comprises the following steps:
Step S201 receives the network access request for the target wireless access points that user equipment is sent, the network access Request includes at least the first domain name access address and the second domain name access address;
Step S202 forwards the network access request to the corresponding first server in the first domain name access address and second The corresponding second server in domain name access address;
Step S203 receives first network status information or second server return that the first server returns The second network state information;
Step S204 forwards the first network status information or second network state information to user equipment.
Here, routing device is corresponding with target wireless access points, different target wireless access points can correspond to different Routing device, routing device receive the network access request that user equipment is sent and are forwarded to the network access request pair respectively The server answered to allow server to carry out the network status query of corresponding target wireless access points, then receives multiple servers The network state information of return is simultaneously forwarded to user equipment, so that user equipment is shown to user.
In some embodiments of the present application, the network access request that routing device can also be sent according to user equipment is established Wireless connection between user equipment and routing device can between user equipment and routing device by the wireless connection of foundation To carry out stable data exchange, without establishing new wireless connection for each data exchange, wirelessly connect to reduce foundation The resource consumption connect.
In some embodiments of the present application, routing device forwards first network status information or the second network state information It, can be based on the reception sequence of first network status information and the second network state information, by first network shape when to user equipment State information and the second network state information are forwarded to user equipment in order.Here, since user equipment is for received network The sequencing of status information has higher requirement, if first network status information and the sequence of the second network state information top May adverse effect be caused to the process flow of user equipment, it is therefore necessary to guarantee to reach road according to network state information It is forwarded by the sequencing of equipment, guarantees that user equipment is handled network state information with correctly sequence.
Some embodiments of the present application additionally provide a kind of user equipment, which includes referring to for storing computer program The memory of order and processor for executing program instructions, wherein when the computer program instructions are executed by the processor, It triggers the equipment and executes the aforementioned method for obtaining wireless access point network state at user equipment end.
Some embodiments of the present application additionally provide a kind of routing device, which includes referring to for storing computer program The memory of order and processor for executing program instructions, wherein when the computer program instructions are executed by the processor, It triggers the equipment and executes the aforementioned method for obtaining wireless access point network state at routing device end.
Some embodiments of the present application additionally provide a kind of computer-readable medium, are stored thereon with computer-readable finger It enables, the computer-readable instruction can be executed by processor aforementioned in user equipment end acquisition wireless access point network shape to realize The method of state and the method for obtaining wireless access point network state at routing device end.
In conclusion scheme provided by the present application can send the network of target wireless access points at least two-server Access request, the first network status information returned respectively according further to two-server and the second network state information Priority, determines the network state of the target wireless access points, so that user be allowed whether quickly to know the target wireless access points It can use, be able to ascend the convenience that user knows wireless access point network state, reduce the time that user waits, improve user's work The efficiency made or lived.
It should be noted that the application can be carried out in the assembly of software and/or software and hardware, for example, can adopt With specific integrated circuit (ASIC), general purpose computer or any other realized similar to hardware device.In one embodiment In, the software program of the application can be executed to implement the above steps or functions by processor.Similarly, the application Software program (including relevant data structure) can be stored in computer readable recording medium, for example, RAM memory, Magnetic or optical driver or floppy disc and similar devices.In addition, hardware can be used to realize in some steps or function of the application, example Such as, as the circuit cooperated with processor thereby executing each step or function.
In addition, a part of the application can be applied to computer program product, such as computer program instructions, when its quilt When computer executes, by the operation of the computer, it can call or provide according to the present processes and/or technical solution. And the program instruction of the present processes is called, it is possibly stored in fixed or moveable recording medium, and/or pass through Broadcast or the data flow in other signal-bearing mediums and transmitted, and/or be stored according to described program instruction operation In the working storage of computer equipment.Here, including a device according to one embodiment of the application, which includes using Memory in storage computer program instructions and processor for executing program instructions, wherein when the computer program refers to When enabling by processor execution, method and/or skill of the device operation based on aforementioned multiple embodiments according to the application are triggered Art scheme.
It is obvious to a person skilled in the art that the application is not limited to the details of above-mentioned exemplary embodiment, Er Qie In the case where without departing substantially from spirit herein or essential characteristic, the application can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and scope of the present application is by appended power Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims Variation is included in the application.Any reference signs in the claims should not be construed as limiting the involved claims.This Outside, it is clear that one word of " comprising " does not exclude other units or steps, and odd number is not excluded for plural number.That states in device claim is multiple Unit or device can also be implemented through software or hardware by a unit or device.

Claims (15)

1. a kind of method for obtaining wireless access point network state at user equipment end, wherein this method comprises:
Network access request is sent to the corresponding routing device of target wireless access points, and the network access request includes at least the One domain name access address and the second domain name access address;
Receive that the first domain name access address corresponds to first server and the second region access address corresponds to second server and returns respectively The first network status information returned and the second network state information;
First network status information is determined based on preset network state information priority or the second network state information is target The network state of wireless access point.
2. according to the method described in claim 1, wherein, the method also includes:
Wireless access point information is obtained by wireless channel scanning;
Target wireless access points are determined according to the wireless access point information, and the wireless access point information includes wireless access point Type information;
Establish the wireless connection between user equipment and routing device.
3. according to the method described in claim 1, wherein, determining first network shape based on preset network state information priority State information or the second network state information are the network state of target wireless access points, comprising:
If the corresponding priority of first network status information that first server returns is the first priority, by the first network Status information is determined as the network state of the target wireless access points;
If the corresponding priority of the second network state information that second server returns is the first priority, by second network Status information is determined as the network state of the target wireless access points.
4. according to the method described in claim 1, wherein, determining first network shape based on preset network state information priority State information or the second network state information are the network state of target wireless access points, comprising:
If the corresponding priority of first network status information that first server returns is the second priority, second server is obtained The second network state information returned, by high network-like of priority in first network status information and the second network state information State information is determined as the network state of the target wireless access points.
5. according to the method described in claim 3, wherein, if the first network status information that first server returns is corresponding excellent First grade is the first priority, and the first network status information is determined as to the network state of the target wireless access points, is wrapped It includes:
If the target wireless access points are open type, and the first network status information that the first server returns is the One priority needs authentication state, by the network state for needing authentication state to be determined as the target wireless access points, wherein The network state information includes needing authentication state, can going up any one in net state and down state.
6. according to the method described in claim 3, wherein, if the first network status information that first server returns is corresponding excellent First grade is the first priority, and the first network status information is determined as to the network state of the target wireless access points, is wrapped It includes:
If the target wireless access points are protection type, and first network state information that the server returns is first Priority goes up net state, by the network state for going up net state and being determined as the target wireless access points, wherein institute Stating network state information includes needing authentication state, can going up any one in net state and down state.
7. according to the method described in claim 4, wherein, if the first network status information that first server returns is corresponding excellent First grade is the second priority, obtains the second network state information that second server returns, by first network status information and the The high network state information of priority is determined as the network state of the target wireless access points in two network state informations, packet It includes:
If the target wireless access points are open type, and the first network status information that first server returns is second excellent First grade goes up net state, obtains the second network state information that second server returns, if the second network state information is the One priority needs authentication state, then the network state that authentication state will be needed to be determined as the target wireless access points, wherein institute Stating network state information includes needing authentication state, can going up any one in net state and down state.
8. according to the method described in claim 4, wherein, if the first network status information that first server returns is corresponding excellent First grade is the second priority, the network state information that second server returns is obtained, by first network status information and the second net The high network state information of priority is determined as the network state of the target wireless access points in network status information, comprising:
If the target wireless access points are protection type, and the first network status information that first server returns is second excellent The down state of first grade obtains the second network state information that second server returns, if the second network state information is the One priority goes up net state, then the network state that will can be gone up net state and be determined as the target wireless access points, if second Network state information needs authentication state for the first priority, then the network that authentication state will be needed to be determined as the wireless access point State, wherein the network state information includes needing authentication state, can going up any one in net state and down state.
9. according to the method described in claim 1, wherein it is determined that also being wrapped after the network state of the target wireless access points It includes:
If the network state of the target wireless access points is to need authentication state, the target wireless access points are shown to user Access control interface.
10. a kind of method for obtaining wireless access point network state at routing device end, wherein this method comprises:
The network access request for the target wireless access points that user equipment is sent is received, the network access request includes at least the One domain name access address and the second domain name access address;
Forward the network access request to the corresponding first server in the first domain name access address and the second domain name access address Corresponding second server;
It receives the first network status information that the first server returns or second that the second server returns is network-like State information;
Forward the first network status information or second network state information to user equipment.
11. according to the method described in claim 10, wherein, this method further include:
According to the network access request that user equipment is sent, the wireless connection between user equipment and routing device is established.
12. according to the method described in claim 10, wherein, the first network status information or described second network-like is forwarded State information is to user equipment, comprising:
Reception sequence based on first network status information and the second network state information, by the first network status information and Second network state information is forwarded to user equipment in order.
13. a kind of user equipment, which includes memory for storing computer program instructions and refers to for executing program The processor of order, wherein when the computer program instructions are executed by the processor, trigger the equipment perform claim and require 1 to 9 Any one of described in method.
14. a kind of routing device, which includes memory for storing computer program instructions and refers to for executing program The processor of order, wherein when the computer program instructions by the processor execute when, trigger the equipment perform claim require 10 to Method described in any one of 12.
15. a kind of computer-readable medium, is stored thereon with computer-readable instruction, the computer-readable instruction can be processed Device is executed to realize the method as described in any one of claims 1 to 12.
CN201811173783.8A 2018-10-09 2018-10-09 Method and equipment for acquiring network state of wireless access point Active CN109327517B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811173783.8A CN109327517B (en) 2018-10-09 2018-10-09 Method and equipment for acquiring network state of wireless access point

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811173783.8A CN109327517B (en) 2018-10-09 2018-10-09 Method and equipment for acquiring network state of wireless access point

Publications (2)

Publication Number Publication Date
CN109327517A true CN109327517A (en) 2019-02-12
CN109327517B CN109327517B (en) 2022-05-20

Family

ID=65261085

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811173783.8A Active CN109327517B (en) 2018-10-09 2018-10-09 Method and equipment for acquiring network state of wireless access point

Country Status (1)

Country Link
CN (1) CN109327517B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115037549A (en) * 2022-06-24 2022-09-09 中国联合网络通信集团有限公司 Application protection method and device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106341815A (en) * 2015-07-17 2017-01-18 中兴通讯股份有限公司 Wireless connection method, terminal and AP
CN107690175A (en) * 2017-08-18 2018-02-13 上海连尚网络科技有限公司 A kind of method and apparatus for being used to manage WAP
CN108040356A (en) * 2017-11-15 2018-05-15 上海连尚网络科技有限公司 Obtain, provide method, equipment and the medium of wireless access point access information
US20180199265A1 (en) * 2015-09-10 2018-07-12 Alibaba Group Holding Limited Sending and acquiring wifi networking information
CN108541000A (en) * 2018-03-06 2018-09-14 上海连尚网络科技有限公司 A kind of method, medium and the equipment of detection network connection

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106341815A (en) * 2015-07-17 2017-01-18 中兴通讯股份有限公司 Wireless connection method, terminal and AP
US20180199265A1 (en) * 2015-09-10 2018-07-12 Alibaba Group Holding Limited Sending and acquiring wifi networking information
CN107690175A (en) * 2017-08-18 2018-02-13 上海连尚网络科技有限公司 A kind of method and apparatus for being used to manage WAP
CN108040356A (en) * 2017-11-15 2018-05-15 上海连尚网络科技有限公司 Obtain, provide method, equipment and the medium of wireless access point access information
CN108541000A (en) * 2018-03-06 2018-09-14 上海连尚网络科技有限公司 A kind of method, medium and the equipment of detection network connection

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115037549A (en) * 2022-06-24 2022-09-09 中国联合网络通信集团有限公司 Application protection method and device and storage medium
CN115037549B (en) * 2022-06-24 2023-07-07 中国联合网络通信集团有限公司 Application protection method, device and storage medium

Also Published As

Publication number Publication date
CN109327517B (en) 2022-05-20

Similar Documents

Publication Publication Date Title
CN109561141B (en) CDN node selection method and equipment
EP3327992B1 (en) Method of selecting network slice and system utilizing same
CN110235427B (en) System and method for allocating IP address to user equipment based on IP index
CN104539686B (en) Exempt from method, terminal and the server-side of flow downloading application
KR102513998B1 (en) Communication methods and devices, entities and computer readable storage media
US10728050B2 (en) Method of terminal-based conference load-balancing, and device and system utilizing same
CN107105427B (en) Communication method and device based on channel SIM card
WO2017125025A1 (en) Call method, device, system, and storage medium
RU2019127912A (en) RADIO TERMINAL, RADIO STATION, BASE NETWORK ASSEMBLY AND METHOD IN THEM
CN107094305A (en) A kind of cut-in method of wireless network, device and user terminal
US20190150206A1 (en) Method and Device for Establishing Wireless Connection through First Application on User Equipment
CN103581351B (en) The method and apparatus of network access
CN107979841A (en) The querying method and equipment of wireless access point authentication information
CN111132238A (en) Network access method and device
CN103684926A (en) Method and device for testing network speed of local area network
US20120143943A1 (en) Cloud service system and method, and recording medium
CN106162829A (en) WIFI method of attachment and device
CN111066333A (en) Device capable of acquiring ESIM configuration file
CN108541000B (en) Method, medium and device for detecting network connection
CN108810092B (en) Network access method and device, electronic equipment and computer readable storage medium
CN107733757B (en) Method and device for accessing Wi-Fi network based on third-party application program
CN109327517A (en) Obtain the method and apparatus of wireless access point network state
WO2017219729A1 (en) Method and apparatus for determining access network
US10785165B2 (en) Method for controlling service data flow and network device
CN112165726A (en) Method and system for distributing network to intelligent equipment by WeChat small program

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210421

Address after: 201203 Zone E, 9th floor, No.1 Lane 666, zhangheng Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai

Applicant after: Shanghai Shangxiang Network Technology Co.,Ltd.

Address before: 201306 Shanghai city Pudong New Area mud Town Road No. 979 Building 2 Hon

Applicant before: SHANGHAI LIANSHANG NETWORK TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant