CROSS-REFERENCE TO RELATED APPLICATIONS

This application is related to and claims priority from Chinese Application No. 201810113709.0, filed on Feb. 5, 2018 and entitled “Method and Apparatus for Acquiring Information,” the entire disclosure of which is hereby incorporated by reference.

TECHNICAL FIELD

The present disclosure relates to the field of computer, specifically to the field of data mining, and more specifically to a method and apparatus for acquiring information.

BACKGROUND

Wireless Local Area Network (WLAN) probe devices can capture data associated with wireless access points in points of interest bound to the WLAN probe devices for data mining of the points of interest. In data mining of a point of interest, a commonly used method is to directly perform data mining on the point of interest using captured data captured by a third-party WLAN probe device.

SUMMARY

Embodiments of the present disclosure disclose a method and apparatus for acquiring information.

In a first aspect, the present disclosure provides a method for acquiring information. The method includes: acquiring a plurality of pieces of positioning data in a preset time period and a plurality of pieces of captured data captured by a WLAN probe device of a target point of interest in the preset time period, the captured data including: a terminal identifier, capture time, and an identifier of a wireless access point, and the positioning data including: a terminal identifier, positioning time, and a location; and finding, from the plurality of pieces of positioning data, a plurality of pieces of positioning data meeting a preset condition, and generating, based on the plurality of pieces of positioning data meeting the preset condition, indication information indicating whether the WLAN probe device being abnormal, the preset condition including: an included location being within a preset area associated with the target point of interest, an included terminal identifier matching a terminal identifier in one of the plurality of pieces of captured data, and included positioning time matching the capture time in the captured data.

In a second aspect, the present disclosure provides an apparatus for acquiring information. The apparatus includes: an acquisition unit, configured to acquire a plurality of pieces of positioning data in a preset time period and a plurality of pieces of captured data captured by a WLAN probe device of a target point of interest in the preset time period, the captured data including: a terminal identifier, capture time, and an identifier of a wireless access point, and the positioning data including: a terminal identifier, positioning time, and a location; and a state evaluation unit, configured to find, from the plurality of pieces of positioning data, a plurality of pieces of positioning data meeting a preset condition, and generate, based on the plurality of pieces of positioning data meeting the preset condition, indication information indicating whether the WLAN probe device being abnormal, the preset condition including: an included location being within a preset area associated with the target point of interest, an included terminal identifier matching a terminal identifier in one of the plurality of pieces of captured data, and included positioning time matching the capture time in the captured data.

The method and apparatus for acquiring information provided by the embodiments of the present disclosure acquire a plurality of pieces of positioning data in a preset time period and a plurality of pieces of captured data captured by a WLAN probe device of a target point of interest in the preset time period, the captured data including: a terminal identifier, capture time, and an identifier of a wireless access point, and the positioning data including: a terminal identifier, positioning time, and a location; and find, from the plurality of pieces of positioning data, a plurality of pieces of positioning data meeting a preset condition, and generate, based on the plurality of pieces of positioning data meeting the preset condition, indication information indicating whether the WLAN probe device being abnormal, the preset condition including: an included location being within a preset area associated with the target point of interest, an included terminal identifier matching a terminal identifier in one of the plurality of pieces of captured data, and included positioning time matching the capture time in the captured data. The method and apparatus realize the evaluation of whether the WLAN probe device is abnormal, and may further evaluate whether the deployment location of the WLAN probe device is reasonable, and whether it is necessary to add WLAN probe devices, which may acquire more comprehensive and accurate captured data for data mining after adjusting correspondingly based on the evaluation results.

