CN109451530B - Information collection method and information collection system - Google Patents

Information collection method and information collection system Download PDF

Info

Publication number
CN109451530B
CN109451530B CN201910005442.8A CN201910005442A CN109451530B CN 109451530 B CN109451530 B CN 109451530B CN 201910005442 A CN201910005442 A CN 201910005442A CN 109451530 B CN109451530 B CN 109451530B
Authority
CN
China
Prior art keywords
gateway
wifi
messages
data
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910005442.8A
Other languages
Chinese (zh)
Other versions
CN109451530A (en
Inventor
周广
冀哲
韩卫平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201910005442.8A priority Critical patent/CN109451530B/en
Publication of CN109451530A publication Critical patent/CN109451530A/en
Application granted granted Critical
Publication of CN109451530B publication Critical patent/CN109451530B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an information collection method and an information collection system. The method comprises the following steps: the gateway collects wifi messages sent by a terminal and/or wifi messages sent by the gateway; the gateway extracts an address field from each wifi message, and determines type data corresponding to each wifi message according to the address field; the gateway counts the wifi messages according to type data corresponding to the wifi messages to obtain different types of statistical data; and the gateway sends the terminal information to a data platform, wherein the terminal information comprises different types of statistical data. The invention realizes that the terminal information can be acquired for the terminal which is not accessed to the gateway.

Description

Information collection method and information collection system
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an information collection method and an information collection system.
Background
At present, terminals are completely popularized, and various connection modes in the mobile internet are widely applied. The wireless network access gateway comprises a 3G/4G connection mode and the like, wherein the 3G/4G connection mode directly brings income for operators, and the connection mode that wifi hotspots which are accessed to the gateway firstly are accessed through a broadband is also provided. In order to better serve and improve the user perception, the operator must collect and know as much terminal information as possible. At present, the terminal information is mainly acquired through an operator base station, a gateway and the like.
At present, in the existing technical solution, a gateway is deployed and a probe is set in the gateway to collect terminal information of a terminal directly accessing to the gateway.
However, for a terminal that does not directly access to the gateway, the scheme in the prior art cannot acquire terminal information.
Disclosure of Invention
The invention provides an information collection method and an information collection system, which are used for collecting terminal information for a terminal which is not accessed to a gateway.
In order to achieve the above object, the present invention provides an information collecting method, including:
the gateway collects wifi messages sent by a terminal and/or wifi messages sent by the gateway;
the gateway extracts an address field from each wifi message, and determines type data corresponding to each wifi message according to the address field;
the gateway counts the wifi messages according to type data corresponding to the wifi messages to obtain different types of statistical data;
and the gateway sends the terminal information to a data platform, wherein the terminal information comprises different types of statistical data.
Optionally, if the address field includes BSSID, SA and DA, the data type includes wifi messages sent by the wifi message as the terminal and having a destination address as the gateway, wifi messages sent by the wifi message as the gateway and having a destination address as the terminal, wifi messages as the broadcast messages, wifi messages as the downlink data, and a transmission link of the wifi messages has a relay;
the gateway extracts an address field from each wifi message, and determines type data corresponding to each wifi message according to the address field, wherein the type data comprises:
the gateway judges whether the extracted BSSID is consistent with the BSSID of the gateway or not, and if the extracted BSSID is consistent with the BSSID of the gateway and the wifi message is judged to be sent by the terminal, the wifi message is determined to be sent by the terminal and the destination address of the wifi message is the wifi message of the gateway; if the extracted BSSID is consistent with the BSSID of the gateway and the wifi message is determined to be the wifi message sent by the gateway, determining the wifi message sent by the gateway and having a destination address as the terminal;
the gateway judges whether the DA is a broadcast address or not, and determines the wifi message as a broadcast message if the DA is judged to be the broadcast address;
and the gateway judges whether the BSSID is consistent with the SA or not, and if yes, the wifi message is determined to be downlink data and the relay of a transmission link of the wifi message is determined.
Optionally, the different types of statistical data include the number of messages sent by the terminal, the number of messages sent by the gateway, the number of broadcast messages, the number of downlink data, and the number of existing relays;
the gateway counts the plurality of wifi messages according to the type data corresponding to the plurality of wifi messages to obtain different types of statistical data, and the statistical data comprises the following steps:
counting the number of messages sent by a terminal by the gateway, wherein the number of the messages sent by the terminal is the number of wifi messages which are sent by the terminal and have destination addresses of the gateway in wifi messages of which the address fields comprise BSSID, SA and DA;
counting the number of messages sent by a gateway by the gateway, wherein the number of the messages sent by the gateway is the number of wifi messages which are sent by the gateway and have destination addresses of terminals in the wifi messages of which the address fields comprise BSSID, SA and DA;
the gateway counts the number of broadcast messages, wherein the number of the broadcast messages is the number of the broadcast messages in wifi messages of which the address fields comprise BSSID, SA and DA;
the gateway counts the quantity of downlink data, wherein the quantity of the downlink data is the quantity of the downlink data in wifi messages of which the address fields comprise BSSID, SA and DA;
and the gateway counts the number of the existing relays, wherein the number of the existing relays is the number of wifi messages with relays in the transmission link in the wifi messages with address fields including BSSID, SA and DA.
Optionally, if the address field includes BSSID, TA, and RA; the data types comprise a wifi message which is sent by a terminal and has a destination address of a gateway, a wifi message which is sent by the gateway and has a destination address of a terminal, a wifi message which is downlink data, a transmission link of the wifi message has a relay, and the wifi message is a data message;
the gateway extracts an address field from each wifi message, and determines type data corresponding to each wifi message according to the address field, wherein the type data comprises:
the gateway judges whether the extracted BSSID is consistent with the BSSID of the gateway or not, and if the extracted BSSID is consistent with the BSSID of the gateway and the wifi message is judged to be sent by the terminal, the wifi message is determined to be sent by the terminal and the destination address of the wifi message is the wifi message of the gateway; if the extracted BSSID is consistent with the BSSID of the gateway and the wifi message is determined to be the wifi message sent by the gateway, determining the wifi message sent by the gateway and having a destination address as the terminal;
the gateway judges whether the BSSID is consistent with the TA or not, and if the BSSID is consistent with the TA, the wifi message is determined to be uplink data and the fact that a relay exists in a transmission link of the wifi message is determined;
the gateway judges whether the wifi message comprises TA and RA, and if the wifi message comprises TA and RA, the gateway determines that the wifi message is a data message.
Optionally, the statistical data of different categories includes the number of messages sent by the terminal, the number of messages sent by the gateway, the number of uplink data, the number of existing relays, and the number of data messages;
the gateway counts the plurality of wifi messages according to the type data corresponding to the plurality of wifi messages to obtain different types of statistical data, and the statistical data comprises the following steps:
counting the number of messages sent by a terminal by a gateway, wherein the number of the messages sent by the terminal is the number of wifi messages which are sent by the terminal and have destination addresses of the gateway in the wifi messages of which the address fields comprise BSSID, TA and RA;
counting the number of messages sent by a gateway by the gateway, wherein the number of the messages sent by the gateway is the number of wifi messages which are sent by the gateway and have destination addresses of terminals in the wifi messages of which the address fields comprise BSSID, TA and RA;
the gateway counts the quantity of uplink data, wherein the quantity of the downlink data is the quantity of the uplink data in a wifi message of which the address field comprises BSSID, TA and RA;
the gateway counts the number of existing relays, wherein the number of the existing relays is the number of wifi messages with relays in transmission links in the wifi messages with address fields including BSSID, TA and RA;
and the gateway counts the number of the data messages, wherein the number of the data messages is the number of the data messages in wifi messages of which the address fields comprise BSSID, TA and RA.
Optionally, the terminal information further includes an address field, and the statistical data of different categories includes a downlink data quantity and an uplink data quantity;
the gateway further comprises the following steps after sending the terminal information to the data platform:
the data platform inquires the terminal identification corresponding to the SA and the TA from the database and judges whether the inquired terminal identification is consistent with the terminal identification acquired in advance;
if the data platform judges that the inquired terminal identification is consistent with the terminal identification acquired in advance, the data platform determines that the terminal is connected to the gateway;
the data platform calculates the speed of the downlink data according to the number of the downlink data, the acquisition period and the average length of the downlink data;
and the data platform calculates the rate of the uplink data according to the number of the uplink data, the acquisition period and the average length of the uplink data.
Optionally, the terminal information further includes a gateway device identifier;
the gateway further comprises the following steps after sending the terminal information to the data platform:
and the data platform analyzes the gateway equipment identifier from the terminal information, and inquires gateway position information corresponding to the gateway equipment identifier from the database according to the gateway equipment identifier.
To achieve the above object, the present invention provides an information collection system comprising: a gateway and a data platform;
the gateway is used for acquiring a wifi message sent by the terminal and/or a wifi message sent by the gateway; extracting an address field from each wifi message, and determining type data corresponding to each wifi message according to the address field; according to the type data corresponding to the wifi messages, counting the wifi messages to obtain different types of statistical data; sending terminal information to a data platform, wherein the terminal information comprises different types of statistical data;
and the data platform is used for receiving the terminal information.
Optionally, the terminal information further includes an address field, and the statistical data of different categories includes a downlink data quantity and an uplink data quantity;
the data platform is also used for inquiring the terminal identification corresponding to the SA and the TA from the database and judging whether the inquired terminal identification is consistent with the terminal identification acquired in advance; if the inquired terminal identification is judged to be consistent with the terminal identification acquired in advance, determining that the terminal is connected to the gateway; calculating the speed of the downlink data according to the number of the downlink data, the acquisition period and the average length of the downlink data; and calculating the rate of the uplink data according to the number of the uplink data, the acquisition period and the average length of the uplink data.
Optionally, the terminal information further includes a gateway device identifier;
the data platform is also used for analyzing the gateway equipment identifier from the terminal information and inquiring the gateway position information corresponding to the gateway equipment identifier from the database according to the gateway equipment identifier.
The invention has the following beneficial effects:
according to the technical scheme of the information collection method and the information collection system, the gateway collects wifi messages sent by the terminal and/or wifi messages sent by the gateway, the address field is extracted from each wifi message, type data corresponding to each wifi message is determined according to the address field, and the gateway conducts statistics on the wifi messages according to the type data corresponding to the wifi messages to obtain different types of statistical data.
Drawings
Fig. 1 is a flowchart of an information collecting method according to an embodiment of the present invention;
fig. 2 is a flowchart of an information collecting method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an information collection system according to a third embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the information collection method and the information collection system provided by the present invention are described in detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart of an information collection method according to an embodiment of the present invention, as shown in fig. 1, the method includes:
step 101, a gateway collects wifi messages sent by a terminal and/or wifi messages sent by the gateway.
And 102, the gateway extracts an address field from each wifi message, and determines type data corresponding to each wifi message according to the address field.
And 103, the gateway counts the plurality of wifi messages according to the type data corresponding to the plurality of wifi messages to obtain different types of statistical data.
And step 104, the gateway sends terminal information to the data platform, wherein the terminal information comprises different types of statistical data.
In the technical scheme of the information collection method provided by this embodiment, the gateway collects wifi messages sent by the terminal and/or wifi messages sent by the gateway itself, extracts an address field from each wifi message and determines type data corresponding to each wifi message according to the address field, and the gateway counts a plurality of wifi messages according to the type data corresponding to a plurality of wifi messages to obtain different types of statistical data.
Fig. 2 is a flowchart of an information collecting method according to an embodiment of the present invention, as shown in fig. 2, the method includes:
step 201, initializing operation between the gateway and the data platform.
Specifically, step 201 may include:
step 2011, the gateway initializes and establishes a connection with the data platform.
Step 2012, the gateway and the data platform authenticate each other.
Step 2013, the gateway obtains a Basic Service Set identifier (BSSID for short) of the gateway, and sends the BSSID of the gateway to the data platform.
Step 2014, the data platform queries gateway location information corresponding to the BSSID of the gateway according to the BSSID of the gateway.
Step 2015, the data platform issues an information acquisition strategy to the gateway.
For example, the information collection policy may include: and (4) counting classification strategies, acquisition periods and delivery periods.
Step 2016, the data platform prepares to receive the statistical data reported by the gateway, and the gateway starts to monitor each channel.
Step 202, the gateway collects wifi messages sent by the terminal and/or wifi messages sent by the gateway.
In this embodiment, the gateway monitors each channel to capture wifi messages. The captured wifi message can include the following two types: one is a wifi message sent by the terminal, and the other is a wifi message sent by the gateway. Specifically, the gateway may collect wifi messages sent by the terminal and/or wifi messages sent by the gateway itself according to the collection period. The number of the wifi messages collected in the collection period is multiple.
And 203, the gateway extracts an address field from each wifi message and determines type data corresponding to each wifi message according to the address field.
Specifically, the gateway extracts an address field from each wifi message, and determines type data corresponding to each wifi message according to the address field through a statistical classification strategy.
In this embodiment, the address field may include a BSSID, a Source Address (SA), a Destination Address (DA), a Transmission Address (TA), and a Reception Address (RA).
In the first case: if the address field comprises BSSID, SA and DA, the data type comprises a wifi message which is sent by a wifi message for a terminal and has a destination address as a gateway, a wifi message which is sent by a wifi message for a gateway and has a destination address as a terminal, a wifi message which is a broadcast message, a wifi message which is downlink data and a transmission link of the wifi message are in relay. Step 203 comprises:
the gateway judges whether the extracted BSSID is consistent with the BSSID of the gateway or not, and if the extracted BSSID is consistent with the BSSID of the gateway and the wifi message is judged to be sent by the terminal, the wifi message is determined to be sent by the terminal and the destination address of the wifi message is the wifi message of the gateway; and if the extracted BSSID is consistent with the BSSID of the gateway and the wifi message is the wifi message sent by the gateway, determining the wifi message which is sent by the gateway and has a destination address as the terminal.
The gateway judges whether the DA is a broadcast address or not, and determines the wifi message as a broadcast message if the DA is judged to be the broadcast address.
And the gateway judges whether the BSSID is consistent with the SA or not, and if yes, the wifi message is determined to be downlink data and the relay of a transmission link of the wifi message is determined.
In the second case: if the address field comprises BSSID, TA and RA, the data type comprises a wifi message which is sent by a wifi message for a terminal and has a destination address as a gateway, a wifi message which is sent by a wifi message for a gateway and has a destination address as a terminal, the wifi message is downlink data, a transmission link of the wifi message has a relay, and the wifi message is a data message. Step 203 comprises:
the gateway judges whether the extracted BSSID is consistent with the BSSID of the gateway or not, and if the extracted BSSID is consistent with the BSSID of the gateway and the wifi message is judged to be sent by the terminal, the wifi message is determined to be sent by the terminal and the destination address of the wifi message is the wifi message of the gateway; and if the extracted BSSID is consistent with the BSSID of the gateway and the wifi message is the wifi message sent by the gateway, determining the wifi message which is sent by the gateway and has a destination address as the terminal.
And the gateway judges whether the BSSID is consistent with the TA or not, and if the BSSID is consistent with the TA, the wifi message is determined to be uplink data and the relay of a transmission link of the wifi message is determined.
The gateway judges whether the wifi message comprises TA and RA, and if the wifi message comprises TA and RA, the gateway determines that the wifi message is a data message.
And 204, the gateway counts the plurality of wifi messages according to the type data corresponding to the plurality of wifi messages to obtain different types of statistical data.
If the address field includes BSSID, SA, and DA, step 204 specifically includes: counting the number of messages sent by a terminal by the gateway, wherein the number of the messages sent by the terminal is the number of wifi messages which are sent by the terminal and have destination addresses of the gateway in wifi messages of which the address fields comprise BSSID, SA and DA; counting the number of messages sent by a gateway by the gateway, wherein the number of the messages sent by the gateway is the number of wifi messages which are sent by the gateway and have destination addresses of terminals in the wifi messages of which the address fields comprise BSSID, SA and DA; the gateway counts the number of broadcast messages, wherein the number of the broadcast messages is the number of the broadcast messages in wifi messages of which the address fields comprise BSSID, SA and DA; the gateway counts the quantity of downlink data, wherein the quantity of the downlink data is the quantity of the downlink data in wifi messages of which the address fields comprise BSSID, SA and DA; and the gateway counts the number of the existing relays, wherein the number of the existing relays is the number of wifi messages with relays in the transmission link in the wifi messages with address fields including BSSID, SA and DA.
If the address field includes BSSID, TA, and RA, step 204 specifically includes: counting the number of messages sent by a terminal by a gateway, wherein the number of the messages sent by the terminal is the number of wifi messages which are sent by the terminal and have destination addresses of the gateway in the wifi messages of which the address fields comprise BSSID, TA and RA;
counting the number of messages sent by a gateway by the gateway, wherein the number of the messages sent by the gateway is the number of wifi messages which are sent by the gateway and have destination addresses of terminals in the wifi messages of which the address fields comprise BSSID, TA and RA; the gateway counts the quantity of uplink data, wherein the quantity of the downlink data is the quantity of the uplink data in a wifi message of which the address field comprises BSSID, TA and RA; the gateway counts the number of existing relays, wherein the number of the existing relays is the number of wifi messages with relays in transmission links in the wifi messages with address fields including BSSID, TA and RA; and the gateway counts the number of the data messages, wherein the number of the data messages is the number of the data messages in wifi messages of which the address fields comprise BSSID, TA and RA.
And step 205, the gateway sends the terminal information to the data platform, wherein the terminal information comprises different types of statistical data.
Specifically, the terminal sends the terminal information to the data platform according to the reporting period.
In this embodiment, the terminal information further includes: gateway device identification, terminal information identification, timestamp, number of information items and address fields.
In this embodiment, the terminal information may adopt a JSON format. For example: the terminal information may be { deviceID: xxxxxx, msgID: xxxxxxxx, timemap: xxxxxxxx, msgcount: xxxxxxxx, [ { SA: xxxxxxxxxx, DA: xxxxxxxx, class: 'local', count: xxxxxxxx, … }, … }.
The "deviceID" is a gateway identifier, "msgID" is a terminal information identifier, "timestamp" is a timestamp, "msgcount" is the number of information items, "class" type, and "count" is statistical data of different types. Wherein, the time stamp refers to: and reporting the terminal information to the data platform by the gateway.
Further, still include:
step 206, the data platform can analyze and process the received terminal information.
Specifically, step 206 may include:
step 2061, the data platform inquires out terminal identifications corresponding to the SA and the TA from the database, and judges whether the inquired terminal identifications are consistent with the terminal identifications acquired in advance;
step 2062, if the data platform judges that the inquired terminal identification is consistent with the terminal identification acquired in advance, determining that the terminal is connected to the gateway.
Step 2063, the data platform calculates the rate of the downlink data according to the number of the downlink data, the acquisition period and the average length of the downlink data. Specifically, by the formula: and (4) calculating the rate of the downlink data, namely the number of the downlink data/acquisition period multiplied by the average length of the downlink data.
Step 2064, the data platform calculates the rate of the uplink data according to the number of the uplink data, the acquisition period and the average length of the uplink data.
Specifically, by the formula: and calculating the rate of the uplink data, namely the number of the uplink data/acquisition period multiplied by the average length of the uplink data.
Further, step 206 may further include: and the data platform analyzes the gateway equipment identifier from the terminal information, and inquires gateway position information corresponding to the gateway equipment identifier from the database according to the gateway equipment identifier.
Further, the method further comprises: and the data platform returns confirmation information to the gateway.
In this embodiment, the information collection policy may be updated as needed, and the information collection process from step 202 to step 205 is executed according to the updated information collection policy.
The information collection method of the embodiment can realize the collection of the terminal information aiming at various situations. The first case is: establishing wifi connection between the terminal and an AP hotspot of a local gateway; the second case is: the terminal establishes wifi connection with AP hotspots of other gateways, and data uplink passes through the local gateway (for example, a user purchases an AP of a third party and then is connected to other gateways by a network cable); the third case is: the terminal establishes wifi connection with AP hot spots of other gateways, but data uplink cannot pass through a local gateway; the fourth case is: the wifi function of the terminal is started, but wifi connection is not established with any AP, and the terminal surfs the internet in other modes.
In the technical scheme of the information collection method provided by this embodiment, the gateway collects wifi messages sent by the terminal and/or wifi messages sent by the gateway itself, extracts an address field from each wifi message and determines type data corresponding to each wifi message according to the address field, and the gateway counts a plurality of wifi messages according to the type data corresponding to a plurality of wifi messages to obtain different types of statistical data. The scheme of the embodiment has no influence on the user and the terminal thereof, namely, the user is unaware.
Fig. 3 is a schematic structural diagram of an information collection system according to a third embodiment of the present invention, and as shown in fig. 3, the system includes: a gateway 1 and a data platform 2.
Further, the system also comprises a terminal 3.
The gateway 1 is used for collecting wifi messages sent by the terminal 3 and/or wifi messages sent by the gateway 1; extracting an address field from each wifi message, and determining type data corresponding to each wifi message according to the address field; according to the type data corresponding to the wifi messages, counting the wifi messages to obtain different types of statistical data; and sending terminal information to the data platform 2, wherein the terminal information comprises different types of statistical data. The data platform 2 is used for receiving the terminal information.
Further, the terminal information further includes an address field, and the statistical data of different categories includes a downlink data quantity and an uplink data quantity. The data platform 2 is further configured to query terminal identifiers corresponding to the SA and the TA from the database, and determine whether the queried terminal identifiers are consistent with the terminal identifiers acquired in advance; if the inquired terminal identification is judged to be consistent with the terminal identification acquired in advance, determining that the terminal is connected to the gateway; calculating the speed of the downlink data according to the number of the downlink data, the acquisition period and the average length of the downlink data; and calculating the rate of the uplink data according to the number of the uplink data, the acquisition period and the average length of the uplink data.
Further, the terminal information further includes a gateway device identifier. The data platform 2 is further configured to analyze a gateway device identifier from the terminal information, and query gateway location information corresponding to the gateway device identifier from the database according to the gateway device identifier.
The information collection system provided in this embodiment can be used to implement the information collection method provided in the first embodiment or the second embodiment, and specific description can be referred to the first embodiment or the second embodiment, and will not be described here in detail.
In the technical scheme of the information collection system provided by this embodiment, the gateway collects wifi messages sent by the terminal and/or wifi messages sent by the gateway itself, extracts address fields from each wifi message and determines type data corresponding to each wifi message according to the address fields, and the gateway counts a plurality of wifi messages according to the type data corresponding to the plurality of wifi messages to obtain different types of statistical data.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the present invention, which is not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and substance of the invention, and these modifications and improvements are also considered to be within the scope of the invention.

Claims (8)

1. An information collection method, comprising:
the gateway collects wifi messages sent by a terminal and/or wifi messages sent by the gateway;
the gateway extracts an address field from each wifi message, and determines type data corresponding to each wifi message according to the address field;
the gateway counts the wifi messages according to type data corresponding to the wifi messages to obtain different types of statistical data;
the gateway sends terminal information to a data platform, wherein the terminal information comprises different types of statistical data;
the terminal information also comprises an address field, and the statistical data of different types comprise the quantity of downlink data and the quantity of uplink data;
the gateway further comprises the following steps after sending the terminal information to the data platform:
the data platform inquires the terminal identification corresponding to the SA and the TA from the database and judges whether the inquired terminal identification is consistent with the terminal identification acquired in advance;
if the data platform judges that the inquired terminal identification is consistent with the terminal identification acquired in advance, the data platform determines that the terminal is connected to the gateway;
the data platform calculates the speed of the downlink data according to the number of the downlink data, the acquisition period and the average length of the downlink data;
and the data platform calculates the rate of the uplink data according to the number of the uplink data, the acquisition period and the average length of the uplink data.
2. The information collection method according to claim 1, wherein if the address field includes BSSID, SA, and DA, the type data includes wifi messages sent by wifi messages for a terminal and having a destination address of a gateway, wifi messages sent by wifi messages for a gateway and having a destination address of a terminal, wifi messages being broadcast messages, wifi messages being downlink data, and transmission links of wifi messages having a relay;
the gateway extracts an address field from each wifi message, and determines type data corresponding to each wifi message according to the address field, wherein the type data comprises:
the gateway judges whether the extracted BSSID is consistent with the BSSID of the gateway or not, and if the extracted BSSID is consistent with the BSSID of the gateway and the wifi message is judged to be sent by the terminal, the wifi message is determined to be sent by the terminal and the destination address of the wifi message is the wifi message of the gateway; if the extracted BSSID is consistent with the BSSID of the gateway and the wifi message is determined to be the wifi message sent by the gateway, determining the wifi message sent by the gateway and having a destination address as the terminal;
the gateway judges whether the DA is a broadcast address or not, and determines the wifi message as a broadcast message if the DA is judged to be the broadcast address;
and the gateway judges whether the BSSID is consistent with the SA or not, and if yes, the wifi message is determined to be downlink data and the relay of a transmission link of the wifi message is determined.
3. The information collection method according to claim 2, wherein the different categories of statistical data include the number of terminal sent messages, the number of gateway sent messages, the number of broadcast messages, the number of downlink data, and the number of existing relays;
the gateway counts the plurality of wifi messages according to the type data corresponding to the plurality of wifi messages to obtain different types of statistical data, and the statistical data comprises the following steps:
counting the number of messages sent by a terminal by the gateway, wherein the number of the messages sent by the terminal is the number of wifi messages which are sent by the terminal and have destination addresses of the gateway in wifi messages of which the address fields comprise BSSID, SA and DA;
counting the number of messages sent by a gateway by the gateway, wherein the number of the messages sent by the gateway is the number of wifi messages which are sent by the gateway and have destination addresses of terminals in the wifi messages of which the address fields comprise BSSID, SA and DA;
the gateway counts the number of broadcast messages, wherein the number of the broadcast messages is the number of the broadcast messages in wifi messages of which the address fields comprise BSSID, SA and DA;
the gateway counts the quantity of downlink data, wherein the quantity of the downlink data is the quantity of the downlink data in wifi messages of which the address fields comprise BSSID, SA and DA;
and the gateway counts the number of the existing relays, wherein the number of the existing relays is the number of wifi messages with relays in the transmission link in the wifi messages with address fields including BSSID, SA and DA.
4. The information collecting method according to claim 1, wherein if said address field includes BSSID, TA, and RA; the type data comprises a wifi message which is sent by a terminal and has a destination address of a gateway, a wifi message which is sent by the gateway and has a destination address of a terminal, a wifi message which is downlink data, a transmission link of the wifi message has a relay, and the wifi message is a data message;
the gateway extracts an address field from each wifi message, and determines type data corresponding to each wifi message according to the address field, wherein the type data comprises:
the gateway judges whether the extracted BSSID is consistent with the BSSID of the gateway or not, and if the extracted BSSID is consistent with the BSSID of the gateway and the wifi message is judged to be sent by the terminal, the wifi message is determined to be sent by the terminal and the destination address of the wifi message is the wifi message of the gateway; if the extracted BSSID is consistent with the BSSID of the gateway and the wifi message is determined to be the wifi message sent by the gateway, determining the wifi message sent by the gateway and having a destination address as the terminal;
the gateway judges whether the BSSID is consistent with the TA or not, and if the BSSID is consistent with the TA, the wifi message is determined to be uplink data and the fact that a relay exists in a transmission link of the wifi message is determined;
the gateway judges whether the wifi message comprises TA and RA, and if the wifi message comprises TA and RA, the gateway determines that the wifi message is a data message.
5. The information collection method according to claim 4, wherein the different categories of statistical data include the number of terminal sent messages, the number of gateway sent messages, the number of uplink data, the number of existing relays, and the number of data messages;
the gateway counts the plurality of wifi messages according to the type data corresponding to the plurality of wifi messages to obtain different types of statistical data, and the statistical data comprises the following steps:
counting the number of messages sent by a terminal by a gateway, wherein the number of the messages sent by the terminal is the number of wifi messages which are sent by the terminal and have destination addresses of the gateway in the wifi messages of which the address fields comprise BSSID, TA and RA;
counting the number of messages sent by a gateway by the gateway, wherein the number of the messages sent by the gateway is the number of wifi messages which are sent by the gateway and have destination addresses of terminals in the wifi messages of which the address fields comprise BSSID, TA and RA;
the gateway counts the quantity of uplink data, wherein the quantity of the downlink data is the quantity of the uplink data in a wifi message of which the address field comprises BSSID, TA and RA;
the gateway counts the number of existing relays, wherein the number of the existing relays is the number of wifi messages with relays in transmission links in the wifi messages with address fields including BSSID, TA and RA;
and the gateway counts the number of the data messages, wherein the number of the data messages is the number of the data messages in wifi messages of which the address fields comprise BSSID, TA and RA.
6. The information collection method according to claim 1, wherein the terminal information further includes a gateway device identification;
the gateway further comprises the following steps after sending the terminal information to the data platform:
and the data platform analyzes the gateway equipment identifier from the terminal information, and inquires gateway position information corresponding to the gateway equipment identifier from the database according to the gateway equipment identifier.
7. An information collection system, comprising: a gateway and a data platform;
the gateway is used for acquiring a wifi message sent by the terminal and/or a wifi message sent by the gateway; extracting an address field from each wifi message, and determining type data corresponding to each wifi message according to the address field; according to the type data corresponding to the wifi messages, counting the wifi messages to obtain different types of statistical data; sending terminal information to a data platform, wherein the terminal information comprises different types of statistical data;
the data platform is used for receiving the terminal information;
the terminal information also comprises an address field, and the statistical data of different types comprise the quantity of downlink data and the quantity of uplink data;
the data platform is also used for inquiring the terminal identification corresponding to the SA and the TA from the database and judging whether the inquired terminal identification is consistent with the terminal identification acquired in advance; if the inquired terminal identification is judged to be consistent with the terminal identification acquired in advance, determining that the terminal is connected to the gateway; calculating the speed of the downlink data according to the number of the downlink data, the acquisition period and the average length of the downlink data; and calculating the rate of the uplink data according to the number of the uplink data, the acquisition period and the average length of the uplink data.
8. The information collection system according to claim 7, wherein the terminal information further includes a gateway device identification;
the data platform is also used for analyzing the gateway equipment identifier from the terminal information and inquiring the gateway position information corresponding to the gateway equipment identifier from the database according to the gateway equipment identifier.
CN201910005442.8A 2019-01-03 2019-01-03 Information collection method and information collection system Active CN109451530B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910005442.8A CN109451530B (en) 2019-01-03 2019-01-03 Information collection method and information collection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910005442.8A CN109451530B (en) 2019-01-03 2019-01-03 Information collection method and information collection system

Publications (2)

Publication Number Publication Date
CN109451530A CN109451530A (en) 2019-03-08
CN109451530B true CN109451530B (en) 2022-04-22

Family

ID=65542420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910005442.8A Active CN109451530B (en) 2019-01-03 2019-01-03 Information collection method and information collection system

Country Status (1)

Country Link
CN (1) CN109451530B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113316165B (en) * 2020-02-26 2024-02-27 瑞昱半导体股份有限公司 Method and apparatus for dynamic statistics period adjustment for rate adaptation

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008016778A2 (en) * 2006-07-31 2008-02-07 Agito Networks, Inc. System and method to facilitate handover
CN102761474A (en) * 2011-04-28 2012-10-31 华为技术有限公司 Message filtering method and access equipment
CN103458456A (en) * 2013-08-27 2013-12-18 中国科学院信息工程研究所 Method and device for user behavior detection based on mobile terminal Wi-Fi data
CN103634807A (en) * 2012-08-24 2014-03-12 中国移动通信集团四川有限公司 WIFI data hotspot cell data monitoring method and WLAN deployment ordering method and device
CN103906107A (en) * 2014-03-21 2014-07-02 杭州敦崇科技股份有限公司 Data collecting type WLAN testing system and method based on WIFI terminal
CN104093129A (en) * 2014-06-10 2014-10-08 中兴通讯股份有限公司 Wi-Fi-based information sharing broadcast method and apparatus
CN104837154A (en) * 2015-03-31 2015-08-12 小米科技有限责任公司 Wireless access point control method and device
CN104904286A (en) * 2013-01-07 2015-09-09 华为技术有限公司 Method, apparatus and system for collecting access point information of wireless local area network
CN105050063A (en) * 2015-09-22 2015-11-11 北京金山安全软件有限公司 Method and device for pushing information
US9251609B1 (en) * 2013-03-04 2016-02-02 Ca, Inc. Timelined spider diagrams
CN106507363A (en) * 2017-01-06 2017-03-15 北京锐云通信息技术有限公司 A kind of method for finding fishing access point
CN106658756A (en) * 2016-12-13 2017-05-10 浙江大华技术股份有限公司 Method and device for recognizing connection between terminal device and hotspot
WO2017100790A1 (en) * 2015-12-10 2017-06-15 Cellepathy Inc. Enhanced navigation instruction and user determination
CN107734528A (en) * 2017-11-03 2018-02-23 广东欧珀移动通信有限公司 Wireless network detection method, device, storage medium and terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2999963A1 (en) * 2013-05-21 2016-03-30 Gafsou, Alon Daniel System and method for scent perception measurements and for construction of a scent database
US9918322B2 (en) * 2014-05-23 2018-03-13 embedUR systems, Inc. Radio resources management system
US9661530B2 (en) * 2014-12-12 2017-05-23 Apple Inc. Data traffic bearer selection based on backhaul statistics
CN108882219A (en) * 2018-06-26 2018-11-23 深圳市梧桐世界科技股份有限公司 A kind of wireless terminal features management system and method

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008016778A2 (en) * 2006-07-31 2008-02-07 Agito Networks, Inc. System and method to facilitate handover
CN102761474A (en) * 2011-04-28 2012-10-31 华为技术有限公司 Message filtering method and access equipment
CN103634807A (en) * 2012-08-24 2014-03-12 中国移动通信集团四川有限公司 WIFI data hotspot cell data monitoring method and WLAN deployment ordering method and device
CN104904286A (en) * 2013-01-07 2015-09-09 华为技术有限公司 Method, apparatus and system for collecting access point information of wireless local area network
US9251609B1 (en) * 2013-03-04 2016-02-02 Ca, Inc. Timelined spider diagrams
CN103458456A (en) * 2013-08-27 2013-12-18 中国科学院信息工程研究所 Method and device for user behavior detection based on mobile terminal Wi-Fi data
CN103906107A (en) * 2014-03-21 2014-07-02 杭州敦崇科技股份有限公司 Data collecting type WLAN testing system and method based on WIFI terminal
CN104093129A (en) * 2014-06-10 2014-10-08 中兴通讯股份有限公司 Wi-Fi-based information sharing broadcast method and apparatus
CN104837154A (en) * 2015-03-31 2015-08-12 小米科技有限责任公司 Wireless access point control method and device
CN105050063A (en) * 2015-09-22 2015-11-11 北京金山安全软件有限公司 Method and device for pushing information
WO2017100790A1 (en) * 2015-12-10 2017-06-15 Cellepathy Inc. Enhanced navigation instruction and user determination
CN106658756A (en) * 2016-12-13 2017-05-10 浙江大华技术股份有限公司 Method and device for recognizing connection between terminal device and hotspot
CN106507363A (en) * 2017-01-06 2017-03-15 北京锐云通信息技术有限公司 A kind of method for finding fishing access point
CN107734528A (en) * 2017-11-03 2018-02-23 广东欧珀移动通信有限公司 Wireless network detection method, device, storage medium and terminal

Also Published As

Publication number Publication date
CN109451530A (en) 2019-03-08

Similar Documents

Publication Publication Date Title
CN106658586B (en) Method for collecting MAC address of iOS device
EP2393319A1 (en) Method for mobile network coverage experience analysis and monitoring
CN106471826B (en) For supporting method, remote communication server and the base station of vehicle communication in cellular networks
EP1414185A3 (en) Apparatus and method for generating billing data according to contents of mobile communication system
EP2916580A1 (en) Ordering tracing of wireless terminal activities
EP3449596B1 (en) Technique for handling service level related performance data for roaming user terminals
CN103533524B (en) A kind of charging method and system of D2D business
CN103796308A (en) Method, device and system for positioning user terminal
KR101384795B1 (en) Network monitoring and analysis tool
US20040240417A1 (en) Repeater remote control system and method in mobile communication system
CN109451530B (en) Information collection method and information collection system
CN102045182A (en) Service fault localization method, device and system
EP3289793B1 (en) Method, mobile switching centre, msc, and a computer program product for detecting interconnect bypass
CN114786134B (en) Information tracking processing system, method and equipment
CN101651876B (en) Service testing method and device for mobile terminal
WO2012131553A1 (en) A system and method for estimating distribution of outbound roamers
US10015729B2 (en) Providing access to a GPRS network
KR101960653B1 (en) Improving charging information accuracy in a telecommunications network
CN106888424B (en) Acquisition method and acquisition device for media access control address and network camera
US20230217262A1 (en) Server device, sensor device, visualization system, data display method, and non-transitory computer-readable medium
CN111132122B (en) Method for identifying multi-system terminal user information based on short distance and mobile terminal sensing system
EP2359610A1 (en) Providing access to a gprs network
WO2009106285A1 (en) Process for controlling the association of one mobile terminal to one particular access point belonging to one wireless network
KR100726601B1 (en) System for measuring quality of a wireless communication service and a method the same
EP2288091A1 (en) Process for controlling the attachment of one mobile terminal to one particular attachment point belonging to one particular wireless access network technology

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