WO2019228493A1 - 用于确定无线接入点的类别的方法及装置 - Google Patents

用于确定无线接入点的类别的方法及装置 Download PDF

Info

Publication number
WO2019228493A1
WO2019228493A1 PCT/CN2019/089472 CN2019089472W WO2019228493A1 WO 2019228493 A1 WO2019228493 A1 WO 2019228493A1 CN 2019089472 W CN2019089472 W CN 2019089472W WO 2019228493 A1 WO2019228493 A1 WO 2019228493A1
Authority
WO
WIPO (PCT)
Prior art keywords
wireless access
access point
processed
category
similar
Prior art date
Application number
PCT/CN2019/089472
Other languages
English (en)
French (fr)
Inventor
罗琨
程磊根
韩洲
Original Assignee
上海连尚网络科技有限公司
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 上海连尚网络科技有限公司 filed Critical 上海连尚网络科技有限公司
Publication of WO2019228493A1 publication Critical patent/WO2019228493A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Definitions

  • Embodiments of the present application relate to the field of wireless communication technologies, and in particular, to a method and an apparatus for determining a type of a wireless access point.
  • WI-FI WIreless-Fidelity
  • the user directly opens the wireless access list page provided by the operating system of the mobile terminal, and selects the wireless access point in the wireless access list page. If the selected wireless access point is a non-secret wireless access point, then The mobile terminal can directly connect to the wireless access point. If the selected wireless access point is an encrypted wireless access point, the user can enter the password of the wireless access point before the mobile terminal can connect to the wireless access point.
  • the user opens a wireless access point application and operates in the interface of the wireless access point application to connect to the wireless access point.
  • a wireless network or a wireless access point providing a wireless network can be divided into different categories.
  • the classification of multiple categories in the prior art mostly depends on artificial experience, and the accuracy and efficiency are relatively low.
  • the embodiments of the present application provide a method and device for determining a type of a wireless access point.
  • some embodiments of the present application provide a method for determining a type of a wireless access point, which is applied to a network device.
  • the method includes: determining a neighbor wireless access point of a wireless access point to be processed; Identify, according to the access point information of the neighboring wireless access point and the access point information of the wireless access point to be processed, a neighboring wireless access point similar to the wireless access point to be processed, and determine The number of similar neighboring wireless access points; and in response to the number satisfying a preset condition, determining the type of the wireless access point to be processed.
  • some embodiments of the present application provide a method for determining a type of a wireless access point for a terminal device.
  • the method includes: acquiring a scan set of a wireless access point, where the scan set includes all The identification information of at least one wireless access point scanned by the terminal device; sending the scan set to a network device; receiving at least a portion of the wireless access point of the at least one wireless access point fed back by the network device Category; in response to the presence of a wireless access point of the network device non-feedback category in the at least one wireless access point, identifying a wireless access point in the at least one wireless access point that is similar to the wireless feedback point of the non-feedback category An access point, and determine a category of the wireless access point of the non-feedback category based on the category or number of the similar wireless access points.
  • some embodiments of the present application provide a network device.
  • the network device includes: one or more processors; and a storage device storing one or more programs thereon.
  • the one or more processors execute, the one or more processors implement the method described in any implementation manner of the first aspect.
  • some embodiments of the present application provide a terminal device.
  • the terminal device includes: one or more processors; a storage device storing one or more programs thereon.
  • the one or more processors execute, the one or more processors implement the method described in any implementation manner of the second aspect.
  • some embodiments of the present application provide a computer-readable medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the method as described in any implementation manner of the first aspect
  • some embodiments of the present application provide a computer-readable medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the method as described in any two implementation manners of the first aspect.
  • the method and device for determining a type of a wireless access point provided by the foregoing embodiments of the present application, first determine a neighbor wireless access point of a wireless access point to be processed; and then according to the access of the neighbor wireless access point Point information and access point information of the wireless access point to be processed, identify neighboring wireless access points similar to the wireless access point to be processed, and determine the number of similar neighbor wireless access points Finally, when the number exceeds the preset threshold, the category of the wireless access point to be processed is determined according to the category of the preset threshold, which improves the accuracy of obtaining the category of the wireless access point to be processed.
  • FIG. 1 is an exemplary system architecture diagram to which some embodiments of the present application can be applied;
  • FIG. 1 is an exemplary system architecture diagram to which some embodiments of the present application can be applied;
  • FIG. 2 is a flowchart of an embodiment of a method for determining a type of a wireless access point according to the present application
  • FIG. 3 is a schematic diagram of an application scenario of a method for determining a type of a wireless access point according to the present application
  • FIG. 4 is a flowchart of still another embodiment of a method for determining a type of a wireless access point according to the present application
  • FIG. 5 is a schematic structural diagram of a computer system suitable for implementing a server of some embodiments of the present application.
  • FIG. 1 illustrates an exemplary system architecture 100 to which a method for determining a type of a wireless access point according to an embodiment of the present application can be applied.
  • the system architecture 100 may include terminal devices 101, 102, and 103, a network 104, and a network device 105.
  • the network 104 is a medium for providing a communication link between the terminal devices 101, 102, 103 and the network device 105.
  • the network 104 may include various types of connections, such as wired, wireless communication links, or fiber optic cables, among others.
  • the user can use the terminal devices 101, 102, 103 to interact with the network device 105 through the network 104 to receive or send messages and the like.
  • Various client applications such as wireless access point applications, can be installed on the terminal devices 101, 102, and 103.
  • the terminal devices 101, 102, and 103 may be hardware or software.
  • the terminal device 101, 102, 103 can be various electronic devices with a display screen and supporting web browsing, including but not limited to smartphones, tablets, e-book readers, laptop computers, and desktop computers and many more.
  • the terminal devices 101, 102, and 103 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (for example, to provide distributed services), or it can be implemented as a single software or software module. It is not specifically limited here.
  • the network device 105 may be a network device that provides various services, for example, a background network device that queries the category of the access point corresponding to the wireless access point to be processed obtained by the terminal devices 101, 102, and 103.
  • the background network device may analyze and process the received data such as the wireless access point to be processed, and feedback the processing result to the terminal device.
  • the method for determining the type of the wireless access point provided by the embodiment corresponding to FIG. 2 in this application is generally executed by the network device 105.
  • the method for determining the type of a wireless access point provided in the embodiment corresponding to FIG. 4 is generally set in the terminal devices 101, 102, and 103.
  • the network device 105 may be hardware or software.
  • the network device When the network device is hardware, it can be implemented as a distributed network device cluster composed of multiple network devices or as a single network device.
  • the network device When the network device is software, it can be implemented as multiple software or software modules (for example, to provide distributed services), or it can be implemented as a single software or software module. It is not specifically limited here.
  • terminal devices, networks, and network devices in FIG. 1 is merely exemplary. According to implementation needs, there can be any number of terminal devices, networks, and network devices.
  • a flowchart 200 of one embodiment of a method for determining a category of a wireless access point according to the present application is shown.
  • the method for determining the type of a wireless access point includes the following steps:
  • Step 201 Determine a neighboring wireless access point of the wireless access point to be processed.
  • an execution subject of the method for determining the type of the wireless access point may obtain the wireless access point to be processed in a wired connection manner or a wireless connection manner.
  • the above wireless connection methods may include, but are not limited to, 3G / 4G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other wireless connection methods known or developed in the future. .
  • the wireless access point to be processed may be a wireless access point obtained by the user through scanning of the terminal devices 101, 102, and 103.
  • the terminal device 101, 102, 103 cannot determine the type of the wireless access point of the wireless access point to be processed, it can send the information of the wireless access point to be processed to the network device 105.
  • the network device 105 may receive the wireless access point to be processed in various ways.
  • the network device 105 may perform data processing on the wireless access point to be processed to obtain a neighbor wireless access point corresponding to the wireless access point to be processed.
  • the wireless access point to be processed may be a wireless access point whose classification has not been determined in a database on the network side.
  • the network device 105 may read data from a database to determine a wireless access point to be processed.
  • step 201 may include the following steps:
  • the first step is to obtain multiple historical scan sets containing identification information of the wireless access point to be processed.
  • terminal devices 101, 102, and 103 can perform multiple scans at multiple locations, and each scan can obtain information about the corresponding wireless access point.
  • the information of the wireless access points scanned by different terminal devices 101, 102, and 103 at different locations may be different or the same.
  • the terminal devices 101, 102, and 103 can send the scanned wireless access point information to the network device 105.
  • the network device 105 may use the received wireless access point information sent by each terminal device 101, 102, 103 as historical scanning information.
  • the network device 105 may match the wireless access point to be processed with historical scanning information to obtain multiple histories containing identification information of the wireless access point to be processed. Scan collection. Each of the multiple historical scan sets may include identification information of the wireless access point scanned by one terminal device at a time.
  • a neighbor wireless access point of the wireless access point to be processed is determined according to the historical scan set.
  • the network device 105 can determine the neighboring wireless access point corresponding to the wireless access point to be processed in a variety of ways. For example, multiple historical scan sets obtained in the foregoing first step and also containing the identification information of the wireless access point to be processed may be combined into one historical scan set, and other invisible access points in the historical scan set A neighbor wireless access point that is the wireless access point to be processed. For another example, the identification information in multiple historical scan sets obtained in the foregoing first step and also containing the identification information of the wireless access point to be processed may be filtered and combined into a historical scan set, and the historical scan set may be included in the historical scan set. Other invisible access points of the wireless access point as neighbor wireless access points of the pending wireless access point.
  • a neighbor wireless access point of the to-be-processed wireless access point includes a wireless access point in a geographic area where the to-be-processed wireless access point is located, so The geographic area is set in advance.
  • the network device 105 When the network device 105 acquires the neighbor wireless access point of the wireless access point to be processed, it may acquire the neighbor wireless access point by selecting a wireless access point in a geographical area. First, the network device 105 may determine the location information of the wireless access point to be processed, and then determine the geographic area to which the location of the wireless access point on the map belongs. The geographic area may be set in advance. Geographical areas can be determined by longitude and latitude according to a certain size; for example, geographical areas divided by geohash. Then, the network device 105 can obtain the wireless access point in the geographic area where the wireless access point to be processed is located by using historical data or real-time search, and use the wireless access point in the geographical area as the wireless to be processed. Access point's neighbor wireless access point.
  • any one of the above two implementations of step 201 described in this embodiment may be used to determine the neighboring wireless access point of the wireless access point to be processed and perform subsequent steps 202 and 203 (that is, the two implementations are relatively independent).
  • the above two implementation manners may be integrated to determine the neighbor wireless access point of the wireless access point to be processed and perform subsequent steps 202 and 203.
  • multiple historical scan sets containing identification information of the wireless access point to be processed may be acquired, and the wireless access points in the geographical area where the wireless access point to be processed is located and the multiple historical scan sets
  • the multiple wireless access points included in the wireless access point are neighboring wireless access points of the wireless access point to be processed, or wireless access points in the geographic area where the wireless access point to be processed is located, and the multiple historical scan sets After the included multiple wireless access points are filtered, neighboring access points of the wireless access points to be processed are obtained.
  • step 201 the first implementation manner (obtaining multiple historical scan sets including identification information of the wireless access point to be processed is first performed, and the to-be-processed (Neighboring wireless access point of the wireless access point) to obtain the neighbor access point of the wireless access point to be processed.
  • the neighbor wireless access point obtained based on the first implementation method performs steps 202 and 203, Determine the type of the wireless access point to be processed, and terminate; if the type of the wireless access point to be processed cannot be determined based on the neighbor wireless access point obtained in the first implementation manner, perform step 201 again, and use the second One implementation determines the neighboring wireless access point of the wireless access point to be processed, and then, steps 202 and 203 are performed based on the neighboring wireless access point determined by the second implementation.
  • Step 202 Identify a neighbor wireless access point similar to the wireless access point to be processed according to the access point information of the neighbor wireless access point and the access point information of the wireless access point to be processed. And determine the number of similar neighboring wireless access points.
  • Neighboring wireless access points can include multiple different wireless access points.
  • the network device 105 may analyze the access point information of each wireless access point included in the neighbor wireless access point. After that, the network device 105 may, based on the analysis result, filter the neighbor wireless access points from the neighbor wireless access points with similar access point information of the wireless access point to be processed, and determine the similarity of the neighbor wireless access points. Quantity.
  • the network device may identify, from the determined neighbor wireless access points, a neighbor wireless access point that matches the information of the wireless access point to be processed as a similar neighbor wireless access point.
  • a neighbor wireless access point that matches the name (such as SSID, Service Set Identifier), password, and physical address of the wireless access point to be processed is used as a similar wireless access point.
  • a neighbor wireless access point of the to-be-processed wireless access point includes a wireless access point in a geographic area where the to-be-processed wireless access point is located, so The geographic area is set in advance.
  • a neighbor wireless access point similar to the wireless access point to be processed is identified,
  • determining the number of similar neighboring wireless access points includes: clustering the wireless access points in the geographic area according to the access point information of the wireless access points in the geographic area to obtain at least A set of wireless access points, wherein other wireless access points in the set where the wireless access point to be processed is a neighbor wireless access point similar to the wireless access point to be processed, said The number of other wireless access points is the number of similar neighboring wireless access points.
  • the network device 105 may cluster the wireless access points in the geographical area according to the access point information of the wireless access points in the geographical area, and group the wireless access points in the geographical area. Divided into at least one set of wireless access point sets.
  • the wireless access point to be processed must belong to a certain wireless access point set in at least one wireless access point set.
  • Other wireless access points in the set where the wireless access point to be processed can be regarded as a neighbor wireless access point similar to the wireless access point to be processed. That is, the number of other wireless access points is the number of neighboring wireless access points similar to the wireless access point to be processed.
  • the access point information includes at least one of the following: a name of the wireless access point, a password of the wireless access point, and a physical address of the wireless access point.
  • a neighbor wireless access point similar to the wireless access point to be processed meets at least one of the following conditions: the names of the wireless access point to be processed and the similar wireless access point include the same
  • the characters that meet the first feature, the passwords of the wireless access points to be processed and the similar neighboring wireless access points contain the same characters that meet the second characteristic, the wireless access points to be processed, and the characters
  • the physical addresses of similar neighboring wireless access points contain the same characters that meet the third characteristic.
  • the network device 105 may filter the neighbor wireless access points similar to the wireless access point to be processed from the neighbor wireless access points according to the foregoing information contained in the access point information.
  • the methods of filtering similar neighboring wireless access points include, but are not limited to, the following methods. First, the network device 105 may match the name of the wireless access point to be processed with the name of the neighbor wireless access point, and determine the neighbor wireless access point with the same or similar name as the wireless access point to be processed. Point similar neighbor wireless access points. Secondly, the network device 105 may match the password of the wireless access point to be processed with the password of the neighboring wireless access point, and determine the neighboring wireless access point with the same or similar password as the wireless access point to be processed. Point similar neighbor wireless access points.
  • the network device 105 may match the physical address of the wireless access point to be processed with the physical address of the neighbor wireless access point, and determine the neighbor wireless access point with the same or similar physical address as the one to be processed.
  • Wireless access points are similar to neighboring wireless access points.
  • the aforementioned “similar” determination rules can be configured by those skilled in the art according to actual needs.
  • the method of this embodiment may further include: in response to that the name of the wireless access point to be processed includes information matching a preset keyword, determining The type of the wireless access point to be processed.
  • Step 201 may include: in response to that the name of the wireless access point to be processed does not include information matching a preset keyword, determining a neighbor wireless access point of the wireless access point to be processed.
  • the network device 105 may store a plurality of preset keywords in advance.
  • the preset keywords can be used to characterize the category of the wireless access point. After the network device 105 obtains the wireless access point to be processed, it may first match the preset keywords with the wireless access point name of the wireless access point to determine the wireless access point to be processed. category. When the name of the wireless access point to be processed does not contain information matching the preset keywords, it indicates that it is difficult to determine its category only by the name of the wireless access point to be processed. At this time, the network device 105 may perform the foregoing step 201 and subsequent steps.
  • Step 203 Determine the type of the wireless access point to be processed in response to the number meeting a preset condition.
  • wireless access points may have the following characteristics: they are similar to each other and are close to each other in geographical location; for example, wireless access points of business category, such as hotels, restaurants, etc., may There will be multiple similar wireless access points in a more concentrated area.
  • the present application finds the above-mentioned laws that have not been discovered in the art, and uses this law to identify specific types of wireless access points that are similar to each other.
  • different preset thresholds can be set for different types of wireless access points, and the preset thresholds can also establish corresponding relationships with the corresponding types of wireless access points.
  • the network device 105 may determine the type of the wireless access point to be processed as The type of the wireless access point corresponding to the preset threshold.
  • the method in this embodiment may further include the following steps after step 203:
  • a first step in response to the number not satisfying a preset condition, acquiring connection behavior information of multiple users connecting to the wireless access point to be processed.
  • the network device 105 When the number of similar neighboring wireless access points does not satisfy a preset condition (for example, the number of similar neighboring wireless access points may not exceed a preset threshold), the network device 105 cannot determine the type of the wireless access point to be processed . At this time, the network device 105 may obtain connection behavior information of multiple users connecting to the wireless access point to be processed.
  • the connection behavior information includes at least one of the following: time information for connecting to the wireless access point to be processed (for example, the time length of connecting to the wireless access point to be processed, wireless access point to be processed Time period, etc.), and the number of devices simultaneously connected to the wireless access point to be processed.
  • the type of the wireless access point to be processed is determined according to the connection behavior information.
  • connection behavior information can also distinguish the types of wireless access points.
  • a wireless access point connected to an office area usually works during working days, and the number of devices connected to the wireless access point in the office area is usually large.
  • the personal wireless access point (for example, a wireless access point in a home) is usually connected outside working hours, and the number of personal wireless access points is not too large.
  • the method may further include the following steps:
  • the first step is to receive the scan set from the terminal device.
  • the terminal device 101, 102, 103 can scan multiple wireless access point information. After that, the terminal devices 101, 102, and 103 may encapsulate the scanned multiple wireless access point information into a scan set and send it to the network device 105.
  • the scan set includes identification information of at least one wireless access point currently scanned by the terminal device.
  • the second step is to query the category of the at least one wireless access point information based on the identification information.
  • the network device 105 After the network device 105 obtains the scan set, it may obtain identification information of each wireless access point in the scan set. After that, the network device 105 can match the identification information of each wireless access point with the historical data on the network device 105, and then query the category of each wireless access point in the at least one wireless access point.
  • the identification information of the wireless access point that successfully found the category and the corresponding category are sent to the terminal device.
  • the historical data on the network device 105 may not completely include at least one wireless access point sent by the terminal devices 101, 102, and 103. Therefore, the network device 105 may not be able to determine a category for each of the at least one wireless access point. For security reasons or to meet the user's need for timely networking, the network device 105 may send the identification information of the wireless access point that has successfully found the category and the corresponding category to the terminal device, so that the user can selectively connect to the wireless access point. For a wireless access point whose category is not queried in at least one wireless access point, the network device 105 may use the wireless access point as the pending wireless access point, and determine the wireless access point through the steps of the foregoing embodiment. The type of wireless access point to be processed.
  • FIG. 3 is a schematic diagram of an application scenario of a method for determining a category of a wireless access point according to this embodiment.
  • user A scans the identification information of multiple wireless access points through the terminal device 302, and encapsulates the identification information of multiple wireless access points into a scan set and sends it to the network device 305.
  • the network device 105 queries the category of the at least one wireless access point based on the identification information. Sending the identification information of the wireless access point that successfully found the category and the corresponding category to the terminal device 302.
  • User A selects a certain wireless access point from the identification information of the wireless access point that has successfully found the category to establish a network connection with the terminal device 302.
  • the method provided by the foregoing embodiment of the present application first determines a neighbor wireless access point of the wireless access point to be processed; and then, according to the access point information of the neighbor wireless access point and the wireless access point to be processed, Access point information, identifying neighboring wireless access points that are similar to the wireless access point to be processed, and determining the number of similar neighboring wireless access points; when the number exceeds a preset threshold, it will respond
  • the category of the preset threshold determines the category of the wireless access point to be processed, and improves the accuracy of obtaining the category of the wireless access point to be processed.
  • a flowchart 400 of yet another embodiment of a method for determining a category of a wireless access point includes the following steps:
  • Step 401 Obtain a scan set of a wireless access point.
  • the execution subject for example, the terminal devices 101, 102, and 103 shown in FIG. 1 on which the method for determining the type of the wireless access point runs can be obtained through a wired connection method or a wireless connection method.
  • Wireless access point and encapsulate the wireless access point into a scan set.
  • the scan set includes identification information of at least one wireless access point scanned by the terminal device.
  • the terminal device 101, 102, 103 can scan multiple wireless access point information. After that, the terminal devices 101, 102, and 103 can encapsulate the scanned multiple wireless access point information into a scan set.
  • Step 402 Send the scan set to a network device.
  • the terminal device 101, 102, 103 may send the acquired scan set to the network device 105 in a wired or wireless manner, so that the network device 105 performs analysis based on the identification information of the wireless access point included in the scan set.
  • the network device 105 may obtain identification information of each wireless access point in the scan set.
  • the network device 105 can match the identification information of each wireless access point with the historical data on the network device 105, and then query the category of each wireless access point in the at least one wireless access point.
  • Step 403 Receive a category of at least a part of the at least one wireless access point fed back by the network device.
  • the historical data on the network device 105 may not completely include at least one wireless access point sent by the terminal devices 101, 102, and 103. Therefore, the network device 105 may not be able to determine a category for each of the at least one wireless access point. For security reasons or to meet the user's need for timely networking, the network device 105 may send the identification information of the wireless access point that has successfully found the category and the corresponding category to the terminal device, so that the user can selectively connect to the wireless access point.
  • the network device 105 may use the wireless access point as the pending wireless access point, and The embodiment shown in 2 determines the type of the wireless access point to be processed. Alternatively, in some embodiments, the terminal device may determine the type of the wireless access point that has no feedback type through step 404 described below.
  • Step 404 In response to a wireless access point of a non-feedback category of a network device in the at least one wireless access point, identify a wireless similar to the wireless access point of the non-feedback category in the at least one wireless access point. An access point, and based on the category or number of similar wireless access points, determine the category of the wireless access point that has no feedback category.
  • the terminal devices 101, 102, 103 may use multiple methods (for example, the same characters in the name, signal strength, etc.) Etc.) A wireless access point similar to the wireless access point of the unrecognized category is further filtered from the wireless access points of the recognized category fed back from the network device 105. After that, the terminal devices 101, 102, and 103 determine the type of the wireless access point without the feedback type based on the type or number of similar wireless access points.
  • FIG. 5 shows a schematic structural diagram of a computer system 500 suitable for implementing a server (for example, the network device 105 in FIG. 1) of the embodiment of the present application.
  • the server shown in FIG. 5 is only an example, and should not impose any limitation on the functions and scope of use of the embodiments of the present application.
  • the computer system 500 includes a central processing unit (CPU) 501, which can be loaded into a random access memory (RAM) 503 according to a program stored in a read-only memory (ROM) 502 or from a storage portion 508. Instead, perform various appropriate actions and processes.
  • RAM random access memory
  • ROM read-only memory
  • various programs and data required for the operation of the system 500 are also stored.
  • the CPU 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504.
  • An input / output (I / O) interface 505 is also connected to the bus 504.
  • the following components are connected to the I / O interface 505: an input portion 506 including a keyboard, a mouse, and the like; an output portion 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), and the speaker; a storage portion 508 including a hard disk and the like ; And a communication section 509 including a network interface card such as a LAN card, a modem, and the like.
  • the communication section 509 performs communication processing via a network such as the Internet.
  • the driver 510 is also connected to the I / O interface 505 as necessary.
  • a removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed, so that a computer program read therefrom is installed into the storage section 508 as needed.
  • the process described above with reference to the flowchart may be implemented as a computer software program.
  • embodiments of the present disclosure include a computer program product including a computer program carried on a computer-readable medium, the computer program containing program code for performing a method shown in a flowchart.
  • the computer program may be downloaded and installed from a network through the communication section 509, and / or installed from a removable medium 511.
  • CPU central processing unit
  • the computer-readable medium described in this application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two.
  • the computer-readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programming read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in combination with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal that is included in baseband or propagated as part of a carrier wave, and which carries computer-readable program code. Such a propagated data signal may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable medium may send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
  • Program code embodied on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
  • each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, which contains one or more functions to implement a specified logical function Executable instructions.
  • the functions labeled in the blocks may also occur in a different order than those labeled in the drawings. For example, two blocks represented one after the other may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved.
  • each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts can be implemented by a dedicated hardware-based system that performs the specified function or operation , Or it can be implemented with a combination of dedicated hardware and computer instructions.
  • the present application further provides a computer-readable medium, which may be included in the device described in the foregoing embodiments; or may exist alone without being assembled into the device.
  • the computer-readable medium carries one or more programs, and when the one or more programs are executed by the device, the device is caused to: determine a neighbor wireless access point of a wireless access point to be processed; and according to the neighbor wireless
  • the access point information of the access point and the access point information of the to-be-processed wireless access point identify neighboring wireless access points that are similar to the to-be-processed wireless access point, and determine the similar neighbors
  • the number of wireless access points in response to the number exceeding a preset threshold, determining the type of the wireless access point to be processed.

Landscapes

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

Abstract

本申请实施例公开了用于确定无线接入点的类别的方法及装置。该方法的一具体实施方式包括:确定待处理的无线接入点的邻居无线接入点;根据所述邻居无线接入点的接入点信息以及所述待处理的无线接入点的接入点信息,识别与所述待处理的无线接入点相似的邻居无线接入点,并确定所述相似的邻居无线接入点的数量;响应于所述数量满足预设条件,确定所述待处理的无线接入点的类别。该实施方式提高了获取待处理的无线接入点的类别的准确性。

Description

用于确定无线接入点的类别的方法及装置 技术领域
本申请实施例涉及无线通信技术领域,具体涉及用于确定无线接入点的类别的方法及装置。
背景技术
随着无线通信技术的不断发展,WI-FI(WIreless-Fidelity,无线保真)网络已经成为用户日常访问网络的一种重要方式,同时也给用户带来了极大的便利。
目前,用户连接无线接入点的方式主要包括两种。其一,用户直接打开移动终端的操作系统提供的无线接入列表页面,并在该无线接入列表页面中选择无线接入点,若选择的无线接入点为免密无线接入点,则移动终端可直接连接该无线接入点,若选择的无线接入点为加密无线接入点,则用户输入该无线接入点的密码后,移动终端才能连接该无线接入点;其二,用户打开无线接入点类应用,并在该无线接入点类应用的界面中操作,以连接无线接入点。
此外,在无线网络环境中,通过定义不同的分类维度,可以将无线网络或提供无线网络的无线接入点划分为不同的类别。但现有技术中的多种类别划分多依赖于人工经验,准确度和效率都较为低下。
发明内容
本申请实施例提出了用于确定无线接入点的类别的方法及装置。
第一方面,本申请的一些实施例提供了一种用于确定无线接入点的类别的方法,应用于网络设备,该方法包括:确定待处理的无线接入点的邻居无线接入点;根据所述邻居无线接入点的接入点信息以及所述待处理的无线接入点的接入点信息,识别与所述待处理的无线接入点相似的邻居无线接入点,并确定所述相似的邻居无线接入点的数量;响应于 所述数量满足预设条件,确定所述待处理的无线接入点的类别。
第二方面,本申请的一些实施例提供了一种用于确定无线接入点的类别的方法,用于终端设备,该方法包括:获取无线接入点的扫描集合,所述扫描集合包括所述终端设备扫描到的至少一个无线接入点的标识信息;将所述扫描集合发送给网络设备;接收所述网络设备反馈的所述至少一个无线接入点中的至少部分无线接入点的类别;响应于所述至少一个无线接入点中存在网络设备未反馈类别的无线接入点,识别所述至少一个无线接入点中与所述未反馈类别的无线接入点相似的无线接入点,并基于所述相似的无线接入点的类别或数量,确定该未反馈类别的无线接入点的类别。
第三方面,本申请的一些实施例提供了一种网络设备,该网络设备包括:一个或多个处理器;存储装置,其上存储有一个或多个程序,当上述一个或多个程序被上述一个或多个处理器执行时,使得上述一个或多个处理器实现如第一方面中任一实现方式描述的方法。
第四方面,本申请的一些实施例提供了一种终端设备,该终端设备包括:一个或多个处理器;存储装置,其上存储有一个或多个程序,当上述一个或多个程序被上述一个或多个处理器执行时,使得上述一个或多个处理器实现如第二方面中任一实现方式描述的方法。
第五方面,本申请的一些实施例提供了一种计算机可读介质,其上存储有计算机程序,其中,该计算机程序被处理器执行时实现如第一方面中任一实现方式描述的方法
第六方面,本申请的一些实施例提供了一种计算机可读介质,其上存储有计算机程序,其中,该计算机程序被处理器执行时实现如第一方面中任二实现方式描述的方法。
本申请的上述实施例提供的用于确定无线接入点的类别的方法及装置,首先确定待处理的无线接入点的邻居无线接入点;然后根据所述邻居无线接入点的接入点信息以及所述待处理的无线接入点的接入点信息,识别与所述待处理的无线接入点相似的邻居无线接入点,并确定所述相似的邻居无线接入点的数量;最后在数量超过预设阈值时,将对应该预设阈值的类别确定待处理的无线接入点的类别,提高了获取待处理的无线接入点的类别的准确性。
附图说明
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:
图1是本申请的一些实施例可以应用于其中的示例性系统架构图;
图2是根据本申请的用于确定无线接入点的类别的方法的一个实施例的流程图;
图3是根据本申请的用于确定无线接入点的类别的方法的一个应用场景的示意图;
图4是根据本申请的用于确定无线接入点的类别的方法的又一个实施例的流程图;
图5是适于用来实现本申请的一些实施例的服务器的计算机系统的结构示意图。
具体实施方式
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关发明相关的部分。
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。
图1示出了可以应用本申请实施例的用于确定无线接入点的类别的方法的示例性系统架构100。
如图1所示,系统架构100可以包括终端设备101、102、103,网络104和网络设备105。网络104用以在终端设备101、102、103和网络设备105之间提供通信链路的介质。网络104可以包括各种连接类别,例如有线、无线通信链路或者光纤电缆等等。
用户可以使用终端设备101、102、103通过网络104与网络设备105交互,以接收或发送消息等。终端设备101、102、103上可以安装有各种客户端应用,例如无线接入点类应用等。
终端设备101、102、103可以是硬件,也可以是软件。当终端设备101、102、103为硬件时,可以是具有显示屏并且支持网页浏览的各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、膝上型便携计算机和台式计算机等等。当终端设备101、102、103为软件时,可以安装在上述所列举的电子设备中。其可以实现成多个软件或软件模块(例如用来提供分布式服务),也可以实现成单个软件或软件模块。在此不做具体限定。
网络设备105可以是提供各种服务的网络设备,例如查询终端设备101、102、103获取到的待处理的无线接入点对应的接入点的类别的后台网络设备。后台网络设备可以对接收到的待处理的无线接入点等数据进行分析等处理,并将处理结果反馈给终端设备。
需要说明的是,本申请图2对应的实施例所提供的用于确定无线接入点的类别的方法一般由网络设备105执行。图4对应的实施例所提供的用于确定无线接入点的类别的方法一般设置于终端设备101、102、103中。
网络设备105可以是硬件,也可以是软件。当网络设备为硬件时,可以实现成多个网络设备组成的分布式网络设备集群,也可以实现成单个网络设备。当网络设备为软件时,可以实现成多个软件或软件模块(例如用来提供分布式服务),也可以实现成单个软件或软件模块。在此不做具体限定。
应该理解,图1中的终端设备、网络和网络设备的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和网络设备。
继续参考图2,示出了根据本申请的用于确定无线接入点的类别的方法的一个实施例的流程200。该用于确定无线接入点的类别的方法包括以下步骤:
步骤201,确定待处理的无线接入点的邻居无线接入点。
在本实施例中,用于确定无线接入点的类别的方法的执行主体(例如图1所示的网络设备105)可以通过有线连接方式或者无线连接方式获取待处理的无线接入点。需要指出的是,上述无线连接方式可以包括但不限于3G/4G连接、WiFi连接、蓝牙连接、WiMAX连接、Zigbee连 接、UWB(ultra wideband)连接、以及其他现在已知或将来开发的无线连接方式。
在一些实施例中,待处理的无线接入点可以是用户通过终端设备101、102、103扫描获取的无线接入点。当终端设备101、102、103无法确定该待处理的无线接入点的无线接入点的类别时,可以将该待处理的无线接入点的信息发送给网络设备105。网络设备105可以通过多种方式接收到待处理的无线接入点。网络设备105可以对待处理的无线接入点进行数据处理,以得到对应该待处理的无线接入点的邻居无线接入点。
在一些实施例中,待处理的无线接入点可以是网络端的数据库中尚未确定分类的无线接入点。网络设备105可以从数据库中读取数据,以确定待处理的无线接入点。
在本实施例的一些可选的实现方式中,步骤201可以包括以下步骤:
第一步,获取包含所述待处理的无线接入点的标识信息的多个历史扫描集合。
实际中,终端设备101、102、103可在多个位置进行多次扫描,每次扫描都可以获取到对应的无线接入点的信息。不同的终端设备101、102、103在不同的位置扫描到的无线接入点的信息可以不同,也可以相同。之后,终端设备101、102、103可以将扫描到的无线接入点的信息发送给网络设备105。网络设备105可以将接收到的各个终端设备101、102、103发来的无线接入点的信息作为历史扫描信息。
在获取到待处理的无线接入点之后,网络设备105可以将该待处理的无线接入点与历史扫描信息进行匹配,以获取包含该待处理的无线接入点的标识信息的多个历史扫描集合。其中,多个历史扫描集合中的每个历史扫描集合可以包括一个终端设备一次扫描到的无线接入点的标识信息。
第二步,根据所述历史扫描集合,确定所述待处理的无线接入点的邻居无线接入点。
获取到历史扫描集合后,网络设备105可以通过多种方式,确定对应该待处理的无线接入点的邻居无线接入点。例如,可以将前述第一步 中获得的同时包含该待处理的无线接入点的标识信息的多个历史扫描集合合并为一个历史扫描集合,并将该历史扫描集合中的其他无形接入点作为该待处理的无线接入点的邻居无线接入点。又例如,可以将前述第一步中获得的同时包含该待处理的无线接入点的标识信息的多个历史扫描集中的标识信息筛选后合并为一个历史扫描集合,并将该历史扫描集合中的其他无形接入点作为该待处理的无线接入点的邻居无线接入点。
在本实施例的一些可选的实现方式中,所述待处理的无线接入点的邻居无线接入点包括所述待处理的无线接入点所在的地理区域内的无线接入点,所述地理区域预先设定。
网络设备105在获取待处理的无线接入点的邻居无线接入点时,可以通过选择设定地理区域内的无线接入点的方式来获取邻居无线接入点。首先,网络设备105可以确定待处理的无线接入点的位置信息,进而确定待处理的无线接入点在地图上的位置所属的地理区域。其中,地理区域可以是预先设置好的。地理区域可以是通过经度和纬度按照一定的尺寸确定下来的;例如,以geohash方式划分的地理区域等。然后,网络设备105通过历史数据或实时搜索等方式可以获取到待处理的无线接入点所在的地理区域内的无线接入点,并将该地理区域内的无线接入点作为待处理的无线接入点的邻居无线接入点。
需要说明的是,在一些情况下,可采用本实施例中阐述的步骤201的上述两个实现方式中的任一个确定待处理的无线接入点的邻居无线接入点并进行后续步骤202和203(即两个实现方式相对独立)。或者,可以综合上述两个实现方式来确定待处理的无线接入点的邻居无线接入点并进行后续步骤202和203。例如,可以获取包含所述待处理的无线接入点的标识信息的多个历史扫描集合,并将待处理的无线接入点所在的地理区域内的无线接入点以及该多个历史扫描集合中包含的多个无线接入点作为待处理的无线接入点的邻居无线接入点,或对待处理的无线接入点所在的地理区域内的无线接入点以及该多个历史扫描集合中包含的多个无线接入点进行筛选后,获得将待处理的无线接入点的邻居接入点。又例如,在步骤201中,先执行第一个实现方式(获取包含所述待处理的无线接入点的标识信息的多个历史扫描集合,根据所述历史扫描集合,确定所述待处理的无线接入点的邻居无线接入点)来获得待处理 的无线接入点的邻居接入点,之后,若基于第一个实现方式获得的邻居无线接入点执行步骤202和步骤203之后能够确定待处理的无线接入点的类型,则终止;若不能基于第一个实现方式获得的邻居无线接入点确定待处理的无线接入点的类型,则重新执行步骤201,并采用第二个实现方式确定待处理无线接入点的邻居无线接入点,之后,基于采用第二个实现方式确定的邻居无线接入点执行步骤202和203。
步骤202,根据所述邻居无线接入点的接入点信息以及所述待处理的无线接入点的接入点信息,识别与所述待处理的无线接入点相似的邻居无线接入点,并确定所述相似的邻居无线接入点的数量。
邻居无线接入点可以包含多个不同的无线接入点。为了进一步提高对待处理的无线接入点的识别精度,网络设备105可以对邻居无线接入点包含的各个无线接入点的接入点信息进行分析。之后,网络设备105可以根据分析结果,从邻居无线接入点中筛选出与待处理的无线接入点的接入点信息相似的邻居无线接入点,并确定相似的邻居无线接入点的数量。
在本实施例的一些可选的实现方式中,网络设备可在所确定的邻居无线接入点中识别与待处理的无线接入点的信息匹配的邻居无线接入点,作为相似的邻居无线接入点。例如,识别与待处理的无线接入点的名称(比如SSID,Service Set Identifier)、密码、物理地址等匹配的邻居无线接入点,作为相似的邻居无线接入点。
在本实施例的一些可选的实现方式中,所述待处理的无线接入点的邻居无线接入点包括所述待处理的无线接入点所在的地理区域内的无线接入点,所述地理区域预先设定。其中,根据所述邻居无线接入点的接入点信息以及所述待处理的无线接入点的接入点信息,识别与所述待处理的无线接入点相似的邻居无线接入点,并确定所述相似的邻居无线接入点的数量,包括:根据所述地理区域内的无线接入点的接入点信息,对所述地理区域内的无线接入点进行聚类,获得至少一组无线接入点集合,其中,所述待处理的无线接入点所在的集合中的其他无线接入点为与所述待处理的无线接入点相似的邻居无线接入点,所述其他无线接入点的数量为所述相似的邻居无线接入点的数量。
获取到邻居无线接入点后,网络设备105可以根据地理区域内的无 线接入点的接入点信息,对地理区域内的无线接入点进行聚类,将地理区域内的无线接入点划分为至少一组无线接入点集合。待处理的无线接入点必然属于至少一组无线接入点集合中的某一组无线接入点集合。待处理的无线接入点所在的集合中的其他无线接入点就可以视为与该待处理的无线接入点相似的邻居无线接入点。即,其他无线接入点的数量也就是与该待处理的无线接入点相似的邻居无线接入点的数量。
在本实施例的一些可选的实现方式中,所述接入点信息包括以下至少一项:无线接入点的名称、无线接入点的密码、无线接入点的物理地址。以及,与所述待处理的无线接入点相似的邻居无线接入点符合以下至少一项条件:所述待处理的无线接入点与所述相似的邻居无线接入点的名称包含相同的符合第一特征的字符、所述待处理的无线接入点与所述相似的邻居无线接入点的密码包含相同的符合第二特征的字符、所述待处理的无线接入点与所述相似的邻居无线接入点的物理地址包含相同的符合第三特征的字符。
网络设备105可以根据接入点信息包含的上述信息从邻居无线接入点中筛选出与该待处理的无线接入点相似的邻居无线接入点。筛选相似的邻居无线接入点的方式包括但不限于以下几种方式。第一种,网络设备105可以将待处理的无线接入点的名称与邻居无线接入点的名称进行匹配,将名称相同或相似的邻居无线接入点确定为与该待处理的无线接入点相似的邻居无线接入点。第二种,网络设备105可以将待处理的无线接入点的密码与邻居无线接入点的密码进行匹配,将密码相同或相似的邻居无线接入点确定为与该待处理的无线接入点相似的邻居无线接入点。第三种,网络设备105可以将待处理的无线接入点的物理地址与邻居无线接入点的物理地址进行匹配,将物理地址相同或相似的邻居无线接入点确定为与该待处理的无线接入点相似的邻居无线接入点。前述“相似”的判定规则可由本领域技术人员根据实际需求配置。
在本实施例的一些可选的实现方式中,本实施例的方法在步骤201之前还可以包括:响应于所述待处理的无线接入点的名称包含与预设关键词匹配的信息,确定所述待处理的无线接入点的类别。步骤201可以包括:响应于所述待处理的无线接入点的名称未包含与预设关键词匹配的信息,确定待处理的无线接入点的邻居无线接入点。
为了便于对待处理的无线接入点的识别,网络设备105可以预先存储有多个预设关键词。预设关键词可以用于表征无线接入点的类别。网络设备105获取到待处理的无线接入点后,可以首先通过将预设关键词与待处理的无线接入点的无线接入点的名称进行匹配,以确定待处理的无线接入点的类别。当待处理的无线接入点的名称未包含与预设关键词匹配的信息,说明难以仅通过待处理的无线接入点的名称判断其类别。此时,网络设备105可以执行上述步骤201以及后续步骤。
步骤203,响应于所述数量满足预设条件,确定所述待处理的无线接入点的类别。
目前,现有的无线接入点分类多利用人工经验来进行分类。并且,本领域的技术人员尚未发现,一些特定类别的无线接入点可能出现以下特征:互相相似且在地理位置上互相接近;例如,商业类别的无线接入点,如宾馆、餐饮等,可能会在一个较为集中的区域中存在多个互相相似的无线接入点。本申请发现了本领域尚未发现的上述规律,并利用该规律,识别出聚集在一起的互相相似的特定类别的无线接入点。在一些实施例中,可以为不同类别的无线接入点设置不同的预设阈值,预设阈值也就可以与对应的无线接入点的类别建立对应关系。当相似的邻居无线接入点的数量满足预设条件(例如可以是相似的邻居无线接入点的数量超过预设阈值)时,网络设备105可以将待处理的无线接入点的类别确定为对应该预设阈值的无线接入点的类别。
在本实施例的一些可选的实现方式中,本实施例的方法在步骤203之后还可以包括以下步骤:
第一步,响应于所述数量不满足预设条件,获取多个用户连接所述待处理的无线接入点的连接行为信息。
当相似的邻居无线接入点的数量不满足预设条件(例如可以是相似的邻居无线接入点的数量未超过预设阈值)时,网络设备105不能确定待处理的无线接入点的类别。此时,网络设备105可以获取多个用户连接所述待处理的无线接入点的连接行为信息。其中,所述连接行为信息包括以下至少一项:连接所述待处理的无线接入点的时间信息(例如可以是连接该待处理的无线接入点的时间长度、待处理的无线接入点的时间段等)、同时连接所述待处理的无线接入点的设备数量。
第二步,根据所述连接行为信息,确定所述待处理的无线接入点的类别。
不同的连接行为信息也可以区分无线接入点的类别。例如,连接办公区的无线接入点通常是在工作日的工作时间,且同时连接该办公区的无线接入点的设备的数量通常较大。而连接个人无线接入点(例如可以是家庭的无线接入点)通常是在工作时间以外的时间,且连接个人无线接入点的数量不会太大。
在本实施例的一些可选的实现方式中,所述方法还可以包括以下步骤:
第一步,接收来自终端设备的扫描集合。
当用户通过终端设备101、102、103连接某地的无线接入点时,终端设备101、102、103可以扫描到多个无线接入点信息。之后,终端设备101、102、103可以将扫描到的多个无线接入点信息封装成扫描集合发送给网络设备105。其中,所述扫描集合包括所述终端设备当前扫描到的至少一个无线接入点的标识信息。
第二步,基于所述标识信息,查询所述至少一个无线接入点信息的类别。
网络设备105获取到扫描集合后,可以获取扫描集合中每个无线接入点的标识信息。之后,网络设备105可以将每个无线接入点的标识信息与网络设备105上的历史数据进行匹配,进而查询至少一个无线接入点中每个无线接入点的类别。
第三步,将成功查询到类别的无线接入点的标识信息以及对应的类别发送给所述终端设备。
由于实际中的无线接入点可能随时发生变化,网络设备105上的历史数据中可能并不完全包括终端设备101、102、103发来的至少一个无线接入点。因此,网络设备105可能无法对至少一个无线接入点中的每个无线接入点都确定类别。为了安全起见或满足用户及时联网的需求,网络设备105可以将成功查询到类别的无线接入点的标识信息以及对应的类别发送给所述终端设备,以便用户选择性地连接无线接入点。而对于至少一个无线接入点中存在未查询到类别的无线接入点,网络设备105可以将该无线接入点作为所述待处理的无线接入点,并通过上述实 施例的步骤确定该待处理的无线接入点的类型。
继续参见图3,图3是根据本实施例的用于确定无线接入点的类别的方法的应用场景的一个示意图。在图3的应用场景中,用户A通过终端设备302扫描到多个无线接入点的标识信息,并将多个无线接入点的标识信息封装成扫描集合发送给网络设备305。网络设备105接收到扫描集合后,基于所述标识信息,查询所述至少一个无线接入点的类别。并将成功查询到类别的无线接入点的标识信息以及对应的类别发送给所述终端设备302。用户A从成功查询到类别的无线接入点的标识信息中选择某个无线接入点建立与终端设备302的网络连接。
本申请的上述实施例提供的方法首先确定待处理的无线接入点的邻居无线接入点;然后根据所述邻居无线接入点的接入点信息以及所述待处理的无线接入点的接入点信息,识别与所述待处理的无线接入点相似的邻居无线接入点,并确定所述相似的邻居无线接入点的数量;最后在数量超过预设阈值时,将对应该预设阈值的类别确定待处理的无线接入点的类别,提高了获取待处理的无线接入点的类别的准确性。
进一步参考图4,其示出了用于确定无线接入点的类别的方法的又一个实施例的流程400。该用于确定无线接入点的类别的方法的流程400,包括以下步骤:
步骤401,获取无线接入点的扫描集合。
在本实施例中,用于确定无线接入点的类别的方法运行于其上的执行主体(例如图1所示的终端设备101、102、103)可以通过有线连接方式或者无线连接方式获取到无线接入点,并将无线接入点封装成扫描集合。其中,所述扫描集合包括所述终端设备扫描到的至少一个无线接入点的标识信息。
当用户通过终端设备101、102、103连接某地的无线接入点时,终端设备101、102、103可以扫描到多个无线接入点信息。之后,终端设备101、102、103可以将扫描到的多个无线接入点信息封装成扫描集合。
步骤402,将所述扫描集合发送给网络设备。
终端设备101、102、103可以通过有线或无线等方式,将获取到的扫描集合发送给网络设备105,以使得网络设备105根据扫描集合包含 的无线接入点的标识信息进行分析。网络设备105获取到扫描集合后,可以获取扫描集合中每个无线接入点的标识信息。之后,网络设备105可以将每个无线接入点的标识信息与网络设备105上的历史数据进行匹配,进而查询至少一个无线接入点中每个无线接入点的类别。
步骤403,接收所述网络设备反馈的所述至少一个无线接入点中的至少部分无线接入点的类别。
由于实际中的无线接入点可能随时发生变化,网络设备105上的历史数据中可能并不完全包括终端设备101、102、103发来的至少一个无线接入点。因此,网络设备105可能无法对至少一个无线接入点中的每个无线接入点都确定类别。为了安全起见或满足用户及时联网的需求,网络设备105可以将成功查询到类别的无线接入点的标识信息以及对应的类别发送给所述终端设备,以便用户选择性地连接无线接入点。而对于至少一个无线接入点中存在未查询到类别的无线接入点,在一些实施例中,网络设备105可以将该无线接入点作为所述待处理的无线接入点,并通过图2所示的实施例确定该待处理的无线接入点的类型。或者,在一些实施例中,终端设备可通过下述步骤404,确定未反馈类别的无线接入点的类别。
步骤404,响应于所述至少一个无线接入点中存在网络设备未反馈类别的无线接入点,识别所述至少一个无线接入点中与所述未反馈类别的无线接入点相似的无线接入点,并基于所述相似的无线接入点的类别或数量,确定该未反馈类别的无线接入点的类别。
当网络设备105无法对至少一个无线接入点中的某些无线接入点的类别进行识别时,终端设备101、102、103可以通过多种方式(例如可以是名称包含的相同字符、信号强度等)从网络设备105反馈的已经识别出类别的无线接入点中进一步筛选出与该未识别类别的无线接入点相似的无线接入点。之后,终端设备101、102、103再基于相似的无线接入点的类别或数量,确定该未反馈类别的无线接入点的类别。
下面参考图5,其示出了适于用来实现本申请实施例的服务器(例如,图1中的网络设备105)的计算机系统500的结构示意图。图5示出的服务器仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。
如图5所示,计算机系统500包括中央处理单元(CPU)501,其可以根据存储在只读存储器(ROM)502中的程序或者从存储部分508加载到随机访问存储器(RAM)503中的程序而执行各种适当的动作和处理。在RAM 503中,还存储有系统500操作所需的各种程序和数据。CPU 501、ROM 502以及RAM 503通过总线504彼此相连。输入/输出(I/O)接口505也连接至总线504。
以下部件连接至I/O接口505:包括键盘、鼠标等的输入部分506;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分507;包括硬盘等的存储部分508;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分509。通信部分509经由诸如因特网的网络执行通信处理。驱动器510也根据需要连接至I/O接口505。可拆卸介质511,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器510上,以便于从其上读出的计算机程序根据需要被安装入存储部分508。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分509从网络上被下载和安装,和/或从可拆卸介质511被安装。在该计算机程序被中央处理单元(CPU)501执行时,执行本申请的方法中限定的上述功能。
需要说明的是,本申请所述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器 件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。
附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的装置中所包含的;也可以是单独存在,而未装配入该装置中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该装置执行时,使得该装置:确定待处理的无线接入点的邻居无线接入点;根据所述邻居无线接入点的接入点信息以及所述待处理的无线接入点的接入点信息,识别与所述待处理的无线接入点相似的邻居无线接入点,并确定所述相似的邻居无线接入点的数量;响应于所述数量超过预设阈值,确定所述待处理的无线接入点的类别。
以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的发明范围,并不限于上述 技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本申请中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。

Claims (14)

  1. 一种用于确定无线接入点的类别的方法,应用于网络设备,所述方法包括:
    确定待处理的无线接入点的邻居无线接入点;
    根据所述邻居无线接入点的接入点信息以及所述待处理的无线接入点的接入点信息,识别与所述待处理的无线接入点相似的邻居无线接入点,并确定所述相似的邻居无线接入点的数量;
    响应于所述数量满足预设条件,确定所述待处理的无线接入点的类别。
  2. 根据权利要求1所述的方法,其中,所述确定待处理的无线接入点的邻居无线接入点包括:
    获取包含所述待处理的无线接入点的标识信息的多个历史扫描集合,每个历史扫描集合包括一个终端设备一次扫描到的无线接入点的标识信息;
    根据所述历史扫描集合,确定所述待处理的无线接入点的邻居无线接入点。
  3. 根据权利要求1所述的方法,其中,所述待处理的无线接入点的邻居无线接入点包括所述待处理的无线接入点所在的地理区域内的无线接入点,所述地理区域预先设定;
    其中,根据所述邻居无线接入点的接入点信息以及所述待处理的无线接入点的接入点信息,识别与所述待处理的无线接入点相似的邻居无线接入点,并确定所述相似的邻居无线接入点的数量,包括:
    根据所述地理区域内的无线接入点的接入点信息,对所述地理区域内的无线接入点进行聚类,获得至少一组无线接入点集合,其中,所述待处理的无线接入点所在的集合中的其他无线接入点为与所述待处理的无线接入点相似的邻居无线接入点,所述其他无线接入点的数量为所述相似的邻居无线接入点的数量。
  4. 根据权利要求1-3中任一项所述的方法,其中,所述接入点信息包括以下至少一项:无线接入点的名称、无线接入点的密码、无线接入点的物理地址;以及
    与所述待处理的无线接入点相似的邻居无线接入点符合以下至少一项条件:所述待处理的无线接入点与所述相似的邻居无线接入点的名称相同或相似、所述待处理的无线接入点与所述相似的邻居无线接入点的密码相同或相似、所述待处理的无线接入点与所述相似的邻居无线接入点的物理地址相同或相似。
  5. 根据权利要求1所述的方法,其中,该方法还包括:
    响应于所述待处理的无线接入点的名称包含与预设关键词匹配的信息,确定所述待处理的无线接入点的类别;
    所述确定待处理的无线接入点的邻居无线接入点,包括:
    响应于所述待处理的无线接入点的名称未包含与预设关键词匹配的信息,确定待处理的无线接入点的邻居无线接入点。
  6. 根据权利要求1所述的方法,其中,该方法还包括:
    响应于所述数量不满足预设条件,获取多个用户连接所述待处理的无线接入点的连接行为信息;
    根据所述连接行为信息,确定所述待处理的无线接入点的类别。
  7. 根据权利要求6所述的方法,其中,所述连接行为信息包括以下至少一项:连接所述待处理的无线接入点的时间信息、同时连接所述待处理的无线接入点的设备数量。
  8. 根据权利要求1所述的方法,其中,所述方法还包括:
    接收来自终端设备的扫描集合,所述扫描集合包括所述终端设备当前扫描到的至少一个无线接入点的标识信息;
    基于所述标识信息,查询所述至少一个无线接入点的类别;
    将成功查询到类别的无线接入点的标识信息以及对应的类别发送给 所述终端设备。
  9. 根据权利要求1所述的方法,其中,所述方法还包括:
    响应于所述至少一个无线接入点中存在未查询到类别的无线接入点,将该无线接入点作为所述待处理的无线接入点。
  10. 一种用于确定无线接入点的类别的方法,用于终端设备,所述方法包括:
    获取无线接入点的扫描集合,所述扫描集合包括所述终端设备扫描到的至少一个无线接入点的标识信息;
    将所述扫描集合发送给网络设备;
    接收所述网络设备反馈的所述至少一个无线接入点中的至少部分无线接入点的类别;
    响应于所述至少一个无线接入点中存在网络设备未反馈类别的无线接入点,识别所述至少一个无线接入点中与所述未反馈类别的无线接入点相似的无线接入点,并基于所述相似的无线接入点的类别或数量,确定该未反馈类别的无线接入点的类别。
  11. 一种网络设备,包括:
    一个或多个处理器;
    存储装置,其上存储有一个或多个程序;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-9所述的方法。
  12. 一种终端设备,包括:
    一个或多个处理器;
    存储装置,其上存储有一个或多个程序;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求10所述的方法。
  13. 一种计算机可读介质,其上存储有计算机程序,所述计算机程 序被处理器执行时实现如权利要求1-9中任一所述的方法。
  14. 一种计算机可读介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求10所述的方法。
