CN107613462A - Data analysing method, device and electronic equipment - Google Patents
Data analysing method, device and electronic equipment Download PDFInfo
- Publication number
- CN107613462A CN107613462A CN201710958802.7A CN201710958802A CN107613462A CN 107613462 A CN107613462 A CN 107613462A CN 201710958802 A CN201710958802 A CN 201710958802A CN 107613462 A CN107613462 A CN 107613462A
- Authority
- CN
- China
- Prior art keywords
- terminal device
- focus
- information
- preset period
- time
- 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
Abstract
The present embodiments relate to technical field of data processing, in particular to a kind of data analysing method, device and electronic equipment.This method includes:For each focus in region to be monitored, the information of each terminal device connected on the focus that multiple base station sounds collect to the latitude and longitude information during focus and multiple base stations in preset period of time in preset period of time is obtained.The fixation focus in region to be monitored is obtained, for each fixed focus, calculates the latitude and longitude information of the fixation focus to the latitude and longitude information during fixation focus according to multiple base station sounds.For each terminal device, the permanent residence of the terminal device is calculated in the latitude and longitude information and connection duration information, the connection duration information of each fixed focus connected according to the terminal device in preset period of time for obtaining all fixed focuses that the terminal device connected in preset period of time.The accuracy for calculating permanent residence and judging can be improved using the data analysing method, device and electronic equipment.
Description
Technical field
The present embodiments relate to technical field of data processing, in particular to a kind of data analysing method, device and
Electronic equipment.
Background technology
In various scenes, such as modern criminal investigation scene, can effectively it be obtained by the resident place for analyzing specific people
The activity venue of the personnel, the important informations such as place and personnel identity are concealed, reach and quickly identify, lock the specific people's
Purpose.With the development of science and technology, various sensor monitoring equipment are not only applicable to the public places such as station, market, guest is also applied to
The private sites such as shop, apartment, family room, spy provides mass data while assuring the safety for life and property of the people.With
The fast development of the technologies such as big data, machine learning and data mining, the analysis mining of these mass datas is provided for the people
A large amount of useful information, wherein, by processing and excavation to mass data, and then analyze the permanent residence information of specific people
The great convenience brought for criminal investigation, improve the efficiency of criminal investigation.
Permanent residence analysis, but existing skill are carried out using terminal device data mostly to the method for personnel's permanent residence analysis at present
Art is in acquisition terminal facility information it is possible that a large amount of omissions, easily cause analysis result accuracy difference and miss many normal
Guard station.
The content of the invention
In view of this, the invention provides a kind of data analysing method, to solve the above problems.
To achieve the above object, the embodiment of the present invention adopts the following technical scheme that:
The embodiments of the invention provide a kind of data analysing method, methods described includes:
For each focus in region to be monitored, in preset period of time multiple base station sounds are obtained to during the focus
Each terminal device connected in latitude and longitude information, and the focus that is collected in the preset period of time of the multiple base station
Information;
The fixation focus in the region to be monitored is obtained, for each fixed focus, according to multiple base station sounds to should
The latitude and longitude information of the fixation focus is calculated in latitude and longitude information during fixed focus;
For each terminal device, all fixed focuses that the terminal device connected in the preset period of time are obtained
Latitude and longitude information and connection duration information, the company of each fixed focus connected according to the terminal device in the preset period of time
The permanent residence that the terminal device is calculated in duration information is connect, the address information of the permanent residence is connected according to the terminal device
The latitude and longitude information of fixation focus obtain.
Alternatively, for each fixed focus, according to multiple base station sounds to the latitude and longitude information meter during fixation focus
The step of calculation obtains the latitude and longitude information of the fixation focus includes:
The average value of the latitude and longitude information of each base station when the fixation focus is detected in the preset period of time is calculated, will
Latitude and longitude information of the average value as the fixation focus.
Alternatively, the connection duration information of each fixed focus connected according to the terminal device in the preset period of time
The step of permanent residence of the terminal device is calculated includes:
For each terminal device, each fixed focus that the terminal device connected in the preset period of time is calculated
Long letter during the total connection for all fixed focuses that total connection duration information was connected with the terminal device in the preset period of time
The ratio of breath, the fixation focus that ratio be connected with the terminal device, described is more than to default decision content are determined as the terminal
The permanent residence of equipment, the address information of the permanent residence is that ratio be connected with the terminal device, described is more than default judgement
The latitude and longitude information of the fixation focus of value.
Alternatively, the fixed focus, which includes public hot spot and privately owned focus, methods described, also includes:
For each fixed focus, the quantity for the terminal device being connected on the fixation focus is obtained, connection terminal is set
The fixation focus that standby quantity is more than preset value is determined as public hot spot, will connect the quantity of terminal device no more than preset value
Fixed focus is determined as privately owned focus, the permanent residence include public permanent residence corresponding with the public hot spot and with the private
There is privately owned permanent residence corresponding to focus.
Alternatively, long letter during the total connection for each fixed focus that the terminal device connected in the preset period of time
Breath is obtained by following calculation procedure:
For each terminal device, its hotspot type connected in the preset period of time is judged;
If the hotspot type that the terminal device connected includes public hot spot, the terminal device is connected to same common thermal
All connection duration informations summation of point, obtains total connection duration information that the terminal device is connected to same public hot spot;
If the hotspot type that the terminal device connected includes privately owned focus, the terminal device is connected to same privately owned
All connection duration informations summation of focus, obtains total connection duration information that the terminal device is connected to same privately owned focus.
Alternatively, the total connection duration for each fixed focus that the terminal device connected in the preset period of time is calculated
The ratio of the total connection duration information for all fixed focuses that information was connected with the terminal device in the preset period of time, will
Ratio be connected with the terminal device, described is determined as the permanent residence of the terminal device more than the fixation focus of default decision content
The step of include:
If the hotspot type that the terminal device connected includes public hot spot, the terminal device is calculated in the preset period of time
The total connection duration information and each terminal device of all public hot spots inside connected connected in the preset period of time
All public hot spots total connection duration information average value;If the institute that the terminal device connected in the preset period of time
The total connection duration information for having public hot spot is more than all public hot spots that each terminal device connected in the preset period of time
Total connection duration information average value, calculate each public hot spot that the terminal device connected in the preset period of time
Long letter during the total connection for all public hot spots that total connection duration information was connected with the terminal device in the preset period of time
The ratio of breath, the public hot spot that ratio be connected with the terminal device, described is more than to the first default decision content are determined as this
The public permanent residence of terminal device, the address information of the public permanent residence is ratio be connected with the terminal device, described
More than the latitude and longitude information of the public hot spot of default decision content;
If the hotspot type that the terminal device connected includes privately owned focus, the terminal device is calculated in the preset period of time
The total connection duration information and each terminal device of all privately owned focuses inside connected connected in the preset period of time
All privately owned focuses total connection duration information average value;If the institute that the terminal device connected in the preset period of time
The total connection duration information for having privately owned focus is more than all privately owned focuses that each terminal device connected in the preset period of time
Total connection duration information average value, calculate each privately owned focus that the terminal device connected in the preset period of time
Long letter during the total connection for all privately owned focuses that total connection duration information was connected with the terminal device in the preset period of time
The ratio of breath, the privately owned focus that ratio be connected with the terminal device, described is more than to the second default decision content are determined as this
The privately owned permanent residence of terminal device, the address information of the privately owned permanent residence is ratio be connected with the terminal device, described
More than the latitude and longitude information of the privately owned focus of default decision content.
Alternatively, the total connection duration for each fixed focus that the terminal device connected in the preset period of time is calculated
The ratio of the total connection duration information for all fixed focuses that information was connected with the terminal device in the preset period of time, will
Ratio be connected with the terminal device, described is determined as the permanent residence of the terminal device more than the fixation focus of default decision content
The step of include:
Calculate connection on the daytime total duration letter for each fixed focus that the terminal device connected in the preset period of time
The ratio for the total connection duration information of all fixed focuses being connected with the terminal device in the preset period of time is ceased, will be with
The fixation focus that the terminal device connection, described ratio is more than decision content is determined as the permanent residence on daytime of the terminal device;
The address information of the permanent residence on daytime is the fixed heat that ratio be connected with the terminal device, described is more than decision content
The latitude and longitude information of point;
Calculate the night connection total duration letter for each fixed focus that the terminal device connected in the preset period of time
The ratio for the total connection duration information of all fixed focuses being connected with the terminal device in the preset period of time is ceased, will be with
The fixation focus that the terminal device connection, described ratio is more than decision content is determined as the night permanent residence of the terminal device;
The address information of the night permanent residence is the fixed heat that ratio be connected with the terminal device, described is more than decision content
The latitude and longitude information of point.
The embodiment of the present invention additionally provides a kind of data analysis set-up, and the data analysis set-up includes:
Data collection module, for for each focus in region to be monitored, obtaining multiple base stations in preset period of time
Latitude and longitude information when detecting the focus, and the heat that the multiple base station collects in the preset period of time
The information of each terminal device connected on point;
Data computation module, for obtaining the fixation focus in the region to be monitored, for each fixed focus, according to
The latitude and longitude information of the fixation focus is calculated to the latitude and longitude information during fixation focus for multiple base station sounds;
Data analysis module, for for each terminal device, obtaining the terminal device and being connected in the preset period of time
The latitude and longitude information and connection duration information for all fixed focuses crossed, are connected according to the terminal device in the preset period of time
The permanent residence of the terminal device, the address information of the permanent residence is calculated in the connection duration information for each fixed focus crossed
The latitude and longitude information of the fixation focus connected according to the terminal device obtains.
The embodiment of the present invention additionally provides a kind of electronic equipment, including memory, processor and storage are on a memory
And the computer program that can be run on a processor, above-mentioned data point are realized described in the computing device during computer program
Analysis method.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, and the readable storage medium storing program for executing includes computer
Program, electronic equipment performs above-mentioned data analysis side the computer program controls the readable storage medium storing program for executing when running where
Method.
Data analysing method, device and electronic equipment provided by the invention, by gathering the end being connected on focus indirectly
The information of end equipment, avoid the leakage to terminal device information and adopt, then according to multiple base station sounds to warp during fixed focus
Latitude information is calculated the latitude and longitude information of the fixation focus and connected according to the terminal device in the preset period of time
The connection duration information of each fixed focus the permanent residence of the terminal device is calculated, add to fixed focus and resident
The accuracy of ground positioning.
Further, data analysing method provided in an embodiment of the present invention, device and electronic equipment, to being connected to fixed heat
The data of terminal device on point fully analyze and excavate, and can respectively obtain terminal device using different decision conditions
Public permanent residence and privately owned permanent residence, avoid and many privately owned permanent residences failed to judge.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by embodiment it is required use it is attached
Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore be not construed as pair
The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this
A little accompanying drawings obtain other related accompanying drawings.
The block diagram for a kind of electronic equipment 10 that Fig. 1 is provided by the embodiment of the present invention.
A kind of flow chart for data analysing method that Fig. 2 is provided by the embodiment of the present invention.
Fig. 3 is the schematic diagram of the sub-step that step S22 shown in Fig. 2 includes in an embodiment.
A kind of schematic diagram for detection hotspot approach that Fig. 4 is provided by the embodiment of the present invention.
Fig. 5 is multiple terminal devices and the connection diagram of multiple focuses.
Fig. 6 is the schematic diagram of the sub-step that step S23 shown in Fig. 2 includes in an embodiment.
Fig. 7 is the schematic diagram of the sub-step that step S24 shown in Fig. 2 includes in an embodiment.
A kind of module frame chart for data analysis set-up 20 that Fig. 8 is provided by the embodiment of the present invention.
Icon:10- electronic equipments;11- memories;12- processors;13- mixed-media network modules mixed-medias;20- data analysis set-ups;21-
Data collection module;22- data computation modules;23- data analysis modules.
Embodiment
It further investigation reveals that, the most signal directly sent to the terminal device detected of technology of existing analysis permanent residence
It is acquired and analyzes, the collection to terminal device information is likely to occur a large amount of omissions, and there may be by mistake for the judgement to permanent residence
Difference and fail to judge.
Based on the studies above, the embodiments of the invention provide a kind of data analysing method, is connected by detection and terminal device
The focus connect, and Treatment Analysis is carried out by the information of the indirect acquisition terminal equipment of focus, and to the information, it is above-mentioned right to solve
There is the problem of omitting, the judgement to permanent residence produces error and failed to judge in the collection of terminal device information.
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment only
It is the part of the embodiment of the present invention, rather than whole embodiments.The present invention being generally described and illustrated herein in the accompanying drawings
The component of embodiment can be configured to arrange and design with a variety of.
Therefore, below the detailed description of the embodiments of the invention to providing in the accompanying drawings be not intended to limit it is claimed
The scope of the present invention, but be merely representative of the present invention selected embodiment.It is common based on the embodiment in the present invention, this area
The every other embodiment that technical staff is obtained under the premise of creative work is not made, belong to the model that the present invention protects
Enclose.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined, then it further need not be defined and explained in subsequent accompanying drawing in individual accompanying drawing.
Fig. 1 shows the block diagram for a kind of electronic equipment 10 that the embodiment of the present invention is provided.The embodiment of the present invention
In electronic equipment 10 can be with data storage, transmission, processing function service end, as shown in figure 1, electronic equipment 10 wraps
Include:Memory 11, processor 12, mixed-media network modules mixed-media 13 and data analysis set-up 20.
Directly or indirectly it is electrically connected between memory 11, processor 12 and mixed-media network modules mixed-media 13, to realize the biography of data
Defeated or interaction.It is electrically connected with for example, these elements can be realized by one or more communication bus or signal wire from each other.
Be stored with data analysis set-up 20 in memory 11, the data analysis set-up 20 include it is at least one can be with software or firmware
(firmware) form is stored in the software function module in the memory 11, and the processor 12 is stored in by operation
The data analysis set-up 20 in software program and module, such as the embodiment of the present invention in memory 11, it is various so as to perform
Application of function and data processing, that is, realize the data analysing method in the embodiment of the present invention.
Wherein, the memory 11 may be, but not limited to, random access memory (Random Access Memory,
RAM), read-only storage (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only
Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM),
Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..
Wherein, memory 11 is used for storage program, and the processor 12 performs described program after execute instruction is received.
The processor 12 is probably a kind of IC chip, has the disposal ability of data.Above-mentioned processor 12
Can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit
(Network Processor, NP) etc..It can realize or perform each method disclosed in the embodiment of the present invention, step and patrol
Collect block diagram.General processor can be microprocessor or the processor can also be any conventional processor etc..
Mixed-media network modules mixed-media 13 is used for the communication connection established by network between electronic equipment 10 and other communication terminal devices,
Realize the transmitting-receiving operation of network signal and data.Above-mentioned network signal may include wireless signal or wire signal.
It is appreciated that structure shown in Fig. 1 is only to illustrate, electronic equipment 10 may also include it is more more than shown in Fig. 1 or
Less component, or there is the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can use hardware, software or its
Combination is realized.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and the readable storage medium storing program for executing includes computer journey
Sequence.Electronic equipment 10 where the readable storage medium storing program for executing is controlled to perform following data analysis side during the computer program operation
Method.
Fig. 2 shows a kind of flow chart for data analysing method that the embodiment of the present invention is provided.Methods described is relevant
Method and step defined in flow is applied to electronic equipment 10, can be realized by the processor 12.Below by shown in Fig. 2
Idiographic flow is described in detail:
Step S21, obtain information.
For each focus in region to be monitored, in preset period of time multiple base station sounds are obtained to during the focus
Each terminal device connected in latitude and longitude information, and the focus that is collected in the preset period of time of the multiple base station
Information.
In the present embodiment, when some terminal device for a long time be connected to some focus, such as every 15 minutes or so will
There is a data that multiple base stations collect the terminal device by the focus, the longitude and latitude of the terminal device is included per data
Spend information.Wherein, the latitude and longitude information of the terminal device can be the latitude and longitude information of the focus connected.Alternatively, terminal
The MAC Address of equipment can be used for distinguishing terminal equipment.
Multiple base stations include fixed base stations, can also include mobile base station.For each fixed base stations, when one section
Between, such as the terminal device is collected by the focus within 15 minutes a data when, the latitude and longitude information of each fixed base stations is not
Become;For each mobile base station, it is only necessary to record longitude and latitude letter of each mobile base station when the focus is collected in 15 minutes
Breath, it can so collect the data of relatively stable and uniform terminal device.
It should be appreciated that base station is selected by the time interval of focus gathered data according to actual conditions, include but is not limited to
Provide 15 minutes of the present embodiment.
Step S22, hotspot's classification and hotspot location calculate.
In the present embodiment, the focus that multiple base station sounds arrive can include mobile focus and fixed focus.Wherein, it is mobile
Focus may not include in permanent residence analysis, therefore, before hotspot location is calculated, can first distinguish mobile focus and fixation
Focus, only calculate the position of fixed focus.
Incorporated by reference to reference picture 3, step S22 is listed by step S221, step S222 and step S223 in the present embodiment
One of which implementation.
Step S221, judges hotspot type.
For same focus, in preset period of time, successively or simultaneously detecting the base station of the focus has multiple situations
Under, according to multiple base station sounds to the latitude and longitude information during focus calculate any two base station in above-mentioned multiple base stations away from
From if being more than the maximum range of base station, such as 1000m, then it is assumed that the focus is mobile in the presence of the distance between two base stations
Focus.
A kind of schematic diagram of the method for detection focus that Fig. 4 is provided by the embodiment of the present invention.Enter one below in conjunction with Fig. 4
The optional decision procedure of the mobile focus of step explanation and fixed focus.
From fig. 4, it can be seen that base station has certain investigative range, in preset period of time:
Focus 2 is detected in base station 1, base station 2, base station 3,
Focus 5 is detected in base station 1, base station 2,
Focus 3 is detected in base station 2, base station 3, base station 4,
Focus 4 is detected in base station 3, base station 4,
Focus 1 is detected in base station 2, base station 4, base station 5,
Wherein the distance between base station 4 and base station 5 is more than 1000m, therefore focus 1 is mobile focus, base station 1, base station 2,
Neighbor distance between base station 3, base station 4 is no more than 1000m, therefore focus 2, focus 3, focus 4, focus 5 are fixed focus.
In preset period of time, the sequencing that focus 1 is detected in base station 4 and base station 5 does not limit, for example, when default
Focus 1 is detected in some time point of early stage in section, base station 5, some time point in the later stage in preset period of time, base station 4
Detect focus 1.If base station 5 is mobile base station, due to only recording base station sounds to latitude and longitude information during focus, therefore it is above-mentioned
Analysis is still set up.
Step S222, the latitude and longitude information of fixed focus is calculated.
For each fixed focus, the latitude and longitude information of multiple base stations when calculating detects the fixation focus is averaged
Value, and the latitude and longitude information using the average value as the fixation focus.For example, Fig. 4 is continued referring to, for fixed focus 2, meter
The average value of the latitude and longitude information of base station 1, base station 2 and base station 3 is calculated, and is believed the average value as the longitude and latitude of fixed focus 2
Breath.So calculate, the accuracy positioned to fixed focus 2 can be improved, Fig. 4 illustrate only 3 bases for detecting fixed focus 2
Stand, generally, when the base station for detecting fixed focus 2 is more, the latitude and longitude information of fixed focus 2 is more accurate.
Step S223, fixed focus is judged.
For each fixed focus, the quantity for the terminal device being connected on the fixation focus is obtained, connection terminal is set
The fixation focus that standby quantity is more than preset value is determined as public hot spot, and the quantity for connecting terminal device is less than into consolidating for preset value
Determine focus and be determined as privately owned focus.Preset value can flexibly be set, and in the present embodiment, preset value is chosen as 5.For example, it please join
According to Fig. 5, in preset period of time, the quantity of the terminal device that focus 2, focus 3, focus 4 and focus 5 connected is respectively 6,3
It is individual, 2 and 7.Therefore, focus 2 and focus 5 are public hot spot, and focus 3 and focus 4 are privately owned focus.
Step S23, information pre-processing.
Incorporated by reference to reference picture 6, enumerated in the present embodiment by step S231, step S232, step S233 and step S234
Step S23 one of which implementation.
Step S231, information classification.
For every information of each terminal device, the latitude and longitude information in every information of the terminal device is substituted for
The latitude and longitude information for the fixation focus being attached thereto, and hotspot type label is stamped to the fixation focus.
For example, continuing referring to Fig. 5, for focus 2, terminal device M1 is connected to the information of focus 2 in preset period of time
There are a plurality of, including a plurality of latitude and longitude information and a plurality of connection duration information, a plurality of latitude and longitude information is substituted for the longitude and latitude of focus 2
Information, and tagged type are spent, for example, a plurality of information that M1 connects focus 2 in preset period of time is:2-M1-t1, 2-M1-
t2.Similarly, a plurality of information that M1 connects focus 5 in preset period of time is:5-M1-t1, 5-M1-t2, 5-M1-t3。
Hotspot type identical information is classified, for example, being directed to M1, the information for the public hot spot that M1 is connected is:
2-M1-t1, 2-M1-t2, 5-M1-t1, 5-M1-t2, 5-M1-t3.The information for the privately owned focus that M1 is connected is:3-M1-t1, 3-
M1-t2, 4-M1-t1, 4-M1-t2, 4-M1-t3。
Step S232, information filtering.
The hotspot type for filtering out connection is all information of mobile focus.For example, refer to Fig. 5, filter out and be connected to
M1, M2, M3 and M4 of focus 1 all information.
Step S233, information integration.
Due to each terminal device typically have with the information that multiple same type of focuses are connected it is a plurality of, it is therefore desirable to first will
The information for being connected to same focus is integrated, for example, being directed to M1, will be connected to the information 2-M1-t of focus 21, 2-M1-t2Enter
Row is integrated, and will be connected to the information 5-M1-t of focus 51, 5-M1-t2, 5-M1-t3Integrated, after integration, M1 is connected to heat
The a plurality of information of point 2 is an information collection, and a plurality of information that M1 is connected to focus 5 is another information collection.
Step S234, information sorting, summation.
Information collection after integration is temporally ranked up, the continuous time information for being connected to same focus is summed,
For example, being directed to M1, focus 2 will be connected to, the continuous time information of focus 5 is summed respectively, M1 connects total duration in focus 2
Information is:2-M1-t, wherein:
2-M1-t=2-M1- (t1+t2)
Similarly, M1 is in the connection of focus 5 total duration information:5-M1-t, wherein:
5-M1-t=5-M1- (t1+t2+t3)
Step S24, permanent residence analysis.
Incorporated by reference to reference picture 7, enumerated in the present embodiment by step S241, step S242, step S243 and step S244
Step S24 one of which implementation.
Step S241, the connection total duration that each terminal device is connected to all focuses of same hotspot type is calculated, and
Calculate the average value of the connection total duration.
For example, continue referring to Fig. 5, for same hotspot type, such as public hot spot, the public hot spot in the present embodiment
Including focus 2 and focus 5, all terminal devices for being connected to public hot spot have:M1、M2、M3、M4、M5、M6、M7、M8、M9.
The connection total duration that M1~M9 is connected to all public hot spots is calculated respectively, such as:
For M1, the connection total duration for being connected to all public hot spots (focus 2+ focuses 5) is:
TM1- is public=(2-M1-t)+(5-M1-t)
Similarly, T is calculatedM2- is public、TM3- is public、TM4- is public、TM5- is public、TM6- is public、TM7- is public、TM8- is public、TM9- is publicAnd calculate all terminal devices
The average value of the connection total duration of all public hot spots is connected to, such as:
aveT- public=
(TM1- is public+TM2- is public+TM3- is public+TM4- is public+TM5- is public+TM6- is public+TM7- is public+TM8- is public+TM9- is public)/9
Step S242, filter out all focuses for being connected to same hotspot type connection total duration be less than pass through step
The information of the terminal device for the average value that S241 is calculated.
TM2- is public~TM9- is publicRespectively less than aveT- public, then M2~M9 information is filtered out, it can be understood as, M2~M9 is not public
Focus permanent residence, without subsequent analysis.
TM1- is publicMore than aveT- public, then continue to carry out public permanent residence analysis to M1
Step S243, for each terminal device retained by step S242, calculate the terminal device daytime and
Night stay time.
For example, calculate M1 focus 2 daytime stay time and night stay time, calculation formula it is as follows:
(2-M1-tIn vain)+(2-M1-tNight)=2-M1-t
Step S244, for each terminal device in step S243, the terminal device is calculated respectively and is connected to each heat
Point daytime stay time and night stay time and the terminal device be connected to and all focuses of hotspot type identical
The ratio of total duration, the focus that the ratio is more than to default decision content are determined as the permanent residence of the terminal device, and stamp phase
The hotspot type label and period label answered.In the present embodiment, default decision content can take 0.2.
For example, M1 is directed to, if the daytime that M1 is connected to focus 2 stops total duration 2-M1-tIn vainIt is connected to M1 all public
The total duration T of focusM1- is publicRatio be more than 0.2, then focus 2 is determined as to M1 public permanent residence, and M1 is in the resident of focus 2
Period is daytime.
Similarly, the judgement for M1 privately owned permanent residence also uses above-mentioned decision method.Wherein, privately owned permanent residence is judged
Default decision content is the second default decision content, and the default decision content for judging public permanent residence is the first default decision content.First is pre-
If the setting of decision content and the second default decision content is independent mutually, it is arranged such, can be to the public permanent residence of same terminal device
Judged respectively with privately owned permanent residence.Avoid the situation that privately owned permanent residence is missed when being judged using same decision content.
, can be more definitely to resident by analyzing daytime stay time and night stay time of each terminal device in each focus
The ground period is analyzed, and then draws the different periods that each terminal device is stopped in different types of permanent residence.
On the basis of the above, as shown in figure 8, the embodiments of the invention provide a kind of data analysis set-up 20, the data
Analytical equipment 20 includes data collection module 21, data computation module 22, data analysis module 23.
Data collection module 21 is used for each focus being directed in region to be monitored, obtains multiple base stations in preset period of time
Latitude and longitude information when detecting the focus, and the heat that the multiple base station collects in the preset period of time
The information of each terminal device connected on point.
Because data collection module 21 is similar with the realization principle of step S21 in Fig. 2, therefore do not illustrate more herein.
Data computation module 22 is used to obtain the fixation focus in the region to be monitored, for each fixed focus, root
The latitude and longitude information of the fixation focus is calculated to the latitude and longitude information during fixation focus according to multiple base station sounds.
Because data computation module 22 is similar with the realization principle of step S22 in Fig. 2, therefore do not illustrate more herein.
Data analysis module 23 is used to be directed to each terminal device, obtains the terminal device and is connected in the preset period of time
The latitude and longitude information and connection duration information for all fixed focuses crossed, are connected according to the terminal device in the preset period of time
The permanent residence of the terminal device, the address information root of the permanent residence is calculated in the connection duration information for each fixed focus crossed
The latitude and longitude information of the fixation focus connected according to the terminal device obtains.
Because data analysis module 23 is similar with the realization principle of step S23~S24 in Fig. 2, therefore do not make herein more
Explanation.
Data analysing method, device and the electronic equipment meeting basis that the embodiment of the present invention is provided detect in preset period of time
Latitude and longitude information analysis to multiple base stations of focus calculates the latitude and longitude information of the focus and focus is classified, and will adopt
The information of each terminal device being connected on each focus collected is analyzed and then draws each terminal device in preset period of time
Interior permanent residence, this mode adds the accuracy analyzed focus latitude and longitude information and positioned, and then adds to resident
The accuracy of ground positioning, default decision content is set according to hotspot type, can more comprehensively, intactly analyze each terminal device respectively
Permanent residence various information, be advantageous to be accurately positioned the permanent residence of specific people and resident period.
In several embodiments that the embodiment of the present invention is provided, it should be understood that disclosed apparatus and method, also may be used
To realize by another way.Apparatus and method embodiment described above is only schematical, for example, in accompanying drawing
Flow chart and block diagram show the device of multiple embodiments according to the present invention, the possibility of method and computer program product is realized
Architectural framework, function and operation.At this point, each square frame in flow chart or block diagram can represent module, a program
A part for section or code, a part for the module, program segment or code include one or more and are used to realize defined patrol
Collect the executable instruction of function.It should also be noted that at some as the function of in the implementation replaced, being marked in square frame
Can be with different from the order marked in accompanying drawing generation.For example, two continuous square frames can essentially be held substantially in parallel
OK, they can also be performed in the opposite order sometimes, and this is depending on involved function.It is also noted that block diagram and/or
The combination of each square frame and block diagram in flow chart and/or the square frame in flow chart, function or dynamic as defined in performing can be used
The special hardware based system made is realized, or can be realized with the combination of specialized hardware and computer instruction.
In addition, each functional module in each embodiment of the present invention can integrate to form an independent portion
Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized in the form of software function module and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be
People's computer, electronic equipment 10, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention
Suddenly.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), deposit at random
Access to memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to the bag of nonexcludability
Contain, so that process, method, article or equipment including a series of elements not only include those key elements, but also including
The other element being not expressly set out, or also include for this process, method, article or the intrinsic key element of equipment.
In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including the key element
Process, method, other identical element also be present in article or equipment.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.
Claims (10)
1. a kind of data analysing method, it is characterised in that methods described includes:
For each focus in region to be monitored, multiple base station sounds are obtained in preset period of time to the longitude and latitude during focus
The letter of each terminal device connected is spent in information, and the focus that is collected in the preset period of time of the multiple base station
Breath;
The fixation focus in the region to be monitored is obtained, for each fixed focus, is fixed according to multiple base station sounds to this
The latitude and longitude information of the fixation focus is calculated in latitude and longitude information during focus;
For each terminal device, the longitude and latitude for all fixed focuses that the terminal device connected in the preset period of time is obtained
Information and connection duration information are spent, during the connection of each fixed focus connected according to the terminal device in the preset period of time
The permanent residence of the terminal device is calculated in long message, and the address information of the permanent residence is consolidated according to what the terminal device was connected
The latitude and longitude information for determining focus obtains.
2. data analysing method according to claim 1, it is characterised in that for each fixed focus, according to multiple bases
The step of latitude and longitude information of the fixation focus is calculated in latitude and longitude information when the fixation focus is detected at station includes:
The average value of the latitude and longitude information of each base station when the fixation focus is detected in the preset period of time is calculated, by described in
Latitude and longitude information of the average value as the fixation focus.
3. data analysing method according to claim 2, it is characterised in that according to the terminal device in the preset period of time
The step of permanent residence of the terminal device is calculated in the connection duration information of each fixed focus inside connected includes:
For each terminal device, always connecting for each fixed focus that the terminal device connected in the preset period of time is calculated
Connect the total connection duration information for all fixed focuses that duration information was connected with the terminal device in the preset period of time
Ratio, the fixation focus that ratio be connected with the terminal device, described is more than to default decision content are determined as the terminal device
Permanent residence, the address information of the permanent residence is that ratio be connected with the terminal device, described is more than and presets decision content
The latitude and longitude information of fixed focus.
4. data analysing method according to claim 3, it is characterised in that the fixed focus includes public hot spot and private
There is focus, methods described also includes:
For each fixed focus, the quantity for the terminal device being connected on the fixation focus is obtained, terminal device will be connected
The fixation focus that quantity is more than preset value is determined as public hot spot, and the quantity for connecting terminal device is not more than to the fixation of preset value
Focus is determined as privately owned focus, the permanent residence include public permanent residence corresponding with the public hot spot and with the privately owned heat
Privately owned permanent residence corresponding to point.
5. data analysing method according to claim 4, it is characterised in that the terminal device is in the preset period of time
Total connection duration information of each fixed focus connected is obtained by following calculation procedure:
For each terminal device, its hotspot type connected in the preset period of time is judged;If the terminal device connects
The hotspot type crossed includes public hot spot, and all connection duration informations that the terminal device is connected to same public hot spot are asked
With obtain total connection duration information that the terminal device is connected to same public hot spot;If the focus that the terminal device connected
Type includes privately owned focus, then all connection duration informations that the terminal device is connected to same privately owned focus are summed, and are obtained
The terminal device is connected to total connection duration information of same privately owned focus.
6. the data analysing method according to claim 4 or 5, it is characterised in that calculate the terminal device described default
Total connection duration information of each fixed focus connected in period was connected with the terminal device in the preset period of time
All fixed focuses total connection duration information ratio, ratio be connected with the terminal device, described is more than default
The step of fixation focus of decision content is determined as the permanent residence of the terminal device includes:
If the hotspot type that the terminal device connected includes public hot spot, calculate the terminal device and connect in the preset period of time
The institute that the total connection duration information and each terminal device for all public hot spots taken over connected in the preset period of time
There is the average value of total connection duration information of public hot spot;If all public affairs that the terminal device connected in the preset period of time
Total connection duration information of focus is more than the total of all public hot spots that each terminal device connected in the preset period of time altogether
The average value of duration information is connected, calculates always connecting for each public hot spot that the terminal device connected in the preset period of time
Connect the total connection duration information for all public hot spots that duration information was connected with the terminal device in the preset period of time
Ratio, the public hot spot that ratio be connected with the terminal device, described is more than to the first default decision content are determined as the terminal
The public permanent residence of equipment, the address information of the public permanent residence is that ratio be connected with the terminal device, described is more than
The latitude and longitude information of the public hot spot of default decision content;
If the hotspot type that the terminal device connected includes privately owned focus, calculate the terminal device and connect in the preset period of time
The institute that the total connection duration information and each terminal device for all privately owned focuses taken over connected in the preset period of time
There is the average value of total connection duration information of privately owned focus;If all privates that the terminal device connected in the preset period of time
The total connection duration information for having focus is more than the total of all privately owned focuses that each terminal device connected in the preset period of time
The average value of duration information is connected, calculates always connecting for each privately owned focus that the terminal device connected in the preset period of time
Connect the total connection duration information for all privately owned focuses that duration information was connected with the terminal device in the preset period of time
Ratio, the privately owned focus that ratio be connected with the terminal device, described is more than to the second default decision content are determined as the terminal
The privately owned permanent residence of equipment, the address information of the privately owned permanent residence is that ratio be connected with the terminal device, described is more than
The latitude and longitude information of the privately owned focus of default decision content.
7. data analysing method according to claim 3, it is characterised in that calculate the terminal device in the preset period of time
The institute that total connection duration information of each fixed focus inside connected was connected with the terminal device in the preset period of time
There is the ratio of total connection duration information of fixed focus, ratio be connected with the terminal device, described is more than default judgement
The step of fixation focus of value is determined as the permanent residence of the terminal device includes:
Calculate each fixed focus that the terminal device connected in the preset period of time daytime connection total duration information with
The ratio of the total connection duration information for all fixed focuses that the terminal device connected in the preset period of time, will with it is described
The fixation focus that terminal device connection, described ratio is more than decision content is determined as the permanent residence on daytime of the terminal device;It is described
Daytime permanent residence address information be connected with the terminal device, the ratio is more than the fixed focus of decision content
Latitude and longitude information;
Calculate the night connection total duration information of each fixed focus that the terminal device connected in the preset period of time with
The ratio of the total connection duration information for all fixed focuses that the terminal device connected in the preset period of time, will with it is described
The fixation focus that terminal device connection, described ratio is more than decision content is determined as the night permanent residence of the terminal device;It is described
The address information of night permanent residence is the fixed focus that ratio be connected with the terminal device, described is more than decision content
Latitude and longitude information.
8. a kind of data analysis set-up, it is characterised in that the data analysis set-up includes:
Data collection module, for for each focus in region to be monitored, obtaining multiple base stations in preset period of time and visiting
Measure the latitude and longitude information during focus, and on the focus that is collected in the preset period of time of the multiple base station
The information of each terminal device of connection;
Data computation module, the fixation focus in the region to be monitored is obtained, for each fixed focus, according to multiple base stations
The latitude and longitude information of the fixation focus is calculated in latitude and longitude information when detecting the fixation focus;
Data analysis module, for for each terminal device, obtaining what the terminal device connected in the preset period of time
The latitude and longitude information and connection duration information of all fixed focuses, were connected according to the terminal device in the preset period of time
The permanent residence of the terminal device is calculated in the connection duration information of each fixed focus, and the address information of the permanent residence is according to this
The latitude and longitude information for the fixation focus that terminal device is connected obtains.
9. a kind of electronic equipment, including memory, processor and storage are on a memory and the meter that can run on a processor
Calculation machine program, it is characterised in that realized described in the computing device during computer program described in any one of claim 1~8
Data analysing method.
10. a kind of computer-readable recording medium, it is characterised in that the readable storage medium storing program for executing includes computer program, described
Electronic equipment perform claim is required described in 1~8 any one computer program controls the readable storage medium storing program for executing when running where
Data analysing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710958802.7A CN107613462B (en) | 2017-10-16 | 2017-10-16 | Data analysis method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710958802.7A CN107613462B (en) | 2017-10-16 | 2017-10-16 | Data analysis method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107613462A true CN107613462A (en) | 2018-01-19 |
CN107613462B CN107613462B (en) | 2021-02-02 |
Family
ID=61078067
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710958802.7A Active CN107613462B (en) | 2017-10-16 | 2017-10-16 | Data analysis method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107613462B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108182282A (en) * | 2018-01-26 | 2018-06-19 | 智慧足迹数据科技有限公司 | Address authenticity verification methods, device and electronic equipment |
CN110648213A (en) * | 2018-06-27 | 2020-01-03 | 百度在线网络技术(北京)有限公司 | Address verification method, device, equipment and computer readable medium |
CN113746701A (en) * | 2021-09-03 | 2021-12-03 | 四川英得赛克科技有限公司 | Data acquisition method, system, storage medium and electronic equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160366636A1 (en) * | 2015-06-12 | 2016-12-15 | Optim Corporation | Mobile user terminal, method of switching communications, and program for mobile user terminal |
CN107040886A (en) * | 2017-01-03 | 2017-08-11 | 阿里巴巴集团控股有限公司 | The method and device that a kind of information is determined |
-
2017
- 2017-10-16 CN CN201710958802.7A patent/CN107613462B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160366636A1 (en) * | 2015-06-12 | 2016-12-15 | Optim Corporation | Mobile user terminal, method of switching communications, and program for mobile user terminal |
CN107040886A (en) * | 2017-01-03 | 2017-08-11 | 阿里巴巴集团控股有限公司 | The method and device that a kind of information is determined |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108182282A (en) * | 2018-01-26 | 2018-06-19 | 智慧足迹数据科技有限公司 | Address authenticity verification methods, device and electronic equipment |
CN110648213A (en) * | 2018-06-27 | 2020-01-03 | 百度在线网络技术(北京)有限公司 | Address verification method, device, equipment and computer readable medium |
CN113746701A (en) * | 2021-09-03 | 2021-12-03 | 四川英得赛克科技有限公司 | Data acquisition method, system, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107613462B (en) | 2021-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106296724B (en) | Method and system for determining track information of target person and processing server | |
US10769645B2 (en) | Method and device for calculating customer traffic volume | |
CN106033530A (en) | Identification method and apparatus for suspected person | |
CN106899827A (en) | Image data acquiring, inquiry, video frequency monitoring method, equipment and system | |
CN105957169B (en) | A kind of detection method based on ibeacon technologies, apparatus and system | |
CN102761449B (en) | Method and device for web service performance analysis | |
CN109656973B (en) | Target object association analysis method and device | |
CN107613462A (en) | Data analysing method, device and electronic equipment | |
WO2018232846A1 (en) | Large-scale peripheral security monitoring method and system | |
CN103544091A (en) | Method and device for monitoring Windows process | |
CN108540756A (en) | Recognition methods, apparatus and system based on video and electronic device identification | |
CN112001230A (en) | Sleeping behavior monitoring method and device, computer equipment and readable storage medium | |
CN103279999A (en) | Card reading system based on face recognition | |
CN110022529B (en) | Method and device for counting number of people in target area based on two sensing modes | |
CN110987081B (en) | Outdoor environment detection system | |
CN108540757A (en) | Monitoring system and monitoring method | |
CN105930866B (en) | Violation information processing method, device and system | |
CN107317708B (en) | Monitoring method and device for court business application system | |
CN102256297A (en) | TD-SCDMA (Time Division-Synchronization Code Division Multiple Access) wireless communication network service user perception data collection method | |
CN203287954U (en) | Card punching system based on human face recognition | |
CN107017835B (en) | The fault monitoring system and method for photovoltaic module | |
CN108540748A (en) | Monitor video and the associated method, apparatus of electronic device identification and system | |
KR101864221B1 (en) | system and method for pedestrian traffic detection | |
CN109167773A (en) | A kind of access exception detection method and system based on Markov model | |
CN113987000A (en) | Data acquisition method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |