CN106792511B - wifi fingerprint data acquisition method and system based on mobile communication signaling acquisition - Google Patents

wifi fingerprint data acquisition method and system based on mobile communication signaling acquisition Download PDF

Info

Publication number
CN106792511B
CN106792511B CN201611063805.6A CN201611063805A CN106792511B CN 106792511 B CN106792511 B CN 106792511B CN 201611063805 A CN201611063805 A CN 201611063805A CN 106792511 B CN106792511 B CN 106792511B
Authority
CN
China
Prior art keywords
information
signaling message
wifi
longitude
latitude
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
CN201611063805.6A
Other languages
Chinese (zh)
Other versions
CN106792511A (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.)
Yitong Century Science And Technology Co Ltd
Original Assignee
Yitong Century Science And Technology 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 Yitong Century Science And Technology Co Ltd filed Critical Yitong Century Science And Technology Co Ltd
Priority to CN201611063805.6A priority Critical patent/CN106792511B/en
Publication of CN106792511A publication Critical patent/CN106792511A/en
Application granted granted Critical
Publication of CN106792511B publication Critical patent/CN106792511B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/20Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/006Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a wifi fingerprint data acquisition method and a system based on mobile communication signaling acquisition, wherein the method comprises the following steps: collecting signaling messages on each line of a mobile communication network; the signaling message contains longitude and latitude information or wifi information. And carrying out centralized convergence on each signaling message, and encapsulating each signaling message subjected to centralized convergence into a data packet. Analyzing longitude and latitude information, wifi information and quintuple information in each signaling message; and combining and associating wifi information and longitude and latitude information corresponding to the same quintuple information. And storing the wifi information and the longitude and latitude information after the association of each combination. The system or the method obtains the corresponding relation between the wifi information and the longitude and latitude position information, can effectively reduce the cost of manual testing, can acquire the wifi information and the longitude and latitude position information in a cross-software mode, and enlarges the information quantity of the wifi information and the longitude and latitude position information.

Description

Wifi fingerprint data acquisition method and system based on mobile communication signaling acquisition
Technical Field
The invention relates to the technical field of communication, in particular to a wifi fingerprint data acquisition method and system based on mobile communication signaling acquisition.
Background
wifi, the name of wireless fidelity, is a technology that allows an electronic device to be connected to a Wireless Local Area Network (WLAN), has the characteristics of wireless convenience, high speed and capability of being used by multiple persons, is increasingly widely applied to families, offices, campuses and commercial places, and Wifi signals can be searched in town centers, particularly in almost any places of large cities. Meanwhile, wifi has the characteristics of relatively fixed position and small single-point coverage, and many map providers utilize the characteristics to realize wifi fingerprint positioning.
in the process of collecting the corresponding relation between wifi information and user positions, there are 2 methods at present: one is manual testing, i.e. hiring human to carry specific devices (including devices capable of collecting wifi signals and devices capable of collecting location information), and recording wifi information and accurate location information searched from the current location at intervals. And secondly, by means of software collection, when the terminal electronic equipment is provided with specified software and the software is started and the GPS is started, the software can report wifi information and GPS position information.
the patents with application numbers CN201510526343.6, CN201410682678.2, and CN201510528886.1 describe methods for collecting wifi fingerprints, and the principle is that, like manual testing, a specific device needs to be manually installed to a specific range before test collection can be started.
The patent with application numbers CN201510189423.7 and CN201310577980.7 describe the method for constructing or updating wifi fingerprint database, and do not mention how the original fingerprint data is collected.
Manual testing is very demanding because of the large number of tests required. Such as 16410.64 square kilometers in beijing, if testing is done every 10 meters (approaching the accuracy of GPS), 164106400 tests will be very expensive, and some locations may not be accessible or accessible to testers, such as a mellin, a closed cell, a factory floor, a closed campus, etc.
software collection has the problem of user software installation preference, for example, a user in area a installs software a, and a user in area B installs software B, which results in asymmetric information and failure to complement software a and software B.
disclosure of Invention
Aiming at the defects of the prior art, the invention provides a wifi fingerprint data acquisition method and a wifi fingerprint data acquisition system based on mobile communication signaling acquisition.
In order to achieve the purpose, the technical scheme of the invention is as follows:
A wifi fingerprint data acquisition method based on mobile communication signaling acquisition comprises the following steps:
Acquiring a signaling message: collecting signaling messages on each line of a mobile communication network; the signaling message contains longitude and latitude information or wifi information; the signaling message containing the longitude and latitude information also contains quintuple information corresponding to the longitude and latitude information; the signaling message containing the wifi information also contains quintuple information corresponding to the wifi information; the quintuple information comprises a user IP address, a user port number, a server IP address, a server port number and a protocol type.
centralizing and encapsulating signaling messages: and carrying out centralized convergence on each signaling message, and encapsulating each signaling message subjected to centralized convergence into a data packet.
Analyzing and associating the signaling message: analyzing longitude and latitude information, wifi information and quintuple information in each signaling message; combining and associating wifi information and longitude and latitude information of each corresponding same quintuple information; the step of analyzing the signaling message specifically includes: filtering out signaling messages containing wifi information; stripping packet header information of the signaling message containing the wifi information, and reserving quintuple information, application layer packet header information and a message body of the signaling message containing the wifi information; selecting a decoding method of a message body of the signaling message containing the wifi information according to application layer packet header information of the signaling message containing the wifi information and a server IP address in quintuple information; and decoding the message body of the signaling message containing the wifi information by adopting a selected decoding method to obtain the wifi information.
And storing the associated information: and storing the wifi information and the longitude and latitude information after the association of each combination.
Further, the step of parsing the signaling message specifically further includes: filtering out signaling messages containing longitude and latitude information; stripping packet header information of the signaling message containing the longitude and latitude information, and reserving quintuple information and a message body of the signaling message containing the longitude and latitude information; associating the signaling message containing longitude and latitude information corresponding to the same quintuple information with the signaling message containing wifi information in a combined manner; selecting a decoding method of a message body of the signaling message containing the longitude and latitude information according to the application layer packet header information of the corresponding signaling message containing the wifi information and the IP address of the server; and decoding the message body of the signaling message containing the latitude and longitude information by adopting the selected decoding method to acquire the latitude and longitude information.
further, the collecting signaling message: the signaling message on each line of the mobile communication network is collected on the public node of each base station controller and the service gateway of the mobile communication network and the public node of the evolution node B and the service gateway.
A wifi fingerprint data acquisition system based on mobile communication signaling collection includes:
The signaling message acquisition module is used for acquiring signaling messages on each line of the mobile communication network; the signaling message contains longitude and latitude information or wifi information; the signaling message containing the longitude and latitude information also contains quintuple information corresponding to the longitude and latitude information; the signaling message containing the wifi information also contains quintuple information corresponding to the wifi information; the quintuple information comprises a user IP address, a user port number, a server IP address, a server port number and a protocol type.
And the signaling message centralizing and encapsulating module is used for performing centralized convergence on each signaling message and encapsulating each signaling message after the centralized convergence into a data packet.
The signaling message analyzing and associating module is used for analyzing the longitude and latitude information, the wifi information and the quintuple information in each signaling message and associating the wifi information and the longitude and latitude information of each pair of corresponding same quintuple information in a combined mode; the signaling message analyzing and associating module comprises:
the first signaling message filtering unit is used for filtering out the signaling message containing the wifi information.
And the first signaling message header removing unit is used for stripping the header information of the signaling message containing the wifi information and reserving quintuple information, application layer header information and a message body of the signaling message containing the wifi information.
and the first message body decoding mode selecting unit is used for selecting a message body decoding method according to the application layer packet header information of the signaling message containing the wifi information and the server IP address in the quintuple information.
And the wifi information acquisition unit is used for decoding the message body of the signaling message containing the wifi information by adopting a selected decoding method to acquire the wifi information.
The associated information storage module: and storing the wifi information and the longitude and latitude information after the association of each combination.
Further, the signaling message parsing and associating module further includes:
And the second signaling message filtering unit is used for filtering the signaling message containing the latitude and longitude information.
and the second signaling message header removing unit is used for stripping the header information of the signaling message containing the latitude and longitude information and reserving quintuple information and a message body of the signaling message containing the latitude and longitude information.
And the signaling message association unit is used for associating the signaling message which corresponds to the same quintuple information and contains the longitude and latitude information with the signaling message which contains the wifi information in a combined manner.
and the second message body decoding mode selecting unit is used for selecting a decoding method of the message body of the signaling message containing the longitude and latitude information according to the application layer packet header information of the corresponding signaling message containing the wifi information and the IP address of the server.
And the latitude and longitude information acquisition unit is used for decoding the message body of the signaling message containing the latitude and longitude information by adopting a selected decoding method to acquire the latitude and longitude information.
Further, the signaling message acquisition module comprises a plurality of lapping devices.
The common node of each base station controller and the service gateway of the mobile communication network and the common node of the evolution node B and the service gateway are respectively provided with a lapping device which is used for collecting signaling messages on each line of the mobile communication network.
The invention has the beneficial effects that:
The system or the method provided by the invention collects the signaling messages of the mobile communication network, obtains the corresponding relation between the wifi information and the position information, can effectively reduce the cost of manual testing, can collect the signaling messages in a cross-software manner, and enlarges the information quantity of the wifi information and the position information.
Drawings
fig. 1 is a schematic structural diagram of a wifi fingerprint data acquisition system connected to a packet domain of a mobile communication network.
fig. 2 is a schematic flow chart of a wifi fingerprint data acquisition method based on mobile communication signaling acquisition in the present invention.
Fig. 3 is a schematic flow chart illustrating wifi information parsing and processing in the signaling message parsing step in fig. 2.
Fig. 4 is a schematic flow chart illustrating the latitude information parsing and processing in the signaling message parsing step in fig. 2.
Fig. 5 is a structural block diagram of a wifi fingerprint data acquisition system based on mobile communication signaling acquisition according to the present invention.
fig. 6 is a block diagram of a wifi information analyzing and processing unit in the signaling message analyzing and associating module in fig. 5.
fig. 7 is a block diagram of a longitude and latitude information analyzing and processing unit in the signaling message analyzing and associating module in fig. 5.
fig. 8 is a schematic view of message collection and transmission when the lapping device in fig. 1 adopts a beam splitter for lapping.
fig. 9 is a schematic diagram of message collection and transmission when the lap joint apparatus in fig. 1 adopts high-resistance lap joint.
FIG. 10 is a schematic diagram of an embodiment of an application of the method or system of the present invention.
wherein the reference numerals of figures 1 to 10 are: the system comprises a signaling message acquisition module 1, a signaling message concentration and encapsulation module 2, a signaling message analysis and association module 3 and an association information storage module 4; a first signaling message filtering unit 311, a first signaling message packet header removing unit 312, a first message body decoding mode selecting unit 313, and a wifi information acquiring unit 314; a second signaling message filtering unit 321, a second signaling message packet header removing unit 322, a signaling message associating unit 323, a second message body decoding mode selecting unit 324, and a latitude and longitude information obtaining unit 325.
Detailed Description
The invention is further illustrated below with reference to the figures and examples.
Example 1:
the invention provides a wifi fingerprint data acquisition method based on mobile communication signaling acquisition.
fig. 1 is a schematic structural diagram of a wifi fingerprint data acquisition system connected to a packet domain of a mobile communication network. The mobile communication network packet domain is composed of mobile terminals, base stations, base station controllers (or radio network controllers), evolved node Bs (evolved node Bs), and serving gateways (or serving GPRS support nodes), wherein one serving gateway can be connected with one or more base station controllers (or radio network controllers), and one base station can be connected with a plurality of mobile terminals through wireless signals; one serving gateway may also be connected to a plurality of enode bs, which may be connected to a plurality of fourth generation mobile terminals via wireless signals. The communication network is owned by a mobile network operator and uses a second generation mobile communication technology or a third generation mobile communication technology or a fourth generation mobile communication technology.
The wifi fingerprint data acquisition system comprises a lap joint device, a centralized gateway, a background server and a storage server. One centralized gateway can be connected with a plurality of lapping devices, one background server can be connected with a plurality of centralized gateways, and one storage server can be connected with a plurality of background servers. The base station controller (or wireless network controller) of each mobile communication network and the public node of the service gateway are respectively provided with a lapping device; and each common node of the evolved node B and the service gateway is provided with a lapping device.
the second generation or third generation mobile terminal is connected with the base station or node B through wireless signal, the base station or node B is connected with the base station controller (or wireless network controller) through a physical interface, the base station controller (or wireless network controller) is connected with the serving GPRS support node through a physical interface, and the control plane signaling and the user plane signaling are transmitted on the physical interface.
The fourth generation mobile terminal is connected with the evolved node B through wireless signals. The control plane signaling of the evolution node B is connected with a mobile management entity; and, the user plane signaling of the evolved node B is connected with the serving gateway.
The lapping device can adopt different lapping methods according to the actual situation of the mobile communication network:
(1) And (4) lapping by adopting tap equipment. tap is a two-layer device that can handle link layer network packets such as ethernet packets. Using virtual network devices, tunneling, such as OpenVPN implementation, may be implemented. In this way, lossless replication can be achieved using passive tap devices for the signaling carried over the ethernet electrical interface.
(2) And overlapping by adopting a light splitter. Referring to fig. 8, the optical splitter is a passive device, also called an optical splitter, which does not require external energy, as long as there is input light. The beam splitter consists of entrance and exit slits, a mirror and a dispersive element, and has the function of separating out the required resonance absorption lines. The signaling of the optical interface is collected by adopting the method, and the signaling is copied by utilizing the principle of a triangular prism.
(3) High resistance lap joints are used. Referring to fig. 9, with this method for coaxial cable acquisition, the impedance of the coaxial cable is typically 75 ohms or 120 ohms, and signals are acquired in parallel using a signal acquirer with an impedance greater than 2000 ohms.
(4) and overlapping by adopting a mirror image method. The method directly uses the mirror function of an IP switch (or an IP router) to copy all the data of one port to the other port.
as shown in fig. 2, the method for acquiring wifi fingerprint data based on mobile communication signaling acquisition of the present invention includes the following steps S1-S6:
Collect signaling message (S1): and acquiring the signaling message on the mobile communication network line through the lapping equipment, and sending the signaling message to the centralized gateway.
The signaling message carries longitude and latitude information or wifi information. The latitude and longitude refers to a spherical coordinate system which defines the space on the earth by utilizing the spherical surface of a three-dimensional space (longitude, latitude and altitude), wherein the latitude and longitude information refers to latitude and longitude numerical values which represent the current accurate position of a user, and most data come from a GPS (global positioning system) module carried by a user terminal.
The signaling message containing the longitude and latitude information also contains quintuple information corresponding to the longitude and latitude information; the signaling message containing the wifi information also contains quintuple information corresponding to the wifi information; the quintuple information comprises a user IP address, a user port number, a server IP address, a server port number and a protocol type.
Centralizing and encapsulating signaling messages (S2): and converging the signaling messages acquired by the lapping devices together through a centralized gateway, and encapsulating each signaling message into a data packet. Because the acquisition may use multiple taps, multiple splitters, and multiple high-impedance heads, all signaling is gathered together for processing. The concentration is to save the following transmission equipment, transmission bandwidth and guarantee reliable transmission.
in order to ensure reliable transmission of the collected signaling, each signaling message is encapsulated, i.e. a data packet is constructed. The data packet includes a header and a body.
The header is used for recording the occurrence time of the currently acquired signaling message, allocating a sequence number for recording the sequence and the total number of the signaling message, and recording information such as the number of the acquisition equipment. Because the acquisition device and the signaling analysis device are not the same machine, a situation that a part of out-of-order (that is, a later acquired signaling message is sent to the analysis device first, and the earlier acquired signaling message is sent to the analysis device later) may occur in the transmission process, and the increase of the packet header information is to ensure that the signaling messages are reliably transmitted in sequence. The message body is used as the load of the data packet and contains longitude and latitude information or wifi information.
Parsing and associating signaling messages (S3): analyzing longitude and latitude information, wifi information and quintuple information in each signaling message through a background server; and combining and associating wifi information and longitude and latitude information corresponding to the same quintuple information.
as shown in fig. 3, in S3, the wifi information parsing and processing process is as follows:
S311: filtering out signaling messages containing wifi information;
S312: stripping packet header information of the signaling message containing the wifi information, and reserving quintuple information, application layer packet header information and a message body of the signaling message containing the wifi information;
s313: selecting a decoding method of a message body of the signaling message containing the wifi information according to application layer packet header information of the signaling message containing the wifi information and a server IP address in quintuple information;
s314: and decoding the message body of the signaling message containing the wifi information by adopting a selected decoding method to obtain the wifi information.
As shown in fig. 4, S3 further includes a process of analyzing and processing latitude and longitude information after S314, as follows:
S321: filtering out signaling messages containing longitude and latitude information;
S322: stripping packet header information of the signaling message containing the longitude and latitude information, and reserving quintuple information and a message body of the signaling message containing the longitude and latitude information;
s323: associating the signaling message containing longitude and latitude information corresponding to the same quintuple information with the signaling message containing wifi information in a combined manner;
S324: selecting a decoding method of a message body of the signaling message containing the longitude and latitude information according to the application layer packet header information of the corresponding signaling message containing the wifi information and the IP address of the server;
S325: and decoding the message body of the signaling message containing the latitude and longitude information by adopting the selected decoding method to acquire the latitude and longitude information.
Wifi information of almost all software is not transmitted in the clear, and longitude and latitude information matched with the wifi information is also not transmitted in the clear mostly, and the wifi information and the longitude and latitude information are generally put in a message body of an HTTP protocol in an encrypted binary code stream mode. The wifi information and the latitude and longitude information are in the same packet data protocol context even if not in the same signaling message, and are presented in pairs. Except that longitude and latitude information which can be matched with WIFI information is encrypted and then placed in a message body of an HTTP (hyper text transport protocol), independent longitude and latitude information (namely only single longitude and latitude information in the context of a packet data protocol and no matched WIFI information) is also provided, and most of the longitude and latitude information is placed in a message header of the HTTP protocol and is transmitted in clear. wifi information and latitude and longitude information are generally processed by methods such as BASE64 encryption, exclusive-or encryption, AES ECB mode encryption, AES CBC mode encryption, ZIP compression, GZIP compression, and the like. And selecting a corresponding decoding method for each software, and correctly restoring the original information.
Decoding of signaling messages is stripped layer by layer as if one very multi-layer envelope is broken, so that header information is stripped for both signaling messages. The quintuple information is a matching key for associating packet data protocol contexts, so that the solution of both information also requires the solution and retention of the quintuple information.
although the IP address of the server is all provided for each signaling message, the header information with the software identification information generally appears only once and is usually in the same signaling message with the wifi information, so the wifi information and the latitude and longitude information are firstly associated through a quintuple, the two associated information can share the software information, and a message body of the signaling message containing the latitude and longitude information is decoded by using a corresponding decoding method.
The combined association of the signaling messages is realized through a background server, and the analyzed wifi information and the longitude and latitude information are combined and associated according to quintuple information; and then sending the combined and associated information to a storage server. The wifi information and the longitude and latitude information may be in the same signaling message or not, when the wifi information and the longitude and latitude information are not in the same signaling message, quintuple information is used for combined association, the signaling messages with the same quintuple are associated together, and the decoded longitude and latitude information and the wifi information are also synthesized together to form wifi fingerprint original data.
Storage association information (S4): and storing the wifi information and the latitude and longitude information after the association of each combination through a storage server for information query and further processing.
The invention does not need manual field test, does not need a terminal user to install special software, and can realize automatic treatment only by intensively installing equipment; the invention has a certain relation with the collection of the equipment installation software, but the invention does not depend on the software model.
Fig. 10 is a schematic diagram of an embodiment of the present invention. For example, the software A and the software B can both realize the collection of wifi fingerprint data, but the software A belongs to the manufacturer A, the software B belongs to the manufacturer B, and the data collected by the manufacturers A and B may be the same or different. Because the manufacturer A can only collect the data with the software of the manufacturer A and the manufacturer B can only collect the software with the manufacturer B, the information collected by the manufacturer A in the area A is complete and the information collected by the manufacturer B in the area B is complete due to the market share. The method can collect the information of A and B at the same time, namely, the information of both the A area and the B area is complete.
Example 2:
The invention provides a wifi fingerprint data acquisition system based on mobile communication signaling acquisition.
Fig. 1 is a schematic structural diagram of a wifi fingerprint data acquisition system connected to a packet domain of a mobile communication network. The mobile communication network packet domain is composed of mobile terminals, base stations, base station controllers (or radio network controllers), evolved node Bs (evolved node Bs), and serving gateways (or serving GPRS support nodes), wherein one serving gateway can be connected with one or more base station controllers (or radio network controllers), and one base station can be connected with a plurality of mobile terminals through wireless signals; one serving gateway may also be connected to a plurality of enode bs, which may be connected to a plurality of fourth generation mobile terminals via wireless signals. The communication network is owned by a mobile network operator and uses a second generation mobile communication technology or a third generation mobile communication technology or a fourth generation mobile communication technology.
The wifi fingerprint data acquisition system comprises a lap joint device, a centralized gateway, a background server and a storage server. One centralized gateway can be connected with a plurality of lapping devices, one background server can be connected with a plurality of centralized gateways, and one storage server can be connected with a plurality of background servers. The base station controller (or wireless network controller) of each mobile communication network and the public node of the service gateway are respectively provided with a lapping device; and each common node of the evolved node B and the service gateway is provided with a lapping device.
The second generation or third generation mobile terminal is connected with the base station or node B through wireless signal, the base station or node B is connected with the base station controller (or wireless network controller) through a physical interface, the base station controller (or wireless network controller) is connected with the serving GPRS support node through a physical interface, and the control plane signaling and the user plane signaling are transmitted on the physical interface.
The fourth generation mobile terminal is connected with the evolved node B through wireless signals. The control plane signaling of the evolution node B is connected with a mobile management entity; and, the user plane signaling of the evolved node B is connected with the serving gateway.
The lapping device can adopt different lapping methods according to the actual situation of the mobile communication network:
(1) The lap joint of the tap equipment is double-layer equipment which can process link layer network packets such as Ethernet packets. Using virtual network devices, tunneling, such as OpenVPN implementation, may be implemented. In this way, lossless replication can be achieved using passive tap devices for the signaling carried over the ethernet electrical interface.
(2) and overlapping by adopting a light splitter. The optical splitter is a passive device, also called an optical splitter, which does not require external energy, as long as there is input light. The beam splitter consists of entrance and exit slits, a mirror and a dispersive element, and has the function of separating out the required resonance absorption lines. The signaling of the optical interface is collected by adopting the method, and the signaling is copied by utilizing the principle of a triangular prism.
(3) High resistance lap joints are used. For the coaxial cable, the impedance of the coaxial cable is 75 ohm or 120 ohm, and a signal acquirer with impedance larger than 2000 ohm is used for acquiring signals in parallel.
(4) And overlapping by adopting a mirror image method. The method directly uses the mirror function of an IP switch (or an IP router) to copy all the data of one port to the other port.
as shown in fig. 5, the wifi fingerprint data acquiring system based on mobile communication signaling acquisition of the present invention includes: the system comprises a signaling message acquisition module 1, a signaling message centralizing and packaging module 2, a signaling message analyzing and associating module 3 and an associated information storage module 4.
The signaling message collecting module 1 is used for collecting signaling messages on each line of the mobile communication network by adopting a plurality of bridging devices and sending the signaling messages to the signaling message centralizing and packaging module 2.
the signaling message carries longitude and latitude information or wifi information. The latitude and longitude refers to a spherical coordinate system which defines the space on the earth by utilizing the spherical surface of a three-dimensional space (longitude, latitude and altitude), wherein the latitude and longitude information refers to latitude and longitude numerical values which represent the current accurate position of a user, and most data come from a GPS (global positioning system) module carried by a user terminal.
The signaling message containing the longitude and latitude information also contains quintuple information corresponding to the longitude and latitude information; the signaling message containing the wifi information also contains quintuple information corresponding to the wifi information; the quintuple information comprises a user IP address, a user port number, a server IP address, a server port number and a protocol type.
The signaling message centralizing and encapsulating module 2 is used for converging the signaling messages acquired by the lapping devices together and encapsulating each signaling message into a data packet. Because the acquisition may use multiple taps, multiple splitters, and multiple high-impedance heads, all signaling is gathered together for processing. The concentration is to save the following transmission equipment, transmission bandwidth and guarantee reliable transmission.
In order to ensure reliable transmission of the collected signaling, each signaling message is encapsulated, i.e. a data packet is constructed. The data packet includes a header and a body.
The header is used for recording the occurrence time of the currently acquired signaling message, allocating a sequence number for recording the sequence and the total number of the signaling message, and recording information such as the number of the acquisition equipment. Because the acquisition device and the signaling analysis device are not the same machine, a situation that a part of out-of-order (that is, a later acquired signaling message is sent to the analysis device first, and the earlier acquired signaling message is sent to the analysis device later) may occur in the transmission process, and the increase of the packet header information is to ensure that the signaling messages are reliably transmitted in sequence. The message body is used as the load of the data packet and contains longitude and latitude information or wifi information.
The signaling message analyzing and associating module 3 is used for analyzing and processing each signaling message, analyzing the longitude and latitude information, the wifi information and the quintuple information in each signaling message, and associating the wifi information and the longitude and latitude information of each pair of corresponding same quintuple information in a combined manner.
as shown in fig. 6, the signaling message parsing and associating module 3 includes the following units for parsing and processing wifi information:
the first signaling message filtering unit 311 is configured to filter out a signaling message containing wifi information.
the first signaling message decapsulation unit 312 is configured to strip the header information of the signaling message containing the wifi information, and retain the quintuple information, the application layer header information, and the message body of the signaling message containing the wifi information.
the first message body decoding mode selecting unit 313 is configured to select a message body decoding method according to the application layer packet header information of the signaling message containing the wifi information and the server IP address in the quintuple information.
And the wifi information obtaining unit 314 is configured to decode the message body of the signaling message containing the wifi information by using the selected decoding method, so as to obtain the wifi information.
As shown in fig. 7, the signaling message parsing and associating module 3 further includes the following units for the process of parsing and processing latitude and longitude information:
A second signaling message filtering unit 321, configured to filter out a signaling message containing latitude and longitude information;
A second signaling message packet header removing unit 322, configured to strip the packet header information of the signaling message containing the latitude and longitude information, and retain the quintuple information and the message body of the signaling message containing the latitude and longitude information;
a signaling message association unit 323, configured to associate a signaling message containing longitude and latitude information corresponding to the same quintuple information with a signaling message containing wifi information in a combined manner;
A second message body decoding mode selecting unit 324, configured to select a decoding method for a message body of a signaling message containing latitude and longitude information according to application layer packet header information of the corresponding signaling message containing wifi information and a server IP address;
the latitude and longitude information obtaining unit 325 is configured to decode the message body of the signaling message containing the latitude and longitude information by using the selected decoding method, and obtain the latitude and longitude information.
Wifi information of almost all software is not transmitted in the clear, and longitude and latitude information matched with the wifi information is also not transmitted in the clear mostly, and the wifi information and the longitude and latitude information are generally put in a message body of an HTTP protocol in an encrypted binary code stream mode. The wifi information and the latitude and longitude information are in the same packet data protocol context even if not in the same signaling message, and are presented in pairs. Except that longitude and latitude information which can be matched with WIFI information is encrypted and then placed in a message body of an HTTP (hyper text transport protocol), independent longitude and latitude information (namely only single longitude and latitude information in the context of a packet data protocol and no matched WIFI information) is also provided, and most of the longitude and latitude information is placed in a message header of the HTTP protocol and is transmitted in clear. wifi information and latitude and longitude information are generally processed by methods such as BASE64 encryption, exclusive-or encryption, aesebb mode encryption, AES CBC mode encryption, ZIP compression, GZIP compression, and the like. And selecting a corresponding decoding method for each software, and correctly restoring the original information.
Decoding of signaling messages is stripped layer by layer as if one very multi-layer envelope is broken, so that header information is stripped for both signaling messages. The quintuple information is a matching key for associating packet data protocol contexts, so that the solution of both information also requires the solution and retention of the quintuple information.
although the IP address of the server is all provided for each signaling message, the header information with the software identification information generally appears only once and is usually in the same signaling message with the wifi information, so the wifi information and the latitude and longitude information are firstly associated through a quintuple, the two associated information can share the software information, and a message body of the signaling message containing the latitude and longitude information is decoded by using a corresponding decoding method.
the combined association of the signaling messages is realized, and the analyzed wifi information and the longitude and latitude information are combined and associated according to quintuple information; and then sending the combined and associated information to a storage server. The wifi information and the longitude and latitude information may be in the same signaling message or not, when the wifi information and the longitude and latitude information are not in the same signaling message, quintuple information is used for combined association, the signaling messages with the same quintuple are associated together, and the decoded longitude and latitude information and the wifi information are also synthesized together to form wifi fingerprint original data.
The associated information storage module 4 is used for storing the wifi information and the longitude and latitude information after association of each combination for information query and further processing.
the invention does not need manual field test, does not need a terminal user to install special software, and can realize automatic treatment only by intensively installing equipment; the invention has a certain relation with the collection of the equipment installation software, but the invention does not depend on the software model.
Fig. 10 is a schematic diagram of an embodiment of the present invention. For example, the software A and the software B can both realize the collection of wifi fingerprint data, but the software A belongs to the manufacturer A, the software B belongs to the manufacturer B, and the data collected by the manufacturers A and B may be the same or different. Because the manufacturer A can only collect the data with the software of the manufacturer A and the manufacturer B can only collect the software with the manufacturer B, the information collected by the manufacturer A in the area A is complete and the information collected by the manufacturer B in the area B is complete due to the market share. The method can collect the information of A and B at the same time, namely, the information of both the A area and the B area is complete.
what has been described above is only a preferred embodiment of the present invention, and the present invention is not limited to the above examples. It is to be understood that other modifications and variations directly derivable or suggested by those skilled in the art without departing from the basic concept of the present invention are to be considered as included within the scope of the present invention.

Claims (6)

1. a wifi fingerprint data acquisition method based on mobile communication signaling acquisition is characterized by comprising the following steps:
Acquiring a signaling message: collecting signaling messages on each line of a mobile communication network; the signaling message contains longitude and latitude information or wifi information; the signaling message containing the longitude and latitude information also contains quintuple information corresponding to the longitude and latitude information; the signaling message containing the wifi information also contains quintuple information corresponding to the wifi information; the quintuple information comprises a user IP address, a user port number, a server IP address, a server port number and a protocol type;
Centralizing and encapsulating signaling messages: carrying out centralized convergence on each signaling message, and encapsulating each signaling message subjected to centralized convergence into a data packet;
analyzing and associating the signaling message: analyzing longitude and latitude information, wifi information and quintuple information in each signaling message; combining and associating wifi information and longitude and latitude information of each corresponding same quintuple information; the step of analyzing the signaling message specifically includes:
Filtering out signaling messages containing wifi information;
stripping packet header information of the signaling message containing the wifi information, and reserving quintuple information, application layer packet header information and a message body of the signaling message containing the wifi information;
Selecting a decoding method of a message body of the signaling message containing the wifi information according to application layer packet header information of the signaling message containing the wifi information and a server IP address in quintuple information;
Decoding a message body of the signaling message containing the wifi information by adopting a selected decoding method to obtain the wifi information;
And storing the associated information: and storing the wifi information and the longitude and latitude information after the association of each combination.
2. The wifi fingerprint data acquisition method based on mobile communication signaling collection according to claim 1, characterized in that:
The step of analyzing the signaling message further includes:
filtering out signaling messages containing longitude and latitude information;
stripping packet header information of the signaling message containing the longitude and latitude information, and reserving quintuple information and a message body of the signaling message containing the longitude and latitude information;
Associating the signaling message containing longitude and latitude information corresponding to the same quintuple information with the signaling message containing wifi information in a combined manner;
Selecting a decoding method of a message body of the signaling message containing the longitude and latitude information according to the application layer packet header information of the corresponding signaling message containing the wifi information and the IP address of the server;
and decoding the message body of the signaling message containing the latitude and longitude information by adopting the selected decoding method to acquire the latitude and longitude information.
3. The wifi fingerprint data acquisition method based on mobile communication signaling collection according to claim 1, characterized in that:
The acquisition of the signaling message: the signaling message on each line of the mobile communication network is collected on the public node of each base station controller and the service gateway of the mobile communication network and the public node of the evolution node B and the service gateway.
4. the utility model provides a wifi fingerprint data acquisition system based on mobile communication signaling is gathered which characterized in that includes:
the signaling message acquisition module is used for acquiring signaling messages on each line of the mobile communication network; the signaling message contains longitude and latitude information or wifi information; the signaling message containing the longitude and latitude information also contains quintuple information corresponding to the longitude and latitude information; the signaling message containing the wifi information also contains quintuple information corresponding to the wifi information; the quintuple information comprises a user IP address, a user port number, a server IP address, a server port number and a protocol type;
The signaling message centralizing and packaging module is used for performing centralized convergence on each signaling message and packaging each signaling message after the centralized convergence into a data packet;
The signaling message analyzing and associating module is used for analyzing the longitude and latitude information, the wifi information and the quintuple information in each signaling message and associating the wifi information and the longitude and latitude information of each pair of corresponding same quintuple information in a combined mode; the signaling message analyzing and associating module comprises:
The first signaling message filtering unit is used for filtering out a signaling message containing wifi information;
the first signaling message packet header removing unit is used for stripping packet header information of the signaling message containing the wifi information and reserving quintuple information, application layer packet header information and a message body of the signaling message containing the wifi information;
The first message body decoding mode selection unit is used for selecting a message body decoding method according to application layer packet header information of the signaling message containing wifi information and a server IP address in quintuple information;
the wifi information acquisition unit is used for decoding a message body of the signaling message containing the wifi information by adopting a selected decoding method to acquire the wifi information;
The associated information storage module: and storing the wifi information and the longitude and latitude information after the association of each combination.
5. the wifi fingerprint data acquisition system based on mobile communication signaling collection of claim 4 is characterized by:
The signaling message parsing and associating module further comprises:
the second signaling message filtering unit is used for filtering the signaling message containing the longitude and latitude information;
The second signaling message packet header removing unit is used for stripping the packet header information of the signaling message containing the longitude and latitude information and reserving quintuple information and a message body of the signaling message containing the longitude and latitude information;
The signaling message association unit is used for associating the signaling message which corresponds to the same quintuple information and contains the longitude and latitude information with the signaling message which contains the wifi information in a combined manner;
the second message body decoding mode selection unit is used for selecting a decoding method of the message body of the signaling message containing the longitude and latitude information according to the corresponding application layer packet header information of the signaling message containing the wifi information and the IP address of the server;
And the latitude and longitude information acquisition unit is used for decoding the message body of the signaling message containing the latitude and longitude information by adopting a selected decoding method to acquire the latitude and longitude information.
6. The wifi fingerprint data acquisition system based on mobile communication signaling collection of claim 4 is characterized by:
The signaling message acquisition module comprises a plurality of lapping devices;
The common node of each base station controller and the service gateway of the mobile communication network and the common node of the evolution node B and the service gateway are respectively provided with a lapping device which is used for collecting signaling messages on each line of the mobile communication network.
CN201611063805.6A 2016-11-28 2016-11-28 wifi fingerprint data acquisition method and system based on mobile communication signaling acquisition Active CN106792511B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611063805.6A CN106792511B (en) 2016-11-28 2016-11-28 wifi fingerprint data acquisition method and system based on mobile communication signaling acquisition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611063805.6A CN106792511B (en) 2016-11-28 2016-11-28 wifi fingerprint data acquisition method and system based on mobile communication signaling acquisition

Publications (2)

Publication Number Publication Date
CN106792511A CN106792511A (en) 2017-05-31
CN106792511B true CN106792511B (en) 2019-12-13

Family

ID=58901863

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611063805.6A Active CN106792511B (en) 2016-11-28 2016-11-28 wifi fingerprint data acquisition method and system based on mobile communication signaling acquisition

Country Status (1)

Country Link
CN (1) CN106792511B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497667A (en) * 2011-12-20 2012-06-13 中国电信股份有限公司 Method and system for positioning WiFi (wireless fidelity) application focused areas

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9122693B2 (en) * 2010-11-30 2015-09-01 Nokia Technologies Oy Method and apparatus for determining contextually relevant geographical locations
CN104703143B (en) * 2015-03-18 2018-03-27 北京理工大学 A kind of indoor orientation method based on WIFI signal intensity

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497667A (en) * 2011-12-20 2012-06-13 中国电信股份有限公司 Method and system for positioning WiFi (wireless fidelity) application focused areas

Also Published As

Publication number Publication date
CN106792511A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN109996284A (en) Mobile communication Trouble call worksheet method, apparatus, equipment and medium
CN107018001B (en) Application fault positioning method and device
CN104641673A (en) A method and a test system for automatically configuring a tester
CN108809769B (en) Method for detecting IPv6 liveness and electronic equipment
CN104125262A (en) Household appliance control system and data analysis method thereof
CN105513156A (en) Method for carrying out inspection work based on intelligent terminal carrying GPS (Global Positioning System) and map information
CN113225339B (en) Network security monitoring method and device, computer equipment and storage medium
CN104135740A (en) Distribution automation wireless communication fault locating method
CN104243589A (en) Operation service platform system and method based on Big Dipper RDSS/RNSS
CN103581338A (en) On-line pollution source monitoring data monitoring system
CN104754598A (en) Method and system for obtaining position of mobile user by monitoring mobile signalings
CN105979577A (en) Method and system for obtaining visit information of user
CN105070058A (en) Accurate traffic analysis method and system based on real-time traffic video
CN101742259A (en) Digital television monitoring method and digital television monitoring system
CN106792511B (en) wifi fingerprint data acquisition method and system based on mobile communication signaling acquisition
CN103124407A (en) Determination method and device for on-line mode of mobile user
KR20120093548A (en) Apparatus and method for measureing network quality in wireless communication system
TWI580288B (en) Action online quality analysis system and method
CN109981386B (en) Network quality testing method, testing server and testing system
CN108513351B (en) Communication position determining method and device
CN102905220B (en) Test file acquisition methods, device, test terminal and server
CN105376116A (en) Test device and test method for data packet capturing between wireless router and mobile terminal
CN108616415A (en) data correlation method and device
CN103841519B (en) The method and apparatus of geographical position are accurately positioned by Network Sniffing
CN104462235A (en) Internet of Things general event service mechanism based on Restful Web Service

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
CB02 Change of applicant information

Address after: 510665 East Floor 3, No. 14 and No. 16 Jianzhong Road, Tianhe District, Guangzhou City, Guangdong Province

Applicant after: Yitong Century Science and Technology Co., Ltd.

Address before: 510630 East Floor 3, No. 14 and No. 16 Jianzhong Road, Tianhe District, Guangzhou City, Guangdong Province

Applicant before: Guangdong Eastone Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant