CN112261570A - Method, device, server and storage medium for associating interest point with wireless network - Google Patents
Method, device, server and storage medium for associating interest point with wireless network Download PDFInfo
- Publication number
- CN112261570A CN112261570A CN202011063271.3A CN202011063271A CN112261570A CN 112261570 A CN112261570 A CN 112261570A CN 202011063271 A CN202011063271 A CN 202011063271A CN 112261570 A CN112261570 A CN 112261570A
- Authority
- CN
- China
- Prior art keywords
- target
- wireless network
- target wireless
- frequency
- interest
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/021—Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/025—Services making use of location information using location based information parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/02—Access restriction performed under specific conditions
- H04W48/04—Access restriction performed under specific conditions based on user or terminal location or mobility data, e.g. moving direction, speed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/02—Access restriction performed under specific conditions
- H04W48/06—Access restriction performed under specific conditions based on traffic conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The disclosure provides a method, a device, a server and a storage medium for associating an interest point with a wireless network, and belongs to the technical field of internet. The method comprises the following steps: acquiring network data of a plurality of target wireless networks, wherein the target wireless networks are networks connected with target users with distances meeting the distance condition between the target wireless networks and target interest points; determining the frequency of each target wireless network in a preset range of the target interest point according to the network data of the plurality of target wireless networks; and associating the target wireless network with the target interest point, wherein the frequency meets the frequency condition. According to the method and the device, similarity calculation is not needed, the associated target wireless network is determined for the target interest point based on the frequency of the target wireless network appearing in the preset range of the target interest point, and misjudgment caused by different representation forms is avoided. The occurrence frequency of the target wireless network near the target interest point can represent the closeness degree between the target wireless network and the target interest point, so that the association efficiency is improved.
Description
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a method, an apparatus, a server, and a storage medium for associating an interest point with a wireless network.
Background
In a geographic information system, points of interest generally refer to geographic objects that can be abstracted as points, including schools, banks, shops, bus stops, and the like. The association of points of interest with a wireless network has many practical meanings, such as being able to make a decision about the user's behavior of arriving at a store based on the wireless network to which the user is connected, and for example being able to push information to the user based on the wireless network to which the user is connected, and so on.
Currently, when the related art associates the point of interest with the wireless network, the following method may be adopted: the method comprises the steps of obtaining longitude and latitude, a name and the like of an interest point, obtaining the longitude and latitude, an SSID (Service Set Identifier) and the like of a wireless network, and associating the interest point with the wireless network if the distance between the longitude and latitude of the interest point and the longitude and latitude of the wireless network is smaller than the radius of a wireless signal transmitted by the wireless network and the similarity between the SSID of the wireless network and the name of the interest point is higher than a preset threshold value.
However, the SSID of the wireless network can be randomly set by the user, and the association efficiency between the interest point and the wireless network is low due to different expressions such as chinese and english, and shorthand. For example, the SSID of WiFi (Wireless Fidelity) is yfy, and the name of the point of interest is fish restaurant, which results in the WiFi not being able to associate with the point of interest due to the low similarity between them.
Disclosure of Invention
The embodiment of the disclosure provides a method, a device, a server and a storage medium for associating an interest point with a wireless network, which can improve the association efficiency of the wireless network associated with the interest point. The technical scheme is as follows:
in one aspect, a method for associating a point of interest with a wireless network is provided, the method comprising:
acquiring network data of a plurality of target wireless networks, wherein the target wireless networks are networks connected with target users with distances meeting the distance condition between the target wireless networks and target interest points;
determining the frequency of each target wireless network in a preset range of the target interest point according to the network data of the plurality of target wireless networks;
associating a target wireless network having a frequency satisfying a frequency condition with the target point of interest.
In another embodiment of the present disclosure, before the acquiring network data of a plurality of target wireless networks, the method further includes:
acquiring the position information of the target interest point;
acquiring position information of a plurality of users having card punching behaviors at the target interest point;
and acquiring a target user with a distance smaller than a preset distance from the target interest point from the plurality of users based on the position information of the target interest point and the position information of the plurality of users.
In another embodiment of the present disclosure, the determining, according to the network data of the plurality of target wireless networks, a frequency of occurrence of each target wireless network within a preset range of the target point of interest includes:
and acquiring the frequency of the target wireless network corresponding to each MAC Address in a preset range of the target interest point according to the MAC (Media Access Control) addresses of the plurality of target wireless networks.
In another embodiment of the present disclosure, the determining, according to the network data of the plurality of target wireless networks, a frequency of occurrence of each target wireless network within a preset range of the target point of interest includes:
and acquiring the frequency of the target wireless network corresponding to each SSID in a preset range of the target interest point according to the SSIDs (Service Set identifiers) of the plurality of target wireless networks.
In another embodiment of the present disclosure, the determining, according to the network data of the plurality of target wireless networks, a frequency of occurrence of each target wireless network within a preset range of the target point of interest includes:
and acquiring the frequency of the target wireless network corresponding to each MAC address and SSID in a preset range of the target interest point according to the media access control MAC addresses and the service set identifiers SSID of the plurality of target wireless networks.
In another embodiment of the present disclosure, the associating the target wireless network with a frequency satisfying a frequency condition with the target point of interest includes:
acquiring target wireless networks with frequencies greater than a preset frequency according to the frequencies of the target wireless networks in a preset range of the target interest points;
associating the acquired target wireless network with the target point of interest.
In another embodiment of the present disclosure, the associating the target wireless network with a frequency satisfying a frequency condition with the target point of interest includes:
sequencing the frequency of each target wireless network in a preset range of the target interest point according to the sequence of the frequency from high to low;
and associating the target wireless network ranked in the previous preset number with the target interest point.
In another embodiment of the present disclosure, the target wireless network includes at least one of WIFI, infrared, bluetooth, NFC (Near Field Communication).
In another aspect, an apparatus for associating a point of interest with a wireless network is provided, the apparatus comprising:
the system comprises an acquisition module, a storage module and a display module, wherein the acquisition module is used for acquiring network data of a plurality of target wireless networks, and the target wireless networks are networks connected with target users with distances meeting distance conditions with target interest points;
the determining module is used for determining the frequency of each target wireless network in the preset range of the target interest point according to the network data of the plurality of target wireless networks;
and the association module is used for associating the target wireless network with the frequency meeting the frequency condition with the target interest point.
In another embodiment of the present disclosure, the obtaining module is further configured to obtain location information of the target interest point;
the acquisition module is further used for acquiring the position information of a plurality of users having the card punching behavior at the target interest point;
the obtaining module is further configured to obtain, from the multiple users, a target user whose distance to the target interest point is smaller than a preset distance based on the location information of the target interest point and the location information of the multiple users.
In another embodiment of the present disclosure, the determining module is configured to obtain, according to the MAC addresses of the multiple target wireless networks, a frequency of occurrence of a target wireless network corresponding to each MAC address within a preset range of the target interest point.
In another embodiment of the present disclosure, the determining module is configured to obtain, according to service set identifiers SSIDs of the multiple target wireless networks, a frequency of occurrence of a target wireless network corresponding to each SSID within a preset range of the target interest point.
In another embodiment of the present disclosure, the determining module is configured to obtain, according to the MAC addresses and the service set identifiers SSID of the multiple target wireless networks, a frequency of occurrence of the target wireless network corresponding to each MAC address and SSID within a preset range of the target point of interest.
In another embodiment of the present disclosure, the association module is configured to obtain, according to a frequency of each target wireless network appearing in a preset range of the target interest point, a target wireless network of which the frequency is greater than a preset frequency; associating the acquired target wireless network with the target point of interest.
In another embodiment of the present disclosure, the association module is configured to rank, in order from high frequency to low frequency, frequencies of each target wireless network appearing within a preset range of the target point of interest; and associating the target wireless network ranked in the previous preset number with the target interest point.
In another embodiment of the present disclosure, the target wireless network includes at least one of WIFI, infrared, bluetooth, and NFC.
In another aspect, a server is provided, which includes a processor and a memory, the memory having at least one program code stored therein, the at least one program code being loaded into and executed by the processor to implement the method for associating a point of interest with a wireless network according to one aspect.
In another aspect, a computer-readable storage medium having at least one program code stored therein is provided, the at least one program code being loaded and executed by a processor to implement a method for associating a point of interest with a wireless network in accordance with an aspect.
The technical scheme provided by the embodiment of the disclosure has the following beneficial effects:
similarity calculation is not needed, and a related target wireless network is determined for the target interest point based on the frequency of the target wireless network appearing in the preset range of the target interest point, so that misjudgment caused by different representation forms is avoided. The occurrence frequency of the target wireless network near the target interest point can represent the closeness degree between the target wireless network and the target interest point, so that the association efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is an implementation environment related to a method for associating a point of interest with a wireless network according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a method for associating an interest point with a wireless network according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a method for associating an interest point with a wireless network according to an embodiment of the present disclosure;
fig. 4 is a timing diagram of an association of a point of interest with a wireless network provided by an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an apparatus for associating an interest point with a wireless network according to an embodiment of the present disclosure;
fig. 6 illustrates a server for association of a point of interest with a wireless network, according to an example embodiment.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
It is to be understood that the terms "each," "a plurality," and "any" and the like, as used in the embodiments of the present disclosure, are intended to encompass two or more, each referring to each of the corresponding plurality, and any referring to any one of the corresponding plurality. For example, the plurality of words includes 10 words, and each word refers to each of the 10 words, and any word refers to any one of the 10 words.
Referring to fig. 1, an implementation environment related to a method for associating a point of interest with a wireless network according to an embodiment of the present disclosure is shown, and referring to fig. 1, the implementation environment includes: a terminal 101 and a server 102.
The terminal 101 is installed with a comment application, a recommendation application, and the like. Based on the installed application, the terminal 101 can perform an operation of checking a card to a store or the like by connecting to a wireless network. The terminal 101 may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, and the like.
The server 102 is a background server for applications such as a comment application or a recommendation application installed in the terminal 101, and the server 102 may be an independent physical server, or a server cluster or a distributed system formed by a plurality of physical servers. The server 102 can acquire network data of a wireless network to which the terminal 101 is connected, and determine a wireless network associated with the target point of interest based on the acquired network data.
The terminal 101 and the server 102 may be directly or indirectly connected through wired or wireless communication, and the embodiment of the present disclosure is not particularly limited herein.
Based on the implementation environment shown in fig. 1, an embodiment of the present disclosure provides a method for associating an interest point with a wireless network, and referring to fig. 2, a flow of the method provided by the embodiment of the present disclosure includes:
201. network data of a plurality of target wireless networks is acquired.
The target wireless network is a network connected with a target user, wherein the distance between the target wireless network and the target interest point meets the distance condition.
202. And determining the frequency of each target wireless network in the preset range of the target interest point according to the network data of the plurality of target wireless networks.
203. And associating the target wireless network with the target interest point, wherein the frequency meets the frequency condition.
According to the method provided by the embodiment of the disclosure, similarity calculation is not needed, and the associated target wireless network is determined for the target interest point based on the frequency of the target wireless network appearing in the preset range of the target interest point, so that misjudgment caused by different representation forms is avoided. The occurrence frequency of the target wireless network near the target interest point can represent the closeness degree between the target wireless network and the target interest point, so that the association efficiency is improved.
In another embodiment of the present disclosure, before acquiring network data of a plurality of target wireless networks, the method further includes:
acquiring position information of a target interest point;
acquiring position information of a plurality of users having a card punching behavior at a target interest point;
and acquiring a target user with a distance to the target interest point smaller than a preset distance from the plurality of users based on the position information of the target interest point and the position information of the plurality of users.
In another embodiment of the present disclosure, determining, according to network data of a plurality of target wireless networks, a frequency of occurrence of each target wireless network within a preset range of a target point of interest includes:
and acquiring the frequency of the target wireless network corresponding to each MAC address in a preset range of the target interest point according to the MAC addresses of the target wireless networks.
In another embodiment of the present disclosure, determining, according to network data of a plurality of target wireless networks, a frequency of occurrence of each target wireless network within a preset range of a target point of interest includes:
and acquiring the frequency of the target wireless network corresponding to each SSID in a preset range of the target interest point according to the SSIDs of the plurality of target wireless networks.
In another embodiment of the present disclosure, determining, according to network data of a plurality of target wireless networks, a frequency of occurrence of each target wireless network within a preset range of a target point of interest includes:
and according to the media access control MAC addresses and the service set identifiers SSIDs of the target wireless networks, acquiring the frequency of the target wireless networks corresponding to each MAC address and SSID in a preset range of the target interest point.
In another embodiment of the present disclosure, associating a target wireless network with a frequency satisfying a frequency condition with a target point of interest includes:
acquiring target wireless networks with frequencies greater than a preset frequency according to the frequency of each target wireless network in a preset range of a target interest point;
associating the acquired target wireless network with the target point of interest.
In another embodiment of the present disclosure, associating a target wireless network with a frequency satisfying a frequency condition with a target point of interest includes:
sequencing the frequency of each target wireless network in a preset range of the target interest point according to the sequence of the frequency from high to low;
and associating the target wireless network ranked in the previous preset number with the target interest point.
In another embodiment of the present disclosure, the target wireless network includes at least one of WIFI, infrared, bluetooth, NFC.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
Based on the implementation environment shown in fig. 1, the embodiment of the present disclosure provides a method for associating an interest point with a wireless network, taking a server to execute the embodiment of the present disclosure as an example, referring to fig. 3, a flow of the method provided by the embodiment of the present disclosure includes:
301. and the server acquires the target user with the distance to the target interest point smaller than the preset distance.
The target interest points include shops, banks, schools, bus stops and the like, and the target interest points are not specifically limited in the embodiment of the disclosure. The preset distance is determined according to the transmission distance of wireless signals in the wireless network, and the preset distance can be 0.5 meter, 0.6 meter and the like.
When the server obtains the target user with the distance to the target interest point smaller than the preset distance, the following method can be adopted:
3011. the server acquires the position information of the target interest point.
When the server acquires the position information of the target interest point, the position information may be acquired by using a Global Positioning System (GPS).
3012. The server acquires the position information of a plurality of users having the card punching behavior at the target interest point.
The card punching behavior refers to check-in behavior of the user on applications such as comment applications and recommendation applications, and is used for indicating that the user has gone to a certain place or has engaged in a certain behavior. The method comprises the steps that when a server obtains position information of a plurality of users with card punching behaviors at a target interest point, MAC addresses of wireless networks connected with the users can be obtained, and the position information of the users is obtained according to the MAC addresses; GPS may also be employed for acquisition.
3013. And the server acquires the target user with the distance to the target interest point smaller than the preset distance from the plurality of users based on the position information of the target interest point and the position information of the plurality of users.
Based on the position information of the target interest point and the position information of the plurality of users, the server compares the position information of each user with the position information of the target interest point, and therefore the target user with the distance between the target interest point and the target user being smaller than the preset distance is obtained.
The embodiment of the disclosure obtains the target user meeting the distance condition based on the preset distance, ensures that the target user is near the target interest point, and eliminates the interference generated by the user with a long distance.
302. The server obtains network data of a plurality of target wireless networks.
Based on the target users determined in step 301, the server obtains the wireless network connected to each target user, determines the wireless network connected to each target user as a target wireless network, and further obtains the network data of each target wireless network. Wherein the network data comprises at least one of MAC address, SSID, etc. When acquiring the network data of each target wireless network, the server can acquire the network data from the terminal used by the target user based on the connection established with the terminal used by the target user; the method can also be actively reported to the server when the target user punches the card.
303. And the server determines the occurrence frequency of each target wireless network in the preset range of the target interest point according to the network data of the plurality of target wireless networks.
The preset range may be an area with the target interest point as a center and the preset length as a radius. The preset length may be determined according to a transmission distance of a wireless signal in the wireless network, and the preset length may be 0.5 m, 0.7 m, and the like.
Based on the content of the network data, when the server determines the frequency of occurrence of each target wireless network within the preset range of the target point of interest according to the network data of the plurality of target wireless networks, the method includes, but is not limited to, the following ways:
in a first approach, the network data includes a MAC address.
And aiming at the first mode, the server acquires the MAC addresses of the target wireless networks, acquires the frequency of the target wireless network corresponding to each MAC address in the target wireless networks by taking each MAC address as a key value according to the MAC addresses of the target wireless networks, and further determines the frequency as the frequency of the target wireless network corresponding to each MAC address in a preset range of the target interest point.
For example, the server obtains network data of 10 target wireless networks, MAC addresses included in the network data of the 10 target wireless networks are MAC1, MAC2 and MAC3, MAC1 corresponds to target wireless network 1, MAC2 corresponds to target wireless network 2, and MAC3 corresponds to target wireless network 3, the server uses MAC1 as a key value, inquires that the frequency of occurrence of target wireless network 1 corresponding to MAC1 in the 10 target wireless networks is 0.7, uses MAC2 as a key value, inquires that the frequency of occurrence of target wireless network 2 corresponding to MAC2 in the 10 target wireless networks is 0.1, uses MAC3 as a key value, and inquires that the frequency of occurrence of target wireless network 3 corresponding to MAC3 in the 10 target wireless networks is 0.2, and thus it can be determined that the frequency of occurrence of target wireless network 1 in a preset range of a target interest point is 0.7, the frequency of occurrence of target wireless network 2 in a preset range of a target interest point is 0.1, and the frequency of occurrence of target wireless network 2 in a preset range, The target wireless network 3 appears with a frequency of 0.2 within a preset range of the target point of interest.
In a second manner, the network data includes an SSID.
For the second mode, the server obtains SSIDs of the multiple target wireless networks, obtains the frequency of the target wireless network corresponding to each SSID in the multiple target wireless networks by taking each SSID as a key value according to the SSIDs of the multiple target wireless networks, and further determines the frequency as the frequency of the target wireless network corresponding to each SSID in a preset range of the target interest point.
For example, the server obtains network data of 10 target wireless networks, SSIDs included in the network data of the 10 target wireless networks are SSID1, SSID2, SSID3 and SSID4, SSID1 corresponds to target wireless network 1, SSID2 corresponds to target wireless network 2, SSID3 corresponds to target wireless network 3, and SSID4 corresponds to target wireless network 4, the server uses SSID1 as a key value, inquires that the frequency of occurrence of target wireless network 1 corresponding to SSID1 in the 10 target wireless networks is 0.5, uses SSID2 as a key value, inquires that the frequency of occurrence of target wireless network 2 corresponding to SSID2 in the 10 target wireless networks is 0.1, uses SSID3 as a key value, inquires that the frequency of occurrence of target wireless network 3 corresponding to SSID3 in the 10 target wireless networks is 0.3, uses SSID4 as a key value, inquires that the frequency of occurrence of target wireless network 4 corresponding to SSID4 in the 10 target wireless networks is 0.1, and determines that the frequency of occurrence of target wireless network 1 in a preset range of interest points is 0.5 The frequency of the target wireless network 2 in the preset range of the target interest point is 0.1, the frequency of the target wireless network 3 in the preset range of the target interest point is 0.3, and the frequency of the target wireless network 4 in the preset range of the target interest point is 0.1.
In the third mode, the network data comprises a MAC address and an SSID.
And aiming at the third mode, the server acquires the MAC addresses and the SSIDs of the multiple target wireless networks, acquires the frequency of the target wireless network corresponding to each MAC address and SSID in the multiple target wireless networks by taking the MAC addresses and the SSIDs as key values according to the MAC addresses and the SSIDs of the multiple target wireless networks, and further determines the frequency as the frequency of the target wireless network corresponding to each MAC address and SSID in the preset range of the target interest point.
For example, the server obtains network data of 10 target wireless networks, the MAC and SSID included in the network data of the 10 target wireless networks are MAC1 and SSID1, MAC2 and SSID2, MAC2 and SSID2, the MAC2 and SSID2 correspond to target wireless network 1, the MAC2 and SSID2 correspond to target wireless network 2, the MAC2 and SSID2 correspond to target wireless network 3, the MAC2 and SSID2 correspond to target wireless network 4, the server takes MAC2 and SSID2 as key values, the frequency of the target wireless network 1 corresponding to the MAC2 and SSID2 appearing in the 10 target wireless networks is 0.6, the MAC2 and SSID2 are taken as key values, the frequency of the target wireless network 2 corresponding to the MAC2 and SSID2 appearing in the 10 target wireless networks is 0.2, the MAC2 and SSID2 are taken as key values, the frequency of the target wireless networks corresponding to the MAC2 and SSID2 in the 10 target wireless networks is taken as key values, the MAC2 and the frequency of the target wireless networks appearing in the target wireless networks is taken as MAC2 and 2, the frequency of the target wireless networks and the target wireless networks 2 and the target wireless networks corresponding to the target wireless networks is taken as MAC2 and the frequency of the target, it can be determined that the frequency of the target wireless network 1 appearing in the preset range of the target interest point is 0.6, the frequency of the target wireless network 2 appearing in the preset range of the target interest point is 0.2, the frequency of the target wireless network 3 appearing in the preset range of the target interest point is 0.1, and the frequency of the target wireless network 4 appearing in the preset range of the target interest point is 0.1.
304. The server associates the target wireless network with the target point of interest, the frequency of which satisfies the frequency condition.
In one embodiment of the disclosure, according to the frequency of each target wireless network appearing in the preset range of the target point of interest, the server acquires the target wireless networks with the frequency greater than the preset frequency, and associates the acquired target wireless networks with the target point of interest. The preset frequency may be 0.7, 0.8, etc. For example, the preset frequency is 0.7, and the server takes the target wireless network with the frequency higher than 0.7 as the target wireless network associated with the target point of interest according to the frequency of the plurality of target wireless networks appearing in the preset range of the target point of interest.
In another embodiment of the present disclosure, the server may further rank, in order from high frequency to low frequency, frequencies of the plurality of target wireless networks appearing within a preset range of the target interest point, and further associate the target wireless network ranked at a previous preset number of bits with the target interest point. The preset number of bits may be 2 bits, 3 bits, and the like, and the embodiment of the present disclosure does not specifically limit the preset number of bits. For example, if the preset number of bits is 2, the server ranks the frequencies of the plurality of target wireless networks appearing in the preset range of the target interest point in the order from high to low, and based on the ranking result, obtains the target wireless network ranked at the top 2 bits, and further associates the target wireless network ranked at the top 2 bits with the target interest point.
In another embodiment of the present disclosure, in order to improve the query efficiency and the accuracy of the associated wireless networks, the server may sequence, in order from high frequency to low frequency, frequencies of a plurality of wireless target options appearing in a preset range of the target interest point, obtain a target wireless network ranked at a previous preset number of bits, obtain a target wireless network from the target wireless networks ranked at the previous preset number of bits, where the frequency is greater than the preset frequency, and further associate the obtained target wireless network with the target interest point. In order to facilitate management of the target wireless network with the preset digit, the server can also add the target wireless network with the preset digit into the network list, so that when the target wireless network with the frequency greater than the preset frequency is obtained, the target wireless network can be obtained from the network list.
Further, when the server associates the target wireless network with the target point of interest, the server may store the network data of the target wireless network into an associated network database of the target point of interest, so that when querying the target wireless network associated with the target point of interest, a query may be performed from the network database.
The embodiment of the disclosure does not need to perform similarity matching, and associates the target interest point with the target wireless network based on the frequency of the target wireless network appearing near the target interest point, thereby improving the mining efficiency of the target wireless network.
In another embodiment of the present disclosure, the target wireless network includes at least one of WIFI, infrared, bluetooth, NFC, and the like. That is, the target interest point can establish an association relationship with at least one wireless network of WIFI, infrared, bluetooth, NFC, and the like, so that network connection requirements of terminals with different signal receiving requirements can be met, and the experience effect of the user is improved.
Further, after the association relationship between the target interest point and the target wireless network is established, the server may further determine the store-to-store behavior of the user based on the association relationship between the target wireless network and the target interest point, for example, when it is determined that the user is connected to the target wireless network associated with the target interest point, the server may determine that the user has the store-to-store behavior; based on the association relationship between the target wireless network and the target interest point, the server can also determine the scene where the user is located, and further recommend information to the user in a targeted manner, for example, when the situation that the user is connected to the target wireless network associated with the target interest point is determined, the server can recommend the relevant information of the target interest point to the user, and if the target interest point is a bus stop, the server can push the arrival time, the bus route and the like of each bus stopping at the bus stop to the user; if the target point of interest is a store, the server may push hot goods, campaign dates, campaign content, etc. for the store to the user.
The above procedure for associating the point of interest with the wireless network is described below with reference to fig. 4 as an example.
Referring to fig. 4, the server collects user data with store behavior, where the user data includes WiFi information of WiFi connected to the user, and the server determines, based on the obtained user data, whether a distance between the user and an interest point is smaller than a first threshold (i.e., a preset distance), and if the distance between the user and the interest point is smaller than the first threshold, obtains WiFi information carried by the user, and takes an MAC and an SSID in the WiFi information as keys to count a frequency of the WiFi, and then the server selects N pieces of WiFi information with higher frequencies, adds the selected N pieces of WiFi information to a WiFi list, and selects WiFi information with frequencies greater than a second threshold (i.e., a preset frequency) from the WiFi list, and then adds the selected WiFi information to a WiFi information base of the interest point.
According to the method provided by the embodiment of the disclosure, similarity calculation is not needed, and the associated target wireless network is determined for the target interest point based on the frequency of the target wireless network appearing in the preset range of the target interest point, so that misjudgment caused by different representation forms is avoided. The occurrence frequency of the target wireless network near the target interest point can represent the closeness degree between the target wireless network and the target interest point, so that the association efficiency is improved.
Referring to fig. 5, an apparatus for associating a point of interest with a wireless network is provided in an embodiment of the present disclosure, and the apparatus includes:
an obtaining module 501, configured to obtain network data of multiple target wireless networks, where a target wireless network is a network to which a target user whose distance to a target interest point satisfies a distance condition is connected;
a determining module 502, configured to determine, according to network data of multiple target wireless networks, a frequency of occurrence of each target wireless network within a preset range of a target interest point;
an associating module 503, configured to associate the target wireless network with the target point of interest, where the frequency satisfies the frequency condition.
In another embodiment of the present disclosure, the obtaining module 501 is further configured to obtain location information of a target interest point;
the obtaining module 501 is further configured to obtain location information of multiple users having a card punching behavior at a target point of interest;
the obtaining module 501 is further configured to obtain, from the multiple users, a target user whose distance to the target interest point is smaller than a preset distance based on the location information of the target interest point and the location information of the multiple users.
In another embodiment of the present disclosure, the determining module 502 is configured to obtain, according to MAC addresses of multiple target wireless networks, a frequency of occurrence of a target wireless network corresponding to each MAC address within a preset range of a target point of interest.
In another embodiment of the present disclosure, the determining module 502 is configured to obtain, according to service set identifiers SSIDs of multiple target wireless networks, a frequency of occurrence of a target wireless network corresponding to each SSID within a preset range of a target interest point.
In another embodiment of the present disclosure, the determining module 502 is configured to obtain, according to MAC addresses and SSIDs of multiple target wireless networks, a frequency of occurrence of a target wireless network corresponding to each MAC address and SSID within a preset range of a target point of interest.
In another embodiment of the present disclosure, the association module 503 is configured to obtain, according to a frequency of each target wireless network appearing in a preset range of the target interest point, a target wireless network with a frequency greater than a preset frequency; associating the acquired target wireless network with the target point of interest.
In another embodiment of the present disclosure, the associating module 503 is configured to rank, in order from high frequency to low frequency, frequencies of each target wireless network appearing within a preset range of the target point of interest; and associating the target wireless network ranked in the previous preset number with the target interest point.
In another embodiment of the present disclosure, the target wireless network includes at least one of WIFI, infrared, bluetooth, NFC.
In summary, the apparatus provided in the embodiment of the present disclosure does not need to perform similarity calculation, and determines a related target wireless network for the target interest point based on the frequency of the target wireless network appearing in the preset range of the target interest point, thereby avoiding misjudgment caused by different representation forms. The occurrence frequency of the target wireless network near the target interest point can represent the closeness degree between the target wireless network and the target interest point, so that the association efficiency is improved.
Fig. 6 illustrates a server for association of a point of interest with a wireless network, according to an example embodiment. Referring to fig. 6, server 600 includes a processing component 622 that further includes one or more processors and memory resources, represented by memory 632, for storing instructions, such as applications, that are executable by processing component 622. The application programs stored in memory 632 may include one or more modules that each correspond to a set of instructions. Further, the processing component 622 is configured to execute instructions to perform the functions performed by the server in the above-described method of associating a point of interest with a wireless network.
The server 600 may also include a power component 626 configured to perform power management of the server 600, a wired or wireless network interface 650 configured to connect the server 600 to a network, and an input/output (I/O) interface 658. The Server 600 may operate based on an operating system, such as Windows Server, stored in the memory 632TM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTMOr the like.
The server provided by the embodiment of the disclosure does not need to perform similarity calculation, determines the associated target wireless network for the target interest point based on the frequency of the target wireless network appearing in the preset range of the target interest point, and avoids misjudgment caused by different representation forms. The occurrence frequency of the target wireless network near the target interest point can represent the closeness degree between the target wireless network and the target interest point, so that the association efficiency is improved.
The disclosed embodiments provide a computer readable storage medium having at least one program code stored therein, the at least one program code being loaded into and executed by a processor to implement the method for associating a point of interest with a wireless network as shown in fig. 2 or fig. 3. The computer readable storage medium may be non-transitory. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The computer-readable storage medium provided by the embodiment of the disclosure does not need to perform similarity calculation, and determines the associated target wireless network for the target interest point based on the frequency of the target wireless network appearing in the preset range of the target interest point, thereby avoiding misjudgment caused by different representation forms. The occurrence frequency of the target wireless network near the target interest point can represent the closeness degree between the target wireless network and the target interest point, so that the association efficiency is improved.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is intended to be exemplary only and not to limit the present disclosure, and any modification, equivalent replacement, or improvement made without departing from the spirit and scope of the present disclosure is to be considered as the same as the present disclosure.
Claims (11)
1. A method of associating a point of interest with a wireless network, the method comprising:
acquiring network data of a plurality of target wireless networks, wherein the target wireless networks are networks connected with target users with distances meeting the distance condition between the target wireless networks and target interest points;
determining the frequency of each target wireless network in a preset range of the target interest point according to the network data of the plurality of target wireless networks;
associating a target wireless network having a frequency satisfying a frequency condition with the target point of interest.
2. The method of claim 1, wherein before obtaining the network data of the plurality of target wireless networks, further comprising:
acquiring the position information of the target interest point;
acquiring position information of a plurality of users having card punching behaviors at the target interest point;
and acquiring a target user with a distance smaller than a preset distance from the target interest point from the plurality of users based on the position information of the target interest point and the position information of the plurality of users.
3. The method of claim 1, wherein determining the frequency of occurrence of each target wireless network within the preset range of the target point of interest according to the network data of the plurality of target wireless networks comprises:
and acquiring the frequency of the target wireless network corresponding to each MAC address in the preset range of the target interest point according to the MAC addresses of the plurality of target wireless networks.
4. The method of claim 1, wherein determining the frequency of occurrence of each target wireless network within the preset range of the target point of interest according to the network data of the plurality of target wireless networks comprises:
and acquiring the frequency of the target wireless network corresponding to each SSID in the preset range of the target interest point according to the service set identification SSID of the plurality of target wireless networks.
5. The method of claim 1, wherein determining the frequency of occurrence of each target wireless network within the preset range of the target point of interest according to the network data of the plurality of target wireless networks comprises:
and acquiring the frequency of the target wireless network corresponding to each MAC address and SSID in a preset range of the target interest point according to the media access control MAC addresses and the service set identifiers SSID of the plurality of target wireless networks.
6. The method of claim 1, wherein associating the target wireless network with a frequency satisfying a frequency condition with the target point of interest comprises:
acquiring target wireless networks with frequencies greater than a preset frequency according to the frequencies of the target wireless networks in a preset range of the target interest points;
associating the acquired target wireless network with the target point of interest.
7. The method of claim 1, wherein associating the target wireless network with a frequency satisfying a frequency condition with the target point of interest comprises:
sequencing the frequency of each target wireless network in a preset range of the target interest point according to the sequence of the frequency from high to low;
and associating the target wireless network ranked in the previous preset number with the target interest point.
8. The method of any one of claims 1 to 7, wherein the target wireless network comprises at least one of WIFI, infrared, bluetooth, NFC.
9. An apparatus associated with a wireless network, the apparatus comprising:
the system comprises an acquisition module, a storage module and a display module, wherein the acquisition module is used for acquiring network data of a plurality of target wireless networks, and the target wireless networks are networks connected with target users with distances meeting distance conditions with target interest points;
the determining module is used for determining the frequency of each target wireless network in the preset range of the target interest point according to the network data of the plurality of target wireless networks;
and the association module is used for associating the target wireless network with the frequency meeting the frequency condition with the target interest point.
10. A server, characterized in that the server comprises a processor and a memory, in which at least one program code is stored, which is loaded and executed by the processor to implement the method of associating a point of interest with a wireless network according to any of claims 1 to 8.
11. A computer-readable storage medium, having stored therein at least one program code, which is loaded and executed by a processor, to implement the method of associating a point of interest with a wireless network according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011063271.3A CN112261570B (en) | 2020-09-30 | 2020-09-30 | Method, device, server and storage medium for associating interest point with wireless network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011063271.3A CN112261570B (en) | 2020-09-30 | 2020-09-30 | Method, device, server and storage medium for associating interest point with wireless network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112261570A true CN112261570A (en) | 2021-01-22 |
CN112261570B CN112261570B (en) | 2023-01-06 |
Family
ID=74233534
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011063271.3A Active CN112261570B (en) | 2020-09-30 | 2020-09-30 | Method, device, server and storage medium for associating interest point with wireless network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112261570B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113420104A (en) * | 2021-06-29 | 2021-09-21 | 北京百度网讯科技有限公司 | Method and device for determining total sampling rate of interest points, electronic equipment and storage medium |
WO2023226819A1 (en) * | 2022-05-23 | 2023-11-30 | 北京字节跳动科技有限公司 | Data matching method and apparatus, readable medium, and electronic device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103853740A (en) * | 2012-11-29 | 2014-06-11 | 北京百度网讯科技有限公司 | POI data updating method and device based on user location request |
CN104572956A (en) * | 2014-12-29 | 2015-04-29 | 北京奇虎科技有限公司 | System and method for confirming POI information effectiveness |
CN106303955A (en) * | 2016-08-05 | 2017-01-04 | 百度在线网络技术(北京)有限公司 | For the method and apparatus that hotspot and POI are mated |
CN109672980A (en) * | 2018-12-25 | 2019-04-23 | 腾讯科技(深圳)有限公司 | Determine the method, apparatus and storage medium of the corresponding WLAN hot spot of point of interest |
CN110740418A (en) * | 2018-07-03 | 2020-01-31 | 百度在线网络技术(北京)有限公司 | Method and device for generating user visit information |
CN111291145A (en) * | 2020-01-21 | 2020-06-16 | 腾讯科技(深圳)有限公司 | Mapping method, device and storage medium of wireless hotspot and interest point |
CN111615174A (en) * | 2019-02-26 | 2020-09-01 | 腾讯科技(深圳)有限公司 | Method for identifying wireless network, terminal device and computer readable storage medium |
-
2020
- 2020-09-30 CN CN202011063271.3A patent/CN112261570B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103853740A (en) * | 2012-11-29 | 2014-06-11 | 北京百度网讯科技有限公司 | POI data updating method and device based on user location request |
CN104572956A (en) * | 2014-12-29 | 2015-04-29 | 北京奇虎科技有限公司 | System and method for confirming POI information effectiveness |
CN106303955A (en) * | 2016-08-05 | 2017-01-04 | 百度在线网络技术(北京)有限公司 | For the method and apparatus that hotspot and POI are mated |
CN110740418A (en) * | 2018-07-03 | 2020-01-31 | 百度在线网络技术(北京)有限公司 | Method and device for generating user visit information |
CN109672980A (en) * | 2018-12-25 | 2019-04-23 | 腾讯科技(深圳)有限公司 | Determine the method, apparatus and storage medium of the corresponding WLAN hot spot of point of interest |
CN111615174A (en) * | 2019-02-26 | 2020-09-01 | 腾讯科技(深圳)有限公司 | Method for identifying wireless network, terminal device and computer readable storage medium |
CN111291145A (en) * | 2020-01-21 | 2020-06-16 | 腾讯科技(深圳)有限公司 | Mapping method, device and storage medium of wireless hotspot and interest point |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113420104A (en) * | 2021-06-29 | 2021-09-21 | 北京百度网讯科技有限公司 | Method and device for determining total sampling rate of interest points, electronic equipment and storage medium |
CN113420104B (en) * | 2021-06-29 | 2023-10-13 | 北京百度网讯科技有限公司 | Point of interest sampling full rate determining method and device, electronic equipment and storage medium |
WO2023226819A1 (en) * | 2022-05-23 | 2023-11-30 | 北京字节跳动科技有限公司 | Data matching method and apparatus, readable medium, and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN112261570B (en) | 2023-01-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108280115B (en) | Method and device for identifying user relationship | |
US9538330B2 (en) | System and method for selecting a Wi-Fi access point for position determination | |
EP2854378A1 (en) | Method, device and network equipment for acquiring feature information | |
US10630799B2 (en) | Method and apparatus for pushing information | |
CN112261570B (en) | Method, device, server and storage medium for associating interest point with wireless network | |
JP2013045319A (en) | Information processing apparatus, information processing method, and program | |
US9501563B2 (en) | Server, information-management method, information-management program, and computer-readable recording medium with said program recorded thereon | |
US20150033330A1 (en) | Collection and analysis of customer data from application programming interface usage | |
EP3206437A1 (en) | Hidden hotspot access method and device | |
JP2018508885A (en) | Information push method and apparatus | |
WO2018010693A1 (en) | Method and apparatus for identifying information from rogue base station | |
CN106682146B (en) | Method and system for retrieving scenic spot evaluation according to keywords | |
JP2018055525A (en) | Text extraction device | |
US9361633B1 (en) | Determining present venue for a user device | |
CN111026969A (en) | Content recommendation method and device, storage medium and server | |
CN108112031B (en) | Network type determination method and device | |
CN108306812B (en) | Data processing method and server | |
US10891292B2 (en) | Database management system and database management method | |
US20100076945A1 (en) | System and method for providing business information to a communication device | |
CN113918796A (en) | Information searching method, device, server and storage medium | |
JP5952852B2 (en) | System including information generating device and receiving device | |
US10530821B2 (en) | Distribution and reception method, and system | |
CN105722216B (en) | Distance detection method, terminal device and storage medium | |
US20160156726A1 (en) | Method, server, terminal, system, and storage medium for displaying multiuser map | |
CN111597439A (en) | Information processing method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |