CN109451530A - Formation gathering method and Information Collection System - Google Patents
Formation gathering method and Information Collection System Download PDFInfo
- Publication number
- CN109451530A CN109451530A CN201910005442.8A CN201910005442A CN109451530A CN 109451530 A CN109451530 A CN 109451530A CN 201910005442 A CN201910005442 A CN 201910005442A CN 109451530 A CN109451530 A CN 109451530A
- Authority
- CN
- China
- Prior art keywords
- gateway
- message
- wifi
- data
- bssid
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of formation gathering method and Information Collection Systems.This method comprises: the wifi message that wifi message and/or gateway itself that gateway acquisition terminal issues issue;Gateway extracts address field from each wifi message, and determines the corresponding categorical data of each wifi message according to the address field;Gateway counts to obtain different classes of statistical data multiple wifi messages according to the corresponding categorical data of multiple wifi messages;End message is sent to data platform by gateway, and the end message includes different classes of statistical data.The present invention, which is realized, can also collect end message for the terminal of non-access gateway.
Description
Technical field
The present invention relates to field of communication technology, in particular to a kind of formation gathering method and Information Collection System.
Background technique
Currently, terminal is completely universal, all kinds of connection types in mobile Internet are widely used.Wherein, existing
3G/4G connection type of income etc. directly is brought for operator, also has the wifi hotspot of first access gateway to pass through broadband access again
Connection type.Operator promotes user's perception, just must as often as possible collect and understand eventually to preferably be user service
Client information.Currently, the acquisition to end message mainly passes through operator base station and gateway etc..
Currently, existing technical solution is and probe to be arranged in a gateway by disposing gateway, directly connect with realizing to collect
Enter the end message of the terminal to the Home Network Central Shanxi Plain.
But the terminal for not being directly connected to this gateway, scheme in the prior art can not collect terminal letter
Breath.
Summary of the invention
The present invention provides the method and Information Collection System of a kind of information collection, for realizing the end for non-access gateway
End can also collect end message.
To achieve the above object, the present invention provides a kind of formation gathering methods, comprising:
The wifi message that the wifi message and/or gateway itself that gateway acquisition terminal issues issue;
Gateway extracts address field from each wifi message, and determines each wifi message according to the address field
Corresponding categorical data;
Gateway counts to obtain inhomogeneity multiple wifi messages according to the corresponding categorical data of multiple wifi messages
Other statistical data;
End message is sent to data platform by gateway, and the end message includes different classes of statistical data.
Optionally, if the address field includes BSSID, SA and DA, the data type includes that wifi message is terminal
Issue and destination address is the wifi message of gateway, wifi message is that gateway issues and destination address is the wifi report of terminal
The transmission link that text, wifi message are broadcasting packet, wifi message is downlink data, wifi message is in the presence of relaying;
The gateway extracts address field from each wifi message, and determines each wifi according to the address field
The corresponding categorical data of message includes:
Whether the BSSID that extracts of gateway judgement consistent with the BSSID of gateway, if judge the disconnected BSSID extracted and
When the BSSID of gateway is consistent and wifi message is the wifi message that terminal issues, determine wifi message be it is that terminal issues and
Destination address is the wifi message of gateway;If judging, the disconnected BSSID extracted is consistent with the BSSID of gateway and wifi message is
When the wifi message that gateway issues, determine that wifi message is that gateway issues and destination address is the wifi message of terminal;
Gateway judges whether DA is broadcast address, if judge that DA is broadcast address, determines wifi message for broadcast
Message;
Whether gateway judges BSSID and SA consistent, if judge that BSSID is consistent with SA, under determining that wifi message is
Row data and the transmission link presence relaying for determining wifi message.
Optionally, the different classes of statistical data includes that terminal sends message amount, gateway sends message amount, wide
It broadcasts message amount, downlink data quantity and there is relaying quantity;
The gateway counts to obtain not multiple wifi messages according to the corresponding categorical data of multiple wifi messages
Generic statistical data includes:
Gateway counts terminal and sends message amount, and it includes BSSID, SA that the terminal, which sends message amount as address field,
Issue with terminal in the wifi message of DA and destination address is the quantity of the wifi message of gateway;
Gateway counts gateway and sends message amount, and it includes BSSID, SA that the gateway, which sends message amount as address field,
Issue with gateway in the wifi message of DA and destination address is the quantity of the wifi message of terminal;
Gateway counts broadcasting packet quantity, and the broadcasting packet quantity is that address field includes BSSID, SA and DA
The quantity of broadcasting packet in wifi message;
Gateway counts downlink data quantity, and the downlink data quantity is that address field includes BSSID, SA and DA
The quantity of downlink data in wifi message;
Gateway count in the presence of relaying quantity, it is described exist relaying quantity be address field include BSSID, SA and DA
In wifi message there is the quantity of the wifi message of relaying in transmission link.
Optionally, if the address field includes BSSID, TA and RA;The data type includes that wifi message is terminal
Issue and destination address is the wifi message of gateway, wifi message is that gateway issues and destination address is the wifi report of terminal
Text, wifi message are that the transmission link presence of downlink data, wifi message relays, wifi message is data message;
The gateway extracts address field from each wifi message, and determines each wifi according to the address field
The corresponding categorical data of message includes:
Whether the BSSID that extracts of gateway judgement consistent with the BSSID of gateway, if judge the disconnected BSSID extracted and
When the BSSID of gateway is consistent and wifi message is the wifi message that terminal issues, determine wifi message be it is that terminal issues and
Destination address is the wifi message of gateway;If judging, the disconnected BSSID extracted is consistent with the BSSID of gateway and wifi message is
When the wifi message that gateway issues, determine that wifi message is that gateway issues and destination address is the wifi message of terminal;
Whether gateway judges BSSID and TA consistent, if judge that BSSID is consistent with TA, determines that wifi message is upper
Row data and the transmission link presence relaying for determining wifi message;
Whether gateway judges in wifi message to include TA and RA, if judge in wifi message including TA and RA, determine
Wifi message is data message out.
Optionally, the different classes of statistical data include terminal send message amount, gateway send message amount, on
There is relaying quantity and data message amount in line number data bulk;
The gateway counts to obtain not multiple wifi messages according to the corresponding categorical data of multiple wifi messages
Generic statistical data includes:
Gateway counts terminal and sends message amount, and it includes BSSID, TA that the terminal, which sends message amount as address field,
Issue with terminal in the wifi message of RA and destination address is the quantity of the wifi message of gateway;
Gateway counts gateway and sends message amount, and it includes BSSID, TA that the gateway, which sends message amount as address field,
Issue with gateway in the wifi message of RA and destination address is the quantity of the wifi message of terminal;
Gateway counts upstream data quantity, and the downlink data quantity is that address field includes BSSID, TA and RA
The quantity of upstream data in wifi message;
Gateway count in the presence of relaying quantity, it is described exist relaying quantity be address field include BSSID, TA and RA
In wifi message there is the quantity of the wifi message of relaying in transmission link;
Gateway counts data message quantity, and the data message quantity is that address field includes BSSID, TA and RA
The quantity of data message in wifi message.
Optionally, the end message further includes address field, and different classes of statistical data includes downlink data quantity
With upstream data quantity;
End message is sent to after data platform by the gateway further include:
Data platform inquires terminal iidentification corresponding with SA and TA from database, judge the terminal iidentification inquired with
Whether the terminal iidentification obtained in advance is consistent;
If data platform is judged to determine terminal when the terminal iidentification inquired is consistent with the terminal iidentification obtained in advance
It is connected to gateway;
Data platform calculates downlink data according to the average length of downlink data quantity, collection period and downlink data
Rate;
Data platform calculates upstream data according to the average length of upstream data quantity, collection period and upstream data
Rate.
Optionally, the end message further includes gateway mark;
End message is sent to after data platform by the gateway further include:
Data platform parses gateway mark from end message, is inquired from database according to gateway mark
Gateway location information corresponding with gateway mark out.
To achieve the above object, the present invention provides a kind of Information Collection Systems, comprising: gateway and data platform;
The gateway, the wifi message that the wifi message and/or gateway itself issued for acquisition terminal issues;From each
Address field is extracted in wifi message, and the corresponding categorical data of each wifi message is determined according to the address field;Root
According to the corresponding categorical data of multiple wifi messages, multiple wifi messages are counted to obtain different classes of statistical data;
End message is sent to data platform, the end message includes different classes of statistical data;
The data platform, for receiving the end message.
Optionally, the end message further includes address field, and different classes of statistical data includes downlink data quantity
With upstream data quantity;
The data platform is also used to inquire terminal iidentification corresponding with SA and TA from database, judges to inquire
Whether terminal iidentification and the terminal iidentification obtained in advance are consistent;If the terminal judging the terminal iidentification inquired and obtaining in advance
Determine that terminal is connected to gateway when identifying consistent;According to the average length of downlink data quantity, collection period and downlink data
Calculate the rate of downlink data;Uplink is calculated according to the average length of upstream data quantity, collection period and upstream data
The rate of data.
Optionally, the end message further includes gateway mark;
The data platform is also used to parse gateway mark from end message, is identified according to gateway from number
According to inquiring gateway location information corresponding with gateway mark in library.
The invention has the following advantages:
In the technical solution of formation gathering method and Information Collection System provided by the invention, what gateway acquisition terminal issued
The wifi message that wifi message and/or gateway itself issue extracts address field and according to describedly from each wifi message
Location field determines that the corresponding categorical data of each wifi message, gateway are right according to the corresponding categorical data of multiple wifi messages
Multiple wifi messages are counted to show that different classes of statistical data, the present invention realize the terminal for non-access gateway
Also end message can be collected.
Detailed description of the invention
Fig. 1 is a kind of flow chart for formation gathering method that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart for formation gathering method that the embodiment of the present invention one provides;
Fig. 3 is a kind of structural schematic diagram for Information Collection System that the embodiment of the present invention three provides.
Specific embodiment
To make those skilled in the art more fully understand technical solution of the present invention, the present invention is mentioned with reference to the accompanying drawing
The formation gathering method and Information Collection System of confession are described in detail.
Fig. 1 is a kind of flow chart for formation gathering method that the embodiment of the present invention one provides, as shown in Figure 1, this method packet
It includes:
The wifi message that the wifi message and/or gateway itself that step 101, gateway acquisition terminal issue issue.
Step 102, gateway extract address field from each wifi message, and are determined according to the address field each
The corresponding categorical data of wifi message.
Step 103, gateway count to obtain multiple wifi messages according to the corresponding categorical data of multiple wifi messages
Different classes of statistical data out.
End message is sent to data platform by step 104, gateway, and the end message includes different classes of statistical number
According to.
In the technical solution of formation gathering method provided in this embodiment, gateway acquisition terminal issue wifi message and/
Or the wifi message that gateway itself issues, address field is extracted from each wifi message and is determined according to the address field
The corresponding categorical data of each wifi message, gateway is according to the corresponding categorical data of multiple wifi messages, to multiple wifi messages
It is counted to obtain different classes of statistical data, the present embodiment, which realizes, can also acquire the terminal of non-access gateway
To end message.
Fig. 2 is a kind of flow chart for formation gathering method that the embodiment of the present invention one provides, as shown in Fig. 2, this method packet
It includes:
It is initialized between step 201, gateway and data platform.
Specifically, step 201 can include:
Step 2011, Gateway Initiative, and connection is established between data platform.
It is mutually authenticated between step 2012, gateway and data platform.
Step 2013, gateway obtain basic service set identification (Basic Service Set ID, the abbreviation of gateway
BSSID), and by the BSSID of gateway it is sent to data platform.
Step 2014, data platform, which inquire gateway location corresponding with the BSSID of gateway according to the BSSID of gateway, to be believed
Breath.
Step 2015, data platform issue information collection policy to gateway.
For example, information collection policy can include: statistical classification strategy, reports and submits the period at collection period.
Step 2016, data platform prepare to receive the statistical data that gateway reports, and gateway begins listening for each channel.
The wifi message that the wifi message and/or gateway itself that step 202, gateway acquisition terminal issue issue.
In the present embodiment, gateway monitors each channel to grab wifi message.The wifi message of crawl may include following two:
One is terminals to issue wifi message, and another kind is the wifi message that gateway issues.Specifically, gateway can be adopted according to collection period
Collect the wifi message that terminal issues and/or the wifi message that gateway itself issues.The collected wifi message in collection period
Quantity be it is multiple.
Step 203, gateway extract address field from each wifi message, and are determined according to the address field each
The corresponding categorical data of wifi message.
Specifically, gateway extracts address field from each wifi message, and by statistical classification strategy according to describedly
Location field determines the corresponding categorical data of each wifi message.
In the present embodiment, address field may include BSSID, source address (SA), destination address (DA), transmitting address (TA) and
It receives address (RA).
The first situation: if the address field includes BSSID, SA and DA, the data type includes that wifi message is
Terminal issues and destination address is the wifi message of gateway, wifi message is that gateway issues and destination address is terminal
The transmission link that wifi message, wifi message are broadcasting packet, wifi message is downlink data, wifi message is in the presence of relaying.Then
Step 203 includes:
Whether the BSSID that extracts of gateway judgement consistent with the BSSID of gateway, if judge the disconnected BSSID extracted and
When the BSSID of gateway is consistent and wifi message is the wifi message that terminal issues, determine wifi message be it is that terminal issues and
Destination address is the wifi message of gateway;If judging, the disconnected BSSID extracted is consistent with the BSSID of gateway and wifi message is
When the wifi message that gateway issues, determine that wifi message is that gateway issues and destination address is the wifi message of terminal.
Gateway judges whether DA is broadcast address, if judge that DA is broadcast address, determines wifi message for broadcast
Message.
Whether gateway judges BSSID and SA consistent, if judge that BSSID is consistent with SA, under determining that wifi message is
Row data and the transmission link presence relaying for determining wifi message.
Second situation: if the address field includes BSSID, TA and RA, the data type includes that wifi message is
Terminal issues and destination address is the wifi message of gateway, wifi message is that gateway issues and destination address is terminal
Wifi message, wifi message are that the transmission link presence of downlink data, wifi message relays, wifi message is data message.Volume
Step 203 includes:
Whether the BSSID that extracts of gateway judgement consistent with the BSSID of gateway, if judge the disconnected BSSID extracted and
When the BSSID of gateway is consistent and wifi message is the wifi message that terminal issues, determine wifi message be it is that terminal issues and
Destination address is the wifi message of gateway;If judging, the disconnected BSSID extracted is consistent with the BSSID of gateway and wifi message is
When the wifi message that gateway issues, determine that wifi message is that gateway issues and destination address is the wifi message of terminal.
Whether gateway judges BSSID and TA consistent, if judge that BSSID is consistent with TA, determines that wifi message is upper
Row data and the transmission link presence relaying for determining wifi message.
Whether gateway judges in wifi message to include TA and RA, if judge in wifi message including TA and RA, determine
Wifi message is data message out.
Step 204, gateway count to obtain multiple wifi messages according to the corresponding categorical data of multiple wifi messages
Different classes of statistical data out.
If the address field includes BSSID, SA and DA, step 204 is specifically included: gateway counts terminal and sends report
Literary quantity, the terminal send message amount be address field include in the wifi message of BSSID, SA and DA terminal issue and
Destination address is the quantity of the wifi message of gateway;Gateway counts gateway and sends message amount, and the gateway sends message number
Amount be address field include in the wifi message of BSSID, SA and DA gateway sending and destination address be terminal wifi message
Quantity;Gateway counts broadcasting packet quantity, and the broadcasting packet quantity is that address field includes BSSID, SA and DA
The quantity of broadcasting packet in wifi message;Gateway counts downlink data quantity, and the downlink data quantity is address field packet
Include the quantity of downlink data in the wifi message of BSSID, SA and DA;Gateway is counted in the presence of relaying quantity, described to there is relaying
Quantity is the quantity that address field includes the wifi message that transmission link has relaying in the wifi message of BSSID, SA and DA.
If the address field includes BSSID, TA and RA, step 204 is specifically included: gateway counts terminal and sends report
Literary quantity, the terminal send message amount be address field include in the wifi message of BSSID, TA and RA terminal issue and
Destination address is the quantity of the wifi message of gateway;
Gateway counts gateway and sends message amount, and it includes BSSID, TA that the gateway, which sends message amount as address field,
Issue with gateway in the wifi message of RA and destination address is the quantity of the wifi message of terminal;Gateway counts upstream data
Quantity, the downlink data quantity are the quantity that address field includes upstream data in the wifi message of BSSID, TA and RA;Net
Pass count in the presence of relaying quantity, it is described exist relaying quantity be address field include BSSID, TA and RA wifi message in pass
There is the quantity of the wifi message of relaying in transmission link;Gateway counts data message quantity, and the data message quantity is address
Field includes the quantity of data message in the wifi message of BSSID, TA and RA.
End message is sent to data platform by step 205, gateway, and the end message includes different classes of statistical number
According to.
Specifically, terminal is according to reporting and submitting the period that end message is sent to data platform.
In the present embodiment, end message further include: gateway mark, end message mark, timestamp, information item number and
Address field.
In the present embodiment, JSON format is can be used in end message.Such as: end message can for deviceID:
xxxxxx,msgID:xxxxxx,timestamp:xxxxxx,msgcount:xxxxxx,[{SA:xxxxxx,DA:xxxxxx,
class:’local’,count:xxxxxx,…},…]}。
Wherein, " deviceID " is gateway identification, and " msgID " is end message mark, and " timestamp " is timestamp,
" msgcount " is information item number, and " class " type, " count " is different classes of statistical data.Wherein, timestamp refers to
Be: end message is reported to the time of data platform by gateway.
Further, further includes:
Step 206, data platform can be analyzed and processed the end message received.
Specifically, step 206 can include:
Step 2061, data platform inquire terminal iidentification corresponding with SA and TA from database, judge to inquire
Whether terminal iidentification and the terminal iidentification obtained in advance are consistent;
If step 2062, data platform are judged true when the terminal iidentification inquired is consistent with the terminal iidentification obtained in advance
It makes terminal and is connected to gateway.
Step 2063, data platform are calculated according to the average length of downlink data quantity, collection period and downlink data
The rate of downlink data.Specifically, pass through formula: the rate of downlink data=downlink data quantity/collection period × lower line number
According to average length, calculate the rate of downlink data.
Step 2064, data platform are calculated according to the average length of upstream data quantity, collection period and upstream data
The rate of upstream data.
Specifically, pass through formula: the rate of upstream data=upstream data quantity/collection period × upstream data is averaged
Length calculates the rate of upstream data.
Further, step 206 may also include that data platform parses gateway mark from end message, according to
Gateway mark inquires gateway location information corresponding with gateway mark from database.
Further, this method further include: data platform returns to confirmation message to gateway.
In the present embodiment, information collection policy can be updated as needed, and according to updated information collection policy
Execute the infonnation collection process of step 202 to step 205.
The formation gathering method of the present embodiment can realize the collection of end message for a variety of situations.The first situation are as follows:
Wifi connection has been established in the AP hot spot of terminal and local gateway;Second situation are as follows: terminal and the AP hot spot of other gateways are built
Vertical wifi connection, and data uplink by local gateway (such as: user has purchased third-party AP, is then connected with cable
To other gateways);The third situation are as follows: terminal has been established wifi with the AP hot spot of other gateways and connect, but data uplink is not
Local gateway can be passed through;4th kind of situation are as follows: the wifi function of terminal is opened, but is not established wifi with any AP and connected, eventually
It surfs the Internet otherwise at end.
In the technical solution of formation gathering method provided in this embodiment, gateway acquisition terminal issue wifi message and/
Or the wifi message that gateway itself issues, address field is extracted from each wifi message and is determined according to the address field
The corresponding categorical data of each wifi message, gateway is according to the corresponding categorical data of multiple wifi messages, to multiple wifi messages
It is counted to obtain different classes of statistical data, the present embodiment, which realizes, can also acquire the terminal of non-access gateway
To end message.The scheme of the present embodiment will not have an impact user and its terminal, i.e., user is unaware.
Fig. 3 is a kind of structural schematic diagram for Information Collection System that the embodiment of the present invention three provides, as shown in figure 3, this is
System includes: gateway 1 and data platform 2.
Further, which further includes terminal 3.
Gateway 1 is for the wifi message issued of acquisition terminal 3 and/or the wifi message of gateway 1 itself sending;From each
Address field is extracted in wifi message, and the corresponding categorical data of each wifi message is determined according to the address field;Root
According to the corresponding categorical data of multiple wifi messages, multiple wifi messages are counted to obtain different classes of statistical data;
End message is sent to data platform 2, the end message includes different classes of statistical data.Data platform 2 is for connecing
Receive the end message.
Further, the end message further includes address field, and different classes of statistical data includes downlink data number
Amount and upstream data quantity.Data platform 2 is also used to inquire terminal iidentification corresponding with SA and TA from database, and judgement is looked into
Whether the terminal iidentification ask out and the terminal iidentification obtained in advance are consistent;If judging the terminal iidentification inquired and obtaining in advance
Terminal iidentification it is consistent when determine that terminal is connected to gateway;According to the flat of downlink data quantity, collection period and downlink data
Equal length gauge calculates the rate of downlink data;It is calculated according to the average length of upstream data quantity, collection period and upstream data
The rate of upstream data out.
Further, the end message further includes gateway mark.Data platform 2 is also used to solve from end message
Gateway mark is precipitated, gateway location corresponding with gateway mark is inquired from database according to gateway mark
Information.
Information Collection System provided in this embodiment can be used for realizing above-described embodiment one or the letter that embodiment two provides
Collection method is ceased, specifically describes and can be found in above-described embodiment one or embodiment two, no longer specifically describe herein.
In the technical solution of Information Collection System provided in this embodiment, gateway acquisition terminal issue wifi message and/
Or the wifi message that gateway itself issues, address field is extracted from each wifi message and is determined according to the address field
The corresponding categorical data of each wifi message, gateway is according to the corresponding categorical data of multiple wifi messages, to multiple wifi messages
It is counted to obtain different classes of statistical data, the present embodiment, which realizes, can also acquire the terminal of non-access gateway
To end message.
It is understood that the principle that embodiment of above is intended to be merely illustrative of the present and the exemplary implementation that uses
Mode, however the present invention is not limited thereto.For those skilled in the art, essence of the invention is not being departed from
In the case where mind and essence, various changes and modifications can be made therein, these variations and modifications are also considered as protection scope of the present invention.
Claims (10)
1. a kind of formation gathering method characterized by comprising
The wifi message that the wifi message and/or gateway itself that gateway acquisition terminal issues issue;
Gateway extracts address field from each wifi message, and determines that each wifi message is corresponding according to the address field
Categorical data;
Gateway is counted different classes of to obtain according to the corresponding categorical data of multiple wifi messages, to multiple wifi messages
Statistical data;
End message is sent to data platform by gateway, and the end message includes different classes of statistical data.
2. formation gathering method according to claim 1, which is characterized in that if the address field include BSSID, SA and
DA, the data type include wifi message be terminal issue and destination address is the wifi message of gateway, wifi message is
Gateway issue and destination address is the wifi message of terminal, wifi message is broadcasting packet, wifi message be downlink data,
There is relaying in the transmission link of wifi message;
The gateway extracts address field from each wifi message, and determines each wifi message according to the address field
Corresponding categorical data includes:
Whether the BSSID that gateway judgement extracts is consistent with the BSSID of gateway, if judging the disconnected BSSID and gateway extracted
BSSID it is consistent and when wifi message is the wifi message that terminal issues, determine that wifi message is that terminal issues and purpose
Address is the wifi message of gateway;If judging, the disconnected BSSID extracted is consistent with the BSSID of gateway and wifi message is gateway
When the wifi message of sending, determine that wifi message is that gateway issues and destination address is the wifi message of terminal;
Gateway judges whether DA is broadcast address, if judge that DA is broadcast address, determines that wifi message is broadcasting packet;
Whether gateway judges BSSID and SA consistent, if judge that BSSID is consistent with SA, determines that wifi message is lower line number
According to and determine wifi message transmission link exist relaying.
3. formation gathering method according to claim 2, which is characterized in that the different classes of statistical data includes eventually
End sends message amount, gateway transmission message amount, broadcasting packet quantity, downlink data quantity and there is relaying quantity;
The gateway counts to obtain inhomogeneity multiple wifi messages according to the corresponding categorical data of multiple wifi messages
Other statistical data includes:
Gateway counts terminal and sends message amount, and it includes BSSID, SA and DA that the terminal, which sends message amount as address field,
Wifi message in terminal issue and destination address be gateway wifi message quantity;
Gateway counts gateway and sends message amount, and it includes BSSID, SA and DA that the gateway, which sends message amount as address field,
Wifi message in gateway issue and destination address be terminal wifi message quantity;
Gateway counts broadcasting packet quantity, and the broadcasting packet quantity is the wifi report that address field includes BSSID, SA and DA
The quantity of broadcasting packet in text;
Gateway counts downlink data quantity, and the downlink data quantity is the wifi report that address field includes BSSID, SA and DA
The quantity of downlink data in text;
Gateway, which counts, has relaying quantity, described to report in the presence of relaying quantity for the wifi that address field includes BSSID, SA and DA
In text there is the quantity of the wifi message of relaying in transmission link.
4. formation gathering method according to claim 1, which is characterized in that if the address field include BSSID, TA and
RA;The data type include wifi message be terminal issue and destination address is the wifi message of gateway, wifi message is
Gateway issue and destination address be the wifi message of terminal, wifi message be downlink data, wifi message transmission link deposit
It is data message in relaying, wifi message;
The gateway extracts address field from each wifi message, and determines each wifi message according to the address field
Corresponding categorical data includes:
Whether the BSSID that gateway judgement extracts is consistent with the BSSID of gateway, if judging the disconnected BSSID and gateway extracted
BSSID it is consistent and when wifi message is the wifi message that terminal issues, determine that wifi message is that terminal issues and purpose
Address is the wifi message of gateway;If judging, the disconnected BSSID extracted is consistent with the BSSID of gateway and wifi message is gateway
When the wifi message of sending, determine that wifi message is that gateway issues and destination address is the wifi message of terminal;
Whether gateway judges BSSID and TA consistent, if judge that BSSID is consistent with TA, determines that wifi message is upper line number
According to and determine wifi message transmission link exist relaying;
Whether gateway judges in wifi message to include TA and RA, if judge in wifi message including TA and RA, determine
Wifi message is data message.
5. formation gathering method according to claim 4, which is characterized in that the different classes of statistical data includes eventually
End sends message amount, gateway sends message amount, upstream data quantity, there is relaying quantity and data message amount;
The gateway counts to obtain inhomogeneity multiple wifi messages according to the corresponding categorical data of multiple wifi messages
Other statistical data includes:
Gateway counts terminal and sends message amount, and it includes BSSID, TA and RA that the terminal, which sends message amount as address field,
Wifi message in terminal issue and destination address be gateway wifi message quantity;
Gateway counts gateway and sends message amount, and it includes BSSID, TA and RA that the gateway, which sends message amount as address field,
Wifi message in gateway issue and destination address be terminal wifi message quantity;
Gateway counts upstream data quantity, and the downlink data quantity is the wifi report that address field includes BSSID, TA and RA
The quantity of upstream data in text;
Gateway, which counts, has relaying quantity, described to report in the presence of relaying quantity for the wifi that address field includes BSSID, TA and RA
In text there is the quantity of the wifi message of relaying in transmission link;
Gateway counts data message quantity, and the data message quantity is the wifi report that address field includes BSSID, TA and RA
The quantity of data message in text.
6. formation gathering method according to claim 1, which is characterized in that the end message further includes address field,
Different classes of statistical data includes downlink data quantity and upstream data quantity;
End message is sent to after data platform by the gateway further include:
Data platform inquires terminal iidentification corresponding with SA and TA from database, judge the terminal iidentification inquired and in advance
Whether the terminal iidentification of acquisition is consistent;
If data platform is judged to determine that terminal connects when the terminal iidentification inquired is consistent with the terminal iidentification obtained in advance
To gateway;
Data platform calculates the speed of downlink data according to the average length of downlink data quantity, collection period and downlink data
Rate;
Data platform calculates the speed of upstream data according to the average length of upstream data quantity, collection period and upstream data
Rate.
7. formation gathering method according to claim 1, which is characterized in that the end message further includes gateway mark
Know;
End message is sent to after data platform by the gateway further include:
Data platform parses gateway mark from end message, according to gateway mark inquire from database with
Gateway identifies corresponding gateway location information.
8. a kind of Information Collection System characterized by comprising gateway and data platform;
The gateway, the wifi message that the wifi message and/or gateway itself issued for acquisition terminal issues;From each wifi
Address field is extracted in message, and the corresponding categorical data of each wifi message is determined according to the address field;According to more
The corresponding categorical data of a wifi message, counts to obtain different classes of statistical data multiple wifi messages;It will be whole
Client information is sent to data platform, and the end message includes different classes of statistical data;
The data platform, for receiving the end message.
9. Information Collection System according to claim 8, which is characterized in that the end message further includes address field,
Different classes of statistical data includes downlink data quantity and upstream data quantity;
The data platform is also used to inquire terminal iidentification corresponding with SA and TA from database, judges the terminal inquired
Whether mark and the terminal iidentification obtained in advance are consistent;If the terminal iidentification judging the terminal iidentification inquired and obtaining in advance
Determine that terminal is connected to gateway when consistent;It is calculated according to the average length of downlink data quantity, collection period and downlink data
The rate of downlink data out;Upstream data is calculated according to the average length of upstream data quantity, collection period and upstream data
Rate.
10. Information Collection System according to claim 8, which is characterized in that the end message further includes gateway
Mark;
The data platform is also used to parse gateway mark from end message, is identified according to gateway from database
In inquire gateway location information corresponding with gateway mark.
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 true CN109451530A (en) | 2019-03-08 |
CN109451530B 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) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113316165A (en) * | 2020-02-26 | 2021-08-27 | 瑞昱半导体股份有限公司 | Method and apparatus for dynamic statistical period adjustment for rate adaptation |
Citations (18)
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 |
US20150341939A1 (en) * | 2014-05-23 | 2015-11-26 | embedUR systems, Inc. | Radio Resources Management System |
US9251609B1 (en) * | 2013-03-04 | 2016-02-02 | Ca, Inc. | Timelined spider diagrams |
US20160091470A1 (en) * | 2013-05-21 | 2016-03-31 | Alon Daniel GAFSOU | System and method for scent perception measurements and for construction of a scent database |
US20160174110A1 (en) * | 2014-12-12 | 2016-06-16 | Apple Inc. | Data Traffic Bearer Selection Based on Backhaul Statistics |
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 |
CN108882219A (en) * | 2018-06-26 | 2018-11-23 | 深圳市梧桐世界科技股份有限公司 | A kind of wireless terminal features management system and method |
-
2019
- 2019-01-03 CN CN201910005442.8A patent/CN109451530B/en active Active
Patent Citations (18)
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 |
US20160091470A1 (en) * | 2013-05-21 | 2016-03-31 | Alon Daniel GAFSOU | System and method for scent perception measurements and for construction of a scent database |
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 |
US20150341939A1 (en) * | 2014-05-23 | 2015-11-26 | embedUR systems, Inc. | Radio Resources Management System |
CN104093129A (en) * | 2014-06-10 | 2014-10-08 | 中兴通讯股份有限公司 | Wi-Fi-based information sharing broadcast method and apparatus |
US20160174110A1 (en) * | 2014-12-12 | 2016-06-16 | Apple Inc. | Data Traffic Bearer Selection Based on Backhaul Statistics |
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 |
CN108882219A (en) * | 2018-06-26 | 2018-11-23 | 深圳市梧桐世界科技股份有限公司 | A kind of wireless terminal features management system and method |
Non-Patent Citations (6)
Title |
---|
""RP-161800"", 《3GPP TSG_RAN\TSG_RAN》 * |
K. KARUNAMBIGA等: "Channel selection strategy for jamming-resistant reactive frequency hopping in Cognitive WiFi network", 《2015 INTERNATIONAL CONFERENCE ON SOFT-COMPUTING AND NETWORKS SECURITY (ICSNS)》 * |
周逊等: "高效快速的太赫兹无线个域网双信道MAC协议", 《计算机应用》 * |
康海燕等: "基于BP神经网络的Wi-Fi安全评价模型的研究", 《通信学报》 * |
张颖等: "移动端非显式用户身份信息的隐私问题研究", 《计算机系统应用》 * |
陈菁菁等: "基于WiFi嗅探数据的地铁网络客流分析技术", 《城市轨道交通研究》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113316165A (en) * | 2020-02-26 | 2021-08-27 | 瑞昱半导体股份有限公司 | Method and apparatus for dynamic statistical period adjustment for rate adaptation |
CN113316165B (en) * | 2020-02-26 | 2024-02-27 | 瑞昱半导体股份有限公司 | Method and apparatus for dynamic statistics period adjustment for rate adaptation |
Also Published As
Publication number | Publication date |
---|---|
CN109451530B (en) | 2022-04-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2868009B1 (en) | Apparatus and method to efficiently send device trigger messages | |
US8447815B2 (en) | System and method for instant message transmission in mobile communication terminal | |
CN101080096B (en) | Access control device, wireless device, and network | |
EP1197103B1 (en) | Method and mobile switching center for reporting capability to perform periodic broadcast short message service (sms), and message center | |
CN102006571A (en) | Report terminal function for supporting short message service | |
EP1772998A3 (en) | Method for a wireless station to determine network metrics prior to associating with an access point | |
EP2110997A3 (en) | Network signaling for point-to-multipoint service over single frequency network mode | |
RU2008126955A (en) | METHOD AND DEVICE FOR CONTROLLING COMMUNICATION IDENTIFIERS IN A RADIO-TRANSLATION COMMUNICATION SYSTEM WITH WIRELESS ACCESS WITH MULTIPLE FREQUENCY FREQUENCY FREQUENCY | |
JP2017534188A (en) | Method, telematic server, and base station for supporting vehicular communication in a cellular network | |
KR101384795B1 (en) | Network monitoring and analysis tool | |
CN105532022A (en) | Charging for mtc small data transmission and trigger at mtc-iwf | |
CN101997696A (en) | Method and equipment for transmitting and receiving Push message | |
US20040240417A1 (en) | Repeater remote control system and method in mobile communication system | |
CN107846432A (en) | Data processing equipment and system | |
CN109451530A (en) | Formation gathering method and Information Collection System | |
KR101691158B1 (en) | Apparatus and method for measuring subway congestion degree in mobile communication network | |
KR100692653B1 (en) | Wireless internet data releay method and access gateway system for wireless internet data using the same | |
CN102196356B (en) | Method and system for recommending mobile services in communication network | |
CN101005646A (en) | Method and system for sending multimedia message between different networks | |
CN102045182A (en) | Service fault localization method, device and system | |
CN101170734B (en) | Method and device for service intercommunication between different networks | |
CN105103599B (en) | A kind of receiving/transmission method and relevant device of EIC equipment identification code | |
US20170188189A1 (en) | A Method, System and Device for Requesting Services At a Mobile Network for One of a Plurality of Mobile User Equipment | |
CN101472251A (en) | Method, equipment and system for monitoring rubbish short message | |
CN104284335A (en) | Identification method and system for pseudo source garbage multimedia message |
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 |