PCT/CN2019/089472 2018-05-31 2019-05-31 用于确定无线接入点的类别的方法及装置 WO2019228493A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810550924.7 2018-05-31
CN201810550924.7A CN108777878B (zh) 2018-05-31 2018-05-31 用于确定无线接入点的类别的方法及装置

Publications (1)

Publication Number Publication Date
WO2019228493A1 true WO2019228493A1 (zh) 2019-12-05

Family

ID=64028270

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/089472 WO2019228493A1 (zh) 2018-05-31 2019-05-31 用于确定无线接入点的类别的方法及装置

Country Status (2)

Country Link
CN (1) CN108777878B (zh)
WO (1) WO2019228493A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108777878B (zh) * 2018-05-31 2021-01-05 上海连尚网络科技有限公司 用于确定无线接入点的类别的方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150312776A1 (en) * 2014-04-25 2015-10-29 At&T Intellectual Property I, L.P. Enhancement of access points to support heterogeneous networks
CN105873174A (zh) * 2015-08-05 2016-08-17 上海连尚网络科技有限公司 用于提供无线接入点的接入点信息的方法与设备
CN106488528A (zh) * 2015-09-01 2017-03-08 上海连尚网络科技有限公司 用于对无线接入点进行画像分析的方法与设备
CN107133689A (zh) * 2017-04-19 2017-09-05 清华大学深圳研究生院 一种位置标记方法
CN108777878A (zh) * 2018-05-31 2018-11-09 上海连尚网络科技有限公司 用于确定无线接入点的类别的方法及装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105263110A (zh) * 2015-09-22 2016-01-20 湖南创无限移动互联网科技有限公司 一种wifi热点名称的更改方法及装置
CN105611607B (zh) * 2015-12-25 2019-05-10 北京奇虎科技有限公司 实现合并多个WiFi的方法及实现WiFi连接的方法及系统
CN107659978B (zh) * 2016-08-02 2021-05-07 上海掌门科技有限公司 用于识别无线接入点的方法与设备
US9853939B1 (en) * 2017-03-17 2017-12-26 Home Intelligence Co., Ltd. Apparatuses and methods for identifying mobile access points (APS) in mobile positioning systems

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150312776A1 (en) * 2014-04-25 2015-10-29 At&T Intellectual Property I, L.P. Enhancement of access points to support heterogeneous networks
CN105873174A (zh) * 2015-08-05 2016-08-17 上海连尚网络科技有限公司 用于提供无线接入点的接入点信息的方法与设备
CN106488528A (zh) * 2015-09-01 2017-03-08 上海连尚网络科技有限公司 用于对无线接入点进行画像分析的方法与设备
CN107133689A (zh) * 2017-04-19 2017-09-05 清华大学深圳研究生院 一种位置标记方法
CN108777878A (zh) * 2018-05-31 2018-11-09 上海连尚网络科技有限公司 用于确定无线接入点的类别的方法及装置

Also Published As

Publication number Publication date
CN108777878B (zh) 2021-01-05
CN108777878A (zh) 2018-11-09

Similar Documents

Publication Publication Date Title
WO2019228494A1 (zh) 用于确定无线接入点的类别的方法及装置
US11188599B2 (en) Systems and methods for discovering social accounts
US10547618B2 (en) Method and apparatus for setting access privilege, server and storage medium
US11373251B1 (en) System and method to augment electronic documents with externally produced metadata to improve processing
CN111046237B (zh) 用户行为数据处理方法、装置、电子设备及可读介质
CN113364853B (zh) 一种业务服务系统、业务请求方法及网关设备
US11244153B2 (en) Method and apparatus for processing information
US9524320B2 (en) Collection and storage of a personalized, searchable, unstructured corpora
JP2019536122A (ja) 情報インタラクションのための方法および装置
US20210042311A1 (en) Dynamic prioritization of attributes to determine search space size of each term, then index on those sizes as attributes
CN109327887B (zh) 用于生成信息的方法和装置
KR20200091080A (ko) 공유 사무실에 관한 서비스를 제공하는 방법
WO2019072038A1 (zh) 信息生成方法和设备
US20210357553A1 (en) Apparatus and method for option data object performance prediction and modeling
WO2019072037A1 (zh) 用于推送接入信息的方法和设备
WO2019228493A1 (zh) 用于确定无线接入点的类别的方法及装置
CN112214770B (zh) 恶意样本的识别方法、装置、计算设备以及介质
CN113553506A (zh) 轮岗网点推荐方法、系统、计算机设备以及可读存储介质
CN110889000B (zh) 用于输出信息的方法和装置
CN110557351B (zh) 用于生成信息的方法和装置
US10803861B2 (en) Method and apparatus for identifying information
CN107622766B (zh) 用于搜索信息的方法和装置
WO2022152018A1 (zh) 用于识别一人多账号的方法及装置
US10574744B2 (en) System and method for managing peer-to-peer information exchanges
US11741257B2 (en) Systems and methods for obtaining anonymized information derived from data obtained from external data providers

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19811617

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 19/03/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19811617

Country of ref document: EP

Kind code of ref document: A1