CN106792511A - Wifi finger print datas acquisition methods and system based on mobile communication signal collecting - Google Patents
Wifi finger print datas acquisition methods and system based on mobile communication signal collecting Download PDFInfo
- Publication number
- CN106792511A CN106792511A CN201611063805.6A CN201611063805A CN106792511A CN 106792511 A CN106792511 A CN 106792511A CN 201611063805 A CN201611063805 A CN 201611063805A CN 106792511 A CN106792511 A CN 106792511A
- Authority
- CN
- China
- Prior art keywords
- information
- signaling message
- wifi
- latitude
- longitude
- 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
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/025—Services making use of location information using location based information parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/06—Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
- H04W28/065—Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/20—Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
- H04W64/006—Locating 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 kind of wifi finger print datas acquisition methods and system based on mobile communication signal collecting, method is comprised the following steps:Signaling message on collection each circuit of mobile communications network;The signaling message contains latitude and longitude information or wifi information.Concentration convergence is carried out to each signaling message, each signaling message after convergence will be concentrated to be packaged into packet.By the latitude and longitude information in each signaling message, wifi information, five-tuple information analysis out;And the wifi information the identical five-tuple information of each correspondence is associated with latitude and longitude information combination.Wifi information and latitude and longitude information after each combination association is stored.The system or method obtain the corresponding relation of wifi information and longitude and latitude positional information, can effectively reduce the expense of manual testing, and across software collection, can expand the information content of wifi information and longitude and latitude positional information.
Description
Technical field
The present invention relates to communication technical field, more particularly to the wifi finger print datas acquisition based on mobile communication signal collecting
Method and system.
Background technology
Wifi, full name wireless fidelity, translate entitled Wireless Fidelity, are that a kind of permission electronic equipment is connected to
One technology of WLAN (WLAN), with it is wireless convenient, speed is high, can be used for many people simultaneously the characteristics of, it is just more next
Family, office, campus and commercial location are more widely used in, the substantially any place in Town Center particularly big city can
Search the signal of wifi.Meanwhile, the characteristics of wifi is relatively fixed with position, single-point coverage is small again, many maps are carried
Wifi fingerprint locations are realized using this feature for business, cardinal principle is that collection various regions wifi information is corresponding with exact position
Relation, when user's request is positioned and reports the wifi information on periphery, map vendors can be calculated according to the wifi information
The exact position of user simultaneously returns to user.
Wifi information and this process of the corresponding relation of customer location are collected, there are 2 kinds of methods at present:One is manual testing,
Manpower is employed to carry specific equipment (equipment containing that can collect the equipment of wifi signals and positional information can be collected), Mei Geyi
Wifi information and accurate positional information that segment distance Present location search of record is arrived.Two are collected using software, work as end
End electronic equipment is mounted with designated software, opens the software while when opening GPS, software can report wifi information and GPS location
Information.
Application No. CN201510526343.6, CN201410682678.2, the patent of CN201510528886.1, illustrate
The acquisition method of wifi fingerprints, its principle is still, it is necessary to the manual placement equipment specified is to specifying as manual testing
Scope, then could start test and collect.
The patent of Application No. CN201510189423.7 and CN201310577980.7, elaborates the structure of wifi fingerprint bases
Build or update method, do not refer to how original finger print data gathers.
Manual testing is since it is desired that the amount of test is very big.Such as Beijing's area is 16410.64 square kilometres, if often
10 meters will test once (close to the precision of GPS), will test 164106400 times, and expense will be very high, and some ground
Square tester may cannot be introduced into or can not arbitrarily come in and go out, such as thick forest, closing cell, plant area, closing campus etc..
Software is collected, and there is a problem of that user installation software is liked, such as the party A-subscriber in A areas is mounted with A softwares, B areas
Party B-subscriber be mounted with B softwares, this can cause A softwares and B software informations asymmetric and cannot realize complementation.
The content of the invention
In view of the shortcomings of the prior art, the present invention proposes a kind of wifi finger print datas based on mobile communication signal collecting
Acquisition methods and system, the method or system are acquired to the signaling message of mobile communications network, obtain wifi information and position
The corresponding relation of confidence breath, can effectively reduce the expense of manual testing, and can expand wifi information and position across software collection
The information content of information.
To achieve these goals, technical solution of the present invention is as follows:
A kind of wifi finger print data acquisition methods based on mobile communication signal collecting, comprise the following steps:
Collection signaling message:Signaling message on collection each circuit of mobile communications network;The signaling message contains longitude and latitude
Degree information or wifi information;Signaling message containing the latitude and longitude information also contains corresponding with the latitude and longitude information five
Tuple information;Signaling message containing the wifi information also contains the five-tuple information corresponding with the wifi information;Institute
Five-tuple packet is stated containing IP address, user port number, server ip address, server end slogan, protocol type.
Concentrate and encapsulating signalling messages:Concentration convergence is carried out to each signaling message, each signaling message after convergence will be concentrated
It is packaged into packet.
Parse and associate signaling message:By the latitude and longitude information in each signaling message, wifi information, five-tuple information analysis
Out;And the wifi information the identical five-tuple information of each correspondence is associated with latitude and longitude information combination.
Storage related information:Wifi information and latitude and longitude information after each combination association is stored.
Further, the step of parsing signaling message is specifically included:Filter out the signaling message containing wifi information;
The header packet information of signaling message of the stripping containing wifi information, the five-tuple information of signaling message of the reservation containing wifi information,
Application layer header packet information, message body;Application layer header packet information and five-tuple information according to the signaling message containing wifi information
The coding/decoding method of the message body of the selected signaling message containing wifi information of interior server ip address;Using selected decoding side
Method is decoded to the message body of the signaling message containing wifi information, obtains wifi information.
Further, the step of parsing signaling message specifically also includes:Filter out the signaling containing latitude and longitude information
Message;The header packet information of the signaling message containing latitude and longitude information is peeled off, retains five of the signaling message containing latitude and longitude information
Tuple information, message body;The signaling message containing latitude and longitude information of identical five-tuple information will be corresponded to and contain wifi information
Signaling message combination association;According to the application layer header packet information and server of the signaling message accordingly containing wifi information
The coding/decoding method of the message body of the selected signaling message containing latitude and longitude information of IP address;Using selected coding/decoding method to containing
The message body of the signaling message of latitude and longitude information is decoded, and obtains latitude and longitude information.
Further, the collection signaling message:In each base station controller and the public affairs of gateway of mobile communications network
Eutectic point and evolved node B disappear with the signaling on collection each circuit of mobile communications network in the common node of gateway
Breath.
A kind of wifi finger print datas based on mobile communication signal collecting obtain system, including:
Signaling message acquisition module, for gathering the signaling message on each circuit of mobile communications network;The signaling message
Contain latitude and longitude information or wifi information;Signaling message containing the latitude and longitude information also contains and the latitude and longitude information phase
Corresponding five-tuple information;Signaling message containing the wifi information also contains the five-tuple corresponding with the wifi information
Information;The five-tuple packet contains IP address, user port number, server ip address, server end slogan, protocol class
Type.
Signaling message is concentrated and package module, each after restraining by concentrating for carrying out concentration convergence to each signaling message
Signaling message is packaged into packet.
Signaling message is parsed and relating module, for by the latitude and longitude information in each signaling message, wifi information, five-tuple
Out, and wifi information the identical five-tuple information of each correspondence is associated information analysis with latitude and longitude information combination.
Related information memory module:Wifi information and latitude and longitude information after each combination association is stored.
Further, the signaling message parsing module includes:
First signaling message filter element, for filtering out the signaling message containing wifi information.
First signaling message removes packet header unit, the header packet information for peeling off the signaling message containing wifi information, retains
The five-tuple information of the signaling message containing wifi information, application layer header packet information, message body.
First message body decoding process selectes unit, for the application layer packet header of signaling message of the basis containing wifi information
The coding/decoding method of the server ip address selected message body in information and five-tuple information.
Wifi information acquisition units, for using selected coding/decoding method to the message of the signaling message containing wifi information
Body is decoded, and obtains wifi information.
Further, the signaling message parsing module also includes:
Second signaling message filter element, for filtering out the signaling message containing latitude and longitude information.
Second signaling message removes packet header unit, the header packet information for peeling off the signaling message containing latitude and longitude information, protects
Stay five-tuple information, the message body of the signaling message containing latitude and longitude information.
Signaling message associative cell, for will the identical five-tuple information of correspondence the signaling message containing latitude and longitude information with
Signaling message combination association containing wifi information.
Second message body decoding process selectes unit, for the application according to the corresponding signaling message containing wifi information
The coding/decoding method of the message body of layer header packet information and the selected signaling message containing latitude and longitude information of server ip address.
Latitude and longitude information acquiring unit, for using selected coding/decoding method to the signaling message containing latitude and longitude information
Message body is decoded, and obtains latitude and longitude information.
Further, the signaling message acquisition module includes several gap-bridging devices.
In each base station controller of mobile communications network and the common node of gateway and evolved node B and service
A gap-bridging device is respectively mounted in the common node of gateway, for gathering the signaling message on each circuit of mobile communications network.
Beneficial effects of the present invention:
System proposed by the present invention or method are acquired to the signaling message of mobile communications network, obtain wifi information with
The corresponding relation of positional information, can effectively reduce the expense of manual testing, and can expand wifi information and position across software collection
The information content of confidence breath.
Brief description of the drawings
Fig. 1 is that wifi finger print datas obtain the structural representation that system is connected with mobile communications network packet domain.
Fig. 2 is the schematic flow sheet of wifi finger print data acquisition methods of the present invention based on mobile communication signal collecting.
Fig. 3 is wifi information analysis and the schematic flow sheet for the treatment of in parsing signaling message step in Fig. 2.
Fig. 4 is the schematic flow sheet of latitude and longitude information parsing and treatment in parsing signaling message step in Fig. 2.
Fig. 5 is the structured flowchart that wifi finger print data of the present invention based on mobile communication signal collecting obtains system.
Fig. 6 be in Fig. 5 in signaling message parsing module to wifi information analysis and the structured flowchart of processing unit.
Fig. 7 is the structured flowchart of pair warp and weft degree information analysis and processing unit in signaling message parsing module in Fig. 5.
Fig. 8 is message collection when gap-bridging device is overlapped using optical splitter in Fig. 1 and transmission schematic diagram.
Fig. 9 is message collection when gap-bridging device is overlapped using high resistant in Fig. 1 and transmission schematic diagram.
Figure 10 is the schematic diagram of the method for the present invention or systematic difference embodiment.
Wherein, the reference of Fig. 1 to Figure 10 is:Signaling message acquisition module 1, signaling message concentrate and package module 2,
Signaling message is parsed and relating module 3, related information memory module 4;First signaling message filter element 311, the first signaling disappear
Breath goes packet header unit 312, first message body decoding process to select unit 313, wifi information acquisition units 314;Second signaling disappears
Breath filter element 321, the second signaling message go to packet header unit 322, signaling message associative cell 323, the second message body decoding side
Formula selectes unit 324, latitude and longitude information acquiring unit 325.
Specific embodiment
With reference to the accompanying drawings and examples, the present invention is expanded on further.
Embodiment 1:
The invention provides a kind of wifi finger print data acquisition methods based on mobile communication signal collecting.
As shown in figure 1, for wifi finger print datas obtain the structural representation that system is connected with mobile communications network packet domain
Figure.Mobile communications network packet domain is by mobile terminal, base station, base station controller (or radio network controller), evolved node
B, gateway (or Serving GPRS Support Node) composition, a gateway can connect one or more base station controllers
(or radio network controller) a, base station can connect multiple mobile terminals by wireless signal;One gateway may be used also
Multiple forth generation mobile terminals can be connected by wireless signal to connect multiple evolved node B, evolved node B.This leads to
Communication network belongs to Mobile Network Operator to be owned, and uses Generation Mobile Telecommunication System technology or G mobile communication or forth generation
Mobile communication technology.
Wifi finger print datas obtain system to be included gap-bridging device, concentrates gateway, background server, storage server.One
Concentrating gateway can connect multiple gap-bridging devices, and a background server can connect multiple concentration gateways, a storage service
Device can connect multiple background servers.The base station controller (or radio network controller) of each mobile communications network and service
A gap-bridging device is respectively provided with the common node of gateway;Respectively set in each evolved node B and the common node of gateway
There is a gap-bridging device.
The second generation or third generation mobile terminal connect base station or node B by wireless signal, and base station or node B pass through physics
Interface connects base station controller (or radio network controller), and base station controller (or radio network controller) connects further through physics
Mouth Connection Service GPRS Support Node, control plane signaling and user's plane signaling are transmitted on the physical interface.
Forth generation mobile terminal connects evolved node B by wireless signal.The control plane signaling of evolved node B and shifting
Dynamic management entity connection;Also, user's plane signaling of evolved node B is connected with gateway.
Gap-bridging device can use different bridging methods according to the actual conditions of mobile communications network:
(1) using tap equipment overlap joint.Tap is two-layer equipment, can process link layer network bag such as Ethernet bag.Use void
Intend the network equipment, it is possible to achieve the realization in tunnel, such as OpenVPN.To Ethernet electrical interface carry signaling in this way,
Lossless duplication can be realized using passive tap equipment.
(2) overlapped using optical splitter.Referring to Fig. 8, optical splitter is a kind of passive device, and also known as optical branching device, they are not required to
External energy is wanted, as long as there is input light.Optical splitter is made up of incident and exit slit, speculum and dispersion element, its work
With being to separate required RESONANCE ABSORPTION line.Signaling to optical interface is gathered in this way, using prism
Principle replicates signaling.
(3) overlapped using high resistant.Referring to Fig. 9, gathered in this way for coaxial cable, general coax impedance
It it is 75 ohm or 120 ohm, the signal acquisition device using impedance more than 2000 ohm is in parallel to obtain signal.
(4) overlapped using image method.The method directly utilizes the image feature of IP interchangers (or ip router), certain
The data of port are all copied to another port.
As shown in Fig. 2 the wifi finger print datas acquisition methods based on mobile communication signal collecting of the invention are including following
Step S1-S6:
Collection signaling message (S1):Signaling message on mobile communications network circuit where being gathered by gap-bridging device, and
Signaling message is delivered into concentration gateway.
Signaling message carries latitude and longitude information or wifi information.Longitude and latitude refer to it is a kind of using three-dimensional space (longitude, latitude,
Sphere highly) defines the spherical coordinate system in tellurian space, and latitude and longitude information here refers to and represents user at that time
The longitude and latitude numerical value of exact position, GPS (global positioning system) module that most of data source is carried in user terminal.
Signaling message containing the latitude and longitude information also contains the five-tuple information corresponding with the latitude and longitude information;
Signaling message containing the wifi information also contains the five-tuple information corresponding with the wifi information;The five-tuple letter
Breath includes IP address, user port number, server ip address, server end slogan, protocol type.
Concentrate and encapsulating signalling messages (S2):The signaling message that each gap-bridging device is obtained is converged to one by concentrating gateway
Rise, and every signaling message is packaged into packet.Because collection may use multiple tap, multiple optical splitters, multiple high resistants
All of signaling, is brought together treatment by head.Concentration is can in order to save transmission equipment below, transmission bandwidth and guarantee
By transmission.
It is the reliable transmission of the signaling that guarantee is collected, every signaling message is all packaged, that is, constructs a data
Bag.Packet includes packet header and message body.
Packet header is used to record the time of origin of the current signaling message for collecting, and one sequence number of distribution is used for record and believes
The order and sum of message are made, and records the information such as collecting device number.Because collecting device is not same with signaling resolution equipment
Platform machine, transmit process there may be part it is out of order (signaling message that may collect below has first been sent to analyzing device, first
The signaling message for collecting on the contrary below be just sent to analyzing device) situation, it is exactly to ensure letter to increase these header packet informations
Message is made reliably to transmit in order.Message body contains latitude and longitude information or wifi information as the load of packet.
Parse and associate signaling message (S3):By background server by the latitude and longitude information in each signaling message, wifi
Information, five-tuple information analysis are out;And wifi information and latitude and longitude information the combination pass the identical five-tuple information of each correspondence
Connection.
As shown in figure 3, in S3, wifi information analysis and processing procedure are as follows:
S311:Filter out the signaling message containing wifi information;
S312:The header packet information of the signaling message containing wifi information is peeled off, retains the signaling message containing wifi information
Five-tuple information, application layer header packet information, message body;
S313:The server in application layer header packet information and five-tuple information according to the signaling message containing wifi information
The coding/decoding method of the message body of the selected signaling message containing wifi information of IP address;
S314:The message body of the signaling message containing wifi information is decoded using selected coding/decoding method, is obtained
Wifi information.
As shown in figure 4, in S3, after S314 also comprising latitude and longitude information parsing and processing procedure, it is as follows:
S321:Filter out the signaling message containing latitude and longitude information;
S322:The header packet information of the signaling message containing latitude and longitude information is peeled off, retains the signaling containing latitude and longitude information
The five-tuple information of message, message body;
S323:By the signaling message containing latitude and longitude information and the letter containing wifi information of the identical five-tuple information of correspondence
Message is made to combine association;
S324:According to the application layer header packet information and server ip address of the signaling message accordingly containing wifi information
The coding/decoding method of the message body of the selected signaling message containing latitude and longitude information;
S325:The message body of the signaling message containing latitude and longitude information is decoded using selected coding/decoding method, is obtained
Learn from else's experience latitude information.
The wifi information of nearly all software is not transmission, the latitude and longitude information with wifi information match in plain text
Major part is not transmission in plain text, in the message body that they are typically placed on http protocol in the form of the binary code stream after encryption.
It is also upper and lower in same packet data protocol even if these wifi information and latitude and longitude information be not in same signaling message
Wen Zhong, is occur in pairs.HTTP associations are placed on after be able to being encrypted with the latitude and longitude information of wifi information match except those
In the message body of view, also some independent latitude and longitude informations (are only individually passed through i.e. in block data protocol context
Latitude information, does not have matching WIFI information), most of this kind of latitude and longitude information can be placed on the message header of http protocol
In, it is transmission in plain text.Wifi information and latitude and longitude information typically all can be using such as BASE64 encryptions, XOR encryption, AES
The methods such as ecb mode encryption, AES CBC mode encryptions, ZIP compression, GZIP compressions are treated.Correspondence is selected for every money software
Coding/decoding method, correctly reduce prime information.
Signaling message is decoded just as tearing an envelope for plurality of layers open, is in layer peeled off, so two kinds of letters of solution
Information is made to be required for peeling off header packet information.Five-tuple information is the matching key for associated packet data protocol contexts, so
Two kinds of information of solution are also all to need to solve and retain five-tuple information.
Although server ip address is every signaling message having, the header packet information one with mark software information
As only occur once, generally with wifi information in same signaling message, so wifi information and latitude and longitude information are first passed through
Five-tuple is associated, and two kinds of information after having associated just can be with shareware information, with corresponding coding/decoding method to containing longitude and latitude
The message body of the signaling message of information is decoded.
The combination for realizing signaling message by background server is associated, by five-tuple information the wifi information for parsing
Associated with latitude and longitude information combination;Then the information combined after association is sent in storage server.Wifi information and warp
Latitude information is possible in same signaling message, it is also possible to not in same signaling message, when not in same letter
When making in message, association is combined using five-tuple information, the signaling message with identical five-tuple is associated together, its
In decode the latitude and longitude information come and wifi information is also synthesized together, as wifi fingerprints initial data.
Storage related information (S4):The wifi information and latitude and longitude information after each combination association are entered by storage server
Row storage, in case information inquiry and further treatment.
The present invention installs special software, it is only necessary to install equipment concentratedly without manual site's test without terminal user
Achieve that automatic business processing;The present invention installs software and collect with equipment certain relation, but the present invention does not rely on software-type
Number.
As shown in Figure 10, it is the schematic diagram of Application Example of the invention.Such as A softwares and B softwares can be realized
Wifi finger print datas are collected, but A softwares belong to A producers, and B softwares belong to B producers, and the data that A and B producers are collected into may
Have the same, it is also possible to have different, and the present invention can be realized across across the producer collection of software, realize message complementary sense, information can be more
It is accurate and complete.Because A producers can only be collected into the data for being mounted with A manufacturer softwares, B producers can only be collected into and be mounted with B factories
Family's software, due to the relation of occupation rate of market, the information that A producers may collect in A areas is more complete, and B producers may collect in B areas
Information it is more complete.And this method can simultaneously collect the information of A and B, i.e. A areas and B areas all information is complete.
Embodiment 2:
System is obtained the invention provides a kind of wifi finger print datas based on mobile communication signal collecting.
As shown in figure 1, for wifi finger print datas obtain the structural representation that system is connected with mobile communications network packet domain
Figure.Mobile communications network packet domain is by mobile terminal, base station, base station controller (or radio network controller), evolved node
B, gateway (or Serving GPRS Support Node) composition, a gateway can connect one or more base station controllers
(or radio network controller) a, base station can connect multiple mobile terminals by wireless signal;One gateway may be used also
Multiple forth generation mobile terminals can be connected by wireless signal to connect multiple evolved node B, evolved node B.This leads to
Communication network belongs to Mobile Network Operator to be owned, and uses Generation Mobile Telecommunication System technology or G mobile communication or forth generation
Mobile communication technology.
Wifi finger print datas obtain system to be included gap-bridging device, concentrates gateway, background server, storage server.One
Concentrating gateway can connect multiple gap-bridging devices, and a background server can connect multiple concentration gateways, a storage service
Device can connect multiple background servers.The base station controller (or radio network controller) of each mobile communications network and service
A gap-bridging device is respectively provided with the common node of gateway;Respectively set in each evolved node B and the common node of gateway
There is a gap-bridging device.
The second generation or third generation mobile terminal connect base station or node B by wireless signal, and base station or node B pass through physics
Interface connects base station controller (or radio network controller), and base station controller (or radio network controller) connects further through physics
Mouth Connection Service GPRS Support Node, control plane signaling and user's plane signaling are transmitted on the physical interface.
Forth generation mobile terminal connects evolved node B by wireless signal.The control plane signaling of evolved node B and shifting
Dynamic management entity connection;Also, user's plane signaling of evolved node B is connected with gateway.
Gap-bridging device can use different bridging methods according to the actual conditions of mobile communications network:
(1) it is two-layer equipment using tap equipment overlap joint tap, link layer network bag such as Ethernet bag can be processed.Using virtual
The realization of the network equipment, it is possible to achieve tunnel, such as OpenVPN.The signaling carried to Ethernet electrical interface in this way, makes
Lossless duplication can be realized with passive tap equipment.
(2) overlapped using optical splitter.Optical splitter is a kind of passive device, and also known as optical branching device, they do not need external energy
Amount, as long as there is input light.Optical splitter is made up of incident and exit slit, speculum and dispersion element, and its effect is by institute
The RESONANCE ABSORPTION line of needs is separated.Signaling to optical interface is gathered in this way, is replicated using the principle of prism
Signaling.
(3) overlapped using high resistant.Gathered in this way for coaxial cable, general coax impedance is 75 ohm
Or 120 ohm, the signal acquisition device acquisition signal in parallel using impedance more than 2000 ohm.
(4) overlapped using image method.The method directly utilizes the image feature of IP interchangers (or ip router), certain
The data of port are all copied to another port.
As shown in figure 5, the wifi finger print datas based on mobile communication signal collecting of the invention obtain system including:Signaling
Message collection module 1, signaling message is concentrated and package module 2, signaling message parsing module 3, signaling message combination relating module
4th, related information memory module 5.
Signaling message acquisition module 1 is used for using the signaling on several gap-bridging devices collection each circuit of mobile communications network
Message, and signaling message is delivered into signaling message concentration and package module 2.
Signaling message carries latitude and longitude information or wifi information.Longitude and latitude refer to it is a kind of using three-dimensional space (longitude, latitude,
Sphere highly) defines the spherical coordinate system in tellurian space, and latitude and longitude information here refers to and represents user at that time
The longitude and latitude numerical value of exact position, GPS (global positioning system) module that most of data source is carried in user terminal.
Signaling message containing the latitude and longitude information also contains the five-tuple information corresponding with the latitude and longitude information;
Signaling message containing the wifi information also contains the five-tuple information corresponding with the wifi information;The five-tuple letter
Breath includes IP address, user port number, server ip address, server end slogan, protocol type.
Signaling message is concentrated and package module 2 is used to the signaling message that each gap-bridging device is obtained converge to together, and will
Every signaling message is packaged into packet.Because collection may use multiple tap, multiple optical splitters, multiple high resistant heads, institute
Some signalings bring together treatment.Concentration is to save transmission equipment below, transmission bandwidth and ensureing reliable transmission.
It is the reliable transmission of the signaling that guarantee is collected, every signaling message is all packaged, that is, constructs a data
Bag.Packet includes packet header and message body.
Packet header is used to record the time of origin of the current signaling message for collecting, and one sequence number of distribution is used for record and believes
The order and sum of message are made, and records the information such as collecting device number.Because collecting device is not same with signaling resolution equipment
Platform machine, transmit process there may be part it is out of order (signaling message that may collect below has first been sent to analyzing device, first
The signaling message for collecting on the contrary below be just sent to analyzing device) situation, it is exactly to ensure letter to increase these header packet informations
Message is made reliably to transmit in order.Message body contains latitude and longitude information or wifi information as the load of packet.
Signaling message is parsed and relating module 3 is used to that dissection process will to be carried out to each signaling message, by each signaling message
Latitude and longitude information, wifi information, five-tuple information analysis out, and wifi information the identical five-tuple information of each correspondence and
Latitude and longitude information combination association.
As shown in fig. 6, signaling message parsing module 3 comprising following for wifi information analysis and each unit for the treatment of:
First signaling message filter element 311, for filtering out the signaling message containing wifi information.
First signaling message removes packet header unit 312, the header packet information for peeling off the signaling message containing wifi information, protects
Stay five-tuple information, application layer header packet information, the message body of the signaling message containing wifi information.
First message body decoding process selectes unit 313, for the application layer of signaling message of the basis containing wifi information
The coding/decoding method of the server ip address selected message body in header packet information and five-tuple information.
Wifi information acquisition units 314, for using selected coding/decoding method to the signaling message containing wifi information
Message body is decoded, and obtains wifi information.
As shown in fig. 7, signaling message parsing module 3 also comprising it is following for latitude and longitude information parsing and processing procedure it is each
Unit:
Second signaling message filter element 321, for filtering out the signaling message containing latitude and longitude information;
Second signaling message removes packet header unit 322, the header packet information for peeling off the signaling message containing latitude and longitude information,
Retain five-tuple information, the message body of the signaling message containing latitude and longitude information;
Signaling message associative cell 323, for the signaling containing latitude and longitude information of the identical five-tuple information of correspondence to be disappeared
Breath combines association with the signaling message containing wifi information;
Second message body decoding process selectes unit 324, for according to the corresponding signaling message containing wifi information
The coding/decoding method of the message body of application layer header packet information and the selected signaling message containing latitude and longitude information of server ip address;
Latitude and longitude information acquiring unit 325, for being disappeared to the signaling containing latitude and longitude information using selected coding/decoding method
The message body of breath is decoded, and obtains latitude and longitude information.
The wifi information of nearly all software is not transmission, the latitude and longitude information with wifi information match in plain text
Major part is not transmission in plain text, in the message body that they are typically placed on http protocol in the form of the binary code stream after encryption.
It is also upper and lower in same packet data protocol even if these wifi information and latitude and longitude information be not in same signaling message
Wen Zhong, is occur in pairs.HTTP associations are placed on after be able to being encrypted with the latitude and longitude information of wifi information match except those
In the message body of view, also some independent latitude and longitude informations (are only individually passed through i.e. in block data protocol context
Latitude information, does not have matching WIFI information), most of this kind of latitude and longitude information can be placed on the message header of http protocol
In, it is transmission in plain text.Wifi information and latitude and longitude information typically all can be using such as BASE64 encryptions, XOR encryption, AES
The methods such as ecb mode encryption, AES CBC mode encryptions, ZIP compression, GZIP compressions are treated.Correspondence is selected for every money software
Coding/decoding method, correctly reduce prime information.
Signaling message is decoded just as tearing an envelope for plurality of layers open, is in layer peeled off, so two kinds of letters of solution
Information is made to be required for peeling off header packet information.Five-tuple information is the matching key for associated packet data protocol contexts, so
Two kinds of information of solution are also all to need to solve and retain five-tuple information.
Although server ip address is every signaling message having, the header packet information one with mark software information
As only occur once, generally with wifi information in same signaling message, so wifi information and latitude and longitude information are first passed through
Five-tuple is associated, and two kinds of information after having associated just can be with shareware information, with corresponding coding/decoding method to containing longitude and latitude
The message body of the signaling message of information is decoded.
Association is combined in realization to signaling message, by five-tuple information the wifi information and latitude and longitude information for parsing
Combination is associated;Then the information combined after association is sent in storage server.Wifi information has with latitude and longitude information can
Can be in same signaling message, it is also possible to not in same signaling message, when not in same signaling message, make
Association is combined with five-tuple information, the signaling message with identical five-tuple is associated together, wherein decoding what is come
Latitude and longitude information and wifi information are also synthesized together, as wifi fingerprints initial data.
Related information memory module 4 is used to be stored the wifi information and latitude and longitude information after each combination association, with
Standby information inquiry and further treatment.
The present invention installs special software, it is only necessary to install equipment concentratedly without manual site's test without terminal user
Achieve that automatic business processing;The present invention installs software and collect with equipment certain relation, but the present invention does not rely on software-type
Number.
As shown in Figure 10, it is the schematic diagram of Application Example of the invention.Such as A softwares and B softwares can be realized
Wifi finger print datas are collected, but A softwares belong to A producers, and B softwares belong to B producers, and the data that A and B producers are collected into may
Have the same, it is also possible to have different, and the present invention can be realized across across the producer collection of software, realize message complementary sense, information can be more
It is accurate and complete.Because A producers can only be collected into the data for being mounted with A manufacturer softwares, B producers can only be collected into and be mounted with B factories
Family's software, due to the relation of occupation rate of market, the information that A producers may collect in A areas is more complete, and B producers may collect in B areas
Information it is more complete.And this method can simultaneously collect the information of A and B, i.e. A areas and B areas all information is complete.
Above-described is only the preferred embodiment of the present invention, the invention is not restricted to above example.It is appreciated that this
Other improvement and change that art personnel directly derive or associate without departing from the basic idea of the present invention
It is considered as being included within protection scope of the present invention.
Claims (8)
1. a kind of wifi finger print data acquisition methods based on mobile communication signal collecting, it is characterised in that comprise the following steps:
Collection signaling message:Signaling message on collection each circuit of mobile communications network;The signaling message contains longitude and latitude letter
Breath or wifi information;Signaling message containing the latitude and longitude information also contains the five-tuple corresponding with the latitude and longitude information
Information;Signaling message containing the wifi information also contains the five-tuple information corresponding with the wifi information;Described five
Tuple information includes IP address, user port number, server ip address, server end slogan, protocol type;
Concentrate and encapsulating signalling messages:Concentration convergence is carried out to each signaling message, each signaling message encapsulation after convergence will be concentrated
Into packet;
Parse and associate signaling message:Latitude and longitude information in each signaling message, wifi information, five-tuple information analysis are gone out
Come;And the wifi information the identical five-tuple information of each correspondence is associated with latitude and longitude information combination;
Storage related information:Wifi information and latitude and longitude information after each combination association is stored.
2. wifi finger print data acquisition methods based on mobile communication signal collecting according to claim 1, its feature exists
In:
The step of parsing signaling message, specifically includes:
Filter out the signaling message containing wifi information;
The header packet information of the signaling message containing wifi information is peeled off, retains the five-tuple letter of the signaling message containing wifi information
Breath, application layer header packet information, message body;
Server ip address choosing in application layer header packet information and five-tuple information according to the signaling message containing wifi information
The coding/decoding method of the message body of the fixed signaling message containing wifi information;
The message body of the signaling message containing wifi information is decoded using selected coding/decoding method, obtains wifi information.
3. wifi finger print data acquisition methods based on mobile communication signal collecting according to claim 2, its feature exists
In:
The step of parsing signaling message, specifically also includes:
Filter out the signaling message containing latitude and longitude information;
The header packet information of the signaling message containing latitude and longitude information is peeled off, retains five yuan of the signaling message containing latitude and longitude information
Group information, message body;
By the signaling message containing latitude and longitude information and the signaling message group containing wifi information of the identical five-tuple information of correspondence
Close association;
Application layer header packet information and server ip address according to the signaling message accordingly containing wifi information are selected and contained
The coding/decoding method of the message body of the signaling message of latitude and longitude information;
The message body of the signaling message containing latitude and longitude information is decoded using selected coding/decoding method, obtains longitude and latitude letter
Breath.
4. wifi finger print data acquisition methods based on mobile communication signal collecting according to claim 1, its feature exists
In:
The collection signaling message:In each base station controller of mobile communications network and the common node of gateway and evolution
The signaling message on each circuit of mobile communications network is gathered in the common node of type node B and gateway.
5. a kind of wifi finger print datas based on mobile communication signal collecting obtain system, it is characterised in that including:
Signaling message acquisition module, for gathering the signaling message on each circuit of mobile communications network;The signaling message contains
Latitude and longitude information or wifi information;Signaling message containing the latitude and longitude information is also containing corresponding with the latitude and longitude information
Five-tuple information;Signaling message containing the wifi information is also believed containing the five-tuple corresponding with the wifi information
Breath;The five-tuple packet contains IP address, user port number, server ip address, server end slogan, protocol class
Type;
Signaling message is concentrated and package module, for carrying out concentration convergence to each signaling message, will concentrate each signaling after convergence
Message is packaged into packet;
Signaling message is parsed and relating module, for by the latitude and longitude information in each signaling message, wifi information, five-tuple information
Parse, and wifi information the identical five-tuple information of each correspondence is associated with latitude and longitude information combination;
Related information memory module:Wifi information and latitude and longitude information after each combination association is stored.
6. the wifi finger print datas based on mobile communication signal collecting according to claim 5 obtain system, and its feature exists
In:
The signaling message parsing module includes:
First signaling message filter element, for filtering out the signaling message containing wifi information;
First signaling message removes packet header unit, and the header packet information for peeling off the signaling message containing wifi information, reservation contains
The five-tuple information of the signaling message of wifi information, application layer header packet information, message body;
First message body decoding process selectes unit, for the application layer header packet information of signaling message of the basis containing wifi information
And the coding/decoding method of the server ip address selected message body in five-tuple information;
Wifi information acquisition units, for being entered to the message body of the signaling message containing wifi information using selected coding/decoding method
Row decoding, obtains wifi information.
7. the wifi finger print datas based on mobile communication signal collecting according to claim 6 obtain system, and its feature exists
In:
The signaling message parsing module also includes:
Second signaling message filter element, for filtering out the signaling message containing latitude and longitude information;
Second signaling message removes packet header unit, and the header packet information for peeling off the signaling message containing latitude and longitude information, reservation contains
There are five-tuple information, the message body of the signaling message of latitude and longitude information;
Signaling message associative cell, for will correspond to the signaling message containing latitude and longitude information of identical five-tuple information and contain
The signaling message combination association of wifi information;
Second message body decoding process selectes unit, for the application layer bag according to the corresponding signaling message containing wifi information
The coding/decoding method of the message body of header and the selected signaling message containing latitude and longitude information of server ip address;
Latitude and longitude information acquiring unit, for using selected coding/decoding method to the message of the signaling message containing latitude and longitude information
Body is decoded, and obtains latitude and longitude information.
8. the wifi finger print datas based on mobile communication signal collecting according to claim 5 obtain system, and its feature exists
In:
The signaling message acquisition module includes several gap-bridging devices;
In each base station controller of mobile communications network and the common node of gateway and evolved node B and gateway
Common node on be respectively mounted a gap-bridging device, for gathering the signaling message on each circuit of mobile communications network.
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 true CN106792511A (en) | 2017-05-31 |
CN106792511B 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 (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012072865A1 (en) * | 2010-11-30 | 2012-06-07 | Nokia Corporation | Method and apparatus for determining contextually relevant geographical locations |
CN102497667A (en) * | 2011-12-20 | 2012-06-13 | 中国电信股份有限公司 | Method and system for positioning WiFi (wireless fidelity) application focused areas |
CN104703143A (en) * | 2015-03-18 | 2015-06-10 | 北京理工大学 | Indoor positioning method based on WIFI signal strength |
-
2016
- 2016-11-28 CN CN201611063805.6A patent/CN106792511B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012072865A1 (en) * | 2010-11-30 | 2012-06-07 | Nokia Corporation | Method and apparatus for determining contextually relevant geographical locations |
CN102497667A (en) * | 2011-12-20 | 2012-06-13 | 中国电信股份有限公司 | Method and system for positioning WiFi (wireless fidelity) application focused areas |
CN104703143A (en) * | 2015-03-18 | 2015-06-10 | 北京理工大学 | Indoor positioning method based on WIFI signal strength |
Also Published As
Publication number | Publication date |
---|---|
CN106792511B (en) | 2019-12-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103856361B (en) | Realize the method and system of remote debugging | |
CN102291291B (en) | For the method that would know that the built-in Remote Switched Port Analyzer of time | |
US20030112808A1 (en) | Automatic configuration of IP tunnels | |
CN106254381A (en) | Protocol analysis method, device and comprise the Layer2 switching system of protocol analysis device | |
CN103596178B (en) | Single-station CORS system and differential data transmission and authentication method thereof | |
JP2001512635A (en) | Apparatus and method for monitoring and interpreting application protocols for network data transmission systems | |
EP2291950A1 (en) | Traffic monitoring by lowest transmission layer marking | |
CN107087291A (en) | Method and router and terminal device that a kind of Auto-reconnect connects | |
US20090190479A1 (en) | Methods, systems and apparatus for monitoring and/or generating communications in a communications network | |
US11979316B2 (en) | Multi-mac controller and single PHY systems and methods | |
CN106535210A (en) | Method and system for drawing cell service coverage map based on mobile communication signaling acquisition | |
CN106453575A (en) | Collectivized management child anti-lost system based on LoRa technology | |
CN101406009B (en) | Method and apparatus for location determination in fixed communication access networks | |
CN106301997A (en) | Gateway device response to network connectedness method and apparatus | |
CN106506182B (en) | A kind of method and system configuring PTN business | |
CN116915688A (en) | Data transmission method and system of real-time audio and video transmission network | |
CN112105056A (en) | Code stream transmission method and device based on 5GSA network | |
AU2008258126A1 (en) | Method, systems and apparatus for monitoring and/or generating communications in a communications network | |
CN106161499A (en) | Off-line acquisition system for WLAN | |
CN106792511A (en) | Wifi finger print datas acquisition methods and system based on mobile communication signal collecting | |
CN109319168A (en) | A kind of flight test method for monitoring state based on public cloud | |
CN115037053A (en) | Distribution network communication system based on 5G intelligent integrated access platform | |
CN103841519B (en) | The method and apparatus of geographical position are accurately positioned by Network Sniffing | |
CN107610453A (en) | A kind of share-car method and system based on the positioning of closely bluetooth hot spot | |
CN107451491A (en) | A kind of method for improving protocol analysis accuracy when database linkage information is lost |
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 | ||
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. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |