WO2017005045A1 - Wireless access point identification method, server, system and computer storage medium - Google Patents

Wireless access point identification method, server, system and computer storage medium Download PDF

Info

Publication number
WO2017005045A1
WO2017005045A1 PCT/CN2016/081339 CN2016081339W WO2017005045A1 WO 2017005045 A1 WO2017005045 A1 WO 2017005045A1 CN 2016081339 W CN2016081339 W CN 2016081339W WO 2017005045 A1 WO2017005045 A1 WO 2017005045A1
Authority
WO
WIPO (PCT)
Prior art keywords
wireless access
access point
terminal device
connection
information
Prior art date
Application number
PCT/CN2016/081339
Other languages
French (fr)
Chinese (zh)
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 WO2017005045A1 publication Critical patent/WO2017005045A1/en
Priority to US15/709,799 priority Critical patent/US10341939B2/en

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

  • the present invention relates to network management technologies in the field of information processing, and in particular, to a method, a server, a system, and a computer storage medium for identifying a wireless access point.
  • the user can connect to the wireless access point through the terminal device, and then connect to the network through the connection to the wireless access point to obtain the required information from the network.
  • the use of wireless access points is more and more extensive.
  • the method of judging the types of wireless access points accessed by the terminal devices by connecting to a plurality of different types of wireless access points is usually According to the time of access to the network.
  • judging the type of the wireless access point used by the time of accessing the network it is impossible to avoid the problem that the type identification is inaccurate due to the use of different working hours by some users and the preset time rule.
  • an object of the embodiments of the present invention is to provide a method, a server, a system, and a computer storage medium for identifying a wireless access point, which can solve at least the above problems in the prior art.
  • An embodiment of the present invention provides a method for identifying a wireless access point, which is applied to a server, and the method includes:
  • Obtaining network connection information of the terminal device where the network connection information includes at least: identifier information of the terminal device and identifier information of the wireless access point accessed thereto;
  • a first type of wireless access point is identified based on the first number of connections and/or the second number of connections.
  • An embodiment of the present invention provides a server, including:
  • the information acquiring unit is configured to acquire network connection information of the terminal device, where the network connection information includes at least: identifier information of the terminal device and identifier information of the wireless access point accessed by the terminal device;
  • the processing unit is configured to obtain corresponding network connection information based on the identifier information of the terminal device, and obtain a first connection number of each wireless access point accessed by the terminal device and the terminal device; Obtaining, by the identifier information of the wireless access point, the corresponding network connection information, and obtaining a second connection number between the wireless access point and each terminal device accessing the wireless access point;
  • the identification unit is configured to identify the first type of wireless access point based on the first number of connections and/or the second number of connections.
  • An embodiment of the present invention provides a system for identifying a wireless access point, where the system includes:
  • the server is configured to obtain network connection information of the terminal device, where the network connection information includes at least: identifier information of the terminal device and identifier information of the accessed wireless access point; and identifier information based on the terminal device Acquiring the corresponding network connection information, obtaining a first connection number of each wireless access point that is accessed by the terminal device and the terminal device; acquiring a corresponding network connection based on the identifier information of the wireless access point Information, obtaining a second connection number between the wireless access point and each terminal device accessing the wireless access point; identifying based on the first connection number and/or the second connection number The first type of wireless access point;
  • the terminal device is configured to establish a connection with the wireless access point; generate network connection information based on the identification information of the terminal device and the identification information of the accessed wireless access point; and send the network Connect the connection information to the server.
  • Embodiments of the present invention provide a computer storage medium in which computer executable instructions are stored, at least for performing the following processing:
  • the network connection information includes at least: the identifier information of the terminal device and the identifier information of the accessed wireless access point; and the corresponding information is obtained based on the identifier information of the terminal device
  • Network connection information obtaining a first connection number of each wireless access point accessed by the terminal device and the terminal device
  • acquiring corresponding network connection information based on the identification information of the wireless access point, obtaining a Determining a second connection number between the wireless access point and each terminal device accessing the wireless access point; identifying the first type of wireless based on the first connection number and/or the second connection number Access Point.
  • the method, the server, the system, and the computer storage medium for identifying a wireless access point provided by the embodiment of the present invention determine the first connection number of the terminal device to connect to the wireless access point and the wireless connection respectively through the network connection information reported by the terminal device.
  • the second connection number of the connection point establishing the connection with the terminal device identifies the first type of wireless access point according to the first connection number and the second connection number. In this way, the influence of the time law can be avoided, and the accuracy of identifying the first type of wireless access point can be improved.
  • FIG. 1 is a schematic diagram of a scenario according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart 1 of a method for identifying a wireless access point according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of obtaining a first connection number according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of obtaining a second connection number according to an embodiment of the present invention.
  • FIG. 5 is a second schematic flowchart of a method for identifying a wireless access point according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart 3 of a method for identifying a wireless access point according to an embodiment of the present invention.
  • FIG. 7 is a schematic flowchart of a process according to an embodiment of the present invention.
  • FIG. 8 is a schematic flowchart of an implementation process of an embodiment of the present invention.
  • FIG. 9 is a schematic flowchart 4 of a method for identifying a wireless access point according to an embodiment of the present invention.
  • FIG. 10 is a schematic flowchart 5 of a method for identifying a wireless access point according to an embodiment of the present invention
  • FIG. 11 is a schematic structural diagram 1 of a server structure according to an embodiment of the present invention.
  • FIG. 12 is a second schematic structural diagram of a server according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram 3 of a server structure according to an embodiment of the present invention.
  • FIG. 14 is a schematic structural diagram 4 of a server structure according to an embodiment of the present invention.
  • 15 is a schematic structural diagram of a system structure according to an embodiment of the present invention.
  • FIG. 16 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • FIG. 1 which includes a terminal device 111 and a terminal device 2, a wireless access point 121, a wireless access point 2, and a wireless access point.
  • FIG. 1 which includes a terminal device 111 and a terminal device 2, a wireless access point 121, a wireless access point 2, and a wireless access point.
  • FIG. 1 which includes a terminal device 111 and a terminal device 2, a wireless access point 121, a wireless access point 2, and a wireless access point.
  • Three 123 Three 123.
  • the server acquires network connection information of the terminal device; and based on the network connection information, determines the terminal device and its first connection number with the at least one wireless access point, and determines the wireless connection An entry point and a second number of connections to the at least one terminal device; identifying the first type of wireless access point based on the first number of connections and/or the second number of connections.
  • An embodiment of the present invention provides a method for identifying a wireless access point, which is applied to a server. As shown in FIG. 2, the method includes:
  • Step 21 Obtain network connection information of the terminal device, where the network connection information includes at least: identifier information of the terminal device and identifier information of the wireless access point accessed thereto;
  • Step 22 Obtain corresponding network connection information based on the identifier information of the terminal device, and obtain a first connection number of each wireless access point accessed by the terminal device and the terminal device;
  • Step 23 Acquire corresponding network connection information based on the identifier information of the wireless access point, and obtain a second connection number between the wireless access point and each terminal device that accesses the wireless access point.
  • Step 24 Identify the first type of wireless access point based on the first connection number and/or the second connection number.
  • the terminal device in the network link information and the wireless access point accessed by the network link information are identified by the identifier information.
  • step 22 and the foregoing step 23 may be performed in any order, or may be performed at the same time, or step 23 may be performed first, or step 23 may be performed first.
  • the corresponding network connection information is obtained based on the identifier information of the terminal device, and the first connection number of each wireless access point accessed by the terminal device and the terminal device is obtained, as shown in FIG. 3 . Shown, including:
  • Step 31 Obtain identification information of at least one terminal device from network connection information sent by at least one terminal device.
  • Step 32 Extract the terminal device one by one as the first terminal device
  • Step 33 Acquire at least one network connection information corresponding to the first terminal device.
  • Step 34 Perform statistics on the identifier information of the wireless access point accessed by the first terminal device from the at least one network connection information.
  • Step 35 Perform statistics on the number of times the first terminal device accesses each wireless access point, and determine the first connection number of the first terminal device and the at least one wireless access point.
  • the corresponding network connection is obtained based on the identifier information of the wireless access point.
  • Receiving the information obtaining the second connection number between the wireless access point and each terminal device accessing the wireless access point, as shown in FIG. 4, including:
  • Step 41 Obtain identification information of at least one wireless access point from network connection information sent by at least one terminal device.
  • Step 42 Extract the wireless access point one by one as the first wireless access point
  • Step 43 Acquire at least one network connection information that includes the first wireless access point.
  • Step 44 Perform statistics on at least one terminal device that accesses the first wireless access point from the at least one network connection information, and determine a second connection between the first wireless access point and at least one terminal device. frequency.
  • the identifying the first type of wireless access point may include the following two scenarios:
  • Scenario 1 Based on the first connection number, select one wireless access point that has the most connection with the terminal device, as the first type of wireless access point corresponding to the terminal device.
  • the first type of wireless access point in the embodiment may be a home wireless access point, that is, among the plurality of wireless access points, which are the home wireless access points.
  • Scenario 2 acquiring the number of the terminal devices connected to the wireless access point based on the second connection number; selecting the wireless access point that meets the first preset condition, where the first preset condition characterizes the wireless access point The number of connected terminal devices is less than the first threshold; from the wireless access points that meet the first preset condition, one wireless access point that connects the single terminal device is selected as the first type of wireless access point.
  • the first threshold value may be a value set according to an actual situation, for example, may be three.
  • the number of terminal devices using the wireless access point may be less than that of the public wireless access point, and therefore, the connection relationship in the wireless access point dimension may be used.
  • the number of total terminal devices entering the wireless access point identifies the first type of wireless access point.
  • the network connection information reported by the terminal device can be obtained. Determining, respectively, a first connection number of the terminal device connected to the wireless access point, and a second connection number of the wireless access point establishing a connection with the terminal device, and identifying the first type of wireless access according to the first connection number and the second connection number point. In this way, the influence of the time law can be avoided, and the accuracy of identifying the first type of wireless access point can be improved.
  • An embodiment of the present invention provides a method for identifying a wireless access point, which is applied to a server. As shown in FIG. 5, the method includes:
  • Step 51 Obtain network connection information of the terminal device, where the network connection information includes at least: identifier information of the terminal device and identifier information of the access point of the wireless access point;
  • Step 52 Obtain corresponding network connection information based on the identifier information of the terminal device, and obtain a first connection number of each wireless access point accessed by the terminal device and the terminal device;
  • Step 53 Acquire corresponding network connection information based on the identifier information of the wireless access point, and obtain a second connection number between the wireless access point and each terminal device that accesses the wireless access point.
  • Step 54 Determine, according to the first connection number, a first connection number ranking of at least one wireless access point to which the terminal device is connected; determine, according to the second connection number, at least one terminal device connected to the wireless access point Ranking of the second number of connections;
  • Step 55 Based on the first connection number ranking, select the N wireless access points with the highest number of connection times with the terminal device;
  • Step 56 Obtain a reference connection number ranking of the N second connection times rankings corresponding to the N wireless access points by the terminal device;
  • Step 57 Select one wireless access point corresponding to the highest reference connection number ranking as the first type of wireless access point.
  • the terminal device in the network link information and the wireless access point accessed thereby pass Identify information for identification.
  • the execution sequence of the foregoing step 52 and the foregoing step 53 may be performed in any order, or may be performed at the same time, or step 52 may be performed first, or step 53 may be performed first.
  • the identifier information of the terminal device may be an International Mobile Equipment Identity (IMEI) of the terminal device; the identifier information of the wireless access point may be a Service Set Identifier (SSID).
  • BSSID is a common combination, BSSID is a special Ad-hoc LAN application, also known as Basic Service Set (BSS), which is actually the MAC address of the AP.
  • BSS Basic Service Set
  • a group of computers set the same BSS name, which can be a self-contained one. Group.
  • Each BSS is assigned a BSSID, which is a 48-bit binary identifier that identifies the different BSS.
  • each terminal device can initiate at least one network connection information, and each network connection information can be network connection information generated and sent by the terminal device to access different wireless access points at different times.
  • the corresponding network connection information is obtained based on the identifier information of the terminal device, and the first connection number of each wireless access point accessed by the terminal device and the terminal device is obtained, for example, As shown in Figure 3, it includes:
  • Step 31 Obtain identification information of at least one terminal device from network connection information sent by at least one terminal device.
  • Step 32 Extract the terminal device one by one as the first terminal device
  • Step 33 Acquire at least one network connection information corresponding to the first terminal device.
  • Step 34 Perform statistics on the identifier information of the wireless access point accessed by the first terminal device from the at least one network connection information.
  • Step 35 Perform statistics on the number of times the first terminal device accesses each wireless access point, and determine the first connection number of the first terminal device and the at least one wireless access point.
  • the corresponding network connection information is obtained based on the identifier information of the wireless access point, and obtained between the wireless access point and each terminal device that accesses the wireless access point.
  • the second number of connections includes:
  • Step 41 Obtain identification information of at least one wireless access point from network connection information sent by at least one terminal device.
  • Step 42 Extract the wireless access point one by one as the first wireless access point
  • Step 43 Acquire at least one network connection information that includes the first wireless access point.
  • Step 44 Perform statistics on at least one terminal device that accesses the first wireless access point from the at least one network connection information, and determine a second connection between the first wireless access point and at least one terminal device. frequency.
  • determining, according to the first connection number, that the first connection number of the at least one wireless access point to which the terminal device is connected may be a first connection number selected according to the identification information of the terminal device, and acquiring the first connection number The number of connections between the terminal device and the at least one wireless access point; ranking based on the number of connections, and ranking the first connection times of the at least one wireless access point.
  • the determining, according to the second connection number, the second connection number ranking of the at least one terminal device to which the wireless access point is connected may select a second connection number according to the identifier information of the wireless access point, and obtain The number of connections between the wireless access point and the at least one terminal device in the second connection number; ranking based on the number of connections, and obtaining the second connection number ranking of the at least one terminal device.
  • the IMEI is used to represent the terminal device, and the wireless access point is represented by the SSID and the BSSID.
  • the two connection times may be in the form of a list, and are also ranked based on the number of connections of the wireless access points to which the terminal device dimension corresponds, and the number of connections connected to the terminal device based on the wireless access point dimension.
  • Table 1 the relationship table based on IMEI and SSID+BSSID can be established as follows:
  • the highest intimacy among the wireless access points connected to each terminal device that is, one wireless access point with the highest number of connection times can be found from the terminal device dimension.
  • this has a disadvantage. For example, some wireless access points with longer working hours may have higher heat than home wireless access points.
  • the solution provided by this embodiment is added from the dimension of the wireless access point.
  • the ranking of the number of connections of the terminal device is corrected.
  • the identification of the final type 1 wireless access point is determined by the resulting comprehensive ranking.
  • the present embodiment may further provide a subsequent operation for the first type of wireless access point, for example, may include providing security protection by binding the first type of wireless access point to its corresponding terminal device;
  • the server side detects that the terminal device is to access the first type of wireless access point, check whether the terminal device is the recorded terminal device, and if not, initiate the terminal device that is bound to the first type of wireless access point.
  • the prompt information is used to prompt the user to access the access point by other devices. If the user agrees to access, the other terminal device can access the first type of wireless access point.
  • the first connection number of the terminal device connected to the wireless access point and the second connection number of the wireless access point establishing the connection with the terminal device are respectively determined by the network connection information reported by the terminal device, according to the foregoing
  • the first connection number and the second connection number identify the first type of wireless access point. In this way, the influence of the time law can be avoided, and the accuracy of identifying the first type of wireless access point can be improved.
  • An embodiment of the present invention provides a method for identifying a wireless access point, which is applied to a server. As shown in FIG. 6, the method includes:
  • Step 61 Acquire network connection information of the terminal device, where the network connection information includes at least: identifier information of the terminal device and identifier information of the wireless access point to which the access device is accessed; the network connection information further includes: a period of time during which the terminal device establishes a connection with the wireless access point;
  • Step 62 Obtain corresponding network connection information based on the identifier information of the terminal device, and obtain a first connection number of each wireless access point that the terminal device and the terminal device access;
  • Step 63 Acquire corresponding network connection information based on the identifier information of the wireless access point, and obtain a second connection number between the wireless access point and each terminal device that accesses the wireless access point.
  • Step 64 Determine, according to the first connection number, a first connection number ranking of at least one wireless access point to which the terminal device is connected, and determine, according to the second connection number, at least one terminal device connected to the wireless access point. Ranking of the second number of connections;
  • Step 65 According to the first connection number ranking, select the N wireless access points with the highest number of connection times with the terminal device;
  • Step 66 Obtain a reference connection number ranking of the N second connection times rankings corresponding to the N wireless access points by the terminal device;
  • Step 67 Select M wireless access points with the highest number of reference connections; M is a positive integer greater than or equal to 1 and less than or equal to N;
  • Step 68 Set, according to a time period in which the terminal device in the network connection information establishes a connection with the access point, set a wireless access point that meets a second preset condition among the M wireless access points as the first type of wireless An access point; wherein the second preset condition represents selecting a wireless access point that establishes a connection with the terminal device within a preset time period.
  • the terminal device in the network link information and the wireless access point accessed thereby pass Identify information for identification.
  • the identifier information of the terminal device may be an IMEI of the terminal device, and the identifier information of the wireless access point may be jointly composed of an SSID and a BSSID.
  • each terminal device can send at least one network connection information, and each network connection information can be network connection information generated and sent by the terminal device to access different wireless access points at different times.
  • the manner in which the network connection information is obtained in this embodiment may be periodically sent by the terminal device or periodically obtained by the server.
  • the obtained network connection information may be obtained from a WIFI connection log saved by the terminal device side.
  • the corresponding network connection information is obtained based on the identifier information of the terminal device, and the first connection number of each wireless access point accessed by the terminal device and the terminal device is obtained, for example, As shown in Figure 3, it includes:
  • Step 31 Obtain identification information of at least one terminal device from network connection information sent by at least one terminal device.
  • Step 32 Extract the terminal device one by one as the first terminal device
  • Step 33 Acquire at least one network connection information corresponding to the first terminal device.
  • Step 34 Perform statistics on the identifier information of the wireless access point accessed by the first terminal device from the at least one network connection information.
  • Step 35 Perform statistics on the number of times the first terminal device accesses each wireless access point, and determine the first connection number of the first terminal device and the at least one wireless access point.
  • the corresponding network connection information is obtained based on the identifier information of the wireless access point, and the second between the wireless access point and each terminal device that accesses the wireless access point is obtained.
  • the number of connections includes:
  • Step 41 Obtain identification information of at least one wireless access point from network connection information sent by at least one terminal device.
  • Step 42 Extract the wireless access point one by one as the first wireless access point
  • Step 43 Acquire at least one network connection information that includes the first wireless access point.
  • Step 44 Perform statistics on at least one terminal device that accesses the first wireless access point from the at least one network connection information, and determine a second connection between the first wireless access point and at least one terminal device. frequency.
  • determining, according to the first connection number, that the first connection number of the at least one wireless access point to which the terminal device is connected may be a first connection number selected according to the identification information of the terminal device, and acquiring the first connection number The number of connections between the terminal device and the at least one wireless access point; ranking based on the number of connections, and ranking the first connection times of the at least one wireless access point.
  • the determining, according to the second connection number, the second connection number ranking of the at least one terminal device to which the wireless access point is connected may select a second connection number according to the identifier information of the wireless access point, and obtain The number of connections between the wireless access point and the at least one terminal device in the second connection number; ranking based on the number of connections, and obtaining the second connection number ranking of the at least one terminal device.
  • the preset time period may be a time period set according to actual conditions, for example, may be set to be between 8:00 pm and 8:00 am.
  • the identifier information of the terminal device 111 is "001”
  • the identifier information of the terminal device 112 is "002”
  • the identifier of the wireless access point 121 is "xxxx”
  • the identification information of the wireless access point two 122 is "yyyy”
  • the identification information of the wireless access point three 123 is "zzzz”.
  • the IMEI is used to represent the terminal device, and the wireless access point is represented by the SSID and the BSSID.
  • the two connection relationships may be in the form of a list, and are also ranked based on the number of connections of the wireless access points to which the terminal device dimension corresponds, and the number of connections connected to the terminal device based on the dimension of the wireless access point.
  • establish based on IMEI The relationship table with SSID+BSSID can be as follows:
  • the terminal device is respectively connected to the wireless access point 1 and the wireless access point 2, wherein the number of accesses to the wireless access point is ranked first, and the wireless access point and the terminal The device is also ranked first in establishing the number of connections. It can be determined that the wireless access point is a first type of wireless access point corresponding to the terminal device, that is, the home access point; the same, the terminal device 2 can be in the same manner. It is determined that the wireless access point three is the first type of wireless access point.
  • the identification logic of this embodiment may be as shown in FIG. 7-8, that is, the first type of wireless access point is determined based on the connection relationship between the wireless access point and the terminal device. Assume that the first type of wireless access point is a home access point, and the rest are corporate access points, as shown in Figure 8:
  • the terminal device determines, by the second connection number ranking of the wireless access point dimension, whether the terminal device also occupies the previous designated bit among the plurality of terminal devices connected to the wireless access point; wherein the former designated bit may be the quantity set according to the actual situation. For example, it can be the top three;
  • the wireless access point identifies the home wireless access point.
  • the embodiment of the present invention may further provide a method for processing a wireless access point on a terminal device side. As shown in FIG. 9, the method includes:
  • Step 91 establish a connection with the wireless access point
  • Step 92 Generate network connection information based on the identifier information of the terminal device and the identifier information of the accessed wireless access point.
  • Step 93 Send the network connection information to the server, so that the server identifies the first type of wireless access point based on the network connection information.
  • the terminal device in the network link information and the wireless access point accessed by the network link information are identified by the identifier information.
  • the identifier information of the terminal device may be an IMEI of the terminal device, and the identifier information of the wireless access point may be jointly composed of an SSID and a BSSID.
  • each terminal device can send at least one network connection information, and each network connection information can be network connection information generated and sent by the terminal device to access different wireless access points at different times.
  • the manner in which the network connection information is obtained in this embodiment may be periodically sent by the terminal device or periodically obtained by the server.
  • the obtained network connection information may be obtained from a WIFI connection log saved by the terminal device side.
  • this embodiment uses FIG. 10 as an example to describe the operation of acquiring and uploading network connection information from the terminal device until the server side performs the identification operation of the first type of wireless access point based on the network connection information:
  • Step 1001 Establish a connection with a wireless access point; different time periods for establishing a connection with two different wireless access points in the figure;
  • Step 1002 Generate network connection information based on the identifier information of the terminal device and the identifier information of the accessed wireless access point.
  • Step 1003 Send the network connection information to a server.
  • Step 1004 The server obtains network connection information of the terminal device, where the network connection information includes at least: identifier information of the terminal device and identifier information of the accessed wireless access point; and the network connection information
  • the method further includes: a time period in which the terminal device establishes a connection with the wireless access point; acquiring corresponding network connection information based on the identification information of the terminal device, and obtaining each wireless connection accessed by the terminal device and the terminal device Obtaining a first connection number of the ingress; obtaining corresponding network connection information based on the identification information of the wireless access point, and obtaining between the wireless access point and each terminal device accessing the wireless access point The number of second connections;
  • Step 1005 Determine, according to the first connection number, a first connection number ranking of at least one wireless access point to which the terminal device is connected, and determine, according to the second connection number, at least one terminal device connected to the wireless access point. Ranking of the second number of connections;
  • Step 1006 According to the first connection number ranking, select the N wireless access points with the highest number of connection times with the terminal device;
  • Step 1007 Obtain a reference connection number ranking of the N second connection times rankings corresponding to the N wireless access points by the terminal device;
  • Step 1008 Select M wireless access points with the highest number of reference connections; M is a positive integer greater than or equal to 1 and less than or equal to N;
  • Step 1009 Set, according to a time period in which the terminal device in the network connection information establishes a connection with the access point, set a wireless access point that meets a second preset condition among the M wireless access points as the first type of wireless An access point; wherein the second preset condition represents selecting a wireless access point that establishes a connection with the terminal device within a preset time period.
  • the preset time period may be a time period set according to actual conditions, for example, may be set to be between 8:00 pm and 8:00 am.
  • the first connection number of the terminal device connected to the wireless access point, and the wireless access point and the end can be respectively determined by the network connection information reported by the terminal device.
  • the second connection number is established by the end device, and the first type of wireless access point is identified according to the first connection number and the second connection number. In this way, the influence of the time law can be avoided, and the accuracy of identifying the first type of wireless access point can be improved.
  • An embodiment of the present invention provides a server, as shown in FIG. 11, including:
  • the information acquiring unit 1101 is configured to acquire network connection information of the terminal device, where the network connection information includes at least: identifier information of the terminal device and identifier information of the wireless access point accessed thereto;
  • the processing unit 1102 is configured to obtain corresponding network connection information based on the identifier information of the terminal device, and obtain a first connection number of each wireless access point accessed by the terminal device and the terminal device; Obtaining, by the identifier information of the wireless access point, the corresponding network connection information, and obtaining a second connection number between the wireless access point and each terminal device accessing the wireless access point;
  • the identifying unit 1103 is configured to identify the first type of wireless access point based on the first connection number and/or the second connection number.
  • the terminal device in the network link information and the wireless access point accessed by the network link information are identified by the identifier information.
  • the corresponding network connection information is obtained based on the identifier information of the terminal device, and the first connection number of each wireless access point accessed by the terminal device and the terminal device is obtained, and the processing unit 1102 And acquiring, by the network connection information sent by the at least one terminal device, the identification information of the at least one terminal device; extracting the terminal device as the first terminal device one by one; and acquiring at least one network connection information corresponding to the first terminal device; Collecting, from the at least one network connection information, the identifier information of the wireless access point accessed by the first terminal device, and counting the number of times the first terminal device accesses each wireless access point, Determining a first connection number of the first terminal device and the at least one wireless access point.
  • the processing unit 1102 is configured to: obtain, by using network connection information sent by the at least one terminal device, identifier information of the at least one wireless access point; extract the wireless access point one by one as the first wireless access point; Having at least one network connection information of the first wireless access point; performing statistics on at least one terminal device accessing the first wireless access point from the at least one network connection information, determining the first wireless connection The number of second connections between the ingress and the at least one terminal device.
  • the identification unit includes: a first identification subunit 1201, configured to select, according to the first connection number, a wireless access point that establishes the connection with the terminal device as the most a first type of wireless access point corresponding to the terminal device;
  • the identifying unit includes: a second identifying subunit 1202, configured to acquire, according to the second connection number, a number of wireless access point connection terminal devices; and select a wireless access point that meets the first preset condition, where The first preset condition indicates that the number of the terminal devices connected to the wireless access point is less than the first threshold; and the number of times that the single terminal device is connected is selected from the wireless access points that meet the first preset condition.
  • a wireless access point acts as a first type of wireless access point.
  • the first threshold value may be a value set according to an actual situation, for example, may be three.
  • the number of terminal devices using the wireless access point may be less than that of the public wireless access point, and therefore, the connection relationship in the wireless access point dimension may be used.
  • the number of total terminal devices entering the wireless access point identifies the first type of wireless access point.
  • the first connection number of the terminal device connected to the wireless access point and the second connection number of the wireless access point establishing the connection with the terminal device are respectively determined by the network connection information reported by the terminal device, according to the foregoing
  • the first connection number and the second connection number identify the first type of wireless access point. In this way, the influence of the time law can be avoided, and the accuracy of identifying the first type of wireless access point can be improved.
  • An embodiment of the present invention provides a server, as shown in FIG. 13, including:
  • the information obtaining unit 1301 is configured to acquire network connection information of the terminal device, where the network connection information includes at least: identifier information of the terminal device and identifier information of the wireless access point accessed thereto;
  • the processing unit 1302 is configured to obtain corresponding network connection information based on the identifier information of the terminal device, and obtain a first connection number of each wireless access point that is accessed by the terminal device and the terminal device; Obtaining, by the identifier information of the wireless access point, the corresponding network connection information, and obtaining a second connection number between the wireless access point and each terminal device accessing the wireless access point;
  • the identifying unit 1303 is configured to identify the first type of wireless access point based on the first connection number and/or the second connection number.
  • the terminal device in the network link information and the wireless access point accessed by the network link information are identified by the identifier information.
  • the identifier information of the terminal device may be an IMEI of the terminal device, and the identifier information of the wireless access point may be jointly composed of an SSID and a BSSID.
  • each terminal device can initiate at least one network connection information, and each network connection information can be network connection information generated and sent by the terminal device to access different wireless access points at different times.
  • the corresponding network connection information is obtained based on the identifier information of the terminal device, and the first connection number of each wireless access point accessed by the terminal device and the terminal device is obtained, and the processing unit 1302 And acquiring, by the network connection information sent by the at least one terminal device, the identification information of the at least one terminal device; extracting the terminal device as the first terminal device one by one; and acquiring at least one network connection information corresponding to the first terminal device; Collecting, from the at least one network connection information, the identifier information of the wireless access point accessed by the first terminal device, and counting the number of times the first terminal device accesses each wireless access point, Determining a first connection number of the first terminal device and the at least one wireless access point.
  • the processing unit 1302 is configured to: obtain, by using network connection information sent by the at least one terminal device, identifier information of the at least one wireless access point; extract the wireless access point one by one as the first wireless access point; Having at least one network connection information of the first wireless access point; performing statistics on at least one terminal device accessing the first wireless access point from the at least one network connection information, determining the first wireless connection The number of second connections between the ingress and the at least one terminal device.
  • the identifying unit includes: a third identifying subunit 13033, configured to determine, according to the first connection number, a first connection number ranking of at least one wireless access point to which the terminal device is connected; based on the second connection number Determining a second connection number ranking of the at least one terminal device to which the wireless access point is connected; selecting, according to the first connection number ranking, N wireless access points with the highest number of connection times with the terminal device; acquiring the terminal The device ranks the reference connection times in the N second connection times rankings corresponding to the N wireless access points, and selects one wireless access point corresponding to the highest reference connection number ranking as the first type of wireless access points.
  • the embodiment may further provide subsequent operations for the first type of wireless access point, for example, may include providing security protection by binding the first type of wireless access point to its corresponding terminal device; A terminal device is detected to access the first type of wireless access point to check whether the terminal device is a recorded terminal device. If not, the terminal device that is bound to the first type of wireless access point may initiate a prompt message. It is used to prompt the user to access the access point by other devices. If the user agrees to access, the other terminal device can access the first type of wireless access point.
  • the first connection number of the terminal device connected to the wireless access point and the second connection number of the wireless access point establishing the connection with the terminal device are respectively determined by the network connection information reported by the terminal device, according to the foregoing
  • the first connection number and the second connection number identify the first type of wireless access point. In this way, the influence of the time law can be avoided, and the accuracy of identifying the first type of wireless access point can be improved.
  • An embodiment of the present invention provides a server, as shown in FIG. 14, including:
  • the information obtaining unit 1401 is configured to acquire network connection information of the terminal device, where the network connection information includes at least: identifier information of the terminal device and identifier information of the wireless access point accessed thereto;
  • the processing unit 1402 is configured to obtain corresponding network connection information based on the identifier information of the terminal device, and obtain a first connection number of each wireless access point accessed by the terminal device and the terminal device; Obtaining, by the identifier information of the wireless access point, the corresponding network connection information, and obtaining a second connection number between the wireless access point and each terminal device accessing the wireless access point;
  • the identifying unit 1403 is configured to identify the first type of wireless access point based on the first connection number and/or the second connection number.
  • the terminal device in the network link information and the wireless access point accessed by the network link information are identified by the identifier information.
  • the identifier information of the terminal device may be an IMEI of the terminal device, and the identifier information of the wireless access point may be jointly composed of an SSID and a BSSID.
  • each terminal device can send at least one network connection information, and each network connection information can be network connection information generated and sent by the terminal device to access different wireless access points at different times.
  • the manner in which the network connection information is obtained in this embodiment may be periodically sent by the terminal device or periodically obtained by the server.
  • the obtained network connection information may be obtained from a WIFI connection log saved by the terminal device side.
  • the network connection information is obtained based on the identifier information of the terminal device, and the first connection number of each wireless access point accessed by the terminal device and the terminal device is obtained, and the processing unit 1402 Specifically, the identifier information of the at least one terminal device is obtained from the network connection information sent by the at least one terminal device; the terminal device is extracted one by one as the first terminal Obtaining at least one network connection information corresponding to the first terminal device; and collecting, from the at least one network connection information, the identifier information of the wireless access point accessed by the first terminal device; The number of times the first terminal device accesses each wireless access point is counted, and the first connection number of the first terminal device and the at least one wireless access point is determined.
  • the processing unit 1402 is configured to: obtain, by using network connection information sent by the at least one terminal device, identifier information of the at least one wireless access point; extract the wireless access point one by one as the first wireless access point; Having at least one network connection information of the first wireless access point; performing statistics on at least one terminal device accessing the first wireless access point from the at least one network connection information, determining the first wireless connection The number of second connections between the ingress and the at least one terminal device.
  • the network connection information further includes: a time period in which the terminal device establishes a connection with the wireless access point.
  • the time period for establishing the connection may include at least a start time and an end time at which the terminal device establishes a connection with the wireless access point.
  • the identification unit includes:
  • a fourth identification sub-unit 14034 configured to determine, according to the first connection number, a first connection number ranking of at least one wireless access point to which the terminal device is connected; and determine, according to the second connection number, a wireless access point Ranking a second connection number of the connected at least one terminal device; selecting, according to the first connection number ranking, N wireless access points with the highest number of connection times with the terminal device; acquiring the terminal devices respectively in the N Ranking the number of reference connections in the N second connection times ranking corresponding to the wireless access point; selecting the M wireless access points with the highest reference connection number; M is a positive integer greater than or equal to 1 and less than or equal to N; a time period in which the terminal device in the network connection information establishes a connection with the access point, and sets a wireless access point that meets the second preset condition among the M wireless access points as the first type of wireless access point;
  • the second preset condition represents selecting a wireless access point that establishes a connection with the terminal device within a preset time period.
  • the identification unit may further include a first identification subunit 14031 and a second identifier.
  • the sub-units 14032, the two identification sub-units may perform the identification of the first type of wireless access points based on the first connection number or the second connection number, respectively, and the specific functions are not described herein;
  • the third identification sub-unit 14033 is configured to identify the first type of wireless access point based on the number of the two connections, but not the time period.
  • the specific functions are as described in the foregoing embodiments, and are not described herein.
  • the preset time period may be a time period set according to actual conditions, for example, may be set to be between 8:00 pm and 8:00 am.
  • the first connection number of the terminal device connected to the wireless access point and the second connection number of the wireless access point establishing the connection with the terminal device are respectively determined by the network connection information reported by the terminal device, according to the foregoing
  • the first connection number and the second connection number identify the first type of wireless access point. In this way, the influence of the time law can be avoided, and the accuracy of identifying the first type of wireless access point can be improved.
  • the embodiment of the invention further provides a system for identifying a wireless access point, as shown in FIG.
  • the server 1501 is configured to acquire network connection information to the terminal device, where the network connection information includes at least: identifier information of the terminal device and identifier information of the accessed wireless access point; and identifier based on the terminal device Obtaining, by the information, the corresponding network connection information, obtaining a first connection number of each wireless access point that is accessed by the terminal device and the terminal device; acquiring the corresponding network based on the identifier information of the wireless access point Connecting the information, obtaining a second connection number between the wireless access point and each terminal device accessing the wireless access point; identifying based on the first connection number and/or the second connection number a first type of wireless access point;
  • the terminal device 1502 is configured to establish a connection with the wireless access point, generate network connection information based on the identifier information of the terminal device and the identifier information of the accessed wireless access point, and send the network connection information to the server.
  • composition of the terminal device provided by the embodiment of the present invention may be as shown in FIG. 16 and includes:
  • a connecting unit 1601 configured to establish a connection with the wireless access point
  • the information generating unit 1602 is configured to generate network connection information based on the identifier information of the terminal device and the identifier information of the accessed wireless access point;
  • the information sending unit 1603 is configured to send the network connection information to the server, so that the server determines a connection relationship of the terminal device dimension and a connection relationship of the wireless access point dimension based on the network connection information, and makes the server based on the terminal device dimension
  • the connection relationship and/or the connection relationship of the wireless access point dimension identify the first type of wireless access point.
  • the terminal device in the network link information and the wireless access point accessed by the network link information are identified by the identifier information.
  • the identifier information of the terminal device may be an IMEI of the terminal device, and the identifier information of the wireless access point may be jointly composed of an SSID and a BSSID.
  • each terminal device can send at least one network connection information, and each network connection information can be network connection information generated and sent by the terminal device to access different wireless access points at different times.
  • the manner in which the network connection information is obtained in this embodiment may be periodically sent by the terminal device or periodically obtained by the server.
  • the obtained network connection information may be obtained from a WIFI connection log saved by the terminal device side.
  • the information generating unit 1602 is further configured to generate network connection information by using a time period in which the terminal device establishes a connection with the wireless access point.
  • the time period for establishing the connection may include at least a start time and an end time at which the terminal device establishes a connection with the wireless access point.
  • the first connection number of the terminal device connected to the wireless access point and the second connection number of the wireless access point establishing the connection with the terminal device are respectively determined by the network connection information reported by the terminal device, according to the foregoing Number of connections and number of second connections Identify the first type of wireless access point. In this way, the influence of the time law can be avoided, and the accuracy of identifying the first type of wireless access point can be improved.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed.
  • the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
  • the units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the above integration
  • the unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing storage device includes the following steps: the foregoing storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • ROM read-only memory
  • RAM random access memory
  • magnetic disk or an optical disk.
  • optical disk A medium that can store program code.
  • Embodiments of the present invention also provide a computer storage medium in which a computer executable An instruction that is at least used to perform the following processing:
  • the network connection information includes at least: the identifier information of the terminal device and the identifier information of the accessed wireless access point; and the corresponding information is obtained based on the identifier information of the terminal device
  • Network connection information obtaining a first connection number of each wireless access point accessed by the terminal device and the terminal device
  • acquiring corresponding network connection information based on the identification information of the wireless access point, obtaining a Determining a second connection number between the wireless access point and each terminal device accessing the wireless access point; identifying the first type of wireless based on the first connection number and/or the second connection number Access Point.

Landscapes

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

Abstract

The present invention discloses a wireless access point identification method, server, system and computer storage medium, the method comprising: acquiring terminal device network connection information; the network connection information at least comprising: terminal device identifier information and identifier information of an accessed wireless access point; acquiring, based on the terminal device identifier information, corresponding network connection information, and obtaining a first connection count of connections of the terminal device to each of the wireless access points to which the terminal device connects; acquiring, based on the wireless access point identifier information, corresponding network connection information, and obtaining a second connection count of connections between the wireless access point and each terminal device connecting to the wireless access point; and identifying a first type of wireless access point on the basis of the first connection count and/or the second connection count.

Description

识别无线接入点的方法、服务器、系统及计算机存储介质Method, server, system and computer storage medium for identifying a wireless access point 技术领域Technical field
本发明涉及信息处理领域的网络管理技术,尤其涉及一种识别无线接入点的方法、服务器、系统及计算机存储介质。The present invention relates to network management technologies in the field of information processing, and in particular, to a method, a server, a system, and a computer storage medium for identifying a wireless access point.
背景技术Background technique
用户通过终端设备能够连接至无线接入点,进而通过连接至无线接入点连接至网络,从网络获取到所需信息。目前无线接入点的使用越来越广泛,在公司、商场、家庭里均可以通过连接至多种不同类型的无线接入点,判断终端设备所接入的无线接入点的类型的方法通常为根据接入网络的时间。但是,通过接入网络的时间来判断使用的无线接入点的类型,会无法避免由于部分用户与预设的时间规律采用不相同的作息时间,而导致的类型识别不准确的问题。The user can connect to the wireless access point through the terminal device, and then connect to the network through the connection to the wireless access point to obtain the required information from the network. At present, the use of wireless access points is more and more extensive. In companies, shopping malls, and homes, the method of judging the types of wireless access points accessed by the terminal devices by connecting to a plurality of different types of wireless access points is usually According to the time of access to the network. However, judging the type of the wireless access point used by the time of accessing the network, it is impossible to avoid the problem that the type identification is inaccurate due to the use of different working hours by some users and the preset time rule.
发明内容Summary of the invention
有鉴于此,本发明实施例的目的在于提供一种识别无线接入点的方法、服务器、系统及计算机存储介质,能至少解决现有技术存在的上述问题。In view of this, an object of the embodiments of the present invention is to provide a method, a server, a system, and a computer storage medium for identifying a wireless access point, which can solve at least the above problems in the prior art.
本发明实施例提供了一种识别无线接入点的方法,应用于服务器,所述方法包括:An embodiment of the present invention provides a method for identifying a wireless access point, which is applied to a server, and the method includes:
获取到终端设备的网络连接信息;其中,所述网络连接信息中至少包括:终端设备的标识信息及其接入的无线接入点的标识信息;Obtaining network connection information of the terminal device, where the network connection information includes at least: identifier information of the terminal device and identifier information of the wireless access point accessed thereto;
基于所述终端设备的标识信息获取到对应的网络连接信息,得到所述终端设备与所述终端设备所接入的每个无线接入点的第一连接次数;Obtaining corresponding network connection information based on the identifier information of the terminal device, and obtaining a first connection number of each wireless access point accessed by the terminal device and the terminal device;
基于所述无线接入点的标识信息获取到对应的网络连接信息,得到所 述无线接入点与接入所述无线接入点的每个终端设备之间的第二连接次数;Obtaining corresponding network connection information based on the identifier information of the wireless access point, and obtaining a location Determining a second connection number between the wireless access point and each terminal device accessing the wireless access point;
基于所述第一连接次数和/或所述第二连接次数,识别出第一类无线接入点。A first type of wireless access point is identified based on the first number of connections and/or the second number of connections.
本发明实施例提供了一种服务器,包括:An embodiment of the present invention provides a server, including:
信息获取单元,配置为获取到终端设备的网络连接信息;其中,所述网络连接信息中至少包括:终端设备的标识信息及其接入的无线接入点的标识信息;The information acquiring unit is configured to acquire network connection information of the terminal device, where the network connection information includes at least: identifier information of the terminal device and identifier information of the wireless access point accessed by the terminal device;
处理单元,配置为基于所述终端设备的标识信息获取到对应的网络连接信息,得到所述终端设备与所述终端设备所接入的每个无线接入点的第一连接次数;基于所述无线接入点的标识信息获取到对应的网络连接信息,得到所述无线接入点与接入所述无线接入点的每个终端设备之间的第二连接次数;The processing unit is configured to obtain corresponding network connection information based on the identifier information of the terminal device, and obtain a first connection number of each wireless access point accessed by the terminal device and the terminal device; Obtaining, by the identifier information of the wireless access point, the corresponding network connection information, and obtaining a second connection number between the wireless access point and each terminal device accessing the wireless access point;
识别单元,配置为基于所述第一连接次数和/或所述第二连接次数,识别出第一类无线接入点。The identification unit is configured to identify the first type of wireless access point based on the first number of connections and/or the second number of connections.
本发明实施例提供了一种识别无线接入点的系统,所述系统包括:An embodiment of the present invention provides a system for identifying a wireless access point, where the system includes:
服务器,配置为获取到终端设备的网络连接信息;其中,所述网络连接信息中至少包括:终端设备的标识信息及其接入的无线接入点的标识信息;基于所述终端设备的标识信息获取到对应的网络连接信息,得到所述终端设备与所述终端设备所接入的每个无线接入点的第一连接次数;基于所述无线接入点的标识信息获取到对应的网络连接信息,得到所述无线接入点与接入所述无线接入点的每个终端设备之间的第二连接次数;基于所述第一连接次数和/或所述第二连接次数,识别出第一类无线接入点;The server is configured to obtain network connection information of the terminal device, where the network connection information includes at least: identifier information of the terminal device and identifier information of the accessed wireless access point; and identifier information based on the terminal device Acquiring the corresponding network connection information, obtaining a first connection number of each wireless access point that is accessed by the terminal device and the terminal device; acquiring a corresponding network connection based on the identifier information of the wireless access point Information, obtaining a second connection number between the wireless access point and each terminal device accessing the wireless access point; identifying based on the first connection number and/or the second connection number The first type of wireless access point;
终端设备,配置为与无线接入点建立连接;基于所述终端设备的标识信息及其接入的无线接入点的标识信息,生成网络连接信息;发送所述网 络连接信息至服务器。The terminal device is configured to establish a connection with the wireless access point; generate network connection information based on the identification information of the terminal device and the identification information of the accessed wireless access point; and send the network Connect the connection information to the server.
本发明实施例提供了一种计算机存储介质,其中存储有计算机可执行指令,该计算机可执行指令至少用于执行以下处理:Embodiments of the present invention provide a computer storage medium in which computer executable instructions are stored, at least for performing the following processing:
获取到终端设备的网络连接信息;其中,所述网络连接信息中至少包括:终端设备的标识信息及其接入的无线接入点的标识信息;基于所述终端设备的标识信息获取到对应的网络连接信息,得到所述终端设备与所述终端设备所接入的每个无线接入点的第一连接次数;基于所述无线接入点的标识信息获取到对应的网络连接信息,得到所述无线接入点与接入所述无线接入点的每个终端设备之间的第二连接次数;基于所述第一连接次数和/或所述第二连接次数,识别出第一类无线接入点。Obtaining the network connection information of the terminal device, where the network connection information includes at least: the identifier information of the terminal device and the identifier information of the accessed wireless access point; and the corresponding information is obtained based on the identifier information of the terminal device Network connection information, obtaining a first connection number of each wireless access point accessed by the terminal device and the terminal device; acquiring corresponding network connection information based on the identification information of the wireless access point, obtaining a Determining a second connection number between the wireless access point and each terminal device accessing the wireless access point; identifying the first type of wireless based on the first connection number and/or the second connection number Access Point.
本发明实施例所提供的识别无线接入点的方法、服务器、系统及计算机存储介质,通过终端设备上报的网络连接信息,分别确定终端设备连接无线接入点的第一连接次数、以及无线接入点与终端设备建立连接的第二连接次数,根据上述第一连接次数以及第二连接次数识别出第一类无线接入点。如此,能够避免时间规律的影响,提升识别第一类无线接入点的准确度。The method, the server, the system, and the computer storage medium for identifying a wireless access point provided by the embodiment of the present invention determine the first connection number of the terminal device to connect to the wireless access point and the wireless connection respectively through the network connection information reported by the terminal device. The second connection number of the connection point establishing the connection with the terminal device identifies the first type of wireless access point according to the first connection number and the second connection number. In this way, the influence of the time law can be avoided, and the accuracy of identifying the first type of wireless access point can be improved.
附图说明DRAWINGS
图1为本发明实施例场景示意图;1 is a schematic diagram of a scenario according to an embodiment of the present invention;
图2为本发明实施例识别无线接入点的方法流程示意图一;2 is a schematic flowchart 1 of a method for identifying a wireless access point according to an embodiment of the present invention;
图3为本发明实施例获取到第一连接次数流程示意图;FIG. 3 is a schematic flowchart of obtaining a first connection number according to an embodiment of the present invention;
图4为本发明实施例获取到第二连接次数流程示意图;4 is a schematic flowchart of obtaining a second connection number according to an embodiment of the present invention;
图5为本发明实施例识别无线接入点的方法流程示意图二;FIG. 5 is a second schematic flowchart of a method for identifying a wireless access point according to an embodiment of the present invention; FIG.
图6为本发明实施例识别无线接入点的方法流程示意图三;6 is a schematic flowchart 3 of a method for identifying a wireless access point according to an embodiment of the present invention;
图7为本发明实施例处理流程示意图;FIG. 7 is a schematic flowchart of a process according to an embodiment of the present invention;
图8为本发明实施例实施流程示意图; FIG. 8 is a schematic flowchart of an implementation process of an embodiment of the present invention;
图9为本发明实施例识别无线接入点的方法流程示意图四;FIG. 9 is a schematic flowchart 4 of a method for identifying a wireless access point according to an embodiment of the present invention;
图10为本发明实施例识别无线接入点的方法流程示意图五;10 is a schematic flowchart 5 of a method for identifying a wireless access point according to an embodiment of the present invention;
图11为本发明实施例服务器组成结构示意图一;11 is a schematic structural diagram 1 of a server structure according to an embodiment of the present invention;
图12为本发明实施例服务器组成结构示意图二;12 is a second schematic structural diagram of a server according to an embodiment of the present invention;
图13为本发明实施例服务器组成结构示意图三;13 is a schematic structural diagram 3 of a server structure according to an embodiment of the present invention;
图14为本发明实施例服务器组成结构示意图四;14 is a schematic structural diagram 4 of a server structure according to an embodiment of the present invention;
图15为本发明实施例系统组成结构示意图;15 is a schematic structural diagram of a system structure according to an embodiment of the present invention;
图16为本发明实施例终端设备组成结构示意图。FIG. 16 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
具体实施方式detailed description
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。本实施例提供的方案,可以参见系统场景示意图,图1所示,其中,包括有终端设备一111、终端设备二112;无线接入点一121、无线接入点二122、无线接入点三123。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. For the solution provided in this embodiment, refer to the system scenario diagram, as shown in FIG. 1 , which includes a terminal device 111 and a terminal device 2, a wireless access point 121, a wireless access point 2, and a wireless access point. Three 123.
基于上述系统,本发明的基本思想是:服务器获取到终端设备的网络连接信息;基于所述网络连接信息,确定终端设备及其与至少一个无线接入点的第一连接次数、并且确定无线接入点及其与至少一个终端设备的第二连接次数;基于所述第一连接次数和/或所述第二连接次数,识别出第一类无线接入点。Based on the above system, the basic idea of the present invention is: the server acquires network connection information of the terminal device; and based on the network connection information, determines the terminal device and its first connection number with the at least one wireless access point, and determines the wireless connection An entry point and a second number of connections to the at least one terminal device; identifying the first type of wireless access point based on the first number of connections and/or the second number of connections.
基于上述系统结构,提出本发明各个实施例。Various embodiments of the present invention have been proposed based on the above system configuration.
实施例一、Embodiment 1
本发明实施例提供了一种识别无线接入点的方法,应用于服务器,如图2所示,所述方法包括:An embodiment of the present invention provides a method for identifying a wireless access point, which is applied to a server. As shown in FIG. 2, the method includes:
步骤21:获取到终端设备的网络连接信息;其中,所述网络连接信息中至少包括:终端设备的标识信息及其接入的无线接入点的标识信息; Step 21: Obtain network connection information of the terminal device, where the network connection information includes at least: identifier information of the terminal device and identifier information of the wireless access point accessed thereto;
步骤22:基于所述终端设备的标识信息获取到对应的网络连接信息,得到所述终端设备与所述终端设备所接入的每个无线接入点的第一连接次数;Step 22: Obtain corresponding network connection information based on the identifier information of the terminal device, and obtain a first connection number of each wireless access point accessed by the terminal device and the terminal device;
步骤23:基于所述无线接入点的标识信息获取到对应的网络连接信息,得到所述无线接入点与接入所述无线接入点的每个终端设备之间的第二连接次数;Step 23: Acquire corresponding network connection information based on the identifier information of the wireless access point, and obtain a second connection number between the wireless access point and each terminal device that accesses the wireless access point.
步骤24:基于所述第一连接次数和/或所述第二连接次数,识别出第一类无线接入点。Step 24: Identify the first type of wireless access point based on the first connection number and/or the second connection number.
这里,所述网络链接信息中的终端设备及其接入的无线接入点均通过标识信息来进行识别。Here, the terminal device in the network link information and the wireless access point accessed by the network link information are identified by the identifier information.
另外,上述步骤22以及所述上述步骤23的执行顺序可以不分先后,可以同时执行,也可是先执行步骤22再执行步骤23,或者先执行步骤23再执行步骤22。In addition, the execution sequence of the above step 22 and the foregoing step 23 may be performed in any order, or may be performed at the same time, or step 23 may be performed first, or step 23 may be performed first.
本实施例中,基于所述终端设备的标识信息获取到对应的网络连接信息,得到所述终端设备与所述终端设备所接入的每个无线接入点的第一连接次数,如图3所示,包括:In this embodiment, the corresponding network connection information is obtained based on the identifier information of the terminal device, and the first connection number of each wireless access point accessed by the terminal device and the terminal device is obtained, as shown in FIG. 3 . Shown, including:
步骤31:从至少一个终端设备发来的网络连接信息中获取到至少一个终端设备的标识信息;Step 31: Obtain identification information of at least one terminal device from network connection information sent by at least one terminal device.
步骤32:逐个提取终端设备作为第一终端设备;Step 32: Extract the terminal device one by one as the first terminal device;
步骤33:获取到第一终端设备对应的至少一个网络连接信息;Step 33: Acquire at least one network connection information corresponding to the first terminal device.
步骤34:从所述至少一个网络连接信息中,对所述第一终端设备接入的无线接入点的标识信息进行统计;Step 34: Perform statistics on the identifier information of the wireless access point accessed by the first terminal device from the at least one network connection information.
步骤35:对所述第一终端设备接入每一个无线接入点的次数进行统计,确定所述第一终端设备与至少一个无线接入点的第一连接次数。Step 35: Perform statistics on the number of times the first terminal device accesses each wireless access point, and determine the first connection number of the first terminal device and the at least one wireless access point.
另外,本实施例中基于所述无线接入点的标识信息获取到对应的网络连 接信息,得到所述无线接入点与接入所述无线接入点的每个终端设备之间的第二连接次数,如图4所示,包括:In addition, in this embodiment, the corresponding network connection is obtained based on the identifier information of the wireless access point. Receiving the information, obtaining the second connection number between the wireless access point and each terminal device accessing the wireless access point, as shown in FIG. 4, including:
步骤41:从至少一个终端设备发来的网络连接信息中获取到至少一个无线接入点的标识信息;Step 41: Obtain identification information of at least one wireless access point from network connection information sent by at least one terminal device.
步骤42:逐个提取无线接入点作为第一无线接入点;Step 42: Extract the wireless access point one by one as the first wireless access point;
步骤43:获取到包含有第一无线接入点的至少一个网络连接信息;Step 43: Acquire at least one network connection information that includes the first wireless access point.
步骤44:从所述至少一个网络连接信息中,对接入所述第一无线接入点的至少一个终端设备进行统计,确定所述第一无线接入点与至少一个终端设备的第二连接次数。Step 44: Perform statistics on at least one terminal device that accesses the first wireless access point from the at least one network connection information, and determine a second connection between the first wireless access point and at least one terminal device. frequency.
所述识别出第一类无线接入点,可以包括以下两种场景:The identifying the first type of wireless access point may include the following two scenarios:
场景一、基于第一连接次数,选取与所述终端设备建立连接次数最多的一个无线接入点,作为所述终端设备对应的第一类无线接入点。Scenario 1: Based on the first connection number, select one wireless access point that has the most connection with the terminal device, as the first type of wireless access point corresponding to the terminal device.
其中,本实施例中所述第一类无线接入点可以为家庭无线接入点,也就是说,从多个无线接入点中,识别出哪些是家庭无线接入点。The first type of wireless access point in the embodiment may be a home wireless access point, that is, among the plurality of wireless access points, which are the home wireless access points.
场景二、基于第二连接次数,获取到无线接入点连接终端设备的数量;选取符合第一预设条件的无线接入点,其中,所述第一预设条件表征所述无线接入点连接终端设备的数量小于第一门限值;从所述符合第一预设条件的无线接入点中,选取连接单个终端设备次数最多的一个无线接入点作为第一类无线接入点。Scenario 2: acquiring the number of the terminal devices connected to the wireless access point based on the second connection number; selecting the wireless access point that meets the first preset condition, where the first preset condition characterizes the wireless access point The number of connected terminal devices is less than the first threshold; from the wireless access points that meet the first preset condition, one wireless access point that connects the single terminal device is selected as the first type of wireless access point.
其中,所述第一门限值可以为根据实际情况设置的数值,比如,可以为三个。当第一类无线接入点为家庭接入点时,使用该无线接入点的终端设备的数量会少于公共无线接入点,因此,可以使用无线接入点维度的连接关系中的接入无线接入点的总终端设备的数量来识别出第一类无线接入点。The first threshold value may be a value set according to an actual situation, for example, may be three. When the first type of wireless access point is a home access point, the number of terminal devices using the wireless access point may be less than that of the public wireless access point, and therefore, the connection relationship in the wireless access point dimension may be used. The number of total terminal devices entering the wireless access point identifies the first type of wireless access point.
可见,通过采用上述方案,能够通过终端设备上报的网络连接信息, 分别确定终端设备连接无线接入点的第一连接次数、以及无线接入点与终端设备建立连接的第二连接次数,根据上述第一连接次数以及第二连接次数识别出第一类无线接入点。如此,能够避免时间规律的影响,提升识别第一类无线接入点的准确度。It can be seen that, by adopting the above solution, the network connection information reported by the terminal device can be obtained. Determining, respectively, a first connection number of the terminal device connected to the wireless access point, and a second connection number of the wireless access point establishing a connection with the terminal device, and identifying the first type of wireless access according to the first connection number and the second connection number point. In this way, the influence of the time law can be avoided, and the accuracy of identifying the first type of wireless access point can be improved.
实施例二、Embodiment 2
本发明实施例提供了一种识别无线接入点的方法,应用于服务器,如图5所示,所述方法包括:An embodiment of the present invention provides a method for identifying a wireless access point, which is applied to a server. As shown in FIG. 5, the method includes:
步骤51:获取到终端设备的网络连接信息;其中,所述网络连接信息中至少包括:终端设备的标识信息及其接入的无线接入点的标识信息;Step 51: Obtain network connection information of the terminal device, where the network connection information includes at least: identifier information of the terminal device and identifier information of the access point of the wireless access point;
步骤52:基于所述终端设备的标识信息获取到对应的网络连接信息,得到所述终端设备与所述终端设备所接入的每个无线接入点的第一连接次数;Step 52: Obtain corresponding network connection information based on the identifier information of the terminal device, and obtain a first connection number of each wireless access point accessed by the terminal device and the terminal device;
步骤53:基于所述无线接入点的标识信息获取到对应的网络连接信息,得到所述无线接入点与接入所述无线接入点的每个终端设备之间的第二连接次数;Step 53: Acquire corresponding network connection information based on the identifier information of the wireless access point, and obtain a second connection number between the wireless access point and each terminal device that accesses the wireless access point.
步骤54:基于所述第一连接次数,确定终端设备所连接的至少一个无线接入点的第一连接次数排名;基于所述第二连接次数,确定无线接入点所连接的至少一个终端设备的第二连接次数排名;Step 54: Determine, according to the first connection number, a first connection number ranking of at least one wireless access point to which the terminal device is connected; determine, according to the second connection number, at least one terminal device connected to the wireless access point Ranking of the second number of connections;
步骤55:基于所述第一连接次数排名,选取与终端设备连接次数排名最高的N个无线接入点;Step 55: Based on the first connection number ranking, select the N wireless access points with the highest number of connection times with the terminal device;
步骤56:获取到所述终端设备分别在所述N个无线接入点对应的N个第二连接次数排名中的参考连接次数排名;Step 56: Obtain a reference connection number ranking of the N second connection times rankings corresponding to the N wireless access points by the terminal device;
步骤57:选取最高参考连接次数排名对应的一个无线接接入点作为第一类无线接入点。Step 57: Select one wireless access point corresponding to the highest reference connection number ranking as the first type of wireless access point.
这里,所述网络链接信息中的终端设备及其接入的无线接入点均通过 标识信息来进行识别。另外,上述步骤52以及所述上述步骤53的执行顺序可以不分先后,可以同时执行,也可是先执行步骤52再执行步骤53,或者先执行步骤53再执行步骤52。Here, the terminal device in the network link information and the wireless access point accessed thereby pass Identify information for identification. In addition, the execution sequence of the foregoing step 52 and the foregoing step 53 may be performed in any order, or may be performed at the same time, or step 52 may be performed first, or step 53 may be performed first.
具体的,所述终端设备的标识信息可以为终端设备的移动设备国际身份码(IMEI,International Mobile Equipment Identity);所述无线接入点的标识信息可以由服务集标识(SSID,Service Set Identifier)以及BSSID共同组成,BSSID是一种特殊的Ad-hoc LAN的应用,也称为Basic Service Set(BSS),实际上就是AP的MAC地址,一群计算机设定相同的BSS名称,即可自成一个group。每个BSS都会被赋予一个BSSID,它是一个长度为48位的二进制标识符,用来识别不同的BSS。另外,每一个终端设备均可以发起至少一个网络连接信息,每一个网络连接信息可以为终端设备在不同的时间,接入不同的无线接入点而生成并发出的网络连接信息。Specifically, the identifier information of the terminal device may be an International Mobile Equipment Identity (IMEI) of the terminal device; the identifier information of the wireless access point may be a Service Set Identifier (SSID). And BSSID is a common combination, BSSID is a special Ad-hoc LAN application, also known as Basic Service Set (BSS), which is actually the MAC address of the AP. A group of computers set the same BSS name, which can be a self-contained one. Group. Each BSS is assigned a BSSID, which is a 48-bit binary identifier that identifies the different BSS. In addition, each terminal device can initiate at least one network connection information, and each network connection information can be network connection information generated and sent by the terminal device to access different wireless access points at different times.
另外,本实施例中,基于所述终端设备的标识信息获取到对应的网络连接信息,得到所述终端设备与所述终端设备所接入的每个无线接入点的第一连接次数,如图3所示,包括:In addition, in this embodiment, the corresponding network connection information is obtained based on the identifier information of the terminal device, and the first connection number of each wireless access point accessed by the terminal device and the terminal device is obtained, for example, As shown in Figure 3, it includes:
步骤31:从至少一个终端设备发来的网络连接信息中获取到至少一个终端设备的标识信息;Step 31: Obtain identification information of at least one terminal device from network connection information sent by at least one terminal device.
步骤32:逐个提取终端设备作为第一终端设备;Step 32: Extract the terminal device one by one as the first terminal device;
步骤33:获取到第一终端设备对应的至少一个网络连接信息;Step 33: Acquire at least one network connection information corresponding to the first terminal device.
步骤34:从所述至少一个网络连接信息中,对所述第一终端设备接入的无线接入点的标识信息进行统计;Step 34: Perform statistics on the identifier information of the wireless access point accessed by the first terminal device from the at least one network connection information.
步骤35:对所述第一终端设备接入每一个无线接入点的次数进行统计,确定所述第一终端设备与至少一个无线接入点的第一连接次数。Step 35: Perform statistics on the number of times the first terminal device accesses each wireless access point, and determine the first connection number of the first terminal device and the at least one wireless access point.
另外,本实施例中基于所述无线接入点的标识信息获取到对应的网络连接信息,得到所述无线接入点与接入所述无线接入点的每个终端设备之间 的第二连接次数,如图4所示,包括:In addition, in this embodiment, the corresponding network connection information is obtained based on the identifier information of the wireless access point, and obtained between the wireless access point and each terminal device that accesses the wireless access point. The second number of connections, as shown in Figure 4, includes:
步骤41:从至少一个终端设备发来的网络连接信息中获取到至少一个无线接入点的标识信息;Step 41: Obtain identification information of at least one wireless access point from network connection information sent by at least one terminal device.
步骤42:逐个提取无线接入点作为第一无线接入点;Step 42: Extract the wireless access point one by one as the first wireless access point;
步骤43:获取到包含有第一无线接入点的至少一个网络连接信息;Step 43: Acquire at least one network connection information that includes the first wireless access point.
步骤44:从所述至少一个网络连接信息中,对接入所述第一无线接入点的至少一个终端设备进行统计,确定所述第一无线接入点与至少一个终端设备的第二连接次数。Step 44: Perform statistics on at least one terminal device that accesses the first wireless access point from the at least one network connection information, and determine a second connection between the first wireless access point and at least one terminal device. frequency.
基于所述第一连接次数,确定终端设备所连接的至少一个无线接入点的第一连接次数排名可以为基于所述终端设备的标识信息选取对应的第一连接次数,获取到第一连接次数中终端设备与至少一个无线接入点的连接次数;基于连接次数进行排名,得到至少一个无线接入点的第一连接次数排名。And determining, according to the first connection number, that the first connection number of the at least one wireless access point to which the terminal device is connected may be a first connection number selected according to the identification information of the terminal device, and acquiring the first connection number The number of connections between the terminal device and the at least one wireless access point; ranking based on the number of connections, and ranking the first connection times of the at least one wireless access point.
相应的,所述基于所述第二连接次数,确定无线接入点所连接的至少一个终端设备的第二连接次数排名可以为基于无线接入点的标识信息选取对应的第二连接次数,获取到第二连接次数中无线接入点与至少一个终端设备的连接次数;基于连接次数进行排名,得到至少一个终端设备的第二连接次数排名。Correspondingly, the determining, according to the second connection number, the second connection number ranking of the at least one terminal device to which the wireless access point is connected may select a second connection number according to the identifier information of the wireless access point, and obtain The number of connections between the wireless access point and the at least one terminal device in the second connection number; ranking based on the number of connections, and obtaining the second connection number ranking of the at least one terminal device.
本实施例中以IMEI用于表示终端设备,以SSID和BSSID表示无线接入点。在服务器侧,上述两个连接次数可以体现为列表的形式,并且还会分别基于终端设备维度对应其连接的无线接入点的连接次数排名,基于无线接入点维度连接终端设备的连接次数排名。如表1所示,建立基于IMEI和SSID+BSSID的关系表可以如下: In this embodiment, the IMEI is used to represent the terminal device, and the wireless access point is represented by the SSID and the BSSID. On the server side, the two connection times may be in the form of a list, and are also ranked based on the number of connections of the wireless access points to which the terminal device dimension corresponds, and the number of connections connected to the terminal device based on the wireless access point dimension. . As shown in Table 1, the relationship table based on IMEI and SSID+BSSID can be established as follows:
Figure PCTCN2016081339-appb-000001
Figure PCTCN2016081339-appb-000001
表1Table 1
根据表1所示,可以从终端设备维度找出每个终端设备连接过的无线接入点中亲密度最高的一个、即连接次数排名最高的一个无线接入点。但是这个会有一个缺点,比如一些工作时间较长的无线接入点的热度可能相对家庭无线接入点更高,为了修正这个问题,本实施例提供的方案加上从无线接入点维度的终端设备的连接次数排名进行修正。最终第一类无线接入点的识别,由得出的综合排名来确定。According to Table 1, the highest intimacy among the wireless access points connected to each terminal device, that is, one wireless access point with the highest number of connection times can be found from the terminal device dimension. However, this has a disadvantage. For example, some wireless access points with longer working hours may have higher heat than home wireless access points. In order to correct this problem, the solution provided by this embodiment is added from the dimension of the wireless access point. The ranking of the number of connections of the terminal device is corrected. The identification of the final type 1 wireless access point is determined by the resulting comprehensive ranking.
进一步地,本实施例还可以提供针对所述第一类无线接入点的后续操作,比如,可以包括通过将第一类无线接入点与其对应的终端设备进行绑定,进而提供安全防护;当服务器侧检测到有终端设备要接入到第一类无线接入点,查看该终端设备是否为记录中的终端设备,如果不是,可以向第一类无线接入点绑定的终端设备发起提示信息,用于提示用户由其他设备要接入该接入点,如果用户同意接入,则其他终端设备可以接入该第一类无线接入点。Further, the present embodiment may further provide a subsequent operation for the first type of wireless access point, for example, may include providing security protection by binding the first type of wireless access point to its corresponding terminal device; When the server side detects that the terminal device is to access the first type of wireless access point, check whether the terminal device is the recorded terminal device, and if not, initiate the terminal device that is bound to the first type of wireless access point. The prompt information is used to prompt the user to access the access point by other devices. If the user agrees to access, the other terminal device can access the first type of wireless access point.
可见,通过采用上述方案,能够通过终端设备上报的网络连接信息,分别确定终端设备连接无线接入点的第一连接次数、以及无线接入点与终端设备建立连接的第二连接次数,根据上述第一连接次数以及第二连接次数识别出第一类无线接入点。如此,能够避免时间规律的影响,提升识别第一类无线接入点的准确度。It can be seen that, by adopting the foregoing solution, the first connection number of the terminal device connected to the wireless access point and the second connection number of the wireless access point establishing the connection with the terminal device are respectively determined by the network connection information reported by the terminal device, according to the foregoing The first connection number and the second connection number identify the first type of wireless access point. In this way, the influence of the time law can be avoided, and the accuracy of identifying the first type of wireless access point can be improved.
实施例三、 Embodiment 3
本发明实施例提供了一种识别无线接入点的方法,应用于服务器,如图6所示,所述方法包括:An embodiment of the present invention provides a method for identifying a wireless access point, which is applied to a server. As shown in FIG. 6, the method includes:
步骤61:获取到终端设备的网络连接信息;其中,所述网络连接信息中至少包括:终端设备的标识信息及其接入的无线接入点的标识信息;所述网络连接信息中还包括:终端设备与无线接入点建立连接的时间段;Step 61: Acquire network connection information of the terminal device, where the network connection information includes at least: identifier information of the terminal device and identifier information of the wireless access point to which the access device is accessed; the network connection information further includes: a period of time during which the terminal device establishes a connection with the wireless access point;
步骤62:基于所述终端设备的标识信息获取到对应的网络连接信息,得到所述终端设备与所述终端设备所接入的每个无线接入点的第一连接次数;Step 62: Obtain corresponding network connection information based on the identifier information of the terminal device, and obtain a first connection number of each wireless access point that the terminal device and the terminal device access;
步骤63:基于所述无线接入点的标识信息获取到对应的网络连接信息,得到所述无线接入点与接入所述无线接入点的每个终端设备之间的第二连接次数;Step 63: Acquire corresponding network connection information based on the identifier information of the wireless access point, and obtain a second connection number between the wireless access point and each terminal device that accesses the wireless access point.
步骤64:基于所述第一连接次数,确定终端设备所连接的至少一个无线接入点的第一连接次数排名;基于所述第二连接次数,确定无线接入点所连接的至少一个终端设备的第二连接次数排名;Step 64: Determine, according to the first connection number, a first connection number ranking of at least one wireless access point to which the terminal device is connected, and determine, according to the second connection number, at least one terminal device connected to the wireless access point. Ranking of the second number of connections;
步骤65:基于所述第一连接次数排名,选取与终端设备连接次数排名最高的N个无线接入点;Step 65: According to the first connection number ranking, select the N wireless access points with the highest number of connection times with the terminal device;
步骤66:获取到所述终端设备分别在所述N个无线接入点对应的N个第二连接次数排名中的参考连接次数排名;Step 66: Obtain a reference connection number ranking of the N second connection times rankings corresponding to the N wireless access points by the terminal device;
步骤67:选取参考连接次数排名最高的M个无线接入点;M为大于等于1且小于等于N的正整数;Step 67: Select M wireless access points with the highest number of reference connections; M is a positive integer greater than or equal to 1 and less than or equal to N;
步骤68:基于所述网络连接信息中的终端设备与所述接入点建立连接的时间段,将M个无线接入点中符合第二预设条件的无线接入点设置为第一类无线接入点;其中,所述第二预设条件表征选取在预设时间段内与终端设备建立连接的无线接入点。Step 68: Set, according to a time period in which the terminal device in the network connection information establishes a connection with the access point, set a wireless access point that meets a second preset condition among the M wireless access points as the first type of wireless An access point; wherein the second preset condition represents selecting a wireless access point that establishes a connection with the terminal device within a preset time period.
这里,所述网络链接信息中的终端设备及其接入的无线接入点均通过 标识信息来进行识别。具体的,所述终端设备的标识信息可以为终端设备的IMEI;所述无线接入点的标识信息可以由SSID以及BSSID共同组成。另外,每一个终端设备均可以发至少一个网络连接信息,每一个网络连接信息可以为终端设备在不同的时间,接入不同的无线接入点而生成并发出的网络连接信息。Here, the terminal device in the network link information and the wireless access point accessed thereby pass Identify information for identification. Specifically, the identifier information of the terminal device may be an IMEI of the terminal device, and the identifier information of the wireless access point may be jointly composed of an SSID and a BSSID. In addition, each terminal device can send at least one network connection information, and each network connection information can be network connection information generated and sent by the terminal device to access different wireless access points at different times.
本实施例中获取所述网络连接信息的方式可以为终端设备定期发送,也可以为服务器周期性获取。所述获取到网络连接信息可以为从终端设备侧保存的WIFI连接日志中获取。The manner in which the network connection information is obtained in this embodiment may be periodically sent by the terminal device or periodically obtained by the server. The obtained network connection information may be obtained from a WIFI connection log saved by the terminal device side.
另外,本实施例中,基于所述终端设备的标识信息获取到对应的网络连接信息,得到所述终端设备与所述终端设备所接入的每个无线接入点的第一连接次数,如图3所示,包括:In addition, in this embodiment, the corresponding network connection information is obtained based on the identifier information of the terminal device, and the first connection number of each wireless access point accessed by the terminal device and the terminal device is obtained, for example, As shown in Figure 3, it includes:
步骤31:从至少一个终端设备发来的网络连接信息中获取到至少一个终端设备的标识信息;Step 31: Obtain identification information of at least one terminal device from network connection information sent by at least one terminal device.
步骤32:逐个提取终端设备作为第一终端设备;Step 32: Extract the terminal device one by one as the first terminal device;
步骤33:获取到第一终端设备对应的至少一个网络连接信息;Step 33: Acquire at least one network connection information corresponding to the first terminal device.
步骤34:从所述至少一个网络连接信息中,对所述第一终端设备接入的无线接入点的标识信息进行统计;Step 34: Perform statistics on the identifier information of the wireless access point accessed by the first terminal device from the at least one network connection information.
步骤35:对所述第一终端设备接入每一个无线接入点的次数进行统计,确定所述第一终端设备与至少一个无线接入点的第一连接次数。Step 35: Perform statistics on the number of times the first terminal device accesses each wireless access point, and determine the first connection number of the first terminal device and the at least one wireless access point.
另外,本实施例中基于所述无线接入点的标识信息获取到对应的网络连接信息,得到所述无线接入点与接入所述无线接入点的每个终端设备之间的第二连接次数,如图4所示,包括:In addition, in this embodiment, the corresponding network connection information is obtained based on the identifier information of the wireless access point, and the second between the wireless access point and each terminal device that accesses the wireless access point is obtained. The number of connections, as shown in Figure 4, includes:
步骤41:从至少一个终端设备发来的网络连接信息中获取到至少一个无线接入点的标识信息;Step 41: Obtain identification information of at least one wireless access point from network connection information sent by at least one terminal device.
步骤42:逐个提取无线接入点作为第一无线接入点; Step 42: Extract the wireless access point one by one as the first wireless access point;
步骤43:获取到包含有第一无线接入点的至少一个网络连接信息;Step 43: Acquire at least one network connection information that includes the first wireless access point.
步骤44:从所述至少一个网络连接信息中,对接入所述第一无线接入点的至少一个终端设备进行统计,确定所述第一无线接入点与至少一个终端设备的第二连接次数。Step 44: Perform statistics on at least one terminal device that accesses the first wireless access point from the at least one network connection information, and determine a second connection between the first wireless access point and at least one terminal device. frequency.
基于所述第一连接次数,确定终端设备所连接的至少一个无线接入点的第一连接次数排名可以为基于所述终端设备的标识信息选取对应的第一连接次数,获取到第一连接次数中终端设备与至少一个无线接入点的连接次数;基于连接次数进行排名,得到至少一个无线接入点的第一连接次数排名。And determining, according to the first connection number, that the first connection number of the at least one wireless access point to which the terminal device is connected may be a first connection number selected according to the identification information of the terminal device, and acquiring the first connection number The number of connections between the terminal device and the at least one wireless access point; ranking based on the number of connections, and ranking the first connection times of the at least one wireless access point.
相应的,所述基于所述第二连接次数,确定无线接入点所连接的至少一个终端设备的第二连接次数排名可以为基于无线接入点的标识信息选取对应的第二连接次数,获取到第二连接次数中无线接入点与至少一个终端设备的连接次数;基于连接次数进行排名,得到至少一个终端设备的第二连接次数排名。Correspondingly, the determining, according to the second connection number, the second connection number ranking of the at least one terminal device to which the wireless access point is connected may select a second connection number according to the identifier information of the wireless access point, and obtain The number of connections between the wireless access point and the at least one terminal device in the second connection number; ranking based on the number of connections, and obtaining the second connection number ranking of the at least one terminal device.
本实施例与实施例二不同在于,本实施例在实施例二的基础上,增加了通过时间段进行筛选的步骤。其中,所述预设时间段可以为根据实际情况设置的时间段,比如,可以设置为晚上8:00至早上8:00之间。This embodiment differs from the second embodiment in that the present embodiment adds the step of screening through the time period based on the second embodiment. The preset time period may be a time period set according to actual conditions, for example, may be set to be between 8:00 pm and 8:00 am.
本实施例提供的方案,可以参见场景示意图,图1所示,假设终端设备一111的标识信息为“001”,终端设备二112的标识信息为“002”;无线接入点一121的标识信息为“xxxx”,无线接入点二122的标识信息为“yyyy”,无线接入点三123的标识信息为“zzzz”。For the solution provided in this embodiment, refer to the scenario diagram. As shown in FIG. 1, it is assumed that the identifier information of the terminal device 111 is "001", the identifier information of the terminal device 112 is "002", and the identifier of the wireless access point 121. The information is "xxxx", the identification information of the wireless access point two 122 is "yyyy", and the identification information of the wireless access point three 123 is "zzzz".
本实施例中以IMEI用于表示终端设备,以SSID和BSSID表示无线接入点。在服务器侧,上述两个连接关系可以体现为列表的形式,并且还会分别基于终端设备维度对应其连接的无线接入点的连接次数排名,基于无线接入点维度连接终端设备的连接次数排名。如表2所示,建立基于IMEI 和SSID+BSSID的关系表可以如下:In this embodiment, the IMEI is used to represent the terminal device, and the wireless access point is represented by the SSID and the BSSID. On the server side, the two connection relationships may be in the form of a list, and are also ranked based on the number of connections of the wireless access points to which the terminal device dimension corresponds, and the number of connections connected to the terminal device based on the dimension of the wireless access point. . As shown in Table 2, establish based on IMEI The relationship table with SSID+BSSID can be as follows:
Figure PCTCN2016081339-appb-000002
Figure PCTCN2016081339-appb-000002
表2Table 2
通过表2可以看出,终端设备一分别连接过无线接入点一以及无线接入点二,其中,接入无线接入点一的次数排名为第一,并且,无线接入点一与终端设备一建立连接次数排名同样为第一,可以确定无线接入点一为终端设备一对应的第一类无线接入点,即家庭接入点;相同的,终端设备二以同样的方法,可以确定无线接入点三为第一类无线接入点。As can be seen from Table 2, the terminal device is respectively connected to the wireless access point 1 and the wireless access point 2, wherein the number of accesses to the wireless access point is ranked first, and the wireless access point and the terminal The device is also ranked first in establishing the number of connections. It can be determined that the wireless access point is a first type of wireless access point corresponding to the terminal device, that is, the home access point; the same, the terminal device 2 can be in the same manner. It is determined that the wireless access point three is the first type of wireless access point.
本实施例的识别逻辑可以如图7-图8所示,也就是基于无线接入点、终端设备的连接关系,确定第一类无线接入点。假设第一类无线接入点为家庭接入点,其余为公司接入点,如图8所示:The identification logic of this embodiment may be as shown in FIG. 7-8, that is, the first type of wireless access point is determined based on the connection relationship between the wireless access point and the terminal device. Assume that the first type of wireless access point is a home access point, and the rest are corporate access points, as shown in Figure 8:
首先通过终端设备的用户WIFI日志确定网络连接信息;基于网络连接信息确定终端设备维度的第一连接次数,并且确定无线接入点维度的的第二连接次数;First determining network connection information by using a user WIFI log of the terminal device; determining a first connection number of the terminal device dimension based on the network connection information, and determining a second connection number of the wireless access point dimension;
通过第一连接次数,确定终端设备所连接的至少一个无线接入点的第一连接次数排名,根据第一连接次数排名确定排名前指定位的无线接入点;Determining, by using the first connection number, a first connection number ranking of the at least one wireless access point to which the terminal device is connected, and determining a wireless access point of the pre-ranking designated bit according to the first connection number ranking;
再通过无线接入点维度的第二连接次数排名判断是否终端设备也无线接入点所连接的多个终端设备中占在前指定位;其中,前指定位可以为根据实际情况设置的数量,比如,可以为前三位;And determining, by the second connection number ranking of the wireless access point dimension, whether the terminal device also occupies the previous designated bit among the plurality of terminal devices connected to the wireless access point; wherein the former designated bit may be the quantity set according to the actual situation. For example, it can be the top three;
再基于时间段对多个无线接入点的接入时间进行过滤,最终去除公司 无线接入点,识别出家庭无线接入点。Filtering the access time of multiple wireless access points based on the time period, and finally removing the company. The wireless access point identifies the home wireless access point.
本发明实施例还可以提供识别无线接入点的方法终端设备侧的处理方法,如图9所示,所述方法包括:The embodiment of the present invention may further provide a method for processing a wireless access point on a terminal device side. As shown in FIG. 9, the method includes:
步骤91:与无线接入点建立连接;Step 91: establish a connection with the wireless access point;
步骤92:基于所述终端设备的标识信息及其接入的无线接入点的标识信息,生成网络连接信息;Step 92: Generate network connection information based on the identifier information of the terminal device and the identifier information of the accessed wireless access point.
步骤93:发送所述网络连接信息至服务器,使得所述服务器基于所述网络连接信息,识别出第一类无线接入点。Step 93: Send the network connection information to the server, so that the server identifies the first type of wireless access point based on the network connection information.
这里,所述网络链接信息中的终端设备及其接入的无线接入点均通过标识信息来进行识别。具体的,所述终端设备的标识信息可以为终端设备的IMEI;所述无线接入点的标识信息可以由SSID以及BSSID共同组成。另外,每一个终端设备均可以发至少一个网络连接信息,每一个网络连接信息可以为终端设备在不同的时间,接入不同的无线接入点而生成并发出的网络连接信息。Here, the terminal device in the network link information and the wireless access point accessed by the network link information are identified by the identifier information. Specifically, the identifier information of the terminal device may be an IMEI of the terminal device, and the identifier information of the wireless access point may be jointly composed of an SSID and a BSSID. In addition, each terminal device can send at least one network connection information, and each network connection information can be network connection information generated and sent by the terminal device to access different wireless access points at different times.
本实施例中获取所述网络连接信息的方式可以为终端设备定期发送,也可以为服务器周期性获取。所述获取到网络连接信息可以为从终端设备侧保存的WIFI连接日志中获取。The manner in which the network connection information is obtained in this embodiment may be periodically sent by the terminal device or periodically obtained by the server. The obtained network connection information may be obtained from a WIFI connection log saved by the terminal device side.
优选地,本实施例以图10为例,针对从终端设备获取并上传网络连接信息,直至服务器侧基于网络连接信息进行第一类无线接入点的识别操作进行说明:Preferably, this embodiment uses FIG. 10 as an example to describe the operation of acquiring and uploading network connection information from the terminal device until the server side performs the identification operation of the first type of wireless access point based on the network connection information:
步骤1001:与无线接入点建立连接;与图中两个不同的无线接入点建立连接的时间段不同;Step 1001: Establish a connection with a wireless access point; different time periods for establishing a connection with two different wireless access points in the figure;
步骤1002:基于所述终端设备的标识信息及其接入的无线接入点的标识信息,生成网络连接信息;Step 1002: Generate network connection information based on the identifier information of the terminal device and the identifier information of the accessed wireless access point.
步骤1003:发送所述网络连接信息至服务器; Step 1003: Send the network connection information to a server.
步骤1004:所述服务器获取到终端设备的网络连接信息;其中,所述网络连接信息中至少包括:终端设备的标识信息及其接入的无线接入点的标识信息;所述网络连接信息中还包括:终端设备与无线接入点建立连接的时间段;基于所述终端设备的标识信息获取到对应的网络连接信息,得到所述终端设备与所述终端设备所接入的每个无线接入点的第一连接次数;基于所述无线接入点的标识信息获取到对应的网络连接信息,得到所述无线接入点与接入所述无线接入点的每个终端设备之间的第二连接次数;Step 1004: The server obtains network connection information of the terminal device, where the network connection information includes at least: identifier information of the terminal device and identifier information of the accessed wireless access point; and the network connection information The method further includes: a time period in which the terminal device establishes a connection with the wireless access point; acquiring corresponding network connection information based on the identification information of the terminal device, and obtaining each wireless connection accessed by the terminal device and the terminal device Obtaining a first connection number of the ingress; obtaining corresponding network connection information based on the identification information of the wireless access point, and obtaining between the wireless access point and each terminal device accessing the wireless access point The number of second connections;
步骤1005:基于所述第一连接次数,确定终端设备所连接的至少一个无线接入点的第一连接次数排名;基于所述第二连接次数,确定无线接入点所连接的至少一个终端设备的第二连接次数排名;Step 1005: Determine, according to the first connection number, a first connection number ranking of at least one wireless access point to which the terminal device is connected, and determine, according to the second connection number, at least one terminal device connected to the wireless access point. Ranking of the second number of connections;
步骤1006:基于所述第一连接次数排名,选取与终端设备连接次数排名最高的N个无线接入点;Step 1006: According to the first connection number ranking, select the N wireless access points with the highest number of connection times with the terminal device;
步骤1007:获取到所述终端设备分别在所述N个无线接入点对应的N个第二连接次数排名中的参考连接次数排名;Step 1007: Obtain a reference connection number ranking of the N second connection times rankings corresponding to the N wireless access points by the terminal device;
步骤1008:选取参考连接次数排名最高的M个无线接入点;M为大于等于1且小于等于N的正整数;Step 1008: Select M wireless access points with the highest number of reference connections; M is a positive integer greater than or equal to 1 and less than or equal to N;
步骤1009:基于所述网络连接信息中的终端设备与所述接入点建立连接的时间段,将M个无线接入点中符合第二预设条件的无线接入点设置为第一类无线接入点;其中,所述第二预设条件表征选取在预设时间段内与终端设备建立连接的无线接入点。Step 1009: Set, according to a time period in which the terminal device in the network connection information establishes a connection with the access point, set a wireless access point that meets a second preset condition among the M wireless access points as the first type of wireless An access point; wherein the second preset condition represents selecting a wireless access point that establishes a connection with the terminal device within a preset time period.
其中,所述预设时间段可以为根据实际情况设置的时间段,比如,可以设置为晚上8:00至早上8:00之间。The preset time period may be a time period set according to actual conditions, for example, may be set to be between 8:00 pm and 8:00 am.
可见,通过采用上述方案,能够通过终端设备上报的网络连接信息,分别确定终端设备连接无线接入点的第一连接次数、以及无线接入点与终 端设备建立连接的第二连接次数,根据上述第一连接次数以及第二连接次数识别出第一类无线接入点。如此,能够避免时间规律的影响,提升识别第一类无线接入点的准确度。It can be seen that, by adopting the foregoing solution, the first connection number of the terminal device connected to the wireless access point, and the wireless access point and the end can be respectively determined by the network connection information reported by the terminal device. The second connection number is established by the end device, and the first type of wireless access point is identified according to the first connection number and the second connection number. In this way, the influence of the time law can be avoided, and the accuracy of identifying the first type of wireless access point can be improved.
实施例四、Embodiment 4
本发明实施例提供了一种服务器,如图11所示,包括:An embodiment of the present invention provides a server, as shown in FIG. 11, including:
信息获取单元1101,用于获取到终端设备的网络连接信息;其中,所述网络连接信息中至少包括:终端设备的标识信息及其接入的无线接入点的标识信息;The information acquiring unit 1101 is configured to acquire network connection information of the terminal device, where the network connection information includes at least: identifier information of the terminal device and identifier information of the wireless access point accessed thereto;
处理单元1102,用于基于所述终端设备的标识信息获取到对应的网络连接信息,得到所述终端设备与所述终端设备所接入的每个无线接入点的第一连接次数;基于所述无线接入点的标识信息获取到对应的网络连接信息,得到所述无线接入点与接入所述无线接入点的每个终端设备之间的第二连接次数;The processing unit 1102 is configured to obtain corresponding network connection information based on the identifier information of the terminal device, and obtain a first connection number of each wireless access point accessed by the terminal device and the terminal device; Obtaining, by the identifier information of the wireless access point, the corresponding network connection information, and obtaining a second connection number between the wireless access point and each terminal device accessing the wireless access point;
识别单元1103,用于基于所述第一连接次数和/或所述第二连接次数,识别出第一类无线接入点。The identifying unit 1103 is configured to identify the first type of wireless access point based on the first connection number and/or the second connection number.
这里,所述网络链接信息中的终端设备及其接入的无线接入点均通过标识信息来进行识别。Here, the terminal device in the network link information and the wireless access point accessed by the network link information are identified by the identifier information.
本实施例中,基于所述终端设备的标识信息获取到对应的网络连接信息,得到所述终端设备与所述终端设备所接入的每个无线接入点的第一连接次数,处理单元1102,具体用于从至少一个终端设备发来的网络连接信息中获取到至少一个终端设备的标识信息;逐个提取终端设备作为第一终端设备;获取到第一终端设备对应的至少一个网络连接信息;从所述至少一个网络连接信息中,对所述第一终端设备接入的无线接入点的标识信息进行统计;对所述第一终端设备接入每一个无线接入点的次数进行统计,确定所述第一终端设备与至少一个无线接入点的第一连接次数。 In this embodiment, the corresponding network connection information is obtained based on the identifier information of the terminal device, and the first connection number of each wireless access point accessed by the terminal device and the terminal device is obtained, and the processing unit 1102 And acquiring, by the network connection information sent by the at least one terminal device, the identification information of the at least one terminal device; extracting the terminal device as the first terminal device one by one; and acquiring at least one network connection information corresponding to the first terminal device; Collecting, from the at least one network connection information, the identifier information of the wireless access point accessed by the first terminal device, and counting the number of times the first terminal device accesses each wireless access point, Determining a first connection number of the first terminal device and the at least one wireless access point.
另外,处理单元1102,具体用于从至少一个终端设备发来的网络连接信息中获取到至少一个无线接入点的标识信息;逐个提取无线接入点作为第一无线接入点;获取到包含有第一无线接入点的至少一个网络连接信息;从所述至少一个网络连接信息中,对接入所述第一无线接入点的至少一个终端设备进行统计,确定所述第一无线接入点与至少一个终端设备的第二连接次数。In addition, the processing unit 1102 is configured to: obtain, by using network connection information sent by the at least one terminal device, identifier information of the at least one wireless access point; extract the wireless access point one by one as the first wireless access point; Having at least one network connection information of the first wireless access point; performing statistics on at least one terminal device accessing the first wireless access point from the at least one network connection information, determining the first wireless connection The number of second connections between the ingress and the at least one terminal device.
优选地,如图12所示,所述识别单元中包括:第一识别子单元1201,用于基于第一连接次数,选取与所述终端设备建立连接次数最多的一个无线接入点,作为所述终端设备对应的第一类无线接入点;Preferably, as shown in FIG. 12, the identification unit includes: a first identification subunit 1201, configured to select, according to the first connection number, a wireless access point that establishes the connection with the terminal device as the most a first type of wireless access point corresponding to the terminal device;
或者,所述识别单元中包括:第二识别子单元1202,用于基于第二连接次数,获取到无线接入点连接终端设备的数量;选取符合第一预设条件的无线接入点,其中,所述第一预设条件表征所述无线接入点连接终端设备的数量小于第一门限值;从所述符合第一预设条件的无线接入点中,选取连接单个终端设备次数最多的一个无线接入点作为第一类无线接入点。Alternatively, the identifying unit includes: a second identifying subunit 1202, configured to acquire, according to the second connection number, a number of wireless access point connection terminal devices; and select a wireless access point that meets the first preset condition, where The first preset condition indicates that the number of the terminal devices connected to the wireless access point is less than the first threshold; and the number of times that the single terminal device is connected is selected from the wireless access points that meet the first preset condition. A wireless access point acts as a first type of wireless access point.
其中,所述第一门限值可以为根据实际情况设置的数值,比如,可以为三个。当第一类无线接入点为家庭接入点时,使用该无线接入点的终端设备的数量会少于公共无线接入点,因此,可以使用无线接入点维度的连接关系中的接入无线接入点的总终端设备的数量来识别出第一类无线接入点。The first threshold value may be a value set according to an actual situation, for example, may be three. When the first type of wireless access point is a home access point, the number of terminal devices using the wireless access point may be less than that of the public wireless access point, and therefore, the connection relationship in the wireless access point dimension may be used. The number of total terminal devices entering the wireless access point identifies the first type of wireless access point.
可见,通过采用上述方案,能够通过终端设备上报的网络连接信息,分别确定终端设备连接无线接入点的第一连接次数、以及无线接入点与终端设备建立连接的第二连接次数,根据上述第一连接次数以及第二连接次数识别出第一类无线接入点。如此,能够避免时间规律的影响,提升识别第一类无线接入点的准确度。It can be seen that, by adopting the foregoing solution, the first connection number of the terminal device connected to the wireless access point and the second connection number of the wireless access point establishing the connection with the terminal device are respectively determined by the network connection information reported by the terminal device, according to the foregoing The first connection number and the second connection number identify the first type of wireless access point. In this way, the influence of the time law can be avoided, and the accuracy of identifying the first type of wireless access point can be improved.
实施例五、 Embodiment 5
本发明实施例提供了一种服务器,如图13所示,包括:An embodiment of the present invention provides a server, as shown in FIG. 13, including:
信息获取单元1301,用于获取到终端设备的网络连接信息;其中,所述网络连接信息中至少包括:终端设备的标识信息及其接入的无线接入点的标识信息;The information obtaining unit 1301 is configured to acquire network connection information of the terminal device, where the network connection information includes at least: identifier information of the terminal device and identifier information of the wireless access point accessed thereto;
处理单元1302,用于基于所述终端设备的标识信息获取到对应的网络连接信息,得到所述终端设备与所述终端设备所接入的每个无线接入点的第一连接次数;基于所述无线接入点的标识信息获取到对应的网络连接信息,得到所述无线接入点与接入所述无线接入点的每个终端设备之间的第二连接次数;The processing unit 1302 is configured to obtain corresponding network connection information based on the identifier information of the terminal device, and obtain a first connection number of each wireless access point that is accessed by the terminal device and the terminal device; Obtaining, by the identifier information of the wireless access point, the corresponding network connection information, and obtaining a second connection number between the wireless access point and each terminal device accessing the wireless access point;
识别单元1303,用于基于所述第一连接次数和/或所述第二连接次数,识别出第一类无线接入点。The identifying unit 1303 is configured to identify the first type of wireless access point based on the first connection number and/or the second connection number.
这里,所述网络链接信息中的终端设备及其接入的无线接入点均通过标识信息来进行识别。具体的,所述终端设备的标识信息可以为终端设备的IMEI;所述无线接入点的标识信息可以由SSID以及BSSID共同组成。另外,每一个终端设备均可以发起至少一个网络连接信息,每一个网络连接信息可以为终端设备在不同的时间,接入不同的无线接入点而生成并发出的网络连接信息。Here, the terminal device in the network link information and the wireless access point accessed by the network link information are identified by the identifier information. Specifically, the identifier information of the terminal device may be an IMEI of the terminal device, and the identifier information of the wireless access point may be jointly composed of an SSID and a BSSID. In addition, each terminal device can initiate at least one network connection information, and each network connection information can be network connection information generated and sent by the terminal device to access different wireless access points at different times.
本实施例中,基于所述终端设备的标识信息获取到对应的网络连接信息,得到所述终端设备与所述终端设备所接入的每个无线接入点的第一连接次数,处理单元1302,具体用于从至少一个终端设备发来的网络连接信息中获取到至少一个终端设备的标识信息;逐个提取终端设备作为第一终端设备;获取到第一终端设备对应的至少一个网络连接信息;从所述至少一个网络连接信息中,对所述第一终端设备接入的无线接入点的标识信息进行统计;对所述第一终端设备接入每一个无线接入点的次数进行统计,确定所述第一终端设备与至少一个无线接入点的第一连接次数。 In this embodiment, the corresponding network connection information is obtained based on the identifier information of the terminal device, and the first connection number of each wireless access point accessed by the terminal device and the terminal device is obtained, and the processing unit 1302 And acquiring, by the network connection information sent by the at least one terminal device, the identification information of the at least one terminal device; extracting the terminal device as the first terminal device one by one; and acquiring at least one network connection information corresponding to the first terminal device; Collecting, from the at least one network connection information, the identifier information of the wireless access point accessed by the first terminal device, and counting the number of times the first terminal device accesses each wireless access point, Determining a first connection number of the first terminal device and the at least one wireless access point.
另外,处理单元1302,具体用于从至少一个终端设备发来的网络连接信息中获取到至少一个无线接入点的标识信息;逐个提取无线接入点作为第一无线接入点;获取到包含有第一无线接入点的至少一个网络连接信息;从所述至少一个网络连接信息中,对接入所述第一无线接入点的至少一个终端设备进行统计,确定所述第一无线接入点与至少一个终端设备的第二连接次数。In addition, the processing unit 1302 is configured to: obtain, by using network connection information sent by the at least one terminal device, identifier information of the at least one wireless access point; extract the wireless access point one by one as the first wireless access point; Having at least one network connection information of the first wireless access point; performing statistics on at least one terminal device accessing the first wireless access point from the at least one network connection information, determining the first wireless connection The number of second connections between the ingress and the at least one terminal device.
所述识别单元中包括:第三识别子单元13033,用于基于所述第一连接次数,确定终端设备所连接的至少一个无线接入点的第一连接次数排名;基于所述第二连接次数,确定无线接入点所连接的至少一个终端设备的第二连接次数排名;基于所述第一连接次数排名,选取与终端设备连接次数排名最高的N个无线接入点;获取到所述终端设备分别在所述N个无线接入点对应的N个第二连接次数排名中的参考连接次数排名;选取最高参考连接次数排名对应的一个无线接接入点作为第一类无线接入点。The identifying unit includes: a third identifying subunit 13033, configured to determine, according to the first connection number, a first connection number ranking of at least one wireless access point to which the terminal device is connected; based on the second connection number Determining a second connection number ranking of the at least one terminal device to which the wireless access point is connected; selecting, according to the first connection number ranking, N wireless access points with the highest number of connection times with the terminal device; acquiring the terminal The device ranks the reference connection times in the N second connection times rankings corresponding to the N wireless access points, and selects one wireless access point corresponding to the highest reference connection number ranking as the first type of wireless access points.
本实施例还可以提供针对所述第一类无线接入点的后续操作,比如,可以包括通过将第一类无线接入点与其对应的终端设备进行绑定,进而提供安全防护;当服务器侧检测到有终端设备要接入到第一类无线接入点,查看该终端设备是否为记录中的终端设备,如果不是,可以向第一类无线接入点绑定的终端设备发起提示信息,用于提示用户由其他设备要接入该接入点,如果用户同意接入,则其他终端设备可以接入该第一类无线接入点。The embodiment may further provide subsequent operations for the first type of wireless access point, for example, may include providing security protection by binding the first type of wireless access point to its corresponding terminal device; A terminal device is detected to access the first type of wireless access point to check whether the terminal device is a recorded terminal device. If not, the terminal device that is bound to the first type of wireless access point may initiate a prompt message. It is used to prompt the user to access the access point by other devices. If the user agrees to access, the other terminal device can access the first type of wireless access point.
可见,通过采用上述方案,能够通过终端设备上报的网络连接信息,分别确定终端设备连接无线接入点的第一连接次数、以及无线接入点与终端设备建立连接的第二连接次数,根据上述第一连接次数以及第二连接次数识别出第一类无线接入点。如此,能够避免时间规律的影响,提升识别第一类无线接入点的准确度。 It can be seen that, by adopting the foregoing solution, the first connection number of the terminal device connected to the wireless access point and the second connection number of the wireless access point establishing the connection with the terminal device are respectively determined by the network connection information reported by the terminal device, according to the foregoing The first connection number and the second connection number identify the first type of wireless access point. In this way, the influence of the time law can be avoided, and the accuracy of identifying the first type of wireless access point can be improved.
实施例六、Embodiment 6
本发明实施例提供了一种服务器,如图14所示,包括:An embodiment of the present invention provides a server, as shown in FIG. 14, including:
信息获取单元1401,用于获取到终端设备的网络连接信息;其中,所述网络连接信息中至少包括:终端设备的标识信息及其接入的无线接入点的标识信息;The information obtaining unit 1401 is configured to acquire network connection information of the terminal device, where the network connection information includes at least: identifier information of the terminal device and identifier information of the wireless access point accessed thereto;
处理单元1402,用于基于所述终端设备的标识信息获取到对应的网络连接信息,得到所述终端设备与所述终端设备所接入的每个无线接入点的第一连接次数;基于所述无线接入点的标识信息获取到对应的网络连接信息,得到所述无线接入点与接入所述无线接入点的每个终端设备之间的第二连接次数;The processing unit 1402 is configured to obtain corresponding network connection information based on the identifier information of the terminal device, and obtain a first connection number of each wireless access point accessed by the terminal device and the terminal device; Obtaining, by the identifier information of the wireless access point, the corresponding network connection information, and obtaining a second connection number between the wireless access point and each terminal device accessing the wireless access point;
识别单元1403,用于基于所述第一连接次数和/或所述第二连接次数,识别出第一类无线接入点。The identifying unit 1403 is configured to identify the first type of wireless access point based on the first connection number and/or the second connection number.
这里,所述网络链接信息中的终端设备及其接入的无线接入点均通过标识信息来进行识别。具体的,所述终端设备的标识信息可以为终端设备的IMEI;所述无线接入点的标识信息可以由SSID以及BSSID共同组成。另外,每一个终端设备均可以发至少一个网络连接信息,每一个网络连接信息可以为终端设备在不同的时间,接入不同的无线接入点而生成并发出的网络连接信息。Here, the terminal device in the network link information and the wireless access point accessed by the network link information are identified by the identifier information. Specifically, the identifier information of the terminal device may be an IMEI of the terminal device, and the identifier information of the wireless access point may be jointly composed of an SSID and a BSSID. In addition, each terminal device can send at least one network connection information, and each network connection information can be network connection information generated and sent by the terminal device to access different wireless access points at different times.
本实施例中获取所述网络连接信息的方式可以为终端设备定期发送,也可以为服务器周期性获取。所述获取到网络连接信息可以为从终端设备侧保存的WIFI连接日志中获取。The manner in which the network connection information is obtained in this embodiment may be periodically sent by the terminal device or periodically obtained by the server. The obtained network connection information may be obtained from a WIFI connection log saved by the terminal device side.
本实施例中,基于所述终端设备的标识信息获取到对应的网络连接信息,得到所述终端设备与所述终端设备所接入的每个无线接入点的第一连接次数,处理单元1402,具体用于从至少一个终端设备发来的网络连接信息中获取到至少一个终端设备的标识信息;逐个提取终端设备作为第一终 端设备;获取到第一终端设备对应的至少一个网络连接信息;从所述至少一个网络连接信息中,对所述第一终端设备接入的无线接入点的标识信息进行统计;对所述第一终端设备接入每一个无线接入点的次数进行统计,确定所述第一终端设备与至少一个无线接入点的第一连接次数。In this embodiment, the network connection information is obtained based on the identifier information of the terminal device, and the first connection number of each wireless access point accessed by the terminal device and the terminal device is obtained, and the processing unit 1402 Specifically, the identifier information of the at least one terminal device is obtained from the network connection information sent by the at least one terminal device; the terminal device is extracted one by one as the first terminal Obtaining at least one network connection information corresponding to the first terminal device; and collecting, from the at least one network connection information, the identifier information of the wireless access point accessed by the first terminal device; The number of times the first terminal device accesses each wireless access point is counted, and the first connection number of the first terminal device and the at least one wireless access point is determined.
另外,处理单元1402,具体用于从至少一个终端设备发来的网络连接信息中获取到至少一个无线接入点的标识信息;逐个提取无线接入点作为第一无线接入点;获取到包含有第一无线接入点的至少一个网络连接信息;从所述至少一个网络连接信息中,对接入所述第一无线接入点的至少一个终端设备进行统计,确定所述第一无线接入点与至少一个终端设备的第二连接次数。In addition, the processing unit 1402 is configured to: obtain, by using network connection information sent by the at least one terminal device, identifier information of the at least one wireless access point; extract the wireless access point one by one as the first wireless access point; Having at least one network connection information of the first wireless access point; performing statistics on at least one terminal device accessing the first wireless access point from the at least one network connection information, determining the first wireless connection The number of second connections between the ingress and the at least one terminal device.
所述网络连接信息中还包括:终端设备与无线接入点建立连接的时间段。其中,所述建立连接的时间段可以至少包括:终端设备与无线接入点建立连接的开始时刻以及结束时刻。The network connection information further includes: a time period in which the terminal device establishes a connection with the wireless access point. The time period for establishing the connection may include at least a start time and an end time at which the terminal device establishes a connection with the wireless access point.
相应的,所述识别单元中包括:Correspondingly, the identification unit includes:
第四识别子单元14034,用于基于所述第一连接次数,确定终端设备所连接的至少一个无线接入点的第一连接次数排名;基于所述第二连接次数,确定无线接入点所连接的至少一个终端设备的第二连接次数排名;基于所述第一连接次数排名,选取与终端设备连接次数排名最高的N个无线接入点;获取到所述终端设备分别在所述N个无线接入点对应的N个第二连接次数排名中的参考连接次数排名;选取参考连接次数排名最高的M个无线接入点;M为大于等于1且小于等于N的正整数;基于所述网络连接信息中的终端设备与所述接入点建立连接的时间段,将M个无线接入点中符合第二预设条件的无线接入点设置为第一类无线接入点;其中,所述第二预设条件表征选取在预设时间段内与终端设备建立连接的无线接入点。a fourth identification sub-unit 14034, configured to determine, according to the first connection number, a first connection number ranking of at least one wireless access point to which the terminal device is connected; and determine, according to the second connection number, a wireless access point Ranking a second connection number of the connected at least one terminal device; selecting, according to the first connection number ranking, N wireless access points with the highest number of connection times with the terminal device; acquiring the terminal devices respectively in the N Ranking the number of reference connections in the N second connection times ranking corresponding to the wireless access point; selecting the M wireless access points with the highest reference connection number; M is a positive integer greater than or equal to 1 and less than or equal to N; a time period in which the terminal device in the network connection information establishes a connection with the access point, and sets a wireless access point that meets the second preset condition among the M wireless access points as the first type of wireless access point; The second preset condition represents selecting a wireless access point that establishes a connection with the terminal device within a preset time period.
另外,所述识别单元中还可以包括有第一识别子单元14031、第二识别 子单元14032,这两个识别子单元可以分别基于第一连接次数或第二连接次数进行第一类无线接入点的识别,具体的功能如前述实施例,这里不做赘述;还可以包括有第三识别子单元14033来基于两个连接次数、但不通过时间段来识别第一类无线接入点,具体的功能如前述实施例,这里不做赘述。In addition, the identification unit may further include a first identification subunit 14031 and a second identifier. The sub-units 14032, the two identification sub-units may perform the identification of the first type of wireless access points based on the first connection number or the second connection number, respectively, and the specific functions are not described herein; The third identification sub-unit 14033 is configured to identify the first type of wireless access point based on the number of the two connections, but not the time period. The specific functions are as described in the foregoing embodiments, and are not described herein.
其中,所述预设时间段可以为根据实际情况设置的时间段,比如,可以设置为晚上8:00至早上8:00之间。The preset time period may be a time period set according to actual conditions, for example, may be set to be between 8:00 pm and 8:00 am.
可见,通过采用上述方案,能够通过终端设备上报的网络连接信息,分别确定终端设备连接无线接入点的第一连接次数、以及无线接入点与终端设备建立连接的第二连接次数,根据上述第一连接次数以及第二连接次数识别出第一类无线接入点。如此,能够避免时间规律的影响,提升识别第一类无线接入点的准确度。It can be seen that, by adopting the foregoing solution, the first connection number of the terminal device connected to the wireless access point and the second connection number of the wireless access point establishing the connection with the terminal device are respectively determined by the network connection information reported by the terminal device, according to the foregoing The first connection number and the second connection number identify the first type of wireless access point. In this way, the influence of the time law can be avoided, and the accuracy of identifying the first type of wireless access point can be improved.
实施例七、Example VII.
本发明实施例还提供了一种识别无线接入点的系统,如图15所示,包括:The embodiment of the invention further provides a system for identifying a wireless access point, as shown in FIG.
服务器1501,用于获取到终端设备的网络连接信息;其中,所述网络连接信息中至少包括:终端设备的标识信息及其接入的无线接入点的标识信息;基于所述终端设备的标识信息获取到对应的网络连接信息,得到所述终端设备与所述终端设备所接入的每个无线接入点的第一连接次数;基于所述无线接入点的标识信息获取到对应的网络连接信息,得到所述无线接入点与接入所述无线接入点的每个终端设备之间的第二连接次数;基于所述第一连接次数和/或所述第二连接次数,识别出第一类无线接入点;The server 1501 is configured to acquire network connection information to the terminal device, where the network connection information includes at least: identifier information of the terminal device and identifier information of the accessed wireless access point; and identifier based on the terminal device Obtaining, by the information, the corresponding network connection information, obtaining a first connection number of each wireless access point that is accessed by the terminal device and the terminal device; acquiring the corresponding network based on the identifier information of the wireless access point Connecting the information, obtaining a second connection number between the wireless access point and each terminal device accessing the wireless access point; identifying based on the first connection number and/or the second connection number a first type of wireless access point;
终端设备1502,用于与无线接入点建立连接;基于所述终端设备的标识信息及其接入的无线接入点的标识信息,生成网络连接信息;发送所述网络连接信息至服务器。 The terminal device 1502 is configured to establish a connection with the wireless access point, generate network connection information based on the identifier information of the terminal device and the identifier information of the accessed wireless access point, and send the network connection information to the server.
本实施例中所述服务器的功能与上述实施例四-六任意一个相同,这里不做赘述。The functions of the server in this embodiment are the same as any of the above-mentioned four-sixth embodiments, and are not described herein.
本发明实施例提供的终端设备的组成可以如图16所示,包括:The composition of the terminal device provided by the embodiment of the present invention may be as shown in FIG. 16 and includes:
连接单元1601,用于与无线接入点建立连接;a connecting unit 1601, configured to establish a connection with the wireless access point;
信息生成单元1602,用于基于所述终端设备的标识信息及其接入的无线接入点的标识信息,生成网络连接信息;The information generating unit 1602 is configured to generate network connection information based on the identifier information of the terminal device and the identifier information of the accessed wireless access point;
信息发送单元1603,用于发送所述网络连接信息至服务器,使得所述服务器基于所述网络连接信息确定终端设备维度的连接关系以及无线接入点维度的连接关系,并使得服务器基于终端设备维度的连接关系和/或无线接入点维度的连接关系,识别出第一类无线接入点。The information sending unit 1603 is configured to send the network connection information to the server, so that the server determines a connection relationship of the terminal device dimension and a connection relationship of the wireless access point dimension based on the network connection information, and makes the server based on the terminal device dimension The connection relationship and/or the connection relationship of the wireless access point dimension identify the first type of wireless access point.
这里,所述网络链接信息中的终端设备及其接入的无线接入点均通过标识信息来进行识别。具体的,所述终端设备的标识信息可以为终端设备的IMEI;所述无线接入点的标识信息可以由SSID以及BSSID共同组成。另外,每一个终端设备均可以发至少一个网络连接信息,每一个网络连接信息可以为终端设备在不同的时间,接入不同的无线接入点而生成并发出的网络连接信息。Here, the terminal device in the network link information and the wireless access point accessed by the network link information are identified by the identifier information. Specifically, the identifier information of the terminal device may be an IMEI of the terminal device, and the identifier information of the wireless access point may be jointly composed of an SSID and a BSSID. In addition, each terminal device can send at least one network connection information, and each network connection information can be network connection information generated and sent by the terminal device to access different wireless access points at different times.
本实施例中获取所述网络连接信息的方式可以为终端设备定期发送,也可以为服务器周期性获取。所述获取到网络连接信息可以为从终端设备侧保存的WIFI连接日志中获取。The manner in which the network connection information is obtained in this embodiment may be periodically sent by the terminal device or periodically obtained by the server. The obtained network connection information may be obtained from a WIFI connection log saved by the terminal device side.
优选地,信息生成单元1602,还用于利用终端设备与无线接入点建立连接的时间段生成网络连接信息。其中,所述建立连接的时间段可以至少包括:终端设备与无线接入点建立连接的开始时刻以及结束时刻。Preferably, the information generating unit 1602 is further configured to generate network connection information by using a time period in which the terminal device establishes a connection with the wireless access point. The time period for establishing the connection may include at least a start time and an end time at which the terminal device establishes a connection with the wireless access point.
可见通过采用上述方案,能够通过终端设备上报的网络连接信息,分别确定终端设备连接无线接入点的第一连接次数、以及无线接入点与终端设备建立连接的第二连接次数,根据上述第一连接次数以及第二连接次数 识别出第一类无线接入点。如此,能够避免时间规律的影响,提升识别第一类无线接入点的准确度。It can be seen that, by adopting the foregoing solution, the first connection number of the terminal device connected to the wireless access point and the second connection number of the wireless access point establishing the connection with the terminal device are respectively determined by the network connection information reported by the terminal device, according to the foregoing Number of connections and number of second connections Identify the first type of wireless access point. In this way, the influence of the time law can be avoided, and the accuracy of identifying the first type of wireless access point can be improved.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各实施例中的各功能单元可以全部集成在一个处理模块中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the above integration The unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to the program instructions. The foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing storage device includes the following steps: the foregoing storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. A medium that can store program code.
本发明实施例还提供一种计算机存储介质,其中存储有计算机可执行 指令,该计算机可执行指令至少用于执行以下处理:Embodiments of the present invention also provide a computer storage medium in which a computer executable An instruction that is at least used to perform the following processing:
获取到终端设备的网络连接信息;其中,所述网络连接信息中至少包括:终端设备的标识信息及其接入的无线接入点的标识信息;基于所述终端设备的标识信息获取到对应的网络连接信息,得到所述终端设备与所述终端设备所接入的每个无线接入点的第一连接次数;基于所述无线接入点的标识信息获取到对应的网络连接信息,得到所述无线接入点与接入所述无线接入点的每个终端设备之间的第二连接次数;基于所述第一连接次数和/或所述第二连接次数,识别出第一类无线接入点。Obtaining the network connection information of the terminal device, where the network connection information includes at least: the identifier information of the terminal device and the identifier information of the accessed wireless access point; and the corresponding information is obtained based on the identifier information of the terminal device Network connection information, obtaining a first connection number of each wireless access point accessed by the terminal device and the terminal device; acquiring corresponding network connection information based on the identification information of the wireless access point, obtaining a Determining a second connection number between the wireless access point and each terminal device accessing the wireless access point; identifying the first type of wireless based on the first connection number and/or the second connection number Access Point.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims (12)

  1. 一种识别无线接入点的方法,应用于服务器,所述方法包括:A method for identifying a wireless access point, applied to a server, the method comprising:
    获取到终端设备的网络连接信息;其中,所述网络连接信息中至少包括:终端设备的标识信息及其接入的无线接入点的标识信息;Obtaining network connection information of the terminal device, where the network connection information includes at least: identifier information of the terminal device and identifier information of the wireless access point accessed thereto;
    基于所述终端设备的标识信息获取到对应的网络连接信息,得到所述终端设备与所述终端设备所接入的每个无线接入点的第一连接次数;Obtaining corresponding network connection information based on the identifier information of the terminal device, and obtaining a first connection number of each wireless access point accessed by the terminal device and the terminal device;
    基于所述无线接入点的标识信息获取到对应的网络连接信息,得到所述无线接入点与接入所述无线接入点的每个终端设备之间的第二连接次数;Obtaining corresponding network connection information based on the identifier information of the wireless access point, and obtaining a second connection number between the wireless access point and each terminal device accessing the wireless access point;
    基于所述第一连接次数和/或所述第二连接次数,识别出第一类无线接入点。A first type of wireless access point is identified based on the first number of connections and/or the second number of connections.
  2. 根据权利要求1所述的方法,其中,所述基于所述第一连接次数和/或所述第二连接次数,识别出第一类无线接入点,包括:The method of claim 1, wherein the identifying the first type of wireless access point based on the first number of connections and/or the second number of connections comprises:
    基于第一连接次数,选取与所述终端设备建立连接次数最多的一个无线接入点,作为所述终端设备对应的第一类无线接入点;And selecting, according to the first connection number, a wireless access point that has the most connection with the terminal device, as the first type of wireless access point corresponding to the terminal device;
    或者,or,
    基于第二连接次数,获取到无线接入点连接终端设备的数量;Obtaining, according to the second connection number, the number of the terminal devices connected to the wireless access point;
    选取符合第一预设条件的无线接入点,其中,所述第一预设条件表征所述无线接入点连接终端设备的数量小于第一门限值;Selecting a wireless access point that meets the first preset condition, where the first preset condition indicates that the number of the wireless access point connected terminal devices is less than the first threshold;
    从所述符合第一预设条件的无线接入点中,选取连接单个终端设备次数最多的一个无线接入点作为第一类无线接入点。From the wireless access point that meets the first preset condition, one wireless access point that connects the single terminal device is selected as the first type of wireless access point.
  3. 根据权利要求1所述的方法,其中,基于所述第一连接次数和/或所述第二连接次数,识别出第一类无线接入点,包括:The method of claim 1, wherein the identifying the first type of wireless access point based on the first number of connections and/or the second number of connections comprises:
    基于所述第一连接次数,确定终端设备所连接的至少一个无线接入点的第一连接次数排名;基于所述第二连接次数,确定无线接入点所连接的 至少一个终端设备的第二连接次数排名;Determining, according to the first connection number, a first connection number ranking of at least one wireless access point to which the terminal device is connected; determining, according to the second connection number, that the wireless access point is connected Ranking the second connection number of at least one terminal device;
    基于所述第一连接次数排名,选取与终端设备连接次数排名最高的N个无线接入点;And ranking, according to the ranking of the first connection times, N wireless access points with the highest number of connection times with the terminal device;
    获取到所述终端设备分别在所述N个无线接入点对应的N个第二连接次数排名中的参考连接次数排名;Obtaining, by the terminal device, a reference connection number in the N second connection times rankings corresponding to the N wireless access points;
    选取最高参考连接次数排名对应的一个无线接接入点作为第一类无线接入点。A wireless access point corresponding to the highest reference connection number ranking is selected as the first type of wireless access point.
  4. 根据权利要求1所述的方法,其中,所述网络连接信息中还包括:终端设备与无线接入点建立连接的时间段。The method of claim 1, wherein the network connection information further comprises: a time period during which the terminal device establishes a connection with the wireless access point.
  5. 根据权利要求4所述的方法,其中,基于所述第一连接次数和/或所述第二连接次数,识别出第一类无线接入点,包括:The method of claim 4, wherein the identifying the first type of wireless access point based on the first number of connections and/or the second number of connections comprises:
    基于所述第一连接次数,确定终端设备所连接的至少一个无线接入点的第一连接次数排名;基于所述第二连接次数,确定无线接入点所连接的至少一个终端设备的第二连接次数排名;Determining a first connection number ranking of the at least one wireless access point to which the terminal device is connected based on the first connection number; determining, according to the second connection number, a second connection of the at least one terminal device to which the wireless access point is connected Ranking of connections;
    基于所述第一连接次数排名,选取与终端设备连接次数排名最高的N个无线接入点;And ranking, according to the ranking of the first connection times, N wireless access points with the highest number of connection times with the terminal device;
    获取到所述终端设备分别在所述N个无线接入点对应的N个第二连接次数排名中的参考连接次数排名;Obtaining, by the terminal device, a reference connection number in the N second connection times rankings corresponding to the N wireless access points;
    选取参考连接次数排名最高的M个无线接入点;M为大于等于1且小于等于N的正整数;Select the M wireless access points with the highest number of reference connections; M is a positive integer greater than or equal to 1 and less than or equal to N;
    基于所述网络连接信息中的终端设备与所述接入点建立连接的时间段,将M个无线接入点中符合第二预设条件的无线接入点设置为第一类无线接入点;其中,所述第二预设条件表征选取在预设时间段内与终端设备建立连接的无线接入点。Setting, according to a time period in which the terminal device in the network connection information establishes a connection with the access point, setting a wireless access point that meets a second preset condition among the M wireless access points as the first type of wireless access point The second preset condition characterizes a wireless access point that establishes a connection with the terminal device within a preset time period.
  6. 一种服务器,包括: A server that includes:
    信息获取单元,配置为获取到终端设备的网络连接信息;其中,所述网络连接信息中至少包括:终端设备的标识信息及其接入的无线接入点的标识信息;The information acquiring unit is configured to acquire network connection information of the terminal device, where the network connection information includes at least: identifier information of the terminal device and identifier information of the wireless access point accessed by the terminal device;
    处理单元,配置为基于所述终端设备的标识信息获取到对应的网络连接信息,得到所述终端设备与所述终端设备所接入的每个无线接入点的第一连接次数;基于所述无线接入点的标识信息获取到对应的网络连接信息,得到所述无线接入点与接入所述无线接入点的每个终端设备之间的第二连接次数;The processing unit is configured to obtain corresponding network connection information based on the identifier information of the terminal device, and obtain a first connection number of each wireless access point accessed by the terminal device and the terminal device; Obtaining, by the identifier information of the wireless access point, the corresponding network connection information, and obtaining a second connection number between the wireless access point and each terminal device accessing the wireless access point;
    识别单元,配置为基于所述第一连接次数和/或所述第二连接次数,识别出第一类无线接入点。The identification unit is configured to identify the first type of wireless access point based on the first number of connections and/or the second number of connections.
  7. 根据权利要求6所述的服务器,其中,所述识别单元中包括:The server according to claim 6, wherein the identification unit comprises:
    第一识别子单元,配置为基于第一连接次数,选取与所述终端设备建立连接次数最多的一个无线接入点,作为所述终端设备对应的第一类无线接入点;The first identifying sub-unit is configured to select, according to the first connection number, a wireless access point that has the most connection with the terminal device, as the first type of wireless access point corresponding to the terminal device;
    或者,or,
    所述识别单元中包括:第二识别子单元,配置为基于第二连接次数,获取到无线接入点连接终端设备的数量;选取符合第一预设条件的无线接入点,其中,所述第一预设条件表征所述无线接入点连接终端设备的数量小于第一门限值;从所述符合第一预设条件的无线接入点中,选取连接单个终端设备次数最多的一个无线接入点作为第一类无线接入点。The identification unit includes: a second identification subunit, configured to acquire a number of wireless access point connection terminal devices based on the second connection number; and select a wireless access point that meets the first preset condition, where the Determining, by the first preset condition, that the number of the terminal devices connected to the wireless access point is less than a first threshold; and selecting, from the wireless access point that meets the first preset condition, a wireless connection that is connected to a single terminal device The access point acts as a first type of wireless access point.
  8. 根据权利要求6所述的服务器,其中,所述识别单元中包括:The server according to claim 6, wherein the identification unit comprises:
    第三识别子单元,配置为基于所述第一连接次数,确定终端设备所连接的至少一个无线接入点的第一连接次数排名;基于所述第二连接次数,确定无线接入点所连接的至少一个终端设备的第二连接次数排名;基于所述第一连接次数排名,选取与终端设备连接次数排名最高的N个无线接入 点;获取到所述终端设备分别在所述N个无线接入点对应的N个第二连接次数排名中的参考连接次数排名;选取最高参考连接次数排名对应的一个无线接接入点作为第一类无线接入点。a third identification subunit, configured to determine, according to the first connection number, a first connection number ranking of at least one wireless access point to which the terminal device is connected; determining, according to the second connection number, that the wireless access point is connected Ranking the second connection times of at least one terminal device; based on the first connection number ranking, selecting the N wireless accesses with the highest number of connection times with the terminal device a point of obtaining a reference connection number in the N second connection times ranking corresponding to the N wireless access points, and selecting a wireless access point corresponding to the highest reference connection number ranking as the first A type of wireless access point.
  9. 根据权利要求6所述的服务器,其中,所述网络连接信息中还包括:终端设备与无线接入点建立连接的时间段。The server according to claim 6, wherein the network connection information further comprises: a time period during which the terminal device establishes a connection with the wireless access point.
  10. 根据权利要求9所述的服务器,其中,所述识别单元中包括:The server according to claim 9, wherein the identification unit comprises:
    第四识别子单元,配置为基于所述第一连接次数,确定终端设备所连接的至少一个无线接入点的第一连接次数排名;基于所述第二连接次数,确定无线接入点所连接的至少一个终端设备的第二连接次数排名;基于所述第一连接次数排名,选取与终端设备连接次数排名最高的N个无线接入点;获取到所述终端设备分别在所述N个无线接入点对应的N个第二连接次数排名中的参考连接次数排名;选取参考连接次数排名最高的M个无线接入点;M为大于等于1且小于等于N的正整数;基于所述网络连接信息中的终端设备与所述接入点建立连接的时间段,将M个无线接入点中符合第二预设条件的无线接入点设置为第一类无线接入点;其中,所述第二预设条件表征选取在预设时间段内与终端设备建立连接的无线接入点。a fourth identification subunit, configured to determine, according to the first connection number, a first connection number ranking of at least one wireless access point to which the terminal device is connected; determining, according to the second connection number, that the wireless access point is connected Ranking a second connection number of the at least one terminal device; selecting, according to the first connection number ranking, N wireless access points with the highest number of connection times with the terminal device; acquiring the terminal devices respectively in the N wireless Ranking the number of reference connections in the N second connection times ranking corresponding to the access point; selecting M wireless access points with the highest reference connection number; M is a positive integer greater than or equal to 1 and less than or equal to N; based on the network a time period in which the terminal device in the connection information establishes a connection with the access point, and sets a wireless access point that meets the second preset condition among the M wireless access points as the first type of wireless access point; The second preset condition characterizes a wireless access point that establishes a connection with the terminal device within a preset time period.
  11. 一种识别无线接入点的系统,所述系统包括:A system for identifying a wireless access point, the system comprising:
    服务器,配置为获取到终端设备的网络连接信息;其中,所述网络连接信息中至少包括:终端设备的标识信息及其接入的无线接入点的标识信息;基于所述终端设备的标识信息获取到对应的网络连接信息,得到所述终端设备与所述终端设备所接入的每个无线接入点的第一连接次数;基于所述无线接入点的标识信息获取到对应的网络连接信息,得到所述无线接入点与接入所述无线接入点的每个终端设备之间的第二连接次数;基于所述第一连接次数和/或所述第二连接次数,识别出第一类无线接入点;The server is configured to obtain network connection information of the terminal device, where the network connection information includes at least: identifier information of the terminal device and identifier information of the accessed wireless access point; and identifier information based on the terminal device Acquiring the corresponding network connection information, obtaining a first connection number of each wireless access point that is accessed by the terminal device and the terminal device; acquiring a corresponding network connection based on the identifier information of the wireless access point Information, obtaining a second connection number between the wireless access point and each terminal device accessing the wireless access point; identifying based on the first connection number and/or the second connection number The first type of wireless access point;
    终端设备,配置为与无线接入点建立连接;基于所述终端设备的标识 信息及其接入的无线接入点的标识信息,生成网络连接信息;发送所述网络连接信息至服务器。a terminal device configured to establish a connection with the wireless access point; based on the identifier of the terminal device The information and the identification information of the accessed wireless access point generate network connection information; and send the network connection information to the server.
  12. 一种计算机存储介质,其中存储有计算机可执行指令,该计算机可执行指令至少用于执行以下处理:A computer storage medium having stored therein computer executable instructions for performing at least the following processing:
    获取到终端设备的网络连接信息;其中,所述网络连接信息中至少包括:终端设备的标识信息及其接入的无线接入点的标识信息;基于所述终端设备的标识信息获取到对应的网络连接信息,得到所述终端设备与所述终端设备所接入的每个无线接入点的第一连接次数;基于所述无线接入点的标识信息获取到对应的网络连接信息,得到所述无线接入点与接入所述无线接入点的每个终端设备之间的第二连接次数;基于所述第一连接次数和/或所述第二连接次数,识别出第一类无线接入点。 Obtaining the network connection information of the terminal device, where the network connection information includes at least: the identifier information of the terminal device and the identifier information of the accessed wireless access point; and the corresponding information is obtained based on the identifier information of the terminal device Network connection information, obtaining a first connection number of each wireless access point accessed by the terminal device and the terminal device; acquiring corresponding network connection information based on the identification information of the wireless access point, obtaining a Determining a second connection number between the wireless access point and each terminal device accessing the wireless access point; identifying the first type of wireless based on the first connection number and/or the second connection number Access Point.
PCT/CN2016/081339 2015-07-08 2016-05-06 Wireless access point identification method, server, system and computer storage medium WO2017005045A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/709,799 US10341939B2 (en) 2015-07-08 2017-09-20 Method for identifying wireless AP, server, system, and computer storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510396764.1 2015-07-08
CN201510396764.1A CN106341861B (en) 2015-07-08 2015-07-08 Method, server and system for identifying wireless access point

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/083019 Continuation-In-Part WO2017016293A1 (en) 2015-07-08 2016-05-23 Method and device for wireless network connection

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/709,799 Continuation-In-Part US10341939B2 (en) 2015-07-08 2017-09-20 Method for identifying wireless AP, server, system, and computer storage medium

Publications (1)

Publication Number Publication Date
WO2017005045A1 true WO2017005045A1 (en) 2017-01-12

Family

ID=57684839

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/081339 WO2017005045A1 (en) 2015-07-08 2016-05-06 Wireless access point identification method, server, system and computer storage medium

Country Status (2)

Country Link
CN (1) CN106341861B (en)
WO (1) WO2017005045A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110557800B (en) 2018-06-01 2020-09-01 上海连尚网络科技有限公司 Method for identifying type of wireless hotspot and network equipment thereof
WO2019228257A1 (en) * 2018-06-01 2019-12-05 上海连尚网络科技有限公司 Method for identifying type of wireless hotspot, and network device thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8489072B1 (en) * 2010-11-16 2013-07-16 Cellco Partnership Authentication of mobile communication device communicating through Wi-Fi connection
CN103973501A (en) * 2014-05-28 2014-08-06 深圳市金立通信设备有限公司 Method and device for managing wireless local area network access point
CN104301956A (en) * 2014-09-15 2015-01-21 深圳市金立通信设备有限公司 Connecting device for wireless hotspot and terminal
CN104394263A (en) * 2014-09-30 2015-03-04 小米科技有限责任公司 Accessing point list displaying method and device
CN104618873A (en) * 2015-01-15 2015-05-13 腾讯科技(深圳)有限公司 Method and device for sharing access point information
CN104717610A (en) * 2015-03-04 2015-06-17 惠州Tcl移动通信有限公司 Wireless data network automatic shift method and mobile terminal based on LBS

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8489072B1 (en) * 2010-11-16 2013-07-16 Cellco Partnership Authentication of mobile communication device communicating through Wi-Fi connection
CN103973501A (en) * 2014-05-28 2014-08-06 深圳市金立通信设备有限公司 Method and device for managing wireless local area network access point
CN104301956A (en) * 2014-09-15 2015-01-21 深圳市金立通信设备有限公司 Connecting device for wireless hotspot and terminal
CN104394263A (en) * 2014-09-30 2015-03-04 小米科技有限责任公司 Accessing point list displaying method and device
CN104618873A (en) * 2015-01-15 2015-05-13 腾讯科技(深圳)有限公司 Method and device for sharing access point information
CN104717610A (en) * 2015-03-04 2015-06-17 惠州Tcl移动通信有限公司 Wireless data network automatic shift method and mobile terminal based on LBS

Also Published As

Publication number Publication date
CN106341861A (en) 2017-01-18
CN106341861B (en) 2020-01-10

Similar Documents

Publication Publication Date Title
US20200177599A1 (en) Network connection method, hotspot terminal and management terminal
JP6726426B2 (en) Login-free method and device between terminals
US20220124499A1 (en) Wireless network access control method, device, and system
US10390287B2 (en) Restriction control apparatus, restriction control system, and restriction control method
JP6040466B2 (en) Communication control method, user equipment, network server, and system
WO2017125025A1 (en) Call method, device, system, and storage medium
US20150195711A1 (en) Method and System for Terminal to Access Network and Terminal
US10674548B2 (en) Method, apparatus, and system for establishing cooperative communication
EP2874367A1 (en) Call authentication method, device, and system
US9848019B2 (en) Failover for mobile devices
TWI640214B (en) Network access method, related equipment and system
US20150036587A1 (en) Providing services based on radio access network type information
WO2015096802A1 (en) Method, device, and server for message transmission
KR20160142784A (en) Packet loss detection method, apparatus, and system
US10206111B2 (en) Wireless local area network user-side device and information processing method
CN111757317B (en) Request processing method, related device and system
WO2017005045A1 (en) Wireless access point identification method, server, system and computer storage medium
US10341939B2 (en) Method for identifying wireless AP, server, system, and computer storage medium
US20170111306A1 (en) Message processing method and apparatus
WO2018103403A1 (en) Wireless fidelity (wi-fi) scanning method and related product
US20170230929A1 (en) Terminal, server, and user identification system and method
US9490914B2 (en) Electronic device and its wireless network communication method
US20140136597A1 (en) Relay enabled dynamic virtual private network
JP2017520181A (en) Method, apparatus and system for controlling the total number of users attached online
EP3637859B1 (en) Hidden hotspot scanning based on a match of mac addresses

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: 16820696

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 25.05.2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16820696

Country of ref document: EP

Kind code of ref document: A1