CN109327517B - Method and equipment for acquiring network state of wireless access point - Google Patents

Method and equipment for acquiring network state of wireless access point Download PDF

Info

Publication number
CN109327517B
CN109327517B CN201811173783.8A CN201811173783A CN109327517B CN 109327517 B CN109327517 B CN 109327517B CN 201811173783 A CN201811173783 A CN 201811173783A CN 109327517 B CN109327517 B CN 109327517B
Authority
CN
China
Prior art keywords
network
access point
wireless access
network state
state information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811173783.8A
Other languages
Chinese (zh)
Other versions
CN109327517A (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 Shangxiang 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 Shangxiang Network Technology Co ltd filed Critical Shanghai Shangxiang 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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a method and equipment for acquiring a network state of a wireless access point, which can send a network access request of a target wireless access point to at least two servers, and further determine the network state of the target wireless access point according to priorities of first network state information and second network state information respectively returned by the two servers, so that a user can quickly know whether the target wireless access point is available, convenience of the user in knowing the network state of the wireless access point can be improved, waiting time of the user is reduced, and working or living efficiency of the user is improved.

Description

Method and equipment for acquiring network state of wireless access point
Technical Field
The present application relates to the field of communications networks, and in particular, to a method and a device for acquiring a network status of a wireless access point.
Background
At present, accessing the internet through a wireless access point becomes a normal state of work and life of people, people are used to connect nearby wireless access points anytime and anywhere, but how to quickly find a wireless access point capable of being used in a connected mode among a plurality of connectable wireless access points does not have a good method, a lot of time is consumed for connecting and trying the wireless access points one by one, and finally, a proper wireless access point cannot be found necessarily. Therefore, it is desirable to provide a solution that can quickly acquire the network status of the wireless access point, and facilitate the user to find an available wireless access point.
Content of application
An object of the present application is to provide a method and apparatus for acquiring a network status of a wireless access point.
To achieve the above object, some embodiments of the present application provide a method for acquiring a wireless access point network status at a user equipment, where the method includes:
sending a network access request to a routing device corresponding to a target wireless access point, wherein the network access request at least comprises a first domain name access address and a second domain name access address;
receiving first network state information and second network state information respectively returned by a first server corresponding to a first domain name access address and a second server corresponding to a second domain name access address;
and determining the first network state information or the second network state information as the network state of the target wireless access point based on the preset network state information priority.
In addition, some embodiments of the present application further provide a method for acquiring a wireless access point network state at a routing device, where the method includes:
receiving a network access request of a target wireless access point, which is sent by user equipment, wherein the network access request at least comprises a first domain name access address and a second domain name access address;
forwarding the network access request to a first server corresponding to the first domain name access address and a second server corresponding to the second domain name access address;
receiving first network state information returned by the first server or second network state information returned by the second server;
and forwarding the first network state information or the second network state information to user equipment.
Some embodiments of the present application also provide a user equipment comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform the aforementioned method of acquiring a wireless access point network status at the user equipment side.
Some embodiments of the present application also provide a routing device comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the device to perform the aforementioned method of acquiring wireless access point network status at the routing device end.
Some embodiments of the present application also provide a computer readable medium, on which computer readable instructions are stored, the computer readable instructions being executable by a processor to implement the aforementioned method for acquiring a wireless access point network status at a user equipment side and the aforementioned method for acquiring a wireless access point network status at a routing device side.
Compared with the prior art, the scheme provided by the application can send the network access request of the target wireless access point to at least two servers, and then the network state of the target wireless access point is determined according to the priorities of the first network state information and the second network state information respectively returned by the two servers, so that a user can quickly know whether the target wireless access point is available, the convenience of the user in knowing the network state of the wireless access point can be improved, the waiting time of the user is reduced, and the working or living efficiency of the user is improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a flowchart of a method for acquiring a network status of a wireless access point at a user equipment according to some embodiments of the present application.
Fig. 2 is a flowchart of a method for acquiring a network status of a wireless access point at a routing device according to some embodiments of the present application.
Detailed Description
The present application is described in further detail below with reference to the attached figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
Some embodiments of the present application provide a method for acquiring a wireless access point network state at a user equipment, as shown in fig. 1, the method specifically includes the following steps:
step S101, a network access request is sent to a routing device corresponding to a target wireless access point, wherein the network access request at least comprises a first domain name access address and a second domain name access address;
step S102, receiving first network state information and second network state information respectively returned by a first server corresponding to a first domain name access address and a second server corresponding to a second domain name access address;
step S103, determining the first network state information or the second network state information as the network state of the target wireless access point based on the preset network state information priority.
The scheme is particularly suitable for a scene that the user equipment rapidly acquires the network state of the wireless access point, and can send the network access request of the target wireless access point to at least two servers, and then determine the network state of the target wireless access point according to the priority of the first network state information returned by the first server and the second network state information returned by the second server.
Here, the user equipment refers to a mobile terminal device that is portable by a user and can be used to connect to a wireless access point, and the user equipment can obtain access permission to the wireless access point by providing a corresponding access password to the wireless access point, so as to access the internet through the wireless access point.
The wireless access point is a wifi hotspot and is used for providing network access service for wireless users, is a bridge for communication between a wireless network and a wired network, provides wireless signals capable of covering a certain range, and the coverage range can be spherical. The Identifier of the wireless access point is SSID (Service Set Identifier), and the wireless access user identifies different wireless access points through SSID. The permitted access of the wireless access point can be set to be both a password-using mode and a password-free mode, and the access of the wireless access point is generally required to provide an access password so as to avoid access by an unauthorized user.
In step S101, the user equipment sends a network access request to a routing device corresponding to the target wireless access point, where the network access request at least includes a first domain name access address and a second domain name access address. Here, the user equipment stores in advance access information of the routing device corresponding to the target wireless access point, for example, an access address of the routing device, and the user equipment can obtain the access information of the corresponding routing device after obtaining the target wireless access point information, and send a network access request to the routing device according to the access information. The network access request can comprise a plurality of domain name access addresses, the domain name access addresses can be stored in the user equipment in advance, and one domain name access address corresponds to one wireless access point network state query server. In some embodiments of the present application, the network access request includes at least a first domain name access address and a second domain name access address, and thus, corresponding to at least two wireless access point network status query servers, the corresponding network status query servers can be accessed through the first domain name access address or the second domain name access address.
In some embodiments of the present application, the user equipment may be installed with an application for obtaining a network state of the wireless access point, and the user equipment may send a network access request to the routing device corresponding to the target wireless access point through the application, and the returned network state of the target wireless access point is displayed to the user by the application.
In some embodiments of the present application, before the user equipment sends the network access request to the routing device, the target wireless access point may be obtained first, specifically, the user equipment may first obtain wireless access point information through wireless channel scanning, determine the target wireless access point according to the wireless access point information, and further establish a wireless connection between the user equipment and the routing device.
Here, the user equipment periodically scans the surrounding wireless channels to obtain the wireless access points available for access, and since one wireless access point has a certain coverage, the wireless access points obtained by the user equipment through the wireless channel scanning are often multiple, that is, the scanning result is multiple wireless access points, the multiple wireless access points can form a wireless access point list, and the user equipment displays the obtained wireless access point list to the user.
The wireless access point obtained through the wireless channel scanning includes wireless access point information, where the information of the wireless access point may include, but is not limited to, identification information of the wireless access point, type information of the wireless access point, channel bandwidth information of the wireless access point, and the like.
In some embodiments of the present application, the target wireless access point is determined according to the wireless access point information, and preferably, the user equipment determines the target wireless access point according to a selection operation of the user on the wireless access point list, for example, the user selects a certain wireless access point by clicking on a touch screen, so as to determine the wireless access point as the target wireless access point. For another example, the user equipment obtains a wireless access point list through wireless channel scanning, where the list includes three wireless access points, the identifiers of which are AP1, AP2, and AP3, and the user selects the wireless access point AP2 through touch screen clicking operation, and then the user equipment determines the AP2 as a target wireless access point and obtains related information of the wireless access point AP2, such as identification information of the AP2, type information of the AP2, channel information of the AP2, channel bandwidth information of the AP2, and the like.
Here, after the user equipment determines the target wireless access point, the user equipment does not directly connect to the target wireless access point, but first queries the network status of the target wireless access point. In some embodiments of the present application, after determining the target wireless access point, a routing device corresponding to the target wireless access point may be obtained, and then a wireless connection between the user equipment and the routing device is established, so that the user equipment may send a network access request to the routing device. In this case, different target wireless access points correspond to different routing devices, and when the concurrent amount of the network access requests is large, the network access requests are distributed to different routing devices according to the difference of the target wireless access points, so that the processing loads of the routing devices can be balanced, and the problem of unbalanced load of the routing devices is avoided.
In some embodiments of the present application, the network access request sent by the user equipment to the routing device is a network status query request of a target wireless access point, which may include an identifier of the target wireless access point, and the network status of the target wireless access point is obtained through the wireless access point identifier, for example, if the wireless access point identifier included in the network access request sent by the user equipment to the routing device is "AP 3", the user equipment expects the request to return the network status information of the wireless access point with the wireless access point identifier "AP 3".
In step S102, the ue receives first network status information and second network status information respectively returned by a first server corresponding to the first domain name access address and a second server corresponding to the second domain name access address.
In some embodiments of the present application, at least two servers are employed to store network state information of the wireless access point and provide wireless access point network state services to the user equipment. Here, the servers may be physical servers having independent network addresses, or may be virtual servers, each of which uses a different network address. By using at least two servers to provide the network state service, the problem of single point failure possibly caused by one server, namely the problem that the network state service cannot be provided after the single server providing the service fails, can be avoided.
In addition, because the network state data of the wireless access point respectively stored by the two or more servers may be inconsistent, in some embodiments of the present application, the network state of the wireless access point may be determined by comprehensively considering the network states returned by the two servers, and by comprehensively considering the network state data from different servers, the accuracy of the acquired network state data may be improved, and inaccurate network state data may be excluded.
The user equipment sends the network access request to the plurality of servers through the routing equipment, as long as the server receiving the request does not have a fault, the user equipment receives the state information of the wireless access point returned by all the servers, but due to the difference of the processing performance or the network paths of the servers, for example, the network paths of the request sent by the user equipment to reach different servers may be different, the network paths of different servers to return the network state information to the user equipment may also be different, and the time for returning the network state information from different servers to the user equipment may be different, and the time sequence exists.
In step S103, the ue determines that the first network status information or the second network status information is the network status of the target wireless access point based on the preset network status information priority. Here, the network status information returned by the server may be of various types, each corresponding priority is different, the priorities may be compared to determine a higher priority, and the network status information corresponding to the higher priority may be determined as the network status of the wireless access point.
In some embodiments of the present application, the first network status information and the second network status information received by the ue both have their own priorities, and the priorities of the two may be different. In the process of determining the network state of the target wireless access point, if the network state of the target wireless access point needs to be determined according to all the network state information returned by all the servers sending the network access requests, the waiting time of the user equipment is usually longer due to unpredictability of communication network faults, so that the user experience is reduced, and the efficiency of obtaining the network state information by the user is reduced. Meanwhile, according to the discovery in the actual work, the network state of the target wireless access point can be determined only according to one returned result under certain conditions, and can be determined according to at most two returned results, so that the waiting time of a user is reduced, the user experience is improved, and the efficiency of acquiring the network state information is improved.
In some embodiments of the present application, if the network status information returned by one server first is the first priority, the user equipment may determine the network status information of the first priority as the network status of the target wireless access point without waiting for the network status information returned by other servers. Specifically, if the priority corresponding to the first network state information returned by the first server is the first priority, the first network state information is determined as the network state of the target wireless access point; and if the priority corresponding to the second network state information returned by the second server is the first priority, determining the second network state information as the network state of the target wireless access point.
In this case, the network state information corresponding to the first priority is received by the user equipment first, where the first priority is the highest priority, and in this case, the network state information received subsequently does not affect the result of the priority comparison regardless of the priority, so that the first network state information received can be directly determined as the network state of the wireless access point, and it is not necessary to wait for other servers to return the network state information, so that the waiting time for the user equipment to obtain the network state information of the wireless access point can be reduced.
In some embodiments of the present application, the network status of the target wireless access point may also be determined according to the type information of the target wireless access point and the network status information corresponding to the first priority, which is returned by the server first. Here, the type information of the target wireless access point may include two types: the wireless access point type information indicates that the wireless access point is provided with the password for the protection type, the user equipment can be connected with the wireless access point only by providing the corresponding password, and the type information of the wireless access point can be obtained when the user equipment scans a wireless channel.
The network state information returned by the server can comprise the following three states: any one of an authentication required state, an internet-enabled state, and an unavailable state. After the authentication state indicates that the user equipment is connected with the wireless access point, corresponding identity authentication is required to be carried out so that the user equipment can access the Internet through the wireless access point; the internet surfing state shows that the user equipment can directly access the internet after being connected with the wireless access point without identity authentication; the unavailable state is to indicate that the user equipment cannot access the internet after connecting to the wireless access point, and may only access the internal network.
Here, if the type information of the wireless access point is different, the priority of the state in the network state information is also different. Specifically, if the target wireless access point is an open type, the user equipment determines the state to be authenticated in the network state information as a first priority, and if the first network state information returned by the first server returning the network state information first is the state to be authenticated, the user equipment determines the state to be authenticated as the network state of the target wireless access point. If the target wireless access point is in the protection type, the user equipment determines the internet-surfing-capable state in the network state information as a first priority, and if the first network state information returned by the first server returning the network state information firstly is in the internet-surfing-capable state, the user equipment determines the internet-surfing-capable state as the network state of the target wireless access point.
In addition, in some embodiments of the present application, if the priority corresponding to the first network state information returned by the first server that first returns the network state information is the second priority, the user equipment needs to wait for and acquire the second network state information returned by the second server, and determine the network state information with a higher priority in the first network state information and the second network state information as the network state of the target wireless access point.
Here, the user equipment receives the network status information corresponding to the non-first priority first, that is, the received network status information is the non-highest priority, at this time, since the priority condition corresponding to the subsequently received network status information cannot be determined, it is necessary to wait for other servers to return the network status information, compare the priorities corresponding to all the network status information, determine the higher priority therein, where the higher priority is not necessarily the first priority, and then determine the network status information corresponding to the higher priority as the network status of the target wireless access point.
Similarly, when the priority corresponding to the first network state information returned by the first server which returns the network state information first is the second priority, the priority of the state in the network state information is different if the type information of the wireless access point is different. Specifically, if the target wireless access point is an open type, the user equipment determines the state needing authentication in the network state information as a first priority, the state capable of surfing the internet as a second priority, and the unavailable state as a third priority, and if the first network state information returned by the first server returning the network state information first is the state capable of surfing the internet, the user equipment needs to acquire the second network state information returned by the second server, and if the second network state information is the state needing authentication, the user equipment determines the state needing authentication as the network state of the target wireless access point.
If the target wireless access point is in the protection type, the user equipment determines the state needing authentication and the state capable of surfing the internet in the network state information to be a first priority, the unavailable state is a second priority, and if the first network state information returned by the first server returning the network state information is the unavailable state, the user equipment needs to acquire the second network state information returned by the second server, if the second network state information is the state needing authentication, the user equipment determines the state needing authentication as the network state of the target wireless access point, and if the second network state information is the state capable of surfing the internet, the user equipment determines the state capable of surfing the internet as the network state of the target wireless access point.
In some embodiments of the present application, determining the network state of the wireless access point according to the different types of wireless access point information in the manner described above is a result of data analysis performed on a large amount of network state data of the wireless access point in practice, and is not easily obtained, and the determined network state of the wireless access point is a result of the highest possibility under the same conditions.
In some embodiments of the application, if the finally determined network state of the target wireless access point is the authentication-required state, the user equipment displays an access control interface of the wireless access point to the user, so that the user inputs identity verification information through the access control interface, and thus, the access to internet resources is realized.
Some embodiments of the present application further provide a method for acquiring a wireless access point network state at a routing device end, as shown in fig. 2, the method specifically includes the following steps:
step S201, receiving a network access request of a target wireless access point sent by user equipment, wherein the network access request at least comprises a first domain name access address and a second domain name access address;
step S202, the network access request is forwarded to a first server corresponding to the first domain name access address and a second server corresponding to the second domain name access address;
step S203, receiving first network state information returned by the first server or second network state information returned by the second server;
step S204, forwarding the first network state information or the second network state information to user equipment.
The routing equipment receives the network access requests sent by the user equipment and respectively forwards the network access requests to the corresponding servers, so that the servers inquire the network state of the corresponding target wireless access points, and then receive the network state information returned by the plurality of servers and forward the network state information to the user equipment, so that the user equipment can display the network state information to the user.
In some embodiments of the present application, the routing device may further establish a wireless connection between the user equipment and the routing device according to a network access request sent by the user equipment, and through the established wireless connection, stable data exchange may be performed between the user equipment and the routing device without establishing a new wireless connection for each data exchange, thereby reducing resource consumption for establishing the wireless connection.
In some embodiments of the present application, when the routing device forwards the first network state information or the second network state information to the user equipment, the first network state information and the second network state information may be forwarded to the user equipment in sequence based on a receiving sequence of the first network state information and the second network state information. Here, since the ue has a high requirement for the sequence of the received network status information, if the sequence of the first network status information and the second network status information is reversed, the processing flow of the ue may be adversely affected, and therefore it is necessary to ensure that the forwarding is performed according to the sequence of the network status information reaching the routing device, and the ue processes the network status information in a correct sequence.
Some embodiments of the present application also provide a user equipment comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform the aforementioned method of acquiring a wireless access point network status at the user equipment side.
Some embodiments of the present application also provide a routing device comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the device to perform the aforementioned method of acquiring wireless access point network status at the routing device end.
Some embodiments of the present application also provide a computer readable medium, on which computer readable instructions are stored, the computer readable instructions being executable by a processor to implement the aforementioned method for acquiring a wireless access point network status at a user equipment side and the aforementioned method for acquiring a wireless access point network status at a routing device side.
To sum up, the scheme provided by the application can send the network access request of the target wireless access point to at least two servers, and then further determine the network state of the target wireless access point according to the priorities of the first network state information and the second network state information respectively returned by the two servers, so that a user can quickly know whether the target wireless access point is available, the convenience of the user in knowing the network state of the wireless access point can be improved, the waiting time of the user is reduced, and the working or living efficiency of the user is improved.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, as an Application Specific Integrated Circuit (ASIC), a general purpose computer or any other similar hardware device. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application through the operation of the computer. Program instructions which invoke the methods of the present application may be stored on a fixed or removable recording medium and/or transmitted via a data stream on a broadcast or other signal-bearing medium and/or stored within a working memory of a computer device operating in accordance with the program instructions. An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware.

Claims (15)

1. A method for acquiring a wireless access point network state at a user equipment end comprises the following steps:
after the target wireless access point is determined, the target wireless access point is not directly connected, but the routing equipment corresponding to the target wireless access point is obtained, and then wireless connection between the user equipment and the routing equipment is established;
sending a network access request to a routing device corresponding to a target wireless access point, wherein the network access request at least comprises a first domain name access address and a second domain name access address;
receiving first network state information and second network state information respectively returned by a first server corresponding to a first domain name access address and a second server corresponding to a second domain name access address;
and determining the first network state information or the second network state information as the network state of the target wireless access point based on the preset network state information priority.
2. The method of claim 1, wherein the method further comprises:
acquiring wireless access point information through wireless channel scanning;
determining a target wireless access point according to the wireless access point information, wherein the wireless access point information comprises type information of the wireless access point;
and establishing wireless connection between the user equipment and the routing equipment.
3. The method of claim 1, wherein determining that the first network state information or the second network state information is the network state of the target wireless access point based on a preset network state information priority comprises:
if the priority corresponding to the first network state information returned by the first server is a first priority, determining the first network state information as the network state of the target wireless access point;
and if the priority corresponding to the second network state information returned by the second server is the first priority, determining the second network state information as the network state of the target wireless access point.
4. The method of claim 1, wherein determining that the first network state information or the second network state information is the network state of the target wireless access point based on a preset network state information priority comprises:
and if the priority corresponding to the first network state information returned by the first server is a second priority, acquiring second network state information returned by the second server, and determining the network state information with the higher priority in the first network state information and the second network state information as the network state of the target wireless access point.
5. The method of claim 3, wherein if the priority corresponding to the first network status information returned by the first server is a first priority, determining the first network status information as the network status of the target wireless access point comprises:
and if the target wireless access point is an open type and the first network state information returned by the first server is the authentication required state with the first priority, determining the authentication required state as the network state of the target wireless access point, wherein the network state information comprises any one of the authentication required state, the internet surfing available state and the unavailable state.
6. The method of claim 3, wherein if the priority corresponding to the first network status information returned by the first server is a first priority, determining the first network status information as the network status of the target wireless access point comprises:
and if the target wireless access point is of a protection type and the first piece of network state information returned by the server is an internet-enabled state with a first priority, determining the internet-enabled state as the network state of the target wireless access point, wherein the network state information comprises any one of a state needing authentication, a state capable of being accessed to the internet and an unavailable state.
7. The method of claim 4, wherein if the priority corresponding to the first network status information returned by the first server is the second priority, acquiring the second network status information returned by the second server, and determining the network status information with the higher priority in the first network status information and the second network status information as the network status of the target wireless access point, the method comprises:
if the target wireless access point is an open type and the first network state information returned by the first server is an internet-enabled state with a second priority, acquiring second network state information returned by the second server, and if the second network state information is an authentication-required state with the first priority, determining the authentication-required state as the network state of the target wireless access point, wherein the network state information comprises any one of the authentication-required state, the internet-enabled state and the unavailable state.
8. The method of claim 4, wherein if the priority corresponding to the first network status information returned by the first server is the second priority, acquiring the network status information returned by the second server, and determining the network status information with the higher priority in the first network status information and the second network status information as the network status of the target wireless access point, the method comprises:
if the target wireless access point is in a protection type and the first network state information returned by the first server is an unavailable state with a second priority, second network state information returned by the second server is acquired, if the second network state information is an internet-surfing state with the first priority, the internet-surfing state is determined as the network state of the target wireless access point, and if the second network state information is an authentication-required state with the first priority, the authentication-required state is determined as the network state of the wireless access point, wherein the network state information comprises any one of the authentication-required state, the internet-surfing state and the unavailable state.
9. The method of claim 1, wherein determining the network status of the target wireless access point further comprises:
and if the network state of the target wireless access point is the authentication required state, displaying an access control interface of the target wireless access point to a user.
10. A method for acquiring a wireless access point network state at a routing device side comprises the following steps:
establishing wireless connection between the user equipment and the routing equipment;
receiving a network access request of a target wireless access point, which is sent by user equipment, wherein the network access request at least comprises a first domain name access address and a second domain name access address;
forwarding the network access request to a first server corresponding to the first domain name access address and a second server corresponding to the second domain name access address; receiving first network state information returned by the first server or second network state information returned by the second server;
forwarding the first network state information or the second network state information to user equipment; after determining the target wireless access point, the user equipment does not directly connect to the target wireless access point, but acquires the routing equipment corresponding to the target wireless access point, and then establishes wireless connection between the user equipment and the routing equipment.
11. The method of claim 10, wherein the method further comprises:
and establishing wireless connection between the user equipment and the routing equipment according to the network access request sent by the user equipment.
12. The method of claim 10, wherein forwarding the first network status information or the second network status information to a user equipment comprises:
and forwarding the first network state information and the second network state information to the user equipment in sequence based on the receiving sequence of the first network state information and the second network state information.
13. A user device comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the device to perform the method of any of claims 1 to 9.
14. A routing device comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the device to perform the method of any of claims 10 to 12.
15. A computer readable medium having computer readable instructions stored thereon which are executable by a processor to implement the method of 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 CN109327517A (en) 2019-02-12
CN109327517B true 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)

Families Citing this family (1)

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

Citations (2)

* 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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106535288B (en) * 2015-09-10 2020-08-28 阿里巴巴集团控股有限公司 Method for sending and acquiring wifi networking information and corresponding device
CN108040356A (en) * 2017-11-15 2018-05-15 上海连尚网络科技有限公司 Obtain, provide method, equipment and the medium of wireless access point access information
CN108541000B (en) * 2018-03-06 2021-08-13 上海尚往网络科技有限公司 Method, medium and device for detecting network connection

Patent Citations (2)

* 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

Also Published As

Publication number Publication date
CN109327517A (en) 2019-02-12

Similar Documents

Publication Publication Date Title
US11019512B2 (en) Providing easy access to radio networks
US10313997B2 (en) User equipment registration method for network slice selection and network controller and network communication system using the same
US11032858B2 (en) Network access method, terminal, access network, and core network
US9736767B2 (en) Identification-assisted wireless network connections
WO2019042427A1 (en) Method for selecting amf, amf, system, and computer readable storage medium
EP4167625A1 (en) Communication method and apparatus
US9391800B2 (en) Dynamic and interoperable generation of stateful VPN connection profiles for computing devices
EP3648432A1 (en) Discovery method and device for network function service
CA3072674A1 (en) Protocol data unit type setting method, user equipment policy setting method, and related entity
US10492236B2 (en) Method and device for establishing wireless connection
US10779336B2 (en) Method and device for establishing wireless connection through first application on user equipment
US11070433B2 (en) Network function NF management method and NF management device
CN111221484B (en) Screen projection method and device
US11838381B2 (en) Device cross-area access method, electronic device, and non-transitory computer-readable storage medium
US20230008647A1 (en) Connection establishment method, communication apparatus, and system
TWI640214B (en) Network access method, related equipment and system
CN108541000B (en) Method, medium and device for detecting network connection
CN109327517B (en) Method and equipment for acquiring network state of wireless access point
US11811856B2 (en) Determining a common application context relocation method for edge computing
US10091718B2 (en) System and method for wireless network selection
US20230262558A1 (en) Ue route selection method and related products
CN111385371B (en) MAC address acquisition method, device and equipment
CN108076469B (en) Method and router for wireless access point bridging
CN107211479B (en) Method and device for selecting access network
CN104980471A (en) Network request packet report method, device and system

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